@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
|
@@ -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
|
*/
|
|
@@ -107,6 +108,11 @@
|
|
|
107
108
|
--calcite-modal-scrim-background-internal: rgba(0, 0, 0, 0.85);
|
|
108
109
|
}
|
|
109
110
|
|
|
111
|
+
.content-top[hidden],
|
|
112
|
+
.content-bottom[hidden] {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
110
116
|
.container {
|
|
111
117
|
position: fixed;
|
|
112
118
|
inset: 0px;
|
|
@@ -191,12 +197,12 @@
|
|
|
191
197
|
transition-delay: 0ms;
|
|
192
198
|
}
|
|
193
199
|
|
|
194
|
-
|
|
200
|
+
.container--open {
|
|
195
201
|
opacity: 1;
|
|
196
202
|
visibility: visible !important;
|
|
197
203
|
transition-delay: 0ms;
|
|
198
204
|
}
|
|
199
|
-
|
|
205
|
+
.container--open .modal {
|
|
200
206
|
pointer-events: auto;
|
|
201
207
|
visibility: visible;
|
|
202
208
|
opacity: 1;
|
|
@@ -278,12 +284,43 @@ slot[name=header]::slotted(*),
|
|
|
278
284
|
block-size: 100%;
|
|
279
285
|
overflow: auto;
|
|
280
286
|
padding: 0px;
|
|
281
|
-
max-block-size: 100%;
|
|
282
287
|
background-color: var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));
|
|
283
|
-
|
|
284
|
-
padding
|
|
288
|
+
max-block-size: 100%;
|
|
289
|
+
padding: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));
|
|
285
290
|
}
|
|
286
291
|
|
|
292
|
+
.content-top,
|
|
293
|
+
.content-bottom {
|
|
294
|
+
z-index: 400;
|
|
295
|
+
display: flex;
|
|
296
|
+
border-width: 0px;
|
|
297
|
+
border-style: solid;
|
|
298
|
+
border-color: var(--calcite-ui-border-3);
|
|
299
|
+
background-color: var(--calcite-ui-foreground-1);
|
|
300
|
+
flex: 0 0 auto;
|
|
301
|
+
padding: var(--calcite-modal-padding-internal);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.content-top {
|
|
305
|
+
min-inline-size: 0px;
|
|
306
|
+
max-inline-size: 100%;
|
|
307
|
+
border-block-end-width: 1px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.content-bottom {
|
|
311
|
+
margin-block-start: auto;
|
|
312
|
+
box-sizing: border-box;
|
|
313
|
+
inline-size: 100%;
|
|
314
|
+
justify-content: space-between;
|
|
315
|
+
border-block-start-width: 1px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.content-top:not(.header ~ .content-top) {
|
|
319
|
+
border-start-start-radius: 0.25rem;
|
|
320
|
+
border-start-end-radius: 0.25rem;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.content-bottom:not(.content-bottom ~ .footer),
|
|
287
324
|
.content--no-footer {
|
|
288
325
|
border-end-end-radius: 0.25rem;
|
|
289
326
|
border-end-start-radius: 0.25rem;
|
|
@@ -432,10 +469,10 @@ slot[name=primary] {
|
|
|
432
469
|
flex: 1 1 auto;
|
|
433
470
|
}
|
|
434
471
|
|
|
435
|
-
:host([open][fullscreen]) .header
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
:host([open][fullscreen]) .
|
|
472
|
+
:host([open][fullscreen]) .header,
|
|
473
|
+
:host([open][fullscreen]) .footer,
|
|
474
|
+
:host([open][fullscreen]) .content-top,
|
|
475
|
+
:host([open][fullscreen]) .content-bottom {
|
|
439
476
|
border-radius: 0;
|
|
440
477
|
}
|
|
441
478
|
|
|
@@ -483,10 +520,15 @@ slot[name=primary] {
|
|
|
483
520
|
border-style: solid;
|
|
484
521
|
}
|
|
485
522
|
:host([kind=brand]) .header,
|
|
523
|
+
:host([kind=brand]) .content-top,
|
|
486
524
|
:host([kind=danger]) .header,
|
|
525
|
+
:host([kind=danger]) .content-top,
|
|
487
526
|
:host([kind=info]) .header,
|
|
527
|
+
:host([kind=info]) .content-top,
|
|
488
528
|
:host([kind=success]) .header,
|
|
489
|
-
:host([kind=
|
|
529
|
+
:host([kind=success]) .content-top,
|
|
530
|
+
:host([kind=warning]) .header,
|
|
531
|
+
:host([kind=warning]) .content-top {
|
|
490
532
|
border-radius: 0.25rem;
|
|
491
533
|
border-end-end-radius: 0px;
|
|
492
534
|
border-end-start-radius: 0px;
|
|
@@ -496,12 +538,13 @@ slot[name=primary] {
|
|
|
496
538
|
* Tablet
|
|
497
539
|
*/
|
|
498
540
|
@media screen and (max-width: 860px) {
|
|
499
|
-
slot[name=header]::slotted(
|
|
500
|
-
|
|
541
|
+
* slot[name=header]::slotted(content-top),
|
|
542
|
+
* content-top::slotted([slot=header]) {
|
|
501
543
|
font-size: var(--calcite-font-size-1);
|
|
502
544
|
}
|
|
503
545
|
|
|
504
|
-
.footer
|
|
546
|
+
.footer,
|
|
547
|
+
.content-bottom {
|
|
505
548
|
position: sticky;
|
|
506
549
|
inset-block-end: 0px;
|
|
507
550
|
}
|
|
@@ -510,7 +553,8 @@ slot[name=primary] {
|
|
|
510
553
|
* Mobile
|
|
511
554
|
*/
|
|
512
555
|
@media screen and (max-width: 480px) {
|
|
513
|
-
.footer
|
|
556
|
+
.footer,
|
|
557
|
+
.content-bottom {
|
|
514
558
|
flex-direction: column;
|
|
515
559
|
}
|
|
516
560
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
8
|
-
import { ensureId, focusFirstTabbable, getSlotted } from "../../utils/dom";
|
|
8
|
+
import { ensureId, focusFirstTabbable, getSlotted, slotChangeHasAssignedElement } from "../../utils/dom";
|
|
9
9
|
import { activateFocusTrap, connectFocusTrap, deactivateFocusTrap, updateFocusTrapElements } from "../../utils/focusTrapComponent";
|
|
10
10
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
11
11
|
import { createObserver } from "../../utils/observers";
|
|
@@ -16,6 +16,8 @@ import { connectMessages, disconnectMessages, setUpMessages, updateMessages } fr
|
|
|
16
16
|
/**
|
|
17
17
|
* @slot header - A slot for adding header text.
|
|
18
18
|
* @slot content - A slot for adding the component's content.
|
|
19
|
+
* @slot contentTop - A slot for adding the component's content header.
|
|
20
|
+
* @slot contentBottom - A slot for adding the component's content footer.
|
|
19
21
|
* @slot primary - A slot for adding a primary button.
|
|
20
22
|
* @slot secondary - A slot for adding a secondary button.
|
|
21
23
|
* @slot back - A slot for adding a back button.
|
|
@@ -64,6 +66,12 @@ export class Modal {
|
|
|
64
66
|
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
|
|
65
67
|
this.cssHeight = getComputedStyle(this.el).getPropertyValue("--calcite-modal-height");
|
|
66
68
|
};
|
|
69
|
+
this.contentTopSlotChangeHandler = (event) => {
|
|
70
|
+
this.hasContentTop = slotChangeHasAssignedElement(event);
|
|
71
|
+
};
|
|
72
|
+
this.contentBottomSlotChangeHandler = (event) => {
|
|
73
|
+
this.hasContentBottom = slotChangeHasAssignedElement(event);
|
|
74
|
+
};
|
|
67
75
|
this.open = false;
|
|
68
76
|
this.beforeClose = () => Promise.resolve();
|
|
69
77
|
this.closeButtonDisabled = false;
|
|
@@ -81,6 +89,8 @@ export class Modal {
|
|
|
81
89
|
this.cssWidth = undefined;
|
|
82
90
|
this.cssHeight = undefined;
|
|
83
91
|
this.hasFooter = true;
|
|
92
|
+
this.hasContentTop = false;
|
|
93
|
+
this.hasContentBottom = false;
|
|
84
94
|
this.isOpen = false;
|
|
85
95
|
this.effectiveLocale = undefined;
|
|
86
96
|
this.defaultMessages = undefined;
|
|
@@ -114,8 +124,8 @@ export class Modal {
|
|
|
114
124
|
connectedCallback() {
|
|
115
125
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
116
126
|
this.cssVarObserver?.observe(this.el, { attributeFilter: ["style"] });
|
|
117
|
-
this.updateFooterVisibility();
|
|
118
127
|
this.updateSizeCssVars();
|
|
128
|
+
this.updateFooterVisibility();
|
|
119
129
|
connectConditionalSlotComponent(this);
|
|
120
130
|
connectLocalized(this);
|
|
121
131
|
connectMessages(this);
|
|
@@ -133,20 +143,32 @@ export class Modal {
|
|
|
133
143
|
render() {
|
|
134
144
|
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("div", { class: {
|
|
135
145
|
[CSS.container]: true,
|
|
146
|
+
[CSS.containerOpen]: this.isOpen,
|
|
136
147
|
[CSS.slottedInShell]: this.slottedInShell
|
|
137
148
|
} }, h("calcite-scrim", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: {
|
|
138
|
-
[CSS.modal]: true
|
|
139
|
-
|
|
140
|
-
|
|
149
|
+
[CSS.modal]: true
|
|
150
|
+
},
|
|
151
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
152
|
+
ref: this.setTransitionEl }, h("div", { class: CSS.header }, this.renderCloseButton(), h("header", { class: CSS.title }, h("slot", { name: CSS.header }))), this.renderContentTop(), h("div", { class: {
|
|
141
153
|
[CSS.content]: true,
|
|
142
154
|
[CSS.contentNoFooter]: !this.hasFooter
|
|
143
|
-
},
|
|
155
|
+
},
|
|
156
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
157
|
+
ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
144
158
|
}
|
|
145
159
|
renderFooter() {
|
|
146
160
|
return this.hasFooter ? (h("div", { class: CSS.footer, key: "footer" }, h("span", { class: CSS.back }, h("slot", { name: SLOTS.back })), h("span", { class: CSS.secondary }, h("slot", { name: SLOTS.secondary })), h("span", { class: CSS.primary }, h("slot", { name: SLOTS.primary })))) : null;
|
|
147
161
|
}
|
|
162
|
+
renderContentTop() {
|
|
163
|
+
return (h("div", { class: CSS.contentTop, hidden: !this.hasContentTop }, h("slot", { name: SLOTS.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
164
|
+
}
|
|
165
|
+
renderContentBottom() {
|
|
166
|
+
return (h("div", { class: CSS.contentBottom, hidden: !this.hasContentBottom }, h("slot", { name: SLOTS.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
167
|
+
}
|
|
148
168
|
renderCloseButton() {
|
|
149
|
-
return !this.closeButtonDisabled ? (h("button", { "aria-label": this.messages.close, class: CSS.close, key: "button", onClick: this.close,
|
|
169
|
+
return !this.closeButtonDisabled ? (h("button", { "aria-label": this.messages.close, class: CSS.close, key: "button", onClick: this.close, title: this.messages.close,
|
|
170
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
171
|
+
ref: (el) => (this.closeButtonEl = el) }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
150
172
|
}
|
|
151
173
|
renderStyle() {
|
|
152
174
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
@@ -580,6 +602,8 @@ export class Modal {
|
|
|
580
602
|
"cssWidth": {},
|
|
581
603
|
"cssHeight": {},
|
|
582
604
|
"hasFooter": {},
|
|
605
|
+
"hasContentTop": {},
|
|
606
|
+
"hasContentBottom": {},
|
|
583
607
|
"isOpen": {},
|
|
584
608
|
"effectiveLocale": {},
|
|
585
609
|
"defaultMessages": {}
|
|
@@ -1,11 +1,10 @@
|
|
|
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
|
export const CSS = {
|
|
7
7
|
modal: "modal",
|
|
8
|
-
modalOpen: "modal--open",
|
|
9
8
|
title: "title",
|
|
10
9
|
header: "header",
|
|
11
10
|
footer: "footer",
|
|
@@ -16,8 +15,11 @@ export const CSS = {
|
|
|
16
15
|
primary: "primary",
|
|
17
16
|
overflowHidden: "overflow-hidden",
|
|
18
17
|
container: "container",
|
|
18
|
+
containerOpen: "container--open",
|
|
19
19
|
content: "content",
|
|
20
20
|
contentNoFooter: "content--no-footer",
|
|
21
|
+
contentBottom: "content-bottom",
|
|
22
|
+
contentTop: "content-top",
|
|
21
23
|
slottedInShell: "slotted-in-shell",
|
|
22
24
|
// these classes help apply the animation in phases to only set transform on open/close
|
|
23
25
|
// this helps avoid a positioning issue for any floating-ui-owning children
|
|
@@ -37,6 +39,8 @@ export const ICONS = {
|
|
|
37
39
|
};
|
|
38
40
|
export const SLOTS = {
|
|
39
41
|
content: "content",
|
|
42
|
+
contentBottom: "content-bottom",
|
|
43
|
+
contentTop: "content-top",
|
|
40
44
|
header: "header",
|
|
41
45
|
back: "back",
|
|
42
46
|
secondary: "secondary",
|
|
@@ -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 { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -77,7 +77,9 @@ export class Notice {
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
const { el } = this;
|
|
80
|
-
const closeButton = (h("button", { "aria-label": this.messages.close, class: CSS.close, onClick: this.close,
|
|
80
|
+
const closeButton = (h("button", { "aria-label": this.messages.close, class: CSS.close, onClick: this.close,
|
|
81
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
82
|
+
ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
81
83
|
const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);
|
|
82
84
|
return (h("div", { class: CSS.container }, this.requestedIcon ? (h("div", { class: CSS.icon }, h("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: CSS.content }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), hasActionEnd ? (h("div", { class: CSS.actionsEnd }, h("slot", { name: SLOTS.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
83
85
|
}
|
|
@@ -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 { createObserver } from "../../utils/observers";
|
|
@@ -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
|
*/
|
|
@@ -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 { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
@@ -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 { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { focusFirstTabbable, toAriaBoolean } from "../../utils/dom";
|
|
@@ -212,7 +212,9 @@ export class Panel {
|
|
|
212
212
|
renderHeaderActionsEnd() {
|
|
213
213
|
const { close, hasEndActions, messages, closable } = this;
|
|
214
214
|
const text = messages.close;
|
|
215
|
-
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close,
|
|
215
|
+
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close, text: text,
|
|
216
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
217
|
+
ref: this.setCloseRef })) : null;
|
|
216
218
|
const slotNode = (h("slot", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
217
219
|
const showContainer = hasEndActions || closableNode;
|
|
218
220
|
return (h("div", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
@@ -245,14 +247,18 @@ export class Panel {
|
|
|
245
247
|
[CSS.contentWrapper]: true,
|
|
246
248
|
[CSS.contentContainer]: !hasFab,
|
|
247
249
|
[CSS.contentHeight]: hasFab
|
|
248
|
-
}, onScroll: this.panelScrollHandler,
|
|
250
|
+
}, onScroll: this.panelScrollHandler,
|
|
251
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
252
|
+
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
249
253
|
}
|
|
250
254
|
renderFab() {
|
|
251
255
|
return (h("div", { class: CSS.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS.fab, onSlotchange: this.handleFabSlotChange })));
|
|
252
256
|
}
|
|
253
257
|
render() {
|
|
254
258
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
255
|
-
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler,
|
|
259
|
+
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
260
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
261
|
+
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
256
262
|
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
257
263
|
}
|
|
258
264
|
static get is() { return "calcite-panel"; }
|
|
@@ -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 { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -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 { debounce } from "lodash-es";
|
|
7
7
|
import { getRoundRobinIndex } from "../../utils/array";
|
|
@@ -1,13 +1,17 @@
|
|
|
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 { toAriaBoolean } from "../../utils/dom";
|
|
8
8
|
import { CSS, SLOTS } from "./resources";
|
|
9
9
|
export const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilterEvent, filterPlaceholder, filterText, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
|
|
10
10
|
const defaultSlot = h("slot", null);
|
|
11
|
-
return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest }, h("section", null, dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text",
|
|
11
|
+
return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest }, h("section", null, dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text",
|
|
12
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
13
|
+
ref: storeAssistiveEl })) : null, h("header", { class: { [CSS.sticky]: true } }, filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
14
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
15
|
+
ref: setFilterEl })) : null, h("slot", { name: SLOTS.menuActions })), loading ? h("calcite-scrim", { loading: loading }) : null, defaultSlot)));
|
|
12
16
|
};
|
|
13
17
|
export default List;
|
|
@@ -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 { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -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
|
*/
|
|
@@ -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 { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -160,7 +160,9 @@ export class PickListItem {
|
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
162
|
const { description, label } = this;
|
|
163
|
-
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler,
|
|
163
|
+
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
164
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
165
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, h("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS.textContainer, role: "menuitemcheckbox" }, h("span", { class: CSS.title }, label), description ? h("span", { class: CSS.description }, description) : null)), this.renderActionsEnd()));
|
|
164
166
|
}
|
|
165
167
|
static get is() { return "calcite-pick-list-item"; }
|
|
166
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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 { isPrimaryPointerButton } from "../../utils/dom";
|
|
7
7
|
import { isActivationKey } from "../../utils/key";
|
|
@@ -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
|
*/
|