@esri/calcite-components 1.8.0-next.0 → 1.8.0-next.2
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-b832aa0b.entry.js → p-036b1596.entry.js} +2 -2
- package/dist/calcite/{p-e9389ecb.entry.js → p-03eba3a5.entry.js} +2 -2
- package/dist/calcite/{p-be17fd5e.js → p-04b6baa4.js} +1 -1
- package/dist/calcite/{p-d29bbe7d.js → p-066dc809.js} +2 -2
- package/dist/calcite/{p-c1f4b204.entry.js → p-08840448.entry.js} +2 -2
- package/dist/calcite/{p-96dbe651.js → p-0adb81b8.js} +2 -2
- package/dist/calcite/{p-e5fedd4b.js → p-0b6007af.js} +2 -2
- package/dist/calcite/p-0f88c67a.entry.js +6 -0
- package/dist/calcite/{p-ea252928.entry.js → p-120974a1.entry.js} +2 -2
- package/dist/calcite/p-1509fdd1.entry.js +6 -0
- package/dist/calcite/{p-b109376d.js → p-1ad12459.js} +1 -1
- package/dist/calcite/{p-1e23cc4e.js → p-1b04268f.js} +2 -2
- package/dist/calcite/{p-d880b9c7.js → p-1b397778.js} +2 -2
- package/dist/calcite/{p-0497aa28.entry.js → p-1b757ee2.entry.js} +2 -2
- package/dist/calcite/p-1e15b11f.entry.js +6 -0
- package/dist/calcite/{p-25188391.entry.js → p-1f698387.entry.js} +2 -2
- package/dist/calcite/{p-84959db6.js → p-1f8db6d0.js} +2 -2
- package/dist/calcite/{p-bc1e3804.js → p-23007f69.js} +1 -1
- package/dist/calcite/{p-f3d5dcbf.js → p-257ab1aa.js} +2 -2
- package/dist/calcite/{p-4e393b21.js → p-2619a0e2.js} +2 -2
- package/dist/calcite/{p-e640f747.entry.js → p-2622d2e1.entry.js} +2 -2
- package/dist/calcite/{p-bf0f7949.js → p-27ccb19b.js} +1 -1
- package/dist/calcite/{p-73dc422d.entry.js → p-2c64e8cc.entry.js} +2 -2
- package/dist/calcite/{p-3b7d1d44.js → p-2c787541.js} +1 -1
- package/dist/calcite/{p-2286d2d1.js → p-2dd0f14a.js} +2 -2
- package/dist/calcite/{p-d2097573.js → p-3143d41c.js} +2 -2
- package/dist/calcite/{p-dd451dd4.entry.js → p-38bb8470.entry.js} +2 -2
- package/dist/calcite/{p-802b7522.js → p-40aa317c.js} +2 -2
- package/dist/calcite/{p-9c0e58f2.entry.js → p-41adfde9.entry.js} +2 -2
- package/dist/calcite/{p-1b8ea41d.js → p-4204ef5a.js} +2 -2
- package/dist/calcite/{p-0239a208.entry.js → p-463933db.entry.js} +2 -2
- package/dist/calcite/{p-0447b799.entry.js → p-4aafde73.entry.js} +2 -2
- package/dist/calcite/{p-7c40cf3b.entry.js → p-4bbb0f2a.entry.js} +2 -2
- package/dist/calcite/{p-213efa06.js → p-4e38c8cf.js} +2 -2
- package/dist/calcite/{p-a6f8f0ff.js → p-51ed4e4a.js} +2 -2
- package/dist/calcite/{p-92bb87e6.entry.js → p-527511d1.entry.js} +2 -2
- package/dist/calcite/{p-113034a2.entry.js → p-5318fd81.entry.js} +2 -2
- package/dist/calcite/{p-ed30a0dc.entry.js → p-5346b038.entry.js} +2 -2
- package/dist/calcite/{p-2a757849.js → p-53af434f.js} +2 -2
- package/dist/calcite/{p-3e23b243.entry.js → p-57684475.entry.js} +2 -2
- package/dist/calcite/p-58cbb8a9.js +6 -0
- package/dist/calcite/{p-3924127c.js → p-5aa84cb3.js} +2 -2
- package/dist/calcite/{p-a3d265ff.js → p-5bd7869d.js} +2 -2
- package/dist/calcite/{p-53f5cf93.entry.js → p-5c204e92.entry.js} +2 -2
- package/dist/calcite/{p-185bc5dd.js → p-5d0b058c.js} +1 -1
- package/dist/calcite/{p-ddef8b45.js → p-5d90daca.js} +2 -2
- package/dist/calcite/{p-e5e22b57.js → p-61be360e.js} +2 -2
- package/dist/calcite/{p-6628692d.entry.js → p-639267a7.entry.js} +2 -2
- package/dist/calcite/{p-a1ff5901.entry.js → p-6448169c.entry.js} +2 -2
- package/dist/calcite/{p-791512ef.js → p-64b6a9a2.js} +2 -2
- package/dist/calcite/{p-d9b8302b.entry.js → p-66d866cd.entry.js} +2 -2
- package/dist/calcite/{p-6c9a6e69.js → p-691dec0e.js} +2 -2
- package/dist/calcite/{p-5aae88ad.js → p-6a082e2a.js} +1 -1
- package/dist/calcite/{p-90d59e83.js → p-6b84ed38.js} +2 -2
- package/dist/calcite/{p-e9b614a4.js → p-6e0af4db.js} +2 -2
- package/dist/calcite/{p-6b5ab9e7.js → p-6e911f4e.js} +2 -2
- package/dist/calcite/{p-97eea906.entry.js → p-6f812e3a.entry.js} +2 -2
- package/dist/calcite/{p-b5cbc17f.js → p-73ae8e25.js} +2 -2
- package/dist/calcite/{p-86f2af06.entry.js → p-753cd9a1.entry.js} +2 -2
- package/dist/calcite/{p-71a35c97.entry.js → p-799d23d7.entry.js} +2 -2
- package/dist/calcite/{p-7f0f455c.entry.js → p-7abe163b.entry.js} +2 -2
- package/dist/calcite/{p-81e1ef08.js → p-7bf4fbf9.js} +2 -2
- package/dist/calcite/{p-a71d7284.js → p-7cb0e0a4.js} +1 -1
- package/dist/calcite/{p-a31aaf8e.js → p-7dd0807f.js} +2 -2
- package/dist/calcite/{p-cffffe45.js → p-7f1406e2.js} +2 -2
- package/dist/calcite/{p-8fb0df33.js → p-807e2978.js} +2 -2
- package/dist/calcite/{p-8e73215b.js → p-82da6868.js} +2 -2
- package/dist/calcite/{p-992d6edc.js → p-85087cf1.js} +1 -1
- package/dist/calcite/{p-2cadeb98.entry.js → p-85e129d7.entry.js} +2 -2
- package/dist/calcite/{p-d9832528.entry.js → p-8a1f1bb1.entry.js} +2 -2
- package/dist/calcite/{p-b5a3a8ca.entry.js → p-8d162e54.entry.js} +2 -2
- package/dist/calcite/{p-21280647.js → p-8d721572.js} +2 -2
- package/dist/calcite/{p-16156640.entry.js → p-8d80c0f7.entry.js} +2 -2
- package/dist/calcite/{p-bf951fb7.entry.js → p-8eae2b94.entry.js} +2 -2
- package/dist/calcite/{p-913425b0.js → p-8ef5c308.js} +2 -2
- package/dist/calcite/{p-1f0d19a8.entry.js → p-8fee5d6b.entry.js} +2 -2
- package/dist/calcite/{p-447238fe.entry.js → p-902b0928.entry.js} +2 -2
- package/dist/calcite/{p-4c7256c0.entry.js → p-9043e5e6.entry.js} +2 -2
- package/dist/calcite/{p-76496142.js → p-91394c6e.js} +1 -1
- package/dist/calcite/{p-25cdf705.js → p-91d1b677.js} +2 -2
- package/dist/calcite/{p-ec2ea998.js → p-92b10c2a.js} +2 -2
- package/dist/calcite/{p-71c0f6bd.entry.js → p-92c666d8.entry.js} +2 -2
- package/dist/calcite/{p-c4e449d4.entry.js → p-92f2a007.entry.js} +2 -2
- package/dist/calcite/{p-0e0e49ef.entry.js → p-94b2681b.entry.js} +2 -2
- package/dist/calcite/{p-7aaea473.entry.js → p-9556b55d.entry.js} +2 -2
- package/dist/calcite/{p-d0c6e7ed.entry.js → p-95c80464.entry.js} +2 -2
- package/dist/calcite/{p-286bbc39.js → p-97b579b0.js} +2 -2
- package/dist/calcite/{p-179deb38.entry.js → p-9932d421.entry.js} +2 -2
- package/dist/calcite/{p-ca2c92d5.js → p-9958fa7b.js} +2 -2
- package/dist/calcite/{p-9f545b5e.entry.js → p-9999e422.entry.js} +2 -2
- package/dist/calcite/{p-3b25f9af.js → p-9a476249.js} +1 -1
- package/dist/calcite/{p-668f125d.js → p-9b6f11c1.js} +2 -2
- package/dist/calcite/{p-3a5484f0.entry.js → p-9c46ee01.entry.js} +2 -2
- package/dist/calcite/{p-76a15bfd.js → p-a07c566b.js} +2 -2
- package/dist/calcite/{p-ba6a231b.js → p-a12fbaf2.js} +2 -2
- package/dist/calcite/{p-fa9f6acf.entry.js → p-a1759655.entry.js} +2 -2
- package/dist/calcite/{p-178ec5a4.js → p-a18ec933.js} +2 -2
- package/dist/calcite/{p-d99a0788.js → p-a23ecb2f.js} +2 -2
- package/dist/calcite/{p-e85ed037.entry.js → p-a2cff12e.entry.js} +2 -2
- package/dist/calcite/{p-eb8f176c.entry.js → p-a470d2ad.entry.js} +2 -2
- package/dist/calcite/{p-4af56c29.js → p-a4cb858e.js} +2 -2
- package/dist/calcite/{p-1e8d7a9d.js → p-a5cd15cd.js} +2 -2
- package/dist/calcite/{p-b31d2494.js → p-a60e1755.js} +2 -2
- package/dist/calcite/{p-9e9446b8.entry.js → p-a85465e8.entry.js} +2 -2
- package/dist/calcite/{p-fd24ce3a.js → p-aa48056c.js} +1 -1
- package/dist/calcite/{p-4000384f.js → p-ae7b8a50.js} +2 -2
- package/dist/calcite/{p-7d7eb774.js → p-af42d798.js} +2 -2
- package/dist/calcite/{p-69fc7dc1.js → p-b1728d93.js} +2 -2
- package/dist/calcite/{p-b766ac5e.entry.js → p-b1af066a.entry.js} +2 -2
- package/dist/calcite/p-b1c8dfa4.js +6 -0
- package/dist/calcite/{p-49c010d6.js → p-b1dbdbad.js} +1 -1
- package/dist/calcite/{p-024d74a4.entry.js → p-b31d674f.entry.js} +2 -2
- package/dist/calcite/{p-3c4b8d46.entry.js → p-bf3d91ee.entry.js} +2 -2
- package/dist/calcite/{p-5e4355cc.js → p-bf9701bf.js} +1 -1
- package/dist/calcite/{p-4f38532f.entry.js → p-c3407d22.entry.js} +2 -2
- package/dist/calcite/p-c6a19fab.entry.js +6 -0
- package/dist/calcite/{p-21b56c26.entry.js → p-c74790b6.entry.js} +2 -2
- package/dist/calcite/{p-19980bcd.js → p-c778afbe.js} +2 -2
- package/dist/calcite/{p-86d158a0.js → p-c780089b.js} +1 -1
- package/dist/calcite/{p-d649c2f3.entry.js → p-c9e376bc.entry.js} +2 -2
- package/dist/calcite/{p-e6919bdf.js → p-ca2fdf4a.js} +2 -2
- package/dist/calcite/{p-b7314347.entry.js → p-ca78b627.entry.js} +2 -2
- package/dist/calcite/p-cc0fb892.js +6 -0
- package/dist/calcite/{p-60321383.entry.js → p-d03480d3.entry.js} +2 -2
- package/dist/calcite/{p-af147fd8.js → p-d1db33a9.js} +2 -2
- package/dist/calcite/{p-7c57544a.js → p-d207058c.js} +2 -2
- package/dist/calcite/{p-c0e6e9c0.js → p-d3e66e45.js} +2 -2
- package/dist/calcite/{p-53f68583.js → p-d3f5fd02.js} +3 -3
- package/dist/calcite/{p-64670555.entry.js → p-d5decba3.entry.js} +2 -2
- package/dist/calcite/{p-6e863bba.js → p-d60170cf.js} +2 -2
- package/dist/calcite/{p-023cfe90.js → p-d835f65d.js} +2 -2
- package/dist/calcite/{p-00c9b817.entry.js → p-d9624f04.entry.js} +2 -2
- package/dist/calcite/{p-390039a5.entry.js → p-d9d0589b.entry.js} +2 -2
- package/dist/calcite/{p-e7f01d78.js → p-dc265aad.js} +2 -2
- package/dist/calcite/{p-4c6163ff.js → p-dd3eb6a1.js} +2 -2
- package/dist/calcite/{p-26a607bc.js → p-ddd4d031.js} +1 -1
- package/dist/calcite/{p-45762287.js → p-deb1c8bd.js} +2 -2
- package/dist/calcite/{p-9ce5b9a4.js → p-ded8599e.js} +2 -2
- package/dist/calcite/{p-8fc4f30c.entry.js → p-e228bad0.entry.js} +2 -2
- package/dist/calcite/{p-0e6e7cb1.js → p-e319f59f.js} +2 -2
- package/dist/calcite/{p-b13403c8.entry.js → p-e724b373.entry.js} +2 -2
- package/dist/calcite/{p-a84f33d0.js → p-e81752c9.js} +2 -2
- package/dist/calcite/{p-ee903a0c.js → p-e9a759aa.js} +2 -2
- package/dist/calcite/{p-59dadf5d.js → p-eb1a87d8.js} +2 -2
- package/dist/calcite/{p-1e76fc94.js → p-ef11c240.js} +2 -2
- package/dist/calcite/p-f0f5d533.entry.js +6 -0
- package/dist/calcite/{p-51292ab7.js → p-f3bba088.js} +2 -2
- package/dist/calcite/{p-1257c9eb.entry.js → p-f60f863b.entry.js} +2 -2
- package/dist/calcite/p-f8103d71.entry.js +6 -0
- package/dist/calcite/{p-8ea459a6.entry.js → p-f9369cb1.entry.js} +2 -2
- package/dist/calcite/{p-95a01691.entry.js → p-f991cac2.entry.js} +2 -2
- package/dist/calcite/{p-7a9c352e.entry.js → p-fa351278.entry.js} +2 -2
- package/dist/calcite/p-faefeafc.entry.js +6 -0
- package/dist/calcite/{p-aa12e51c.entry.js → p-fcbb6d76.entry.js} +2 -2
- package/dist/calcite/{p-8a41d23c.js → p-fd9bc235.js} +2 -2
- package/dist/calcite/{p-89ee0f6f.entry.js → p-ff640e4f.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-606f9a1b.js → ExpandToggle-29a1c406.js} +5 -5
- package/dist/cjs/{FloatingArrow-760f2563.js → FloatingArrow-4c9983f9.js} +2 -2
- package/dist/cjs/{Heading-0d543739.js → Heading-08ae04ac.js} +2 -2
- package/dist/cjs/{app-globals-b4b1fb76.js → app-globals-f9f4aa57.js} +2 -2
- package/dist/cjs/{ar-647645d5.js → ar-28a6aeea.js} +17 -17
- package/dist/cjs/{array-c4d6b56f.js → array-1046ee0f.js} +1 -1
- package/dist/cjs/{bg-e86a1505.js → bg-9022f2df.js} +17 -17
- package/dist/cjs/{browser-64387f05.js → browser-d3845585.js} +1 -1
- package/dist/cjs/{bs-f2bd59c4.js → bs-da862532.js} +17 -17
- package/dist/cjs/{ca-600ed0a3.js → ca-7082af60.js} +17 -17
- 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 +14 -14
- 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 +12 -12
- 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 +14 -14
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -14
- 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 +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +27 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-c2e0ff4f.js → calcite-input-time-picker.calcite-time-picker-dc88642c.js} +61 -61
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +20 -18
- 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-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +30 -35
- 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 +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sheet.cjs.entry.js +17 -26
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-fb35b27f.js → conditionalSlot-5f83ee7d.js} +3 -3
- package/dist/cjs/{cs-ca65c251.js → cs-2a7e2d40.js} +17 -17
- package/dist/cjs/{da-f52e9d89.js → da-074eb263.js} +17 -17
- package/dist/cjs/{de-aa9638db.js → de-9eb5a90a.js} +17 -17
- package/dist/cjs/{de-at-9529129f.js → de-at-e90f6207.js} +17 -17
- package/dist/cjs/{de-ch-902c88f3.js → de-ch-4b0638ec.js} +17 -17
- package/dist/cjs/{debounce-5dada122.js → debounce-c77321b5.js} +1 -1
- package/dist/cjs/{dom-6d14ccfd.js → dom-1c7807d1.js} +3 -3
- package/dist/cjs/{el-b4d713b6.js → el-b348041d.js} +17 -17
- package/dist/cjs/{en-au-ddcf7b12.js → en-au-cc38e5a2.js} +17 -17
- package/dist/cjs/{en-ca-7ef212d0.js → en-ca-fe1f57d9.js} +17 -17
- package/dist/cjs/{en-gb-c3b03e20.js → en-gb-3e7b1457.js} +17 -17
- package/dist/cjs/{es-63a2273b.js → es-f25634ea.js} +17 -17
- package/dist/cjs/{es-mx-41232776.js → es-mx-d0ac3b81.js} +17 -17
- package/dist/cjs/{et-64c07d80.js → et-7779d71e.js} +17 -17
- package/dist/cjs/{fi-155d28d6.js → fi-5eb8e99c.js} +17 -17
- package/dist/cjs/{filter-d4ecf6e6.js → filter-ff1296d6.js} +2 -2
- package/dist/cjs/{floating-ui-7e9e70e9.js → floating-ui-b2fa8e6f.js} +3 -3
- package/dist/cjs/{focusTrapComponent-c488931b.js → focusTrapComponent-e3cedd20.js} +2 -2
- package/dist/cjs/{form-03af6017.js → form-b70eea8d.js} +3 -3
- package/dist/cjs/{fr-7731a008.js → fr-cfbb799b.js} +17 -17
- package/dist/cjs/{fr-ch-20eae645.js → fr-ch-c8d16121.js} +17 -17
- package/dist/cjs/{guid-7c85d843.js → guid-c0bcb912.js} +1 -1
- package/dist/cjs/{he-1b6451cb.js → he-37c18717.js} +17 -17
- package/dist/cjs/{hi-58b9eea7.js → hi-8a28297b.js} +17 -17
- package/dist/cjs/{hr-32444d7c.js → hr-305acb9a.js} +17 -17
- package/dist/cjs/{hu-12ae7fb0.js → hu-5a789f8b.js} +17 -17
- package/dist/cjs/{id-2ff7fea5.js → id-ce806367.js} +17 -17
- package/dist/cjs/{index-c339d674.js → index-d25144b0.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-e94316ee.js → interactive-5789a520.js} +2 -2
- package/dist/cjs/{it-ch-b5a01c01.js → it-ch-9c4af16c.js} +17 -17
- package/dist/cjs/{it-0e3ed81d.js → it-ed453b26.js} +17 -17
- package/dist/cjs/{ja-0878e049.js → ja-0c65ee16.js} +17 -17
- package/dist/cjs/{key-2b143b6b.js → key-43da1067.js} +1 -1
- package/dist/cjs/{ko-6ffbe658.js → ko-7f6f12ac.js} +17 -17
- package/dist/cjs/{label-d2c4424f.js → label-4e62646f.js} +2 -2
- package/dist/cjs/{loadable-e9edda38.js → loadable-d83ba19d.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-e9a4c11f.js → locale-83986703.js} +7 -4
- package/dist/cjs/{lt-1cb4b700.js → lt-ef889933.js} +17 -17
- package/dist/cjs/{lv-4862aba4.js → lv-e4923261.js} +17 -17
- package/dist/cjs/{math-ee5847f1.js → math-48ea6ca5.js} +1 -1
- package/dist/cjs/{mk-53f6344c.js → mk-da06f8be.js} +17 -17
- package/dist/cjs/{nb-7b13ed73.js → nb-a129bc3f.js} +17 -17
- package/dist/cjs/{nl-a3c47c52.js → nl-47ea271c.js} +17 -17
- package/dist/cjs/{observers-31e8c0b9.js → observers-855a7876.js} +1 -1
- package/dist/cjs/{openCloseComponent-3653e6b9.js → openCloseComponent-02ccb62a.js} +9 -6
- package/dist/cjs/{pl-b1cfe8b5.js → pl-ec52bf9d.js} +17 -17
- package/dist/cjs/{pt-eb1fd432.js → pt-80f92e0b.js} +17 -17
- package/dist/cjs/{pt-br-1282d800.js → pt-br-05359c38.js} +17 -17
- package/dist/cjs/{resources-31d661b0.js → resources-19d8809b.js} +1 -1
- package/dist/cjs/{resources-14d3e4d4.js → resources-1b1b3bb3.js} +1 -1
- package/dist/cjs/{resources-2ade5f82.js → resources-2f4554d5.js} +1 -1
- package/dist/cjs/{resources-b0887435.js → resources-3b8d3452.js} +1 -1
- package/dist/cjs/{resources-f1384073.js → resources-3e5ddc4c.js} +1 -1
- package/dist/cjs/{resources-47512cff.js → resources-4142f7c1.js} +5 -5
- package/dist/cjs/{resources-fb176760.js → resources-f8517fa4.js} +1 -1
- package/dist/cjs/{ro-9e0bcb11.js → ro-23331dde.js} +17 -17
- package/dist/cjs/{ru-dbf81f40.js → ru-cb4f8173.js} +17 -17
- package/dist/cjs/{sk-580c1068.js → sk-f6fcfd32.js} +17 -17
- package/dist/cjs/{sl-5c661947.js → sl-ac5bf952.js} +17 -17
- package/dist/cjs/{sortableComponent-1b55d0d6.js → sortableComponent-14b0e204.js} +1 -1
- package/dist/cjs/{sr-f41f48c9.js → sr-e091f3f0.js} +17 -17
- package/dist/cjs/{sv-f01f52fb.js → sv-a78a3ab1.js} +17 -17
- package/dist/cjs/{t9n-6042dac5.js → t9n-abe2bee0.js} +3 -3
- package/dist/cjs/{th-e039b6a5.js → th-ba14f052.js} +17 -17
- package/dist/cjs/{throttle-79ea657e.js → throttle-c2369fbe.js} +2 -2
- package/dist/cjs/{tr-67df4d80.js → tr-fec1a7d9.js} +17 -17
- package/dist/cjs/{uk-f656bdc4.js → uk-9615bf41.js} +17 -17
- package/dist/cjs/{utils-26acf862.js → utils-505a512c.js} +3 -3
- package/dist/cjs/{utils-87aa4637.js → utils-c3697203.js} +1 -1
- package/dist/cjs/{vi-138fd018.js → vi-d28937a2.js} +17 -17
- package/dist/cjs/{zh-cn-a79da5b9.js → zh-cn-46d6c110.js} +17 -17
- package/dist/cjs/{zh-hk-a9849cd6.js → zh-hk-8626b402.js} +17 -17
- package/dist/cjs/{zh-tw-8c294f11.js → zh-tw-773fc160.js} +17 -17
- 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.css +1 -0
- 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-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 +10 -4
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/utils.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.css +0 -2
- 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.css +0 -1
- package/dist/collection/components/list-item/list-item.js +4 -2
- 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/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +19 -22
- 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/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.js +10 -17
- 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/table/resources.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/table-row.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 +1 -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 +3 -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 +10 -7
- 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 +2 -2
- 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 +10 -4
- 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 +5 -3
- package/dist/components/calcite-list.js +2 -2
- 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-meter.js +1 -1
- package/dist/components/calcite-modal.js +18 -23
- 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-sheet.js +9 -18
- 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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.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 +2 -2
- 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 +2 -2
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +2 -2
- 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 +4 -2
- 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 +8 -5
- package/dist/components/pagination.js +1 -1
- 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/resources4.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/table-cell.js +1 -1
- package/dist/components/table-header.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 +2 -2
- 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-8f1a743a.js → ExpandToggle-79474815.js} +5 -5
- package/dist/esm/{FloatingArrow-d3664841.js → FloatingArrow-a2e1feac.js} +2 -2
- package/dist/esm/{Heading-97311bc1.js → Heading-230415ec.js} +2 -2
- package/dist/esm/{app-globals-8543070d.js → app-globals-20efd3d1.js} +2 -2
- package/dist/esm/{ar-777d5897.js → ar-51c7b6ba.js} +17 -17
- package/dist/esm/{array-00bc1715.js → array-c2eafda3.js} +1 -1
- package/dist/esm/{bg-35221306.js → bg-dbed9709.js} +17 -17
- package/dist/esm/{browser-42aa39cb.js → browser-9893b13f.js} +1 -1
- package/dist/esm/{bs-39a2d3ca.js → bs-2f033df2.js} +17 -17
- package/dist/esm/{ca-424fc229.js → ca-e8639442.js} +17 -17
- 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 +14 -14
- 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 +12 -12
- 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 +14 -14
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -13
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +19 -19
- package/dist/esm/calcite-date-picker_4.entry.js +14 -14
- package/dist/esm/calcite-dropdown_3.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -14
- 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 +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +27 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-0bed126d.js → calcite-input-time-picker.calcite-time-picker-555978c6.js} +61 -61
- package/dist/esm/calcite-input-time-picker_2.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +20 -18
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +30 -35
- 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 +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-sheet.entry.js +17 -26
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +12 -12
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-cce072a9.js → conditionalSlot-8b488df5.js} +3 -3
- package/dist/esm/{cs-bbc91976.js → cs-e0a5d38a.js} +17 -17
- package/dist/esm/{da-cf386629.js → da-9c0dc96d.js} +17 -17
- package/dist/esm/{de-at-26224d7a.js → de-at-17811b53.js} +17 -17
- package/dist/esm/{de-ch-33df0401.js → de-ch-026b68bf.js} +17 -17
- package/dist/esm/{de-05978c19.js → de-e01feca9.js} +17 -17
- package/dist/esm/{debounce-74f8bbda.js → debounce-a084b441.js} +1 -1
- package/dist/esm/{dom-5be70645.js → dom-0144d3a5.js} +3 -3
- package/dist/esm/{el-4d1cc333.js → el-323a4b57.js} +17 -17
- package/dist/esm/{en-au-151ec2c4.js → en-au-96b15eda.js} +17 -17
- package/dist/esm/{en-ca-e5f08c00.js → en-ca-509c2e71.js} +17 -17
- package/dist/esm/{en-gb-8355e7dd.js → en-gb-20fd7d09.js} +17 -17
- package/dist/esm/{es-82ac5d15.js → es-7c338fad.js} +17 -17
- package/dist/esm/{es-mx-77420e25.js → es-mx-0f7d5119.js} +17 -17
- package/dist/esm/{et-6ef80668.js → et-5e784e18.js} +17 -17
- package/dist/esm/{fi-2cbfb28a.js → fi-deb91201.js} +17 -17
- package/dist/esm/{filter-bd1e7d00.js → filter-e1722701.js} +2 -2
- package/dist/esm/{floating-ui-6c21bacc.js → floating-ui-f1a5e8c8.js} +3 -3
- package/dist/esm/{focusTrapComponent-ab24c2c4.js → focusTrapComponent-cd33a5c3.js} +2 -2
- package/dist/esm/{form-91d5efbc.js → form-f4940276.js} +3 -3
- package/dist/esm/{fr-f8df1fbb.js → fr-721e47de.js} +17 -17
- package/dist/esm/{fr-ch-b0ec270d.js → fr-ch-945bc7b5.js} +17 -17
- package/dist/esm/{guid-2bb3871a.js → guid-e1cf0e20.js} +1 -1
- package/dist/esm/{he-c0643a3b.js → he-4bccfe15.js} +17 -17
- package/dist/esm/{hi-2dab9137.js → hi-ae97a292.js} +17 -17
- package/dist/esm/{hr-8bf7bfae.js → hr-ec978a23.js} +17 -17
- package/dist/esm/{hu-8188bd52.js → hu-4c4e591e.js} +17 -17
- package/dist/esm/{id-beca0b3a.js → id-de3cf7c9.js} +17 -17
- package/dist/esm/{index-c3fbce88.js → index-f6549a4d.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-189f9bf3.js → interactive-4414bfa1.js} +2 -2
- package/dist/esm/{it-ch-8dc159ed.js → it-ch-aff05274.js} +17 -17
- package/dist/esm/{it-8fea51cc.js → it-ee10b3dd.js} +17 -17
- package/dist/esm/{ja-1b1d84dd.js → ja-0779df14.js} +17 -17
- package/dist/esm/{key-bf48a440.js → key-53ae5330.js} +1 -1
- package/dist/esm/{ko-bc9f51cd.js → ko-a66b373e.js} +17 -17
- package/dist/esm/{label-ad101fad.js → label-ad8d0303.js} +2 -2
- package/dist/esm/{loadable-7d950f31.js → loadable-536e4ca8.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-e9747e3f.js → locale-ace1e1d1.js} +7 -5
- package/dist/esm/{lt-a3aed9b0.js → lt-50d2f69f.js} +17 -17
- package/dist/esm/{lv-4863e082.js → lv-b1a41a70.js} +17 -17
- package/dist/esm/{math-a9b9a7c5.js → math-a1947b1e.js} +1 -1
- package/dist/esm/{mk-3dc47ab4.js → mk-dcce8ad0.js} +17 -17
- package/dist/esm/{nb-01855388.js → nb-93362a1f.js} +17 -17
- package/dist/esm/{nl-45515e76.js → nl-d2a0df2a.js} +17 -17
- package/dist/esm/{observers-9cb41972.js → observers-b8eaedda.js} +1 -1
- package/dist/esm/{openCloseComponent-e49d5a69.js → openCloseComponent-14f4256d.js} +9 -6
- package/dist/esm/{pl-b7f87fda.js → pl-58e9be10.js} +17 -17
- package/dist/esm/{pt-br-2d98a586.js → pt-br-1e4506a6.js} +17 -17
- package/dist/esm/{pt-b41d1583.js → pt-fa74a8c5.js} +17 -17
- package/dist/esm/{resources-4f6dd419.js → resources-00ec05b0.js} +1 -1
- package/dist/esm/{resources-3eafdcc6.js → resources-206fd44c.js} +1 -1
- package/dist/esm/{resources-8532b757.js → resources-51999cf6.js} +1 -1
- package/dist/esm/{resources-dd64125d.js → resources-5b0ad629.js} +1 -1
- package/dist/esm/{resources-5181d293.js → resources-f37c607f.js} +5 -5
- package/dist/esm/{resources-3caa5205.js → resources-f4778a2a.js} +1 -1
- package/dist/esm/{resources-48774a93.js → resources-f7a07d3e.js} +1 -1
- package/dist/esm/{ro-19cced92.js → ro-0e1aae77.js} +17 -17
- package/dist/esm/{ru-f6740e42.js → ru-9fbbd4ef.js} +17 -17
- package/dist/esm/{sk-89a43429.js → sk-0d5d48fe.js} +17 -17
- package/dist/esm/{sl-d223dff6.js → sl-2636ab0e.js} +17 -17
- package/dist/esm/{sortableComponent-cfb80460.js → sortableComponent-067aa50e.js} +1 -1
- package/dist/esm/{sr-989e1fdd.js → sr-0dd6d93e.js} +17 -17
- package/dist/esm/{sv-5dfbc503.js → sv-a7d00f7b.js} +17 -17
- package/dist/esm/{t9n-c9255e01.js → t9n-2a8b62a3.js} +3 -3
- package/dist/esm/{th-62c83704.js → th-011b77a9.js} +17 -17
- package/dist/esm/{throttle-491930c4.js → throttle-d6b24011.js} +2 -2
- package/dist/esm/{tr-0bb95277.js → tr-a00390dd.js} +17 -17
- package/dist/esm/{uk-ad5bb66b.js → uk-a2b30c44.js} +17 -17
- package/dist/esm/{utils-a1aa8002.js → utils-62db5005.js} +3 -3
- package/dist/esm/{utils-739400ae.js → utils-9e3b5a28.js} +1 -1
- package/dist/esm/{vi-45f665fe.js → vi-62356e3b.js} +17 -17
- package/dist/esm/{zh-cn-8f81b11c.js → zh-cn-d57d1ff0.js} +17 -17
- package/dist/esm/{zh-hk-ca2d854e.js → zh-hk-7f9251ef.js} +17 -17
- package/dist/esm/{zh-tw-c0ceff70.js → zh-tw-9cebddcf.js} +17 -17
- 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/modal/modal.d.ts +3 -3
- package/dist/types/components/sheet/sheet.d.ts +2 -1
- package/dist/types/utils/openCloseComponent.d.ts +4 -0
- package/hydrate/index.js +49 -50
- package/package.json +2 -2
- package/dist/calcite/p-29a46f6c.js +0 -6
- package/dist/calcite/p-4354e9d4.js +0 -6
- package/dist/calcite/p-4b0b326d.entry.js +0 -6
- package/dist/calcite/p-54af167b.js +0 -6
- package/dist/calcite/p-6ebc660d.entry.js +0 -6
- package/dist/calcite/p-7cb0174e.entry.js +0 -6
- package/dist/calcite/p-dbc0e23e.entry.js +0 -6
- package/dist/calcite/p-e3f0a3ff.entry.js +0 -6
- package/dist/calcite/p-e3f60099.entry.js +0 -6
- package/dist/calcite/p-f84a84ef.entry.js +0 -6
|
@@ -126,12 +126,12 @@ export declare class Modal implements ConditionalSlotComponent, OpenCloseCompone
|
|
|
126
126
|
onOpen(): void;
|
|
127
127
|
onBeforeClose(): void;
|
|
128
128
|
onClose(): void;
|
|
129
|
-
toggleModal(value: boolean):
|
|
129
|
+
toggleModal(value: boolean): void;
|
|
130
|
+
handleOpenedChange(value: boolean): void;
|
|
130
131
|
private openEnd;
|
|
131
|
-
|
|
132
|
+
private handleCloseClick;
|
|
132
133
|
private openModal;
|
|
133
134
|
private handleOutsideClose;
|
|
134
|
-
/** Close the modal, first running the `beforeClose` method */
|
|
135
135
|
closeModal: () => Promise<void>;
|
|
136
136
|
private removeOverflowHiddenClass;
|
|
137
137
|
private handleMutationObserver;
|
|
@@ -33,7 +33,8 @@ export declare class Sheet implements OpenCloseComponent, FocusTrapComponent, Lo
|
|
|
33
33
|
label: string;
|
|
34
34
|
/** When `true`, displays and positions the component. */
|
|
35
35
|
open: boolean;
|
|
36
|
-
toggleSheet(value: boolean):
|
|
36
|
+
toggleSheet(value: boolean): void;
|
|
37
|
+
handleOpenedChange(): void;
|
|
37
38
|
/**
|
|
38
39
|
* We use an internal property to handle styles for when a modal is actually opened, not just when the open attribute is applied. This is a property because we need to apply styles to the host element and to keep the styles present while beforeClose is .
|
|
39
40
|
*
|
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.8.0-next.
|
|
4
|
+
* v1.8.0-next.2
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7707,6 +7707,8 @@ const numberingSystems = [
|
|
|
7707
7707
|
];
|
|
7708
7708
|
const isNumberingSystemSupported = (numberingSystem) => numberingSystems.includes(numberingSystem);
|
|
7709
7709
|
const browserNumberingSystem = new Intl.NumberFormat().resolvedOptions().numberingSystem;
|
|
7710
|
+
// for consistent browser behavior, we normalize numberingSystem to prevent the browser-inferred value
|
|
7711
|
+
// see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
|
|
7710
7712
|
const defaultNumberingSystem = browserNumberingSystem === "arab" || !isNumberingSystemSupported(browserNumberingSystem)
|
|
7711
7713
|
? "latn"
|
|
7712
7714
|
: browserNumberingSystem;
|
|
@@ -9800,7 +9802,7 @@ class ActionBar {
|
|
|
9800
9802
|
}; }
|
|
9801
9803
|
}
|
|
9802
9804
|
|
|
9803
|
-
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{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 **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9805
|
+
const actionGroupCss = "/*!@:host*/.sc-calcite-action-group-h{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 **/.sc-calcite-action-group-h *.sc-calcite-action-group{box-sizing:border-box}/*!@:host*/.sc-calcite-action-group-h{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}/*!@.container*/.container.sc-calcite-action-group{display:flex;flex-grow:1;flex-direction:column}/*!@:host([columns=\"1\"])*/[columns=\"1\"].sc-calcite-action-group-h{--calcite-action-group-columns:1}/*!@:host([columns=\"2\"])*/[columns=\"2\"].sc-calcite-action-group-h{--calcite-action-group-columns:2}/*!@:host([columns=\"3\"])*/[columns=\"3\"].sc-calcite-action-group-h{--calcite-action-group-columns:3}/*!@:host([columns=\"4\"])*/[columns=\"4\"].sc-calcite-action-group-h{--calcite-action-group-columns:4}/*!@:host([columns=\"5\"])*/[columns=\"5\"].sc-calcite-action-group-h{--calcite-action-group-columns:5}/*!@:host([columns=\"6\"])*/[columns=\"6\"].sc-calcite-action-group-h{--calcite-action-group-columns:6}/*!@:host(:first-child)*/.sc-calcite-action-group-h:first-child{padding-block-start:0px}/*!@:host([layout=horizontal]),\n:host([layout=horizontal]) .container*/[layout=horizontal].sc-calcite-action-group-h,[layout=horizontal].sc-calcite-action-group-h .container.sc-calcite-action-group{flex-direction:row}/*!@:host([layout=grid])*/[layout=grid].sc-calcite-action-group-h{display:grid}/*!@:host([layout=grid]) .container*/[layout=grid].sc-calcite-action-group-h .container.sc-calcite-action-group{display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}/*!@:host([hidden])*/[hidden].sc-calcite-action-group-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-action-group{display:none}";
|
|
9804
9806
|
|
|
9805
9807
|
/**
|
|
9806
9808
|
* @slot - A slot for adding a group of `calcite-action`s.
|
|
@@ -10377,11 +10379,14 @@ class ActionPad {
|
|
|
10377
10379
|
}; }
|
|
10378
10380
|
}
|
|
10379
10381
|
|
|
10382
|
+
function isOpen(component) {
|
|
10383
|
+
return "opened" in component ? component.opened : component.open;
|
|
10384
|
+
}
|
|
10380
10385
|
function emitImmediately(component, nonOpenCloseComponent = false) {
|
|
10381
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component
|
|
10386
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))
|
|
10382
10387
|
? component.onBeforeOpen()
|
|
10383
10388
|
: component.onBeforeClose();
|
|
10384
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component
|
|
10389
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))
|
|
10385
10390
|
? component.onOpen()
|
|
10386
10391
|
: component.onClose();
|
|
10387
10392
|
}
|
|
@@ -10433,14 +10438,14 @@ function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
|
10433
10438
|
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10434
10439
|
clearTimeout(fallbackTimeoutId);
|
|
10435
10440
|
component.transitionEl.removeEventListener("transitionstart", onStart);
|
|
10436
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component
|
|
10441
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))
|
|
10437
10442
|
? component.onBeforeOpen()
|
|
10438
10443
|
: component.onBeforeClose();
|
|
10439
10444
|
}
|
|
10440
10445
|
}
|
|
10441
10446
|
function onEndOrCancel(event) {
|
|
10442
10447
|
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10443
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component
|
|
10448
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : isOpen(component))
|
|
10444
10449
|
? component.onOpen()
|
|
10445
10450
|
: component.onClose();
|
|
10446
10451
|
component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
|
|
@@ -25720,8 +25725,14 @@ class InputDatePicker {
|
|
|
25720
25725
|
const endDate = this.range
|
|
25721
25726
|
? dateFromRange((Array.isArray(this.valueAsDate) && this.valueAsDate[1]) || undefined, this.minAsDate, this.maxAsDate)
|
|
25722
25727
|
: null;
|
|
25723
|
-
const
|
|
25724
|
-
|
|
25728
|
+
const formattingOptions = {
|
|
25729
|
+
// we explicitly set numberingSystem to prevent the browser-inferred value
|
|
25730
|
+
// see https://github.com/Esri/calcite-design-system/issues/3079#issuecomment-1168964195 for more info
|
|
25731
|
+
numberingSystem: defaultNumberingSystem,
|
|
25732
|
+
};
|
|
25733
|
+
const localizedDate = date && this.formatNumerals(date.toLocaleDateString(this.effectiveLocale, formattingOptions));
|
|
25734
|
+
const localizedEndDate = endDate &&
|
|
25735
|
+
this.formatNumerals(endDate.toLocaleDateString(this.effectiveLocale, formattingOptions));
|
|
25725
25736
|
this.setInputValue(localizedDate ?? "", "start");
|
|
25726
25737
|
this.setInputValue((this.range && localizedEndDate) ?? "", "end");
|
|
25727
25738
|
}
|
|
@@ -32472,7 +32483,7 @@ const SLOTS$g = {
|
|
|
32472
32483
|
actionsEnd: "actions-end",
|
|
32473
32484
|
};
|
|
32474
32485
|
|
|
32475
|
-
const listCss = "/*!@:host([disabled])*/[disabled].sc-calcite-list-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-h *.sc-calcite-list,.sc-calcite-list-h[disabled] .sc-calcite-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{
|
|
32486
|
+
const listCss = "/*!@:host([disabled])*/[disabled].sc-calcite-list-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-h *.sc-calcite-list,.sc-calcite-list-h[disabled] .sc-calcite-list-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%;border-collapse:collapse}/*!@.stack*/.stack.sc-calcite-list{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--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)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky);background-color:var(--calcite-ui-foreground-1)}/*!@.sticky-pos th*/.sticky-pos.sc-calcite-list th.sc-calcite-list{padding:0px}/*!@.assistive-text*/.assistive-text.sc-calcite-list{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}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-list{display:none}";
|
|
32476
32487
|
|
|
32477
32488
|
const listItemSelector = "calcite-list-item";
|
|
32478
32489
|
const listItemSelectorDirect = `:scope > calcite-list-item`;
|
|
@@ -32951,7 +32962,7 @@ class List$1 {
|
|
|
32951
32962
|
}; }
|
|
32952
32963
|
}
|
|
32953
32964
|
|
|
32954
|
-
const listItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-item-h *.sc-calcite-list-item,.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-item-h{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@.container **/.container.sc-calcite-list-item *.sc-calcite-list-item{box-sizing:border-box}/*!@.container:hover*/.container.sc-calcite-list-item:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}/*!@.container--border-selected*/.container--border-selected.sc-calcite-list-item{border-inline-start:4px solid var(--calcite-ui-brand)}/*!@.container--border-unselected*/.container--border-unselected.sc-calcite-list-item{border-inline-start:4px solid transparent}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.nested-container--hidden*/.nested-container--hidden.sc-calcite-list-item{display:none}/*!@.content-container*/.content-container.sc-calcite-list-item{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@tr,\ntd*/tr.sc-calcite-list-item,td.sc-calcite-list-item{outline-color:transparent}/*!@tr:focus,\ntd:focus*/tr.sc-calcite-list-item:focus,td.sc-calcite-list-item:focus{
|
|
32965
|
+
const listItemCss = "/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-list-item-h *.sc-calcite-list-item,.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>*{pointer-events:none}/*!@:host*/.sc-calcite-list-item-h{display:flex;flex-direction:column;--calcite-list-item-icon-color:var(--calcite-ui-brand);--calcite-list-item-spacing-indent:1rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}/*!@.container **/.container.sc-calcite-list-item *.sc-calcite-list-item{box-sizing:border-box}/*!@.container:hover*/.container.sc-calcite-list-item:hover{cursor:pointer;background-color:var(--calcite-ui-foreground-2)}/*!@.container--border-selected*/.container--border-selected.sc-calcite-list-item{border-inline-start:4px solid var(--calcite-ui-brand)}/*!@.container--border-unselected*/.container--border-unselected.sc-calcite-list-item{border-inline-start:4px solid transparent}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.nested-container--hidden*/.nested-container--hidden.sc-calcite-list-item{display:none}/*!@.content-container*/.content-container.sc-calcite-list-item{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@tr,\ntd*/tr.sc-calcite-list-item,td.sc-calcite-list-item{outline-color:transparent}/*!@tr:focus,\ntd:focus*/tr.sc-calcite-list-item:focus,td.sc-calcite-list-item: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 )}/*!@.content,\n.custom-content*/.content.sc-calcite-list-item,.custom-content.sc-calcite-list-item{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.label,\n.description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}/*!@.label:only-child,\n.description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-block:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{justify-content:flex-end}/*!@.content-start,\n.content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{flex:1 1 auto}/*!@.content-container--has-center-content .content-start,\n.content-container--has-center-content .content-end*/.content-container--has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{flex:0 1 auto}/*!@.selection-container*/.selection-container.sc-calcite-list-item{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}/*!@.actions-start,\n.actions-end,\n.content-start,\n.content-end,\n.selection-container,\n.drag-container,\n.open-container*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item,.selection-container.sc-calcite-list-item,.drag-container.sc-calcite-list-item,.open-container.sc-calcite-list-item{display:flex;align-items:center}/*!@.open-container,\n.selection-container*/.open-container.sc-calcite-list-item,.selection-container.sc-calcite-list-item{cursor:pointer}/*!@.content-start ::slotted(calcite-icon),\n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{margin-inline:0.75rem;align-self:center}/*!@.actions-start ::slotted(calcite-action),\n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-list-item-s>calcite-action,.actions-end .sc-calcite-list-item-s>calcite-action{align-self:stretch;color:inherit}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-item-s>calcite-list-item{border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-list-item{display:none}";
|
|
32955
32966
|
|
|
32956
32967
|
const focusMap = new Map();
|
|
32957
32968
|
const listSelector = "calcite-list";
|
|
@@ -33026,7 +33037,9 @@ class ListItem {
|
|
|
33026
33037
|
const { containerEl, contentEl, actionsStartEl, actionsEndEl, open, openable } = this;
|
|
33027
33038
|
const cells = [actionsStartEl, contentEl, actionsEndEl].filter(Boolean);
|
|
33028
33039
|
const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
|
|
33029
|
-
if (key === "Enter"
|
|
33040
|
+
if (key === "Enter" &&
|
|
33041
|
+
!composedPath.includes(actionsStartEl) &&
|
|
33042
|
+
!composedPath.includes(actionsEndEl)) {
|
|
33030
33043
|
event.preventDefault();
|
|
33031
33044
|
this.toggleSelected();
|
|
33032
33045
|
}
|
|
@@ -33932,17 +33945,16 @@ class Modal {
|
|
|
33932
33945
|
this.setFocus();
|
|
33933
33946
|
this.el.removeEventListener("calciteModalOpen", this.openEnd);
|
|
33934
33947
|
};
|
|
33948
|
+
this.handleCloseClick = () => {
|
|
33949
|
+
this.open = false;
|
|
33950
|
+
};
|
|
33935
33951
|
this.handleOutsideClose = () => {
|
|
33936
33952
|
if (this.outsideCloseDisabled) {
|
|
33937
33953
|
return;
|
|
33938
33954
|
}
|
|
33939
|
-
this.
|
|
33955
|
+
this.open = false;
|
|
33940
33956
|
};
|
|
33941
|
-
/** Close the modal, first running the `beforeClose` method */
|
|
33942
33957
|
this.closeModal = async () => {
|
|
33943
|
-
if (this.ignoreOpenChange) {
|
|
33944
|
-
return;
|
|
33945
|
-
}
|
|
33946
33958
|
if (this.beforeClose) {
|
|
33947
33959
|
try {
|
|
33948
33960
|
await this.beforeClose(this.el);
|
|
@@ -33957,11 +33969,8 @@ class Modal {
|
|
|
33957
33969
|
return;
|
|
33958
33970
|
}
|
|
33959
33971
|
}
|
|
33960
|
-
this.ignoreOpenChange = true;
|
|
33961
|
-
this.open = false;
|
|
33962
33972
|
this.opened = false;
|
|
33963
33973
|
this.removeOverflowHiddenClass();
|
|
33964
|
-
this.ignoreOpenChange = false;
|
|
33965
33974
|
};
|
|
33966
33975
|
this.handleMutationObserver = () => {
|
|
33967
33976
|
this.updateFooterVisibility();
|
|
@@ -34022,7 +34031,6 @@ class Modal {
|
|
|
34022
34031
|
setUpLoadableComponent(this);
|
|
34023
34032
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
34024
34033
|
if (this.open) {
|
|
34025
|
-
onToggleOpenCloseComponent(this);
|
|
34026
34034
|
requestAnimationFrame(() => this.openModal());
|
|
34027
34035
|
}
|
|
34028
34036
|
}
|
|
@@ -34075,7 +34083,7 @@ class Modal {
|
|
|
34075
34083
|
return (hAsync("div", { class: CSS$v.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$f.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
34076
34084
|
}
|
|
34077
34085
|
renderCloseButton() {
|
|
34078
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$v.close, key: "button", onClick: this.
|
|
34086
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$v.close, key: "button", onClick: this.handleCloseClick, title: this.messages.close,
|
|
34079
34087
|
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
|
34080
34088
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
34081
34089
|
}
|
|
@@ -34120,7 +34128,7 @@ class Modal {
|
|
|
34120
34128
|
//--------------------------------------------------------------------------
|
|
34121
34129
|
handleEscape(event) {
|
|
34122
34130
|
if (this.open && !this.escapeDisabled && event.key === "Escape" && !event.defaultPrevented) {
|
|
34123
|
-
this.
|
|
34131
|
+
this.open = false;
|
|
34124
34132
|
event.preventDefault();
|
|
34125
34133
|
}
|
|
34126
34134
|
}
|
|
@@ -34178,28 +34186,28 @@ class Modal {
|
|
|
34178
34186
|
this.calciteModalClose.emit();
|
|
34179
34187
|
deactivateFocusTrap(this);
|
|
34180
34188
|
}
|
|
34181
|
-
|
|
34189
|
+
toggleModal(value) {
|
|
34182
34190
|
if (this.ignoreOpenChange) {
|
|
34183
34191
|
return;
|
|
34184
34192
|
}
|
|
34193
|
+
if (value) {
|
|
34194
|
+
this.openModal();
|
|
34195
|
+
}
|
|
34196
|
+
else {
|
|
34197
|
+
this.closeModal();
|
|
34198
|
+
}
|
|
34199
|
+
}
|
|
34200
|
+
handleOpenedChange(value) {
|
|
34185
34201
|
onToggleOpenCloseComponent(this);
|
|
34186
34202
|
if (value) {
|
|
34187
34203
|
this.transitionEl?.classList.add(CSS$v.openingIdle);
|
|
34188
|
-
this.openModal();
|
|
34189
34204
|
}
|
|
34190
34205
|
else {
|
|
34191
34206
|
this.transitionEl?.classList.add(CSS$v.closingIdle);
|
|
34192
|
-
this.closeModal();
|
|
34193
34207
|
}
|
|
34194
34208
|
}
|
|
34195
|
-
/** Open the modal */
|
|
34196
34209
|
openModal() {
|
|
34197
|
-
if (this.ignoreOpenChange) {
|
|
34198
|
-
return;
|
|
34199
|
-
}
|
|
34200
|
-
this.ignoreOpenChange = true;
|
|
34201
34210
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
34202
|
-
this.open = true;
|
|
34203
34211
|
this.opened = true;
|
|
34204
34212
|
const titleEl = getSlotted(this.el, SLOTS$f.header);
|
|
34205
34213
|
const contentEl = getSlotted(this.el, SLOTS$f.content);
|
|
@@ -34210,7 +34218,6 @@ class Modal {
|
|
|
34210
34218
|
// use an inline style instead of a utility class to avoid global class declarations.
|
|
34211
34219
|
document.documentElement.style.setProperty("overflow", "hidden");
|
|
34212
34220
|
}
|
|
34213
|
-
this.ignoreOpenChange = false;
|
|
34214
34221
|
}
|
|
34215
34222
|
removeOverflowHiddenClass() {
|
|
34216
34223
|
document.documentElement.style.setProperty("overflow", this.initialOverflowCSS);
|
|
@@ -34221,7 +34228,8 @@ class Modal {
|
|
|
34221
34228
|
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
34222
34229
|
"messageOverrides": ["onMessagesChange"],
|
|
34223
34230
|
"effectiveLocale": ["effectiveLocaleChange"],
|
|
34224
|
-
"open": ["toggleModal"]
|
|
34231
|
+
"open": ["toggleModal"],
|
|
34232
|
+
"opened": ["handleOpenedChange"]
|
|
34225
34233
|
}; }
|
|
34226
34234
|
static get style() { return modalCss; }
|
|
34227
34235
|
static get cmpMeta() { return {
|
|
@@ -37673,12 +37681,9 @@ class Sheet {
|
|
|
37673
37681
|
if (this.outsideCloseDisabled) {
|
|
37674
37682
|
return;
|
|
37675
37683
|
}
|
|
37676
|
-
this.
|
|
37684
|
+
this.open = false;
|
|
37677
37685
|
};
|
|
37678
37686
|
this.closeSheet = async () => {
|
|
37679
|
-
if (this.ignoreOpenChange) {
|
|
37680
|
-
return;
|
|
37681
|
-
}
|
|
37682
37687
|
if (this.beforeClose) {
|
|
37683
37688
|
try {
|
|
37684
37689
|
await this.beforeClose(this.el);
|
|
@@ -37693,11 +37698,8 @@ class Sheet {
|
|
|
37693
37698
|
return;
|
|
37694
37699
|
}
|
|
37695
37700
|
}
|
|
37696
|
-
this.ignoreOpenChange = true;
|
|
37697
|
-
this.open = false;
|
|
37698
37701
|
this.opened = false;
|
|
37699
37702
|
this.removeOverflowHiddenClass();
|
|
37700
|
-
this.ignoreOpenChange = false;
|
|
37701
37703
|
};
|
|
37702
37704
|
this.beforeClose = undefined;
|
|
37703
37705
|
this.displayMode = "overlay";
|
|
@@ -37718,11 +37720,10 @@ class Sheet {
|
|
|
37718
37720
|
}
|
|
37719
37721
|
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
37720
37722
|
}
|
|
37721
|
-
|
|
37723
|
+
toggleSheet(value) {
|
|
37722
37724
|
if (this.ignoreOpenChange) {
|
|
37723
37725
|
return;
|
|
37724
37726
|
}
|
|
37725
|
-
onToggleOpenCloseComponent(this);
|
|
37726
37727
|
if (value) {
|
|
37727
37728
|
this.openSheet();
|
|
37728
37729
|
}
|
|
@@ -37730,6 +37731,9 @@ class Sheet {
|
|
|
37730
37731
|
this.closeSheet();
|
|
37731
37732
|
}
|
|
37732
37733
|
}
|
|
37734
|
+
handleOpenedChange() {
|
|
37735
|
+
onToggleOpenCloseComponent(this);
|
|
37736
|
+
}
|
|
37733
37737
|
//--------------------------------------------------------------------------
|
|
37734
37738
|
//
|
|
37735
37739
|
// Lifecycle
|
|
@@ -37739,7 +37743,6 @@ class Sheet {
|
|
|
37739
37743
|
setUpLoadableComponent(this);
|
|
37740
37744
|
// when sheet initially renders, if active was set we need to open as watcher doesn't fire
|
|
37741
37745
|
if (this.open) {
|
|
37742
|
-
onToggleOpenCloseComponent(this);
|
|
37743
37746
|
requestAnimationFrame(() => this.openSheet());
|
|
37744
37747
|
}
|
|
37745
37748
|
}
|
|
@@ -37776,7 +37779,7 @@ class Sheet {
|
|
|
37776
37779
|
//--------------------------------------------------------------------------
|
|
37777
37780
|
handleEscape(event) {
|
|
37778
37781
|
if (this.open && !this.escapeDisabled && event.key === "Escape" && !event.defaultPrevented) {
|
|
37779
|
-
this.
|
|
37782
|
+
this.open = false;
|
|
37780
37783
|
event.preventDefault();
|
|
37781
37784
|
}
|
|
37782
37785
|
}
|
|
@@ -37819,18 +37822,13 @@ class Sheet {
|
|
|
37819
37822
|
deactivateFocusTrap(this);
|
|
37820
37823
|
}
|
|
37821
37824
|
openSheet() {
|
|
37822
|
-
if (this.ignoreOpenChange) {
|
|
37823
|
-
return;
|
|
37824
|
-
}
|
|
37825
37825
|
this.el.addEventListener("calciteSheetOpen", this.openEnd);
|
|
37826
|
-
this.open = true;
|
|
37827
37826
|
this.opened = true;
|
|
37828
37827
|
if (!this.slottedInShell) {
|
|
37829
37828
|
this.initialOverflowCSS = document.documentElement.style.overflow;
|
|
37830
37829
|
// use an inline style instead of a utility class to avoid global class declarations.
|
|
37831
37830
|
document.documentElement.style.setProperty("overflow", "hidden");
|
|
37832
37831
|
}
|
|
37833
|
-
this.ignoreOpenChange = false;
|
|
37834
37832
|
}
|
|
37835
37833
|
removeOverflowHiddenClass() {
|
|
37836
37834
|
document.documentElement.style.setProperty("overflow", this.initialOverflowCSS);
|
|
@@ -37841,7 +37839,8 @@ class Sheet {
|
|
|
37841
37839
|
get el() { return getElement(this); }
|
|
37842
37840
|
static get watchers() { return {
|
|
37843
37841
|
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
|
37844
|
-
"open": ["toggleSheet"]
|
|
37842
|
+
"open": ["toggleSheet"],
|
|
37843
|
+
"opened": ["handleOpenedChange"]
|
|
37845
37844
|
}; }
|
|
37846
37845
|
static get style() { return sheetCss; }
|
|
37847
37846
|
static get cmpMeta() { return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.8.0-next.
|
|
3
|
+
"version": "1.8.0-next.2",
|
|
4
4
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
5
5
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"volta": {
|
|
89
89
|
"extends": "../../package.json"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "1234387cf836c6b9d8945a1dad1ccb0ef9ec4fe1"
|
|
92
92
|
}
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{e as t}from"./p-185bc5dd.js";function n(t,n=!1){(n?t[t.transitionProp]:t.open)?t.onBeforeOpen():t.onBeforeClose(),(n?t[t.transitionProp]:t.open)?t.onOpen():t.onClose()}function i(i,o=!1){t((()=>{if(i.transitionEl){const{transitionDuration:a,transitionProperty:s}=getComputedStyle(i.transitionEl),e=a.split(","),c=e[s.split(",").indexOf(i.openTransitionProp)]??e[0];if("0s"===c)return void n(i,o);const u=setTimeout((()=>{i.transitionEl.removeEventListener("transitionstart",t),i.transitionEl.removeEventListener("transitionend",r),i.transitionEl.removeEventListener("transitioncancel",r),n(i,o)}),1e3*parseFloat(c));function t(n){n.propertyName===i.openTransitionProp&&n.target===i.transitionEl&&(clearTimeout(u),i.transitionEl.removeEventListener("transitionstart",t),(o?i[i.transitionProp]:i.open)?i.onBeforeOpen():i.onBeforeClose())}function r(t){t.propertyName===i.openTransitionProp&&t.target===i.transitionEl&&((o?i[i.transitionProp]:i.open)?i.onOpen():i.onClose(),i.transitionEl.removeEventListener("transitionend",r),i.transitionEl.removeEventListener("transitioncancel",r))}i.transitionEl.addEventListener("transitionstart",t),i.transitionEl.addEventListener("transitionend",r),i.transitionEl.addEventListener("transitioncancel",r)}}))}export{i as 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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-185bc5dd.js";import{c as o}from"./p-a71d7284.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",a)),c.observe(t.el,s)}function i(t){n.delete(t.el),a(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function a(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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,H as a,a as o}from"./p-185bc5dd.js";import{c as n,d as s}from"./p-4354e9d4.js";import{h as r,b as l,f as c,w as d}from"./p-53f68583.js";import{d as h,a as m,c as p,u as b}from"./p-e5e22b57.js";import{s as u,a as v,c as x}from"./p-19980bcd.js";import{c as g}from"./p-a71d7284.js";import{o as f}from"./p-29a46f6c.js";import{c as k,d as z}from"./p-81e1ef08.js";import{s as w,c as y,d as C,u as $}from"./p-6c9a6e69.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-992d6edc.js";const j="modal",M="header",F="container",O="modal--opening-idle",D="modal--opening-active",B="modal--closing-idle",L="modal--closing-active",S="content",T="back",E="secondary",q="primary",A=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=g("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=g("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||this.closeModal()},this.closeModal=async()=>{if(!this.ignoreOpenChange){if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.ignoreOpenChange=!0,this.open=!1,this.opened=!1,this.removeOverflowHiddenClass(),this.ignoreOpenChange=!1}},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[T,q,E])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.escapeDisabled=!1,this.scale="m",this.width="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.slottedInShell=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await w(this),u(this),this.open&&(f(this),requestAnimationFrame((()=>this.openModal())))}componentDidLoad(){v(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),y(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.slottedInShell=!1}render(){return e(a,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{class:{[F]:!0,"container--open":this.opened,"slotted-in-shell":this.slottedInShell}},e("calcite-scrim",{class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{class:{[j]:!0},ref:this.setTransitionEl},e("div",{class:M},this.renderCloseButton(),e("header",{class:"title"},e("slot",{name:M}))),this.renderContentTop(),e("div",{class:{content:!0,"content--no-footer":!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{name:S})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:T})),e("span",{class:"secondary"},e("slot",{name:E})),e("span",{class:"primary"},e("slot",{name:q}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.closeModal,title:this.messages.close,ref:i=>this.closeButtonEl=i},e("calcite-icon",{icon:"x",scale:"s"===this.scale?"s":"m"===this.scale?"m":"l"===this.scale?"l":null}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${j} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${j} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){$(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.closeModal(),i.preventDefault())}async setFocus(){await x(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(D),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(O,D),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(L),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(B,L),this.calciteModalClose.emit(),h(this)}async toggleModal(i){this.ignoreOpenChange||(f(this),i?(this.transitionEl?.classList.add(O),this.openModal()):(this.transitionEl?.classList.add(B),this.closeModal()))}openModal(){if(this.ignoreOpenChange)return;this.ignoreOpenChange=!0,this.el.addEventListener("calciteModalOpen",this.openEnd),this.open=!0,this.opened=!0;const i=r(this.el,"header"),t=r(this.el,S);this.titleId=d(i),this.contentId=d(t),this.slottedInShell||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden")),this.ignoreOpenChange=!1}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"]}}};A.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-app-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-app-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close: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 )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-app-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-app-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]) .container{align-items:flex-end}}:host([width=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]) .container{align-items:flex-end}}:host([width=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-ui-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-ui-danger)}:host([kind=info]) .modal{border-color:var(--calcite-ui-info)}:host([kind=success]) .modal{border-color:var(--calcite-ui-success)}:host([kind=warning]) .modal{border-color:var(--calcite-ui-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container.slotted-in-shell{position:absolute;pointer-events:auto}.container.slotted-in-shell calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_modal}
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";var d={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,d){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?d[0]:d[1]:d[2]},relativeTimeFormatter:function(e,a,t,r){var n=d.words[t];if(1===t.length)return"y"===t&&a?"jedna godina":r||a?n[0]:n[1];var m=d.correctGrammarCase(e,n);return"yy"===t&&a&&"%d godinu"===m?e+" godina":m.replace("%d",e)}},a={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:d.relativeTimeFormatter,mm:d.relativeTimeFormatter,h:d.relativeTimeFormatter,hh:d.relativeTimeFormatter,d:d.relativeTimeFormatter,dd:d.relativeTimeFormatter,M:d.relativeTimeFormatter,MM:d.relativeTimeFormatter,y:d.relativeTimeFormatter,yy:d.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(a,null,!0);export default a;
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,h as t,H as i,a}from"./p-185bc5dd.js";import{s as l,a as s,c}from"./p-19980bcd.js";import{u as o,s as n,c as r,d}from"./p-6c9a6e69.js";import{c as h,u,d as v}from"./p-e5fedd4b.js";import{c as b,d as p}from"./p-81e1ef08.js";import"./p-5aae88ad.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-992d6edc.js";import"./p-a71d7284.js";const g=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){s(this)}connectedCallback(){b(this),r(this),h(this)}componentDidRender(){u(this)}disconnectedCallback(){p(this),d(this),v(this)}async setFocus(){await c(this),this.containerEl.focus()}updateScreenReaderSelectionText(){this.selectionText=this.parentRowIsSelected?`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`:`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`}render(){return t(i,null,t("td",{"aria-disabled":this.disabled,class:{"footer-cell":"foot"===this.parentRowType,"number-cell":this.numberCell,"selection-cell":this.selectionCell,"selected-cell":this.parentRowIsSelected},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"gridcell",rowSpan:this.rowSpan,tabIndex:this.disabled?-1:0,ref:e=>this.containerEl=e},(this.selectionCell||this.readCellContentsToAT)&&this.focused&&t("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text"},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{onSlotchange:this.updateScreenReaderContentsText})))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.style=":host{--calcite-internal-table-cell-background-internal:var(--calcite-table-cell-background, transparent);--calcite-internal-table-cell-border-color-internal:var(--calcite-table-cell-border-color, transparent);display:contents}:host([alignment=center]) td{text-align:center}:host([alignment=end]) td{text-align:end}.assistive-text{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}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-ui-text-1);outline-color:transparent;background:var(--calcite-internal-table-cell-background);border-inline-end:1px solid var(--calcite-ui-border-3);font-size:var(--calcite-internal-table-cell-font-size);padding:var(--calcite-internal-table-cell-padding)}td: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 )}.number-cell{background-color:var(--calcite-ui-foreground-2)}.footer-cell{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-start:1px solid var(--calcite-ui-border-3)}.number-cell,.selection-cell{border-inline-end:1px solid var(--calcite-ui-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{cursor:pointer;color:var(--calcite-ui-text-3);inset-inline-start:2rem}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-table-cell-background:var(--calcite-ui-foreground-current);background:var(--calcite-ui-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-ui-brand);color:var(--calcite-ui-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-ui-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}";const m=class{constructor(t){e(this,t),this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.numberCell=!1,this.parentRowPosition=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){s(this)}connectedCallback(){b(this),r(this)}disconnectedCallback(){p(this),d(this)}effectiveLocaleChange(){o(this,this.effectiveLocale)}async setFocus(){await c(this),this.containerEl.focus()}updateScreenReaderText(){let e="";const t=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;e=this.numberCell?this.messages?.rowNumber:"single"===this.selectionMode?`${this.messages?.selectionColumn}. ${t}`:this.bodyRowCount===this.selectedRowCount?`${this.messages?.selectionColumn}. ${this.messages?.all} ${t} ${this.messages?.keyboardDeselectAll}`:`${this.messages?.selectionColumn}. ${t} ${this.messages?.keyboardSelectAll}`,this.screenReaderText=e}render(){const e=this.selectedRowCount===this.bodyRowCount,a=e?"check-square-f":"check-square";return t(i,null,t("th",{"aria-colindex":"body"!==this.parentRowType?this.positionInRow:"",class:{"body-row":"body"===this.parentRowType,"footer-row":"foot"===this.parentRowType,"number-cell":this.numberCell,"selection-cell":this.selectionCell,"cell--multiple-selection":"multiple"===this.selectionMode},colSpan:this.colSpan,role:"columnheader",rowSpan:this.rowSpan,scope:this.rowSpan?"rowgroup":this.colSpan?"colgroup":"body"===this.parentRowType?"row":"col",tabIndex:0,ref:e=>this.containerEl=e},this.heading&&t("div",{class:"heading"},this.heading),this.description&&t("div",{class:"description"},this.description),this.selectionCell&&"multiple"===this.selectionMode&&t("calcite-icon",{class:{active:e},icon:a,scale:"l"===this.scale?"m":"s"}),(this.selectionCell||this.numberCell)&&t("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text"},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};m.style=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-ui-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-ui-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{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}th{white-space:normal;text-align:start;vertical-align:top;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);outline-color:transparent;font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:focus-within{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 )}th.body-row,th.footer-row{vertical-align:middle;border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-ui-text-3)}.number-cell,.selection-cell{color:var(--calcite-ui-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-ui-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-ui-text-1)}.description{color:var(--calcite-ui-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";export{g as calcite_table_cell,m as calcite_table_header}
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,a}from"./p-185bc5dd.js";import{d as n,a as r,b as o,i as h,c as l,g as c,e as d,f as p,h as u}from"./p-8e73215b.js";import{t as m}from"./p-53f68583.js";import{f as g,c as f,d as v,r as b,a as y,F as w}from"./p-3924127c.js";import{s as x,c as k,d as D,H as z}from"./p-d29bbe7d.js";import{c as C,d as I,u as A}from"./p-e5fedd4b.js";import{n as P}from"./p-992d6edc.js";import{c as j,d as F}from"./p-7c57544a.js";import{c as O,s as R,a as E}from"./p-19980bcd.js";import{n as S,c as H,d as M}from"./p-81e1ef08.js";import{o as L}from"./p-29a46f6c.js";import{c as Y,s as $,d as B}from"./p-6c9a6e69.js";import{c as T,d as W,a as q}from"./p-e5e22b57.js";import{g as _}from"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-49c010d6.js";import"./p-5aae88ad.js";import"./p-a71d7284.js";const N=class{constructor(e){t(this,e),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,e=i.value,s=this.parseNumerals(e),a=this.formatNumerals(s);i.value=a;const{year:n}=r(e,this.localeData);if(n&&n.length<4)return;const l=o(e,this.localeData);h(l,this.min,this.max)&&(this.datePickerActiveDate=l)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${_()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${_()}`,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?g(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e?(this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),x(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,f(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,T(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];e&&(e.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,e=Array.isArray(i),s=Array.isArray(t);let a=s?l(s?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=s?l(s?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const r=a||n?[a,n]:"";if(r===i)return;this.userChangedValue=!0,this.value=r,this.valueAsDate=r?c(r):void 0;const o=this.calciteInputDatePickerChange.emit();o&&o.defaultPrevented&&(this.value=i,e?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let e=l(t);e=this.getNormalizedDate(e),e!==i&&(this.userChangedValue=!0,this.valueAsDate=e?d(e):void 0,this.value=e||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:P?.includes(t)?S?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>P.includes(t)?S.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.placement=v,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?W(this):q(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?c(t):t?d(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[l(t[0]),l(t[1])]:l(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=d(t))}onMaxChanged(t){t&&(this.maxAsDate=d(t))}openHandler(t){L(this),this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await O(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return b(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){C(this),H(this);const{open:t}=this;if(t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=c(this.value);else if(this.value)try{this.valueAsDate=d(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=d(this.min)),this.max&&(this.maxAsDate=d(this.max)),j(this),k(this),Y(this),this.setFilteredPlacements(),this.reposition(!0),S.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&L(this)}async componentWillLoad(){R(this),await Promise.all([this.loadLocaleData(),$(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){E(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){W(this),I(this),F(this),D(this),y(this,this.referenceEl,this.floatingEl),M(this),B(this)}componentDidRender(){A(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:r}=this;return S.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},e(s,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&e("div",{class:"input-container"},e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},e("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":m(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:n,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,type:"text",ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),e("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{"aria-hidden":m(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},e("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[w.animation]:!0,[w.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&e("div",{class:"horizontal-arrow-container"},e("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"l"===this.scale?"m":"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&e("div",{class:"vertical-arrow-container"},e("calcite-icon",{icon:"arrow-down",scale:"l"===this.scale?"m":"s"})),this.range&&e("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},e("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":m(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:t,icon:"calendar","number-button-type":"none",numberingSystem:n,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:this.localeData?.placeholder,readOnly:r,role:"combobox",scale:this.scale,type:"text",ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),e(z,{component:this}))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl="end"===t||"vertical"===i?e||s:s||e,requestAnimationFrame((()=>f(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){q(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),W(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}commitValue(){const{focusedInput:t,value:i}=this,e=o(this[`${t}Input`].value,this.localeData),s=l(e),a=Array.isArray(i);if(this.range)if(a){if(s===i["start"===t?0:1])return;e?(this.setRangeValue(["start"===t?e:d(i[0]),"end"===t?e:d(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&d(i[0]),"start"===t&&d(i[1])])}else e&&(this.setRangeValue(["start"===t?e:d(i[0]),"end"===t?e:d(i[1])]),this.localizeInputValues());else{if(s===i)return;this.setValue(e),this.localizeInputValues()}}async loadLocaleData(){S.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await p(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=u(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?u(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e=t&&this.formatNumerals(t.toLocaleDateString(this.effectiveLocale)),s=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale));this.setInputValue(e??"","start"),this.setInputValue((this.range&&s)??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!function(t){if(!t)return!1;const{year:i}=n(t);return Number(i)<100}(t))return t;const{day:i,month:e,year:s}=n(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(s))}-${e}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};N.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-app-z-index);margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}.assistive-text{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}:host([hidden]){display:none}[hidden]{display:none}";export{N as calcite_input_date_picker}
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,a as e}from"./p-185bc5dd.js";import{c as a,d as o,u as r}from"./p-e5fedd4b.js";import{c as d}from"./p-a71d7284.js";import{d as n,a as h,c as l}from"./p-b109376d.js";import{d as c}from"./p-53f68583.js";import"./p-5aae88ad.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";const p=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=d("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){n(this)||(this.setUpSorting(),this.beginObserving(),a(this))}disconnectedCallback(){n(this)||(o(this),h(this),this.endObserving())}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,d=!1;"up"===i?0===o?d=!0:r=o-1:o===a?r=0:o===a-1?d=!0:r=o+2,this.endObserving(),d?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),l(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};p.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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as i,H as e,a as o,f as n}from"./p-185bc5dd.js";import{t as a}from"./p-53f68583.js";import{g as r}from"./p-3b25f9af.js";import{c as s,d as c,u as l}from"./p-e5fedd4b.js";import{s as d,a as u,c as h}from"./p-19980bcd.js";import{c as b,d as p}from"./p-81e1ef08.js";import{c as f}from"./p-a71d7284.js";import{u as v,c as g,s as m,d as x}from"./p-6c9a6e69.js";import"./p-3b7d1d44.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";const y=class{constructor(i){t(this,i),this.mutationObserver=f("mutation",(()=>n(this))),this.guid=`calcite-action-${r()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){s(this),b(this),g(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){d(this),await m(this)}componentDidLoad(){u(this)}disconnectedCallback(){c(this),p(this),x(this),this.mutationObserver?.disconnect()}componentDidRender(){l(this)}async setFocus(){await h(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:e}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":e},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:e,indicatorId:o,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:o,role:"region"},t?e.indicator:null)}renderIconContainer(){const{loading:t,icon:e,scale:o,el:n,iconFlipRtl:a}=this,r="l"===o?"m":"s",s=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===o?"l":"m"}):null,c=e?i("calcite-icon",{flipRtl:a,icon:e,scale:r}):null,l=s||c,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:o,disabled:n,loading:r,textEnabled:s,label:c,text:l,indicator:d,indicatorId:u,buttonId:h,messages:b}=this,p=`${c||l}${d?` (${b.indicator})`:""}`,f={button:!0,"button--text-visible":s,"button--compact":o};return i(e,null,i("button",{"aria-busy":a(r),"aria-controls":d?u:null,"aria-disabled":a(n),"aria-label":p,"aria-pressed":a(t),class:f,disabled:n,id:h,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.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([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;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);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 )}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1;margin-inline-end:1rem}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{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}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_action}
|
|
@@ -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.8.0-next.0
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-913425b0.js";import"./p-185bc5dd.js";import"./p-d29bbe7d.js";import"./p-53f68583.js";import"./p-3b25f9af.js";import"./p-3b7d1d44.js";import"./p-e5fedd4b.js";import"./p-5aae88ad.js";import"./p-992d6edc.js";import"./p-7c57544a.js";import"./p-19980bcd.js";import"./p-81e1ef08.js";import"./p-a71d7284.js";import"./p-e5e22b57.js";import"./p-86d158a0.js";import"./p-6c9a6e69.js";
|