@esri/calcite-components 2.7.0 → 2.7.1
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/card/t9n/messages_ar.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bg.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_bs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ca.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_cs.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_da.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_de.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_el.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_es.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_et.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_fr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_he.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_hu.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_id.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_it.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ja.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ko.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lt.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_lv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_nl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_no.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ro.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_ru.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sl.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_sv.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_th.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_tr.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_uk.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_vi.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0059c18d.entry.js +7 -0
- package/dist/calcite/p-04160758.js +7 -0
- package/dist/calcite/p-043a8c27.entry.js +7 -0
- package/dist/calcite/p-05151b11.entry.js +7 -0
- package/dist/calcite/p-0549ac19.entry.js +7 -0
- package/dist/calcite/p-0549ac19.entry.js.map +1 -0
- package/dist/calcite/p-06c2c809.js +7 -0
- package/dist/calcite/p-073b69c9.entry.js +7 -0
- package/dist/calcite/p-086485af.entry.js +7 -0
- package/dist/calcite/p-0baa9e50.entry.js +7 -0
- package/dist/calcite/p-0bd0923e.entry.js +7 -0
- package/dist/calcite/p-1049ac37.js +7 -0
- package/dist/calcite/p-10b2183b.entry.js +7 -0
- package/dist/calcite/p-1495cabe.entry.js +7 -0
- package/dist/calcite/p-156489c6.entry.js +7 -0
- package/dist/calcite/p-1b299e9c.entry.js +7 -0
- package/dist/calcite/p-1cbc51d5.entry.js +7 -0
- package/dist/calcite/p-1d78360b.entry.js +7 -0
- package/dist/calcite/p-1d78360b.entry.js.map +1 -0
- package/dist/calcite/p-1e676485.js +7 -0
- package/dist/calcite/p-1eda2400.entry.js +7 -0
- package/dist/calcite/p-1f7cd395.js +7 -0
- package/dist/calcite/p-20357515.entry.js +7 -0
- package/dist/calcite/p-20357515.entry.js.map +1 -0
- package/dist/calcite/p-22db3f00.js +7 -0
- package/dist/calcite/p-231d39f8.js +7 -0
- package/dist/calcite/p-23ce5792.js +7 -0
- package/dist/calcite/p-2507a521.js +7 -0
- package/dist/calcite/p-25e7febe.js +7 -0
- package/dist/calcite/p-282ffe9a.js +7 -0
- package/dist/calcite/p-28a1c50c.js +7 -0
- package/dist/calcite/p-2bf59507.entry.js +7 -0
- package/dist/calcite/p-2e270359.entry.js +7 -0
- package/dist/calcite/p-31ce8a2f.js +7 -0
- package/dist/calcite/p-37495475.js +12 -0
- package/dist/calcite/p-387c4732.js +7 -0
- package/dist/calcite/p-38a0cd39.entry.js +7 -0
- package/dist/calcite/p-3983b997.js +7 -0
- package/dist/calcite/p-398cbed2.js +7 -0
- package/dist/calcite/p-3a78f422.js +7 -0
- package/dist/calcite/p-3b332d6f.js +11 -0
- package/dist/calcite/p-3fa890a3.js +7 -0
- package/dist/calcite/p-4000fdb7.js +7 -0
- package/dist/calcite/p-42c4808f.js +7 -0
- package/dist/calcite/p-456f2fe0.js +7 -0
- package/dist/calcite/p-45c7e5ad.js +7 -0
- package/dist/calcite/p-49179b9e.js +7 -0
- package/dist/calcite/p-4ad7e4e6.entry.js +7 -0
- package/dist/calcite/p-4c42aa8e.entry.js +7 -0
- package/dist/calcite/p-519ea1f1.entry.js +7 -0
- package/dist/calcite/p-51c6179e.js +7 -0
- package/dist/calcite/p-53dcf4fb.js +7 -0
- package/dist/calcite/p-5470e88a.entry.js +7 -0
- package/dist/calcite/p-5470e88a.entry.js.map +1 -0
- package/dist/calcite/p-552a7256.js +7 -0
- package/dist/calcite/p-57472aee.js +7 -0
- package/dist/calcite/p-5807971c.entry.js +7 -0
- package/dist/calcite/p-58ebb512.js +7 -0
- package/dist/calcite/p-5a01a0af.js +7 -0
- package/dist/calcite/p-5ac05be8.js +7 -0
- package/dist/calcite/p-5b8c1358.entry.js +7 -0
- package/dist/calcite/p-5ba59339.js +7 -0
- package/dist/calcite/p-5dfd8bd2.entry.js +7 -0
- package/dist/calcite/p-5eeb07e0.js +7 -0
- package/dist/calcite/p-61a55c84.entry.js +7 -0
- package/dist/calcite/p-623295e3.js +7 -0
- package/dist/calcite/p-62b94a12.js +7 -0
- package/dist/calcite/p-6317d8e1.entry.js +7 -0
- package/dist/calcite/p-6317d8e1.entry.js.map +1 -0
- package/dist/calcite/p-66d09a5c.entry.js +7 -0
- package/dist/calcite/p-6ad14a43.js +7 -0
- package/dist/calcite/p-6b5a4209.js +7 -0
- package/dist/calcite/p-6c12c985.js +7 -0
- package/dist/calcite/p-6e303956.js +7 -0
- package/dist/calcite/p-6e36d68c.js +7 -0
- package/dist/calcite/p-70d10e08.js +7 -0
- package/dist/calcite/p-73849894.js +7 -0
- package/dist/calcite/p-75c324bd.entry.js +7 -0
- package/dist/calcite/p-79a1b960.entry.js +7 -0
- package/dist/calcite/p-7a070071.entry.js +7 -0
- package/dist/calcite/p-7e5d0d27.js +7 -0
- package/dist/calcite/p-7ed18063.entry.js +7 -0
- package/dist/calcite/p-7fab3740.entry.js +7 -0
- package/dist/calcite/p-8119107b.js +7 -0
- package/dist/calcite/p-815f54db.js +7 -0
- package/dist/calcite/p-83a7af75.js +7 -0
- package/dist/calcite/p-85fd156f.js +7 -0
- package/dist/calcite/p-8882abe3.js +7 -0
- package/dist/calcite/p-8b34dfdf.entry.js +7 -0
- package/dist/calcite/p-8dede2d5.entry.js +7 -0
- package/dist/calcite/p-8f2d0060.js +7 -0
- package/dist/calcite/p-919f4cda.entry.js +7 -0
- package/dist/calcite/p-91ff3a14.entry.js +7 -0
- package/dist/calcite/p-929bd832.js +7 -0
- package/dist/calcite/p-92c3ae2d.js +7 -0
- package/dist/calcite/p-92e0081d.js +8 -0
- package/dist/calcite/p-94978069.js +7 -0
- package/dist/calcite/p-99cbdf8e.entry.js +7 -0
- package/dist/calcite/p-99cbdf8e.entry.js.map +1 -0
- package/dist/calcite/p-9a1e3944.entry.js +7 -0
- package/dist/calcite/p-9a1fab9f.entry.js +7 -0
- package/dist/calcite/p-9a1fab9f.entry.js.map +1 -0
- package/dist/calcite/p-9bd75c6b.entry.js +7 -0
- package/dist/calcite/p-9eb4758d.entry.js +7 -0
- package/dist/calcite/p-a096c9df.entry.js +7 -0
- package/dist/calcite/p-a1eecc45.entry.js +7 -0
- package/dist/calcite/p-a1eecc45.entry.js.map +1 -0
- package/dist/calcite/p-a4c55047.js +7 -0
- package/dist/calcite/p-a4e34b64.entry.js +7 -0
- package/dist/calcite/p-a6a4d5c5.js +7 -0
- package/dist/calcite/p-a7160e7c.js +7 -0
- package/dist/calcite/p-a7160e7c.js.map +1 -0
- package/dist/calcite/p-a8cf0920.js +7 -0
- package/dist/calcite/p-ab689fcc.entry.js +7 -0
- package/dist/calcite/p-ab689fcc.entry.js.map +1 -0
- package/dist/calcite/p-ae3540e5.entry.js +7 -0
- package/dist/calcite/p-af1925ad.entry.js +7 -0
- package/dist/calcite/p-af8466cd.entry.js +7 -0
- package/dist/calcite/p-afb26493.js +7 -0
- package/dist/calcite/p-b0f0a5cb.entry.js +7 -0
- package/dist/calcite/p-b4b2a886.js +7 -0
- package/dist/calcite/p-b5234b7f.entry.js +7 -0
- package/dist/calcite/p-b65e8039.js +7 -0
- package/dist/calcite/p-b85496d8.js +7 -0
- package/dist/calcite/p-b95427b8.entry.js +7 -0
- package/dist/calcite/p-b9652246.js +7 -0
- package/dist/calcite/p-bb9ea5c2.entry.js +7 -0
- package/dist/calcite/p-bb9ea5c2.entry.js.map +1 -0
- package/dist/calcite/p-bdda173a.entry.js +7 -0
- package/dist/calcite/p-beca6370.entry.js +7 -0
- package/dist/calcite/p-bed12e3b.js +7 -0
- package/dist/calcite/p-bfdeda6a.js +7 -0
- package/dist/calcite/p-c1abd52e.js +7 -0
- package/dist/calcite/p-c1f4eebb.js +7 -0
- package/dist/calcite/p-c318c2b9.entry.js +7 -0
- package/dist/calcite/p-c5385daf.entry.js +7 -0
- package/dist/calcite/p-c89605e6.entry.js +7 -0
- package/dist/calcite/p-ca4aa790.entry.js +7 -0
- package/dist/calcite/p-cbc57899.js +7 -0
- package/dist/calcite/p-cc89eae7.entry.js +7 -0
- package/dist/calcite/p-cd3ec3ea.js +7 -0
- package/dist/calcite/p-cdc870a2.js +7 -0
- package/dist/calcite/p-ce17fabb.js +7 -0
- package/dist/calcite/p-d3993fb9.js +7 -0
- package/dist/calcite/p-d725c033.entry.js +7 -0
- package/dist/calcite/p-d725c033.entry.js.map +1 -0
- package/dist/calcite/p-d78cd59e.js +7 -0
- package/dist/calcite/p-d9033397.entry.js +7 -0
- package/dist/calcite/p-da52ad04.js +7 -0
- package/dist/calcite/p-db01fced.entry.js +7 -0
- package/dist/calcite/p-dde84ba9.js +7 -0
- package/dist/calcite/p-de36c2f7.js +7 -0
- package/dist/calcite/p-e1907dad.js +7 -0
- package/dist/calcite/p-e3d6670e.js +7 -0
- package/dist/calcite/p-e3d6670e.js.map +1 -0
- package/dist/calcite/p-e606f3b5.entry.js +7 -0
- package/dist/calcite/p-e606f3b5.entry.js.map +1 -0
- package/dist/calcite/p-e62b1c72.entry.js +7 -0
- package/dist/calcite/p-e7a7bdbb.entry.js +7 -0
- package/dist/calcite/p-e8f92b7a.js +7 -0
- package/dist/calcite/p-e9c67e7d.entry.js +7 -0
- package/dist/calcite/p-e9d6325f.js +7 -0
- package/dist/calcite/p-eb2538bd.js +7 -0
- package/dist/calcite/p-ec4f2de9.entry.js +7 -0
- package/dist/calcite/p-ec4f2de9.entry.js.map +1 -0
- package/dist/calcite/p-ef3cfca6.js +7 -0
- package/dist/calcite/p-f28e51c2.entry.js +7 -0
- package/dist/calcite/p-f28e51c2.entry.js.map +1 -0
- package/dist/calcite/p-f3091e92.js +7 -0
- package/dist/calcite/p-f30fef1d.entry.js +7 -0
- package/dist/calcite/p-f387bc14.js +7 -0
- package/dist/calcite/p-f3b200c8.js +7 -0
- package/dist/calcite/p-f415b386.js +7 -0
- package/dist/calcite/p-f89b921a.js +7 -0
- package/dist/calcite/p-f9ad76d1.js +13 -0
- package/dist/calcite/p-fade0ec2.entry.js +7 -0
- package/dist/calcite/p-fb57ba6b.js +7 -0
- package/dist/calcite/p-fe2c56ef.entry.js +7 -0
- package/dist/calcite/p-fe6858a5.js +7 -0
- package/dist/calcite/p-ff871f9f.js +7 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-cbb9992d.js +110 -0
- package/dist/cjs/ExpandToggle-cbb9992d.js.map +1 -0
- package/dist/cjs/FloatingArrow-5c07d2da.js +49 -0
- package/dist/cjs/FloatingArrow-5c07d2da.js.map +1 -0
- package/dist/cjs/Heading-a0e5b716.js +22 -0
- package/dist/cjs/Heading-a0e5b716.js.map +1 -0
- package/dist/cjs/Validation-80b35f71.js +18 -0
- package/dist/cjs/Validation-80b35f71.js.map +1 -0
- package/dist/cjs/app-globals-b02c5d29.js +61 -0
- package/dist/cjs/app-globals-b02c5d29.js.map +1 -0
- package/dist/cjs/ar-19ad6e04.js +106 -0
- package/dist/cjs/ar-19ad6e04.js.map +1 -0
- package/dist/cjs/array-8224d21e.js +14 -0
- package/dist/cjs/array-8224d21e.js.map +1 -0
- package/dist/cjs/bg-627daf14.js +84 -0
- package/dist/cjs/bg-627daf14.js.map +1 -0
- package/dist/cjs/browser-bd0cc8a3.js +20 -0
- package/dist/cjs/browser-bd0cc8a3.js.map +1 -0
- package/dist/cjs/bs-01080a54.js +53 -0
- package/dist/cjs/bs-01080a54.js.map +1 -0
- package/dist/cjs/ca-b447f8a1.js +73 -0
- package/dist/cjs/ca-b447f8a1.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- 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 +22 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- 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 +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-87e98896.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-87e98896.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +17 -17
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- 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 +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- 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 +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +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 +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +27 -26
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- 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 +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/component-2d355ea4.js +30 -0
- package/dist/cjs/component-2d355ea4.js.map +1 -0
- package/dist/cjs/conditionalSlot-611168b5.js +60 -0
- package/dist/cjs/conditionalSlot-611168b5.js.map +1 -0
- package/dist/cjs/core-6c7404e4.js +22 -0
- package/dist/cjs/core-6c7404e4.js.map +1 -0
- package/dist/cjs/cs-057f2819.js +149 -0
- package/dist/cjs/cs-057f2819.js.map +1 -0
- package/dist/cjs/da-e4a3e0be.js +68 -0
- package/dist/cjs/da-e4a3e0be.js.map +1 -0
- package/dist/cjs/de-2851193d.js +93 -0
- package/dist/cjs/de-2851193d.js.map +1 -0
- package/dist/cjs/de-at-edbdf300.js +92 -0
- package/dist/cjs/de-at-edbdf300.js.map +1 -0
- package/dist/cjs/de-ch-0040274b.js +92 -0
- package/dist/cjs/de-ch-0040274b.js.map +1 -0
- package/dist/cjs/debounce-bbbac444.js +498 -0
- package/dist/cjs/debounce-bbbac444.js.map +1 -0
- package/dist/cjs/dom-487ef37d.js +1097 -0
- package/dist/cjs/dom-487ef37d.js.map +1 -0
- package/dist/cjs/el-a26bebd0.js +68 -0
- package/dist/cjs/el-a26bebd0.js.map +1 -0
- package/dist/cjs/en-au-8426bc61.js +68 -0
- package/dist/cjs/en-au-8426bc61.js.map +1 -0
- package/dist/cjs/en-ca-df6b746e.js +67 -0
- package/dist/cjs/en-ca-df6b746e.js.map +1 -0
- package/dist/cjs/en-gb-9860a0a1.js +71 -0
- package/dist/cjs/en-gb-9860a0a1.js.map +1 -0
- package/dist/cjs/es-14e45c4c.js +68 -0
- package/dist/cjs/es-14e45c4c.js.map +1 -0
- package/dist/cjs/es-mx-c4d810fb.js +67 -0
- package/dist/cjs/es-mx-c4d810fb.js.map +1 -0
- package/dist/cjs/et-7b8feae9.js +94 -0
- package/dist/cjs/et-7b8feae9.js.map +1 -0
- package/dist/cjs/fi-b7213007.js +117 -0
- package/dist/cjs/fi-b7213007.js.map +1 -0
- package/dist/cjs/filter-8110416f.js +762 -0
- package/dist/cjs/filter-8110416f.js.map +1 -0
- package/dist/cjs/floating-ui-98b73f8b.js +1981 -0
- package/dist/cjs/floating-ui-98b73f8b.js.map +1 -0
- package/dist/cjs/focusTrapComponent-b70a59e2.js +1020 -0
- package/dist/cjs/focusTrapComponent-b70a59e2.js.map +1 -0
- package/dist/cjs/form-dc8eab44.js +333 -0
- package/dist/cjs/form-dc8eab44.js.map +1 -0
- package/dist/cjs/fr-ch-a441383e.js +68 -0
- package/dist/cjs/fr-ch-a441383e.js.map +1 -0
- package/dist/cjs/fr-f178f2eb.js +70 -0
- package/dist/cjs/fr-f178f2eb.js.map +1 -0
- package/dist/cjs/guid-0cfff064.js +23 -0
- package/dist/cjs/guid-0cfff064.js.map +1 -0
- package/dist/cjs/he-dbfc9d10.js +107 -0
- package/dist/cjs/he-dbfc9d10.js.map +1 -0
- package/dist/cjs/hi-1c27d63c.js +67 -0
- package/dist/cjs/hi-1c27d63c.js.map +1 -0
- package/dist/cjs/hr-0bf4ce0c.js +82 -0
- package/dist/cjs/hr-0bf4ce0c.js.map +1 -0
- package/dist/cjs/hu-e108bf2b.js +90 -0
- package/dist/cjs/hu-e108bf2b.js.map +1 -0
- package/dist/cjs/id-a6d35d75.js +68 -0
- package/dist/cjs/id-a6d35d75.js.map +1 -0
- package/dist/cjs/index-6469e98a.js +2663 -0
- package/dist/cjs/index-6469e98a.js.map +1 -0
- package/dist/cjs/index-c6ae8ff2.js +208 -0
- package/dist/cjs/index-c6ae8ff2.js.map +1 -0
- package/dist/cjs/index-c6e51457.js +75 -0
- package/dist/cjs/index-c6e51457.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-ced0bef1.js +57 -0
- package/dist/cjs/input-ced0bef1.js.map +1 -0
- package/dist/cjs/interactive-a2b73062.js +151 -0
- package/dist/cjs/interactive-a2b73062.js.map +1 -0
- package/dist/cjs/it-ch-613d43cd.js +68 -0
- package/dist/cjs/it-ch-613d43cd.js.map +1 -0
- package/dist/cjs/it-fd26a956.js +68 -0
- package/dist/cjs/it-fd26a956.js.map +1 -0
- package/dist/cjs/ja-e8f18d43.js +74 -0
- package/dist/cjs/ja-e8f18d43.js.map +1 -0
- package/dist/cjs/key-92fad604.js +16 -0
- package/dist/cjs/key-92fad604.js.map +1 -0
- package/dist/cjs/ko-2dea7702.js +74 -0
- package/dist/cjs/ko-2dea7702.js.map +1 -0
- package/dist/cjs/label-75f13c02.js +183 -0
- package/dist/cjs/label-75f13c02.js.map +1 -0
- package/dist/cjs/loadable-58c11853.js +91 -0
- package/dist/cjs/loadable-58c11853.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-82485763.js +576 -0
- package/dist/cjs/locale-82485763.js.map +1 -0
- package/dist/cjs/lt-4797eb3c.js +99 -0
- package/dist/cjs/lt-4797eb3c.js.map +1 -0
- package/dist/cjs/lv-1158af88.js +68 -0
- package/dist/cjs/lv-1158af88.js.map +1 -0
- package/dist/cjs/math-dd0998db.js +57 -0
- package/dist/cjs/math-dd0998db.js.map +1 -0
- package/dist/cjs/mk-d578f69c.js +68 -0
- package/dist/cjs/mk-d578f69c.js.map +1 -0
- package/dist/cjs/nb-7a93548f.js +69 -0
- package/dist/cjs/nb-7a93548f.js.map +1 -0
- package/dist/cjs/nl-6da2686a.js +69 -0
- package/dist/cjs/nl-6da2686a.js.map +1 -0
- package/dist/cjs/observers-54af6eba.js +50 -0
- package/dist/cjs/observers-54af6eba.js.map +1 -0
- package/dist/cjs/openCloseComponent-944b93cd.js +89 -0
- package/dist/cjs/openCloseComponent-944b93cd.js.map +1 -0
- package/dist/cjs/pl-a8f400da.js +116 -0
- package/dist/cjs/pl-a8f400da.js.map +1 -0
- package/dist/cjs/pt-256c2d2e.js +69 -0
- package/dist/cjs/pt-256c2d2e.js.map +1 -0
- package/dist/cjs/pt-br-3a1ed928.js +67 -0
- package/dist/cjs/pt-br-3a1ed928.js.map +1 -0
- package/dist/cjs/resources-013344d7.js +23 -0
- package/dist/cjs/resources-013344d7.js.map +1 -0
- package/dist/cjs/resources-3e95b19d.js +414 -0
- package/dist/cjs/resources-3e95b19d.js.map +1 -0
- package/dist/cjs/resources-5fced2be.js +17 -0
- package/dist/cjs/resources-5fced2be.js.map +1 -0
- package/dist/cjs/resources-640ece3f.js +26 -0
- package/dist/cjs/resources-640ece3f.js.map +1 -0
- package/dist/cjs/resources-661dfdf1.js +29 -0
- package/dist/cjs/resources-661dfdf1.js.map +1 -0
- package/dist/cjs/resources-793c3fe4.js +49 -0
- package/dist/cjs/resources-793c3fe4.js.map +1 -0
- package/dist/cjs/resources-cd1148e5.js +26 -0
- package/dist/cjs/resources-cd1148e5.js.map +1 -0
- package/dist/cjs/ro-00931858.js +68 -0
- package/dist/cjs/ro-00931858.js.map +1 -0
- package/dist/cjs/ru-1644e567.js +128 -0
- package/dist/cjs/ru-1644e567.js.map +1 -0
- package/dist/cjs/sk-4a1413ad.js +150 -0
- package/dist/cjs/sk-4a1413ad.js.map +1 -0
- package/dist/cjs/sl-63048cdc.js +170 -0
- package/dist/cjs/sl-63048cdc.js.map +1 -0
- package/dist/cjs/sortableComponent-ef358048.js +2744 -0
- package/dist/cjs/sortableComponent-ef358048.js.map +1 -0
- package/dist/cjs/sr-7bf14565.js +103 -0
- package/dist/cjs/sr-7bf14565.js.map +1 -0
- package/dist/cjs/sv-98908a4e.js +73 -0
- package/dist/cjs/sv-98908a4e.js.map +1 -0
- package/dist/cjs/t9n-42cef130.js +97 -0
- package/dist/cjs/t9n-42cef130.js.map +1 -0
- package/dist/cjs/th-bc9fd7de.js +67 -0
- package/dist/cjs/th-bc9fd7de.js.map +1 -0
- package/dist/cjs/throttle-57bbfb58.js +77 -0
- package/dist/cjs/throttle-57bbfb58.js.map +1 -0
- package/dist/cjs/tr-bea261e0.js +68 -0
- package/dist/cjs/tr-bea261e0.js.map +1 -0
- package/dist/cjs/uk-c922cce3.js +106 -0
- package/dist/cjs/uk-c922cce3.js.map +1 -0
- package/dist/cjs/utils-271848f7.js +307 -0
- package/dist/cjs/utils-271848f7.js.map +1 -0
- package/dist/cjs/utils-80f6a066.js +218 -0
- package/dist/cjs/utils-80f6a066.js.map +1 -0
- package/dist/cjs/vi-25e22ceb.js +72 -0
- package/dist/cjs/vi-25e22ceb.js.map +1 -0
- package/dist/cjs/zh-cn-fb8b1b87.js +96 -0
- package/dist/cjs/zh-cn-fb8b1b87.js.map +1 -0
- package/dist/cjs/zh-hk-25402d41.js +73 -0
- package/dist/cjs/zh-hk-25402d41.js.map +1 -0
- package/dist/cjs/zh-tw-bcae8cd6.js +94 -0
- package/dist/cjs/zh-tw-bcae8cd6.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.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.css +5 -5
- package/dist/collection/components/action/action.e2e.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.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.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 +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.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.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.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.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.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.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.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.css +5 -5
- package/dist/collection/components/button/button.e2e.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/assets/card/t9n/messages_ar.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bg.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_bs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ca.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_cs.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_da.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_de.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_el.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_es.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_et.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_fr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_he.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_hu.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_id.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_it.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ja.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ko.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lt.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_lv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_nl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_no.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-BR.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_pt-PT.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ro.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_ru.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sl.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_sv.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_th.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_tr.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_uk.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_vi.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-CN.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-HK.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_zh-TW.json +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.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/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.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.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.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.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.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.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.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.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.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.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.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.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.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.css +5 -5
- package/dist/collection/components/fab/fab.e2e.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.css +5 -5
- package/dist/collection/components/filter/filter.e2e.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.css +5 -5
- package/dist/collection/components/flow/flow.e2e.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.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.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/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.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.css +5 -5
- package/dist/collection/components/handle/handle.e2e.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.css +5 -5
- package/dist/collection/components/icon/icon.e2e.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/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.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/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.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.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.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.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.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.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.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.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.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.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.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.css +5 -5
- package/dist/collection/components/label/label.e2e.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.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.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.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.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.css +5 -5
- package/dist/collection/components/meter/meter.e2e.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.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.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.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.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.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.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.css +5 -5
- package/dist/collection/components/notice/notice.e2e.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.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.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.css +5 -5
- package/dist/collection/components/panel/panel.e2e.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.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.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.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.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.css +5 -5
- package/dist/collection/components/popover/popover.e2e.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.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.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.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.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.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.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.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.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.css +5 -5
- package/dist/collection/components/select/select.e2e.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.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.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.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.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.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.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.css +5 -5
- package/dist/collection/components/slider/slider.e2e.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.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.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.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.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.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +15 -14
- package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.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.css +5 -5
- package/dist/collection/components/table/table.e2e.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.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- 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.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.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.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.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.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.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.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.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.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.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.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.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.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.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.css +5 -5
- package/dist/collection/components/tree/tree.e2e.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.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.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.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.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.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.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/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.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/collection/utils/time.spec.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/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-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-group.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/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/core.js +2 -2
- package/dist/components/core.js.map +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +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/radio-button.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/resources5.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 +15 -14
- package/dist/components/tab-nav.js.map +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/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-de34465e.js +102 -0
- package/dist/esm/ExpandToggle-de34465e.js.map +1 -0
- package/dist/esm/FloatingArrow-b1c95666.js +47 -0
- package/dist/esm/FloatingArrow-b1c95666.js.map +1 -0
- package/dist/esm/Heading-15aa2484.js +19 -0
- package/dist/esm/Heading-15aa2484.js.map +1 -0
- package/dist/esm/Validation-cf2abfd2.js +16 -0
- package/dist/esm/Validation-cf2abfd2.js.map +1 -0
- package/dist/esm/app-globals-94159ac8.js +59 -0
- package/dist/esm/app-globals-94159ac8.js.map +1 -0
- package/dist/esm/ar-39225596.js +104 -0
- package/dist/esm/ar-39225596.js.map +1 -0
- package/dist/esm/array-ce2dfae1.js +12 -0
- package/dist/esm/array-ce2dfae1.js.map +1 -0
- package/dist/esm/bg-f8f33a24.js +82 -0
- package/dist/esm/bg-f8f33a24.js.map +1 -0
- package/dist/esm/browser-1baf23f7.js +18 -0
- package/dist/esm/browser-1baf23f7.js.map +1 -0
- package/dist/esm/bs-004af180.js +51 -0
- package/dist/esm/bs-004af180.js.map +1 -0
- package/dist/esm/ca-1cb5180e.js +71 -0
- package/dist/esm/ca-1cb5180e.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- 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 +22 -22
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- 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 +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -17
- package/dist/esm/calcite-input-text.entry.js +17 -17
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ab6b9cb6.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-ab6b9cb6.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +17 -17
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- 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 +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- 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 +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- 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 +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +27 -26
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +4 -4
- 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 +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/component-b0a9a44a.js +27 -0
- package/dist/esm/component-b0a9a44a.js.map +1 -0
- package/dist/esm/conditionalSlot-9a0153a6.js +57 -0
- package/dist/esm/conditionalSlot-9a0153a6.js.map +1 -0
- package/dist/esm/core-890e7ced.js +17 -0
- package/dist/esm/core-890e7ced.js.map +1 -0
- package/dist/esm/cs-58334e5f.js +147 -0
- package/dist/esm/cs-58334e5f.js.map +1 -0
- package/dist/esm/da-c776ab95.js +66 -0
- package/dist/esm/da-c776ab95.js.map +1 -0
- package/dist/esm/de-06a84aa3.js +91 -0
- package/dist/esm/de-06a84aa3.js.map +1 -0
- package/dist/esm/de-at-41006349.js +90 -0
- package/dist/esm/de-at-41006349.js.map +1 -0
- package/dist/esm/de-ch-ad5f6b80.js +90 -0
- package/dist/esm/de-ch-ad5f6b80.js.map +1 -0
- package/dist/esm/debounce-fea9fa7b.js +489 -0
- package/dist/esm/debounce-fea9fa7b.js.map +1 -0
- package/dist/esm/dom-bef18e4a.js +1065 -0
- package/dist/esm/dom-bef18e4a.js.map +1 -0
- package/dist/esm/el-0962ed0c.js +66 -0
- package/dist/esm/el-0962ed0c.js.map +1 -0
- package/dist/esm/en-au-7eb7ac37.js +66 -0
- package/dist/esm/en-au-7eb7ac37.js.map +1 -0
- package/dist/esm/en-ca-a69c2d34.js +65 -0
- package/dist/esm/en-ca-a69c2d34.js.map +1 -0
- package/dist/esm/en-gb-e4914079.js +69 -0
- package/dist/esm/en-gb-e4914079.js.map +1 -0
- package/dist/esm/es-ea4e9c87.js +66 -0
- package/dist/esm/es-ea4e9c87.js.map +1 -0
- package/dist/esm/es-mx-80f6bf66.js +65 -0
- package/dist/esm/es-mx-80f6bf66.js.map +1 -0
- package/dist/esm/et-cf72057b.js +92 -0
- package/dist/esm/et-cf72057b.js.map +1 -0
- package/dist/esm/fi-dd85932f.js +115 -0
- package/dist/esm/fi-dd85932f.js.map +1 -0
- package/dist/esm/filter-61a2c485.js +760 -0
- package/dist/esm/filter-61a2c485.js.map +1 -0
- package/dist/esm/floating-ui-5e16bb65.js +1973 -0
- package/dist/esm/floating-ui-5e16bb65.js.map +1 -0
- package/dist/esm/focusTrapComponent-623f3c57.js +1015 -0
- package/dist/esm/focusTrapComponent-623f3c57.js.map +1 -0
- package/dist/esm/form-034629b4.js +324 -0
- package/dist/esm/form-034629b4.js.map +1 -0
- package/dist/esm/fr-38eb4b2a.js +68 -0
- package/dist/esm/fr-38eb4b2a.js.map +1 -0
- package/dist/esm/fr-ch-0234a7aa.js +66 -0
- package/dist/esm/fr-ch-0234a7aa.js.map +1 -0
- package/dist/esm/guid-617f6e1b.js +21 -0
- package/dist/esm/guid-617f6e1b.js.map +1 -0
- package/dist/esm/he-1b0f9533.js +105 -0
- package/dist/esm/he-1b0f9533.js.map +1 -0
- package/dist/esm/hi-7bd84c39.js +65 -0
- package/dist/esm/hi-7bd84c39.js.map +1 -0
- package/dist/esm/hr-933b26c3.js +80 -0
- package/dist/esm/hr-933b26c3.js.map +1 -0
- package/dist/esm/hu-88b6fd80.js +88 -0
- package/dist/esm/hu-88b6fd80.js.map +1 -0
- package/dist/esm/id-8f4234ce.js +66 -0
- package/dist/esm/id-8f4234ce.js.map +1 -0
- package/dist/esm/index-14074976.js +73 -0
- package/dist/esm/index-14074976.js.map +1 -0
- package/dist/esm/index-28d8549d.js +2628 -0
- package/dist/esm/index-28d8549d.js.map +1 -0
- package/dist/esm/index-49dbad0b.js +206 -0
- package/dist/esm/index-49dbad0b.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-8486abfd.js +55 -0
- package/dist/esm/input-8486abfd.js.map +1 -0
- package/dist/esm/interactive-583e13d7.js +146 -0
- package/dist/esm/interactive-583e13d7.js.map +1 -0
- package/dist/esm/it-424b65b4.js +66 -0
- package/dist/esm/it-424b65b4.js.map +1 -0
- package/dist/esm/it-ch-4d012058.js +66 -0
- package/dist/esm/it-ch-4d012058.js.map +1 -0
- package/dist/esm/ja-9303f4b7.js +72 -0
- package/dist/esm/ja-9303f4b7.js.map +1 -0
- package/dist/esm/key-3f1e3da4.js +13 -0
- package/dist/esm/key-3f1e3da4.js.map +1 -0
- package/dist/esm/ko-39dca49a.js +72 -0
- package/dist/esm/ko-39dca49a.js.map +1 -0
- package/dist/esm/label-8c0f9304.js +176 -0
- package/dist/esm/label-8c0f9304.js.map +1 -0
- package/dist/esm/loadable-6056dcbc.js +86 -0
- package/dist/esm/loadable-6056dcbc.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-b835bf72.js +563 -0
- package/dist/esm/locale-b835bf72.js.map +1 -0
- package/dist/esm/lt-75eb17b2.js +97 -0
- package/dist/esm/lt-75eb17b2.js.map +1 -0
- package/dist/esm/lv-e7a6cbff.js +66 -0
- package/dist/esm/lv-e7a6cbff.js.map +1 -0
- package/dist/esm/math-a5520ff4.js +51 -0
- package/dist/esm/math-a5520ff4.js.map +1 -0
- package/dist/esm/mk-1570d9bf.js +66 -0
- package/dist/esm/mk-1570d9bf.js.map +1 -0
- package/dist/esm/nb-f6a99e7f.js +67 -0
- package/dist/esm/nb-f6a99e7f.js.map +1 -0
- package/dist/esm/nl-d41db0d8.js +67 -0
- package/dist/esm/nl-d41db0d8.js.map +1 -0
- package/dist/esm/observers-ff65e337.js +48 -0
- package/dist/esm/observers-ff65e337.js.map +1 -0
- package/dist/esm/openCloseComponent-f04579aa.js +87 -0
- package/dist/esm/openCloseComponent-f04579aa.js.map +1 -0
- package/dist/esm/pl-ec36efaf.js +114 -0
- package/dist/esm/pl-ec36efaf.js.map +1 -0
- package/dist/esm/pt-583dc845.js +67 -0
- package/dist/esm/pt-583dc845.js.map +1 -0
- package/dist/esm/pt-br-7f0e6057.js +65 -0
- package/dist/esm/pt-br-7f0e6057.js.map +1 -0
- package/dist/esm/resources-25959fe9.js +25 -0
- package/dist/esm/resources-25959fe9.js.map +1 -0
- package/dist/esm/resources-324e00f0.js +23 -0
- package/dist/esm/resources-324e00f0.js.map +1 -0
- package/dist/esm/resources-7c3d8b89.js +19 -0
- package/dist/esm/resources-7c3d8b89.js.map +1 -0
- package/dist/esm/resources-895d059c.js +17 -0
- package/dist/esm/resources-895d059c.js.map +1 -0
- package/dist/esm/resources-b1e7a2dc.js +387 -0
- package/dist/esm/resources-b1e7a2dc.js.map +1 -0
- package/dist/esm/resources-c009d20e.js +21 -0
- package/dist/esm/resources-c009d20e.js.map +1 -0
- package/dist/esm/resources-d328710c.js +45 -0
- package/dist/esm/resources-d328710c.js.map +1 -0
- package/dist/esm/ro-99399fd5.js +66 -0
- package/dist/esm/ro-99399fd5.js.map +1 -0
- package/dist/esm/ru-7e8110f9.js +126 -0
- package/dist/esm/ru-7e8110f9.js.map +1 -0
- package/dist/esm/sk-d33fe152.js +148 -0
- package/dist/esm/sk-d33fe152.js.map +1 -0
- package/dist/esm/sl-631b3dac.js +168 -0
- package/dist/esm/sl-631b3dac.js.map +1 -0
- package/dist/esm/sortableComponent-710f8842.js +2740 -0
- package/dist/esm/sortableComponent-710f8842.js.map +1 -0
- package/dist/esm/sr-1b48a90f.js +101 -0
- package/dist/esm/sr-1b48a90f.js.map +1 -0
- package/dist/esm/sv-274f6ae1.js +71 -0
- package/dist/esm/sv-274f6ae1.js.map +1 -0
- package/dist/esm/t9n-91f18f76.js +92 -0
- package/dist/esm/t9n-91f18f76.js.map +1 -0
- package/dist/esm/th-e7cafc06.js +65 -0
- package/dist/esm/th-e7cafc06.js.map +1 -0
- package/dist/esm/throttle-1cd6d03d.js +75 -0
- package/dist/esm/throttle-1cd6d03d.js.map +1 -0
- package/dist/esm/tr-5412bf20.js +66 -0
- package/dist/esm/tr-5412bf20.js.map +1 -0
- package/dist/esm/uk-2b7e1088.js +104 -0
- package/dist/esm/uk-2b7e1088.js.map +1 -0
- package/dist/esm/utils-07213531.js +289 -0
- package/dist/esm/utils-07213531.js.map +1 -0
- package/dist/esm/utils-54cd3bb6.js +200 -0
- package/dist/esm/utils-54cd3bb6.js.map +1 -0
- package/dist/esm/vi-ec3ba49f.js +70 -0
- package/dist/esm/vi-ec3ba49f.js.map +1 -0
- package/dist/esm/zh-cn-64bec654.js +94 -0
- package/dist/esm/zh-cn-64bec654.js.map +1 -0
- package/dist/esm/zh-hk-a4f82449.js +71 -0
- package/dist/esm/zh-hk-a4f82449.js.map +1 -0
- package/dist/esm/zh-tw-a6a14376.js +92 -0
- package/dist/esm/zh-tw-a6a14376.js.map +1 -0
- package/dist/extras/docs-json.json +1 -1
- package/dist/extras/translations-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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -1
- package/dist/types/home/runner/work/calcite-design-system/calcite-design-system/packages/calcite-components/.stencil/stencil.config.d.ts +3 -0
- package/hydrate/index.js +17 -16
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-011aadb8.js +0 -7
- package/dist/calcite/p-02e92d66.entry.js +0 -7
- package/dist/calcite/p-02e92d66.entry.js.map +0 -1
- package/dist/calcite/p-05968e7c.entry.js +0 -7
- package/dist/calcite/p-061be3ad.js +0 -7
- package/dist/calcite/p-070de450.entry.js +0 -7
- package/dist/calcite/p-070de450.entry.js.map +0 -1
- package/dist/calcite/p-077b566d.js +0 -7
- package/dist/calcite/p-08dfb854.js +0 -7
- package/dist/calcite/p-09e295c4.entry.js +0 -7
- package/dist/calcite/p-0c6013b1.js +0 -11
- package/dist/calcite/p-0db0d6ca.js +0 -7
- package/dist/calcite/p-0f79facb.js +0 -7
- package/dist/calcite/p-103ec7b9.js +0 -7
- package/dist/calcite/p-1159ffc0.entry.js +0 -7
- package/dist/calcite/p-1159ffc0.entry.js.map +0 -1
- package/dist/calcite/p-139c9f79.entry.js +0 -7
- package/dist/calcite/p-14f26d95.js +0 -7
- package/dist/calcite/p-16c23458.entry.js +0 -7
- package/dist/calcite/p-17f90abf.entry.js +0 -7
- package/dist/calcite/p-19996c53.js +0 -7
- package/dist/calcite/p-19ddeaa5.js +0 -7
- package/dist/calcite/p-1bd19685.entry.js +0 -7
- package/dist/calcite/p-1cd3c6d5.entry.js +0 -7
- package/dist/calcite/p-1d3d7f34.js +0 -7
- package/dist/calcite/p-1d87dc00.js +0 -7
- package/dist/calcite/p-1e84448b.js +0 -7
- package/dist/calcite/p-1ec7c8f4.entry.js +0 -7
- package/dist/calcite/p-1efd04f8.js +0 -7
- package/dist/calcite/p-20a72009.js +0 -7
- package/dist/calcite/p-23e0f4c2.js +0 -7
- package/dist/calcite/p-243c2697.js +0 -7
- package/dist/calcite/p-24655393.js +0 -7
- package/dist/calcite/p-25ad082d.js +0 -7
- package/dist/calcite/p-267b259a.js +0 -7
- package/dist/calcite/p-28067ce8.js +0 -7
- package/dist/calcite/p-2867e138.entry.js +0 -7
- package/dist/calcite/p-2a0ec6fa.entry.js +0 -7
- package/dist/calcite/p-2bc4a1a7.entry.js +0 -7
- package/dist/calcite/p-2d5869dc.js +0 -13
- package/dist/calcite/p-2d804216.entry.js +0 -7
- package/dist/calcite/p-2f11e192.entry.js +0 -7
- package/dist/calcite/p-2fa63d33.js +0 -7
- package/dist/calcite/p-2fbf38b7.js +0 -7
- package/dist/calcite/p-2fbf38b7.js.map +0 -1
- package/dist/calcite/p-3208452c.js +0 -7
- package/dist/calcite/p-32ddfb7f.js +0 -7
- package/dist/calcite/p-34bb6a44.entry.js +0 -7
- package/dist/calcite/p-3782064a.js +0 -7
- package/dist/calcite/p-37e6bdc7.js +0 -7
- package/dist/calcite/p-3b8c66a5.js +0 -7
- package/dist/calcite/p-3c146f08.js +0 -7
- package/dist/calcite/p-41ea806c.entry.js +0 -7
- package/dist/calcite/p-4219d1f3.entry.js +0 -7
- package/dist/calcite/p-43836d51.js +0 -7
- package/dist/calcite/p-44fa0ca5.entry.js +0 -7
- package/dist/calcite/p-456955f0.entry.js +0 -7
- package/dist/calcite/p-46124572.entry.js +0 -7
- package/dist/calcite/p-47f2a2f9.entry.js +0 -7
- package/dist/calcite/p-48e5dd15.entry.js +0 -7
- package/dist/calcite/p-48fdcba0.js +0 -7
- package/dist/calcite/p-4b201ce1.entry.js +0 -7
- package/dist/calcite/p-4b201ce1.entry.js.map +0 -1
- package/dist/calcite/p-4e3e450d.js +0 -7
- package/dist/calcite/p-530cb4f1.js +0 -7
- package/dist/calcite/p-56638ebc.js +0 -7
- package/dist/calcite/p-58306ee0.js +0 -7
- package/dist/calcite/p-5858ab86.entry.js +0 -7
- package/dist/calcite/p-59b5c120.entry.js +0 -7
- package/dist/calcite/p-59fc2594.entry.js +0 -7
- package/dist/calcite/p-5c3da99e.js +0 -7
- package/dist/calcite/p-5cc8d9f5.entry.js +0 -7
- package/dist/calcite/p-5fcfd343.js +0 -7
- package/dist/calcite/p-5fcfd343.js.map +0 -1
- package/dist/calcite/p-60473c94.js +0 -7
- package/dist/calcite/p-616440df.entry.js +0 -7
- package/dist/calcite/p-616440df.entry.js.map +0 -1
- package/dist/calcite/p-61e698ba.entry.js +0 -7
- package/dist/calcite/p-6378e4c0.entry.js +0 -7
- package/dist/calcite/p-65513dd3.js +0 -7
- package/dist/calcite/p-6774fd0b.js +0 -7
- package/dist/calcite/p-6829021f.js +0 -7
- package/dist/calcite/p-683276f2.js +0 -7
- package/dist/calcite/p-687bfcd0.entry.js +0 -7
- package/dist/calcite/p-6b60a528.js +0 -7
- package/dist/calcite/p-6c555d95.entry.js +0 -7
- package/dist/calcite/p-6c9edb49.entry.js +0 -7
- package/dist/calcite/p-6c9edb49.entry.js.map +0 -1
- package/dist/calcite/p-6ce44822.entry.js +0 -7
- package/dist/calcite/p-6df32ced.js +0 -12
- package/dist/calcite/p-700f7ae8.entry.js +0 -7
- package/dist/calcite/p-70b7582f.entry.js +0 -7
- package/dist/calcite/p-7451e633.js +0 -7
- package/dist/calcite/p-76cd9bbf.js +0 -7
- package/dist/calcite/p-7b9f0951.entry.js +0 -7
- package/dist/calcite/p-7cb0ae5c.entry.js +0 -7
- package/dist/calcite/p-7e59b267.js +0 -7
- package/dist/calcite/p-808352b4.entry.js +0 -7
- package/dist/calcite/p-824ea148.entry.js +0 -7
- package/dist/calcite/p-824ea148.entry.js.map +0 -1
- package/dist/calcite/p-835c3f64.entry.js +0 -7
- package/dist/calcite/p-83f181f3.entry.js +0 -7
- package/dist/calcite/p-86fe16c8.js +0 -7
- package/dist/calcite/p-883c0d75.js +0 -7
- package/dist/calcite/p-89ef3447.js +0 -7
- package/dist/calcite/p-8ad9635b.entry.js +0 -7
- package/dist/calcite/p-8e219cea.js +0 -7
- package/dist/calcite/p-90e987a8.js +0 -7
- package/dist/calcite/p-90f5afcc.js +0 -7
- package/dist/calcite/p-9136bfcd.js +0 -7
- package/dist/calcite/p-91abe67a.entry.js +0 -7
- package/dist/calcite/p-9398ea84.js +0 -7
- package/dist/calcite/p-93f774ca.js +0 -7
- package/dist/calcite/p-95bf8f4d.entry.js +0 -7
- package/dist/calcite/p-9626dc6a.js +0 -7
- package/dist/calcite/p-971b81fc.entry.js +0 -7
- package/dist/calcite/p-97d73aa5.js +0 -7
- package/dist/calcite/p-983a07d7.js +0 -7
- package/dist/calcite/p-991dc748.js +0 -7
- package/dist/calcite/p-9b8afb54.entry.js +0 -7
- package/dist/calcite/p-9b8afb54.entry.js.map +0 -1
- package/dist/calcite/p-9ba43ae5.js +0 -7
- package/dist/calcite/p-9d487f81.js +0 -7
- package/dist/calcite/p-9d6e7bce.entry.js +0 -7
- package/dist/calcite/p-9d6e7bce.entry.js.map +0 -1
- package/dist/calcite/p-a1e4cfc7.entry.js +0 -7
- package/dist/calcite/p-a1e4cfc7.entry.js.map +0 -1
- package/dist/calcite/p-a3f363da.entry.js +0 -7
- package/dist/calcite/p-a3f363da.entry.js.map +0 -1
- package/dist/calcite/p-a4019cbb.entry.js +0 -7
- package/dist/calcite/p-a56be6d6.js +0 -7
- package/dist/calcite/p-a674255c.js +0 -7
- package/dist/calcite/p-a6d88605.entry.js +0 -7
- package/dist/calcite/p-a7d7640f.js +0 -7
- package/dist/calcite/p-a9549577.entry.js +0 -7
- package/dist/calcite/p-a97f7660.js +0 -7
- package/dist/calcite/p-ad3bcf2e.js +0 -7
- package/dist/calcite/p-ad809b1e.entry.js +0 -7
- package/dist/calcite/p-af0fad6e.js +0 -7
- package/dist/calcite/p-b28bd1c4.entry.js +0 -7
- package/dist/calcite/p-b3a8fef2.js +0 -7
- package/dist/calcite/p-bd4cb175.js +0 -7
- package/dist/calcite/p-bde2009b.js +0 -7
- package/dist/calcite/p-bf064d01.entry.js +0 -7
- package/dist/calcite/p-c19551a0.js +0 -7
- package/dist/calcite/p-c2b23e75.js +0 -7
- package/dist/calcite/p-c895988a.js +0 -8
- package/dist/calcite/p-c8dc65e4.js +0 -7
- package/dist/calcite/p-c8fefe57.js +0 -7
- package/dist/calcite/p-cb18e9ad.js +0 -7
- package/dist/calcite/p-cb7de35f.entry.js +0 -7
- package/dist/calcite/p-cb7de35f.entry.js.map +0 -1
- package/dist/calcite/p-cde9bcb0.js +0 -7
- package/dist/calcite/p-cded7f21.entry.js +0 -7
- package/dist/calcite/p-d35beaaf.entry.js +0 -7
- package/dist/calcite/p-d38fd350.entry.js +0 -7
- package/dist/calcite/p-d76b5e1c.entry.js +0 -7
- package/dist/calcite/p-da0fdc6a.entry.js +0 -7
- package/dist/calcite/p-de1fb3ff.js +0 -7
- package/dist/calcite/p-e203d184.js +0 -7
- package/dist/calcite/p-e3b51ef6.entry.js +0 -7
- package/dist/calcite/p-e6078144.js +0 -7
- package/dist/calcite/p-e9479998.entry.js +0 -7
- package/dist/calcite/p-eb95960d.entry.js +0 -7
- package/dist/calcite/p-ebd6a76c.entry.js +0 -7
- package/dist/calcite/p-ed4607ec.js +0 -7
- package/dist/calcite/p-f02f3fc2.js +0 -7
- package/dist/calcite/p-f11f7cf3.js +0 -7
- package/dist/calcite/p-f1fd8939.js +0 -7
- package/dist/calcite/p-f2ca799c.entry.js +0 -7
- package/dist/calcite/p-f2ca799c.entry.js.map +0 -1
- package/dist/calcite/p-f7965587.js +0 -7
- package/dist/calcite/p-f7dc8e24.entry.js +0 -7
- package/dist/calcite/p-f7e30e28.entry.js +0 -7
- package/dist/calcite/p-f87ef04e.entry.js +0 -7
- package/dist/calcite/p-f90b2a40.js +0 -7
- package/dist/calcite/p-fe00bf44.entry.js +0 -7
- package/dist/calcite/p-fe00bf44.entry.js.map +0 -1
- package/dist/calcite/p-ff5c1bba.js +0 -7
- package/dist/calcite/p-ffc7b7bf.js +0 -7
- package/dist/cjs/ExpandToggle-e7c061e6.js +0 -110
- package/dist/cjs/ExpandToggle-e7c061e6.js.map +0 -1
- package/dist/cjs/FloatingArrow-8dae4213.js +0 -49
- package/dist/cjs/FloatingArrow-8dae4213.js.map +0 -1
- package/dist/cjs/Heading-9e6e61ee.js +0 -22
- package/dist/cjs/Heading-9e6e61ee.js.map +0 -1
- package/dist/cjs/Validation-069828f9.js +0 -18
- package/dist/cjs/Validation-069828f9.js.map +0 -1
- package/dist/cjs/app-globals-78505345.js +0 -61
- package/dist/cjs/app-globals-78505345.js.map +0 -1
- package/dist/cjs/ar-e92542ce.js +0 -106
- package/dist/cjs/ar-e92542ce.js.map +0 -1
- package/dist/cjs/array-34f92b40.js +0 -14
- package/dist/cjs/array-34f92b40.js.map +0 -1
- package/dist/cjs/bg-c1d4bff6.js +0 -84
- package/dist/cjs/bg-c1d4bff6.js.map +0 -1
- package/dist/cjs/browser-e6f39dc3.js +0 -20
- package/dist/cjs/browser-e6f39dc3.js.map +0 -1
- package/dist/cjs/bs-91fd1442.js +0 -53
- package/dist/cjs/bs-91fd1442.js.map +0 -1
- package/dist/cjs/ca-4b85aaea.js +0 -73
- package/dist/cjs/ca-4b85aaea.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-411c41d3.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-411c41d3.js.map +0 -1
- package/dist/cjs/component-274e3537.js +0 -30
- package/dist/cjs/component-274e3537.js.map +0 -1
- package/dist/cjs/conditionalSlot-9f54a985.js +0 -60
- package/dist/cjs/conditionalSlot-9f54a985.js.map +0 -1
- package/dist/cjs/core-fcd402a8.js +0 -22
- package/dist/cjs/core-fcd402a8.js.map +0 -1
- package/dist/cjs/cs-e9f62ef1.js +0 -149
- package/dist/cjs/cs-e9f62ef1.js.map +0 -1
- package/dist/cjs/da-53cc94b5.js +0 -68
- package/dist/cjs/da-53cc94b5.js.map +0 -1
- package/dist/cjs/de-734f1988.js +0 -93
- package/dist/cjs/de-734f1988.js.map +0 -1
- package/dist/cjs/de-at-11af4656.js +0 -92
- package/dist/cjs/de-at-11af4656.js.map +0 -1
- package/dist/cjs/de-ch-418ae5b4.js +0 -92
- package/dist/cjs/de-ch-418ae5b4.js.map +0 -1
- package/dist/cjs/debounce-fc8fa9d4.js +0 -498
- package/dist/cjs/debounce-fc8fa9d4.js.map +0 -1
- package/dist/cjs/dom-37e92e03.js +0 -1097
- package/dist/cjs/dom-37e92e03.js.map +0 -1
- package/dist/cjs/el-45ab8e94.js +0 -68
- package/dist/cjs/el-45ab8e94.js.map +0 -1
- package/dist/cjs/en-au-245b36a8.js +0 -68
- package/dist/cjs/en-au-245b36a8.js.map +0 -1
- package/dist/cjs/en-ca-5d5e2f24.js +0 -67
- package/dist/cjs/en-ca-5d5e2f24.js.map +0 -1
- package/dist/cjs/en-gb-f4ca42f5.js +0 -71
- package/dist/cjs/en-gb-f4ca42f5.js.map +0 -1
- package/dist/cjs/es-ef5d6a23.js +0 -68
- package/dist/cjs/es-ef5d6a23.js.map +0 -1
- package/dist/cjs/es-mx-11b6585f.js +0 -67
- package/dist/cjs/es-mx-11b6585f.js.map +0 -1
- package/dist/cjs/et-e03e20f8.js +0 -94
- package/dist/cjs/et-e03e20f8.js.map +0 -1
- package/dist/cjs/fi-fa70c5b2.js +0 -117
- package/dist/cjs/fi-fa70c5b2.js.map +0 -1
- package/dist/cjs/filter-ac63190f.js +0 -762
- package/dist/cjs/filter-ac63190f.js.map +0 -1
- package/dist/cjs/floating-ui-d020a5af.js +0 -1981
- package/dist/cjs/floating-ui-d020a5af.js.map +0 -1
- package/dist/cjs/focusTrapComponent-3be931be.js +0 -1020
- package/dist/cjs/focusTrapComponent-3be931be.js.map +0 -1
- package/dist/cjs/form-c27eb460.js +0 -333
- package/dist/cjs/form-c27eb460.js.map +0 -1
- package/dist/cjs/fr-b6ecdaa9.js +0 -70
- package/dist/cjs/fr-b6ecdaa9.js.map +0 -1
- package/dist/cjs/fr-ch-604553a0.js +0 -68
- package/dist/cjs/fr-ch-604553a0.js.map +0 -1
- package/dist/cjs/guid-fb17ce44.js +0 -23
- package/dist/cjs/guid-fb17ce44.js.map +0 -1
- package/dist/cjs/he-52b759dc.js +0 -107
- package/dist/cjs/he-52b759dc.js.map +0 -1
- package/dist/cjs/hi-e3c9ea59.js +0 -67
- package/dist/cjs/hi-e3c9ea59.js.map +0 -1
- package/dist/cjs/hr-9e7531e6.js +0 -82
- package/dist/cjs/hr-9e7531e6.js.map +0 -1
- package/dist/cjs/hu-0af40e8a.js +0 -90
- package/dist/cjs/hu-0af40e8a.js.map +0 -1
- package/dist/cjs/id-e3821748.js +0 -68
- package/dist/cjs/id-e3821748.js.map +0 -1
- package/dist/cjs/index-329f0c63.js +0 -75
- package/dist/cjs/index-329f0c63.js.map +0 -1
- package/dist/cjs/index-5d8a3252.js +0 -2663
- package/dist/cjs/index-5d8a3252.js.map +0 -1
- package/dist/cjs/index-dbbab739.js +0 -208
- package/dist/cjs/index-dbbab739.js.map +0 -1
- package/dist/cjs/input-efaf118c.js +0 -57
- package/dist/cjs/input-efaf118c.js.map +0 -1
- package/dist/cjs/interactive-0f694baf.js +0 -151
- package/dist/cjs/interactive-0f694baf.js.map +0 -1
- package/dist/cjs/it-8aa88b47.js +0 -68
- package/dist/cjs/it-8aa88b47.js.map +0 -1
- package/dist/cjs/it-ch-bbc36430.js +0 -68
- package/dist/cjs/it-ch-bbc36430.js.map +0 -1
- package/dist/cjs/ja-7fb5b4be.js +0 -74
- package/dist/cjs/ja-7fb5b4be.js.map +0 -1
- package/dist/cjs/key-f66ed5c6.js +0 -16
- package/dist/cjs/key-f66ed5c6.js.map +0 -1
- package/dist/cjs/ko-05e14f81.js +0 -74
- package/dist/cjs/ko-05e14f81.js.map +0 -1
- package/dist/cjs/label-6dfdc601.js +0 -183
- package/dist/cjs/label-6dfdc601.js.map +0 -1
- package/dist/cjs/loadable-88ee4cce.js +0 -91
- package/dist/cjs/loadable-88ee4cce.js.map +0 -1
- package/dist/cjs/locale-c21c7fb6.js +0 -576
- package/dist/cjs/locale-c21c7fb6.js.map +0 -1
- package/dist/cjs/lt-bb9e18b8.js +0 -99
- package/dist/cjs/lt-bb9e18b8.js.map +0 -1
- package/dist/cjs/lv-a13f41f9.js +0 -68
- package/dist/cjs/lv-a13f41f9.js.map +0 -1
- package/dist/cjs/math-759c022b.js +0 -57
- package/dist/cjs/math-759c022b.js.map +0 -1
- package/dist/cjs/mk-5f0eff98.js +0 -68
- package/dist/cjs/mk-5f0eff98.js.map +0 -1
- package/dist/cjs/nb-9585dfc9.js +0 -69
- package/dist/cjs/nb-9585dfc9.js.map +0 -1
- package/dist/cjs/nl-6e868335.js +0 -69
- package/dist/cjs/nl-6e868335.js.map +0 -1
- package/dist/cjs/observers-ff929bf9.js +0 -50
- package/dist/cjs/observers-ff929bf9.js.map +0 -1
- package/dist/cjs/openCloseComponent-1f0c6fd5.js +0 -89
- package/dist/cjs/openCloseComponent-1f0c6fd5.js.map +0 -1
- package/dist/cjs/pl-0b4da1d0.js +0 -116
- package/dist/cjs/pl-0b4da1d0.js.map +0 -1
- package/dist/cjs/pt-59a9fc7b.js +0 -69
- package/dist/cjs/pt-59a9fc7b.js.map +0 -1
- package/dist/cjs/pt-br-416fcda1.js +0 -67
- package/dist/cjs/pt-br-416fcda1.js.map +0 -1
- package/dist/cjs/resources-1affda97.js +0 -26
- package/dist/cjs/resources-1affda97.js.map +0 -1
- package/dist/cjs/resources-475ba421.js +0 -49
- package/dist/cjs/resources-475ba421.js.map +0 -1
- package/dist/cjs/resources-9b0a6b46.js +0 -26
- package/dist/cjs/resources-9b0a6b46.js.map +0 -1
- package/dist/cjs/resources-a5fa309d.js +0 -23
- package/dist/cjs/resources-a5fa309d.js.map +0 -1
- package/dist/cjs/resources-d0a3b8de.js +0 -29
- package/dist/cjs/resources-d0a3b8de.js.map +0 -1
- package/dist/cjs/resources-d0db0048.js +0 -17
- package/dist/cjs/resources-d0db0048.js.map +0 -1
- package/dist/cjs/resources-e73ec4c1.js +0 -414
- package/dist/cjs/resources-e73ec4c1.js.map +0 -1
- package/dist/cjs/ro-37626d8e.js +0 -68
- package/dist/cjs/ro-37626d8e.js.map +0 -1
- package/dist/cjs/ru-39ad8afa.js +0 -128
- package/dist/cjs/ru-39ad8afa.js.map +0 -1
- package/dist/cjs/sk-c5c7e2b5.js +0 -150
- package/dist/cjs/sk-c5c7e2b5.js.map +0 -1
- package/dist/cjs/sl-45cab8ca.js +0 -170
- package/dist/cjs/sl-45cab8ca.js.map +0 -1
- package/dist/cjs/sortableComponent-8fa9d7e4.js +0 -2744
- package/dist/cjs/sortableComponent-8fa9d7e4.js.map +0 -1
- package/dist/cjs/sr-b6813ba1.js +0 -103
- package/dist/cjs/sr-b6813ba1.js.map +0 -1
- package/dist/cjs/sv-5ac89c24.js +0 -73
- package/dist/cjs/sv-5ac89c24.js.map +0 -1
- package/dist/cjs/t9n-ceec6fb1.js +0 -97
- package/dist/cjs/t9n-ceec6fb1.js.map +0 -1
- package/dist/cjs/th-1ed3fa9c.js +0 -67
- package/dist/cjs/th-1ed3fa9c.js.map +0 -1
- package/dist/cjs/throttle-6ce6f5ce.js +0 -77
- package/dist/cjs/throttle-6ce6f5ce.js.map +0 -1
- package/dist/cjs/tr-ea758b6f.js +0 -68
- package/dist/cjs/tr-ea758b6f.js.map +0 -1
- package/dist/cjs/uk-5fdbdfff.js +0 -106
- package/dist/cjs/uk-5fdbdfff.js.map +0 -1
- package/dist/cjs/utils-223ee77f.js +0 -307
- package/dist/cjs/utils-223ee77f.js.map +0 -1
- package/dist/cjs/utils-8c7e5094.js +0 -218
- package/dist/cjs/utils-8c7e5094.js.map +0 -1
- package/dist/cjs/vi-5f6024ca.js +0 -72
- package/dist/cjs/vi-5f6024ca.js.map +0 -1
- package/dist/cjs/zh-cn-83f2de98.js +0 -96
- package/dist/cjs/zh-cn-83f2de98.js.map +0 -1
- package/dist/cjs/zh-hk-e90f1692.js +0 -73
- package/dist/cjs/zh-hk-e90f1692.js.map +0 -1
- package/dist/cjs/zh-tw-68e4045d.js +0 -94
- package/dist/cjs/zh-tw-68e4045d.js.map +0 -1
- package/dist/esm/ExpandToggle-a882acf5.js +0 -102
- package/dist/esm/ExpandToggle-a882acf5.js.map +0 -1
- package/dist/esm/FloatingArrow-e397f5bf.js +0 -47
- package/dist/esm/FloatingArrow-e397f5bf.js.map +0 -1
- package/dist/esm/Heading-21f2dbfe.js +0 -19
- package/dist/esm/Heading-21f2dbfe.js.map +0 -1
- package/dist/esm/Validation-c8f4c03a.js +0 -16
- package/dist/esm/Validation-c8f4c03a.js.map +0 -1
- package/dist/esm/app-globals-ddda154c.js +0 -59
- package/dist/esm/app-globals-ddda154c.js.map +0 -1
- package/dist/esm/ar-a69a593f.js +0 -104
- package/dist/esm/ar-a69a593f.js.map +0 -1
- package/dist/esm/array-3c0d825b.js +0 -12
- package/dist/esm/array-3c0d825b.js.map +0 -1
- package/dist/esm/bg-98012842.js +0 -82
- package/dist/esm/bg-98012842.js.map +0 -1
- package/dist/esm/browser-7b8569aa.js +0 -18
- package/dist/esm/browser-7b8569aa.js.map +0 -1
- package/dist/esm/bs-29a5d6b0.js +0 -51
- package/dist/esm/bs-29a5d6b0.js.map +0 -1
- package/dist/esm/ca-7559b5d9.js +0 -71
- package/dist/esm/ca-7559b5d9.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-b4bcd945.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-b4bcd945.js.map +0 -1
- package/dist/esm/component-9609723f.js +0 -27
- package/dist/esm/component-9609723f.js.map +0 -1
- package/dist/esm/conditionalSlot-6bae8706.js +0 -57
- package/dist/esm/conditionalSlot-6bae8706.js.map +0 -1
- package/dist/esm/core-65376484.js +0 -17
- package/dist/esm/core-65376484.js.map +0 -1
- package/dist/esm/cs-7edcdabc.js +0 -147
- package/dist/esm/cs-7edcdabc.js.map +0 -1
- package/dist/esm/da-055f4380.js +0 -66
- package/dist/esm/da-055f4380.js.map +0 -1
- package/dist/esm/de-at-033c10bc.js +0 -90
- package/dist/esm/de-at-033c10bc.js.map +0 -1
- package/dist/esm/de-ch-77aa62b3.js +0 -90
- package/dist/esm/de-ch-77aa62b3.js.map +0 -1
- package/dist/esm/de-f4a68d30.js +0 -91
- package/dist/esm/de-f4a68d30.js.map +0 -1
- package/dist/esm/debounce-cbd9a124.js +0 -489
- package/dist/esm/debounce-cbd9a124.js.map +0 -1
- package/dist/esm/dom-4f48cd96.js +0 -1065
- package/dist/esm/dom-4f48cd96.js.map +0 -1
- package/dist/esm/el-7ebd4de5.js +0 -66
- package/dist/esm/el-7ebd4de5.js.map +0 -1
- package/dist/esm/en-au-dc490e33.js +0 -66
- package/dist/esm/en-au-dc490e33.js.map +0 -1
- package/dist/esm/en-ca-508c8096.js +0 -65
- package/dist/esm/en-ca-508c8096.js.map +0 -1
- package/dist/esm/en-gb-7e044b2f.js +0 -69
- package/dist/esm/en-gb-7e044b2f.js.map +0 -1
- package/dist/esm/es-e06603b9.js +0 -66
- package/dist/esm/es-e06603b9.js.map +0 -1
- package/dist/esm/es-mx-a0d1c565.js +0 -65
- package/dist/esm/es-mx-a0d1c565.js.map +0 -1
- package/dist/esm/et-489d0704.js +0 -92
- package/dist/esm/et-489d0704.js.map +0 -1
- package/dist/esm/fi-29aa7e6e.js +0 -115
- package/dist/esm/fi-29aa7e6e.js.map +0 -1
- package/dist/esm/filter-7414df95.js +0 -760
- package/dist/esm/filter-7414df95.js.map +0 -1
- package/dist/esm/floating-ui-76a2d693.js +0 -1973
- package/dist/esm/floating-ui-76a2d693.js.map +0 -1
- package/dist/esm/focusTrapComponent-66f7f02d.js +0 -1015
- package/dist/esm/focusTrapComponent-66f7f02d.js.map +0 -1
- package/dist/esm/form-3b90ce3f.js +0 -324
- package/dist/esm/form-3b90ce3f.js.map +0 -1
- package/dist/esm/fr-44735859.js +0 -68
- package/dist/esm/fr-44735859.js.map +0 -1
- package/dist/esm/fr-ch-a5229c25.js +0 -66
- package/dist/esm/fr-ch-a5229c25.js.map +0 -1
- package/dist/esm/guid-2445f680.js +0 -21
- package/dist/esm/guid-2445f680.js.map +0 -1
- package/dist/esm/he-305b097b.js +0 -105
- package/dist/esm/he-305b097b.js.map +0 -1
- package/dist/esm/hi-bfd6b6f8.js +0 -65
- package/dist/esm/hi-bfd6b6f8.js.map +0 -1
- package/dist/esm/hr-cf55d523.js +0 -80
- package/dist/esm/hr-cf55d523.js.map +0 -1
- package/dist/esm/hu-e87c40dd.js +0 -88
- package/dist/esm/hu-e87c40dd.js.map +0 -1
- package/dist/esm/id-8e7466b5.js +0 -66
- package/dist/esm/id-8e7466b5.js.map +0 -1
- package/dist/esm/index-0ac1b779.js +0 -73
- package/dist/esm/index-0ac1b779.js.map +0 -1
- package/dist/esm/index-70bc4aeb.js +0 -2628
- package/dist/esm/index-70bc4aeb.js.map +0 -1
- package/dist/esm/index-fcf18876.js +0 -206
- package/dist/esm/index-fcf18876.js.map +0 -1
- package/dist/esm/input-d5cb1b24.js +0 -55
- package/dist/esm/input-d5cb1b24.js.map +0 -1
- package/dist/esm/interactive-86ebb779.js +0 -146
- package/dist/esm/interactive-86ebb779.js.map +0 -1
- package/dist/esm/it-40b60d0e.js +0 -66
- package/dist/esm/it-40b60d0e.js.map +0 -1
- package/dist/esm/it-ch-4f5a0932.js +0 -66
- package/dist/esm/it-ch-4f5a0932.js.map +0 -1
- package/dist/esm/ja-5862019c.js +0 -72
- package/dist/esm/ja-5862019c.js.map +0 -1
- package/dist/esm/key-4b121202.js +0 -13
- package/dist/esm/key-4b121202.js.map +0 -1
- package/dist/esm/ko-3beb2920.js +0 -72
- package/dist/esm/ko-3beb2920.js.map +0 -1
- package/dist/esm/label-f23628e8.js +0 -176
- package/dist/esm/label-f23628e8.js.map +0 -1
- package/dist/esm/loadable-bcbd211d.js +0 -86
- package/dist/esm/loadable-bcbd211d.js.map +0 -1
- package/dist/esm/locale-9250a6e1.js +0 -563
- package/dist/esm/locale-9250a6e1.js.map +0 -1
- package/dist/esm/lt-2efbda44.js +0 -97
- package/dist/esm/lt-2efbda44.js.map +0 -1
- package/dist/esm/lv-f1a421f4.js +0 -66
- package/dist/esm/lv-f1a421f4.js.map +0 -1
- package/dist/esm/math-2270c516.js +0 -51
- package/dist/esm/math-2270c516.js.map +0 -1
- package/dist/esm/mk-530b70ad.js +0 -66
- package/dist/esm/mk-530b70ad.js.map +0 -1
- package/dist/esm/nb-9b50bb79.js +0 -67
- package/dist/esm/nb-9b50bb79.js.map +0 -1
- package/dist/esm/nl-6bba10a6.js +0 -67
- package/dist/esm/nl-6bba10a6.js.map +0 -1
- package/dist/esm/observers-84921960.js +0 -48
- package/dist/esm/observers-84921960.js.map +0 -1
- package/dist/esm/openCloseComponent-0042f846.js +0 -87
- package/dist/esm/openCloseComponent-0042f846.js.map +0 -1
- package/dist/esm/pl-550c480c.js +0 -114
- package/dist/esm/pl-550c480c.js.map +0 -1
- package/dist/esm/pt-br-afd55152.js +0 -65
- package/dist/esm/pt-br-afd55152.js.map +0 -1
- package/dist/esm/pt-e40c101b.js +0 -67
- package/dist/esm/pt-e40c101b.js.map +0 -1
- package/dist/esm/resources-20ff0097.js +0 -25
- package/dist/esm/resources-20ff0097.js.map +0 -1
- package/dist/esm/resources-308efc98.js +0 -387
- package/dist/esm/resources-308efc98.js.map +0 -1
- package/dist/esm/resources-41372633.js +0 -23
- package/dist/esm/resources-41372633.js.map +0 -1
- package/dist/esm/resources-497a3f88.js +0 -17
- package/dist/esm/resources-497a3f88.js.map +0 -1
- package/dist/esm/resources-5969daa2.js +0 -21
- package/dist/esm/resources-5969daa2.js.map +0 -1
- package/dist/esm/resources-c9af66ce.js +0 -45
- package/dist/esm/resources-c9af66ce.js.map +0 -1
- package/dist/esm/resources-e817ac65.js +0 -19
- package/dist/esm/resources-e817ac65.js.map +0 -1
- package/dist/esm/ro-e4c2b771.js +0 -66
- package/dist/esm/ro-e4c2b771.js.map +0 -1
- package/dist/esm/ru-9394322f.js +0 -126
- package/dist/esm/ru-9394322f.js.map +0 -1
- package/dist/esm/sk-4f3eea48.js +0 -148
- package/dist/esm/sk-4f3eea48.js.map +0 -1
- package/dist/esm/sl-2e810503.js +0 -168
- package/dist/esm/sl-2e810503.js.map +0 -1
- package/dist/esm/sortableComponent-020b60e3.js +0 -2740
- package/dist/esm/sortableComponent-020b60e3.js.map +0 -1
- package/dist/esm/sr-da7a23d3.js +0 -101
- package/dist/esm/sr-da7a23d3.js.map +0 -1
- package/dist/esm/sv-37d91b79.js +0 -71
- package/dist/esm/sv-37d91b79.js.map +0 -1
- package/dist/esm/t9n-eeccd625.js +0 -92
- package/dist/esm/t9n-eeccd625.js.map +0 -1
- package/dist/esm/th-bb50050a.js +0 -65
- package/dist/esm/th-bb50050a.js.map +0 -1
- package/dist/esm/throttle-a68c52cd.js +0 -75
- package/dist/esm/throttle-a68c52cd.js.map +0 -1
- package/dist/esm/tr-af38d1fe.js +0 -66
- package/dist/esm/tr-af38d1fe.js.map +0 -1
- package/dist/esm/uk-8d9dd30a.js +0 -104
- package/dist/esm/uk-8d9dd30a.js.map +0 -1
- package/dist/esm/utils-441c8891.js +0 -289
- package/dist/esm/utils-441c8891.js.map +0 -1
- package/dist/esm/utils-7d8ba245.js +0 -200
- package/dist/esm/utils-7d8ba245.js.map +0 -1
- package/dist/esm/vi-5d2c5495.js +0 -70
- package/dist/esm/vi-5d2c5495.js.map +0 -1
- package/dist/esm/zh-cn-1484c2f3.js +0 -94
- package/dist/esm/zh-cn-1484c2f3.js.map +0 -1
- package/dist/esm/zh-hk-760c7848.js +0 -71
- package/dist/esm/zh-hk-760c7848.js.map +0 -1
- package/dist/esm/zh-tw-3fb1ce92.js +0 -92
- package/dist/esm/zh-tw-3fb1ce92.js.map +0 -1
- package/dist/types/home/jamin/dev/work/calcite-design-system/main/packages/calcite-components/.stencil/stencil.config.d.ts +0 -3
- /package/dist/calcite/{p-1bd19685.entry.js.map → p-0059c18d.entry.js.map} +0 -0
- /package/dist/calcite/{p-a56be6d6.js.map → p-04160758.js.map} +0 -0
- /package/dist/calcite/{p-f7e30e28.entry.js.map → p-043a8c27.entry.js.map} +0 -0
- /package/dist/calcite/{p-a9549577.entry.js.map → p-05151b11.entry.js.map} +0 -0
- /package/dist/calcite/{p-89ef3447.js.map → p-06c2c809.js.map} +0 -0
- /package/dist/calcite/{p-46124572.entry.js.map → p-073b69c9.entry.js.map} +0 -0
- /package/dist/calcite/{p-34bb6a44.entry.js.map → p-086485af.entry.js.map} +0 -0
- /package/dist/calcite/{p-1ec7c8f4.entry.js.map → p-0baa9e50.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a0ec6fa.entry.js.map → p-0bd0923e.entry.js.map} +0 -0
- /package/dist/calcite/{p-ad3bcf2e.js.map → p-1049ac37.js.map} +0 -0
- /package/dist/calcite/{p-6378e4c0.entry.js.map → p-10b2183b.entry.js.map} +0 -0
- /package/dist/calcite/{p-5858ab86.entry.js.map → p-1495cabe.entry.js.map} +0 -0
- /package/dist/calcite/{p-ad809b1e.entry.js.map → p-156489c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-2867e138.entry.js.map → p-1b299e9c.entry.js.map} +0 -0
- /package/dist/calcite/{p-e3b51ef6.entry.js.map → p-1cbc51d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-c8dc65e4.js.map → p-1e676485.js.map} +0 -0
- /package/dist/calcite/{p-2f11e192.entry.js.map → p-1eda2400.entry.js.map} +0 -0
- /package/dist/calcite/{p-bde2009b.js.map → p-1f7cd395.js.map} +0 -0
- /package/dist/calcite/{p-25ad082d.js.map → p-22db3f00.js.map} +0 -0
- /package/dist/calcite/{p-f90b2a40.js.map → p-231d39f8.js.map} +0 -0
- /package/dist/calcite/{p-9398ea84.js.map → p-23ce5792.js.map} +0 -0
- /package/dist/calcite/{p-983a07d7.js.map → p-2507a521.js.map} +0 -0
- /package/dist/calcite/{p-267b259a.js.map → p-25e7febe.js.map} +0 -0
- /package/dist/calcite/{p-97d73aa5.js.map → p-282ffe9a.js.map} +0 -0
- /package/dist/calcite/{p-683276f2.js.map → p-28a1c50c.js.map} +0 -0
- /package/dist/calcite/{p-7b9f0951.entry.js.map → p-2bf59507.entry.js.map} +0 -0
- /package/dist/calcite/{p-17f90abf.entry.js.map → p-2e270359.entry.js.map} +0 -0
- /package/dist/calcite/{p-7e59b267.js.map → p-31ce8a2f.js.map} +0 -0
- /package/dist/calcite/{p-6df32ced.js.map → p-37495475.js.map} +0 -0
- /package/dist/calcite/{p-991dc748.js.map → p-387c4732.js.map} +0 -0
- /package/dist/calcite/{p-83f181f3.entry.js.map → p-38a0cd39.entry.js.map} +0 -0
- /package/dist/calcite/{p-f02f3fc2.js.map → p-3983b997.js.map} +0 -0
- /package/dist/calcite/{p-28067ce8.js.map → p-398cbed2.js.map} +0 -0
- /package/dist/calcite/{p-6b60a528.js.map → p-3a78f422.js.map} +0 -0
- /package/dist/calcite/{p-0c6013b1.js.map → p-3b332d6f.js.map} +0 -0
- /package/dist/calcite/{p-b3a8fef2.js.map → p-3fa890a3.js.map} +0 -0
- /package/dist/calcite/{p-9626dc6a.js.map → p-4000fdb7.js.map} +0 -0
- /package/dist/calcite/{p-86fe16c8.js.map → p-42c4808f.js.map} +0 -0
- /package/dist/calcite/{p-3b8c66a5.js.map → p-456f2fe0.js.map} +0 -0
- /package/dist/calcite/{p-cde9bcb0.js.map → p-45c7e5ad.js.map} +0 -0
- /package/dist/calcite/{p-0f79facb.js.map → p-49179b9e.js.map} +0 -0
- /package/dist/calcite/{p-2d804216.entry.js.map → p-4ad7e4e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-f7dc8e24.entry.js.map → p-4c42aa8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-70b7582f.entry.js.map → p-519ea1f1.entry.js.map} +0 -0
- /package/dist/calcite/{p-103ec7b9.js.map → p-51c6179e.js.map} +0 -0
- /package/dist/calcite/{p-a97f7660.js.map → p-53dcf4fb.js.map} +0 -0
- /package/dist/calcite/{p-bd4cb175.js.map → p-552a7256.js.map} +0 -0
- /package/dist/calcite/{p-3c146f08.js.map → p-57472aee.js.map} +0 -0
- /package/dist/calcite/{p-f87ef04e.entry.js.map → p-5807971c.entry.js.map} +0 -0
- /package/dist/calcite/{p-48fdcba0.js.map → p-58ebb512.js.map} +0 -0
- /package/dist/calcite/{p-a7d7640f.js.map → p-5a01a0af.js.map} +0 -0
- /package/dist/calcite/{p-90f5afcc.js.map → p-5ac05be8.js.map} +0 -0
- /package/dist/calcite/{p-da0fdc6a.entry.js.map → p-5b8c1358.entry.js.map} +0 -0
- /package/dist/calcite/{p-af0fad6e.js.map → p-5ba59339.js.map} +0 -0
- /package/dist/calcite/{p-b28bd1c4.entry.js.map → p-5dfd8bd2.entry.js.map} +0 -0
- /package/dist/calcite/{p-cb18e9ad.js.map → p-5eeb07e0.js.map} +0 -0
- /package/dist/calcite/{p-48e5dd15.entry.js.map → p-61a55c84.entry.js.map} +0 -0
- /package/dist/calcite/{p-c19551a0.js.map → p-623295e3.js.map} +0 -0
- /package/dist/calcite/{p-f11f7cf3.js.map → p-62b94a12.js.map} +0 -0
- /package/dist/calcite/{p-95bf8f4d.entry.js.map → p-66d09a5c.entry.js.map} +0 -0
- /package/dist/calcite/{p-f7965587.js.map → p-6ad14a43.js.map} +0 -0
- /package/dist/calcite/{p-a674255c.js.map → p-6b5a4209.js.map} +0 -0
- /package/dist/calcite/{p-32ddfb7f.js.map → p-6c12c985.js.map} +0 -0
- /package/dist/calcite/{p-24655393.js.map → p-6e303956.js.map} +0 -0
- /package/dist/calcite/{p-19ddeaa5.js.map → p-6e36d68c.js.map} +0 -0
- /package/dist/calcite/{p-530cb4f1.js.map → p-70d10e08.js.map} +0 -0
- /package/dist/calcite/{p-ffc7b7bf.js.map → p-73849894.js.map} +0 -0
- /package/dist/calcite/{p-2bc4a1a7.entry.js.map → p-75c324bd.entry.js.map} +0 -0
- /package/dist/calcite/{p-d38fd350.entry.js.map → p-79a1b960.entry.js.map} +0 -0
- /package/dist/calcite/{p-ebd6a76c.entry.js.map → p-7a070071.entry.js.map} +0 -0
- /package/dist/calcite/{p-90e987a8.js.map → p-7e5d0d27.js.map} +0 -0
- /package/dist/calcite/{p-e9479998.entry.js.map → p-7ed18063.entry.js.map} +0 -0
- /package/dist/calcite/{p-d76b5e1c.entry.js.map → p-7fab3740.entry.js.map} +0 -0
- /package/dist/calcite/{p-e203d184.js.map → p-8119107b.js.map} +0 -0
- /package/dist/calcite/{p-58306ee0.js.map → p-815f54db.js.map} +0 -0
- /package/dist/calcite/{p-5c3da99e.js.map → p-83a7af75.js.map} +0 -0
- /package/dist/calcite/{p-1d3d7f34.js.map → p-85fd156f.js.map} +0 -0
- /package/dist/calcite/{p-077b566d.js.map → p-8882abe3.js.map} +0 -0
- /package/dist/calcite/{p-808352b4.entry.js.map → p-8b34dfdf.entry.js.map} +0 -0
- /package/dist/calcite/{p-cded7f21.entry.js.map → p-8dede2d5.entry.js.map} +0 -0
- /package/dist/calcite/{p-f1fd8939.js.map → p-8f2d0060.js.map} +0 -0
- /package/dist/calcite/{p-91abe67a.entry.js.map → p-919f4cda.entry.js.map} +0 -0
- /package/dist/calcite/{p-59b5c120.entry.js.map → p-91ff3a14.entry.js.map} +0 -0
- /package/dist/calcite/{p-56638ebc.js.map → p-929bd832.js.map} +0 -0
- /package/dist/calcite/{p-1d87dc00.js.map → p-92c3ae2d.js.map} +0 -0
- /package/dist/calcite/{p-c895988a.js.map → p-92e0081d.js.map} +0 -0
- /package/dist/calcite/{p-19996c53.js.map → p-94978069.js.map} +0 -0
- /package/dist/calcite/{p-a6d88605.entry.js.map → p-9a1e3944.entry.js.map} +0 -0
- /package/dist/calcite/{p-09e295c4.entry.js.map → p-9bd75c6b.entry.js.map} +0 -0
- /package/dist/calcite/{p-41ea806c.entry.js.map → p-9eb4758d.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ad9635b.entry.js.map → p-a096c9df.entry.js.map} +0 -0
- /package/dist/calcite/{p-9ba43ae5.js.map → p-a4c55047.js.map} +0 -0
- /package/dist/calcite/{p-16c23458.entry.js.map → p-a4e34b64.entry.js.map} +0 -0
- /package/dist/calcite/{p-14f26d95.js.map → p-a6a4d5c5.js.map} +0 -0
- /package/dist/calcite/{p-ff5c1bba.js.map → p-a8cf0920.js.map} +0 -0
- /package/dist/calcite/{p-971b81fc.entry.js.map → p-ae3540e5.entry.js.map} +0 -0
- /package/dist/calcite/{p-44fa0ca5.entry.js.map → p-af1925ad.entry.js.map} +0 -0
- /package/dist/calcite/{p-7cb0ae5c.entry.js.map → p-af8466cd.entry.js.map} +0 -0
- /package/dist/calcite/{p-c2b23e75.js.map → p-afb26493.js.map} +0 -0
- /package/dist/calcite/{p-d35beaaf.entry.js.map → p-b0f0a5cb.entry.js.map} +0 -0
- /package/dist/calcite/{p-883c0d75.js.map → p-b4b2a886.js.map} +0 -0
- /package/dist/calcite/{p-139c9f79.entry.js.map → p-b5234b7f.entry.js.map} +0 -0
- /package/dist/calcite/{p-de1fb3ff.js.map → p-b65e8039.js.map} +0 -0
- /package/dist/calcite/{p-0db0d6ca.js.map → p-b85496d8.js.map} +0 -0
- /package/dist/calcite/{p-700f7ae8.entry.js.map → p-b95427b8.entry.js.map} +0 -0
- /package/dist/calcite/{p-23e0f4c2.js.map → p-b9652246.js.map} +0 -0
- /package/dist/calcite/{p-a4019cbb.entry.js.map → p-bdda173a.entry.js.map} +0 -0
- /package/dist/calcite/{p-bf064d01.entry.js.map → p-beca6370.entry.js.map} +0 -0
- /package/dist/calcite/{p-243c2697.js.map → p-bed12e3b.js.map} +0 -0
- /package/dist/calcite/{p-08dfb854.js.map → p-bfdeda6a.js.map} +0 -0
- /package/dist/calcite/{p-4e3e450d.js.map → p-c1abd52e.js.map} +0 -0
- /package/dist/calcite/{p-60473c94.js.map → p-c1f4eebb.js.map} +0 -0
- /package/dist/calcite/{p-6c555d95.entry.js.map → p-c318c2b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-5cc8d9f5.entry.js.map → p-c5385daf.entry.js.map} +0 -0
- /package/dist/calcite/{p-456955f0.entry.js.map → p-c89605e6.entry.js.map} +0 -0
- /package/dist/calcite/{p-59fc2594.entry.js.map → p-ca4aa790.entry.js.map} +0 -0
- /package/dist/calcite/{p-93f774ca.js.map → p-cbc57899.js.map} +0 -0
- /package/dist/calcite/{p-4219d1f3.entry.js.map → p-cc89eae7.entry.js.map} +0 -0
- /package/dist/calcite/{p-e6078144.js.map → p-cd3ec3ea.js.map} +0 -0
- /package/dist/calcite/{p-7451e633.js.map → p-cdc870a2.js.map} +0 -0
- /package/dist/calcite/{p-76cd9bbf.js.map → p-ce17fabb.js.map} +0 -0
- /package/dist/calcite/{p-c8fefe57.js.map → p-d3993fb9.js.map} +0 -0
- /package/dist/calcite/{p-8e219cea.js.map → p-d78cd59e.js.map} +0 -0
- /package/dist/calcite/{p-47f2a2f9.entry.js.map → p-d9033397.entry.js.map} +0 -0
- /package/dist/calcite/{p-1efd04f8.js.map → p-da52ad04.js.map} +0 -0
- /package/dist/calcite/{p-687bfcd0.entry.js.map → p-db01fced.entry.js.map} +0 -0
- /package/dist/calcite/{p-20a72009.js.map → p-dde84ba9.js.map} +0 -0
- /package/dist/calcite/{p-1e84448b.js.map → p-de36c2f7.js.map} +0 -0
- /package/dist/calcite/{p-65513dd3.js.map → p-e1907dad.js.map} +0 -0
- /package/dist/calcite/{p-05968e7c.entry.js.map → p-e62b1c72.entry.js.map} +0 -0
- /package/dist/calcite/{p-1cd3c6d5.entry.js.map → p-e7a7bdbb.entry.js.map} +0 -0
- /package/dist/calcite/{p-2fa63d33.js.map → p-e8f92b7a.js.map} +0 -0
- /package/dist/calcite/{p-eb95960d.entry.js.map → p-e9c67e7d.entry.js.map} +0 -0
- /package/dist/calcite/{p-37e6bdc7.js.map → p-e9d6325f.js.map} +0 -0
- /package/dist/calcite/{p-9136bfcd.js.map → p-eb2538bd.js.map} +0 -0
- /package/dist/calcite/{p-3208452c.js.map → p-ef3cfca6.js.map} +0 -0
- /package/dist/calcite/{p-ed4607ec.js.map → p-f3091e92.js.map} +0 -0
- /package/dist/calcite/{p-835c3f64.entry.js.map → p-f30fef1d.entry.js.map} +0 -0
- /package/dist/calcite/{p-6774fd0b.js.map → p-f387bc14.js.map} +0 -0
- /package/dist/calcite/{p-9d487f81.js.map → p-f3b200c8.js.map} +0 -0
- /package/dist/calcite/{p-061be3ad.js.map → p-f415b386.js.map} +0 -0
- /package/dist/calcite/{p-6829021f.js.map → p-f89b921a.js.map} +0 -0
- /package/dist/calcite/{p-2d5869dc.js.map → p-f9ad76d1.js.map} +0 -0
- /package/dist/calcite/{p-6ce44822.entry.js.map → p-fade0ec2.entry.js.map} +0 -0
- /package/dist/calcite/{p-43836d51.js.map → p-fb57ba6b.js.map} +0 -0
- /package/dist/calcite/{p-61e698ba.entry.js.map → p-fe2c56ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-011aadb8.js.map → p-fe6858a5.js.map} +0 -0
- /package/dist/calcite/{p-3782064a.js.map → p-ff871f9f.js.map} +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/main → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/.storybook/placeholderImage.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/main → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/calcite-preset.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/main → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/support/formatting.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/main → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/support/preact.d.ts +0 -0
- /package/dist/types/home/{jamin/dev/work/calcite-design-system/main → runner/work/calcite-design-system/calcite-design-system}/packages/calcite-components/.stencil/tailwind.config.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CSS","container","contentWrapper","header","footer","heading","description","checkboxWrapper","checkboxWrapperDeprecated","thumbnailWrapper","headerTextContainer","cardContent","hasSlottedContent","SLOTS","thumbnail","footerStart","footerEnd","title","subtitle","ICONS","selected","unselected","selectedSingle","unselectedSingle","cardCss","Card","this","handleDefaultSlotChange","event","hasContent","slotChangeHasAssignedElement","keyDownHandler","target","containerEl","selectable","disabled","isActivationKey","key","selectionMode","calciteCardSelect","emit","preventDefault","calciteInternalCardKeyEvent","cardBodyClickHandler","isFromScreenReader","cardSelectKeyDownDeprecated","selectCardDeprecated","cardSelectClick","setFocus","onMessagesChange","componentFocusable","focus","connectedCallback","connectInteractive","connectLocalized","connectMessages","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnectInteractive","disconnectLocalized","disconnectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","effectiveLocaleChange","updateMessages","effectiveLocale","renderCheckboxDeprecated","h","class","checked","label","messages","select","onClick","onKeyDown","renderThumbnail","getSlotted","el","name","renderSelectionIcon","icon","onPointerDown","tabIndex","scale","renderHeader","hasHeader","hasDeprecatedHeader","renderFooter","startFooter","endFooter","hasFooter","render","thumbnailInline","thumbnailPosition","startsWith","thumbnailStart","endsWith","role","undefined","Host","InteractiveContainer","toAriaBoolean","inline","ref","loading","onSlotchange"],"sources":["src/components/card/resources.ts","src/components/card/card.scss?tag=calcite-card&encapsulation=shadow","src/components/card/card.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n contentWrapper: \"content-wrapper\",\n header: \"header\",\n footer: \"footer\",\n heading: \"heading\",\n description: \"description\",\n checkboxWrapper: \"checkbox-wrapper\",\n checkboxWrapperDeprecated: \"checkbox-wrapper-deprecated\",\n thumbnailWrapper: \"thumbnail-wrapper\",\n headerTextContainer: \"header-text-container\",\n cardContent: \"card-content\",\n hasSlottedContent: \"has-slotted-content\",\n};\n\nexport const SLOTS = {\n thumbnail: \"thumbnail\",\n heading: \"heading\",\n description: \"description\",\n footerStart: \"footer-start\",\n footerEnd: \"footer-end\",\n title: \"title\",\n subtitle: \"subtitle\",\n};\n\nexport const ICONS = {\n selected: \"check-square-f\",\n unselected: \"square\",\n selectedSingle: \"circle-f\",\n unselectedSingle: \"circle\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-card-background-color: Specifies the background color of the component.\n * @prop --calcite-card-border-color: Specifies the border color of the component.\n * @prop --calcite-card-shadow: Specifies the shadow of the component.\n * @prop --calcite-card-corner-radius: Specifies the corner radius of the component.\n * @prop --calcite-card-accent-color-selected: Specifies the accent color of the component when `selected`.\n * @prop --calcite-card-selection-background-color: Specifies the background color of the component's selection element.\n * @prop --calcite-card-selection-background-color-hover: Specifies the background color of the component's selection element when hovered.\n * @prop --calcite-card-selection-background-color-active: Specifies the background color of the component's selection element when active.\n * @prop --calcite-card-selection-background-color-selected: Specifies the icon color of the component's selection element when `selected`.\n * @prop --calcite-card-selection-icon-color: Specifies the icon color of the component's selection element.\n * @prop --calcite-card-selection-icon-color-hover: Specifies the icon color of the component's selection element when hovered.\n * @prop --calcite-card-selection-icon-color-selected: Specifies the icon color of the component's selection element when `selected`.\n *\n */\n\n:host {\n @apply block max-w-full;\n --calcite-card-corner-radius: var(--calcite-corner-radius-sharp);\n --calcite-card-background-color: var(--calcite-color-foreground-1);\n --calcite-card-border-color: var(--calcite-color-border-3);\n --calcite-card-shadow: var(--calcite-shadow-none);\n --calcite-card-accent-color-selected: var(--calcite-color-brand);\n --calcite-card-selection-background-color: transparent;\n --calcite-card-selection-background-color-hover: var(--calcite-color-transparent-hover);\n --calcite-card-selection-background-color-active: var(--calcite-color-transparent-press);\n --calcite-card-selection-background-color-selected: transparent;\n --calcite-card-selection-icon-color: var(--calcite-color-text-3);\n --calcite-card-selection-icon-color-hover: var(--calcite-color-text-2);\n --calcite-card-selection-icon-color-selected: var(--calcite-color-brand);\n}\n\n.content-wrapper {\n @apply relative\n flex\n h-full\n flex-col\n justify-between\n overflow-hidden;\n border: var(--calcite-border-width-sm) solid var(--calcite-card-border-color);\n border-radius: var(--calcite-card-corner-radius);\n background-color: var(--calcite-card-background-color);\n box-shadow: var(--calcite-card-shadow);\n pointer-events: none;\n}\n\n::slotted(*) {\n @apply pointer-events-auto;\n}\n\n:host(:not([selectable])) {\n .content-wrapper {\n &:not(.non-interactive) {\n @apply focus-base;\n }\n &:not(.non-interactive):focus {\n @apply focus-outset;\n }\n }\n}\n\n.container {\n @apply relative flex flex-auto flex-col;\n}\n\n:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container) {\n @apply pointer-events-none;\n opacity: $calcite-opacity-0;\n}\n\n:host([loading]) .calcite-card-loader-container {\n @apply absolute inset-0 flex items-center;\n}\n\n.header {\n @apply flex flex-row items-start;\n}\n\n.footer {\n @apply flex mt-auto flex-row content-between justify-between;\n padding-inline: var(--calcite-spacing-md);\n padding-block-start: var(--calcite-spacing-xxs);\n padding-block-end: var(--calcite-spacing-md);\n}\n\n.header-text-container {\n @apply flex flex-col px-3 py-2 w-full justify-center;\n &:not(:only-child) {\n @apply pr-0.5;\n }\n}\n\n.footer {\n @apply mt-auto flex-row content-between\n justify-between\n px-3\n pt-1\n pb-3;\n}\n\n.card-content {\n @apply h-auto text-n2-wrap;\n}\n\n.has-slotted-content {\n @apply p-3;\n}\n\n:host([selected]) .content-wrapper {\n box-shadow: inset 0 -4px 0 0 var(--calcite-card-accent-color-selected);\n}\n\n:host([selectable]) .header {\n padding-inline-end: var(--calcite-spacing-xxxl);\n}\n\n@include slotted(\"title\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"subtitle\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"heading\", \"*\") {\n @apply text-color-1\n text-n1-wrap\n m-0\n font-medium;\n}\n\n@include slotted(\"description\", \"*\") {\n @apply text-color-2\n text-n2-wrap\n m-0 mt-0.5\n font-normal;\n}\n\n@include slotted(\"thumbnail\", \"img\") {\n @apply min-w-full max-w-full;\n}\n\n@include slotted(\"footer-start\", \"*\") {\n @apply text-n2-wrap self-center;\n margin-inline-end: auto;\n}\n\n@include slotted(\"footer-end\", \"*\") {\n @apply text-n2-wrap self-center;\n}\n\n.checkbox-wrapper-deprecated {\n @apply absolute pointer-events-auto;\n inset-block-start: var(--calcite-spacing-sm);\n inset-inline-end: var(--calcite-spacing-sm);\n margin: 0;\n padding: 0;\n}\n\n.checkbox-wrapper {\n @apply m-2 p-2 focus-base cursor-pointer pointer-events-auto;\n background-color: var(--calcite-card-selection-background-color);\n display: flex;\n align-items: center;\n justify-items: center;\n --calcite-ui-icon-color: var(--calcite-card-selection-icon-color);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-ui-icon-color: var(--calcite-card-selection-icon-color-hover);\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-active);\n }\n & calcite-icon {\n pointer-events: none;\n }\n}\n\n:host([selected]) .checkbox-wrapper {\n --calcite-ui-icon-color: var(--calcite-card-selection-icon-color-selected);\n background-color: var(--calcite-card-selection-background-color-selected);\n &:hover {\n background-color: var(--calcite-card-selection-background-color-hover);\n }\n &:active {\n background-color: var(--calcite-card-selection-background-color-active);\n }\n}\n\n:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-hover);\n --calcite-ui-icon-color: var(--calcite-card-selection-icon-color-hover);\n}\n\n:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper {\n background-color: var(--calcite-card-selection-background-color-active);\n --calcite-ui-icon-color: var(--calcite-card-selection-icon-color-selected);\n}\n\n.thumbnail-wrapper {\n @apply flex;\n}\n\n.content-wrapper.inline {\n @apply flex-row;\n\n & > .container {\n @apply w-3/5;\n }\n & > .thumbnail-wrapper {\n @apply items-start w-2/5;\n }\n\n @include slotted(\"thumbnail\", \"img\") {\n @apply w-full;\n }\n}\n\nslot[name=\"footer-start\"]::slotted(*),\nslot[name=\"footer-end\"]::slotted(*) {\n @apply flex gap-1;\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\n\nimport { getSlotted, slotChangeHasAssignedElement, toAriaBoolean } from \"../../utils/dom\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { LogicalFlowPosition } from \"../interfaces\";\nimport { CardMessages } from \"./assets/card/t9n\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport { SelectionMode } from \"../interfaces\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\n\n/**\n * @slot - A slot for adding content.\n * @slot title - [Deprecated] use `heading` instead. A slot for adding a heading.\n * @slot subtitle - [Deprecated] use `description` instead. A slot for adding a description.\n * @slot thumbnail - A slot for adding a thumbnail.\n * @slot heading - A slot for adding a heading.\n * @slot description - A slot for adding a description.\n * @slot footer-start - A slot for adding a leading footer.\n * @slot footer-end - A slot for adding a trailing footer.\n */\n\n@Component({\n tag: \"calcite-card\",\n styleUrl: \"card.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class Card\n implements InteractiveComponent, LoadableComponent, LocalizedComponent, T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** When `true`, a busy indicator is displayed. */\n @Prop({ reflect: true }) loading = false;\n\n /** Sets the placement of the thumbnail defined in the `thumbnail` slot. */\n @Prop({ reflect: true }) thumbnailPosition: LogicalFlowPosition = \"block-start\";\n\n /** When `true`, interaction is prevented and the component is displayed with lower opacity. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /**\n * When `true`, the component is selectable.\n *\n * @deprecated use `selectionMode` property on a parent `calcite-card-group` instead.\n */\n @Prop({ reflect: true }) selectable = false;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: CardMessages;\n\n /**\n * This internal property, managed by a containing `calcite-card-group`, is\n * conditionally set based on the `selectionMode` of the parent\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"multiple\" | \"single\" | \"single-persist\" | \"none\", SelectionMode> =\n \"none\";\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<CardMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the deprecated `selectable` is true, or `selectionMode` set on parent `calcite-card-group` is not `none` and the component is selected. */\n @Event({ cancelable: false }) calciteCardSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalCardKeyEvent: EventEmitter<KeyboardEvent>;\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n if (!this.disabled) {\n this.containerEl?.focus();\n }\n }\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteCardElement;\n\n @State() effectiveLocale: string;\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: CardMessages;\n\n @State() private hasContent = false;\n\n private containerEl: HTMLDivElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private handleDefaultSlotChange = (event: Event): void => {\n this.hasContent = slotChangeHasAssignedElement(event);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (event.target === this.containerEl && !this.selectable && !this.disabled) {\n if (isActivationKey(event.key) && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n event.preventDefault();\n } else {\n switch (event.key) {\n case \"ArrowRight\":\n case \"ArrowLeft\":\n case \"Home\":\n case \"End\":\n this.calciteInternalCardKeyEvent.emit(event);\n event.preventDefault();\n break;\n }\n }\n }\n };\n\n private cardBodyClickHandler = (event: MouseEvent): void => {\n const isFromScreenReader = event.target === this.containerEl;\n if (isFromScreenReader && !this.selectable && !this.disabled && this.selectionMode !== \"none\") {\n this.calciteCardSelect.emit();\n }\n };\n\n private renderCheckboxDeprecated(): VNode {\n return (\n <calcite-label class={CSS.checkboxWrapperDeprecated}>\n <calcite-checkbox\n checked={this.selected}\n label={this.messages.select}\n onClick={this.selectCardDeprecated}\n onKeyDown={this.cardSelectKeyDownDeprecated}\n />\n </calcite-label>\n );\n }\n\n private cardSelectKeyDownDeprecated = (event: KeyboardEvent): void => {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.selectCardDeprecated();\n event.preventDefault();\n break;\n }\n };\n\n private selectCardDeprecated = (): void => {\n this.selected = !this.selected;\n this.calciteCardSelect.emit();\n };\n\n private cardSelectClick = (event): void => {\n if (!this.disabled) {\n event.preventDefault();\n this.calciteCardSelect.emit();\n this.setFocus();\n }\n };\n\n private renderThumbnail(): VNode {\n return getSlotted(this.el, SLOTS.thumbnail) ? (\n <section class={CSS.thumbnailWrapper}>\n <slot name={SLOTS.thumbnail} />\n </section>\n ) : null;\n }\n\n private renderSelectionIcon(): VNode {\n const icon =\n this.selectionMode === \"multiple\" && this.selected\n ? ICONS.selected\n : this.selectionMode === \"multiple\"\n ? ICONS.unselected\n : this.selected\n ? ICONS.selectedSingle\n : ICONS.unselectedSingle;\n\n return (\n <div class={CSS.checkboxWrapper} onPointerDown={this.cardSelectClick} tabIndex={-1}>\n <calcite-icon icon={icon} scale=\"s\" />\n </div>\n );\n }\n\n private renderHeader(): VNode {\n const { el } = this;\n const heading = getSlotted(el, SLOTS.heading);\n const description = getSlotted(el, SLOTS.description);\n const hasHeader = heading || description;\n const subtitle = getSlotted(el, SLOTS.subtitle);\n const title = getSlotted(el, SLOTS.title);\n const hasDeprecatedHeader = subtitle || title;\n return hasHeader || hasDeprecatedHeader ? (\n <header class={CSS.header}>\n {this.selectable ? this.renderCheckboxDeprecated() : null}\n <div class={CSS.headerTextContainer}>\n <slot key=\"heading-slot\" name={SLOTS.heading} />\n <slot key=\"description-slot\" name={SLOTS.description} />\n <slot key=\"deprecated-title-slot\" name={SLOTS.title} />\n <slot key=\"deprecated-subtitle-slot\" name={SLOTS.subtitle} />\n </div>\n {this.selectionMode !== \"none\" && this.renderSelectionIcon()}\n </header>\n ) : null;\n }\n\n private renderFooter(): VNode {\n const { el } = this;\n const startFooter = getSlotted(el, SLOTS.footerStart);\n const endFooter = getSlotted(el, SLOTS.footerEnd);\n\n const hasFooter = startFooter || endFooter;\n return hasFooter ? (\n <footer class={CSS.footer}>\n <slot name={SLOTS.footerStart} />\n <slot name={SLOTS.footerEnd} />\n </footer>\n ) : null;\n }\n\n render(): VNode {\n const thumbnailInline = this.thumbnailPosition.startsWith(\"inline\");\n const thumbnailStart = this.thumbnailPosition.endsWith(\"start\");\n const role =\n this.selectionMode === \"multiple\"\n ? \"checkbox\"\n : this.selectionMode !== \"none\"\n ? \"radio\"\n : undefined;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n aria-checked={this.selectionMode !== \"none\" ? toAriaBoolean(this.selected) : undefined}\n aria-disabled={this.disabled}\n aria-label={this.label}\n class={{ [CSS.contentWrapper]: true, inline: thumbnailInline }}\n onClick={this.cardBodyClickHandler}\n onKeyDown={this.keyDownHandler}\n role={role}\n tabIndex={!this.selectable || this.disabled ? 0 : -1}\n // eslint-disable-next-line react/jsx-sort-props\n ref={(el) => (this.containerEl = el)}\n >\n {this.loading ? (\n <div aria-live=\"polite\" class=\"calcite-card-loader-container\">\n <calcite-loader label={this.messages.loading} />\n </div>\n ) : null}\n {thumbnailStart && this.renderThumbnail()}\n <section aria-busy={toAriaBoolean(this.loading)} class={{ [CSS.container]: true }}>\n {this.renderHeader()}\n <div\n class={{\n [CSS.cardContent]: true,\n [CSS.hasSlottedContent]: this.hasContent,\n }}\n >\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </div>\n {this.renderFooter()}\n </section>\n {!thumbnailStart && this.renderThumbnail()}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n}\n"],"mappings":";;;;;gcAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,eAAgB,kBAChBC,OAAQ,SACRC,OAAQ,SACRC,QAAS,UACTC,YAAa,cACbC,gBAAiB,mBACjBC,0BAA2B,8BAC3BC,iBAAkB,oBAClBC,oBAAqB,wBACrBC,YAAa,eACbC,kBAAmB,uBAGd,MAAMC,EAAQ,CACnBC,UAAW,YACXT,QAAS,UACTC,YAAa,cACbS,YAAa,eACbC,UAAW,aACXC,MAAO,QACPC,SAAU,YAGL,MAAMC,EAAQ,CACnBC,SAAU,iBACVC,WAAY,SACZC,eAAgB,WAChBC,iBAAkB,UC7BpB,MAAMC,EAAU,mrN,MC2DHC,EAAI,M,uJAkJPC,KAAAC,wBAA2BC,IACjCF,KAAKG,WAAaC,EAA6BF,EAAM,EAG/CF,KAAAK,eAAkBH,IACxB,GAAIA,EAAMI,SAAWN,KAAKO,cAAgBP,KAAKQ,aAAeR,KAAKS,SAAU,CAC3E,GAAIC,EAAgBR,EAAMS,MAAQX,KAAKY,gBAAkB,OAAQ,CAC/DZ,KAAKa,kBAAkBC,OACvBZ,EAAMa,gB,KACD,CACL,OAAQb,EAAMS,KACZ,IAAK,aACL,IAAK,YACL,IAAK,OACL,IAAK,MACHX,KAAKgB,4BAA4BF,KAAKZ,GACtCA,EAAMa,iBACN,M,IAMFf,KAAAiB,qBAAwBf,IAC9B,MAAMgB,EAAqBhB,EAAMI,SAAWN,KAAKO,YACjD,GAAIW,IAAuBlB,KAAKQ,aAAeR,KAAKS,UAAYT,KAAKY,gBAAkB,OAAQ,CAC7FZ,KAAKa,kBAAkBC,M,GAiBnBd,KAAAmB,4BAA+BjB,IACrC,OAAQA,EAAMS,KACZ,IAAK,IACL,IAAK,QACHX,KAAKoB,uBACLlB,EAAMa,iBACN,M,EAIEf,KAAAoB,qBAAuB,KAC7BpB,KAAKN,UAAYM,KAAKN,SACtBM,KAAKa,kBAAkBC,MAAM,EAGvBd,KAAAqB,gBAAmBnB,IACzB,IAAKF,KAAKS,SAAU,CAClBP,EAAMa,iBACNf,KAAKa,kBAAkBC,OACvBd,KAAKsB,U,gBAtM0B,M,uBAG+B,c,cAG9B,M,qCAUE,M,cAGa,M,2CAiBjD,O,8GA0F4B,K,CAjF9B,gBAAAC,G,CA0BA,cAAMD,SACEE,EAAmBxB,MACzB,IAAKA,KAAKS,SAAU,CAClBT,KAAKO,aAAakB,O,EAUtB,iBAAAC,GACEC,EAAmB3B,MACnB4B,EAAiB5B,MACjB6B,EAAgB7B,K,CAGlB,gBAAA8B,GACEC,EAAmB/B,K,CAGrB,kBAAAgC,GACEC,EAAsBjC,K,CAGxB,oBAAAkC,GACEC,EAAsBnC,MACtBoC,EAAoBpC,MACpBqC,EAAmBrC,K,CAGrB,uBAAMsC,GACJC,EAAuBvC,YACjBwC,EAAcxC,K,CActB,qBAAAyC,GACEC,EAAe1C,KAAMA,KAAK2C,gB,CA6CpB,wBAAAC,GACN,OACEC,EAAA,iBAAeC,MAAOxE,EAAIQ,2BACxB+D,EAAA,oBACEE,QAAS/C,KAAKN,SACdsD,MAAOhD,KAAKiD,SAASC,OACrBC,QAASnD,KAAKoB,qBACdgC,UAAWpD,KAAKmB,8B,CA6BhB,eAAAkC,GACN,OAAOC,EAAWtD,KAAKuD,GAAIpE,EAAMC,WAC/ByD,EAAA,WAASC,MAAOxE,EAAIS,kBAClB8D,EAAA,QAAMW,KAAMrE,EAAMC,aAElB,I,CAGE,mBAAAqE,GACN,MAAMC,EACJ1D,KAAKY,gBAAkB,YAAcZ,KAAKN,SACtCD,EAAMC,SACNM,KAAKY,gBAAkB,WACrBnB,EAAME,WACNK,KAAKN,SACHD,EAAMG,eACNH,EAAMI,iBAEhB,OACEgD,EAAA,OAAKC,MAAOxE,EAAIO,gBAAiB8E,cAAe3D,KAAKqB,gBAAiBuC,UAAW,GAC/Ef,EAAA,gBAAca,KAAMA,EAAMG,MAAM,M,CAK9B,YAAAC,GACN,MAAMP,GAAEA,GAAOvD,KACf,MAAMrB,EAAU2E,EAAWC,EAAIpE,EAAMR,SACrC,MAAMC,EAAc0E,EAAWC,EAAIpE,EAAMP,aACzC,MAAMmF,EAAYpF,GAAWC,EAC7B,MAAMY,EAAW8D,EAAWC,EAAIpE,EAAMK,UACtC,MAAMD,EAAQ+D,EAAWC,EAAIpE,EAAMI,OACnC,MAAMyE,EAAsBxE,GAAYD,EACxC,OAAOwE,GAAaC,EAClBnB,EAAA,UAAQC,MAAOxE,EAAIG,QAChBuB,KAAKQ,WAAaR,KAAK4C,2BAA6B,KACrDC,EAAA,OAAKC,MAAOxE,EAAIU,qBACd6D,EAAA,QAAMlC,IAAI,eAAe6C,KAAMrE,EAAMR,UACrCkE,EAAA,QAAMlC,IAAI,mBAAmB6C,KAAMrE,EAAMP,cACzCiE,EAAA,QAAMlC,IAAI,wBAAwB6C,KAAMrE,EAAMI,QAC9CsD,EAAA,QAAMlC,IAAI,2BAA2B6C,KAAMrE,EAAMK,YAElDQ,KAAKY,gBAAkB,QAAUZ,KAAKyD,uBAEvC,I,CAGE,YAAAQ,GACN,MAAMV,GAAEA,GAAOvD,KACf,MAAMkE,EAAcZ,EAAWC,EAAIpE,EAAME,aACzC,MAAM8E,EAAYb,EAAWC,EAAIpE,EAAMG,WAEvC,MAAM8E,EAAYF,GAAeC,EACjC,OAAOC,EACLvB,EAAA,UAAQC,MAAOxE,EAAII,QACjBmE,EAAA,QAAMW,KAAMrE,EAAME,cAClBwD,EAAA,QAAMW,KAAMrE,EAAMG,aAElB,I,CAGN,MAAA+E,GACE,MAAMC,EAAkBtE,KAAKuE,kBAAkBC,WAAW,UAC1D,MAAMC,EAAiBzE,KAAKuE,kBAAkBG,SAAS,SACvD,MAAMC,EACJ3E,KAAKY,gBAAkB,WACnB,WACAZ,KAAKY,gBAAkB,OACrB,QACAgE,UACR,OACE/B,EAACgC,EAAI,KACHhC,EAACiC,EAAoB,CAACrE,SAAUT,KAAKS,UACnCoC,EAAA,sBACgB7C,KAAKY,gBAAkB,OAASmE,EAAc/E,KAAKN,UAAYkF,UAAS,gBACvE5E,KAAKS,SAAQ,aAChBT,KAAKgD,MACjBF,MAAO,CAAE,CAACxE,EAAIE,gBAAiB,KAAMwG,OAAQV,GAC7CnB,QAASnD,KAAKiB,qBACdmC,UAAWpD,KAAKK,eAChBsE,KAAMA,EACNf,UAAW5D,KAAKQ,YAAcR,KAAKS,SAAW,GAAK,EAEnDwE,IAAM1B,GAAQvD,KAAKO,YAAcgD,GAEhCvD,KAAKkF,QACJrC,EAAA,mBAAe,SAASC,MAAM,iCAC5BD,EAAA,kBAAgBG,MAAOhD,KAAKiD,SAASiC,WAErC,KACHT,GAAkBzE,KAAKqD,kBACxBR,EAAA,uBAAoBkC,EAAc/E,KAAKkF,SAAUpC,MAAO,CAAE,CAACxE,EAAIC,WAAY,OACxEyB,KAAK8D,eACNjB,EAAA,OACEC,MAAO,CACL,CAACxE,EAAIW,aAAc,KACnB,CAACX,EAAIY,mBAAoBc,KAAKG,aAGhC0C,EAAA,QAAMsC,aAAcnF,KAAKC,2BAE1BD,KAAKiE,iBAENQ,GAAkBzE,KAAKqD,oB"}
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as n,g as o}from"./p-c895988a.js";import{t as s,k as a,d as r}from"./p-6df32ced.js";import{f as c,c as l,d,a as h,F as p,r as m}from"./p-f1fd8939.js";import{g as u}from"./p-a674255c.js";import{c as f,u as g,d as w,I as b}from"./p-20a72009.js";import{i as v}from"./p-243c2697.js";import{c as k,s as x,a as y}from"./p-60473c94.js";import{c as z}from"./p-6b60a528.js";import{o as D}from"./p-cb18e9ad.js";import{g as I}from"./p-19996c53.js";import"./p-58306ee0.js";import"./p-c8dc65e4.js";import"./p-ffc7b7bf.js";const C={dropdownTrigger:"trigger"};const E=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .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-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(i){t(this,i);this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6);this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6);this.calciteDropdownClose=e(this,"calciteDropdownClose",6);this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6);this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6);this.items=[];this.groups=[];this.mutationObserver=z("mutation",(()=>this.updateItems()));this.resizeObserver=z("resize",(t=>this.resizeObserverCallback(t)));this.openTransitionProp="opacity";this.guid=`calcite-dropdown-${u()}`;this.defaultAssignedElements=[];this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:true});this.updateItems()};this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?c(e,t):null};this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:true});this.reposition(true)};this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]);this.updateSelectedItems();this.reposition(true);this.items.forEach((t=>t.scale=this.scale))};this.updateGroups=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e;this.updateItems()};this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;if(e===this.referenceEl){this.setDropdownWidth()}else if(e===this.scrollerEl){this.setMaxScrollerHeight()}}))};this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this;const i=t?.clientWidth;if(!i||!e){return}e.style.minWidth=`${i}px`};this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t){return}this.reposition(true);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"";this.reposition(true)};this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t);this.scrollerEl=t;this.transitionEl=t};this.setReferenceEl=t=>{this.referenceEl=t;l(this,this.referenceEl,this.floatingEl);this.resizeObserver.observe(t)};this.setFloatingEl=t=>{this.floatingEl=t;l(this,this.referenceEl,this.floatingEl)};this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl)){return}const{defaultPrevented:e,key:i}=t;if(e){return}if(this.open){if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault();return}else if(t.shiftKey&&i==="Tab"){this.closeCalciteDropdown();t.preventDefault();return}}if(v(i)){this.openCalciteDropdown();t.preventDefault()}else if(i==="Escape"){this.closeCalciteDropdown();t.preventDefault()}};this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])};this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem();this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)};this.openCalciteDropdown=()=>{this.open=!this.open;if(this.open){this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}};this.open=false;this.closeOnSelectDisabled=false;this.disabled=false;this.flipPlacements=undefined;this.maxItems=0;this.overlayPositioning="absolute";this.placement=d;this.selectedItems=[];this.type="click";this.widthScale=undefined;this.scale="m"}openHandler(){D(this);if(this.disabled){this.open=false;return}this.reposition(true)}handleDisabledChange(t){if(!t){this.open=false}}flipPlacementsHandler(){this.setFilteredPlacements();this.reposition(true)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(true)}placementHandler(){this.reposition(true)}handlePropsChange(){this.updateItems()}async setFocus(){await k(this);this.el.focus()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();if(this.open){this.openHandler();D(this)}f(this);this.updateItems();l(this,this.referenceEl,this.floatingEl)}componentWillLoad(){x(this)}componentDidLoad(){y(this);l(this,this.referenceEl,this.floatingEl)}componentDidRender(){g(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();w(this);h(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(n,null,i(b,{disabled:this.disabled},i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":s(t),"aria-haspopup":"menu",name:C.dropdownTrigger,onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":s(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{["calcite-dropdown-content"]:true,[p.animation]:true,[p.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups})))))}async reposition(t=false){const{floatingEl:e,referenceEl:i,placement:n,overlayPositioning:o,filteredFlipPlacements:s}=this;return m(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:n,flipPlacements:s,type:"menu"},t)}closeCalciteDropdownOnClick(t){if(this.disabled||!this.open||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown();t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){if(t.composedPath().includes(this.el)){return}this.open=false}pointerEnterHandler(){if(this.disabled||this.type!=="hover"){return}this.openCalciteDropdown()}pointerLeaveHandler(){if(this.disabled||this.type!=="hover"){return}this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail;const i=e.target;const n=this.getTraversableItems();switch(e.key){case"Tab":this.open=false;this.updateTabIndexOfItems(i);break;case"ArrowDown":a(n,i,"next");break;case"ArrowUp":a(n,i,"previous");break;case"Home":a(n,i,"first");break;case"End":a(n,i,"last");break}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.closeOnSelectDisabled||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i=0;let n=0;let o;this.groups.forEach((e=>{if(t>0&&i<t){Array.from(e.children).forEach(((e,s)=>{if(s===0){if(isNaN(o)){o=e.offsetTop}n+=o}if(i<t){n+=e.offsetHeight;i+=1}}))}}));return e.length>t?n:0}closeCalciteDropdown(t=true){this.open=false;if(t){r(this.triggers[0])}}getFocusableElement(t){if(!t){return}r(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};H.style=E;const P={container:"container",containerLink:"container--link",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon-end",iconStart:"dropdown-item-icon-start",itemContent:"dropdown-item-content",link:"dropdown-link"};const j=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const O=class{constructor(i){t(this,i);this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))};this.mutationObserver=z("mutation",(()=>this.updateItems()));this.groupTitle=undefined;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:true})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(n,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[P.container]:true,[`${P.container}--${this.scale}`]:true}},e,t,i("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return true}get el(){return o(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};O.style=j;const A=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container--link .dropdown-link,:host(:active:not([disabled])) .container--link .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-color-brand)}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";const $=class{constructor(i){t(this,i);this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6);this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6);this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6);this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6);this.disabled=false;this.href=undefined;this.iconFlipRtl=undefined;this.iconStart=undefined;this.iconEnd=undefined;this.label=undefined;this.rel=undefined;this.selected=false;this.target=undefined;this.selectionMode="single";this.scale="m"}async setFocus(){await k(this);this.el?.focus()}componentWillLoad(){x(this);this.initialize()}componentDidLoad(){y(this)}connectedCallback(){this.initialize()}componentDidRender(){g(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a,scale:r}=this;const c=i("calcite-icon",{class:P.iconStart,flipRtl:a==="start"||a==="both",icon:this.iconStart,scale:I(this.scale)});const l=i("span",{class:P.itemContent},i("slot",null));const d=i("calcite-icon",{class:P.iconEnd,flipRtl:a==="end"||a==="both",icon:this.iconEnd,scale:I(this.scale)});const h=this.iconStart&&this.iconEnd?[c,l,d]:this.iconStart?[c,l]:this.iconEnd?[l,d]:l;const p=!t?h:i("a",{"aria-label":o,class:P.link,href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:t=>this.childLink=t},h);const m=t?null:e==="single"?"menuitemradio":e==="multiple"?"menuitemcheckbox":"menuitem";const u=e!=="none"?s(this.selected):null;const{disabled:f}=this;return i(n,{"aria-checked":u,"aria-label":!t?o:"",role:m,tabIndex:f?-1:0},i(b,{disabled:f},i("div",{class:{[P.container]:true,[P.containerLink]:!!t,[`${P.container}--${r}`]:true,[P.containerMulti]:e==="multiple",[P.containerSingle]:e==="single",[P.containerNone]:e==="none"}},e!=="none"?i("calcite-icon",{class:P.icon,icon:e==="multiple"?"check":"bullet-point",scale:I(this.scale)}):null,p)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}}updateActiveItemOnChange(t){const e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.selected=false}}determineActiveItem(){switch(this.selectionMode){case"multiple":if(this.el===this.requestedDropdownItem){this.selected=!this.selected}break;case"single":if(this.el===this.requestedDropdownItem){this.selected=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.selected=false}break;case"none":this.selected=false;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit();this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(this)}};$.style=A;export{H as calcite_dropdown,O as calcite_dropdown_group,$ as calcite_dropdown_item};
|
|
7
|
-
//# sourceMappingURL=p-a3f363da.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SLOTS","dropdownTrigger","dropdownCss","Dropdown","this","items","groups","mutationObserver","createObserver","updateItems","resizeObserver","entries","resizeObserverCallback","openTransitionProp","guid","defaultAssignedElements","slotChangeHandler","event","target","assignedElements","flatten","setFilteredPlacements","el","flipPlacements","filteredFlipPlacements","filterComputedPlacements","updateTriggers","triggers","reposition","map","group","Array","from","querySelectorAll","reduce","previousValue","currentValue","updateSelectedItems","forEach","item","scale","updateGroups","filter","matches","entry","referenceEl","setDropdownWidth","scrollerEl","setMaxScrollerHeight","referenceElWidth","clientWidth","style","minWidth","maxScrollerHeight","getMaxScrollerHeight","maxHeight","setScrollerAndTransitionEl","observe","transitionEl","setReferenceEl","connectFloatingUI","floatingEl","setFloatingEl","keyDownHandler","composedPath","includes","defaultPrevented","key","open","closeCalciteDropdown","preventDefault","shiftKey","isActivationKey","openCalciteDropdown","focusOnFirstActiveOrFirstItem","getFocusableElement","getTraversableItems","find","selected","toggleOpenEnd","removeEventListener","addEventListener","defaultMenuPlacement","openHandler","onToggleOpenCloseComponent","disabled","handleDisabledChange","value","flipPlacementsHandler","maxItemsHandler","overlayPositioningHandler","placementHandler","handlePropsChange","setFocus","componentFocusable","focus","connectedCallback","childList","subtree","connectInteractive","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","disconnectedCallback","disconnect","disconnectInteractive","disconnectFloatingUI","render","h","Host","InteractiveContainer","class","id","onClick","onKeyDown","ref","toAriaBoolean","name","onSlotchange","FloatingCSS","animation","animationActive","role","delayed","placement","overlayPositioning","type","closeCalciteDropdownOnClick","closeCalciteDropdownOnEvent","stopPropagation","closeCalciteDropdownOnOpenEvent","pointerEnterHandler","pointerLeaveHandler","hidden","calciteInternalDropdownItemKeyEvent","keyboardEvent","detail","traversableItems","updateTabIndexOfItems","focusElementInGroup","handleItemSelect","calciteDropdownSelect","emit","closeOnSelectDisabled","requestedDropdownGroup","selectionMode","onBeforeOpen","calciteDropdownBeforeOpen","onOpen","calciteDropdownOpen","onBeforeClose","calciteDropdownBeforeClose","onClose","calciteDropdownClose","selectedItems","maxItems","itemsToProcess","groupHeaderHeight","children","index","isNaN","offsetTop","offsetHeight","length","focusTrigger","focusElement","tabIndex","CSS","container","containerLink","containerMulti","containerSingle","containerNone","icon","iconEnd","iconStart","itemContent","link","dropdownGroupCss","DropdownGroup","groupPosition","getGroupPosition","groupTitle","dropdownSeparator","updateActiveItemOnChange","requestedDropdownItem","calciteInternalDropdownItemChange","prototype","indexOf","call","parentElement","dropdownItemCss","DropdownItem","initialize","href","label","iconFlipRtl","iconStartEl","flipRtl","getIconScale","contentNode","iconEndEl","slottedContent","contentEl","rel","childLink","itemRole","itemAria","emitRequestedItem","click","calciteInternalDropdownCloseRequest","parentEmittedChange","parentDropdownGroupEl","determineActiveItem","closest","calciteDropdownItemSelect","calciteInternalDropdownItemSelect"],"sources":["src/components/dropdown/resources.ts","src/components/dropdown/dropdown.scss?tag=calcite-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx","src/components/dropdown-item/resources.ts","src/components/dropdown-group/dropdown-group.scss?tag=calcite-dropdown-group&encapsulation=shadow","src/components/dropdown-group/dropdown-group.tsx","src/components/dropdown-item/dropdown-item.scss?tag=calcite-dropdown-item&encapsulation=shadow","src/components/dropdown-item/dropdown-item.tsx"],"sourcesContent":["export const SLOTS = {\n dropdownTrigger: \"trigger\",\n};\n","/**\n * CSS Custom Properties\n *\n * These properties can be overridden using the component's tag as selector.\n *\n * @prop --calcite-dropdown-width: Specifies the width of the component's wrapper.\n */\n\n:host {\n @apply inline-block;\n}\n\n@include disabled();\n\n:host .calcite-dropdown-wrapper {\n --calcite-floating-ui-z-index: theme(\"zIndex.dropdown\");\n @include floatingUIContainer();\n @include floatingUIWrapper();\n}\n\n@include floatingUIElemAnim(\".calcite-dropdown-wrapper\");\n:host([open]) .calcite-dropdown-wrapper {\n @include floatingUIWrapperActive();\n}\n\n:host .calcite-dropdown-content {\n @apply bg-foreground-1\n w-auto\n overflow-y-auto\n overflow-x-hidden\n max-h-menu;\n inline-size: var(--calcite-dropdown-width);\n}\n.calcite-trigger-container {\n @apply relative flex flex-auto h-full;\n @include word-break;\n}\n\n@media (forced-colors: active) {\n /* use real border since box-shadow is removed in high contrast mode */\n :host([open]) .calcite-dropdown-wrapper {\n border: 1px solid canvasText;\n }\n}\n\n// width\n:host([width-scale=\"s\"]) {\n --calcite-dropdown-width: theme(\"spacing.48\");\n}\n:host([width-scale=\"m\"]) {\n --calcite-dropdown-width: theme(\"spacing.56\");\n}\n:host([width-scale=\"l\"]) {\n --calcite-dropdown-width: theme(\"spacing.64\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { ItemKeyboardEvent } from \"./interfaces\";\n\nimport { focusElement, focusElementInGroup, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectFloatingUI,\n defaultMenuPlacement,\n disconnectFloatingUI,\n EffectivePlacement,\n filterComputedPlacements,\n FloatingCSS,\n FloatingUIComponent,\n MenuPlacement,\n OverlayPositioning,\n reposition,\n} from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { createObserver } from \"../../utils/observers\";\nimport { onToggleOpenCloseComponent, OpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { Scale } from \"../interfaces\";\nimport { SLOTS } from \"./resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.\n * @slot trigger - A slot for the element that triggers the `calcite-dropdown`.\n */\n@Component({\n tag: \"calcite-dropdown\",\n styleUrl: \"dropdown.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Dropdown\n implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent\n{\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, displays and positions the component.\n */\n @Prop({ reflect: true, mutable: true }) open = false;\n\n @Watch(\"open\")\n openHandler(): void {\n onToggleOpenCloseComponent(this);\n\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.reposition(true);\n }\n\n /**\n * When `true`, the component will remain open after a selection is made.\n *\n * If the `selectionMode` of the selected `calcite-dropdown-item`'s containing `calcite-dropdown-group` is `\"none\"`, the component will always close.\n *\n */\n @Prop({ reflect: true }) closeOnSelectDisabled = false;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(value: boolean): void {\n if (!value) {\n this.open = false;\n }\n }\n\n /**\n * Defines the available placements that can be used when a flip occurs.\n */\n @Prop() flipPlacements: EffectivePlacement[];\n\n @Watch(\"flipPlacements\")\n flipPlacementsHandler(): void {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n\n /**\n * Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scroller.\n * Value must be greater than `0`, and does not include `groupTitle`'s from `calcite-dropdown-group`.\n */\n @Prop({ reflect: true }) maxItems = 0;\n\n @Watch(\"maxItems\")\n maxItemsHandler(): void {\n this.setMaxScrollerHeight();\n }\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n @Watch(\"overlayPositioning\")\n overlayPositioningHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Determines where the component will be positioned relative to the container element.\n *\n * @default \"bottom-start\"\n */\n @Prop({ reflect: true }) placement: MenuPlacement = defaultMenuPlacement;\n\n @Watch(\"placement\")\n placementHandler(): void {\n this.reposition(true);\n }\n\n /**\n * Specifies the component's selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteDropdownItemElement[] = [];\n\n /**\n * Specifies the action to open the component from the container element.\n */\n @Prop({ reflect: true }) type: \"hover\" | \"click\" = \"click\";\n\n /**\n * Specifies the width of the component.\n */\n @Prop({ reflect: true }) widthScale: Scale;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n @Watch(\"scale\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component's first focusable element. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n this.el.focus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n this.setFilteredPlacements();\n if (this.open) {\n this.openHandler();\n onToggleOpenCloseComponent(this);\n }\n connectInteractive(this);\n this.updateItems();\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n this.resizeObserver?.disconnect();\n disconnectInteractive(this);\n disconnectFloatingUI(this, this.referenceEl, this.floatingEl);\n }\n\n render(): VNode {\n const { open, guid } = this;\n return (\n <Host>\n <InteractiveContainer disabled={this.disabled}>\n <div\n class=\"calcite-trigger-container\"\n id={`${guid}-menubutton`}\n onClick={this.openCalciteDropdown}\n onKeyDown={this.keyDownHandler}\n // 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)\n ref={this.setReferenceEl}\n >\n <slot\n aria-controls={`${guid}-menu`}\n aria-expanded={toAriaBoolean(open)}\n aria-haspopup=\"menu\"\n name={SLOTS.dropdownTrigger}\n onSlotchange={this.updateTriggers}\n />\n </div>\n <div\n aria-hidden={toAriaBoolean(!open)}\n class=\"calcite-dropdown-wrapper\"\n // 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)\n ref={this.setFloatingEl}\n >\n <div\n aria-labelledby={`${guid}-menubutton`}\n class={{\n [\"calcite-dropdown-content\"]: true,\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: open,\n }}\n id={`${guid}-menu`}\n role=\"menu\"\n // 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)\n ref={this.setScrollerAndTransitionEl}\n >\n <slot onSlotchange={this.updateGroups} />\n </div>\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n @Method()\n async reposition(delayed = false): Promise<void> {\n const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;\n\n return reposition(\n this,\n {\n floatingEl,\n referenceEl,\n overlayPositioning,\n placement,\n flipPlacements: filteredFlipPlacements,\n type: \"menu\",\n },\n delayed,\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when a `calcite-dropdown-item`'s selection changes. */\n @Event({ cancelable: false }) calciteDropdownSelect: EventEmitter<void>;\n\n /** Fires when the component is requested to be closed and before the closing transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeClose: EventEmitter<void>;\n\n /** Fires when the component is closed and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownClose: EventEmitter<void>;\n\n /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */\n @Event({ cancelable: false }) calciteDropdownBeforeOpen: EventEmitter<void>;\n\n /** Fires when the component is open and animation is complete. */\n @Event({ cancelable: false }) calciteDropdownOpen: EventEmitter<void>;\n\n @Listen(\"click\", { target: \"window\" })\n closeCalciteDropdownOnClick(event: PointerEvent): void {\n if (this.disabled || !this.open || event.composedPath().includes(this.el)) {\n return;\n }\n\n this.closeCalciteDropdown(false);\n }\n\n @Listen(\"calciteInternalDropdownCloseRequest\")\n closeCalciteDropdownOnEvent(event: Event): void {\n this.closeCalciteDropdown();\n event.stopPropagation();\n }\n\n @Listen(\"calciteDropdownOpen\", { target: \"window\" })\n closeCalciteDropdownOnOpenEvent(event: Event): void {\n if (event.composedPath().includes(this.el)) {\n return;\n }\n\n this.open = false;\n }\n\n @Listen(\"pointerenter\")\n pointerEnterHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.openCalciteDropdown();\n }\n\n @Listen(\"pointerleave\")\n pointerLeaveHandler(): void {\n if (this.disabled || this.type !== \"hover\") {\n return;\n }\n\n this.closeCalciteDropdown();\n }\n\n private getTraversableItems(): HTMLCalciteDropdownItemElement[] {\n return this.items.filter((item) => !item.disabled && !item.hidden);\n }\n\n @Listen(\"calciteInternalDropdownItemKeyEvent\")\n calciteInternalDropdownItemKeyEvent(event: CustomEvent<ItemKeyboardEvent>): void {\n const { keyboardEvent } = event.detail;\n const target = keyboardEvent.target as HTMLCalciteDropdownItemElement;\n const traversableItems = this.getTraversableItems();\n\n switch (keyboardEvent.key) {\n case \"Tab\":\n this.open = false;\n this.updateTabIndexOfItems(target);\n break;\n case \"ArrowDown\":\n focusElementInGroup(traversableItems, target, \"next\");\n break;\n case \"ArrowUp\":\n focusElementInGroup(traversableItems, target, \"previous\");\n break;\n case \"Home\":\n focusElementInGroup(traversableItems, target, \"first\");\n break;\n case \"End\":\n focusElementInGroup(traversableItems, target, \"last\");\n break;\n }\n\n event.stopPropagation();\n }\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n handleItemSelect(event: CustomEvent<RequestedItem>): void {\n this.updateSelectedItems();\n event.stopPropagation();\n this.calciteDropdownSelect.emit();\n if (\n !this.closeOnSelectDisabled ||\n event.detail.requestedDropdownGroup.selectionMode === \"none\"\n ) {\n this.closeCalciteDropdown();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownElement;\n\n filteredFlipPlacements: EffectivePlacement[];\n\n private items: HTMLCalciteDropdownItemElement[] = [];\n\n private groups: HTMLCalciteDropdownGroupElement[] = [];\n\n /** trigger elements */\n private triggers: HTMLElement[];\n\n floatingEl: HTMLDivElement;\n\n referenceEl: HTMLDivElement;\n\n private scrollerEl: HTMLDivElement;\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n resizeObserver = createObserver(\"resize\", (entries) => this.resizeObserverCallback(entries));\n\n openTransitionProp = \"opacity\";\n\n transitionEl: HTMLDivElement;\n\n guid = `calcite-dropdown-${guid()}`;\n\n defaultAssignedElements: Element[] = [];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n slotChangeHandler = (event: Event): void => {\n this.defaultAssignedElements = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n });\n\n this.updateItems();\n };\n\n setFilteredPlacements = (): void => {\n const { el, flipPlacements } = this;\n\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n\n updateTriggers = (event: Event): void => {\n this.triggers = (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n }) as HTMLElement[];\n\n this.reposition(true);\n };\n\n updateItems = (): void => {\n this.items = this.groups\n .map((group) => Array.from(group?.querySelectorAll(\"calcite-dropdown-item\")))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n this.updateSelectedItems();\n\n this.reposition(true);\n\n this.items.forEach((item) => (item.scale = this.scale));\n };\n\n updateGroups = (event: Event): void => {\n const groups = (event.target as HTMLSlotElement)\n .assignedElements({ flatten: true })\n .filter((el) => el?.matches(\"calcite-dropdown-group\")) as HTMLCalciteDropdownGroupElement[];\n\n this.groups = groups;\n\n this.updateItems();\n };\n\n resizeObserverCallback = (entries: ResizeObserverEntry[]): void => {\n entries.forEach((entry) => {\n const { target } = entry;\n if (target === this.referenceEl) {\n this.setDropdownWidth();\n } else if (target === this.scrollerEl) {\n this.setMaxScrollerHeight();\n }\n });\n };\n\n setDropdownWidth = (): void => {\n const { referenceEl, scrollerEl } = this;\n const referenceElWidth = referenceEl?.clientWidth;\n\n if (!referenceElWidth || !scrollerEl) {\n return;\n }\n\n scrollerEl.style.minWidth = `${referenceElWidth}px`;\n };\n\n setMaxScrollerHeight = (): void => {\n const { scrollerEl } = this;\n if (!scrollerEl) {\n return;\n }\n\n this.reposition(true);\n const maxScrollerHeight = this.getMaxScrollerHeight();\n scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n this.reposition(true);\n };\n\n setScrollerAndTransitionEl = (el: HTMLDivElement): void => {\n this.resizeObserver.observe(el);\n this.scrollerEl = el;\n\n this.transitionEl = el;\n };\n\n onBeforeOpen(): void {\n this.calciteDropdownBeforeOpen.emit();\n }\n\n onOpen(): void {\n this.calciteDropdownOpen.emit();\n }\n\n onBeforeClose(): void {\n this.calciteDropdownBeforeClose.emit();\n }\n\n onClose(): void {\n this.calciteDropdownClose.emit();\n }\n\n setReferenceEl = (el: HTMLDivElement): void => {\n this.referenceEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n this.resizeObserver.observe(el);\n };\n\n setFloatingEl = (el: HTMLDivElement): void => {\n this.floatingEl = el;\n connectFloatingUI(this, this.referenceEl, this.floatingEl);\n };\n\n private keyDownHandler = (event: KeyboardEvent): void => {\n if (!event.composedPath().includes(this.referenceEl)) {\n return;\n }\n\n const { defaultPrevented, key } = event;\n\n if (defaultPrevented) {\n return;\n }\n\n if (this.open) {\n if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n } else if (event.shiftKey && key === \"Tab\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n return;\n }\n }\n\n if (isActivationKey(key)) {\n this.openCalciteDropdown();\n event.preventDefault();\n } else if (key === \"Escape\") {\n this.closeCalciteDropdown();\n event.preventDefault();\n }\n };\n\n private updateSelectedItems(): void {\n this.selectedItems = this.items.filter((item) => item.selected);\n }\n\n private getMaxScrollerHeight(): number {\n const { maxItems, items } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n let groupHeaderHeight: number;\n\n this.groups.forEach((group) => {\n if (maxItems > 0 && itemsToProcess < maxItems) {\n Array.from(group.children).forEach((item: HTMLCalciteDropdownItemElement, index) => {\n if (index === 0) {\n if (isNaN(groupHeaderHeight)) {\n groupHeaderHeight = item.offsetTop;\n }\n\n maxScrollerHeight += groupHeaderHeight;\n }\n\n if (itemsToProcess < maxItems) {\n maxScrollerHeight += item.offsetHeight;\n itemsToProcess += 1;\n }\n });\n }\n });\n\n return items.length > maxItems ? maxScrollerHeight : 0;\n }\n\n private closeCalciteDropdown(focusTrigger = true) {\n this.open = false;\n\n if (focusTrigger) {\n focusElement(this.triggers[0]);\n }\n }\n\n private focusOnFirstActiveOrFirstItem = (): void => {\n this.getFocusableElement(\n this.getTraversableItems().find((item) => item.selected) || this.items[0],\n );\n };\n\n private getFocusableElement(item: HTMLCalciteDropdownItemElement): void {\n if (!item) {\n return;\n }\n\n focusElement(item);\n }\n\n private toggleOpenEnd = (): void => {\n this.focusOnFirstActiveOrFirstItem();\n this.el.removeEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n };\n\n private openCalciteDropdown = () => {\n this.open = !this.open;\n if (this.open) {\n this.el.addEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n }\n };\n\n private updateTabIndexOfItems(target: HTMLCalciteDropdownItemElement): void {\n this.items.forEach((item: HTMLCalciteDropdownItemElement) => {\n item.tabIndex = target !== item ? -1 : 0;\n });\n }\n}\n","export const CSS = {\n container: \"container\",\n containerLink: \"container--link\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\",\n icon: \"dropdown-item-icon\",\n iconEnd: \"dropdown-item-icon-end\",\n iconStart: \"dropdown-item-icon-start\",\n itemContent: \"dropdown-item-content\",\n link: \"dropdown-link\",\n};\n",":host {\n // we make the host relative, so items can consistently compute their offsetTop based on the group\n @apply block relative;\n}\n\n.container {\n text-align: start;\n}\n\n.container--s {\n @apply text-n2h;\n .dropdown-title {\n @apply p-2;\n }\n}\n\n.container--m {\n @apply text-n1h;\n .dropdown-title {\n @apply p-3;\n }\n}\n\n.container--l {\n @apply text-0h;\n .dropdown-title {\n @apply p-4;\n }\n}\n\n.dropdown-title {\n @apply border-color-3\n text-color-2\n -mb-px\n block\n cursor-default\n break-words\n border-0\n border-b\n border-solid\n font-bold;\n}\n\n.dropdown-separator {\n @apply block h-px;\n background-color: theme(\"borderColor.color.3\");\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { Scale, SelectionMode } from \"../interfaces\";\nimport { RequestedItem } from \"./interfaces\";\nimport { createObserver } from \"../../utils/observers\";\nimport { CSS } from \"../dropdown-item/resources\";\n\n/**\n * @slot - A slot for adding `calcite-dropdown-item`s.\n */\n@Component({\n tag: \"calcite-dropdown-group\",\n styleUrl: \"dropdown-group.scss\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class DropdownGroup {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /** Specifies and displays a group title. */\n @Prop({ reflect: true }) groupTitle: string;\n\n /**\n * Specifies the size of the component inherited from the parent `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n /**\n * Specifies the selection mode of the component, where:\n *\n * `\"multiple\"` allows any number of selections,\n *\n * `\"single\"` allows only one selection, and\n *\n * `\"none\"` does not allow any selections.\n */\n @Prop({ reflect: true }) selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> =\n \"single\";\n\n @Watch(\"selectionMode\")\n handlePropsChange(): void {\n this.updateItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemChange: EventEmitter<RequestedItem>;\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n this.updateItems();\n this.mutationObserver?.observe(this.el, { childList: true });\n }\n\n componentWillLoad(): void {\n this.groupPosition = this.getGroupPosition();\n }\n\n disconnectedCallback(): void {\n this.mutationObserver?.disconnect();\n }\n\n render(): VNode {\n const groupTitle = this.groupTitle ? (\n <span aria-hidden=\"true\" class=\"dropdown-title\">\n {this.groupTitle}\n </span>\n ) : null;\n\n const dropdownSeparator =\n this.groupPosition > 0 ? <div class=\"dropdown-separator\" role=\"separator\" /> : null;\n\n return (\n <Host aria-label={this.groupTitle} role=\"group\">\n <div\n class={{\n [CSS.container]: true,\n [`${CSS.container}--${this.scale}`]: true,\n }}\n >\n {dropdownSeparator}\n {groupTitle}\n <slot />\n </div>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"calciteInternalDropdownItemSelect\")\n updateActiveItemOnChange(event: CustomEvent): void {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteInternalDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem,\n });\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownGroupElement;\n\n /** position of group within a dropdown */\n private groupPosition: number;\n\n /** the requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** the requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n private updateItems = (): void => {\n Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\")).forEach(\n (item) => (item.selectionMode = this.selectionMode),\n );\n };\n\n mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private getGroupPosition(): number {\n return Array.prototype.indexOf.call(\n this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"),\n this.el,\n );\n }\n}\n",".container--s {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l {\n @apply text-0h py-2.5;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n// none-selection mode\n.container--s.container--none-selection {\n padding-inline-start: theme(\"padding.1\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--m.container--none-selection {\n padding-inline-start: theme(\"padding.2\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n.container--l.container--none-selection {\n padding-inline-start: theme(\"padding.3\");\n & .dropdown-link {\n padding-inline-start: theme(\"padding.0\");\n }\n}\n\n@mixin itemStyling {\n @apply text-color-3\n relative\n flex\n flex-grow\n cursor-pointer\n items-center\n no-underline\n duration-150\n ease-in-out;\n}\n\n:host {\n @apply relative\n flex\n flex-grow\n items-center;\n}\n\n.container {\n @include itemStyling;\n text-align: start;\n}\n\n.dropdown-item-content {\n @apply flex-auto py-0.5;\n padding-inline-end: theme(\"margin.auto\");\n padding-inline-start: theme(\"margin.1\");\n}\n\n//focus\n:host,\n.container--link a {\n @apply focus-base;\n}\n:host(:focus) {\n @apply focus-inset outline-none;\n}\n\n// when used as link move styling anchor\n.container--link {\n @apply p-0;\n & a {\n @include itemStyling;\n }\n}\n\n.container--s .dropdown-link {\n @apply text-n2h py-1;\n padding-inline-end: theme(\"padding.2\");\n padding-inline-start: theme(\"padding.6\");\n}\n\n.container--m .dropdown-link {\n @apply text-n1h py-2;\n padding-inline-end: theme(\"padding.3\");\n padding-inline-start: theme(\"padding.8\");\n}\n\n.container--l .dropdown-link {\n @apply text-0h py-3;\n padding-inline-end: theme(\"padding.4\");\n padding-inline-start: theme(\"padding.10\");\n}\n\n:host(:hover:not([disabled])),\n:host(:active:not([disabled])) {\n .container {\n @apply bg-foreground-2 text-color-1 no-underline;\n }\n\n .container--link .dropdown-link {\n @apply text-color-1;\n }\n}\n\n:host(:active:not([disabled])) .container {\n @apply bg-foreground-3;\n}\n\n:host(:focus) .container {\n @apply text-color-1 no-underline;\n}\n\n:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link {\n @apply text-color-1 font-medium;\n & calcite-icon {\n color: theme(\"backgroundColor.brand\");\n }\n}\n\n// item icon\n.dropdown-item-icon {\n @apply absolute\n opacity-0\n duration-150\n ease-in-out;\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.1\");\n}\n\n.container--m .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.2\");\n}\n\n.container--l .dropdown-item-icon {\n inset-inline-start: theme(\"spacing.3\");\n}\n\n:host(:hover:not([disabled])) .dropdown-item-icon {\n color: theme(\"borderColor.color.1\");\n @apply opacity-100;\n}\n\n:host([selected]) .dropdown-item-icon {\n color: theme(\"backgroundColor.brand\");\n @apply opacity-100;\n}\n\n// icon start & end\n.container--s {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.2\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.2\");\n }\n}\n\n.container--m {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.3\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.3\");\n }\n}\n\n.container--l {\n .dropdown-item-icon-start {\n margin-inline-end: theme(\"margin.4\");\n margin-inline-start: theme(\"margin.1\");\n }\n .dropdown-item-icon-end {\n margin-inline-start: theme(\"margin.4\");\n }\n}\n\n@include base-component();\n@include disabled();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n VNode,\n} from \"@stencil/core\";\nimport { toAriaBoolean } from \"../../utils/dom\";\nimport { ItemKeyboardEvent } from \"../dropdown/interfaces\";\nimport { RequestedItem } from \"../dropdown-group/interfaces\";\nimport { FlipContext, Scale, SelectionMode } from \"../interfaces\";\nimport { CSS } from \"./resources\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { getIconScale } from \"../../utils/component\";\nimport {\n InteractiveComponent,\n InteractiveContainer,\n updateHostInteraction,\n} from \"../../utils/interactive\";\n\n/**\n * @slot - A slot for adding text.\n */\n@Component({\n tag: \"calcite-dropdown-item\",\n styleUrl: \"dropdown-item.scss\",\n shadow: true,\n})\nexport class DropdownItem implements InteractiveComponent, LoadableComponent {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Specifies the URL of the linked resource, which can be set as an absolute or relative path.\n *\n * Determines if the component will render as an anchor.\n */\n @Prop({ reflect: true }) href: string;\n\n /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`\"rtl\"`). */\n @Prop({ reflect: true }) iconFlipRtl: FlipContext;\n\n /** Specifies an icon to display at the start of the component. */\n @Prop({ reflect: true }) iconStart: string;\n\n /** Specifies an icon to display at the end of the component. */\n @Prop({ reflect: true }) iconEnd: string;\n\n /** Accessible name for the component. */\n @Prop() label: string;\n\n /** Specifies the relationship to the linked document defined in `href`. */\n @Prop({ reflect: true }) rel: string;\n\n /** When `true`, the component is selected. */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n /** Specifies the frame or window to open the linked document. */\n @Prop({ reflect: true }) target: string;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /** Fires when the component is selected. */\n @Event({ cancelable: false }) calciteDropdownItemSelect: EventEmitter<void>;\n\n /**\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalDropdownItemSelect: EventEmitter<RequestedItem>;\n\n /** @internal */\n @Event({ cancelable: false })\n calciteInternalDropdownItemKeyEvent: EventEmitter<ItemKeyboardEvent>;\n\n /** @internal */\n @Event({ cancelable: false }) calciteInternalDropdownCloseRequest: EventEmitter<void>;\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n this.el?.focus();\n }\n\n /**\n * Specifies the selection mode inherited from `calcite-dropdown-group`, defaults to `single`:\n * - `multiple` allows any number of selected items,\n * - `single` allows only one selection (default),\n * - `none` doesn't allow for any selection.\n *\n * @internal\n */\n @Prop() selectionMode: Extract<\"none\" | \"single\" | \"multiple\", SelectionMode> = \"single\";\n\n /**\n * Specifies the size of the component inherited from `calcite-dropdown`, defaults to `m`.\n *\n * @internal\n */\n @Prop() scale: Scale = \"m\";\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n componentWillLoad(): void {\n setUpLoadableComponent(this);\n this.initialize();\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n connectedCallback(): void {\n this.initialize();\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n const { href, selectionMode, label, iconFlipRtl, scale } = this;\n\n const iconStartEl = (\n <calcite-icon\n class={CSS.iconStart}\n flipRtl={iconFlipRtl === \"start\" || iconFlipRtl === \"both\"}\n icon={this.iconStart}\n scale={getIconScale(this.scale)}\n />\n );\n const contentNode = (\n <span class={CSS.itemContent}>\n <slot />\n </span>\n );\n const iconEndEl = (\n <calcite-icon\n class={CSS.iconEnd}\n flipRtl={iconFlipRtl === \"end\" || iconFlipRtl === \"both\"}\n icon={this.iconEnd}\n scale={getIconScale(this.scale)}\n />\n );\n\n const slottedContent =\n this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, contentNode]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n\n const contentEl = !href ? (\n slottedContent\n ) : (\n <a\n aria-label={label}\n class={CSS.link}\n href={href}\n rel={this.rel}\n tabIndex={-1}\n target={this.target}\n // 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)\n ref={(el) => (this.childLink = el)}\n >\n {slottedContent}\n </a>\n );\n\n const itemRole = href\n ? null\n : selectionMode === \"single\"\n ? \"menuitemradio\"\n : selectionMode === \"multiple\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n\n const itemAria = selectionMode !== \"none\" ? toAriaBoolean(this.selected) : null;\n const { disabled } = this;\n\n return (\n <Host\n aria-checked={itemAria}\n aria-label={!href ? label : \"\"}\n role={itemRole}\n tabIndex={disabled ? -1 : 0}\n >\n <InteractiveContainer disabled={disabled}>\n <div\n class={{\n [CSS.container]: true,\n [CSS.containerLink]: !!href,\n [`${CSS.container}--${scale}`]: true,\n [CSS.containerMulti]: selectionMode === \"multiple\",\n [CSS.containerSingle]: selectionMode === \"single\",\n [CSS.containerNone]: selectionMode === \"none\",\n }}\n >\n {selectionMode !== \"none\" ? (\n <calcite-icon\n class={CSS.icon}\n icon={selectionMode === \"multiple\" ? \"check\" : \"bullet-point\"}\n scale={getIconScale(this.scale)}\n />\n ) : null}\n {contentEl}\n </div>\n </InteractiveContainer>\n </Host>\n );\n }\n\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n\n @Listen(\"click\") onClick(): void {\n this.emitRequestedItem();\n }\n\n @Listen(\"keydown\")\n keyDownHandler(event: KeyboardEvent): void {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n event.preventDefault();\n break;\n case \"Escape\":\n this.calciteInternalDropdownCloseRequest.emit();\n event.preventDefault();\n break;\n case \"Tab\":\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n event.preventDefault();\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n }\n }\n\n @Listen(\"calciteInternalDropdownItemChange\", { target: \"body\" })\n updateActiveItemOnChange(event: CustomEvent): void {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteDropdownItemElement;\n\n /** id of containing group */\n private parentDropdownGroupEl: HTMLCalciteDropdownGroupElement;\n\n /** requested group */\n private requestedDropdownGroup: HTMLCalciteDropdownGroupElement;\n\n /** requested item */\n private requestedDropdownItem: HTMLCalciteDropdownItemElement;\n\n /** if href is requested, track the rendered child link*/\n private childLink: HTMLAnchorElement;\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n private initialize(): void {\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.selected = false;\n }\n }\n\n private determineActiveItem(): void {\n switch (this.selectionMode) {\n case \"multiple\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = !this.selected;\n }\n break;\n\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = true;\n } else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.selected = false;\n }\n break;\n\n case \"none\":\n this.selected = false;\n break;\n }\n }\n\n private emitRequestedItem(): void {\n this.calciteDropdownItemSelect.emit();\n this.calciteInternalDropdownItemSelect.emit({\n requestedDropdownItem: this.el,\n requestedDropdownGroup: this.parentDropdownGroupEl,\n });\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as s,g as n,F as i}from"./p-c895988a.js";import{l as o,g as r,d as a,i as l}from"./p-6df32ced.js";import{C as c,n as h,a as u,o as d,b as f,c as p,p as g,d as b,t as m,e as w,f as y,g as v,j as k,i as x,r as C,k as M}from"./p-1e84448b.js";import{c as A,d as S,u as j,I as z}from"./p-20a72009.js";import{i as O}from"./p-243c2697.js";import{c as F,s as $,a as D}from"./p-60473c94.js";import{c as I,d as q}from"./p-9d487f81.js";import{r as E,c as N,a as L}from"./p-37e6bdc7.js";import{u as K,s as U,c as P,d as T}from"./p-a7d7640f.js";import{t as _}from"./p-90f5afcc.js";import"./p-a674255c.js";import"./p-58306ee0.js";import"./p-ffc7b7bf.js";import"./p-6b60a528.js";import"./p-c8dc65e4.js";function B(t,e,s){return s={path:e,exports:{},require:function(t,e){return H()}},t(s,s.exports),s.exports}function H(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var V={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var J=function t(e){if(!e||typeof e==="string"){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")};var R=B((function(t){var e=Array.prototype.concat;var s=Array.prototype.slice;var n=t.exports=function t(n){var i=[];for(var o=0,r=n.length;o<r;o++){var a=n[o];if(J(a)){i=e.call(i,s.call(a))}else{i.push(a)}}return i};n.wrap=function(t){return function(){return t(n(arguments))}}}));var X=B((function(t){var e=Object.hasOwnProperty;var s=Object.create(null);for(var n in V){if(e.call(V,n)){s[V[n]]=n}}var i=t.exports={to:{},get:{}};i.get=function(t){var e=t.substring(0,3).toLowerCase();var s;var n;switch(e){case"hsl":s=i.get.hsl(t);n="hsl";break;case"hwb":s=i.get.hwb(t);n="hwb";break;default:s=i.get.rgb(t);n="rgb";break}if(!s){return null}return{model:n,value:s}};i.get.rgb=function(t){if(!t){return null}var s=/^#([a-f0-9]{3,4})$/i;var n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i;var i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var a=/^(\w+)$/;var l=[0,0,0,1];var c;var h;var u;if(c=t.match(n)){u=c[2];c=c[1];for(h=0;h<3;h++){var d=h*2;l[h]=parseInt(c.slice(d,d+2),16)}if(u){l[3]=parseInt(u,16)/255}}else if(c=t.match(s)){c=c[1];u=c[3];for(h=0;h<3;h++){l[h]=parseInt(c[h]+c[h],16)}if(u){l[3]=parseInt(u+u,16)/255}}else if(c=t.match(i)){for(h=0;h<3;h++){l[h]=parseInt(c[h+1],0)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(r)){for(h=0;h<3;h++){l[h]=Math.round(parseFloat(c[h+1])*2.55)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(a)){if(c[1]==="transparent"){return[0,0,0,0]}if(!e.call(V,c[1])){return null}l=V[c[1]];l[3]=1;return l}else{return null}for(h=0;h<3;h++){l[h]=o(l[h],0,255)}l[3]=o(l[3],0,1);return l};i.get.hsl=function(t){if(!t){return null}var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.get.hwb=function(t){if(!t){return null}var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.to.hex=function(){var t=R(arguments);return"#"+r(t[0])+r(t[1])+r(t[2])+(t[3]<1?r(Math.round(t[3]*255)):"")};i.to.rgb=function(){var t=R(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};i.to.rgb.percent=function(){var t=R(arguments);var e=Math.round(t[0]/255*100);var s=Math.round(t[1]/255*100);var n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+n+"%)":"rgba("+e+"%, "+s+"%, "+n+"%, "+t[3]+")"};i.to.hsl=function(){var t=R(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};i.to.hwb=function(){var t=R(arguments);var e="";if(t.length>=4&&t[3]!==1){e=", "+t[3]}return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};i.to.keyword=function(t){return s[t.slice(0,3)]};function o(t,e,s){return Math.min(Math.max(e,t),s)}function r(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}}));var W={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const G={};for(const t of Object.keys(W)){G[W[t]]=t}const Y={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Q=Y;for(const t of Object.keys(Y)){if(!("channels"in Y[t])){throw new Error("missing channels property: "+t)}if(!("labels"in Y[t])){throw new Error("missing channel labels property: "+t)}if(Y[t].labels.length!==Y[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:e,labels:s}=Y[t];delete Y[t].channels;delete Y[t].labels;Object.defineProperty(Y[t],"channels",{value:e});Object.defineProperty(Y[t],"labels",{value:s})}Y.rgb.hsl=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(e,s,n);const o=Math.max(e,s,n);const r=o-i;let a;let l;if(o===i){a=0}else if(e===o){a=(s-n)/r}else if(s===o){a=2+(n-e)/r}else if(n===o){a=4+(e-s)/r}a=Math.min(a*60,360);if(a<0){a+=360}const c=(i+o)/2;if(o===i){l=0}else if(c<=.5){l=r/(o+i)}else{l=r/(2-o-i)}return[a,l*100,c*100]};Y.rgb.hsv=function(t){let e;let s;let n;let i;let o;const r=t[0]/255;const a=t[1]/255;const l=t[2]/255;const c=Math.max(r,a,l);const h=c-Math.min(r,a,l);const u=function(t){return(c-t)/6/h+1/2};if(h===0){i=0;o=0}else{o=h/c;e=u(r);s=u(a);n=u(l);if(r===c){i=n-s}else if(a===c){i=1/3+e-n}else if(l===c){i=2/3+s-e}if(i<0){i+=1}else if(i>1){i-=1}}return[i*360,o*100,c*100]};Y.rgb.hwb=function(t){const e=t[0];const s=t[1];let n=t[2];const i=Y.rgb.hsl(t)[0];const o=1/255*Math.min(e,Math.min(s,n));n=1-1/255*Math.max(e,Math.max(s,n));return[i,o*100,n*100]};Y.rgb.cmyk=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(1-e,1-s,1-n);const o=(1-e-i)/(1-i)||0;const r=(1-s-i)/(1-i)||0;const a=(1-n-i)/(1-i)||0;return[o*100,r*100,a*100,i*100]};function Z(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Y.rgb.keyword=function(t){const e=G[t];if(e){return e}let s=Infinity;let n;for(const e of Object.keys(W)){const i=W[e];const o=Z(t,i);if(o<s){s=o;n=e}}return n};Y.keyword.rgb=function(t){return W[t]};Y.rgb.xyz=function(t){let e=t[0]/255;let s=t[1]/255;let n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=e*.4124+s*.3576+n*.1805;const o=e*.2126+s*.7152+n*.0722;const r=e*.0193+s*.1192+n*.9505;return[i*100,o*100,r*100]};Y.rgb.lab=function(t){const e=Y.rgb.xyz(t);let s=e[0];let n=e[1];let i=e[2];s/=95.047;n/=100;i/=108.883;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16;const r=500*(s-n);const a=200*(n-i);return[o,r,a]};Y.hsl.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;if(s===0){r=n*255;return[r,r,r]}if(n<.5){i=n*(1+s)}else{i=n+s-n*s}const a=2*n-i;const l=[0,0,0];for(let t=0;t<3;t++){o=e+1/3*-(t-1);if(o<0){o++}if(o>1){o--}if(6*o<1){r=a+(i-a)*6*o}else if(2*o<1){r=i}else if(3*o<2){r=a+(i-a)*(2/3-o)*6}else{r=a}l[t]=r*255}return l};Y.hsl.hsv=function(t){const e=t[0];let s=t[1]/100;let n=t[2]/100;let i=s;const o=Math.max(n,.01);n*=2;s*=n<=1?n:2-n;i*=o<=1?o:2-o;const r=(n+s)/2;const a=n===0?2*i/(o+i):2*s/(n+s);return[e,a*100,r*100]};Y.hsv.rgb=function(t){const e=t[0]/60;const s=t[1]/100;let n=t[2]/100;const i=Math.floor(e)%6;const o=e-Math.floor(e);const r=255*n*(1-s);const a=255*n*(1-s*o);const l=255*n*(1-s*(1-o));n*=255;switch(i){case 0:return[n,l,r];case 1:return[a,n,r];case 2:return[r,n,l];case 3:return[r,a,n];case 4:return[l,r,n];case 5:return[n,r,a]}};Y.hsv.hsl=function(t){const e=t[0];const s=t[1]/100;const n=t[2]/100;const i=Math.max(n,.01);let o;let r;r=(2-s)*n;const a=(2-s)*i;o=s*i;o/=a<=1?a:2-a;o=o||0;r/=2;return[e,o*100,r*100]};Y.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100;let n=t[2]/100;const i=s+n;let o;if(i>1){s/=i;n/=i}const r=Math.floor(6*e);const a=1-n;o=6*e-r;if((r&1)!==0){o=1-o}const l=s+o*(a-s);let c;let h;let u;switch(r){default:case 6:case 0:c=a;h=l;u=s;break;case 1:c=l;h=a;u=s;break;case 2:c=s;h=a;u=l;break;case 3:c=s;h=l;u=a;break;case 4:c=l;h=s;u=a;break;case 5:c=a;h=s;u=l;break}return[c*255,h*255,u*255]};Y.cmyk.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;const i=t[3]/100;const o=1-Math.min(1,e*(1-i)+i);const r=1-Math.min(1,s*(1-i)+i);const a=1-Math.min(1,n*(1-i)+i);return[o*255,r*255,a*255]};Y.xyz.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;i=e*3.2406+s*-1.5372+n*-.4986;o=e*-.9689+s*1.8758+n*.0415;r=e*.0557+s*-.204+n*1.057;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92;i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);r=Math.min(Math.max(0,r),1);return[i*255,o*255,r*255]};Y.xyz.lab=function(t){let e=t[0];let s=t[1];let n=t[2];e/=95.047;s/=100;n/=108.883;e=e>.008856?e**(1/3):7.787*e+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*s-16;const o=500*(e-s);const r=200*(s-n);return[i,o,r]};Y.lab.xyz=function(t){const e=t[0];const s=t[1];const n=t[2];let i;let o;let r;o=(e+16)/116;i=s/500+o;r=o-n/200;const a=o**3;const l=i**3;const c=r**3;o=a>.008856?a:(o-16/116)/7.787;i=l>.008856?l:(i-16/116)/7.787;r=c>.008856?c:(r-16/116)/7.787;i*=95.047;o*=100;r*=108.883;return[i,o,r]};Y.lab.lch=function(t){const e=t[0];const s=t[1];const n=t[2];let i;const o=Math.atan2(n,s);i=o*360/2/Math.PI;if(i<0){i+=360}const r=Math.sqrt(s*s+n*n);return[e,r,i]};Y.lch.lab=function(t){const e=t[0];const s=t[1];const n=t[2];const i=n/360*2*Math.PI;const o=s*Math.cos(i);const r=s*Math.sin(i);return[e,o,r]};Y.rgb.ansi16=function(t,e=null){const[s,n,i]=t;let o=e===null?Y.rgb.hsv(t)[2]:e;o=Math.round(o/50);if(o===0){return 30}let r=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(s/255));if(o===2){r+=60}return r};Y.hsv.ansi16=function(t){return Y.rgb.ansi16(Y.hsv.rgb(t),t[2])};Y.rgb.ansi256=function(t){const e=t[0];const s=t[1];const n=t[2];if(e===s&&s===n){if(e<8){return 16}if(e>248){return 231}return Math.round((e-8)/247*24)+232}const i=16+36*Math.round(e/255*5)+6*Math.round(s/255*5)+Math.round(n/255*5);return i};Y.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7){if(t>50){e+=3.5}e=e/10.5*255;return[e,e,e]}const s=(~~(t>50)+1)*.5;const n=(e&1)*s*255;const i=(e>>1&1)*s*255;const o=(e>>2&1)*s*255;return[n,i,o]};Y.ansi256.rgb=function(t){if(t>=232){const e=(t-232)*10+8;return[e,e,e]}t-=16;let e;const s=Math.floor(t/36)/5*255;const n=Math.floor((e=t%36)/6)/5*255;const i=e%6/5*255;return[s,n,i]};Y.rgb.hex=function(t){const e=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const s=e.toString(16).toUpperCase();return"000000".substring(s.length)+s};Y.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e){return[0,0,0]}let s=e[0];if(e[0].length===3){s=s.split("").map((t=>t+t)).join("")}const n=parseInt(s,16);const i=n>>16&255;const o=n>>8&255;const r=n&255;return[i,o,r]};Y.rgb.hcg=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.max(Math.max(e,s),n);const o=Math.min(Math.min(e,s),n);const r=i-o;let a;let l;if(r<1){a=o/(1-r)}else{a=0}if(r<=0){l=0}else if(i===e){l=(s-n)/r%6}else if(i===s){l=2+(n-e)/r}else{l=4+(e-s)/r}l/=6;l%=1;return[l*360,r*100,a*100]};Y.hsl.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=s<.5?2*e*s:2*e*(1-s);let i=0;if(n<1){i=(s-.5*n)/(1-n)}return[t[0],n*100,i*100]};Y.hsv.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=e*s;let i=0;if(n<1){i=(s-n)/(1-n)}return[t[0],n*100,i*100]};Y.hcg.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;if(s===0){return[n*255,n*255,n*255]}const i=[0,0,0];const o=e%1*6;const r=o%1;const a=1-r;let l=0;switch(Math.floor(o)){case 0:i[0]=1;i[1]=r;i[2]=0;break;case 1:i[0]=a;i[1]=1;i[2]=0;break;case 2:i[0]=0;i[1]=1;i[2]=r;break;case 3:i[0]=0;i[1]=a;i[2]=1;break;case 4:i[0]=r;i[1]=0;i[2]=1;break;default:i[0]=1;i[1]=0;i[2]=a}l=(1-s)*n;return[(s*i[0]+l)*255,(s*i[1]+l)*255,(s*i[2]+l)*255]};Y.hcg.hsv=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);let i=0;if(n>0){i=e/n}return[t[0],i*100,n*100]};Y.hcg.hsl=function(t){const e=t[1]/100;const s=t[2]/100;const n=s*(1-e)+.5*e;let i=0;if(n>0&&n<.5){i=e/(2*n)}else if(n>=.5&&n<1){i=e/(2*(1-n))}return[t[0],i*100,n*100]};Y.hcg.hwb=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);return[t[0],(n-e)*100,(1-n)*100]};Y.hwb.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=1-s;const i=n-e;let o=0;if(i<1){o=(n-i)/(1-i)}return[t[0],i*100,o*100]};Y.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Y.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Y.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Y.gray.hsl=function(t){return[0,0,t[0]]};Y.gray.hsv=Y.gray.hsl;Y.gray.hwb=function(t){return[0,100,t[0]]};Y.gray.cmyk=function(t){return[0,0,0,t[0]]};Y.gray.lab=function(t){return[t[0],0,0]};Y.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255;const s=(e<<16)+(e<<8)+e;const n=s.toString(16).toUpperCase();return"000000".substring(n.length)+n};Y.rgb.gray=function(t){const e=(t[0]+t[1]+t[2])/3;return[e/255*100]};function tt(){const t={};const e=Object.keys(Q);for(let s=e.length,n=0;n<s;n++){t[e[n]]={distance:-1,parent:null}}return t}function et(t){const e=tt();const s=[t];e[t].distance=0;while(s.length){const t=s.pop();const n=Object.keys(Q[t]);for(let i=n.length,o=0;o<i;o++){const i=n[o];const r=e[i];if(r.distance===-1){r.distance=e[t].distance+1;r.parent=t;s.unshift(i)}}}return e}function st(t,e){return function(s){return e(t(s))}}function nt(t,e){const s=[e[t].parent,t];let n=Q[e[t].parent][t];let i=e[t].parent;while(e[i].parent){s.unshift(e[i].parent);n=st(Q[e[i].parent][i],n);i=e[i].parent}n.conversion=s;return n}var it=function(t){const e=et(t);const s={};const n=Object.keys(e);for(let t=n.length,i=0;i<t;i++){const t=n[i];const o=e[t];if(o.parent===null){continue}s[t]=nt(t,e)}return s};const ot={};const rt=Object.keys(Q);function at(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}return t(e)};if("conversion"in t){e.conversion=t.conversion}return e}function lt(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}const n=t(e);if(typeof n==="object"){for(let t=n.length,e=0;e<t;e++){n[e]=Math.round(n[e])}}return n};if("conversion"in t){e.conversion=t.conversion}return e}rt.forEach((t=>{ot[t]={};Object.defineProperty(ot[t],"channels",{value:Q[t].channels});Object.defineProperty(ot[t],"labels",{value:Q[t].labels});const e=it(t);const s=Object.keys(e);s.forEach((s=>{const n=e[s];ot[t][s]=lt(n);ot[t][s].raw=at(n)}))}));var ct=ot;const ht=["keyword","gray","hex"];const ut={};for(const t of Object.keys(ct)){ut[[...ct[t].labels].sort().join("")]=t}const dt={};function ft(t,e){if(!(this instanceof ft)){return new ft(t,e)}if(e&&e in ht){e=null}if(e&&!(e in ct)){throw new Error("Unknown model: "+e)}let s;let n;if(t==null){this.model="rgb";this.color=[0,0,0];this.valpha=1}else if(t instanceof ft){this.model=t.model;this.color=[...t.color];this.valpha=t.valpha}else if(typeof t==="string"){const e=X.get(t);if(e===null){throw new Error("Unable to parse color from string: "+t)}this.model=e.model;n=ct[this.model].channels;this.color=e.value.slice(0,n);this.valpha=typeof e.value[n]==="number"?e.value[n]:1}else if(t.length>0){this.model=e||"rgb";n=ct[this.model].channels;const s=Array.prototype.slice.call(t,0,n);this.color=yt(s,n);this.valpha=typeof t[n]==="number"?t[n]:1}else if(typeof t==="number"){this.model="rgb";this.color=[t>>16&255,t>>8&255,t&255];this.valpha=1}else{this.valpha=1;const e=Object.keys(t);if("alpha"in t){e.splice(e.indexOf("alpha"),1);this.valpha=typeof t.alpha==="number"?t.alpha:0}const n=e.sort().join("");if(!(n in ut)){throw new Error("Unable to parse color from object: "+JSON.stringify(t))}this.model=ut[n];const{labels:i}=ct[this.model];const o=[];for(s=0;s<i.length;s++){o.push(t[i[s]])}this.color=yt(o)}if(dt[this.model]){n=ct[this.model].channels;for(s=0;s<n;s++){const t=dt[this.model][s];if(t){this.color[s]=t(this.color[s])}}}this.valpha=Math.max(0,Math.min(1,this.valpha));if(Object.freeze){Object.freeze(this)}}ft.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in X.to?this:this.rgb();e=e.round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to[e.model](s)},percentString(t){const e=this.rgb().round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to.rgb.percent(s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={};const{channels:e}=ct[this.model];const{labels:s}=ct[this.model];for(let n=0;n<e;n++){t[s[n]]=this.color[n]}if(this.valpha!==1){t.alpha=this.valpha}return t},unitArray(){const t=this.rgb().color;t[0]/=255;t[1]/=255;t[2]/=255;if(this.valpha!==1){t.push(this.valpha)}return t},unitObject(){const t=this.rgb().object();t.r/=255;t.g/=255;t.b/=255;if(this.valpha!==1){t.alpha=this.valpha}return t},round(t){t=Math.max(t||0,0);return new ft([...this.color.map(gt(t)),this.valpha],this.model)},alpha(t){if(t!==undefined){return new ft([...this.color,Math.max(0,Math.min(1,t))],this.model)}return this.valpha},red:bt("rgb",0,mt(255)),green:bt("rgb",1,mt(255)),blue:bt("rgb",2,mt(255)),hue:bt(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:bt("hsl",1,mt(100)),lightness:bt("hsl",2,mt(100)),saturationv:bt("hsv",1,mt(100)),value:bt("hsv",2,mt(100)),chroma:bt("hcg",1,mt(100)),gray:bt("hcg",2,mt(100)),white:bt("hwb",1,mt(100)),wblack:bt("hwb",2,mt(100)),cyan:bt("cmyk",0,mt(100)),magenta:bt("cmyk",1,mt(100)),yellow:bt("cmyk",2,mt(100)),black:bt("cmyk",3,mt(100)),x:bt("xyz",0,mt(95.047)),y:bt("xyz",1,mt(100)),z:bt("xyz",2,mt(108.833)),l:bt("lab",0,mt(100)),a:bt("lab",1),b:bt("lab",2),keyword(t){if(t!==undefined){return new ft(t)}return ct[this.model].keyword(this.color)},hex(t){if(t!==undefined){return new ft(t)}return X.to.hex(this.rgb().round().color)},hexa(t){if(t!==undefined){return new ft(t)}const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();if(s.length===1){s="0"+s}return X.to.hex(e)+s},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color;const e=[];for(const[s,n]of t.entries()){const t=n/255;e[s]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity();const s=t.luminosity();if(e>s){return(e+.05)/(s+.05)}return(s+.05)/(e+.05)},level(t){const e=this.contrast(t);if(e>=7){return"AAA"}return e>=4.5?"AA":""},isDark(){const t=this.rgb().color;const e=(t[0]*2126+t[1]*7152+t[2]*722)/1e4;return e<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++){t.color[e]=255-t.color[e]}return t},lighten(t){const e=this.hsl();e.color[2]+=e.color[2]*t;return e},darken(t){const e=this.hsl();e.color[2]-=e.color[2]*t;return e},saturate(t){const e=this.hsl();e.color[1]+=e.color[1]*t;return e},desaturate(t){const e=this.hsl();e.color[1]-=e.color[1]*t;return e},whiten(t){const e=this.hwb();e.color[1]+=e.color[1]*t;return e},blacken(t){const e=this.hwb();e.color[2]+=e.color[2]*t;return e},grayscale(){const t=this.rgb().color;const e=t[0]*.3+t[1]*.59+t[2]*.11;return ft.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let s=e.color[0];s=(s+t)%360;s=s<0?360+s:s;e.color[0]=s;return e},mix(t,e){if(!t||!t.rgb){throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t)}const s=t.rgb();const n=this.rgb();const i=e===undefined?.5:e;const o=2*i-1;const r=s.alpha()-n.alpha();const a=((o*r===-1?o:(o+r)/(1+o*r))+1)/2;const l=1-a;return ft.rgb(a*s.red()+l*n.red(),a*s.green()+l*n.green(),a*s.blue()+l*n.blue(),s.alpha()*i+n.alpha()*(1-i))}};for(const t of Object.keys(ct)){if(ht.includes(t)){continue}const{channels:e}=ct[t];ft.prototype[t]=function(...e){if(this.model===t){return new ft(this)}if(e.length>0){return new ft(e,t)}return new ft([...wt(ct[this.model][t].raw(this.color)),this.valpha],t)};ft[t]=function(...s){let n=s[0];if(typeof n==="number"){n=yt(s,e)}return new ft(n,t)}}function pt(t,e){return Number(t.toFixed(e))}function gt(t){return function(e){return pt(e,t)}}function bt(t,e,s){t=Array.isArray(t)?t:[t];for(const n of t){(dt[n]||(dt[n]=[]))[e]=s}t=t[0];return function(n){let i;if(n!==undefined){if(s){n=s(n)}i=this[t]();i.color[e]=n;return i}i=this[t]().color[e];if(s){i=s(i)}return i}}function mt(t){return function(e){return Math.max(0,Math.min(t,e))}}function wt(t){return Array.isArray(t)?t:[t]}function yt(t,e){for(let s=0;s<e;s++){if(typeof t[s]!=="number"){t[s]=0}}return t}var vt=ft;const kt={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"};const xt=vt("#007AC2");const Ct="calcite-color-";const Mt={r:255,g:255,b:255};const At={h:360,s:100,v:100};const St=At.h-1;const jt={min:0,max:100};const zt={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}};const Ot=1;const Ft=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';const $t=16;const Dt=class{constructor(n){t(this,n);this.calciteColorPickerChange=e(this,"calciteColorPickerChange",6);this.calciteColorPickerInput=e(this,"calciteColorPickerInput",6);this.internalColorUpdateContext=null;this.mode=c.HEX;this.shiftKeyChannelAdjustment=0;this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode");this.updateChannelsFromColor(this.color)};this.handleColorFieldScopeKeyDown=t=>{const{key:e}=t;const s={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};if(s[e]){t.preventDefault();this.scopeOrientation=e==="ArrowDown"||e==="ArrowUp"?"vertical":"horizontal";this.captureColorFieldColor(this.colorFieldScopeLeft+s[e].x||0,this.colorFieldScopeTop+s[e].y||0,false)}};this.handleHueScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.hue();const r=this.baseColorFieldColor.hue(o+i);this.internalColorSet(r,false)}};this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:e,color:s}=this;const n=t.target;const i=n.value;if(e&&!i){this.internalColorSet(null);return}const o=s&&h(u(s,p(this.mode)));if(i!==o){this.internalColorSet(vt(i))}};this.handleSavedColorSelect=t=>{const e=t.currentTarget;this.internalColorSet(vt(e.color))};this.handleChannelInput=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=s===3;const i=n?jt.max:this.channelMode==="rgb"?Mt[Object.keys(Mt)[s]]:At[Object.keys(At)[s]];let o;if(this.isClearable&&!e.value){o=""}else{const t=Number(e.value);const s=t+this.shiftKeyChannelAdjustment;const n=N(s,0,i);o=n.toString()}e.value=o;if(o!==""&&this.shiftKeyChannelAdjustment!==0){this.handleChannelChange(t)}};this.handleChannelChange=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=[...this.channels];const i=this.isClearable&&!e.value;if(i){this.channels=[null,null,null,null];this.internalColorSet(null);return}const o=s===3;const r=Number(e.value);n[s]=o?d(r):r;this.updateColorFromChannels(n)};this.handleSavedColorKeyDown=t=>{if(O(t.key)){t.preventDefault();this.handleSavedColorSelect(t)}};this.handleColorFieldPointerDown=t=>{if(!o(t)){return}const{offsetX:e,offsetY:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()};this.captureColorFieldColor(e,s);this.colorFieldScopeNode.focus()};this.handleHueSliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()};this.captureHueSliderColor(e);this.hueScopeNode.focus()};this.handleOpacitySliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()};this.captureOpacitySliderValue(e);this.opacityScopeNode.focus()};this.globalPointerUpHandler=t=>{if(!o(t)){return}const e=this.activeCanvasInfo;this.activeCanvasInfo=null;this.drawColorControls();if(e){this.calciteColorPickerChange.emit()}};this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:e,el:s}=this;if(!s.isConnected||!e){return}const{context:n,bounds:i}=e;let o;let r;const{clientX:a,clientY:l}=t;if(n.canvas.matches(":hover")){o=a-i.x;r=l-i.y}else{if(a<i.x+i.width&&a>i.x){o=a-i.x}else if(a<i.x){o=0}else{o=i.width}if(l<i.y+i.height&&l>i.y){r=l-i.y}else if(l<i.y){r=0}else{r=i.height}}if(n===this.colorFieldRenderingContext){this.captureColorFieldColor(o,r,false)}else if(n===this.hueSliderRenderingContext){this.captureHueSliderColor(o)}else if(n===this.opacitySliderRenderingContext){this.captureOpacitySliderValue(o)}};this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t};this.storeHueScope=t=>{this.hueScopeNode=t};this.renderChannelsTabTitle=t=>{const{channelMode:e,messages:n}=this;const i=t===e;const o=t==="rgb"?n.rgb:n.hsv;return s("calcite-tab-title",{class:kt.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:i},o)};this.renderChannelsTab=t=>{const{isClearable:e,channelMode:n,channels:i,messages:o,alphaChannel:a}=this;const l=t===n;const c=t==="rgb";const h=c?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value];const u=r(this.el);const d=a?i:i.slice(0,3);return s("calcite-tab",{class:kt.control,key:t,selected:l},s("div",{class:kt.channels,dir:"ltr"},d.map(((t,s)=>{const n=s===3;if(n){t=e&&!t?t:f(t)}return this.renderChannel(t,s,h[s],u,n?"%":"")}))))};this.renderChannel=(t,e,n,i,o)=>s("calcite-input-number",{class:kt.channel,"data-channel-index":e,dir:i,key:e,label:n,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:this.scale==="l"?"m":"s",style:{marginLeft:e>0&&!(this.scale==="s"&&this.alphaChannel&&e===3)?"-1px":""},suffixText:o,value:t?.toString()});this.deleteColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(!e){return}const s=this.savedColors.filter((e=>e!==t));this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.saveColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(e){return}const s=[...this.savedColors,t];this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.drawColorControls=_(((t="all")=>{if((t==="all"||t==="color-field")&&this.colorFieldRenderingContext){this.drawColorField()}if((t==="all"||t==="hue-slider")&&this.hueSliderRenderingContext){this.drawHueSlider()}if(this.alphaChannel&&(t==="all"||t==="opacity-slider")&&this.opacitySliderRenderingContext){this.drawOpacitySlider()}}),$t);this.captureColorFieldColor=(t,e,s=true)=>{const{dimensions:{colorField:{height:n,width:i}}}=this;const o=Math.round(At.s/i*t);const r=Math.round(At.v/n*(n-e));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(r),s)};this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d");this.updateCanvasSize("color-field");this.drawColorControls()};this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d");this.updateCanvasSize("hue-slider");this.drawHueSlider()};this.initOpacitySlider=t=>{if(!t){return}this.opacitySliderRenderingContext=t.getContext("2d");this.updateCanvasSize("opacity-slider");this.drawOpacitySlider()};this.storeOpacityScope=t=>{this.opacityScopeNode=t};this.handleOpacityScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.alpha();const r=this.baseColorFieldColor.alpha(o+i);this.internalColorSet(r,false)}};this.allowEmpty=false;this.alphaChannel=false;this.channelsDisabled=false;this.clearable=false;this.color=xt;this.disabled=false;this.format="auto";this.hideChannels=false;this.hexDisabled=false;this.hideHex=false;this.hideSaved=false;this.savedDisabled=false;this.scale="m";this.storageId=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.value=h(u(xt,this.alphaChannel));this.defaultMessages=undefined;this.channelMode="rgb";this.channels=this.toChannels(xt);this.dimensions=zt.m;this.effectiveLocale="";this.messages=undefined;this.savedColors=[];this.colorFieldScopeTop=undefined;this.colorFieldScopeLeft=undefined;this.hueScopeLeft=undefined;this.opacityScopeLeft=undefined;this.scopeOrientation=undefined}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:e}=this;if(t&&e!=="auto"&&!p(e)){console.warn(`ignoring alphaChannel as the current format (${e}) does not support alpha`);this.alphaChannel=false}}handleColorChange(t,e){this.drawColorControls();this.updateChannelsFromColor(t);this.previousColor=e}handleFormatOrAlphaChannelChange(){this.setMode(this.format);this.internalColorSet(this.color,false,"internal")}handleScaleChange(t="m"){this.updateDimensions(t);this.updateCanvasSize("all");this.drawColorControls()}onMessagesChange(){}handleValueChange(t,e){const{isClearable:s,format:n}=this;const i=!s||t;let o=false;if(i){const s=g(t);if(!s||n!=="auto"&&s!==n){this.showIncompatibleColorWarning(t,n);this.value=e;return}o=this.mode!==s;this.setMode(s,this.internalColorUpdateContext===null)}const r=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial"){return}if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit();if(!r){this.calciteColorPickerChange.emit()}return}const a=s&&!t?null:vt(t!=null&&typeof t==="object"&&p(this.mode)?v(t):t);const l=!b(a,this.color);if(o||l){this.internalColorSet(a,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}}get baseColorFieldColor(){return this.color||this.previousColor||xt}effectiveLocaleChange(){K(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:e}=t;if(e!=="ArrowUp"&&e!=="ArrowDown"||!t.composedPath().some((t=>t.classList?.contains(kt.channel)))){return}const{shiftKey:s}=t;t.preventDefault();if(!this.color){this.internalColorSet(this.previousColor);t.stopPropagation();return}const n=9;this.shiftKeyChannelAdjustment=e==="ArrowUp"&&s?n:e==="ArrowDown"&&s?-n:0}async setFocus(){await F(this);this.el.focus()}async componentWillLoad(){$(this);this.handleAllowEmptyOrClearableChange();const{isClearable:t,color:e,format:s,value:n}=this;const i=t&&!n;const o=g(n);const r=i||s==="auto"&&o||s===o;const a=i?null:r?vt(n):e;if(!r){this.showIncompatibleColorWarning(n,s)}this.setMode(s,false);this.internalColorSet(a,false,"initial");this.updateDimensions(this.scale);const l=`${Ct}${this.storageId}`;if(this.storageId&&localStorage.getItem(l)){this.savedColors=JSON.parse(localStorage.getItem(l))}await U(this)}connectedCallback(){A(this);I(this);P(this)}componentDidLoad(){D(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler);window.removeEventListener("pointerup",this.globalPointerUpHandler);S(this);q(this);T(this)}componentDidRender(){j(this)}render(){const{channelsDisabled:t,color:e,colorFieldScopeLeft:n,colorFieldScopeTop:i,dimensions:{slider:{width:o},thumb:{radius:r}},hexDisabled:a,hideChannels:l,hideHex:c,hideSaved:h,hueScopeLeft:d,messages:p,alphaChannel:g,opacityScopeLeft:b,savedColors:m,savedDisabled:w,scale:y,scopeOrientation:v}=this;const k=e?u(e,g):null;const x=r;const C=d??o*xt.hue()/At.h;const M=r;const A=b??o*f(xt.alpha())/jt.max;const S=e===null;const j=v==="vertical";const O=a||c;const F=t||l;const $=w||h;const[D,I]=this.getAdjustedScopePosition(n,i);const[q,E]=this.getAdjustedScopePosition(C,x);const[N,L]=this.getAdjustedScopePosition(A,M);return s(z,{disabled:this.disabled},s("div",{class:kt.container},s("div",{class:kt.controlAndScope},s("canvas",{class:kt.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),s("div",{"aria-label":j?p.value:p.saturation,"aria-valuemax":j?At.v:At.s,"aria-valuemin":"0","aria-valuenow":(j?e?.saturationv():e?.value())||"0",class:{[kt.scope]:true,[kt.colorFieldScope]:true},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${I||0}px`,left:`${D||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),s("div",{class:kt.previewAndSliders},s("calcite-color-picker-swatch",{class:kt.preview,color:k,scale:"l"}),s("div",{class:kt.sliders},s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.hueSlider]:true},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),s("div",{"aria-label":p.hue,"aria-valuemax":At.h,"aria-valuemin":"0","aria-valuenow":e?.round().hue()||xt.round().hue(),class:{[kt.scope]:true,[kt.hueScope]:true},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${E}px`,left:`${q}px`},tabindex:"0",ref:this.storeHueScope})),g?s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.opacitySlider]:true},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),s("div",{"aria-label":p.opacity,"aria-valuemax":jt.max,"aria-valuemin":jt.min,"aria-valuenow":(e||xt).round().alpha(),class:{[kt.scope]:true,[kt.opacityScope]:true},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${L}px`,left:`${N}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),O&&F?null:s("div",{class:{[kt.controlSection]:true,[kt.section]:true}},s("div",{class:kt.hexAndChannelsGroup},O?null:s("div",{class:kt.hexOptions},s("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:g,class:kt.control,messages:p,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:k})),F?null:s("calcite-tabs",{class:{[kt.colorModeContainer]:true,[kt.splitSection]:true},scale:y==="l"?"m":"s"},s("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),$?null:s("div",{class:{[kt.savedColorsSection]:true,[kt.section]:true}},s("div",{class:kt.header},s("label",null,p.saved),s("div",{class:kt.savedColorsButtons},s("calcite-button",{appearance:"transparent",class:kt.deleteColor,disabled:S,iconStart:"minus",kind:"neutral",label:p.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),s("calcite-button",{appearance:"transparent",class:kt.saveColor,disabled:S,iconStart:"plus",kind:"neutral",label:p.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),m.length>0?s("div",{class:kt.savedColors},[...m.map((t=>s("calcite-color-picker-swatch",{class:kt.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){if(t.key==="Enter"){t.preventDefault()}}showIncompatibleColorWarning(t,e){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${e})`)}setMode(t,e=true){const s=t==="auto"?this.mode:t;this.mode=this.ensureCompatibleMode(s,e)}ensureCompatibleMode(t,e){const{alphaChannel:s}=this;const n=p(t);if(s&&!n){const s=y(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}if(!s&&n){const s=m(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:e}}}=this;const s=St/e*t;this.internalColorSet(this.baseColorFieldColor.hue(s),false)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:e}}}=this;const s=d(jt.max/e*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),false)}internalColorSet(t,e=true,s="user-interaction"){if(e&&b(t,this.color)){return}this.internalColorUpdateContext=s;this.color=t;this.value=this.toValue(t);this.internalColorUpdateContext=null}toValue(t,e=this.mode){if(!t){return null}const s="hex";if(e.includes(s)){const s=e===c.HEXA;return h(u(t.round(),s),s)}if(e.includes("-css")){const s=t[e.replace("-css","").replace("a","")]().round().string();const n=(e.endsWith("a")||e.endsWith("a-css"))&&t.alpha()===1;if(n){const e=s.slice(0,3);const n=s.slice(4,-1);return`${e}a(${n}, ${t.alpha()})`}return s}const n=t[m(e)]().round().object();if(e.endsWith("a")){return w(n)}return n}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:e}}}=this;return e*2-t}updateDimensions(t="m"){this.dimensions=zt[t]}drawColorField(){const t=this.colorFieldRenderingContext;const{dimensions:{colorField:{height:e,width:s}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string();t.fillRect(0,0,s,e);const n=t.createLinearGradient(0,0,s,0);n.addColorStop(0,"rgba(255,255,255,1)");n.addColorStop(1,"rgba(255,255,255,0)");t.fillStyle=n;t.fillRect(0,0,s,e);const i=t.createLinearGradient(0,0,0,e);i.addColorStop(0,"rgba(0,0,0,0)");i.addColorStop(1,"rgba(0,0,0,1)");t.fillStyle=i;t.fillRect(0,0,s,e);this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:e,width:s}){if(!t){return}const n=window.devicePixelRatio||1;t.width=s*n;t.height=e*n;t.style.height=`${e}px`;t.style.width=`${s}px`;const i=t.getContext("2d");i.scale(n,n)}updateCanvasSize(t="all"){const{dimensions:e}=this;if(t==="all"||t==="color-field"){this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,e.colorField)}const s={width:e.slider.width,height:e.slider.height+(e.thumb.radius-e.slider.height/2)*2};if(t==="all"||t==="hue-slider"){this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,s)}if(t==="all"||t==="opacity-slider"){this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,s)}}drawActiveColorFieldColor(){const{color:t}=this;if(!t){return}const e=t.hsv();const{dimensions:{colorField:{height:s,width:n},thumb:{radius:i}}}=this;const o=e.saturationv()/(At.s/n);const r=s-e.value()/(At.v/s);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o;this.colorFieldScopeTop=r}));this.drawThumb(this.colorFieldRenderingContext,i,o,r,e,false)}drawThumb(t,e,s,n,i,o){const r=0;const a=2*Math.PI;const l=1;t.beginPath();t.arc(s,n,e,r,a);t.fillStyle="#fff";t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=l;t.stroke();if(o&&i.alpha()<1){const i=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath();t.arc(s,n,e-3,r,a);t.fillStyle=i;t.fill()}t.globalCompositeOperation="source-atop";t.beginPath();t.arc(s,n,e-3,r,a);const c=o?i.alpha():1;t.fillStyle=i.rgb().alpha(c).string();t.fill();t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t){return}const e=t.hsv().saturationv(100).value(100);const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=e.hue()/(St/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.hueScopeLeft=r}));this.drawThumb(this.hueSliderRenderingContext,n,r,o,e,false)}drawHueSlider(){const t=this.hueSliderRenderingContext;const{dimensions:{slider:{height:e,width:s},thumb:{radius:n}}}=this;const i=0;const o=n-e/2;const r=t.createLinearGradient(0,0,s,0);const a=["red","yellow","lime","cyan","blue","magenta","#ff0004"];const l=1/(a.length-1);let c=0;a.forEach((t=>{r.addColorStop(c,vt(t).string());c+=l}));t.clearRect(0,0,s,e+this.getSliderCapSpacing()*2);this.drawSliderPath(t,e,s,i,o);t.fillStyle=r;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext;const{baseColorFieldColor:e,dimensions:{slider:{height:s,width:n},thumb:{radius:i}}}=this;const o=0;const r=i-s/2;t.clearRect(0,0,n,s+this.getSliderCapSpacing()*2);const a=t.createLinearGradient(0,r,n,0);const l=e.rgb().alpha(0);const c=e.rgb().alpha(.5);const h=e.rgb().alpha(1);a.addColorStop(0,l.string());a.addColorStop(.5,c.string());a.addColorStop(1,h.string());this.drawSliderPath(t,s,n,o,r);const u=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=u;t.fill();t.fillStyle=a;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveOpacitySliderColor()}drawSliderPath(t,e,s,n,i){const o=e/2+1;t.beginPath();t.moveTo(n+o,i);t.lineTo(n+s-o,i);t.quadraticCurveTo(n+s,i,n+s,i+o);t.lineTo(n+s,i+e-o);t.quadraticCurveTo(n+s,i+e,n+s-o,i+e);t.lineTo(n+o,i+e);t.quadraticCurveTo(n,i+e,n,i+e-o);t.lineTo(n,i+o);t.quadraticCurveTo(n,i,n+o,i);t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern){return this.checkerPattern}const t=document.createElement("canvas");t.width=10;t.height=10;const e=t.getContext("2d");e.fillStyle="#ccc";e.fillRect(0,0,10,10);e.fillStyle="#fff";e.fillRect(0,0,5,5);e.fillRect(5,5,5,5);this.checkerPattern=t;return t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t){return}const e=t;const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=f(e.alpha())/(jt.max/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.opacityScopeLeft=r}));this.drawThumb(this.opacitySliderRenderingContext,n,r,o,e,true)}getSliderBoundX(t,e,s){const n=L(t,e,s);return n===0?t:n===-1?E(t,0,e,s,s*2):E(t,0,e,e-s*2,e-s)}updateColorFromChannels(t){this.internalColorSet(vt(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:e}=this;const s=t[e]().array().map(((t,e)=>{const s=e===3;return s?t:Math.floor(t)}));if(s.length===3){s.push(1)}return s}getAdjustedScopePosition(t,e){return[t-Ot/2,e-Ot/2]}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.style=Ft;const It={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"};const qt=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";const Et=vt();const Nt=class{constructor(s){t(this,s);this.calciteColorPickerHexInputChange=e(this,"calciteColorPickerHexInputChange",6);this.onHexInputBlur=()=>{const t=this.hexInputNode;const e=t.value;const s=`#${e}`;const{allowEmpty:n,internalColor:i}=this;const o=n&&!e;const r=k(s);this.onHexInputChange();if(o||x(s)&&r){return}t.value=n&&!i?"":this.formatHexForInternalInput(C(i.object()))};this.onOpacityInputBlur=()=>{const t=this.opacityInputNode;const e=t.value;const{allowEmpty:s,internalColor:n}=this;const i=s&&!e;if(i){return}t.value=s&&!n?"":this.formatOpacityForInternalInput(n)};this.onHexInputChange=()=>{const t=this.hexInputNode.value;let e=t;if(e){const t=h(e,false);const s=x(t)&&this.alphaChannel;if(s&&this.internalColor){const s=h(this.internalColor.hexa(),true).slice(-2);e=`${t+s}`}}this.internalSetValue(e,this.value)};this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let e;if(!t.value){e=t.value}else{const s=d(Number(t.value));e=this.internalColor?.alpha(s).hexa()}this.internalSetValue(e,this.value)};this.onInputKeyDown=t=>{const{altKey:e,ctrlKey:s,metaKey:n,shiftKey:i}=t;const{alphaChannel:o,hexInputNode:r,internalColor:a,value:l}=this;const{key:c}=t;const h=t.composedPath();if(c==="Tab"||c==="Enter"){if(h.includes(r)){this.onHexInputChange()}else{this.onOpacityInputChange()}if(c==="Enter"){t.preventDefault()}return}const d=c==="ArrowDown"||c==="ArrowUp";const f=this.value;if(d){if(!l){this.internalSetValue(this.previousNonNullValue,f);t.preventDefault();return}const e=c==="ArrowUp"?1:-1;const s=i?10:1;this.internalSetValue(u(this.nudgeRGBChannels(a,s*e,h.includes(r)?"rgb":"a"),o),f);t.preventDefault();return}const p=e||s||n;const g=c.length===1;const b=M.test(c);if(g&&!p&&!b){t.preventDefault()}};this.onHexInputPaste=t=>{const e=t.clipboardData.getData("text");if(x(e)){t.preventDefault();this.hexInputNode.value=e.slice(1)}};this.previousNonNullValue=this.value;this.storeHexInputRef=t=>{this.hexInputNode=t};this.storeOpacityInputRef=t=>{this.opacityInputNode=t};this.allowEmpty=false;this.alphaChannel=false;this.hexLabel="Hex";this.messages=undefined;this.numberingSystem=undefined;this.scale="m";this.value=h(u(Et,this.alphaChannel),this.alphaChannel,true);this.internalColor=Et}connectedCallback(){const{allowEmpty:t,alphaChannel:e,value:s}=this;if(s){const t=h(s,e);if(x(t,e)){this.internalSetValue(t,t,false)}return}if(t){this.internalSetValue(null,null,false)}}componentWillLoad(){$(this)}componentDidLoad(){D(this)}handleValueChange(t,e){this.internalSetValue(t,e,false)}render(){const{alphaChannel:t,hexLabel:e,internalColor:n,messages:i,scale:o,value:r}=this;const a=this.formatHexForInternalInput(r);const l=this.formatOpacityForInternalInput(n);const c=o==="l"?"m":"s";return s("div",{class:It.container},s("calcite-input-text",{class:It.hexInput,label:i?.hex||e,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:c,value:a,ref:this.storeHexInputRef}),t?s("calcite-input-number",{class:It.opacityInput,key:"opacity-input",label:i?.opacity,max:jt.max,maxLength:3,min:jt.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:c,suffixText:"%",value:l,ref:this.storeOpacityInputRef}):null)}async setFocus(){await F(this);return a(this.hexInputNode)}internalSetValue(t,e,s=true){if(t){const{alphaChannel:e}=this;const n=h(t,e,e);if(x(n,e)){const{internalColor:t}=this;const i=vt(n);const o=h(u(i,e),e);const r=!t||o!==h(u(t,e),e);this.internalColor=i;this.previousNonNullValue=o;this.value=o;if(r&&s){this.calciteColorPickerHexInputChange.emit()}return}}else if(this.allowEmpty){this.internalColor=null;this.value=null;if(s){this.calciteColorPickerHexInputChange.emit()}return}this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,s){let n;const i=t.array();const o=i.slice(0,3);if(s==="rgb"){const t=o.map((t=>t+e));n=[...t,this.alphaChannel?i[3]:undefined]}else{const s=d(f(t.alpha())+e);n=[...o,s]}return vt(n)}get el(){return n(this)}static get watchers(){return{value:["handleValueChange"]}}};Nt.style=qt;const Lt={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"};const Kt={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"};const Ut=4;const Pt={squareSize:Ut,size:Ut*2};const Tt=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";const _t=class{constructor(e){t(this,e);this.active=false;this.color=undefined;this.scale="m"}handleColorChange(t){this.internalColor=t?vt(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){const t=!this.internalColor;const e={[Lt.swatch]:true,[Lt.noColorSwatch]:t};return s("svg",{class:e,xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:e,internalColor:n}=this;const o=t?"100%":"0";const r=l(e);const a=r==="light"?Kt.borderLight:Kt.borderDark;const c={height:"100%",rx:o,stroke:a,["stroke-width"]:"2",width:"100%"};const h=!n;if(h){return s(i,null,s("clipPath",{id:"shape"},s("rect",{height:"100%",rx:o,width:"100%"})),s("rect",{"clip-path":`inset(0 round ${o})`,rx:o,...c}),s("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}))}const d=n.alpha();const f=u(n);const p=u(n,d<1);return s(i,null,s("title",null,p),s("defs",null,s("pattern",{height:Pt.size,id:"checker",patternUnits:"userSpaceOnUse",width:Pt.size,x:"0",y:"0"},s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:"0",y:"0"}),s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:Pt.squareSize,y:Pt.squareSize}))),s("rect",{fill:"url(#checker)",height:"100%",rx:o,width:"100%"}),s("rect",{fill:f,style:{"clip-path":d<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`},...c}),d<1?s("rect",{fill:p,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"},...c}):null)}get el(){return n(this)}static get watchers(){return{color:["handleColorChange"]}}};_t.style=Tt;export{Dt as calcite_color_picker,Nt as calcite_color_picker_hex_input,_t as calcite_color_picker_swatch};
|
|
7
|
-
//# sourceMappingURL=p-a4019cbb.entry.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{q as n,c as t}from"./p-6df32ced.js";import{h as e}from"./p-c895988a.js";const o=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function i(n){const t=n.split("-").map(((n,t)=>t===0?n:`${n[0].toUpperCase()}${n.slice(1)}`)).join("");const e=`${t}${o.includes(n)?"Input":"Change"}`;return e}const s="hidden-form-input";function c(n){return"checked"in n}const r=new WeakMap;const u=new WeakSet;function a(n,e){const o=t(e.parentElement,"[form]");if(o){return true}const i="calciteInternalFormComponentRegister";let s=false;n.addEventListener(i,(n=>{s=n.composedPath().some((n=>u.has(n)));n.stopPropagation()}),{once:true});e.dispatchEvent(new CustomEvent(i,{bubbles:true,composed:true}));return s}function f(n){"status"in n&&(n.status="idle");"validationIcon"in n&&(n.validationIcon=false);"validationMessage"in n&&(n.validationMessage="")}function l(n,t){"status"in n&&(n.status="invalid");"validationIcon"in n&&!n.validationIcon&&(n.validationIcon=true);"validationMessage"in n&&!n.validationMessage&&(n.validationMessage=t)}function m(n){const t=n?.target;const e=t?.parentElement;const o=e?.nodeName?.toLowerCase();const s=o?.split("-");if(s.length<2||s[0]!=="calcite"){return}n?.preventDefault();l(e,t?.validationMessage);if(e?.validationMessage!==t?.validationMessage){return}const c=i(o);e.addEventListener(c,(()=>f(e)),{once:true})}function d(n){const{formEl:t}=n;if(!t){return false}t.addEventListener("invalid",m,true);t.requestSubmit();t.removeEventListener("invalid",m,true);requestAnimationFrame((()=>{const n=t.querySelectorAll("[status=invalid]");for(const t of n){if(t?.validationMessage){t?.setFocus();break}}}));return true}function p(n){n.formEl?.reset()}function v(n){const{el:t,value:e}=n;const o=b(n);if(!o||a(o,t)){return}n.formEl=o;n.defaultValue=e;if(c(n)){n.defaultChecked=n.checked}const i=(n.onFormReset||h).bind(n);o.addEventListener("reset",i);r.set(n.el,i);u.add(t)}function b(e){const{el:o,form:i}=e;return i?n(o,{id:i}):t(o,"form")}function h(){f(this);if(c(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function I(n){const{el:t,formEl:e}=n;if(!e){return}const o=r.get(t);e.removeEventListener("reset",o);r.delete(t);n.formEl=null;u.delete(t)}function w(n,t){n.defaultValue=t}const E="calciteInternalHiddenInputInput";const $=n=>{n.target.dispatchEvent(new CustomEvent(E,{bubbles:true}))};const g=n=>n.removeEventListener("input",$);function k(n){const{el:t,formEl:e,name:o,value:i}=n;const{ownerDocument:c}=t;const r=t.querySelectorAll(`input[slot="${s}"]`);if(!e||!o){r.forEach((n=>{g(n);n.remove()}));return}const u=Array.isArray(i)?i:[i];const a=[];const f=new Set;r.forEach((t=>{const e=u.find((n=>n==t.value));if(e!=null){f.add(e);C(n,t,e)}else{a.push(t)}}));let l;u.forEach((t=>{if(f.has(t)){return}let e=a.pop();if(!e){e=c.createElement("input");e.slot=s}if(!l){l=c.createDocumentFragment()}l.append(e);e.addEventListener("input",$);C(n,e,t)}));if(l){t.append(l)}a.forEach((n=>{g(n);n.remove()}))}function C(n,t,e){const{defaultValue:o,disabled:i,form:s,name:r,required:u}=n;t.defaultValue=o;t.disabled=i;t.name=r;t.required=u;t.tabIndex=-1;if(s){t.setAttribute("form",s)}else{t.removeAttribute("form")}if(c(n)){t.checked=n.checked;t.defaultChecked=n.defaultChecked;t.value=n.checked?e||"on":""}else{t.value=e||""}n.syncHiddenFormInput?.(t)}const q=({component:n})=>{k(n);return e("slot",{name:s})};export{q as H,w as a,v as c,I as d,b as f,E as i,p as r,d as s};
|
|
7
|
-
//# sourceMappingURL=p-a56be6d6.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
function t(t){return t.map((t=>{let r="";for(let e=0;e<t;e++){r+=((1+Math.random())*65536|0).toString(16).substring(1)}return r})).join("-")}const r=()=>t([2,1,1,1,3]);export{r as g};
|
|
7
|
-
//# sourceMappingURL=p-a674255c.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,H as s,g as l}from"./p-c895988a.js";import{k as n}from"./p-6df32ced.js";import{i as a}from"./p-243c2697.js";import{c as o,u as c,d as r,I as h}from"./p-20a72009.js";import{g as d}from"./p-19996c53.js";import"./p-a674255c.js";import"./p-58306ee0.js";import"./p-ffc7b7bf.js";const b={lastVisibleRow:"last-visible-row"};const u=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background:var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color:var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}";const f=class{constructor(i){e(this,i);this.calciteTableRowSelect=t(this,"calciteTableRowSelect",6);this.calciteInternalTableRowFocusRequest=t(this,"calciteInternalTableRowFocusRequest",6);this.rowCells=[];this.keyDownHandler=e=>{if(this.interactionMode!=="interactive"){return}const t=e.target;const i=e.key;const s=e.ctrlKey;const l=this.rowCells;if(t.matches("calcite-table-cell")||t.matches("calcite-table-header")){switch(i){case"ArrowUp":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"previous");e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"next");e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"first");e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(t.positionInRow,this.positionAll,"last");e.preventDefault();break;case"ArrowLeft":n(l,t,"previous",false);e.preventDefault();break;case"ArrowRight":n(l,t,"next",false);e.preventDefault();break;case"Home":if(s){this.emitTableRowFocusRequest(1,this.positionAll,"first");e.preventDefault()}else{n(l,t,"first",false);e.preventDefault()}break;case"End":if(s){this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",true);e.preventDefault()}else{n(l,t,"last",false);e.preventDefault()}break}}};this.emitTableRowFocusRequest=(e,t,i,s)=>{this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:t,destination:i,lastCell:s})};this.updateCells=()=>{const e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start";const t=this.tableRowSlotEl?.assignedElements({flatten:true})?.filter((e=>e.matches("calcite-table-cell")||e.matches("calcite-table-header")));const i=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter((e=>e.numberCell||e.selectionCell));const s=i?i.concat(t):t;if(s.length>0){s?.forEach(((t,i)=>{t.interactionMode=this.interactionMode;t.lastCell=i===s.length-1;t.parentRowAlignment=e;t.parentRowIsSelected=this.selected;t.parentRowType=this.rowType;t.positionInRow=i+1;t.scale=this.scale;if(t.nodeName==="CALCITE-TABLE-CELL"){t.readCellContentsToAT=this.readCellContentsToAT;t.disabled=this.disabled}}))}this.rowCells=s||[];this.cellCount=s?.length};this.handleSelectionOfRow=()=>{this.calciteTableRowSelect.emit()};this.handleKeyboardSelection=e=>{if(a(e.key)){if(e.key===" "){e.preventDefault()}this.handleSelectionOfRow()}};this.alignment=undefined;this.disabled=false;this.selected=false;this.cellCount=undefined;this.interactionMode="interactive";this.lastVisibleRow=undefined;this.rowType=undefined;this.numbered=false;this.positionSection=undefined;this.positionSectionLocalized=undefined;this.positionAll=undefined;this.readCellContentsToAT=undefined;this.scale=undefined;this.selectionMode="none";this.selectedRowCount=undefined;this.selectedRowCountLocalized=undefined;this.bodyRowCount=undefined;this.effectiveLocale=""}handleCellChanges(){if(this.tableRowEl&&this.rowCells.length>0){this.updateCells()}}handleDelayedCellChanges(){if(this.tableRowEl&&this.rowCells.length>0){requestAnimationFrame((()=>this.updateCells()))}}componentDidLoad(){if(this.tableRowEl&&this.rowCells.length>0){this.updateCells()}}connectedCallback(){o(this)}componentDidRender(){c(this)}disconnectedCallback(){r(this)}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){const t=e.detail.cellPosition;const i=e.detail.rowPosition;const s=e.detail.destination;const l=e.detail.lastCell;if(i===this.positionAll){if(this.disabled){const e=s==="last"?"previous":s==="first"?"next":s;this.emitTableRowFocusRequest(t,this.positionAll,e);return}const e=l?this.rowCells[this.rowCells.length-1]:this.rowCells?.find(((e,i)=>i+1===t));if(e){e.setFocus()}}}}renderSelectionIcon(){const e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return i("calcite-icon",{icon:e,scale:d(this.scale)})}renderSelectableCell(){return this.rowType==="head"?i("calcite-table-header",{alignment:"center",bodyRowCount:this.bodyRowCount,key:"selection-head",onClick:this.selectionMode==="multiple"&&this.handleSelectionOfRow,onKeyDown:this.selectionMode==="multiple"&&this.handleKeyboardSelection,parentRowAlignment:this.alignment,selectedRowCount:this.selectedRowCount,selectedRowCountLocalized:this.selectedRowCountLocalized,selectionCell:true,selectionMode:this.selectionMode}):this.rowType==="body"?i("calcite-table-cell",{alignment:"center",key:"selection-body",onClick:this.handleSelectionOfRow,onKeyDown:this.handleKeyboardSelection,parentRowAlignment:this.alignment,parentRowIsSelected:this.selected,parentRowPositionLocalized:this.positionSectionLocalized,selectionCell:true},this.renderSelectionIcon()):i("calcite-table-cell",{alignment:"center",key:"selection-foot",parentRowAlignment:this.alignment,selectionCell:true})}renderNumberedCell(){return this.rowType==="head"?i("calcite-table-header",{alignment:"center",key:"numbered-head",numberCell:true,parentRowAlignment:this.alignment}):this.rowType==="body"?i("calcite-table-cell",{alignment:"center",key:"numbered-body",numberCell:true,parentRowAlignment:this.alignment},this.positionSectionLocalized):i("calcite-table-cell",{alignment:"center",key:"numbered-foot",numberCell:true,parentRowAlignment:this.alignment})}render(){return i(s,null,i(h,{disabled:this.disabled},i("tr",{"aria-disabled":this.disabled,"aria-rowindex":this.positionAll+1,"aria-selected":this.selected,class:{[b.lastVisibleRow]:this.lastVisibleRow},onKeyDown:this.keyDownHandler,ref:e=>this.tableRowEl=e},this.numbered&&this.renderNumberedCell(),this.selectionMode!=="none"&&this.renderSelectableCell(),i("slot",{onSlotchange:this.updateCells,ref:e=>this.tableRowSlotEl=e}))))}get el(){return l(this)}static get watchers(){return{bodyRowCount:["handleCellChanges"],scale:["handleCellChanges"],selected:["handleCellChanges"],selectedRowCount:["handleCellChanges"],interactionMode:["handleCellChanges"],numbered:["handleDelayedCellChanges"],selectionMode:["handleDelayedCellChanges"]}}};f.style=u;export{f as calcite_table_row};
|
|
7
|
-
//# sourceMappingURL=p-a6d88605.entry.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{a as n}from"./p-c895988a.js";import{g as t}from"./p-9d487f81.js";const s={};async function c(t,c){const a=`${c}_${t}`;if(s[a]){return s[a]}s[a]=fetch(n(`./assets/${c}/t9n/messages_${t}.json`)).then((n=>{if(!n.ok){o()}return n.json()})).catch((()=>o()));return s[a]}function o(){throw new Error("could not fetch component message bundle")}function a(n){n.messages={...n.defaultMessages,...n.messageOverrides}}async function e(n){n.defaultMessages=await i(n,n.effectiveLocale);a(n)}async function i(n,s){const{el:o}=n;const a=o.tagName.toLowerCase();const e=a.replace("calcite-","");return c(t(s,"t9n"),e)}async function f(n,t){n.defaultMessages=await i(n,t);a(n)}function r(n){n.onMessagesChange=m}function u(n){n.onMessagesChange=undefined}function m(){a(this)}export{r as c,u as d,e as s,f as u};
|
|
7
|
-
//# sourceMappingURL=p-a7d7640f.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-c895988a.js";import{b as n,s as a,f as o,t as l}from"./p-6df32ced.js";import{c as r,u as c,d,I as h}from"./p-20a72009.js";import{s as p,a as f,c as m}from"./p-60473c94.js";import{c as b}from"./p-6b60a528.js";import{S as u}from"./p-011aadb8.js";import{H as g}from"./p-3782064a.js";import{S as x,C as v,I as y}from"./p-7451e633.js";import{c as k,d as z}from"./p-9d487f81.js";import{c as w,s as C,d as S,u as j}from"./p-a7d7640f.js";import"./p-a674255c.js";import"./p-58306ee0.js";import"./p-ffc7b7bf.js";import"./p-243c2697.js";const A=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-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-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-color-border-3))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-color-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-color-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding, 0.5rem);border-block-start:1px solid var(--calcite-color-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";const H=class{constructor(i){e(this,i);this.calcitePanelClose=t(this,"calcitePanelClose",6);this.calcitePanelToggle=t(this,"calcitePanelToggle",6);this.calcitePanelScroll=t(this,"calcitePanelScroll",6);this.resizeObserver=b("resize",(()=>this.resizeHandler()));this.resizeHandler=()=>{const{panelScrollEl:e}=this;if(!e||typeof e.scrollHeight!=="number"||typeof e.offsetHeight!=="number"){return}e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1};this.setContainerRef=e=>{this.containerEl=e};this.panelKeyDownHandler=e=>{if(this.closable&&e.key==="Escape"&&!e.defaultPrevented){this.close();e.preventDefault()}};this.close=()=>{this.closed=true;this.calcitePanelClose.emit()};this.collapse=()=>{this.collapsed=!this.collapsed;this.calcitePanelToggle.emit()};this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()};this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=n(e)};this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=n(e)};this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=n(e)};this.handleActionBarSlotChange=e=>{const t=a(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal"));this.hasActionBar=!!t.length};this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=n(e)};this.handleFooterSlotChange=e=>{this.hasFooterContent=n(e)};this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=n(e)};this.handleFabSlotChange=e=>{this.hasFab=n(e)};this.setPanelScrollEl=e=>{this.panelScrollEl=e;this.resizeObserver?.disconnect();if(e){this.resizeObserver?.observe(e);this.resizeHandler()}};this.closed=false;this.disabled=false;this.closable=false;this.collapsed=false;this.collapseDirection="down";this.collapsible=false;this.headingLevel=undefined;this.loading=false;this.heading=undefined;this.description=undefined;this.menuOpen=false;this.messageOverrides=undefined;this.messages=undefined;this.overlayPositioning="absolute";this.hasStartActions=false;this.hasEndActions=false;this.hasMenuItems=false;this.hasHeaderContent=false;this.hasActionBar=false;this.hasFooterContent=false;this.hasFooterActions=false;this.hasFab=false;this.defaultMessages=undefined;this.effectiveLocale="";this.showHeaderContent=false}onMessagesChange(){}connectedCallback(){r(this);k(this);w(this)}async componentWillLoad(){p(this);await C(this)}componentDidLoad(){f(this)}componentDidRender(){c(this)}disconnectedCallback(){d(this);z(this);S(this);this.resizeObserver?.disconnect()}effectiveLocaleChange(){j(this,this.effectiveLocale)}async setFocus(){await m(this);o(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:s,hasHeaderContent:n}=this;const a=e?i(g,{class:v.heading,level:t},e):null;const o=s?i("span",{class:v.description},s):null;return!n&&(a||o)?i("div",{class:v.headerContent,key:"header-content"},a,o):null}renderActionBar(){return i("div",{class:v.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:x.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:v.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:x.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[v.headerActionsStart]:true,[v.headerActions]:true},hidden:!e,key:"header-actions-start"},i("slot",{name:x.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{hasEndActions:e,messages:t,closable:s,collapsed:n,collapseDirection:a,collapsible:o,hasMenuItems:r}=this;const{collapse:c,expand:d,close:h}=t;const p=[y.expand,y.collapse];if(a==="up"){p.reverse()}const f=o?i("calcite-action",{"aria-expanded":l(!n),"aria-label":c,"data-test":"collapse",icon:n?p[0]:p[1],onClick:this.collapse,text:c,title:n?d:c}):null;const m=s?i("calcite-action",{"aria-label":h,"data-test":"close",icon:y.close,onClick:this.close,text:h,title:h}):null;const b=i("slot",{name:x.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange});const u=e||f||m||r;return i("div",{class:{[v.headerActionsEnd]:true,[v.headerActions]:true},hidden:!u,key:"header-actions-end"},b,this.renderMenu(),f,m)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:s}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:s,overlayPositioning:this.overlayPositioning,placement:"bottom-end"},i("calcite-action",{icon:y.menu,slot:u.trigger,text:t.options}),i("slot",{name:x.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:s,closable:n,collapsible:a,hasMenuItems:o,hasActionBar:l}=this;const r=this.renderHeaderContent();const c=e||!!r||t||s||a||n||o;this.showHeaderContent=c;return i("header",{class:v.header,hidden:!(c||l)},i("div",{class:{[v.headerContainer]:true,[v.headerContainerBorderEnd]:l},hidden:!c},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),r,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;const s=e||t;return i("footer",{class:v.footer,hidden:!s},i("slot",{key:"footer-slot",name:x.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:x.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:v.contentWrapper,hidden:this.collapsible&&this.collapsed,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:v.fabContainer,hidden:!this.hasFab},i("slot",{name:x.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{disabled:e,loading:t,panelKeyDownHandler:s,closed:n,closable:a}=this;const o=i("article",{"aria-busy":l(t),class:v.container,hidden:n,onKeyDown:s,tabIndex:a?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(h,{disabled:e},t?i("calcite-scrim",{loading:t}):null,o)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};H.style=A;export{H as calcite_panel};
|
|
7
|
-
//# sourceMappingURL=p-a9549577.entry.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{a as n}from"./p-c895988a.js";import{n as t,g as r}from"./p-9d487f81.js";function e(n,t,r){if(!n){return}const e=n.getTime();const o=!(t instanceof Date)||e>=t.getTime();const s=!(r instanceof Date)||e<=r.getTime();return o&&s}function o(n,t,r){if(!(n instanceof Date)){return null}const e=n.getTime();const o=t instanceof Date&&e<t.getTime();const s=r instanceof Date&&e>r.getTime();if(o){return t}if(s){return r}return n}function s(n,t=false){if(n instanceof Date){return n}if(!n||typeof n!=="string"){return null}const r=n.split(/[: T-]/).map(parseFloat);const e=new Date(r[0],(r[1]||1)-1,r[2]||1);e.setFullYear(r[0]);if(isNaN(e.getTime())){throw new Error(`Invalid ISO 8601 date: "${n}"`)}if(t){return g(e)}return e}function a(n,t){if(!t){return null}const{separator:r}=t;const e=m(n,t);const{day:o,month:s}=e;const a=c(e.year,t);const i=new Date(a,s,o);i.setFullYear(a);const u=o>0;const f=s>-1;const d=!isNaN(i.getTime());const l=n.split(r).filter((n=>n)).length>2;const D=a.toString().length>0;if(u&&f&&d&&l&&D){return i}return null}function c(n,t){return u(n,t,"read")}function i(n,t){return u(n,t,"write")}function u(n,t,r){if(t["default-calendar"]!=="buddhist"){return n}const e=543;const o=e*(r==="read"?-1:1);return n+o}function f(n,r){const{separator:e,unitOrder:o}=r;const s=w(o);const a=n.split(e).map((n=>t.delocalize(n)));const c=a[s.indexOf("d")];const i=a[s.indexOf("m")];const u=a[s.indexOf("y")];return{day:c,month:i,year:u}}function d(n){if(n instanceof Date){return new Date(n.getTime()-n.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function l(n){const t=n.split("-");return{day:t[2],month:t[1],year:t[0]}}function D(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function p(n){const t=n.getMonth();const r=new Date(n);r.setMonth(t-1);if(t===r.getMonth()){return new Date(n.getFullYear(),t,0)}return r}function y(n){const t=n.getMonth();const r=new Date(n);r.setMonth(t+1);if((t+2)%7===r.getMonth()%7){return new Date(n.getFullYear(),t+2,0)}return r}function m(n,t){const{day:r,month:e,year:o}=f(n,t);return{day:parseInt(r),month:parseInt(e)-1,year:parseInt(o)}}function w(n){const t=["d","m","y"];const r=n.toLowerCase();return t.sort(((n,t)=>r.indexOf(n)-r.indexOf(t)))}function h(n,t){const r=n.getTime();const e=t.getTime();return(r-e)/(1e3*3600*24)}function g(n){n.setHours(23,59,59,999);return n}const I={};const j={};async function N(t){const e=r(t);if(I[e]){return I[e]}if(!j[e]){j[e]=fetch(n(`./assets/date-picker/nls/${e}.json`)).then((n=>n.json())).catch((()=>{console.error(`Translations for "${e}" not found or invalid, falling back to english`);return N("en")}))}const o=await j[e];I[e]=o;return o}function b(n){return n.map(((n,t)=>s(n,t===1)))}export{f as a,a as b,d as c,l as d,s as e,N as f,b as g,o as h,e as i,h as j,D as k,w as l,i as m,y as n,c as o,p,g as s};
|
|
7
|
-
//# sourceMappingURL=p-a97f7660.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{d as r}from"./p-f02f3fc2.js";import"./p-c895988a.js";import"./p-a56be6d6.js";import"./p-6df32ced.js";import"./p-a674255c.js";import"./p-58306ee0.js";import"./p-20a72009.js";import"./p-ffc7b7bf.js";import"./p-243c2697.js";import"./p-1efd04f8.js";import"./p-19996c53.js";import"./p-60473c94.js";import"./p-9d487f81.js";import"./p-6b60a528.js";import"./p-0c6013b1.js";import"./p-37e6bdc7.js";import"./p-a7d7640f.js";import"./p-cb18e9ad.js";import"./p-b3a8fef2.js";var _={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function r(_,t){switch(t){case"W":return _+"週";default:return _+"日"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function r(_,t){var e=_*100+t;if(e<600){return"凌晨"}else if(e<900){return"早上"}else if(e<1100){return"上午"}else if(e<1300){return"中午"}else if(e<1800){return"下午"}return"晚上"}};r.locale(_,null,true);export default _;
|
|
7
|
-
//# sourceMappingURL=p-ad3bcf2e.js.map
|
|
@@ -1,7 +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
|
-
* v2.7.0
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,h as t,g as s}from"./p-c895988a.js";import{c as i,d as a}from"./p-9d487f81.js";import{u as n,c,s as r,d as o}from"./p-a7d7640f.js";import{c as l}from"./p-6b60a528.js";import{y as d}from"./p-6df32ced.js";import"./p-243c2697.js";import"./p-a674255c.js";import"./p-58306ee0.js";const h={scrim:"scrim",content:"content"};const m={s:72,l:480};const f=":host{--calcite-scrim-background:var(--calcite-color-transparent-scrim);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";const p=class{constructor(t){e(this,t);this.resizeObserver=l("resize",(()=>this.handleResize()));this.handleDefaultSlotChange=e=>{this.hasContent=d(e)};this.storeLoaderEl=e=>{this.loaderEl=e;this.handleResize()};this.loading=false;this.messages=undefined;this.messageOverrides=undefined;this.loaderScale=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.hasContent=false}onMessagesChange(){}effectiveLocaleChange(){n(this,this.effectiveLocale)}connectedCallback(){i(this);c(this);this.resizeObserver?.observe(this.el)}async componentWillLoad(){await r(this)}disconnectedCallback(){a(this);o(this);this.resizeObserver?.disconnect()}render(){const{hasContent:e,loading:s,messages:i}=this;return t("div",{class:h.scrim},s?t("calcite-loader",{label:i.loading,scale:this.loaderScale,ref:this.storeLoaderEl}):null,t("div",{class:h.content,hidden:!e},t("slot",{onSlotchange:this.handleDefaultSlotChange})))}getScale(e){if(e<m.s){return"s"}else if(e>=m.l){return"l"}else{return"m"}}handleResize(){const{loaderEl:e,el:t}=this;if(!e){return}this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.style=f;export{p as calcite_scrim};
|
|
7
|
-
//# sourceMappingURL=p-ad809b1e.entry.js.map
|