@esri/calcite-components 1.0.0-next.413 → 1.0.0-next.416
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/calcite.js +1 -1
- package/dist/calcite/{p-02854dce.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
- package/dist/calcite/{p-993a9701.system.entry.js → p-035c70fd.system.entry.js} +1 -1
- package/dist/calcite/p-03c92ad2.entry.js +5 -0
- package/dist/calcite/{p-847fc3a4.system.entry.js → p-052ba882.system.entry.js} +1 -1
- package/dist/calcite/p-07f1f162.system.entry.js +5 -0
- package/dist/calcite/p-1263bcc0.entry.js +5 -0
- package/dist/calcite/p-18be4438.entry.js +5 -0
- package/dist/calcite/p-193749c1.entry.js +5 -0
- package/dist/calcite/{p-129954f1.system.entry.js → p-1aded388.system.entry.js} +1 -1
- package/dist/calcite/p-1aeca42a.system.entry.js +5 -0
- package/dist/calcite/p-1b1bca2d.entry.js +5 -0
- package/dist/calcite/{p-3c773436.system.entry.js → p-1fc943d5.system.entry.js} +1 -1
- package/dist/calcite/p-23145377.entry.js +5 -0
- package/dist/calcite/p-28c333d0.entry.js +5 -0
- package/dist/calcite/p-2bcaed33.entry.js +5 -0
- package/dist/calcite/p-2dd22e8c.system.entry.js +5 -0
- package/dist/calcite/p-2fae8516.system.entry.js +5 -0
- package/dist/calcite/p-3119ffce.system.js +5 -0
- package/dist/calcite/p-31c58f25.entry.js +5 -0
- package/dist/calcite/p-32d6b962.entry.js +5 -0
- package/dist/calcite/{p-475869c9.system.entry.js → p-32efc4cd.system.entry.js} +1 -1
- package/dist/calcite/p-34730e94.entry.js +5 -0
- package/dist/calcite/p-364db271.entry.js +5 -0
- package/dist/calcite/p-3915705c.entry.js +5 -0
- package/dist/calcite/p-3b4662a5.entry.js +5 -0
- package/dist/calcite/p-3b707a1c.system.entry.js +5 -0
- package/dist/calcite/{p-41806a13.system.entry.js → p-3cdee187.system.entry.js} +1 -1
- package/dist/calcite/{p-296c1d5a.system.entry.js → p-3e149640.system.entry.js} +1 -1
- package/dist/calcite/p-3e9d96c6.system.entry.js +5 -0
- package/dist/calcite/{p-f5e91588.system.entry.js → p-3ea157ba.system.entry.js} +1 -1
- package/dist/calcite/p-411dcd52.entry.js +5 -0
- package/dist/calcite/p-42227a04.entry.js +5 -0
- package/dist/calcite/p-426f011a.entry.js +5 -0
- package/dist/calcite/p-4730df46.js +5 -0
- package/dist/calcite/p-47d38839.entry.js +5 -0
- package/dist/calcite/{p-aa336fc3.system.entry.js → p-482885ae.system.entry.js} +1 -1
- package/dist/calcite/{p-df3775ba.system.entry.js → p-48637359.system.entry.js} +1 -1
- package/dist/calcite/p-496e907a.system.entry.js +5 -0
- package/dist/calcite/p-4aecbaef.entry.js +5 -0
- package/dist/calcite/p-4afb5a1b.system.entry.js +5 -0
- package/dist/calcite/p-4eae61c5.entry.js +5 -0
- package/dist/calcite/p-5394666a.entry.js +5 -0
- package/dist/calcite/p-54c49493.entry.js +5 -0
- package/dist/calcite/{p-0bd5bb31.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
- package/dist/calcite/{p-3543ddfe.system.entry.js → p-569150ab.system.entry.js} +1 -1
- package/dist/calcite/p-577bc6de.entry.js +5 -0
- package/dist/calcite/p-57e0428a.system.entry.js +5 -0
- package/dist/calcite/{p-9d071e3c.system.js → p-588bfa74.system.js} +1 -1
- package/dist/calcite/p-5a8829cd.entry.js +5 -0
- package/dist/calcite/p-5bb4d012.entry.js +5 -0
- package/dist/calcite/{p-a7e2bf9b.system.entry.js → p-5be48d2a.system.entry.js} +1 -1
- package/dist/calcite/p-6137468f.system.entry.js +5 -0
- package/dist/calcite/p-614d8925.js +5 -0
- package/dist/calcite/p-6261469d.entry.js +5 -0
- package/dist/calcite/p-62c7ab61.entry.js +5 -0
- package/dist/calcite/p-65dbbfb5.system.js +5 -0
- package/dist/calcite/p-69d2d9cf.system.entry.js +5 -0
- package/dist/calcite/p-6ab3e489.entry.js +5 -0
- package/dist/calcite/p-6b7b23d0.js +5 -0
- package/dist/calcite/{p-a6261f6b.system.entry.js → p-6c4a7041.system.entry.js} +1 -1
- package/dist/calcite/p-6e0103f5.system.entry.js +5 -0
- package/dist/calcite/{p-579d1f1a.system.entry.js → p-6ed27595.system.entry.js} +1 -1
- package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
- package/dist/calcite/{p-2eb067c8.system.entry.js → p-7247b667.system.entry.js} +1 -1
- package/dist/calcite/p-7260c869.system.entry.js +5 -0
- package/dist/calcite/p-73d23656.entry.js +5 -0
- package/dist/calcite/p-7432e5ef.system.entry.js +5 -0
- package/dist/calcite/p-765c9bef.entry.js +5 -0
- package/dist/calcite/p-78bc502f.entry.js +5 -0
- package/dist/calcite/{p-ee88180e.system.entry.js → p-7bee4942.system.entry.js} +1 -1
- package/dist/calcite/{p-c0e695bd.js → p-7c88d545.js} +1 -1
- package/dist/calcite/p-824da4be.entry.js +5 -0
- package/dist/calcite/p-872e82a6.system.entry.js +5 -0
- package/dist/calcite/p-87888359.entry.js +5 -0
- package/dist/calcite/p-8a7596e3.entry.js +5 -0
- package/dist/calcite/{p-ba2c5e07.js → p-8ab345f2.js} +1 -1
- package/dist/calcite/{p-4ff0e3a9.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
- package/dist/calcite/{p-e4c317a4.system.js → p-9385e4b4.system.js} +1 -1
- package/dist/calcite/p-963e9aec.system.entry.js +5 -0
- package/dist/calcite/p-97904e9a.entry.js +5 -0
- package/dist/calcite/p-9940b82a.system.entry.js +5 -0
- package/dist/calcite/p-9ac86d6a.entry.js +5 -0
- package/dist/calcite/p-9ad8c7c5.system.entry.js +5 -0
- package/dist/calcite/p-9c913e3a.entry.js +5 -0
- package/dist/calcite/p-9e61d89d.entry.js +5 -0
- package/dist/calcite/{p-1f82294e.system.entry.js → p-a11ee541.system.entry.js} +1 -1
- package/dist/calcite/p-a144a9e2.system.entry.js +5 -0
- package/dist/calcite/{p-7d937b47.entry.js → p-a7770d75.entry.js} +1 -1
- package/dist/calcite/{p-f56ce7ea.js → p-a9b3ef39.js} +1 -1
- package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
- package/dist/calcite/p-aaa21a84.system.entry.js +5 -0
- package/dist/calcite/p-aad14a5d.system.entry.js +5 -0
- package/dist/calcite/p-afe59546.entry.js +5 -0
- package/dist/calcite/p-b10af2b4.entry.js +5 -0
- package/dist/calcite/p-b2493735.entry.js +5 -0
- package/dist/calcite/p-b3c5247b.system.entry.js +5 -0
- package/dist/calcite/p-b47dc903.system.entry.js +5 -0
- package/dist/calcite/{p-c9f280c1.system.js → p-b765d197.system.js} +1 -1
- package/dist/calcite/p-bccbf58a.entry.js +5 -0
- package/dist/calcite/p-bd38ff21.js +5 -0
- package/dist/calcite/{p-cd406e29.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
- package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
- package/dist/calcite/p-c024d833.entry.js +5 -0
- package/dist/calcite/{p-d1060fb1.system.entry.js → p-c228a1da.system.entry.js} +1 -1
- package/dist/calcite/p-c2adeae4.entry.js +5 -0
- package/dist/calcite/p-c33f47d5.system.js +5 -0
- package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
- package/dist/calcite/{p-5d52246b.system.js → p-c51699d3.system.js} +1 -1
- package/dist/calcite/p-c5c42405.entry.js +5 -0
- package/dist/calcite/{p-a4cc864a.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
- package/dist/calcite/p-cafd98e8.entry.js +5 -0
- package/dist/calcite/p-cb28aa6a.entry.js +5 -0
- package/dist/calcite/{p-08c58589.system.js → p-cb57638c.system.js} +1 -1
- package/dist/calcite/p-cb847074.entry.js +5 -0
- package/dist/calcite/p-cbc6fee6.entry.js +5 -0
- package/dist/calcite/p-cc6e7726.entry.js +5 -0
- package/dist/calcite/{p-2277b440.js → p-cd5f5c8f.js} +1 -1
- package/dist/calcite/{p-1d345756.system.entry.js → p-cd9226a1.system.entry.js} +1 -1
- package/dist/calcite/p-daf5f04c.system.js +5 -0
- package/dist/calcite/{p-fedbc6e6.js → p-dcf33bb2.js} +1 -1
- package/dist/calcite/{p-36fa8b0f.system.entry.js → p-dd460534.system.entry.js} +1 -1
- package/dist/calcite/p-e22ab8fa.entry.js +5 -0
- package/dist/calcite/p-e3280a36.system.entry.js +5 -0
- package/dist/calcite/p-e43605c5.entry.js +5 -0
- package/dist/calcite/p-e4d1651b.system.entry.js +5 -0
- package/dist/calcite/p-e5a7ca2a.entry.js +5 -0
- package/dist/calcite/p-e65b6bfb.entry.js +5 -0
- package/dist/calcite/p-e66a8ca1.system.entry.js +5 -0
- package/dist/calcite/p-ea4119b1.system.entry.js +5 -0
- package/dist/calcite/p-ef17447d.system.entry.js +5 -0
- package/dist/calcite/p-f344e163.entry.js +5 -0
- package/dist/calcite/p-f8238718.system.entry.js +5 -0
- package/dist/calcite/p-fe9380a0.system.js +5 -0
- package/dist/cjs/{ExpandToggle-dbdede53.js → ExpandToggle-f7682a15.js} +1 -1
- package/dist/cjs/{Heading-1870bc0e.js → Heading-ec707493.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action.cjs.entry.js +7 -3
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_2.cjs.entry.js +19 -10
- package/dist/cjs/calcite-button.cjs.entry.js +8 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -5
- package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +37 -32
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +31 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +12 -3
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -5
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +8 -6
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +30 -9
- package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +23 -7
- package/dist/cjs/calcite-input.cjs.entry.js +9 -5
- package/dist/cjs/calcite-label.cjs.entry.js +17 -4
- package/dist/cjs/calcite-link.cjs.entry.js +8 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +16 -7
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -5
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
- package/dist/cjs/calcite-split-button.cjs.entry.js +27 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +20 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
- package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-2917212e.js → conditionalSlot-64f9bfd3.js} +1 -1
- package/dist/cjs/{form-d540f0cb.js → form-0ef859c8.js} +1 -1
- package/dist/cjs/{index-8760acaf.js → index-1af0efd3.js} +4 -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 +3 -3
- package/dist/cjs/{resources-1e94d43c.js → resources-7811eb2c.js} +1 -1
- package/dist/cjs/{resources-415f797b.js → resources-daf15d54.js} +34 -9
- package/dist/collection/collection-manifest.json +1 -1
- 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 +29 -27
- 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 +28 -6
- 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 +26 -3
- 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/popover/popover.js +5 -1
- 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/tooltip/tooltip.js +5 -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-group.js +3 -4
- package/dist/components/action-menu.js +3 -4
- package/dist/components/action.js +8 -5
- package/dist/components/button.js +8 -5
- package/dist/components/calcite-accordion-item.js +3 -4
- package/dist/components/calcite-accordion.js +3 -4
- package/dist/components/calcite-action-bar.js +3 -4
- package/dist/components/calcite-action-pad.js +3 -4
- package/dist/components/calcite-alert.js +3 -4
- package/dist/components/calcite-avatar.js +3 -4
- package/dist/components/calcite-block-section.js +3 -4
- package/dist/components/calcite-block.js +17 -9
- package/dist/components/calcite-card.js +3 -4
- package/dist/components/calcite-color-picker.js +19 -6
- package/dist/components/calcite-combobox-item-group.js +3 -4
- package/dist/components/calcite-combobox-item.js +8 -5
- package/dist/components/calcite-combobox.js +29 -30
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +3 -4
- package/dist/components/calcite-fab.js +13 -5
- package/dist/components/calcite-flow.js +3 -4
- package/dist/components/calcite-inline-editable.js +13 -12
- package/dist/components/calcite-input-date-picker.js +28 -8
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +21 -6
- package/dist/components/calcite-list-item-group.js +3 -4
- package/dist/components/calcite-list-item.js +13 -5
- package/dist/components/calcite-list.js +23 -5
- package/dist/components/calcite-modal.js +3 -4
- package/dist/components/calcite-notice.js +3 -4
- package/dist/components/calcite-option-group.js +3 -4
- package/dist/components/calcite-option.js +3 -4
- package/dist/components/calcite-pagination.js +3 -4
- package/dist/components/calcite-panel.js +15 -7
- package/dist/components/calcite-pick-list-group.js +3 -4
- package/dist/components/calcite-pick-list.js +8 -5
- package/dist/components/calcite-popover-manager.js +3 -4
- package/dist/components/calcite-radio-button-group.js +3 -4
- package/dist/components/calcite-radio-button.js +8 -5
- package/dist/components/calcite-radio-group-item.js +3 -4
- package/dist/components/calcite-radio-group.js +9 -6
- package/dist/components/calcite-rating.js +13 -8
- package/dist/components/calcite-select.js +8 -5
- package/dist/components/calcite-shell-center-row.js +3 -4
- package/dist/components/calcite-shell-panel.js +3 -4
- package/dist/components/calcite-shell.js +3 -4
- package/dist/components/calcite-slider.js +6 -5
- package/dist/components/calcite-sortable-list.js +8 -5
- package/dist/components/calcite-split-button.js +29 -7
- package/dist/components/calcite-stepper-item.js +10 -7
- package/dist/components/calcite-stepper.js +3 -4
- package/dist/components/calcite-tile-select-group.js +17 -5
- package/dist/components/calcite-tile-select.js +8 -5
- package/dist/components/calcite-tip-group.js +3 -4
- package/dist/components/calcite-tip-manager.js +3 -4
- package/dist/components/calcite-tip.js +3 -4
- package/dist/components/calcite-tooltip.js +8 -5
- package/dist/components/calcite-tree-item.js +3 -4
- package/dist/components/calcite-tree.js +3 -4
- package/dist/components/calcite-value-list-item.js +8 -5
- package/dist/components/calcite-value-list.js +10 -10
- package/dist/components/checkbox.js +8 -5
- package/dist/components/chip.js +3 -4
- package/dist/components/color-picker-hex-input.js +3 -4
- package/dist/components/color-picker-swatch.js +3 -4
- package/dist/components/date-picker-day.js +12 -6
- package/dist/components/date-picker-month-header.js +3 -4
- package/dist/components/date-picker-month.js +3 -4
- package/dist/components/date-picker.js +3 -4
- package/dist/components/dropdown.js +30 -11
- package/dist/components/filter.js +21 -25
- package/dist/components/graph.js +3 -4
- package/dist/components/handle.js +3 -4
- package/dist/components/icon.js +3 -4
- package/dist/components/input.js +8 -5
- package/dist/components/interactive.js +42 -0
- package/dist/components/label.js +39 -7
- package/dist/components/label2.js +16 -6
- package/dist/components/link.js +9 -6
- package/dist/components/loader.js +3 -4
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +8 -5
- package/dist/components/progress.js +3 -4
- package/dist/components/scrim.js +3 -4
- package/dist/components/shared-list-render.js +33 -9
- package/dist/components/switch.js +8 -13
- package/dist/components/tab-nav.js +3 -4
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -4
- package/dist/components/tabs.js +3 -4
- package/dist/components/tile.js +8 -5
- package/dist/components/time-picker.js +3 -4
- package/dist/components/tooltip-manager.js +3 -4
- package/dist/custom-elements/index.js +548 -223
- package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu.entry.js +3 -3
- package/dist/esm/calcite-action-pad.entry.js +4 -4
- package/dist/esm/calcite-action.entry.js +7 -3
- package/dist/esm/calcite-alert.entry.js +2 -2
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block_2.entry.js +19 -10
- package/dist/esm/calcite-button.entry.js +8 -4
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +9 -5
- package/dist/esm/calcite-chip.entry.js +3 -3
- package/dist/esm/calcite-color-picker_3.entry.js +19 -6
- package/dist/esm/calcite-combobox_3.entry.js +37 -32
- package/dist/esm/calcite-date-picker_4.entry.js +16 -9
- package/dist/esm/calcite-dropdown_3.entry.js +31 -11
- package/dist/esm/calcite-fab.entry.js +12 -3
- package/dist/esm/calcite-filter.entry.js +14 -5
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +8 -6
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +13 -11
- package/dist/esm/calcite-input-date-picker.entry.js +30 -9
- package/dist/esm/calcite-input-message.entry.js +2 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +23 -7
- package/dist/esm/calcite-input.entry.js +9 -5
- package/dist/esm/calcite-label.entry.js +17 -4
- package/dist/esm/calcite-link.entry.js +8 -4
- package/dist/esm/calcite-list_3.entry.js +34 -8
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +3 -3
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +11 -7
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +16 -7
- package/dist/esm/calcite-pick-list_3.entry.js +16 -12
- package/dist/esm/calcite-popover_2.entry.js +9 -5
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +9 -5
- package/dist/esm/calcite-radio-group_2.entry.js +11 -7
- package/dist/esm/calcite-rating.entry.js +14 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +7 -3
- package/dist/esm/calcite-split-button.entry.js +27 -4
- package/dist/esm/calcite-stepper_2.entry.js +9 -5
- package/dist/esm/calcite-switch.entry.js +9 -12
- package/dist/esm/calcite-tab_4.entry.js +11 -8
- package/dist/esm/calcite-tile-select_2.entry.js +20 -5
- package/dist/esm/calcite-tile.entry.js +8 -4
- package/dist/esm/calcite-tip_3.entry.js +6 -6
- package/dist/esm/calcite-tooltip_2.entry.js +8 -4
- package/dist/esm/calcite-tree_2.entry.js +4 -4
- package/dist/esm/calcite-value-list_2.entry.js +16 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm/{index-0fefddd1.js → index-bd94948c.js} +4 -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 +3 -3
- package/dist/esm/{resources-431fa051.js → resources-73dac782.js} +1 -1
- package/dist/esm/{resources-999109fa.js → resources-cbfcf4a3.js} +34 -10
- package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm-es5/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.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-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.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-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.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-message.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-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- 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-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- 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-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- 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-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.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/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm-es5/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm-es5/{index-0fefddd1.js → index-bd94948c.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-431fa051.js → resources-73dac782.js} +2 -2
- package/dist/esm-es5/resources-cbfcf4a3.js +5 -0
- package/dist/extras/docs-json.json +69 -23
- 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 +4 -4
- 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 +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 +28 -2
- package/dist/types/utils/interactive.d.ts +28 -0
- package/dist/types/utils/label.d.ts +3 -1
- package/hydrate/index.js +464 -137
- package/package.json +8 -8
- package/dist/calcite/p-00d4b36e.entry.js +0 -5
- package/dist/calcite/p-02a3ad67.entry.js +0 -5
- package/dist/calcite/p-02b4bcec.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-1370cabf.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-26bcdb22.entry.js +0 -5
- package/dist/calcite/p-2a3d08b7.entry.js +0 -5
- package/dist/calcite/p-2c293ed2.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-362522e5.js +0 -5
- package/dist/calcite/p-3a7606c8.entry.js +0 -5
- package/dist/calcite/p-3e522dbe.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-44dcac16.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-55fa7908.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-6a3357f9.system.js +0 -5
- package/dist/calcite/p-71d1bfb2.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-7d9f20b8.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-80ab216e.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-84f8db8e.entry.js +0 -5
- package/dist/calcite/p-874ac36f.entry.js +0 -5
- package/dist/calcite/p-8f93be14.system.js +0 -5
- package/dist/calcite/p-91b23d79.system.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-9c86f528.entry.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-a0ffad45.entry.js +0 -5
- package/dist/calcite/p-a5397c9d.entry.js +0 -5
- package/dist/calcite/p-a5e8d728.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-b55643f5.entry.js +0 -5
- package/dist/calcite/p-b58cdaca.entry.js +0 -5
- package/dist/calcite/p-b76ee102.system.entry.js +0 -5
- package/dist/calcite/p-b85064fc.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-cc894f09.entry.js +0 -5
- package/dist/calcite/p-d08d1450.entry.js +0 -5
- package/dist/calcite/p-d2a1cbbf.entry.js +0 -5
- package/dist/calcite/p-d359def7.system.entry.js +0 -5
- package/dist/calcite/p-d44165c7.entry.js +0 -5
- package/dist/calcite/p-d648a677.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-e23de208.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-f681fbba.entry.js +0 -5
- package/dist/calcite/p-f6d994ff.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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):a(e.value).then(i,u)}c((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(e){return function(t){return c([e,t])}}function c(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
*/import{a as getAssetPath}from"./index-
|
|
5
|
+
*/import{a as getAssetPath}from"./index-bd94948c.js";import{a as locales}from"./locale-fc850b7c.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function l(e){try{o(n.next(e))}catch(e){r(e)}}function s(e){try{o(n["throw"](e))}catch(e){r(e)}}function o(e){e.done?i(e.value):a(e.value).then(l,s)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=l[0]&2?a["return"]:l[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,l[1])).done)return r;if(a=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;a=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e];a=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
*/import{f as focusElement,g as getSlotted}from"./dom-e7fa77b9.js";import{g as getRoundRobinIndex}from"./array-91a648e2.js";import{d as debounce}from"./debounce-79648d42.js";import{h,H as Host}from"./index-bd94948c.js";function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteListItemValueChangeHandler(e){e.stopPropagation();var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var __rest=undefined&&undefined.__rest||function(e,t){var i={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)i[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++){if(t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a]))i[n[a]]=e[n[a]]}return i};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=__rest(e,["props"]);var d=h("slot",null);return h(Host,Object.assign({"aria-busy":a.toString(),role:"menu"},u),h("section",null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,d))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,moveItemIndex as b,initializeObserver as c,deselectRemovedItems as d,cleanUpObserver as e,calciteListFocusOutHandler as f,getItemData as g,handleFilter as h,initialize as i,calciteListItemChangeHandler as j,keyDownHandler as k,calciteListItemValueChangeHandler as l,mutationObserverCallback as m,setUpItems as n,setFocus as o,ICONS as p,removeItem as r,selectSiblings as s};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-03-
|
|
2
|
+
"timestamp": "2022-03-14T20:02:04",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
|
-
"version": "2.14.
|
|
5
|
+
"version": "2.14.1",
|
|
6
6
|
"typescriptVersion": "4.5.4"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -3721,6 +3721,23 @@
|
|
|
3721
3721
|
"optional": false,
|
|
3722
3722
|
"required": false
|
|
3723
3723
|
},
|
|
3724
|
+
{
|
|
3725
|
+
"name": "disabled",
|
|
3726
|
+
"type": "boolean",
|
|
3727
|
+
"mutable": false,
|
|
3728
|
+
"attr": "disabled",
|
|
3729
|
+
"reflectToAttr": true,
|
|
3730
|
+
"docs": "When true, disabled prevents user interaction.",
|
|
3731
|
+
"docsTags": [],
|
|
3732
|
+
"default": "false",
|
|
3733
|
+
"values": [
|
|
3734
|
+
{
|
|
3735
|
+
"type": "boolean"
|
|
3736
|
+
}
|
|
3737
|
+
],
|
|
3738
|
+
"optional": false,
|
|
3739
|
+
"required": false
|
|
3740
|
+
},
|
|
3724
3741
|
{
|
|
3725
3742
|
"name": "format",
|
|
3726
3743
|
"type": "\"auto\" | \"hex\" | \"hexa\" | \"hsl\" | \"hsl-css\" | \"hsla\" | \"hsla-css\" | \"hsv\" | \"hsva\" | \"rgb\" | \"rgb-css\" | \"rgba\" | \"rgba-css\"",
|
|
@@ -7568,19 +7585,14 @@
|
|
|
7568
7585
|
"calcite-value-list"
|
|
7569
7586
|
],
|
|
7570
7587
|
"dependencies": [
|
|
7571
|
-
"calcite-scrim",
|
|
7572
7588
|
"calcite-input",
|
|
7573
7589
|
"calcite-icon"
|
|
7574
7590
|
],
|
|
7575
7591
|
"dependencyGraph": {
|
|
7576
7592
|
"calcite-filter": [
|
|
7577
|
-
"calcite-scrim",
|
|
7578
7593
|
"calcite-input",
|
|
7579
7594
|
"calcite-icon"
|
|
7580
7595
|
],
|
|
7581
|
-
"calcite-scrim": [
|
|
7582
|
-
"calcite-loader"
|
|
7583
|
-
],
|
|
7584
7596
|
"calcite-input": [
|
|
7585
7597
|
"calcite-progress",
|
|
7586
7598
|
"calcite-icon"
|
|
@@ -10217,8 +10229,14 @@
|
|
|
10217
10229
|
"attr": "disabled",
|
|
10218
10230
|
"reflectToAttr": true,
|
|
10219
10231
|
"docs": "is the label disabled",
|
|
10220
|
-
"docsTags": [
|
|
10232
|
+
"docsTags": [
|
|
10233
|
+
{
|
|
10234
|
+
"name": "deprecated",
|
|
10235
|
+
"text": "use the `disabled` property on the interactive components instead"
|
|
10236
|
+
}
|
|
10237
|
+
],
|
|
10221
10238
|
"default": "false",
|
|
10239
|
+
"deprecation": "use the `disabled` property on the interactive components instead",
|
|
10222
10240
|
"values": [
|
|
10223
10241
|
{
|
|
10224
10242
|
"type": "boolean"
|
|
@@ -10566,6 +10584,23 @@
|
|
|
10566
10584
|
"Nested": "```html\n<calcite-list>\n <calcite-list-item\n label=\"Cras iaculis ultricies nulla.\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n >\n <calcite-list-item label=\"Ut aliquam sollicitudin leo.\" description=\"Aliquam tincidunt mauris eu risus.\">\n <calcite-list-item\n label=\"Vestibulum commodo felis quis tortor.\"\n description=\"Vestibulum auctor dapibus neque.\"\n ></calcite-list-item></calcite-list-item\n ></calcite-list-item>\n</calcite-list>\n```\n"
|
|
10567
10585
|
},
|
|
10568
10586
|
"props": [
|
|
10587
|
+
{
|
|
10588
|
+
"name": "disabled",
|
|
10589
|
+
"type": "boolean",
|
|
10590
|
+
"mutable": false,
|
|
10591
|
+
"attr": "disabled",
|
|
10592
|
+
"reflectToAttr": true,
|
|
10593
|
+
"docs": "When true, disabled prevents user interaction.",
|
|
10594
|
+
"docsTags": [],
|
|
10595
|
+
"default": "false",
|
|
10596
|
+
"values": [
|
|
10597
|
+
{
|
|
10598
|
+
"type": "boolean"
|
|
10599
|
+
}
|
|
10600
|
+
],
|
|
10601
|
+
"optional": false,
|
|
10602
|
+
"required": false
|
|
10603
|
+
},
|
|
10569
10604
|
{
|
|
10570
10605
|
"name": "headingLevel",
|
|
10571
10606
|
"type": "1 | 2 | 3 | 4 | 5 | 6",
|
|
@@ -12823,16 +12858,15 @@
|
|
|
12823
12858
|
"calcite-scrim"
|
|
12824
12859
|
],
|
|
12825
12860
|
"calcite-filter": [
|
|
12826
|
-
"calcite-scrim",
|
|
12827
12861
|
"calcite-input",
|
|
12828
12862
|
"calcite-icon"
|
|
12829
12863
|
],
|
|
12830
|
-
"calcite-scrim": [
|
|
12831
|
-
"calcite-loader"
|
|
12832
|
-
],
|
|
12833
12864
|
"calcite-input": [
|
|
12834
12865
|
"calcite-progress",
|
|
12835
12866
|
"calcite-icon"
|
|
12867
|
+
],
|
|
12868
|
+
"calcite-scrim": [
|
|
12869
|
+
"calcite-loader"
|
|
12836
12870
|
]
|
|
12837
12871
|
}
|
|
12838
12872
|
},
|
|
@@ -12984,7 +13018,7 @@
|
|
|
12984
13018
|
"type": "boolean"
|
|
12985
13019
|
}
|
|
12986
13020
|
],
|
|
12987
|
-
"optional":
|
|
13021
|
+
"optional": false,
|
|
12988
13022
|
"required": false
|
|
12989
13023
|
},
|
|
12990
13024
|
{
|
|
@@ -14829,7 +14863,6 @@
|
|
|
14829
14863
|
"parts": [],
|
|
14830
14864
|
"dependents": [
|
|
14831
14865
|
"calcite-block",
|
|
14832
|
-
"calcite-filter",
|
|
14833
14866
|
"calcite-modal",
|
|
14834
14867
|
"calcite-panel",
|
|
14835
14868
|
"calcite-pick-list",
|
|
@@ -14845,9 +14878,6 @@
|
|
|
14845
14878
|
"calcite-block": [
|
|
14846
14879
|
"calcite-scrim"
|
|
14847
14880
|
],
|
|
14848
|
-
"calcite-filter": [
|
|
14849
|
-
"calcite-scrim"
|
|
14850
|
-
],
|
|
14851
14881
|
"calcite-modal": [
|
|
14852
14882
|
"calcite-scrim"
|
|
14853
14883
|
],
|
|
@@ -16719,7 +16749,7 @@
|
|
|
16719
16749
|
"type": "boolean",
|
|
16720
16750
|
"mutable": false,
|
|
16721
16751
|
"attr": "disabled",
|
|
16722
|
-
"reflectToAttr":
|
|
16752
|
+
"reflectToAttr": true,
|
|
16723
16753
|
"docs": "is the step disabled and not navigable to by a user",
|
|
16724
16754
|
"docsTags": [],
|
|
16725
16755
|
"default": "false",
|
|
@@ -18086,6 +18116,23 @@
|
|
|
18086
18116
|
],
|
|
18087
18117
|
"usage": {},
|
|
18088
18118
|
"props": [
|
|
18119
|
+
{
|
|
18120
|
+
"name": "disabled",
|
|
18121
|
+
"type": "boolean",
|
|
18122
|
+
"mutable": false,
|
|
18123
|
+
"attr": "disabled",
|
|
18124
|
+
"reflectToAttr": true,
|
|
18125
|
+
"docs": "The disabled state of the tile select.",
|
|
18126
|
+
"docsTags": [],
|
|
18127
|
+
"default": "false",
|
|
18128
|
+
"values": [
|
|
18129
|
+
{
|
|
18130
|
+
"type": "boolean"
|
|
18131
|
+
}
|
|
18132
|
+
],
|
|
18133
|
+
"optional": false,
|
|
18134
|
+
"required": false
|
|
18135
|
+
},
|
|
18089
18136
|
{
|
|
18090
18137
|
"name": "layout",
|
|
18091
18138
|
"type": "\"horizontal\" | \"vertical\"",
|
|
@@ -19757,16 +19804,15 @@
|
|
|
19757
19804
|
"calcite-scrim"
|
|
19758
19805
|
],
|
|
19759
19806
|
"calcite-filter": [
|
|
19760
|
-
"calcite-scrim",
|
|
19761
19807
|
"calcite-input",
|
|
19762
19808
|
"calcite-icon"
|
|
19763
19809
|
],
|
|
19764
|
-
"calcite-scrim": [
|
|
19765
|
-
"calcite-loader"
|
|
19766
|
-
],
|
|
19767
19810
|
"calcite-input": [
|
|
19768
19811
|
"calcite-progress",
|
|
19769
19812
|
"calcite-icon"
|
|
19813
|
+
],
|
|
19814
|
+
"calcite-scrim": [
|
|
19815
|
+
"calcite-loader"
|
|
19770
19816
|
]
|
|
19771
19817
|
}
|
|
19772
19818
|
},
|
|
@@ -19818,7 +19864,7 @@
|
|
|
19818
19864
|
"type": "boolean"
|
|
19819
19865
|
}
|
|
19820
19866
|
],
|
|
19821
|
-
"optional":
|
|
19867
|
+
"optional": false,
|
|
19822
19868
|
"required": false
|
|
19823
19869
|
},
|
|
19824
19870
|
{
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Alignment, Appearance, Scale } from "../interfaces";
|
|
3
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding a `calcite-icon`.
|
|
5
6
|
*/
|
|
6
|
-
export declare class Action {
|
|
7
|
+
export declare class Action implements InteractiveComponent {
|
|
7
8
|
/**
|
|
8
9
|
* Indicates whether the action is highlighted.
|
|
9
10
|
*/
|
|
@@ -64,6 +65,7 @@ export declare class Action {
|
|
|
64
65
|
mutationObserver: MutationObserver;
|
|
65
66
|
connectedCallback(): void;
|
|
66
67
|
disconnectedCallback(): void;
|
|
68
|
+
componentDidRender(): void;
|
|
67
69
|
/** Sets focus on the component. */
|
|
68
70
|
setFocus(): Promise<void>;
|
|
69
71
|
renderTextContainer(): VNode;
|
|
@@ -2,13 +2,14 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { HeadingLevel } from "../functional/Heading";
|
|
3
3
|
import { Status } from "../interfaces";
|
|
4
4
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding content to the block.
|
|
7
8
|
* @slot icon - A slot for adding a leading header icon.
|
|
8
9
|
* @slot control - A slot for adding a single HTML input element in a header.
|
|
9
10
|
* @slot header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown.
|
|
10
11
|
*/
|
|
11
|
-
export declare class Block implements ConditionalSlotComponent {
|
|
12
|
+
export declare class Block implements ConditionalSlotComponent, InteractiveComponent {
|
|
12
13
|
/**
|
|
13
14
|
* When true, this block will be collapsible.
|
|
14
15
|
*/
|
|
@@ -61,6 +62,7 @@ export declare class Block implements ConditionalSlotComponent {
|
|
|
61
62
|
* Block summary.
|
|
62
63
|
*/
|
|
63
64
|
summary: string;
|
|
65
|
+
componentDidRender(): void;
|
|
64
66
|
el: HTMLCalciteBlockElement;
|
|
65
67
|
private guid;
|
|
66
68
|
connectedCallback(): void;
|
|
@@ -3,10 +3,11 @@ import { VNode } from "../../stencil-public-runtime";
|
|
|
3
3
|
import { ButtonAlignment, ButtonAppearance, ButtonColor } from "./interfaces";
|
|
4
4
|
import { FlipContext, Scale, Width } from "../interfaces";
|
|
5
5
|
import { LabelableComponent } from "../../utils/label";
|
|
6
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
7
|
/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
|
|
7
8
|
/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */
|
|
8
9
|
/** @slot - A slot for adding text. */
|
|
9
|
-
export declare class Button implements LabelableComponent {
|
|
10
|
+
export declare class Button implements LabelableComponent, InteractiveComponent {
|
|
10
11
|
el: HTMLCalciteButtonElement;
|
|
11
12
|
/** optionally specify alignment of button elements. */
|
|
12
13
|
alignment?: ButtonAlignment;
|
|
@@ -58,6 +59,7 @@ export declare class Button implements LabelableComponent {
|
|
|
58
59
|
connectedCallback(): void;
|
|
59
60
|
disconnectedCallback(): void;
|
|
60
61
|
componentWillLoad(): void;
|
|
62
|
+
componentDidRender(): void;
|
|
61
63
|
render(): VNode;
|
|
62
64
|
/** Sets focus on the component. */
|
|
63
65
|
setFocus(): Promise<void>;
|
|
@@ -2,7 +2,8 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Scale } from "../interfaces";
|
|
3
3
|
import { CheckableFormCompoment } from "../../utils/form";
|
|
4
4
|
import { LabelableComponent } from "../../utils/label";
|
|
5
|
-
|
|
5
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
6
|
+
export declare class Checkbox implements LabelableComponent, CheckableFormCompoment, InteractiveComponent {
|
|
6
7
|
el: HTMLCalciteCheckboxElement;
|
|
7
8
|
/** The checked state of the checkbox. */
|
|
8
9
|
checked: boolean;
|
|
@@ -69,5 +70,6 @@ export declare class Checkbox implements LabelableComponent, CheckableFormCompom
|
|
|
69
70
|
onLabelClick: () => void;
|
|
70
71
|
connectedCallback(): void;
|
|
71
72
|
disconnectedCallback(): void;
|
|
73
|
+
componentDidRender(): void;
|
|
72
74
|
render(): VNode;
|
|
73
75
|
}
|
|
@@ -3,7 +3,8 @@ import Color from "color";
|
|
|
3
3
|
import { ColorAppearance, ColorMode, ColorValue, InternalColor } from "./interfaces";
|
|
4
4
|
import { Scale } from "../interfaces";
|
|
5
5
|
import { Format } from "./utils";
|
|
6
|
-
|
|
6
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
7
|
+
export declare class ColorPicker implements InteractiveComponent {
|
|
7
8
|
el: HTMLCalciteColorPickerElement;
|
|
8
9
|
/**
|
|
9
10
|
* When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
|
|
@@ -20,6 +21,10 @@ export declare class ColorPicker {
|
|
|
20
21
|
*/
|
|
21
22
|
color: InternalColor | null;
|
|
22
23
|
handleColorChange(color: Color | null, oldColor: Color | null): void;
|
|
24
|
+
/**
|
|
25
|
+
* When true, disabled prevents user interaction.
|
|
26
|
+
*/
|
|
27
|
+
disabled: boolean;
|
|
23
28
|
/**
|
|
24
29
|
* The format of the value property.
|
|
25
30
|
*
|
|
@@ -138,6 +143,7 @@ export declare class ColorPicker {
|
|
|
138
143
|
private fieldAndSliderRenderingContext;
|
|
139
144
|
private colorFieldScopeNode;
|
|
140
145
|
private hueThumbState;
|
|
146
|
+
private hueScopeNode;
|
|
141
147
|
private internalColorUpdateContext;
|
|
142
148
|
private previousColor;
|
|
143
149
|
private mode;
|
|
@@ -193,8 +199,10 @@ export declare class ColorPicker {
|
|
|
193
199
|
setFocus(): Promise<void>;
|
|
194
200
|
componentWillLoad(): void;
|
|
195
201
|
disconnectedCallback(): void;
|
|
202
|
+
componentDidRender(): void;
|
|
196
203
|
render(): VNode;
|
|
197
204
|
private storeColorFieldScope;
|
|
205
|
+
private storeHueScope;
|
|
198
206
|
private renderChannelsTabTitle;
|
|
199
207
|
private renderChannelsTab;
|
|
200
208
|
private renderChannel;
|
|
@@ -6,6 +6,7 @@ import { Scale } from "../interfaces";
|
|
|
6
6
|
import { ComboboxSelectionMode, ComboboxChildElement } from "./interfaces";
|
|
7
7
|
import { LabelableComponent } from "../../utils/label";
|
|
8
8
|
import { FormComponent } from "../../utils/form";
|
|
9
|
+
import { InteractiveComponent } from "../../utils/interactive";
|
|
9
10
|
interface ItemData {
|
|
10
11
|
label: string;
|
|
11
12
|
value: string;
|
|
@@ -13,13 +14,14 @@ interface ItemData {
|
|
|
13
14
|
/**
|
|
14
15
|
* @slot - A slot for adding `calcite-combobox-item`s.
|
|
15
16
|
*/
|
|
16
|
-
export declare class Combobox implements LabelableComponent, FormComponent {
|
|
17
|
+
export declare class Combobox implements LabelableComponent, FormComponent, InteractiveComponent {
|
|
17
18
|
el: HTMLCalciteComboboxElement;
|
|
18
19
|
/** Opens or closes the combobox */
|
|
19
20
|
active: boolean;
|
|
20
|
-
activeHandler(
|
|
21
|
+
activeHandler(): void;
|
|
21
22
|
/** Disable combobox input */
|
|
22
23
|
disabled: boolean;
|
|
24
|
+
handleDisabledChange(value: boolean): void;
|
|
23
25
|
/** Aria label for combobox (required) */
|
|
24
26
|
label: string;
|
|
25
27
|
/** Placeholder text for input */
|
|
@@ -103,12 +105,10 @@ export declare class Combobox implements LabelableComponent, FormComponent {
|
|
|
103
105
|
selectedItemsHandler(): void;
|
|
104
106
|
visibleItems: HTMLCalciteComboboxItemElement[];
|
|
105
107
|
needsIcon: boolean;
|
|
106
|
-
hideList: boolean;
|
|
107
108
|
activeItemIndex: number;
|
|
108
109
|
activeChipIndex: number;
|
|
109
110
|
activeDescendant: string;
|
|
110
111
|
text: string;
|
|
111
|
-
open: boolean;
|
|
112
112
|
/** when search text is cleared, reset active to */
|
|
113
113
|
textHandler(): void;
|
|
114
114
|
textInput: HTMLInputElement;
|
|
@@ -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.
|
|
@@ -41,6 +42,7 @@ export declare class Filter {
|
|
|
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
|
*/
|
|
@@ -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
|
}
|