@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
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.3.0-next.10
|
|
5
|
+
*/
|
|
6
|
+
import { h } from "@stencil/core";
|
|
7
|
+
import { focusElementInGroup, toAriaBoolean } from "../../utils/dom";
|
|
8
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
|
+
import { createObserver } from "../../utils/observers";
|
|
10
|
+
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
11
|
+
/**
|
|
12
|
+
* @slot - A slot for adding one or more `calcite-chip`s.
|
|
13
|
+
*/
|
|
14
|
+
export class ChipGroup {
|
|
15
|
+
constructor() {
|
|
16
|
+
//--------------------------------------------------------------------------
|
|
17
|
+
//
|
|
18
|
+
// Private Properties
|
|
19
|
+
//
|
|
20
|
+
//--------------------------------------------------------------------------
|
|
21
|
+
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
22
|
+
this.items = [];
|
|
23
|
+
//--------------------------------------------------------------------------
|
|
24
|
+
//
|
|
25
|
+
// Private Methods
|
|
26
|
+
//
|
|
27
|
+
//--------------------------------------------------------------------------
|
|
28
|
+
this.updateItems = (event) => {
|
|
29
|
+
const target = event ? event.target : this.slotRefEl;
|
|
30
|
+
this.items = target
|
|
31
|
+
.assignedElements({ flatten: true })
|
|
32
|
+
.filter((el) => el?.matches("calcite-chip"));
|
|
33
|
+
this.items.forEach((el) => {
|
|
34
|
+
el.interactive = true;
|
|
35
|
+
el.scale = this.scale;
|
|
36
|
+
el.selectionMode = this.selectionMode;
|
|
37
|
+
});
|
|
38
|
+
this.setSelectedItems(false);
|
|
39
|
+
};
|
|
40
|
+
this.setSelectedItems = (emit, elToMatch) => {
|
|
41
|
+
if (elToMatch) {
|
|
42
|
+
this.items.forEach((el) => {
|
|
43
|
+
const matchingEl = elToMatch === el;
|
|
44
|
+
switch (this.selectionMode) {
|
|
45
|
+
case "multiple":
|
|
46
|
+
if (matchingEl) {
|
|
47
|
+
el.selected = !el.selected;
|
|
48
|
+
}
|
|
49
|
+
break;
|
|
50
|
+
case "single":
|
|
51
|
+
el.selected = matchingEl ? !el.selected : false;
|
|
52
|
+
break;
|
|
53
|
+
case "single-persist":
|
|
54
|
+
el.selected = !!matchingEl;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
this.selectedItems = this.items.filter((el) => el.selected);
|
|
60
|
+
if (emit) {
|
|
61
|
+
this.calciteChipGroupSelect.emit();
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
this.disabled = false;
|
|
65
|
+
this.label = undefined;
|
|
66
|
+
this.scale = "m";
|
|
67
|
+
this.selectionMode = "none";
|
|
68
|
+
this.selectedItems = [];
|
|
69
|
+
}
|
|
70
|
+
onSelectionModeChange() {
|
|
71
|
+
this.updateItems();
|
|
72
|
+
}
|
|
73
|
+
//--------------------------------------------------------------------------
|
|
74
|
+
//
|
|
75
|
+
// Lifecycle
|
|
76
|
+
//
|
|
77
|
+
//--------------------------------------------------------------------------
|
|
78
|
+
connectedCallback() {
|
|
79
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
80
|
+
}
|
|
81
|
+
componentDidRender() {
|
|
82
|
+
updateHostInteraction(this);
|
|
83
|
+
}
|
|
84
|
+
componentDidLoad() {
|
|
85
|
+
setComponentLoaded(this);
|
|
86
|
+
}
|
|
87
|
+
disconnectedCallback() {
|
|
88
|
+
this.mutationObserver?.disconnect();
|
|
89
|
+
}
|
|
90
|
+
async componentWillLoad() {
|
|
91
|
+
setUpLoadableComponent(this);
|
|
92
|
+
}
|
|
93
|
+
//--------------------------------------------------------------------------
|
|
94
|
+
//
|
|
95
|
+
// Event Listeners
|
|
96
|
+
//
|
|
97
|
+
//--------------------------------------------------------------------------
|
|
98
|
+
calciteInternalChipKeyEventListener(event) {
|
|
99
|
+
if (event.composedPath().includes(this.el)) {
|
|
100
|
+
const interactiveItems = this.items.filter((el) => !el.disabled);
|
|
101
|
+
switch (event.detail.key) {
|
|
102
|
+
case "ArrowRight":
|
|
103
|
+
focusElementInGroup(interactiveItems, event.detail.target, "next");
|
|
104
|
+
break;
|
|
105
|
+
case "ArrowLeft":
|
|
106
|
+
focusElementInGroup(interactiveItems, event.detail.target, "previous");
|
|
107
|
+
break;
|
|
108
|
+
case "Home":
|
|
109
|
+
focusElementInGroup(interactiveItems, event.detail.target, "first");
|
|
110
|
+
break;
|
|
111
|
+
case "End":
|
|
112
|
+
focusElementInGroup(interactiveItems, event.detail.target, "last");
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
calciteChipCloseListener(event) {
|
|
118
|
+
const item = event.target;
|
|
119
|
+
if (this.items.includes(item)) {
|
|
120
|
+
if (this.items.indexOf(item) > 0) {
|
|
121
|
+
focusElementInGroup(this.items, item, "previous");
|
|
122
|
+
}
|
|
123
|
+
else if (this.items.indexOf(item) === 0) {
|
|
124
|
+
focusElementInGroup(this.items, item, "next");
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
focusElementInGroup(this.items, item, "first");
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
this.items = this.items.filter((el) => el !== item);
|
|
131
|
+
}
|
|
132
|
+
calciteChipSelectListener(event) {
|
|
133
|
+
if (event.composedPath().includes(this.el)) {
|
|
134
|
+
this.setSelectedItems(true, event.target);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
// --------------------------------------------------------------------------
|
|
138
|
+
//
|
|
139
|
+
// Public Methods
|
|
140
|
+
//
|
|
141
|
+
// --------------------------------------------------------------------------
|
|
142
|
+
/**
|
|
143
|
+
* Sets focus on the component's first focusable element.
|
|
144
|
+
*/
|
|
145
|
+
async setFocus() {
|
|
146
|
+
await componentLoaded(this);
|
|
147
|
+
if (!this.disabled) {
|
|
148
|
+
(this.selectedItems[0] || this.items[0])?.setFocus();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
//--------------------------------------------------------------------------
|
|
152
|
+
//
|
|
153
|
+
// Render Methods
|
|
154
|
+
//
|
|
155
|
+
//--------------------------------------------------------------------------
|
|
156
|
+
render() {
|
|
157
|
+
const role = this.selectionMode === "none" || this.selectionMode === "multiple" ? "group" : "radiogroup";
|
|
158
|
+
return (h("div", { "aria-disabled": toAriaBoolean(this.disabled), "aria-label": this.label, class: "container", role: role }, h("slot", { onSlotchange: this.updateItems, ref: (el) => (this.slotRefEl = el) })));
|
|
159
|
+
}
|
|
160
|
+
static get is() { return "calcite-chip-group"; }
|
|
161
|
+
static get encapsulation() { return "shadow"; }
|
|
162
|
+
static get originalStyleUrls() {
|
|
163
|
+
return {
|
|
164
|
+
"$": ["chip-group.scss"]
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
static get styleUrls() {
|
|
168
|
+
return {
|
|
169
|
+
"$": ["chip-group.css"]
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
static get properties() {
|
|
173
|
+
return {
|
|
174
|
+
"disabled": {
|
|
175
|
+
"type": "boolean",
|
|
176
|
+
"mutable": false,
|
|
177
|
+
"complexType": {
|
|
178
|
+
"original": "boolean",
|
|
179
|
+
"resolved": "boolean",
|
|
180
|
+
"references": {}
|
|
181
|
+
},
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": false,
|
|
184
|
+
"docs": {
|
|
185
|
+
"tags": [],
|
|
186
|
+
"text": "When true, interaction is prevented and the component is displayed with lower opacity."
|
|
187
|
+
},
|
|
188
|
+
"attribute": "disabled",
|
|
189
|
+
"reflect": true,
|
|
190
|
+
"defaultValue": "false"
|
|
191
|
+
},
|
|
192
|
+
"label": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"mutable": false,
|
|
195
|
+
"complexType": {
|
|
196
|
+
"original": "string",
|
|
197
|
+
"resolved": "string",
|
|
198
|
+
"references": {}
|
|
199
|
+
},
|
|
200
|
+
"required": true,
|
|
201
|
+
"optional": false,
|
|
202
|
+
"docs": {
|
|
203
|
+
"tags": [],
|
|
204
|
+
"text": "Accessible name for the component."
|
|
205
|
+
},
|
|
206
|
+
"attribute": "label",
|
|
207
|
+
"reflect": false
|
|
208
|
+
},
|
|
209
|
+
"scale": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"mutable": false,
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "Scale",
|
|
214
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
215
|
+
"references": {
|
|
216
|
+
"Scale": {
|
|
217
|
+
"location": "import",
|
|
218
|
+
"path": "../interfaces"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"required": false,
|
|
223
|
+
"optional": false,
|
|
224
|
+
"docs": {
|
|
225
|
+
"tags": [],
|
|
226
|
+
"text": "Specifies the size of the component."
|
|
227
|
+
},
|
|
228
|
+
"attribute": "scale",
|
|
229
|
+
"reflect": true,
|
|
230
|
+
"defaultValue": "\"m\""
|
|
231
|
+
},
|
|
232
|
+
"selectionMode": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"mutable": false,
|
|
235
|
+
"complexType": {
|
|
236
|
+
"original": "Extract<\n \"multiple\" | \"single\" | \"single-persist\" | \"none\",\n SelectionMode\n >",
|
|
237
|
+
"resolved": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
238
|
+
"references": {
|
|
239
|
+
"Extract": {
|
|
240
|
+
"location": "global"
|
|
241
|
+
},
|
|
242
|
+
"SelectionMode": {
|
|
243
|
+
"location": "import",
|
|
244
|
+
"path": "../interfaces"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"required": false,
|
|
249
|
+
"optional": false,
|
|
250
|
+
"docs": {
|
|
251
|
+
"tags": [],
|
|
252
|
+
"text": "Specifies the selection mode of the component."
|
|
253
|
+
},
|
|
254
|
+
"attribute": "selection-mode",
|
|
255
|
+
"reflect": true,
|
|
256
|
+
"defaultValue": "\"none\""
|
|
257
|
+
},
|
|
258
|
+
"selectedItems": {
|
|
259
|
+
"type": "unknown",
|
|
260
|
+
"mutable": true,
|
|
261
|
+
"complexType": {
|
|
262
|
+
"original": "HTMLCalciteChipElement[]",
|
|
263
|
+
"resolved": "HTMLCalciteChipElement[]",
|
|
264
|
+
"references": {
|
|
265
|
+
"HTMLCalciteChipElement": {
|
|
266
|
+
"location": "global"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"required": false,
|
|
271
|
+
"optional": false,
|
|
272
|
+
"docs": {
|
|
273
|
+
"tags": [{
|
|
274
|
+
"name": "readonly",
|
|
275
|
+
"text": undefined
|
|
276
|
+
}],
|
|
277
|
+
"text": "Specifies the component's selected items."
|
|
278
|
+
},
|
|
279
|
+
"defaultValue": "[]"
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
static get events() {
|
|
284
|
+
return [{
|
|
285
|
+
"method": "calciteChipGroupSelect",
|
|
286
|
+
"name": "calciteChipGroupSelect",
|
|
287
|
+
"bubbles": true,
|
|
288
|
+
"cancelable": false,
|
|
289
|
+
"composed": true,
|
|
290
|
+
"docs": {
|
|
291
|
+
"tags": [],
|
|
292
|
+
"text": "Emits when the component's selection changes."
|
|
293
|
+
},
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "void",
|
|
296
|
+
"resolved": "void",
|
|
297
|
+
"references": {}
|
|
298
|
+
}
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
static get methods() {
|
|
302
|
+
return {
|
|
303
|
+
"setFocus": {
|
|
304
|
+
"complexType": {
|
|
305
|
+
"signature": "() => Promise<void>",
|
|
306
|
+
"parameters": [],
|
|
307
|
+
"references": {
|
|
308
|
+
"Promise": {
|
|
309
|
+
"location": "global"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"return": "Promise<void>"
|
|
313
|
+
},
|
|
314
|
+
"docs": {
|
|
315
|
+
"text": "Sets focus on the component's first focusable element.",
|
|
316
|
+
"tags": []
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
static get elementRef() { return "el"; }
|
|
322
|
+
static get watchers() {
|
|
323
|
+
return [{
|
|
324
|
+
"propName": "selectionMode",
|
|
325
|
+
"methodName": "onSelectionModeChange"
|
|
326
|
+
}];
|
|
327
|
+
}
|
|
328
|
+
static get listeners() {
|
|
329
|
+
return [{
|
|
330
|
+
"name": "calciteInternalChipKeyEvent",
|
|
331
|
+
"method": "calciteInternalChipKeyEventListener",
|
|
332
|
+
"target": undefined,
|
|
333
|
+
"capture": false,
|
|
334
|
+
"passive": false
|
|
335
|
+
}, {
|
|
336
|
+
"name": "calciteChipClose",
|
|
337
|
+
"method": "calciteChipCloseListener",
|
|
338
|
+
"target": undefined,
|
|
339
|
+
"capture": false,
|
|
340
|
+
"passive": false
|
|
341
|
+
}, {
|
|
342
|
+
"name": "calciteChipSelect",
|
|
343
|
+
"method": "calciteChipSelectListener",
|
|
344
|
+
"target": undefined,
|
|
345
|
+
"capture": false,
|
|
346
|
+
"passive": false
|
|
347
|
+
}];
|
|
348
|
+
}
|
|
349
|
+
}
|
|
@@ -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: inline-block;
|
|
98
102
|
font-size: var(--calcite-font-size--2);
|
|
@@ -183,7 +187,6 @@
|
|
|
183
187
|
}
|
|
184
188
|
|
|
185
189
|
.scope {
|
|
186
|
-
pointer-events: none;
|
|
187
190
|
position: absolute;
|
|
188
191
|
font-size: var(--calcite-font-size--1);
|
|
189
192
|
outline-color: transparent;
|
|
@@ -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 Color from "color";
|
|
@@ -143,8 +143,6 @@ export class ColorPicker {
|
|
|
143
143
|
this.captureHueSliderColor(offsetX);
|
|
144
144
|
this.hueScopeNode?.focus();
|
|
145
145
|
}
|
|
146
|
-
// prevent text selection outside of color field & slider area
|
|
147
|
-
event.preventDefault();
|
|
148
146
|
document.addEventListener("pointermove", this.globalPointerMoveHandler);
|
|
149
147
|
document.addEventListener("pointerup", this.globalPointerUpHandler, { once: true });
|
|
150
148
|
this.activeColorFieldAndSliderRect =
|
|
@@ -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 Color from "color";
|
|
7
7
|
export const CSS = {
|
|
@@ -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 function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -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 Color from "color";
|
|
@@ -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 Color from "color";
|
|
@@ -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
|
/**
|
|
97
101
|
* CSS Custom Properties
|
|
98
102
|
*
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { debounce } from "lodash-es";
|
|
8
8
|
import { filter } from "../../utils/filter";
|
|
9
9
|
import { isPrimaryPointerButton, toAriaBoolean } from "../../utils/dom";
|
|
10
|
-
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition
|
|
10
|
+
import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterComputedPlacements, FloatingCSS, reposition } from "../../utils/floating-ui";
|
|
11
11
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
12
12
|
import { guid } from "../../utils/guid";
|
|
13
13
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -196,6 +196,8 @@ export class Combobox {
|
|
|
196
196
|
};
|
|
197
197
|
this.clickHandler = (event) => {
|
|
198
198
|
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
199
|
+
this.open = false;
|
|
200
|
+
event.stopPropagation();
|
|
199
201
|
return;
|
|
200
202
|
}
|
|
201
203
|
this.open = !this.open;
|
|
@@ -301,6 +303,9 @@ export class Combobox {
|
|
|
301
303
|
}
|
|
302
304
|
};
|
|
303
305
|
this.comboboxFocusHandler = () => {
|
|
306
|
+
if (this.disabled) {
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
304
309
|
this.textInput?.focus();
|
|
305
310
|
};
|
|
306
311
|
this.comboboxBlurHandler = (event) => {
|
|
@@ -336,10 +341,7 @@ export class Combobox {
|
|
|
336
341
|
this.effectiveLocale = undefined;
|
|
337
342
|
this.defaultMessages = undefined;
|
|
338
343
|
}
|
|
339
|
-
openHandler(
|
|
340
|
-
if (!value) {
|
|
341
|
-
updateAfterClose(this.floatingEl);
|
|
342
|
-
}
|
|
344
|
+
openHandler() {
|
|
343
345
|
if (this.disabled) {
|
|
344
346
|
this.open = false;
|
|
345
347
|
return;
|
|
@@ -390,7 +392,7 @@ export class Combobox {
|
|
|
390
392
|
//
|
|
391
393
|
//--------------------------------------------------------------------------
|
|
392
394
|
documentClickHandler(event) {
|
|
393
|
-
if (!isPrimaryPointerButton(event)) {
|
|
395
|
+
if (this.disabled || !isPrimaryPointerButton(event)) {
|
|
394
396
|
return;
|
|
395
397
|
}
|
|
396
398
|
this.setInactiveIfNotContained(event);
|
|
@@ -450,7 +452,7 @@ export class Combobox {
|
|
|
450
452
|
this.setFilteredPlacements();
|
|
451
453
|
this.reposition(true);
|
|
452
454
|
if (this.open) {
|
|
453
|
-
this.openHandler(
|
|
455
|
+
this.openHandler();
|
|
454
456
|
}
|
|
455
457
|
}
|
|
456
458
|
async componentWillLoad() {
|
|
@@ -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 ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
7
7
|
export const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -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 { nodeListToArray } from "../../utils/dom";
|
|
7
7
|
import { ComboboxChildSelector } from "./resources";
|
|
@@ -25,6 +25,6 @@ export function getDepth(element) {
|
|
|
25
25
|
if (!Build.isBrowser) {
|
|
26
26
|
return 0;
|
|
27
27
|
}
|
|
28
|
-
const result = document.evaluate("ancestor::calcite-combobox-item", element, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
|
|
28
|
+
const result = document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group", element, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
|
|
29
29
|
return result.snapshotLength;
|
|
30
30
|
}
|
|
@@ -87,13 +87,17 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
:host([disabled]){
|
|
90
|
-
pointer-events: none;
|
|
91
90
|
cursor: default;
|
|
92
91
|
-webkit-user-select: none;
|
|
93
92
|
user-select: none;
|
|
94
93
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
95
94
|
}
|
|
96
95
|
|
|
96
|
+
:host([disabled]) *,
|
|
97
|
+
:host([disabled]) ::slotted(*){
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
97
101
|
.scale--s{
|
|
98
102
|
font-size: var(--calcite-font-size--2);
|
|
99
103
|
line-height: 1rem;
|
|
@@ -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";
|
|
@@ -90,8 +90,7 @@
|
|
|
90
90
|
line-height: 1rem;
|
|
91
91
|
--calcite-combobox-item-spacing-unit-l: 0.5rem;
|
|
92
92
|
--calcite-combobox-item-spacing-unit-s: 0.25rem;
|
|
93
|
-
--calcite-combobox-item-spacing-indent
|
|
94
|
-
--calcite-combobox-item-spacing-indent-2: 1rem;
|
|
93
|
+
--calcite-combobox-item-spacing-indent: 0.5rem;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
96
|
.scale--m {
|
|
@@ -99,8 +98,7 @@
|
|
|
99
98
|
line-height: 1rem;
|
|
100
99
|
--calcite-combobox-item-spacing-unit-l: 0.75rem;
|
|
101
100
|
--calcite-combobox-item-spacing-unit-s: 0.5rem;
|
|
102
|
-
--calcite-combobox-item-spacing-indent
|
|
103
|
-
--calcite-combobox-item-spacing-indent-2: 1.5rem;
|
|
101
|
+
--calcite-combobox-item-spacing-indent: 0.75rem;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
.scale--l {
|
|
@@ -108,8 +106,7 @@
|
|
|
108
106
|
line-height: 1.25rem;
|
|
109
107
|
--calcite-combobox-item-spacing-unit-l: 1rem;
|
|
110
108
|
--calcite-combobox-item-spacing-unit-s: 0.75rem;
|
|
111
|
-
--calcite-combobox-item-spacing-indent
|
|
112
|
-
--calcite-combobox-item-spacing-indent-2: 2rem;
|
|
109
|
+
--calcite-combobox-item-spacing-indent: 1rem;
|
|
113
110
|
}
|
|
114
111
|
|
|
115
112
|
:host,
|
|
@@ -135,15 +132,10 @@
|
|
|
135
132
|
color: var(--calcite-ui-text-3);
|
|
136
133
|
}
|
|
137
134
|
|
|
138
|
-
.label--indent-1 {
|
|
139
|
-
padding-inline-start: var(--calcite-combobox-item-spacing-indent-1);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.label--indent-2 {
|
|
143
|
-
padding-inline-start: var(--calcite-combobox-item-spacing-indent-2);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
135
|
.title {
|
|
136
|
+
--calcite-combobox-item-indent-value: calc(
|
|
137
|
+
var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)
|
|
138
|
+
);
|
|
147
139
|
border: 0 solid;
|
|
148
140
|
display: block;
|
|
149
141
|
flex: 1 1 0%;
|
|
@@ -155,4 +147,5 @@
|
|
|
155
147
|
border-block-end-color: var(--calcite-ui-border-3);
|
|
156
148
|
padding-block: var(--calcite-combobox-item-spacing-unit-l);
|
|
157
149
|
padding-inline: var(--calcite-combobox-item-spacing-unit-s);
|
|
150
|
+
margin-inline-start: var(--calcite-combobox-item-indent-value);
|
|
158
151
|
}
|
|
@@ -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 { getElementProp } from "../../utils/dom";
|
|
@@ -34,8 +34,8 @@ export class ComboboxItemGroup {
|
|
|
34
34
|
// --------------------------------------------------------------------------
|
|
35
35
|
render() {
|
|
36
36
|
const { el, scale } = this;
|
|
37
|
-
const
|
|
38
|
-
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS.label]: true
|
|
37
|
+
const depth = getDepth(el);
|
|
38
|
+
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("span", { class: CSS.title }, this.label)), h("slot", null)));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "calcite-combobox-item-group"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|