@esri/calcite-components 1.3.0-next.1 → 1.3.0-next.11
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-c1fe69ce.js → p-01261c12.js} +1 -1
- package/dist/calcite/{p-88ad6fe9.js → p-020fb388.js} +2 -2
- package/dist/calcite/{p-f62af1fc.js → p-079eded1.js} +1 -1
- package/dist/calcite/p-08ff58d7.js +6 -0
- package/dist/calcite/{p-774f8ad6.entry.js → p-0c7dd57e.entry.js} +2 -2
- package/dist/calcite/p-0e7e0ee5.js +6 -0
- package/dist/calcite/{p-f8a32dd6.js → p-1419b090.js} +1 -1
- package/dist/calcite/{p-69a8f436.js → p-149df625.js} +2 -2
- package/dist/calcite/{p-8d38ad46.entry.js → p-15257c7d.entry.js} +2 -2
- package/dist/calcite/p-1559686c.entry.js +6 -0
- package/dist/calcite/p-15656958.entry.js +6 -0
- package/dist/calcite/p-1c494f20.entry.js +6 -0
- package/dist/calcite/p-1eb8d6f3.js +6 -0
- package/dist/calcite/p-247b6937.entry.js +6 -0
- package/dist/calcite/p-29ec0260.entry.js +6 -0
- package/dist/calcite/p-2af3b1a5.entry.js +6 -0
- package/dist/calcite/{p-fe3d99b2.js → p-2d66fde2.js} +2 -2
- package/dist/calcite/p-3a7f068e.entry.js +6 -0
- package/dist/calcite/{p-652d0da1.js → p-3ca8467e.js} +2 -2
- package/dist/calcite/p-3dd47ed0.entry.js +6 -0
- package/dist/calcite/p-3eb03362.entry.js +6 -0
- package/dist/calcite/{p-82d453fc.entry.js → p-4218654a.entry.js} +2 -2
- package/dist/calcite/p-48af08eb.entry.js +6 -0
- package/dist/calcite/p-4be083b1.js +6 -0
- package/dist/calcite/p-522b340a.entry.js +6 -0
- package/dist/calcite/{p-21dc1231.entry.js → p-530b565e.entry.js} +2 -2
- package/dist/calcite/p-53e3b56a.entry.js +6 -0
- package/dist/calcite/p-578abf89.js +10 -0
- package/dist/calcite/p-59489d5b.js +6 -0
- package/dist/calcite/{p-f11f24a2.entry.js → p-5a5c2241.entry.js} +2 -2
- package/dist/calcite/p-5d5ecc29.entry.js +6 -0
- package/dist/calcite/p-60be1a26.entry.js +6 -0
- package/dist/calcite/{p-6140540a.js → p-622eac1a.js} +2 -2
- package/dist/calcite/{p-402911f1.entry.js → p-67f0fd59.entry.js} +2 -2
- package/dist/calcite/{p-c5c89932.js → p-68f53132.js} +2 -2
- package/dist/calcite/{p-7dc9d650.entry.js → p-6d002455.entry.js} +2 -2
- package/dist/calcite/{p-ddcc2024.entry.js → p-6d05e4aa.entry.js} +2 -2
- package/dist/calcite/{p-912811f1.entry.js → p-6fd96d1a.entry.js} +2 -2
- package/dist/calcite/{p-a0265a35.js → p-741bd1bb.js} +1 -1
- package/dist/calcite/{p-a593b089.entry.js → p-76605a7b.entry.js} +2 -2
- package/dist/calcite/p-766d3747.entry.js +6 -0
- package/dist/calcite/p-76fca67f.entry.js +6 -0
- package/dist/calcite/{p-a1e9656a.entry.js → p-7abed32e.entry.js} +2 -2
- package/dist/calcite/{p-dec3f9b2.entry.js → p-7b7565fd.entry.js} +2 -2
- package/dist/calcite/p-7cbb7101.js +6 -0
- package/dist/calcite/p-7f3016c6.entry.js +6 -0
- package/dist/calcite/p-840ce9ca.entry.js +6 -0
- package/dist/calcite/p-84d7da4a.entry.js +6 -0
- package/dist/calcite/p-86990ac8.entry.js +6 -0
- package/dist/calcite/p-884159b5.js +6 -0
- package/dist/calcite/p-88cd9f07.entry.js +6 -0
- package/dist/calcite/{p-754d4419.js → p-891401b5.js} +2 -2
- package/dist/calcite/{p-7301f4ee.entry.js → p-8ad97d56.entry.js} +2 -2
- package/dist/calcite/p-8cab4443.entry.js +6 -0
- package/dist/calcite/p-8fc25c27.js +6 -0
- package/dist/calcite/{p-5fc44b4d.js → p-8fd39adc.js} +1 -1
- package/dist/calcite/{p-6f6472dd.js → p-91c883d4.js} +1 -1
- package/dist/calcite/p-92bf90eb.entry.js +6 -0
- package/dist/calcite/p-94f0b7a0.entry.js +6 -0
- package/dist/calcite/{p-0b85a2ad.js → p-98537f91.js} +3 -3
- package/dist/calcite/{p-76db7f82.entry.js → p-98a973af.entry.js} +2 -2
- package/dist/calcite/p-9cd0fdc6.entry.js +6 -0
- package/dist/calcite/{p-79182152.entry.js → p-9f4c8d36.entry.js} +2 -2
- package/dist/calcite/{p-ec9c5804.js → p-9fb1c46d.js} +1 -1
- package/dist/calcite/{p-d72cf633.entry.js → p-a0766830.entry.js} +2 -2
- package/dist/calcite/{p-9ef0c72d.js → p-a0daeb34.js} +1 -1
- package/dist/calcite/p-a29bbab2.entry.js +6 -0
- package/dist/calcite/p-a8fdf8f2.entry.js +6 -0
- package/dist/calcite/{p-36f44dc1.js → p-acaee16e.js} +1 -1
- package/dist/calcite/p-acef1497.entry.js +6 -0
- package/dist/calcite/{p-9ff8d66d.js → p-b06be099.js} +1 -1
- package/dist/calcite/{p-cb88b175.entry.js → p-bc2dace6.entry.js} +2 -2
- package/dist/calcite/p-bc6a7139.js +6 -0
- package/dist/calcite/{p-9ad2f155.js → p-bfa1df6a.js} +1 -1
- package/dist/calcite/p-c9536b04.entry.js +6 -0
- package/dist/calcite/{p-365a6c03.entry.js → p-cba7faec.entry.js} +2 -2
- package/dist/calcite/{p-ba22b9cc.entry.js → p-cc01b55f.entry.js} +2 -2
- package/dist/calcite/{p-235414e5.js → p-d32ad0ec.js} +2 -2
- package/dist/calcite/{p-9abeb368.entry.js → p-d53d1845.entry.js} +2 -2
- package/dist/calcite/p-d5b0dcd5.entry.js +6 -0
- package/dist/calcite/p-d74f7cf2.entry.js +6 -0
- package/dist/calcite/p-dd179dbf.entry.js +6 -0
- package/dist/calcite/{p-e424f395.js → p-e177504d.js} +2 -2
- package/dist/calcite/p-e70728da.entry.js +6 -0
- package/dist/calcite/p-ee3eabc1.entry.js +6 -0
- package/dist/calcite/{p-6e27583d.entry.js → p-ee4bbe73.entry.js} +2 -2
- package/dist/calcite/p-ef8ca973.entry.js +6 -0
- package/dist/calcite/{p-bfe76b5c.entry.js → p-f103c8c3.entry.js} +2 -2
- package/dist/calcite/p-f20d8cef.entry.js +6 -0
- package/dist/calcite/p-f40c991d.entry.js +6 -0
- package/dist/calcite/{p-a8193ac6.js → p-f5267ced.js} +1 -1
- package/dist/calcite/p-f5a55906.entry.js +6 -0
- package/dist/calcite/p-f6ff8e9d.entry.js +6 -0
- package/dist/calcite/{p-e18ba840.js → p-fcdbb023.js} +1 -1
- package/dist/calcite/{p-ff222928.entry.js → p-fe7ac9af.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-361fc2ad.js → ExpandToggle-1afc7124.js} +5 -5
- package/dist/cjs/{Heading-aa93ebff.js → Heading-ba80caaa.js} +2 -2
- package/dist/cjs/{app-globals-57966caf.js → app-globals-6f9eec89.js} +2 -2
- package/dist/cjs/{array-bc080764.js → array-e38b46c4.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 +25 -20
- 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 +72 -44
- 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 +82 -16
- 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-0a45074c.js +79 -0
- package/dist/cjs/{conditionalSlot-69c94118.js → conditionalSlot-569cfe38.js} +3 -3
- package/dist/cjs/{debounce-68cfe810.js → debounce-386bdcff.js} +1 -1
- package/dist/cjs/{dom-7fca3f91.js → dom-bf99764d.js} +3 -3
- package/dist/cjs/{filter-af4ba40e.js → filter-16102761.js} +2 -2
- package/dist/cjs/{floating-ui-e8bef575.js → floating-ui-cd5eaca7.js} +8 -49
- package/dist/cjs/{focusTrapComponent-09a57e94.js → focusTrapComponent-293e1b79.js} +8 -11
- package/dist/cjs/{form-ca34886c.js → form-ed91dc48.js} +3 -3
- package/dist/cjs/{guid-c66423d8.js → guid-e6345a0b.js} +1 -1
- package/dist/cjs/{index-75835aae.js → index-91610c16.js} +5 -1
- package/dist/cjs/index.cjs.js +8 -1
- package/dist/cjs/{interactive-c790a270.js → interactive-1988ae1f.js} +17 -1
- package/dist/cjs/{key-ea2948f8.js → key-b615b3d9.js} +1 -1
- package/dist/cjs/{label-c0b81eca.js → label-9b1259cf.js} +2 -2
- package/dist/cjs/{loadable-010dc9c6.js → loadable-2f32e2ea.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-b104c1a9.js → locale-167debc3.js} +5 -4
- package/dist/cjs/{math-bc78a81a.js → math-50a262ce.js} +1 -1
- package/dist/cjs/{observers-45c87587.js → observers-06cf9c89.js} +1 -1
- package/dist/cjs/{openCloseComponent-7aac0340.js → openCloseComponent-c582ae0b.js} +2 -2
- package/dist/cjs/{resources-fb3e95ad.js → resources-1033c7f8.js} +1 -1
- package/dist/cjs/{resources-e5324cf4.js → resources-17aff6f7.js} +1 -1
- package/dist/cjs/{resources-bbb71398.js → resources-1bf75484.js} +3 -1
- package/dist/cjs/{resources-a2738507.js → resources-a0e768e0.js} +1 -1
- package/dist/cjs/{resources-fcfb346b.js → resources-ad07ee94.js} +1 -1
- package/dist/cjs/{resources-c9f56719.js → resources-e7795b7f.js} +5 -5
- package/dist/cjs/{sortable.esm-49f05d2c.js → sortable.esm-6a708b9f.js} +1 -1
- package/dist/cjs/{t9n-97bb1c50.js → t9n-3f6ea4eb.js} +3 -3
- package/dist/cjs/{throttle-4b4620bd.js → throttle-e786c090.js} +2 -2
- package/dist/cjs/{utils-951cdf9d.js → utils-7aa84655.js} +1 -1
- package/dist/cjs/{utils-6f6abb63.js → utils-f7820d0c.js} +3 -3
- 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 +5 -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 +2 -2
- 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 +11 -5
- 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 +14 -6
- 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 +28 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +111 -52
- package/dist/collection/components/input-date-picker/resources.js +3 -2
- 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 +2 -2
- 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 +62 -32
- 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 +12 -6
- 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 +2 -2
- 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 +75 -8
- 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-6a42db53.js → ExpandToggle-037d1336.js} +5 -5
- package/dist/esm/{Heading-235a2140.js → Heading-7fe23da6.js} +2 -2
- package/dist/esm/{app-globals-e0eeda11.js → app-globals-5a093a42.js} +2 -2
- package/dist/esm/{array-ae19281e.js → array-ae0815b1.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 +25 -20
- 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 +72 -44
- 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 +82 -16
- 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-a5c16f1d.js +75 -0
- package/dist/esm/{conditionalSlot-7dfecfab.js → conditionalSlot-bcf1075f.js} +3 -3
- package/dist/esm/{debounce-ed500115.js → debounce-056ba7e4.js} +1 -1
- package/dist/esm/{dom-5c898439.js → dom-29e6dac4.js} +4 -4
- package/dist/esm/{filter-239c05c2.js → filter-656dd64f.js} +2 -2
- package/dist/esm/{floating-ui-5645c81c.js → floating-ui-89a1aaff.js} +9 -49
- package/dist/esm/{focusTrapComponent-ee28093c.js → focusTrapComponent-fbbfad04.js} +8 -11
- package/dist/esm/{form-5a64e8a0.js → form-32c159c0.js} +3 -3
- package/dist/esm/{guid-68737a3e.js → guid-798bf56f.js} +1 -1
- package/dist/esm/{index-5187a493.js → index-83ffd87d.js} +6 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/{interactive-2ae71b08.js → interactive-321b0d67.js} +17 -1
- package/dist/esm/{key-42a3ea9e.js → key-836c5a04.js} +1 -1
- package/dist/esm/{label-696eb1d3.js → label-ea6f7820.js} +2 -2
- package/dist/esm/{loadable-f5168708.js → loadable-88520760.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-0fab4994.js → locale-ca08f833.js} +5 -4
- package/dist/esm/{math-3a0a1b66.js → math-65c38e62.js} +1 -1
- package/dist/esm/{observers-f72c2748.js → observers-c7a7c8e6.js} +1 -1
- package/dist/esm/{openCloseComponent-9e1c3faa.js → openCloseComponent-233ce20c.js} +2 -2
- package/dist/esm/{resources-90a8c61a.js → resources-062d1504.js} +5 -5
- package/dist/esm/{resources-9ba98edc.js → resources-5201c2bd.js} +1 -1
- package/dist/esm/{resources-e6f2a71f.js → resources-74d32d05.js} +1 -1
- package/dist/esm/{resources-035f77f6.js → resources-b4a25e1a.js} +3 -1
- package/dist/esm/{resources-d26a28f3.js → resources-f7199c83.js} +1 -1
- package/dist/esm/{resources-f21dc341.js → resources-f81764c2.js} +1 -1
- package/dist/esm/{sortable.esm-674dad5a.js → sortable.esm-0630da2e.js} +1 -1
- package/dist/esm/{t9n-cebdf6b4.js → t9n-53d45286.js} +3 -3
- package/dist/esm/{throttle-cca059f8.js → throttle-a58a97b3.js} +2 -2
- package/dist/esm/{utils-e1607c68.js → utils-ae782ab4.js} +3 -3
- package/dist/esm/{utils-e4d79b01.js → utils-f1c7c04d.js} +1 -1
- 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/input.d.ts +2 -1
- 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 +20 -6
- package/dist/types/components/input-date-picker/resources.d.ts +1 -0
- 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/globalAttributes.d.ts +1 -1
- package/dist/types/utils/observers.d.ts +1 -1
- package/hydrate/index.js +924 -314
- package/package.json +9 -7
- package/readme.md +7 -4
- package/dist/calcite/p-0195cf40.js +0 -6
- package/dist/calcite/p-0f10152e.entry.js +0 -6
- package/dist/calcite/p-135e0201.entry.js +0 -6
- package/dist/calcite/p-1ded5c09.entry.js +0 -6
- package/dist/calcite/p-25f91a66.entry.js +0 -6
- package/dist/calcite/p-30379572.entry.js +0 -6
- package/dist/calcite/p-34101a33.entry.js +0 -6
- package/dist/calcite/p-3f8f325a.entry.js +0 -6
- package/dist/calcite/p-53e2fa08.entry.js +0 -6
- package/dist/calcite/p-53f09bdf.entry.js +0 -6
- package/dist/calcite/p-5afafe2d.js +0 -6
- package/dist/calcite/p-63aa3b2b.entry.js +0 -6
- package/dist/calcite/p-6684cff5.entry.js +0 -6
- package/dist/calcite/p-6cef9d81.entry.js +0 -6
- package/dist/calcite/p-70b0d685.entry.js +0 -6
- package/dist/calcite/p-762eedca.entry.js +0 -6
- package/dist/calcite/p-79872541.entry.js +0 -6
- package/dist/calcite/p-7f34a0cd.entry.js +0 -6
- package/dist/calcite/p-80bb8cdf.js +0 -10
- package/dist/calcite/p-8a23ce46.js +0 -6
- package/dist/calcite/p-8b7af2e3.entry.js +0 -6
- package/dist/calcite/p-936a64fb.entry.js +0 -6
- package/dist/calcite/p-9c0823b9.js +0 -6
- package/dist/calcite/p-a88702b6.js +0 -6
- package/dist/calcite/p-aa2f05c7.entry.js +0 -6
- package/dist/calcite/p-ad670aff.entry.js +0 -6
- package/dist/calcite/p-aeae799e.js +0 -6
- package/dist/calcite/p-b13d34ce.entry.js +0 -6
- package/dist/calcite/p-b661668a.entry.js +0 -6
- package/dist/calcite/p-b6c6f864.entry.js +0 -6
- package/dist/calcite/p-bb7d3759.entry.js +0 -6
- package/dist/calcite/p-bd9ea977.js +0 -6
- package/dist/calcite/p-be20eb07.entry.js +0 -6
- package/dist/calcite/p-ce942f41.entry.js +0 -6
- package/dist/calcite/p-d4fc9b19.entry.js +0 -6
- package/dist/calcite/p-d5d99dfd.entry.js +0 -6
- package/dist/calcite/p-d7e1c879.entry.js +0 -6
- package/dist/calcite/p-db69b55b.js +0 -6
- package/dist/calcite/p-dc1a39b5.entry.js +0 -6
- package/dist/calcite/p-de3a052b.entry.js +0 -6
- package/dist/calcite/p-e148dfb5.entry.js +0 -6
- package/dist/calcite/p-e8a3b15c.entry.js +0 -6
- package/dist/calcite/p-f28eb787.entry.js +0 -6
- package/dist/calcite/p-f31436ae.entry.js +0 -6
- package/dist/calcite/p-f3d51c25.entry.js +0 -6
- package/dist/calcite/p-f9e39b66.entry.js +0 -6
- package/dist/calcite/p-fbb8d956.entry.js +0 -6
- package/dist/calcite/p-fcf970d9.js +0 -6
- package/dist/cjs/utils-4cabe2b2.js +0 -49
- package/dist/collection/utils/floating-ui/utils.js +0 -45
- package/dist/components/utils4.js +0 -47
- package/dist/esm/utils-f33dd415.js +0 -47
- package/dist/types/utils/floating-ui/utils.d.ts +0 -4
|
@@ -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.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
|
@@ -12,7 +12,7 @@ import { i as isActivationKey } from './key.js';
|
|
|
12
12
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
|
13
13
|
import { c as componentLoaded, a as setUpLoadableComponent, s as setComponentLoaded } from './loadable.js';
|
|
14
14
|
|
|
15
|
-
const checkboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){
|
|
15
|
+
const checkboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
16
16
|
|
|
17
17
|
const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
@@ -45,6 +45,9 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
this.clickHandler = () => {
|
|
48
|
+
if (this.disabled) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
48
51
|
this.toggle();
|
|
49
52
|
};
|
|
50
53
|
//--------------------------------------------------------------------------
|
package/dist/components/chip.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.0-next.
|
|
4
|
+
* v1.3.0-next.11
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, Build, h } from '@stencil/core/internal/client/index.js';
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { e as slotChangeHasAssignedElement, t as toAriaBoolean } from './dom.js';
|
|
7
8
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
8
|
-
import { s as slotChangeHasAssignedElement } from './dom.js';
|
|
9
|
-
import { g as guid } from './guid.js';
|
|
10
9
|
import { s as setComponentLoaded, a as setUpLoadableComponent, c as componentLoaded } from './loadable.js';
|
|
10
|
+
import { u as updateMessages, c as connectMessages, d as disconnectMessages, s as setUpMessages } from './t9n.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive.js';
|
|
11
12
|
import { c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
12
13
|
import { c as createObserver } from './observers.js';
|
|
13
|
-
import {
|
|
14
|
+
import { i as isActivationKey } from './key.js';
|
|
14
15
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
15
16
|
|
|
16
17
|
const CSS = {
|
|
@@ -18,19 +19,28 @@ const CSS = {
|
|
|
18
19
|
close: "close",
|
|
19
20
|
imageContainer: "image-container",
|
|
20
21
|
chipIcon: "chip-icon",
|
|
21
|
-
|
|
22
|
-
contentSlotted: "content--slotted",
|
|
22
|
+
textSlotted: "text--slotted",
|
|
23
23
|
container: "container",
|
|
24
|
-
imageSlotted: "image--slotted"
|
|
24
|
+
imageSlotted: "image--slotted",
|
|
25
|
+
closable: "closable",
|
|
26
|
+
multiple: "multiple",
|
|
27
|
+
selectable: "selectable",
|
|
28
|
+
selectIcon: "select-icon",
|
|
29
|
+
selectIconActive: "select-icon--active",
|
|
30
|
+
nonInteractive: "non-interactive",
|
|
31
|
+
isCircle: "is-circle"
|
|
25
32
|
};
|
|
26
33
|
const SLOTS = {
|
|
27
34
|
image: "image"
|
|
28
35
|
};
|
|
29
36
|
const ICONS = {
|
|
30
|
-
close: "x"
|
|
37
|
+
close: "x",
|
|
38
|
+
unchecked: "circle",
|
|
39
|
+
checkedSingle: "circle-f",
|
|
40
|
+
checked: "check-circle-f"
|
|
31
41
|
};
|
|
32
42
|
|
|
33
|
-
const chipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-
|
|
43
|
+
const chipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-s-internal:0.25rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=s]) .close,:host([scale=s]) .select-icon--active{block-size:1rem;inline-size:1rem}:host([scale=s]) .image-container{block-size:1.25rem;inline-size:1.25rem}:host([scale=s]) .container.is-circle{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]){block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-s-internal:0.375rem;--calcite-chip-spacing-l-internal:0.5rem}:host([scale=m]) .close,:host([scale=m]) .image-container,:host([scale=m]) .select-icon--active{block-size:1.5rem;inline-size:1.5rem}:host([scale=m]) .container.is-circle{block-size:2rem;inline-size:2rem}:host([scale=l]){block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-s-internal:0.5rem;--calcite-chip-spacing-l-internal:0.75rem}:host([scale=l]) .image-container,:host([scale=l]) .close,:host([scale=l]) .select-icon--active{block-size:2rem;inline-size:2rem}:host([scale=l]) .container.is-circle{block-size:2.75rem;inline-size:2.75rem}:host{display:inline-flex;cursor:default;border-radius:9999px}.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);outline-color:transparent}.container:not(.is-circle){padding-inline:var(--calcite-chip-spacing-s-internal)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([scale=s]) .container.image--slotted{padding-inline-start:calc(0.125rem / 2)}:host([scale=s]) .container.is-circle{padding-inline:0}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:var(--calcite-chip-spacing-s-internal)}.container:not(.text--slotted) .title{display:none}.container:not(.image--slotted) .image-container{display:none}.container.closable{padding-inline-end:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted{padding-inline-start:calc(var(--calcite-chip-spacing-l-internal) / 2)}.container:not(.is-circle).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).image--slotted .image-container~.chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle).selectable:not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.selectable):not(.text--slotted) .chip-icon{margin-inline-start:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text--slotted) .chip-icon{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.text-slotted).image--slotted .image-container{margin-inline-end:var(--calcite-chip-spacing-s-internal)}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container{margin-inline-end:0}.container:not(.is-circle):not(.closable):not(.text--slotted).image--slotted.selectable .image-container~.chip-icon{margin-inline-start:calc(var(--calcite-chip-spacing-s-internal) * 2)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline:var(--calcite-chip-spacing-s-internal)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none}.close{margin:0px;cursor:pointer;align-items:center;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;display:flex;border-radius:50%;align-content:center;justify-content:center;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}.close:hover{background-color:var(--calcite-chip-transparent-hover)}.close:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:active{background-color:var(--calcite-chip-transparent-press)}.close calcite-icon{color:inherit}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:relative;visibility:hidden;inline-size:0;opacity:0;transition:opacity 0.15s ease-in-out, inline-size 0.15s ease-in-out}.select-icon.select-icon--active{visibility:visible;opacity:0.5}.container:not(.is-circle).image--slotted .select-icon.select-icon--active{margin-inline-end:var(--calcite-chip-spacing-s-internal)}:host([selected]) .select-icon{opacity:1}.container:hover .select-icon--active{opacity:1}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}:host([kind=neutral]){background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([kind=neutral]) .container{border-color:transparent}:host([kind=neutral]) .close{color:var(--calcite-ui-text-3)}:host([kind=neutral]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([kind=inverse]){background-color:var(--calcite-ui-inverse);color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .container{border-color:transparent}:host([kind=inverse]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=inverse]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([kind=brand]){background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .container{border-color:transparent}:host([kind=brand]) .close{color:var(--calcite-ui-text-inverse)}:host([kind=brand]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse))}:host([appearance=outline-fill]),:host([appearance=outline]){background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}:host([appearance=outline-fill]) .close,:host([appearance=outline]) .close{color:var(--calcite-ui-text-3)}:host([appearance=outline-fill]) .chip-icon,:host([appearance=outline]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([appearance=outline-fill]){background-color:var(--calcite-ui-foreground-1)}:host([appearance=outline]){background-color:transparent}:host([kind=neutral][appearance=outline-fill]) .container,:host([kind=neutral][appearance=outline]) .container{border-color:var(--calcite-ui-border-1)}:host([kind=inverse][appearance=outline-fill]) .container,:host([kind=inverse][appearance=outline]) .container{border-color:var(--calcite-ui-border-inverse)}:host([kind=brand][appearance=outline-fill]) .container,:host([kind=brand][appearance=outline]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand][appearance=solid]) button,:host([kind=inverse][appearance=solid]) button{outline-color:var(--calcite-ui-text-inverse)}:host([closed]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
34
44
|
|
|
35
45
|
const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
36
46
|
constructor() {
|
|
@@ -38,40 +48,51 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
38
48
|
this.__registerHost();
|
|
39
49
|
this.__attachShadow();
|
|
40
50
|
this.calciteChipClose = createEvent(this, "calciteChipClose", 6);
|
|
51
|
+
this.calciteChipSelect = createEvent(this, "calciteChipSelect", 6);
|
|
52
|
+
this.calciteInternalChipKeyEvent = createEvent(this, "calciteInternalChipKeyEvent", 6);
|
|
53
|
+
this.mutationObserver = createObserver("mutation", () => this.updateHasText());
|
|
41
54
|
// --------------------------------------------------------------------------
|
|
42
55
|
//
|
|
43
56
|
// Private Methods
|
|
44
57
|
//
|
|
45
58
|
// --------------------------------------------------------------------------
|
|
46
|
-
this.
|
|
47
|
-
event.preventDefault();
|
|
59
|
+
this.close = () => {
|
|
48
60
|
this.calciteChipClose.emit();
|
|
61
|
+
this.selected = false;
|
|
49
62
|
this.closed = true;
|
|
50
63
|
};
|
|
64
|
+
this.closeButtonKeyDownHandler = (event) => {
|
|
65
|
+
if (isActivationKey(event.key)) {
|
|
66
|
+
event.preventDefault();
|
|
67
|
+
this.close();
|
|
68
|
+
}
|
|
69
|
+
};
|
|
51
70
|
this.handleSlotImageChange = (event) => {
|
|
52
71
|
this.hasImage = slotChangeHasAssignedElement(event);
|
|
53
72
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
this.mutationObserver = createObserver("mutation", () => this.updateHasContent());
|
|
61
|
-
this.guid = guid();
|
|
73
|
+
this.handleEmittingEvent = () => {
|
|
74
|
+
if (this.interactive) {
|
|
75
|
+
this.calciteChipSelect.emit();
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
this.disabled = false;
|
|
62
79
|
this.appearance = "solid";
|
|
63
80
|
this.kind = "neutral";
|
|
64
81
|
this.closable = false;
|
|
65
82
|
this.icon = undefined;
|
|
66
83
|
this.iconFlipRtl = false;
|
|
67
84
|
this.scale = "m";
|
|
85
|
+
this.label = undefined;
|
|
68
86
|
this.value = undefined;
|
|
69
87
|
this.closed = false;
|
|
88
|
+
this.selectionMode = "none";
|
|
89
|
+
this.selected = false;
|
|
70
90
|
this.messageOverrides = undefined;
|
|
71
91
|
this.messages = undefined;
|
|
92
|
+
this.interactive = false;
|
|
72
93
|
this.defaultMessages = undefined;
|
|
73
94
|
this.effectiveLocale = undefined;
|
|
74
|
-
this.
|
|
95
|
+
this.hasText = false;
|
|
75
96
|
this.hasImage = false;
|
|
76
97
|
}
|
|
77
98
|
onMessagesChange() {
|
|
@@ -86,6 +107,7 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
86
107
|
//
|
|
87
108
|
// --------------------------------------------------------------------------
|
|
88
109
|
connectedCallback() {
|
|
110
|
+
this.parentGroupEl = this.el.parentElement;
|
|
89
111
|
connectConditionalSlotComponent(this);
|
|
90
112
|
connectLocalized(this);
|
|
91
113
|
connectMessages(this);
|
|
@@ -94,6 +116,9 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
94
116
|
componentDidLoad() {
|
|
95
117
|
setComponentLoaded(this);
|
|
96
118
|
}
|
|
119
|
+
componentDidRender() {
|
|
120
|
+
updateHostInteraction(this);
|
|
121
|
+
}
|
|
97
122
|
disconnectedCallback() {
|
|
98
123
|
disconnectConditionalSlotComponent(this);
|
|
99
124
|
disconnectLocalized(this);
|
|
@@ -103,7 +128,35 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
103
128
|
setUpLoadableComponent(this);
|
|
104
129
|
if (Build.isBrowser) {
|
|
105
130
|
await setUpMessages(this);
|
|
106
|
-
this.
|
|
131
|
+
this.updateHasText();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
//--------------------------------------------------------------------------
|
|
135
|
+
//
|
|
136
|
+
// Event Listeners
|
|
137
|
+
//
|
|
138
|
+
//--------------------------------------------------------------------------
|
|
139
|
+
keyDownHandler(event) {
|
|
140
|
+
if (event.target === this.el) {
|
|
141
|
+
switch (event.key) {
|
|
142
|
+
case " ":
|
|
143
|
+
case "Enter":
|
|
144
|
+
this.handleEmittingEvent();
|
|
145
|
+
event.preventDefault();
|
|
146
|
+
break;
|
|
147
|
+
case "ArrowRight":
|
|
148
|
+
case "ArrowLeft":
|
|
149
|
+
case "Home":
|
|
150
|
+
case "End":
|
|
151
|
+
this.calciteInternalChipKeyEvent.emit(event);
|
|
152
|
+
event.preventDefault();
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
clickHandler() {
|
|
158
|
+
if (!this.interactive && this.closable) {
|
|
159
|
+
this.closeButtonEl.focus();
|
|
107
160
|
}
|
|
108
161
|
}
|
|
109
162
|
//--------------------------------------------------------------------------
|
|
@@ -111,17 +164,18 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
111
164
|
// Public Methods
|
|
112
165
|
//
|
|
113
166
|
//--------------------------------------------------------------------------
|
|
114
|
-
/**
|
|
167
|
+
/** Sets focus on the component. */
|
|
115
168
|
async setFocus() {
|
|
116
169
|
await componentLoaded(this);
|
|
117
|
-
this.
|
|
170
|
+
if (!this.disabled && this.interactive) {
|
|
171
|
+
this.containerEl?.focus();
|
|
172
|
+
}
|
|
173
|
+
else if (!this.disabled && this.closable) {
|
|
174
|
+
this.closeButtonEl?.focus();
|
|
175
|
+
}
|
|
118
176
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
this.hasContent =
|
|
122
|
-
this.el.childNodes.length > 0 && this.el.childNodes[0]?.nodeName === "#text"
|
|
123
|
-
? this.el.textContent?.trim().length > 0
|
|
124
|
-
: slottedContent;
|
|
177
|
+
updateHasText() {
|
|
178
|
+
this.hasText = this.el.textContent.trim().length > 0;
|
|
125
179
|
}
|
|
126
180
|
setupTextContentObserver() {
|
|
127
181
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -132,18 +186,51 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
132
186
|
//
|
|
133
187
|
//--------------------------------------------------------------------------
|
|
134
188
|
renderChipImage() {
|
|
135
|
-
return (h("div", { class: CSS.imageContainer
|
|
189
|
+
return (h("div", { class: CSS.imageContainer }, h("slot", { name: SLOTS.image, onSlotchange: this.handleSlotImageChange })));
|
|
136
190
|
}
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
191
|
+
renderSelectionIcon() {
|
|
192
|
+
const icon = this.selectionMode === "multiple" && this.selected
|
|
193
|
+
? ICONS.checked
|
|
194
|
+
: this.selectionMode === "multiple"
|
|
195
|
+
? ICONS.unchecked
|
|
196
|
+
: this.selected
|
|
197
|
+
? ICONS.checkedSingle
|
|
198
|
+
: undefined;
|
|
142
199
|
return (h("div", { class: {
|
|
200
|
+
[CSS.selectIcon]: true,
|
|
201
|
+
[CSS.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
202
|
+
} }, h("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
203
|
+
}
|
|
204
|
+
renderCloseButton() {
|
|
205
|
+
return (h("button", { "aria-label": this.messages.dismissLabel, class: CSS.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
206
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
207
|
+
ref: (el) => (this.closeButtonEl = el) }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
208
|
+
}
|
|
209
|
+
renderIcon() {
|
|
210
|
+
return (h("calcite-icon", { class: CSS.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
211
|
+
}
|
|
212
|
+
render() {
|
|
213
|
+
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
214
|
+
return (h(Host, null, h("div", { "aria-checked": this.interactive ? toAriaBoolean(this.selected) : undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, "aria-labelledby": this.parentGroupEl.label, class: {
|
|
143
215
|
[CSS.container]: true,
|
|
144
|
-
[CSS.
|
|
145
|
-
[CSS.imageSlotted]: this.hasImage
|
|
146
|
-
|
|
216
|
+
[CSS.textSlotted]: this.hasText,
|
|
217
|
+
[CSS.imageSlotted]: this.hasImage,
|
|
218
|
+
[CSS.selectable]: this.selectionMode !== "none",
|
|
219
|
+
[CSS.multiple]: this.selectionMode === "multiple",
|
|
220
|
+
[CSS.closable]: this.closable,
|
|
221
|
+
[CSS.nonInteractive]: !this.interactive,
|
|
222
|
+
[CSS.isCircle]: !this.closable &&
|
|
223
|
+
!this.hasText &&
|
|
224
|
+
(!this.icon || !this.hasImage) &&
|
|
225
|
+
(this.selectionMode === "none" ||
|
|
226
|
+
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
227
|
+
}, onClick: this.handleEmittingEvent, role: this.selectionMode === "multiple" && this.interactive
|
|
228
|
+
? "checkbox"
|
|
229
|
+
: this.interactive
|
|
230
|
+
? "radio"
|
|
231
|
+
: undefined, tabIndex: disableInteraction ? -1 : 0,
|
|
232
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
233
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), h("span", { class: CSS.title }, h("slot", null)), this.closable && this.renderCloseButton())));
|
|
147
234
|
}
|
|
148
235
|
static get assetsDirs() { return ["assets"]; }
|
|
149
236
|
get el() { return this; }
|
|
@@ -153,22 +240,27 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
153
240
|
}; }
|
|
154
241
|
static get style() { return chipCss; }
|
|
155
242
|
}, [1, "calcite-chip", {
|
|
243
|
+
"disabled": [516],
|
|
156
244
|
"appearance": [513],
|
|
157
245
|
"kind": [513],
|
|
158
246
|
"closable": [516],
|
|
159
247
|
"icon": [513],
|
|
160
248
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
161
249
|
"scale": [513],
|
|
250
|
+
"label": [1],
|
|
162
251
|
"value": [8],
|
|
163
252
|
"closed": [1540],
|
|
253
|
+
"selectionMode": [1, "selection-mode"],
|
|
254
|
+
"selected": [1540],
|
|
164
255
|
"messageOverrides": [1040],
|
|
165
256
|
"messages": [1040],
|
|
257
|
+
"interactive": [4],
|
|
166
258
|
"defaultMessages": [32],
|
|
167
259
|
"effectiveLocale": [32],
|
|
168
|
-
"
|
|
260
|
+
"hasText": [32],
|
|
169
261
|
"hasImage": [32],
|
|
170
262
|
"setFocus": [64]
|
|
171
|
-
}]);
|
|
263
|
+
}, [[0, "keydown", "keyDownHandler"], [0, "click", "clickHandler"]]]);
|
|
172
264
|
function defineCustomElement() {
|
|
173
265
|
if (typeof customElements === "undefined") {
|
|
174
266
|
return;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.0-next.
|
|
4
|
+
* v1.3.0-next.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as color, d as defineCustomElement$4 } from './color-picker-swatch.js';
|
|
8
|
-
import {
|
|
8
|
+
import { k as focusElement } from './dom.js';
|
|
9
9
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentLoaded } from './loadable.js';
|
|
10
10
|
import { i as isValidHex, a as isLonghandHex, r as rgbToHex, n as normalizeHex, b as hexChar } from './utils.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
@@ -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.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { h as getModeName } from './dom.js';
|
|
8
8
|
|
|
9
9
|
function createCommonjsModule(fn, basedir, module) {
|
|
10
10
|
return module = {
|
|
@@ -0,0 +1,75 @@
|
|
|
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.11
|
|
5
|
+
*/
|
|
6
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
7
|
+
function offsetParent(element) {
|
|
8
|
+
return offsetParentPolyfill(element);
|
|
9
|
+
}
|
|
10
|
+
function offsetTop(element) {
|
|
11
|
+
return offsetTopLeftPolyfill(element, 'offsetTop');
|
|
12
|
+
}
|
|
13
|
+
function offsetLeft(element) {
|
|
14
|
+
return offsetTopLeftPolyfill(element, 'offsetLeft');
|
|
15
|
+
}
|
|
16
|
+
function flatTreeParent(element) {
|
|
17
|
+
if (element.assignedSlot) {
|
|
18
|
+
return element.assignedSlot;
|
|
19
|
+
}
|
|
20
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
21
|
+
return element.parentNode.host;
|
|
22
|
+
}
|
|
23
|
+
return element.parentNode;
|
|
24
|
+
}
|
|
25
|
+
function ancestorTreeScopes(element) {
|
|
26
|
+
const scopes = new Set();
|
|
27
|
+
let currentScope = element.getRootNode();
|
|
28
|
+
while (currentScope) {
|
|
29
|
+
scopes.add(currentScope);
|
|
30
|
+
currentScope = currentScope.parentNode
|
|
31
|
+
? currentScope.parentNode.getRootNode()
|
|
32
|
+
: null;
|
|
33
|
+
}
|
|
34
|
+
return scopes;
|
|
35
|
+
}
|
|
36
|
+
function offsetParentPolyfill(element) {
|
|
37
|
+
// Do an initial walk to check for display:none ancestors.
|
|
38
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
39
|
+
if (!(ancestor instanceof Element)) {
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
47
|
+
if (!(ancestor instanceof Element)) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
const style = getComputedStyle(ancestor);
|
|
51
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
52
|
+
if (style.display === 'contents') {
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
56
|
+
return ancestor;
|
|
57
|
+
}
|
|
58
|
+
if (ancestor.tagName === 'BODY') {
|
|
59
|
+
return ancestor;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
function offsetTopLeftPolyfill(element, offsetTopOrLeft) {
|
|
65
|
+
let value = element[offsetTopOrLeft];
|
|
66
|
+
let nextOffsetParent = offsetParentPolyfill(element);
|
|
67
|
+
const scopes = ancestorTreeScopes(element);
|
|
68
|
+
while (nextOffsetParent && !scopes.has(nextOffsetParent.getRootNode())) {
|
|
69
|
+
value -= nextOffsetParent[offsetTopOrLeft];
|
|
70
|
+
nextOffsetParent = offsetParentPolyfill(nextOffsetParent);
|
|
71
|
+
}
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { offsetLeft, offsetParent, offsetTop };
|
|
@@ -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.11
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -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.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as dateToISO } from './date.js';
|
|
@@ -10,7 +10,7 @@ import { u as updateHostInteraction } from './interactive.js';
|
|
|
10
10
|
import { i as isActivationKey } from './key.js';
|
|
11
11
|
import { n as numberStringFormatter } from './locale.js';
|
|
12
12
|
|
|
13
|
-
const datePickerDayCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
|
|
13
|
+
const datePickerDayCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;cursor:pointer;color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
|
|
14
14
|
|
|
15
15
|
const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -25,7 +25,10 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
25
25
|
//
|
|
26
26
|
//--------------------------------------------------------------------------
|
|
27
27
|
this.onClick = () => {
|
|
28
|
-
|
|
28
|
+
if (this.disabled) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
this.calciteDaySelect.emit();
|
|
29
32
|
};
|
|
30
33
|
this.keyDownHandler = (event) => {
|
|
31
34
|
if (isActivationKey(event.key)) {
|
|
@@ -47,7 +50,10 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
47
50
|
this.scale = undefined;
|
|
48
51
|
this.value = undefined;
|
|
49
52
|
}
|
|
50
|
-
|
|
53
|
+
pointerOverHandler() {
|
|
54
|
+
if (this.disabled) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
51
57
|
this.calciteInternalDayHover.emit();
|
|
52
58
|
}
|
|
53
59
|
//--------------------------------------------------------------------------
|
|
@@ -71,7 +77,7 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
71
77
|
const formattedDay = numberStringFormatter.localize(String(this.day));
|
|
72
78
|
const dir = getElementDir(this.el);
|
|
73
79
|
const dayLabel = this.dateTimeFormat.format(this.value);
|
|
74
|
-
return (h(Host, { "aria-disabled": toAriaBoolean(this.disabled), "aria-label": dayLabel, "aria-selected": toAriaBoolean(this.active), id: dayId, onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "button" }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
|
|
80
|
+
return (h(Host, { "aria-disabled": toAriaBoolean(this.disabled), "aria-label": dayLabel, "aria-selected": toAriaBoolean(this.active), id: dayId, onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "button" }, h("div", { "aria-hidden": "true", class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
|
|
75
81
|
}
|
|
76
82
|
componentDidRender() {
|
|
77
83
|
updateHostInteraction(this, this.isTabbable);
|
|
@@ -95,7 +101,7 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
95
101
|
"active": [516],
|
|
96
102
|
"scale": [513],
|
|
97
103
|
"value": [16]
|
|
98
|
-
}, [[1, "pointerover", "
|
|
104
|
+
}, [[1, "pointerover", "pointerOverHandler"]]]);
|
|
99
105
|
function defineCustomElement() {
|
|
100
106
|
if (typeof customElements === "undefined") {
|
|
101
107
|
return;
|
|
@@ -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.11
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { h as getOrder, e as dateFromRange, n as nextMonth, p as prevMonth } from './date.js';
|
|
@@ -99,7 +99,6 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
99
99
|
this.scale = undefined;
|
|
100
100
|
this.localeData = undefined;
|
|
101
101
|
this.messages = undefined;
|
|
102
|
-
this.globalAttributes = {};
|
|
103
102
|
this.nextMonthDate = undefined;
|
|
104
103
|
this.prevMonthDate = undefined;
|
|
105
104
|
}
|
|
@@ -214,7 +213,6 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
214
213
|
"scale": [513],
|
|
215
214
|
"localeData": [16],
|
|
216
215
|
"messages": [1040],
|
|
217
|
-
"globalAttributes": [32],
|
|
218
216
|
"nextMonthDate": [32],
|
|
219
217
|
"prevMonthDate": [32]
|
|
220
218
|
}]);
|