@esri/calcite-components 1.3.0-next.0 → 1.3.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/de-AT.json +32 -0
- package/dist/calcite/assets/icon/addReaction16.json +1 -0
- package/dist/calcite/assets/icon/addReaction24.json +1 -0
- package/dist/calcite/assets/icon/addReaction32.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge16.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge24.json +1 -0
- package/dist/calcite/assets/icon/asteriskLarge32.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall16.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall24.json +1 -0
- package/dist/calcite/assets/icon/asteriskSmall32.json +1 -0
- package/dist/calcite/assets/icon/functionEditor16.json +1 -0
- package/dist/calcite/assets/icon/functionEditor24.json +1 -0
- package/dist/calcite/assets/icon/functionEditor32.json +1 -0
- package/dist/calcite/assets/icon/headingLayout16.json +1 -0
- package/dist/calcite/assets/icon/headingLayout24.json +1 -0
- package/dist/calcite/assets/icon/headingLayout32.json +1 -0
- package/dist/calcite/assets/icon/missionServer16.json +1 -0
- package/dist/calcite/assets/icon/missionServer24.json +1 -0
- package/dist/calcite/assets/icon/missionServer32.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate16.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate24.json +1 -0
- package/dist/calcite/assets/icon/newRasterFunctionTemplate32.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction16.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction24.json +1 -0
- package/dist/calcite/assets/icon/rasterFunction32.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate16.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate24.json +1 -0
- package/dist/calcite/assets/icon/rasterFunctionTemplate32.json +1 -0
- package/dist/calcite/assets/icon/replaceImage16.json +1 -0
- package/dist/calcite/assets/icon/replaceImage24.json +1 -0
- package/dist/calcite/assets/icon/replaceImage32.json +1 -0
- package/dist/calcite/assets/icon/subheading116.json +1 -0
- package/dist/calcite/assets/icon/subheading124.json +1 -0
- package/dist/calcite/assets/icon/subheading132.json +1 -0
- package/dist/calcite/assets/icon/subheading216.json +1 -0
- package/dist/calcite/assets/icon/subheading224.json +1 -0
- package/dist/calcite/assets/icon/subheading232.json +1 -0
- package/dist/calcite/assets/icon/subheading316.json +1 -0
- package/dist/calcite/assets/icon/subheading324.json +1 -0
- package/dist/calcite/assets/icon/subheading332.json +1 -0
- package/dist/calcite/assets/icon/subheading416.json +1 -0
- package/dist/calcite/assets/icon/subheading424.json +1 -0
- package/dist/calcite/assets/icon/subheading432.json +1 -0
- package/dist/calcite/assets/icon/subheading516.json +1 -0
- package/dist/calcite/assets/icon/subheading524.json +1 -0
- package/dist/calcite/assets/icon/subheading532.json +1 -0
- package/dist/calcite/assets/icon/videoServer16.json +1 -0
- package/dist/calcite/assets/icon/videoServer24.json +1 -0
- package/dist/calcite/assets/icon/videoServer32.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer16.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer24.json +1 -0
- package/dist/calcite/assets/icon/videoSingleServer32.json +1 -0
- package/dist/calcite/assets/input-date-picker/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_ar.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_en.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_es.json +3 -0
- package/dist/calcite/assets/input-date-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/calcite/assets/list-item/t9n/index.d.ts +3 -0
- package/dist/calcite/assets/list-item/t9n/messages.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ar.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_bg.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_bs.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ca.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_cs.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_da.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_de.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_el.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_en.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_es.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_et.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_fi.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_fr.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_he.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_hr.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_hu.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_id.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_it.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ja.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ko.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_lt.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_lv.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_nl.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_no.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_pl.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_pt-BR.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_pt-PT.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ro.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_ru.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_sk.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_sl.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_sr.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_sv.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_th.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_tr.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_uk.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_vi.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_zh-CN.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_zh-HK.json +3 -0
- package/dist/calcite/assets/list-item/t9n/messages_zh-TW.json +3 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -1
- package/dist/calcite/{p-776e8cf9.js → p-043c9b5b.js} +1 -1
- package/dist/calcite/{p-971dc9b5.entry.js → p-0666650a.entry.js} +2 -2
- package/dist/calcite/p-06b82a12.entry.js +6 -0
- package/dist/calcite/p-09d34930.entry.js +6 -0
- package/dist/calcite/p-11e8e04e.js +10 -0
- package/dist/calcite/p-1350ab63.entry.js +6 -0
- package/dist/calcite/{p-500a4643.js → p-14082cd3.js} +2 -2
- package/dist/calcite/p-14a37eaf.entry.js +6 -0
- package/dist/calcite/{p-b53b8ea5.entry.js → p-167b722f.entry.js} +2 -2
- package/dist/calcite/p-1ab32d4b.entry.js +6 -0
- package/dist/calcite/{p-2e42f758.entry.js → p-1c74a6ff.entry.js} +2 -2
- package/dist/calcite/{p-86bd196d.js → p-1ffad341.js} +1 -1
- package/dist/calcite/{p-3f005d24.js → p-20c4df44.js} +1 -1
- package/dist/calcite/p-22a3eb48.entry.js +6 -0
- package/dist/calcite/{p-e198fce3.js → p-2391c371.js} +1 -1
- package/dist/calcite/{p-11db6f13.js → p-2582d2b0.js} +2 -2
- package/dist/calcite/{p-8d7c4a2f.js → p-33575bb6.js} +1 -1
- package/dist/calcite/p-36747b47.entry.js +6 -0
- package/dist/calcite/p-37a709f3.entry.js +6 -0
- package/dist/calcite/{p-b4ee9efd.js → p-39dc3417.js} +2 -2
- package/dist/calcite/p-3c0613fc.entry.js +6 -0
- package/dist/calcite/{p-2cbadb52.js → p-3c295d7e.js} +2 -2
- package/dist/calcite/p-3e1b2c6f.entry.js +6 -0
- package/dist/calcite/p-42e8e108.js +6 -0
- package/dist/calcite/{p-288f51c5.entry.js → p-42ee420d.entry.js} +2 -2
- package/dist/calcite/p-4368ec50.entry.js +6 -0
- package/dist/calcite/{p-8c62374d.entry.js → p-461e6afe.entry.js} +2 -2
- package/dist/calcite/{p-cc8cdcae.js → p-4871aa9e.js} +2 -2
- package/dist/calcite/{p-a615db81.js → p-4bd23c97.js} +2 -2
- package/dist/calcite/{p-8c8ad908.entry.js → p-4ec6765b.entry.js} +2 -2
- package/dist/calcite/p-546e8bf0.entry.js +6 -0
- package/dist/calcite/{p-82616742.entry.js → p-552cb63f.entry.js} +2 -2
- package/dist/calcite/{p-209c12f7.js → p-555bb46a.js} +1 -1
- package/dist/calcite/p-5611e45d.js +6 -0
- package/dist/calcite/{p-704f4526.entry.js → p-5836cd41.entry.js} +2 -2
- package/dist/calcite/p-5960f628.js +6 -0
- package/dist/calcite/p-65f1ddfb.entry.js +6 -0
- package/dist/calcite/p-668cfc58.entry.js +6 -0
- package/dist/calcite/{p-972c0887.entry.js → p-6b0c78f3.entry.js} +2 -2
- package/dist/calcite/{p-f55fc43c.js → p-6dee4680.js} +1 -1
- package/dist/calcite/p-719d3e90.entry.js +6 -0
- package/dist/calcite/{p-cc988792.js → p-7acdffba.js} +1 -1
- package/dist/calcite/p-863bdbbb.entry.js +6 -0
- package/dist/calcite/p-868258ae.entry.js +6 -0
- package/dist/calcite/p-876aed62.entry.js +6 -0
- package/dist/calcite/p-87b5483a.entry.js +6 -0
- package/dist/calcite/{p-13c46aac.entry.js → p-8a45d50d.entry.js} +2 -2
- package/dist/calcite/{p-ca277365.js → p-8cb898e2.js} +2 -2
- package/dist/calcite/p-8f34b6f0.entry.js +6 -0
- package/dist/calcite/p-958bd52b.entry.js +6 -0
- package/dist/calcite/{p-b82457bf.entry.js → p-97f64025.entry.js} +2 -2
- package/dist/calcite/p-98ba7547.entry.js +6 -0
- package/dist/calcite/p-99b1bb73.entry.js +6 -0
- package/dist/calcite/{p-da0a55c7.entry.js → p-99f21717.entry.js} +2 -2
- package/dist/calcite/p-9bbd4acc.entry.js +6 -0
- package/dist/calcite/{p-9146f270.entry.js → p-9c312093.entry.js} +2 -2
- package/dist/calcite/{p-fb7ccf98.entry.js → p-a0d85569.entry.js} +2 -2
- package/dist/calcite/{p-fade71b3.js → p-a31d736a.js} +2 -2
- package/dist/calcite/p-a41072b3.entry.js +6 -0
- package/dist/calcite/{p-0708a8d5.entry.js → p-ab26b62f.entry.js} +2 -2
- package/dist/calcite/{p-0dd08726.js → p-aca9e0d3.js} +1 -1
- package/dist/calcite/p-b0d44d73.entry.js +6 -0
- package/dist/calcite/p-b13556fd.entry.js +6 -0
- package/dist/calcite/p-b30dbbb8.entry.js +6 -0
- package/dist/calcite/p-b5304d19.entry.js +6 -0
- package/dist/calcite/{p-cb7084d3.js → p-b7083e65.js} +3 -3
- package/dist/calcite/{p-e51ddb5c.entry.js → p-b8541bdd.entry.js} +2 -2
- package/dist/calcite/p-baa51f07.entry.js +6 -0
- package/dist/calcite/p-bcad5fa6.js +6 -0
- package/dist/calcite/p-bfb8a82c.entry.js +6 -0
- package/dist/calcite/p-c0877197.entry.js +6 -0
- package/dist/calcite/p-c23a86c9.entry.js +6 -0
- package/dist/calcite/{p-e62ef13b.js → p-c7ad9bf5.js} +1 -1
- package/dist/calcite/{p-8e298374.js → p-c97f57e7.js} +2 -2
- package/dist/calcite/p-ccd1c77d.entry.js +6 -0
- package/dist/calcite/p-cefcb918.entry.js +6 -0
- package/dist/calcite/{p-74dda1ff.entry.js → p-d2c2b0f9.entry.js} +2 -2
- package/dist/calcite/{p-614c8b32.js → p-d3358a13.js} +2 -2
- package/dist/calcite/p-d341ede6.entry.js +6 -0
- package/dist/calcite/{p-5bafed68.entry.js → p-ddf15e05.entry.js} +2 -2
- package/dist/calcite/p-e4faab25.js +6 -0
- package/dist/calcite/{p-f74e6353.entry.js → p-e6a7fff3.entry.js} +2 -2
- package/dist/calcite/{p-2ba11681.js → p-e7818e98.js} +1 -1
- package/dist/calcite/{p-d7287acf.entry.js → p-e92e71b8.entry.js} +2 -2
- package/dist/calcite/{p-96f1983d.js → p-ece91002.js} +1 -1
- package/dist/calcite/p-edf1c009.entry.js +6 -0
- package/dist/calcite/p-ee744d54.entry.js +6 -0
- package/dist/calcite/p-f03ee15e.js +6 -0
- package/dist/calcite/p-f30519aa.entry.js +6 -0
- package/dist/calcite/{p-3d18471f.entry.js → p-f58666b6.entry.js} +2 -2
- package/dist/calcite/p-f7040f25.entry.js +6 -0
- package/dist/calcite/p-f77b06ac.entry.js +6 -0
- package/dist/calcite/{p-350068cb.js → p-f8b43bf5.js} +1 -1
- package/dist/calcite/{p-57fb7de3.js → p-fa664d8e.js} +2 -2
- package/dist/calcite/p-fbc517f7.js +6 -0
- package/dist/cjs/{ExpandToggle-56fe31c4.js → ExpandToggle-fdce4f55.js} +5 -5
- package/dist/cjs/{Heading-6aef0a1e.js → Heading-74403c1f.js} +2 -2
- package/dist/cjs/{app-globals-61fbb3b6.js → app-globals-08566e2a.js} +2 -2
- package/dist/cjs/{array-0d69d442.js → array-8e2bcfb3.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +31 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +30 -15
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +32 -18
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +175 -0
- package/dist/cjs/calcite-chip.cjs.entry.js +132 -45
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -18
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +32 -30
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +25 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +22 -16
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +32 -29
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +11 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +55 -21
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +20 -19
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +30 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-popover.cjs.entry.js +23 -21
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +22 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +154 -44
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -8
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +18 -13
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +42 -23
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/composed-offset-position.esm-cbda8a1e.js +79 -0
- package/dist/cjs/{conditionalSlot-241dd403.js → conditionalSlot-7eec8c3e.js} +3 -3
- package/dist/cjs/{debounce-d53ac1c0.js → debounce-b4709363.js} +1 -1
- package/dist/cjs/{dom-0bc9eeb3.js → dom-82bbd162.js} +3 -3
- package/dist/cjs/{filter-5ebac12d.js → filter-846784b2.js} +2 -2
- package/dist/cjs/{floating-ui-1c389fc3.js → floating-ui-10670be2.js} +8 -49
- package/dist/cjs/{focusTrapComponent-cbe90025.js → focusTrapComponent-0ebc97c2.js} +8 -11
- package/dist/cjs/{form-3a2bb279.js → form-b5591192.js} +3 -3
- package/dist/cjs/{guid-d712dcc7.js → guid-413cc8e1.js} +1 -1
- package/dist/cjs/{index-b39921d4.js → index-36931dc8.js} +5 -1
- package/dist/cjs/index.cjs.js +8 -1
- package/dist/cjs/{interactive-d4b8c1a8.js → interactive-dfd473dd.js} +17 -1
- package/dist/cjs/{key-ae83c42a.js → key-fc5cba26.js} +1 -1
- package/dist/cjs/{label-02ef8adb.js → label-8ba3eecf.js} +2 -2
- package/dist/cjs/{loadable-512abe35.js → loadable-5f15664b.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-61c6c3c8.js → locale-49182fa6.js} +5 -4
- package/dist/cjs/{math-84f788ca.js → math-8d8a40d0.js} +1 -1
- package/dist/cjs/{observers-a49aff3c.js → observers-6a9ac5ef.js} +1 -1
- package/dist/cjs/{openCloseComponent-ae5505b8.js → openCloseComponent-02fbf935.js} +2 -2
- package/dist/cjs/{resources-63af3882.js → resources-2c5837e7.js} +1 -1
- package/dist/cjs/{resources-a39e3c56.js → resources-3aa95d87.js} +3 -1
- package/dist/cjs/{resources-8c23be5f.js → resources-4c9909b2.js} +5 -5
- package/dist/cjs/{resources-88fb95e6.js → resources-50b8c22d.js} +1 -1
- package/dist/cjs/{resources-6ccda1d5.js → resources-bf5a06a6.js} +1 -1
- package/dist/cjs/{resources-95cc229e.js → resources-cd153cb9.js} +1 -1
- package/dist/cjs/{sortable.esm-ee4200c6.js → sortable.esm-bbb32b43.js} +1 -1
- package/dist/cjs/{t9n-9f1d14ae.js → t9n-a3a4e4d4.js} +3 -3
- package/dist/cjs/{throttle-d1f01efb.js → throttle-ca8f21c9.js} +2 -2
- package/dist/cjs/{utils-93c0e5cf.js → utils-39510fb1.js} +3 -3
- package/dist/cjs/{utils-9bce2cc2.js → utils-5b2922fd.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.js +1 -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 +5 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +20 -3
- 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.js +5 -2
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +21 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- 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 +6 -1
- 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.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +12 -7
- package/dist/collection/components/button/button.js +21 -6
- package/dist/collection/components/button/resources.js +1 -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 +5 -1
- package/dist/collection/components/checkbox/checkbox.js +4 -1
- package/dist/collection/components/chip/chip.css +163 -109
- package/dist/collection/components/chip/chip.js +269 -37
- package/dist/collection/components/chip/resources.js +14 -5
- package/dist/collection/components/chip-group/chip-group.css +127 -0
- package/dist/collection/components/chip-group/chip-group.js +349 -0
- package/dist/collection/components/color-picker/color-picker.css +5 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -3
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -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 +5 -1
- package/dist/collection/components/combobox/combobox.js +10 -8
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +2 -2
- package/dist/collection/components/combobox-item/combobox-item.css +5 -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 +7 -14
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/de-AT.json +32 -0
- 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 +5 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +10 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +3 -3
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -3
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +7 -1
- package/dist/collection/components/dropdown/dropdown.js +16 -17
- package/dist/collection/components/dropdown/resources.js +1 -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.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -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 +5 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/addReaction16.json +1 -0
- package/dist/collection/components/icon/assets/icon/addReaction24.json +1 -0
- package/dist/collection/components/icon/assets/icon/addReaction32.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge16.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge24.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskLarge32.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall16.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall24.json +1 -0
- package/dist/collection/components/icon/assets/icon/asteriskSmall32.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor16.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor24.json +1 -0
- package/dist/collection/components/icon/assets/icon/functionEditor32.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout16.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout24.json +1 -0
- package/dist/collection/components/icon/assets/icon/headingLayout32.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/missionServer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate16.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate24.json +1 -0
- package/dist/collection/components/icon/assets/icon/newRasterFunctionTemplate32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunction32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterFunctionTemplate32.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage16.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage24.json +1 -0
- package/dist/collection/components/icon/assets/icon/replaceImage32.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading116.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading124.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading132.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading216.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading224.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading232.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading316.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading324.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading332.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading416.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading424.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading432.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading516.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading524.json +1 -0
- package/dist/collection/components/icon/assets/icon/subheading532.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoServer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/videoSingleServer32.json +1 -0
- 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 +5 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -1
- package/dist/collection/components/input/input.js +6 -3
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_ar.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_en.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_es.json +3 -0
- package/dist/collection/components/input-date-picker/assets/input-date-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +70 -38
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -1
- package/dist/collection/components/input-number/input-number.js +5 -2
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -1
- package/dist/collection/components/input-text/input-text.js +5 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +2 -2
- package/dist/collection/components/label/label.css +5 -5
- 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 +5 -1
- package/dist/collection/components/link/link.js +4 -1
- package/dist/collection/components/list/list.css +5 -1
- package/dist/collection/components/list/list.js +11 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/assets/list-item/t9n/index.d.ts +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ar.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_bg.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_bs.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ca.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_cs.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_da.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_de.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_el.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_en.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_es.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_et.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_fi.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_fr.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_he.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_hr.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_hu.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_id.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_it.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ja.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ko.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_lt.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_lv.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_nl.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_no.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_pl.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_pt-BR.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_pt-PT.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ro.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_ru.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_sk.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_sl.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_sr.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_sv.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_th.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_tr.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_uk.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_vi.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-CN.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-HK.json +3 -0
- package/dist/collection/components/list-item/assets/list-item/t9n/messages_zh-TW.json +3 -0
- package/dist/collection/components/list-item/list-item.css +5 -1
- package/dist/collection/components/list-item/list-item.js +139 -8
- package/dist/collection/components/list-item/resources.js +3 -2
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -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.js +1 -1
- package/dist/collection/components/modal/modal.js +8 -7
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -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 +16 -5
- package/dist/collection/components/panel/panel.js +19 -8
- package/dist/collection/components/panel/resources.js +3 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -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 +1 -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 +5 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +11 -8
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -1
- package/dist/collection/components/radio-button/radio-button.js +14 -5
- package/dist/collection/components/radio-button/resources.js +1 -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 +6 -5
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -1
- package/dist/collection/components/segmented-control/segmented-control.js +4 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -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 +5 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +3 -3
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +4 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +74 -9
- package/dist/collection/components/shell-panel/shell-panel.js +168 -32
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -1
- package/dist/collection/components/slider/slider.js +9 -3
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -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 +5 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +6 -1
- package/dist/collection/components/stepper-item/stepper-item.js +6 -5
- package/dist/collection/components/switch/switch.css +5 -1
- package/dist/collection/components/switch/switch.js +4 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -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 +5 -1
- package/dist/collection/components/tile-select/tile-select.js +12 -7
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -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.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -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.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -5
- package/dist/collection/components/tooltip/utils.js +1 -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 +5 -1
- package/dist/collection/components/tree-item/tree-item.js +35 -15
- 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 +5 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -1
- package/dist/collection/components/value-list-item/value-list-item.js +20 -1
- package/dist/collection/index.js +9 -0
- 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.js +7 -47
- package/dist/collection/utils/focusTrapComponent.js +7 -10
- 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 +17 -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 +2 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- 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 +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +21 -6
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +18 -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 +19 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.d.ts +11 -0
- package/dist/components/calcite-chip-group.js +195 -0
- 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 +3 -5
- package/dist/components/calcite-combobox-item-group.js +4 -4
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +12 -10
- 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 +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +2 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +21 -17
- package/dist/components/calcite-input-message.js +3 -3
- package/dist/components/calcite-input-number.js +7 -4
- package/dist/components/calcite-input-text.js +7 -4
- package/dist/components/calcite-input-time-picker.js +3 -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 +59 -12
- package/dist/components/calcite-list.js +7 -4
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +10 -9
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-radio-button.js +15 -6
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +5 -2
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +4 -1
- package/dist/components/calcite-shell-panel.js +142 -33
- package/dist/components/calcite-shell.js +4 -4
- package/dist/components/calcite-slider.js +11 -5
- 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 +7 -6
- 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-text-area.js +3 -3
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +13 -8
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +35 -16
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +3 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +5 -2
- package/dist/components/chip.js +133 -41
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/composed-offset-position.esm.js +75 -0
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +11 -5
- package/dist/components/date-picker-month-header.js +1 -3
- package/dist/components/date-picker-month.js +3 -3
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +17 -18
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +8 -48
- package/dist/components/focusTrapComponent.js +8 -11
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -2
- package/dist/components/input.js +8 -5
- package/dist/components/interactive.js +17 -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 +6 -3
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +21 -9
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +13 -10
- package/dist/components/progress.js +1 -1
- 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 +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -3
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +5 -2
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +3 -6
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +3 -2
- package/dist/esm/{ExpandToggle-387bfb73.js → ExpandToggle-1ac94b82.js} +5 -5
- package/dist/esm/{Heading-b1ecde46.js → Heading-12377140.js} +2 -2
- package/dist/esm/{app-globals-898f2487.js → app-globals-2527d63c.js} +2 -2
- package/dist/esm/{array-643f1e8e.js → array-65ab7466.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +31 -16
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +30 -15
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +32 -18
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +14 -11
- package/dist/esm/calcite-chip-group.entry.js +171 -0
- package/dist/esm/calcite-chip.entry.js +132 -45
- package/dist/esm/calcite-color-picker_3.entry.js +16 -18
- package/dist/esm/calcite-combobox_3.entry.js +32 -30
- package/dist/esm/calcite-date-picker_4.entry.js +23 -18
- package/dist/esm/calcite-dropdown_3.entry.js +25 -26
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +22 -16
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-date-picker.entry.js +32 -29
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +17 -14
- package/dist/esm/calcite-input-text.entry.js +17 -14
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input.entry.js +17 -14
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +11 -8
- package/dist/esm/calcite-list_3.entry.js +55 -21
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +20 -19
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +30 -21
- package/dist/esm/calcite-pick-list_3.entry.js +18 -18
- package/dist/esm/calcite-popover.entry.js +23 -21
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +22 -13
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -10
- package/dist/esm/calcite-shell_3.entry.js +154 -44
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +16 -15
- package/dist/esm/calcite-switch.entry.js +14 -11
- package/dist/esm/calcite-tab_4.entry.js +11 -8
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +18 -13
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -11
- package/dist/esm/calcite-tree_2.entry.js +42 -23
- package/dist/esm/calcite-value-list_2.entry.js +19 -18
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/composed-offset-position.esm-bc1bfcf0.js +75 -0
- package/dist/esm/{conditionalSlot-60f2812f.js → conditionalSlot-d56b3e9f.js} +3 -3
- package/dist/esm/{debounce-3e5650ad.js → debounce-511fbd11.js} +1 -1
- package/dist/esm/{dom-534597ba.js → dom-f4b30614.js} +4 -4
- package/dist/esm/{filter-8832e1e9.js → filter-775bef1b.js} +2 -2
- package/dist/esm/{floating-ui-fb1cb8aa.js → floating-ui-68dbb80b.js} +9 -49
- package/dist/esm/{focusTrapComponent-285f029b.js → focusTrapComponent-ad9af3e1.js} +8 -11
- package/dist/esm/{form-07b1aa0c.js → form-a61fcdd3.js} +3 -3
- package/dist/esm/{guid-b791ad8f.js → guid-2e6b1627.js} +1 -1
- package/dist/esm/{index-a70d3cc8.js → index-13b93ce4.js} +6 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/{interactive-f3378ce0.js → interactive-d228078c.js} +17 -1
- package/dist/esm/{key-5b2ab3ca.js → key-bfa02700.js} +1 -1
- package/dist/esm/{label-60f98c77.js → label-88096a22.js} +2 -2
- package/dist/esm/{loadable-89646a30.js → loadable-cec8163b.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-b1281d53.js → locale-077c4ad5.js} +5 -4
- package/dist/esm/{math-be699494.js → math-4f6abfe9.js} +1 -1
- package/dist/esm/{observers-86e5cb19.js → observers-b0ce101e.js} +1 -1
- package/dist/esm/{openCloseComponent-facb382e.js → openCloseComponent-5fb74813.js} +2 -2
- package/dist/esm/{resources-1f4dd2c4.js → resources-2de456a7.js} +1 -1
- package/dist/esm/{resources-bf2bafa4.js → resources-5c4b6cd2.js} +1 -1
- package/dist/esm/{resources-dc9c7c80.js → resources-762d10e7.js} +5 -5
- package/dist/esm/{resources-af3fb8ba.js → resources-985e741d.js} +1 -1
- package/dist/esm/{resources-0d3a569c.js → resources-98c96cfc.js} +1 -1
- package/dist/esm/{resources-2c0bd205.js → resources-e3d0297a.js} +3 -1
- package/dist/esm/{sortable.esm-2f5fcf54.js → sortable.esm-cbaccaa5.js} +1 -1
- package/dist/esm/{t9n-15b4fdc3.js → t9n-fe431ef2.js} +3 -3
- package/dist/esm/{throttle-62d39430.js → throttle-e0da752f.js} +2 -2
- package/dist/esm/{utils-3dd57b32.js → utils-2e0d9402.js} +1 -1
- package/dist/esm/{utils-b56bc94b.js → utils-32dd1f3e.js} +3 -3
- package/dist/extras/docs-json.json +395 -15
- package/dist/extras/vscode-data.json +83 -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/action-bar/action-bar.d.ts +5 -1
- package/dist/types/components/action-group/action-group.d.ts +2 -0
- package/dist/types/components/action-pad/action-pad.d.ts +6 -1
- package/dist/types/components/button/button.d.ts +7 -0
- package/dist/types/components/chip/chip.d.ts +54 -19
- package/dist/types/components/chip/resources.d.ts +11 -2
- package/dist/types/components/chip-group/chip-group.d.ts +44 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +1 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +1 -1
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +0 -1
- package/dist/types/components/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/input-date-picker/assets/input-date-picker/t9n/index.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +15 -6
- package/dist/types/components/list/list.d.ts +1 -0
- package/dist/types/components/list-item/assets/list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/list-item/list-item.d.ts +30 -3
- package/dist/types/components/list-item/resources.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +4 -0
- package/dist/types/components/panel/resources.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio-button/radio-button.d.ts +2 -2
- package/dist/types/components/shell-panel/shell-panel.d.ts +21 -2
- package/dist/types/components/tree-item/tree-item.d.ts +6 -0
- package/dist/types/components/value-list-item/value-list-item.d.ts +9 -0
- package/dist/types/components.d.ts +172 -6
- package/dist/types/index.d.ts +1 -0
- package/dist/types/preact.d.ts +11 -3
- package/dist/types/utils/floating-ui.d.ts +0 -8
- package/dist/types/utils/focusTrapComponent.d.ts +5 -5
- package/dist/types/utils/observers.d.ts +1 -1
- package/hydrate/index.js +804 -283
- package/package.json +9 -7
- package/readme.md +7 -4
- package/dist/calcite/p-00e169c5.entry.js +0 -6
- package/dist/calcite/p-0ca08e14.entry.js +0 -6
- package/dist/calcite/p-14414a6f.entry.js +0 -6
- package/dist/calcite/p-15c08752.entry.js +0 -6
- package/dist/calcite/p-164301b9.js +0 -10
- package/dist/calcite/p-16b0eb14.entry.js +0 -6
- package/dist/calcite/p-16ec65c2.js +0 -6
- package/dist/calcite/p-170ef102.entry.js +0 -6
- package/dist/calcite/p-1ac5814b.entry.js +0 -6
- package/dist/calcite/p-1bbb8837.entry.js +0 -6
- package/dist/calcite/p-1c2be33a.entry.js +0 -6
- package/dist/calcite/p-1e713afc.entry.js +0 -6
- package/dist/calcite/p-21c950b6.entry.js +0 -6
- package/dist/calcite/p-24d58036.entry.js +0 -6
- package/dist/calcite/p-3db9f2a4.entry.js +0 -6
- package/dist/calcite/p-3f278b08.entry.js +0 -6
- package/dist/calcite/p-47c5d576.entry.js +0 -6
- package/dist/calcite/p-4aa5aca7.entry.js +0 -6
- package/dist/calcite/p-52b2ed1f.entry.js +0 -6
- package/dist/calcite/p-5fbc3111.js +0 -6
- package/dist/calcite/p-6f42b30e.js +0 -6
- package/dist/calcite/p-76289fd3.entry.js +0 -6
- package/dist/calcite/p-782716aa.entry.js +0 -6
- package/dist/calcite/p-80e33210.entry.js +0 -6
- package/dist/calcite/p-8b0cdf12.js +0 -6
- package/dist/calcite/p-8cc5d3c2.entry.js +0 -6
- package/dist/calcite/p-8d5a27b1.entry.js +0 -6
- package/dist/calcite/p-90ebd859.entry.js +0 -6
- package/dist/calcite/p-911784bc.entry.js +0 -6
- package/dist/calcite/p-94209336.entry.js +0 -6
- package/dist/calcite/p-9595a20b.entry.js +0 -6
- package/dist/calcite/p-975bace6.entry.js +0 -6
- package/dist/calcite/p-a0ad663a.entry.js +0 -6
- package/dist/calcite/p-aa6fcf2f.entry.js +0 -6
- package/dist/calcite/p-ab27e07f.entry.js +0 -6
- package/dist/calcite/p-af59a71a.entry.js +0 -6
- package/dist/calcite/p-b9bb867b.js +0 -6
- package/dist/calcite/p-ba7840f9.js +0 -6
- package/dist/calcite/p-cc66031a.entry.js +0 -6
- package/dist/calcite/p-d579653d.entry.js +0 -6
- package/dist/calcite/p-d89c626e.entry.js +0 -6
- package/dist/calcite/p-dbadfaa8.entry.js +0 -6
- package/dist/calcite/p-ddbf33c4.entry.js +0 -6
- package/dist/calcite/p-e1f438e7.entry.js +0 -6
- package/dist/calcite/p-e3f2fc71.entry.js +0 -6
- package/dist/calcite/p-ebec401e.js +0 -6
- package/dist/calcite/p-f4802bdb.entry.js +0 -6
- package/dist/calcite/p-f80a6ff5.entry.js +0 -6
- package/dist/cjs/utils-5ea71888.js +0 -49
- package/dist/collection/utils/floating-ui/utils.js +0 -45
- package/dist/components/utils4.js +0 -47
- package/dist/esm/utils-3f832b4f.js +0 -47
- package/dist/types/utils/floating-ui/utils.d.ts +0 -4
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, slotChangeHasAssignedElement, toAriaBoolean } from "../../utils/dom";
|
|
8
8
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
9
|
import { CSS, ICONS, SLOTS } from "./resources";
|
|
10
10
|
import { getDepth, getListItemChildren, updateListItemChildren } from "./utils";
|
|
11
|
+
import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
12
|
+
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
11
13
|
const focusMap = new Map();
|
|
12
14
|
const listSelector = "calcite-list";
|
|
13
15
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
@@ -26,6 +28,10 @@ export class ListItem {
|
|
|
26
28
|
// Private Methods
|
|
27
29
|
//
|
|
28
30
|
// --------------------------------------------------------------------------
|
|
31
|
+
this.closeClickHandler = () => {
|
|
32
|
+
this.closed = true;
|
|
33
|
+
this.calciteListItemClose.emit();
|
|
34
|
+
};
|
|
29
35
|
this.handleContentSlotChange = (event) => {
|
|
30
36
|
this.hasCustomContent = slotChangeHasAssignedElement(event);
|
|
31
37
|
};
|
|
@@ -138,6 +144,8 @@ export class ListItem {
|
|
|
138
144
|
focusEl?.focus();
|
|
139
145
|
};
|
|
140
146
|
this.active = false;
|
|
147
|
+
this.closable = false;
|
|
148
|
+
this.closed = false;
|
|
141
149
|
this.description = undefined;
|
|
142
150
|
this.disabled = false;
|
|
143
151
|
this.label = undefined;
|
|
@@ -149,6 +157,10 @@ export class ListItem {
|
|
|
149
157
|
this.value = undefined;
|
|
150
158
|
this.selectionMode = null;
|
|
151
159
|
this.selectionAppearance = null;
|
|
160
|
+
this.messageOverrides = undefined;
|
|
161
|
+
this.messages = undefined;
|
|
162
|
+
this.effectiveLocale = "";
|
|
163
|
+
this.defaultMessages = undefined;
|
|
152
164
|
this.level = null;
|
|
153
165
|
this.visualLevel = null;
|
|
154
166
|
this.parentListEl = undefined;
|
|
@@ -169,15 +181,24 @@ export class ListItem {
|
|
|
169
181
|
this.calciteInternalListItemSelect.emit();
|
|
170
182
|
}
|
|
171
183
|
}
|
|
184
|
+
onMessagesChange() {
|
|
185
|
+
/* wired up by t9n util */
|
|
186
|
+
}
|
|
187
|
+
effectiveLocaleChange() {
|
|
188
|
+
updateMessages(this, this.effectiveLocale);
|
|
189
|
+
}
|
|
172
190
|
connectedCallback() {
|
|
191
|
+
connectLocalized(this);
|
|
192
|
+
connectMessages(this);
|
|
173
193
|
const { el } = this;
|
|
174
194
|
this.parentListEl = el.closest(listSelector);
|
|
175
195
|
this.level = getDepth(el) + 1;
|
|
176
196
|
this.visualLevel = getDepth(el, true);
|
|
177
197
|
this.setSelectionDefaults();
|
|
178
198
|
}
|
|
179
|
-
componentWillLoad() {
|
|
199
|
+
async componentWillLoad() {
|
|
180
200
|
setUpLoadableComponent(this);
|
|
201
|
+
await setUpMessages(this);
|
|
181
202
|
}
|
|
182
203
|
componentDidLoad() {
|
|
183
204
|
setComponentLoaded(this);
|
|
@@ -185,6 +206,10 @@ export class ListItem {
|
|
|
185
206
|
componentDidRender() {
|
|
186
207
|
updateHostInteraction(this, "managed");
|
|
187
208
|
}
|
|
209
|
+
disconnectedCallback() {
|
|
210
|
+
disconnectLocalized(this);
|
|
211
|
+
disconnectMessages(this);
|
|
212
|
+
}
|
|
188
213
|
// --------------------------------------------------------------------------
|
|
189
214
|
//
|
|
190
215
|
// Public Methods
|
|
@@ -235,10 +260,10 @@ export class ListItem {
|
|
|
235
260
|
ref: (el) => (this.actionsStartEl = el) }, h("slot", { name: SLOTS.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
236
261
|
}
|
|
237
262
|
renderActionsEnd() {
|
|
238
|
-
const { label, hasActionsEnd } = this;
|
|
239
|
-
return (h("td", { "aria-label": label, class: CSS.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", role: "gridcell",
|
|
263
|
+
const { label, hasActionsEnd, closable, messages } = this;
|
|
264
|
+
return (h("td", { "aria-label": label, class: CSS.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
240
265
|
// eslint-disable-next-line react/jsx-sort-props
|
|
241
|
-
ref: (el) => (this.actionsEndEl = el) }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
266
|
+
ref: (el) => (this.actionsEndEl = el) }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (h("calcite-action", { appearance: "transparent", icon: ICONS.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
242
267
|
}
|
|
243
268
|
renderContentStart() {
|
|
244
269
|
const { hasContentStart } = this;
|
|
@@ -274,7 +299,7 @@ export class ListItem {
|
|
|
274
299
|
ref: (el) => (this.contentEl = el) }, content));
|
|
275
300
|
}
|
|
276
301
|
render() {
|
|
277
|
-
const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode } = this;
|
|
302
|
+
const { openable, open, level, setPosition, setSize, active, label, selected, selectionAppearance, selectionMode, closed } = this;
|
|
278
303
|
const showBorder = selectionMode !== "none" && selectionAppearance === "border";
|
|
279
304
|
const borderSelected = showBorder && selected;
|
|
280
305
|
const borderUnselected = showBorder && !selected;
|
|
@@ -282,7 +307,7 @@ export class ListItem {
|
|
|
282
307
|
[CSS.container]: true,
|
|
283
308
|
[CSS.containerBorderSelected]: borderSelected,
|
|
284
309
|
[CSS.containerBorderUnselected]: borderUnselected
|
|
285
|
-
}, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
310
|
+
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
286
311
|
// eslint-disable-next-line react/jsx-sort-props
|
|
287
312
|
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: {
|
|
288
313
|
[CSS.nestedContainer]: true,
|
|
@@ -313,6 +338,7 @@ export class ListItem {
|
|
|
313
338
|
"$": ["list-item.css"]
|
|
314
339
|
};
|
|
315
340
|
}
|
|
341
|
+
static get assetsDirs() { return ["assets"]; }
|
|
316
342
|
static get properties() {
|
|
317
343
|
return {
|
|
318
344
|
"active": {
|
|
@@ -336,6 +362,42 @@ export class ListItem {
|
|
|
336
362
|
"reflect": false,
|
|
337
363
|
"defaultValue": "false"
|
|
338
364
|
},
|
|
365
|
+
"closable": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"mutable": false,
|
|
368
|
+
"complexType": {
|
|
369
|
+
"original": "boolean",
|
|
370
|
+
"resolved": "boolean",
|
|
371
|
+
"references": {}
|
|
372
|
+
},
|
|
373
|
+
"required": false,
|
|
374
|
+
"optional": false,
|
|
375
|
+
"docs": {
|
|
376
|
+
"tags": [],
|
|
377
|
+
"text": "When `true`, a close button is added to the component."
|
|
378
|
+
},
|
|
379
|
+
"attribute": "closable",
|
|
380
|
+
"reflect": true,
|
|
381
|
+
"defaultValue": "false"
|
|
382
|
+
},
|
|
383
|
+
"closed": {
|
|
384
|
+
"type": "boolean",
|
|
385
|
+
"mutable": true,
|
|
386
|
+
"complexType": {
|
|
387
|
+
"original": "boolean",
|
|
388
|
+
"resolved": "boolean",
|
|
389
|
+
"references": {}
|
|
390
|
+
},
|
|
391
|
+
"required": false,
|
|
392
|
+
"optional": false,
|
|
393
|
+
"docs": {
|
|
394
|
+
"tags": [],
|
|
395
|
+
"text": "When `true`, hides the component."
|
|
396
|
+
},
|
|
397
|
+
"attribute": "closed",
|
|
398
|
+
"reflect": true,
|
|
399
|
+
"defaultValue": "false"
|
|
400
|
+
},
|
|
339
401
|
"description": {
|
|
340
402
|
"type": "string",
|
|
341
403
|
"mutable": false,
|
|
@@ -479,7 +541,7 @@ export class ListItem {
|
|
|
479
541
|
"optional": false,
|
|
480
542
|
"docs": {
|
|
481
543
|
"tags": [],
|
|
482
|
-
"text": "When `true`, the component is selected."
|
|
544
|
+
"text": "When `true` and the parent `calcite-list`'s `selectionMode` is `\"single\"` or `\"multiple\"`, the component is selected."
|
|
483
545
|
},
|
|
484
546
|
"attribute": "selected",
|
|
485
547
|
"reflect": true,
|
|
@@ -556,11 +618,59 @@ export class ListItem {
|
|
|
556
618
|
"attribute": "selection-appearance",
|
|
557
619
|
"reflect": false,
|
|
558
620
|
"defaultValue": "null"
|
|
621
|
+
},
|
|
622
|
+
"messageOverrides": {
|
|
623
|
+
"type": "unknown",
|
|
624
|
+
"mutable": true,
|
|
625
|
+
"complexType": {
|
|
626
|
+
"original": "Partial<ListItemMessages>",
|
|
627
|
+
"resolved": "{ close?: string; }",
|
|
628
|
+
"references": {
|
|
629
|
+
"Partial": {
|
|
630
|
+
"location": "global"
|
|
631
|
+
},
|
|
632
|
+
"ListItemMessages": {
|
|
633
|
+
"location": "import",
|
|
634
|
+
"path": "./assets/list-item/t9n"
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"required": false,
|
|
639
|
+
"optional": false,
|
|
640
|
+
"docs": {
|
|
641
|
+
"tags": [],
|
|
642
|
+
"text": "Use this property to override individual strings used by the component."
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"messages": {
|
|
646
|
+
"type": "unknown",
|
|
647
|
+
"mutable": true,
|
|
648
|
+
"complexType": {
|
|
649
|
+
"original": "ListItemMessages",
|
|
650
|
+
"resolved": "{ close: string; }",
|
|
651
|
+
"references": {
|
|
652
|
+
"ListItemMessages": {
|
|
653
|
+
"location": "import",
|
|
654
|
+
"path": "./assets/list-item/t9n"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"required": false,
|
|
659
|
+
"optional": false,
|
|
660
|
+
"docs": {
|
|
661
|
+
"tags": [{
|
|
662
|
+
"name": "internal",
|
|
663
|
+
"text": undefined
|
|
664
|
+
}],
|
|
665
|
+
"text": "Made into a prop for testing purposes only"
|
|
666
|
+
}
|
|
559
667
|
}
|
|
560
668
|
};
|
|
561
669
|
}
|
|
562
670
|
static get states() {
|
|
563
671
|
return {
|
|
672
|
+
"effectiveLocale": {},
|
|
673
|
+
"defaultMessages": {},
|
|
564
674
|
"level": {},
|
|
565
675
|
"visualLevel": {},
|
|
566
676
|
"parentListEl": {},
|
|
@@ -588,6 +698,21 @@ export class ListItem {
|
|
|
588
698
|
"resolved": "void",
|
|
589
699
|
"references": {}
|
|
590
700
|
}
|
|
701
|
+
}, {
|
|
702
|
+
"method": "calciteListItemClose",
|
|
703
|
+
"name": "calciteListItemClose",
|
|
704
|
+
"bubbles": true,
|
|
705
|
+
"cancelable": false,
|
|
706
|
+
"composed": true,
|
|
707
|
+
"docs": {
|
|
708
|
+
"tags": [],
|
|
709
|
+
"text": "Fires when the close button is clicked."
|
|
710
|
+
},
|
|
711
|
+
"complexType": {
|
|
712
|
+
"original": "void",
|
|
713
|
+
"resolved": "void",
|
|
714
|
+
"references": {}
|
|
715
|
+
}
|
|
591
716
|
}, {
|
|
592
717
|
"method": "calciteInternalListItemSelect",
|
|
593
718
|
"name": "calciteInternalListItemSelect",
|
|
@@ -672,6 +797,12 @@ export class ListItem {
|
|
|
672
797
|
}, {
|
|
673
798
|
"propName": "selected",
|
|
674
799
|
"methodName": "handleSelectedChange"
|
|
800
|
+
}, {
|
|
801
|
+
"propName": "messageOverrides",
|
|
802
|
+
"methodName": "onMessagesChange"
|
|
803
|
+
}, {
|
|
804
|
+
"propName": "effectiveLocale",
|
|
805
|
+
"methodName": "effectiveLocaleChange"
|
|
675
806
|
}];
|
|
676
807
|
}
|
|
677
808
|
}
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -38,5 +38,6 @@ export const ICONS = {
|
|
|
38
38
|
closedLTR: "caret-right",
|
|
39
39
|
closedRTL: "caret-left",
|
|
40
40
|
open: "caret-down",
|
|
41
|
-
blank: "blank"
|
|
41
|
+
blank: "blank",
|
|
42
|
+
close: "x"
|
|
42
43
|
};
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from "@stencil/core";
|
|
7
7
|
const listItemGroupSelector = "calcite-list-item-group";
|
|
@@ -86,13 +86,17 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:host([disabled]) {
|
|
89
|
-
pointer-events: none;
|
|
90
89
|
cursor: default;
|
|
91
90
|
-webkit-user-select: none;
|
|
92
91
|
user-select: none;
|
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
94
93
|
}
|
|
95
94
|
|
|
95
|
+
:host([disabled]) *,
|
|
96
|
+
:host([disabled]) ::slotted(*) {
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
96
100
|
:host {
|
|
97
101
|
display: flex;
|
|
98
102
|
flex-direction: column;
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } 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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -24,9 +24,7 @@ import { connectMessages, disconnectMessages, setUpMessages, updateMessages } fr
|
|
|
24
24
|
*/
|
|
25
25
|
export class Modal {
|
|
26
26
|
constructor() {
|
|
27
|
-
this.mutationObserver = createObserver("mutation", () =>
|
|
28
|
-
this.updateFooterVisibility();
|
|
29
|
-
});
|
|
27
|
+
this.mutationObserver = createObserver("mutation", () => this.handleMutationObserver());
|
|
30
28
|
this.cssVarObserver = createObserver("mutation", () => {
|
|
31
29
|
this.updateSizeCssVars();
|
|
32
30
|
});
|
|
@@ -38,8 +36,6 @@ export class Modal {
|
|
|
38
36
|
//--------------------------------------------------------------------------
|
|
39
37
|
this.setTransitionEl = (el) => {
|
|
40
38
|
this.transitionEl = el;
|
|
41
|
-
this.focusTrapEl = el;
|
|
42
|
-
connectFocusTrap(this);
|
|
43
39
|
};
|
|
44
40
|
this.openEnd = () => {
|
|
45
41
|
this.setFocus();
|
|
@@ -59,6 +55,10 @@ export class Modal {
|
|
|
59
55
|
this.removeOverflowHiddenClass();
|
|
60
56
|
});
|
|
61
57
|
};
|
|
58
|
+
this.handleMutationObserver = () => {
|
|
59
|
+
this.updateFooterVisibility();
|
|
60
|
+
this.updateFocusTrapElements();
|
|
61
|
+
};
|
|
62
62
|
this.updateFooterVisibility = () => {
|
|
63
63
|
this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);
|
|
64
64
|
};
|
|
@@ -129,6 +129,7 @@ export class Modal {
|
|
|
129
129
|
connectConditionalSlotComponent(this);
|
|
130
130
|
connectLocalized(this);
|
|
131
131
|
connectMessages(this);
|
|
132
|
+
connectFocusTrap(this);
|
|
132
133
|
}
|
|
133
134
|
disconnectedCallback() {
|
|
134
135
|
this.removeOverflowHiddenClass();
|
|
@@ -226,7 +227,7 @@ export class Modal {
|
|
|
226
227
|
*/
|
|
227
228
|
async setFocus() {
|
|
228
229
|
await componentLoaded(this);
|
|
229
|
-
focusFirstTabbable(this.
|
|
230
|
+
focusFirstTabbable(this.el);
|
|
230
231
|
}
|
|
231
232
|
/**
|
|
232
233
|
* Updates the element(s) that are used within the focus-trap of the component.
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "../../utils/observers";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
/**
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
@@ -97,13 +97,17 @@
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
:host([disabled]) {
|
|
100
|
-
pointer-events: none;
|
|
101
100
|
cursor: default;
|
|
102
101
|
-webkit-user-select: none;
|
|
103
102
|
user-select: none;
|
|
104
103
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
105
104
|
}
|
|
106
105
|
|
|
106
|
+
:host([disabled]) *,
|
|
107
|
+
:host([disabled]) ::slotted(*) {
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
107
111
|
:host {
|
|
108
112
|
position: relative;
|
|
109
113
|
display: flex;
|
|
@@ -159,8 +163,6 @@
|
|
|
159
163
|
|
|
160
164
|
.header {
|
|
161
165
|
border-block-end: 1px solid;
|
|
162
|
-
position: sticky;
|
|
163
|
-
inset-block-start: 0px;
|
|
164
166
|
z-index: 400;
|
|
165
167
|
inline-size: 100%;
|
|
166
168
|
align-items: stretch;
|
|
@@ -170,6 +172,17 @@
|
|
|
170
172
|
flex: 0 0 auto;
|
|
171
173
|
}
|
|
172
174
|
|
|
175
|
+
.action-bar-container {
|
|
176
|
+
border-block-end: 1px solid;
|
|
177
|
+
z-index: 400;
|
|
178
|
+
inline-size: 100%;
|
|
179
|
+
border-block-end-color: var(--calcite-ui-border-3);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.action-bar-container ::slotted(calcite-action-bar) {
|
|
183
|
+
inline-size: 100%;
|
|
184
|
+
}
|
|
185
|
+
|
|
173
186
|
.header-content {
|
|
174
187
|
display: flex;
|
|
175
188
|
flex-direction: column;
|
|
@@ -237,8 +250,6 @@
|
|
|
237
250
|
|
|
238
251
|
.footer {
|
|
239
252
|
border-block-start: 1px solid;
|
|
240
|
-
position: sticky;
|
|
241
|
-
inset-block-end: 0px;
|
|
242
253
|
display: flex;
|
|
243
254
|
inline-size: 100%;
|
|
244
255
|
justify-content: space-evenly;
|
|
@@ -1,10 +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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
|
-
import { focusFirstTabbable, toAriaBoolean } from "../../utils/dom";
|
|
7
|
+
import { focusFirstTabbable, slotChangeGetAssignedElements, toAriaBoolean } from "../../utils/dom";
|
|
8
8
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
9
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
10
10
|
import { createObserver } from "../../utils/observers";
|
|
@@ -15,6 +15,7 @@ import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
|
15
15
|
import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
|
|
16
16
|
/**
|
|
17
17
|
* @slot - A slot for adding custom content.
|
|
18
|
+
* @slot action-bar - A slot for adding a `calcite-action-bar` to the component.
|
|
18
19
|
* @slot header-actions-start - A slot for adding actions or content to the start side of the header.
|
|
19
20
|
* @slot header-actions-end - A slot for adding actions or content to the end side of the header.
|
|
20
21
|
* @slot header-content - A slot for adding custom content to the header.
|
|
@@ -80,6 +81,11 @@ export class Panel {
|
|
|
80
81
|
});
|
|
81
82
|
this.hasMenuItems = !!elements.length;
|
|
82
83
|
};
|
|
84
|
+
this.handleActionBarSlotChange = (event) => {
|
|
85
|
+
const actionBars = slotChangeGetAssignedElements(event).filter((el) => el?.matches("calcite-action-bar"));
|
|
86
|
+
actionBars.forEach((actionBar) => (actionBar.layout = "horizontal"));
|
|
87
|
+
this.hasActionBar = !!actionBars.length;
|
|
88
|
+
};
|
|
83
89
|
this.handleHeaderContentSlotChange = (event) => {
|
|
84
90
|
const elements = event.target.assignedElements({
|
|
85
91
|
flatten: true
|
|
@@ -126,6 +132,7 @@ export class Panel {
|
|
|
126
132
|
this.hasEndActions = false;
|
|
127
133
|
this.hasMenuItems = false;
|
|
128
134
|
this.hasHeaderContent = false;
|
|
135
|
+
this.hasActionBar = false;
|
|
129
136
|
this.hasFooterContent = false;
|
|
130
137
|
this.hasFooterActions = false;
|
|
131
138
|
this.hasFab = false;
|
|
@@ -199,6 +206,9 @@ export class Panel {
|
|
|
199
206
|
const descriptionNode = description ? h("span", { class: CSS.description }, description) : null;
|
|
200
207
|
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
201
208
|
}
|
|
209
|
+
renderActionBar() {
|
|
210
|
+
return (h("div", { class: CSS.actionBarContainer, hidden: !this.hasActionBar }, h("slot", { name: SLOTS.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
211
|
+
}
|
|
202
212
|
/**
|
|
203
213
|
* Allows user to override the entire header-content node.
|
|
204
214
|
*/
|
|
@@ -210,14 +220,14 @@ export class Panel {
|
|
|
210
220
|
return (h("div", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
211
221
|
}
|
|
212
222
|
renderHeaderActionsEnd() {
|
|
213
|
-
const { close, hasEndActions, messages, closable } = this;
|
|
223
|
+
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
214
224
|
const text = messages.close;
|
|
215
|
-
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close, text: text,
|
|
225
|
+
const closableNode = closable ? (h("calcite-action", { "aria-label": text, "data-test": "close", icon: ICONS.close, onClick: close, text: text,
|
|
216
226
|
// eslint-disable-next-line react/jsx-sort-props
|
|
217
227
|
ref: this.setCloseRef })) : null;
|
|
218
228
|
const slotNode = (h("slot", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
219
|
-
const showContainer = hasEndActions || closableNode;
|
|
220
|
-
return (h("div", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
229
|
+
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
230
|
+
return (h("div", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
221
231
|
}
|
|
222
232
|
renderMenu() {
|
|
223
233
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -232,7 +242,7 @@ export class Panel {
|
|
|
232
242
|
hasEndActions ||
|
|
233
243
|
closable ||
|
|
234
244
|
hasMenuItems;
|
|
235
|
-
return (h("header", { class: CSS.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()
|
|
245
|
+
return (h("header", { class: CSS.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
236
246
|
}
|
|
237
247
|
renderFooterNode() {
|
|
238
248
|
const { hasFooterContent, hasFooterActions } = this;
|
|
@@ -258,7 +268,7 @@ export class Panel {
|
|
|
258
268
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
259
269
|
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
260
270
|
// eslint-disable-next-line react/jsx-sort-props
|
|
261
|
-
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
271
|
+
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
262
272
|
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
263
273
|
}
|
|
264
274
|
static get is() { return "calcite-panel"; }
|
|
@@ -476,6 +486,7 @@ export class Panel {
|
|
|
476
486
|
"hasEndActions": {},
|
|
477
487
|
"hasMenuItems": {},
|
|
478
488
|
"hasHeaderContent": {},
|
|
489
|
+
"hasActionBar": {},
|
|
479
490
|
"hasFooterContent": {},
|
|
480
491
|
"hasFooterActions": {},
|
|
481
492
|
"hasFab": {},
|
|
@@ -1,9 +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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
|
+
actionBarContainer: "action-bar-container",
|
|
7
8
|
backButton: "back-button",
|
|
8
9
|
container: "container",
|
|
9
10
|
header: "header",
|
|
@@ -27,6 +28,7 @@ export const ICONS = {
|
|
|
27
28
|
backRight: "chevron-right"
|
|
28
29
|
};
|
|
29
30
|
export const SLOTS = {
|
|
31
|
+
actionBar: "action-bar",
|
|
30
32
|
headerActionsStart: "header-actions-start",
|
|
31
33
|
headerActionsEnd: "header-actions-end",
|
|
32
34
|
headerMenuActions: "header-menu-actions",
|
|
@@ -86,13 +86,17 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:host([disabled]) {
|
|
89
|
-
pointer-events: none;
|
|
90
89
|
cursor: default;
|
|
91
90
|
-webkit-user-select: none;
|
|
92
91
|
user-select: none;
|
|
93
92
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
94
93
|
}
|
|
95
94
|
|
|
95
|
+
:host([disabled]) *,
|
|
96
|
+
:host([disabled]) ::slotted(*) {
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
96
100
|
:host {
|
|
97
101
|
position: relative;
|
|
98
102
|
box-sizing: border-box;
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { updateHostInteraction } from "../../utils/interactive";
|