diff --git a/README.md b/README.md index d425d98f2..581afdcdb 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,7 @@ Update Progress Checklist: - [x] Floating Action Buttons - [x] Icon Buttons - [x] Cards -- [ ] Chips +- [x] Chips - [ ] Data Tables - [x] Dialogs - [x] Drawers diff --git a/packages/button/Button.svelte b/packages/button/Button.svelte index e574e3099..65302f4e6 100644 --- a/packages/button/Button.svelte +++ b/packages/button/Button.svelte @@ -56,9 +56,9 @@ classMap, exclude, } from '@smui/common/internal.js'; + import Ripple from '@smui/ripple/bare.js'; import A from '@smui/common/A.svelte'; import Button from '@smui/common/Button.svelte'; - import Ripple from '@smui/ripple/bare.js'; const forwardEvents = forwardEventsBuilder(get_current_component()); diff --git a/packages/chips/Chip.svelte b/packages/chips/Chip.svelte index 5c433c0c5..10c8aed48 100644 --- a/packages/chips/Chip.svelte +++ b/packages/chips/Chip.svelte @@ -1,29 +1,70 @@ `${name}: ${value};`) + .concat([style]) + .join(' ')} role="row" - on:MDCChip:selection={handleSelection} + on:transitionend={(event) => instance && instance.handleTransitionEnd(event)} + on:click={() => instance && instance.handleClick()} + on:keydown={(event) => instance && instance.handleKeydown(event)} + on:focusin={(event) => instance && instance.handleFocusIn(event)} + on:focusout={(event) => instance && instance.handleFocusOut(event)} + on:MDCChipTrailingAction:interaction={() => + instance && instance.handleTrailingActionInteraction()} + on:MDCChipTrailingAction:navigation={(event) => + instance && instance.handleTrailingActionNavigation(event)} + on:SMUI:chip:primary-action:mount={(event) => + (primaryActionAccessor = event.detail)} + on:SMUI:chip:primary-action:unmount={() => + (primaryActionAccessor = undefined)} + on:SMUI:chip:trailing-action:mount={(event) => + (trailingActionAccessor = event.detail)} + on:SMUI:chip:trailing-action:unmount={() => + (trailingActionAccessor = undefined)} {...exclude($$props, [ 'use', 'class', - 'component', + 'style', + 'chip', 'ripple', 'touch', - 'selected', 'shouldRemoveOnTrailingIconClick', + 'shouldFocusPrimaryActionOnClick', + 'component', ])} > - {#if ripple} -
- {/if} +
{#if touch}
@@ -31,15 +72,17 @@ diff --git a/packages/chips/LeadingIcon.svelte b/packages/chips/LeadingIcon.svelte new file mode 100644 index 000000000..378ac2afd --- /dev/null +++ b/packages/chips/LeadingIcon.svelte @@ -0,0 +1,40 @@ + + + diff --git a/packages/chips/Set.svelte b/packages/chips/Set.svelte index 695c98e64..1ed20e473 100644 --- a/packages/chips/Set.svelte +++ b/packages/chips/Set.svelte @@ -10,8 +10,16 @@ 'mdc-chip-set--input': input, })} role="grid" - on:MDCChip:removal={handleRemoval} - on:MDCChip:selection={handleSelection} + on:SMUI:chip:mount={(event) => handleChipMount(event)} + on:SMUI:chip:unmount={(event) => handleChipUnmount(event)} + on:MDCChip:interaction={(event) => + instance && instance.handleChipInteraction(event.detail)} + on:MDCChip:selection={(event) => + instance && instance.handleChipSelection(event.detail)} + on:MDCChip:removal={(event) => + instance && instance.handleChipRemoval(event.detail)} + on:MDCChip:navigation={(event) => + instance && instance.handleChipNavigation(event.detail)} {...exclude($$props, [ 'use', 'class', @@ -24,15 +32,16 @@ ])} > {#each chips as chip, i (key(chip))} - + {/each}
diff --git a/packages/chips/TrailingIcon.svelte b/packages/chips/TrailingIcon.svelte new file mode 100644 index 000000000..889310ab2 --- /dev/null +++ b/packages/chips/TrailingIcon.svelte @@ -0,0 +1,37 @@ + + + + + diff --git a/packages/chips/_index.scss b/packages/chips/_index.scss index fafba65a4..e0ab45819 100644 --- a/packages/chips/_index.scss +++ b/packages/chips/_index.scss @@ -1,2 +1,2 @@ -@import "smui-theme"; -@import "./style"; \ No newline at end of file +@use 'smui-theme'; +@use './style'; diff --git a/packages/chips/_style.scss b/packages/chips/_style.scss index 9c63a7e98..de0e49329 100644 --- a/packages/chips/_style.scss +++ b/packages/chips/_style.scss @@ -1 +1 @@ -@import "@material/chips/mdc-chips"; +@use '@material/chips/mdc-chips'; diff --git a/packages/chips/bare.js b/packages/chips/bare.js index 1fcfbae89..3713fca40 100644 --- a/packages/chips/bare.js +++ b/packages/chips/bare.js @@ -2,8 +2,10 @@ import Chip from './Chip.svelte'; import Set from './Set.svelte'; import Text from './Text.svelte'; -import Icon from './Icon.svelte'; +import LeadingIcon from './LeadingIcon.svelte'; +import TrailingIcon from './TrailingIcon.svelte'; +import TrailingAction from './TrailingAction.svelte'; export default Chip; -export { Set, Icon, Text }; +export { Set, Text, LeadingIcon, TrailingIcon, TrailingAction }; diff --git a/packages/chips/package-lock.json b/packages/chips/package-lock.json index ff49cf019..7a3df31e0 100644 --- a/packages/chips/package-lock.json +++ b/packages/chips/package-lock.json @@ -1,866 +1,792 @@ { - "name": "@smui/chips", - "version": "2.0.0-beta.1", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@smui/chips", - "version": "2.0.0-beta.1", - "license": "Apache-2.0", - "dependencies": { - "@material/chips": "^10.0.0", - "@material/rtl": "^10.0.0" - }, - "devDependencies": { - "glob-cmd": "0.0.7", - "sass": "^1.32.8" - } - }, - "node_modules/@material/animation": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/animation/-/animation-10.0.0.tgz", - "integrity": "sha512-5e8e+W+n105rfSTRI5Mfmh9VMqzNG8+OhxjfDr7k0lYCfjbkT8LsAInonC5EotJzcaxD0vtDUqRqdW8xKIXNWg==", - "dependencies": { - "tslib": "^1.9.3" - } - }, - "node_modules/@material/base": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/base/-/base-10.0.0.tgz", - "integrity": "sha512-PQWNSsNYVvMcWKsRFHgs5JjsHuv6cTogdlp9uhx5ChdLNCkflpXlMKJ7aYfcl56fdLntWQbxXowLh1JAfrTrmg==", - "dependencies": { - "tslib": "^1.9.3" - } - }, - "node_modules/@material/checkbox": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-10.0.0.tgz", - "integrity": "sha512-aZc8KLo+yT15tnEpJWBvqJhUFEVqAKs56DGC8PaKfwfJJMVS0D4Hek61cpl4Jthv6j5eduvpiZ/2DRE8D530Hg==", - "dependencies": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/density": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/ripple": "^10.0.0", - "@material/theme": "^10.0.0", - "@material/touch-target": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "node_modules/@material/chips": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/chips/-/chips-10.0.0.tgz", - "integrity": "sha512-K3FQaN/Y7nlgVtTyZjWOD88Q+5VkNJBUwx0Jv9gONuRjDnelGNbTnzVe1/ESAFVK7fRSoQsEdSM8DVKsjrjyVw==", - "dependencies": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/checkbox": "^10.0.0", - "@material/density": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/elevation": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/ripple": "^10.0.0", - "@material/rtl": "^10.0.0", - "@material/shape": "^10.0.0", - "@material/theme": "^10.0.0", - "@material/touch-target": "^10.0.0", - "@material/typography": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "node_modules/@material/density": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/density/-/density-10.0.0.tgz", - "integrity": "sha512-nLf8N5e6tEYo+W762z3coTDl2b1FFKJv/uU+E5UsBYOL0ftXrOMtiYSwg9MJjfWtdG+uUBfb3VLcBvIl2x3C0w==" - }, - "node_modules/@material/dom": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/dom/-/dom-10.0.0.tgz", - "integrity": "sha512-rimaFIRsbacSjnk/1IqQZLOjoIWYhmuR6AZR35nkeAYg0H3DmLuNTGyAgsMaC8O/1vBcAp+c4N9WASkITCOE5A==", - "dependencies": { - "@material/feature-targeting": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "node_modules/@material/elevation": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-10.0.0.tgz", - "integrity": "sha512-D/CeTIkRmV9iLJDzUnKSt2FTM7SLv3ixQjindNaAEAaCdsaoUfx6Q2dRAlqQOL0y6yeTvvpxK9IFwu411J3xXw==", - "dependencies": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "node_modules/@material/feature-targeting": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-10.0.0.tgz", - "integrity": "sha512-Pn48jeeD2ScMq0NoR0k9SeC3UFOOTarKNIYxL+TkFRLGks/TgFoSIDRwXCzva/9umw9/Q2xOWrY/Gqs1zBIgOA==" - }, - "node_modules/@material/ripple": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-10.0.0.tgz", - "integrity": "sha512-KZPJ6YvLFJKkulUemKFq/Y3h9/Pbta+zOjBN1ZoeiP5++5thfsMJuL+L2bWa4GqUjSj66xW75LQrxX/ammCYzw==", - "dependencies": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "node_modules/@material/rtl": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-10.0.0.tgz", - "integrity": "sha512-887Dq0JrlRx5uwQ2Ku4Gig0e7iMIdKAAvvk/Wnglo9jFUvJE94rgSyyDLbwsN4vo1s33PwxHK1uWteALkzMQWw==", - "dependencies": { - "@material/theme": "^10.0.0" - } - }, - "node_modules/@material/shape": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/shape/-/shape-10.0.0.tgz", - "integrity": "sha512-2zUib2htoZz21ULa9lNd4llGOWlZcGLBKKJdNV6wsyPlqdh6SjEXf3Fz1BrWV6pQVW3fhnhn+oTFLMveV1mMZw==", - "dependencies": { - "@material/feature-targeting": "^10.0.0", - "@material/rtl": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "node_modules/@material/theme": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/theme/-/theme-10.0.0.tgz", - "integrity": "sha512-ll5UFjPR6np4jgTzDQO85VQg6FgLM0Vy1MlyJVRr/kn+2adX5hDxiBOnuC9fTeVhIBBPjbAMOFPa6VhNmAmkvg==", - "dependencies": { - "@material/feature-targeting": "^10.0.0" - } - }, - "node_modules/@material/touch-target": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-10.0.0.tgz", - "integrity": "sha512-uDWxktK/CODyNNyvXwzTFXcxqujQrVX3LoIsOXu87Z0fq4n2u74WlemJoniMbVKdsKsiJWcZ1uvrvhSeOdNQ2Q==", - "dependencies": { - "@material/base": "^10.0.0", - "@material/feature-targeting": "^10.0.0" - } - }, - "node_modules/@material/typography": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/typography/-/typography-10.0.0.tgz", - "integrity": "sha512-RtFfL/mfOOkliL/iXY1YPrx8Rw1LZWQC4Jpn2zs04xM+AhhDOcD4Hek5xcvWFjhzEmPUz7yhCTWsMOmVtsXzig==", - "dependencies": { - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "node_modules/anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", - "dev": true, - "dependencies": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.1" - } - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-cmd": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/glob-cmd/-/glob-cmd-0.0.7.tgz", - "integrity": "sha512-mJ0Y8KuflmBIBWqo06Lg6uCdHquJLw8hbstGZ6FKc9DHQtkhux33GtfSYexqGDRWYy0DSt8jfmV0SLiVmxpiuQ==", - "dev": true, - "dependencies": { - "commander": "^2.15.1", - "glob": "^7.1.2" - }, - "bin": { - "glob": "glob.js" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/sass": { - "version": "1.32.8", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz", - "integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==", - "dev": true, - "dependencies": { - "chokidar": ">=2.0.0 <4.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - } - }, - "dependencies": { - "@material/animation": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/animation/-/animation-10.0.0.tgz", - "integrity": "sha512-5e8e+W+n105rfSTRI5Mfmh9VMqzNG8+OhxjfDr7k0lYCfjbkT8LsAInonC5EotJzcaxD0vtDUqRqdW8xKIXNWg==", - "requires": { - "tslib": "^1.9.3" - } - }, - "@material/base": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/base/-/base-10.0.0.tgz", - "integrity": "sha512-PQWNSsNYVvMcWKsRFHgs5JjsHuv6cTogdlp9uhx5ChdLNCkflpXlMKJ7aYfcl56fdLntWQbxXowLh1JAfrTrmg==", - "requires": { - "tslib": "^1.9.3" - } - }, - "@material/checkbox": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-10.0.0.tgz", - "integrity": "sha512-aZc8KLo+yT15tnEpJWBvqJhUFEVqAKs56DGC8PaKfwfJJMVS0D4Hek61cpl4Jthv6j5eduvpiZ/2DRE8D530Hg==", - "requires": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/density": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/ripple": "^10.0.0", - "@material/theme": "^10.0.0", - "@material/touch-target": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "@material/chips": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/chips/-/chips-10.0.0.tgz", - "integrity": "sha512-K3FQaN/Y7nlgVtTyZjWOD88Q+5VkNJBUwx0Jv9gONuRjDnelGNbTnzVe1/ESAFVK7fRSoQsEdSM8DVKsjrjyVw==", - "requires": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/checkbox": "^10.0.0", - "@material/density": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/elevation": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/ripple": "^10.0.0", - "@material/rtl": "^10.0.0", - "@material/shape": "^10.0.0", - "@material/theme": "^10.0.0", - "@material/touch-target": "^10.0.0", - "@material/typography": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "@material/density": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/density/-/density-10.0.0.tgz", - "integrity": "sha512-nLf8N5e6tEYo+W762z3coTDl2b1FFKJv/uU+E5UsBYOL0ftXrOMtiYSwg9MJjfWtdG+uUBfb3VLcBvIl2x3C0w==" - }, - "@material/dom": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/dom/-/dom-10.0.0.tgz", - "integrity": "sha512-rimaFIRsbacSjnk/1IqQZLOjoIWYhmuR6AZR35nkeAYg0H3DmLuNTGyAgsMaC8O/1vBcAp+c4N9WASkITCOE5A==", - "requires": { - "@material/feature-targeting": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "@material/elevation": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-10.0.0.tgz", - "integrity": "sha512-D/CeTIkRmV9iLJDzUnKSt2FTM7SLv3ixQjindNaAEAaCdsaoUfx6Q2dRAlqQOL0y6yeTvvpxK9IFwu411J3xXw==", - "requires": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "@material/feature-targeting": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-10.0.0.tgz", - "integrity": "sha512-Pn48jeeD2ScMq0NoR0k9SeC3UFOOTarKNIYxL+TkFRLGks/TgFoSIDRwXCzva/9umw9/Q2xOWrY/Gqs1zBIgOA==" - }, - "@material/ripple": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-10.0.0.tgz", - "integrity": "sha512-KZPJ6YvLFJKkulUemKFq/Y3h9/Pbta+zOjBN1ZoeiP5++5thfsMJuL+L2bWa4GqUjSj66xW75LQrxX/ammCYzw==", - "requires": { - "@material/animation": "^10.0.0", - "@material/base": "^10.0.0", - "@material/dom": "^10.0.0", - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0", - "tslib": "^1.9.3" - } - }, - "@material/rtl": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-10.0.0.tgz", - "integrity": "sha512-887Dq0JrlRx5uwQ2Ku4Gig0e7iMIdKAAvvk/Wnglo9jFUvJE94rgSyyDLbwsN4vo1s33PwxHK1uWteALkzMQWw==", - "requires": { - "@material/theme": "^10.0.0" - } - }, - "@material/shape": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/shape/-/shape-10.0.0.tgz", - "integrity": "sha512-2zUib2htoZz21ULa9lNd4llGOWlZcGLBKKJdNV6wsyPlqdh6SjEXf3Fz1BrWV6pQVW3fhnhn+oTFLMveV1mMZw==", - "requires": { - "@material/feature-targeting": "^10.0.0", - "@material/rtl": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "@material/theme": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/theme/-/theme-10.0.0.tgz", - "integrity": "sha512-ll5UFjPR6np4jgTzDQO85VQg6FgLM0Vy1MlyJVRr/kn+2adX5hDxiBOnuC9fTeVhIBBPjbAMOFPa6VhNmAmkvg==", - "requires": { - "@material/feature-targeting": "^10.0.0" - } - }, - "@material/touch-target": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-10.0.0.tgz", - "integrity": "sha512-uDWxktK/CODyNNyvXwzTFXcxqujQrVX3LoIsOXu87Z0fq4n2u74WlemJoniMbVKdsKsiJWcZ1uvrvhSeOdNQ2Q==", - "requires": { - "@material/base": "^10.0.0", - "@material/feature-targeting": "^10.0.0" - } - }, - "@material/typography": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@material/typography/-/typography-10.0.0.tgz", - "integrity": "sha512-RtFfL/mfOOkliL/iXY1YPrx8Rw1LZWQC4Jpn2zs04xM+AhhDOcD4Hek5xcvWFjhzEmPUz7yhCTWsMOmVtsXzig==", - "requires": { - "@material/feature-targeting": "^10.0.0", - "@material/theme": "^10.0.0" - } - }, - "anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", - "dev": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", - "dev": true, - "requires": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "fsevents": "~2.3.1", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-cmd": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/glob-cmd/-/glob-cmd-0.0.7.tgz", - "integrity": "sha512-mJ0Y8KuflmBIBWqo06Lg6uCdHquJLw8hbstGZ6FKc9DHQtkhux33GtfSYexqGDRWYy0DSt8jfmV0SLiVmxpiuQ==", - "dev": true, - "requires": { - "commander": "^2.15.1", - "glob": "^7.1.2" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, - "is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "dev": true - }, - "readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", - "dev": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "sass": { - "version": "1.32.8", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz", - "integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==", - "dev": true, - "requires": { - "chokidar": ">=2.0.0 <4.0.0" - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - } - } + "name": "@smui/chips", + "version": "2.0.0-beta.1", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@smui/chips", + "version": "2.0.0-beta.1", + "license": "Apache-2.0", + "dependencies": { + "@material/chips": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/rtl": "^10.0.0", + "@smui/common": "^2.0.0-beta.1", + "@smui/ripple": "^2.0.0-beta.1" + }, + "devDependencies": { + "sass": "^1.32.8" + } + }, + "node_modules/@material/animation": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-10.0.0.tgz", + "integrity": "sha512-5e8e+W+n105rfSTRI5Mfmh9VMqzNG8+OhxjfDr7k0lYCfjbkT8LsAInonC5EotJzcaxD0vtDUqRqdW8xKIXNWg==", + "dependencies": { + "tslib": "^1.9.3" + } + }, + "node_modules/@material/base": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-10.0.0.tgz", + "integrity": "sha512-PQWNSsNYVvMcWKsRFHgs5JjsHuv6cTogdlp9uhx5ChdLNCkflpXlMKJ7aYfcl56fdLntWQbxXowLh1JAfrTrmg==", + "dependencies": { + "tslib": "^1.9.3" + } + }, + "node_modules/@material/checkbox": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-10.0.0.tgz", + "integrity": "sha512-aZc8KLo+yT15tnEpJWBvqJhUFEVqAKs56DGC8PaKfwfJJMVS0D4Hek61cpl4Jthv6j5eduvpiZ/2DRE8D530Hg==", + "dependencies": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/density": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/ripple": "^10.0.0", + "@material/theme": "^10.0.0", + "@material/touch-target": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "node_modules/@material/chips": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/chips/-/chips-10.0.0.tgz", + "integrity": "sha512-K3FQaN/Y7nlgVtTyZjWOD88Q+5VkNJBUwx0Jv9gONuRjDnelGNbTnzVe1/ESAFVK7fRSoQsEdSM8DVKsjrjyVw==", + "dependencies": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/checkbox": "^10.0.0", + "@material/density": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/elevation": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/ripple": "^10.0.0", + "@material/rtl": "^10.0.0", + "@material/shape": "^10.0.0", + "@material/theme": "^10.0.0", + "@material/touch-target": "^10.0.0", + "@material/typography": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "node_modules/@material/density": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/density/-/density-10.0.0.tgz", + "integrity": "sha512-nLf8N5e6tEYo+W762z3coTDl2b1FFKJv/uU+E5UsBYOL0ftXrOMtiYSwg9MJjfWtdG+uUBfb3VLcBvIl2x3C0w==" + }, + "node_modules/@material/dom": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-10.0.0.tgz", + "integrity": "sha512-rimaFIRsbacSjnk/1IqQZLOjoIWYhmuR6AZR35nkeAYg0H3DmLuNTGyAgsMaC8O/1vBcAp+c4N9WASkITCOE5A==", + "dependencies": { + "@material/feature-targeting": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "node_modules/@material/elevation": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-10.0.0.tgz", + "integrity": "sha512-D/CeTIkRmV9iLJDzUnKSt2FTM7SLv3ixQjindNaAEAaCdsaoUfx6Q2dRAlqQOL0y6yeTvvpxK9IFwu411J3xXw==", + "dependencies": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "node_modules/@material/feature-targeting": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-10.0.0.tgz", + "integrity": "sha512-Pn48jeeD2ScMq0NoR0k9SeC3UFOOTarKNIYxL+TkFRLGks/TgFoSIDRwXCzva/9umw9/Q2xOWrY/Gqs1zBIgOA==" + }, + "node_modules/@material/ripple": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-10.0.0.tgz", + "integrity": "sha512-KZPJ6YvLFJKkulUemKFq/Y3h9/Pbta+zOjBN1ZoeiP5++5thfsMJuL+L2bWa4GqUjSj66xW75LQrxX/ammCYzw==", + "dependencies": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "node_modules/@material/rtl": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-10.0.0.tgz", + "integrity": "sha512-887Dq0JrlRx5uwQ2Ku4Gig0e7iMIdKAAvvk/Wnglo9jFUvJE94rgSyyDLbwsN4vo1s33PwxHK1uWteALkzMQWw==", + "dependencies": { + "@material/theme": "^10.0.0" + } + }, + "node_modules/@material/shape": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/shape/-/shape-10.0.0.tgz", + "integrity": "sha512-2zUib2htoZz21ULa9lNd4llGOWlZcGLBKKJdNV6wsyPlqdh6SjEXf3Fz1BrWV6pQVW3fhnhn+oTFLMveV1mMZw==", + "dependencies": { + "@material/feature-targeting": "^10.0.0", + "@material/rtl": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "node_modules/@material/theme": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-10.0.0.tgz", + "integrity": "sha512-ll5UFjPR6np4jgTzDQO85VQg6FgLM0Vy1MlyJVRr/kn+2adX5hDxiBOnuC9fTeVhIBBPjbAMOFPa6VhNmAmkvg==", + "dependencies": { + "@material/feature-targeting": "^10.0.0" + } + }, + "node_modules/@material/touch-target": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-10.0.0.tgz", + "integrity": "sha512-uDWxktK/CODyNNyvXwzTFXcxqujQrVX3LoIsOXu87Z0fq4n2u74WlemJoniMbVKdsKsiJWcZ1uvrvhSeOdNQ2Q==", + "dependencies": { + "@material/base": "^10.0.0", + "@material/feature-targeting": "^10.0.0" + } + }, + "node_modules/@material/typography": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/typography/-/typography-10.0.0.tgz", + "integrity": "sha512-RtFfL/mfOOkliL/iXY1YPrx8Rw1LZWQC4Jpn2zs04xM+AhhDOcD4Hek5xcvWFjhzEmPUz7yhCTWsMOmVtsXzig==", + "dependencies": { + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "node_modules/@smui/common": { + "version": "2.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@smui/common/-/common-2.0.0-beta.1.tgz", + "integrity": "sha512-m1ueVU0vI2jJI7qnHXWVisMXwPG8s1d5F3NK519bYewDFhjd+lCsfllC5e9A4CsfXNzJYlVaBPs5Wy11pn93UQ==", + "dependencies": { + "svelte": "^3.0" + } + }, + "node_modules/@smui/ripple": { + "version": "2.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@smui/ripple/-/ripple-2.0.0-beta.1.tgz", + "integrity": "sha512-TQ7xmmkEGEEX4X/HPAW3/qr5O0p2LuP/UquLTkxiPAmvAhapwv9hpp4sWUenlvkiOTl4IIxhYrbm3hzhbzOl9A==", + "dependencies": { + "@material/ripple": "^4.0.0" + } + }, + "node_modules/@smui/ripple/node_modules/@material/animation": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-4.0.0.tgz", + "integrity": "sha512-IfzXzstWdtKQcsNWu+s2Hpz5dBwkTHtgtzoesr+FC7TqENH+SJdsF1ntnZI1XVi2C9ZlBf7f4BSmXpWHD0MIlw==", + "dependencies": { + "tslib": "^1.9.3" + } + }, + "node_modules/@smui/ripple/node_modules/@material/base": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-4.0.0.tgz", + "integrity": "sha512-vHm7fkqXzjdfxifXvlmaZColoIfKuWmO+1rvdzDORTWP+A8Dq70cgKd2I1SBqxzDGjOasMzHbQI6f9MISQf2vQ==", + "dependencies": { + "tslib": "^1.9.3" + } + }, + "node_modules/@smui/ripple/node_modules/@material/dom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-4.0.0.tgz", + "integrity": "sha512-GRCJT9+PGWqygZwGf1XLTrbmzP35YWG7+T0hpfhoIJO8VDiMTeyfvhJXFuA2wh9pD0noEjte0lmbdBlykrbWZw==", + "dependencies": { + "tslib": "^1.9.3" + } + }, + "node_modules/@smui/ripple/node_modules/@material/feature-targeting": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-4.0.0.tgz", + "integrity": "sha512-0gk+f151vqmEdWkrQ9ocPlQRU9aUtSGsVBhletqIbsthLUsZIz9qk25FHjV1wHd/bGHknd9NH+T8ENprv3KLFg==" + }, + "node_modules/@smui/ripple/node_modules/@material/ripple": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-4.0.0.tgz", + "integrity": "sha512-9BLIOvyCP5sM+fQpLlcJZWyrHguusJq8E5A1pxg0wQwputOyaPBM7recHhYkJmVjzRpTcPgf1PkvkpN6DKGcNg==", + "dependencies": { + "@material/animation": "^4.0.0", + "@material/base": "^4.0.0", + "@material/dom": "^4.0.0", + "@material/feature-targeting": "^4.0.0", + "@material/theme": "^4.0.0", + "tslib": "^1.9.3" + } + }, + "node_modules/@smui/ripple/node_modules/@material/theme": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-4.0.0.tgz", + "integrity": "sha512-vS4G4rusJTatTH50kSYO1U3UGN8EY9kGRvPaFsEFKikJBOqcR6KWK9H9/wCLqqd6nDNifEj9H2sdWw1AV4NA6Q==", + "dependencies": { + "@material/feature-targeting": "^4.0.0" + } + }, + "node_modules/anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.1" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/sass": { + "version": "1.32.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz", + "integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==", + "dev": true, + "dependencies": { + "chokidar": ">=2.0.0 <4.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/svelte": { + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.37.0.tgz", + "integrity": "sha512-TRF30F4W4+d+Jr2KzUUL1j8Mrpns/WM/WacxYlo5MMb2E5Qy2Pk1Guj6GylxsW9OnKQl1tnF8q3hG/hQ3h6VUA==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + } + }, + "dependencies": { + "@material/animation": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-10.0.0.tgz", + "integrity": "sha512-5e8e+W+n105rfSTRI5Mfmh9VMqzNG8+OhxjfDr7k0lYCfjbkT8LsAInonC5EotJzcaxD0vtDUqRqdW8xKIXNWg==", + "requires": { + "tslib": "^1.9.3" + } + }, + "@material/base": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-10.0.0.tgz", + "integrity": "sha512-PQWNSsNYVvMcWKsRFHgs5JjsHuv6cTogdlp9uhx5ChdLNCkflpXlMKJ7aYfcl56fdLntWQbxXowLh1JAfrTrmg==", + "requires": { + "tslib": "^1.9.3" + } + }, + "@material/checkbox": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-10.0.0.tgz", + "integrity": "sha512-aZc8KLo+yT15tnEpJWBvqJhUFEVqAKs56DGC8PaKfwfJJMVS0D4Hek61cpl4Jthv6j5eduvpiZ/2DRE8D530Hg==", + "requires": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/density": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/ripple": "^10.0.0", + "@material/theme": "^10.0.0", + "@material/touch-target": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "@material/chips": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/chips/-/chips-10.0.0.tgz", + "integrity": "sha512-K3FQaN/Y7nlgVtTyZjWOD88Q+5VkNJBUwx0Jv9gONuRjDnelGNbTnzVe1/ESAFVK7fRSoQsEdSM8DVKsjrjyVw==", + "requires": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/checkbox": "^10.0.0", + "@material/density": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/elevation": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/ripple": "^10.0.0", + "@material/rtl": "^10.0.0", + "@material/shape": "^10.0.0", + "@material/theme": "^10.0.0", + "@material/touch-target": "^10.0.0", + "@material/typography": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "@material/density": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/density/-/density-10.0.0.tgz", + "integrity": "sha512-nLf8N5e6tEYo+W762z3coTDl2b1FFKJv/uU+E5UsBYOL0ftXrOMtiYSwg9MJjfWtdG+uUBfb3VLcBvIl2x3C0w==" + }, + "@material/dom": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-10.0.0.tgz", + "integrity": "sha512-rimaFIRsbacSjnk/1IqQZLOjoIWYhmuR6AZR35nkeAYg0H3DmLuNTGyAgsMaC8O/1vBcAp+c4N9WASkITCOE5A==", + "requires": { + "@material/feature-targeting": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "@material/elevation": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-10.0.0.tgz", + "integrity": "sha512-D/CeTIkRmV9iLJDzUnKSt2FTM7SLv3ixQjindNaAEAaCdsaoUfx6Q2dRAlqQOL0y6yeTvvpxK9IFwu411J3xXw==", + "requires": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "@material/feature-targeting": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-10.0.0.tgz", + "integrity": "sha512-Pn48jeeD2ScMq0NoR0k9SeC3UFOOTarKNIYxL+TkFRLGks/TgFoSIDRwXCzva/9umw9/Q2xOWrY/Gqs1zBIgOA==" + }, + "@material/ripple": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-10.0.0.tgz", + "integrity": "sha512-KZPJ6YvLFJKkulUemKFq/Y3h9/Pbta+zOjBN1ZoeiP5++5thfsMJuL+L2bWa4GqUjSj66xW75LQrxX/ammCYzw==", + "requires": { + "@material/animation": "^10.0.0", + "@material/base": "^10.0.0", + "@material/dom": "^10.0.0", + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0", + "tslib": "^1.9.3" + } + }, + "@material/rtl": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-10.0.0.tgz", + "integrity": "sha512-887Dq0JrlRx5uwQ2Ku4Gig0e7iMIdKAAvvk/Wnglo9jFUvJE94rgSyyDLbwsN4vo1s33PwxHK1uWteALkzMQWw==", + "requires": { + "@material/theme": "^10.0.0" + } + }, + "@material/shape": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/shape/-/shape-10.0.0.tgz", + "integrity": "sha512-2zUib2htoZz21ULa9lNd4llGOWlZcGLBKKJdNV6wsyPlqdh6SjEXf3Fz1BrWV6pQVW3fhnhn+oTFLMveV1mMZw==", + "requires": { + "@material/feature-targeting": "^10.0.0", + "@material/rtl": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "@material/theme": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-10.0.0.tgz", + "integrity": "sha512-ll5UFjPR6np4jgTzDQO85VQg6FgLM0Vy1MlyJVRr/kn+2adX5hDxiBOnuC9fTeVhIBBPjbAMOFPa6VhNmAmkvg==", + "requires": { + "@material/feature-targeting": "^10.0.0" + } + }, + "@material/touch-target": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-10.0.0.tgz", + "integrity": "sha512-uDWxktK/CODyNNyvXwzTFXcxqujQrVX3LoIsOXu87Z0fq4n2u74WlemJoniMbVKdsKsiJWcZ1uvrvhSeOdNQ2Q==", + "requires": { + "@material/base": "^10.0.0", + "@material/feature-targeting": "^10.0.0" + } + }, + "@material/typography": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@material/typography/-/typography-10.0.0.tgz", + "integrity": "sha512-RtFfL/mfOOkliL/iXY1YPrx8Rw1LZWQC4Jpn2zs04xM+AhhDOcD4Hek5xcvWFjhzEmPUz7yhCTWsMOmVtsXzig==", + "requires": { + "@material/feature-targeting": "^10.0.0", + "@material/theme": "^10.0.0" + } + }, + "@smui/common": { + "version": "2.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@smui/common/-/common-2.0.0-beta.1.tgz", + "integrity": "sha512-m1ueVU0vI2jJI7qnHXWVisMXwPG8s1d5F3NK519bYewDFhjd+lCsfllC5e9A4CsfXNzJYlVaBPs5Wy11pn93UQ==", + "requires": { + "svelte": "^3.0" + } + }, + "@smui/ripple": { + "version": "2.0.0-beta.1", + "resolved": "https://registry.npmjs.org/@smui/ripple/-/ripple-2.0.0-beta.1.tgz", + "integrity": "sha512-TQ7xmmkEGEEX4X/HPAW3/qr5O0p2LuP/UquLTkxiPAmvAhapwv9hpp4sWUenlvkiOTl4IIxhYrbm3hzhbzOl9A==", + "requires": { + "@material/ripple": "^4.0.0" + }, + "dependencies": { + "@material/animation": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-4.0.0.tgz", + "integrity": "sha512-IfzXzstWdtKQcsNWu+s2Hpz5dBwkTHtgtzoesr+FC7TqENH+SJdsF1ntnZI1XVi2C9ZlBf7f4BSmXpWHD0MIlw==", + "requires": { + "tslib": "^1.9.3" + } + }, + "@material/base": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-4.0.0.tgz", + "integrity": "sha512-vHm7fkqXzjdfxifXvlmaZColoIfKuWmO+1rvdzDORTWP+A8Dq70cgKd2I1SBqxzDGjOasMzHbQI6f9MISQf2vQ==", + "requires": { + "tslib": "^1.9.3" + } + }, + "@material/dom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-4.0.0.tgz", + "integrity": "sha512-GRCJT9+PGWqygZwGf1XLTrbmzP35YWG7+T0hpfhoIJO8VDiMTeyfvhJXFuA2wh9pD0noEjte0lmbdBlykrbWZw==", + "requires": { + "tslib": "^1.9.3" + } + }, + "@material/feature-targeting": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-4.0.0.tgz", + "integrity": "sha512-0gk+f151vqmEdWkrQ9ocPlQRU9aUtSGsVBhletqIbsthLUsZIz9qk25FHjV1wHd/bGHknd9NH+T8ENprv3KLFg==" + }, + "@material/ripple": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-4.0.0.tgz", + "integrity": "sha512-9BLIOvyCP5sM+fQpLlcJZWyrHguusJq8E5A1pxg0wQwputOyaPBM7recHhYkJmVjzRpTcPgf1PkvkpN6DKGcNg==", + "requires": { + "@material/animation": "^4.0.0", + "@material/base": "^4.0.0", + "@material/dom": "^4.0.0", + "@material/feature-targeting": "^4.0.0", + "@material/theme": "^4.0.0", + "tslib": "^1.9.3" + } + }, + "@material/theme": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-4.0.0.tgz", + "integrity": "sha512-vS4G4rusJTatTH50kSYO1U3UGN8EY9kGRvPaFsEFKikJBOqcR6KWK9H9/wCLqqd6nDNifEj9H2sdWw1AV4NA6Q==", + "requires": { + "@material/feature-targeting": "^4.0.0" + } + } + } + }, + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.3.1", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true + }, + "readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "sass": { + "version": "1.32.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz", + "integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==", + "dev": true, + "requires": { + "chokidar": ">=2.0.0 <4.0.0" + } + }, + "svelte": { + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.37.0.tgz", + "integrity": "sha512-TRF30F4W4+d+Jr2KzUUL1j8Mrpns/WM/WacxYlo5MMb2E5Qy2Pk1Guj6GylxsW9OnKQl1tnF8q3hG/hQ3h6VUA==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + } + } } diff --git a/packages/chips/package.json b/packages/chips/package.json index a7e0a778b..7eb07ac5e 100644 --- a/packages/chips/package.json +++ b/packages/chips/package.json @@ -12,7 +12,7 @@ "sveltejs" ], "scripts": { - "#prepare": "echo \"$(npx glob '**/*' | sed 's/^/-I /' | paste -s -d ' ' -) --no-source-map _style.scss bare.css\" | xargs sass", + "prepare": "sass --no-source-map -I node_modules _style.scss bare.css", "test": "echo \"Error: no test specified\" && exit 1" }, "publishConfig": { @@ -29,11 +29,12 @@ "license": "Apache-2.0", "dependencies": { "@material/chips": "^10.0.0", + "@material/dom": "^10.0.0", "@material/rtl": "^10.0.0", - "@smui/common": "^2.0.0-beta.1" + "@smui/common": "^2.0.0-beta.1", + "@smui/ripple": "^2.0.0-beta.1" }, "devDependencies": { - "glob-cmd": "0.0.7", "sass": "^1.32.8" } } diff --git a/packages/common/forwardEventsBuilder.js b/packages/common/forwardEventsBuilder.js index 76347689f..9a7d4d71c 100644 --- a/packages/common/forwardEventsBuilder.js +++ b/packages/common/forwardEventsBuilder.js @@ -2,6 +2,7 @@ import { bubble, listen } from 'svelte/internal'; export function forwardEventsBuilder(component, additionalEvents = []) { const events = [ + // Interaction Events 'focus', 'blur', 'fullscreenchange', @@ -49,6 +50,15 @@ export function forwardEventsBuilder(component, additionalEvents = []) { 'pointerleave', 'gotpointercapture', 'lostpointercapture', + // Transition Events + 'transitioncancel', + 'transitionend', + 'transitionrun', + 'transitionstart', + // Animation Events + 'animationstart', + 'animationiteration', + 'animationend', ...additionalEvents, ]; diff --git a/packages/fab/Fab.svelte b/packages/fab/Fab.svelte index 493b99ea6..cdc011b27 100644 --- a/packages/fab/Fab.svelte +++ b/packages/fab/Fab.svelte @@ -49,9 +49,9 @@ classMap, exclude, } from '@smui/common/internal.js'; + import Ripple from '@smui/ripple/bare.js'; import A from '@smui/common/A.svelte'; import Button from '@smui/common/Button.svelte'; - import Ripple from '@smui/ripple/bare.js'; const forwardEvents = forwardEventsBuilder(get_current_component()); diff --git a/packages/icon-button/IconButton.svelte b/packages/icon-button/IconButton.svelte index 49ac79b79..ad21d369f 100644 --- a/packages/icon-button/IconButton.svelte +++ b/packages/icon-button/IconButton.svelte @@ -60,9 +60,9 @@ exclude, dispatch, } from '@smui/common/internal.js'; + import Ripple from '@smui/ripple/bare.js'; import A from '@smui/common/A.svelte'; import Button from '@smui/common/Button.svelte'; - import Ripple from '@smui/ripple/bare.js'; const forwardedEvents = ['MDCIconButtonToggle:change']; const forwardEvents = forwardEventsBuilder( diff --git a/packages/linear-progress/LinearProgress.svelte b/packages/linear-progress/LinearProgress.svelte index 6959bd611..f3cd8af7d 100644 --- a/packages/linear-progress/LinearProgress.svelte +++ b/packages/linear-progress/LinearProgress.svelte @@ -11,6 +11,7 @@ })} style={Object.entries(internalStyles) .map(([name, value]) => `${name}: ${value};`) + .concat([style]) .join(' ')} role="progressbar" aria-valuemin="0" @@ -21,6 +22,7 @@ {...exclude($$props, [ 'use', 'class', + 'style', 'indeterminate', 'closed', 'progress', @@ -65,6 +67,7 @@ export let use = []; let className = ''; export { className as class }; + export let style = ''; export let indeterminate = false; export let closed = false; export let progress = 0; diff --git a/packages/list/Item.svelte b/packages/list/Item.svelte index 653d7a2a4..6a9412321 100644 --- a/packages/list/Item.svelte +++ b/packages/list/Item.svelte @@ -75,10 +75,10 @@ exclude, dispatch, } from '@smui/common/internal.js'; + import Ripple from '@smui/ripple/bare.js'; import A from '@smui/common/A.svelte'; import Span from '@smui/common/Span.svelte'; import Li from '@smui/common/Li.svelte'; - import Ripple from '@smui/ripple/bare.js'; const forwardedEvents = [ 'SMUI:generic:input:mount', diff --git a/packages/tab-bar/TabBar.svelte b/packages/tab-bar/TabBar.svelte index 2c4f11852..edfab9970 100644 --- a/packages/tab-bar/TabBar.svelte +++ b/packages/tab-bar/TabBar.svelte @@ -156,9 +156,9 @@ } } - function removeAccessor(tabId, accessor) { + function removeAccessor(tabId) { if (tabId instanceof Object) { - tabAccessorWeakMap.remove(tabId); + tabAccessorWeakMap.delete(tabId); } else { delete tabAccessorMap[tabId]; } diff --git a/packages/tab/Tab.svelte b/packages/tab/Tab.svelte index cf937ebc5..6163b99c0 100644 --- a/packages/tab/Tab.svelte +++ b/packages/tab/Tab.svelte @@ -82,12 +82,16 @@ useActions, dispatch, } from '@smui/common/internal.js'; + import Ripple from '@smui/ripple/bare.js'; import A from '@smui/common/A.svelte'; import Button from '@smui/common/Button.svelte'; import TabIndicator from '@smui/tab-indicator/TabIndicator.svelte'; - import Ripple from '@smui/ripple/bare.js'; - const forwardedEvents = ['MDCTab:interacted', 'SMUI:tab:mount']; + const forwardedEvents = [ + 'MDCTab:interacted', + 'SMUI:tab:mount', + 'SMUI:tab:unmount', + ]; const forwardEvents = forwardEventsBuilder( get_current_component(), forwardedEvents diff --git a/packages/top-app-bar/TopAppBar.svelte b/packages/top-app-bar/TopAppBar.svelte index 14448e9f0..9226e3324 100644 --- a/packages/top-app-bar/TopAppBar.svelte +++ b/packages/top-app-bar/TopAppBar.svelte @@ -23,14 +23,16 @@ 'mdc-top-app-bar--dense': dense, ...internalClasses, })} - style="{style} {Object.entries(internalStyles) + style={Object.entries(internalStyles) .map(([name, value]) => `${name}: ${value};`) - .join(' ')}" + .concat([style]) + .join(' ')} on:SMUI:top-app-bar:icon-button:nav={() => instance && instance.handleNavigationClick()} {...exclude($$props, [ 'use', 'class', + 'style', 'variant', 'color', 'collapsed', diff --git a/site/src/routes/_layout.svelte b/site/src/routes/_layout.svelte index e5e82c226..273a91037 100644 --- a/site/src/routes/_layout.svelte +++ b/site/src/routes/_layout.svelte @@ -172,14 +172,14 @@ 'https://github.com/hperrin/svelte-material-ui/tree/master/packages/card', ], }, - // { - // name: 'Chips', - // route: '/demo/chips', - // indent: 0, - // repos: [ - // 'https://github.com/hperrin/svelte-material-ui/tree/master/packages/chips', - // ], - // }, + { + name: 'Chips', + route: '/demo/chips', + indent: 0, + repos: [ + 'https://github.com/hperrin/svelte-material-ui/tree/master/packages/chips', + ], + }, // { // name: 'Data Tables', // route: '/demo/data-table', diff --git a/site/src/pendingDemos/chips.svelte b/site/src/routes/demo/chips.svelte similarity index 77% rename from site/src/pendingDemos/chips.svelte rename to site/src/routes/demo/chips.svelte index 89366d994..159a7b8ee 100644 --- a/site/src/pendingDemos/chips.svelte +++ b/site/src/routes/demo/chips.svelte @@ -7,13 +7,13 @@
- + {#if chip === 'four'} - book + book {/if} {chip} {#if chip === 'five'} - commute + commute {/if} @@ -27,7 +27,7 @@ choice bind:selected={choice} > - {chip} + {chip}
@@ -53,35 +53,37 @@ filter bind:selected={filter} > - + {chip}
+
Selected: {filter.join(', ')}
+
The same, but with leading icons
- - checkroom + + checkroom {chip}
-
Selected: {filter.join(', ')}
+
Selected: {filterIcons.join(', ')}
Input chips
- + {chip} - cancel + cancel @@ -90,9 +92,9 @@
Keyed chips
chip.k} input> - + {chip.v} - cancel + cancel @@ -100,11 +102,18 @@