@esri/calcite-components 1.5.0-next.36 → 1.5.0-next.37
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 +2 -2
- package/dist/calcite/{p-295c303d.entry.js → p-00d0b8cd.entry.js} +2 -2
- package/dist/calcite/{p-b6f837d6.js → p-03d7ae08.js} +1 -1
- package/dist/calcite/{p-fbfe1b19.js → p-0426d83c.js} +2 -2
- package/dist/calcite/{p-c6579354.js → p-0e5e7a4f.js} +2 -2
- package/dist/calcite/{p-c9386238.js → p-0f33c64a.js} +2 -2
- package/dist/calcite/{p-2e23f3ff.entry.js → p-1117f15f.entry.js} +2 -2
- package/dist/calcite/{p-ee54ab27.entry.js → p-14e1b3fb.entry.js} +2 -2
- package/dist/calcite/p-15bba441.entry.js +6 -0
- package/dist/calcite/{p-ce813f5e.js → p-19b543f3.js} +2 -2
- package/dist/calcite/{p-b4fb4c9b.js → p-20a8671f.js} +2 -2
- package/dist/calcite/{p-871c8ad2.js → p-20c03c18.js} +3 -3
- package/dist/calcite/{p-0ee793a6.entry.js → p-24558766.entry.js} +2 -2
- package/dist/calcite/{p-4585a959.js → p-268f5084.js} +2 -2
- package/dist/calcite/{p-acbf0a8c.js → p-281f7380.js} +2 -2
- package/dist/calcite/p-283e84f3.js +6 -0
- package/dist/calcite/{p-cbbc60b7.js → p-298eb07c.js} +1 -1
- package/dist/calcite/{p-2f868463.entry.js → p-2b6770b6.entry.js} +2 -2
- package/dist/calcite/p-2ca71f7e.js +6 -0
- package/dist/calcite/{p-bb3c1d0c.entry.js → p-2fc85460.entry.js} +2 -2
- package/dist/calcite/{p-4314f684.js → p-3077def5.js} +1 -1
- package/dist/calcite/{p-93c9c3c1.entry.js → p-33366d5d.entry.js} +2 -2
- package/dist/calcite/p-33e77588.entry.js +6 -0
- package/dist/calcite/p-354ac043.js +6 -0
- package/dist/calcite/{p-230bc3d6.js → p-373ca6d3.js} +2 -2
- package/dist/calcite/{p-cfeee5ac.js → p-374827ae.js} +2 -2
- package/dist/calcite/{p-f0058f34.js → p-37dca9f7.js} +2 -2
- package/dist/calcite/{p-05f2f0cd.js → p-37e53cad.js} +1 -1
- package/dist/calcite/{p-3433b6fa.entry.js → p-388c2720.entry.js} +2 -2
- package/dist/calcite/{p-c0f6a3f4.js → p-3d733a24.js} +2 -2
- package/dist/calcite/{p-728f7d13.js → p-3eca8537.js} +2 -2
- package/dist/calcite/{p-ab4d1606.entry.js → p-43e73ae3.entry.js} +2 -2
- package/dist/calcite/{p-1a6f5e78.js → p-456f5a3d.js} +2 -2
- package/dist/calcite/p-4663c5ad.js +6 -0
- package/dist/calcite/{p-c5ff7055.entry.js → p-4759f061.entry.js} +2 -2
- package/dist/calcite/{p-8f7c6ed5.entry.js → p-47a39c53.entry.js} +2 -2
- package/dist/calcite/{p-bd0f1e95.entry.js → p-50b90385.entry.js} +2 -2
- package/dist/calcite/{p-58b90d36.js → p-53449882.js} +2 -2
- package/dist/calcite/p-56a8673f.entry.js +6 -0
- package/dist/calcite/{p-432b614d.js → p-56f9882b.js} +1 -1
- package/dist/calcite/{p-49a970a9.entry.js → p-57222ca8.entry.js} +2 -2
- package/dist/calcite/{p-9546ef03.entry.js → p-57e2c2ed.entry.js} +2 -2
- package/dist/calcite/{p-5ac7dee1.js → p-58f469f7.js} +2 -2
- package/dist/calcite/{p-dd5731ae.js → p-5c9f772a.js} +2 -2
- package/dist/calcite/{p-48e4bb32.entry.js → p-5efd59e6.entry.js} +2 -2
- package/dist/calcite/{p-7cdf8858.entry.js → p-61e6e5d5.entry.js} +2 -2
- package/dist/calcite/{p-e6c14e2b.js → p-63991630.js} +2 -2
- package/dist/calcite/{p-2f5b625a.js → p-65b14067.js} +2 -2
- package/dist/calcite/{p-77096452.js → p-65d484f5.js} +2 -2
- package/dist/calcite/{p-ccaa2655.js → p-6b2ef6ec.js} +2 -2
- package/dist/calcite/{p-57ce40ab.entry.js → p-6c8f13d4.entry.js} +2 -2
- package/dist/calcite/{p-1d21564f.js → p-6ecf9197.js} +2 -2
- package/dist/calcite/{p-67eabafb.entry.js → p-6f6fc61b.entry.js} +2 -2
- package/dist/calcite/{p-dcb38790.js → p-70b9e764.js} +2 -2
- package/dist/calcite/{p-29f5bcf4.js → p-71c985bc.js} +2 -2
- package/dist/calcite/{p-d902b397.js → p-74a0430a.js} +2 -2
- package/dist/calcite/{p-9ede63fa.js → p-79849e57.js} +2 -2
- package/dist/calcite/{p-b7b173b9.js → p-7f22fdcd.js} +1 -1
- package/dist/calcite/{p-249e90be.js → p-7f27de76.js} +1 -1
- package/dist/calcite/{p-38dea364.js → p-817135c7.js} +2 -2
- package/dist/calcite/{p-2f8dbc66.entry.js → p-818fe01b.entry.js} +2 -2
- package/dist/calcite/{p-6b1d58aa.js → p-82cdbdcd.js} +1 -1
- package/dist/calcite/{p-f34b8339.js → p-85ffe8e1.js} +1 -1
- package/dist/calcite/{p-04d4fe5b.entry.js → p-876b164a.entry.js} +2 -2
- package/dist/calcite/{p-844e534f.entry.js → p-8d3c8c38.entry.js} +2 -2
- package/dist/calcite/{p-7088fa4b.entry.js → p-8f08a922.entry.js} +2 -2
- package/dist/calcite/{p-e8649339.js → p-906b874d.js} +2 -2
- package/dist/calcite/{p-15dfc48f.entry.js → p-92c1ca63.entry.js} +2 -2
- package/dist/calcite/{p-d93cd654.js → p-9452181d.js} +1 -1
- package/dist/calcite/{p-45e46e96.js → p-96e9da93.js} +1 -1
- package/dist/calcite/{p-a87390cf.js → p-98b7d5d7.js} +2 -2
- package/dist/calcite/{p-469ffb3b.js → p-9b7b286d.js} +2 -2
- package/dist/calcite/{p-1ea6d4de.entry.js → p-9d3a368f.entry.js} +2 -2
- package/dist/calcite/{p-ea83b477.entry.js → p-9d8ce1c0.entry.js} +2 -2
- package/dist/calcite/{p-0dc76df8.entry.js → p-9eb66efc.entry.js} +2 -2
- package/dist/calcite/{p-c48cda33.js → p-9f0873d2.js} +2 -2
- package/dist/calcite/{p-33900f4a.js → p-9f5ec1fa.js} +1 -1
- package/dist/calcite/{p-1af88856.entry.js → p-9f934e81.entry.js} +2 -2
- package/dist/calcite/{p-114d135b.js → p-a0e74ecf.js} +1 -1
- package/dist/calcite/{p-adcb60fe.entry.js → p-a110f4b2.entry.js} +2 -2
- package/dist/calcite/{p-9952b6bc.entry.js → p-a157d351.entry.js} +2 -2
- package/dist/calcite/{p-de52aaee.js → p-a1a743a1.js} +2 -2
- package/dist/calcite/p-a25facfc.entry.js +6 -0
- package/dist/calcite/{p-fb8e4798.js → p-a27012d0.js} +1 -1
- package/dist/calcite/{p-1501ec01.entry.js → p-a7604eaf.entry.js} +2 -2
- package/dist/calcite/{p-36771a5f.entry.js → p-a7bc164c.entry.js} +2 -2
- package/dist/calcite/{p-4fc098af.entry.js → p-a8a3ac66.entry.js} +2 -2
- package/dist/calcite/p-a8d9caa8.js +6 -0
- package/dist/calcite/{p-4584f727.entry.js → p-aa000a6a.entry.js} +2 -2
- package/dist/calcite/{p-cce40ea3.js → p-aadb694a.js} +2 -2
- package/dist/calcite/{p-ea62c018.js → p-aba30c51.js} +2 -2
- package/dist/calcite/{p-bf9e2837.entry.js → p-ad4d6873.entry.js} +2 -2
- package/dist/calcite/{p-de419ec4.entry.js → p-ae5277f5.entry.js} +2 -2
- package/dist/calcite/{p-d27faa4c.js → p-b060e06d.js} +2 -2
- package/dist/calcite/{p-9f47679b.js → p-b1511445.js} +2 -2
- package/dist/calcite/{p-002dfe76.entry.js → p-b22fe944.entry.js} +2 -2
- package/dist/calcite/{p-52b0656c.entry.js → p-b2e71397.entry.js} +2 -2
- package/dist/calcite/{p-e5aac1a0.entry.js → p-b3121ad8.entry.js} +2 -2
- package/dist/calcite/{p-7cb46413.entry.js → p-b31cea1c.entry.js} +2 -2
- package/dist/calcite/{p-1b941ee3.entry.js → p-b485ae31.entry.js} +2 -2
- package/dist/calcite/{p-43d99283.entry.js → p-b79ad7fe.entry.js} +2 -2
- package/dist/calcite/{p-fdd8c2d9.js → p-b878f4e2.js} +2 -2
- package/dist/calcite/{p-58d7cdca.js → p-b9d20910.js} +2 -2
- package/dist/calcite/{p-ad214e90.entry.js → p-ba85d699.entry.js} +2 -2
- package/dist/calcite/{p-5aeb469c.js → p-bb98de19.js} +2 -2
- package/dist/calcite/{p-a41d6728.js → p-bc16997d.js} +2 -2
- package/dist/calcite/{p-b5726ed7.js → p-bcd1e33c.js} +2 -2
- package/dist/calcite/{p-c2794a4f.entry.js → p-bf6ca6b9.entry.js} +2 -2
- package/dist/calcite/{p-6c3ba66d.entry.js → p-bfc3977c.entry.js} +2 -2
- package/dist/calcite/{p-52618cc3.js → p-c189f8d7.js} +2 -2
- package/dist/calcite/{p-92b967c5.js → p-c6c51779.js} +2 -2
- package/dist/calcite/{p-194d3121.entry.js → p-c8731c2a.entry.js} +2 -2
- package/dist/calcite/{p-85612a29.js → p-c8c8b535.js} +2 -2
- package/dist/calcite/{p-e3999c2d.js → p-ca6c4dbe.js} +2 -2
- package/dist/calcite/{p-5ec76547.entry.js → p-cb861113.entry.js} +2 -2
- package/dist/calcite/{p-1ca63537.js → p-cce06fa7.js} +2 -2
- package/dist/calcite/{p-c5bfd6c5.js → p-cce40122.js} +1 -1
- package/dist/calcite/{p-2d80ccb9.entry.js → p-ce5854b2.entry.js} +2 -2
- package/dist/calcite/{p-c43f630c.js → p-ce7b6762.js} +2 -2
- package/dist/calcite/p-d048bcbc.js +6 -0
- package/dist/calcite/{p-85679290.js → p-d131423d.js} +2 -2
- package/dist/calcite/{p-0c4ad0a4.js → p-d18b99be.js} +2 -2
- package/dist/calcite/{p-d780132f.js → p-d21e5297.js} +2 -2
- package/dist/calcite/{p-d0eea2dc.js → p-d45f8fce.js} +2 -2
- package/dist/calcite/{p-b26dadf7.js → p-d4664913.js} +2 -2
- package/dist/calcite/{p-1543c2b3.js → p-d4743786.js} +2 -2
- package/dist/calcite/p-d485e381.entry.js +6 -0
- package/dist/calcite/{p-e88e69c3.entry.js → p-d622df7e.entry.js} +2 -2
- package/dist/calcite/p-d7a811f3.entry.js +6 -0
- package/dist/calcite/{p-8aae3151.entry.js → p-d873fb10.entry.js} +2 -2
- package/dist/calcite/{p-325c8a28.entry.js → p-db3e8a7f.entry.js} +2 -2
- package/dist/calcite/p-dcb20d27.entry.js +6 -0
- package/dist/calcite/{p-daed28a6.js → p-e0183b81.js} +2 -2
- package/dist/calcite/{p-de58e075.entry.js → p-e018ea09.entry.js} +2 -2
- package/dist/calcite/{p-69af2e0f.entry.js → p-e10116d5.entry.js} +2 -2
- package/dist/calcite/{p-18233cd3.js → p-e175abee.js} +2 -2
- package/dist/calcite/{p-f5efde4a.entry.js → p-e241de63.entry.js} +2 -2
- package/dist/calcite/{p-b57ec717.js → p-e268ec5b.js} +2 -2
- package/dist/calcite/{p-31ee3aed.js → p-e386f71f.js} +2 -2
- package/dist/calcite/p-e72882ee.js +6 -0
- package/dist/calcite/{p-50bca30f.js → p-ec4808e0.js} +2 -2
- package/dist/calcite/{p-d5b30230.entry.js → p-ecc2ca94.entry.js} +2 -2
- package/dist/calcite/{p-8fbddb2c.entry.js → p-f03a2a8e.entry.js} +2 -2
- package/dist/calcite/{p-063f9bf0.entry.js → p-f0b14542.entry.js} +2 -2
- package/dist/calcite/{p-0b9f2272.js → p-f1db40b6.js} +2 -2
- package/dist/calcite/{p-961722bd.entry.js → p-f2a208e8.entry.js} +2 -2
- package/dist/calcite/{p-248acd55.entry.js → p-f2e6905b.entry.js} +2 -2
- package/dist/calcite/{p-9b035e5f.js → p-f2f66060.js} +2 -2
- package/dist/calcite/{p-5e7d03e6.js → p-f83fb54d.js} +2 -2
- package/dist/calcite/{p-c9fa2fa2.js → p-fc5a3526.js} +2 -2
- package/dist/calcite/{p-3f91761e.entry.js → p-ff50344a.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-f0ed9df4.js → ExpandToggle-16daf934.js} +5 -5
- package/dist/cjs/{FloatingArrow-76d7923b.js → FloatingArrow-c575eaf5.js} +2 -2
- package/dist/cjs/{Heading-26c552cb.js → Heading-0668bfb0.js} +2 -2
- package/dist/cjs/{app-globals-ad894b02.js → app-globals-71948013.js} +2 -2
- package/dist/cjs/{ar-438d3718.js → ar-c9bd28e3.js} +15 -15
- package/dist/cjs/{array-129e2ed3.js → array-72ec1f48.js} +1 -1
- package/dist/cjs/{bg-77344a7a.js → bg-119fedeb.js} +15 -15
- package/dist/cjs/{bs-f673cfcf.js → bs-3450b685.js} +15 -15
- package/dist/cjs/{ca-42518db3.js → ca-f0805c0d.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- 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 +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- 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 +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-eb23cbba.js → calcite-input-time-picker.calcite-time-picker-62431c04.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- 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 +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- 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 +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- 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 +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-7038f3d5.js → conditionalSlot-40d9de64.js} +3 -3
- package/dist/cjs/{cs-95d7b373.js → cs-4a91b27d.js} +15 -15
- package/dist/cjs/{da-25f601b7.js → da-900b8c40.js} +15 -15
- package/dist/cjs/{de-54a88314.js → de-263bd905.js} +15 -15
- package/dist/cjs/{de-at-e75161ca.js → de-at-f4c1efa6.js} +15 -15
- package/dist/cjs/{de-ch-52d354d0.js → de-ch-9a5ec1a8.js} +15 -15
- package/dist/cjs/{debounce-4bd84eb9.js → debounce-23d5459e.js} +1 -1
- package/dist/cjs/{dom-9397d651.js → dom-d3493307.js} +3 -3
- package/dist/cjs/{el-43bb402a.js → el-d494dfce.js} +15 -15
- package/dist/cjs/{en-au-2971ce6d.js → en-au-e1f7ee63.js} +15 -15
- package/dist/cjs/{en-ca-fd149f23.js → en-ca-230af2db.js} +15 -15
- package/dist/cjs/{en-gb-e9620013.js → en-gb-e136b765.js} +15 -15
- package/dist/cjs/{es-16564c22.js → es-5188665c.js} +15 -15
- package/dist/cjs/{es-mx-5210a53b.js → es-mx-5c1f8832.js} +15 -15
- package/dist/cjs/{et-6b59f590.js → et-34cd956a.js} +15 -15
- package/dist/cjs/{fi-3f5efb7f.js → fi-9ae99d87.js} +15 -15
- package/dist/cjs/{filter-73a94624.js → filter-2df9e8cf.js} +2 -2
- package/dist/cjs/{floating-ui-192a680e.js → floating-ui-e66208b6.js} +3 -3
- package/dist/cjs/{focusTrapComponent-aa14b035.js → focusTrapComponent-870f8f2f.js} +2 -2
- package/dist/cjs/{form-516eefa8.js → form-81584164.js} +3 -3
- package/dist/cjs/{fr-ch-825a5e9f.js → fr-ch-f07d45d5.js} +15 -15
- package/dist/cjs/{fr-1a6fac98.js → fr-e4ffb510.js} +15 -15
- package/dist/cjs/{guid-c2c163f1.js → guid-683f104e.js} +1 -1
- package/dist/cjs/{he-cb16b086.js → he-d80bf73d.js} +15 -15
- package/dist/cjs/{hi-2f1d348c.js → hi-a6fecf12.js} +15 -15
- package/dist/cjs/{hr-72ada872.js → hr-8482d5a2.js} +15 -15
- package/dist/cjs/{hu-ab5787f8.js → hu-ebacfa55.js} +15 -15
- package/dist/cjs/{id-5d63eb14.js → id-5cf49a1d.js} +15 -15
- package/dist/cjs/{index-1b0c4c3c.js → index-7a4bb102.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-8b49caf5.js → interactive-ae4b5cfd.js} +1 -1
- package/dist/cjs/{it-8d8b1343.js → it-4768d747.js} +15 -15
- package/dist/cjs/{it-ch-4d5038e4.js → it-ch-45519b63.js} +15 -15
- package/dist/cjs/{ja-14ac1589.js → ja-c570ec94.js} +15 -15
- package/dist/cjs/{key-8cafe622.js → key-33e2c6bf.js} +1 -1
- package/dist/cjs/{ko-4feef57e.js → ko-12e97430.js} +15 -15
- package/dist/cjs/{label-79b6f0fc.js → label-71c38251.js} +2 -2
- package/dist/cjs/{loadable-f6a64e02.js → loadable-02084a9f.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-8aba0548.js → locale-6c4f3048.js} +4 -4
- package/dist/cjs/{lt-4969b81c.js → lt-4d106de8.js} +15 -15
- package/dist/cjs/{lv-6a780876.js → lv-1d6403be.js} +15 -15
- package/dist/cjs/{math-e6e5b59e.js → math-b167a9ac.js} +1 -1
- package/dist/cjs/{mk-1041f6fb.js → mk-4ba9bc40.js} +15 -15
- package/dist/cjs/{nb-6045ae7b.js → nb-e2b33f81.js} +15 -15
- package/dist/cjs/{nl-8832bacc.js → nl-733cfbfd.js} +15 -15
- package/dist/cjs/{observers-633ee085.js → observers-1d99603d.js} +1 -1
- package/dist/cjs/openCloseComponent-52941f87.js +79 -0
- package/dist/cjs/{pl-002062ef.js → pl-ac4f5d1e.js} +15 -15
- package/dist/cjs/{pt-br-6f7f0e9a.js → pt-br-fd51701e.js} +15 -15
- package/dist/cjs/{pt-f345d4da.js → pt-d902362d.js} +15 -15
- package/dist/cjs/{resources-44c534bd.js → resources-0e5ef869.js} +1 -1
- package/dist/cjs/{resources-79ae9aca.js → resources-15657c41.js} +5 -5
- package/dist/cjs/{resources-2a1c1d53.js → resources-2670d7c6.js} +1 -1
- package/dist/cjs/{resources-fe654bb9.js → resources-8264370a.js} +1 -1
- package/dist/cjs/{resources-ba1eb132.js → resources-c03b95ce.js} +1 -1
- package/dist/cjs/{resources-5aa1efd5.js → resources-c74a3ae7.js} +1 -1
- package/dist/cjs/{resources-b679f7b2.js → resources-efda7010.js} +1 -1
- package/dist/cjs/{ro-5a813aed.js → ro-9434d084.js} +15 -15
- package/dist/cjs/{ru-ea0d7edb.js → ru-b93593e6.js} +15 -15
- package/dist/cjs/{sk-0effa077.js → sk-ef212a4d.js} +15 -15
- package/dist/cjs/{sl-4fd2fe1a.js → sl-76a74f6d.js} +15 -15
- package/dist/cjs/{sortableComponent-36da23d9.js → sortableComponent-920ebd32.js} +2 -2
- package/dist/cjs/{sr-a7526881.js → sr-324706c4.js} +15 -15
- package/dist/cjs/{sv-7700215d.js → sv-d85edf7d.js} +15 -15
- package/dist/cjs/{t9n-c4c219c9.js → t9n-43972a9b.js} +3 -3
- package/dist/cjs/{th-bf1295ef.js → th-064cf50a.js} +15 -15
- package/dist/cjs/{throttle-2010d100.js → throttle-47f5c355.js} +2 -2
- package/dist/cjs/{tr-a64dc9c6.js → tr-f8567cab.js} +15 -15
- package/dist/cjs/{uk-44717086.js → uk-6f3e413e.js} +15 -15
- package/dist/cjs/{utils-d6320aae.js → utils-744fcb6a.js} +1 -1
- package/dist/cjs/{utils-861d9c11.js → utils-ee9c8fe8.js} +3 -3
- package/dist/cjs/{vi-5509dd82.js → vi-93a4b1c1.js} +15 -15
- package/dist/cjs/{zh-cn-15512a8f.js → zh-cn-788d38f6.js} +15 -15
- package/dist/cjs/{zh-hk-f2d29466.js → zh-hk-63666ff5.js} +15 -15
- package/dist/cjs/{zh-tw-3cfce0be.js → zh-tw-035bc421.js} +15 -15
- 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/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/chip-group/chip-group.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/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.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 +1 -1
- 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/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.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/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/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/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.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/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.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/resources.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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.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 +6 -1
- package/dist/collection/components/tooltip/utils.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/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.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.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.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 +48 -14
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.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/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.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-group.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 +1 -1
- 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-time-zone.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-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.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-stack.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-text-area.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/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.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/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.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/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.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/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.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/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +46 -14
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.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/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.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/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +6 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-7b8a0e53.js → ExpandToggle-b8d85afe.js} +5 -5
- package/dist/esm/{FloatingArrow-8846619b.js → FloatingArrow-a1d0919b.js} +2 -2
- package/dist/esm/{Heading-e36042dd.js → Heading-eaba6017.js} +2 -2
- package/dist/esm/{app-globals-32ab94b5.js → app-globals-44f5fe80.js} +2 -2
- package/dist/esm/{ar-484ab948.js → ar-6d679cb9.js} +15 -15
- package/dist/esm/{array-17a82994.js → array-9de35ebe.js} +1 -1
- package/dist/esm/{bg-c6b0668b.js → bg-e80e33f1.js} +15 -15
- package/dist/esm/{bs-20ef624d.js → bs-7ed44d1e.js} +15 -15
- package/dist/esm/{ca-3cc56efb.js → ca-3554978d.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- 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 +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- 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 +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-ad1ddccb.js → calcite-input-time-picker.calcite-time-picker-323c63b7.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- 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 +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- 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 +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- 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 +11 -11
- package/dist/esm/calcite-tooltip.entry.js +14 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-e53abba3.js → conditionalSlot-301396f9.js} +3 -3
- package/dist/esm/{cs-4dd000b3.js → cs-4dfa5843.js} +15 -15
- package/dist/esm/{da-35862ad7.js → da-3e9ad974.js} +15 -15
- package/dist/esm/{de-3310e53a.js → de-78ccadc8.js} +15 -15
- package/dist/esm/{de-at-4a743c8a.js → de-at-5b4a2eb7.js} +15 -15
- package/dist/esm/{de-ch-918ff478.js → de-ch-73fc483d.js} +15 -15
- package/dist/esm/{debounce-abe1e692.js → debounce-1e7263fa.js} +1 -1
- package/dist/esm/{dom-3e1981dd.js → dom-00402642.js} +3 -3
- package/dist/esm/{el-5d9a053a.js → el-3c3ef331.js} +15 -15
- package/dist/esm/{en-au-0dea2456.js → en-au-f0fb8fec.js} +15 -15
- package/dist/esm/{en-ca-04aeb73d.js → en-ca-d3110117.js} +15 -15
- package/dist/esm/{en-gb-9a22d190.js → en-gb-10a51950.js} +15 -15
- package/dist/esm/{es-b50eff9c.js → es-0060e708.js} +15 -15
- package/dist/esm/{es-mx-f3856688.js → es-mx-9000ef44.js} +15 -15
- package/dist/esm/{et-f8819c4a.js → et-cd4439d6.js} +15 -15
- package/dist/esm/{fi-b22b46ac.js → fi-83698625.js} +15 -15
- package/dist/esm/{filter-aa2d9d06.js → filter-72ae00ac.js} +2 -2
- package/dist/esm/{floating-ui-61b3d90f.js → floating-ui-4f58e0a2.js} +3 -3
- package/dist/esm/{focusTrapComponent-0208cf3b.js → focusTrapComponent-d230f9f0.js} +2 -2
- package/dist/esm/{form-12ac9150.js → form-dedd9c02.js} +3 -3
- package/dist/esm/{fr-04a4a839.js → fr-36fef870.js} +15 -15
- package/dist/esm/{fr-ch-3bae079a.js → fr-ch-14a7c3bb.js} +15 -15
- package/dist/esm/{guid-05391bf2.js → guid-dd83e889.js} +1 -1
- package/dist/esm/{he-ee853030.js → he-ef45602c.js} +15 -15
- package/dist/esm/{hi-fe4a5062.js → hi-cfa9cb3d.js} +15 -15
- package/dist/esm/{hr-8d6bfe58.js → hr-0ba8f5d9.js} +15 -15
- package/dist/esm/{hu-8f5da2f7.js → hu-ce3427cd.js} +15 -15
- package/dist/esm/{id-c473441d.js → id-445685f5.js} +15 -15
- package/dist/esm/{index-d67c5d10.js → index-1c787312.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-b8e163e7.js → interactive-77d349b6.js} +1 -1
- package/dist/esm/{it-15437a46.js → it-cba8166e.js} +15 -15
- package/dist/esm/{it-ch-bf0ac2f2.js → it-ch-69f6be13.js} +15 -15
- package/dist/esm/{ja-12a295b0.js → ja-7b05aa7c.js} +15 -15
- package/dist/esm/{key-0d005f36.js → key-dfb4039b.js} +1 -1
- package/dist/esm/{ko-0ad9d5fd.js → ko-f2dd5e30.js} +15 -15
- package/dist/esm/{label-3df941c1.js → label-5b1f39ae.js} +2 -2
- package/dist/esm/{loadable-53d3912c.js → loadable-9d63468b.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-41663808.js → locale-ce540ef4.js} +4 -4
- package/dist/esm/{lt-a75e17b6.js → lt-a61c3c16.js} +15 -15
- package/dist/esm/{lv-d87c9a45.js → lv-dc7180bb.js} +15 -15
- package/dist/esm/{math-6ba6f402.js → math-c4d1f97a.js} +1 -1
- package/dist/esm/{mk-8c0b8c72.js → mk-d687803b.js} +15 -15
- package/dist/esm/{nb-a71de94d.js → nb-35580fb7.js} +15 -15
- package/dist/esm/{nl-d16ba1a2.js → nl-91f06794.js} +15 -15
- package/dist/esm/{observers-ad0b71fe.js → observers-207a0a9b.js} +1 -1
- package/dist/esm/openCloseComponent-9c1ea93a.js +77 -0
- package/dist/esm/{pl-aea1e50c.js → pl-93e93934.js} +15 -15
- package/dist/esm/{pt-2fe89ce2.js → pt-8493d669.js} +15 -15
- package/dist/esm/{pt-br-21d9e1fc.js → pt-br-72d6ced1.js} +15 -15
- package/dist/esm/{resources-6fb985f9.js → resources-6c5593fe.js} +1 -1
- package/dist/esm/{resources-27733003.js → resources-7ecdceab.js} +1 -1
- package/dist/esm/{resources-ac724f48.js → resources-8919ed9f.js} +1 -1
- package/dist/esm/{resources-897eb8cc.js → resources-cb5c8598.js} +1 -1
- package/dist/esm/{resources-4bc34381.js → resources-e4513dd9.js} +1 -1
- package/dist/esm/{resources-c7b8b2d1.js → resources-e823ebc3.js} +5 -5
- package/dist/esm/{resources-1ef8bb56.js → resources-f06380a2.js} +1 -1
- package/dist/esm/{ro-0ec6d35a.js → ro-0d9e66e0.js} +15 -15
- package/dist/esm/{ru-7b2b0f54.js → ru-38e0c0ca.js} +15 -15
- package/dist/esm/{sk-fba9f5a6.js → sk-bdde866b.js} +15 -15
- package/dist/esm/{sl-a6f94ab5.js → sl-e9ce6fc4.js} +15 -15
- package/dist/esm/{sortableComponent-40f8f1bb.js → sortableComponent-e1480531.js} +2 -2
- package/dist/esm/{sr-ba5dd348.js → sr-9ac31f84.js} +15 -15
- package/dist/esm/{sv-6e7d63ba.js → sv-30c17229.js} +15 -15
- package/dist/esm/{t9n-8837ca0b.js → t9n-2fe49921.js} +3 -3
- package/dist/esm/{th-211d6dc1.js → th-9ca3da3b.js} +15 -15
- package/dist/esm/{throttle-fa67bbd3.js → throttle-86965076.js} +2 -2
- package/dist/esm/{tr-de96a2ea.js → tr-4a0a251a.js} +15 -15
- package/dist/esm/{uk-ef66bbd8.js → uk-ba472ef5.js} +15 -15
- package/dist/esm/{utils-87f22f8f.js → utils-630ee859.js} +1 -1
- package/dist/esm/{utils-98a1026d.js → utils-639d6b92.js} +3 -3
- package/dist/esm/{vi-9bd48d6d.js → vi-7f11cba2.js} +15 -15
- package/dist/esm/{zh-cn-171e895d.js → zh-cn-ea039dad.js} +15 -15
- package/dist/esm/{zh-hk-393c1766.js → zh-hk-f0258758.js} +15 -15
- package/dist/esm/{zh-tw-d79f5cee.js → zh-tw-e14d064c.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- 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/tooltip/tooltip.d.ts +1 -0
- package/dist/types/utils/openCloseComponent.d.ts +17 -2
- package/hydrate/index.js +51 -14
- package/package.json +2 -2
- package/dist/calcite/p-0c22b3e4.entry.js +0 -6
- package/dist/calcite/p-29aa2965.entry.js +0 -6
- package/dist/calcite/p-2b12a6a7.entry.js +0 -6
- package/dist/calcite/p-64fd9882.js +0 -6
- package/dist/calcite/p-6edb0f1a.js +0 -6
- package/dist/calcite/p-77256900.entry.js +0 -6
- package/dist/calcite/p-7fc0077d.entry.js +0 -6
- package/dist/calcite/p-8a0325c6.js +0 -6
- package/dist/calcite/p-a03f1fd2.js +0 -6
- package/dist/calcite/p-afa9ebdb.js +0 -6
- package/dist/calcite/p-bbab2433.js +0 -6
- package/dist/calcite/p-c8c96dcb.entry.js +0 -6
- package/dist/calcite/p-d9240e44.js +0 -6
- package/dist/calcite/p-f8e681a8.entry.js +0 -6
- package/dist/cjs/openCloseComponent-232c5366.js +0 -47
- package/dist/esm/openCloseComponent-e1eb7759.js +0 -45
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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.37
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -10304,12 +10304,33 @@ class ActionPad {
|
|
|
10304
10304
|
}; }
|
|
10305
10305
|
}
|
|
10306
10306
|
|
|
10307
|
+
function emitImmediately(component, nonOpenCloseComponent = false) {
|
|
10308
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10309
|
+
? component.onBeforeOpen()
|
|
10310
|
+
: component.onBeforeClose();
|
|
10311
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10312
|
+
? component.onOpen()
|
|
10313
|
+
: component.onClose();
|
|
10314
|
+
}
|
|
10307
10315
|
/**
|
|
10308
10316
|
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
10309
10317
|
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
10310
10318
|
*
|
|
10311
|
-
* @
|
|
10312
|
-
*
|
|
10319
|
+
* @example
|
|
10320
|
+
* import { onToggleOpenCloseComponent, OpenCloseComponent } from "../../utils/openCloseComponent";
|
|
10321
|
+
*
|
|
10322
|
+
* async componentWillLoad() {
|
|
10323
|
+
* // When component initially renders, if `open` was set we need to trigger on load as watcher doesn't fire.
|
|
10324
|
+
* if (this.open) {
|
|
10325
|
+
* onToggleOpenCloseComponent(this);
|
|
10326
|
+
* }
|
|
10327
|
+
* @Watch("open")
|
|
10328
|
+
* async toggleModal(value: boolean): Promise<void> {
|
|
10329
|
+
* onToggleOpenCloseComponent(this);
|
|
10330
|
+
* }
|
|
10331
|
+
*
|
|
10332
|
+
* @param component - OpenCloseComponent uses `open` prop to emit (before)open/close.
|
|
10333
|
+
* @param nonOpenCloseComponent - OpenCloseComponent uses `expanded` prop to emit (before)open/close.
|
|
10313
10334
|
*/
|
|
10314
10335
|
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
10315
10336
|
readTask(() => {
|
|
@@ -10318,24 +10339,35 @@ function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
|
10318
10339
|
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
10319
10340
|
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
10320
10341
|
if (transitionDuration === "0s") {
|
|
10321
|
-
(
|
|
10322
|
-
|
|
10323
|
-
: component.onBeforeClose();
|
|
10324
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10325
|
-
? component.onOpen()
|
|
10326
|
-
: component.onClose();
|
|
10342
|
+
emitImmediately(component, nonOpenCloseComponent);
|
|
10343
|
+
return;
|
|
10327
10344
|
}
|
|
10328
|
-
|
|
10329
|
-
component.transitionEl.
|
|
10345
|
+
const fallbackTimeoutId = setTimeout(() => {
|
|
10346
|
+
component.transitionEl.removeEventListener("transitionstart", onStart);
|
|
10347
|
+
component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
|
|
10348
|
+
component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
|
|
10349
|
+
emitImmediately(component, nonOpenCloseComponent);
|
|
10350
|
+
}, parseFloat(transitionDuration) * 1000);
|
|
10351
|
+
component.transitionEl.addEventListener("transitionstart", onStart);
|
|
10352
|
+
component.transitionEl.addEventListener("transitionend", onEndOrCancel);
|
|
10353
|
+
component.transitionEl.addEventListener("transitioncancel", onEndOrCancel);
|
|
10354
|
+
function onStart(event) {
|
|
10355
|
+
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10356
|
+
clearTimeout(fallbackTimeoutId);
|
|
10357
|
+
component.transitionEl.removeEventListener("transitionstart", onStart);
|
|
10330
10358
|
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10331
10359
|
? component.onBeforeOpen()
|
|
10332
10360
|
: component.onBeforeClose();
|
|
10333
|
-
}
|
|
10334
|
-
|
|
10361
|
+
}
|
|
10362
|
+
}
|
|
10363
|
+
function onEndOrCancel(event) {
|
|
10364
|
+
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10335
10365
|
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10336
10366
|
? component.onOpen()
|
|
10337
10367
|
: component.onClose();
|
|
10338
|
-
|
|
10368
|
+
component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
|
|
10369
|
+
component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
|
|
10370
|
+
}
|
|
10339
10371
|
}
|
|
10340
10372
|
}
|
|
10341
10373
|
});
|
|
@@ -42024,6 +42056,11 @@ class Tooltip {
|
|
|
42024
42056
|
onToggleOpenCloseComponent(this);
|
|
42025
42057
|
}
|
|
42026
42058
|
}
|
|
42059
|
+
async componentWillLoad() {
|
|
42060
|
+
if (this.open) {
|
|
42061
|
+
onToggleOpenCloseComponent(this);
|
|
42062
|
+
}
|
|
42063
|
+
}
|
|
42027
42064
|
componentDidLoad() {
|
|
42028
42065
|
if (this.referenceElement && !this.effectiveReferenceElement) {
|
|
42029
42066
|
this.setUpReferenceElement();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.37",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"volta": {
|
|
87
87
|
"extends": "../../package.json"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "b4f07bd818b8b056e463a934f260648ed50e9cb6"
|
|
90
90
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,a as o}from"./p-45e46e96.js";import{q as n,i as a,v as r,t as l}from"./p-871c8ad2.js";import{c,b as h,a as d,r as p,F as f}from"./p-2f5b625a.js";import{g as u}from"./p-cbbc60b7.js";import{o as m}from"./p-afa9ebdb.js";import{F as v}from"./p-85612a29.js";import"./p-b7b173b9.js";import"./p-6b1d58aa.js";const g="aria-describedby";function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):i)||null}const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(g,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(g),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return p(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[f.animation]:!0,[f.animationActive]:a},ref:this.setTransitionEl},e(v,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.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:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as s,h as i,a as e}from"./p-45e46e96.js";import{k as a,t as o}from"./p-871c8ad2.js";import{c as h,d as c,u as n}from"./p-114d135b.js";import{c as r}from"./p-d93cd654.js";import{a as l,s as d,c as p}from"./p-bbab2433.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";const b=class{constructor(i){t(this,i),this.calciteChipGroupSelect=s(this,"calciteChipGroupSelect",6),this.mutationObserver=r("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=t=>{this.items=(t?t.target:this.slotRefEl).assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip"))),this.items.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(t,s)=>{s&&this.items.forEach((t=>{const i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=!!i&&!t.selected;break;case"single-persist":t.selected=!!i}})),this.selectedItems=this.items.filter((t=>t.selected)),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){h(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){c(this),n(this)}componentDidLoad(){l(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}async componentWillLoad(){d(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const s=this.items.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":a(s,t.detail.target,"next");break;case"ArrowLeft":a(s,t.detail.target,"previous");break;case"Home":a(s,t.detail.target,"first");break;case"End":a(s,t.detail.target,"last")}}}calciteChipCloseListener(t){const s=t.target;this.items.includes(s)&&(this.items.indexOf(s)>0?a(this.items,s,"previous"):0===this.items.indexOf(s)?a(this.items,s,"next"):a(this.items,s,"first")),this.items=this.items.filter((t=>t!==s))}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target)}async setFocus(){if(await p(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return i("div",{"aria-disabled":o(this.disabled),"aria-label":this.label,class:"container",role:t},i("slot",{onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};b.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{b as calcite_chip_group}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as i,a}from"./p-45e46e96.js";import{c as e}from"./p-d93cd654.js";import{c as s,s as n,a as o}from"./p-bbab2433.js";const r=class{constructor(i){t(this,i),this.itemMutationObserver=e("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{el:t,items:i}=this,a=Array.from(t.querySelectorAll("calcite-flow-item")).filter((i=>i.closest("calcite-flow")===t)),e=i.length,s=a.length,n=a[s-1],o=a[s-2];if(s&&n&&a.forEach((t=>{t.showBackButton=t===n&&s>1,t.hidden=t!==n})),o&&(o.menuOpen=!1),this.items=a,e!==s){const t=this.getFlowDirection(e,s);this.itemCount=s,this.flowDirection=t}},this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const a=i.beforeBack?i.beforeBack:()=>Promise.resolve();return await a.call(i),i.remove(),i}async setFocus(){await s(this);const{items:t}=this;return t[t.length-1]?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){n(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(){return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{class:{frame:!0,"frame--advancing":"advancing"===t,"frame--retreating":"retreating"===t}},i("slot",null))}get el(){return a(this)}};r.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_flow}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{g as n}from"./p-45e46e96.js";import{g as t}from"./p-acbf0a8c.js";const s={};function c(){throw new Error("could not fetch component message bundle")}function o(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function a(n){n.defaultMessages=await e(n,n.effectiveLocale),o(n)}async function e(o,a){const{el:e}=o,i=e.tagName.toLowerCase().replace("calcite-","");return async function(t,o){const a=`${o}_${t}`;return s[a]||(s[a]=fetch(n(`./assets/${o}/t9n/messages_${t}.json`)).then((n=>(n.ok||c(),n.json()))).catch((()=>c()))),s[a]}(t(a,"t9n"),i)}async function i(n,t){n.defaultMessages=await e(n,t),o(n)}function f(n){n.onMessagesChange=r}function u(n){n.onMessagesChange=void 0}function r(){o(this)}export{f as c,u as d,a as s,i as u}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-d0eea2dc.js";import"./p-45e46e96.js";import"./p-ce813f5e.js";import"./p-871c8ad2.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";import"./p-114d135b.js";import"./p-f34b8339.js";import"./p-5aeb469c.js";import"./p-bbab2433.js";import"./p-acbf0a8c.js";import"./p-d93cd654.js";import"./p-0c4ad0a4.js";import"./p-64fd9882.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var a=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-d0eea2dc.js";import"./p-45e46e96.js";import"./p-ce813f5e.js";import"./p-871c8ad2.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";import"./p-114d135b.js";import"./p-f34b8339.js";import"./p-5aeb469c.js";import"./p-bbab2433.js";import"./p-acbf0a8c.js";import"./p-d93cd654.js";import"./p-0c4ad0a4.js";import"./p-64fd9882.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as a,a as o}from"./p-45e46e96.js";import{d as s}from"./p-871c8ad2.js";import{c as i,u as d,d as e}from"./p-114d135b.js";import{s as r,a as l,c as p}from"./p-bbab2433.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";const n=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){i(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this)}componentDidRender(){d(this)}disconnectedCallback(){e(this)}async setFocus(){await p(this),s(this.buttonEl)}render(){const{appearance:t,kind:o,disabled:s,loading:i,scale:d,textEnabled:e,icon:r,label:l,text:p,iconFlipRtl:n}=this;return a("calcite-button",{appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:s,iconFlipRtl:n?"start":null,iconStart:r,kind:o,label:l,loading:i,round:!0,scale:d,title:e?null:l||p||null,type:"button",width:"auto",ref:t=>{this.buttonEl=t}},this.textEnabled?this.text:null)}get el(){return o(this)}};n.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--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)}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_fab}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-45e46e96.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=e.level?`h${e.level}`:"div";return delete e.level,t(n,{...e},r)};export{r as H,e as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{d as i,i as n}from"./p-6b1d58aa.js";function a(a,t,r){var e=!0,o=!0;if("function"!=typeof a)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),i(a,t,{leading:e,maxWait:t,trailing:o})}export{a as t}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{e as t}from"./p-45e46e96.js";function o(o,e=!1){t((()=>{if(o.transitionEl){const t=getComputedStyle(o.transitionEl).transition.split(" "),n=t.findIndex((t=>t===o.openTransitionProp));"0s"===t[n+1]?((e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose(),(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()):(o.transitionEl.addEventListener("transitionstart",(()=>{(e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose()}),{once:!0}),o.transitionEl.addEventListener("transitionend",(()=>{(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()}),{once:!0}))}}))}export{o}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{f as n}from"./p-45e46e96.js";const e=new WeakMap,a=new WeakMap;function s(n){a.set(n,new Promise((a=>e.set(n,a))))}function t(n){e.get(n)()}function o(n){return a.get(n)}async function r(e){return await o(e),n(e),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,a as s,F as a}from"./p-45e46e96.js";import{c as n,d as o,u as c}from"./p-114d135b.js";import{s as l,a as r,c as h}from"./p-bbab2433.js";import{c as d}from"./p-d93cd654.js";import{m as p,d as m,a as u,s as b,h as g,b as f,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-e6c14e2b.js";import{c as A,d as P}from"./p-d9240e44.js";import{g as T,t as U}from"./p-871c8ad2.js";import{H as K,c as O}from"./p-8a0325c6.js";import{c as q,d as E}from"./p-acbf0a8c.js";import{u as B,c as G,s as J,d as N}from"./p-64fd9882.js";import"./p-4314f684.js";import"./p-6b1d58aa.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";import"./p-f34b8339.js";const Q=class{constructor(e){t(this,e),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=d("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=u.bind(this),this.selectSiblings=b.bind(this),this.handleFilter=g.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=v.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),k.call(this),n(this)}disconnectedCallback(){y.call(this),o(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this),z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return e(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Q.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(i){t(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:i,headingLevel:s}=this,n=null!==T(t,D.parentItem),o={[R.container]:!0,[R.indented]:n},c=i,l=t.closest("calcite-pick-list")?.headingLevel,r=l?O(l+1):null;return e(a,null,c?e(K,{class:R.heading,level:s||r},c):null,e("slot",{name:D.parentItem}),e("section",{class:o},e("slot",null)))}get el(){return s(this)}};X.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(e){t(this,e),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=i(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=i(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,i){this.calciteInternalListItemValueChange.emit({oldValue:i,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){n(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),l(this)}componentDidLoad(){r(this)}disconnectedCallback(){o(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await h(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:i}=this;return t?e("span",{class:{[S.icon]:!0,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?e("calcite-icon",{flipRtl:i,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?e("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?e("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},e("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:i}=this;return T(t,V.actionsEnd)||i?e("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},e("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:i}=this;return e(a,null,this.renderIcon(),this.renderActionsStart(),e("label",{"aria-label":i,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},e("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},e("span",{class:S.title},i),t?e("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-45e46e96.js";import{c as o}from"./p-d93cd654.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",e)),c.observe(t.el,s)}function i(t){n.delete(t.el),e(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function e(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i 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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{h as i,r as t,c as s,H as e,a}from"./p-45e46e96.js";import{c as n,d as o,H as h}from"./p-ce813f5e.js";import{g as l}from"./p-cbbc60b7.js";import{c,d as r,u as d}from"./p-114d135b.js";import{c as p,d as u}from"./p-5aeb469c.js";import{s as m,a as f,c as b}from"./p-bbab2433.js";import{c as v,d as g}from"./p-acbf0a8c.js";import{u as y,c as w,s as k,d as x}from"./p-64fd9882.js";import"./p-871c8ad2.js";import"./p-b7b173b9.js";import"./p-f34b8339.js";import"./p-d93cd654.js";const j=({full:t,scale:s,partial:e})=>i("calcite-icon",{class:e?void 0:"icon",icon:t?"star-f":"star",scale:s}),z=class{constructor(i){t(this,i),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),s=i.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${l()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){c(this),v(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const s=t+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===s,fraction:e,hovered:a,id:`${this.guid}-${s}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s}}))}componentDidLoad(){f(this)}disconnectedCallback(){r(this),g(this),x(this),u(this),o(this)}componentDidRender(){d(this)}render(){return i(e,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:s,focused:e,fraction:a,hovered:n,id:o,idx:h,partial:l,selected:c,value:r})=>i("label",{class:{star:!0,focused:e,selected:c,hovered:n,average:t,partial:l},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,type:"radio",value:r,ref:i=>(this.inputRefs[h]=i,(1===r||r===this.value)&&(this.inputFocusRef=i))}),i(j,{full:c||t,scale:this.scale}),l&&i("div",{class:"fraction",style:{width:100*a+"%"}},i(j,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${r}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(h,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await b(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::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}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_rating}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const index = require('./index-1b0c4c3c.js');
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
12
|
-
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
13
|
-
*
|
|
14
|
-
* @param component
|
|
15
|
-
* @param nonOpenCloseComponent
|
|
16
|
-
*/
|
|
17
|
-
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
18
|
-
index.readTask(() => {
|
|
19
|
-
if (component.transitionEl) {
|
|
20
|
-
const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
|
|
21
|
-
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
22
|
-
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
23
|
-
if (transitionDuration === "0s") {
|
|
24
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
25
|
-
? component.onBeforeOpen()
|
|
26
|
-
: component.onBeforeClose();
|
|
27
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
28
|
-
? component.onOpen()
|
|
29
|
-
: component.onClose();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
component.transitionEl.addEventListener("transitionstart", () => {
|
|
33
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
34
|
-
? component.onBeforeOpen()
|
|
35
|
-
: component.onBeforeClose();
|
|
36
|
-
}, { once: true });
|
|
37
|
-
component.transitionEl.addEventListener("transitionend", () => {
|
|
38
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
39
|
-
? component.onOpen()
|
|
40
|
-
: component.onClose();
|
|
41
|
-
}, { once: true });
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
exports.onToggleOpenCloseComponent = onToggleOpenCloseComponent;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import { e as readTask } from './index-d67c5d10.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
10
|
-
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
11
|
-
*
|
|
12
|
-
* @param component
|
|
13
|
-
* @param nonOpenCloseComponent
|
|
14
|
-
*/
|
|
15
|
-
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
16
|
-
readTask(() => {
|
|
17
|
-
if (component.transitionEl) {
|
|
18
|
-
const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
|
|
19
|
-
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
20
|
-
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
21
|
-
if (transitionDuration === "0s") {
|
|
22
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
23
|
-
? component.onBeforeOpen()
|
|
24
|
-
: component.onBeforeClose();
|
|
25
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
26
|
-
? component.onOpen()
|
|
27
|
-
: component.onClose();
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
component.transitionEl.addEventListener("transitionstart", () => {
|
|
31
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
32
|
-
? component.onBeforeOpen()
|
|
33
|
-
: component.onBeforeClose();
|
|
34
|
-
}, { once: true });
|
|
35
|
-
component.transitionEl.addEventListener("transitionend", () => {
|
|
36
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
37
|
-
? component.onOpen()
|
|
38
|
-
: component.onClose();
|
|
39
|
-
}, { once: true });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { onToggleOpenCloseComponent as o };
|