@esri/calcite-components 1.0.0-beta.95 → 1.0.0-beta.97
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-02206586.js +6 -0
- package/dist/calcite/p-0327c8e3.entry.js +6 -0
- package/dist/calcite/p-10eda8ed.entry.js +6 -0
- package/dist/calcite/p-1240fa7b.entry.js +6 -0
- package/dist/{esm-es5/index.js → calcite/p-146b4fe4.js} +2 -1
- package/dist/calcite/p-15704f21.entry.js +6 -0
- package/dist/calcite/p-166b1433.entry.js +6 -0
- package/dist/calcite/p-19d918b1.entry.js +6 -0
- package/dist/calcite/p-19de6a2c.entry.js +6 -0
- package/dist/calcite/p-1d1e8bdb.entry.js +6 -0
- package/dist/calcite/p-20ac0aba.entry.js +6 -0
- package/dist/calcite/p-21b74649.entry.js +6 -0
- package/dist/calcite/p-21c7e603.entry.js +6 -0
- package/dist/calcite/p-23a63d0d.entry.js +6 -0
- package/dist/calcite/p-25482df1.js +6 -0
- package/dist/calcite/p-311896ed.entry.js +6 -0
- package/dist/calcite/p-344b3c6c.entry.js +6 -0
- package/dist/calcite/p-3bed9a6f.entry.js +6 -0
- package/dist/calcite/p-3e539778.entry.js +6 -0
- package/dist/calcite/p-417a1880.entry.js +6 -0
- package/dist/calcite/p-481ea3fa.entry.js +6 -0
- package/dist/calcite/p-4af0a397.entry.js +6 -0
- package/dist/calcite/p-4ca93e87.js +6 -0
- package/dist/calcite/p-4d5bdb2b.entry.js +6 -0
- package/dist/calcite/{p-58a40573.js → p-4d9ab6e1.js} +1 -1
- package/dist/calcite/{p-77636ceb.js → p-4ee3752e.js} +2 -2
- package/dist/calcite/{p-af88a01c.js → p-535e2f9b.js} +1 -1
- package/dist/calcite/p-55ea8247.entry.js +6 -0
- package/dist/calcite/p-5710214d.entry.js +6 -0
- package/dist/calcite/p-5a400333.entry.js +6 -0
- package/dist/calcite/{p-80a51eb7.js → p-5ae3b7c4.js} +1 -1
- package/dist/calcite/p-5c79b811.entry.js +6 -0
- package/dist/calcite/p-5cf8cdc7.entry.js +6 -0
- package/dist/calcite/{p-966679da.js → p-5d6608fd.js} +1 -1
- package/dist/calcite/{p-48bb042f.js → p-622f8ecb.js} +1 -1
- package/dist/calcite/p-6284cc30.entry.js +6 -0
- package/dist/calcite/p-64b5872b.js +6 -0
- package/dist/calcite/{p-3053c253.js → p-698bfe4a.js} +2 -2
- package/dist/calcite/p-6c8b5581.entry.js +6 -0
- package/dist/calcite/{p-f4e3dc87.js → p-717298f3.js} +1 -1
- package/dist/calcite/p-75bb0987.entry.js +6 -0
- package/dist/calcite/p-78308811.entry.js +6 -0
- package/dist/calcite/p-84272f4b.entry.js +6 -0
- package/dist/calcite/p-85cbceca.entry.js +6 -0
- package/dist/calcite/{p-00abe273.js → p-8713e986.js} +2 -2
- package/dist/calcite/p-88798f16.entry.js +6 -0
- package/dist/calcite/p-8dc9be64.js +6 -0
- package/dist/calcite/p-91755387.js +7 -0
- package/dist/calcite/p-91b670e6.js +6 -0
- package/dist/calcite/p-92e553ee.entry.js +6 -0
- package/dist/calcite/p-94363dcc.entry.js +6 -0
- package/dist/calcite/p-96bf42e5.js +6 -0
- package/dist/calcite/p-982627c1.entry.js +6 -0
- package/dist/calcite/p-98ac3a6d.entry.js +6 -0
- package/dist/calcite/p-9b7467a5.entry.js +6 -0
- package/dist/calcite/p-9b7d5490.entry.js +6 -0
- package/dist/calcite/{p-510d1337.js → p-9c8fc268.js} +2 -2
- package/dist/calcite/p-a225f799.entry.js +6 -0
- package/dist/calcite/p-a2ddecc3.entry.js +6 -0
- package/dist/calcite/p-a2f5420b.js +6 -0
- package/dist/calcite/p-a53ca6f0.entry.js +6 -0
- package/dist/calcite/p-a6fe00fa.entry.js +6 -0
- package/dist/calcite/{p-3aaffa03.js → p-acc49c92.js} +1 -1
- package/dist/calcite/{p-901dc3de.js → p-af9e6e54.js} +1 -1
- package/dist/calcite/{p-ef082834.js → p-b675ccdc.js} +1 -1
- package/dist/calcite/p-b7f0762e.entry.js +6 -0
- package/dist/calcite/{p-4b823890.js → p-bbb9a284.js} +2 -2
- package/dist/calcite/p-bd16de0f.entry.js +6 -0
- package/dist/calcite/{p-21116f05.js → p-bd95c6d9.js} +1 -1
- package/dist/calcite/{p-46fef127.js → p-bda78a0c.js} +1 -1
- package/dist/calcite/p-be359e77.entry.js +6 -0
- package/dist/calcite/p-c25eed82.entry.js +6 -0
- package/dist/calcite/p-c40610e0.entry.js +6 -0
- package/dist/calcite/p-c469f3ba.entry.js +6 -0
- package/dist/calcite/p-c8699730.entry.js +6 -0
- package/dist/calcite/p-ce98b12c.entry.js +6 -0
- package/dist/calcite/{p-e0cd1e84.js → p-cf2d3774.js} +2 -2
- package/dist/calcite/{p-bd64d06c.js → p-d5bfadd8.js} +1 -1
- package/dist/calcite/p-d83bbe04.entry.js +6 -0
- package/dist/calcite/{p-b5326072.js → p-dd293eb9.js} +1 -1
- package/dist/calcite/p-df9a2f95.entry.js +6 -0
- package/dist/calcite/p-e3400054.entry.js +6 -0
- package/dist/calcite/p-e393bcaa.entry.js +6 -0
- package/dist/calcite/p-e7379f2a.entry.js +6 -0
- package/dist/calcite/p-e905ec51.entry.js +6 -0
- package/dist/calcite/p-ef8c4700.entry.js +6 -0
- package/dist/calcite/p-f1815b6c.entry.js +6 -0
- package/dist/calcite/p-f72104d6.entry.js +6 -0
- package/dist/calcite/p-f74d7303.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d10914db.js → ExpandToggle-e41acdfc.js} +5 -5
- package/dist/cjs/{Heading-1d94663a.js → Heading-1e87a15f.js} +2 -2
- package/dist/cjs/{app-globals-843f6f1d.js → app-globals-1cc5c95b.js} +2 -2
- package/dist/cjs/{array-7de7f400.js → array-e708c699.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 +63 -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 +116 -61
- package/dist/cjs/calcite-input-message.cjs.entry.js +9 -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 +7 -7
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +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-ef852d9d.js} +3 -3
- package/dist/cjs/{debounce-3f8af6d8.js → debounce-2c8b61fb.js} +1 -1
- package/dist/cjs/{dom-df1903f9.js → dom-2ec8c9ed.js} +41 -3
- package/dist/cjs/{filter-a0274ec6.js → filter-9411bbc1.js} +3 -4
- package/dist/cjs/{floating-ui-99430551.js → floating-ui-b48c8256.js} +175 -23
- package/dist/cjs/{form-53eb189e.js → form-1d831023.js} +3 -3
- package/dist/cjs/{guid-9ba07df0.js → guid-f4f03a7a.js} +1 -1
- package/dist/cjs/{index-bbc26bc6.js → index-a0010f96.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b210765f.js → interactive-32293bca.js} +1 -1
- package/dist/cjs/{interfaces-43537378.js → interfaces-971ccc32.js} +1 -1
- package/dist/cjs/{key-7c8bf01a.js → key-6a462411.js} +1 -1
- package/dist/cjs/{label-a586ee40.js → label-28060b83.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-678ce361.js +414 -0
- package/dist/cjs/{math-8f7af178.js → math-f71ad83a.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-95812e02.js +506 -0
- package/dist/cjs/observers-5706326b.js +48 -0
- package/dist/cjs/{openCloseComponent-b884b722.js → openCloseComponent-178191c0.js} +1 -1
- package/dist/cjs/{resources-aa8679e5.js → resources-199140b3.js} +1 -1
- package/dist/cjs/{resources-ec998c3c.js → resources-4c8610b1.js} +12 -70
- package/dist/cjs/{resources-c61ea826.js → resources-8b3ba64a.js} +5 -5
- package/dist/cjs/{resources-c25710c9.js → resources-abee76d7.js} +1 -1
- package/dist/cjs/{resources-6f839761.js → resources-b5a5f8a7.js} +1 -1
- package/dist/cjs/{resources-dd0bf97d.js → resources-bd2202e9.js} +1 -1
- package/dist/cjs/{sortable.esm-6707f3f9.js → sortable.esm-673fe959.js} +1 -1
- package/dist/cjs/{utils-2cc96bc6.js → utils-1e0cd9e8.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 +489 -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 +280 -285
- 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 +249 -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 +900 -813
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +124 -118
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -20
- package/dist/collection/components/input-number/input-number.js +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 -3
- package/dist/collection/components/loader/loader.js +169 -172
- 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-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 +110 -53
- package/dist/components/calcite-input-message.js +5 -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 +17 -9
- package/dist/components/date-picker-month-header.js +25 -11
- package/dist/components/date-picker-month.js +4 -4
- package/dist/components/date-picker.js +20 -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 +5 -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-a4a9eace.js} +5 -5
- package/dist/esm/{Heading-3a6ae137.js → Heading-e0abf8a2.js} +2 -2
- package/dist/esm/{app-globals-8ea1c0e3.js → app-globals-59bc5b85.js} +2 -2
- package/dist/esm/{array-2db27e14.js → array-03a17827.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 +63 -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 +116 -61
- package/dist/esm/calcite-input-message.entry.js +9 -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 +7 -7
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +17 -17
- package/dist/esm/calcite-pagination.entry.js +20 -13
- package/dist/esm/calcite-panel.entry.js +33 -32
- package/dist/esm/calcite-pick-list_3.entry.js +27 -27
- package/dist/esm/calcite-popover_2.entry.js +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-a3e8c63a.js} +3 -3
- package/dist/esm/{debounce-d31cc476.js → debounce-d85a6654.js} +1 -1
- package/dist/esm/{dom-24af003b.js → dom-8f0a9ff2.js} +40 -4
- package/dist/esm/{filter-72316b3f.js → filter-0e5a9913.js} +3 -4
- package/dist/esm/{floating-ui-10f8689c.js → floating-ui-5c49748f.js} +173 -22
- package/dist/esm/{form-390fdf0f.js → form-80dbd90e.js} +3 -3
- package/dist/esm/{guid-b68b1941.js → guid-9f15e57a.js} +1 -1
- package/dist/esm/{index-8384b5ec.js → index-1f9b54dc.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f2ec7825.js → interactive-5db230e8.js} +1 -1
- package/dist/esm/{interfaces-ba98f966.js → interfaces-87b65de3.js} +1 -1
- package/dist/esm/{key-ed874b7d.js → key-acc755b7.js} +1 -1
- package/dist/esm/{label-78f72c1a.js → label-333c4a4c.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-35f81208.js +403 -0
- package/dist/esm/{math-2893cee3.js → math-dd4df0b5.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-45c9ed51.js +502 -0
- package/dist/esm/observers-9f44e9b3.js +46 -0
- package/dist/esm/{openCloseComponent-0a4c6226.js → openCloseComponent-ba7d452b.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-32c242fa.js → resources-3e3255c7.js} +5 -5
- package/dist/esm/{resources-f8aa3ed1.js → resources-8812a15c.js} +5 -61
- package/dist/esm/{resources-351f6f14.js → resources-9a59d78c.js} +1 -1
- package/dist/esm/{resources-ea0a60b4.js → resources-9c476cb6.js} +1 -1
- package/dist/esm/{resources-3acd3089.js → resources-a75141ea.js} +1 -1
- package/dist/esm/{resources-0497ae87.js → resources-ca31b4fd.js} +1 -1
- package/dist/esm/{sortable.esm-3d78dbdc.js → sortable.esm-8be1d379.js} +1 -1
- package/dist/esm/{utils-a7e4e0e1.js → utils-85948aeb.js} +1 -1
- package/dist/extras/docs-json.json +1948 -783
- 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 +2 -3
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
- 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 +6 -9
- package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +17 -19
- package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
- package/dist/types/components/input-text/input-text.d.ts +10 -10
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +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 +9 -4
- package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +10 -10
- package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/notice.d.ts +7 -8
- package/dist/types/components/option/option.d.ts +2 -2
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
- package/dist/types/components/pagination/pagination.d.ts +5 -8
- package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
- package/dist/types/components/panel/panel.d.ts +21 -23
- package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list/pick-list.d.ts +7 -7
- package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
- package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +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 +1074 -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 +2523 -1974
- 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,22 +1,21 @@
|
|
|
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.97
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { h, Host, Build } from "@stencil/core";
|
|
7
7
|
import { getLocaleData, getValueAsDateRange } from "../date-picker/utils";
|
|
8
8
|
import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDate, setEndOfDay } from "../../utils/date";
|
|
9
9
|
import { TEXT } from "../date-picker/resources";
|
|
10
10
|
import { CSS } from "./resources";
|
|
11
11
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
12
12
|
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
13
|
-
import {
|
|
13
|
+
import { FloatingCSS, connectFloatingUI, disconnectFloatingUI, defaultMenuPlacement, filterComputedPlacements, reposition, updateAfterClose } from "../../utils/floating-ui";
|
|
14
14
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
15
15
|
import { toAriaBoolean } from "../../utils/dom";
|
|
16
16
|
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { debounce } from "lodash-es";
|
|
17
|
+
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
18
|
+
import { numberKeys } from "../../utils/key";
|
|
20
19
|
export class InputDatePicker {
|
|
21
20
|
constructor() {
|
|
22
21
|
//--------------------------------------------------------------------------
|
|
@@ -25,53 +24,53 @@ export class InputDatePicker {
|
|
|
25
24
|
//
|
|
26
25
|
//--------------------------------------------------------------------------
|
|
27
26
|
/**
|
|
28
|
-
* When
|
|
27
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
29
28
|
*/
|
|
30
29
|
this.disabled = false;
|
|
31
30
|
/**
|
|
32
|
-
* When true
|
|
31
|
+
* When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
|
|
33
32
|
*
|
|
34
33
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
35
34
|
*/
|
|
36
35
|
this.readOnly = false;
|
|
37
36
|
/**
|
|
38
|
-
*
|
|
37
|
+
* When `true`, the component is active.
|
|
39
38
|
*
|
|
40
|
-
* @deprecated use open instead
|
|
39
|
+
* @deprecated use `open` instead.
|
|
41
40
|
*/
|
|
42
41
|
this.active = false;
|
|
43
|
-
/**
|
|
42
|
+
/** When `true`, displays the `calcite-date-picker` component. */
|
|
44
43
|
this.open = false;
|
|
45
44
|
/**
|
|
46
|
-
*
|
|
45
|
+
* Accessible name for the component's previous month button.
|
|
47
46
|
*
|
|
48
47
|
* @default "Previous month"
|
|
49
48
|
*/
|
|
50
49
|
this.intlPrevMonth = TEXT.prevMonth;
|
|
51
50
|
/**
|
|
52
|
-
*
|
|
51
|
+
* Accessible name for the component's next month button.
|
|
53
52
|
*
|
|
54
53
|
* @default "Next month"
|
|
55
54
|
*/
|
|
56
55
|
this.intlNextMonth = TEXT.nextMonth;
|
|
57
56
|
/**
|
|
58
|
-
*
|
|
57
|
+
* Accessible name for the component's year input.
|
|
59
58
|
*
|
|
60
59
|
* @default "Year"
|
|
61
60
|
*/
|
|
62
61
|
this.intlYear = TEXT.year;
|
|
63
|
-
/**
|
|
62
|
+
/** Specifies the size of the component. */
|
|
64
63
|
this.scale = "m";
|
|
65
64
|
/**
|
|
66
|
-
*
|
|
65
|
+
* Specifies the placement of the `calcite-date-picker` relative to the component.
|
|
67
66
|
*
|
|
68
67
|
* @default "bottom-start"
|
|
69
68
|
*/
|
|
70
69
|
this.placement = defaultMenuPlacement;
|
|
71
|
-
/**
|
|
70
|
+
/** When `true`, activates a range for the component. */
|
|
72
71
|
this.range = false;
|
|
73
72
|
/**
|
|
74
|
-
* When true
|
|
73
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
75
74
|
*
|
|
76
75
|
* @internal
|
|
77
76
|
*/
|
|
@@ -79,14 +78,20 @@ export class InputDatePicker {
|
|
|
79
78
|
/**
|
|
80
79
|
* Determines the type of positioning to use for the overlaid content.
|
|
81
80
|
*
|
|
82
|
-
* Using
|
|
81
|
+
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
|
82
|
+
*
|
|
83
|
+
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
83
84
|
*
|
|
84
85
|
*/
|
|
85
86
|
this.overlayPositioning = "absolute";
|
|
86
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* When `true`, disables the default behavior on the third click of narrowing or extending the range.
|
|
89
|
+
* Instead starts a new range.
|
|
90
|
+
*/
|
|
87
91
|
this.proximitySelectionDisabled = false;
|
|
88
|
-
/**
|
|
92
|
+
/** Defines the layout of the component. */
|
|
89
93
|
this.layout = "horizontal";
|
|
94
|
+
this.effectiveLocale = "";
|
|
90
95
|
this.focusedInput = "start";
|
|
91
96
|
this.globalAttributes = {};
|
|
92
97
|
this.openTransitionProp = "opacity";
|
|
@@ -95,7 +100,6 @@ export class InputDatePicker {
|
|
|
95
100
|
// Private Methods
|
|
96
101
|
//
|
|
97
102
|
//--------------------------------------------------------------------------
|
|
98
|
-
this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
|
|
99
103
|
this.setFilteredPlacements = () => {
|
|
100
104
|
const { el, flipPlacements } = this;
|
|
101
105
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -143,8 +147,17 @@ export class InputDatePicker {
|
|
|
143
147
|
}
|
|
144
148
|
this.focusedInput = "end";
|
|
145
149
|
};
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
150
|
+
this.startInputInput = () => {
|
|
151
|
+
const parsedValue = this.parseNumerals(this.startInput.value);
|
|
152
|
+
const formattedValue = this.formatNumerals(parsedValue);
|
|
153
|
+
this.startInput.value = formattedValue;
|
|
154
|
+
this.input(parsedValue);
|
|
155
|
+
};
|
|
156
|
+
this.endInputInput = () => {
|
|
157
|
+
const parsedValue = this.parseNumerals(this.endInput.value);
|
|
158
|
+
const formattedValue = this.formatNumerals(parsedValue);
|
|
159
|
+
this.endInput.value = formattedValue;
|
|
160
|
+
this.input(parsedValue);
|
|
148
161
|
};
|
|
149
162
|
this.setFloatingEl = (el) => {
|
|
150
163
|
if (el) {
|
|
@@ -187,6 +200,25 @@ export class InputDatePicker {
|
|
|
187
200
|
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
188
201
|
}
|
|
189
202
|
};
|
|
203
|
+
this.commonDateSeparators = [".", "-", "/"];
|
|
204
|
+
this.formatNumerals = (value) => value
|
|
205
|
+
? value
|
|
206
|
+
.split("")
|
|
207
|
+
.map((char) =>
|
|
208
|
+
// convert common separators to the locale's
|
|
209
|
+
this.commonDateSeparators.includes(char)
|
|
210
|
+
? this.localeData.separator
|
|
211
|
+
: numberKeys.includes(char)
|
|
212
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
213
|
+
: char)
|
|
214
|
+
.join("")
|
|
215
|
+
: "";
|
|
216
|
+
this.parseNumerals = (value) => value
|
|
217
|
+
? value
|
|
218
|
+
.split("")
|
|
219
|
+
.map((char) => numberKeys.includes(char) ? numberStringFormatter.delocalize(char) : char)
|
|
220
|
+
.join("")
|
|
221
|
+
: "";
|
|
190
222
|
}
|
|
191
223
|
handleDisabledAndReadOnlyChange(value) {
|
|
192
224
|
if (!value) {
|
|
@@ -212,7 +244,7 @@ export class InputDatePicker {
|
|
|
212
244
|
}
|
|
213
245
|
flipPlacementsHandler() {
|
|
214
246
|
this.setFilteredPlacements();
|
|
215
|
-
this.
|
|
247
|
+
this.reposition(true);
|
|
216
248
|
}
|
|
217
249
|
onMinChanged(min) {
|
|
218
250
|
if (min) {
|
|
@@ -230,13 +262,21 @@ export class InputDatePicker {
|
|
|
230
262
|
openHandler(value) {
|
|
231
263
|
this.active = value;
|
|
232
264
|
if (this.disabled || this.readOnly) {
|
|
265
|
+
if (!value) {
|
|
266
|
+
updateAfterClose(this.floatingEl);
|
|
267
|
+
}
|
|
233
268
|
this.open = false;
|
|
234
269
|
return;
|
|
235
270
|
}
|
|
236
|
-
|
|
271
|
+
if (value) {
|
|
272
|
+
this.reposition(true);
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
updateAfterClose(this.floatingEl);
|
|
276
|
+
}
|
|
237
277
|
}
|
|
238
278
|
overlayPositioningHandler() {
|
|
239
|
-
this.
|
|
279
|
+
this.reposition(true);
|
|
240
280
|
}
|
|
241
281
|
//--------------------------------------------------------------------------
|
|
242
282
|
//
|
|
@@ -257,22 +297,26 @@ export class InputDatePicker {
|
|
|
257
297
|
// Public Methods
|
|
258
298
|
//
|
|
259
299
|
// --------------------------------------------------------------------------
|
|
260
|
-
/**
|
|
300
|
+
/** Sets focus on the component. */
|
|
261
301
|
async setFocus() {
|
|
262
302
|
var _a;
|
|
263
303
|
(_a = this.startInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
264
304
|
}
|
|
265
|
-
/**
|
|
266
|
-
|
|
305
|
+
/**
|
|
306
|
+
* Updates the position of the component.
|
|
307
|
+
*
|
|
308
|
+
* @param delayed
|
|
309
|
+
*/
|
|
310
|
+
async reposition(delayed = false) {
|
|
267
311
|
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
|
268
|
-
return
|
|
312
|
+
return reposition(this, {
|
|
269
313
|
floatingEl,
|
|
270
314
|
referenceEl,
|
|
271
315
|
overlayPositioning,
|
|
272
316
|
placement,
|
|
273
317
|
flipPlacements: filteredFlipPlacements,
|
|
274
318
|
type: "menu"
|
|
275
|
-
});
|
|
319
|
+
}, delayed);
|
|
276
320
|
}
|
|
277
321
|
// --------------------------------------------------------------------------
|
|
278
322
|
//
|
|
@@ -280,6 +324,7 @@ export class InputDatePicker {
|
|
|
280
324
|
//
|
|
281
325
|
// --------------------------------------------------------------------------
|
|
282
326
|
connectedCallback() {
|
|
327
|
+
connectLocalized(this);
|
|
283
328
|
const isOpen = this.active || this.open;
|
|
284
329
|
isOpen && this.activeHandler(isOpen);
|
|
285
330
|
isOpen && this.openHandler(isOpen);
|
|
@@ -308,9 +353,13 @@ export class InputDatePicker {
|
|
|
308
353
|
connectLabel(this);
|
|
309
354
|
connectForm(this);
|
|
310
355
|
connectOpenCloseComponent(this);
|
|
311
|
-
watchGlobalAttributes(this, ["lang"]);
|
|
312
356
|
this.setFilteredPlacements();
|
|
313
|
-
this.
|
|
357
|
+
this.reposition(true);
|
|
358
|
+
numberStringFormatter.numberFormatOptions = {
|
|
359
|
+
numberingSystem: this.numberingSystem,
|
|
360
|
+
locale: this.effectiveLocale,
|
|
361
|
+
useGrouping: false
|
|
362
|
+
};
|
|
314
363
|
}
|
|
315
364
|
async componentWillLoad() {
|
|
316
365
|
await this.loadLocaleData();
|
|
@@ -318,53 +367,46 @@ export class InputDatePicker {
|
|
|
318
367
|
this.onMaxChanged(this.max);
|
|
319
368
|
}
|
|
320
369
|
componentDidLoad() {
|
|
321
|
-
this.
|
|
370
|
+
this.reposition(true);
|
|
322
371
|
}
|
|
323
372
|
disconnectedCallback() {
|
|
324
373
|
disconnectLabel(this);
|
|
325
374
|
disconnectForm(this);
|
|
326
375
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
327
376
|
disconnectOpenCloseComponent(this);
|
|
328
|
-
|
|
377
|
+
disconnectLocalized(this);
|
|
329
378
|
}
|
|
330
379
|
componentDidRender() {
|
|
331
380
|
updateHostInteraction(this);
|
|
332
381
|
}
|
|
333
382
|
render() {
|
|
334
383
|
var _a, _b;
|
|
335
|
-
const { disabled, readOnly } = this;
|
|
384
|
+
const { disabled, readOnly, numberingSystem, effectiveLocale } = this;
|
|
385
|
+
numberStringFormatter.numberFormatOptions = {
|
|
386
|
+
numberingSystem,
|
|
387
|
+
locale: effectiveLocale,
|
|
388
|
+
useGrouping: false
|
|
389
|
+
};
|
|
336
390
|
const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
337
391
|
const endDate = this.range
|
|
338
392
|
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
339
393
|
: null;
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}, ref: this.setTransitionEl },
|
|
357
|
-
h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))),
|
|
358
|
-
this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" },
|
|
359
|
-
h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))),
|
|
360
|
-
this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" },
|
|
361
|
-
h("calcite-icon", { icon: "arrow-down", scale: "s" }))),
|
|
362
|
-
this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper },
|
|
363
|
-
h("calcite-input", { class: {
|
|
364
|
-
input: true,
|
|
365
|
-
"border-top-color-one": this.layout === "vertical" && this.range
|
|
366
|
-
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))),
|
|
367
|
-
h(HiddenFormInputSlot, { component: this })));
|
|
394
|
+
const formattedEndDate = endDate
|
|
395
|
+
? this.formatNumerals(endDate.toLocaleDateString(effectiveLocale))
|
|
396
|
+
: "";
|
|
397
|
+
const formattedDate = date ? this.formatNumerals(date.toLocaleDateString(effectiveLocale)) : "";
|
|
398
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.startInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
399
|
+
[CSS.menu]: true,
|
|
400
|
+
[CSS.menuActive]: this.open
|
|
401
|
+
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
402
|
+
["calendar-picker-wrapper"]: true,
|
|
403
|
+
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
404
|
+
[FloatingCSS.animation]: true,
|
|
405
|
+
[FloatingCSS.animationActive]: this.open
|
|
406
|
+
}, ref: this.setTransitionEl }, h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
407
|
+
input: true,
|
|
408
|
+
"border-top-color-one": this.layout === "vertical" && this.range
|
|
409
|
+
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.endInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), h(HiddenFormInputSlot, { component: this })));
|
|
368
410
|
}
|
|
369
411
|
setReferenceEl() {
|
|
370
412
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -399,7 +441,7 @@ export class InputDatePicker {
|
|
|
399
441
|
if (!Build.isBrowser) {
|
|
400
442
|
return;
|
|
401
443
|
}
|
|
402
|
-
this.localeData = await getLocaleData(
|
|
444
|
+
this.localeData = await getLocaleData(this.effectiveLocale);
|
|
403
445
|
}
|
|
404
446
|
clearCurrentValue() {
|
|
405
447
|
if (!this.range) {
|
|
@@ -476,19 +518,19 @@ export class InputDatePicker {
|
|
|
476
518
|
*/
|
|
477
519
|
blur(target) {
|
|
478
520
|
const { focusedInput, endAsDate, range, startAsDate, valueAsDate } = this;
|
|
479
|
-
const locale =
|
|
521
|
+
const locale = this.effectiveLocale;
|
|
480
522
|
const date = this.getDateFromInput(target.value);
|
|
481
523
|
if (!date) {
|
|
482
524
|
if (!range && valueAsDate) {
|
|
483
|
-
target.value = Array.isArray(valueAsDate)
|
|
525
|
+
target.value = this.formatNumerals(Array.isArray(valueAsDate)
|
|
484
526
|
? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
|
|
485
|
-
: valueAsDate.toLocaleDateString(locale);
|
|
527
|
+
: valueAsDate.toLocaleDateString(locale));
|
|
486
528
|
}
|
|
487
529
|
else if (focusedInput === "start" && startAsDate) {
|
|
488
|
-
target.value = startAsDate.toLocaleDateString(locale);
|
|
530
|
+
target.value = this.formatNumerals(startAsDate.toLocaleDateString(locale));
|
|
489
531
|
}
|
|
490
532
|
else if (focusedInput === "end" && endAsDate) {
|
|
491
|
-
target.value = endAsDate.toLocaleDateString(locale);
|
|
533
|
+
target.value = this.formatNumerals(endAsDate.toLocaleDateString(locale));
|
|
492
534
|
}
|
|
493
535
|
}
|
|
494
536
|
}
|
|
@@ -535,798 +577,843 @@ export class InputDatePicker {
|
|
|
535
577
|
}
|
|
536
578
|
static get is() { return "calcite-input-date-picker"; }
|
|
537
579
|
static get encapsulation() { return "shadow"; }
|
|
538
|
-
static get originalStyleUrls() {
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
"
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
"original": "boolean",
|
|
568
|
-
"resolved": "boolean",
|
|
569
|
-
"references": {}
|
|
570
|
-
},
|
|
571
|
-
"required": false,
|
|
572
|
-
"optional": false,
|
|
573
|
-
"docs": {
|
|
574
|
-
"tags": [{
|
|
575
|
-
"name": "mdn",
|
|
576
|
-
"text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
|
|
577
|
-
}],
|
|
578
|
-
"text": "When true, still focusable but controls are gone and the value cannot be modified."
|
|
580
|
+
static get originalStyleUrls() {
|
|
581
|
+
return {
|
|
582
|
+
"$": ["input-date-picker.scss"]
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
static get styleUrls() {
|
|
586
|
+
return {
|
|
587
|
+
"$": ["input-date-picker.css"]
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
static get properties() {
|
|
591
|
+
return {
|
|
592
|
+
"disabled": {
|
|
593
|
+
"type": "boolean",
|
|
594
|
+
"mutable": false,
|
|
595
|
+
"complexType": {
|
|
596
|
+
"original": "boolean",
|
|
597
|
+
"resolved": "boolean",
|
|
598
|
+
"references": {}
|
|
599
|
+
},
|
|
600
|
+
"required": false,
|
|
601
|
+
"optional": false,
|
|
602
|
+
"docs": {
|
|
603
|
+
"tags": [],
|
|
604
|
+
"text": "When `true`, interaction is prevented and the component is displayed with lower opacity."
|
|
605
|
+
},
|
|
606
|
+
"attribute": "disabled",
|
|
607
|
+
"reflect": true,
|
|
608
|
+
"defaultValue": "false"
|
|
579
609
|
},
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
"
|
|
589
|
-
"
|
|
590
|
-
"
|
|
610
|
+
"readOnly": {
|
|
611
|
+
"type": "boolean",
|
|
612
|
+
"mutable": false,
|
|
613
|
+
"complexType": {
|
|
614
|
+
"original": "boolean",
|
|
615
|
+
"resolved": "boolean",
|
|
616
|
+
"references": {}
|
|
617
|
+
},
|
|
618
|
+
"required": false,
|
|
619
|
+
"optional": false,
|
|
620
|
+
"docs": {
|
|
621
|
+
"tags": [{
|
|
622
|
+
"name": "mdn",
|
|
623
|
+
"text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
|
|
624
|
+
}],
|
|
625
|
+
"text": "When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified."
|
|
626
|
+
},
|
|
627
|
+
"attribute": "read-only",
|
|
628
|
+
"reflect": true,
|
|
629
|
+
"defaultValue": "false"
|
|
591
630
|
},
|
|
592
|
-
"
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"
|
|
596
|
-
|
|
631
|
+
"value": {
|
|
632
|
+
"type": "string",
|
|
633
|
+
"mutable": true,
|
|
634
|
+
"complexType": {
|
|
635
|
+
"original": "string | string[]",
|
|
636
|
+
"resolved": "string | string[]",
|
|
637
|
+
"references": {}
|
|
638
|
+
},
|
|
639
|
+
"required": false,
|
|
640
|
+
"optional": false,
|
|
641
|
+
"docs": {
|
|
642
|
+
"tags": [],
|
|
643
|
+
"text": "The component's value."
|
|
644
|
+
},
|
|
645
|
+
"attribute": "value",
|
|
646
|
+
"reflect": false
|
|
597
647
|
},
|
|
598
|
-
"
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
"location": "import",
|
|
610
|
-
"path": "../../utils/floating-ui"
|
|
648
|
+
"flipPlacements": {
|
|
649
|
+
"type": "unknown",
|
|
650
|
+
"mutable": false,
|
|
651
|
+
"complexType": {
|
|
652
|
+
"original": "EffectivePlacement[]",
|
|
653
|
+
"resolved": "Placement[]",
|
|
654
|
+
"references": {
|
|
655
|
+
"EffectivePlacement": {
|
|
656
|
+
"location": "import",
|
|
657
|
+
"path": "../../utils/floating-ui"
|
|
658
|
+
}
|
|
611
659
|
}
|
|
660
|
+
},
|
|
661
|
+
"required": false,
|
|
662
|
+
"optional": true,
|
|
663
|
+
"docs": {
|
|
664
|
+
"tags": [],
|
|
665
|
+
"text": "Defines the available placements that can be used when a flip occurs."
|
|
612
666
|
}
|
|
613
667
|
},
|
|
614
|
-
"
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
"
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
"original": "HeadingLevel",
|
|
626
|
-
"resolved": "1 | 2 | 3 | 4 | 5 | 6",
|
|
627
|
-
"references": {
|
|
628
|
-
"HeadingLevel": {
|
|
629
|
-
"location": "import",
|
|
630
|
-
"path": "../functional/Heading"
|
|
668
|
+
"headingLevel": {
|
|
669
|
+
"type": "number",
|
|
670
|
+
"mutable": false,
|
|
671
|
+
"complexType": {
|
|
672
|
+
"original": "HeadingLevel",
|
|
673
|
+
"resolved": "1 | 2 | 3 | 4 | 5 | 6",
|
|
674
|
+
"references": {
|
|
675
|
+
"HeadingLevel": {
|
|
676
|
+
"location": "import",
|
|
677
|
+
"path": "../functional/Heading"
|
|
678
|
+
}
|
|
631
679
|
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
680
|
+
},
|
|
681
|
+
"required": false,
|
|
682
|
+
"optional": false,
|
|
683
|
+
"docs": {
|
|
684
|
+
"tags": [],
|
|
685
|
+
"text": "Specifies the number at which section headings should start."
|
|
686
|
+
},
|
|
687
|
+
"attribute": "heading-level",
|
|
688
|
+
"reflect": true
|
|
639
689
|
},
|
|
640
|
-
"
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
"Date": {
|
|
651
|
-
"location": "global"
|
|
690
|
+
"valueAsDate": {
|
|
691
|
+
"type": "unknown",
|
|
692
|
+
"mutable": true,
|
|
693
|
+
"complexType": {
|
|
694
|
+
"original": "Date | Date[]",
|
|
695
|
+
"resolved": "Date | Date[]",
|
|
696
|
+
"references": {
|
|
697
|
+
"Date": {
|
|
698
|
+
"location": "global"
|
|
699
|
+
}
|
|
652
700
|
}
|
|
701
|
+
},
|
|
702
|
+
"required": false,
|
|
703
|
+
"optional": true,
|
|
704
|
+
"docs": {
|
|
705
|
+
"tags": [],
|
|
706
|
+
"text": "The component's value as a full date object."
|
|
653
707
|
}
|
|
654
708
|
},
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
"
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
"complexType": {
|
|
666
|
-
"original": "Date",
|
|
667
|
-
"resolved": "Date",
|
|
668
|
-
"references": {
|
|
669
|
-
"Date": {
|
|
670
|
-
"location": "global"
|
|
709
|
+
"startAsDate": {
|
|
710
|
+
"type": "unknown",
|
|
711
|
+
"mutable": true,
|
|
712
|
+
"complexType": {
|
|
713
|
+
"original": "Date",
|
|
714
|
+
"resolved": "Date",
|
|
715
|
+
"references": {
|
|
716
|
+
"Date": {
|
|
717
|
+
"location": "global"
|
|
718
|
+
}
|
|
671
719
|
}
|
|
720
|
+
},
|
|
721
|
+
"required": false,
|
|
722
|
+
"optional": true,
|
|
723
|
+
"docs": {
|
|
724
|
+
"tags": [{
|
|
725
|
+
"name": "deprecated",
|
|
726
|
+
"text": "use `valueAsDate` instead."
|
|
727
|
+
}],
|
|
728
|
+
"text": "The component's start date as a full date object."
|
|
672
729
|
}
|
|
673
730
|
},
|
|
674
|
-
"
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
"
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
"endAsDate": {
|
|
685
|
-
"type": "unknown",
|
|
686
|
-
"mutable": true,
|
|
687
|
-
"complexType": {
|
|
688
|
-
"original": "Date",
|
|
689
|
-
"resolved": "Date",
|
|
690
|
-
"references": {
|
|
691
|
-
"Date": {
|
|
692
|
-
"location": "global"
|
|
731
|
+
"endAsDate": {
|
|
732
|
+
"type": "unknown",
|
|
733
|
+
"mutable": true,
|
|
734
|
+
"complexType": {
|
|
735
|
+
"original": "Date",
|
|
736
|
+
"resolved": "Date",
|
|
737
|
+
"references": {
|
|
738
|
+
"Date": {
|
|
739
|
+
"location": "global"
|
|
740
|
+
}
|
|
693
741
|
}
|
|
742
|
+
},
|
|
743
|
+
"required": false,
|
|
744
|
+
"optional": true,
|
|
745
|
+
"docs": {
|
|
746
|
+
"tags": [{
|
|
747
|
+
"name": "deprecated",
|
|
748
|
+
"text": "use `valueAsDate` instead."
|
|
749
|
+
}],
|
|
750
|
+
"text": "The component's end date as a full date object."
|
|
694
751
|
}
|
|
695
752
|
},
|
|
696
|
-
"
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
"minAsDate": {
|
|
707
|
-
"type": "unknown",
|
|
708
|
-
"mutable": true,
|
|
709
|
-
"complexType": {
|
|
710
|
-
"original": "Date",
|
|
711
|
-
"resolved": "Date",
|
|
712
|
-
"references": {
|
|
713
|
-
"Date": {
|
|
714
|
-
"location": "global"
|
|
753
|
+
"minAsDate": {
|
|
754
|
+
"type": "unknown",
|
|
755
|
+
"mutable": true,
|
|
756
|
+
"complexType": {
|
|
757
|
+
"original": "Date",
|
|
758
|
+
"resolved": "Date",
|
|
759
|
+
"references": {
|
|
760
|
+
"Date": {
|
|
761
|
+
"location": "global"
|
|
762
|
+
}
|
|
715
763
|
}
|
|
764
|
+
},
|
|
765
|
+
"required": false,
|
|
766
|
+
"optional": true,
|
|
767
|
+
"docs": {
|
|
768
|
+
"tags": [],
|
|
769
|
+
"text": "Specifies the earliest allowed date as a full date object."
|
|
716
770
|
}
|
|
717
771
|
},
|
|
718
|
-
"
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
"
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
"complexType": {
|
|
729
|
-
"original": "Date",
|
|
730
|
-
"resolved": "Date",
|
|
731
|
-
"references": {
|
|
732
|
-
"Date": {
|
|
733
|
-
"location": "global"
|
|
772
|
+
"maxAsDate": {
|
|
773
|
+
"type": "unknown",
|
|
774
|
+
"mutable": true,
|
|
775
|
+
"complexType": {
|
|
776
|
+
"original": "Date",
|
|
777
|
+
"resolved": "Date",
|
|
778
|
+
"references": {
|
|
779
|
+
"Date": {
|
|
780
|
+
"location": "global"
|
|
781
|
+
}
|
|
734
782
|
}
|
|
783
|
+
},
|
|
784
|
+
"required": false,
|
|
785
|
+
"optional": true,
|
|
786
|
+
"docs": {
|
|
787
|
+
"tags": [],
|
|
788
|
+
"text": "Specifies the latest allowed date as a full date object."
|
|
735
789
|
}
|
|
736
790
|
},
|
|
737
|
-
"
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
"optional": true,
|
|
754
|
-
"docs": {
|
|
755
|
-
"tags": [],
|
|
756
|
-
"text": "Earliest allowed date (\"yyyy-mm-dd\")"
|
|
757
|
-
},
|
|
758
|
-
"attribute": "min",
|
|
759
|
-
"reflect": true
|
|
760
|
-
},
|
|
761
|
-
"max": {
|
|
762
|
-
"type": "string",
|
|
763
|
-
"mutable": true,
|
|
764
|
-
"complexType": {
|
|
765
|
-
"original": "string",
|
|
766
|
-
"resolved": "string",
|
|
767
|
-
"references": {}
|
|
768
|
-
},
|
|
769
|
-
"required": false,
|
|
770
|
-
"optional": true,
|
|
771
|
-
"docs": {
|
|
772
|
-
"tags": [],
|
|
773
|
-
"text": "Latest allowed date (\"yyyy-mm-dd\")"
|
|
774
|
-
},
|
|
775
|
-
"attribute": "max",
|
|
776
|
-
"reflect": true
|
|
777
|
-
},
|
|
778
|
-
"active": {
|
|
779
|
-
"type": "boolean",
|
|
780
|
-
"mutable": true,
|
|
781
|
-
"complexType": {
|
|
782
|
-
"original": "boolean",
|
|
783
|
-
"resolved": "boolean",
|
|
784
|
-
"references": {}
|
|
785
|
-
},
|
|
786
|
-
"required": false,
|
|
787
|
-
"optional": false,
|
|
788
|
-
"docs": {
|
|
789
|
-
"tags": [{
|
|
790
|
-
"name": "deprecated",
|
|
791
|
-
"text": "use open instead"
|
|
792
|
-
}],
|
|
793
|
-
"text": "Expand or collapse when calendar does not have input"
|
|
794
|
-
},
|
|
795
|
-
"attribute": "active",
|
|
796
|
-
"reflect": true,
|
|
797
|
-
"defaultValue": "false"
|
|
798
|
-
},
|
|
799
|
-
"open": {
|
|
800
|
-
"type": "boolean",
|
|
801
|
-
"mutable": true,
|
|
802
|
-
"complexType": {
|
|
803
|
-
"original": "boolean",
|
|
804
|
-
"resolved": "boolean",
|
|
805
|
-
"references": {}
|
|
806
|
-
},
|
|
807
|
-
"required": false,
|
|
808
|
-
"optional": false,
|
|
809
|
-
"docs": {
|
|
810
|
-
"tags": [],
|
|
811
|
-
"text": "Expand or collapse when calendar does not have input"
|
|
812
|
-
},
|
|
813
|
-
"attribute": "open",
|
|
814
|
-
"reflect": true,
|
|
815
|
-
"defaultValue": "false"
|
|
816
|
-
},
|
|
817
|
-
"name": {
|
|
818
|
-
"type": "string",
|
|
819
|
-
"mutable": false,
|
|
820
|
-
"complexType": {
|
|
821
|
-
"original": "string",
|
|
822
|
-
"resolved": "string",
|
|
823
|
-
"references": {}
|
|
824
|
-
},
|
|
825
|
-
"required": false,
|
|
826
|
-
"optional": false,
|
|
827
|
-
"docs": {
|
|
828
|
-
"tags": [],
|
|
829
|
-
"text": "The picker's name. Gets submitted with the form."
|
|
830
|
-
},
|
|
831
|
-
"attribute": "name",
|
|
832
|
-
"reflect": true
|
|
833
|
-
},
|
|
834
|
-
"intlPrevMonth": {
|
|
835
|
-
"type": "string",
|
|
836
|
-
"mutable": false,
|
|
837
|
-
"complexType": {
|
|
838
|
-
"original": "string",
|
|
839
|
-
"resolved": "string",
|
|
840
|
-
"references": {}
|
|
841
|
-
},
|
|
842
|
-
"required": false,
|
|
843
|
-
"optional": true,
|
|
844
|
-
"docs": {
|
|
845
|
-
"tags": [{
|
|
846
|
-
"name": "default",
|
|
847
|
-
"text": "\"Previous month\""
|
|
848
|
-
}],
|
|
849
|
-
"text": "Localized string for \"previous month\" (used for aria label)"
|
|
791
|
+
"min": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"mutable": true,
|
|
794
|
+
"complexType": {
|
|
795
|
+
"original": "string",
|
|
796
|
+
"resolved": "string",
|
|
797
|
+
"references": {}
|
|
798
|
+
},
|
|
799
|
+
"required": false,
|
|
800
|
+
"optional": true,
|
|
801
|
+
"docs": {
|
|
802
|
+
"tags": [],
|
|
803
|
+
"text": "Specifies the earliest allowed date (\"yyyy-mm-dd\")."
|
|
804
|
+
},
|
|
805
|
+
"attribute": "min",
|
|
806
|
+
"reflect": false
|
|
850
807
|
},
|
|
851
|
-
"
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
"
|
|
860
|
-
"
|
|
861
|
-
"
|
|
808
|
+
"max": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"mutable": true,
|
|
811
|
+
"complexType": {
|
|
812
|
+
"original": "string",
|
|
813
|
+
"resolved": "string",
|
|
814
|
+
"references": {}
|
|
815
|
+
},
|
|
816
|
+
"required": false,
|
|
817
|
+
"optional": true,
|
|
818
|
+
"docs": {
|
|
819
|
+
"tags": [],
|
|
820
|
+
"text": "Specifies the latest allowed date (\"yyyy-mm-dd\")."
|
|
821
|
+
},
|
|
822
|
+
"attribute": "max",
|
|
823
|
+
"reflect": false
|
|
862
824
|
},
|
|
863
|
-
"
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
"
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}
|
|
870
|
-
|
|
825
|
+
"active": {
|
|
826
|
+
"type": "boolean",
|
|
827
|
+
"mutable": true,
|
|
828
|
+
"complexType": {
|
|
829
|
+
"original": "boolean",
|
|
830
|
+
"resolved": "boolean",
|
|
831
|
+
"references": {}
|
|
832
|
+
},
|
|
833
|
+
"required": false,
|
|
834
|
+
"optional": false,
|
|
835
|
+
"docs": {
|
|
836
|
+
"tags": [{
|
|
837
|
+
"name": "deprecated",
|
|
838
|
+
"text": "use `open` instead."
|
|
839
|
+
}],
|
|
840
|
+
"text": "When `true`, the component is active."
|
|
841
|
+
},
|
|
842
|
+
"attribute": "active",
|
|
843
|
+
"reflect": true,
|
|
844
|
+
"defaultValue": "false"
|
|
871
845
|
},
|
|
872
|
-
"
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
"
|
|
846
|
+
"open": {
|
|
847
|
+
"type": "boolean",
|
|
848
|
+
"mutable": true,
|
|
849
|
+
"complexType": {
|
|
850
|
+
"original": "boolean",
|
|
851
|
+
"resolved": "boolean",
|
|
852
|
+
"references": {}
|
|
853
|
+
},
|
|
854
|
+
"required": false,
|
|
855
|
+
"optional": false,
|
|
856
|
+
"docs": {
|
|
857
|
+
"tags": [],
|
|
858
|
+
"text": "When `true`, displays the `calcite-date-picker` component."
|
|
859
|
+
},
|
|
860
|
+
"attribute": "open",
|
|
861
|
+
"reflect": true,
|
|
862
|
+
"defaultValue": "false"
|
|
883
863
|
},
|
|
884
|
-
"
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
"
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}
|
|
891
|
-
|
|
864
|
+
"name": {
|
|
865
|
+
"type": "string",
|
|
866
|
+
"mutable": false,
|
|
867
|
+
"complexType": {
|
|
868
|
+
"original": "string",
|
|
869
|
+
"resolved": "string",
|
|
870
|
+
"references": {}
|
|
871
|
+
},
|
|
872
|
+
"required": false,
|
|
873
|
+
"optional": false,
|
|
874
|
+
"docs": {
|
|
875
|
+
"tags": [],
|
|
876
|
+
"text": "Specifies the name of the component on form submission."
|
|
877
|
+
},
|
|
878
|
+
"attribute": "name",
|
|
879
|
+
"reflect": true
|
|
892
880
|
},
|
|
893
|
-
"
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
"
|
|
902
|
-
"
|
|
903
|
-
"
|
|
881
|
+
"intlPrevMonth": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"mutable": false,
|
|
884
|
+
"complexType": {
|
|
885
|
+
"original": "string",
|
|
886
|
+
"resolved": "string",
|
|
887
|
+
"references": {}
|
|
888
|
+
},
|
|
889
|
+
"required": false,
|
|
890
|
+
"optional": true,
|
|
891
|
+
"docs": {
|
|
892
|
+
"tags": [{
|
|
893
|
+
"name": "default",
|
|
894
|
+
"text": "\"Previous month\""
|
|
895
|
+
}],
|
|
896
|
+
"text": "Accessible name for the component's previous month button."
|
|
897
|
+
},
|
|
898
|
+
"attribute": "intl-prev-month",
|
|
899
|
+
"reflect": false,
|
|
900
|
+
"defaultValue": "TEXT.prevMonth"
|
|
904
901
|
},
|
|
905
|
-
"
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
"
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
"
|
|
902
|
+
"intlNextMonth": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"mutable": false,
|
|
905
|
+
"complexType": {
|
|
906
|
+
"original": "string",
|
|
907
|
+
"resolved": "string",
|
|
908
|
+
"references": {}
|
|
909
|
+
},
|
|
910
|
+
"required": false,
|
|
911
|
+
"optional": true,
|
|
912
|
+
"docs": {
|
|
913
|
+
"tags": [{
|
|
914
|
+
"name": "default",
|
|
915
|
+
"text": "\"Next month\""
|
|
916
|
+
}],
|
|
917
|
+
"text": "Accessible name for the component's next month button."
|
|
918
|
+
},
|
|
919
|
+
"attribute": "intl-next-month",
|
|
920
|
+
"reflect": false,
|
|
921
|
+
"defaultValue": "TEXT.nextMonth"
|
|
916
922
|
},
|
|
917
|
-
"
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
"
|
|
926
|
-
"
|
|
923
|
+
"intlYear": {
|
|
924
|
+
"type": "string",
|
|
925
|
+
"mutable": false,
|
|
926
|
+
"complexType": {
|
|
927
|
+
"original": "string",
|
|
928
|
+
"resolved": "string",
|
|
929
|
+
"references": {}
|
|
930
|
+
},
|
|
931
|
+
"required": false,
|
|
932
|
+
"optional": true,
|
|
933
|
+
"docs": {
|
|
934
|
+
"tags": [{
|
|
935
|
+
"name": "default",
|
|
936
|
+
"text": "\"Year\""
|
|
937
|
+
}],
|
|
938
|
+
"text": "Accessible name for the component's year input."
|
|
939
|
+
},
|
|
940
|
+
"attribute": "intl-year",
|
|
941
|
+
"reflect": false,
|
|
942
|
+
"defaultValue": "TEXT.year"
|
|
927
943
|
},
|
|
928
|
-
"
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
"
|
|
932
|
-
|
|
944
|
+
"locale": {
|
|
945
|
+
"type": "string",
|
|
946
|
+
"mutable": false,
|
|
947
|
+
"complexType": {
|
|
948
|
+
"original": "string",
|
|
949
|
+
"resolved": "string",
|
|
950
|
+
"references": {}
|
|
951
|
+
},
|
|
952
|
+
"required": false,
|
|
953
|
+
"optional": true,
|
|
954
|
+
"docs": {
|
|
955
|
+
"tags": [{
|
|
956
|
+
"name": "deprecated",
|
|
957
|
+
"text": "set the global `lang` attribute on the element instead."
|
|
958
|
+
}, {
|
|
959
|
+
"name": "mdn",
|
|
960
|
+
"text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
|
|
961
|
+
}],
|
|
962
|
+
"text": "Specifies the BCP 47 language tag for the desired language and country format."
|
|
963
|
+
},
|
|
964
|
+
"attribute": "locale",
|
|
965
|
+
"reflect": false
|
|
933
966
|
},
|
|
934
|
-
"
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
"MenuPlacement": {
|
|
946
|
-
"location": "import",
|
|
947
|
-
"path": "../../utils/floating-ui"
|
|
967
|
+
"numberingSystem": {
|
|
968
|
+
"type": "string",
|
|
969
|
+
"mutable": false,
|
|
970
|
+
"complexType": {
|
|
971
|
+
"original": "NumberingSystem",
|
|
972
|
+
"resolved": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
|
|
973
|
+
"references": {
|
|
974
|
+
"NumberingSystem": {
|
|
975
|
+
"location": "import",
|
|
976
|
+
"path": "../../utils/locale"
|
|
977
|
+
}
|
|
948
978
|
}
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
"text": "Determines where the date-picker component will be positioned relative to the input."
|
|
959
|
-
},
|
|
960
|
-
"attribute": "placement",
|
|
961
|
-
"reflect": true,
|
|
962
|
-
"defaultValue": "defaultMenuPlacement"
|
|
963
|
-
},
|
|
964
|
-
"range": {
|
|
965
|
-
"type": "boolean",
|
|
966
|
-
"mutable": false,
|
|
967
|
-
"complexType": {
|
|
968
|
-
"original": "boolean",
|
|
969
|
-
"resolved": "boolean",
|
|
970
|
-
"references": {}
|
|
971
|
-
},
|
|
972
|
-
"required": false,
|
|
973
|
-
"optional": false,
|
|
974
|
-
"docs": {
|
|
975
|
-
"tags": [],
|
|
976
|
-
"text": "Range mode activation"
|
|
977
|
-
},
|
|
978
|
-
"attribute": "range",
|
|
979
|
-
"reflect": true,
|
|
980
|
-
"defaultValue": "false"
|
|
981
|
-
},
|
|
982
|
-
"required": {
|
|
983
|
-
"type": "boolean",
|
|
984
|
-
"mutable": false,
|
|
985
|
-
"complexType": {
|
|
986
|
-
"original": "boolean",
|
|
987
|
-
"resolved": "boolean",
|
|
988
|
-
"references": {}
|
|
989
|
-
},
|
|
990
|
-
"required": false,
|
|
991
|
-
"optional": false,
|
|
992
|
-
"docs": {
|
|
993
|
-
"tags": [{
|
|
994
|
-
"name": "internal",
|
|
995
|
-
"text": undefined
|
|
996
|
-
}],
|
|
997
|
-
"text": "When true, makes the component required for form-submission."
|
|
998
|
-
},
|
|
999
|
-
"attribute": "required",
|
|
1000
|
-
"reflect": true,
|
|
1001
|
-
"defaultValue": "false"
|
|
1002
|
-
},
|
|
1003
|
-
"start": {
|
|
1004
|
-
"type": "string",
|
|
1005
|
-
"mutable": true,
|
|
1006
|
-
"complexType": {
|
|
1007
|
-
"original": "string",
|
|
1008
|
-
"resolved": "string",
|
|
1009
|
-
"references": {}
|
|
1010
|
-
},
|
|
1011
|
-
"required": false,
|
|
1012
|
-
"optional": true,
|
|
1013
|
-
"docs": {
|
|
1014
|
-
"tags": [{
|
|
1015
|
-
"name": "deprecated",
|
|
1016
|
-
"text": "use value instead"
|
|
1017
|
-
}],
|
|
1018
|
-
"text": "Selected start date"
|
|
1019
|
-
},
|
|
1020
|
-
"attribute": "start",
|
|
1021
|
-
"reflect": true
|
|
1022
|
-
},
|
|
1023
|
-
"end": {
|
|
1024
|
-
"type": "string",
|
|
1025
|
-
"mutable": true,
|
|
1026
|
-
"complexType": {
|
|
1027
|
-
"original": "string",
|
|
1028
|
-
"resolved": "string",
|
|
1029
|
-
"references": {}
|
|
979
|
+
},
|
|
980
|
+
"required": false,
|
|
981
|
+
"optional": true,
|
|
982
|
+
"docs": {
|
|
983
|
+
"tags": [],
|
|
984
|
+
"text": "Specifies the Unicode numeral system used by the component for localization. This property cannot be dynamically changed."
|
|
985
|
+
},
|
|
986
|
+
"attribute": "numbering-system",
|
|
987
|
+
"reflect": true
|
|
1030
988
|
},
|
|
1031
|
-
"
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
"
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
|
|
989
|
+
"scale": {
|
|
990
|
+
"type": "string",
|
|
991
|
+
"mutable": false,
|
|
992
|
+
"complexType": {
|
|
993
|
+
"original": "\"s\" | \"m\" | \"l\"",
|
|
994
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
995
|
+
"references": {}
|
|
996
|
+
},
|
|
997
|
+
"required": false,
|
|
998
|
+
"optional": false,
|
|
999
|
+
"docs": {
|
|
1000
|
+
"tags": [],
|
|
1001
|
+
"text": "Specifies the size of the component."
|
|
1002
|
+
},
|
|
1003
|
+
"attribute": "scale",
|
|
1004
|
+
"reflect": true,
|
|
1005
|
+
"defaultValue": "\"m\""
|
|
1039
1006
|
},
|
|
1040
|
-
"
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
"location": "import",
|
|
1052
|
-
"path": "../../utils/floating-ui"
|
|
1007
|
+
"placement": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"mutable": false,
|
|
1010
|
+
"complexType": {
|
|
1011
|
+
"original": "MenuPlacement",
|
|
1012
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
|
|
1013
|
+
"references": {
|
|
1014
|
+
"MenuPlacement": {
|
|
1015
|
+
"location": "import",
|
|
1016
|
+
"path": "../../utils/floating-ui"
|
|
1017
|
+
}
|
|
1053
1018
|
}
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
"type": "boolean",
|
|
1068
|
-
"mutable": false,
|
|
1069
|
-
"complexType": {
|
|
1070
|
-
"original": "boolean",
|
|
1071
|
-
"resolved": "boolean",
|
|
1072
|
-
"references": {}
|
|
1073
|
-
},
|
|
1074
|
-
"required": false,
|
|
1075
|
-
"optional": false,
|
|
1076
|
-
"docs": {
|
|
1077
|
-
"tags": [],
|
|
1078
|
-
"text": "Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range."
|
|
1019
|
+
},
|
|
1020
|
+
"required": false,
|
|
1021
|
+
"optional": false,
|
|
1022
|
+
"docs": {
|
|
1023
|
+
"tags": [{
|
|
1024
|
+
"name": "default",
|
|
1025
|
+
"text": "\"bottom-start\""
|
|
1026
|
+
}],
|
|
1027
|
+
"text": "Specifies the placement of the `calcite-date-picker` relative to the component."
|
|
1028
|
+
},
|
|
1029
|
+
"attribute": "placement",
|
|
1030
|
+
"reflect": true,
|
|
1031
|
+
"defaultValue": "defaultMenuPlacement"
|
|
1079
1032
|
},
|
|
1080
|
-
"
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
1033
|
+
"range": {
|
|
1034
|
+
"type": "boolean",
|
|
1035
|
+
"mutable": false,
|
|
1036
|
+
"complexType": {
|
|
1037
|
+
"original": "boolean",
|
|
1038
|
+
"resolved": "boolean",
|
|
1039
|
+
"references": {}
|
|
1040
|
+
},
|
|
1041
|
+
"required": false,
|
|
1042
|
+
"optional": false,
|
|
1043
|
+
"docs": {
|
|
1044
|
+
"tags": [],
|
|
1045
|
+
"text": "When `true`, activates a range for the component."
|
|
1046
|
+
},
|
|
1047
|
+
"attribute": "range",
|
|
1048
|
+
"reflect": true,
|
|
1049
|
+
"defaultValue": "false"
|
|
1091
1050
|
},
|
|
1092
|
-
"required":
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
"
|
|
1096
|
-
|
|
1051
|
+
"required": {
|
|
1052
|
+
"type": "boolean",
|
|
1053
|
+
"mutable": false,
|
|
1054
|
+
"complexType": {
|
|
1055
|
+
"original": "boolean",
|
|
1056
|
+
"resolved": "boolean",
|
|
1057
|
+
"references": {}
|
|
1058
|
+
},
|
|
1059
|
+
"required": false,
|
|
1060
|
+
"optional": false,
|
|
1061
|
+
"docs": {
|
|
1062
|
+
"tags": [{
|
|
1063
|
+
"name": "internal",
|
|
1064
|
+
"text": undefined
|
|
1065
|
+
}],
|
|
1066
|
+
"text": "When `true`, the component must have a value in order for the form to submit."
|
|
1067
|
+
},
|
|
1068
|
+
"attribute": "required",
|
|
1069
|
+
"reflect": true,
|
|
1070
|
+
"defaultValue": "false"
|
|
1097
1071
|
},
|
|
1098
|
-
"
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
"
|
|
1116
|
-
|
|
1117
|
-
"text": "use `calciteInputDatePickerChange` instead."
|
|
1118
|
-
}],
|
|
1119
|
-
"text": "Trigger calcite date change when a user changes the date."
|
|
1072
|
+
"start": {
|
|
1073
|
+
"type": "string",
|
|
1074
|
+
"mutable": true,
|
|
1075
|
+
"complexType": {
|
|
1076
|
+
"original": "string",
|
|
1077
|
+
"resolved": "string",
|
|
1078
|
+
"references": {}
|
|
1079
|
+
},
|
|
1080
|
+
"required": false,
|
|
1081
|
+
"optional": true,
|
|
1082
|
+
"docs": {
|
|
1083
|
+
"tags": [{
|
|
1084
|
+
"name": "deprecated",
|
|
1085
|
+
"text": "use `value` instead."
|
|
1086
|
+
}],
|
|
1087
|
+
"text": "The component's start date."
|
|
1088
|
+
},
|
|
1089
|
+
"attribute": "start",
|
|
1090
|
+
"reflect": true
|
|
1120
1091
|
},
|
|
1121
|
-
"
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1125
|
-
"
|
|
1126
|
-
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
}, {
|
|
1141
|
-
"name": "deprecated",
|
|
1142
|
-
"text": "use `calciteInputDatePickerChange` instead."
|
|
1143
|
-
}],
|
|
1144
|
-
"text": "Trigger calcite date change when a user changes the date range."
|
|
1092
|
+
"end": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"mutable": true,
|
|
1095
|
+
"complexType": {
|
|
1096
|
+
"original": "string",
|
|
1097
|
+
"resolved": "string",
|
|
1098
|
+
"references": {}
|
|
1099
|
+
},
|
|
1100
|
+
"required": false,
|
|
1101
|
+
"optional": true,
|
|
1102
|
+
"docs": {
|
|
1103
|
+
"tags": [{
|
|
1104
|
+
"name": "deprecated",
|
|
1105
|
+
"text": "use `value` instead."
|
|
1106
|
+
}],
|
|
1107
|
+
"text": "The component's end date."
|
|
1108
|
+
},
|
|
1109
|
+
"attribute": "end",
|
|
1110
|
+
"reflect": true
|
|
1145
1111
|
},
|
|
1146
|
-
"
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1151
|
-
|
|
1152
|
-
|
|
1112
|
+
"overlayPositioning": {
|
|
1113
|
+
"type": "string",
|
|
1114
|
+
"mutable": false,
|
|
1115
|
+
"complexType": {
|
|
1116
|
+
"original": "OverlayPositioning",
|
|
1117
|
+
"resolved": "\"absolute\" | \"fixed\"",
|
|
1118
|
+
"references": {
|
|
1119
|
+
"OverlayPositioning": {
|
|
1120
|
+
"location": "import",
|
|
1121
|
+
"path": "../../utils/floating-ui"
|
|
1122
|
+
}
|
|
1153
1123
|
}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
"
|
|
1164
|
-
"text": "This event fires when the input date picker value changes."
|
|
1165
|
-
},
|
|
1166
|
-
"complexType": {
|
|
1167
|
-
"original": "void",
|
|
1168
|
-
"resolved": "void",
|
|
1169
|
-
"references": {}
|
|
1170
|
-
}
|
|
1171
|
-
}, {
|
|
1172
|
-
"method": "calciteInputDatePickerBeforeClose",
|
|
1173
|
-
"name": "calciteInputDatePickerBeforeClose",
|
|
1174
|
-
"bubbles": true,
|
|
1175
|
-
"cancelable": false,
|
|
1176
|
-
"composed": true,
|
|
1177
|
-
"docs": {
|
|
1178
|
-
"tags": [],
|
|
1179
|
-
"text": "Fires when the component is requested to be closed and before the closing transition begins."
|
|
1180
|
-
},
|
|
1181
|
-
"complexType": {
|
|
1182
|
-
"original": "void",
|
|
1183
|
-
"resolved": "void",
|
|
1184
|
-
"references": {}
|
|
1185
|
-
}
|
|
1186
|
-
}, {
|
|
1187
|
-
"method": "calciteInputDatePickerClose",
|
|
1188
|
-
"name": "calciteInputDatePickerClose",
|
|
1189
|
-
"bubbles": true,
|
|
1190
|
-
"cancelable": false,
|
|
1191
|
-
"composed": true,
|
|
1192
|
-
"docs": {
|
|
1193
|
-
"tags": [],
|
|
1194
|
-
"text": "Fires when the component is closed and animation is complete."
|
|
1195
|
-
},
|
|
1196
|
-
"complexType": {
|
|
1197
|
-
"original": "void",
|
|
1198
|
-
"resolved": "void",
|
|
1199
|
-
"references": {}
|
|
1200
|
-
}
|
|
1201
|
-
}, {
|
|
1202
|
-
"method": "calciteInputDatePickerBeforeOpen",
|
|
1203
|
-
"name": "calciteInputDatePickerBeforeOpen",
|
|
1204
|
-
"bubbles": true,
|
|
1205
|
-
"cancelable": false,
|
|
1206
|
-
"composed": true,
|
|
1207
|
-
"docs": {
|
|
1208
|
-
"tags": [],
|
|
1209
|
-
"text": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins."
|
|
1124
|
+
},
|
|
1125
|
+
"required": false,
|
|
1126
|
+
"optional": false,
|
|
1127
|
+
"docs": {
|
|
1128
|
+
"tags": [],
|
|
1129
|
+
"text": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`."
|
|
1130
|
+
},
|
|
1131
|
+
"attribute": "overlay-positioning",
|
|
1132
|
+
"reflect": true,
|
|
1133
|
+
"defaultValue": "\"absolute\""
|
|
1210
1134
|
},
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1135
|
+
"proximitySelectionDisabled": {
|
|
1136
|
+
"type": "boolean",
|
|
1137
|
+
"mutable": false,
|
|
1138
|
+
"complexType": {
|
|
1139
|
+
"original": "boolean",
|
|
1140
|
+
"resolved": "boolean",
|
|
1141
|
+
"references": {}
|
|
1142
|
+
},
|
|
1143
|
+
"required": false,
|
|
1144
|
+
"optional": false,
|
|
1145
|
+
"docs": {
|
|
1146
|
+
"tags": [],
|
|
1147
|
+
"text": "When `true`, disables the default behavior on the third click of narrowing or extending the range.\nInstead starts a new range."
|
|
1148
|
+
},
|
|
1149
|
+
"attribute": "proximity-selection-disabled",
|
|
1150
|
+
"reflect": false,
|
|
1151
|
+
"defaultValue": "false"
|
|
1225
1152
|
},
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1229
|
-
"
|
|
1153
|
+
"layout": {
|
|
1154
|
+
"type": "string",
|
|
1155
|
+
"mutable": false,
|
|
1156
|
+
"complexType": {
|
|
1157
|
+
"original": "\"horizontal\" | \"vertical\"",
|
|
1158
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
1159
|
+
"references": {}
|
|
1160
|
+
},
|
|
1161
|
+
"required": false,
|
|
1162
|
+
"optional": false,
|
|
1163
|
+
"docs": {
|
|
1164
|
+
"tags": [],
|
|
1165
|
+
"text": "Defines the layout of the component."
|
|
1166
|
+
},
|
|
1167
|
+
"attribute": "layout",
|
|
1168
|
+
"reflect": true,
|
|
1169
|
+
"defaultValue": "\"horizontal\""
|
|
1230
1170
|
}
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
static get states() {
|
|
1174
|
+
return {
|
|
1175
|
+
"effectiveLocale": {},
|
|
1176
|
+
"focusedInput": {},
|
|
1177
|
+
"globalAttributes": {},
|
|
1178
|
+
"localeData": {}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
static get events() {
|
|
1182
|
+
return [{
|
|
1183
|
+
"method": "calciteDatePickerChange",
|
|
1184
|
+
"name": "calciteDatePickerChange",
|
|
1185
|
+
"bubbles": true,
|
|
1186
|
+
"cancelable": false,
|
|
1187
|
+
"composed": true,
|
|
1188
|
+
"docs": {
|
|
1189
|
+
"tags": [{
|
|
1190
|
+
"name": "deprecated",
|
|
1191
|
+
"text": "use `calciteInputDatePickerChange` instead."
|
|
1192
|
+
}],
|
|
1193
|
+
"text": "Fires when a user changes the date."
|
|
1194
|
+
},
|
|
1195
|
+
"complexType": {
|
|
1196
|
+
"original": "Date",
|
|
1197
|
+
"resolved": "Date",
|
|
1198
|
+
"references": {
|
|
1199
|
+
"Date": {
|
|
1200
|
+
"location": "global"
|
|
1201
|
+
}
|
|
1240
1202
|
}
|
|
1203
|
+
}
|
|
1204
|
+
}, {
|
|
1205
|
+
"method": "calciteDatePickerRangeChange",
|
|
1206
|
+
"name": "calciteDatePickerRangeChange",
|
|
1207
|
+
"bubbles": true,
|
|
1208
|
+
"cancelable": false,
|
|
1209
|
+
"composed": true,
|
|
1210
|
+
"docs": {
|
|
1211
|
+
"tags": [{
|
|
1212
|
+
"name": "see",
|
|
1213
|
+
"text": "[DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/date-picker/interfaces.ts#L1)"
|
|
1214
|
+
}, {
|
|
1215
|
+
"name": "deprecated",
|
|
1216
|
+
"text": "use `calciteInputDatePickerChange` instead."
|
|
1217
|
+
}],
|
|
1218
|
+
"text": "Fires when a user changes the date range."
|
|
1241
1219
|
},
|
|
1242
|
-
"
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
"complexType": {
|
|
1251
|
-
"signature": "() => Promise<void>",
|
|
1252
|
-
"parameters": [],
|
|
1253
|
-
"references": {
|
|
1254
|
-
"Promise": {
|
|
1255
|
-
"location": "global"
|
|
1220
|
+
"complexType": {
|
|
1221
|
+
"original": "DateRangeChange",
|
|
1222
|
+
"resolved": "DateRangeChange",
|
|
1223
|
+
"references": {
|
|
1224
|
+
"DateRangeChange": {
|
|
1225
|
+
"location": "import",
|
|
1226
|
+
"path": "../date-picker/interfaces"
|
|
1227
|
+
}
|
|
1256
1228
|
}
|
|
1229
|
+
}
|
|
1230
|
+
}, {
|
|
1231
|
+
"method": "calciteInputDatePickerChange",
|
|
1232
|
+
"name": "calciteInputDatePickerChange",
|
|
1233
|
+
"bubbles": true,
|
|
1234
|
+
"cancelable": false,
|
|
1235
|
+
"composed": true,
|
|
1236
|
+
"docs": {
|
|
1237
|
+
"tags": [],
|
|
1238
|
+
"text": "Fires when the component's value changes."
|
|
1239
|
+
},
|
|
1240
|
+
"complexType": {
|
|
1241
|
+
"original": "void",
|
|
1242
|
+
"resolved": "void",
|
|
1243
|
+
"references": {}
|
|
1244
|
+
}
|
|
1245
|
+
}, {
|
|
1246
|
+
"method": "calciteInputDatePickerBeforeClose",
|
|
1247
|
+
"name": "calciteInputDatePickerBeforeClose",
|
|
1248
|
+
"bubbles": true,
|
|
1249
|
+
"cancelable": false,
|
|
1250
|
+
"composed": true,
|
|
1251
|
+
"docs": {
|
|
1252
|
+
"tags": [],
|
|
1253
|
+
"text": "Fires when the component is requested to be closed and before the closing transition begins."
|
|
1254
|
+
},
|
|
1255
|
+
"complexType": {
|
|
1256
|
+
"original": "void",
|
|
1257
|
+
"resolved": "void",
|
|
1258
|
+
"references": {}
|
|
1259
|
+
}
|
|
1260
|
+
}, {
|
|
1261
|
+
"method": "calciteInputDatePickerClose",
|
|
1262
|
+
"name": "calciteInputDatePickerClose",
|
|
1263
|
+
"bubbles": true,
|
|
1264
|
+
"cancelable": false,
|
|
1265
|
+
"composed": true,
|
|
1266
|
+
"docs": {
|
|
1267
|
+
"tags": [],
|
|
1268
|
+
"text": "Fires when the component is closed and animation is complete."
|
|
1269
|
+
},
|
|
1270
|
+
"complexType": {
|
|
1271
|
+
"original": "void",
|
|
1272
|
+
"resolved": "void",
|
|
1273
|
+
"references": {}
|
|
1274
|
+
}
|
|
1275
|
+
}, {
|
|
1276
|
+
"method": "calciteInputDatePickerBeforeOpen",
|
|
1277
|
+
"name": "calciteInputDatePickerBeforeOpen",
|
|
1278
|
+
"bubbles": true,
|
|
1279
|
+
"cancelable": false,
|
|
1280
|
+
"composed": true,
|
|
1281
|
+
"docs": {
|
|
1282
|
+
"tags": [],
|
|
1283
|
+
"text": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins."
|
|
1284
|
+
},
|
|
1285
|
+
"complexType": {
|
|
1286
|
+
"original": "void",
|
|
1287
|
+
"resolved": "void",
|
|
1288
|
+
"references": {}
|
|
1289
|
+
}
|
|
1290
|
+
}, {
|
|
1291
|
+
"method": "calciteInputDatePickerOpen",
|
|
1292
|
+
"name": "calciteInputDatePickerOpen",
|
|
1293
|
+
"bubbles": true,
|
|
1294
|
+
"cancelable": false,
|
|
1295
|
+
"composed": true,
|
|
1296
|
+
"docs": {
|
|
1297
|
+
"tags": [],
|
|
1298
|
+
"text": "Fires when the component is open and animation is complete."
|
|
1299
|
+
},
|
|
1300
|
+
"complexType": {
|
|
1301
|
+
"original": "void",
|
|
1302
|
+
"resolved": "void",
|
|
1303
|
+
"references": {}
|
|
1304
|
+
}
|
|
1305
|
+
}];
|
|
1306
|
+
}
|
|
1307
|
+
static get methods() {
|
|
1308
|
+
return {
|
|
1309
|
+
"setFocus": {
|
|
1310
|
+
"complexType": {
|
|
1311
|
+
"signature": "() => Promise<void>",
|
|
1312
|
+
"parameters": [],
|
|
1313
|
+
"references": {
|
|
1314
|
+
"Promise": {
|
|
1315
|
+
"location": "global"
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"return": "Promise<void>"
|
|
1257
1319
|
},
|
|
1258
|
-
"
|
|
1320
|
+
"docs": {
|
|
1321
|
+
"text": "Sets focus on the component.",
|
|
1322
|
+
"tags": []
|
|
1323
|
+
}
|
|
1259
1324
|
},
|
|
1260
|
-
"
|
|
1261
|
-
"
|
|
1262
|
-
|
|
1325
|
+
"reposition": {
|
|
1326
|
+
"complexType": {
|
|
1327
|
+
"signature": "(delayed?: boolean) => Promise<void>",
|
|
1328
|
+
"parameters": [{
|
|
1329
|
+
"tags": [{
|
|
1330
|
+
"name": "param",
|
|
1331
|
+
"text": "delayed"
|
|
1332
|
+
}],
|
|
1333
|
+
"text": ""
|
|
1334
|
+
}],
|
|
1335
|
+
"references": {
|
|
1336
|
+
"Promise": {
|
|
1337
|
+
"location": "global"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"return": "Promise<void>"
|
|
1341
|
+
},
|
|
1342
|
+
"docs": {
|
|
1343
|
+
"text": "Updates the position of the component.",
|
|
1344
|
+
"tags": [{
|
|
1345
|
+
"name": "param",
|
|
1346
|
+
"text": "delayed"
|
|
1347
|
+
}]
|
|
1348
|
+
}
|
|
1263
1349
|
}
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1350
|
+
};
|
|
1351
|
+
}
|
|
1266
1352
|
static get elementRef() { return "el"; }
|
|
1267
|
-
static get watchers() {
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1353
|
+
static get watchers() {
|
|
1354
|
+
return [{
|
|
1355
|
+
"propName": "disabled",
|
|
1356
|
+
"methodName": "handleDisabledAndReadOnlyChange"
|
|
1357
|
+
}, {
|
|
1358
|
+
"propName": "readOnly",
|
|
1359
|
+
"methodName": "handleDisabledAndReadOnlyChange"
|
|
1360
|
+
}, {
|
|
1361
|
+
"propName": "value",
|
|
1362
|
+
"methodName": "valueHandler"
|
|
1363
|
+
}, {
|
|
1364
|
+
"propName": "flipPlacements",
|
|
1365
|
+
"methodName": "flipPlacementsHandler"
|
|
1366
|
+
}, {
|
|
1367
|
+
"propName": "min",
|
|
1368
|
+
"methodName": "onMinChanged"
|
|
1369
|
+
}, {
|
|
1370
|
+
"propName": "max",
|
|
1371
|
+
"methodName": "onMaxChanged"
|
|
1372
|
+
}, {
|
|
1373
|
+
"propName": "active",
|
|
1374
|
+
"methodName": "activeHandler"
|
|
1375
|
+
}, {
|
|
1376
|
+
"propName": "open",
|
|
1377
|
+
"methodName": "openHandler"
|
|
1378
|
+
}, {
|
|
1379
|
+
"propName": "overlayPositioning",
|
|
1380
|
+
"methodName": "overlayPositioningHandler"
|
|
1381
|
+
}, {
|
|
1382
|
+
"propName": "layout",
|
|
1383
|
+
"methodName": "setReferenceEl"
|
|
1384
|
+
}, {
|
|
1385
|
+
"propName": "focusedInput",
|
|
1386
|
+
"methodName": "setReferenceEl"
|
|
1387
|
+
}, {
|
|
1388
|
+
"propName": "start",
|
|
1389
|
+
"methodName": "startWatcher"
|
|
1390
|
+
}, {
|
|
1391
|
+
"propName": "end",
|
|
1392
|
+
"methodName": "endWatcher"
|
|
1393
|
+
}, {
|
|
1394
|
+
"propName": "effectiveLocale",
|
|
1395
|
+
"methodName": "loadLocaleData"
|
|
1396
|
+
}];
|
|
1397
|
+
}
|
|
1398
|
+
static get listeners() {
|
|
1399
|
+
return [{
|
|
1400
|
+
"name": "calciteDatePickerChange",
|
|
1401
|
+
"method": "handleDateOrRangeChange",
|
|
1402
|
+
"target": undefined,
|
|
1403
|
+
"capture": false,
|
|
1404
|
+
"passive": false
|
|
1405
|
+
}, {
|
|
1406
|
+
"name": "calciteDatePickerRangeChange",
|
|
1407
|
+
"method": "handleDateOrRangeChange",
|
|
1408
|
+
"target": undefined,
|
|
1409
|
+
"capture": false,
|
|
1410
|
+
"passive": false
|
|
1411
|
+
}, {
|
|
1412
|
+
"name": "calciteDaySelect",
|
|
1413
|
+
"method": "calciteDaySelectHandler",
|
|
1414
|
+
"target": undefined,
|
|
1415
|
+
"capture": false,
|
|
1416
|
+
"passive": false
|
|
1417
|
+
}];
|
|
1418
|
+
}
|
|
1332
1419
|
}
|