@esri/calcite-components 1.0.0-next.412 → 1.0.0-next.415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/icon/clockForward16.json +1 -0
- package/dist/calcite/assets/icon/clockForward24.json +1 -0
- package/dist/calcite/assets/icon/clockForward32.json +1 -0
- package/dist/calcite/assets/icon/contingentValues16.json +1 -0
- package/dist/calcite/assets/icon/contingentValues24.json +1 -0
- package/dist/calcite/assets/icon/contingentValues32.json +1 -0
- package/dist/calcite/assets/icon/creditCard16.json +1 -0
- package/dist/calcite/assets/icon/creditCard24.json +1 -0
- package/dist/calcite/assets/icon/creditCard32.json +1 -0
- package/dist/calcite/assets/icon/credits16.json +1 -1
- package/dist/calcite/assets/icon/credits24.json +1 -1
- package/dist/calcite/assets/icon/credits32.json +1 -1
- package/dist/calcite/assets/icon/keyboard16.json +1 -0
- package/dist/calcite/assets/icon/keyboard24.json +1 -0
- package/dist/calcite/assets/icon/keyboard32.json +1 -0
- package/dist/calcite/assets/icon/premiumContentUserCredit24.json +1 -1
- package/dist/calcite/assets/icon/premiumContentUserCredit32.json +1 -1
- package/dist/calcite/assets/icon/select16.json +1 -1
- package/dist/calcite/assets/icon/select24.json +1 -1
- package/dist/calcite/assets/icon/select32.json +1 -1
- package/dist/calcite/assets/icon/userDown16.json +1 -0
- package/dist/calcite/assets/icon/userDown24.json +1 -0
- package/dist/calcite/assets/icon/userDown32.json +1 -0
- package/dist/calcite/assets/icon/userKey16.json +1 -0
- package/dist/calcite/assets/icon/userKey24.json +1 -0
- package/dist/calcite/assets/icon/userKey32.json +1 -0
- package/dist/calcite/assets/icon/userMinus16.json +1 -0
- package/dist/calcite/assets/icon/userMinus24.json +1 -0
- package/dist/calcite/assets/icon/userMinus32.json +1 -0
- package/dist/calcite/assets/icon/userUp16.json +1 -0
- package/dist/calcite/assets/icon/userUp24.json +1 -0
- package/dist/calcite/assets/icon/userUp32.json +1 -0
- package/dist/calcite/assets/icon/userX16.json +1 -0
- package/dist/calcite/assets/icon/userX24.json +1 -0
- package/dist/calcite/assets/icon/userX32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-00009c01.system.entry.js +5 -0
- package/dist/calcite/p-01f877b3.entry.js +5 -0
- package/dist/calcite/p-04708565.system.entry.js +5 -0
- package/dist/calcite/p-04859cc3.entry.js +5 -0
- package/dist/calcite/p-0a565a2a.entry.js +5 -0
- package/dist/calcite/p-18d1b401.system.entry.js +5 -0
- package/dist/calcite/p-18ea4373.system.js +5 -0
- package/dist/calcite/p-190e3d04.entry.js +5 -0
- package/dist/calcite/p-1984c1b1.system.entry.js +5 -0
- package/dist/calcite/p-1ff6776b.entry.js +5 -0
- package/dist/calcite/p-22cef177.entry.js +5 -0
- package/dist/calcite/p-24e1de98.entry.js +5 -0
- package/dist/calcite/p-2f20293c.system.entry.js +5 -0
- package/dist/calcite/p-2fcab9f8.entry.js +5 -0
- package/dist/calcite/p-3119ffce.system.js +5 -0
- package/dist/calcite/p-31c3b490.system.entry.js +5 -0
- package/dist/calcite/p-38b1f6b5.entry.js +5 -0
- package/dist/calcite/p-42d258d4.system.entry.js +5 -0
- package/dist/calcite/p-4392cf25.system.entry.js +5 -0
- package/dist/calcite/p-44032496.system.entry.js +5 -0
- package/dist/calcite/p-45dce037.system.entry.js +5 -0
- package/dist/calcite/p-467318a0.system.entry.js +5 -0
- package/dist/calcite/p-46741fa4.entry.js +5 -0
- package/dist/calcite/p-46c177ec.system.entry.js +5 -0
- package/dist/calcite/p-4a3a1b46.entry.js +5 -0
- package/dist/calcite/p-5653a345.entry.js +5 -0
- package/dist/calcite/p-58274475.system.entry.js +5 -0
- package/dist/calcite/p-5be670bf.system.entry.js +5 -0
- package/dist/calcite/p-5c237680.entry.js +5 -0
- package/dist/calcite/p-5d1c8466.entry.js +5 -0
- package/dist/calcite/p-614d8925.js +5 -0
- package/dist/calcite/p-66a7bd24.system.entry.js +5 -0
- package/dist/calcite/p-7375cf4f.system.entry.js +5 -0
- package/dist/calcite/p-78bb06e5.system.entry.js +5 -0
- package/dist/calcite/p-7ab80118.entry.js +5 -0
- package/dist/calcite/p-807e32d8.entry.js +5 -0
- package/dist/calcite/p-88f949f4.entry.js +5 -0
- package/dist/calcite/p-8afbcf9e.entry.js +5 -0
- package/dist/calcite/p-8bb762f9.system.entry.js +5 -0
- package/dist/calcite/p-8dbb756d.entry.js +5 -0
- package/dist/calcite/p-8e198935.entry.js +5 -0
- package/dist/calcite/p-8f93be14.system.js +1 -1
- package/dist/calcite/p-9127d01c.entry.js +5 -0
- package/dist/calcite/p-93d9d3e7.entry.js +5 -0
- package/dist/calcite/p-98962bd9.entry.js +5 -0
- package/dist/calcite/p-9a69d12a.system.entry.js +5 -0
- package/dist/calcite/p-9b514f77.entry.js +5 -0
- package/dist/calcite/p-9e56f30f.system.entry.js +5 -0
- package/dist/calcite/p-a400f6dc.system.entry.js +5 -0
- package/dist/calcite/p-a72718b5.system.entry.js +5 -0
- package/dist/calcite/p-b5afe88b.system.entry.js +5 -0
- package/dist/calcite/p-b84e5b34.entry.js +5 -0
- package/dist/calcite/p-bce112c4.system.entry.js +5 -0
- package/dist/calcite/p-bd38ff21.js +5 -0
- package/dist/calcite/p-c5086019.system.entry.js +5 -0
- package/dist/calcite/p-c7f36800.system.entry.js +5 -0
- package/dist/calcite/p-c82c4418.entry.js +5 -0
- package/dist/calcite/p-c908ce40.system.entry.js +5 -0
- package/dist/calcite/p-cfb7be80.system.entry.js +5 -0
- package/dist/calcite/p-d74ca1cf.system.entry.js +5 -0
- package/dist/calcite/p-d74e933c.entry.js +5 -0
- package/dist/calcite/p-daf5f04c.system.js +5 -0
- package/dist/calcite/p-db73225f.system.entry.js +5 -0
- package/dist/calcite/p-e01879bf.js +5 -0
- package/dist/calcite/p-e33d149d.system.entry.js +5 -0
- package/dist/calcite/p-e8f17533.entry.js +5 -0
- package/dist/calcite/p-ea32a5ac.system.entry.js +5 -0
- package/dist/calcite/p-eaf79f20.entry.js +5 -0
- package/dist/calcite/p-f2433871.entry.js +5 -0
- package/dist/calcite/p-f71b551d.entry.js +5 -0
- package/dist/calcite/p-fa078a42.entry.js +5 -0
- package/dist/cjs/calcite-action.cjs.entry.js +5 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -5
- package/dist/cjs/calcite-button.cjs.entry.js +6 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +6 -2
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -3
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -2
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +22 -6
- package/dist/cjs/calcite-fab.cjs.entry.js +10 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +36 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +4 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +19 -3
- package/dist/cjs/calcite-input.cjs.entry.js +6 -2
- package/dist/cjs/calcite-label.cjs.entry.js +15 -2
- package/dist/cjs/calcite-link.cjs.entry.js +6 -2
- package/dist/cjs/calcite-list_3.cjs.entry.js +28 -2
- package/dist/cjs/calcite-option_3.cjs.entry.js +6 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +10 -6
- package/dist/cjs/calcite-radio-button.cjs.entry.js +6 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +11 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +25 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +6 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -3
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +17 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +5 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -7
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/interactive-87406231.js +44 -0
- package/dist/cjs/{label-6b18ca08.js → label-980508de.js} +40 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{resources-415f797b.js → resources-65327c4a.js} +33 -8
- package/dist/collection/components/action/action.css +9 -0
- package/dist/collection/components/action/action.js +4 -0
- package/dist/collection/components/block/block.css +13 -9
- package/dist/collection/components/block/block.js +13 -4
- package/dist/collection/components/button/button.css +15 -2
- package/dist/collection/components/button/button.js +4 -0
- package/dist/collection/components/checkbox/checkbox.css +7 -0
- package/dist/collection/components/checkbox/checkbox.js +4 -0
- package/dist/collection/components/color-picker/color-picker.css +13 -0
- package/dist/collection/components/color-picker/color-picker.js +32 -1
- package/dist/collection/components/combobox/combobox.css +7 -1
- package/dist/collection/components/combobox/combobox.js +14 -0
- package/dist/collection/components/combobox-item/combobox-item.css +13 -0
- package/dist/collection/components/combobox-item/combobox-item.js +4 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
- package/dist/collection/components/dropdown/dropdown.css +8 -0
- package/dist/collection/components/dropdown/dropdown.js +23 -5
- package/dist/collection/components/fab/fab.css +13 -0
- package/dist/collection/components/fab/fab.js +9 -0
- package/dist/collection/components/filter/filter.css +13 -0
- package/dist/collection/components/filter/filter.js +41 -7
- package/dist/collection/components/icon/assets/icon/clockForward16.json +1 -0
- package/dist/collection/components/icon/assets/icon/clockForward24.json +1 -0
- package/dist/collection/components/icon/assets/icon/clockForward32.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues16.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues24.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues32.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard16.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard24.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard32.json +1 -0
- package/dist/collection/components/icon/assets/icon/credits16.json +1 -1
- package/dist/collection/components/icon/assets/icon/credits24.json +1 -1
- package/dist/collection/components/icon/assets/icon/credits32.json +1 -1
- package/dist/collection/components/icon/assets/icon/keyboard16.json +1 -0
- package/dist/collection/components/icon/assets/icon/keyboard24.json +1 -0
- package/dist/collection/components/icon/assets/icon/keyboard32.json +1 -0
- package/dist/collection/components/icon/assets/icon/premiumContentUserCredit24.json +1 -1
- package/dist/collection/components/icon/assets/icon/premiumContentUserCredit32.json +1 -1
- package/dist/collection/components/icon/assets/icon/select16.json +1 -1
- package/dist/collection/components/icon/assets/icon/select24.json +1 -1
- package/dist/collection/components/icon/assets/icon/select32.json +1 -1
- package/dist/collection/components/icon/assets/icon/userDown16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userDown24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userDown32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX32.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace16.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace24.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace32.json +1 -0
- package/dist/collection/components/inline-editable/inline-editable.css +12 -0
- package/dist/collection/components/inline-editable/inline-editable.js +9 -7
- package/dist/collection/components/input/input.css +8 -7
- package/dist/collection/components/input/input.js +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
- package/dist/collection/components/input-date-picker/input-date-picker.js +21 -2
- package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
- package/dist/collection/components/label/label.css +12 -0
- package/dist/collection/components/label/label.js +16 -2
- package/dist/collection/components/link/link.css +13 -8
- package/dist/collection/components/link/link.js +5 -1
- package/dist/collection/components/list/list.css +13 -0
- package/dist/collection/components/list/list.js +38 -0
- package/dist/collection/components/list-item/list-item.css +8 -0
- package/dist/collection/components/list-item/list-item.js +9 -0
- package/dist/collection/components/panel/panel.css +13 -0
- package/dist/collection/components/panel/panel.js +11 -2
- package/dist/collection/components/pick-list/pick-list.css +13 -0
- package/dist/collection/components/pick-list/pick-list.js +4 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
- package/dist/collection/components/pick-list/shared-list-render.js +2 -2
- package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
- package/dist/collection/components/radio-button/radio-button.css +10 -1
- package/dist/collection/components/radio-button/radio-button.js +4 -0
- package/dist/collection/components/radio-group/radio-group.css +13 -5
- package/dist/collection/components/radio-group/radio-group.js +5 -1
- package/dist/collection/components/rating/rating.css +13 -5
- package/dist/collection/components/rating/rating.js +9 -3
- package/dist/collection/components/select/select.css +13 -7
- package/dist/collection/components/select/select.js +4 -0
- package/dist/collection/components/slider/slider.css +8 -0
- package/dist/collection/components/slider/slider.js +2 -0
- package/dist/collection/components/sortable-list/sortable-list.css +13 -0
- package/dist/collection/components/sortable-list/sortable-list.js +4 -0
- package/dist/collection/components/split-button/split-button.css +12 -0
- package/dist/collection/components/split-button/split-button.js +29 -3
- package/dist/collection/components/stepper-item/stepper-item.css +8 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -2
- package/dist/collection/components/switch/switch.css +7 -0
- package/dist/collection/components/switch/switch.js +5 -13
- package/dist/collection/components/tab-title/tab-title.css +9 -0
- package/dist/collection/components/tab-title/tab-title.js +6 -3
- package/dist/collection/components/tile/tile.css +17 -1
- package/dist/collection/components/tile/tile.js +4 -0
- package/dist/collection/components/tile-select/tile-select.css +9 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -0
- package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
- package/dist/collection/components/value-list/value-list.css +13 -0
- package/dist/collection/components/value-list/value-list.js +6 -5
- package/dist/collection/components/value-list-item/value-list-item.css +13 -0
- package/dist/collection/components/value-list-item/value-list-item.js +5 -1
- package/dist/collection/utils/interactive.js +42 -0
- package/dist/collection/utils/label.js +38 -6
- package/dist/components/action.js +5 -1
- package/dist/components/button.js +5 -1
- package/dist/components/calcite-block.js +14 -5
- package/dist/components/calcite-color-picker.js +16 -2
- package/dist/components/calcite-combobox-item.js +5 -1
- package/dist/components/calcite-combobox.js +13 -1
- package/dist/components/calcite-fab.js +10 -1
- package/dist/components/calcite-inline-editable.js +10 -8
- package/dist/components/calcite-input-date-picker.js +20 -3
- package/dist/components/calcite-input-time-picker.js +18 -2
- package/dist/components/calcite-list-item.js +10 -1
- package/dist/components/calcite-list.js +20 -1
- package/dist/components/calcite-panel.js +12 -3
- package/dist/components/calcite-pick-list.js +5 -1
- package/dist/components/calcite-radio-button.js +5 -1
- package/dist/components/calcite-radio-group.js +6 -2
- package/dist/components/calcite-rating.js +10 -4
- package/dist/components/calcite-select.js +5 -1
- package/dist/components/calcite-slider.js +3 -1
- package/dist/components/calcite-sortable-list.js +5 -1
- package/dist/components/calcite-split-button.js +26 -3
- package/dist/components/calcite-stepper-item.js +7 -3
- package/dist/components/calcite-tile-select-group.js +14 -1
- package/dist/components/calcite-tile-select.js +5 -1
- package/dist/components/calcite-value-list-item.js +5 -1
- package/dist/components/calcite-value-list.js +7 -6
- package/dist/components/checkbox.js +5 -1
- package/dist/components/date-picker-day.js +9 -2
- package/dist/components/dropdown.js +22 -6
- package/dist/components/filter.js +42 -21
- package/dist/components/input.js +5 -1
- package/dist/components/interactive.js +42 -0
- package/dist/components/label.js +39 -7
- package/dist/components/label2.js +13 -2
- package/dist/components/link.js +6 -2
- package/dist/components/pick-list-item.js +5 -4
- package/dist/components/shared-list-render.js +33 -9
- package/dist/components/switch.js +5 -9
- package/dist/components/tab-title.js +6 -3
- package/dist/components/tile.js +5 -1
- package/dist/custom-elements/index.js +448 -105
- package/dist/esm/calcite-action.entry.js +5 -1
- package/dist/esm/calcite-block_2.entry.js +14 -5
- package/dist/esm/calcite-button.entry.js +6 -2
- package/dist/esm/calcite-checkbox.entry.js +6 -2
- package/dist/esm/calcite-color-picker_3.entry.js +15 -2
- package/dist/esm/calcite-combobox_3.entry.js +18 -3
- package/dist/esm/calcite-date-picker_4.entry.js +9 -2
- package/dist/esm/calcite-dropdown_3.entry.js +22 -6
- package/dist/esm/calcite-fab.entry.js +10 -1
- package/dist/esm/calcite-filter.entry.js +36 -3
- package/dist/esm/calcite-graph_2.entry.js +4 -2
- package/dist/esm/calcite-inline-editable.entry.js +11 -9
- package/dist/esm/calcite-input-date-picker.entry.js +21 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +19 -3
- package/dist/esm/calcite-input.entry.js +6 -2
- package/dist/esm/calcite-label.entry.js +15 -2
- package/dist/esm/calcite-link.entry.js +6 -2
- package/dist/esm/calcite-list_3.entry.js +28 -2
- package/dist/esm/calcite-option_3.entry.js +6 -2
- package/dist/esm/calcite-panel.entry.js +12 -3
- package/dist/esm/calcite-pick-list_3.entry.js +10 -6
- package/dist/esm/calcite-radio-button.entry.js +6 -2
- package/dist/esm/calcite-radio-group_2.entry.js +7 -3
- package/dist/esm/calcite-rating.entry.js +11 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -1
- package/dist/esm/calcite-split-button.entry.js +25 -2
- package/dist/esm/calcite-stepper_2.entry.js +6 -2
- package/dist/esm/calcite-switch.entry.js +6 -9
- package/dist/esm/calcite-tab_4.entry.js +6 -3
- package/dist/esm/calcite-tile-select_2.entry.js +17 -2
- package/dist/esm/calcite-tile.entry.js +5 -1
- package/dist/esm/calcite-value-list_2.entry.js +12 -7
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/interactive-48b5cc0f.js +42 -0
- package/dist/esm/{label-2bffc9f4.js → label-68f22660.js} +39 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{resources-999109fa.js → resources-77c12cea.js} +33 -9
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
- package/dist/esm-es5/label-68f22660.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/resources-77c12cea.js +5 -0
- package/dist/extras/docs-json.json +72 -24
- package/dist/types/components/action/action.d.ts +3 -1
- package/dist/types/components/block/block.d.ts +3 -1
- package/dist/types/components/button/button.d.ts +3 -1
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +9 -1
- package/dist/types/components/combobox/combobox.d.ts +3 -1
- package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -1
- package/dist/types/components/fab/fab.d.ts +3 -1
- package/dist/types/components/filter/filter.d.ts +5 -2
- package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
- package/dist/types/components/input/input.d.ts +3 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +4 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
- package/dist/types/components/label/label.d.ts +7 -1
- package/dist/types/components/link/link.d.ts +3 -1
- package/dist/types/components/list/list.d.ts +7 -1
- package/dist/types/components/list-item/list-item.d.ts +3 -1
- package/dist/types/components/panel/panel.d.ts +3 -1
- package/dist/types/components/pick-list/pick-list.d.ts +3 -1
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
- package/dist/types/components/radio-button/radio-button.d.ts +3 -1
- package/dist/types/components/radio-group/radio-group.d.ts +3 -1
- package/dist/types/components/rating/rating.d.ts +3 -1
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components/slider/slider.d.ts +2 -1
- package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
- package/dist/types/components/split-button/split-button.d.ts +5 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
- package/dist/types/components/switch/switch.d.ts +3 -4
- package/dist/types/components/tab-title/tab-title.d.ts +3 -1
- package/dist/types/components/tile/tile.d.ts +3 -1
- package/dist/types/components/tile-select/tile-select.d.ts +3 -1
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
- package/dist/types/components/value-list/value-list.d.ts +3 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
- package/dist/types/components.d.ts +30 -4
- package/dist/types/utils/interactive.d.ts +28 -0
- package/dist/types/utils/label.d.ts +3 -1
- package/hydrate/index.js +451 -106
- package/package.json +6 -7
- package/dist/calcite/p-00d4b36e.entry.js +0 -5
- package/dist/calcite/p-02a3ad67.entry.js +0 -5
- package/dist/calcite/p-02cc50b9.entry.js +0 -5
- package/dist/calcite/p-11413626.system.entry.js +0 -5
- package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
- package/dist/calcite/p-13e36552.system.entry.js +0 -5
- package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
- package/dist/calcite/p-1a3a366d.system.js +0 -5
- package/dist/calcite/p-1fe5a777.entry.js +0 -5
- package/dist/calcite/p-2a3d08b7.entry.js +0 -5
- package/dist/calcite/p-2fbc2a9b.system.entry.js +0 -5
- package/dist/calcite/p-313fa6fa.system.entry.js +0 -5
- package/dist/calcite/p-322195bf.system.entry.js +0 -5
- package/dist/calcite/p-35461165.system.entry.js +0 -5
- package/dist/calcite/p-383b48a0.system.entry.js +0 -5
- package/dist/calcite/p-3a7606c8.entry.js +0 -5
- package/dist/calcite/p-417c7d5d.entry.js +0 -5
- package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
- package/dist/calcite/p-458933db.system.entry.js +0 -5
- package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
- package/dist/calcite/p-5a4b0056.system.entry.js +0 -5
- package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
- package/dist/calcite/p-5c425028.entry.js +0 -5
- package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
- package/dist/calcite/p-633a2c7f.entry.js +0 -5
- package/dist/calcite/p-673a3cd9.entry.js +0 -5
- package/dist/calcite/p-743597e4.entry.js +0 -5
- package/dist/calcite/p-783bfba1.entry.js +0 -5
- package/dist/calcite/p-7863deb5.entry.js +0 -5
- package/dist/calcite/p-793659d0.entry.js +0 -5
- package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
- package/dist/calcite/p-7ccf6273.entry.js +0 -5
- package/dist/calcite/p-7dfe915f.entry.js +0 -5
- package/dist/calcite/p-802a05a2.entry.js +0 -5
- package/dist/calcite/p-818b3ac7.entry.js +0 -5
- package/dist/calcite/p-81a3de30.system.entry.js +0 -5
- package/dist/calcite/p-81f7b919.entry.js +0 -5
- package/dist/calcite/p-82c142d8.entry.js +0 -5
- package/dist/calcite/p-874ac36f.entry.js +0 -5
- package/dist/calcite/p-93bf2f70.entry.js +0 -5
- package/dist/calcite/p-99da584e.system.entry.js +0 -5
- package/dist/calcite/p-9a7c4812.js +0 -5
- package/dist/calcite/p-9cfa3928.entry.js +0 -5
- package/dist/calcite/p-9d102b23.system.entry.js +0 -5
- package/dist/calcite/p-9f2e3d1e.entry.js +0 -5
- package/dist/calcite/p-ad7fbabd.entry.js +0 -5
- package/dist/calcite/p-b03b03d5.entry.js +0 -5
- package/dist/calcite/p-b76ee102.system.entry.js +0 -5
- package/dist/calcite/p-bfaed65e.entry.js +0 -5
- package/dist/calcite/p-c6851d0b.system.entry.js +0 -5
- package/dist/calcite/p-d08d1450.entry.js +0 -5
- package/dist/calcite/p-d359def7.system.entry.js +0 -5
- package/dist/calcite/p-d7395b71.system.entry.js +0 -5
- package/dist/calcite/p-da78fbb6.system.entry.js +0 -5
- package/dist/calcite/p-dc9ff95e.system.entry.js +0 -5
- package/dist/calcite/p-dcf17450.system.entry.js +0 -5
- package/dist/calcite/p-de562f92.system.js +0 -5
- package/dist/calcite/p-e7dd0a9f.entry.js +0 -5
- package/dist/calcite/p-e88fd904.system.entry.js +0 -5
- package/dist/calcite/p-e9460f3c.js +0 -5
- package/dist/calcite/p-eb43eb28.system.entry.js +0 -5
- package/dist/calcite/p-efb21590.system.entry.js +0 -5
- package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
- package/dist/calcite/p-f31de031.system.entry.js +0 -5
- package/dist/calcite/p-f542ba26.entry.js +0 -5
- package/dist/calcite/p-f9d1a58e.entry.js +0 -5
- package/dist/calcite/p-fad60503.entry.js +0 -5
- package/dist/calcite/p-fd0d5d44.system.entry.js +0 -5
- package/dist/esm-es5/label-2bffc9f4.js +0 -5
- package/dist/esm-es5/resources-999109fa.js +0 -5
|
@@ -92,9 +92,15 @@
|
|
|
92
92
|
|
|
93
93
|
:host([disabled]) {
|
|
94
94
|
pointer-events: none;
|
|
95
|
+
cursor: default;
|
|
95
96
|
-webkit-user-select: none;
|
|
96
97
|
user-select: none;
|
|
97
|
-
opacity:
|
|
98
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
99
|
+
}
|
|
100
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
101
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
102
|
+
/* prevent opacity stacking */
|
|
103
|
+
opacity: 1;
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
:host([scale=s]) {
|
|
@@ -12,6 +12,7 @@ import { getItemAncestors, getItemChildren, hasActiveChildren } from "./utils";
|
|
|
12
12
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
13
13
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
14
14
|
import { createObserver } from "../../utils/observers";
|
|
15
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
15
16
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
16
17
|
const itemUidPrefix = "combobox-item-";
|
|
17
18
|
const chipUidPrefix = "combobox-chip-";
|
|
@@ -294,6 +295,10 @@ export class Combobox {
|
|
|
294
295
|
};
|
|
295
296
|
}
|
|
296
297
|
activeHandler(newValue, oldValue) {
|
|
298
|
+
if (this.disabled) {
|
|
299
|
+
this.active = false;
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
297
302
|
// when closing, wait transition time then hide to prevent overscroll
|
|
298
303
|
if (oldValue && !newValue) {
|
|
299
304
|
this.el.addEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
@@ -305,6 +310,11 @@ export class Combobox {
|
|
|
305
310
|
}
|
|
306
311
|
this.reposition();
|
|
307
312
|
}
|
|
313
|
+
handleDisabledChange(value) {
|
|
314
|
+
if (!value) {
|
|
315
|
+
this.active = false;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
308
318
|
maxItemsHandler() {
|
|
309
319
|
this.setMaxScrollerHeight();
|
|
310
320
|
}
|
|
@@ -390,6 +400,7 @@ export class Combobox {
|
|
|
390
400
|
this.reposition();
|
|
391
401
|
this.inputHeight = this.el.offsetHeight;
|
|
392
402
|
}
|
|
403
|
+
updateHostInteraction(this);
|
|
393
404
|
}
|
|
394
405
|
disconnectedCallback() {
|
|
395
406
|
var _a, _b;
|
|
@@ -1171,6 +1182,9 @@ export class Combobox {
|
|
|
1171
1182
|
static get watchers() { return [{
|
|
1172
1183
|
"propName": "active",
|
|
1173
1184
|
"methodName": "activeHandler"
|
|
1185
|
+
}, {
|
|
1186
|
+
"propName": "disabled",
|
|
1187
|
+
"methodName": "handleDisabledChange"
|
|
1174
1188
|
}, {
|
|
1175
1189
|
"propName": "maxItems",
|
|
1176
1190
|
"methodName": "maxItemsHandler"
|
|
@@ -115,6 +115,19 @@
|
|
|
115
115
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
:host([disabled]){
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
cursor: default;
|
|
121
|
+
-webkit-user-select: none;
|
|
122
|
+
user-select: none;
|
|
123
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
124
|
+
}
|
|
125
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
126
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
127
|
+
/* prevent opacity stacking */
|
|
128
|
+
opacity: 1;
|
|
129
|
+
}
|
|
130
|
+
|
|
118
131
|
:host, ul{
|
|
119
132
|
margin: 0px;
|
|
120
133
|
display: flex;
|
|
@@ -8,6 +8,7 @@ import { CSS } from "./resources";
|
|
|
8
8
|
import { guid } from "../../utils/guid";
|
|
9
9
|
import { getAncestors, getDepth } from "../combobox/utils";
|
|
10
10
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
11
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
11
12
|
/**
|
|
12
13
|
* @slot - A slot for adding nested `calcite-combobox-item`s.
|
|
13
14
|
*/
|
|
@@ -56,6 +57,9 @@ export class ComboboxItem {
|
|
|
56
57
|
disconnectedCallback() {
|
|
57
58
|
disconnectConditionalSlotComponent(this);
|
|
58
59
|
}
|
|
60
|
+
componentDidRender() {
|
|
61
|
+
updateHostInteraction(this);
|
|
62
|
+
}
|
|
59
63
|
// --------------------------------------------------------------------------
|
|
60
64
|
//
|
|
61
65
|
// Public Methods
|
|
@@ -87,6 +87,19 @@
|
|
|
87
87
|
width: 14.2857142857%;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
:host([disabled]) {
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
cursor: default;
|
|
93
|
+
-webkit-user-select: none;
|
|
94
|
+
user-select: none;
|
|
95
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
96
|
+
}
|
|
97
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
98
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
99
|
+
/* prevent opacity stacking */
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
90
103
|
.day-v-wrapper {
|
|
91
104
|
flex: 1 1 auto;
|
|
92
105
|
}
|
|
@@ -166,11 +179,6 @@
|
|
|
166
179
|
opacity: 1;
|
|
167
180
|
}
|
|
168
181
|
|
|
169
|
-
:host([disabled]) {
|
|
170
|
-
cursor: default;
|
|
171
|
-
opacity: 0.25;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
182
|
:host(:hover:not([disabled])) .day, :host([active]:not([range])) .day {
|
|
175
183
|
background-color: var(--calcite-ui-foreground-2);
|
|
176
184
|
color: var(--calcite-ui-text-1);
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Component, Element, Prop, Host, Event, Listen, h } from "@stencil/core";
|
|
6
6
|
import { getElementDir } from "../../utils/dom";
|
|
7
7
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
8
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
8
9
|
export class DatePickerDay {
|
|
9
10
|
constructor() {
|
|
10
11
|
/** Date is outside of range and can't be selected */
|
|
@@ -56,12 +57,18 @@ export class DatePickerDay {
|
|
|
56
57
|
.map((i) => this.localeData.numerals[i])
|
|
57
58
|
.join("");
|
|
58
59
|
const dir = getElementDir(this.el);
|
|
59
|
-
return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell"
|
|
60
|
+
return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" },
|
|
60
61
|
h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
61
62
|
h("div", { class: "day-wrapper" },
|
|
62
63
|
h("span", { class: "day" },
|
|
63
64
|
h("span", { class: "text" }, formattedDay))))));
|
|
64
65
|
}
|
|
66
|
+
componentDidRender() {
|
|
67
|
+
updateHostInteraction(this, this.isTabbable);
|
|
68
|
+
}
|
|
69
|
+
isTabbable() {
|
|
70
|
+
return this.active;
|
|
71
|
+
}
|
|
65
72
|
static get is() { return "calcite-date-picker-day"; }
|
|
66
73
|
static get encapsulation() { return "shadow"; }
|
|
67
74
|
static get originalStyleUrls() { return {
|
|
@@ -92,8 +92,16 @@
|
|
|
92
92
|
|
|
93
93
|
:host([disabled]) {
|
|
94
94
|
pointer-events: none;
|
|
95
|
+
cursor: default;
|
|
96
|
+
-webkit-user-select: none;
|
|
97
|
+
user-select: none;
|
|
95
98
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
96
99
|
}
|
|
100
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
101
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
102
|
+
/* prevent opacity stacking */
|
|
103
|
+
opacity: 1;
|
|
104
|
+
}
|
|
97
105
|
|
|
98
106
|
:host .calcite-dropdown-wrapper {
|
|
99
107
|
display: block;
|
|
@@ -7,6 +7,7 @@ import { focusElement, getSlotted } from "../../utils/dom";
|
|
|
7
7
|
import { createPopper, CSS as PopperCSS, updatePopper } from "../../utils/popper";
|
|
8
8
|
import { DefaultDropdownPlacement, SLOTS } from "./resources";
|
|
9
9
|
import { createObserver } from "../../utils/observers";
|
|
10
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
10
11
|
/**
|
|
11
12
|
* @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
|
|
12
13
|
* @slot dropdown-trigger - A slot for the element that triggers the dropdown.
|
|
@@ -134,7 +135,16 @@ export class Dropdown {
|
|
|
134
135
|
};
|
|
135
136
|
}
|
|
136
137
|
activeHandler() {
|
|
137
|
-
this.
|
|
138
|
+
if (!this.disabled) {
|
|
139
|
+
this.reposition();
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
this.active = false;
|
|
143
|
+
}
|
|
144
|
+
handleDisabledChange(value) {
|
|
145
|
+
if (!value) {
|
|
146
|
+
this.active = false;
|
|
147
|
+
}
|
|
138
148
|
}
|
|
139
149
|
maxItemsHandler() {
|
|
140
150
|
this.setMaxScrollerHeight();
|
|
@@ -156,6 +166,9 @@ export class Dropdown {
|
|
|
156
166
|
componentDidLoad() {
|
|
157
167
|
this.reposition();
|
|
158
168
|
}
|
|
169
|
+
componentDidRender() {
|
|
170
|
+
updateHostInteraction(this);
|
|
171
|
+
}
|
|
159
172
|
disconnectedCallback() {
|
|
160
173
|
var _a, _b;
|
|
161
174
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
@@ -164,7 +177,7 @@ export class Dropdown {
|
|
|
164
177
|
}
|
|
165
178
|
render() {
|
|
166
179
|
const { active } = this;
|
|
167
|
-
return (h(Host,
|
|
180
|
+
return (h(Host, null,
|
|
168
181
|
h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl },
|
|
169
182
|
h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })),
|
|
170
183
|
h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl },
|
|
@@ -198,7 +211,7 @@ export class Dropdown {
|
|
|
198
211
|
if (!this.active || e.composedPath().includes(this.el)) {
|
|
199
212
|
return;
|
|
200
213
|
}
|
|
201
|
-
this.closeCalciteDropdown();
|
|
214
|
+
this.closeCalciteDropdown(false);
|
|
202
215
|
}
|
|
203
216
|
closeCalciteDropdownOnEvent() {
|
|
204
217
|
this.closeCalciteDropdown();
|
|
@@ -322,9 +335,11 @@ export class Dropdown {
|
|
|
322
335
|
});
|
|
323
336
|
return maxScrollerHeight;
|
|
324
337
|
}
|
|
325
|
-
closeCalciteDropdown() {
|
|
338
|
+
closeCalciteDropdown(focusTrigger = true) {
|
|
326
339
|
this.active = false;
|
|
327
|
-
|
|
340
|
+
if (focusTrigger) {
|
|
341
|
+
focusElement(this.triggers[0]);
|
|
342
|
+
}
|
|
328
343
|
}
|
|
329
344
|
focusFirstItem() {
|
|
330
345
|
const firstItem = this.items[0];
|
|
@@ -642,6 +657,9 @@ export class Dropdown {
|
|
|
642
657
|
static get watchers() { return [{
|
|
643
658
|
"propName": "active",
|
|
644
659
|
"methodName": "activeHandler"
|
|
660
|
+
}, {
|
|
661
|
+
"propName": "disabled",
|
|
662
|
+
"methodName": "handleDisabledChange"
|
|
645
663
|
}, {
|
|
646
664
|
"propName": "maxItems",
|
|
647
665
|
"methodName": "maxItemsHandler"
|
|
@@ -83,6 +83,19 @@
|
|
|
83
83
|
background-color: transparent;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
:host([disabled]) {
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
cursor: default;
|
|
89
|
+
-webkit-user-select: none;
|
|
90
|
+
user-select: none;
|
|
91
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
92
|
+
}
|
|
93
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
94
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
95
|
+
/* prevent opacity stacking */
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
98
|
+
|
|
86
99
|
calcite-button {
|
|
87
100
|
--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);
|
|
88
101
|
--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { Component, Element, Method, Prop, h } from "@stencil/core";
|
|
6
6
|
import { CSS, ICONS } from "./resources";
|
|
7
7
|
import { focusElement } from "../../utils/dom";
|
|
8
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
8
9
|
export class Fab {
|
|
9
10
|
constructor() {
|
|
10
11
|
// --------------------------------------------------------------------------
|
|
@@ -42,6 +43,14 @@ export class Fab {
|
|
|
42
43
|
*/
|
|
43
44
|
this.textEnabled = false;
|
|
44
45
|
}
|
|
46
|
+
//--------------------------------------------------------------------------
|
|
47
|
+
//
|
|
48
|
+
// Lifecycle
|
|
49
|
+
//
|
|
50
|
+
//--------------------------------------------------------------------------
|
|
51
|
+
componentDidRender() {
|
|
52
|
+
updateHostInteraction(this);
|
|
53
|
+
}
|
|
45
54
|
// --------------------------------------------------------------------------
|
|
46
55
|
//
|
|
47
56
|
// Methods
|
|
@@ -94,6 +94,19 @@
|
|
|
94
94
|
width: 100%;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
:host([disabled]) {
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
cursor: default;
|
|
100
|
+
-webkit-user-select: none;
|
|
101
|
+
user-select: none;
|
|
102
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
103
|
+
}
|
|
104
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
105
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
106
|
+
/* prevent opacity stacking */
|
|
107
|
+
opacity: 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
97
110
|
.container {
|
|
98
111
|
display: flex;
|
|
99
112
|
width: 100%;
|
|
@@ -6,9 +6,22 @@ import { Component, Element, Event, Prop, h, Method, Fragment, Watch } from "@st
|
|
|
6
6
|
import { debounce, forIn } from "lodash-es";
|
|
7
7
|
import { CSS, ICONS, TEXT } from "./resources";
|
|
8
8
|
import { focusElement } from "../../utils/dom";
|
|
9
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
10
|
const filterDebounceInMs = 250;
|
|
10
11
|
export class Filter {
|
|
11
12
|
constructor() {
|
|
13
|
+
// --------------------------------------------------------------------------
|
|
14
|
+
//
|
|
15
|
+
// Properties
|
|
16
|
+
//
|
|
17
|
+
// --------------------------------------------------------------------------
|
|
18
|
+
/**
|
|
19
|
+
* The items to filter through. The filter uses this as the starting point, and returns items
|
|
20
|
+
* that contain the string entered in the input, using a partial match and recursive search.
|
|
21
|
+
*
|
|
22
|
+
* This property is required.
|
|
23
|
+
*/
|
|
24
|
+
this.items = [];
|
|
12
25
|
/**
|
|
13
26
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
14
27
|
*/
|
|
@@ -21,6 +34,10 @@ export class Filter {
|
|
|
21
34
|
this.filteredItems = [];
|
|
22
35
|
/** specify the scale of filter, defaults to m */
|
|
23
36
|
this.scale = "m";
|
|
37
|
+
/**
|
|
38
|
+
* Filter value.
|
|
39
|
+
*/
|
|
40
|
+
this.value = "";
|
|
24
41
|
// --------------------------------------------------------------------------
|
|
25
42
|
//
|
|
26
43
|
// Private Methods
|
|
@@ -74,6 +91,22 @@ export class Filter {
|
|
|
74
91
|
valueHandler(value) {
|
|
75
92
|
this.filter(value);
|
|
76
93
|
}
|
|
94
|
+
//--------------------------------------------------------------------------
|
|
95
|
+
//
|
|
96
|
+
// Lifecycle
|
|
97
|
+
//
|
|
98
|
+
//--------------------------------------------------------------------------
|
|
99
|
+
componentDidRender() {
|
|
100
|
+
updateHostInteraction(this);
|
|
101
|
+
}
|
|
102
|
+
//--------------------------------------------------------------------------
|
|
103
|
+
//
|
|
104
|
+
// Lifecycle
|
|
105
|
+
//
|
|
106
|
+
//--------------------------------------------------------------------------
|
|
107
|
+
componentWillLoad() {
|
|
108
|
+
this.filter(this.value);
|
|
109
|
+
}
|
|
77
110
|
// --------------------------------------------------------------------------
|
|
78
111
|
//
|
|
79
112
|
// Public Methods
|
|
@@ -96,13 +129,12 @@ export class Filter {
|
|
|
96
129
|
render() {
|
|
97
130
|
const { disabled, scale } = this;
|
|
98
131
|
return (h(Fragment, null,
|
|
99
|
-
disabled ? h("calcite-scrim", null) : null,
|
|
100
132
|
h("div", { class: CSS.container },
|
|
101
133
|
h("label", null,
|
|
102
|
-
h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, disabled:
|
|
134
|
+
h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, disabled: disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
103
135
|
this.textInput = el;
|
|
104
136
|
}, scale: scale, type: "text", value: this.value })),
|
|
105
|
-
this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear },
|
|
137
|
+
this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: disabled, onClick: this.clear },
|
|
106
138
|
h("calcite-icon", { icon: ICONS.close, scale: scale }))) : null)));
|
|
107
139
|
}
|
|
108
140
|
static get is() { return "calcite-filter"; }
|
|
@@ -122,12 +154,13 @@ export class Filter {
|
|
|
122
154
|
"resolved": "object[]",
|
|
123
155
|
"references": {}
|
|
124
156
|
},
|
|
125
|
-
"required":
|
|
157
|
+
"required": false,
|
|
126
158
|
"optional": false,
|
|
127
159
|
"docs": {
|
|
128
160
|
"tags": [],
|
|
129
161
|
"text": "The items to filter through. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search.\n\nThis property is required."
|
|
130
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"defaultValue": "[]"
|
|
131
164
|
},
|
|
132
165
|
"disabled": {
|
|
133
166
|
"type": "boolean",
|
|
@@ -249,13 +282,14 @@ export class Filter {
|
|
|
249
282
|
"references": {}
|
|
250
283
|
},
|
|
251
284
|
"required": false,
|
|
252
|
-
"optional":
|
|
285
|
+
"optional": false,
|
|
253
286
|
"docs": {
|
|
254
287
|
"tags": [],
|
|
255
288
|
"text": "Filter value."
|
|
256
289
|
},
|
|
257
290
|
"attribute": "value",
|
|
258
|
-
"reflect": false
|
|
291
|
+
"reflect": false,
|
|
292
|
+
"defaultValue": "\"\""
|
|
259
293
|
}
|
|
260
294
|
}; }
|
|
261
295
|
static get events() { return [{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11 10H7V5h1v4h3zm1-4h4V2h-1v2.595A7.786 7.786 0 1 0 15.728 9h-1.01a6.789 6.789 0 1 1-.618-4H12z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.282a10.712 10.712 0 0 1 9 4.917V2h1v6h-6V7h4.508a9.862 9.862 0 1 0 1.373 5h.838A10.719 10.719 0 1 1 12 1.282zM16 13h-4V7h-1v7h5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22 18h-7V9h1v8h6zm-6 10.8A12.8 12.8 0 1 1 27.299 10H23v1h6V5h-1v4.21A13.78 13.78 0 1 0 29.8 16h-1A12.815 12.815 0 0 1 16 28.8z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M14.5 10h-6A1.502 1.502 0 0 0 7 11.5V13H5V8h7c.828-.001.999-.672 1-1.5v-5A1.502 1.502 0 0 0 11.5 0h-10A1.502 1.502 0 0 0 0 1.5v5A1.502 1.502 0 0 0 1.5 8H4v6h3v.5A1.502 1.502 0 0 0 8.5 16h6a1.502 1.502 0 0 0 1.5-1.5v-3a1.502 1.502 0 0 0-1.5-1.5zm-13-3a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5zM15 14.5a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 .5.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M20.5 14h-9a1.502 1.502 0 0 0-1.5 1.5V18H7v-7h8.5A1.502 1.502 0 0 0 17 9.5v-6A1.502 1.502 0 0 0 15.5 2h-12A1.502 1.502 0 0 0 2 3.5v6A1.502 1.502 0 0 0 3.5 11H6v8h4v1.5a1.502 1.502 0 0 0 1.5 1.5h9a1.502 1.502 0 0 0 1.5-1.5v-5a1.502 1.502 0 0 0-1.5-1.5zm-17-4a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5zM21 20.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M27.5 21h-12a1.502 1.502 0 0 0-1.5 1.5V25h-4v-9h12.5a1.502 1.502 0 0 0 1.5-1.5v-10A1.502 1.502 0 0 0 22.5 3h-18A1.502 1.502 0 0 0 3 4.5v10A1.502 1.502 0 0 0 4.5 16H9v10h5v2.5a1.502 1.502 0 0 0 1.5 1.5h12a1.502 1.502 0 0 0 1.5-1.5v-6a1.502 1.502 0 0 0-1.5-1.5zm-23-6a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h18a.5.5 0 0 1 .5.5v10a.5.5 0 0 1-.5.5zM28 28.5a.5.5 0 0 1-.5.5h-12a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15.25 3H.75a.751.751 0 0 0-.75.75v9.5a.751.751 0 0 0 .75.75h14.5a.751.751 0 0 0 .75-.75v-9.5a.751.751 0 0 0-.75-.75zM15 13H1V7h14zm0-8H1V4h14zm-9 7H2v-1h4zm8 0h-1v-1h1zm-2 0h-1v-1h1zm-3-2H2V9h7z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.75 5H2.25A1.251 1.251 0 0 0 1 6.25v12.5A1.251 1.251 0 0 0 2.25 20h19.5A1.251 1.251 0 0 0 23 18.75V6.25A1.251 1.251 0 0 0 21.75 5zM22 18.75a.25.25 0 0 1-.25.25H2.25a.25.25 0 0 1-.25-.25V10h20zM22 8H2V6.25A.25.25 0 0 1 2.25 6h19.5a.25.25 0 0 1 .25.25zM8 18H3v-1h5zm13 0h-2v-1h2zm-3 0h-2v-1h2zm-6-2H3v-1h9z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M28.104 7H3.896A1.898 1.898 0 0 0 2 8.896v15.209A1.898 1.898 0 0 0 3.896 26h24.209A1.898 1.898 0 0 0 30 24.104V8.896A1.898 1.898 0 0 0 28.104 7zM29 24.104a.896.896 0 0 1-.896.896H3.896A.896.896 0 0 1 3 24.104V14h26zM29 11H3V8.896A.896.896 0 0 1 3.896 8h24.209a.896.896 0 0 1 .895.896zm-2 12h-3v-1h3zm-5 0h-3v-1h3zm-6-2H5v-1h11zm-5 2H5v-1h6z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M4 10.5c0 .02.003.039.003.058a5.285 5.285 0 1 1 6.555-6.555c-.02 0-.038-.003-.058-.003a6.49 6.49 0 0 0-.96.079 4.289 4.289 0 1 0-5.46 5.46A6.49 6.49 0 0 0 4 10.5zm1.462-7.3l-.017-1A3.301 3.301 0 0 0 2.26 6.127l.982-.19A2.3 2.3 0 0 1 5.462 3.2zM15.8 10.5a5.3 5.3 0 1 1-5.3-5.3 5.306 5.306 0 0 1 5.3 5.3zm-1 0a4.3 4.3 0 1 0-4.3 4.3 4.304 4.304 0 0 0 4.3-4.3zm-6.531-.56a2.297 2.297 0 0 1 2.444-1.73l.096-.996a3.317 3.317 0 0 0-.957.05A3.304 3.304 0 0 0 7.3 9.697zm5.264-.743l-.92.395a2.3 2.3 0 0 1-3.74 2.534l-.706.707a3.3 3.3 0 0 0 5.366-3.636z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M7 15.5c0 .049.006.096.007.145a7.3 7.3 0 1 1 8.638-8.638c-.049 0-.096-.007-.145-.007a8.557 8.557 0 0 0-.877.045 6.296 6.296 0 1 0-7.578 7.578A8.557 8.557 0 0 0 7 15.
|
|
1
|
+
"M7 15.5c0 .049.006.096.007.145a7.3 7.3 0 1 1 8.638-8.638c-.049 0-.096-.007-.145-.007a8.557 8.557 0 0 0-.877.045 6.296 6.296 0 1 0-7.578 7.578A8.557 8.557 0 0 0 7 15.5zm.983-11.27l-.119-.992A5.3 5.3 0 0 0 3.2 8.558c.002.153.01.303.024.45l.995-.093a4.508 4.508 0 0 1-.019-.367A4.3 4.3 0 0 1 7.983 4.23zM22.8 15.5a7.3 7.3 0 1 1-7.3-7.3 7.308 7.308 0 0 1 7.3 7.3zm-1 0a6.3 6.3 0 1 0-6.3 6.3 6.307 6.307 0 0 0 6.3-6.3zm-10.58.415a4.508 4.508 0 0 1-.02-.367 4.3 4.3 0 0 1 3.783-4.318l-.119-.992a5.3 5.3 0 0 0-4.664 5.32c.002.153.01.303.024.45zm8.028-4.163l-.707.707a4.3 4.3 0 1 1-6.082 6.082l-.707.707a5.3 5.3 0 0 0 7.496-7.496z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M10 20.5c0 .057.008.112.009.169a9.294 9.294 0 1 1 10.66-10.66c-.057-.001-.112-.009-.169-.009-.282 0-.56.02-.836.042a8.296 8.296 0 1 0-9.622 9.622A10.49 10.49 0 0 0 10 20.
|
|
1
|
+
"M10 20.5c0 .057.008.112.009.169a9.294 9.294 0 1 1 10.66-10.66c-.057-.001-.112-.009-.169-.009-.282 0-.56.02-.836.042a8.296 8.296 0 1 0-9.622 9.622A10.49 10.49 0 0 0 10 20.5zm.968-15.251l-.088-1.043a7.312 7.312 0 0 0-6.7 7.33c.001.167.008.331.019.495l1.044-.072a6.591 6.591 0 0 1-.017-.429 6.266 6.266 0 0 1 5.742-6.281zM29.8 20.5a9.3 9.3 0 1 1-9.3-9.3 9.31 9.31 0 0 1 9.3 9.3zm-1 0a8.3 8.3 0 1 0-8.3 8.3 8.31 8.31 0 0 0 8.3-8.3zm-3.122-5.179l-.74.74a6.277 6.277 0 0 1-8.877 8.878l-.739.74A7.323 7.323 0 0 0 25.678 15.32zM14.243 20.96a6.591 6.591 0 0 1-.017-.429 6.266 6.266 0 0 1 5.742-6.281l-.088-1.043a7.312 7.312 0 0 0-6.7 7.33c.001.167.008.331.019.495z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M14.5 3h-13A1.502 1.502 0 0 0 0 4.5v8A1.502 1.502 0 0 0 1.5 14h13a1.502 1.502 0 0 0 1.5-1.5v-8A1.502 1.502 0 0 0 14.5 3zm.5 9.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5zM12 6h2v1h-2zm-1 1H9V6h2zM8 7H6V6h2zm0 1h2v1H8zM5 8h2v1H5zm0-1H2V6h3zM2 8h2v1H2zm0 2h2v1H2zm10 0h2v1h-2zm-1-2h3v1h-3zm-6 2h6v1H5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 10h-2V9h2zM9 9H7v1h2zm6 0h-2v1h2zm3 0h-2v1h2zm-4 2h-2v1h2zm3 0h-2v1h2zm-6 0H9v1h2zm2 2h-2v1h2zm-3 0H8v1h2zm6 0h-2v1h2zM3 16h3v-1H3zm5-5H6v1h2zm10 5h3v-1h-3zm1-6h2V9h-2zm5-3.5v12a1.502 1.502 0 0 1-1.5 1.5h-21A1.502 1.502 0 0 1 0 18.5v-12A1.502 1.502 0 0 1 1.5 5h21A1.502 1.502 0 0 1 24 6.5zm-1 0a.5.5 0 0 0-.5-.5h-21a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5zM7 13H3v1h4zm11-1h3v-1h-3zM5 11H3v1h2zm1-2H3v1h3zm1 7h10v-1H7zm10-2h4v-1h-4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M30.5 7h-29A1.502 1.502 0 0 0 0 8.5v16A1.502 1.502 0 0 0 1.5 26h29a1.502 1.502 0 0 0 1.5-1.5v-16A1.502 1.502 0 0 0 30.5 7zm.5 17.5a.5.5 0 0 1-.5.5h-29a.5.5 0 0 1-.5-.5v-16a.5.5 0 0 1 .5-.5h29a.5.5 0 0 1 .5.5zM9 19H4v-1h5zm17-5h2v1h-2zM9 13H4v-1h5zm-2 2H4v-1h3zm1-1h2v1H8zm3 0h2v1h-2zm3 0h2v1h-2zm3 0h2v1h-2zm3 0h2v1h-2zm3 0h2v1h-2zm1 2h4v1h-4zM8 17H4v-1h4zm-4 3h3v1H4zm8-1h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm5 1h2v1h-2zm-3 0h2v1h-2zm-12-3H9v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm1-1h2v1h-2zm-9-3h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm3 0h-2v-1h2zm1-1h3v1h-3zM8 20h14v1H8zm14-2h6v1h-6z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M23
|
|
1
|
+
"M23 5.198c-.127 2.911-.059 9.816-4.98 14.695a5.673 5.673 0 0 0 .18-1.393c0-.083-.009-.164-.012-.246 3.49-4.168 3.683-9.51 3.79-12.481L22 5.17a7.705 7.705 0 0 1-.894.052c-3.262 0-6.319-1.997-7.606-2.962-1.287.965-4.345 2.961-7.607 2.962A7.688 7.688 0 0 1 5 5.17l.022.603c.033.91.079 2.05.22 3.304a3.943 3.943 0 0 0-.962.327c-.21-1.71-.236-3.2-.28-4.206V3.94C8.479 5.353 13.479 1 13.479 1l.021.017.021-.017s5 4.353 9.479 2.94zM8.01 22H2v-1.5A2.503 2.503 0 0 1 4.5 18h2.325a5.652 5.652 0 0 1 .182-1H4.5A3.504 3.504 0 0 0 1 20.5V23h8.014a5.74 5.74 0 0 1-1.003-1zM3 13a3 3 0 0 1 6 0 2.97 2.97 0 0 1-.278 1.243 5.733 5.733 0 0 0-1.055 1.249A2.998 2.998 0 0 1 3 13zm1 0a2 2 0 1 0 2-2 2.002 2.002 0 0 0-2 2zm8.5 10a4.5 4.5 0 1 1 4.5-4.5 4.505 4.505 0 0 1-4.5 4.5zm0-1A3.5 3.5 0 1 0 9 18.5a3.504 3.504 0 0 0 3.5 3.5zm-1.455-3.866a1.504 1.504 0 0 1 1.16-1.105 1.516 1.516 0 0 1 .436-.023l.091-.996a2.551 2.551 0 0 0-.723.038 2.506 2.506 0 0 0-1.935 1.844zm.394 1.427l-.707.707a2.5 2.5 0 0 0 4.065-2.755l-.918.395a1.5 1.5 0 0 1-2.44 1.653z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M30 5.668v1.648c-.178 4.058-.059 14.043-7.885 20.443a6.447 6.447 0 0 0 .765-2.028c5.65-5.659 5.938-13.447 6.09-17.652.01-.29.02-.559.031-.807v-.348a9.683 9.683 0 0 1-1.491.113c-4.376 0-8.478-2.786-10.01-3.958-1.532 1.172-5.634 3.958-10.01 3.958A9.68 9.68 0 0 1 6 6.924v.392c.01.204.02.474.03.764a60.6 60.6 0 0 0 .223 3.75 5.016 5.016 0 0 0-.915.791C5.084 10.464 5.056 8.594 5 7.316V5.668a8.273 8.273 0 0 0 2.49.37c5.113 0 9.982-4.219 9.982-4.219l.028.023.028-.023s4.868 4.218 9.982 4.218a8.278 8.278 0 0 0 2.49-.37zM11.82 29H3v-3.5A3.504 3.504 0 0 1 6.5 22h4.002a6.48 6.48 0 0 1 .53-1H6.5A4.505 4.505 0 0 0 2 25.5V30h11.052a6.538 6.538 0 0 1-1.231-1zM5 16a4 4 0 1 1 4 4 4.004 4.004 0 0 1-4-4zm1 0a3 3 0 1 0 3-3 3.003 3.003 0 0 0-3 3zm10.5 3.2a5.3 5.3 0 1 1-5.3 5.3 5.
|
|
1
|
+
"M30 5.668v1.648c-.178 4.058-.059 14.043-7.885 20.443a6.447 6.447 0 0 0 .765-2.028c5.65-5.659 5.938-13.447 6.09-17.652.01-.29.02-.559.031-.807v-.348a9.683 9.683 0 0 1-1.491.113c-4.376 0-8.478-2.786-10.01-3.958-1.532 1.172-5.634 3.958-10.01 3.958A9.68 9.68 0 0 1 6 6.924v.392c.01.204.02.474.03.764a60.6 60.6 0 0 0 .223 3.75 5.016 5.016 0 0 0-.915.791C5.084 10.464 5.056 8.594 5 7.316V5.668a8.273 8.273 0 0 0 2.49.37c5.113 0 9.982-4.219 9.982-4.219l.028.023.028-.023s4.868 4.218 9.982 4.218a8.278 8.278 0 0 0 2.49-.37zM11.82 29H3v-3.5A3.504 3.504 0 0 1 6.5 22h4.002a6.48 6.48 0 0 1 .53-1H6.5A4.505 4.505 0 0 0 2 25.5V30h11.052a6.538 6.538 0 0 1-1.231-1zM5 16a4 4 0 1 1 4 4 4.004 4.004 0 0 1-4-4zm1 0a3 3 0 1 0 3-3 3.003 3.003 0 0 0-3 3zm10.5 3.2a5.3 5.3 0 1 1-5.3 5.3 5.306 5.306 0 0 1 5.3-5.3zm0 1a4.3 4.3 0 1 0 4.3 4.3 4.304 4.304 0 0 0-4.3-4.3zm-2.333 1.966a3.307 3.307 0 0 0-.868 1.53l.97.243a2.302 2.302 0 0 1 1.778-1.694 2.38 2.38 0 0 1 .667-.036l.094-.995a3.297 3.297 0 0 0-2.641.952zm.707 3.96l-.707.707a3.3 3.3 0 0 0 5.366-3.636l-.92.395a2.288 2.288 0 0 1-.487 2.534 2.356 2.356 0 0 1-3.252 0z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M4 2v12l4-4h6zm3.586 7L5 11.586V4.08L11.15 9z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M6 3v18l5-7h9zm4.485 10L7 17.88V5.058L17.108 13z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M8 3l.05 26 7.75-10H28zm7.312 15L9 26.092V5.082L25.15 18z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8 6.765a2.8 2.8 0 1 0-2.8-2.8 2.803 2.803 0 0 0 2.8 2.8zm0-4.667a1.867 1.867 0 1 1-1.867 1.867A1.869 1.869 0 0 1 8 2.098zm7.354 10.256L12.5 15.207l-2.854-2.853.707-.707L12 13.293V6h1v7.293l1.646-1.646zM9.079 14l1 1H3v-3.5A3.504 3.504 0 0 1 6.5 8h3a3.46 3.46 0 0 1 1.5.351V9H6.5A2.502 2.502 0 0 0 4 11.5V14z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.165a4.8 4.8 0 1 0 4.8 4.8 4.805 4.805 0 0 0-4.8-4.8zm0 8.6a3.8 3.8 0 1 1 3.8-3.8 3.804 3.804 0 0 1-3.8 3.8zm11.354 9.589L19.5 23.207l-3.854-3.854.707-.707L19 21.293V10h1v11.293l2.646-2.646zM15.064 22H4v-4.5A5.507 5.507 0 0 1 9.5 12h5a5.458 5.458 0 0 1 2.5.607V13H9.5A4.505 4.505 0 0 0 5 17.5V21h9.065z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 13.765a5.8 5.8 0 1 1 5.8-5.8 5.806 5.806 0 0 1-5.8 5.8zm0-10.6a4.8 4.8 0 1 0 4.8 4.8 4.805 4.805 0 0 0-4.8-4.8zm12.646 21.481L25 28.293V15h-1v13.293l-3.646-3.646-.707.707 4.853 4.853 4.854-4.854zM19 28H7v-6.5a5.507 5.507 0 0 1 5.5-5.5H22v-.499A6.462 6.462 0 0 0 19.5 15h-7a6.499 6.499 0 0 0-6.49 6.5L6 29h14z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8 6.8A2.8 2.8 0 1 1 10.8 4 2.803 2.803 0 0 1 8 6.8zm0-4.667A1.867 1.867 0 1 0 9.867 4 1.869 1.869 0 0 0 8 2.133zM6 14.5a1.988 1.988 0 0 1 .072-.5H4v-2.5A2.503 2.503 0 0 1 6.5 9h2.262a4.52 4.52 0 0 1 .922-.981C9.622 8.015 9.563 8 9.5 8h-3A3.504 3.504 0 0 0 3 11.5V15h3zm6.5-5.4a2.4 2.4 0 0 0-2.4 2.4 2.374 2.374 0 0 0 .104.662L8 14.5V16h2.3l2.018-2.118c.06.004.12.018.182.018a2.4 2.4 0 1 0 0-4.8zm0 3.9a1.482 1.482 0 0 1-.502-.093L9.986 15H9v-.103l2.33-2.47A1.485 1.485 0 0 1 11 11.5a1.5 1.5 0 1 1 1.5 1.5zm-.5-1h1v-1h-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.2A4.8 4.8 0 1 0 16.8 6 4.805 4.805 0 0 0 12 1.2zm0 8.6A3.8 3.8 0 1 1 15.8 6 3.804 3.804 0 0 1 12 9.8zM9 22H4l.01-4.5A5.498 5.498 0 0 1 9.5 12h4.312a5.968 5.968 0 0 0-.462 1H9.5A4.505 4.505 0 0 0 5 17.5V21h4zm10-10.9a3.9 3.9 0 0 0-3.9 3.9 3.86 3.86 0 0 0 .225 1.255L11 20.727V23h2.993l.023-.01L15 22v-1h1.005L17 20v-1h1.004l.186-.187A3.9 3.9 0 1 0 19 11.1zm0 6.9a2.973 2.973 0 0 1-1.223-.267l-.272.267H16v2h-2v1.674l-.408.326H12v-.906l4.419-4.591A2.965 2.965 0 0 1 16 15a3 3 0 1 1 3 3zm.5-5a1.5 1.5 0 1 0 1.5 1.5 1.5 1.5 0 0 0-1.5-1.5zm0 2a.5.5 0 1 1 .5-.5.501.501 0 0 1-.5.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 13.8A5.8 5.8 0 1 1 21.8 8a5.806 5.806 0 0 1-5.8 5.8zm0-10.6A4.8 4.8 0 1 0 20.8 8 4.805 4.805 0 0 0 16 3.2zM26.5 17a1.5 1.5 0 1 0 1.5 1.5 1.5 1.5 0 0 0-1.5-1.5zm0 2a.5.5 0 1 1 .5-.5.501.501 0 0 1-.5.5zM13 28H7v-6.5a5.507 5.507 0 0 1 5.5-5.5h6.167a7.525 7.525 0 0 1 .759-1H12.5a6.499 6.499 0 0 0-6.49 6.5L6 29h7zm12-13a5 5 0 0 0-5 5 4.947 4.947 0 0 0 .53 2.197L15 27.727V30h3.222l.022-.01.756-.756V28h1.233l.767-.767V26h1.232l1.258-1.258A4.944 4.944 0 0 0 25 25a5 5 0 0 0 0-10zm0 9a3.95 3.95 0 0 1-1.758-.425L21.818 25H20v1.82l-.18.18H18v1.82l-.18.18H16v-.86l5.784-5.784A3.964 3.964 0 0 1 21 20a4 4 0 1 1 4 4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8 6.8A2.8 2.8 0 1 1 10.8 4 2.803 2.803 0 0 1 8 6.8zm0-4.667A1.867 1.867 0 1 0 9.867 4 1.869 1.869 0 0 0 8 2.133zM9 14H4v-2.5A2.503 2.503 0 0 1 6.5 9h3a2.49 2.49 0 0 1 1.987 1h1.162A3.495 3.495 0 0 0 9.5 8h-3A3.504 3.504 0 0 0 3 11.5V15h6zm0-2v1h7v-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.2A4.8 4.8 0 1 0 16.8 6 4.805 4.805 0 0 0 12 1.2zm0 8.6A3.8 3.8 0 1 1 15.8 6 3.804 3.804 0 0 1 12 9.8zm1 10.199V19h9v.999zM4 22v-4.5A5.507 5.507 0 0 1 9.5 12h5a5.506 5.506 0 0 1 5.475 5h-1.026a4.49 4.49 0 0 0-4.449-4h-5A4.505 4.505 0 0 0 5 17.5V21h6v.999z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 13.8A5.8 5.8 0 1 1 21.8 8a5.806 5.806 0 0 1-5.8 5.8zm0-10.6A4.8 4.8 0 1 0 20.8 8 4.805 4.805 0 0 0 16 3.2zM25 27v1H7v-6.5a5.507 5.507 0 0 1 5.5-5.5h7a5.507 5.507 0 0 1 5.5 5.5v.5h1v-.5a6.508 6.508 0 0 0-6.5-6.5h-7a6.499 6.499 0 0 0-6.49 6.5L6 29h20v-2zm5-2.001V24H19v.999z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8 6.765a2.8 2.8 0 1 1 2.8-2.8 2.803 2.803 0 0 1-2.8 2.8zm0-4.667a1.867 1.867 0 1 0 1.866 1.867A1.869 1.869 0 0 0 8 2.098zM10 14H4v-2.5A2.503 2.503 0 0 1 6.5 9h1.014a2.467 2.467 0 0 1 .218-.268L8.465 8H6.5A3.504 3.504 0 0 0 3 11.5V15h7zm5.354-4.346L12.5 6.8 9.646 9.654l.707.707L12 8.714V16h1V8.714l1.646 1.647z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.165a4.8 4.8 0 1 0 4.8 4.8 4.805 4.805 0 0 0-4.8-4.8zm0 8.6a3.8 3.8 0 1 1 3.8-3.8 3.804 3.804 0 0 1-3.8 3.8zM17 22H4v-4.5A5.507 5.507 0 0 1 9.5 12H14l-.232.232a2.484 2.484 0 0 0-.518.768H9.5A4.505 4.505 0 0 0 5 17.5V21h12zm5.646-7.64L20 11.715V23h-1V11.714l-2.646 2.647-.707-.707L19.5 9.8l3.854 3.854z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 13.765a5.8 5.8 0 1 1 5.8-5.8 5.806 5.806 0 0 1-5.8 5.8zm0-10.6a4.8 4.8 0 1 0 4.8 4.8 4.805 4.805 0 0 0-4.8-4.8zM7 28v-6.5a5.507 5.507 0 0 1 5.5-5.5h7c.083 0 .163.009.245.012l.905-.904A6.49 6.49 0 0 0 19.5 15h-7a6.499 6.499 0 0 0-6.49 6.5L6 29h16v-1zm22.354-8.354L24.5 14.793l-4.854 4.854.707.707L24 16.707V30h1V16.707l3.646 3.646z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8.093 15H3v-3.5A3.504 3.504 0 0 1 6.5 8h3a3.46 3.46 0 0 1 .858.119 1.999 1.999 0 0 0-.993.538L9.022 9H6.5A2.503 2.503 0 0 0 4 11.5V14h4.5a1.977 1.977 0 0 0-.407 1zM10.8 4A2.8 2.8 0 1 0 8 6.8 2.803 2.803 0 0 0 10.8 4zm-.933 0A1.867 1.867 0 1 1 8 2.133 1.869 1.869 0 0 1 9.867 4zm6.061 6.879l-.707-.707L13 12.292l-2.221-2.22-.707.707L12.292 13l-2.22 2.221.707.707L13 13.708l2.221 2.22.707-.707L13.708 13z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 1.2A4.8 4.8 0 1 0 16.8 6 4.805 4.805 0 0 0 12 1.2zm0 8.6A3.8 3.8 0 1 1 15.8 6 3.804 3.804 0 0 1 12 9.8zM11.996 22H4v-4.5A5.507 5.507 0 0 1 9.5 12h5a5.499 5.499 0 0 1 4.562 2.43c-.05.041-.102.075-.147.12l-.597.597A4.488 4.488 0 0 0 14.5 13h-5A4.505 4.505 0 0 0 5 17.5V21h7.48a1.984 1.984 0 0 0-.484 1zm1.968.328l2.83-2.829-2.829-2.828.707-.707 2.828 2.829 2.828-2.829.707.708-2.828 2.828 2.829 2.828-.707.707-2.828-2.829-2.83 2.83z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 13.8A5.8 5.8 0 1 1 21.8 8a5.806 5.806 0 0 1-5.8 5.8zm0-10.6A4.8 4.8 0 1 0 20.8 8 4.805 4.805 0 0 0 16 3.2zM7 28v-6.5a5.507 5.507 0 0 1 5.5-5.5h7a5.488 5.488 0 0 1 5.263 3.995l.79-.79A6.488 6.488 0 0 0 19.5 15h-7a6.499 6.499 0 0 0-6.49 6.5L6 29h12a1.992 1.992 0 0 1-.255-1zm13.664 1.043l3.837-3.837 3.835 3.836.707-.706-3.836-3.836 3.836-3.836-.707-.707-3.836 3.836-3.836-3.836-.706.707 3.836 3.835-3.837 3.837z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M1.5 11a1.5 1.5 0 0 0 1.47-1.8l2.58-1.548a1.487 1.487 0 0 0 .45.256v5.184a1.5 1.5 0 1 0 1 0V7.908A1.495 1.495 0 0 0 7.908 7h2.184a1.494 1.494 0 0 0 1.38.997l1.108 3.326a1.495 1.495 0 1 0 .948-.32L12.42 7.677a1.478 1.478 0 0 0 .233-2.126L14.2 2.97A1.5 1.5 0 1 0 13 1.5a1.486 1.486 0 0 0 .347.95L11.8 5.03a1.492 1.492 0 0 0-1.707.97H7.908a1.497 1.497 0 0 0-2.878.8L2.45 8.347A1.497 1.497 0 1 0 1.5 11zM7 14.5v.5H6v-1h1zm7-2.5v1h-1v-1h1zm0-11h1v1h-1V1zm-2.783 5H12v1h-1V6zM6 6h1v1H6V6zM1 9.5V9h1v1H1zm2-8A1.5 1.5 0 1 0 1.5 3 1.5 1.5 0 0 0 3 1.5zm-1 0V2H1V1h1zM1 14h1v1H1zm1-1H1v-1h1zM1 6h1v1H1zm1-1H1V4h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5 9H4V8h1zm-1 2h1v-1H4zm0 8h1v-1H4zm0 2h1v-1H4zM2.734 2.734A2.497 2.497 0 1 1 2.002 4.5a2.49 2.49 0 0 1 .732-1.766zM3 4.5a1.502 1.502 0 1 0 .44-1.06A1.495 1.495 0 0 0 3 4.5zm19.266 12.234a2.543 2.543 0 1 1-2.926-.434l-.962-3.315A2.478 2.478 0 0 1 16.053 11H13.95A2.5 2.5 0 0 1 12 12.95v4.103a2.497 2.497 0 1 1-1 0V12.95a2.495 2.495 0 0 1-1.268-.682c-.037-.038-.066-.083-.101-.123l-2.768 1.581a2.46 2.46 0 1 1-.597-.992c.038.037.066.083.101.123l2.768-1.582A2.494 2.494 0 1 1 13.95 10h2.103A2.498 2.498 0 0 1 18.5 8.002a2.457 2.457 0 0 1 .295.03l.46-1.376A2.494 2.494 0 0 1 20.5 2a2.504 2.504 0 0 1 1.763 4.267 2.293 2.293 0 0 1-2.06.703l-.458 1.377a2.479 2.479 0 0 1-.37 4.484l.927 3.191c.066-.005.13-.02.198-.02a2.49 2.49 0 0 1 1.766.732zM20.5 6a1.502 1.502 0 1 0-1.06-.44A1.495 1.495 0 0 0 20.5 6zM5.56 13.44A1.498 1.498 0 1 0 6 14.5a1.496 1.496 0 0 0-.44-1.06zM11.5 18a1.502 1.502 0 1 0 1.06.44A1.496 1.496 0 0 0 11.5 18zm1.5-7.5a1.502 1.502 0 1 0-.44 1.06A1.495 1.495 0 0 0 13 10.5zm5.5 1.5a1.502 1.502 0 1 0-1.06-.44 1.495 1.495 0 0 0 1.06.44zm3.5 6.5a1.502 1.502 0 1 0-.44 1.06A1.495 1.495 0 0 0 22 18.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5.5 10a3.504 3.504 0 1 0-2.474-1.026A3.486 3.486 0 0 0 5.5 10zm0-6a2.502 2.502 0 1 1-1.767.733A2.492 2.492 0 0 1 5.5 4zm20 17c-.116 0-.225.023-.338.034l-.777-3.161a3.474 3.474 0 0 0 .632-6.513l.617-1.481a3.472 3.472 0 1 0-1.608-.905 3.515 3.515 0 0 0 .686.518l-.652 1.565A3.46 3.46 0 0 0 20.05 14h-2.1a3.49 3.49 0 1 0-6.507 2.17l-3.246 2.129c-.074-.091-.141-.19-.224-.273a3.499 3.499 0 1 0 .752 1.12l3.306-2.169A3.487 3.487 0 0 0 14 17.95v5.102a3.528 3.528 0 1 0 1 0V17.95A3.435 3.435 0 0 0 17.95 15h2.1a3.453 3.453 0 0 0 3.334 2.988l.804 3.271A3.48 3.48 0 1 0 25.5 21zm1-17a2.502 2.502 0 1 1-1.767.733A2.492 2.492 0 0 1 26.5 4zM8 20.5a2.502 2.502 0 1 1-.733-1.767A2.492 2.492 0 0 1 8 20.5zm13-6a2.502 2.502 0 1 1 .733 1.767A2.492 2.492 0 0 1 21 14.5zm-4 0a2.502 2.502 0 1 1-.733-1.767A2.492 2.492 0 0 1 17 14.5zM14.5 29a2.502 2.502 0 1 1 1.767-.733A2.492 2.492 0 0 1 14.5 29zm11-2a2.5 2.5 0 1 1 1.768-.732A2.492 2.492 0 0 1 25.5 27zM6 12H5v-1h1zm0 2H5v-1h1zm-1 1h1v1H5zm0 10h1v1H5zm0 2h1v1H5zm0 2h1v1H5z"
|
|
@@ -116,6 +116,18 @@
|
|
|
116
116
|
display: flex;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
:host([disabled]) {
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
cursor: default;
|
|
122
|
+
-webkit-user-select: none;
|
|
123
|
+
user-select: none;
|
|
124
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
125
|
+
}
|
|
119
126
|
:host([disabled]) .cancel-editing-button-wrapper {
|
|
120
127
|
border-color: var(--calcite-ui-border-2);
|
|
128
|
+
}
|
|
129
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
130
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
131
|
+
/* prevent opacity stacking */
|
|
132
|
+
opacity: 1;
|
|
121
133
|
}
|