@esri/calcite-components 1.1.0-next.3 → 1.1.0
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/handle/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/handle/t9n/messages.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ar.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_bg.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_bs.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ca.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_cs.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_da.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_de.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_el.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_en.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_es.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_et.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_fi.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_fr.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_he.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_hr.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_hu.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_id.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_it.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ja.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ko.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_lt.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_lv.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_nl.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_no.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_pl.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_pt-BR.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_pt-PT.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ro.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_ru.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_sk.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_sl.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_sr.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_sv.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_th.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_tr.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_uk.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_vi.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_zh-CN.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_zh-HK.json +3 -0
- package/dist/calcite/assets/handle/t9n/messages_zh-TW.json +3 -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-041d0f9f.entry.js +6 -0
- package/dist/calcite/{p-39584fee.js → p-0534cef5.js} +1 -1
- package/dist/calcite/{p-8d4b8796.entry.js → p-0743cc15.entry.js} +2 -2
- package/dist/calcite/{p-3c347197.entry.js → p-07cddbf9.entry.js} +2 -2
- package/dist/calcite/p-0824c673.entry.js +6 -0
- package/dist/calcite/p-09b4dbc1.entry.js +6 -0
- package/dist/calcite/p-0a7542f8.entry.js +6 -0
- package/dist/calcite/p-0df568c3.entry.js +6 -0
- package/dist/calcite/{p-fcbadb86.entry.js → p-0edfedfc.entry.js} +2 -2
- package/dist/calcite/p-145b7cdc.js +6 -0
- package/dist/calcite/p-1d322131.entry.js +6 -0
- package/dist/calcite/p-1e3db270.entry.js +6 -0
- package/dist/calcite/{p-43e35a61.entry.js → p-28ee997e.entry.js} +2 -2
- package/dist/calcite/p-291b75d5.entry.js +6 -0
- package/dist/calcite/p-299618f6.entry.js +6 -0
- package/dist/calcite/p-2afe300d.js +6 -0
- package/dist/calcite/p-31cf383e.js +6 -0
- package/dist/calcite/{p-2a4191f2.js → p-32d3d2c6.js} +1 -1
- package/dist/calcite/p-3449e5c5.entry.js +6 -0
- package/dist/calcite/p-3abc3397.entry.js +6 -0
- package/dist/calcite/p-3b712fa3.entry.js +6 -0
- package/dist/calcite/p-3bd84462.js +10 -0
- package/dist/calcite/{p-86498b19.js → p-43215088.js} +2 -2
- package/dist/calcite/p-443e7495.js +6 -0
- package/dist/calcite/{p-6aea5847.js → p-44e65dab.js} +1 -1
- package/dist/calcite/{p-7b13cdb8.entry.js → p-45aba393.entry.js} +2 -2
- package/dist/calcite/{p-a423dc5a.entry.js → p-4a902f71.entry.js} +2 -2
- package/dist/calcite/p-4b8aad63.entry.js +6 -0
- package/dist/calcite/{p-1ee7af35.entry.js → p-5738ec05.entry.js} +2 -2
- package/dist/calcite/{p-bfb40de3.entry.js → p-586f2188.entry.js} +2 -2
- package/dist/calcite/p-5e2b13eb.js +6 -0
- package/dist/calcite/{p-766c4068.js → p-5e822482.js} +1 -1
- package/dist/calcite/{p-70f20269.js → p-6293ed16.js} +1 -1
- package/dist/calcite/p-681f5bcd.entry.js +6 -0
- package/dist/calcite/{p-ec3924bd.js → p-6cc03406.js} +1 -1
- package/dist/calcite/{p-8f8ed342.entry.js → p-6ebb0713.entry.js} +2 -2
- package/dist/calcite/{p-68ce4614.js → p-6f9b73aa.js} +1 -1
- package/dist/calcite/p-721d4a15.entry.js +6 -0
- package/dist/calcite/{p-023f79fb.js → p-72e0a2c6.js} +1 -1
- package/dist/calcite/p-747d2b6e.entry.js +6 -0
- package/dist/calcite/{p-cb0a3559.js → p-75651de9.js} +2 -2
- package/dist/calcite/p-7aee1b7a.js +6 -0
- package/dist/calcite/p-7beda7c9.entry.js +6 -0
- package/dist/calcite/p-7d37e5a3.entry.js +6 -0
- package/dist/calcite/p-7e570f52.entry.js +6 -0
- package/dist/calcite/{p-cde63e87.js → p-7f1192e2.js} +2 -2
- package/dist/calcite/{p-ae942644.entry.js → p-8190fef7.entry.js} +2 -2
- package/dist/calcite/p-81a8751c.entry.js +6 -0
- package/dist/calcite/p-88552502.entry.js +6 -0
- package/dist/calcite/p-8880449d.entry.js +6 -0
- package/dist/calcite/{p-d24e1f53.entry.js → p-8a48ce07.entry.js} +2 -2
- package/dist/calcite/p-92c57358.entry.js +6 -0
- package/dist/calcite/{p-366f4384.entry.js → p-941bc30e.entry.js} +2 -2
- package/dist/calcite/{p-388c6afc.js → p-95affd38.js} +1 -1
- package/dist/calcite/{p-e390e80c.entry.js → p-98c10ed9.entry.js} +2 -2
- package/dist/calcite/{p-f939a397.js → p-9a811534.js} +2 -2
- package/dist/calcite/p-9b383655.entry.js +6 -0
- package/dist/calcite/p-9e7d290a.entry.js +6 -0
- package/dist/calcite/p-a0699bed.entry.js +6 -0
- package/dist/calcite/{p-33fe15d7.js → p-a5d23ef8.js} +2 -2
- package/dist/calcite/p-a82b983d.entry.js +6 -0
- package/dist/calcite/{p-ce3de772.js → p-adef0422.js} +1 -1
- package/dist/calcite/{p-1f32b831.entry.js → p-aea382ce.entry.js} +2 -2
- package/dist/calcite/{p-3975c483.entry.js → p-b2fd4072.entry.js} +2 -2
- package/dist/calcite/p-b33dc129.js +6 -0
- package/dist/calcite/{p-409ebf79.entry.js → p-b3a9a53c.entry.js} +2 -2
- package/dist/calcite/p-b4c2f2ce.js +11 -0
- package/dist/calcite/{p-2d74b37d.js → p-b4f3b351.js} +2 -2
- package/dist/calcite/p-b5a392d6.entry.js +6 -0
- package/dist/calcite/{p-a98981a6.js → p-b90df3dd.js} +1 -1
- package/dist/calcite/{p-b8a4255f.entry.js → p-b9421f54.entry.js} +2 -2
- package/dist/calcite/{p-20cb27c4.entry.js → p-ba3e198d.entry.js} +2 -2
- package/dist/calcite/{p-20f709a9.js → p-bb1240f3.js} +1 -1
- package/dist/calcite/{p-f6820398.js → p-c097b143.js} +1 -1
- package/dist/calcite/p-c4d076eb.entry.js +6 -0
- package/dist/calcite/p-cc1203c0.entry.js +6 -0
- package/dist/calcite/p-ce6a7f8c.js +6 -0
- package/dist/calcite/p-d438c49f.entry.js +6 -0
- package/dist/calcite/{p-61987219.entry.js → p-d841eb93.entry.js} +2 -2
- package/dist/calcite/{p-eb3a90b8.entry.js → p-de571c36.entry.js} +2 -2
- package/dist/calcite/p-de99d897.entry.js +6 -0
- package/dist/calcite/p-df405411.entry.js +6 -0
- package/dist/calcite/p-e370cd2d.entry.js +6 -0
- package/dist/calcite/p-e4e7c6c0.entry.js +6 -0
- package/dist/calcite/p-e5e67c4b.entry.js +6 -0
- package/dist/calcite/p-e683cacc.entry.js +6 -0
- package/dist/calcite/p-eaad3707.entry.js +6 -0
- package/dist/calcite/{p-910792c6.entry.js → p-f27daa9e.entry.js} +2 -2
- package/dist/calcite/{p-d7160e21.js → p-f44952aa.js} +2 -2
- package/dist/calcite/{p-774d3503.js → p-f510244b.js} +1 -1
- package/dist/calcite/{p-bb584268.entry.js → p-f91b9012.entry.js} +2 -2
- package/dist/calcite/{p-5c6d8ac6.js → p-fda34bfd.js} +1 -1
- package/dist/cjs/{ExpandToggle-82a15d51.js → ExpandToggle-a335cfb1.js} +8 -6
- package/dist/cjs/{Heading-167297d3.js → Heading-d361823f.js} +2 -2
- package/dist/cjs/{app-globals-b9400bd4.js → app-globals-a113245f.js} +2 -2
- package/dist/cjs/{array-bb2c79bb.js → array-2d1e4569.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +19 -17
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -11
- package/dist/cjs/calcite-action-pad.cjs.entry.js +18 -16
- package/dist/cjs/calcite-action.cjs.entry.js +15 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +19 -15
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-button.cjs.entry.js +17 -15
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +27 -19
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +34 -26
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -19
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -18
- package/dist/cjs/calcite-fab.cjs.entry.js +12 -10
- package/dist/cjs/calcite-filter.cjs.entry.js +18 -17
- package/dist/cjs/calcite-flow-item.cjs.entry.js +19 -15
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +55 -29
- package/dist/cjs/calcite-handle.cjs.entry.js +41 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +33 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +32 -27
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -15
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +34 -20
- package/dist/cjs/calcite-input.cjs.entry.js +35 -28
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +11 -9
- package/dist/cjs/calcite-list_3.cjs.entry.js +43 -33
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +45 -21
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +16 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +24 -18
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +22 -20
- package/dist/cjs/calcite-popover.cjs.entry.js +25 -19
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +18 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-shell_3.cjs.entry.js +20 -16
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +16 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +21 -13
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +17 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +17 -13
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +32 -22
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-d2419ada.js → conditionalSlot-3a4fe2dc.js} +3 -3
- package/dist/cjs/{debounce-679f8bb7.js → debounce-408eb927.js} +1 -1
- package/dist/cjs/{dom-452c0823.js → dom-553866e5.js} +100 -20
- package/dist/cjs/{filter-a4a0e159.js → filter-501e11ad.js} +2 -2
- package/dist/cjs/{floating-ui-8f006620.js → floating-ui-54f4c5a9.js} +365 -281
- package/dist/cjs/{focusTrapComponent-793e7b41.js → focusTrapComponent-5bcf753e.js} +24 -32
- package/dist/cjs/{form-ce470bb9.js → form-bffda67a.js} +3 -3
- package/dist/cjs/{guid-8bb41d8f.js → guid-6bebe20b.js} +1 -1
- package/dist/cjs/{index-a9e8804d.js → index-16b54251.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-1d9e163a.js → interactive-9a753e3b.js} +1 -1
- package/dist/cjs/{key-ccf5975c.js → key-b11206cb.js} +1 -1
- package/dist/cjs/{label-7e45da36.js → label-06c122f9.js} +2 -2
- package/dist/cjs/{loadable-9b3fb1b9.js → loadable-03215740.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-2e072411.js → locale-8539ef25.js} +62 -14
- package/dist/cjs/{math-427122b2.js → math-acfe02f4.js} +3 -2
- package/dist/cjs/{observers-d2c6707a.js → observers-ef9e3899.js} +1 -1
- package/dist/cjs/{openCloseComponent-6374e42e.js → openCloseComponent-ce345b01.js} +2 -2
- package/dist/cjs/{resources-c2b3293a.js → resources-305406be.js} +1 -1
- package/dist/cjs/{resources-18514c47.js → resources-379e317d.js} +1 -1
- package/dist/cjs/{resources-144a4ae9.js → resources-9f12de5f.js} +1 -1
- package/dist/cjs/{resources-6369ad64.js → resources-b829d4a6.js} +11 -7
- package/dist/cjs/{resources-80683fba.js → resources-bd729e69.js} +1 -1
- package/dist/cjs/{resources-82ea3b9b.js → resources-d4657a03.js} +1 -1
- package/dist/cjs/{sortable.esm-756b3282.js → sortable.esm-6dea5d6e.js} +1 -1
- package/dist/cjs/{t9n-b5dc223c.js → t9n-64e84ec9.js} +3 -3
- package/dist/cjs/{utils-ec585940.js → utils-4aac28db.js} +3 -3
- package/dist/cjs/{utils-175d60a8.js → utils-6539bbb0.js} +1 -1
- package/dist/cjs/utils-9af7bb5a.js +49 -0
- package/dist/collection/components/accordion/accordion.css +2 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +2 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +3 -4
- package/dist/collection/components/action/action.js +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +2 -1
- package/dist/collection/components/action-bar/action-bar.js +4 -2
- 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 +2 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -1
- package/dist/collection/components/action-menu/action-menu.js +4 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +2 -1
- package/dist/collection/components/action-pad/action-pad.js +4 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +2 -1
- package/dist/collection/components/alert/alert.js +7 -3
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +3 -2
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +77 -2
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +2 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +2 -1
- package/dist/collection/components/button/button.js +4 -2
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +2 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +2 -1
- package/dist/collection/components/checkbox/checkbox.js +4 -2
- package/dist/collection/components/chip/chip.css +2 -1
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +2 -1
- package/dist/collection/components/color-picker/color-picker.js +8 -2
- 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.css +2 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +4 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +2 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +2 -1
- package/dist/collection/components/combobox/combobox.js +13 -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.css +2 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +2 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +2 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +2 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +2 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +5 -3
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +2 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -2
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +9 -3
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +2 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +2 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +4 -2
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +2 -1
- package/dist/collection/components/fab/fab.js +5 -3
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +2 -1
- package/dist/collection/components/filter/filter.js +5 -4
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +2 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +2 -1
- package/dist/collection/components/flow-item/flow-item.js +7 -3
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +4 -2
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +2 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/assets/handle/t9n/index.d.ts +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ar.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_bg.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_bs.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ca.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_cs.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_da.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_de.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_el.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_en.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_es.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_et.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_fi.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_fr.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_he.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_hr.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_hu.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_id.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_it.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ja.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ko.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_lt.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_lv.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_nl.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_no.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_pl.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_pt-BR.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_pt-PT.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ro.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_ru.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_sk.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_sl.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_sr.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_sv.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_th.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_tr.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_uk.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_vi.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_zh-CN.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_zh-HK.json +3 -0
- package/dist/collection/components/handle/assets/handle/t9n/messages_zh-TW.json +3 -0
- package/dist/collection/components/handle/handle.css +2 -1
- package/dist/collection/components/handle/handle.js +93 -9
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +2 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +2 -1
- package/dist/collection/components/inline-editable/inline-editable.js +11 -5
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +2 -1
- package/dist/collection/components/input/input.js +23 -16
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +2 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +17 -5
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +3 -2
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +2 -1
- package/dist/collection/components/input-number/input-number.js +20 -15
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +2 -1
- package/dist/collection/components/input-text/input-text.js +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +2 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +8 -2
- package/dist/collection/components/label/label.css +2 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +2 -1
- package/dist/collection/components/link/link.js +4 -2
- package/dist/collection/components/list/list.css +2 -1
- package/dist/collection/components/list/list.js +20 -18
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +2 -1
- package/dist/collection/components/list-item/list-item.js +13 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +2 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +85 -5
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.css +59 -15
- package/dist/collection/components/modal/modal.js +32 -8
- package/dist/collection/components/modal/resources.js +6 -2
- package/dist/collection/components/notice/notice.css +2 -1
- package/dist/collection/components/notice/notice.js +4 -2
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +2 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +2 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +2 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +2 -1
- package/dist/collection/components/panel/panel.js +10 -4
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +2 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +6 -2
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +2 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +4 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +2 -1
- package/dist/collection/components/popover/popover.js +10 -4
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +77 -2
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +2 -1
- package/dist/collection/components/radio-button/radio-button.js +4 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +2 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.css +2 -1
- package/dist/collection/components/rating/rating.js +5 -3
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +2 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +2 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +2 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +2 -1
- package/dist/collection/components/select/select.js +5 -3
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +2 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +2 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +2 -1
- package/dist/collection/components/shell-panel/shell-panel.js +7 -3
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +19 -17
- package/dist/collection/components/slider/slider.js +42 -16
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +2 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +2 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.css +2 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +2 -1
- package/dist/collection/components/stepper-item/stepper-item.js +5 -3
- package/dist/collection/components/switch/switch.css +2 -1
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/tab.css +2 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +2 -1
- package/dist/collection/components/tab-nav/tab-nav.js +8 -2
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +2 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -2
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +2 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +2 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +2 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +2 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +2 -1
- package/dist/collection/components/time-picker/time-picker.js +13 -5
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +2 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +2 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js +4 -2
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +2 -1
- package/dist/collection/components/tooltip/tooltip.js +6 -2
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +2 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +7 -27
- package/dist/collection/components/tree-item/tree-item.js +7 -3
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +2 -1
- package/dist/collection/components/value-list/value-list.js +15 -2
- package/dist/collection/components/value-list-item/interfaces.js +1 -0
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +2 -1
- package/dist/collection/components/value-list-item/value-list-item.js +29 -4
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/utils.js +45 -0
- package/dist/collection/utils/floating-ui.js +20 -9
- package/dist/collection/utils/focusTrapComponent.js +4 -7
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +3 -2
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +58 -11
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +4 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +5 -3
- package/dist/components/action.js +5 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +5 -3
- 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 +5 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +8 -4
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +9 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +14 -6
- 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 +5 -3
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +6 -4
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +8 -4
- 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 +12 -6
- package/dist/components/calcite-input-date-picker.js +18 -6
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +21 -16
- package/dist/components/calcite-input-text.js +5 -3
- package/dist/components/calcite-input-time-picker.js +9 -3
- 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 +14 -6
- package/dist/components/calcite-list.js +21 -19
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +36 -10
- package/dist/components/calcite-notice.js +5 -3
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- 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 +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 +2 -2
- package/dist/components/calcite-radio-button.js +5 -3
- package/dist/components/calcite-rating.js +6 -4
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +2 -2
- package/dist/components/calcite-segmented-control.js +2 -2
- package/dist/components/calcite-select.js +6 -4
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +8 -4
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +43 -17
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +6 -4
- package/dist/components/calcite-stepper.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- 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 +5 -3
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +8 -4
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +8 -5
- package/dist/components/calcite-value-list.js +11 -4
- package/dist/components/checkbox.js +5 -3
- package/dist/components/chip.js +5 -3
- package/dist/components/color-picker-hex-input.js +5 -3
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +5 -3
- package/dist/components/date-picker-month.js +6 -4
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +98 -18
- package/dist/components/dropdown.js +10 -4
- package/dist/components/filter.js +6 -5
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +364 -279
- package/dist/components/focusTrapComponent.js +23 -31
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +39 -7
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +24 -17
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +5 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +59 -12
- package/dist/components/math.js +3 -2
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +11 -5
- package/dist/components/pick-list-item.js +5 -3
- package/dist/components/popover.js +11 -5
- package/dist/components/progress.js +2 -2
- 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 +2 -2
- package/dist/components/shared-list-render.js +7 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -3
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +9 -3
- package/dist/components/tab-title.js +5 -3
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +14 -6
- package/dist/components/tooltip.js +7 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +47 -0
- package/dist/esm/{ExpandToggle-18f10f8c.js → ExpandToggle-4727adf8.js} +8 -6
- package/dist/esm/{Heading-2c22315b.js → Heading-3bac0cfa.js} +2 -2
- package/dist/esm/{app-globals-ce513bb3.js → app-globals-74d44d89.js} +2 -2
- package/dist/esm/{array-cddbdee3.js → array-6fd99808.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-action-bar.entry.js +19 -17
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +13 -11
- package/dist/esm/calcite-action-pad.entry.js +18 -16
- package/dist/esm/calcite-action.entry.js +15 -13
- package/dist/esm/calcite-alert.entry.js +19 -15
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +14 -14
- package/dist/esm/calcite-button.entry.js +17 -15
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-checkbox.entry.js +14 -12
- package/dist/esm/calcite-chip.entry.js +15 -13
- package/dist/esm/calcite-color-picker_3.entry.js +27 -19
- package/dist/esm/calcite-combobox_3.entry.js +33 -25
- package/dist/esm/calcite-date-picker_4.entry.js +23 -19
- package/dist/esm/calcite-dropdown_3.entry.js +26 -18
- package/dist/esm/calcite-fab.entry.js +12 -10
- package/dist/esm/calcite-filter.entry.js +18 -17
- package/dist/esm/calcite-flow-item.entry.js +19 -15
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +55 -29
- package/dist/esm/calcite-handle.entry.js +41 -11
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +23 -17
- package/dist/esm/calcite-input-date-picker.entry.js +33 -21
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +32 -27
- package/dist/esm/calcite-input-text.entry.js +17 -15
- package/dist/esm/calcite-input-time-picker_2.entry.js +34 -20
- package/dist/esm/calcite-input.entry.js +35 -28
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +11 -9
- package/dist/esm/calcite-list_3.entry.js +43 -33
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +45 -21
- package/dist/esm/calcite-notice.entry.js +16 -14
- package/dist/esm/calcite-option_3.entry.js +16 -14
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +24 -18
- package/dist/esm/calcite-pick-list_3.entry.js +22 -20
- package/dist/esm/calcite-popover.entry.js +25 -19
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +14 -12
- package/dist/esm/calcite-rating.entry.js +18 -16
- package/dist/esm/calcite-scrim.entry.js +10 -10
- package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
- package/dist/esm/calcite-shell_3.entry.js +20 -16
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +16 -14
- package/dist/esm/calcite-switch.entry.js +14 -12
- package/dist/esm/calcite-tab_4.entry.js +21 -13
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +17 -15
- package/dist/esm/calcite-tooltip.entry.js +14 -10
- package/dist/esm/calcite-tree_2.entry.js +17 -13
- package/dist/esm/calcite-value-list_2.entry.js +32 -22
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-56954bd4.js → conditionalSlot-03f34e10.js} +3 -3
- package/dist/esm/{debounce-e5296364.js → debounce-f893dc12.js} +1 -1
- package/dist/esm/{dom-e261fb24.js → dom-13d14bf1.js} +100 -20
- package/dist/esm/{filter-579832ea.js → filter-e9b22c1c.js} +2 -2
- package/dist/esm/{floating-ui-a6be1ddb.js → floating-ui-1d9078ac.js} +366 -281
- package/dist/esm/{focusTrapComponent-26550e1b.js → focusTrapComponent-d8df0d61.js} +24 -32
- package/dist/esm/{form-98ec19fd.js → form-948b3633.js} +3 -3
- package/dist/esm/{guid-95fe9633.js → guid-7a9e307b.js} +1 -1
- package/dist/esm/{index-d454f133.js → index-b8735a76.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-27ea8eee.js → interactive-7c601b75.js} +1 -1
- package/dist/esm/{key-e8f2ad28.js → key-4f8ab7a0.js} +1 -1
- package/dist/esm/{label-aef8c367.js → label-84c0027e.js} +2 -2
- package/dist/esm/{loadable-34fb9e9d.js → loadable-eacac1b0.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-a7288a62.js → locale-e71d40b1.js} +62 -15
- package/dist/esm/{math-aa48ffa9.js → math-bad59c37.js} +3 -2
- package/dist/esm/{observers-f2aaa095.js → observers-f268ee68.js} +1 -1
- package/dist/esm/{openCloseComponent-de297d20.js → openCloseComponent-ec590820.js} +2 -2
- package/dist/esm/{resources-23267736.js → resources-2537ff53.js} +1 -1
- package/dist/esm/{resources-0f90a258.js → resources-455d50da.js} +11 -7
- package/dist/esm/{resources-59a2b305.js → resources-4c7e12d7.js} +1 -1
- package/dist/esm/{resources-e77ed339.js → resources-6efb094b.js} +1 -1
- package/dist/esm/{resources-097bfe2c.js → resources-8032eb01.js} +1 -1
- package/dist/esm/{resources-567464a2.js → resources-8ee51466.js} +1 -1
- package/dist/esm/{sortable.esm-7c48a8e1.js → sortable.esm-ad7263e5.js} +1 -1
- package/dist/esm/{t9n-aaf0b81f.js → t9n-df463c97.js} +3 -3
- package/dist/esm/{utils-6b723474.js → utils-4755b12f.js} +3 -3
- package/dist/esm/utils-9b472a57.js +47 -0
- package/dist/esm/{utils-9ac24a15.js → utils-e9181006.js} +1 -1
- package/dist/extras/docs-json.json +39 -4
- package/dist/extras/vscode-data.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/handle/assets/handle/t9n/index.d.ts +3 -0
- package/dist/types/components/handle/handle.d.ts +21 -3
- package/dist/types/components/modal/modal.d.ts +8 -0
- package/dist/types/components/modal/resources.d.ts +5 -1
- package/dist/types/components/value-list/value-list.d.ts +2 -0
- package/dist/types/components/value-list-item/interfaces.d.ts +4 -0
- package/dist/types/components/value-list-item/value-list-item.d.ts +6 -0
- package/dist/types/components.d.ts +22 -8
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/floating-ui/utils.d.ts +4 -0
- package/dist/types/utils/number.d.ts +14 -6
- package/hydrate/index.js +1017 -566
- package/package.json +18 -19
- package/readme.md +2 -2
- package/dist/calcite/p-008d6ffd.entry.js +0 -6
- package/dist/calcite/p-053ef949.entry.js +0 -6
- package/dist/calcite/p-0c6ed647.entry.js +0 -6
- package/dist/calcite/p-116cf124.entry.js +0 -6
- package/dist/calcite/p-15e794f7.entry.js +0 -6
- package/dist/calcite/p-17289664.js +0 -6
- package/dist/calcite/p-1a28d9a1.entry.js +0 -6
- package/dist/calcite/p-1a2c56d4.entry.js +0 -6
- package/dist/calcite/p-23316141.entry.js +0 -6
- package/dist/calcite/p-29460dbb.entry.js +0 -6
- package/dist/calcite/p-2bf80b5b.entry.js +0 -6
- package/dist/calcite/p-300fdc15.js +0 -6
- package/dist/calcite/p-30b055f6.js +0 -6
- package/dist/calcite/p-33dbe1fc.entry.js +0 -6
- package/dist/calcite/p-3969a1a7.entry.js +0 -6
- package/dist/calcite/p-3fbca222.js +0 -6
- package/dist/calcite/p-3ff09a89.entry.js +0 -6
- package/dist/calcite/p-4483d19d.entry.js +0 -6
- package/dist/calcite/p-4a071a71.js +0 -6
- package/dist/calcite/p-5703179e.entry.js +0 -6
- package/dist/calcite/p-576e3ab0.entry.js +0 -6
- package/dist/calcite/p-5c2ad0fa.entry.js +0 -6
- package/dist/calcite/p-6248abea.entry.js +0 -6
- package/dist/calcite/p-67ac0dfb.entry.js +0 -6
- package/dist/calcite/p-6b8f99f9.entry.js +0 -6
- package/dist/calcite/p-7265ac60.entry.js +0 -6
- package/dist/calcite/p-7becba5e.entry.js +0 -6
- package/dist/calcite/p-7fbf819a.entry.js +0 -6
- package/dist/calcite/p-87f0806b.entry.js +0 -6
- package/dist/calcite/p-8d6b2729.entry.js +0 -6
- package/dist/calcite/p-9017e04e.entry.js +0 -6
- package/dist/calcite/p-95a57a3b.js +0 -10
- package/dist/calcite/p-95b642ea.entry.js +0 -6
- package/dist/calcite/p-95c1c1aa.entry.js +0 -6
- package/dist/calcite/p-99e37729.entry.js +0 -6
- package/dist/calcite/p-9db32973.js +0 -6
- package/dist/calcite/p-a0703a60.entry.js +0 -6
- package/dist/calcite/p-a7d6ac91.entry.js +0 -6
- package/dist/calcite/p-aee9c17c.js +0 -6
- package/dist/calcite/p-b78688c6.entry.js +0 -6
- package/dist/calcite/p-b8980e42.entry.js +0 -6
- package/dist/calcite/p-c58cbc10.entry.js +0 -6
- package/dist/calcite/p-d359bfc7.js +0 -10
- package/dist/calcite/p-dba2ce56.js +0 -6
- package/dist/calcite/p-df933f3c.entry.js +0 -6
- package/dist/calcite/p-e5f9c4de.entry.js +0 -6
- package/dist/calcite/p-eb583913.entry.js +0 -6
- package/dist/calcite/p-f89fa407.entry.js +0 -6
- package/dist/cjs/nonChromiumPlatformUtils-e671c2ac.js +0 -506
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +0 -496
- package/dist/components/nonChromiumPlatformUtils.js +0 -498
- package/dist/esm/nonChromiumPlatformUtils-b21453ee.js +0 -502
- package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +0 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
@@ -11,8 +11,7 @@ import { numberKeys } from "../../utils/key";
|
|
|
11
11
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
12
12
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
13
13
|
import { connectLocalized, defaultNumberingSystem, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
14
|
-
import {
|
|
15
|
-
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
14
|
+
import { BigDecimal, isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
16
15
|
import { createObserver } from "../../utils/observers";
|
|
17
16
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
18
17
|
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
@@ -425,22 +424,26 @@ export class InputNumber {
|
|
|
425
424
|
}
|
|
426
425
|
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
427
426
|
const { value } = this;
|
|
428
|
-
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
429
|
-
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
430
427
|
const adjustment = direction === "up" ? 1 : -1;
|
|
431
|
-
const
|
|
432
|
-
const
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
const
|
|
438
|
-
|
|
428
|
+
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
429
|
+
const inputVal = new BigDecimal(value !== "" ? value : "0");
|
|
430
|
+
const nudgedValue = inputVal.add(`${inputStep * adjustment}`);
|
|
431
|
+
const nudgedValueBelowInputMin = () => typeof inputMin === "number" &&
|
|
432
|
+
!isNaN(inputMin) &&
|
|
433
|
+
nudgedValue.subtract(`${inputMin}`).isNegative;
|
|
434
|
+
const nudgedValueAboveInputMax = () => typeof inputMax === "number" &&
|
|
435
|
+
!isNaN(inputMax) &&
|
|
436
|
+
!nudgedValue.subtract(`${inputMax}`).isNegative;
|
|
437
|
+
const finalValue = nudgedValueBelowInputMin()
|
|
438
|
+
? `${inputMin}`
|
|
439
|
+
: nudgedValueAboveInputMax()
|
|
440
|
+
? `${inputMax}`
|
|
441
|
+
: nudgedValue.toString();
|
|
439
442
|
this.setNumberValue({
|
|
440
443
|
committing: true,
|
|
441
444
|
nativeEvent,
|
|
442
445
|
origin: "user",
|
|
443
|
-
value: finalValue
|
|
446
|
+
value: finalValue
|
|
444
447
|
});
|
|
445
448
|
}
|
|
446
449
|
onFormReset() {
|
|
@@ -500,7 +503,9 @@ export class InputNumber {
|
|
|
500
503
|
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
501
504
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
502
505
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
503
|
-
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly,
|
|
506
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
507
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
508
|
+
ref: this.setChildNumberElRef }));
|
|
504
509
|
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
505
510
|
? numberButtonsHorizontalDown
|
|
506
511
|
: null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
@@ -293,7 +293,9 @@ export class InputText {
|
|
|
293
293
|
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
294
294
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
295
295
|
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
296
|
-
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly,
|
|
296
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
297
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
298
|
+
ref: this.setChildElRef }));
|
|
297
299
|
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.suffixText ? suffixText : null, h(HiddenFormInputSlot, { component: this }))));
|
|
298
300
|
}
|
|
299
301
|
static get is() { return "calcite-input-text"; }
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
@@ -271,7 +271,13 @@ export class InputTimePicker {
|
|
|
271
271
|
// --------------------------------------------------------------------------
|
|
272
272
|
render() {
|
|
273
273
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
274
|
-
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly,
|
|
274
|
+
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, scale: this.scale, step: this.step,
|
|
275
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
276
|
+
ref: this.setCalciteInputEl })), h("calcite-popover", { focusTrapDisabled: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
|
277
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
278
|
+
ref: this.setCalcitePopoverEl }, h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messagesOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, value: this.value,
|
|
279
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
280
|
+
ref: this.setCalciteTimePickerEl })), h(HiddenFormInputSlot, { component: this })));
|
|
275
281
|
}
|
|
276
282
|
static get is() { return "calcite-input-time-picker"; }
|
|
277
283
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { labelConnectedEvent, labelDisconnectedEvent } from "../../utils/label";
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, getElementDir } from "../../utils/dom";
|
|
@@ -65,7 +65,9 @@ export class Link {
|
|
|
65
65
|
When the 'download' property of type 'boolean | string' is set to true, the value is "".
|
|
66
66
|
This works around that issue for now.
|
|
67
67
|
*/
|
|
68
|
-
download: Tag === "a" && (download === "" || download) ? download : null, href: Tag === "a" && this.href, onClick: this.childElClickHandler,
|
|
68
|
+
download: Tag === "a" && (download === "" || download) ? download : null, href: Tag === "a" && this.href, onClick: this.childElClickHandler, rel: Tag === "a" && this.rel, role: role, tabIndex: tabIndex, target: Tag === "a" && this.target,
|
|
69
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
70
|
+
ref: this.storeTagRef }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
69
71
|
}
|
|
70
72
|
//--------------------------------------------------------------------------
|
|
71
73
|
//
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
@@ -93,22 +93,6 @@ export class List {
|
|
|
93
93
|
value: item.value
|
|
94
94
|
}));
|
|
95
95
|
};
|
|
96
|
-
this.updateListItems = debounce(() => {
|
|
97
|
-
const { selectionAppearance, selectionMode } = this;
|
|
98
|
-
const items = this.queryListItems();
|
|
99
|
-
items.forEach((item) => {
|
|
100
|
-
item.selectionAppearance = selectionAppearance;
|
|
101
|
-
item.selectionMode = selectionMode;
|
|
102
|
-
});
|
|
103
|
-
this.listItems = items;
|
|
104
|
-
this.enabledListItems = items.filter((item) => !item.disabled);
|
|
105
|
-
if (this.filterEnabled) {
|
|
106
|
-
this.dataForFilter = this.getItemData();
|
|
107
|
-
}
|
|
108
|
-
this.setActiveListItem();
|
|
109
|
-
this.updateSelectedItems();
|
|
110
|
-
this.updateFilteredItems();
|
|
111
|
-
}, debounceTimeout);
|
|
112
96
|
this.queryListItems = () => {
|
|
113
97
|
return Array.from(this.el.querySelectorAll(listItemSelector));
|
|
114
98
|
};
|
|
@@ -250,7 +234,25 @@ export class List {
|
|
|
250
234
|
// --------------------------------------------------------------------------
|
|
251
235
|
render() {
|
|
252
236
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
253
|
-
return (h("div", { class: CSS.container }, loading ? h("calcite-scrim", { class: CSS.scrim, loading: loading }) : null, h("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (h("thead", null, h("tr", { class: { [CSS.sticky]: true } }, h("th", { colSpan: MAX_COLUMNS }, h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder,
|
|
237
|
+
return (h("div", { class: CSS.container }, loading ? h("calcite-scrim", { class: CSS.scrim, loading: loading }) : null, h("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (h("thead", null, h("tr", { class: { [CSS.sticky]: true } }, h("th", { colSpan: MAX_COLUMNS }, h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
|
238
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
239
|
+
ref: (el) => (this.filterEl = el) }))))) : null, h("tbody", { class: CSS.tableContainer }, h("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
240
|
+
}
|
|
241
|
+
updateListItems() {
|
|
242
|
+
const { selectionAppearance, selectionMode } = this;
|
|
243
|
+
const items = this.queryListItems();
|
|
244
|
+
items.forEach((item) => {
|
|
245
|
+
item.selectionAppearance = selectionAppearance;
|
|
246
|
+
item.selectionMode = selectionMode;
|
|
247
|
+
});
|
|
248
|
+
this.listItems = items;
|
|
249
|
+
this.enabledListItems = items.filter((item) => !item.disabled);
|
|
250
|
+
if (this.filterEnabled) {
|
|
251
|
+
this.dataForFilter = this.getItemData();
|
|
252
|
+
}
|
|
253
|
+
this.setActiveListItem();
|
|
254
|
+
this.updateSelectedItems();
|
|
255
|
+
this.updateFilteredItems();
|
|
254
256
|
}
|
|
255
257
|
static get is() { return "calcite-list"; }
|
|
256
258
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, slotChangeHasAssignedElement, toAriaBoolean } from "../../utils/dom";
|
|
@@ -230,11 +230,15 @@ export class ListItem {
|
|
|
230
230
|
}
|
|
231
231
|
renderActionsStart() {
|
|
232
232
|
const { label, hasActionsStart } = this;
|
|
233
|
-
return (h("td", { "aria-label": label, class: CSS.actionsStart, hidden: !hasActionsStart, key: "actions-start-container",
|
|
233
|
+
return (h("td", { "aria-label": label, class: CSS.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
234
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
235
|
+
ref: (el) => (this.actionsStartEl = el) }, h("slot", { name: SLOTS.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
234
236
|
}
|
|
235
237
|
renderActionsEnd() {
|
|
236
238
|
const { label, hasActionsEnd } = this;
|
|
237
|
-
return (h("td", { "aria-label": label, class: CSS.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container",
|
|
239
|
+
return (h("td", { "aria-label": label, class: CSS.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", role: "gridcell",
|
|
240
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
241
|
+
ref: (el) => (this.actionsEndEl = el) }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
238
242
|
}
|
|
239
243
|
renderContentStart() {
|
|
240
244
|
const { hasContentStart } = this;
|
|
@@ -265,7 +269,9 @@ export class ListItem {
|
|
|
265
269
|
[CSS.contentContainer]: true,
|
|
266
270
|
[CSS.contentContainerSelectable]: selectionMode !== "none",
|
|
267
271
|
[CSS.contentContainerHasCenterContent]: hasCenterContent
|
|
268
|
-
}, key: "content-container", onClick: this.itemClicked,
|
|
272
|
+
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
273
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
274
|
+
ref: (el) => (this.contentEl = el) }, content));
|
|
269
275
|
}
|
|
270
276
|
render() {
|
|
271
277
|
const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode } = this;
|
|
@@ -276,7 +282,9 @@ export class ListItem {
|
|
|
276
282
|
[CSS.container]: true,
|
|
277
283
|
[CSS.containerBorderSelected]: borderSelected,
|
|
278
284
|
[CSS.containerBorderUnselected]: borderUnselected
|
|
279
|
-
}, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown,
|
|
285
|
+
}, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
286
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
287
|
+
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: {
|
|
280
288
|
[CSS.nestedContainer]: true,
|
|
281
289
|
[CSS.nestedContainerHidden]: openable && !open
|
|
282
290
|
} }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from "@stencil/core";
|
|
7
7
|
const listItemGroupSelector = "calcite-list-item-group";
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
|
|
70
70
|
@media (prefers-reduced-motion: reduce) {
|
|
71
71
|
:root {
|
|
72
|
-
--calcite-internal-duration-factor: 0;
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
+
/* helper to properly scale internal durations */
|
|
75
76
|
/**
|
|
76
77
|
* Currently only used in Checkbox.
|
|
77
78
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -70,9 +70,10 @@
|
|
|
70
70
|
|
|
71
71
|
@media (prefers-reduced-motion: reduce) {
|
|
72
72
|
:root {
|
|
73
|
-
--calcite-internal-duration-factor: 0;
|
|
73
|
+
--calcite-internal-duration-factor: 0.01;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
+
/* helper to properly scale internal durations */
|
|
76
77
|
/**
|
|
77
78
|
* Currently only used in Checkbox.
|
|
78
79
|
*/
|
|
@@ -95,6 +96,85 @@
|
|
|
95
96
|
* @prop --calcite-loader-size-inline: The width and height of an inline loader
|
|
96
97
|
* @prop --calcite-loader-padding : Specifies the padding of the loader.
|
|
97
98
|
*/
|
|
99
|
+
@keyframes in {
|
|
100
|
+
0% {
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
100% {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
@keyframes in-down {
|
|
108
|
+
0% {
|
|
109
|
+
opacity: 0;
|
|
110
|
+
transform: translate3D(0, -5px, 0);
|
|
111
|
+
}
|
|
112
|
+
100% {
|
|
113
|
+
opacity: 1;
|
|
114
|
+
transform: translate3D(0, 0, 0);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
@keyframes in-up {
|
|
118
|
+
0% {
|
|
119
|
+
opacity: 0;
|
|
120
|
+
transform: translate3D(0, 5px, 0);
|
|
121
|
+
}
|
|
122
|
+
100% {
|
|
123
|
+
opacity: 1;
|
|
124
|
+
transform: translate3D(0, 0, 0);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
@keyframes in-scale {
|
|
128
|
+
0% {
|
|
129
|
+
opacity: 0;
|
|
130
|
+
transform: scale3D(0.95, 0.95, 1);
|
|
131
|
+
}
|
|
132
|
+
100% {
|
|
133
|
+
opacity: 1;
|
|
134
|
+
transform: scale3D(1, 1, 1);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
:root {
|
|
138
|
+
--calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));
|
|
139
|
+
--calcite-internal-duration-factor: var(--calcite-duration-factor, 1);
|
|
140
|
+
--calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));
|
|
141
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));
|
|
142
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.calcite-animate {
|
|
146
|
+
opacity: 0;
|
|
147
|
+
animation-fill-mode: both;
|
|
148
|
+
animation-duration: var(--calcite-animation-timing);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.calcite-animate__in {
|
|
152
|
+
animation-name: in;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.calcite-animate__in-down {
|
|
156
|
+
animation-name: in-down;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.calcite-animate__in-up {
|
|
160
|
+
animation-name: in-up;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.calcite-animate__in-scale {
|
|
164
|
+
animation-name: in-scale;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (prefers-reduced-motion: reduce) {
|
|
168
|
+
:root {
|
|
169
|
+
--calcite-internal-duration-factor: 0.01;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
/* helper to properly scale internal durations */
|
|
173
|
+
@media (prefers-reduced-motion: reduce) {
|
|
174
|
+
:root {
|
|
175
|
+
--calcite-internal-duration-factor: 0;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
98
178
|
:host{
|
|
99
179
|
position: relative;
|
|
100
180
|
margin-inline: auto;
|
|
@@ -108,7 +188,7 @@
|
|
|
108
188
|
stroke-width: 3;
|
|
109
189
|
fill: none;
|
|
110
190
|
transform: scale(1, 1);
|
|
111
|
-
animation: loader-color-shift calc(var(--calcite-internal-animation-timing-slow) * 2) alternate-reverse infinite linear;
|
|
191
|
+
animation: loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;
|
|
112
192
|
padding-block: var(--calcite-loader-padding, 4rem);
|
|
113
193
|
}
|
|
114
194
|
|
|
@@ -267,7 +347,7 @@
|
|
|
267
347
|
*/
|
|
268
348
|
.loader__svg--1 {
|
|
269
349
|
stroke-dasharray: 27.9252444444% 139.6262222222%;
|
|
270
|
-
animation-duration: calc(var(--calcite-internal-animation-timing-slow) * 2.4);
|
|
350
|
+
animation-duration: calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2.4 / var(--calcite-internal-duration-factor));
|
|
271
351
|
}
|
|
272
352
|
|
|
273
353
|
@keyframes loader-offset-1 {
|
|
@@ -286,7 +366,7 @@
|
|
|
286
366
|
}
|
|
287
367
|
.loader__svg--2 {
|
|
288
368
|
stroke-dasharray: 55.8504888889% 139.6262222222%;
|
|
289
|
-
animation-duration: calc(var(--calcite-internal-animation-timing-slow) * 3.2);
|
|
369
|
+
animation-duration: calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.2 / var(--calcite-internal-duration-factor));
|
|
290
370
|
}
|
|
291
371
|
|
|
292
372
|
@keyframes loader-offset-2 {
|
|
@@ -305,7 +385,7 @@
|
|
|
305
385
|
}
|
|
306
386
|
.loader__svg--3 {
|
|
307
387
|
stroke-dasharray: 13.9626222222% 139.6262222222%;
|
|
308
|
-
animation-duration: calc(var(--calcite-internal-animation-timing-slow) * 3.867);
|
|
388
|
+
animation-duration: calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 3.867 / var(--calcite-internal-duration-factor));
|
|
309
389
|
}
|
|
310
390
|
|
|
311
391
|
@keyframes loader-offset-3 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.1.0
|
|
4
|
+
* v1.1.0
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|