@esri/calcite-components 1.0.0-next.676 → 1.0.0-next.677
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 +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00213028.entry.js +6 -0
- package/dist/calcite/p-02fa4080.js +6 -0
- package/dist/calcite/p-06f179e6.entry.js +6 -0
- package/dist/calcite/{p-aaf51ded.js → p-0c620a25.js} +2 -2
- package/dist/calcite/{p-f4de4f12.js → p-1064ea64.js} +1 -1
- package/dist/calcite/{p-c9544f45.js → p-137a092b.js} +2 -2
- package/dist/calcite/{p-1dc28f61.js → p-14231e1a.js} +2 -2
- package/dist/calcite/{p-7f0e752e.entry.js → p-190a3d9b.entry.js} +2 -2
- package/dist/calcite/{p-7afba961.entry.js → p-1942c040.entry.js} +2 -2
- package/dist/calcite/{p-167ccc66.entry.js → p-19d9acc3.entry.js} +2 -2
- package/dist/calcite/{p-1de7deeb.entry.js → p-1dd54fec.entry.js} +2 -2
- package/dist/calcite/p-1eb2cd5a.entry.js +6 -0
- package/dist/calcite/{p-584281f3.js → p-1fce9ab3.js} +1 -1
- package/dist/calcite/{p-08c50a8a.entry.js → p-1fcfd6f1.entry.js} +2 -2
- package/dist/calcite/{p-6cb5e296.js → p-2353601c.js} +2 -2
- package/dist/calcite/{p-e0e670c7.entry.js → p-26676213.entry.js} +2 -2
- package/dist/calcite/{p-121a1ad8.entry.js → p-2a3a109a.entry.js} +2 -2
- package/dist/calcite/{p-20833825.entry.js → p-2c2b9c80.entry.js} +2 -2
- package/dist/calcite/{p-69778bbc.js → p-2dba69dc.js} +2 -2
- package/dist/calcite/{p-4c35e553.js → p-30c6bae0.js} +2 -2
- package/dist/calcite/{p-15ec9172.entry.js → p-3290b1ad.entry.js} +2 -2
- package/dist/calcite/{p-0191aeb5.js → p-34dc15b1.js} +1 -1
- package/dist/calcite/{p-63c203ec.entry.js → p-36017925.entry.js} +2 -2
- package/dist/calcite/{p-79cec79a.entry.js → p-3b4c8cbe.entry.js} +2 -2
- package/dist/calcite/{p-0e033446.entry.js → p-3db739f7.entry.js} +2 -2
- package/dist/calcite/{p-e4d1951b.entry.js → p-3e6814b7.entry.js} +2 -2
- package/dist/calcite/p-409dde5a.entry.js +6 -0
- package/dist/calcite/p-40d63ed9.entry.js +6 -0
- package/dist/calcite/{p-5e2f3bc6.entry.js → p-4123cfe5.entry.js} +2 -2
- package/dist/calcite/{p-121974f8.entry.js → p-416308a4.entry.js} +2 -2
- package/dist/calcite/{p-82da5689.js → p-43cf5c58.js} +1 -1
- package/dist/calcite/p-478c4176.entry.js +6 -0
- package/dist/calcite/{p-333e017d.js → p-47943ec6.js} +1 -1
- package/dist/calcite/{p-b49afbce.entry.js → p-47be130f.entry.js} +2 -2
- package/dist/calcite/{p-001fddb9.entry.js → p-49787ad1.entry.js} +2 -2
- package/dist/calcite/{p-6b6cdb44.entry.js → p-497f62ae.entry.js} +2 -2
- package/dist/calcite/{p-43692f3a.entry.js → p-49b4ae19.entry.js} +2 -2
- package/dist/calcite/{p-9664963d.entry.js → p-4cce4d3d.entry.js} +2 -2
- package/dist/calcite/{p-f9cd9ebc.js → p-514fa259.js} +2 -2
- package/dist/calcite/{p-42ad4ba5.entry.js → p-54b6d39f.entry.js} +2 -2
- package/dist/calcite/{p-69abd3d7.entry.js → p-56cef636.entry.js} +2 -2
- package/dist/calcite/{p-7b451d60.js → p-56dbca2b.js} +1 -1
- package/dist/calcite/{p-d851bf2b.entry.js → p-5bb90f84.entry.js} +2 -2
- package/dist/calcite/{p-02dd3ee0.entry.js → p-5c6d7109.entry.js} +2 -2
- package/dist/calcite/{p-8aa1a37a.js → p-5dee8933.js} +1 -1
- package/dist/calcite/{p-57af3564.js → p-5f544e06.js} +1 -1
- package/dist/calcite/{p-e1ef450d.entry.js → p-61a84924.entry.js} +2 -2
- package/dist/calcite/{p-77c59dbe.entry.js → p-6966dc7d.entry.js} +2 -2
- package/dist/calcite/p-6b6810ea.entry.js +6 -0
- package/dist/calcite/p-6ed49e7f.entry.js +6 -0
- package/dist/calcite/{p-d87c3b38.entry.js → p-7050f1ce.entry.js} +2 -2
- package/dist/calcite/{p-8b19cd35.entry.js → p-70f4bc72.entry.js} +2 -2
- package/dist/calcite/{p-eaf12ea5.js → p-7287f91f.js} +1 -1
- package/dist/calcite/{p-ee779a5a.entry.js → p-7b0bd80a.entry.js} +2 -2
- package/dist/calcite/{p-97b7378b.entry.js → p-7b138b0d.entry.js} +2 -2
- package/dist/calcite/{p-f0bcdf02.entry.js → p-7ef41501.entry.js} +2 -2
- package/dist/calcite/{p-4f97c13d.js → p-7fffbed7.js} +2 -2
- package/dist/calcite/{p-cf231bc8.js → p-8257b911.js} +1 -1
- package/dist/calcite/{p-ec66723a.js → p-8471cac6.js} +1 -1
- package/dist/calcite/{p-6361ea07.js → p-891e21fa.js} +1 -1
- package/dist/calcite/{p-6ca41f52.entry.js → p-89e1b628.entry.js} +2 -2
- package/dist/calcite/{p-c13fac6d.js → p-8ac7ea20.js} +1 -1
- package/dist/calcite/{p-9e1fdfd1.entry.js → p-8f480fbc.entry.js} +2 -2
- package/dist/calcite/{p-f859821b.entry.js → p-8f79a10d.entry.js} +2 -2
- package/dist/calcite/{p-91cc9ed5.entry.js → p-902f897e.entry.js} +2 -2
- package/dist/calcite/{p-aa407570.entry.js → p-9c8d0105.entry.js} +2 -2
- package/dist/calcite/p-9f684914.js +6 -0
- package/dist/calcite/{p-1ed1c143.entry.js → p-a6b80469.entry.js} +2 -2
- package/dist/calcite/{p-98bc1965.entry.js → p-adeeb26a.entry.js} +2 -2
- package/dist/calcite/{p-cdf496ea.entry.js → p-b3182164.entry.js} +2 -2
- package/dist/calcite/p-b3f0c1f5.js +6 -0
- package/dist/calcite/{p-0b970341.js → p-baad12a9.js} +2 -2
- package/dist/calcite/{p-bcb37e6c.entry.js → p-bc891d26.entry.js} +2 -2
- package/dist/calcite/{p-f6d78ea5.entry.js → p-c1f1916b.entry.js} +2 -2
- package/dist/calcite/{p-7344f7a9.entry.js → p-c7bd012a.entry.js} +2 -2
- package/dist/calcite/{p-a1cd5b8b.entry.js → p-cdc2b97d.entry.js} +2 -2
- package/dist/calcite/{p-f734abd0.entry.js → p-d0cf6757.entry.js} +2 -2
- package/dist/calcite/{p-0ebada35.js → p-d473e6fc.js} +1 -1
- package/dist/calcite/{p-bdec1928.entry.js → p-d7b714ae.entry.js} +2 -2
- package/dist/calcite/{p-09889b03.js → p-dad1d263.js} +2 -2
- package/dist/calcite/{p-1bab60d0.entry.js → p-e01aaa45.entry.js} +2 -2
- package/dist/calcite/{p-2c7d7971.entry.js → p-e30a4bc0.entry.js} +2 -2
- package/dist/calcite/{p-641935fa.entry.js → p-e3d5b7a5.entry.js} +2 -2
- package/dist/calcite/{p-af1ac6bc.js → p-e424f6dc.js} +1 -1
- package/dist/calcite/p-eabc6c90.entry.js +6 -0
- package/dist/calcite/{p-dba365f4.entry.js → p-ecd6e13c.entry.js} +2 -2
- package/dist/calcite/{p-e8a9079b.entry.js → p-ed26d212.entry.js} +2 -2
- package/dist/calcite/{p-7770f355.js → p-f1a1826a.js} +2 -2
- package/dist/calcite/{p-cb78c83d.js → p-f405b2dc.js} +2 -2
- package/dist/calcite/{p-d60b8c32.js → p-f506a724.js} +1 -1
- package/dist/calcite/{p-61b17381.entry.js → p-f5ccd617.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-3dd6bfca.js → ExpandToggle-8cc7e19d.js} +5 -5
- package/dist/cjs/{Heading-05e4c829.js → Heading-469771c8.js} +2 -2
- package/dist/cjs/{app-globals-dcd9fabb.js → app-globals-c1645a4c.js} +2 -2
- package/dist/cjs/{array-9426b511.js → array-cebcc837.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +29 -30
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +38 -39
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -21
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-302b0a13.js → conditionalSlot-ccdd5140.js} +3 -3
- package/dist/cjs/{debounce-0c2d0313.js → debounce-475e5fe1.js} +1 -1
- package/dist/cjs/{dom-efd0611a.js → dom-d2bf4177.js} +3 -3
- package/dist/cjs/{filter-5fb62e9b.js → filter-6058b070.js} +2 -2
- package/dist/cjs/{floating-ui-f6ecca98.js → floating-ui-620b405e.js} +4 -4
- package/dist/cjs/{focusTrapComponent-4d9e6ccd.js → focusTrapComponent-62bebe38.js} +2 -2
- package/dist/cjs/{form-c371049a.js → form-904ca8fd.js} +3 -3
- package/dist/cjs/{guid-1807a24d.js → guid-c22e8f4b.js} +1 -1
- package/dist/cjs/{index-3e4dea97.js → index-8d1f9b3a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-634d8544.js → interactive-c864a65c.js} +1 -1
- package/dist/cjs/{interfaces-e4ec7b38.js → interfaces-cf049fca.js} +1 -1
- package/dist/cjs/{key-2824f134.js → key-519767c3.js} +1 -1
- package/dist/cjs/{label-f585c2fc.js → label-68e8d510.js} +2 -2
- package/dist/cjs/{loadable-1f78702b.js → loadable-a18fc707.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-61080345.js → locale-7d03aa12.js} +4 -4
- package/dist/cjs/{math-58831d1e.js → math-46ed0f41.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-4ef1e3f8.js → nonChromiumPlatformUtils-a42b06f0.js} +6 -6
- package/dist/cjs/{observers-c0e7f2ce.js → observers-8f79f42f.js} +1 -1
- package/dist/cjs/{openCloseComponent-8583195c.js → openCloseComponent-e466804f.js} +2 -2
- package/dist/cjs/{resources-e9bcf28f.js → resources-59314538.js} +1 -1
- package/dist/cjs/{resources-f54fa3c0.js → resources-60b29689.js} +5 -5
- package/dist/cjs/{resources-c224a779.js → resources-6ddd5c61.js} +1 -1
- package/dist/cjs/{resources-77ccdca5.js → resources-8fcd60ab.js} +1 -1
- package/dist/cjs/{resources-81491767.js → resources-ceae3c06.js} +3 -3
- package/dist/cjs/{resources-c566547b.js → resources-e5d4a15a.js} +1 -1
- package/dist/cjs/{sortable.esm-5db6ac81.js → sortable.esm-5e9ae757.js} +1 -1
- package/dist/cjs/{utils-67a4a709.js → utils-3a75b3c1.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +7 -7
- package/dist/collection/components/alert/alert.js +24 -25
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +5 -5
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +78 -43
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +11 -26
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +5 -5
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +6 -6
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +2 -2
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +21 -22
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +26 -27
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +5 -5
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +5 -5
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +5 -11
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-c605f145.js → ExpandToggle-c3c33d72.js} +5 -5
- package/dist/esm/{Heading-c1d98ff8.js → Heading-caeffd16.js} +2 -2
- package/dist/esm/{app-globals-abf0cf34.js → app-globals-159efa9a.js} +2 -2
- package/dist/esm/{array-5a406577.js → array-4e64f3b3.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +29 -30
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +10 -10
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +38 -39
- package/dist/esm/calcite-date-picker_4.entry.js +15 -21
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +20 -20
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +10 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -12
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-fc8dd0e4.js → conditionalSlot-0ff48e7e.js} +3 -3
- package/dist/esm/{debounce-ed45cb97.js → debounce-1466ff89.js} +1 -1
- package/dist/esm/{dom-f6a052a1.js → dom-cb6da365.js} +3 -3
- package/dist/esm/{filter-f59752b8.js → filter-3701828b.js} +2 -2
- package/dist/esm/{floating-ui-32b54b95.js → floating-ui-ed2fa878.js} +4 -4
- package/dist/esm/{focusTrapComponent-e6448cf1.js → focusTrapComponent-b3819d8f.js} +2 -2
- package/dist/esm/{form-fd5796e1.js → form-bd999d94.js} +3 -3
- package/dist/esm/{guid-0b34ee2b.js → guid-a54d5b0e.js} +1 -1
- package/dist/esm/{index-b231e299.js → index-526fe44f.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0323b57d.js → interactive-ac7977e6.js} +1 -1
- package/dist/esm/{interfaces-9a8ed539.js → interfaces-101060cc.js} +1 -1
- package/dist/esm/{key-b7839da3.js → key-264e9932.js} +1 -1
- package/dist/esm/{label-6c2b4d64.js → label-5a949f45.js} +2 -2
- package/dist/esm/{loadable-6f07e719.js → loadable-7d16143a.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-cc234095.js → locale-e8129737.js} +4 -4
- package/dist/esm/{math-28a110a0.js → math-3f0b58e1.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-29b25719.js → nonChromiumPlatformUtils-98c88830.js} +6 -6
- package/dist/esm/{observers-c3451752.js → observers-d3bdba4b.js} +1 -1
- package/dist/esm/{openCloseComponent-bd909725.js → openCloseComponent-4919d532.js} +2 -2
- package/dist/esm/{resources-f50067da.js → resources-1900d9f0.js} +1 -1
- package/dist/esm/{resources-abd9f0c0.js → resources-4748a917.js} +5 -5
- package/dist/esm/{resources-692588b7.js → resources-7201ff09.js} +1 -1
- package/dist/esm/{resources-c7e797de.js → resources-839a8dae.js} +1 -1
- package/dist/esm/{resources-f0f3533f.js → resources-a65ec987.js} +3 -3
- package/dist/esm/{resources-6bbc9c8f.js → resources-e5017586.js} +1 -1
- package/dist/esm/{sortable.esm-e3cc4cfa.js → sortable.esm-fe693e73.js} +1 -1
- package/dist/esm/{utils-7c56e595.js → utils-d608d5b4.js} +1 -1
- package/dist/extras/docs-json.json +73 -33
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/alert/alert.d.ts +4 -4
- package/dist/types/components/chip/chip.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +19 -14
- package/dist/types/components/date-picker/date-picker.d.ts +2 -3
- package/dist/types/components/date-picker/interfaces.d.ts +1 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -1
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components.d.ts +43 -28
- package/dist/types/preact.d.ts +4 -4
- package/hydrate/index.js +63 -71
- package/package.json +1 -1
- package/dist/calcite/p-3161abd6.entry.js +0 -6
- package/dist/calcite/p-4238a453.entry.js +0 -6
- package/dist/calcite/p-562b8752.entry.js +0 -6
- package/dist/calcite/p-791f0956.entry.js +0 -6
- package/dist/calcite/p-7930cc5c.js +0 -6
- package/dist/calcite/p-84872066.entry.js +0 -6
- package/dist/calcite/p-a0a70193.entry.js +0 -6
- package/dist/calcite/p-a63e4a99.js +0 -6
- package/dist/calcite/p-a6b4e9c3.entry.js +0 -6
- package/dist/calcite/p-c26e3eb5.js +0 -6
- package/dist/calcite/p-f1ed4ccf.entry.js +0 -6
- package/dist/calcite/p-fff432a5.entry.js +0 -6
- package/dist/collection/components/date-picker/interfaces.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { s as slotChangeHasAssignedElement, b as setRequestedIcon, t as toAriaBoolean, g as getSlotted } from './dom-
|
|
8
|
-
import { S as StatusIcons } from './interfaces-
|
|
9
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
10
|
-
import { c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale-
|
|
11
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
12
|
-
import './resources-
|
|
13
|
-
import './guid-
|
|
14
|
-
import './key-
|
|
15
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { s as slotChangeHasAssignedElement, b as setRequestedIcon, t as toAriaBoolean, g as getSlotted } from './dom-cb6da365.js';
|
|
8
|
+
import { S as StatusIcons } from './interfaces-101060cc.js';
|
|
9
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-4919d532.js';
|
|
10
|
+
import { c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale-e8129737.js';
|
|
11
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-7d16143a.js';
|
|
12
|
+
import './resources-e5017586.js';
|
|
13
|
+
import './guid-a54d5b0e.js';
|
|
14
|
+
import './key-264e9932.js';
|
|
15
|
+
import './observers-d3bdba4b.js';
|
|
16
16
|
|
|
17
17
|
const TEXT = {
|
|
18
18
|
intlClose: "Close"
|
|
@@ -34,7 +34,7 @@ const CSS = {
|
|
|
34
34
|
close: "alert-close"
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
const alertCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}[hidden]{display:none}.container{display:flex;inline-size:100%;align-items:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-dismiss-duration=fast]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-dismiss-duration=medium]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-dismiss-duration=slow]) .alert-dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
|
|
37
|
+
const alertCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}[hidden]{display:none}.container{display:flex;inline-size:100%;align-items:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-close])>.alert-queue-count{border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-close-duration=fast]) .alert-dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .alert-dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .alert-dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .alert-dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .alert-dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
|
|
38
38
|
|
|
39
39
|
const Alert = class {
|
|
40
40
|
constructor(hostRef) {
|
|
@@ -45,7 +45,7 @@ const Alert = class {
|
|
|
45
45
|
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 6);
|
|
46
46
|
this.calciteInternalAlertSync = createEvent(this, "calciteInternalAlertSync", 6);
|
|
47
47
|
this.calciteInternalAlertRegister = createEvent(this, "calciteInternalAlertRegister", 6);
|
|
48
|
-
this.
|
|
48
|
+
this.autoCloseTimeoutId = null;
|
|
49
49
|
this.remainingPausedTimeout = 0;
|
|
50
50
|
this.openTransitionProp = "opacity";
|
|
51
51
|
//--------------------------------------------------------------------------
|
|
@@ -59,7 +59,7 @@ const Alert = class {
|
|
|
59
59
|
};
|
|
60
60
|
/** close and emit calciteInternalAlertSync event with the updated queue payload */
|
|
61
61
|
this.closeAlert = () => {
|
|
62
|
-
this.
|
|
62
|
+
this.autoCloseTimeoutId = null;
|
|
63
63
|
this.queued = false;
|
|
64
64
|
this.open = false;
|
|
65
65
|
this.queue = this.queue.filter((el) => el !== this.el);
|
|
@@ -70,16 +70,15 @@ const Alert = class {
|
|
|
70
70
|
this.hasEndActions = slotChangeHasAssignedElement(event);
|
|
71
71
|
};
|
|
72
72
|
this.handleMouseOver = () => {
|
|
73
|
-
window.clearTimeout(this.
|
|
74
|
-
this.remainingPausedTimeout =
|
|
75
|
-
DURATIONS[this.autoDismissDuration] - Date.now() - this.trackTimer;
|
|
73
|
+
window.clearTimeout(this.autoCloseTimeoutId);
|
|
74
|
+
this.remainingPausedTimeout = DURATIONS[this.autoCloseDuration] - Date.now() - this.trackTimer;
|
|
76
75
|
};
|
|
77
76
|
this.handleMouseLeave = () => {
|
|
78
|
-
this.
|
|
77
|
+
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), this.remainingPausedTimeout);
|
|
79
78
|
};
|
|
80
79
|
this.open = false;
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
80
|
+
this.autoClose = false;
|
|
81
|
+
this.autoCloseDuration = this.autoClose ? "medium" : null;
|
|
83
82
|
this.color = "blue";
|
|
84
83
|
this.icon = undefined;
|
|
85
84
|
this.intlClose = TEXT.intlClose;
|
|
@@ -107,9 +106,9 @@ const Alert = class {
|
|
|
107
106
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
108
107
|
}
|
|
109
108
|
updateDuration() {
|
|
110
|
-
if (this.
|
|
111
|
-
window.clearTimeout(this.
|
|
112
|
-
this.
|
|
109
|
+
if (this.autoClose && this.autoCloseTimeoutId) {
|
|
110
|
+
window.clearTimeout(this.autoCloseTimeoutId);
|
|
111
|
+
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration] - (Date.now() - this.trackTimer));
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
//--------------------------------------------------------------------------
|
|
@@ -134,7 +133,7 @@ const Alert = class {
|
|
|
134
133
|
setComponentLoaded(this);
|
|
135
134
|
}
|
|
136
135
|
disconnectedCallback() {
|
|
137
|
-
window.clearTimeout(this.
|
|
136
|
+
window.clearTimeout(this.autoCloseTimeoutId);
|
|
138
137
|
window.clearTimeout(this.queueTimeout);
|
|
139
138
|
disconnectOpenCloseComponent(this);
|
|
140
139
|
disconnectLocalized(this);
|
|
@@ -150,15 +149,15 @@ const Alert = class {
|
|
|
150
149
|
const queueNumber = this.queueLength > 2 ? this.queueLength - 1 : 1;
|
|
151
150
|
const queueText = numberStringFormatter.numberFormatter.format(queueNumber);
|
|
152
151
|
const queueCount = (h("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
|
153
|
-
const { open,
|
|
154
|
-
const role =
|
|
152
|
+
const { open, autoClose, label, placement, queued, requestedIcon } = this;
|
|
153
|
+
const role = autoClose ? "alert" : "alertdialog";
|
|
155
154
|
const hidden = !open;
|
|
156
155
|
const slotNode = (h("slot", { key: "actionsEndSlot", name: SLOTS.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler }));
|
|
157
156
|
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
158
157
|
container: true,
|
|
159
158
|
queued,
|
|
160
159
|
[placement]: true
|
|
161
|
-
}, onPointerOut: this.
|
|
160
|
+
}, onPointerOut: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null, onPointerOver: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, ref: this.setTransitionEl }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), h("div", { class: CSS.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
162
161
|
}
|
|
163
162
|
// when an alert is opened or closed, update queue and determine active alert
|
|
164
163
|
alertSync(event) {
|
|
@@ -201,9 +200,9 @@ const Alert = class {
|
|
|
201
200
|
determineActiveAlert() {
|
|
202
201
|
if (this.queue?.[0] === this.el) {
|
|
203
202
|
this.openAlert();
|
|
204
|
-
if (this.
|
|
203
|
+
if (this.autoClose && !this.autoCloseTimeoutId) {
|
|
205
204
|
this.trackTimer = Date.now();
|
|
206
|
-
this.
|
|
205
|
+
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration]);
|
|
207
206
|
}
|
|
208
207
|
}
|
|
209
208
|
else {
|
|
@@ -232,7 +231,7 @@ const Alert = class {
|
|
|
232
231
|
"open": ["openHandler"],
|
|
233
232
|
"icon": ["updateRequestedIcon"],
|
|
234
233
|
"color": ["updateRequestedIcon"],
|
|
235
|
-
"
|
|
234
|
+
"autoCloseDuration": ["updateDuration"]
|
|
236
235
|
}; }
|
|
237
236
|
};
|
|
238
237
|
Alert.style = alertCss;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { h as hexToRGB, i as isValidHex } from './utils-
|
|
8
|
-
import { e as getThemeName } from './dom-
|
|
9
|
-
import './resources-
|
|
10
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { h as hexToRGB, i as isValidHex } from './utils-d608d5b4.js';
|
|
8
|
+
import { e as getThemeName } from './dom-cb6da365.js';
|
|
9
|
+
import './resources-e5017586.js';
|
|
10
|
+
import './guid-a54d5b0e.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Convert a string to a valid hex by hashing its contents
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, t as toAriaBoolean, a as getElementDir } from './dom-
|
|
8
|
-
import { H as Heading } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { g as guid } from './guid-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { g as getSlotted, t as toAriaBoolean, a as getElementDir } from './dom-cb6da365.js';
|
|
8
|
+
import { H as Heading } from './Heading-caeffd16.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0ff48e7e.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ac7977e6.js';
|
|
11
|
+
import { g as guid } from './guid-a54d5b0e.js';
|
|
12
|
+
import { i as isActivationKey } from './key-264e9932.js';
|
|
13
|
+
import './resources-e5017586.js';
|
|
14
|
+
import './observers-d3bdba4b.js';
|
|
15
15
|
|
|
16
16
|
const CSS$1 = {
|
|
17
17
|
container: "container",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { s as submitForm, r as resetForm } from './form-
|
|
12
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { c as closestElementCrossShadowBoundary } from './dom-cb6da365.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5a949f45.js';
|
|
9
|
+
import { c as createObserver } from './observers-d3bdba4b.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ac7977e6.js';
|
|
11
|
+
import { s as submitForm, r as resetForm } from './form-bd999d94.js';
|
|
12
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-7d16143a.js';
|
|
13
|
+
import './resources-e5017586.js';
|
|
14
|
+
import './guid-a54d5b0e.js';
|
|
15
15
|
|
|
16
16
|
(function(prototype) {
|
|
17
17
|
if (typeof prototype.requestSubmit == "function") return
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, g as getSlotted } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './resources-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { t as toAriaBoolean, g as getSlotted } from './dom-cb6da365.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0ff48e7e.js';
|
|
9
|
+
import './resources-e5017586.js';
|
|
10
|
+
import './guid-a54d5b0e.js';
|
|
11
|
+
import './observers-d3bdba4b.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
container: "container",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { t as toAriaBoolean } from './dom-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
14
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { g as guid } from './guid-a54d5b0e.js';
|
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-bd999d94.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5a949f45.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ac7977e6.js';
|
|
11
|
+
import { t as toAriaBoolean } from './dom-cb6da365.js';
|
|
12
|
+
import { i as isActivationKey } from './key-264e9932.js';
|
|
13
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-7d16143a.js';
|
|
14
|
+
import './resources-e5017586.js';
|
|
15
15
|
|
|
16
16
|
const checkboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
17
17
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { g as guid } from './guid-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { g as getSlotted } from './dom-cb6da365.js';
|
|
8
|
+
import { g as guid } from './guid-a54d5b0e.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0ff48e7e.js';
|
|
10
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-7d16143a.js';
|
|
11
|
+
import './resources-e5017586.js';
|
|
12
|
+
import './observers-d3bdba4b.js';
|
|
13
13
|
|
|
14
14
|
const CSS = {
|
|
15
15
|
title: "title",
|
|
@@ -33,7 +33,7 @@ const chipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0
|
|
|
33
33
|
const Chip = class {
|
|
34
34
|
constructor(hostRef) {
|
|
35
35
|
registerInstance(this, hostRef);
|
|
36
|
-
this.
|
|
36
|
+
this.calciteChipClose = createEvent(this, "calciteChipClose", 6);
|
|
37
37
|
// --------------------------------------------------------------------------
|
|
38
38
|
//
|
|
39
39
|
// Private Methods
|
|
@@ -41,7 +41,7 @@ const Chip = class {
|
|
|
41
41
|
// --------------------------------------------------------------------------
|
|
42
42
|
this.closeClickHandler = (event) => {
|
|
43
43
|
event.preventDefault();
|
|
44
|
-
this.
|
|
44
|
+
this.calciteChipClose.emit(this.el);
|
|
45
45
|
this.closed = true;
|
|
46
46
|
};
|
|
47
47
|
this.guid = guid();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, e as getThemeName } from './dom-
|
|
8
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-
|
|
9
|
-
import { c as clamp } from './math-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { i as isActivationKey } from './key-
|
|
12
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
13
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
14
|
-
import './resources-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, e as getThemeName } from './dom-cb6da365.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-d608d5b4.js';
|
|
9
|
+
import { c as clamp } from './math-3f0b58e1.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-ac7977e6.js';
|
|
11
|
+
import { i as isActivationKey } from './key-264e9932.js';
|
|
12
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-7d16143a.js';
|
|
13
|
+
import { d as debounce, i as isObject } from './debounce-1466ff89.js';
|
|
14
|
+
import './resources-e5017586.js';
|
|
15
|
+
import './guid-a54d5b0e.js';
|
|
16
16
|
|
|
17
17
|
/** Error message constants. */
|
|
18
18
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.677
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as filter } from './filter-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-
|
|
9
|
-
import { g as guid } from './guid-
|
|
10
|
-
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, h as getElementProp, g as getSlotted } from './dom-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import { u as updateHostInteraction } from './interactive-
|
|
15
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
16
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
17
|
-
import { d as debounce } from './debounce-
|
|
18
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
19
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-526fe44f.js';
|
|
7
|
+
import { f as filter } from './filter-3701828b.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-ed2fa878.js';
|
|
9
|
+
import { g as guid } from './guid-a54d5b0e.js';
|
|
10
|
+
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, h as getElementProp, g as getSlotted } from './dom-cb6da365.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5a949f45.js';
|
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-bd999d94.js';
|
|
13
|
+
import { c as createObserver } from './observers-d3bdba4b.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-ac7977e6.js';
|
|
15
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-4919d532.js';
|
|
16
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-7d16143a.js';
|
|
17
|
+
import { d as debounce } from './debounce-1466ff89.js';
|
|
18
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0ff48e7e.js';
|
|
19
|
+
import './resources-e5017586.js';
|
|
20
20
|
|
|
21
21
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
22
22
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -58,7 +58,7 @@ const Combobox = class {
|
|
|
58
58
|
registerInstance(this, hostRef);
|
|
59
59
|
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 6);
|
|
60
60
|
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 6);
|
|
61
|
-
this.
|
|
61
|
+
this.calciteComboboxChipClose = createEvent(this, "calciteComboboxChipClose", 6);
|
|
62
62
|
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 6);
|
|
63
63
|
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 6);
|
|
64
64
|
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 6);
|
|
@@ -158,7 +158,7 @@ const Combobox = class {
|
|
|
158
158
|
return;
|
|
159
159
|
}
|
|
160
160
|
event.preventDefault();
|
|
161
|
-
this.updateActiveItemIndex(this.
|
|
161
|
+
this.updateActiveItemIndex(this.filteredItems.length - 1);
|
|
162
162
|
this.scrollToActiveItem();
|
|
163
163
|
if (!this.comboboxInViewport()) {
|
|
164
164
|
this.el.scrollIntoView();
|
|
@@ -170,7 +170,7 @@ const Combobox = class {
|
|
|
170
170
|
break;
|
|
171
171
|
case "Enter":
|
|
172
172
|
if (this.activeItemIndex > -1) {
|
|
173
|
-
this.toggleSelection(this.
|
|
173
|
+
this.toggleSelection(this.filteredItems[this.activeItemIndex]);
|
|
174
174
|
event.preventDefault();
|
|
175
175
|
}
|
|
176
176
|
else if (this.activeChipIndex > -1) {
|
|
@@ -219,13 +219,13 @@ const Combobox = class {
|
|
|
219
219
|
listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
|
|
220
220
|
await this.reposition(true);
|
|
221
221
|
};
|
|
222
|
-
this.
|
|
222
|
+
this.calciteChipCloseHandler = (comboboxItem) => {
|
|
223
223
|
this.open = false;
|
|
224
224
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
225
225
|
if (selection) {
|
|
226
226
|
this.toggleSelection(selection, false);
|
|
227
227
|
}
|
|
228
|
-
this.
|
|
228
|
+
this.calciteComboboxChipClose.emit();
|
|
229
229
|
};
|
|
230
230
|
this.clickHandler = (event) => {
|
|
231
231
|
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
@@ -300,13 +300,12 @@ const Combobox = class {
|
|
|
300
300
|
item.ancestors.forEach((ancestor) => (ancestor.hidden = false));
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
|
-
this.
|
|
304
|
-
this.calciteComboboxFilterChange.emit(
|
|
303
|
+
this.filteredItems = this.getfilteredItems();
|
|
304
|
+
this.calciteComboboxFilterChange.emit();
|
|
305
305
|
}, 100);
|
|
306
306
|
})();
|
|
307
307
|
this.internalComboboxChangeEvent = () => {
|
|
308
|
-
|
|
309
|
-
this.calciteComboboxChange.emit({ selectedItems });
|
|
308
|
+
this.calciteComboboxChange.emit();
|
|
310
309
|
};
|
|
311
310
|
this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);
|
|
312
311
|
this.updateItems = () => {
|
|
@@ -314,14 +313,14 @@ const Combobox = class {
|
|
|
314
313
|
this.groupItems = this.getGroupItems();
|
|
315
314
|
this.data = this.getData();
|
|
316
315
|
this.selectedItems = this.getSelectedItems();
|
|
317
|
-
this.
|
|
316
|
+
this.filteredItems = this.getfilteredItems();
|
|
318
317
|
this.needsIcon = this.getNeedsIcon();
|
|
319
318
|
if (!this.allowCustomValues) {
|
|
320
319
|
this.setMaxScrollerHeight();
|
|
321
320
|
}
|
|
322
321
|
};
|
|
323
322
|
this.scrollToActiveItem = () => {
|
|
324
|
-
const activeItem = this.
|
|
323
|
+
const activeItem = this.filteredItems[this.activeItemIndex];
|
|
325
324
|
const height = this.calculateSingleItemHeight(activeItem);
|
|
326
325
|
const { offsetHeight, scrollTop } = this.listContainerEl;
|
|
327
326
|
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
|
@@ -352,10 +351,10 @@ const Combobox = class {
|
|
|
352
351
|
this.value = null;
|
|
353
352
|
this.intlRemoveTag = TEXT.removeTag;
|
|
354
353
|
this.flipPlacements = undefined;
|
|
354
|
+
this.selectedItems = [];
|
|
355
|
+
this.filteredItems = [];
|
|
355
356
|
this.items = [];
|
|
356
357
|
this.groupItems = [];
|
|
357
|
-
this.selectedItems = [];
|
|
358
|
-
this.visibleItems = [];
|
|
359
358
|
this.needsIcon = undefined;
|
|
360
359
|
this.activeItemIndex = -1;
|
|
361
360
|
this.activeChipIndex = -1;
|
|
@@ -402,6 +401,11 @@ const Combobox = class {
|
|
|
402
401
|
this.setFilteredPlacements();
|
|
403
402
|
this.reposition(true);
|
|
404
403
|
}
|
|
404
|
+
selectedItemsHandler() {
|
|
405
|
+
this.internalValueChangeFlag = true;
|
|
406
|
+
this.value = this.getValue();
|
|
407
|
+
this.internalValueChangeFlag = false;
|
|
408
|
+
}
|
|
405
409
|
//--------------------------------------------------------------------------
|
|
406
410
|
//
|
|
407
411
|
// Event Listeners
|
|
@@ -418,7 +422,7 @@ const Combobox = class {
|
|
|
418
422
|
return;
|
|
419
423
|
}
|
|
420
424
|
const target = event.target;
|
|
421
|
-
const newIndex = this.
|
|
425
|
+
const newIndex = this.filteredItems.indexOf(target);
|
|
422
426
|
this.updateActiveItemIndex(newIndex);
|
|
423
427
|
this.toggleSelection(target, target.selected);
|
|
424
428
|
}
|
|
@@ -493,11 +497,6 @@ const Combobox = class {
|
|
|
493
497
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
494
498
|
disconnectOpenCloseComponent(this);
|
|
495
499
|
}
|
|
496
|
-
selectedItemsHandler() {
|
|
497
|
-
this.internalValueChangeFlag = true;
|
|
498
|
-
this.value = this.getValue();
|
|
499
|
-
this.internalValueChangeFlag = false;
|
|
500
|
-
}
|
|
501
500
|
/** when search text is cleared, reset active to */
|
|
502
501
|
textHandler() {
|
|
503
502
|
this.updateActiveItemIndex(-1);
|
|
@@ -600,7 +599,7 @@ const Combobox = class {
|
|
|
600
599
|
});
|
|
601
600
|
}
|
|
602
601
|
}
|
|
603
|
-
|
|
602
|
+
getfilteredItems() {
|
|
604
603
|
return this.items.filter((item) => !item.hidden);
|
|
605
604
|
}
|
|
606
605
|
getSelectedItems() {
|
|
@@ -708,7 +707,7 @@ const Combobox = class {
|
|
|
708
707
|
chip?.setFocus();
|
|
709
708
|
}
|
|
710
709
|
shiftActiveItemIndex(delta) {
|
|
711
|
-
const { length } = this.
|
|
710
|
+
const { length } = this.filteredItems;
|
|
712
711
|
const newIndex = (this.activeItemIndex + length + delta) % length;
|
|
713
712
|
this.updateActiveItemIndex(newIndex);
|
|
714
713
|
this.scrollToActiveItem();
|
|
@@ -716,7 +715,7 @@ const Combobox = class {
|
|
|
716
715
|
updateActiveItemIndex(index) {
|
|
717
716
|
this.activeItemIndex = index;
|
|
718
717
|
let activeDescendant = null;
|
|
719
|
-
this.
|
|
718
|
+
this.filteredItems.forEach((el, i) => {
|
|
720
719
|
if (i === index) {
|
|
721
720
|
el.active = true;
|
|
722
721
|
activeDescendant = `${itemUidPrefix}${el.guid}`;
|
|
@@ -748,7 +747,7 @@ const Combobox = class {
|
|
|
748
747
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
749
748
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
750
749
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
751
|
-
return (h("calcite-chip", { class: chipClasses, closable: true, dismissLabel: intlRemoveTag, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel,
|
|
750
|
+
return (h("calcite-chip", { class: chipClasses, closable: true, dismissLabel: intlRemoveTag, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipClose: () => this.calciteChipCloseHandler(item), scale: scale, title: label, value: item.value }, label));
|
|
752
751
|
});
|
|
753
752
|
}
|
|
754
753
|
renderInput() {
|
|
@@ -771,7 +770,7 @@ const Combobox = class {
|
|
|
771
770
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
|
|
772
771
|
}
|
|
773
772
|
renderListBoxOptions() {
|
|
774
|
-
return this.
|
|
773
|
+
return this.filteredItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
775
774
|
}
|
|
776
775
|
renderFloatingUIContainer() {
|
|
777
776
|
const { setFloatingEl, setContainerEl, open } = this;
|