@esri/calcite-components 1.0.0-next.596 → 1.0.0-next.598
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/messages.json +31 -0
- package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-010dd109.entry.js +6 -0
- package/dist/calcite/{p-6fab9a7a.js → p-02c03af1.js} +1 -1
- package/dist/calcite/p-02d86d44.js +6 -0
- package/dist/calcite/p-03bdf648.entry.js +6 -0
- package/dist/calcite/p-062ce043.entry.js +6 -0
- package/dist/calcite/p-0deab0a4.entry.js +6 -0
- package/dist/calcite/{p-8d83e629.js → p-0edd33c6.js} +2 -2
- package/dist/calcite/{p-9f8a6b31.js → p-0f5f53c2.js} +1 -1
- package/dist/calcite/p-10c92db7.entry.js +6 -0
- package/dist/calcite/p-12b30d17.entry.js +6 -0
- package/dist/calcite/p-1352273d.entry.js +6 -0
- package/dist/calcite/p-176c7c94.entry.js +6 -0
- package/dist/calcite/p-18ebc779.entry.js +6 -0
- package/dist/calcite/{p-df63f732.js → p-1db0a85d.js} +2 -2
- package/dist/calcite/p-219e2e73.entry.js +6 -0
- package/dist/calcite/p-2ab04b0f.entry.js +6 -0
- package/dist/calcite/p-2f357624.entry.js +6 -0
- package/dist/calcite/p-2f52a669.entry.js +6 -0
- package/dist/calcite/p-2fecb26e.js +6 -0
- package/dist/calcite/{p-a8c6757c.js → p-36a2b846.js} +1 -1
- package/dist/calcite/{p-9a3c3fc8.js → p-36c1c94c.js} +1 -1
- package/dist/calcite/p-37bc6ac2.entry.js +6 -0
- package/dist/calcite/p-392906a6.entry.js +6 -0
- package/dist/calcite/p-3941a63c.js +6 -0
- package/dist/calcite/p-3b9a8c5f.entry.js +6 -0
- package/dist/calcite/p-404e08b8.entry.js +6 -0
- package/dist/calcite/p-41aa50b7.entry.js +6 -0
- package/dist/calcite/{p-10d16edb.js → p-41c52f7c.js} +2 -2
- package/dist/calcite/{p-d7f23fcf.js → p-43b4a53e.js} +1 -1
- package/dist/calcite/p-44aecb14.js +7 -0
- package/dist/calcite/p-49529d9e.entry.js +6 -0
- package/dist/calcite/{p-6b45b297.js → p-4987b4ee.js} +1 -1
- package/dist/calcite/p-4cb9c524.entry.js +6 -0
- package/dist/calcite/p-4e5fcfd7.entry.js +6 -0
- package/dist/calcite/p-4eeb34ad.entry.js +6 -0
- package/dist/calcite/p-5139ac26.entry.js +6 -0
- package/dist/calcite/p-53c34094.entry.js +6 -0
- package/dist/calcite/{p-770a316f.js → p-543a5925.js} +1 -1
- package/dist/calcite/p-58ea74ab.entry.js +6 -0
- package/dist/calcite/{p-13eef16b.js → p-5d29962c.js} +1 -1
- package/dist/calcite/p-5e355fbb.entry.js +6 -0
- package/dist/calcite/p-66011932.entry.js +6 -0
- package/dist/calcite/p-665605d0.entry.js +6 -0
- package/dist/calcite/p-6d221ee4.entry.js +6 -0
- package/dist/calcite/{p-93647858.js → p-77a66a54.js} +2 -2
- package/dist/calcite/{p-b6d7bb31.js → p-7951d360.js} +2 -2
- package/dist/calcite/p-7c084561.entry.js +6 -0
- package/dist/calcite/p-7cb27f2a.entry.js +6 -0
- package/dist/calcite/{p-1689e7ab.js → p-7fa0faec.js} +1 -1
- package/dist/calcite/p-820a08a7.entry.js +6 -0
- package/dist/calcite/p-83ece20a.entry.js +6 -0
- package/dist/calcite/{p-9e4453d8.entry.js → p-857f0433.entry.js} +2 -2
- package/dist/calcite/p-91ec0aa8.entry.js +6 -0
- package/dist/calcite/p-92976168.entry.js +6 -0
- package/dist/calcite/{p-6377d482.js → p-93cd79e0.js} +1 -1
- package/dist/calcite/p-999f8f79.entry.js +6 -0
- package/dist/calcite/p-9c54742f.entry.js +6 -0
- package/dist/calcite/p-9fd20f7e.entry.js +6 -0
- package/dist/calcite/p-a7862fd2.entry.js +6 -0
- package/dist/calcite/p-aa9d985d.js +6 -0
- package/dist/calcite/{p-3e4bf2de.js → p-ae75f7f9.js} +1 -1
- package/dist/calcite/{p-409af2eb.js → p-b10d453d.js} +1 -1
- package/dist/calcite/p-b5abec95.entry.js +6 -0
- package/dist/calcite/p-b5d68e9b.entry.js +6 -0
- package/dist/calcite/p-b62081a4.entry.js +6 -0
- package/dist/calcite/p-bc460116.entry.js +6 -0
- package/dist/calcite/p-bce0e288.js +6 -0
- package/dist/calcite/{p-44c85d7f.js → p-bd6478ee.js} +2 -2
- package/dist/calcite/p-cbbaffb1.entry.js +6 -0
- package/dist/calcite/p-cd2d103c.entry.js +6 -0
- package/dist/calcite/p-cd3d6d8a.entry.js +6 -0
- package/dist/calcite/p-d274cd75.entry.js +6 -0
- package/dist/calcite/p-d393cf2a.entry.js +6 -0
- package/dist/calcite/p-dd4f0eb4.entry.js +6 -0
- package/dist/calcite/p-dd73aa68.entry.js +6 -0
- package/dist/calcite/{p-f848a6b0.js → p-e1fa8d26.js} +2 -2
- package/dist/calcite/p-e3158aba.entry.js +6 -0
- package/dist/calcite/p-e43df264.entry.js +6 -0
- package/dist/calcite/p-e6757fa4.js +6 -0
- package/dist/calcite/{p-8a29e1f5.js → p-e86518a3.js} +1 -1
- package/dist/calcite/p-eb8e9bec.entry.js +6 -0
- package/dist/calcite/p-ecfdca0f.entry.js +6 -0
- package/dist/calcite/p-f1cc17e7.entry.js +6 -0
- package/dist/calcite/p-f21ff110.entry.js +6 -0
- package/dist/calcite/{p-311e41bb.js → p-f4970d48.js} +1 -1
- package/dist/calcite/p-f707cf6d.entry.js +6 -0
- package/dist/calcite/p-fd07c84a.entry.js +6 -0
- package/dist/calcite/p-fd177f5d.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-80ef82c7.js → ExpandToggle-ab03bc61.js} +5 -5
- package/dist/cjs/{Heading-33db6b85.js → Heading-2b3d0f1c.js} +2 -2
- package/dist/cjs/{app-globals-fd934cae.js → app-globals-3d7459b7.js} +2 -2
- package/dist/cjs/{array-c0cc85de.js → array-0903a4d0.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -12
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +17 -16
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +29 -24
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +19 -18
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +32 -28
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +45 -40
- package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-number.cjs.entry.js +63 -44
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +145 -89
- package/dist/cjs/calcite-input.cjs.entry.js +86 -64
- package/dist/cjs/calcite-label.cjs.entry.js +16 -16
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +7 -7
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +28 -24
- package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +42 -20
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +21 -21
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +13 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +133 -86
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-6bcc1a43.js → conditionalSlot-4b981e1a.js} +3 -3
- package/dist/cjs/{debounce-7a430467.js → debounce-6ac6d224.js} +1 -1
- package/dist/cjs/{dom-58cda112.js → dom-2aaee0df.js} +29 -3
- package/dist/cjs/{filter-b7bd3662.js → filter-10c27a83.js} +3 -4
- package/dist/cjs/{floating-ui-a78b95ef.js → floating-ui-bf70093a.js} +2 -2
- package/dist/cjs/{form-e31078d9.js → form-47d1e430.js} +3 -3
- package/dist/cjs/{guid-8b3a200d.js → guid-1b12a751.js} +1 -1
- package/dist/cjs/{index-f9989f5d.js → index-457a5a54.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a77d0ef0.js → interactive-e35bd87f.js} +1 -1
- package/dist/cjs/{interfaces-522c5f39.js → interfaces-58d0b0fb.js} +1 -1
- package/dist/cjs/{key-167ee472.js → key-5b6abad3.js} +1 -1
- package/dist/cjs/{label-762f03a5.js → label-bcb3c8cc.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-c66b8c43.js +392 -0
- package/dist/cjs/{math-42a15095.js → math-9a4a9057.js} +1 -1
- package/dist/cjs/observers-6c3955d2.js +48 -0
- package/dist/cjs/{openCloseComponent-d20e03e7.js → openCloseComponent-d5404853.js} +1 -1
- package/dist/cjs/{resources-8a806639.js → resources-29b287c0.js} +1 -1
- package/dist/cjs/{resources-8ffd1200.js → resources-7103f0d8.js} +1 -1
- package/dist/cjs/{resources-8912222b.js → resources-83acf426.js} +1 -1
- package/dist/cjs/{resources-f2712948.js → resources-a636e50a.js} +5 -5
- package/dist/cjs/{resources-aba47c80.js → resources-c689e9d0.js} +11 -31
- package/dist/cjs/{resources-cd1870a1.js → resources-d8da865a.js} +1 -1
- package/dist/cjs/{sortable.esm-cd4b2dcd.js → sortable.esm-4c7fab47.js} +1 -1
- package/dist/cjs/{utils-6617f268.js → utils-147a89d2.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +162 -153
- package/dist/collection/components/accordion/accordion.stories.js +197 -0
- package/dist/collection/components/accordion/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/accordion-item.js +304 -308
- package/dist/collection/components/accordion-item/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -1
- package/dist/collection/components/action/action.js +298 -295
- package/dist/collection/components/action/action.stories.js +181 -0
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +241 -234
- package/dist/collection/components/action-bar/action-bar.stories.js +141 -0
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +138 -135
- package/dist/collection/components/action-group/action-group.stories.js +41 -0
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +222 -211
- package/dist/collection/components/action-menu/action-menu.stories.js +26 -0
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +198 -191
- package/dist/collection/components/action-pad/action-pad.stories.js +107 -0
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +413 -376
- package/dist/collection/components/alert/alert.stories.js +140 -0
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +107 -99
- package/dist/collection/components/avatar/avatar.stories.js +44 -0
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -0
- package/dist/collection/components/block/block.js +319 -326
- package/dist/collection/components/block/block.stories.js +158 -0
- package/dist/collection/components/block/resources.js +3 -2
- package/dist/collection/components/block-section/block-section.js +143 -145
- package/dist/collection/components/block-section/interfaces.js +0 -5
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +430 -424
- package/dist/collection/components/button/button.stories.js +129 -0
- package/dist/collection/components/button/interfaces.js +0 -5
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +171 -179
- package/dist/collection/components/card/card.stories.js +225 -0
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +269 -264
- package/dist/collection/components/checkbox/checkbox.stories.js +43 -0
- package/dist/collection/components/chip/chip.js +258 -253
- package/dist/collection/components/chip/chip.stories.js +85 -0
- package/dist/collection/components/chip/interfaces.js +0 -5
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +779 -780
- package/dist/collection/components/color-picker/color-picker.stories.js +80 -0
- package/dist/collection/components/color-picker/interfaces.js +0 -5
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +189 -170
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +81 -75
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +551 -550
- package/dist/collection/components/combobox/combobox.stories.js +387 -0
- package/dist/collection/components/combobox/interfaces.js +0 -5
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +241 -235
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/collection/components/date-picker/date-picker.js +462 -447
- package/dist/collection/components/date-picker/interfaces.js +0 -5
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +2 -22
- package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
- package/dist/collection/components/date-picker-day/date-picker-day.js +284 -278
- package/dist/collection/components/date-picker-month/date-picker-month.js +256 -249
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -8
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +231 -230
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +422 -411
- package/dist/collection/components/dropdown/dropdown.stories.js +408 -0
- package/dist/collection/components/dropdown/interfaces.js +0 -5
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
- package/dist/collection/components/dropdown-group/interfaces.js +0 -5
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +205 -197
- package/dist/collection/components/fab/fab.stories.js +96 -0
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +200 -191
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +55 -46
- package/dist/collection/components/flow/flow.stories.js +151 -0
- package/dist/collection/components/flow/interfaces.js +0 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +400 -395
- package/dist/collection/components/flow-item/flow-item.stories.js +181 -0
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +125 -125
- package/dist/collection/components/graph/graph.stories.js +77 -0
- package/dist/collection/components/graph/interfaces.js +0 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +94 -85
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +107 -98
- package/dist/collection/components/icon/icon.stories.js +26 -0
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +274 -266
- package/dist/collection/components/inline-editable/inline-editable.stories.js +70 -0
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -0
- package/dist/collection/components/input/input.js +878 -861
- package/dist/collection/components/input/input.stories.js +146 -0
- package/dist/collection/components/input/interfaces.js +0 -5
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +799 -793
- package/dist/collection/components/input-date-picker/input-date-picker.stories.js +79 -0
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +124 -118
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -20
- package/dist/collection/components/input-number/input-number.js +810 -794
- package/dist/collection/components/input-number/input-number.stories.js +124 -0
- package/dist/collection/components/input-number/interfaces.js +0 -5
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -20
- package/dist/collection/components/input-text/input-text.js +602 -603
- package/dist/collection/components/input-text/input-text.stories.js +99 -0
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +652 -579
- package/dist/collection/components/input-time-picker/input-time-picker.stories.js +77 -0
- package/dist/collection/components/interfaces.js +0 -5
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +189 -183
- package/dist/collection/components/label/label.stories.js +178 -0
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +186 -180
- package/dist/collection/components/link/link.stories.js +89 -0
- package/dist/collection/components/list/list.js +76 -70
- package/dist/collection/components/list/list.stories.js +187 -0
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +109 -113
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +54 -51
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +169 -172
- package/dist/collection/components/loader/loader.stories.js +42 -0
- package/dist/collection/components/modal/interfaces.js +0 -5
- package/dist/collection/components/modal/modal.js +478 -481
- package/dist/collection/components/modal/modal.stories.js +66 -0
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +269 -267
- package/dist/collection/components/notice/notice.stories.js +90 -0
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +118 -108
- package/dist/collection/components/option-group/option-group.js +81 -73
- package/dist/collection/components/pagination/pagination.js +266 -258
- package/dist/collection/components/pagination/pagination.stories.js +37 -0
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.js +557 -563
- package/dist/collection/components/panel/panel.stories.js +181 -0
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +255 -241
- package/dist/collection/components/pick-list/pick-list.stories.js +142 -0
- 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 +2 -9
- package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +551 -544
- package/dist/collection/components/popover/popover.stories.js +95 -0
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +60 -52
- package/dist/collection/components/progress/progress.js +112 -104
- package/dist/collection/components/progress/progress.stories.js +28 -0
- package/dist/collection/components/radio-button/radio-button.js +348 -337
- package/dist/collection/components/radio-button/radio-button.stories.js +43 -0
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js +67 -0
- package/dist/collection/components/radio-group/interfaces.js +0 -5
- package/dist/collection/components/radio-group/radio-group.js +256 -244
- package/dist/collection/components/radio-group/radio-group.stories.js +79 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +276 -277
- package/dist/collection/components/rating/rating.stories.js +42 -0
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +57 -54
- package/dist/collection/components/scrim/scrim.stories.js +70 -0
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +228 -219
- package/dist/collection/components/select/select.stories.js +109 -0
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +38 -43
- package/dist/collection/components/shell/shell.stories.js +482 -0
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +187 -179
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +600 -637
- package/dist/collection/components/slider/slider.stories.js +227 -0
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +153 -142
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +366 -360
- package/dist/collection/components/split-button/split-button.stories.js +112 -0
- package/dist/collection/components/stepper/interfaces.js +0 -5
- package/dist/collection/components/stepper/stepper.js +270 -236
- package/dist/collection/components/stepper/stepper.stories.js +163 -0
- package/dist/collection/components/stepper-item/stepper-item.js +430 -400
- package/dist/collection/components/switch/switch.js +190 -182
- package/dist/collection/components/switch/switch.stories.js +32 -0
- package/dist/collection/components/tab/interfaces.js +0 -5
- package/dist/collection/components/tab/tab.js +194 -181
- package/dist/collection/components/tab-nav/tab-nav.js +285 -275
- package/dist/collection/components/tab-title/tab-title.js +468 -456
- package/dist/collection/components/tabs/interfaces.js +0 -5
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +134 -127
- package/dist/collection/components/tabs/tabs.stories.js +223 -0
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +174 -178
- package/dist/collection/components/tile/tile.stories.js +81 -0
- package/dist/collection/components/tile-select/interfaces.js +0 -5
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +352 -338
- package/dist/collection/components/tile-select/tile-select.stories.js +137 -0
- package/dist/collection/components/tile-select-group/interfaces.js +0 -5
- package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
- package/dist/collection/components/tile-select-group/tile-select-group.stories.js +89 -0
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +575 -550
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +144 -145
- package/dist/collection/components/tip/tip.stories.js +60 -0
- package/dist/collection/components/tip-group/tip-group.js +33 -27
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +226 -222
- package/dist/collection/components/tip-manager/tip-manager.stories.js +115 -0
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +221 -211
- package/dist/collection/components/tooltip/tooltip.stories.js +60 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +276 -244
- package/dist/collection/components/tree/tree.stories.js +76 -0
- package/dist/collection/components/tree/utils.js +21 -0
- package/dist/collection/components/tree-item/interfaces.js +0 -5
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +17 -3
- package/dist/collection/components/tree-item/tree-item.js +300 -270
- package/dist/collection/components/value-list/interfaces.js +0 -5
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +348 -334
- package/dist/collection/components/value-list/value-list.stories.js +125 -0
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +286 -279
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +26 -1
- package/dist/collection/utils/filter.js +2 -3
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +180 -64
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +33 -31
- package/dist/collection/utils/observers.js +31 -7
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +110 -0
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +16 -14
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +6 -5
- package/dist/components/action.js +8 -8
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +19 -7
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +7 -6
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +2 -2
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +6 -4
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +13 -12
- package/dist/components/calcite-flow.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-input-date-picker.js +36 -30
- package/dist/components/calcite-input-message.js +5 -5
- package/dist/components/calcite-input-number.js +45 -26
- package/dist/components/calcite-input-text.js +10 -10
- package/dist/components/calcite-input-time-picker.js +73 -31
- 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 +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +10 -10
- package/dist/components/calcite-notice.js +8 -8
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +15 -11
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +8 -8
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +5 -5
- package/dist/components/calcite-radio-button.js +6 -6
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +5 -5
- package/dist/components/calcite-rating.js +6 -6
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +5 -5
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-shell-panel.js +6 -6
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +22 -18
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +8 -6
- package/dist/components/calcite-stepper-item.js +33 -12
- package/dist/components/calcite-stepper.js +5 -4
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +4 -4
- package/dist/components/calcite-tile-select.js +7 -7
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +4 -4
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +14 -5
- package/dist/components/calcite-tree.js +115 -76
- package/dist/components/calcite-value-list-item.js +6 -6
- package/dist/components/calcite-value-list.js +9 -9
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +6 -6
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +14 -28
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +27 -2
- package/dist/components/dropdown.js +5 -3
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +2 -3
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +68 -46
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +11 -11
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +6 -6
- package/dist/components/loader.js +5 -5
- package/dist/components/locale.js +381 -0
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +31 -7
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +24 -23
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +17 -13
- package/dist/components/progress.js +9 -4
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +3 -3
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -6
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +5 -5
- package/dist/components/tabs.js +5 -5
- package/dist/components/tile.js +6 -6
- package/dist/components/time-picker.js +56 -39
- package/dist/components/tooltip.js +6 -4
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-b94e1fe2.js → ExpandToggle-c4680d33.js} +5 -5
- package/dist/esm/{Heading-9398c9e6.js → Heading-101a701e.js} +2 -2
- package/dist/esm/{app-globals-1f65a164.js → app-globals-ce2cbf03.js} +2 -2
- package/dist/esm/{array-3ac5d2ad.js → array-2549899e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +14 -14
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +13 -12
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +25 -13
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +17 -16
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip.entry.js +9 -9
- package/dist/esm/calcite-color-picker_3.entry.js +13 -13
- package/dist/esm/calcite-combobox_3.entry.js +21 -19
- package/dist/esm/calcite-date-picker_4.entry.js +29 -24
- package/dist/esm/calcite-dropdown_3.entry.js +17 -15
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +19 -18
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +32 -28
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +45 -40
- package/dist/esm/calcite-input-message.entry.js +9 -9
- package/dist/esm/calcite-input-number.entry.js +54 -35
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +129 -73
- package/dist/esm/calcite-input.entry.js +77 -55
- package/dist/esm/calcite-label.entry.js +16 -16
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +7 -7
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +17 -17
- package/dist/esm/calcite-pagination.entry.js +20 -13
- package/dist/esm/calcite-panel.entry.js +33 -32
- package/dist/esm/calcite-pick-list_3.entry.js +27 -27
- package/dist/esm/calcite-popover_2.entry.js +28 -24
- package/dist/esm/calcite-progress.entry.js +10 -5
- package/dist/esm/calcite-radio-button-group.entry.js +7 -7
- package/dist/esm/calcite-radio-button.entry.js +14 -14
- package/dist/esm/calcite-radio-group_2.entry.js +17 -17
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +4 -4
- package/dist/esm/calcite-shell_3.entry.js +17 -17
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +10 -8
- package/dist/esm/calcite-stepper_2.entry.js +42 -20
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-tab_4.entry.js +21 -21
- package/dist/esm/calcite-tile-select_2.entry.js +13 -13
- package/dist/esm/calcite-tile.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js +14 -14
- package/dist/esm/calcite-tooltip_2.entry.js +13 -11
- package/dist/esm/calcite-tree_2.entry.js +133 -86
- package/dist/esm/calcite-value-list_2.entry.js +25 -25
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-5b35c2f6.js → conditionalSlot-97eefd44.js} +3 -3
- package/dist/esm/{debounce-3b1693a8.js → debounce-eb8de851.js} +1 -1
- package/dist/esm/{dom-4436bd07.js → dom-648b4a2f.js} +29 -4
- package/dist/esm/{filter-8af4eb80.js → filter-7d351602.js} +3 -4
- package/dist/esm/{floating-ui-fcf59cab.js → floating-ui-65b7d762.js} +2 -2
- package/dist/esm/{form-c902fafa.js → form-6ee82a1e.js} +3 -3
- package/dist/esm/{guid-cd505852.js → guid-3260dd45.js} +1 -1
- package/dist/esm/{index-61da5fbc.js → index-cf16b53b.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6cafa58c.js → interactive-53846bd5.js} +1 -1
- package/dist/esm/{interfaces-401a4071.js → interfaces-5bcff418.js} +1 -1
- package/dist/esm/{key-d6e66ea5.js → key-a3bce814.js} +1 -1
- package/dist/esm/{label-6c6aade5.js → label-a2d9ea4b.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-66ebbf7a.js +381 -0
- package/dist/esm/{math-35a0e454.js → math-a5ac6592.js} +1 -1
- package/dist/esm/observers-85e8fe58.js +46 -0
- package/dist/esm/{openCloseComponent-16d8c6cb.js → openCloseComponent-926c5b7a.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-54c26d1b.js → resources-19dbedf3.js} +1 -1
- package/dist/esm/{resources-1e0c6832.js → resources-386257f3.js} +1 -1
- package/dist/esm/{resources-cd0c5121.js → resources-418fb8c6.js} +3 -23
- package/dist/esm/{resources-54732430.js → resources-6177d83d.js} +1 -1
- package/dist/esm/{resources-ce568df4.js → resources-8468e332.js} +1 -1
- package/dist/esm/{resources-6e9455eb.js → resources-ab13d20f.js} +5 -5
- package/dist/esm/{sortable.esm-dcbb5a29.js → sortable.esm-aca7e683.js} +1 -1
- package/dist/esm/{utils-ad1cc5e3.js → utils-78b2f096.js} +1 -1
- package/dist/extras/docs-json.json +1433 -514
- package/dist/index.js +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 +2 -2
- package/dist/loader/package.json +1 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
- package/dist/types/components/action/action.d.ts +8 -8
- package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +3 -3
- package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +2 -2
- package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
- package/dist/types/components/action-menu/action-menu.d.ts +4 -3
- package/dist/types/components/action-pad/action-pad.d.ts +2 -2
- package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
- package/dist/types/components/alert/alert.d.ts +12 -6
- package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
- package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
- package/dist/types/components/block/resources.d.ts +2 -1
- package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
- package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +3 -3
- package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
- package/dist/types/components/chip/chip.d.ts +3 -3
- package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
- package/dist/types/components/color-picker/color-picker.d.ts +3 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -2
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +5 -3
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/types/components/date-picker/date-picker.d.ts +4 -4
- package/dist/types/components/dropdown/dropdown.d.ts +4 -2
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -1
- package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/flow-item/flow-item.d.ts +7 -8
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -32
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +45 -40
- package/dist/types/components/input-message/input-message.d.ts +6 -9
- package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +17 -19
- package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
- package/dist/types/components/input-text/input-text.d.ts +10 -10
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +35 -28
- package/dist/types/components/label/label.d.ts +10 -10
- package/dist/types/components/link/link.d.ts +8 -8
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +9 -4
- package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +10 -10
- package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/notice.d.ts +7 -8
- package/dist/types/components/option/option.d.ts +2 -2
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
- package/dist/types/components/pagination/pagination.d.ts +5 -8
- package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
- package/dist/types/components/panel/panel.d.ts +21 -23
- package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list/pick-list.d.ts +7 -7
- package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
- package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +16 -12
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
- package/dist/types/components/progress/progress.d.ts +7 -2
- package/dist/types/components/radio-button/radio-button.d.ts +6 -6
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
- package/dist/types/components/radio-group/radio-group.d.ts +3 -3
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
- package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +4 -4
- package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
- package/dist/types/components/scrim/scrim.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +4 -4
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
- package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
- package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
- package/dist/types/components/slider/slider.d.ts +18 -20
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +9 -7
- package/dist/types/components/stepper/stepper.d.ts +7 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
- package/dist/types/components/switch/switch.d.ts +6 -6
- package/dist/types/components/tab/tab.d.ts +3 -3
- package/dist/types/components/tab-title/tab-title.d.ts +8 -8
- package/dist/types/components/tabs/tabs.d.ts +3 -3
- package/dist/types/components/tile/tile.d.ts +5 -5
- package/dist/types/components/tile-select/tile-select.d.ts +5 -5
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
- package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
- package/dist/types/components/time-picker/time-picker.d.ts +13 -8
- package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
- package/dist/types/components/tip/tip.d.ts +2 -2
- package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +9 -3
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree/utils.d.ts +1 -0
- package/dist/types/components/tree-item/tree-item.d.ts +10 -4
- package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
- package/dist/types/components/value-list/value-list.d.ts +16 -16
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
- package/dist/types/components.d.ts +761 -726
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/dom.d.ts +10 -0
- package/dist/types/utils/locale.d.ts +80 -11
- package/dist/types/utils/number.d.ts +3 -5
- package/dist/types/utils/observers.d.ts +5 -1
- package/dist/types/utils/t9n.d.ts +88 -0
- package/dist/types/utils/time.d.ts +29 -5
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1874 -1553
- package/package.json +24 -21
- package/dist/calcite/calcite.js +0 -131
- package/dist/calcite/p-01084455.entry.js +0 -6
- package/dist/calcite/p-0171edf2.entry.js +0 -6
- package/dist/calcite/p-053beb3b.system.entry.js +0 -6
- package/dist/calcite/p-066e7b95.entry.js +0 -6
- package/dist/calcite/p-078bf287.system.entry.js +0 -6
- package/dist/calcite/p-08582520.system.entry.js +0 -6
- package/dist/calcite/p-0a33ea71.entry.js +0 -6
- package/dist/calcite/p-0e5463f9.entry.js +0 -6
- package/dist/calcite/p-0ecef714.js +0 -6
- package/dist/calcite/p-0f1d9b98.system.entry.js +0 -6
- package/dist/calcite/p-0f4d2a35.system.entry.js +0 -6
- package/dist/calcite/p-0fe5235a.system.js +0 -6
- package/dist/calcite/p-0ff05607.entry.js +0 -6
- package/dist/calcite/p-10eee6b3.system.js +0 -6
- package/dist/calcite/p-128503da.entry.js +0 -6
- package/dist/calcite/p-14ccc0d9.entry.js +0 -6
- package/dist/calcite/p-153c05a0.js +0 -7
- package/dist/calcite/p-178adc2e.system.entry.js +0 -6
- package/dist/calcite/p-195fae84.entry.js +0 -6
- package/dist/calcite/p-1a31ff14.entry.js +0 -6
- package/dist/calcite/p-1ae41816.system.entry.js +0 -6
- package/dist/calcite/p-1b21cf49.entry.js +0 -6
- package/dist/calcite/p-1df9515b.entry.js +0 -6
- package/dist/calcite/p-1f71a1f3.entry.js +0 -6
- package/dist/calcite/p-21df7481.entry.js +0 -6
- package/dist/calcite/p-2286c402.entry.js +0 -6
- package/dist/calcite/p-23829a7c.system.entry.js +0 -6
- package/dist/calcite/p-2ae16ecd.system.js +0 -6
- package/dist/calcite/p-2c1b84b8.system.entry.js +0 -6
- package/dist/calcite/p-2dbafa0e.system.entry.js +0 -6
- package/dist/calcite/p-2ddf20c1.entry.js +0 -6
- package/dist/calcite/p-2e41fabd.system.entry.js +0 -6
- package/dist/calcite/p-2e9f9c77.entry.js +0 -6
- package/dist/calcite/p-2f7e077f.system.entry.js +0 -6
- package/dist/calcite/p-30cc3512.system.js +0 -6
- package/dist/calcite/p-3308bd8c.system.entry.js +0 -6
- package/dist/calcite/p-336737ce.system.entry.js +0 -6
- package/dist/calcite/p-34565e87.system.js +0 -6
- package/dist/calcite/p-37a1e422.system.js +0 -6
- package/dist/calcite/p-37bd9759.system.entry.js +0 -6
- package/dist/calcite/p-3a51faac.system.entry.js +0 -6
- package/dist/calcite/p-3b0ab13f.entry.js +0 -6
- package/dist/calcite/p-3fa648a6.system.js +0 -6
- package/dist/calcite/p-4855edd6.system.entry.js +0 -6
- package/dist/calcite/p-4ae05971.system.entry.js +0 -6
- package/dist/calcite/p-4e650ae3.entry.js +0 -6
- package/dist/calcite/p-4ea81ee8.system.entry.js +0 -6
- package/dist/calcite/p-4f999803.system.entry.js +0 -6
- package/dist/calcite/p-4fab2c01.system.js +0 -7
- package/dist/calcite/p-50352c86.system.js +0 -6
- package/dist/calcite/p-5463e965.entry.js +0 -6
- package/dist/calcite/p-56aa2ee6.system.js +0 -6
- package/dist/calcite/p-5a1d3074.system.js +0 -6
- package/dist/calcite/p-5c0d6300.system.entry.js +0 -6
- package/dist/calcite/p-5c193aaf.entry.js +0 -6
- package/dist/calcite/p-5d681f1f.system.js +0 -6
- package/dist/calcite/p-5e1a4c6a.entry.js +0 -6
- package/dist/calcite/p-5ef02486.system.js +0 -6
- package/dist/calcite/p-603b3f3b.system.js +0 -6
- package/dist/calcite/p-65f981cc.system.js +0 -6
- package/dist/calcite/p-66d6175b.system.entry.js +0 -6
- package/dist/calcite/p-6817a388.system.entry.js +0 -6
- package/dist/calcite/p-712673ee.entry.js +0 -6
- package/dist/calcite/p-7148500f.entry.js +0 -6
- package/dist/calcite/p-715ff3ee.system.js +0 -6
- package/dist/calcite/p-71e932d2.system.js +0 -6
- package/dist/calcite/p-74f40869.entry.js +0 -6
- package/dist/calcite/p-768b7c96.system.entry.js +0 -6
- package/dist/calcite/p-77fadf98.entry.js +0 -6
- package/dist/calcite/p-7932a17d.system.js +0 -12
- package/dist/calcite/p-7aed292d.js +0 -6
- package/dist/calcite/p-7bf8e945.entry.js +0 -6
- package/dist/calcite/p-7d3c6c3c.entry.js +0 -6
- package/dist/calcite/p-7e96bb79.entry.js +0 -6
- package/dist/calcite/p-821266d4.entry.js +0 -6
- package/dist/calcite/p-82283c1d.entry.js +0 -6
- package/dist/calcite/p-830c7c7b.system.js +0 -6
- package/dist/calcite/p-8358768c.system.entry.js +0 -6
- package/dist/calcite/p-882c15d1.system.entry.js +0 -6
- package/dist/calcite/p-8bd8264d.js +0 -6
- package/dist/calcite/p-8ca19c2d.js +0 -6
- package/dist/calcite/p-8d36d6c1.system.entry.js +0 -6
- package/dist/calcite/p-8d996e47.system.entry.js +0 -6
- package/dist/calcite/p-8d9f078a.system.entry.js +0 -6
- package/dist/calcite/p-8e370f1d.js +0 -6
- package/dist/calcite/p-9026d51a.system.entry.js +0 -6
- package/dist/calcite/p-93ce252a.entry.js +0 -6
- package/dist/calcite/p-93fd0e15.entry.js +0 -6
- package/dist/calcite/p-9644ce73.system.entry.js +0 -6
- package/dist/calcite/p-9771d02c.system.entry.js +0 -6
- package/dist/calcite/p-9ad62baa.system.js +0 -6
- package/dist/calcite/p-9b342cc2.system.entry.js +0 -6
- package/dist/calcite/p-9e433f85.entry.js +0 -6
- package/dist/calcite/p-a0e5beec.system.entry.js +0 -6
- package/dist/calcite/p-a4a80ad0.system.entry.js +0 -6
- package/dist/calcite/p-a53f4584.entry.js +0 -6
- package/dist/calcite/p-ab184638.system.js +0 -6
- package/dist/calcite/p-afb01982.system.entry.js +0 -6
- package/dist/calcite/p-b0749063.entry.js +0 -6
- package/dist/calcite/p-b13fc832.system.js +0 -6
- package/dist/calcite/p-b154a711.system.entry.js +0 -6
- package/dist/calcite/p-b19c45da.system.entry.js +0 -6
- package/dist/calcite/p-b45030e3.system.js +0 -6
- package/dist/calcite/p-b723b411.system.js +0 -6
- package/dist/calcite/p-b7b68db9.system.entry.js +0 -6
- package/dist/calcite/p-ba97422d.system.entry.js +0 -6
- package/dist/calcite/p-bb928b37.system.entry.js +0 -6
- package/dist/calcite/p-bed458d9.system.js +0 -6
- package/dist/calcite/p-bef6e5cc.system.entry.js +0 -6
- package/dist/calcite/p-bf6a1418.system.js +0 -6
- package/dist/calcite/p-bf992e7a.entry.js +0 -6
- package/dist/calcite/p-c1ea949b.entry.js +0 -6
- package/dist/calcite/p-c2044303.system.entry.js +0 -6
- package/dist/calcite/p-c2ab7bb3.entry.js +0 -6
- package/dist/calcite/p-c2afef79.entry.js +0 -6
- package/dist/calcite/p-c58167a4.entry.js +0 -6
- package/dist/calcite/p-c586e438.system.entry.js +0 -6
- package/dist/calcite/p-c6747d09.system.entry.js +0 -6
- package/dist/calcite/p-c84e0441.entry.js +0 -6
- package/dist/calcite/p-c8e901fa.system.entry.js +0 -6
- package/dist/calcite/p-c8ed9108.system.js +0 -6
- package/dist/calcite/p-c907abab.entry.js +0 -6
- package/dist/calcite/p-c9351ade.system.entry.js +0 -6
- package/dist/calcite/p-c9a7c2c2.system.entry.js +0 -6
- package/dist/calcite/p-ce7ed50c.entry.js +0 -6
- package/dist/calcite/p-d1dda926.system.entry.js +0 -6
- package/dist/calcite/p-d2357828.system.js +0 -6
- package/dist/calcite/p-d2f50dc3.entry.js +0 -6
- package/dist/calcite/p-d7972096.entry.js +0 -6
- package/dist/calcite/p-d8309ad2.entry.js +0 -6
- package/dist/calcite/p-da51f48c.system.js +0 -6
- package/dist/calcite/p-ddb5353c.js +0 -6
- package/dist/calcite/p-e0c6fe94.entry.js +0 -6
- package/dist/calcite/p-e1c06b29.system.js +0 -6
- package/dist/calcite/p-e3709f3d.system.entry.js +0 -6
- package/dist/calcite/p-e3e7945b.entry.js +0 -6
- package/dist/calcite/p-e5b27fdb.system.entry.js +0 -6
- package/dist/calcite/p-e66cb253.entry.js +0 -6
- package/dist/calcite/p-eafab2ea.system.entry.js +0 -6
- package/dist/calcite/p-eb07d147.system.entry.js +0 -6
- package/dist/calcite/p-ec392994.system.entry.js +0 -6
- package/dist/calcite/p-eca10afe.entry.js +0 -6
- package/dist/calcite/p-ed27f58a.system.entry.js +0 -6
- package/dist/calcite/p-eda06163.entry.js +0 -6
- package/dist/calcite/p-f1bc4c1d.system.entry.js +0 -6
- package/dist/calcite/p-f2da8856.entry.js +0 -6
- package/dist/calcite/p-f4371c35.entry.js +0 -6
- package/dist/calcite/p-f43a332b.system.entry.js +0 -6
- package/dist/calcite/p-f5c1ecd3.entry.js +0 -6
- package/dist/calcite/p-f5c909b7.entry.js +0 -6
- package/dist/calcite/p-f7865770.system.entry.js +0 -6
- package/dist/calcite/p-f814cb24.entry.js +0 -6
- package/dist/calcite/p-f8697a29.system.entry.js +0 -6
- package/dist/calcite/p-f9723480.entry.js +0 -6
- package/dist/calcite/p-fb075d49.system.entry.js +0 -6
- package/dist/calcite/p-fb93c365.entry.js +0 -6
- package/dist/cjs/globalAttributes-39b0e7d7.js +0 -335
- package/dist/cjs/observers-03ac940c.js +0 -27
- package/dist/components/globalAttributes.js +0 -324
- package/dist/custom-elements/index.d.ts +0 -597
- package/dist/custom-elements/index.js +0 -28879
- package/dist/esm/globalAttributes-6affbda6.js +0 -324
- package/dist/esm/observers-5010a9dd.js +0 -25
- package/dist/esm-es5/ExpandToggle-b94e1fe2.js +0 -6
- package/dist/esm-es5/Heading-9398c9e6.js +0 -6
- package/dist/esm-es5/app-globals-1f65a164.js +0 -6
- package/dist/esm-es5/array-3ac5d2ad.js +0 -6
- package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
- package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
- package/dist/esm-es5/calcite-action-group.entry.js +0 -6
- package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
- package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
- package/dist/esm-es5/calcite-action.entry.js +0 -6
- package/dist/esm-es5/calcite-alert.entry.js +0 -6
- package/dist/esm-es5/calcite-avatar.entry.js +0 -6
- package/dist/esm-es5/calcite-block_2.entry.js +0 -6
- package/dist/esm-es5/calcite-button.entry.js +0 -6
- package/dist/esm-es5/calcite-card.entry.js +0 -6
- package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
- package/dist/esm-es5/calcite-chip.entry.js +0 -6
- package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
- package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
- package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
- package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
- package/dist/esm-es5/calcite-fab.entry.js +0 -6
- package/dist/esm-es5/calcite-filter.entry.js +0 -6
- package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
- package/dist/esm-es5/calcite-flow.entry.js +0 -6
- package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
- package/dist/esm-es5/calcite-handle.entry.js +0 -6
- package/dist/esm-es5/calcite-icon.entry.js +0 -6
- package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
- package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
- package/dist/esm-es5/calcite-input-message.entry.js +0 -6
- package/dist/esm-es5/calcite-input-number.entry.js +0 -6
- package/dist/esm-es5/calcite-input-text.entry.js +0 -6
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
- package/dist/esm-es5/calcite-input.entry.js +0 -6
- package/dist/esm-es5/calcite-label.entry.js +0 -6
- package/dist/esm-es5/calcite-link.entry.js +0 -6
- package/dist/esm-es5/calcite-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-loader.entry.js +0 -6
- package/dist/esm-es5/calcite-modal.entry.js +0 -6
- package/dist/esm-es5/calcite-notice.entry.js +0 -6
- package/dist/esm-es5/calcite-option_3.entry.js +0 -6
- package/dist/esm-es5/calcite-pagination.entry.js +0 -6
- package/dist/esm-es5/calcite-panel.entry.js +0 -6
- package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
- package/dist/esm-es5/calcite-progress.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
- package/dist/esm-es5/calcite-rating.entry.js +0 -6
- package/dist/esm-es5/calcite-scrim.entry.js +0 -6
- package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
- package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
- package/dist/esm-es5/calcite-split-button.entry.js +0 -6
- package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
- package/dist/esm-es5/calcite-switch.entry.js +0 -6
- package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
- package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tile.entry.js +0 -6
- package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
- package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
- package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
- package/dist/esm-es5/calcite.js +0 -6
- package/dist/esm-es5/conditionalSlot-5b35c2f6.js +0 -6
- package/dist/esm-es5/debounce-3b1693a8.js +0 -6
- package/dist/esm-es5/dom-4436bd07.js +0 -6
- package/dist/esm-es5/filter-8af4eb80.js +0 -6
- package/dist/esm-es5/floating-ui-fcf59cab.js +0 -6
- package/dist/esm-es5/form-c902fafa.js +0 -6
- package/dist/esm-es5/globalAttributes-6affbda6.js +0 -6
- package/dist/esm-es5/guid-cd505852.js +0 -6
- package/dist/esm-es5/index-61da5fbc.js +0 -7
- package/dist/esm-es5/index.js +0 -5
- package/dist/esm-es5/interactive-6cafa58c.js +0 -6
- package/dist/esm-es5/interfaces-401a4071.js +0 -6
- package/dist/esm-es5/key-d6e66ea5.js +0 -6
- package/dist/esm-es5/label-6c6aade5.js +0 -6
- package/dist/esm-es5/loader.js +0 -6
- package/dist/esm-es5/math-35a0e454.js +0 -6
- package/dist/esm-es5/observers-5010a9dd.js +0 -6
- package/dist/esm-es5/openCloseComponent-16d8c6cb.js +0 -6
- package/dist/esm-es5/resources-1e0c6832.js +0 -6
- package/dist/esm-es5/resources-54732430.js +0 -6
- package/dist/esm-es5/resources-54c26d1b.js +0 -6
- package/dist/esm-es5/resources-6e9455eb.js +0 -6
- package/dist/esm-es5/resources-cd0c5121.js +0 -6
- package/dist/esm-es5/resources-ce568df4.js +0 -6
- package/dist/esm-es5/sortable.esm-dcbb5a29.js +0 -12
- package/dist/esm-es5/utils-ad1cc5e3.js +0 -6
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.598
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import './resources-
|
|
11
|
-
import './guid-
|
|
12
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-cf16b53b.js';
|
|
7
|
+
import { g as getSlotted } from './dom-648b4a2f.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-97eefd44.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-53846bd5.js';
|
|
10
|
+
import './resources-8468e332.js';
|
|
11
|
+
import './guid-3260dd45.js';
|
|
12
|
+
import './observers-85e8fe58.js';
|
|
13
13
|
|
|
14
14
|
const SLOTS = {
|
|
15
15
|
contentStart: "content-start",
|
|
16
16
|
contentEnd: "content-end"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const tileCss = "
|
|
19
|
+
const tileCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{box-sizing:border-box;display:inline-block;-webkit-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:flex;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:flex;justify-content:center;align-self:flex-end}:host .large-visual .content-container{align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:flex;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
20
20
|
|
|
21
21
|
const Tile = class {
|
|
22
22
|
constructor(hostRef) {
|
|
@@ -27,17 +27,17 @@ const Tile = class {
|
|
|
27
27
|
//
|
|
28
28
|
//--------------------------------------------------------------------------
|
|
29
29
|
/**
|
|
30
|
-
* When true
|
|
30
|
+
* When `true`, the component is active.
|
|
31
31
|
*/
|
|
32
32
|
this.active = false;
|
|
33
33
|
/**
|
|
34
|
-
* When true
|
|
34
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
35
35
|
*/
|
|
36
36
|
this.disabled = false;
|
|
37
37
|
/**
|
|
38
38
|
* The component's embed mode.
|
|
39
39
|
*
|
|
40
|
-
* When true
|
|
40
|
+
* When `true`, renders without a border and padding for use by other components.
|
|
41
41
|
*/
|
|
42
42
|
this.embed = false;
|
|
43
43
|
/**
|
|
@@ -46,7 +46,7 @@ const Tile = class {
|
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
48
|
this.focused = false;
|
|
49
|
-
/** When true
|
|
49
|
+
/** When `true`, the component is not displayed and is not focusable. */
|
|
50
50
|
this.hidden = false;
|
|
51
51
|
}
|
|
52
52
|
// --------------------------------------------------------------------------
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.598
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { c as createObserver } from './observers-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-cf16b53b.js';
|
|
7
|
+
import { g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-648b4a2f.js';
|
|
8
|
+
import { H as Heading, c as constrainHeadingLevel } from './Heading-101a701e.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-97eefd44.js';
|
|
10
|
+
import { c as createObserver } from './observers-85e8fe58.js';
|
|
11
|
+
import './resources-8468e332.js';
|
|
12
|
+
import './guid-3260dd45.js';
|
|
13
13
|
|
|
14
14
|
const CSS$1 = {
|
|
15
15
|
header: "header",
|
|
@@ -58,7 +58,7 @@ const TEXT = {
|
|
|
58
58
|
};
|
|
59
59
|
const HEADING_LEVEL = (HEADING_LEVEL$1 + 1);
|
|
60
60
|
|
|
61
|
-
const tipCss = "
|
|
61
|
+
const tipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";
|
|
62
62
|
|
|
63
63
|
const Tip = class {
|
|
64
64
|
constructor(hostRef) {
|
|
@@ -70,11 +70,11 @@ const Tip = class {
|
|
|
70
70
|
//
|
|
71
71
|
// --------------------------------------------------------------------------
|
|
72
72
|
/**
|
|
73
|
-
* When true
|
|
73
|
+
* When `true`, the component does not display.
|
|
74
74
|
*/
|
|
75
75
|
this.dismissed = false;
|
|
76
76
|
/**
|
|
77
|
-
* When true
|
|
77
|
+
* When `true`, the close button is not present on the component.
|
|
78
78
|
*/
|
|
79
79
|
this.nonDismissible = false;
|
|
80
80
|
/**
|
|
@@ -139,7 +139,7 @@ const Tip = class {
|
|
|
139
139
|
};
|
|
140
140
|
Tip.style = tipCss;
|
|
141
141
|
|
|
142
|
-
const tipGroupCss = "
|
|
142
|
+
const tipGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-block:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";
|
|
143
143
|
|
|
144
144
|
const TipGroup = class {
|
|
145
145
|
constructor(hostRef) {
|
|
@@ -151,7 +151,7 @@ const TipGroup = class {
|
|
|
151
151
|
};
|
|
152
152
|
TipGroup.style = tipGroupCss;
|
|
153
153
|
|
|
154
|
-
const tipManagerCss = "
|
|
154
|
+
const tipManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";
|
|
155
155
|
|
|
156
156
|
const TipManager = class {
|
|
157
157
|
constructor(hostRef) {
|
|
@@ -164,7 +164,7 @@ const TipManager = class {
|
|
|
164
164
|
//
|
|
165
165
|
// --------------------------------------------------------------------------
|
|
166
166
|
/**
|
|
167
|
-
* When true
|
|
167
|
+
* When `true`, does not display or position the component.
|
|
168
168
|
*/
|
|
169
169
|
this.closed = false;
|
|
170
170
|
this.mutationObserver = createObserver("mutation", () => this.setUpTips());
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.598
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { b as defaultOffsetDistance, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS, r as repositionDebounceTimeout } from './floating-ui-
|
|
9
|
-
import { q as queryElementRoots, t as toAriaBoolean } from './dom-
|
|
10
|
-
import { d as debounce } from './debounce-
|
|
11
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cf16b53b.js';
|
|
7
|
+
import { g as guid } from './guid-3260dd45.js';
|
|
8
|
+
import { b as defaultOffsetDistance, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS, r as repositionDebounceTimeout } from './floating-ui-65b7d762.js';
|
|
9
|
+
import { q as queryElementRoots, t as toAriaBoolean } from './dom-648b4a2f.js';
|
|
10
|
+
import { d as debounce } from './debounce-eb8de851.js';
|
|
11
|
+
import './resources-8468e332.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
container: "container",
|
|
@@ -173,7 +173,7 @@ class TooltipManager$1 {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
const tooltipCss = "
|
|
176
|
+
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:999;transform:scale(0)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}.container{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
177
177
|
|
|
178
178
|
const manager = new TooltipManager$1();
|
|
179
179
|
const Tooltip = class {
|
|
@@ -197,13 +197,15 @@ const Tooltip = class {
|
|
|
197
197
|
*/
|
|
198
198
|
this.offsetSkidding = 0;
|
|
199
199
|
/**
|
|
200
|
-
* When true
|
|
200
|
+
* When `true`, the component is open.
|
|
201
201
|
*/
|
|
202
202
|
this.open = false;
|
|
203
203
|
/**
|
|
204
204
|
* Determines the type of positioning to use for the overlaid content.
|
|
205
205
|
*
|
|
206
|
-
* Using
|
|
206
|
+
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
|
207
|
+
*
|
|
208
|
+
* The `"fixed"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
207
209
|
*
|
|
208
210
|
*/
|
|
209
211
|
this.overlayPositioning = "absolute";
|
|
@@ -346,7 +348,7 @@ const Tooltip = class {
|
|
|
346
348
|
};
|
|
347
349
|
Tooltip.style = tooltipCss;
|
|
348
350
|
|
|
349
|
-
const tooltipManagerCss = "
|
|
351
|
+
const tooltipManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";
|
|
350
352
|
|
|
351
353
|
const TooltipManager = class {
|
|
352
354
|
constructor(hostRef) {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.598
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement, n as nodeListToArray,
|
|
8
|
-
import { C as CSS_UTILITY } from './resources-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-cf16b53b.js';
|
|
7
|
+
import { f as focusElement, n as nodeListToArray, k as getRootNode, g as getSlotted, a as getElementDir, t as toAriaBoolean, l as filterDirectChildren } from './dom-648b4a2f.js';
|
|
8
|
+
import { C as CSS_UTILITY } from './resources-8468e332.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-97eefd44.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-53846bd5.js';
|
|
11
|
+
import './guid-3260dd45.js';
|
|
12
|
+
import './observers-85e8fe58.js';
|
|
12
13
|
|
|
13
14
|
var TreeSelectionMode;
|
|
14
15
|
(function (TreeSelectionMode) {
|
|
@@ -20,7 +21,24 @@ var TreeSelectionMode;
|
|
|
20
21
|
TreeSelectionMode["Ancestors"] = "ancestors";
|
|
21
22
|
})(TreeSelectionMode || (TreeSelectionMode = {}));
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
function isTreeItem(element) {
|
|
25
|
+
return element === null || element === void 0 ? void 0 : element.matches("calcite-tree-item");
|
|
26
|
+
}
|
|
27
|
+
function getEnabledSiblingItem(el, direction) {
|
|
28
|
+
const directionProp = direction === "down" ? "nextElementSibling" : "previousElementSibling";
|
|
29
|
+
let currentEl = el;
|
|
30
|
+
let enabledEl = null;
|
|
31
|
+
while (isTreeItem(currentEl)) {
|
|
32
|
+
if (!currentEl.disabled) {
|
|
33
|
+
enabledEl = currentEl;
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
currentEl = currentEl[directionProp];
|
|
37
|
+
}
|
|
38
|
+
return enabledEl;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const treeCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";
|
|
24
42
|
|
|
25
43
|
const Tree = class {
|
|
26
44
|
constructor(hostRef) {
|
|
@@ -36,7 +54,7 @@ const Tree = class {
|
|
|
36
54
|
/**
|
|
37
55
|
* Display input
|
|
38
56
|
*
|
|
39
|
-
* @deprecated Use "ancestors"
|
|
57
|
+
* @deprecated Use `selectionMode="ancestors"` for checkbox input.
|
|
40
58
|
*/
|
|
41
59
|
this.inputEnabled = false;
|
|
42
60
|
/** Specifies the size of the component. */
|
|
@@ -74,8 +92,7 @@ const Tree = class {
|
|
|
74
92
|
//--------------------------------------------------------------------------
|
|
75
93
|
onFocus() {
|
|
76
94
|
if (!this.child) {
|
|
77
|
-
const focusTarget = this.el.querySelector("calcite-tree-item[selected]") ||
|
|
78
|
-
this.el.querySelector("calcite-tree-item");
|
|
95
|
+
const focusTarget = this.el.querySelector("calcite-tree-item[selected]:not([disabled])") || this.el.querySelector("calcite-tree-item:not([disabled])");
|
|
79
96
|
focusElement(focusTarget);
|
|
80
97
|
}
|
|
81
98
|
}
|
|
@@ -153,12 +170,16 @@ const Tree = class {
|
|
|
153
170
|
if ((shouldModifyToCurrentSelection && target.selected) ||
|
|
154
171
|
(shouldSelectChildren && event.detail.forceToggle)) {
|
|
155
172
|
targetItems.forEach((treeItem) => {
|
|
156
|
-
treeItem.
|
|
173
|
+
if (!treeItem.disabled) {
|
|
174
|
+
treeItem.selected = false;
|
|
175
|
+
}
|
|
157
176
|
});
|
|
158
177
|
}
|
|
159
178
|
else if (!isNoneSelectionMode) {
|
|
160
179
|
targetItems.forEach((treeItem) => {
|
|
161
|
-
treeItem.
|
|
180
|
+
if (!treeItem.disabled) {
|
|
181
|
+
treeItem.selected = true;
|
|
182
|
+
}
|
|
162
183
|
});
|
|
163
184
|
}
|
|
164
185
|
}
|
|
@@ -172,88 +193,107 @@ const Tree = class {
|
|
|
172
193
|
var _a;
|
|
173
194
|
const root = this.el.closest("calcite-tree:not([child])");
|
|
174
195
|
const target = event.target;
|
|
175
|
-
if (root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target)) {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
break;
|
|
200
|
-
case "ArrowRight":
|
|
201
|
-
if (!target.hasChildren) {
|
|
202
|
-
break;
|
|
203
|
-
}
|
|
204
|
-
if (target.expanded && getRootNode(this.el).activeElement === target) {
|
|
205
|
-
// When focus is on an open node, moves focus to the first child node.
|
|
206
|
-
(_a = target.querySelector("calcite-tree-item")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
207
|
-
event.preventDefault();
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
// When focus is on a closed node, opens the node; focus does not move.
|
|
211
|
-
target.expanded = true;
|
|
212
|
-
event.preventDefault();
|
|
213
|
-
}
|
|
214
|
-
// When focus is on an end node, does nothing.
|
|
215
|
-
break;
|
|
216
|
-
case "ArrowUp":
|
|
217
|
-
const previous = target.previousElementSibling;
|
|
218
|
-
if (previous && previous.matches("calcite-tree-item")) {
|
|
219
|
-
previous.focus();
|
|
220
|
-
event.preventDefault();
|
|
221
|
-
}
|
|
222
|
-
break;
|
|
196
|
+
if (!(root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target))) {
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
if (event.key === "ArrowDown") {
|
|
200
|
+
const next = getEnabledSiblingItem(target.nextElementSibling, "down");
|
|
201
|
+
if (next) {
|
|
202
|
+
next.focus();
|
|
203
|
+
event.preventDefault();
|
|
204
|
+
}
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (event.key === "ArrowUp") {
|
|
208
|
+
const previous = getEnabledSiblingItem(target.previousElementSibling, "up");
|
|
209
|
+
if (previous) {
|
|
210
|
+
previous.focus();
|
|
211
|
+
event.preventDefault();
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (event.key === "ArrowLeft" && !target.disabled) {
|
|
215
|
+
// When focus is on an open node, closes the node.
|
|
216
|
+
if (target.hasChildren && target.expanded) {
|
|
217
|
+
target.expanded = false;
|
|
218
|
+
event.preventDefault();
|
|
219
|
+
return;
|
|
223
220
|
}
|
|
221
|
+
// When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
|
|
222
|
+
const parentItem = target.parentElement.closest("calcite-tree-item");
|
|
223
|
+
if (parentItem && (!target.hasChildren || target.expanded === false)) {
|
|
224
|
+
parentItem.focus();
|
|
225
|
+
event.preventDefault();
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
// When focus is on a root node that is also either an end node or a closed node, does nothing.
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
if (event.key === "ArrowRight" && !target.disabled) {
|
|
232
|
+
if (target.hasChildren) {
|
|
233
|
+
if (target.expanded && getRootNode(this.el).activeElement === target) {
|
|
234
|
+
// When focus is on an open node, moves focus to the first child node.
|
|
235
|
+
(_a = getEnabledSiblingItem(target.querySelector("calcite-tree-item"), "down")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
236
|
+
event.preventDefault();
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
// When focus is on a closed node, opens the node; focus does not move.
|
|
240
|
+
target.expanded = true;
|
|
241
|
+
event.preventDefault();
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return;
|
|
224
245
|
}
|
|
225
246
|
}
|
|
226
247
|
updateAncestorTree(event) {
|
|
227
248
|
const item = event.target;
|
|
228
|
-
|
|
249
|
+
if (item.disabled) {
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
229
252
|
const ancestors = [];
|
|
230
253
|
let parent = item.parentElement.closest("calcite-tree-item");
|
|
231
254
|
while (parent) {
|
|
232
255
|
ancestors.push(parent);
|
|
233
256
|
parent = parent.parentElement.closest("calcite-tree-item");
|
|
234
257
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
258
|
+
const childItems = Array.from(item.querySelectorAll("calcite-tree-item:not([disabled])"));
|
|
259
|
+
const childItemsWithNoChildren = childItems.filter((child) => !child.hasChildren);
|
|
260
|
+
const childItemsWithChildren = childItems.filter((child) => child.hasChildren);
|
|
261
|
+
const futureSelected = item.hasChildren
|
|
262
|
+
? !(item.selected || item.indeterminate)
|
|
263
|
+
: !item.selected;
|
|
264
|
+
childItemsWithNoChildren.forEach((el) => {
|
|
265
|
+
el.selected = futureSelected;
|
|
266
|
+
el.indeterminate = false;
|
|
267
|
+
});
|
|
268
|
+
function updateItemState(childItems, item) {
|
|
269
|
+
const selected = childItems.filter((child) => child.selected);
|
|
270
|
+
const unselected = childItems.filter((child) => !child.selected);
|
|
271
|
+
item.selected = selected.length === childItems.length;
|
|
272
|
+
item.indeterminate = selected.length > 0 && unselected.length > 0;
|
|
242
273
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
ancestor.indeterminate = indeterminate;
|
|
254
|
-
ancestor.selected = !indeterminate;
|
|
255
|
-
});
|
|
274
|
+
childItemsWithChildren.forEach((el) => {
|
|
275
|
+
const directChildItems = Array.from(el.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));
|
|
276
|
+
updateItemState(directChildItems, el);
|
|
277
|
+
});
|
|
278
|
+
if (item.hasChildren) {
|
|
279
|
+
updateItemState(childItems, item);
|
|
280
|
+
}
|
|
281
|
+
else {
|
|
282
|
+
item.selected = futureSelected;
|
|
283
|
+
item.indeterminate = false;
|
|
256
284
|
}
|
|
285
|
+
ancestors.forEach((ancestor) => {
|
|
286
|
+
const descendants = nodeListToArray(ancestor.querySelectorAll("calcite-tree-item"));
|
|
287
|
+
const activeDescendants = descendants.filter((el) => el.selected);
|
|
288
|
+
if (activeDescendants.length === 0) {
|
|
289
|
+
ancestor.selected = false;
|
|
290
|
+
ancestor.indeterminate = false;
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
const indeterminate = activeDescendants.length < descendants.length;
|
|
294
|
+
ancestor.indeterminate = indeterminate;
|
|
295
|
+
ancestor.selected = !indeterminate;
|
|
296
|
+
});
|
|
257
297
|
this.calciteTreeSelect.emit({
|
|
258
298
|
selected: nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected)
|
|
259
299
|
});
|
|
@@ -289,7 +329,7 @@ const ICONS = {
|
|
|
289
329
|
blank: "blank"
|
|
290
330
|
};
|
|
291
331
|
|
|
292
|
-
const treeItemCss = "
|
|
332
|
+
const treeItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline-color:transparent}:host(:focus:not([disabled])){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;margin-inline-start:1.25rem;transform:scaleY(0);opacity:0;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transform-origin:top}:host([expanded])>.children-container{transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:flex;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s])>.node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m])>.node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l])>.node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}";
|
|
293
333
|
|
|
294
334
|
const TreeItem = class {
|
|
295
335
|
constructor(hostRef) {
|
|
@@ -300,9 +340,13 @@ const TreeItem = class {
|
|
|
300
340
|
// Properties
|
|
301
341
|
//
|
|
302
342
|
//--------------------------------------------------------------------------
|
|
303
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
345
|
+
*/
|
|
346
|
+
this.disabled = false;
|
|
347
|
+
/** When `true`, the component is selected. */
|
|
304
348
|
this.selected = false;
|
|
305
|
-
/** When true
|
|
349
|
+
/** When `true`, the component is expanded. */
|
|
306
350
|
this.expanded = false;
|
|
307
351
|
/**
|
|
308
352
|
* @internal
|
|
@@ -395,6 +439,9 @@ const TreeItem = class {
|
|
|
395
439
|
componentDidLoad() {
|
|
396
440
|
this.updateAncestorTree();
|
|
397
441
|
}
|
|
442
|
+
componentDidRender() {
|
|
443
|
+
updateHostInteraction(this, () => this.parentExpanded || this.depth === 1);
|
|
444
|
+
}
|
|
398
445
|
render() {
|
|
399
446
|
const rtl = getElementDir(this.el) === "rtl";
|
|
400
447
|
const showBulletPoint = this.selectionMode === TreeSelectionMode.Single ||
|
|
@@ -421,7 +468,7 @@ const TreeItem = class {
|
|
|
421
468
|
[CSS_UTILITY.rtl]: rtl
|
|
422
469
|
}, icon: selectedIcon, scale: "s" })) : null;
|
|
423
470
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
424
|
-
return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem"
|
|
471
|
+
return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem" }, h("div", { class: {
|
|
425
472
|
[CSS.nodeContainer]: true,
|
|
426
473
|
[CSS_UTILITY.rtl]: rtl
|
|
427
474
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, itemIndicator, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
|