@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
|
@@ -2,10 +2,11 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { ComboboxChildElement } from "../combobox/interfaces";
|
|
3
3
|
import { Scale } from "../interfaces";
|
|
4
4
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding nested `calcite-combobox-item`s.
|
|
7
8
|
*/
|
|
8
|
-
export declare class ComboboxItem implements ConditionalSlotComponent {
|
|
9
|
+
export declare class ComboboxItem implements ConditionalSlotComponent, InteractiveComponent {
|
|
9
10
|
/** When true, the item cannot be clicked and is visually muted. */
|
|
10
11
|
disabled: boolean;
|
|
11
12
|
/** Set this to true to pre-select an item. Toggles when an item is checked/unchecked. */
|
|
@@ -30,6 +31,7 @@ export declare class ComboboxItem implements ConditionalSlotComponent {
|
|
|
30
31
|
scale: Scale;
|
|
31
32
|
connectedCallback(): void;
|
|
32
33
|
disconnectedCallback(): void;
|
|
34
|
+
componentDidRender(): void;
|
|
33
35
|
/**
|
|
34
36
|
* Emitted whenever the item is selected or unselected.
|
|
35
37
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { DateLocaleData } from "../date-picker/utils";
|
|
3
3
|
import { Scale } from "../interfaces";
|
|
4
|
-
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
|
+
export declare class DatePickerDay implements InteractiveComponent {
|
|
5
6
|
el: HTMLCalciteDatePickerDayElement;
|
|
6
7
|
/** Day of the month to be shown. */
|
|
7
8
|
day: number;
|
|
@@ -42,4 +43,6 @@ export declare class DatePickerDay {
|
|
|
42
43
|
*/
|
|
43
44
|
calciteDayHover: EventEmitter;
|
|
44
45
|
render(): VNode;
|
|
46
|
+
componentDidRender(): void;
|
|
47
|
+
isTabbable(): boolean;
|
|
45
48
|
}
|
|
@@ -3,11 +3,12 @@ import { DropdownPlacement, ItemKeyboardEvent } from "./interfaces";
|
|
|
3
3
|
import { OverlayPositioning } from "../../utils/popper";
|
|
4
4
|
import { StrictModifiers } from "@popperjs/core";
|
|
5
5
|
import { Scale } from "../interfaces";
|
|
6
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
7
|
/**
|
|
7
8
|
* @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
|
|
8
9
|
* @slot dropdown-trigger - A slot for the element that triggers the dropdown.
|
|
9
10
|
*/
|
|
10
|
-
export declare class Dropdown {
|
|
11
|
+
export declare class Dropdown implements InteractiveComponent {
|
|
11
12
|
el: HTMLCalciteDropdownElement;
|
|
12
13
|
/** Opens or closes the dropdown */
|
|
13
14
|
active: boolean;
|
|
@@ -19,6 +20,7 @@ export declare class Dropdown {
|
|
|
19
20
|
disableCloseOnSelect: boolean;
|
|
20
21
|
/** is the dropdown disabled */
|
|
21
22
|
disabled: boolean;
|
|
23
|
+
handleDisabledChange(value: boolean): void;
|
|
22
24
|
/**
|
|
23
25
|
specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -
|
|
24
26
|
this value does not include groupTitles passed to calcite-dropdown-group
|
|
@@ -47,6 +49,7 @@ export declare class Dropdown {
|
|
|
47
49
|
width: Scale;
|
|
48
50
|
connectedCallback(): void;
|
|
49
51
|
componentDidLoad(): void;
|
|
52
|
+
componentDidRender(): void;
|
|
50
53
|
disconnectedCallback(): void;
|
|
51
54
|
render(): VNode;
|
|
52
55
|
/** Updates the position of the component. */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Appearance, Scale } from "../interfaces";
|
|
3
3
|
import { ButtonColor } from "../button/interfaces";
|
|
4
|
-
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
|
+
export declare class Fab implements InteractiveComponent {
|
|
5
6
|
/**
|
|
6
7
|
* Used to set the button's appearance. Default is outline.
|
|
7
8
|
*/
|
|
@@ -41,6 +42,7 @@ export declare class Fab {
|
|
|
41
42
|
textEnabled: boolean;
|
|
42
43
|
el: HTMLCalciteFabElement;
|
|
43
44
|
private buttonEl;
|
|
45
|
+
componentDidRender(): void;
|
|
44
46
|
/** Sets focus on the component. */
|
|
45
47
|
setFocus(): Promise<void>;
|
|
46
48
|
render(): VNode;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
3
3
|
import { Scale } from "../interfaces";
|
|
4
|
-
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
|
+
export declare class Filter implements InteractiveComponent {
|
|
5
6
|
/**
|
|
6
7
|
* The items to filter through. The filter uses this as the starting point, and returns items
|
|
7
8
|
* that contain the string entered in the input, using a partial match and recursive search.
|
|
@@ -37,14 +38,16 @@ export declare class Filter {
|
|
|
37
38
|
/**
|
|
38
39
|
* Filter value.
|
|
39
40
|
*/
|
|
40
|
-
value
|
|
41
|
+
value: string;
|
|
41
42
|
valueHandler(value: string): void;
|
|
42
43
|
el: HTMLCalciteFilterElement;
|
|
43
44
|
textInput: HTMLCalciteInputElement;
|
|
45
|
+
componentDidRender(): void;
|
|
44
46
|
/**
|
|
45
47
|
* This event fires when the filter text changes.
|
|
46
48
|
*/
|
|
47
49
|
calciteFilterChange: EventEmitter<void>;
|
|
50
|
+
componentWillLoad(): void;
|
|
48
51
|
/** Sets focus on the component. */
|
|
49
52
|
setFocus(): Promise<void>;
|
|
50
53
|
filter: import("lodash").DebouncedFunc<(value: string) => void>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
4
5
|
/**
|
|
5
6
|
* @slot - A slot for adding a `calcite-input`.
|
|
6
7
|
*/
|
|
7
|
-
export declare class InlineEditable implements LabelableComponent {
|
|
8
|
+
export declare class InlineEditable implements InteractiveComponent, LabelableComponent {
|
|
8
9
|
el: HTMLCalciteInlineEditableElement;
|
|
9
10
|
/** specify whether editing can be enabled */
|
|
10
11
|
disabled: boolean;
|
|
@@ -34,6 +35,7 @@ export declare class InlineEditable implements LabelableComponent {
|
|
|
34
35
|
afterConfirm?: () => Promise<void>;
|
|
35
36
|
connectedCallback(): void;
|
|
36
37
|
disconnectedCallback(): void;
|
|
38
|
+
componentDidRender(): void;
|
|
37
39
|
render(): VNode;
|
|
38
40
|
/**
|
|
39
41
|
* Emitted when the cancel button gets clicked.
|
|
@@ -53,6 +55,7 @@ export declare class InlineEditable implements LabelableComponent {
|
|
|
53
55
|
private shouldEmitCancel;
|
|
54
56
|
private enableEditingButton;
|
|
55
57
|
private cancelEditingButton;
|
|
58
|
+
private confirmEditingButton;
|
|
56
59
|
labelEl: HTMLCalciteLabelElement;
|
|
57
60
|
mutationObserver: MutationObserver;
|
|
58
61
|
setFocus(): Promise<void>;
|
|
@@ -4,11 +4,12 @@ import { InputPlacement } from "./interfaces";
|
|
|
4
4
|
import { Position } from "../interfaces";
|
|
5
5
|
import { LabelableComponent } from "../../utils/label";
|
|
6
6
|
import { FormComponent } from "../../utils/form";
|
|
7
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
7
8
|
declare type NumberNudgeDirection = "up" | "down";
|
|
8
9
|
/**
|
|
9
10
|
* @slot action - A slot for positioning a button next to an input
|
|
10
11
|
*/
|
|
11
|
-
export declare class Input implements LabelableComponent, FormComponent {
|
|
12
|
+
export declare class Input implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
12
13
|
el: HTMLCalciteInputElement;
|
|
13
14
|
/** specify the alignment of the value of the input */
|
|
14
15
|
alignment: Position;
|
|
@@ -123,6 +124,7 @@ export declare class Input implements LabelableComponent, FormComponent {
|
|
|
123
124
|
disconnectedCallback(): void;
|
|
124
125
|
componentWillLoad(): void;
|
|
125
126
|
componentShouldUpdate(newValue: string, oldValue: string, property: string): boolean;
|
|
127
|
+
componentDidRender(): void;
|
|
126
128
|
/**
|
|
127
129
|
* @internal
|
|
128
130
|
*/
|
|
@@ -5,12 +5,14 @@ import { FormComponent } from "../../utils/form";
|
|
|
5
5
|
import { OverlayPositioning } from "../../utils/popper";
|
|
6
6
|
import { StrictModifiers } from "@popperjs/core";
|
|
7
7
|
import { DateRangeChange } from "../date-picker/interfaces";
|
|
8
|
-
|
|
8
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
9
|
+
export declare class InputDatePicker implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
9
10
|
el: HTMLCalciteInputDatePickerElement;
|
|
10
11
|
/**
|
|
11
12
|
* When false, the component won't be interactive.
|
|
12
13
|
*/
|
|
13
14
|
disabled: boolean;
|
|
15
|
+
handleDisabledChange(value: boolean): void;
|
|
14
16
|
/** Selected date */
|
|
15
17
|
value: string | string[];
|
|
16
18
|
valueHandler(value: string | string[]): void;
|
|
@@ -121,6 +123,7 @@ export declare class InputDatePicker implements LabelableComponent, FormComponen
|
|
|
121
123
|
connectedCallback(): void;
|
|
122
124
|
componentWillLoad(): Promise<void>;
|
|
123
125
|
disconnectedCallback(): void;
|
|
126
|
+
componentDidRender(): void;
|
|
124
127
|
render(): VNode;
|
|
125
128
|
labelEl: HTMLCalciteLabelElement;
|
|
126
129
|
formEl: HTMLFormElement;
|
|
@@ -2,12 +2,15 @@ import { VNode, EventEmitter } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { FormComponent } from "../../utils/form";
|
|
5
|
-
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
|
+
export declare class InputTimePicker implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
6
7
|
el: HTMLCalciteInputTimePickerElement;
|
|
7
8
|
/** The active state of the time input */
|
|
8
9
|
active: boolean;
|
|
10
|
+
activeHandler(): void;
|
|
9
11
|
/** The disabled state of the time input */
|
|
10
12
|
disabled: boolean;
|
|
13
|
+
handleDisabledChange(value: boolean): void;
|
|
11
14
|
/** aria-label for the hour input */
|
|
12
15
|
intlHour?: string;
|
|
13
16
|
/** aria-label for the hour down button */
|
|
@@ -86,5 +89,6 @@ export declare class InputTimePicker implements LabelableComponent, FormComponen
|
|
|
86
89
|
connectedCallback(): void;
|
|
87
90
|
componentDidLoad(): void;
|
|
88
91
|
disconnectedCallback(): void;
|
|
92
|
+
componentDidRender(): void;
|
|
89
93
|
render(): VNode;
|
|
90
94
|
}
|
|
@@ -20,7 +20,11 @@ export declare class Label {
|
|
|
20
20
|
layout: "inline" | "inline-space-between" | "default";
|
|
21
21
|
/** eliminates any space around the label */
|
|
22
22
|
disableSpacing: boolean;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* is the label disabled
|
|
25
|
+
*
|
|
26
|
+
* @deprecated use the `disabled` property on the interactive components instead
|
|
27
|
+
*/
|
|
24
28
|
disabled: boolean;
|
|
25
29
|
/**
|
|
26
30
|
* @internal
|
|
@@ -29,5 +33,7 @@ export declare class Label {
|
|
|
29
33
|
sourceEvent: MouseEvent;
|
|
30
34
|
}>;
|
|
31
35
|
labelClickHandler: (event: MouseEvent) => void;
|
|
36
|
+
connectedCallback(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
32
38
|
render(): VNode;
|
|
33
39
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { FlipContext } from "../interfaces";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/** Any attributes placed on <calcite-link> component will propagate to the rendered child */
|
|
4
5
|
/** Passing a 'href' will render an anchor link, instead of a span. Role will be set to link, or link, depending on this. */
|
|
5
6
|
/** It is the consumers responsibility to add aria information, rel, target, for links, and any link attributes for form submission */
|
|
6
7
|
/** @slot - A slot for adding text. */
|
|
7
|
-
export declare class Link {
|
|
8
|
+
export declare class Link implements InteractiveComponent {
|
|
8
9
|
el: HTMLCalciteLinkElement;
|
|
9
10
|
/** is the link disabled */
|
|
10
11
|
disabled: boolean;
|
|
@@ -25,6 +26,7 @@ export declare class Link {
|
|
|
25
26
|
rel?: string;
|
|
26
27
|
/** The target attribute to apply to the hyperlink */
|
|
27
28
|
target?: string;
|
|
29
|
+
componentDidRender(): void;
|
|
28
30
|
render(): VNode;
|
|
29
31
|
/** Sets focus on the component. */
|
|
30
32
|
setFocus(): Promise<void>;
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { HeadingLevel } from "../functional/Heading";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* A general purpose list that enables users to construct list items that conform to Calcite styling.
|
|
5
6
|
* @slot - A slot for adding `calcite-list-item` elements.
|
|
6
7
|
*/
|
|
7
|
-
export declare class List {
|
|
8
|
+
export declare class List implements InteractiveComponent {
|
|
9
|
+
/**
|
|
10
|
+
* When true, disabled prevents user interaction.
|
|
11
|
+
*/
|
|
12
|
+
disabled: boolean;
|
|
8
13
|
/**
|
|
9
14
|
* Number at which section headings should start for this component.
|
|
10
15
|
*/
|
|
11
16
|
headingLevel: HeadingLevel;
|
|
17
|
+
componentDidRender(): void;
|
|
12
18
|
el: HTMLCalciteListElement;
|
|
13
19
|
/** Sets focus on the component. */
|
|
14
20
|
setFocus(): Promise<void>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
|
|
5
6
|
* @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the list item.
|
|
@@ -7,7 +8,7 @@ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
|
7
8
|
* @slot content-end - A slot for adding non-actionable elements after the label and description of the list item.
|
|
8
9
|
* @slot actions-end - A slot for adding actionable `calcite-action` elements after the content of the list item.
|
|
9
10
|
*/
|
|
10
|
-
export declare class ListItem implements ConditionalSlotComponent {
|
|
11
|
+
export declare class ListItem implements ConditionalSlotComponent, InteractiveComponent {
|
|
11
12
|
/**
|
|
12
13
|
* When true, prevents the content of the list item from user interaction.
|
|
13
14
|
*/
|
|
@@ -26,6 +27,7 @@ export declare class ListItem implements ConditionalSlotComponent {
|
|
|
26
27
|
label: string;
|
|
27
28
|
el: HTMLCalciteListItemElement;
|
|
28
29
|
focusEl: HTMLButtonElement;
|
|
30
|
+
componentDidRender(): void;
|
|
29
31
|
connectedCallback(): void;
|
|
30
32
|
disconnectedCallback(): void;
|
|
31
33
|
/** Sets focus on the component. */
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { HeadingLevel } from "../functional/Heading";
|
|
4
4
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding custom content.
|
|
7
8
|
* @slot header-actions-start - A slot for adding actions or content to the start side of the panel header.
|
|
@@ -12,7 +13,7 @@ import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
|
12
13
|
* @slot footer-actions - A slot for adding buttons to the footer.
|
|
13
14
|
* @slot footer - A slot for adding custom content to the footer.
|
|
14
15
|
*/
|
|
15
|
-
export declare class Panel implements ConditionalSlotComponent {
|
|
16
|
+
export declare class Panel implements ConditionalSlotComponent, InteractiveComponent {
|
|
16
17
|
/**
|
|
17
18
|
* Hides the panel.
|
|
18
19
|
*/
|
|
@@ -74,6 +75,7 @@ export declare class Panel implements ConditionalSlotComponent {
|
|
|
74
75
|
* Opens the action menu.
|
|
75
76
|
*/
|
|
76
77
|
menuOpen: boolean;
|
|
78
|
+
componentDidRender(): void;
|
|
77
79
|
el: HTMLCalcitePanelElement;
|
|
78
80
|
backButtonEl: HTMLCalciteActionElement;
|
|
79
81
|
dismissButtonEl: HTMLCalciteActionElement;
|
|
@@ -2,11 +2,12 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { ICON_TYPES } from "./resources";
|
|
3
3
|
import { ListFocusId, ItemData } from "./shared-list-logic";
|
|
4
4
|
import { HeadingLevel } from "../functional/Heading";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding `calcite-pick-list-item` elements or `calcite-pick-list-group` elements. Items are displayed as a vertical list.
|
|
7
8
|
* @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
|
|
8
9
|
*/
|
|
9
|
-
export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement = HTMLCalcitePickListItemElement> {
|
|
10
|
+
export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement = HTMLCalcitePickListItemElement> implements InteractiveComponent {
|
|
10
11
|
/**
|
|
11
12
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
12
13
|
*/
|
|
@@ -48,6 +49,7 @@ export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement
|
|
|
48
49
|
filterEl: HTMLCalciteFilterElement;
|
|
49
50
|
connectedCallback(): void;
|
|
50
51
|
disconnectedCallback(): void;
|
|
52
|
+
componentDidRender(): void;
|
|
51
53
|
/**
|
|
52
54
|
* Emitted when any of the item selections have changed.
|
|
53
55
|
*/
|
|
@@ -12,6 +12,7 @@ export declare function calciteListItemChangeHandler<T extends Lists>(this: List
|
|
|
12
12
|
export declare function calciteListItemValueChangeHandler<T extends Lists>(this: List<T>, event: CustomEvent): void;
|
|
13
13
|
export declare function calciteListFocusOutHandler<T extends Lists>(this: List<T>, event: FocusEvent): void;
|
|
14
14
|
export declare function keyDownHandler<T extends Lists>(this: List<T>, event: KeyboardEvent): void;
|
|
15
|
+
export declare function moveItemIndex<T extends Lists>(list: List<T>, item: ListItemElement<T>, direction: "up" | "down"): number;
|
|
15
16
|
export declare function internalCalciteListChangeEvent<T extends Lists>(this: List<T>): void;
|
|
16
17
|
export declare function removeItem<T extends Lists, U extends ListItemElement<T>>(this: List<T>, event: CustomEvent): void;
|
|
17
18
|
export declare function setFocus<T extends Lists>(this: List<T>, focusId: ListFocusId): Promise<void>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { ICON_TYPES } from "../pick-list/resources";
|
|
3
3
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
4
5
|
/**
|
|
5
6
|
* @slot actions-end - a slot for adding actions or content to the end side of the item.
|
|
6
7
|
* @slot actions-start - a slot for adding actions or content to the start side of the item.
|
|
7
8
|
*/
|
|
8
|
-
export declare class PickListItem implements ConditionalSlotComponent {
|
|
9
|
+
export declare class PickListItem implements ConditionalSlotComponent, InteractiveComponent {
|
|
9
10
|
/**
|
|
10
11
|
* An optional description for this item. This will appear below the label text.
|
|
11
12
|
*/
|
|
@@ -14,7 +15,7 @@ export declare class PickListItem implements ConditionalSlotComponent {
|
|
|
14
15
|
/**
|
|
15
16
|
* When true, the item cannot be clicked and is visually muted.
|
|
16
17
|
*/
|
|
17
|
-
disabled
|
|
18
|
+
disabled: boolean;
|
|
18
19
|
/**
|
|
19
20
|
* When false, the item cannot be deselected by user interaction.
|
|
20
21
|
*/
|
|
@@ -62,6 +63,7 @@ export declare class PickListItem implements ConditionalSlotComponent {
|
|
|
62
63
|
shiftPressed: boolean;
|
|
63
64
|
connectedCallback(): void;
|
|
64
65
|
disconnectedCallback(): void;
|
|
66
|
+
componentDidRender(): void;
|
|
65
67
|
/**
|
|
66
68
|
* Emitted whenever the item is selected or unselected.
|
|
67
69
|
*/
|
|
@@ -2,7 +2,8 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { CheckableFormCompoment } from "../../utils/form";
|
|
5
|
-
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
|
+
export declare class RadioButton implements LabelableComponent, CheckableFormCompoment, InteractiveComponent {
|
|
6
7
|
el: HTMLCalciteRadioButtonElement;
|
|
7
8
|
/** The checked state of the radio button. */
|
|
8
9
|
checked: boolean;
|
|
@@ -88,5 +89,6 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
|
|
|
88
89
|
connectedCallback(): void;
|
|
89
90
|
componentDidLoad(): void;
|
|
90
91
|
disconnectedCallback(): void;
|
|
92
|
+
componentDidRender(): void;
|
|
91
93
|
render(): VNode;
|
|
92
94
|
}
|
|
@@ -3,10 +3,11 @@ import { Layout, Scale, Width } from "../interfaces";
|
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { FormComponent } from "../../utils/form";
|
|
5
5
|
import { RadioAppearance } from "./interfaces";
|
|
6
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
7
|
/**
|
|
7
8
|
* @slot - A slot for adding `calcite-radio-group-item`s.
|
|
8
9
|
*/
|
|
9
|
-
export declare class RadioGroup implements LabelableComponent, FormComponent {
|
|
10
|
+
export declare class RadioGroup implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
10
11
|
el: HTMLCalciteRadioGroupElement;
|
|
11
12
|
/** specify the appearance style of the radio group, defaults to solid. */
|
|
12
13
|
appearance: RadioAppearance;
|
|
@@ -39,6 +40,7 @@ export declare class RadioGroup implements LabelableComponent, FormComponent {
|
|
|
39
40
|
componentWillLoad(): void;
|
|
40
41
|
connectedCallback(): void;
|
|
41
42
|
disconnectedCallback(): void;
|
|
43
|
+
componentDidRender(): void;
|
|
42
44
|
render(): VNode;
|
|
43
45
|
protected handleClick: (event: MouseEvent) => void;
|
|
44
46
|
protected handleSelected(event: Event): void;
|
|
@@ -2,7 +2,8 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { FormComponent } from "../../utils/form";
|
|
5
|
-
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
|
+
export declare class Rating implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
6
7
|
el: HTMLCalciteRatingElement;
|
|
7
8
|
/** specify the scale of the component, defaults to m */
|
|
8
9
|
scale: Scale;
|
|
@@ -36,6 +37,7 @@ export declare class Rating implements LabelableComponent, FormComponent {
|
|
|
36
37
|
required: boolean;
|
|
37
38
|
connectedCallback(): void;
|
|
38
39
|
disconnectedCallback(): void;
|
|
40
|
+
componentDidRender(): void;
|
|
39
41
|
/**
|
|
40
42
|
* Fires when the rating value has changed.
|
|
41
43
|
*/
|
|
@@ -2,10 +2,11 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale, Width } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { FormComponent } from "../../utils/form";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding `calcite-option`s.
|
|
7
8
|
*/
|
|
8
|
-
export declare class Select implements LabelableComponent, FormComponent {
|
|
9
|
+
export declare class Select implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
9
10
|
/**
|
|
10
11
|
* When true, it prevents the option from being selected.
|
|
11
12
|
*/
|
|
@@ -53,6 +54,7 @@ export declare class Select implements LabelableComponent, FormComponent {
|
|
|
53
54
|
connectedCallback(): void;
|
|
54
55
|
disconnectedCallback(): void;
|
|
55
56
|
componentDidLoad(): void;
|
|
57
|
+
componentDidRender(): void;
|
|
56
58
|
/** Sets focus on the component. */
|
|
57
59
|
setFocus(): Promise<void>;
|
|
58
60
|
/**
|
|
@@ -3,7 +3,8 @@ import { ColorStop, DataSeries } from "../graph/interfaces";
|
|
|
3
3
|
import { Scale } from "../interfaces";
|
|
4
4
|
import { LabelableComponent } from "../../utils/label";
|
|
5
5
|
import { FormComponent } from "../../utils/form";
|
|
6
|
-
|
|
6
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
7
|
+
export declare class Slider implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
7
8
|
el: HTMLCalciteSliderElement;
|
|
8
9
|
/** Disable and gray out the slider */
|
|
9
10
|
disabled: boolean;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import Sortable from "sortablejs";
|
|
2
2
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
3
3
|
import { Layout } from "../interfaces";
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
4
5
|
/**
|
|
5
6
|
* @slot - A slot for adding sortable items.
|
|
6
7
|
*/
|
|
7
|
-
export declare class SortableList {
|
|
8
|
+
export declare class SortableList implements InteractiveComponent {
|
|
8
9
|
/**
|
|
9
10
|
* Specifies which items inside the element should be draggable.
|
|
10
11
|
*/
|
|
@@ -38,6 +39,7 @@ export declare class SortableList {
|
|
|
38
39
|
sortable: Sortable;
|
|
39
40
|
connectedCallback(): void;
|
|
40
41
|
disconnectedCallback(): void;
|
|
42
|
+
componentDidRender(): void;
|
|
41
43
|
/**
|
|
42
44
|
* Emitted when the order of the list has changed.
|
|
43
45
|
*/
|
|
@@ -2,10 +2,11 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { ButtonAppearance, ButtonColor, DropdownIconType } from "../button/interfaces";
|
|
3
3
|
import { FlipContext, Scale, Width } from "../interfaces";
|
|
4
4
|
import { OverlayPositioning } from "../../utils/popper";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
7
8
|
*/
|
|
8
|
-
export declare class SplitButton {
|
|
9
|
+
export declare class SplitButton implements InteractiveComponent {
|
|
9
10
|
el: HTMLCalciteSplitButtonElement;
|
|
10
11
|
/** specify the appearance style of the button, defaults to solid. */
|
|
11
12
|
appearance: ButtonAppearance;
|
|
@@ -13,11 +14,13 @@ export declare class SplitButton {
|
|
|
13
14
|
color: ButtonColor;
|
|
14
15
|
/** is the control disabled */
|
|
15
16
|
disabled: boolean;
|
|
17
|
+
handleDisabledChange(value: boolean): void;
|
|
16
18
|
/**
|
|
17
19
|
* Is the dropdown currently active or not
|
|
18
20
|
* @internal
|
|
19
21
|
*/
|
|
20
22
|
active: boolean;
|
|
23
|
+
activeHandler(): void;
|
|
21
24
|
/** specify the icon used for the dropdown menu, defaults to chevron */
|
|
22
25
|
dropdownIconType: DropdownIconType;
|
|
23
26
|
/** aria label for overflow button */
|
|
@@ -45,6 +48,7 @@ export declare class SplitButton {
|
|
|
45
48
|
calciteSplitButtonPrimaryClick: EventEmitter;
|
|
46
49
|
/** fired when the secondary button is clicked */
|
|
47
50
|
calciteSplitButtonSecondaryClick: EventEmitter;
|
|
51
|
+
componentDidRender(): void;
|
|
48
52
|
render(): VNode;
|
|
49
53
|
private calciteSplitButtonPrimaryClickHandler;
|
|
50
54
|
private calciteSplitButtonSecondaryClickHandler;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding custom content.
|
|
5
6
|
*/
|
|
6
|
-
export declare class StepperItem {
|
|
7
|
+
export declare class StepperItem implements InteractiveComponent {
|
|
7
8
|
el: HTMLCalciteStepperItemElement;
|
|
8
9
|
/** is the step active */
|
|
9
10
|
active: boolean;
|
|
@@ -45,6 +46,7 @@ export declare class StepperItem {
|
|
|
45
46
|
componentWillLoad(): void;
|
|
46
47
|
componentDidLoad(): void;
|
|
47
48
|
componentDidUpdate(): void;
|
|
49
|
+
componentDidRender(): void;
|
|
48
50
|
render(): VNode;
|
|
49
51
|
keyDownHandler(e: KeyboardEvent): void;
|
|
50
52
|
updateActiveItemOnChange(event: CustomEvent): void;
|
|
@@ -2,11 +2,11 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { LabelableComponent } from "../../utils/label";
|
|
4
4
|
import { CheckableFormCompoment } from "../../utils/form";
|
|
5
|
-
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
|
+
export declare class Switch implements LabelableComponent, CheckableFormCompoment, InteractiveComponent {
|
|
6
7
|
el: HTMLCalciteSwitchElement;
|
|
7
8
|
/** True if the switch is disabled */
|
|
8
9
|
disabled: boolean;
|
|
9
|
-
disabledWatcher(newDisabled: boolean): void;
|
|
10
10
|
/** Applies to the aria-label attribute on the switch */
|
|
11
11
|
label?: string;
|
|
12
12
|
/** The name of the switch input */
|
|
@@ -27,7 +27,6 @@ export declare class Switch implements LabelableComponent, CheckableFormCompomen
|
|
|
27
27
|
formEl: HTMLFormElement;
|
|
28
28
|
defaultValue: Switch["checked"];
|
|
29
29
|
defaultChecked: boolean;
|
|
30
|
-
tabindex: number;
|
|
31
30
|
/** Sets focus on the component. */
|
|
32
31
|
setFocus(): Promise<void>;
|
|
33
32
|
keyDownHandler: (e: KeyboardEvent) => void;
|
|
@@ -41,6 +40,6 @@ export declare class Switch implements LabelableComponent, CheckableFormCompomen
|
|
|
41
40
|
calciteSwitchChange: EventEmitter;
|
|
42
41
|
connectedCallback(): void;
|
|
43
42
|
disconnectedCallback(): void;
|
|
44
|
-
|
|
43
|
+
componentDidRender(): void;
|
|
45
44
|
render(): VNode;
|
|
46
45
|
}
|
|
@@ -2,10 +2,11 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { TabChangeEventDetail } from "../tab/interfaces";
|
|
3
3
|
import { TabID, TabLayout, TabPosition } from "../tabs/interfaces";
|
|
4
4
|
import { FlipContext, Scale } from "../interfaces";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding text.
|
|
7
8
|
*/
|
|
8
|
-
export declare class TabTitle {
|
|
9
|
+
export declare class TabTitle implements InteractiveComponent {
|
|
9
10
|
el: HTMLCalciteTabTitleElement;
|
|
10
11
|
/** Show this tab title as selected */
|
|
11
12
|
active: boolean;
|
|
@@ -37,6 +38,7 @@ export declare class TabTitle {
|
|
|
37
38
|
componentWillRender(): void;
|
|
38
39
|
render(): VNode;
|
|
39
40
|
componentDidLoad(): Promise<void>;
|
|
41
|
+
componentDidRender(): void;
|
|
40
42
|
tabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
|
|
41
43
|
onClick(): void;
|
|
42
44
|
keyDownHandler(e: KeyboardEvent): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* @slot content-start - A slot for adding non-actionable elements before the tile content.
|
|
5
6
|
* @slot content-end - A slot for adding non-actionable elements after the tile content.
|
|
6
7
|
*/
|
|
7
|
-
export declare class Tile implements ConditionalSlotComponent {
|
|
8
|
+
export declare class Tile implements ConditionalSlotComponent, InteractiveComponent {
|
|
8
9
|
el: HTMLCalciteTileElement;
|
|
9
10
|
/** The active state of the tile. */
|
|
10
11
|
active: boolean;
|
|
@@ -31,6 +32,7 @@ export declare class Tile implements ConditionalSlotComponent {
|
|
|
31
32
|
icon?: string;
|
|
32
33
|
connectedCallback(): void;
|
|
33
34
|
disconnectedCallback(): void;
|
|
35
|
+
componentDidRender(): void;
|
|
34
36
|
renderTile(): VNode;
|
|
35
37
|
render(): VNode;
|
|
36
38
|
}
|