@esri/calcite-components 1.0.0-next.667 → 1.0.0-next.669
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-8127632d.js → p-008ba409.js} +1 -1
- package/dist/calcite/{p-25741897.entry.js → p-02ad2e86.entry.js} +2 -2
- package/dist/calcite/{p-a1713cf6.entry.js → p-037ba1bd.entry.js} +2 -2
- package/dist/calcite/{p-dacd7155.js → p-08b308a6.js} +2 -2
- package/dist/calcite/{p-6c1f76a1.entry.js → p-095029d2.entry.js} +2 -2
- package/dist/calcite/{p-b626bddd.entry.js → p-0c9508d6.entry.js} +2 -2
- package/dist/calcite/{p-dbf705b2.entry.js → p-0e1da6f7.entry.js} +2 -2
- package/dist/calcite/{p-3a0d1605.entry.js → p-1275080e.entry.js} +2 -2
- package/dist/calcite/{p-52764192.entry.js → p-161e7210.entry.js} +2 -2
- package/dist/calcite/{p-d1ba6207.js → p-16efd53b.js} +1 -1
- package/dist/calcite/{p-d96ada1a.entry.js → p-1e7e7925.entry.js} +2 -2
- package/dist/calcite/{p-7cbaddf7.js → p-27652fe0.js} +2 -2
- package/dist/calcite/{p-7b393c84.entry.js → p-2a168afa.entry.js} +2 -2
- package/dist/calcite/{p-1fb746de.entry.js → p-2bee56b0.entry.js} +2 -2
- package/dist/calcite/{p-2c1ae533.js → p-2ce84b1b.js} +2 -2
- package/dist/calcite/{p-32467d47.js → p-2d3862ce.js} +2 -2
- package/dist/calcite/{p-c8854bbe.entry.js → p-2d574c12.entry.js} +2 -2
- package/dist/calcite/{p-0f247aeb.entry.js → p-32658b44.entry.js} +2 -2
- package/dist/calcite/{p-073c5ae1.js → p-3492b1c3.js} +2 -2
- package/dist/calcite/{p-4f13c386.entry.js → p-35b86ad3.entry.js} +2 -2
- package/dist/calcite/{p-608a7580.entry.js → p-3e12279c.entry.js} +2 -2
- package/dist/calcite/{p-47980f7d.entry.js → p-40db2148.entry.js} +2 -2
- package/dist/calcite/{p-ed02a21a.entry.js → p-42819e58.entry.js} +2 -2
- package/dist/calcite/{p-01030696.entry.js → p-42b2b171.entry.js} +2 -2
- package/dist/calcite/{p-99b5b20f.entry.js → p-46db2512.entry.js} +2 -2
- package/dist/calcite/{p-c3d2aa60.js → p-47e3dd9a.js} +1 -1
- package/dist/calcite/{p-d7267559.entry.js → p-4a87e4ca.entry.js} +2 -2
- package/dist/calcite/{p-a5aee43d.js → p-4cdfc255.js} +2 -2
- package/dist/calcite/{p-6261d20e.entry.js → p-4e343abd.entry.js} +2 -2
- package/dist/calcite/{p-958e2704.entry.js → p-56b15e7e.entry.js} +2 -2
- package/dist/calcite/{p-a5e2970d.js → p-5ad13158.js} +1 -1
- package/dist/calcite/{p-9e6014d2.js → p-5c12be98.js} +1 -1
- package/dist/calcite/{p-40197b0d.entry.js → p-5cb1f452.entry.js} +2 -2
- package/dist/calcite/{p-b1a286ab.entry.js → p-600f1e28.entry.js} +2 -2
- package/dist/calcite/{p-40cf7a5d.entry.js → p-611f671d.entry.js} +2 -2
- package/dist/calcite/{p-22df71ea.js → p-61d6aa33.js} +2 -2
- package/dist/calcite/{p-fc9a23c0.entry.js → p-62c20a76.entry.js} +2 -2
- package/dist/calcite/{p-694d0c85.js → p-64b2a819.js} +2 -2
- package/dist/calcite/{p-65508879.entry.js → p-6639ccc5.entry.js} +2 -2
- package/dist/calcite/{p-f7457303.js → p-6697083d.js} +2 -2
- package/dist/calcite/{p-dd725686.entry.js → p-66de7505.entry.js} +2 -2
- package/dist/calcite/{p-456496a2.entry.js → p-74823a77.entry.js} +2 -2
- package/dist/calcite/p-76551754.js +6 -0
- package/dist/calcite/{p-3defbd1e.js → p-76c87f94.js} +1 -1
- package/dist/calcite/p-79eef295.entry.js +6 -0
- package/dist/calcite/p-811e41c1.js +15 -0
- package/dist/calcite/{p-5681e2d8.entry.js → p-83599fbc.entry.js} +2 -2
- package/dist/calcite/{p-0c47935f.js → p-83afad85.js} +1 -1
- package/dist/calcite/{p-2058fc82.entry.js → p-86e49366.entry.js} +2 -2
- package/dist/calcite/p-89ef1d19.js +6 -0
- package/dist/calcite/{p-d35660c8.entry.js → p-8adc84b2.entry.js} +2 -2
- package/dist/calcite/{p-5ee9d2e2.entry.js → p-8dc0be3c.entry.js} +2 -2
- package/dist/calcite/p-8dd473b8.js +6 -0
- package/dist/calcite/{p-bd23f272.entry.js → p-94524fbb.entry.js} +2 -2
- package/dist/calcite/{p-0d7f5d14.entry.js → p-99078fca.entry.js} +2 -2
- package/dist/calcite/{p-bd4919cf.entry.js → p-9c050f02.entry.js} +2 -2
- package/dist/calcite/{p-59dc19bc.entry.js → p-a63beca4.entry.js} +2 -2
- package/dist/calcite/{p-47f1afa8.entry.js → p-a8153ef8.entry.js} +2 -2
- package/dist/calcite/{p-64b04c94.entry.js → p-a82cbd50.entry.js} +2 -2
- package/dist/calcite/{p-b478f8ea.js → p-b05c1da5.js} +1 -1
- package/dist/calcite/{p-9f356f2a.entry.js → p-b080149f.entry.js} +2 -2
- package/dist/calcite/{p-db4326f2.entry.js → p-b3835ee4.entry.js} +2 -2
- package/dist/calcite/{p-77d57e31.entry.js → p-b448fb81.entry.js} +2 -2
- package/dist/calcite/{p-b3bcbd73.js → p-b461bf50.js} +1 -1
- package/dist/calcite/{p-15398b5d.js → p-b92a61ca.js} +1 -1
- package/dist/calcite/{p-ddfc0600.entry.js → p-bb9d2917.entry.js} +2 -2
- package/dist/calcite/{p-eab96937.entry.js → p-bc4f03f0.entry.js} +2 -2
- package/dist/calcite/{p-c042d804.js → p-bd1deade.js} +2 -2
- package/dist/calcite/p-c0361e41.entry.js +6 -0
- package/dist/calcite/{p-c7e894f6.entry.js → p-c11a0fe5.entry.js} +2 -2
- package/dist/calcite/{p-dd57dc49.entry.js → p-c2fed027.entry.js} +2 -2
- package/dist/calcite/p-c309fa6a.entry.js +6 -0
- package/dist/calcite/p-c6d33868.entry.js +6 -0
- package/dist/calcite/{p-62e62c0f.js → p-c72e0f1f.js} +1 -1
- package/dist/calcite/{p-cdc6bfd5.entry.js → p-ca22aec2.entry.js} +2 -2
- package/dist/calcite/{p-ed8e4d06.entry.js → p-cada8908.entry.js} +2 -2
- package/dist/calcite/{p-7755fc88.js → p-d3f4a1e9.js} +1 -1
- package/dist/calcite/{p-c79c1982.js → p-d44630f3.js} +1 -1
- package/dist/calcite/{p-3a35379b.entry.js → p-d714407b.entry.js} +2 -2
- package/dist/calcite/{p-0755bd23.entry.js → p-d9b0faa4.entry.js} +2 -2
- package/dist/calcite/{p-78157cb7.js → p-df3ad4d4.js} +1 -1
- package/dist/calcite/{p-fd7b18d7.entry.js → p-e6e20a23.entry.js} +2 -2
- package/dist/calcite/{p-03d78983.js → p-eaa7cc97.js} +1 -1
- package/dist/calcite/{p-4cf837f9.entry.js → p-efe6c506.entry.js} +2 -2
- package/dist/calcite/{p-6e5c51bb.entry.js → p-f042a7d6.entry.js} +2 -2
- package/dist/calcite/{p-bba38de3.entry.js → p-f22a1c4f.entry.js} +2 -2
- package/dist/calcite/{p-13fbe129.entry.js → p-f810712a.entry.js} +2 -2
- package/dist/calcite/{p-6b3eee56.js → p-f81d1a3e.js} +1 -1
- package/dist/calcite/p-fa96cfd3.entry.js +6 -0
- package/dist/calcite/{p-f5349cf2.js → p-fcaf6ad4.js} +2 -2
- package/dist/calcite/{p-d72926e7.entry.js → p-ffd5ecaa.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-c7efbd2a.js → ExpandToggle-0fae493d.js} +5 -5
- package/dist/cjs/{Heading-da5cd23e.js → Heading-c4ea8d5a.js} +2 -2
- package/dist/cjs/{app-globals-d881811a.js → app-globals-25e9c643.js} +2 -2
- package/dist/cjs/{array-81515165.js → array-e070cf74.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 +11 -11
- 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 +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
- 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 +18 -26
- 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 +20 -11
- 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 +21 -16
- 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 +8 -8
- 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-4bf7bca5.js → conditionalSlot-efbf8152.js} +3 -3
- package/dist/cjs/{debounce-5e28974e.js → debounce-35d90e6c.js} +1 -1
- package/dist/cjs/{dom-0654c064.js → dom-9614ecc3.js} +3 -3
- package/dist/cjs/{filter-91d2cc3a.js → filter-0192a0e8.js} +2 -2
- package/dist/cjs/{floating-ui-07fc7473.js → floating-ui-907c2823.js} +4 -4
- package/dist/cjs/{focusTrapComponent-6ffd7c3f.js → focusTrapComponent-db23bb37.js} +24 -12
- package/dist/cjs/{form-92ffa02f.js → form-86b7aeae.js} +3 -3
- package/dist/cjs/{guid-08105e39.js → guid-d4b3835f.js} +1 -1
- package/dist/cjs/{index-ad699299.js → index-4fcb5d1b.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a92bbb4d.js → interactive-2dee96cf.js} +1 -1
- package/dist/cjs/{interfaces-2a5fd60b.js → interfaces-35bdcc57.js} +1 -1
- package/dist/cjs/{key-77c177b3.js → key-6fcfe6a5.js} +1 -1
- package/dist/cjs/{label-9a0266e2.js → label-09cb2e21.js} +2 -2
- package/dist/cjs/{loadable-09d8541e.js → loadable-b0c55dac.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-a467420e.js → locale-dc73c369.js} +4 -4
- package/dist/cjs/{math-8c4ae427.js → math-1daf4b68.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-4c5882f6.js → nonChromiumPlatformUtils-be9cae51.js} +6 -6
- package/dist/cjs/{observers-03a8bd44.js → observers-21cd2833.js} +1 -1
- package/dist/cjs/{openCloseComponent-0a12418d.js → openCloseComponent-50bcea8d.js} +2 -2
- package/dist/cjs/{resources-b787eead.js → resources-13280442.js} +1 -1
- package/dist/cjs/{resources-eada9b21.js → resources-6a9564fe.js} +1 -1
- package/dist/cjs/{resources-f8381faa.js → resources-ac3f6dd9.js} +3 -3
- package/dist/cjs/{resources-a431a00c.js → resources-cbfbdd45.js} +1 -1
- package/dist/cjs/{resources-e7022dbd.js → resources-e0b451d0.js} +5 -5
- package/dist/cjs/{resources-7d7423fa.js → resources-f36368d9.js} +1 -1
- package/dist/cjs/{sortable.esm-83487ec3.js → sortable.esm-e51ed6b4.js} +1 -1
- package/dist/cjs/{utils-05059062.js → utils-0eba0902.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.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -34
- 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 +32 -3
- 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 +13 -6
- 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 +1 -1
- 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 +1 -1
- 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 +23 -11
- 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 +1 -1
- 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 +1 -1
- 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 +3 -12
- 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 +13 -3
- 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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +23 -12
- 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 +11 -6
- 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-35cb7532.js → ExpandToggle-5adb5b32.js} +5 -5
- package/dist/esm/{Heading-c300f82d.js → Heading-542e9210.js} +2 -2
- package/dist/esm/{app-globals-7884eee4.js → app-globals-7ebc3205.js} +2 -2
- package/dist/esm/{array-07b3f4ea.js → array-9c067941.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 +11 -11
- 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 +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +11 -11
- 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 +18 -26
- 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 +20 -11
- 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 +21 -16
- 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 +8 -8
- 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-a2f45f27.js → conditionalSlot-f1078097.js} +3 -3
- package/dist/esm/{debounce-d7db6200.js → debounce-33d7a1a6.js} +1 -1
- package/dist/esm/{dom-61137691.js → dom-5de952d5.js} +3 -3
- package/dist/esm/{filter-c989f623.js → filter-210841d2.js} +2 -2
- package/dist/esm/{floating-ui-20d0431b.js → floating-ui-b8591a27.js} +4 -4
- package/dist/esm/{focusTrapComponent-686599b2.js → focusTrapComponent-f8c97f5d.js} +24 -13
- package/dist/esm/{form-c327ae09.js → form-9d84ad18.js} +3 -3
- package/dist/esm/{guid-65019014.js → guid-d7116d52.js} +1 -1
- package/dist/esm/{index-9f11f69c.js → index-f937f146.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f827dbf7.js → interactive-44cac3c8.js} +1 -1
- package/dist/esm/{interfaces-14fb5cce.js → interfaces-b8901ec4.js} +1 -1
- package/dist/esm/{key-845e2564.js → key-56b6ed01.js} +1 -1
- package/dist/esm/{label-fca98b10.js → label-5b5df08f.js} +2 -2
- package/dist/esm/{loadable-c2d4cefb.js → loadable-58288ca5.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-65c0ba26.js → locale-2136f53b.js} +4 -4
- package/dist/esm/{math-fe3fb78e.js → math-63f15f18.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-c08954b9.js → nonChromiumPlatformUtils-63d3b1f4.js} +6 -6
- package/dist/esm/{observers-12e8f59f.js → observers-25600f32.js} +1 -1
- package/dist/esm/{openCloseComponent-ff7c9f64.js → openCloseComponent-364107a7.js} +2 -2
- package/dist/esm/{resources-ff0fb1ba.js → resources-2b0bc48e.js} +1 -1
- package/dist/esm/{resources-e84ee971.js → resources-64953136.js} +5 -5
- package/dist/esm/{resources-8af4650b.js → resources-82db101d.js} +1 -1
- package/dist/esm/{resources-6966aa6d.js → resources-92654248.js} +1 -1
- package/dist/esm/{resources-18aa033e.js → resources-b35aceec.js} +3 -3
- package/dist/esm/{resources-6066bba7.js → resources-c3394ffc.js} +1 -1
- package/dist/esm/{sortable.esm-50085857.js → sortable.esm-4c6b0444.js} +1 -1
- package/dist/esm/{utils-3099d30b.js → utils-91e585ec.js} +1 -1
- package/dist/extras/docs-json.json +18 -24
- 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/input-date-picker/input-date-picker.d.ts +0 -7
- package/dist/types/components/modal/modal.d.ts +5 -0
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components.d.ts +8 -10
- package/dist/types/utils/focusTrapComponent.d.ts +16 -6
- package/hydrate/index.js +46 -29
- package/package.json +1 -1
- package/dist/calcite/p-373608cf.js +0 -6
- package/dist/calcite/p-49ce2f68.entry.js +0 -6
- package/dist/calcite/p-69fbb14e.js +0 -6
- package/dist/calcite/p-6c17734f.entry.js +0 -6
- package/dist/calcite/p-73f0d2eb.entry.js +0 -6
- package/dist/calcite/p-7a7624bd.js +0 -6
- package/dist/calcite/p-d4668d92.js +0 -15
- package/dist/calcite/p-f8f65e49.entry.js +0 -6
- package/dist/calcite/p-ff884037.entry.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
const autoTheme = "calcite-theme-auto";
|
|
7
7
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,10 +1,10 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
|
-
import { e as getAssetPath } from './index-
|
|
7
|
-
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-
|
|
6
|
+
import { e as getAssetPath } from './index-f937f146.js';
|
|
7
|
+
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-2136f53b.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Check if date is within a min and max
|
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-12-
|
|
2
|
+
"timestamp": "2022-12-09T23:57:48",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.20.0",
|
|
@@ -10553,29 +10553,6 @@
|
|
|
10553
10553
|
"Basic": "```html\n<div style=\"width: 400px\">\n <calcite-label layout=\"inline\">\n Date\n <calcite-input-date-picker\n min=\"2016-08-09\"\n max=\"2023-12-18\"\n lang=\"en\"\n intl-next-month=\"Next month\"\n intl-prev-month=\"Previous month\"\n role=\"application\"\n layout=\"horizontal\"\n ></calcite-input-date-picker>\n </calcite-label>\n</div>\n```\n"
|
|
10554
10554
|
},
|
|
10555
10555
|
"props": [
|
|
10556
|
-
{
|
|
10557
|
-
"name": "active",
|
|
10558
|
-
"type": "boolean",
|
|
10559
|
-
"mutable": true,
|
|
10560
|
-
"attr": "active",
|
|
10561
|
-
"reflectToAttr": true,
|
|
10562
|
-
"docs": "When `true`, the component is active.",
|
|
10563
|
-
"docsTags": [
|
|
10564
|
-
{
|
|
10565
|
-
"name": "deprecated",
|
|
10566
|
-
"text": "use `open` instead."
|
|
10567
|
-
}
|
|
10568
|
-
],
|
|
10569
|
-
"default": "false",
|
|
10570
|
-
"deprecation": "use `open` instead.",
|
|
10571
|
-
"values": [
|
|
10572
|
-
{
|
|
10573
|
-
"type": "boolean"
|
|
10574
|
-
}
|
|
10575
|
-
],
|
|
10576
|
-
"optional": false,
|
|
10577
|
-
"required": false
|
|
10578
|
-
},
|
|
10579
10556
|
{
|
|
10580
10557
|
"name": "disabled",
|
|
10581
10558
|
"type": "boolean",
|
|
@@ -14784,6 +14761,23 @@
|
|
|
14784
14761
|
"optional": false,
|
|
14785
14762
|
"required": false
|
|
14786
14763
|
},
|
|
14764
|
+
{
|
|
14765
|
+
"name": "disableFocusTrap",
|
|
14766
|
+
"type": "boolean",
|
|
14767
|
+
"mutable": false,
|
|
14768
|
+
"attr": "disable-focus-trap",
|
|
14769
|
+
"reflectToAttr": true,
|
|
14770
|
+
"docs": "When `true`, prevents focus trapping.",
|
|
14771
|
+
"docsTags": [],
|
|
14772
|
+
"default": "false",
|
|
14773
|
+
"values": [
|
|
14774
|
+
{
|
|
14775
|
+
"type": "boolean"
|
|
14776
|
+
}
|
|
14777
|
+
],
|
|
14778
|
+
"optional": false,
|
|
14779
|
+
"required": false
|
|
14780
|
+
},
|
|
14787
14781
|
{
|
|
14788
14782
|
"name": "disableOutsideClose",
|
|
14789
14783
|
"type": "boolean",
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -58,13 +58,6 @@ export declare class InputDatePicker implements LabelableComponent, FormComponen
|
|
|
58
58
|
/** Specifies the latest allowed date ("yyyy-mm-dd"). */
|
|
59
59
|
max: string;
|
|
60
60
|
onMaxChanged(max: string): void;
|
|
61
|
-
/**
|
|
62
|
-
* When `true`, the component is active.
|
|
63
|
-
*
|
|
64
|
-
* @deprecated use `open` instead.
|
|
65
|
-
*/
|
|
66
|
-
active: boolean;
|
|
67
|
-
activeHandler(value: boolean): void;
|
|
68
61
|
/** When `true`, displays the `calcite-date-picker` component. */
|
|
69
62
|
open: boolean;
|
|
70
63
|
openHandler(value: boolean): void;
|
|
@@ -26,6 +26,11 @@ export declare class Modal implements ConditionalSlotComponent, OpenCloseCompone
|
|
|
26
26
|
beforeClose: (el: HTMLElement) => Promise<void>;
|
|
27
27
|
/** When `true`, disables the component's close button. */
|
|
28
28
|
disableCloseButton: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* When `true`, prevents focus trapping.
|
|
31
|
+
*/
|
|
32
|
+
disableFocusTrap: boolean;
|
|
33
|
+
handleDisableFocusTrap(disableFocusTrap: boolean): void;
|
|
29
34
|
/** When `true`, disables the closing of the component when clicked outside. */
|
|
30
35
|
disableOutsideClose: boolean;
|
|
31
36
|
/** Accessible name for the component's close button. */
|
|
@@ -23,6 +23,7 @@ export declare class Popover implements FloatingUIComponent, OpenCloseComponent,
|
|
|
23
23
|
* When `true`, prevents focus trapping.
|
|
24
24
|
*/
|
|
25
25
|
disableFocusTrap: boolean;
|
|
26
|
+
handleDisableFocusTrap(disableFocusTrap: boolean): void;
|
|
26
27
|
/**
|
|
27
28
|
* When `true`, removes the caret pointer.
|
|
28
29
|
*/
|
|
@@ -1758,11 +1758,6 @@ export namespace Components {
|
|
|
1758
1758
|
"value": string;
|
|
1759
1759
|
}
|
|
1760
1760
|
interface CalciteInputDatePicker {
|
|
1761
|
-
/**
|
|
1762
|
-
* When `true`, the component is active.
|
|
1763
|
-
* @deprecated use `open` instead.
|
|
1764
|
-
*/
|
|
1765
|
-
"active": boolean;
|
|
1766
1761
|
/**
|
|
1767
1762
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
1768
1763
|
*/
|
|
@@ -2533,6 +2528,10 @@ export namespace Components {
|
|
|
2533
2528
|
* When `true`, disables the default close on escape behavior.
|
|
2534
2529
|
*/
|
|
2535
2530
|
"disableEscape": boolean;
|
|
2531
|
+
/**
|
|
2532
|
+
* When `true`, prevents focus trapping.
|
|
2533
|
+
*/
|
|
2534
|
+
"disableFocusTrap": boolean;
|
|
2536
2535
|
/**
|
|
2537
2536
|
* When `true`, disables the closing of the component when clicked outside.
|
|
2538
2537
|
*/
|
|
@@ -6810,11 +6809,6 @@ declare namespace LocalJSX {
|
|
|
6810
6809
|
"value"?: string;
|
|
6811
6810
|
}
|
|
6812
6811
|
interface CalciteInputDatePicker {
|
|
6813
|
-
/**
|
|
6814
|
-
* When `true`, the component is active.
|
|
6815
|
-
* @deprecated use `open` instead.
|
|
6816
|
-
*/
|
|
6817
|
-
"active"?: boolean;
|
|
6818
6812
|
/**
|
|
6819
6813
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
6820
6814
|
*/
|
|
@@ -7558,6 +7552,10 @@ declare namespace LocalJSX {
|
|
|
7558
7552
|
* When `true`, disables the default close on escape behavior.
|
|
7559
7553
|
*/
|
|
7560
7554
|
"disableEscape"?: boolean;
|
|
7555
|
+
/**
|
|
7556
|
+
* When `true`, prevents focus trapping.
|
|
7557
|
+
*/
|
|
7558
|
+
"disableFocusTrap"?: boolean;
|
|
7561
7559
|
/**
|
|
7562
7560
|
* When `true`, disables the closing of the component when clicked outside.
|
|
7563
7561
|
*/
|
|
@@ -3,6 +3,10 @@ import { FocusTrap as _FocusTrap } from "focus-trap";
|
|
|
3
3
|
* Defines interface for components with a focus trap.
|
|
4
4
|
*/
|
|
5
5
|
export interface FocusTrapComponent {
|
|
6
|
+
/**
|
|
7
|
+
* When `true`, prevents focus trapping.
|
|
8
|
+
*/
|
|
9
|
+
disableFocusTrap: boolean;
|
|
6
10
|
/**
|
|
7
11
|
* The focus trap instance.
|
|
8
12
|
*/
|
|
@@ -14,20 +18,26 @@ export interface FocusTrapComponent {
|
|
|
14
18
|
}
|
|
15
19
|
export declare type FocusTrap = _FocusTrap;
|
|
16
20
|
/**
|
|
17
|
-
* Helper to set up
|
|
21
|
+
* Helper to set up the FocusTrap component.
|
|
18
22
|
*
|
|
19
|
-
* @param component
|
|
23
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
20
24
|
*/
|
|
21
25
|
export declare function connectFocusTrap(component: FocusTrapComponent): void;
|
|
22
26
|
/**
|
|
23
|
-
* Helper to activate
|
|
27
|
+
* Helper to activate the FocusTrap component.
|
|
24
28
|
*
|
|
25
|
-
* @param component
|
|
29
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
26
30
|
*/
|
|
27
31
|
export declare function activateFocusTrap(component: FocusTrapComponent): void;
|
|
28
32
|
/**
|
|
29
|
-
* Helper to
|
|
33
|
+
* Helper to deactivate the FocusTrap component.
|
|
30
34
|
*
|
|
31
|
-
* @param component
|
|
35
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
32
36
|
*/
|
|
33
37
|
export declare function deactivateFocusTrap(component: FocusTrapComponent): void;
|
|
38
|
+
/**
|
|
39
|
+
* Helper to focus the first tabbable element within the FocusTrap component.
|
|
40
|
+
*
|
|
41
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
42
|
+
*/
|
|
43
|
+
export declare function focusFirstTabbable(component: FocusTrapComponent): void;
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.669
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -20789,7 +20789,6 @@ class InputDatePicker {
|
|
|
20789
20789
|
}
|
|
20790
20790
|
}
|
|
20791
20791
|
else if (key === "Escape" && !defaultPrevented) {
|
|
20792
|
-
this.active = false;
|
|
20793
20792
|
this.open = false;
|
|
20794
20793
|
event.preventDefault();
|
|
20795
20794
|
}
|
|
@@ -20933,7 +20932,6 @@ class InputDatePicker {
|
|
|
20933
20932
|
this.maxAsDate = undefined;
|
|
20934
20933
|
this.min = undefined;
|
|
20935
20934
|
this.max = undefined;
|
|
20936
|
-
this.active = false;
|
|
20937
20935
|
this.open = false;
|
|
20938
20936
|
this.name = undefined;
|
|
20939
20937
|
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
@@ -21007,11 +21005,7 @@ class InputDatePicker {
|
|
|
21007
21005
|
this.maxAsDate = dateFromISO(max);
|
|
21008
21006
|
}
|
|
21009
21007
|
}
|
|
21010
|
-
activeHandler(value) {
|
|
21011
|
-
this.open = value;
|
|
21012
|
-
}
|
|
21013
21008
|
openHandler(value) {
|
|
21014
|
-
this.active = value;
|
|
21015
21009
|
if (this.disabled || this.readOnly) {
|
|
21016
21010
|
if (!value) {
|
|
21017
21011
|
updateAfterClose(this.floatingEl);
|
|
@@ -21073,9 +21067,8 @@ class InputDatePicker {
|
|
|
21073
21067
|
// --------------------------------------------------------------------------
|
|
21074
21068
|
connectedCallback() {
|
|
21075
21069
|
connectLocalized(this);
|
|
21076
|
-
const
|
|
21077
|
-
|
|
21078
|
-
isOpen && this.openHandler(isOpen);
|
|
21070
|
+
const { open } = this;
|
|
21071
|
+
open && this.openHandler(open);
|
|
21079
21072
|
if (Array.isArray(this.value)) {
|
|
21080
21073
|
this.valueAsDate = getValueAsDateRange(this.value);
|
|
21081
21074
|
this.start = this.value[0];
|
|
@@ -21272,7 +21265,6 @@ class InputDatePicker {
|
|
|
21272
21265
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
21273
21266
|
"min": ["onMinChanged"],
|
|
21274
21267
|
"max": ["onMaxChanged"],
|
|
21275
|
-
"active": ["activeHandler"],
|
|
21276
21268
|
"open": ["openHandler"],
|
|
21277
21269
|
"overlayPositioning": ["overlayPositioningHandler"],
|
|
21278
21270
|
"layout": ["setReferenceEl"],
|
|
@@ -21298,7 +21290,6 @@ class InputDatePicker {
|
|
|
21298
21290
|
"maxAsDate": [1040],
|
|
21299
21291
|
"min": [1025],
|
|
21300
21292
|
"max": [1025],
|
|
21301
|
-
"active": [1540],
|
|
21302
21293
|
"open": [1540],
|
|
21303
21294
|
"name": [513],
|
|
21304
21295
|
"intlPrevMonth": [1, "intl-prev-month"],
|
|
@@ -21325,7 +21316,7 @@ class InputDatePicker {
|
|
|
21325
21316
|
},
|
|
21326
21317
|
"$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
|
|
21327
21318
|
"$lazyBundleId$": "-",
|
|
21328
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["
|
|
21319
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["readOnly", "read-only"], ["headingLevel", "heading-level"], ["open", "open"], ["name", "name"], ["numberingSystem", "numbering-system"], ["scale", "scale"], ["placement", "placement"], ["range", "range"], ["required", "required"], ["start", "start"], ["end", "end"], ["overlayPositioning", "overlay-positioning"], ["layout", "layout"]]
|
|
21329
21320
|
}; }
|
|
21330
21321
|
}
|
|
21331
21322
|
|
|
@@ -24984,11 +24975,14 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
24984
24975
|
return trap;
|
|
24985
24976
|
};
|
|
24986
24977
|
|
|
24978
|
+
const tabbableOptions = {
|
|
24979
|
+
getShadowRoot: true
|
|
24980
|
+
};
|
|
24987
24981
|
const trapStack = [];
|
|
24988
24982
|
/**
|
|
24989
|
-
* Helper to set up
|
|
24983
|
+
* Helper to set up the FocusTrap component.
|
|
24990
24984
|
*
|
|
24991
|
-
* @param component
|
|
24985
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
24992
24986
|
*/
|
|
24993
24987
|
function connectFocusTrap(component) {
|
|
24994
24988
|
const { focusTrapEl } = component;
|
|
@@ -25008,29 +25002,37 @@ function connectFocusTrap(component) {
|
|
|
25008
25002
|
focusElement(el);
|
|
25009
25003
|
return false;
|
|
25010
25004
|
},
|
|
25011
|
-
tabbableOptions
|
|
25012
|
-
getShadowRoot: true
|
|
25013
|
-
},
|
|
25005
|
+
tabbableOptions,
|
|
25014
25006
|
trapStack
|
|
25015
25007
|
};
|
|
25016
25008
|
component.focusTrap = createFocusTrap(focusTrapEl, focusTrapOptions);
|
|
25017
25009
|
}
|
|
25018
25010
|
/**
|
|
25019
|
-
* Helper to activate
|
|
25011
|
+
* Helper to activate the FocusTrap component.
|
|
25020
25012
|
*
|
|
25021
|
-
* @param component
|
|
25013
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
25022
25014
|
*/
|
|
25023
25015
|
function activateFocusTrap(component) {
|
|
25024
|
-
component.
|
|
25016
|
+
if (!component.disableFocusTrap) {
|
|
25017
|
+
component.focusTrap?.activate();
|
|
25018
|
+
}
|
|
25025
25019
|
}
|
|
25026
25020
|
/**
|
|
25027
|
-
* Helper to
|
|
25021
|
+
* Helper to deactivate the FocusTrap component.
|
|
25028
25022
|
*
|
|
25029
|
-
* @param component
|
|
25023
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
25030
25024
|
*/
|
|
25031
25025
|
function deactivateFocusTrap(component) {
|
|
25032
25026
|
component.focusTrap?.deactivate();
|
|
25033
25027
|
}
|
|
25028
|
+
/**
|
|
25029
|
+
* Helper to focus the first tabbable element within the FocusTrap component.
|
|
25030
|
+
*
|
|
25031
|
+
* @param {FocusTrapComponent} component The FocusTrap component.
|
|
25032
|
+
*/
|
|
25033
|
+
function focusFirstTabbable(component) {
|
|
25034
|
+
tabbable(component.focusTrapEl, tabbableOptions)[0]?.focus();
|
|
25035
|
+
}
|
|
25034
25036
|
|
|
25035
25037
|
const modalCss = "@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*/.sc-calcite-modal: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*/.calcite-animate.sc-calcite-modal{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-modal:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:fixed;inset:0px;z-index:700;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .modal--open*/[open].sc-calcite-modal-h .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}/*!@.content--spaced*/.content--spaced.sc-calcite-modal{padding:var(--calcite-modal-padding)}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}/*!@:host([background-color=grey]) .content*/[background-color=grey].sc-calcite-modal-h .content.sc-calcite-modal{background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked])*/[width=s][docked].sc-calcite-modal-h{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked])*/[width=m][docked].sc-calcite-modal-h{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked])*/[width=l][docked].sc-calcite-modal-h{align-items:flex-end}}/*!@:host([fullscreen])*/[fullscreen].sc-calcite-modal-h{background-color:transparent}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@:host([docked]) .close*/[docked].sc-calcite-modal-h .close.sc-calcite-modal{border-start-end-radius:var(--calcite-border-radius)}}/*!@:host([color=red]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([color=blue]) .modal*/[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([color=red]) .modal,\n:host([color=blue]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal,[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([color=red]) .header,\n:host([color=blue]) .header*/[color=red].sc-calcite-modal-h .header.sc-calcite-modal,[color=blue].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{flex-direction:column}/*!@.back,\n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}";
|
|
25036
25038
|
|
|
@@ -25085,6 +25087,7 @@ class Modal {
|
|
|
25085
25087
|
this.open = false;
|
|
25086
25088
|
this.beforeClose = () => Promise.resolve();
|
|
25087
25089
|
this.disableCloseButton = false;
|
|
25090
|
+
this.disableFocusTrap = false;
|
|
25088
25091
|
this.disableOutsideClose = false;
|
|
25089
25092
|
this.intlClose = TEXT$a.close;
|
|
25090
25093
|
this.docked = undefined;
|
|
@@ -25098,6 +25101,12 @@ class Modal {
|
|
|
25098
25101
|
this.hasFooter = true;
|
|
25099
25102
|
this.isOpen = false;
|
|
25100
25103
|
}
|
|
25104
|
+
handleDisableFocusTrap(disableFocusTrap) {
|
|
25105
|
+
if (!this.open) {
|
|
25106
|
+
return;
|
|
25107
|
+
}
|
|
25108
|
+
disableFocusTrap ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
25109
|
+
}
|
|
25101
25110
|
//--------------------------------------------------------------------------
|
|
25102
25111
|
//
|
|
25103
25112
|
// Lifecycle
|
|
@@ -25211,7 +25220,7 @@ class Modal {
|
|
|
25211
25220
|
if (closeButtonEl && focusId === "close-button") {
|
|
25212
25221
|
return focusElement(closeButtonEl);
|
|
25213
25222
|
}
|
|
25214
|
-
|
|
25223
|
+
focusFirstTabbable(this);
|
|
25215
25224
|
}
|
|
25216
25225
|
/**
|
|
25217
25226
|
* Sets the scroll top of the component's content.
|
|
@@ -25237,6 +25246,7 @@ class Modal {
|
|
|
25237
25246
|
onOpen() {
|
|
25238
25247
|
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
25239
25248
|
this.calciteModalOpen.emit();
|
|
25249
|
+
activateFocusTrap(this);
|
|
25240
25250
|
}
|
|
25241
25251
|
onBeforeClose() {
|
|
25242
25252
|
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
@@ -25278,6 +25288,7 @@ class Modal {
|
|
|
25278
25288
|
}
|
|
25279
25289
|
get el() { return getElement(this); }
|
|
25280
25290
|
static get watchers() { return {
|
|
25291
|
+
"disableFocusTrap": ["handleDisableFocusTrap"],
|
|
25281
25292
|
"active": ["activeHandler"],
|
|
25282
25293
|
"open": ["toggleModal"]
|
|
25283
25294
|
}; }
|
|
@@ -25290,6 +25301,7 @@ class Modal {
|
|
|
25290
25301
|
"open": [1540],
|
|
25291
25302
|
"beforeClose": [16],
|
|
25292
25303
|
"disableCloseButton": [516, "disable-close-button"],
|
|
25304
|
+
"disableFocusTrap": [516, "disable-focus-trap"],
|
|
25293
25305
|
"disableOutsideClose": [516, "disable-outside-close"],
|
|
25294
25306
|
"intlClose": [1, "intl-close"],
|
|
25295
25307
|
"docked": [516],
|
|
@@ -25308,7 +25320,7 @@ class Modal {
|
|
|
25308
25320
|
},
|
|
25309
25321
|
"$listeners$": [[8, "keydown", "handleEscape"]],
|
|
25310
25322
|
"$lazyBundleId$": "-",
|
|
25311
|
-
"$attrsToReflect$": [["active", "active"], ["open", "open"], ["disableCloseButton", "disable-close-button"], ["disableOutsideClose", "disable-outside-close"], ["docked", "docked"], ["disableEscape", "disable-escape"], ["scale", "scale"], ["width", "width"], ["fullscreen", "fullscreen"], ["color", "color"], ["backgroundColor", "background-color"], ["noPadding", "no-padding"]]
|
|
25323
|
+
"$attrsToReflect$": [["active", "active"], ["open", "open"], ["disableCloseButton", "disable-close-button"], ["disableFocusTrap", "disable-focus-trap"], ["disableOutsideClose", "disable-outside-close"], ["docked", "docked"], ["disableEscape", "disable-escape"], ["scale", "scale"], ["width", "width"], ["fullscreen", "fullscreen"], ["color", "color"], ["backgroundColor", "background-color"], ["noPadding", "no-padding"]]
|
|
25312
25324
|
}; }
|
|
25313
25325
|
}
|
|
25314
25326
|
|
|
@@ -27035,6 +27047,12 @@ class Popover {
|
|
|
27035
27047
|
this.intlClose = TEXT$6.close;
|
|
27036
27048
|
this.effectiveReferenceElement = undefined;
|
|
27037
27049
|
}
|
|
27050
|
+
handleDisableFocusTrap(disableFocusTrap) {
|
|
27051
|
+
if (!this.open) {
|
|
27052
|
+
return;
|
|
27053
|
+
}
|
|
27054
|
+
disableFocusTrap ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
27055
|
+
}
|
|
27038
27056
|
flipPlacementsHandler() {
|
|
27039
27057
|
this.setFilteredPlacements();
|
|
27040
27058
|
this.reposition(true);
|
|
@@ -27130,7 +27148,7 @@ class Popover {
|
|
|
27130
27148
|
closeButtonEl.setFocus();
|
|
27131
27149
|
return;
|
|
27132
27150
|
}
|
|
27133
|
-
|
|
27151
|
+
focusFirstTabbable(this);
|
|
27134
27152
|
}
|
|
27135
27153
|
/**
|
|
27136
27154
|
* Toggles the component's open property.
|
|
@@ -27151,9 +27169,7 @@ class Popover {
|
|
|
27151
27169
|
}
|
|
27152
27170
|
onOpen() {
|
|
27153
27171
|
this.calcitePopoverOpen.emit();
|
|
27154
|
-
|
|
27155
|
-
activateFocusTrap(this);
|
|
27156
|
-
}
|
|
27172
|
+
activateFocusTrap(this);
|
|
27157
27173
|
}
|
|
27158
27174
|
onBeforeClose() {
|
|
27159
27175
|
this.calcitePopoverBeforeClose.emit();
|
|
@@ -27191,6 +27207,7 @@ class Popover {
|
|
|
27191
27207
|
}
|
|
27192
27208
|
get el() { return getElement(this); }
|
|
27193
27209
|
static get watchers() { return {
|
|
27210
|
+
"disableFocusTrap": ["handleDisableFocusTrap"],
|
|
27194
27211
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
27195
27212
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
27196
27213
|
"offsetSkidding": ["offsetSkiddingHandler"],
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.667
|
|
5
|
-
*/
|
|
6
|
-
import{c as n}from"./p-a5aee43d.js";import{h as t}from"./p-b3bcbd73.js";function e(n){return"checked"in n}const o=new WeakMap,s=new WeakSet;function i(n){const{formEl:t}=n;return!!t&&("requestSubmit"in t?t.requestSubmit():t.submit(),!0)}function r(n){n.formEl?.reset()}function c(t){const{el:i,value:r}=t,c=n(i,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,i))return;t.formEl=c,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const a=(t.onFormReset||u).bind(t);c.addEventListener("reset",a),o.set(t.el,a),s.add(i)}function u(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function a(n){const{el:t,formEl:e}=n;if(!e)return;const i=o.get(t);e.removeEventListener("reset",i),o.delete(t),n.formEl=null,s.delete(t)}function l(n,t){n.defaultValue=t}const f=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},m=n=>n.removeEventListener("change",f);function d(n,t,o){const{defaultValue:s,disabled:i,name:r,required:c}=n;t.defaultValue=s,t.disabled=i,t.name=r,t.required=c,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",i||n.checked||(t.disabled=!0)):t.value=o||"",n.syncHiddenFormInput?.(t)}const p=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:s}=n,{ownerDocument:i}=t,r=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void r.forEach((n=>{m(n),n.remove()}));const c=Array.isArray(s)?s:[s],u=[],a=new Set;let l;r.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(a.add(e),d(n,t,e)):u.push(t)})),c.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=i.createElement("input"),e.slot="hidden-form-input"),l||(l=i.createDocumentFragment()),l.append(e),e.addEventListener("change",f),d(n,e,t)})),l&&t.append(l),u.forEach((n=>{m(n),n.remove()}))}(n),t("slot",{name:"hidden-form-input"}));export{p as H,l as a,c,a as d,r,i as s}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.667
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,g as n}from"./p-b3bcbd73.js";import{S as e}from"./p-78157cb7.js";import{c}from"./p-c3d2aa60.js";import{u as s}from"./p-7755fc88.js";const o=class{constructor(a){t(this,a),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=c("mutation",(()=>{this.cleanUpDragAndDrop(),this.items=Array.from(this.el.children),this.setUpDragAndDrop()})),this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1,this.handleActivated=!1}connectedCallback(){this.items=Array.from(this.el.children),this.setUpDragAndDrop(),this.beginObserving()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.cleanUpDragAndDrop()}componentDidRender(){s(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}handleNudgeEvent(t){const{direction:i}=t.detail,a=t.target,n=this.items.find((i=>i.contains(a)||t.composedPath().includes(i))),e=this.items.length-1,c=this.items.indexOf(n);let s,o=!1;"up"===i?0===c?o=!0:s=c-1:c===e?s=0:c===e-1?o=!0:s=c+2,this.mutationObserver?.disconnect(),o?n.parentElement.appendChild(n):n.parentElement.insertBefore(n,this.items[s]),this.items=Array.from(this.el.children),a.activated=!0,a.setFocus(),this.beginObserving()}setUpDragAndDrop(){this.cleanUpDragAndDrop();const t={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:()=>{this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()},onStart:()=>{this.mutationObserver?.disconnect()},onEnd:()=>{this.beginObserving()}};this.dragSelector&&(t.draggable=this.dragSelector),this.sortable=e.create(this.el,t)}cleanUpDragAndDrop(){this.sortable?.destroy(),this.sortable=null}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}render(){const{layout:t}=this,i="horizontal"===t||!1;return a("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},a("slot",null))}get el(){return n(this)}};o.style="@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.01}}: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{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}";export{o as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.667
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-b3bcbd73.js";import{c as o}from"./p-c3d2aa60.js";const c=new Set;let n;const s={childList:!0};function a(t){n||(n=o("mutation",i)),n.observe(t.el,s)}function f(t){c.delete(t.el),i(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{a as c,f as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.667
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as s}from"./p-b3bcbd73.js";import{d as n,a as r,i as o,b as c,g as h,s as l,c as d,T as p,e as m,f as u}from"./p-32467d47.js";import{c as f,d as g,g as v}from"./p-7cbaddf7.js";import{s as y,c as b,d as w,H as x}from"./p-373608cf.js";import{f as k,c as D,d as C,u as I,r as z,a as P,F as A}from"./p-f5349cf2.js";import{u as j}from"./p-7755fc88.js";import{t as R}from"./p-a5aee43d.js";import{c as _,d as H}from"./p-f7457303.js";import{n as O,c as W,d as E}from"./p-22df71ea.js";import{n as S}from"./p-15398b5d.js";import{c as L,s as M,a as B}from"./p-62e62c0f.js";import"./p-0c47935f.js";import"./p-a5e2970d.js";import"./p-03d78983.js";import"./p-c3d2aa60.js";const F=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target.value,{year:a}=n(i,this.localeData);if(a&&a.length<4)return;const e=r(i,this.localeData);o(e,this.min,this.max)&&(this.datePickerActiveDate=e)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?k(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t,_(this)},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:a}=t;"Enter"!==a||i?"Escape"!==a||i||(this.active=!1,this.open=!1,t.preventDefault()):(this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),y(this)&&t.preventDefault())},this.startInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="start"},this.endInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="end"},this.setFloatingEl=t=>{t&&(this.floatingEl=t,D(this,this.referenceEl,this.floatingEl))},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.detail),this.localizeInputValues())},this.handleDateRangeChange=t=>{if(!this.range||!t.detail)return;t.stopPropagation();const{startDate:i,endDate:a}=t.detail;this.setRangeValue([i,a]),this.localizeInputValues(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus()},this.setInputValue=(t,i="start")=>{const a=this[`${i}Input`];a&&(a.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,a=Array.isArray(i),e=Array.isArray(t),s=e?t[0]:"",n=e?c(s):"",r=e?t[1]:"",o=e?c(r):"",d=n||o?[n,o]:"";if(d===i)return;this.userChangedValue=!0,this.value=d,this.valueAsDate=d?h(d):void 0,this.start=n,this.end=o;const p={startDate:s,endDate:r?l(r):null},m=this.calciteInputDatePickerChange.emit(),u=this.calciteDatePickerRangeChange.emit(p);(m&&m.defaultPrevented||u&&u.defaultPrevented)&&(this.value=i,a?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value,a=c(t);if(a===i)return;this.userChangedValue=!0,this.valueAsDate=a?d(a):void 0,this.value=a||"";const e=this.calciteInputDatePickerChange.emit(),s=this.calciteDatePickerChange.emit(t);(e.defaultPrevented||s.defaultPrevented)&&(this.value=i,this.setInputValue(i))},this.formatNumerals=t=>t?t.split("").map((t=>S.includes(t)?O.numberFormatter.format(Number(t)):t)).join(""):"",this.disabled=!1,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.startAsDate=void 0,this.endAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.active=!1,this.open=!1,this.name=void 0,this.intlPrevMonth=p.prevMonth,this.intlNextMonth=p.nextMonth,this.intlYear=p.year,this.locale=void 0,this.numberingSystem=void 0,this.scale="m",this.placement=C,this.range=!1,this.required=!1,this.start=void 0,this.end=void 0,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.effectiveLocale="",this.focusedInput="start",this.globalAttributes={},this.localeData=void 0}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;Array.isArray(t)?(i=h(t),this.start=t[0],this.end=t[1]):i=t?d(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[c(t[0]),c(t[1])]:c(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMinChanged(t){t&&(this.minAsDate=d(t))}onMaxChanged(t){t&&(this.maxAsDate=d(t))}activeHandler(t){this.open=t}openHandler(t){if(this.active=t,this.disabled||this.readOnly)return t||I(this.floatingEl),void(this.open=!1);t?this.reposition(!0):I(this.floatingEl)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await L(this),this.startInput?.setFocus()}async reposition(t=!1){const{floatingEl:i,referenceEl:a,placement:e,overlayPositioning:s,filteredFlipPlacements:n}=this;return z(this,{floatingEl:i,referenceEl:a,overlayPositioning:s,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){W(this);const t=this.active||this.open;if(t&&this.activeHandler(t),t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=h(this.value),this.start=this.value[0],this.end=this.value[1];else if(this.value){try{this.valueAsDate=d(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}this.start="",this.end=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.start&&(this.startAsDate=d(this.start)),this.end&&(this.endAsDate=l(d(this.end))),this.min&&(this.minAsDate=d(this.min)),this.max&&(this.maxAsDate=d(this.max)),f(this),b(this),_(this),this.setFilteredPlacements(),this.reposition(!0),O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1}}async componentWillLoad(){M(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){B(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){g(this),w(this),P(this,this.referenceEl,this.floatingEl),H(this),E(this)}componentDidRender(){j(this)}render(){const{disabled:t,effectiveLocale:i,numberingSystem:s,readOnly:n}=this;return O.numberFormatOptions={numberingSystem:s,locale:i,useGrouping:!1},a(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":R(this.open),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:t,icon:"calendar",label:v(this),"number-button-type":"none",numberingSystem:s,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:n,ref:this.setStartInput,scale:this.scale,type:"text"})),a("div",{"aria-hidden":R(!this.open),class:{"menu-container":!0,"menu-container--active":this.open},ref:this.setFloatingEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[A.animation]:!0,[A.animationActive]:this.open},ref:this.setTransitionEl},a("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,numberingSystem:s,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:s,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:n,ref:this.setEndInput,scale:this.scale,type:"text"}))),a(x,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,D(this,this.referenceEl,this.floatingEl)}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit()}commitValue(){const{focusedInput:t,value:i}=this,a=r(this[`${t}Input`].value,this.localeData),e=c(a),s=Array.isArray(i);if(this.range){const n="start"===t?0:1;if(s){if(e===i[n])return;a?(this.setRangeValue(["start"===t?a:d(i[0]),"end"===t?a:d(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&d(i[0]),"start"===t&&d(i[1])])}else a&&(this.setRangeValue(["start"===t?a:d(i[0]),"end"===t?a:d(i[1])]),this.localizeInputValues())}else{if(e===i)return;this.setValue(a),this.localizeInputValues()}}startWatcher(t){this.startAsDate=d(t)}endWatcher(t){this.endAsDate=t?l(d(t)):d(t)}async loadLocaleData(){O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await m(this.effectiveLocale)}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}localizeInputValues(){const t=u(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?u(this.endAsDate,this.minAsDate,this.maxAsDate):null,a=t&&this.formatNumerals(t.toLocaleDateString(this.effectiveLocale)),e=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale));a&&this.setInputValue(a,"start"),this.range&&e&&this.setInputValue(e,"end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "yyyy-MM-dd".`)}get el(){return s(this)}static get watchers(){return{disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],effectiveLocale:["loadLocaleData"]}}};F.style="@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.01}}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{--calcite-floating-ui-z-index:600;display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::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}";export{F as calcite_input_date_picker}
|