@esri/calcite-components 1.0.0-beta.95 → 1.0.0-beta.96
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/assets/icon/dimensions16.json +1 -0
- package/dist/calcite/assets/icon/dimensions24.json +1 -0
- package/dist/calcite/assets/icon/dimensions32.json +1 -0
- package/dist/calcite/assets/icon/ellipse16.json +1 -0
- package/dist/calcite/assets/icon/ellipse24.json +1 -0
- package/dist/calcite/assets/icon/ellipse32.json +1 -0
- package/dist/calcite/assets/icon/triangle16.json +1 -0
- package/dist/calcite/assets/icon/triangle24.json +1 -0
- package/dist/calcite/assets/icon/triangle32.json +1 -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-033e56dc.js +6 -0
- package/dist/calcite/p-054f9257.entry.js +6 -0
- package/dist/calcite/{p-e0cd1e84.js → p-0727a03b.js} +2 -2
- package/dist/calcite/{p-510d1337.js → p-08415f4f.js} +2 -2
- package/dist/calcite/p-0a364c49.entry.js +6 -0
- package/dist/calcite/{p-f4e3dc87.js → p-0b6b6b1b.js} +1 -1
- package/dist/calcite/p-0bed1036.entry.js +6 -0
- package/dist/calcite/p-1229fa6d.entry.js +6 -0
- package/dist/calcite/p-13f17010.js +7 -0
- package/dist/calcite/{p-4b823890.js → p-179c1bc9.js} +2 -2
- package/dist/calcite/p-18132899.entry.js +6 -0
- package/dist/calcite/p-196141d3.entry.js +6 -0
- package/dist/calcite/p-1af072c8.entry.js +6 -0
- package/dist/calcite/{p-b5326072.js → p-1ca81a06.js} +1 -1
- package/dist/calcite/p-210859d3.entry.js +6 -0
- package/dist/calcite/p-2a12e026.entry.js +6 -0
- package/dist/calcite/p-30d7d4da.entry.js +6 -0
- package/dist/calcite/p-30f1f11c.entry.js +6 -0
- package/dist/calcite/p-310bf615.entry.js +6 -0
- package/dist/calcite/p-37e6c0af.entry.js +6 -0
- package/dist/calcite/p-38e8edca.entry.js +6 -0
- package/dist/calcite/p-3b128396.entry.js +6 -0
- package/dist/calcite/{p-58a40573.js → p-3c892875.js} +1 -1
- package/dist/calcite/{p-80a51eb7.js → p-3f192117.js} +1 -1
- package/dist/calcite/{p-48bb042f.js → p-40a60ac0.js} +1 -1
- package/dist/calcite/p-40ffeac5.entry.js +6 -0
- package/dist/calcite/p-423e61e6.js +6 -0
- package/dist/calcite/p-43886d77.entry.js +6 -0
- package/dist/calcite/{p-af88a01c.js → p-441fba11.js} +1 -1
- package/dist/calcite/p-450a89b4.js +6 -0
- package/dist/calcite/p-4540d613.entry.js +6 -0
- package/dist/calcite/p-483720f0.entry.js +6 -0
- package/dist/calcite/{p-3aaffa03.js → p-4c5ac926.js} +1 -1
- package/dist/calcite/p-4f2adaaf.js +6 -0
- package/dist/calcite/p-51643d9f.entry.js +6 -0
- package/dist/calcite/p-52da185f.entry.js +6 -0
- package/dist/calcite/p-561f1808.entry.js +6 -0
- package/dist/calcite/p-5897d751.entry.js +6 -0
- package/dist/calcite/p-598afc72.entry.js +6 -0
- package/dist/calcite/p-5b80ddbf.entry.js +6 -0
- package/dist/calcite/p-5baaa8ec.entry.js +6 -0
- package/dist/calcite/p-600eec01.entry.js +6 -0
- package/dist/calcite/p-61ed30ba.entry.js +6 -0
- package/dist/calcite/p-6422e887.entry.js +6 -0
- package/dist/calcite/p-6af188b5.entry.js +6 -0
- package/dist/calcite/p-6edbfe7a.entry.js +6 -0
- package/dist/calcite/p-6f703767.entry.js +6 -0
- package/dist/calcite/p-7a50deba.js +6 -0
- package/dist/calcite/p-810d9179.entry.js +6 -0
- package/dist/calcite/p-83cbc6d4.entry.js +6 -0
- package/dist/calcite/p-844de364.entry.js +6 -0
- package/dist/calcite/p-847da2d2.entry.js +6 -0
- package/dist/calcite/{p-bd64d06c.js → p-8cc4679e.js} +1 -1
- package/dist/calcite/{p-00abe273.js → p-96a31967.js} +2 -2
- package/dist/calcite/p-98b84c0f.entry.js +6 -0
- package/dist/calcite/p-a2ab49da.entry.js +6 -0
- package/dist/calcite/{p-21116f05.js → p-a44dcb4b.js} +1 -1
- package/dist/calcite/p-aa06470a.entry.js +6 -0
- package/dist/calcite/p-aa097223.entry.js +6 -0
- package/dist/calcite/p-b1228ffa.entry.js +6 -0
- package/dist/calcite/p-b41e1e4f.entry.js +6 -0
- package/dist/calcite/{p-966679da.js → p-b5ea3e89.js} +1 -1
- package/dist/calcite/{p-46fef127.js → p-b6d8d647.js} +1 -1
- package/dist/calcite/p-bbcafefb.entry.js +6 -0
- package/dist/{esm-es5/index.js → calcite/p-bc3c7799.js} +2 -1
- package/dist/calcite/p-bcbf1921.entry.js +6 -0
- package/dist/calcite/p-bcc5c668.entry.js +6 -0
- package/dist/calcite/p-be2b65ee.entry.js +6 -0
- package/dist/calcite/{p-901dc3de.js → p-c02455d4.js} +1 -1
- package/dist/calcite/p-c2911c3c.entry.js +6 -0
- package/dist/calcite/p-c68538e0.entry.js +6 -0
- package/dist/calcite/p-c8e251b9.entry.js +6 -0
- package/dist/calcite/p-d17467fd.js +6 -0
- package/dist/calcite/p-d30c2118.entry.js +6 -0
- package/dist/calcite/p-d8e9053b.entry.js +6 -0
- package/dist/calcite/p-de64753f.entry.js +6 -0
- package/dist/calcite/p-dfabac33.entry.js +6 -0
- package/dist/calcite/p-e101165f.entry.js +6 -0
- package/dist/calcite/{p-ef082834.js → p-e39761ae.js} +1 -1
- package/dist/calcite/p-e520047a.entry.js +6 -0
- package/dist/calcite/p-e724dd06.entry.js +6 -0
- package/dist/calcite/p-ee8bba91.js +6 -0
- package/dist/calcite/p-f05d0119.entry.js +6 -0
- package/dist/calcite/{p-77636ceb.js → p-f56d863e.js} +2 -2
- package/dist/calcite/p-f98a4a16.js +6 -0
- package/dist/calcite/{p-3053c253.js → p-f9db728c.js} +2 -2
- package/dist/calcite/p-fb451108.entry.js +6 -0
- package/dist/calcite/p-fb4a87d7.entry.js +6 -0
- package/dist/calcite/p-fdbc1a87.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d10914db.js → ExpandToggle-fc7bbe3d.js} +5 -5
- package/dist/cjs/{Heading-1d94663a.js → Heading-22395b92.js} +2 -2
- package/dist/cjs/{app-globals-843f6f1d.js → app-globals-6606611f.js} +2 -2
- package/dist/cjs/{array-7de7f400.js → array-e3bb210b.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 +41 -42
- 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 +33 -30
- package/dist/cjs/calcite-button.cjs.entry.js +30 -24
- package/dist/cjs/calcite-card.cjs.entry.js +15 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +19 -17
- package/dist/cjs/calcite-chip.cjs.entry.js +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -59
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +60 -47
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +46 -33
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -31
- 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 +24 -18
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +88 -61
- 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 +112 -60
- package/dist/cjs/calcite-input-message.cjs.entry.js +14 -9
- package/dist/cjs/calcite-input-number.cjs.entry.js +70 -45
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +155 -93
- package/dist/cjs/calcite-input.cjs.entry.js +89 -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 +12 -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 +56 -41
- 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 +16 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell_3.cjs.entry.js +23 -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 +48 -20
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +22 -27
- 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 +15 -15
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +38 -23
- package/dist/cjs/calcite-tree_2.cjs.entry.js +141 -90
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-ffff1ba2.js → conditionalSlot-99e51afe.js} +3 -3
- package/dist/cjs/{debounce-3f8af6d8.js → debounce-1ad9c9c5.js} +1 -1
- package/dist/cjs/{dom-df1903f9.js → dom-fdaf919a.js} +41 -3
- package/dist/cjs/{filter-a0274ec6.js → filter-edd10f6d.js} +3 -4
- package/dist/cjs/{floating-ui-99430551.js → floating-ui-84635bb5.js} +175 -23
- package/dist/cjs/{form-53eb189e.js → form-9e23e659.js} +3 -3
- package/dist/cjs/{guid-9ba07df0.js → guid-ba414ece.js} +1 -1
- package/dist/cjs/{index-bbc26bc6.js → index-89b75f9d.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b210765f.js → interactive-9891c7ff.js} +1 -1
- package/dist/cjs/{interfaces-43537378.js → interfaces-70afd954.js} +1 -1
- package/dist/cjs/{key-7c8bf01a.js → key-08efaede.js} +1 -1
- package/dist/cjs/{label-a586ee40.js → label-fd565fe7.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-89bd7314.js +414 -0
- package/dist/cjs/{math-8f7af178.js → math-12e520d7.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-ef072a2b.js +506 -0
- package/dist/cjs/observers-b15136c8.js +48 -0
- package/dist/cjs/{openCloseComponent-b884b722.js → openCloseComponent-2d4454a1.js} +1 -1
- package/dist/cjs/{resources-aa8679e5.js → resources-09d49437.js} +1 -1
- package/dist/cjs/{resources-dd0bf97d.js → resources-4a9729ee.js} +1 -1
- package/dist/cjs/{resources-c25710c9.js → resources-713e13b0.js} +1 -1
- package/dist/cjs/{resources-6f839761.js → resources-e0dc19ba.js} +1 -1
- package/dist/cjs/{resources-ec998c3c.js → resources-e0e028db.js} +12 -70
- package/dist/cjs/{resources-c61ea826.js → resources-f315ffb3.js} +5 -5
- package/dist/cjs/{sortable.esm-6707f3f9.js → sortable.esm-5aaf8877.js} +1 -1
- package/dist/cjs/{utils-2cc96bc6.js → utils-1369197b.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/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/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +241 -234
- 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/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +250 -241
- 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/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/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/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -0
- package/dist/collection/components/block/block.js +332 -339
- package/dist/collection/components/block/resources.js +3 -2
- package/dist/collection/components/block-section/block-section.js +150 -150
- 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 +458 -437
- 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 +181 -188
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +280 -270
- package/dist/collection/components/chip/chip.js +266 -261
- 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 +821 -817
- 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 +195 -178
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +83 -77
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -2
- package/dist/collection/components/combobox/combobox.js +595 -576
- 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 +247 -239
- 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 +494 -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 +268 -284
- package/dist/collection/components/date-picker-month/date-picker-month.js +257 -250
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +3 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +237 -234
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +460 -430
- 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/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/interfaces.js +0 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +419 -395
- 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/interfaces.js +0 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +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/assets/icon/dimensions16.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions24.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse32.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle32.json +1 -0
- package/dist/collection/components/icon/icon.js +107 -98
- 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/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -0
- package/dist/collection/components/input/input.js +882 -862
- 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 -2
- package/dist/collection/components/input-date-picker/input-date-picker.js +896 -812
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +7 -17
- package/dist/collection/components/input-message/input-message.js +135 -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 +818 -796
- 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/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +671 -583
- 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/resources.js +1 -1
- package/dist/collection/components/link/link.js +186 -180
- package/dist/collection/components/list/list.js +76 -70
- 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 -10
- package/dist/collection/components/loader/loader.js +173 -165
- package/dist/collection/components/modal/interfaces.js +0 -5
- package/dist/collection/components/modal/modal.js +478 -481
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +269 -267
- 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/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/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +255 -241
- 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 +5 -2
- package/dist/collection/components/popover/popover.css +0 -1
- package/dist/collection/components/popover/popover.js +586 -562
- 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/radio-button/radio-button.js +348 -337
- 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-group/interfaces.js +0 -5
- package/dist/collection/components/radio-group/radio-group.js +256 -244
- 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/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/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +228 -219
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +38 -43
- 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 +194 -180
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +643 -658
- 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/stepper/interfaces.js +0 -5
- package/dist/collection/components/stepper/stepper.js +270 -236
- package/dist/collection/components/stepper-item/stepper-item.js +436 -400
- package/dist/collection/components/switch/switch.js +190 -182
- package/dist/collection/components/tab/interfaces.js +0 -5
- package/dist/collection/components/tab/tab.css +4 -2
- 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 -132
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +174 -178
- 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.css +1 -0
- package/dist/collection/components/tile-select/tile-select.js +352 -338
- 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/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 +145 -146
- 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/tooltip/TooltipManager.js +6 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +0 -1
- package/dist/collection/components/tooltip/tooltip.js +252 -225
- 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 +278 -245
- 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 +306 -273
- 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-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -2
- package/dist/collection/components/value-list-item/value-list-item.js +286 -279
- package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
- package/dist/collection/demos/_assets/demo-form.js +22 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +22 -0
- package/dist/collection/utils/date.js +3 -38
- package/dist/collection/utils/dom.js +37 -1
- package/dist/collection/utils/filter.js +2 -3
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
- package/dist/collection/utils/floating-ui.js +123 -12
- 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 +199 -64
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +36 -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 +35 -36
- package/dist/components/action.js +8 -8
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +23 -17
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +6 -6
- 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 +8 -6
- package/dist/components/calcite-block.js +17 -16
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +9 -8
- 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 +44 -39
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +8 -6
- package/dist/components/calcite-combobox.js +42 -31
- 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 +18 -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 +106 -52
- package/dist/components/calcite-input-message.js +10 -5
- package/dist/components/calcite-input-number.js +53 -28
- package/dist/components/calcite-input-text.js +10 -10
- package/dist/components/calcite-input-time-picker.js +83 -35
- 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 +11 -11
- 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 +7 -7
- 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 +8 -8
- 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 +13 -7
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +79 -53
- 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 +39 -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 +8 -8
- 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 +5 -5
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +21 -9
- package/dist/components/calcite-tree.js +118 -78
- package/dist/components/calcite-value-list-item.js +6 -6
- package/dist/components/calcite-value-list.js +9 -9
- package/dist/components/checkbox.js +11 -9
- package/dist/components/chip.js +11 -11
- package/dist/components/color-picker-hex-input.js +8 -10
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +5 -8
- package/dist/components/date-picker-month-header.js +13 -11
- package/dist/components/date-picker-month.js +4 -4
- package/dist/components/date-picker.js +25 -28
- package/dist/components/date.js +5 -39
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +38 -2
- package/dist/components/dropdown.js +35 -23
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +2 -3
- package/dist/components/floating-ui.js +181 -22
- package/dist/components/form.js +2 -2
- 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 +72 -47
- 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 +2 -2
- package/dist/components/link.js +6 -6
- package/dist/components/loader.js +10 -5
- package/dist/components/locale.js +403 -0
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +498 -0
- 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 +47 -33
- 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 +3 -3
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +6 -6
- package/dist/components/tabs.js +5 -10
- package/dist/components/tile.js +6 -6
- package/dist/components/time-picker.js +56 -39
- package/dist/components/tooltip.js +33 -19
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/esm/{ExpandToggle-51cda39f.js → ExpandToggle-947164fe.js} +5 -5
- package/dist/esm/{Heading-3a6ae137.js → Heading-257e631d.js} +2 -2
- package/dist/esm/{app-globals-8ea1c0e3.js → app-globals-5b11622a.js} +2 -2
- package/dist/esm/{array-2db27e14.js → array-1589fdff.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 +41 -42
- 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 +33 -30
- package/dist/esm/calcite-button.entry.js +30 -24
- package/dist/esm/calcite-card.entry.js +15 -14
- package/dist/esm/calcite-checkbox.entry.js +19 -17
- package/dist/esm/calcite-chip.entry.js +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js +62 -59
- package/dist/esm/calcite-combobox_3.entry.js +60 -47
- package/dist/esm/calcite-date-picker_4.entry.js +46 -33
- package/dist/esm/calcite-dropdown_3.entry.js +44 -31
- 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 +24 -18
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +88 -61
- 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 +112 -60
- package/dist/esm/calcite-input-message.entry.js +14 -9
- package/dist/esm/calcite-input-number.entry.js +61 -36
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +139 -77
- package/dist/esm/calcite-input.entry.js +80 -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 +12 -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 +56 -41
- 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 +16 -16
- package/dist/esm/calcite-scrim.entry.js +4 -4
- package/dist/esm/calcite-shell_3.entry.js +23 -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 +48 -20
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-tab_4.entry.js +22 -27
- 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 +15 -15
- package/dist/esm/calcite-tooltip_2.entry.js +38 -23
- package/dist/esm/calcite-tree_2.entry.js +141 -90
- package/dist/esm/calcite-value-list_2.entry.js +25 -25
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-a8df5b3f.js → conditionalSlot-b3e64dc7.js} +3 -3
- package/dist/esm/{debounce-d31cc476.js → debounce-ea9692d7.js} +1 -1
- package/dist/esm/{dom-24af003b.js → dom-a73e8a2b.js} +40 -4
- package/dist/esm/{filter-72316b3f.js → filter-3ba1a381.js} +3 -4
- package/dist/esm/{floating-ui-10f8689c.js → floating-ui-984dfec0.js} +173 -22
- package/dist/esm/{form-390fdf0f.js → form-0e21de45.js} +3 -3
- package/dist/esm/{guid-b68b1941.js → guid-6f7dc9eb.js} +1 -1
- package/dist/esm/{index-8384b5ec.js → index-14216daa.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f2ec7825.js → interactive-c7d0aec8.js} +1 -1
- package/dist/esm/{interfaces-ba98f966.js → interfaces-ed0a53af.js} +1 -1
- package/dist/esm/{key-ed874b7d.js → key-51ed0d1a.js} +1 -1
- package/dist/esm/{label-78f72c1a.js → label-d2cf5bd5.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-0be23f6a.js +403 -0
- package/dist/esm/{math-2893cee3.js → math-7cf93944.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-fc3598fa.js +502 -0
- package/dist/esm/observers-22e20270.js +46 -0
- package/dist/esm/{openCloseComponent-0a4c6226.js → openCloseComponent-4d8348cf.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-32c242fa.js → resources-15329bef.js} +5 -5
- package/dist/esm/{resources-351f6f14.js → resources-22c8d6b5.js} +1 -1
- package/dist/esm/{resources-0497ae87.js → resources-47333b80.js} +1 -1
- package/dist/esm/{resources-f8aa3ed1.js → resources-712a7c01.js} +5 -61
- package/dist/esm/{resources-3acd3089.js → resources-aad6b1a9.js} +1 -1
- package/dist/esm/{resources-ea0a60b4.js → resources-d9cc509f.js} +1 -1
- package/dist/esm/{sortable.esm-3d78dbdc.js → sortable.esm-679051e1.js} +1 -1
- package/dist/esm/{utils-a7e4e0e1.js → utils-e76f2be0.js} +1 -1
- package/dist/extras/docs-json.json +1957 -772
- 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 +7 -7
- 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/block.d.ts +22 -20
- 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/block-section/block-section.d.ts +12 -10
- package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +37 -21
- package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
- package/dist/types/components/card/card.d.ts +11 -10
- package/dist/types/components/checkbox/checkbox.d.ts +16 -14
- package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
- package/dist/types/components/chip/chip.d.ts +13 -13
- 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 +39 -41
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +9 -10
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +36 -31
- package/dist/types/components/combobox-item/combobox-item.d.ts +15 -13
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
- 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 +9 -4
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -3
- package/dist/types/components/dropdown/dropdown.d.ts +11 -6
- 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 +12 -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 +61 -44
- package/dist/types/components/input-message/input-message.d.ts +10 -8
- 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 +41 -30
- 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 +14 -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 +24 -17
- 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 +24 -25
- 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 -4
- 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 +3 -3
- 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 +16 -7
- 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 +1082 -1007
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/date.d.ts +0 -20
- package/dist/types/utils/dom.d.ts +19 -0
- package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
- package/dist/types/utils/floating-ui.d.ts +45 -2
- package/dist/types/utils/locale.d.ts +81 -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 +2512 -1973
- package/package.json +31 -28
- package/readme.md +2 -2
- package/dist/calcite/calcite.js +0 -131
- package/dist/calcite/p-01e0a7fb.system.entry.js +0 -6
- package/dist/calcite/p-026ebb31.system.entry.js +0 -6
- package/dist/calcite/p-0371e393.system.js +0 -6
- package/dist/calcite/p-049ccea8.system.entry.js +0 -6
- package/dist/calcite/p-06715c20.system.entry.js +0 -6
- package/dist/calcite/p-0b16f5a2.entry.js +0 -6
- package/dist/calcite/p-120e25b0.entry.js +0 -6
- package/dist/calcite/p-132242dd.system.js +0 -6
- package/dist/calcite/p-164c7993.system.entry.js +0 -6
- package/dist/calcite/p-180c45dd.js +0 -6
- package/dist/calcite/p-1927311f.system.js +0 -6
- package/dist/calcite/p-195b47d8.system.entry.js +0 -6
- package/dist/calcite/p-1a801c80.system.entry.js +0 -6
- package/dist/calcite/p-1c1808a9.system.js +0 -6
- package/dist/calcite/p-21e61d1f.system.entry.js +0 -6
- package/dist/calcite/p-2204aeed.entry.js +0 -6
- package/dist/calcite/p-2292f660.entry.js +0 -6
- package/dist/calcite/p-234334e8.system.js +0 -7
- package/dist/calcite/p-240b92fc.system.entry.js +0 -6
- package/dist/calcite/p-244e6a16.system.js +0 -6
- package/dist/calcite/p-24fc537c.entry.js +0 -6
- package/dist/calcite/p-25d9815f.entry.js +0 -6
- package/dist/calcite/p-2942f335.entry.js +0 -6
- package/dist/calcite/p-296b72ab.entry.js +0 -6
- package/dist/calcite/p-2a6d83f2.system.entry.js +0 -6
- package/dist/calcite/p-2bb5628e.system.entry.js +0 -6
- package/dist/calcite/p-2dc6b889.js +0 -6
- package/dist/calcite/p-33e2cc83.entry.js +0 -6
- package/dist/calcite/p-35df3a74.entry.js +0 -6
- package/dist/calcite/p-390ae661.entry.js +0 -6
- package/dist/calcite/p-3ba3650d.entry.js +0 -6
- package/dist/calcite/p-3c899e58.entry.js +0 -6
- package/dist/calcite/p-3d0903d1.entry.js +0 -6
- package/dist/calcite/p-3d277c10.entry.js +0 -6
- package/dist/calcite/p-3fe14113.entry.js +0 -6
- package/dist/calcite/p-421fa896.entry.js +0 -6
- package/dist/calcite/p-438e56fd.entry.js +0 -6
- package/dist/calcite/p-43f9bb67.system.js +0 -6
- package/dist/calcite/p-4450a62e.system.entry.js +0 -6
- package/dist/calcite/p-4591d14e.entry.js +0 -6
- package/dist/calcite/p-47537b0f.system.entry.js +0 -6
- package/dist/calcite/p-4776fee2.entry.js +0 -6
- package/dist/calcite/p-4a3dcaab.entry.js +0 -6
- package/dist/calcite/p-4b4c47b4.system.js +0 -6
- package/dist/calcite/p-4bd4b21b.system.js +0 -12
- package/dist/calcite/p-4d9e93ae.system.js +0 -6
- package/dist/calcite/p-50148e92.system.entry.js +0 -6
- package/dist/calcite/p-524ac193.system.js +0 -6
- package/dist/calcite/p-54dc5c4f.system.entry.js +0 -6
- package/dist/calcite/p-55051fef.js +0 -6
- package/dist/calcite/p-576b3dfd.entry.js +0 -6
- package/dist/calcite/p-57c051cd.system.entry.js +0 -6
- package/dist/calcite/p-580abaa0.system.entry.js +0 -6
- package/dist/calcite/p-59e4f11d.entry.js +0 -6
- package/dist/calcite/p-5b7d6465.system.js +0 -6
- package/dist/calcite/p-5ee0d6fc.entry.js +0 -6
- package/dist/calcite/p-5ff62aa9.system.entry.js +0 -6
- package/dist/calcite/p-61508652.system.js +0 -6
- package/dist/calcite/p-619ea68d.system.entry.js +0 -6
- package/dist/calcite/p-638c0f83.system.js +0 -6
- package/dist/calcite/p-63be4875.js +0 -7
- package/dist/calcite/p-661983f6.system.js +0 -6
- package/dist/calcite/p-66a8d6f6.entry.js +0 -6
- package/dist/calcite/p-67a854c0.entry.js +0 -6
- package/dist/calcite/p-680d6cf6.entry.js +0 -6
- package/dist/calcite/p-6941ffe8.entry.js +0 -6
- package/dist/calcite/p-6ad53382.system.entry.js +0 -6
- package/dist/calcite/p-6c421b57.entry.js +0 -6
- package/dist/calcite/p-6ca84ba8.entry.js +0 -6
- package/dist/calcite/p-6d884dae.entry.js +0 -6
- package/dist/calcite/p-6e8a4081.system.entry.js +0 -6
- package/dist/calcite/p-70c06ad4.system.entry.js +0 -6
- package/dist/calcite/p-71650d4e.system.entry.js +0 -6
- package/dist/calcite/p-74b0148d.system.js +0 -6
- package/dist/calcite/p-75cb1d5b.system.entry.js +0 -6
- package/dist/calcite/p-75f64c6d.entry.js +0 -6
- package/dist/calcite/p-7c550d9b.entry.js +0 -6
- package/dist/calcite/p-7ed2f59f.system.entry.js +0 -6
- package/dist/calcite/p-85c6e58a.system.entry.js +0 -6
- package/dist/calcite/p-89a7e6bc.entry.js +0 -6
- package/dist/calcite/p-8c66c36c.system.js +0 -6
- package/dist/calcite/p-8c95d7a0.entry.js +0 -6
- package/dist/calcite/p-8e41d2bb.system.js +0 -6
- package/dist/calcite/p-8ee1498f.entry.js +0 -6
- package/dist/calcite/p-92038736.system.entry.js +0 -6
- package/dist/calcite/p-9241c6a5.entry.js +0 -6
- package/dist/calcite/p-93970959.system.entry.js +0 -6
- package/dist/calcite/p-960c76e9.system.entry.js +0 -6
- package/dist/calcite/p-96236e5c.entry.js +0 -6
- package/dist/calcite/p-9a9fbf22.entry.js +0 -6
- package/dist/calcite/p-9ae4b555.entry.js +0 -6
- package/dist/calcite/p-9aebe377.entry.js +0 -6
- package/dist/calcite/p-9b43c40c.system.js +0 -6
- package/dist/calcite/p-9ca4f290.system.js +0 -6
- package/dist/calcite/p-9dccf007.js +0 -6
- package/dist/calcite/p-9ef7904e.js +0 -6
- package/dist/calcite/p-a304a6b7.system.entry.js +0 -6
- package/dist/calcite/p-a4cff117.system.js +0 -6
- package/dist/calcite/p-a726bcff.entry.js +0 -6
- package/dist/calcite/p-a9221536.system.js +0 -6
- package/dist/calcite/p-aa6d9dcc.system.entry.js +0 -6
- package/dist/calcite/p-ab4d0b8e.entry.js +0 -6
- package/dist/calcite/p-abdc8c60.system.entry.js +0 -6
- package/dist/calcite/p-abf5fb38.entry.js +0 -6
- package/dist/calcite/p-ad22f173.entry.js +0 -6
- package/dist/calcite/p-ad68bd9e.system.entry.js +0 -6
- package/dist/calcite/p-ad884bc4.system.js +0 -6
- package/dist/calcite/p-ae2518f0.system.js +0 -6
- package/dist/calcite/p-aef54c5f.system.entry.js +0 -6
- package/dist/calcite/p-b084a958.entry.js +0 -6
- package/dist/calcite/p-b10ce7f4.system.entry.js +0 -6
- package/dist/calcite/p-b1859703.system.entry.js +0 -6
- package/dist/calcite/p-b29859b5.system.entry.js +0 -6
- package/dist/calcite/p-b3004fac.entry.js +0 -6
- package/dist/calcite/p-b51eb86c.system.entry.js +0 -6
- package/dist/calcite/p-b5ef1019.entry.js +0 -6
- package/dist/calcite/p-b6f004c4.entry.js +0 -6
- package/dist/calcite/p-b7941592.js +0 -6
- package/dist/calcite/p-b795148e.entry.js +0 -6
- package/dist/calcite/p-b9fb0207.system.js +0 -6
- package/dist/calcite/p-bb36ddb1.system.entry.js +0 -6
- package/dist/calcite/p-bbc5fa4d.system.entry.js +0 -6
- package/dist/calcite/p-bf0d4fa9.system.entry.js +0 -6
- package/dist/calcite/p-c18b2f37.system.entry.js +0 -6
- package/dist/calcite/p-c20b0a94.system.entry.js +0 -6
- package/dist/calcite/p-c311d80b.entry.js +0 -6
- package/dist/calcite/p-c3380c86.system.entry.js +0 -6
- package/dist/calcite/p-c370487d.entry.js +0 -6
- package/dist/calcite/p-c3a76a69.js +0 -6
- package/dist/calcite/p-c75e4948.system.entry.js +0 -6
- package/dist/calcite/p-c9179809.entry.js +0 -6
- package/dist/calcite/p-ca72c4da.system.entry.js +0 -6
- package/dist/calcite/p-cd3d8542.system.js +0 -6
- package/dist/calcite/p-ce6b62ad.entry.js +0 -6
- package/dist/calcite/p-d1131b5d.system.entry.js +0 -6
- package/dist/calcite/p-d18b3ee8.entry.js +0 -6
- package/dist/calcite/p-d30e6a15.system.entry.js +0 -6
- package/dist/calcite/p-d6627d94.system.entry.js +0 -6
- package/dist/calcite/p-d686deea.system.entry.js +0 -6
- package/dist/calcite/p-dc294613.system.js +0 -6
- package/dist/calcite/p-dc346223.system.js +0 -6
- package/dist/calcite/p-dcb7c0a5.system.entry.js +0 -6
- package/dist/calcite/p-e0ecae58.system.entry.js +0 -6
- package/dist/calcite/p-e1799b74.system.js +0 -6
- package/dist/calcite/p-e1e4265f.system.js +0 -6
- package/dist/calcite/p-e30b9b3a.entry.js +0 -6
- package/dist/calcite/p-e836bdbf.system.entry.js +0 -6
- package/dist/calcite/p-e8c8a9c4.js +0 -6
- package/dist/calcite/p-eb000d01.system.entry.js +0 -6
- package/dist/calcite/p-ec32dce1.entry.js +0 -6
- package/dist/calcite/p-ed965a88.entry.js +0 -6
- package/dist/calcite/p-eddb3738.entry.js +0 -6
- package/dist/calcite/p-f22e79c7.entry.js +0 -6
- package/dist/calcite/p-f69aa7a0.system.entry.js +0 -6
- package/dist/calcite/p-f6a26297.system.entry.js +0 -6
- package/dist/calcite/p-fbb251a6.system.entry.js +0 -6
- package/dist/calcite/p-fc374bdb.system.entry.js +0 -6
- package/dist/calcite/p-fd76be2a.system.entry.js +0 -6
- package/dist/calcite/p-ff26531e.system.entry.js +0 -6
- package/dist/cjs/globalAttributes-2783566c.js +0 -335
- package/dist/cjs/observers-82a85a0c.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 -28881
- package/dist/esm/globalAttributes-9a3874c6.js +0 -324
- package/dist/esm/observers-251355d3.js +0 -25
- package/dist/esm-es5/ExpandToggle-51cda39f.js +0 -6
- package/dist/esm-es5/Heading-3a6ae137.js +0 -6
- package/dist/esm-es5/app-globals-8ea1c0e3.js +0 -6
- package/dist/esm-es5/array-2db27e14.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-a8df5b3f.js +0 -6
- package/dist/esm-es5/debounce-d31cc476.js +0 -6
- package/dist/esm-es5/dom-24af003b.js +0 -6
- package/dist/esm-es5/filter-72316b3f.js +0 -6
- package/dist/esm-es5/floating-ui-10f8689c.js +0 -6
- package/dist/esm-es5/form-390fdf0f.js +0 -6
- package/dist/esm-es5/globalAttributes-9a3874c6.js +0 -6
- package/dist/esm-es5/guid-b68b1941.js +0 -6
- package/dist/esm-es5/index-8384b5ec.js +0 -7
- package/dist/esm-es5/interactive-f2ec7825.js +0 -6
- package/dist/esm-es5/interfaces-ba98f966.js +0 -6
- package/dist/esm-es5/key-ed874b7d.js +0 -6
- package/dist/esm-es5/label-78f72c1a.js +0 -6
- package/dist/esm-es5/loader.js +0 -6
- package/dist/esm-es5/math-2893cee3.js +0 -6
- package/dist/esm-es5/observers-251355d3.js +0 -6
- package/dist/esm-es5/openCloseComponent-0a4c6226.js +0 -6
- package/dist/esm-es5/resources-0497ae87.js +0 -6
- package/dist/esm-es5/resources-32c242fa.js +0 -6
- package/dist/esm-es5/resources-351f6f14.js +0 -6
- package/dist/esm-es5/resources-3acd3089.js +0 -6
- package/dist/esm-es5/resources-ea0a60b4.js +0 -6
- package/dist/esm-es5/resources-f8aa3ed1.js +0 -6
- package/dist/esm-es5/sortable.esm-3d78dbdc.js +0 -12
- package/dist/esm-es5/utils-a7e4e0e1.js +0 -6
|
@@ -1,31 +1,32 @@
|
|
|
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-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { i as isValidNumber,
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { n as numberKeys, i as isActivationKey } from './key-
|
|
13
|
-
import './observers-
|
|
14
|
-
import './dom-
|
|
15
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-14216daa.js';
|
|
7
|
+
import { g as guid } from './guid-6f7dc9eb.js';
|
|
8
|
+
import { i as isValidNumber, g as getSupportedLocale, b as getSupportedNumberingSystem, n as numberStringFormatter, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale-0be23f6a.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-d2cf5bd5.js';
|
|
10
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-0e21de45.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-c7d0aec8.js';
|
|
12
|
+
import { n as numberKeys, i as isActivationKey } from './key-51ed0d1a.js';
|
|
13
|
+
import './observers-22e20270.js';
|
|
14
|
+
import './dom-a73e8a2b.js';
|
|
15
|
+
import './resources-d9cc509f.js';
|
|
16
16
|
|
|
17
17
|
const maxTenthForMinuteAndSecond = 5;
|
|
18
|
-
function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
|
|
18
|
+
function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
|
|
19
19
|
try {
|
|
20
20
|
const options = {
|
|
21
21
|
hour: "2-digit",
|
|
22
22
|
minute: "2-digit",
|
|
23
|
-
timeZone: "UTC"
|
|
23
|
+
timeZone: "UTC",
|
|
24
|
+
numberingSystem: getSupportedNumberingSystem(numberingSystem)
|
|
24
25
|
};
|
|
25
26
|
if (includeSeconds) {
|
|
26
27
|
options.second = "2-digit";
|
|
27
28
|
}
|
|
28
|
-
return new Intl.DateTimeFormat(locale, options);
|
|
29
|
+
return new Intl.DateTimeFormat(getSupportedLocale(locale), options);
|
|
29
30
|
}
|
|
30
31
|
catch (error) {
|
|
31
32
|
throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${locale}`);
|
|
@@ -48,8 +49,8 @@ function formatTimeString(value) {
|
|
|
48
49
|
}
|
|
49
50
|
return `${hour}:${minute}`;
|
|
50
51
|
}
|
|
51
|
-
function getLocaleHourCycle(locale) {
|
|
52
|
-
const formatter = createLocaleDateTimeFormatter(locale);
|
|
52
|
+
function getLocaleHourCycle(locale, numberingSystem) {
|
|
53
|
+
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
53
54
|
const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
|
|
54
55
|
return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
|
|
55
56
|
}
|
|
@@ -118,7 +119,7 @@ function isValidTimePart(value, part) {
|
|
|
118
119
|
const valueAsNumber = Number(value);
|
|
119
120
|
return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
|
|
120
121
|
}
|
|
121
|
-
function localizeTimePart(value, part, locale) {
|
|
122
|
+
function localizeTimePart({ value, part, locale, numberingSystem }) {
|
|
122
123
|
if (!isValidTimePart(value, part)) {
|
|
123
124
|
return;
|
|
124
125
|
}
|
|
@@ -127,27 +128,27 @@ function localizeTimePart(value, part, locale) {
|
|
|
127
128
|
if (!date) {
|
|
128
129
|
return;
|
|
129
130
|
}
|
|
130
|
-
const formatter = createLocaleDateTimeFormatter(locale);
|
|
131
|
+
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
131
132
|
const parts = formatter.formatToParts(date);
|
|
132
133
|
return getLocalizedTimePart(part, parts);
|
|
133
134
|
}
|
|
134
|
-
function localizeTimeString(value, locale
|
|
135
|
+
function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true }) {
|
|
135
136
|
if (!isValidTime(value)) {
|
|
136
137
|
return null;
|
|
137
138
|
}
|
|
138
139
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
139
140
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
140
|
-
const formatter = createLocaleDateTimeFormatter(locale, includeSeconds);
|
|
141
|
+
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
|
|
141
142
|
return (formatter === null || formatter === void 0 ? void 0 : formatter.format(dateFromTimeString)) || null;
|
|
142
143
|
}
|
|
143
|
-
function localizeTimeStringToParts(value, locale
|
|
144
|
+
function localizeTimeStringToParts({ value, locale, numberingSystem }) {
|
|
144
145
|
if (!isValidTime(value)) {
|
|
145
146
|
return null;
|
|
146
147
|
}
|
|
147
148
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
148
149
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
149
150
|
if (dateFromTimeString) {
|
|
150
|
-
const formatter = createLocaleDateTimeFormatter(locale);
|
|
151
|
+
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
151
152
|
const parts = formatter.formatToParts(dateFromTimeString);
|
|
152
153
|
return {
|
|
153
154
|
localizedHour: getLocalizedTimePart("hour", parts),
|
|
@@ -161,14 +162,14 @@ function localizeTimeStringToParts(value, locale = "en") {
|
|
|
161
162
|
}
|
|
162
163
|
return null;
|
|
163
164
|
}
|
|
164
|
-
function getTimeParts(value, locale
|
|
165
|
+
function getTimeParts({ value, locale, numberingSystem }) {
|
|
165
166
|
if (!isValidTime(value)) {
|
|
166
167
|
return null;
|
|
167
168
|
}
|
|
168
169
|
const { hour, minute, second = "0" } = parseTimeString(value);
|
|
169
170
|
const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
|
|
170
171
|
if (dateFromTimeString) {
|
|
171
|
-
const formatter = createLocaleDateTimeFormatter(locale);
|
|
172
|
+
const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
|
|
172
173
|
const parts = formatter.formatToParts(dateFromTimeString);
|
|
173
174
|
return parts;
|
|
174
175
|
}
|
|
@@ -190,7 +191,7 @@ function parseTimeString(value) {
|
|
|
190
191
|
};
|
|
191
192
|
}
|
|
192
193
|
|
|
193
|
-
const inputTimePickerCss = "
|
|
194
|
+
const inputTimePickerCss = "@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:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
194
195
|
|
|
195
196
|
const InputTimePicker = class {
|
|
196
197
|
constructor(hostRef) {
|
|
@@ -202,33 +203,35 @@ const InputTimePicker = class {
|
|
|
202
203
|
//
|
|
203
204
|
//--------------------------------------------------------------------------
|
|
204
205
|
/**
|
|
205
|
-
*
|
|
206
|
+
* When `true`, the component is active.
|
|
206
207
|
*
|
|
207
|
-
* @deprecated Use open instead.
|
|
208
|
+
* @deprecated Use `open` instead.
|
|
208
209
|
*/
|
|
209
210
|
this.active = false;
|
|
210
|
-
/** When true
|
|
211
|
+
/** When `true`, displays the `calcite-time-picker` component. */
|
|
211
212
|
this.open = false;
|
|
212
|
-
/**
|
|
213
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
213
214
|
this.disabled = false;
|
|
214
215
|
/**
|
|
215
|
-
* When true
|
|
216
|
+
* When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
|
|
216
217
|
*
|
|
217
218
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
218
219
|
*/
|
|
219
220
|
this.readOnly = false;
|
|
220
221
|
/**
|
|
221
|
-
* When true
|
|
222
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
222
223
|
*
|
|
223
224
|
* @internal
|
|
224
225
|
*/
|
|
225
226
|
this.required = false;
|
|
226
|
-
/**
|
|
227
|
+
/** Specifies the size of the component. */
|
|
227
228
|
this.scale = "m";
|
|
228
229
|
/**
|
|
229
230
|
* Determines the type of positioning to use for the overlaid content.
|
|
230
231
|
*
|
|
231
|
-
* Using
|
|
232
|
+
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
|
233
|
+
*
|
|
234
|
+
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
232
235
|
*
|
|
233
236
|
*/
|
|
234
237
|
this.overlayPositioning = "absolute";
|
|
@@ -238,9 +241,9 @@ const InputTimePicker = class {
|
|
|
238
241
|
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
|
239
242
|
*/
|
|
240
243
|
this.placement = "auto";
|
|
241
|
-
/**
|
|
244
|
+
/** Specifies the granularity the component's `value` must adhere to (in seconds). */
|
|
242
245
|
this.step = 60;
|
|
243
|
-
/** The
|
|
246
|
+
/** The component's value in UTC (always 24-hour format). */
|
|
244
247
|
this.value = null;
|
|
245
248
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
246
249
|
this.internalValueChange = false;
|
|
@@ -251,7 +254,7 @@ const InputTimePicker = class {
|
|
|
251
254
|
// State
|
|
252
255
|
//
|
|
253
256
|
//--------------------------------------------------------------------------
|
|
254
|
-
this.
|
|
257
|
+
this.effectiveLocale = "";
|
|
255
258
|
//--------------------------------------------------------------------------
|
|
256
259
|
//
|
|
257
260
|
// Event Listeners
|
|
@@ -260,9 +263,21 @@ const InputTimePicker = class {
|
|
|
260
263
|
this.calciteInternalInputBlurHandler = () => {
|
|
261
264
|
this.open = false;
|
|
262
265
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
263
|
-
const locale =
|
|
264
|
-
|
|
265
|
-
|
|
266
|
+
const { effectiveLocale: locale, numberingSystem, value, calciteInputEl } = this;
|
|
267
|
+
numberStringFormatter.numberFormatOptions = {
|
|
268
|
+
locale,
|
|
269
|
+
numberingSystem,
|
|
270
|
+
useGrouping: false
|
|
271
|
+
};
|
|
272
|
+
const delocalizedValue = numberStringFormatter.delocalize(calciteInputEl.value);
|
|
273
|
+
const localizedInputValue = localizeTimeString({
|
|
274
|
+
value: delocalizedValue,
|
|
275
|
+
includeSeconds: shouldIncludeSeconds,
|
|
276
|
+
locale,
|
|
277
|
+
numberingSystem
|
|
278
|
+
});
|
|
279
|
+
this.setInputValue(localizedInputValue ||
|
|
280
|
+
localizeTimeString({ value, locale, numberingSystem, includeSeconds: shouldIncludeSeconds }));
|
|
266
281
|
};
|
|
267
282
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
268
283
|
if (!this.readOnly) {
|
|
@@ -272,7 +287,21 @@ const InputTimePicker = class {
|
|
|
272
287
|
};
|
|
273
288
|
this.calciteInputInputHandler = (event) => {
|
|
274
289
|
const target = event.target;
|
|
275
|
-
|
|
290
|
+
numberStringFormatter.numberFormatOptions = {
|
|
291
|
+
locale: this.effectiveLocale,
|
|
292
|
+
numberingSystem: this.numberingSystem,
|
|
293
|
+
useGrouping: false
|
|
294
|
+
};
|
|
295
|
+
const delocalizedValue = numberStringFormatter.delocalize(target.value);
|
|
296
|
+
this.setValue({ value: delocalizedValue });
|
|
297
|
+
// only translate the numerals until blur
|
|
298
|
+
const localizedValue = delocalizedValue
|
|
299
|
+
.split("")
|
|
300
|
+
.map((char) => numberKeys.includes(char)
|
|
301
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
302
|
+
: char)
|
|
303
|
+
.join("");
|
|
304
|
+
this.setInputValue(localizedValue);
|
|
276
305
|
};
|
|
277
306
|
this.timePickerChangeHandler = (event) => {
|
|
278
307
|
event.stopPropagation();
|
|
@@ -318,7 +347,12 @@ const InputTimePicker = class {
|
|
|
318
347
|
this.setValue = ({ value, origin = "input" }) => {
|
|
319
348
|
const previousValue = this.value;
|
|
320
349
|
const newValue = formatTimeString(value);
|
|
321
|
-
const newLocalizedValue = localizeTimeString(
|
|
350
|
+
const newLocalizedValue = localizeTimeString({
|
|
351
|
+
value: newValue,
|
|
352
|
+
locale: this.effectiveLocale,
|
|
353
|
+
numberingSystem: this.numberingSystem,
|
|
354
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
355
|
+
});
|
|
322
356
|
this.internalValueChange = origin !== "external" && origin !== "loading";
|
|
323
357
|
const shouldEmit = origin !== "loading" &&
|
|
324
358
|
origin !== "external" &&
|
|
@@ -364,16 +398,17 @@ const InputTimePicker = class {
|
|
|
364
398
|
this.open = false;
|
|
365
399
|
return;
|
|
366
400
|
}
|
|
367
|
-
|
|
401
|
+
if (value) {
|
|
402
|
+
this.reposition(true);
|
|
403
|
+
}
|
|
368
404
|
}
|
|
369
405
|
handleDisabledAndReadOnlyChange(value) {
|
|
370
406
|
if (!value) {
|
|
371
407
|
this.open = false;
|
|
372
408
|
}
|
|
373
409
|
}
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
this.setInputValue(localizeTimeString(this.value, locale, this.shouldIncludeSeconds()));
|
|
410
|
+
localeChanged() {
|
|
411
|
+
updateEffectiveLocale(this);
|
|
377
412
|
}
|
|
378
413
|
valueWatcher(newValue) {
|
|
379
414
|
if (!this.internalValueChange) {
|
|
@@ -381,6 +416,14 @@ const InputTimePicker = class {
|
|
|
381
416
|
}
|
|
382
417
|
this.internalValueChange = false;
|
|
383
418
|
}
|
|
419
|
+
effectiveLocaleWatcher() {
|
|
420
|
+
this.setInputValue(localizeTimeString({
|
|
421
|
+
value: this.value,
|
|
422
|
+
locale: this.effectiveLocale,
|
|
423
|
+
numberingSystem: this.numberingSystem,
|
|
424
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
425
|
+
}));
|
|
426
|
+
}
|
|
384
427
|
clickHandler(event) {
|
|
385
428
|
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
386
429
|
return;
|
|
@@ -409,10 +452,14 @@ const InputTimePicker = class {
|
|
|
409
452
|
var _a;
|
|
410
453
|
(_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
411
454
|
}
|
|
412
|
-
/**
|
|
413
|
-
|
|
455
|
+
/**
|
|
456
|
+
* Updates the position of the component.
|
|
457
|
+
*
|
|
458
|
+
* @param delayed
|
|
459
|
+
*/
|
|
460
|
+
async reposition(delayed = false) {
|
|
414
461
|
var _a;
|
|
415
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition();
|
|
462
|
+
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
|
416
463
|
}
|
|
417
464
|
onLabelClick() {
|
|
418
465
|
this.setFocus();
|
|
@@ -426,13 +473,13 @@ const InputTimePicker = class {
|
|
|
426
473
|
//
|
|
427
474
|
//--------------------------------------------------------------------------
|
|
428
475
|
connectedCallback() {
|
|
476
|
+
connectLocalized(this);
|
|
429
477
|
const { active, open } = this;
|
|
430
478
|
if (this.value) {
|
|
431
479
|
this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
|
|
432
480
|
}
|
|
433
481
|
connectLabel(this);
|
|
434
482
|
connectForm(this);
|
|
435
|
-
watchGlobalAttributes(this, ["lang"]);
|
|
436
483
|
if (open) {
|
|
437
484
|
this.active = open;
|
|
438
485
|
}
|
|
@@ -446,7 +493,7 @@ const InputTimePicker = class {
|
|
|
446
493
|
disconnectedCallback() {
|
|
447
494
|
disconnectLabel(this);
|
|
448
495
|
disconnectForm(this);
|
|
449
|
-
|
|
496
|
+
disconnectLocalized(this);
|
|
450
497
|
}
|
|
451
498
|
componentDidRender() {
|
|
452
499
|
updateHostInteraction(this);
|
|
@@ -458,7 +505,7 @@ const InputTimePicker = class {
|
|
|
458
505
|
// --------------------------------------------------------------------------
|
|
459
506
|
render() {
|
|
460
507
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
461
|
-
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang:
|
|
508
|
+
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.effectiveLocale, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), h(HiddenFormInputSlot, { component: this })));
|
|
462
509
|
}
|
|
463
510
|
get el() { return getElement(this); }
|
|
464
511
|
static get watchers() { return {
|
|
@@ -466,9 +513,9 @@ const InputTimePicker = class {
|
|
|
466
513
|
"open": ["openHandler"],
|
|
467
514
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
468
515
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
"
|
|
516
|
+
"locale": ["localeChanged"],
|
|
517
|
+
"value": ["valueWatcher"],
|
|
518
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
472
519
|
}; }
|
|
473
520
|
};
|
|
474
521
|
InputTimePicker.style = inputTimePickerCss;
|
|
@@ -517,7 +564,7 @@ const TEXT = {
|
|
|
517
564
|
secondUp: "Increase second"
|
|
518
565
|
};
|
|
519
566
|
|
|
520
|
-
const timePickerCss = "
|
|
567
|
+
const timePickerCss = "@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:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";
|
|
521
568
|
|
|
522
569
|
function capitalize(str) {
|
|
523
570
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
@@ -607,7 +654,7 @@ const TimePicker = class {
|
|
|
607
654
|
this.intlSecondUp = TEXT.secondUp;
|
|
608
655
|
/** Specifies the size of the component. */
|
|
609
656
|
this.scale = "m";
|
|
610
|
-
/** Specifies the granularity the
|
|
657
|
+
/** Specifies the granularity the `value` must adhere to (in seconds). */
|
|
611
658
|
this.step = 60;
|
|
612
659
|
/** The component's value in UTC (always 24-hour format). */
|
|
613
660
|
this.value = null;
|
|
@@ -616,7 +663,7 @@ const TimePicker = class {
|
|
|
616
663
|
// State
|
|
617
664
|
//
|
|
618
665
|
// --------------------------------------------------------------------------
|
|
619
|
-
this.
|
|
666
|
+
this.effectiveLocale = "";
|
|
620
667
|
this.showSecond = this.step < 60;
|
|
621
668
|
this.decrementHour = () => {
|
|
622
669
|
const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
|
|
@@ -869,8 +916,8 @@ const TimePicker = class {
|
|
|
869
916
|
this.setValue = (value, emit = true) => {
|
|
870
917
|
if (isValidTime(value)) {
|
|
871
918
|
const { hour, minute, second } = parseTimeString(value);
|
|
872
|
-
const locale =
|
|
873
|
-
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts(value, locale);
|
|
919
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
|
920
|
+
const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts({ value, locale, numberingSystem });
|
|
874
921
|
this.localizedHour = localizedHour;
|
|
875
922
|
this.localizedHourSuffix = localizedHourSuffix;
|
|
876
923
|
this.localizedMinute = localizedMinute;
|
|
@@ -883,7 +930,7 @@ const TimePicker = class {
|
|
|
883
930
|
if (localizedMeridiem) {
|
|
884
931
|
this.localizedMeridiem = localizedMeridiem;
|
|
885
932
|
this.meridiem = getMeridiem(this.hour);
|
|
886
|
-
const formatParts = getTimeParts(value, locale);
|
|
933
|
+
const formatParts = getTimeParts({ value, locale, numberingSystem });
|
|
887
934
|
this.meridiemOrder = this.getMeridiemOrder(formatParts);
|
|
888
935
|
}
|
|
889
936
|
}
|
|
@@ -907,7 +954,7 @@ const TimePicker = class {
|
|
|
907
954
|
};
|
|
908
955
|
this.setValuePart = (key, value, emit = true) => {
|
|
909
956
|
var _a;
|
|
910
|
-
const locale =
|
|
957
|
+
const { effectiveLocale: locale, numberingSystem } = this;
|
|
911
958
|
if (key === "meridiem") {
|
|
912
959
|
this.meridiem = value;
|
|
913
960
|
if (isValidNumber(this.hour)) {
|
|
@@ -924,12 +971,22 @@ const TimePicker = class {
|
|
|
924
971
|
}
|
|
925
972
|
break;
|
|
926
973
|
}
|
|
927
|
-
this.localizedHour = localizeTimePart(
|
|
974
|
+
this.localizedHour = localizeTimePart({
|
|
975
|
+
value: this.hour,
|
|
976
|
+
part: "hour",
|
|
977
|
+
locale,
|
|
978
|
+
numberingSystem
|
|
979
|
+
});
|
|
928
980
|
}
|
|
929
981
|
}
|
|
930
982
|
else {
|
|
931
983
|
this[key] = typeof value === "number" ? formatTimePart(value) : value;
|
|
932
|
-
this[`localized${capitalize(key)}`] = localizeTimePart(
|
|
984
|
+
this[`localized${capitalize(key)}`] = localizeTimePart({
|
|
985
|
+
value: this[key],
|
|
986
|
+
part: key,
|
|
987
|
+
locale,
|
|
988
|
+
numberingSystem
|
|
989
|
+
});
|
|
933
990
|
}
|
|
934
991
|
if (this.hour && this.minute) {
|
|
935
992
|
const showSeconds = this.second && this.showSecond;
|
|
@@ -939,19 +996,22 @@ const TimePicker = class {
|
|
|
939
996
|
this.value = null;
|
|
940
997
|
}
|
|
941
998
|
this.localizedMeridiem = this.value
|
|
942
|
-
? ((_a = localizeTimeStringToParts(this.value, locale)) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
|
|
943
|
-
: localizeTimePart(this.meridiem, "meridiem", locale);
|
|
999
|
+
? ((_a = localizeTimeStringToParts({ value: this.value, locale, numberingSystem })) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
|
|
1000
|
+
: localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
|
|
944
1001
|
if (emit) {
|
|
945
1002
|
this.calciteInternalTimePickerChange.emit();
|
|
946
1003
|
}
|
|
947
1004
|
};
|
|
948
1005
|
}
|
|
949
|
-
|
|
950
|
-
this
|
|
1006
|
+
localeChanged() {
|
|
1007
|
+
updateEffectiveLocale(this);
|
|
951
1008
|
}
|
|
952
1009
|
valueWatcher(newValue) {
|
|
953
1010
|
this.setValue(newValue, false);
|
|
954
1011
|
}
|
|
1012
|
+
effectiveLocaleWatcher() {
|
|
1013
|
+
this.updateLocale();
|
|
1014
|
+
}
|
|
955
1015
|
//--------------------------------------------------------------------------
|
|
956
1016
|
//
|
|
957
1017
|
// Event Listeners
|
|
@@ -1050,7 +1110,7 @@ const TimePicker = class {
|
|
|
1050
1110
|
return isActivationKey(key);
|
|
1051
1111
|
}
|
|
1052
1112
|
getMeridiemOrder(formatParts) {
|
|
1053
|
-
const locale =
|
|
1113
|
+
const locale = this.effectiveLocale;
|
|
1054
1114
|
const isRTLKind = locale === "ar" || locale === "he";
|
|
1055
1115
|
if (formatParts && !isRTLKind) {
|
|
1056
1116
|
const index = formatParts.findIndex((parts) => {
|
|
@@ -1061,8 +1121,7 @@ const TimePicker = class {
|
|
|
1061
1121
|
return 0;
|
|
1062
1122
|
}
|
|
1063
1123
|
updateLocale() {
|
|
1064
|
-
|
|
1065
|
-
this.hourCycle = getLocaleHourCycle(locale);
|
|
1124
|
+
this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
|
|
1066
1125
|
this.setValue(this.value, false);
|
|
1067
1126
|
}
|
|
1068
1127
|
// --------------------------------------------------------------------------
|
|
@@ -1071,13 +1130,16 @@ const TimePicker = class {
|
|
|
1071
1130
|
//
|
|
1072
1131
|
// --------------------------------------------------------------------------
|
|
1073
1132
|
connectedCallback() {
|
|
1133
|
+
connectLocalized(this);
|
|
1074
1134
|
this.updateLocale();
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1135
|
+
this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
|
|
1136
|
+
value: "0:00:00",
|
|
1137
|
+
locale: this.effectiveLocale,
|
|
1138
|
+
numberingSystem: this.numberingSystem
|
|
1139
|
+
}));
|
|
1078
1140
|
}
|
|
1079
1141
|
disconnectedCallback() {
|
|
1080
|
-
|
|
1142
|
+
disconnectLocalized(this);
|
|
1081
1143
|
}
|
|
1082
1144
|
// --------------------------------------------------------------------------
|
|
1083
1145
|
//
|
|
@@ -1142,9 +1204,9 @@ const TimePicker = class {
|
|
|
1142
1204
|
}
|
|
1143
1205
|
get el() { return getElement(this); }
|
|
1144
1206
|
static get watchers() { return {
|
|
1145
|
-
"
|
|
1146
|
-
"
|
|
1147
|
-
"
|
|
1207
|
+
"locale": ["localeChanged"],
|
|
1208
|
+
"value": ["valueWatcher"],
|
|
1209
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
1148
1210
|
}; }
|
|
1149
1211
|
};
|
|
1150
1212
|
TimePicker.style = timePickerCss;
|