@esri/calcite-components 1.0.0-beta.94 → 1.0.0-beta.96
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/messages.json +31 -0
- package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/calcite/assets/icon/bookmarkF16.json +1 -0
- package/dist/calcite/assets/icon/bookmarkF24.json +1 -0
- package/dist/calcite/assets/icon/bookmarkF32.json +1 -0
- package/dist/calcite/assets/icon/browserMap16.json +1 -0
- package/dist/calcite/assets/icon/browserMap24.json +1 -0
- package/dist/calcite/assets/icon/browserMap32.json +1 -0
- package/dist/calcite/assets/icon/dimensions16.json +1 -0
- package/dist/calcite/assets/icon/dimensions24.json +1 -0
- package/dist/calcite/assets/icon/dimensions32.json +1 -0
- package/dist/calcite/assets/icon/ellipse16.json +1 -0
- package/dist/calcite/assets/icon/ellipse24.json +1 -0
- package/dist/calcite/assets/icon/ellipse32.json +1 -0
- package/dist/calcite/assets/icon/filePpt16.json +1 -0
- package/dist/calcite/assets/icon/filePpt24.json +1 -0
- package/dist/calcite/assets/icon/filePpt32.json +1 -0
- package/dist/calcite/assets/icon/fileSqlite16.json +1 -0
- package/dist/calcite/assets/icon/fileSqlite24.json +1 -0
- package/dist/calcite/assets/icon/fileSqlite32.json +1 -0
- package/dist/calcite/assets/icon/filesCsvCollection16.json +1 -0
- package/dist/calcite/assets/icon/filesCsvCollection24.json +1 -0
- package/dist/calcite/assets/icon/filesCsvCollection32.json +1 -0
- package/dist/calcite/assets/icon/multidimensionalRaster16.json +1 -0
- package/dist/calcite/assets/icon/multidimensionalRaster24.json +1 -0
- package/dist/calcite/assets/icon/multidimensionalRaster32.json +1 -0
- package/dist/calcite/assets/icon/register16.json +1 -0
- package/dist/calcite/assets/icon/register24.json +1 -0
- package/dist/calcite/assets/icon/register32.json +1 -0
- package/dist/calcite/assets/icon/satellite0F16.json +1 -0
- package/dist/calcite/assets/icon/satellite0F24.json +1 -0
- package/dist/calcite/assets/icon/satellite0F32.json +1 -0
- package/dist/calcite/assets/icon/satellite1F16.json +1 -0
- package/dist/calcite/assets/icon/satellite1F24.json +1 -0
- package/dist/calcite/assets/icon/satellite1F32.json +1 -0
- package/dist/calcite/assets/icon/satellite2F16.json +1 -0
- package/dist/calcite/assets/icon/satellite2F24.json +1 -0
- package/dist/calcite/assets/icon/satellite2F32.json +1 -0
- package/dist/calcite/assets/icon/satellite3F16.json +1 -0
- package/dist/calcite/assets/icon/satellite3F24.json +1 -0
- package/dist/calcite/assets/icon/satellite3F32.json +1 -0
- package/dist/calcite/assets/icon/triangle16.json +1 -0
- package/dist/calcite/assets/icon/triangle24.json +1 -0
- package/dist/calcite/assets/icon/triangle32.json +1 -0
- package/dist/calcite/assets/icon/unregister16.json +1 -0
- package/dist/calcite/assets/icon/unregister24.json +1 -0
- package/dist/calcite/assets/icon/unregister32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-033e56dc.js +6 -0
- package/dist/calcite/p-054f9257.entry.js +6 -0
- package/dist/calcite/p-0727a03b.js +6 -0
- package/dist/calcite/{p-80112b0a.js → p-08415f4f.js} +2 -2
- package/dist/calcite/p-0a364c49.entry.js +6 -0
- package/dist/calcite/{p-4d0a9e39.js → p-0b6b6b1b.js} +1 -1
- package/dist/calcite/p-0bed1036.entry.js +6 -0
- package/dist/calcite/p-1229fa6d.entry.js +6 -0
- package/dist/calcite/p-13f17010.js +7 -0
- package/dist/calcite/{p-ea8cb7f9.js → p-179c1bc9.js} +2 -2
- package/dist/calcite/p-18132899.entry.js +6 -0
- package/dist/calcite/p-196141d3.entry.js +6 -0
- package/dist/calcite/p-1af072c8.entry.js +6 -0
- package/dist/calcite/{p-f0b68627.js → p-1ca81a06.js} +1 -1
- package/dist/calcite/p-210859d3.entry.js +6 -0
- package/dist/calcite/p-2a12e026.entry.js +6 -0
- package/dist/calcite/p-30d7d4da.entry.js +6 -0
- package/dist/calcite/p-30f1f11c.entry.js +6 -0
- package/dist/calcite/p-310bf615.entry.js +6 -0
- package/dist/calcite/p-37e6c0af.entry.js +6 -0
- package/dist/calcite/p-38e8edca.entry.js +6 -0
- package/dist/calcite/p-3b128396.entry.js +6 -0
- package/dist/calcite/{p-163b0d2d.js → p-3c892875.js} +1 -1
- package/dist/calcite/{p-5a103187.js → p-3f192117.js} +1 -1
- package/dist/calcite/{p-cd5afaf5.js → p-40a60ac0.js} +1 -1
- package/dist/calcite/p-40ffeac5.entry.js +6 -0
- package/dist/calcite/p-423e61e6.js +6 -0
- package/dist/calcite/p-43886d77.entry.js +6 -0
- package/dist/calcite/{p-73bd5b09.js → p-441fba11.js} +1 -1
- package/dist/calcite/p-450a89b4.js +6 -0
- package/dist/calcite/p-4540d613.entry.js +6 -0
- package/dist/calcite/p-483720f0.entry.js +6 -0
- package/dist/calcite/{p-bb1a0708.js → p-4c5ac926.js} +1 -1
- package/dist/calcite/p-4f2adaaf.js +6 -0
- package/dist/calcite/p-51643d9f.entry.js +6 -0
- package/dist/calcite/p-52da185f.entry.js +6 -0
- package/dist/calcite/p-561f1808.entry.js +6 -0
- package/dist/calcite/p-5897d751.entry.js +6 -0
- package/dist/calcite/p-598afc72.entry.js +6 -0
- package/dist/calcite/p-5b80ddbf.entry.js +6 -0
- package/dist/calcite/p-5baaa8ec.entry.js +6 -0
- package/dist/calcite/p-600eec01.entry.js +6 -0
- package/dist/calcite/p-61ed30ba.entry.js +6 -0
- package/dist/calcite/p-6422e887.entry.js +6 -0
- package/dist/calcite/p-6af188b5.entry.js +6 -0
- package/dist/calcite/p-6edbfe7a.entry.js +6 -0
- package/dist/calcite/p-6f703767.entry.js +6 -0
- package/dist/calcite/{p-58b23f53.js → p-7a50deba.js} +2 -2
- package/dist/calcite/p-810d9179.entry.js +6 -0
- package/dist/calcite/p-83cbc6d4.entry.js +6 -0
- package/dist/calcite/p-844de364.entry.js +6 -0
- package/dist/calcite/p-847da2d2.entry.js +6 -0
- package/dist/calcite/{p-fcaaed90.js → p-8cc4679e.js} +1 -1
- package/dist/calcite/{p-c9cf5392.js → p-96a31967.js} +2 -2
- package/dist/calcite/p-98b84c0f.entry.js +6 -0
- package/dist/calcite/p-a2ab49da.entry.js +6 -0
- package/dist/calcite/{p-3365ce9b.js → p-a44dcb4b.js} +1 -1
- package/dist/calcite/p-aa06470a.entry.js +6 -0
- package/dist/calcite/p-aa097223.entry.js +6 -0
- package/dist/calcite/p-b1228ffa.entry.js +6 -0
- package/dist/calcite/p-b41e1e4f.entry.js +6 -0
- package/dist/calcite/{p-73f0721e.js → p-b5ea3e89.js} +1 -1
- package/dist/calcite/{p-acdf36f7.js → p-b6d8d647.js} +1 -1
- package/dist/calcite/p-bbcafefb.entry.js +6 -0
- package/dist/calcite/{p-8a46c6e4.js → p-bc3c7799.js} +1 -1
- package/dist/calcite/p-bcbf1921.entry.js +6 -0
- package/dist/calcite/p-bcc5c668.entry.js +6 -0
- package/dist/calcite/p-be2b65ee.entry.js +6 -0
- package/dist/calcite/{p-909dd3aa.js → p-c02455d4.js} +1 -1
- package/dist/calcite/p-c2911c3c.entry.js +6 -0
- package/dist/calcite/p-c68538e0.entry.js +6 -0
- package/dist/calcite/p-c8e251b9.entry.js +6 -0
- package/dist/calcite/p-d17467fd.js +6 -0
- package/dist/calcite/p-d30c2118.entry.js +6 -0
- package/dist/calcite/p-d8e9053b.entry.js +6 -0
- package/dist/calcite/p-de64753f.entry.js +6 -0
- package/dist/calcite/p-dfabac33.entry.js +6 -0
- package/dist/calcite/p-e101165f.entry.js +6 -0
- package/dist/calcite/{p-4de00963.js → p-e39761ae.js} +1 -1
- package/dist/calcite/p-e520047a.entry.js +6 -0
- package/dist/calcite/p-e724dd06.entry.js +6 -0
- package/dist/calcite/p-ee8bba91.js +6 -0
- package/dist/calcite/p-f05d0119.entry.js +6 -0
- package/dist/calcite/{p-9c0d7221.js → p-f56d863e.js} +2 -2
- package/dist/calcite/p-f98a4a16.js +6 -0
- package/dist/calcite/{p-3bc82bcd.js → p-f9db728c.js} +2 -2
- package/dist/calcite/p-fb451108.entry.js +6 -0
- package/dist/calcite/p-fb4a87d7.entry.js +6 -0
- package/dist/calcite/p-fdbc1a87.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-6a0c6592.js → ExpandToggle-fc7bbe3d.js} +5 -5
- package/dist/cjs/{Heading-c6109978.js → Heading-22395b92.js} +2 -2
- package/dist/cjs/{app-globals-856d4f5a.js → app-globals-6606611f.js} +2 -2
- package/dist/cjs/{array-5a06b055.js → array-e3bb210b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +41 -42
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -11
- package/dist/cjs/calcite-block_2.cjs.entry.js +33 -30
- package/dist/cjs/calcite-button.cjs.entry.js +30 -24
- package/dist/cjs/calcite-card.cjs.entry.js +15 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +19 -17
- package/dist/cjs/calcite-chip.cjs.entry.js +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +63 -59
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +60 -47
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +55 -32
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -31
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +31 -18
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +88 -62
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +114 -58
- package/dist/cjs/calcite-input-message.cjs.entry.js +14 -9
- package/dist/cjs/calcite-input-number.cjs.entry.js +66 -34
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +157 -77
- package/dist/cjs/calcite-input.cjs.entry.js +85 -53
- package/dist/cjs/calcite-label.cjs.entry.js +16 -16
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +12 -7
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +20 -14
- package/dist/cjs/calcite-panel.cjs.entry.js +36 -33
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +56 -41
- package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell_3.cjs.entry.js +23 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +48 -20
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +22 -27
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +44 -29
- package/dist/cjs/calcite-tree_2.cjs.entry.js +141 -90
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-6019633f.js → conditionalSlot-99e51afe.js} +3 -3
- package/dist/cjs/{debounce-d6bda11c.js → debounce-1ad9c9c5.js} +1 -1
- package/dist/cjs/{dom-72e6c4dd.js → dom-fdaf919a.js} +41 -3
- package/dist/cjs/{filter-eba36832.js → filter-edd10f6d.js} +3 -4
- package/dist/cjs/{floating-ui-12d7babb.js → floating-ui-84635bb5.js} +176 -72
- package/dist/cjs/{form-ea42d238.js → form-9e23e659.js} +3 -3
- package/dist/cjs/{guid-938d9fa3.js → guid-ba414ece.js} +1 -1
- package/dist/cjs/{index-1dbd01a1.js → index-89b75f9d.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-2c577d02.js → interactive-9891c7ff.js} +1 -1
- package/dist/cjs/{interfaces-5f0a4caf.js → interfaces-70afd954.js} +1 -1
- package/dist/cjs/{key-d8af7080.js → key-08efaede.js} +1 -1
- package/dist/cjs/{label-5a8f2874.js → label-fd565fe7.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-89bd7314.js +414 -0
- package/dist/cjs/{math-d6b7fc29.js → math-12e520d7.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-ef072a2b.js +506 -0
- package/dist/cjs/observers-b15136c8.js +48 -0
- package/dist/cjs/{openCloseComponent-ace01399.js → openCloseComponent-2d4454a1.js} +1 -1
- package/dist/cjs/{resources-95894101.js → resources-09d49437.js} +1 -1
- package/dist/cjs/{resources-8e0523cb.js → resources-4a9729ee.js} +1 -1
- package/dist/cjs/{resources-70df862e.js → resources-713e13b0.js} +1 -1
- package/dist/cjs/{resources-ed85e818.js → resources-e0dc19ba.js} +1 -1
- package/dist/cjs/{resources-ef687533.js → resources-e0e028db.js} +12 -70
- package/dist/cjs/{resources-643fce59.js → resources-f315ffb3.js} +5 -5
- package/dist/cjs/{sortable.esm-7d4d980b.js → sortable.esm-5aaf8877.js} +1 -1
- package/dist/cjs/{utils-4b72e0e2.js → utils-1369197b.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.css +5 -0
- package/dist/collection/components/accordion/accordion.js +162 -153
- package/dist/collection/components/accordion/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/accordion-item.css +6 -2
- package/dist/collection/components/accordion-item/accordion-item.js +304 -308
- package/dist/collection/components/accordion-item/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +6 -1
- package/dist/collection/components/action/action.js +298 -295
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -0
- package/dist/collection/components/action-bar/action-bar.js +241 -234
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +6 -1
- package/dist/collection/components/action-group/action-group.js +138 -135
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -0
- package/dist/collection/components/action-menu/action-menu.js +250 -241
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -0
- package/dist/collection/components/action-pad/action-pad.js +198 -191
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -1
- package/dist/collection/components/alert/alert.js +413 -376
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -0
- package/dist/collection/components/avatar/avatar.js +110 -103
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +13 -1
- package/dist/collection/components/block/block.js +332 -339
- package/dist/collection/components/block/resources.js +3 -2
- package/dist/collection/components/block-section/block-section.css +5 -0
- package/dist/collection/components/block-section/block-section.js +150 -150
- package/dist/collection/components/block-section/interfaces.js +0 -5
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +9 -6
- package/dist/collection/components/button/button.js +458 -437
- package/dist/collection/components/button/interfaces.js +0 -5
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +9 -0
- package/dist/collection/components/card/card.js +181 -188
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +6 -1
- package/dist/collection/components/checkbox/checkbox.js +280 -270
- package/dist/collection/components/chip/chip.css +5 -0
- package/dist/collection/components/chip/chip.js +266 -261
- package/dist/collection/components/chip/interfaces.js +0 -5
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -0
- package/dist/collection/components/color-picker/color-picker.js +822 -814
- package/dist/collection/components/color-picker/interfaces.js +0 -5
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +195 -178
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +83 -77
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +6 -2
- package/dist/collection/components/combobox/combobox.js +595 -576
- package/dist/collection/components/combobox/interfaces.js +0 -5
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +7 -4
- package/dist/collection/components/combobox-item/combobox-item.js +247 -239
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/collection/components/date-picker/date-picker.css +5 -0
- package/dist/collection/components/date-picker/date-picker.js +497 -437
- package/dist/collection/components/date-picker/interfaces.js +0 -5
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +2 -22
- package/dist/collection/components/date-picker-day/date-picker-day.css +53 -24
- package/dist/collection/components/date-picker-day/date-picker-day.js +268 -284
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -0
- package/dist/collection/components/date-picker-month/date-picker-month.js +257 -250
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +9 -10
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +243 -250
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -1
- package/dist/collection/components/dropdown/dropdown.js +460 -430
- package/dist/collection/components/dropdown/interfaces.js +0 -5
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
- package/dist/collection/components/dropdown-group/interfaces.js +0 -5
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +9 -8
- package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -0
- package/dist/collection/components/fab/fab.js +205 -197
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -0
- package/dist/collection/components/filter/filter.js +200 -191
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -0
- package/dist/collection/components/flow/flow.js +55 -46
- package/dist/collection/components/flow/interfaces.js +0 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -0
- package/dist/collection/components/flow-item/flow-item.js +424 -362
- 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.css +5 -0
- package/dist/collection/components/graph/graph.js +125 -125
- package/dist/collection/components/graph/interfaces.js +0 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +6 -1
- package/dist/collection/components/handle/handle.js +94 -85
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/bookmarkF16.json +1 -0
- package/dist/collection/components/icon/assets/icon/bookmarkF24.json +1 -0
- package/dist/collection/components/icon/assets/icon/bookmarkF32.json +1 -0
- package/dist/collection/components/icon/assets/icon/browserMap16.json +1 -0
- package/dist/collection/components/icon/assets/icon/browserMap24.json +1 -0
- package/dist/collection/components/icon/assets/icon/browserMap32.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions16.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions24.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse32.json +1 -0
- package/dist/collection/components/icon/assets/icon/filePpt16.json +1 -0
- package/dist/collection/components/icon/assets/icon/filePpt24.json +1 -0
- package/dist/collection/components/icon/assets/icon/filePpt32.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileSqlite16.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileSqlite24.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileSqlite32.json +1 -0
- package/dist/collection/components/icon/assets/icon/filesCsvCollection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/filesCsvCollection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/filesCsvCollection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/multidimensionalRaster16.json +1 -0
- package/dist/collection/components/icon/assets/icon/multidimensionalRaster24.json +1 -0
- package/dist/collection/components/icon/assets/icon/multidimensionalRaster32.json +1 -0
- package/dist/collection/components/icon/assets/icon/register16.json +1 -0
- package/dist/collection/components/icon/assets/icon/register24.json +1 -0
- package/dist/collection/components/icon/assets/icon/register32.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite0F16.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite0F24.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite0F32.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite1F16.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite1F24.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite1F32.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite2F16.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite2F24.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite2F32.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite3F16.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite3F24.json +1 -0
- package/dist/collection/components/icon/assets/icon/satellite3F32.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle32.json +1 -0
- package/dist/collection/components/icon/assets/icon/unregister16.json +1 -0
- package/dist/collection/components/icon/assets/icon/unregister24.json +1 -0
- package/dist/collection/components/icon/assets/icon/unregister32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -0
- package/dist/collection/components/icon/icon.js +107 -98
- 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 -0
- package/dist/collection/components/inline-editable/inline-editable.js +274 -266
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +10 -0
- package/dist/collection/components/input/input.js +887 -853
- package/dist/collection/components/input/interfaces.js +0 -5
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +6 -2
- package/dist/collection/components/input-date-picker/input-date-picker.js +898 -801
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +12 -17
- package/dist/collection/components/input-message/input-message.js +135 -118
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +6 -20
- package/dist/collection/components/input-number/input-number.js +823 -787
- package/dist/collection/components/input-number/interfaces.js +0 -5
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +6 -20
- package/dist/collection/components/input-text/input-text.js +602 -603
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +676 -573
- package/dist/collection/components/interfaces.js +0 -5
- package/dist/collection/components/label/label.css +6 -1
- package/dist/collection/components/label/label.js +189 -183
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -0
- package/dist/collection/components/link/link.js +186 -180
- package/dist/collection/components/list/list.css +5 -0
- package/dist/collection/components/list/list.js +76 -70
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -0
- package/dist/collection/components/list-item/list-item.js +109 -113
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -0
- package/dist/collection/components/list-item-group/list-item-group.js +54 -51
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +12 -14
- package/dist/collection/components/loader/loader.js +173 -165
- package/dist/collection/components/modal/interfaces.js +0 -5
- package/dist/collection/components/modal/modal.css +7 -2
- package/dist/collection/components/modal/modal.js +478 -481
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -0
- package/dist/collection/components/notice/notice.js +269 -267
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -0
- package/dist/collection/components/option/option.js +118 -108
- package/dist/collection/components/option-group/option-group.css +5 -0
- package/dist/collection/components/option-group/option-group.js +81 -73
- package/dist/collection/components/pagination/pagination.css +5 -0
- package/dist/collection/components/pagination/pagination.js +266 -258
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +6 -1
- package/dist/collection/components/panel/panel.js +559 -546
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -0
- package/dist/collection/components/pick-list/pick-list.js +255 -241
- 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 +2 -9
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -0
- package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +5 -2
- package/dist/collection/components/popover/popover.css +5 -1
- package/dist/collection/components/popover/popover.js +586 -562
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +5 -0
- package/dist/collection/components/popover-manager/popover-manager.js +60 -52
- package/dist/collection/components/progress/progress.css +7 -1
- package/dist/collection/components/progress/progress.js +112 -104
- package/dist/collection/components/radio-button/radio-button.css +5 -0
- package/dist/collection/components/radio-button/radio-button.js +348 -337
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
- package/dist/collection/components/radio-group/interfaces.js +0 -5
- package/dist/collection/components/radio-group/radio-group.css +5 -0
- package/dist/collection/components/radio-group/radio-group.js +256 -244
- package/dist/collection/components/radio-group-item/radio-group-item.css +5 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -0
- package/dist/collection/components/rating/rating.js +276 -277
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -0
- package/dist/collection/components/scrim/scrim.js +57 -54
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -0
- package/dist/collection/components/select/select.js +228 -219
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -0
- package/dist/collection/components/shell/shell.js +38 -43
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -0
- package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -0
- package/dist/collection/components/shell-panel/shell-panel.js +194 -180
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -0
- package/dist/collection/components/slider/slider.js +643 -658
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -0
- package/dist/collection/components/sortable-list/sortable-list.js +153 -142
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -0
- package/dist/collection/components/split-button/split-button.js +366 -360
- package/dist/collection/components/stepper/interfaces.js +0 -5
- package/dist/collection/components/stepper/stepper.css +5 -0
- package/dist/collection/components/stepper/stepper.js +270 -236
- package/dist/collection/components/stepper-item/stepper-item.css +6 -2
- package/dist/collection/components/stepper-item/stepper-item.js +436 -400
- package/dist/collection/components/switch/switch.css +5 -0
- package/dist/collection/components/switch/switch.js +190 -182
- package/dist/collection/components/tab/interfaces.js +0 -5
- package/dist/collection/components/tab/tab.css +9 -2
- package/dist/collection/components/tab/tab.js +194 -181
- package/dist/collection/components/tab-nav/tab-nav.css +5 -4
- package/dist/collection/components/tab-nav/tab-nav.js +285 -275
- package/dist/collection/components/tab-title/tab-title.css +7 -2
- package/dist/collection/components/tab-title/tab-title.js +468 -456
- package/dist/collection/components/tabs/interfaces.js +0 -5
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -0
- package/dist/collection/components/tabs/tabs.js +134 -132
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -0
- package/dist/collection/components/tile/tile.js +174 -178
- package/dist/collection/components/tile-select/interfaces.js +0 -5
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -0
- package/dist/collection/components/tile-select/tile-select.js +352 -338
- package/dist/collection/components/tile-select-group/interfaces.js +0 -5
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -0
- package/dist/collection/components/time-picker/time-picker.js +587 -540
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -0
- package/dist/collection/components/tip/tip.js +145 -146
- package/dist/collection/components/tip-group/tip-group.css +5 -0
- package/dist/collection/components/tip-group/tip-group.js +33 -27
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -0
- package/dist/collection/components/tip-manager/tip-manager.js +226 -222
- package/dist/collection/components/tooltip/TooltipManager.js +12 -7
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -1
- package/dist/collection/components/tooltip/tooltip.js +252 -225
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +5 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -0
- package/dist/collection/components/tree/tree.js +278 -245
- package/dist/collection/components/tree/utils.js +21 -0
- package/dist/collection/components/tree-item/interfaces.js +0 -5
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +23 -7
- package/dist/collection/components/tree-item/tree-item.js +306 -273
- package/dist/collection/components/value-list/interfaces.js +0 -5
- 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 -0
- package/dist/collection/components/value-list/value-list.js +348 -334
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +6 -2
- package/dist/collection/components/value-list-item/value-list-item.js +286 -279
- package/dist/collection/demos/_assets/demo-form.js +22 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +22 -0
- package/dist/collection/utils/date.js +3 -38
- package/dist/collection/utils/dom.js +37 -1
- package/dist/collection/utils/filter.js +2 -3
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
- package/dist/collection/utils/floating-ui.js +123 -12
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +205 -61
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +36 -31
- package/dist/collection/utils/observers.js +31 -7
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +110 -0
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +16 -14
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +35 -36
- package/dist/components/action.js +8 -8
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +23 -17
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +6 -6
- 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 +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +19 -7
- package/dist/components/calcite-avatar.js +6 -7
- package/dist/components/calcite-block-section.js +8 -6
- package/dist/components/calcite-block.js +17 -16
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +9 -8
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +45 -39
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +8 -6
- package/dist/components/calcite-combobox.js +42 -31
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- 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 +25 -12
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +109 -50
- package/dist/components/calcite-input-message.js +10 -5
- package/dist/components/calcite-input-number.js +58 -25
- package/dist/components/calcite-input-text.js +10 -10
- package/dist/components/calcite-input-time-picker.js +89 -34
- 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 +4 -4
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +11 -11
- package/dist/components/calcite-notice.js +8 -8
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +15 -12
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +8 -8
- package/dist/components/calcite-popover-manager.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 +5 -5
- package/dist/components/calcite-radio-button.js +7 -7
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +5 -5
- package/dist/components/calcite-rating.js +8 -8
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +5 -5
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-shell-panel.js +13 -7
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +79 -54
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +8 -6
- package/dist/components/calcite-stepper-item.js +39 -12
- package/dist/components/calcite-stepper.js +5 -4
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +4 -4
- package/dist/components/calcite-tile-select.js +8 -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 +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +5 -5
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +21 -9
- package/dist/components/calcite-tree.js +118 -78
- package/dist/components/calcite-value-list-item.js +6 -6
- package/dist/components/calcite-value-list.js +9 -9
- package/dist/components/checkbox.js +11 -9
- package/dist/components/chip.js +11 -11
- package/dist/components/color-picker-hex-input.js +8 -10
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +5 -8
- package/dist/components/date-picker-month-header.js +20 -12
- package/dist/components/date-picker-month.js +4 -4
- package/dist/components/date-picker.js +29 -28
- package/dist/components/date.js +5 -39
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +38 -2
- package/dist/components/dropdown.js +35 -23
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +2 -3
- package/dist/components/floating-ui.js +182 -71
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +77 -44
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +11 -11
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +6 -6
- package/dist/components/loader.js +10 -5
- package/dist/components/locale.js +239 -90
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +498 -0
- package/dist/components/observers.js +31 -7
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +27 -24
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +47 -33
- package/dist/components/progress.js +9 -4
- 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 +3 -3
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -6
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +6 -6
- package/dist/components/tabs.js +5 -10
- package/dist/components/tile.js +6 -6
- package/dist/components/time-picker.js +69 -39
- package/dist/components/tooltip.js +39 -25
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/esm/{ExpandToggle-2bc42f9b.js → ExpandToggle-947164fe.js} +5 -5
- package/dist/esm/{Heading-04d330d7.js → Heading-257e631d.js} +2 -2
- package/dist/esm/{app-globals-51ac9156.js → app-globals-5b11622a.js} +2 -2
- package/dist/esm/{array-0910abb3.js → array-1589fdff.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +14 -14
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +41 -42
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +25 -13
- package/dist/esm/calcite-avatar.entry.js +10 -11
- package/dist/esm/calcite-block_2.entry.js +33 -30
- package/dist/esm/calcite-button.entry.js +30 -24
- package/dist/esm/calcite-card.entry.js +15 -14
- package/dist/esm/calcite-checkbox.entry.js +19 -17
- package/dist/esm/calcite-chip.entry.js +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js +63 -59
- package/dist/esm/calcite-combobox_3.entry.js +60 -47
- package/dist/esm/calcite-date-picker_4.entry.js +55 -32
- package/dist/esm/calcite-dropdown_3.entry.js +44 -31
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +31 -18
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +88 -62
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +114 -58
- package/dist/esm/calcite-input-message.entry.js +14 -9
- package/dist/esm/calcite-input-number.entry.js +66 -34
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +156 -76
- package/dist/esm/calcite-input.entry.js +85 -53
- package/dist/esm/calcite-label.entry.js +16 -16
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +12 -7
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +17 -17
- package/dist/esm/calcite-pagination.entry.js +20 -14
- package/dist/esm/calcite-panel.entry.js +36 -33
- package/dist/esm/calcite-pick-list_3.entry.js +27 -27
- package/dist/esm/calcite-popover_2.entry.js +56 -41
- package/dist/esm/calcite-progress.entry.js +10 -5
- package/dist/esm/calcite-radio-button-group.entry.js +7 -7
- package/dist/esm/calcite-radio-button.entry.js +14 -14
- package/dist/esm/calcite-radio-group_2.entry.js +17 -17
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-scrim.entry.js +4 -4
- package/dist/esm/calcite-shell_3.entry.js +23 -17
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +10 -8
- package/dist/esm/calcite-stepper_2.entry.js +48 -20
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-tab_4.entry.js +22 -27
- package/dist/esm/calcite-tile-select_2.entry.js +13 -13
- package/dist/esm/calcite-tile.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js +15 -15
- package/dist/esm/calcite-tooltip_2.entry.js +44 -29
- package/dist/esm/calcite-tree_2.entry.js +141 -90
- package/dist/esm/calcite-value-list_2.entry.js +25 -25
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-d5001a49.js → conditionalSlot-b3e64dc7.js} +3 -3
- package/dist/esm/{debounce-2f55a96e.js → debounce-ea9692d7.js} +1 -1
- package/dist/esm/{dom-8d6885a3.js → dom-a73e8a2b.js} +40 -4
- package/dist/esm/{filter-0992d9b5.js → filter-3ba1a381.js} +3 -4
- package/dist/esm/{floating-ui-73470e07.js → floating-ui-984dfec0.js} +174 -71
- package/dist/esm/{form-04d526a7.js → form-0e21de45.js} +3 -3
- package/dist/esm/{guid-673b0460.js → guid-6f7dc9eb.js} +1 -1
- package/dist/esm/{index-53f14b87.js → index-14216daa.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-9ecb4bdb.js → interactive-c7d0aec8.js} +1 -1
- package/dist/esm/{interfaces-042402ce.js → interfaces-ed0a53af.js} +1 -1
- package/dist/esm/{key-517ec64b.js → key-51ed0d1a.js} +1 -1
- package/dist/esm/{label-2f34aa9c.js → label-d2cf5bd5.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-0be23f6a.js +403 -0
- package/dist/esm/{math-7cf904c8.js → math-7cf93944.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-fc3598fa.js +502 -0
- package/dist/esm/observers-22e20270.js +46 -0
- package/dist/esm/{openCloseComponent-a5c239be.js → openCloseComponent-4d8348cf.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-4b489775.js → resources-15329bef.js} +5 -5
- package/dist/esm/{resources-771c3479.js → resources-22c8d6b5.js} +1 -1
- package/dist/esm/{resources-3820b68e.js → resources-47333b80.js} +1 -1
- package/dist/esm/{resources-dbe60819.js → resources-712a7c01.js} +5 -61
- package/dist/esm/{resources-322d57c9.js → resources-aad6b1a9.js} +1 -1
- package/dist/esm/{resources-54fe885f.js → resources-d9cc509f.js} +1 -1
- package/dist/esm/{sortable.esm-4941a440.js → sortable.esm-679051e1.js} +1 -1
- package/dist/esm/{utils-bb9d3be5.js → utils-e76f2be0.js} +1 -1
- package/dist/extras/docs-json.json +2033 -785
- package/dist/index.js +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +2 -2
- package/dist/loader/package.json +1 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
- package/dist/types/components/action/action.d.ts +8 -8
- package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +4 -8
- package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +2 -2
- package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
- package/dist/types/components/action-menu/action-menu.d.ts +7 -7
- package/dist/types/components/action-pad/action-pad.d.ts +2 -2
- package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
- package/dist/types/components/alert/alert.d.ts +12 -6
- package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
- package/dist/types/components/avatar/avatar.d.ts +1 -2
- package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
- package/dist/types/components/block/block.d.ts +22 -20
- package/dist/types/components/block/resources.d.ts +2 -1
- package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
- package/dist/types/components/block-section/block-section.d.ts +12 -10
- package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +37 -21
- package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
- package/dist/types/components/card/card.d.ts +11 -10
- package/dist/types/components/checkbox/checkbox.d.ts +16 -14
- package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
- package/dist/types/components/chip/chip.d.ts +13 -13
- package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
- package/dist/types/components/color-picker/color-picker.d.ts +40 -41
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +9 -10
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +39 -35
- package/dist/types/components/combobox-item/combobox-item.d.ts +15 -13
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
- package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/types/components/date-picker/date-picker.d.ts +16 -2
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -3
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -2
- package/dist/types/components/dropdown/dropdown.d.ts +11 -7
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -1
- package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
- package/dist/types/components/filter/filter.d.ts +1 -2
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/flow-item/flow-item.d.ts +23 -8
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +37 -30
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +67 -43
- package/dist/types/components/input-message/input-message.d.ts +10 -8
- package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +24 -19
- package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
- package/dist/types/components/input-text/input-text.d.ts +10 -10
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +44 -29
- package/dist/types/components/label/label.d.ts +10 -10
- package/dist/types/components/link/link.d.ts +8 -8
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +14 -4
- package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +10 -10
- package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/notice.d.ts +7 -8
- package/dist/types/components/option/option.d.ts +2 -2
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
- package/dist/types/components/pagination/pagination.d.ts +5 -7
- package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
- package/dist/types/components/panel/panel.d.ts +26 -22
- package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list/pick-list.d.ts +7 -7
- package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
- package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +24 -18
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
- package/dist/types/components/progress/progress.d.ts +7 -2
- package/dist/types/components/radio-button/radio-button.d.ts +6 -6
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
- package/dist/types/components/radio-group/radio-group.d.ts +3 -3
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
- package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +4 -4
- package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
- package/dist/types/components/scrim/scrim.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +4 -4
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
- package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
- package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
- package/dist/types/components/slider/slider.d.ts +24 -25
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +9 -7
- package/dist/types/components/stepper/stepper.d.ts +7 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
- package/dist/types/components/switch/switch.d.ts +6 -6
- package/dist/types/components/tab/tab.d.ts +3 -3
- package/dist/types/components/tab-title/tab-title.d.ts +8 -8
- package/dist/types/components/tabs/tabs.d.ts +3 -4
- package/dist/types/components/tile/tile.d.ts +5 -5
- package/dist/types/components/tile-select/tile-select.d.ts +5 -5
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
- package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
- package/dist/types/components/time-picker/time-picker.d.ts +17 -5
- package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
- package/dist/types/components/tip/tip.d.ts +3 -3
- package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +16 -8
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree/utils.d.ts +1 -0
- package/dist/types/components/tree-item/tree-item.d.ts +10 -4
- package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
- package/dist/types/components/value-list/value-list.d.ts +16 -16
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
- package/dist/types/components.d.ts +1119 -1016
- package/dist/types/preact.d.ts +6 -2
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/date.d.ts +0 -20
- package/dist/types/utils/dom.d.ts +19 -0
- package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
- package/dist/types/utils/floating-ui.d.ts +45 -2
- package/dist/types/utils/locale.d.ts +98 -6
- package/dist/types/utils/number.d.ts +3 -5
- package/dist/types/utils/observers.d.ts +5 -1
- package/dist/types/utils/t9n.d.ts +88 -0
- package/dist/types/utils/time.d.ts +29 -5
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +2577 -2017
- package/package.json +46 -42
- package/readme.md +2 -2
- package/dist/calcite/calcite.js +0 -131
- package/dist/calcite/p-00ae266a.system.entry.js +0 -6
- package/dist/calcite/p-02b845e5.system.entry.js +0 -6
- package/dist/calcite/p-04c063b0.system.entry.js +0 -6
- package/dist/calcite/p-0647f9bd.entry.js +0 -6
- package/dist/calcite/p-07890b7d.entry.js +0 -6
- package/dist/calcite/p-0790710d.js +0 -6
- package/dist/calcite/p-07f630c6.system.entry.js +0 -6
- package/dist/calcite/p-08d40d19.entry.js +0 -6
- package/dist/calcite/p-0cb32b1f.system.entry.js +0 -6
- package/dist/calcite/p-0d2ef47a.system.js +0 -6
- package/dist/calcite/p-0ed23378.system.js +0 -6
- package/dist/calcite/p-121dae7f.system.js +0 -6
- package/dist/calcite/p-141b75df.entry.js +0 -6
- package/dist/calcite/p-14aa1ed3.system.entry.js +0 -6
- package/dist/calcite/p-17d18b78.entry.js +0 -6
- package/dist/calcite/p-1bb40f75.system.entry.js +0 -6
- package/dist/calcite/p-1ccbfc0b.system.js +0 -6
- package/dist/calcite/p-1dea1ff7.entry.js +0 -6
- package/dist/calcite/p-20df1006.entry.js +0 -6
- package/dist/calcite/p-212c52e2.entry.js +0 -6
- package/dist/calcite/p-21e5407c.system.js +0 -6
- package/dist/calcite/p-2246a0ad.system.js +0 -6
- package/dist/calcite/p-23d8880b.js +0 -6
- package/dist/calcite/p-2417959e.system.entry.js +0 -6
- package/dist/calcite/p-241b4e21.system.entry.js +0 -6
- package/dist/calcite/p-2455660d.entry.js +0 -6
- package/dist/calcite/p-2541a319.system.entry.js +0 -6
- package/dist/calcite/p-26338cd1.entry.js +0 -6
- package/dist/calcite/p-27aad6df.entry.js +0 -6
- package/dist/calcite/p-2976c57f.system.js +0 -6
- package/dist/calcite/p-2d58bcef.system.entry.js +0 -6
- package/dist/calcite/p-3197e505.entry.js +0 -6
- package/dist/calcite/p-337a55ba.entry.js +0 -6
- package/dist/calcite/p-378ed0d3.system.js +0 -6
- package/dist/calcite/p-38b9b961.entry.js +0 -6
- package/dist/calcite/p-3b0e362f.entry.js +0 -6
- package/dist/calcite/p-3b24e6f0.system.js +0 -6
- package/dist/calcite/p-3d8af457.system.entry.js +0 -6
- package/dist/calcite/p-3da01829.system.entry.js +0 -6
- package/dist/calcite/p-3e65890c.system.entry.js +0 -6
- package/dist/calcite/p-418fb618.system.js +0 -6
- package/dist/calcite/p-42015e6e.system.entry.js +0 -6
- package/dist/calcite/p-42705ec3.entry.js +0 -6
- package/dist/calcite/p-4495587a.system.entry.js +0 -6
- package/dist/calcite/p-45339adb.system.js +0 -6
- package/dist/calcite/p-477a6a76.system.entry.js +0 -6
- package/dist/calcite/p-48f0d688.system.entry.js +0 -6
- package/dist/calcite/p-50ca587a.entry.js +0 -6
- package/dist/calcite/p-51729564.entry.js +0 -6
- package/dist/calcite/p-5195671c.js +0 -6
- package/dist/calcite/p-5637c33d.system.entry.js +0 -6
- package/dist/calcite/p-571437c4.system.entry.js +0 -6
- package/dist/calcite/p-576efae3.system.entry.js +0 -6
- package/dist/calcite/p-593d7d51.system.entry.js +0 -6
- package/dist/calcite/p-59b0c1ad.system.js +0 -6
- package/dist/calcite/p-59ee0f56.entry.js +0 -6
- package/dist/calcite/p-5abab4f7.entry.js +0 -6
- package/dist/calcite/p-5b28404a.system.entry.js +0 -6
- package/dist/calcite/p-5c664f53.system.js +0 -6
- package/dist/calcite/p-5ea0f008.entry.js +0 -6
- package/dist/calcite/p-5f1a1daf.system.js +0 -6
- package/dist/calcite/p-621b0dcb.entry.js +0 -6
- package/dist/calcite/p-6337bdfb.entry.js +0 -6
- package/dist/calcite/p-63f54ecf.system.js +0 -6
- package/dist/calcite/p-66aad3f3.system.js +0 -6
- package/dist/calcite/p-681a9686.entry.js +0 -6
- package/dist/calcite/p-6884d551.entry.js +0 -6
- package/dist/calcite/p-68f49a9e.system.js +0 -6
- package/dist/calcite/p-6beb3254.system.entry.js +0 -6
- package/dist/calcite/p-6c29cf5b.entry.js +0 -6
- package/dist/calcite/p-704fcb6a.system.js +0 -12
- package/dist/calcite/p-744629dc.system.entry.js +0 -6
- package/dist/calcite/p-75cb0b4b.js +0 -6
- package/dist/calcite/p-76a7613f.entry.js +0 -6
- package/dist/calcite/p-7bad2734.system.entry.js +0 -6
- package/dist/calcite/p-7d218a1e.entry.js +0 -6
- package/dist/calcite/p-7f1cffed.entry.js +0 -6
- package/dist/calcite/p-7f647fd9.js +0 -7
- package/dist/calcite/p-8195871c.system.entry.js +0 -6
- package/dist/calcite/p-82b71049.entry.js +0 -6
- package/dist/calcite/p-82e0cb8a.entry.js +0 -6
- package/dist/calcite/p-8454208a.system.entry.js +0 -6
- package/dist/calcite/p-86036640.system.entry.js +0 -6
- package/dist/calcite/p-87425a7b.system.entry.js +0 -6
- package/dist/calcite/p-87c2d68d.system.js +0 -6
- package/dist/calcite/p-8871e375.js +0 -6
- package/dist/calcite/p-8907fae6.system.entry.js +0 -6
- package/dist/calcite/p-8acb04ec.entry.js +0 -6
- package/dist/calcite/p-8be2f0b8.system.entry.js +0 -6
- package/dist/calcite/p-8d074394.system.entry.js +0 -6
- package/dist/calcite/p-91328818.system.entry.js +0 -6
- package/dist/calcite/p-919d3498.entry.js +0 -6
- package/dist/calcite/p-91f58930.entry.js +0 -6
- package/dist/calcite/p-92623184.system.entry.js +0 -6
- package/dist/calcite/p-949f8d67.system.entry.js +0 -6
- package/dist/calcite/p-94edb987.system.js +0 -6
- package/dist/calcite/p-9571b28f.system.entry.js +0 -6
- package/dist/calcite/p-95a4e441.system.entry.js +0 -6
- package/dist/calcite/p-994776bf.system.entry.js +0 -6
- package/dist/calcite/p-998e441b.entry.js +0 -6
- package/dist/calcite/p-9a39bb85.entry.js +0 -6
- package/dist/calcite/p-9bcaec85.system.entry.js +0 -6
- package/dist/calcite/p-9c65f253.js +0 -6
- package/dist/calcite/p-9d6149f0.entry.js +0 -6
- package/dist/calcite/p-9d8eabed.system.entry.js +0 -6
- package/dist/calcite/p-a30e63e8.system.entry.js +0 -6
- package/dist/calcite/p-a323cdd1.entry.js +0 -6
- package/dist/calcite/p-a3679617.system.entry.js +0 -6
- package/dist/calcite/p-ab32f98b.system.js +0 -7
- package/dist/calcite/p-af5df2b2.system.js +0 -6
- package/dist/calcite/p-afbda004.system.entry.js +0 -6
- package/dist/calcite/p-b3c9dc8a.system.js +0 -6
- package/dist/calcite/p-b47cb0ef.system.entry.js +0 -6
- package/dist/calcite/p-b48c4a78.system.js +0 -6
- package/dist/calcite/p-b4fcbb50.system.entry.js +0 -6
- package/dist/calcite/p-b557dcb1.entry.js +0 -6
- package/dist/calcite/p-b85af0b5.system.js +0 -6
- package/dist/calcite/p-b88c5aa6.system.entry.js +0 -6
- package/dist/calcite/p-b9030c15.system.entry.js +0 -6
- package/dist/calcite/p-ba575c4b.system.js +0 -6
- package/dist/calcite/p-bc804f39.entry.js +0 -6
- package/dist/calcite/p-beda963c.system.entry.js +0 -6
- package/dist/calcite/p-bf4ad3ca.entry.js +0 -6
- package/dist/calcite/p-c27f9e24.entry.js +0 -6
- package/dist/calcite/p-c37d6585.system.js +0 -6
- package/dist/calcite/p-c6698c7d.entry.js +0 -6
- package/dist/calcite/p-c6948bc4.js +0 -6
- package/dist/calcite/p-c7f68e89.system.entry.js +0 -6
- package/dist/calcite/p-cb29346c.entry.js +0 -6
- package/dist/calcite/p-cc069f3f.entry.js +0 -6
- package/dist/calcite/p-cd079641.system.entry.js +0 -6
- package/dist/calcite/p-ce86c385.entry.js +0 -6
- package/dist/calcite/p-cef54970.system.entry.js +0 -6
- package/dist/calcite/p-d0b61306.entry.js +0 -6
- package/dist/calcite/p-d3ea32db.entry.js +0 -6
- package/dist/calcite/p-d46fdcac.entry.js +0 -6
- package/dist/calcite/p-d59bfc5f.entry.js +0 -6
- package/dist/calcite/p-d62068e2.system.js +0 -6
- package/dist/calcite/p-d748393b.system.js +0 -6
- package/dist/calcite/p-da7dd1ef.entry.js +0 -6
- package/dist/calcite/p-db8fbe9e.system.entry.js +0 -6
- package/dist/calcite/p-dc11c1ff.system.entry.js +0 -6
- package/dist/calcite/p-dcba6dca.entry.js +0 -6
- package/dist/calcite/p-de9fe089.entry.js +0 -6
- package/dist/calcite/p-e05684c5.entry.js +0 -6
- package/dist/calcite/p-e25515ca.entry.js +0 -6
- package/dist/calcite/p-e37de482.entry.js +0 -6
- package/dist/calcite/p-e5654368.system.entry.js +0 -6
- package/dist/calcite/p-e81582e2.system.entry.js +0 -6
- package/dist/calcite/p-e947616a.system.js +0 -6
- package/dist/calcite/p-ea8da431.entry.js +0 -6
- package/dist/calcite/p-f0ffc73b.system.entry.js +0 -6
- package/dist/calcite/p-f2c3e549.entry.js +0 -6
- package/dist/calcite/p-f3b2ceda.system.entry.js +0 -6
- package/dist/calcite/p-f4762a3c.system.entry.js +0 -6
- package/dist/calcite/p-f6dc1965.system.js +0 -6
- package/dist/calcite/p-f89a3ae0.entry.js +0 -6
- package/dist/calcite/p-fd3709a9.entry.js +0 -6
- package/dist/calcite/p-fd4a8502.system.entry.js +0 -6
- package/dist/calcite/p-fe0c8795.js +0 -6
- package/dist/cjs/globalAttributes-d9abfe93.js +0 -71
- package/dist/cjs/locale-f8b73f7b.js +0 -262
- package/dist/cjs/observers-b128b31a.js +0 -27
- package/dist/collection/utils/popper.js +0 -121
- package/dist/components/globalAttributes.js +0 -68
- package/dist/custom-elements/index.d.ts +0 -597
- package/dist/custom-elements/index.js +0 -28868
- package/dist/esm/globalAttributes-8ae16cdc.js +0 -68
- package/dist/esm/locale-07e2113e.js +0 -254
- package/dist/esm/observers-0433c649.js +0 -25
- package/dist/esm-es5/ExpandToggle-2bc42f9b.js +0 -6
- package/dist/esm-es5/Heading-04d330d7.js +0 -6
- package/dist/esm-es5/app-globals-51ac9156.js +0 -6
- package/dist/esm-es5/array-0910abb3.js +0 -6
- package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
- package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
- package/dist/esm-es5/calcite-action-group.entry.js +0 -6
- package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
- package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
- package/dist/esm-es5/calcite-action.entry.js +0 -6
- package/dist/esm-es5/calcite-alert.entry.js +0 -6
- package/dist/esm-es5/calcite-avatar.entry.js +0 -6
- package/dist/esm-es5/calcite-block_2.entry.js +0 -6
- package/dist/esm-es5/calcite-button.entry.js +0 -6
- package/dist/esm-es5/calcite-card.entry.js +0 -6
- package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
- package/dist/esm-es5/calcite-chip.entry.js +0 -6
- package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
- package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
- package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
- package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
- package/dist/esm-es5/calcite-fab.entry.js +0 -6
- package/dist/esm-es5/calcite-filter.entry.js +0 -6
- package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
- package/dist/esm-es5/calcite-flow.entry.js +0 -6
- package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
- package/dist/esm-es5/calcite-handle.entry.js +0 -6
- package/dist/esm-es5/calcite-icon.entry.js +0 -6
- package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
- package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
- package/dist/esm-es5/calcite-input-message.entry.js +0 -6
- package/dist/esm-es5/calcite-input-number.entry.js +0 -6
- package/dist/esm-es5/calcite-input-text.entry.js +0 -6
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
- package/dist/esm-es5/calcite-input.entry.js +0 -6
- package/dist/esm-es5/calcite-label.entry.js +0 -6
- package/dist/esm-es5/calcite-link.entry.js +0 -6
- package/dist/esm-es5/calcite-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-loader.entry.js +0 -6
- package/dist/esm-es5/calcite-modal.entry.js +0 -6
- package/dist/esm-es5/calcite-notice.entry.js +0 -6
- package/dist/esm-es5/calcite-option_3.entry.js +0 -6
- package/dist/esm-es5/calcite-pagination.entry.js +0 -6
- package/dist/esm-es5/calcite-panel.entry.js +0 -6
- package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
- package/dist/esm-es5/calcite-progress.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
- package/dist/esm-es5/calcite-rating.entry.js +0 -6
- package/dist/esm-es5/calcite-scrim.entry.js +0 -6
- package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
- package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
- package/dist/esm-es5/calcite-split-button.entry.js +0 -6
- package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
- package/dist/esm-es5/calcite-switch.entry.js +0 -6
- package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
- package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tile.entry.js +0 -6
- package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
- package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
- package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
- package/dist/esm-es5/calcite.js +0 -6
- package/dist/esm-es5/conditionalSlot-d5001a49.js +0 -6
- package/dist/esm-es5/debounce-2f55a96e.js +0 -6
- package/dist/esm-es5/dom-8d6885a3.js +0 -6
- package/dist/esm-es5/filter-0992d9b5.js +0 -6
- package/dist/esm-es5/floating-ui-73470e07.js +0 -6
- package/dist/esm-es5/form-04d526a7.js +0 -6
- package/dist/esm-es5/globalAttributes-8ae16cdc.js +0 -6
- package/dist/esm-es5/guid-673b0460.js +0 -6
- package/dist/esm-es5/index-53f14b87.js +0 -7
- package/dist/esm-es5/index.js +0 -5
- package/dist/esm-es5/interactive-9ecb4bdb.js +0 -6
- package/dist/esm-es5/interfaces-042402ce.js +0 -6
- package/dist/esm-es5/key-517ec64b.js +0 -6
- package/dist/esm-es5/label-2f34aa9c.js +0 -6
- package/dist/esm-es5/loader.js +0 -6
- package/dist/esm-es5/locale-07e2113e.js +0 -6
- package/dist/esm-es5/math-7cf904c8.js +0 -6
- package/dist/esm-es5/observers-0433c649.js +0 -6
- package/dist/esm-es5/openCloseComponent-a5c239be.js +0 -6
- package/dist/esm-es5/resources-322d57c9.js +0 -6
- package/dist/esm-es5/resources-3820b68e.js +0 -6
- package/dist/esm-es5/resources-4b489775.js +0 -6
- package/dist/esm-es5/resources-54fe885f.js +0 -6
- package/dist/esm-es5/resources-771c3479.js +0 -6
- package/dist/esm-es5/resources-dbe60819.js +0 -6
- package/dist/esm-es5/sortable.esm-4941a440.js +0 -12
- package/dist/esm-es5/utils-bb9d3be5.js +0 -6
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -9,6 +9,8 @@ import { l as localizeTimeString, f as formatTimeString, i as isValidTime, d as
|
|
|
9
9
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
|
10
10
|
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
11
11
|
import { u as updateHostInteraction } from './interactive.js';
|
|
12
|
+
import { n as numberStringFormatter, u as updateEffectiveLocale, c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
13
|
+
import { n as numberKeys } from './key.js';
|
|
12
14
|
import { d as defineCustomElement$8 } from './action.js';
|
|
13
15
|
import { d as defineCustomElement$7 } from './icon.js';
|
|
14
16
|
import { d as defineCustomElement$6 } from './input.js';
|
|
@@ -16,7 +18,7 @@ import { d as defineCustomElement$5 } from './loader.js';
|
|
|
16
18
|
import { d as defineCustomElement$4 } from './popover.js';
|
|
17
19
|
import { d as defineCustomElement$3 } from './progress.js';
|
|
18
20
|
|
|
19
|
-
const inputTimePickerCss = "
|
|
21
|
+
const inputTimePickerCss = "@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)}: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:inline-block;-webkit-user-select:none;user-select:none}: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}";
|
|
20
22
|
|
|
21
23
|
const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
22
24
|
constructor() {
|
|
@@ -30,39 +32,35 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
30
32
|
//
|
|
31
33
|
//--------------------------------------------------------------------------
|
|
32
34
|
/**
|
|
33
|
-
*
|
|
35
|
+
* When `true`, the component is active.
|
|
34
36
|
*
|
|
35
|
-
* @deprecated Use open instead.
|
|
37
|
+
* @deprecated Use `open` instead.
|
|
36
38
|
*/
|
|
37
39
|
this.active = false;
|
|
38
|
-
/** When true
|
|
40
|
+
/** When `true`, displays the `calcite-time-picker` component. */
|
|
39
41
|
this.open = false;
|
|
40
|
-
/**
|
|
42
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
41
43
|
this.disabled = false;
|
|
42
44
|
/**
|
|
43
|
-
* When true
|
|
45
|
+
* When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
|
|
44
46
|
*
|
|
45
47
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
46
48
|
*/
|
|
47
49
|
this.readOnly = false;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
|
-
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
54
|
-
/**
|
|
55
|
-
* When true, makes the component required for form-submission.
|
|
51
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
56
52
|
*
|
|
57
53
|
* @internal
|
|
58
54
|
*/
|
|
59
55
|
this.required = false;
|
|
60
|
-
/**
|
|
56
|
+
/** Specifies the size of the component. */
|
|
61
57
|
this.scale = "m";
|
|
62
58
|
/**
|
|
63
59
|
* Determines the type of positioning to use for the overlaid content.
|
|
64
60
|
*
|
|
65
|
-
* Using
|
|
61
|
+
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
|
62
|
+
*
|
|
63
|
+
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
66
64
|
*
|
|
67
65
|
*/
|
|
68
66
|
this.overlayPositioning = "absolute";
|
|
@@ -72,9 +70,9 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
72
70
|
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
|
73
71
|
*/
|
|
74
72
|
this.placement = "auto";
|
|
75
|
-
/**
|
|
73
|
+
/** Specifies the granularity the component's `value` must adhere to (in seconds). */
|
|
76
74
|
this.step = 60;
|
|
77
|
-
/** The
|
|
75
|
+
/** The component's value in UTC (always 24-hour format). */
|
|
78
76
|
this.value = null;
|
|
79
77
|
/** whether the value of the input was changed as a result of user typing or not */
|
|
80
78
|
this.internalValueChange = false;
|
|
@@ -82,14 +80,33 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
82
80
|
this.referenceElementId = `input-time-picker-${guid()}`;
|
|
83
81
|
//--------------------------------------------------------------------------
|
|
84
82
|
//
|
|
83
|
+
// State
|
|
84
|
+
//
|
|
85
|
+
//--------------------------------------------------------------------------
|
|
86
|
+
this.effectiveLocale = "";
|
|
87
|
+
//--------------------------------------------------------------------------
|
|
88
|
+
//
|
|
85
89
|
// Event Listeners
|
|
86
90
|
//
|
|
87
91
|
//--------------------------------------------------------------------------
|
|
88
92
|
this.calciteInternalInputBlurHandler = () => {
|
|
89
93
|
this.open = false;
|
|
90
94
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
91
|
-
const
|
|
92
|
-
|
|
95
|
+
const { effectiveLocale: locale, numberingSystem, value, calciteInputEl } = this;
|
|
96
|
+
numberStringFormatter.numberFormatOptions = {
|
|
97
|
+
locale,
|
|
98
|
+
numberingSystem,
|
|
99
|
+
useGrouping: false
|
|
100
|
+
};
|
|
101
|
+
const delocalizedValue = numberStringFormatter.delocalize(calciteInputEl.value);
|
|
102
|
+
const localizedInputValue = localizeTimeString({
|
|
103
|
+
value: delocalizedValue,
|
|
104
|
+
includeSeconds: shouldIncludeSeconds,
|
|
105
|
+
locale,
|
|
106
|
+
numberingSystem
|
|
107
|
+
});
|
|
108
|
+
this.setInputValue(localizedInputValue ||
|
|
109
|
+
localizeTimeString({ value, locale, numberingSystem, includeSeconds: shouldIncludeSeconds }));
|
|
93
110
|
};
|
|
94
111
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
95
112
|
if (!this.readOnly) {
|
|
@@ -99,7 +116,21 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
99
116
|
};
|
|
100
117
|
this.calciteInputInputHandler = (event) => {
|
|
101
118
|
const target = event.target;
|
|
102
|
-
|
|
119
|
+
numberStringFormatter.numberFormatOptions = {
|
|
120
|
+
locale: this.effectiveLocale,
|
|
121
|
+
numberingSystem: this.numberingSystem,
|
|
122
|
+
useGrouping: false
|
|
123
|
+
};
|
|
124
|
+
const delocalizedValue = numberStringFormatter.delocalize(target.value);
|
|
125
|
+
this.setValue({ value: delocalizedValue });
|
|
126
|
+
// only translate the numerals until blur
|
|
127
|
+
const localizedValue = delocalizedValue
|
|
128
|
+
.split("")
|
|
129
|
+
.map((char) => numberKeys.includes(char)
|
|
130
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
131
|
+
: char)
|
|
132
|
+
.join("");
|
|
133
|
+
this.setInputValue(localizedValue);
|
|
103
134
|
};
|
|
104
135
|
this.timePickerChangeHandler = (event) => {
|
|
105
136
|
event.stopPropagation();
|
|
@@ -145,7 +176,12 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
145
176
|
this.setValue = ({ value, origin = "input" }) => {
|
|
146
177
|
const previousValue = this.value;
|
|
147
178
|
const newValue = formatTimeString(value);
|
|
148
|
-
const newLocalizedValue = localizeTimeString(
|
|
179
|
+
const newLocalizedValue = localizeTimeString({
|
|
180
|
+
value: newValue,
|
|
181
|
+
locale: this.effectiveLocale,
|
|
182
|
+
numberingSystem: this.numberingSystem,
|
|
183
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
184
|
+
});
|
|
149
185
|
this.internalValueChange = origin !== "external" && origin !== "loading";
|
|
150
186
|
const shouldEmit = origin !== "loading" &&
|
|
151
187
|
origin !== "external" &&
|
|
@@ -191,15 +227,17 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
191
227
|
this.open = false;
|
|
192
228
|
return;
|
|
193
229
|
}
|
|
194
|
-
|
|
230
|
+
if (value) {
|
|
231
|
+
this.reposition(true);
|
|
232
|
+
}
|
|
195
233
|
}
|
|
196
234
|
handleDisabledAndReadOnlyChange(value) {
|
|
197
235
|
if (!value) {
|
|
198
236
|
this.open = false;
|
|
199
237
|
}
|
|
200
238
|
}
|
|
201
|
-
|
|
202
|
-
|
|
239
|
+
localeChanged() {
|
|
240
|
+
updateEffectiveLocale(this);
|
|
203
241
|
}
|
|
204
242
|
valueWatcher(newValue) {
|
|
205
243
|
if (!this.internalValueChange) {
|
|
@@ -207,6 +245,14 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
207
245
|
}
|
|
208
246
|
this.internalValueChange = false;
|
|
209
247
|
}
|
|
248
|
+
effectiveLocaleWatcher() {
|
|
249
|
+
this.setInputValue(localizeTimeString({
|
|
250
|
+
value: this.value,
|
|
251
|
+
locale: this.effectiveLocale,
|
|
252
|
+
numberingSystem: this.numberingSystem,
|
|
253
|
+
includeSeconds: this.shouldIncludeSeconds()
|
|
254
|
+
}));
|
|
255
|
+
}
|
|
210
256
|
clickHandler(event) {
|
|
211
257
|
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
212
258
|
return;
|
|
@@ -235,10 +281,14 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
235
281
|
var _a;
|
|
236
282
|
(_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
237
283
|
}
|
|
238
|
-
/**
|
|
239
|
-
|
|
284
|
+
/**
|
|
285
|
+
* Updates the position of the component.
|
|
286
|
+
*
|
|
287
|
+
* @param delayed
|
|
288
|
+
*/
|
|
289
|
+
async reposition(delayed = false) {
|
|
240
290
|
var _a;
|
|
241
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition();
|
|
291
|
+
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
|
242
292
|
}
|
|
243
293
|
onLabelClick() {
|
|
244
294
|
this.setFocus();
|
|
@@ -252,6 +302,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
252
302
|
//
|
|
253
303
|
//--------------------------------------------------------------------------
|
|
254
304
|
connectedCallback() {
|
|
305
|
+
connectLocalized(this);
|
|
255
306
|
const { active, open } = this;
|
|
256
307
|
if (this.value) {
|
|
257
308
|
this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
|
|
@@ -271,6 +322,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
271
322
|
disconnectedCallback() {
|
|
272
323
|
disconnectLabel(this);
|
|
273
324
|
disconnectForm(this);
|
|
325
|
+
disconnectLocalized(this);
|
|
274
326
|
}
|
|
275
327
|
componentDidRender() {
|
|
276
328
|
updateHostInteraction(this);
|
|
@@ -282,7 +334,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
282
334
|
// --------------------------------------------------------------------------
|
|
283
335
|
render() {
|
|
284
336
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
285
|
-
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.
|
|
337
|
+
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.effectiveLocale, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), h(HiddenFormInputSlot, { component: this })));
|
|
286
338
|
}
|
|
287
339
|
get el() { return this; }
|
|
288
340
|
static get watchers() { return {
|
|
@@ -290,8 +342,9 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
290
342
|
"open": ["openHandler"],
|
|
291
343
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
292
344
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
293
|
-
"locale": ["
|
|
294
|
-
"value": ["valueWatcher"]
|
|
345
|
+
"locale": ["localeChanged"],
|
|
346
|
+
"value": ["valueWatcher"],
|
|
347
|
+
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
295
348
|
}; }
|
|
296
349
|
static get style() { return inputTimePickerCss; }
|
|
297
350
|
}, [1, "calcite-input-time-picker", {
|
|
@@ -311,14 +364,16 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
311
364
|
"intlSecond": [1, "intl-second"],
|
|
312
365
|
"intlSecondDown": [1, "intl-second-down"],
|
|
313
366
|
"intlSecondUp": [1, "intl-second-up"],
|
|
314
|
-
"locale": [1025
|
|
315
|
-
"name": [
|
|
367
|
+
"locale": [1025],
|
|
368
|
+
"name": [1],
|
|
369
|
+
"numberingSystem": [1, "numbering-system"],
|
|
316
370
|
"required": [516],
|
|
317
371
|
"scale": [513],
|
|
318
372
|
"overlayPositioning": [1, "overlay-positioning"],
|
|
319
373
|
"placement": [513],
|
|
320
|
-
"step": [
|
|
374
|
+
"step": [2],
|
|
321
375
|
"value": [1025],
|
|
376
|
+
"effectiveLocale": [32],
|
|
322
377
|
"localizedValue": [32],
|
|
323
378
|
"setFocus": [64],
|
|
324
379
|
"reposition": [64]
|
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { I as Input, d as defineCustomElement$1 } from './input.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { L as Label, d as defineCustomElement$1 } from './label.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { L as Link, d as defineCustomElement$1 } from './link.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { H as Heading, c as constrainHeadingLevel } from './Heading.js';
|
|
@@ -12,7 +12,7 @@ const CSS = {
|
|
|
12
12
|
};
|
|
13
13
|
const HEADING_LEVEL = 3;
|
|
14
14
|
|
|
15
|
-
const listItemGroupCss = "
|
|
15
|
+
const listItemGroupCss = "@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)}:host([hidden]){display:none}:host{display:flex;flex-direction:column}.heading{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:flex;inline-size:100%;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){padding-inline-start:0.5rem}";
|
|
16
16
|
|
|
17
17
|
const ListItemGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -29,7 +29,7 @@ const SLOTS = {
|
|
|
29
29
|
actionsEnd: "actions-end"
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const listItemCss = "
|
|
32
|
+
const listItemCss = "@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)}: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;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{box-sizing:border-box}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:flex;flex:1 1 auto;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){padding-inline-start:0.5rem}";
|
|
33
33
|
|
|
34
34
|
const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
35
35
|
constructor() {
|
|
@@ -42,11 +42,11 @@ const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
42
42
|
//
|
|
43
43
|
// --------------------------------------------------------------------------
|
|
44
44
|
/**
|
|
45
|
-
* When true
|
|
45
|
+
* When `true`, prevents the content of the component from user interaction.
|
|
46
46
|
*/
|
|
47
47
|
this.nonInteractive = false;
|
|
48
48
|
/**
|
|
49
|
-
* When true
|
|
49
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
50
50
|
*/
|
|
51
51
|
this.disabled = false;
|
|
52
52
|
}
|
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -10,7 +10,7 @@ const CSS = {
|
|
|
10
10
|
container: "container"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
const listCss = "
|
|
13
|
+
const listCss = "@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)}: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:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.container *{box-sizing:border-box}::slotted(calcite-list-item){margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item:last-child){--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)}";
|
|
14
14
|
|
|
15
15
|
const List = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -23,7 +23,7 @@ const List = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
23
23
|
//
|
|
24
24
|
// --------------------------------------------------------------------------
|
|
25
25
|
/**
|
|
26
|
-
* When true
|
|
26
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
27
27
|
*/
|
|
28
28
|
this.disabled = false;
|
|
29
29
|
}
|
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { L as Loader, d as defineCustomElement$1 } from './loader.js';
|
|
7
7
|
|
|
@@ -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.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.96
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import { f as focusElement, b as getSlotted, h as ensureId,
|
|
7
|
+
import { f as focusElement, b as getSlotted, h as ensureId, j as isCalciteFocusable } from './dom.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
|
|
@@ -148,7 +148,7 @@ const TEXT = {
|
|
|
148
148
|
close: "Close"
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open][calcite-hydrated]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open][calcite-hydrated]) .modal--open{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
151
|
+
const modalCss = "@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)}:host([hidden]){display:none}:host{position:fixed;inset:0px;z-index:700;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;transition-delay:0ms}:host([open]) .modal--open{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:400;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}";
|
|
152
152
|
|
|
153
153
|
const isFocusableExtended = (el) => {
|
|
154
154
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -171,22 +171,22 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
171
171
|
//
|
|
172
172
|
//--------------------------------------------------------------------------
|
|
173
173
|
/**
|
|
174
|
-
* When true
|
|
174
|
+
* When `true`, the component is active.
|
|
175
175
|
*
|
|
176
|
-
* @deprecated use open instead
|
|
176
|
+
* @deprecated use `open` instead.
|
|
177
177
|
*/
|
|
178
178
|
this.active = false;
|
|
179
|
-
/** When true
|
|
179
|
+
/** When `true`, displays and positions the component. */
|
|
180
180
|
this.open = false;
|
|
181
|
-
/** Passes a function to run before the
|
|
181
|
+
/** Passes a function to run before the component closes. */
|
|
182
182
|
this.beforeClose = () => Promise.resolve();
|
|
183
|
-
/** When true
|
|
183
|
+
/** When `true`, disables the component's close button. */
|
|
184
184
|
this.disableCloseButton = false;
|
|
185
|
-
/** When true
|
|
185
|
+
/** When `true`, disables the closing of the component when clicked outside. */
|
|
186
186
|
this.disableOutsideClose = false;
|
|
187
187
|
/** Accessible name for the component's close button. */
|
|
188
188
|
this.intlClose = TEXT.close;
|
|
189
|
-
/** When true
|
|
189
|
+
/** When `true`, disables the default close on escape behavior. */
|
|
190
190
|
this.disableEscape = false;
|
|
191
191
|
/** Specifies the size of the component. */
|
|
192
192
|
this.scale = "m";
|
|
@@ -195,7 +195,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
195
195
|
/** Sets the background color of the component's content. */
|
|
196
196
|
this.backgroundColor = "white";
|
|
197
197
|
/**
|
|
198
|
-
* When true
|
|
198
|
+
* When `true`, disables spacing to the content area slot.
|
|
199
199
|
*
|
|
200
200
|
* @deprecated Use `--calcite-modal-padding` CSS variable instead.
|
|
201
201
|
*/
|