@esri/calcite-components 1.0.0-next.414 → 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/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-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-fda8b94b.entry.js → p-9b514f77.entry.js} +1 -1
- 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-bcd705be.system.entry.js → p-c908ce40.system.entry.js} +1 -1
- 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-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 +5 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -2
- 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 +12 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +10 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -2
- package/dist/cjs/calcite-input.cjs.entry.js +5 -1
- package/dist/cjs/calcite-label.cjs.entry.js +6 -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 +5 -1
- 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 +5 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +6 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -4
- 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 +5 -8
- 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/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 +11 -3
- 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 +9 -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/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 +18 -21
- package/dist/components/input.js +5 -1
- package/dist/components/interactive.js +42 -0
- package/dist/components/label2.js +6 -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 +380 -99
- 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 +5 -1
- package/dist/esm/calcite-checkbox.entry.js +5 -1
- package/dist/esm/calcite-color-picker_3.entry.js +15 -2
- package/dist/esm/calcite-combobox_3.entry.js +17 -2
- 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 +12 -3
- package/dist/esm/calcite-graph_2.entry.js +3 -1
- package/dist/esm/calcite-inline-editable.entry.js +10 -8
- package/dist/esm/calcite-input-date-picker.entry.js +20 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +18 -2
- package/dist/esm/calcite-input.entry.js +5 -1
- package/dist/esm/calcite-label.entry.js +6 -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 +5 -1
- 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 +5 -1
- package/dist/esm/calcite-radio-group_2.entry.js +6 -2
- package/dist/esm/calcite-rating.entry.js +10 -4
- 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 +5 -8
- 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/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/loader.js +1 -1
- package/dist/esm-es5/resources-77c12cea.js +5 -0
- package/dist/extras/docs-json.json +68 -22
- 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 +3 -1
- 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 +5 -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 +28 -2
- package/dist/types/utils/interactive.d.ts +28 -0
- package/hydrate/index.js +383 -100
- package/package.json +1 -1
- package/dist/calcite/p-02cc50b9.entry.js +0 -5
- package/dist/calcite/p-0aee798e.entry.js +0 -5
- package/dist/calcite/p-0d09d73b.system.entry.js +0 -5
- package/dist/calcite/p-11413626.system.entry.js +0 -5
- package/dist/calcite/p-125c9edc.entry.js +0 -5
- package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
- package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
- package/dist/calcite/p-1c1ad353.system.entry.js +0 -5
- package/dist/calcite/p-236b8f2e.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-38c5a816.system.entry.js +0 -5
- package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
- package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
- package/dist/calcite/p-5079ec88.entry.js +0 -5
- package/dist/calcite/p-514f6d94.system.entry.js +0 -5
- package/dist/calcite/p-563bce5c.entry.js +0 -5
- package/dist/calcite/p-57186636.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-640a1577.system.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-74b8f15f.entry.js +0 -5
- package/dist/calcite/p-77564c0d.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-8046175f.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-82c142d8.entry.js +0 -5
- package/dist/calcite/p-8683663f.entry.js +0 -5
- package/dist/calcite/p-8c59090d.entry.js +0 -5
- package/dist/calcite/p-91b23d79.system.entry.js +0 -5
- package/dist/calcite/p-949a2fcd.entry.js +0 -5
- package/dist/calcite/p-99da584e.system.entry.js +0 -5
- package/dist/calcite/p-9d102b23.system.entry.js +0 -5
- package/dist/calcite/p-a0ffad45.entry.js +0 -5
- package/dist/calcite/p-a6686c30.system.entry.js +0 -5
- package/dist/calcite/p-ad7fbabd.entry.js +0 -5
- package/dist/calcite/p-adfa48bc.entry.js +0 -5
- package/dist/calcite/p-b03b03d5.entry.js +0 -5
- package/dist/calcite/p-b88fa028.system.entry.js +0 -5
- package/dist/calcite/p-b8ce64ec.entry.js +0 -5
- package/dist/calcite/p-badc48d2.entry.js +0 -5
- package/dist/calcite/p-bfaed65e.entry.js +0 -5
- package/dist/calcite/p-c1018bb4.system.entry.js +0 -5
- package/dist/calcite/p-cfe2e6ee.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-dcf17450.system.entry.js +0 -5
- package/dist/calcite/p-de562f92.system.js +0 -5
- package/dist/calcite/p-e9460f3c.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-f542ba26.entry.js +0 -5
- package/dist/calcite/p-f9d1a58e.entry.js +0 -5
- package/dist/calcite/p-fbbf933d.system.entry.js +0 -5
- package/dist/calcite/p-fc11382c.system.entry.js +0 -5
- package/dist/esm-es5/resources-999109fa.js +0 -5
|
@@ -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
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Alignment, Width } from "../interfaces";
|
|
3
3
|
import { TileSelectType } from "./interfaces";
|
|
4
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
4
5
|
/**
|
|
5
6
|
* @slot - A slot for adding custom content.
|
|
6
7
|
*/
|
|
7
|
-
export declare class TileSelect {
|
|
8
|
+
export declare class TileSelect implements InteractiveComponent {
|
|
8
9
|
el: HTMLCalciteTileSelectElement;
|
|
9
10
|
/** The checked state of the tile select. */
|
|
10
11
|
checked: boolean;
|
|
@@ -52,6 +53,7 @@ export declare class TileSelect {
|
|
|
52
53
|
mouseleave(): void;
|
|
53
54
|
connectedCallback(): void;
|
|
54
55
|
disconnectedCallback(): void;
|
|
56
|
+
componentDidRender(): void;
|
|
55
57
|
private renderInput;
|
|
56
58
|
render(): VNode;
|
|
57
59
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { TileSelectGroupLayout } from "./interfaces";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding `calcite-tile-select`s.
|
|
5
6
|
*/
|
|
6
|
-
export declare class TileSelectGroup {
|
|
7
|
+
export declare class TileSelectGroup implements InteractiveComponent {
|
|
8
|
+
el: HTMLCalciteTileSelectGroupElement;
|
|
9
|
+
/** The disabled state of the tile select. */
|
|
10
|
+
disabled: boolean;
|
|
7
11
|
/** Tiles by default move horizontally, stacking with each row, vertical allows single-column layouts */
|
|
8
12
|
layout?: TileSelectGroupLayout;
|
|
13
|
+
componentDidRender(): void;
|
|
9
14
|
render(): VNode;
|
|
10
15
|
}
|
|
@@ -2,11 +2,12 @@ import Sortable from "sortablejs";
|
|
|
2
2
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
3
3
|
import { ICON_TYPES } from "./resources";
|
|
4
4
|
import { ListFocusId, ItemData } from "../pick-list/shared-list-logic";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding `calcite-value-list-item` 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 ValueList<ItemElement extends HTMLCalciteValueListItemElement = HTMLCalciteValueListItemElement> {
|
|
10
|
+
export declare class ValueList<ItemElement extends HTMLCalciteValueListItemElement = HTMLCalciteValueListItemElement> implements InteractiveComponent {
|
|
10
11
|
/**
|
|
11
12
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
12
13
|
*/
|
|
@@ -55,6 +56,7 @@ export declare class ValueList<ItemElement extends HTMLCalciteValueListItemEleme
|
|
|
55
56
|
filterEl: HTMLCalciteFilterElement;
|
|
56
57
|
connectedCallback(): void;
|
|
57
58
|
componentDidLoad(): void;
|
|
59
|
+
componentDidRender(): void;
|
|
58
60
|
disconnectedCallback(): void;
|
|
59
61
|
/**
|
|
60
62
|
* Emitted when any of the item selections have changed.
|
|
@@ -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 ValueListItem implements ConditionalSlotComponent {
|
|
9
|
+
export declare class ValueListItem implements ConditionalSlotComponent, InteractiveComponent {
|
|
9
10
|
/**
|
|
10
11
|
* An optional description for this item. Will appear below the label text.
|
|
11
12
|
*/
|
|
@@ -13,7 +14,7 @@ export declare class ValueListItem implements ConditionalSlotComponent {
|
|
|
13
14
|
/**
|
|
14
15
|
* When true, the item cannot be clicked and is visually muted
|
|
15
16
|
*/
|
|
16
|
-
disabled
|
|
17
|
+
disabled: boolean;
|
|
17
18
|
/**
|
|
18
19
|
* @internal When false, the item cannot be deselected by user interaction.
|
|
19
20
|
*/
|
|
@@ -56,6 +57,7 @@ export declare class ValueListItem implements ConditionalSlotComponent {
|
|
|
56
57
|
guid: string;
|
|
57
58
|
connectedCallback(): void;
|
|
58
59
|
disconnectedCallback(): void;
|
|
60
|
+
componentDidRender(): void;
|
|
59
61
|
/**
|
|
60
62
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
61
63
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
@@ -631,6 +631,10 @@ export namespace Components {
|
|
|
631
631
|
* Internal prop for advanced use-cases.
|
|
632
632
|
*/
|
|
633
633
|
"color": InternalColor | null;
|
|
634
|
+
/**
|
|
635
|
+
* When true, disabled prevents user interaction.
|
|
636
|
+
*/
|
|
637
|
+
"disabled": boolean;
|
|
634
638
|
/**
|
|
635
639
|
* The format of the value property. When "auto", the format will be inferred from `value` when set.
|
|
636
640
|
* @default "auto"
|
|
@@ -1805,6 +1809,7 @@ export namespace Components {
|
|
|
1805
1809
|
"disableSpacing": boolean;
|
|
1806
1810
|
/**
|
|
1807
1811
|
* is the label disabled
|
|
1812
|
+
* @deprecated use the `disabled` property on the interactive components instead
|
|
1808
1813
|
*/
|
|
1809
1814
|
"disabled": boolean;
|
|
1810
1815
|
/**
|
|
@@ -1864,6 +1869,10 @@ export namespace Components {
|
|
|
1864
1869
|
"target"?: string;
|
|
1865
1870
|
}
|
|
1866
1871
|
interface CalciteList {
|
|
1872
|
+
/**
|
|
1873
|
+
* When true, disabled prevents user interaction.
|
|
1874
|
+
*/
|
|
1875
|
+
"disabled": boolean;
|
|
1867
1876
|
/**
|
|
1868
1877
|
* Number at which section headings should start for this component.
|
|
1869
1878
|
*/
|
|
@@ -2239,7 +2248,7 @@ export namespace Components {
|
|
|
2239
2248
|
/**
|
|
2240
2249
|
* When true, the item cannot be clicked and is visually muted.
|
|
2241
2250
|
*/
|
|
2242
|
-
"disabled"
|
|
2251
|
+
"disabled": boolean;
|
|
2243
2252
|
/**
|
|
2244
2253
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
2245
2254
|
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)
|
|
@@ -3151,6 +3160,10 @@ export namespace Components {
|
|
|
3151
3160
|
"width": Extract<"auto" | "full", Width>;
|
|
3152
3161
|
}
|
|
3153
3162
|
interface CalciteTileSelectGroup {
|
|
3163
|
+
/**
|
|
3164
|
+
* The disabled state of the tile select.
|
|
3165
|
+
*/
|
|
3166
|
+
"disabled": boolean;
|
|
3154
3167
|
/**
|
|
3155
3168
|
* Tiles by default move horizontally, stacking with each row, vertical allows single-column layouts
|
|
3156
3169
|
*/
|
|
@@ -3446,7 +3459,7 @@ export namespace Components {
|
|
|
3446
3459
|
/**
|
|
3447
3460
|
* When true, the item cannot be clicked and is visually muted
|
|
3448
3461
|
*/
|
|
3449
|
-
"disabled"
|
|
3462
|
+
"disabled": boolean;
|
|
3450
3463
|
"handleActivated"?: boolean;
|
|
3451
3464
|
/**
|
|
3452
3465
|
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
@@ -4709,6 +4722,10 @@ declare namespace LocalJSX {
|
|
|
4709
4722
|
* specify the appearance - default (containing border), or minimal (no containing border)
|
|
4710
4723
|
*/
|
|
4711
4724
|
"appearance"?: ColorAppearance;
|
|
4725
|
+
/**
|
|
4726
|
+
* When true, disabled prevents user interaction.
|
|
4727
|
+
*/
|
|
4728
|
+
"disabled"?: boolean;
|
|
4712
4729
|
/**
|
|
4713
4730
|
* The format of the value property. When "auto", the format will be inferred from `value` when set.
|
|
4714
4731
|
* @default "auto"
|
|
@@ -5912,6 +5929,7 @@ declare namespace LocalJSX {
|
|
|
5912
5929
|
"disableSpacing"?: boolean;
|
|
5913
5930
|
/**
|
|
5914
5931
|
* is the label disabled
|
|
5932
|
+
* @deprecated use the `disabled` property on the interactive components instead
|
|
5915
5933
|
*/
|
|
5916
5934
|
"disabled"?: boolean;
|
|
5917
5935
|
/**
|
|
@@ -5967,6 +5985,10 @@ declare namespace LocalJSX {
|
|
|
5967
5985
|
"target"?: string;
|
|
5968
5986
|
}
|
|
5969
5987
|
interface CalciteList {
|
|
5988
|
+
/**
|
|
5989
|
+
* When true, disabled prevents user interaction.
|
|
5990
|
+
*/
|
|
5991
|
+
"disabled"?: boolean;
|
|
5970
5992
|
/**
|
|
5971
5993
|
* Number at which section headings should start for this component.
|
|
5972
5994
|
*/
|
|
@@ -7206,6 +7228,10 @@ declare namespace LocalJSX {
|
|
|
7206
7228
|
"width"?: Extract<"auto" | "full", Width>;
|
|
7207
7229
|
}
|
|
7208
7230
|
interface CalciteTileSelectGroup {
|
|
7231
|
+
/**
|
|
7232
|
+
* The disabled state of the tile select.
|
|
7233
|
+
*/
|
|
7234
|
+
"disabled"?: boolean;
|
|
7209
7235
|
/**
|
|
7210
7236
|
* Tiles by default move horizontally, stacking with each row, vertical allows single-column layouts
|
|
7211
7237
|
*/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface InteractiveComponent {
|
|
2
|
+
/**
|
|
3
|
+
* The host element.
|
|
4
|
+
*/
|
|
5
|
+
readonly el: HTMLElement;
|
|
6
|
+
/**
|
|
7
|
+
* When true, prevents user interaction.
|
|
8
|
+
*
|
|
9
|
+
* Notes:
|
|
10
|
+
*
|
|
11
|
+
* * This prop should use the @Prop decorator and reflect.
|
|
12
|
+
* * The `disabled` Sass mixin must be added to the component's stylesheet.
|
|
13
|
+
*/
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare type HostIsTabbablePredicate = () => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* This helper updates the host element to prevent keyboard interaction on its subtree and sets the appropriate aria attribute for accessibility.
|
|
19
|
+
*
|
|
20
|
+
* This should be used in the `componentDidRender` lifecycle hook.
|
|
21
|
+
*
|
|
22
|
+
* **Notes**
|
|
23
|
+
*
|
|
24
|
+
* * this util is not needed for simple components whose root element or elements are an interactive component (custom element or native control). For those cases, set the `disabled` props on the root components instead.
|
|
25
|
+
* * technically, users can override `tabindex` and restore keyboard navigation, but this will be considered user error
|
|
26
|
+
*/
|
|
27
|
+
export declare function updateHostInteraction(component: InteractiveComponent, hostIsTabbable?: boolean | HostIsTabbablePredicate | "managed"): void;
|
|
28
|
+
export {};
|