@esri/calcite-components 1.1.1-next.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/card/t9n/messages.json +1 -1
- package/dist/calcite/assets/card/t9n/messages_en.json +1 -1
- package/dist/calcite/assets/text-area/t9n/index.d.ts +4 -0
- package/dist/calcite/assets/text-area/t9n/messages.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ar.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_bg.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_bs.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ca.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_cs.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_da.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_de.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_el.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_en.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_es.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_et.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_fi.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_fr.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_he.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_hr.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_hu.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_id.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_it.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ja.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ko.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_lt.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_lv.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_nl.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_no.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_pl.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_pt-BR.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_pt-PT.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ro.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_ru.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_sk.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_sl.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_sr.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_sv.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_th.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_tr.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_uk.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_vi.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_zh-CN.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_zh-HK.json +4 -0
- package/dist/calcite/assets/text-area/t9n/messages_zh-TW.json +4 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-74f1c90b.js → p-002052f4.js} +2 -2
- package/dist/calcite/p-0142973c.entry.js +6 -0
- package/dist/calcite/p-016e277d.js +6 -0
- package/dist/calcite/p-05215047.js +6 -0
- package/dist/calcite/{p-488815fe.js → p-0b1f31dd.js} +1 -1
- package/dist/calcite/p-11c55611.entry.js +6 -0
- package/dist/calcite/{p-4534f76b.entry.js → p-13f0cdda.entry.js} +2 -2
- package/dist/calcite/{p-f86309f4.entry.js → p-1465611a.entry.js} +2 -2
- package/dist/calcite/{p-46d33089.js → p-19422786.js} +2 -2
- package/dist/calcite/{p-72a0bc37.js → p-1ac41302.js} +1 -1
- package/dist/calcite/p-1d969d62.entry.js +6 -0
- package/dist/calcite/{p-288e344c.entry.js → p-1e3ef9c7.entry.js} +2 -2
- package/dist/calcite/{p-8a043b9f.js → p-2154b7de.js} +1 -1
- package/dist/calcite/{p-7bb42e56.js → p-232abc61.js} +1 -1
- package/dist/calcite/{p-9981817e.js → p-26d8628f.js} +1 -1
- package/dist/calcite/{p-23ad4bfb.js → p-28407877.js} +1 -1
- package/dist/calcite/{p-3aeef6ee.entry.js → p-2d675cda.entry.js} +2 -2
- package/dist/calcite/p-320e4fc1.entry.js +6 -0
- package/dist/calcite/p-3421c539.entry.js +6 -0
- package/dist/calcite/p-3719b1b0.js +6 -0
- package/dist/calcite/p-384ea8a3.entry.js +6 -0
- package/dist/calcite/p-3aa0bac2.entry.js +6 -0
- package/dist/calcite/{p-f5c4eb5d.entry.js → p-3bfa15de.entry.js} +2 -2
- package/dist/calcite/p-3cf4821b.entry.js +6 -0
- package/dist/calcite/p-3d51c732.entry.js +6 -0
- package/dist/calcite/{p-20599012.entry.js → p-3e11d878.entry.js} +2 -2
- package/dist/calcite/{p-19f1fa4d.js → p-403627a1.js} +2 -2
- package/dist/calcite/{p-6c13263d.entry.js → p-42dd4006.entry.js} +2 -2
- package/dist/calcite/{p-c3712bbc.js → p-4680a41d.js} +1 -1
- package/dist/calcite/p-48ab9a1b.entry.js +6 -0
- package/dist/calcite/{p-e77e94ed.js → p-48b61c4b.js} +1 -1
- package/dist/calcite/{p-bb0841d9.entry.js → p-4ae1fc79.entry.js} +2 -2
- package/dist/calcite/{p-fd97b1db.entry.js → p-4df1bcf0.entry.js} +2 -2
- package/dist/calcite/{p-48436a62.js → p-5351c56f.js} +1 -1
- package/dist/calcite/{p-8dd480dc.js → p-55b16a54.js} +1 -1
- package/dist/calcite/{p-e6b2d77a.entry.js → p-55baafb1.entry.js} +2 -2
- package/dist/calcite/p-57475aad.entry.js +6 -0
- package/dist/calcite/p-57ae6d0f.entry.js +6 -0
- package/dist/calcite/{p-badf1941.entry.js → p-5b9ce91b.entry.js} +2 -2
- package/dist/calcite/{p-22f92d3d.js → p-5f91b826.js} +2 -2
- package/dist/calcite/{p-c2f6d427.entry.js → p-67dc4de5.entry.js} +2 -2
- package/dist/calcite/{p-51361b1d.entry.js → p-6813168f.entry.js} +2 -2
- package/dist/calcite/{p-1b45013b.entry.js → p-6931b06b.entry.js} +2 -2
- package/dist/calcite/{p-3f511ad2.entry.js → p-6fff0923.entry.js} +2 -2
- package/dist/calcite/p-72f2f04b.entry.js +6 -0
- package/dist/calcite/{p-8ff60594.js → p-76928557.js} +1 -1
- package/dist/calcite/{p-541d6ac8.entry.js → p-774c2616.entry.js} +2 -2
- package/dist/calcite/{p-92ea927c.js → p-78b606c3.js} +2 -2
- package/dist/calcite/{p-ae886df6.entry.js → p-863adbc0.entry.js} +2 -2
- package/dist/calcite/{p-24f78b05.js → p-8728d1dd.js} +1 -1
- package/dist/calcite/{p-22e3649b.entry.js → p-872be970.entry.js} +2 -2
- package/dist/calcite/{p-f6270352.js → p-89b710ae.js} +3 -3
- package/dist/calcite/{p-48ea2302.entry.js → p-89edac92.entry.js} +2 -2
- package/dist/calcite/{p-ad9d3a88.entry.js → p-8a099a88.entry.js} +2 -2
- package/dist/calcite/{p-45e7b17e.js → p-911962bd.js} +1 -1
- package/dist/calcite/p-969fa230.entry.js +6 -0
- package/dist/calcite/{p-0768b989.entry.js → p-9dea6751.entry.js} +2 -2
- package/dist/calcite/{p-ce55a9cd.entry.js → p-9e7a442e.entry.js} +2 -2
- package/dist/calcite/{p-abf7b09b.entry.js → p-9ea8dd79.entry.js} +2 -2
- package/dist/calcite/{p-ba611b6f.js → p-9ee2e227.js} +2 -2
- package/dist/calcite/p-9f076e5d.entry.js +6 -0
- package/dist/calcite/p-a8790d90.entry.js +6 -0
- package/dist/calcite/p-a9158071.js +6 -0
- package/dist/calcite/{p-7146c7ed.entry.js → p-aa232102.entry.js} +2 -2
- package/dist/calcite/{p-760418c4.entry.js → p-aa271401.entry.js} +2 -2
- package/dist/calcite/{p-8eb2ba0e.entry.js → p-ae7e71fe.entry.js} +2 -2
- package/dist/calcite/{p-5b32aa48.entry.js → p-aff8afea.entry.js} +2 -2
- package/dist/calcite/{p-cc3b11f8.entry.js → p-b0493125.entry.js} +2 -2
- package/dist/calcite/{p-48fb9a71.js → p-b16095ce.js} +1 -1
- package/dist/calcite/{p-c5b57b48.entry.js → p-b5774a7b.entry.js} +2 -2
- package/dist/calcite/{p-a2ccabc4.js → p-b5c59463.js} +1 -1
- package/dist/calcite/{p-6d3415c8.js → p-b80446b3.js} +3 -3
- package/dist/calcite/p-b9e13a83.entry.js +6 -0
- package/dist/calcite/{p-fe096fb9.js → p-bb5a7862.js} +1 -1
- package/dist/calcite/p-bd6b3b70.entry.js +6 -0
- package/dist/calcite/{p-df17746a.entry.js → p-be98f17e.entry.js} +2 -2
- package/dist/calcite/{p-f1d4dac5.entry.js → p-c519e114.entry.js} +2 -2
- package/dist/calcite/{p-8575ea0d.js → p-cce57689.js} +1 -1
- package/dist/calcite/{p-7a9de49d.js → p-cd6ef38b.js} +2 -2
- package/dist/calcite/p-ce979e83.entry.js +6 -0
- package/dist/calcite/{p-c056871a.entry.js → p-d1077a87.entry.js} +2 -2
- package/dist/calcite/p-d2b28559.entry.js +6 -0
- package/dist/calcite/p-d30a68d5.js +6 -0
- package/dist/calcite/p-d33afdbc.entry.js +6 -0
- package/dist/calcite/p-d6d039b5.entry.js +6 -0
- package/dist/calcite/{p-9dd20596.entry.js → p-d7a6cadf.entry.js} +2 -2
- package/dist/calcite/{p-117b271d.js → p-d95dd729.js} +2 -2
- package/dist/calcite/{p-0453ed05.entry.js → p-dc8b0da1.entry.js} +2 -2
- package/dist/calcite/{p-2e3f6511.entry.js → p-de9d0e6d.entry.js} +2 -2
- package/dist/calcite/{p-94633289.js → p-e1349fa9.js} +2 -2
- package/dist/calcite/{p-e8fe7c0d.entry.js → p-f0a56732.entry.js} +2 -2
- package/dist/calcite/p-fa5829ef.entry.js +6 -0
- package/dist/calcite/{p-e4c3a1c4.entry.js → p-fd3b58e5.entry.js} +2 -2
- package/dist/calcite/{p-b79fb255.entry.js → p-fd46c6b7.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-0c5a99b1.js → ExpandToggle-7367419c.js} +5 -5
- package/dist/cjs/{Heading-68ba8117.js → Heading-dcba7c66.js} +2 -2
- package/dist/cjs/{app-globals-496272d2.js → app-globals-0788b16e.js} +2 -2
- package/dist/cjs/{array-da28e904.js → array-16cfc2ce.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +27 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +15 -14
- package/dist/cjs/calcite-card.cjs.entry.js +11 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -80
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +27 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +22 -11
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +20 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +246 -0
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-f73b8511.js → conditionalSlot-5656d59c.js} +3 -3
- package/dist/cjs/{debounce-2f62ac4c.js → debounce-a11903ad.js} +1 -1
- package/dist/cjs/{dom-706667df.js → dom-dc375f9f.js} +6 -3
- package/dist/cjs/{filter-00579327.js → filter-09a2cbf3.js} +2 -2
- package/dist/cjs/{floating-ui-3a46b800.js → floating-ui-d76898e7.js} +4 -4
- package/dist/cjs/{focusTrapComponent-63afc9b2.js → focusTrapComponent-10b93e09.js} +2 -2
- package/dist/cjs/{form-05a4fadc.js → form-85e72154.js} +38 -8
- package/dist/cjs/{guid-fcb9c017.js → guid-4daeb326.js} +1 -1
- package/dist/cjs/{index-3dc519f7.js → index-b6e1067b.js} +5 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-27db04a1.js → interactive-059fb608.js} +1 -1
- package/dist/cjs/{key-235be376.js → key-d7b507f8.js} +1 -1
- package/dist/cjs/{label-26dbc15e.js → label-5380391e.js} +2 -2
- package/dist/cjs/{loadable-c38cb815.js → loadable-19d269a6.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-0eccd9e9.js → locale-cc5d712a.js} +4 -4
- package/dist/cjs/{math-f65f9b02.js → math-da4701fc.js} +1 -1
- package/dist/cjs/{observers-484369d9.js → observers-8c623fb7.js} +1 -1
- package/dist/cjs/{openCloseComponent-946420f4.js → openCloseComponent-08e6daa2.js} +2 -2
- package/dist/cjs/{resources-9535a54e.js → resources-0c82b41e.js} +1 -1
- package/dist/cjs/{resources-6a879402.js → resources-6c2223d4.js} +1 -1
- package/dist/cjs/{resources-ec5696ad.js → resources-78766ff3.js} +1 -1
- package/dist/cjs/{resources-f5f0d735.js → resources-90786f6b.js} +5 -5
- package/dist/cjs/{resources-66f2676f.js → resources-e94f129e.js} +1 -1
- package/dist/cjs/{resources-4afcd38d.js → resources-ed022f42.js} +1 -1
- package/dist/cjs/{sortable.esm-495796bb.js → sortable.esm-ac24f8d4.js} +1 -1
- package/dist/cjs/{t9n-35486495.js → t9n-394540b0.js} +3 -3
- package/dist/cjs/throttle-27c991ba.js +75 -0
- package/dist/cjs/{utils-c07c9630.js → utils-3c442102.js} +1 -1
- package/dist/cjs/{utils-bf97166e.js → utils-bf247e2a.js} +1 -1
- package/dist/cjs/{utils-ff0206d1.js → utils-f0c307f8.js} +3 -3
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +37 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +21 -4
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages.json +1 -1
- package/dist/collection/components/card/assets/card/t9n/messages_en.json +1 -1
- package/dist/collection/components/card/card.js +2 -3
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +19 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +19 -1
- 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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +36 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +32 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +19 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +19 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +19 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +19 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +19 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +30 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +19 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +19 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +19 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +19 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +19 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +38 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +19 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/assets/text-area/t9n/index.d.ts +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ar.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bg.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_bs.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ca.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_cs.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_da.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_de.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_el.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_en.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_es.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_et.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fi.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_fr.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_he.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hr.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_hu.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_id.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_it.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ja.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ko.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lt.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_lv.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_nl.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_no.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pl.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-BR.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_pt-PT.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ro.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_ru.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sk.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sl.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sr.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_sv.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_th.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_tr.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_uk.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_vi.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-CN.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-HK.json +4 -0
- package/dist/collection/components/text-area/assets/text-area/t9n/messages_zh-TW.json +4 -0
- package/dist/collection/components/text-area/resources.js +27 -0
- package/dist/collection/components/text-area/text-area.css +287 -0
- package/dist/collection/components/text-area/text-area.js +691 -0
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +7 -7
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +4 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/utils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +36 -7
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +18 -2
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -4
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -3
- 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 +2 -67
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +3 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +3 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +3 -1
- package/dist/components/calcite-input-text.js +3 -1
- package/dist/components/calcite-input-time-picker.js +3 -1
- 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 +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +15 -3
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +3 -1
- package/dist/components/calcite-rating.js +3 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +3 -1
- package/dist/components/calcite-select.js +3 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +3 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +20 -2
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.d.ts +11 -0
- package/dist/components/calcite-text-area.js +283 -0
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +5 -5
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +3 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +18 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +4 -1
- package/dist/components/dropdown.js +17 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +37 -8
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +3 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +73 -0
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/esm/{ExpandToggle-6dfbcf2f.js → ExpandToggle-65fad00d.js} +5 -5
- package/dist/esm/{Heading-0f8bb46b.js → Heading-1ea6b199.js} +2 -2
- package/dist/esm/{app-globals-8db1b089.js → app-globals-23bff25a.js} +2 -2
- package/dist/esm/{array-c34af128.js → array-d1cecef4.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +27 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +15 -14
- package/dist/esm/calcite-card.entry.js +11 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +15 -79
- package/dist/esm/calcite-combobox_3.entry.js +19 -18
- package/dist/esm/calcite-date-picker_4.entry.js +27 -12
- package/dist/esm/calcite-dropdown_3.entry.js +26 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +14 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +17 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -13
- package/dist/esm/calcite-input-text.entry.js +14 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -13
- package/dist/esm/calcite-input.entry.js +14 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +11 -10
- package/dist/esm/calcite-pagination.entry.js +22 -11
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +11 -10
- package/dist/esm/calcite-rating.entry.js +14 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +20 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +242 -0
- package/dist/esm/calcite-tile-select_2.entry.js +8 -8
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-bc3f48fd.js → conditionalSlot-fa8a7775.js} +3 -3
- package/dist/esm/{debounce-2f846e59.js → debounce-82a5515a.js} +1 -1
- package/dist/esm/{dom-dbf8ad7f.js → dom-d2c51b4f.js} +6 -3
- package/dist/esm/{filter-bbee9d77.js → filter-10435724.js} +2 -2
- package/dist/esm/{floating-ui-bac898d0.js → floating-ui-1971b3db.js} +4 -4
- package/dist/esm/{focusTrapComponent-01ea8684.js → focusTrapComponent-607ce12d.js} +2 -2
- package/dist/esm/{form-2110bc63.js → form-02f2cff9.js} +38 -9
- package/dist/esm/{guid-13cd82e7.js → guid-a16483b5.js} +1 -1
- package/dist/esm/{index-14a76282.js → index-7cac2f3f.js} +5 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-25afe2e1.js → interactive-06caa37b.js} +1 -1
- package/dist/esm/{key-e3a5ba48.js → key-81b2634f.js} +1 -1
- package/dist/esm/{label-f5e9f775.js → label-c485f4f8.js} +2 -2
- package/dist/esm/{loadable-b2a39249.js → loadable-8c121e4b.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-56186cbf.js → locale-270ffb3c.js} +4 -4
- package/dist/esm/{math-f83da299.js → math-a2bb65cb.js} +1 -1
- package/dist/esm/{observers-c93b41a6.js → observers-77a8b45d.js} +1 -1
- package/dist/esm/{openCloseComponent-f3056902.js → openCloseComponent-6705b509.js} +2 -2
- package/dist/esm/{resources-92aa2e8b.js → resources-044bcbc4.js} +1 -1
- package/dist/esm/{resources-2063ea55.js → resources-3f7ed5a5.js} +1 -1
- package/dist/esm/{resources-5d23bf07.js → resources-48b20118.js} +1 -1
- package/dist/esm/{resources-e064d460.js → resources-780d7239.js} +5 -5
- package/dist/esm/{resources-3bb07d09.js → resources-7a04dab1.js} +1 -1
- package/dist/esm/{resources-093f789e.js → resources-add10009.js} +1 -1
- package/dist/esm/{sortable.esm-67f7d66b.js → sortable.esm-325dcfc4.js} +1 -1
- package/dist/esm/{t9n-dc4494d1.js → t9n-223ccb9b.js} +3 -3
- package/dist/esm/throttle-0023c320.js +73 -0
- package/dist/esm/{utils-03006c2d.js → utils-35c56cd6.js} +1 -1
- package/dist/esm/{utils-2d3df878.js → utils-7c9d4f71.js} +3 -3
- package/dist/esm/{utils-06b5bddc.js → utils-c1c0f2c9.js} +1 -1
- package/dist/extras/docs-json.json +837 -4
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-group/action-group.d.ts +5 -1
- package/dist/types/components/button/button.d.ts +6 -0
- package/dist/types/components/checkbox/checkbox.d.ts +6 -0
- package/dist/types/components/combobox/combobox.d.ts +6 -0
- package/dist/types/components/date-picker/date-picker.d.ts +5 -1
- package/dist/types/components/dropdown/dropdown.d.ts +5 -1
- package/dist/types/components/input/input.d.ts +6 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -0
- package/dist/types/components/input-number/input-number.d.ts +6 -0
- package/dist/types/components/input-text/input-text.d.ts +6 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -0
- package/dist/types/components/pagination/pagination.d.ts +5 -1
- package/dist/types/components/radio-button/radio-button.d.ts +6 -0
- package/dist/types/components/rating/rating.d.ts +6 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +6 -0
- package/dist/types/components/select/select.d.ts +6 -0
- package/dist/types/components/slider/slider.d.ts +6 -0
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +6 -0
- package/dist/types/components/text-area/assets/text-area/t9n/index.d.ts +4 -0
- package/dist/types/components/text-area/resources.d.ts +22 -0
- package/dist/types/components/text-area/text-area.d.ts +160 -0
- package/dist/types/components/tile-select/tile-select.d.ts +3 -3
- package/dist/types/components.d.ts +336 -0
- package/dist/types/preact.d.ts +5 -0
- package/dist/types/utils/form.d.ts +20 -4
- package/hydrate/index.js +835 -451
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-05be1985.entry.js +0 -6
- package/dist/calcite/p-08ff4ee6.entry.js +0 -6
- package/dist/calcite/p-0e2a04e5.entry.js +0 -6
- package/dist/calcite/p-0ee9a401.entry.js +0 -6
- package/dist/calcite/p-1bb8fab3.entry.js +0 -6
- package/dist/calcite/p-1c5f01f0.entry.js +0 -6
- package/dist/calcite/p-1dae11a4.entry.js +0 -6
- package/dist/calcite/p-28c2cdf8.js +0 -6
- package/dist/calcite/p-28f74ebe.entry.js +0 -6
- package/dist/calcite/p-3c74c413.js +0 -6
- package/dist/calcite/p-3cb23f94.entry.js +0 -6
- package/dist/calcite/p-424be0e9.entry.js +0 -6
- package/dist/calcite/p-6003caa1.entry.js +0 -6
- package/dist/calcite/p-6e447493.js +0 -6
- package/dist/calcite/p-79434104.entry.js +0 -6
- package/dist/calcite/p-799ce995.entry.js +0 -6
- package/dist/calcite/p-7d61c491.entry.js +0 -6
- package/dist/calcite/p-81cd8241.js +0 -6
- package/dist/calcite/p-8978cb1e.entry.js +0 -6
- package/dist/calcite/p-98ec07dc.entry.js +0 -6
- package/dist/calcite/p-a26871f1.entry.js +0 -6
- package/dist/calcite/p-af272da9.entry.js +0 -6
- package/dist/calcite/p-b610191a.entry.js +0 -6
- package/dist/calcite/p-e7ecc383.entry.js +0 -6
- package/dist/calcite/p-f367aaf0.entry.js +0 -6
- package/dist/calcite/p-f691bd92.entry.js +0 -6
- package/dist/extras/vscode-data.json +0 -6138
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.2.0
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const form = require('./form-85e72154.js');
|
|
12
|
+
const label = require('./label-5380391e.js');
|
|
13
|
+
const dom = require('./dom-dc375f9f.js');
|
|
14
|
+
const locale = require('./locale-cc5d712a.js');
|
|
15
|
+
const observers = require('./observers-8c623fb7.js');
|
|
16
|
+
const loadable = require('./loadable-19d269a6.js');
|
|
17
|
+
const t9n = require('./t9n-394540b0.js');
|
|
18
|
+
const interactive = require('./interactive-059fb608.js');
|
|
19
|
+
const throttle = require('./throttle-27c991ba.js');
|
|
20
|
+
require('./guid-4daeb326.js');
|
|
21
|
+
require('./resources-ed022f42.js');
|
|
22
|
+
require('./key-d7b507f8.js');
|
|
23
|
+
require('./debounce-a11903ad.js');
|
|
24
|
+
|
|
25
|
+
const CSS = {
|
|
26
|
+
characterLimit: "character-limit",
|
|
27
|
+
content: "content",
|
|
28
|
+
container: "container",
|
|
29
|
+
footer: "footer",
|
|
30
|
+
resizeDisabled: "resize--disabled",
|
|
31
|
+
resizeDisabledX: "resize--disabled-x",
|
|
32
|
+
resizeDisabledY: "resize--disabled-y",
|
|
33
|
+
characterOverLimit: "character--over-limit",
|
|
34
|
+
readOnly: "readonly",
|
|
35
|
+
textAreaInvalid: "text-area--invalid",
|
|
36
|
+
footerSlotted: "footer--slotted",
|
|
37
|
+
borderColor: "border--color",
|
|
38
|
+
hide: "hide",
|
|
39
|
+
blockSizeFull: "block-size--full",
|
|
40
|
+
footerEndSlotOnly: "footer--end-only"
|
|
41
|
+
};
|
|
42
|
+
const SLOTS = {
|
|
43
|
+
footerStart: "footer-start",
|
|
44
|
+
footerEnd: "footer-end"
|
|
45
|
+
};
|
|
46
|
+
const RESIZE_TIMEOUT = 100;
|
|
47
|
+
|
|
48
|
+
const textAreaCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:inline-block;block-size:100%;inline-size:100%}textarea{position:relative;margin:0px;box-sizing:border-box;display:block;inline-size:100%;border-width:1px;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family);color:var(--calcite-ui-text-1);min-inline-size:12rem;border-block-end:1px solid var(--calcite-ui-border-3)}@media screen and (max-width: 480px){textarea{resize:none}}textarea:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}textarea.text-area--invalid{border-width:1px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-danger)}textarea.text-area--invalid:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}textarea.footer--slotted{min-inline-size:18rem}.footer{box-sizing:border-box;display:flex;align-items:center;border-width:1px;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-danger)}:host([resize=none]) textarea{resize:none}:host([resize=horizontal]) textarea{resize:horizontal}:host([resize=vertical]) textarea{resize:vertical}:host([scale=s]){font-size:var(--calcite-font-size--2)}:host([scale=s]) .footer{padding-block:0.25rem;padding-inline:0.5rem;min-block-size:1.75rem}:host([scale=s]) textarea{padding-block:0.25rem;padding-inline:0.5rem}:host([scale=s]) textarea,:host([scale=s]) .footer,:host([scale=s]) .character-limit{padding-inline-start:0.5rem;font-size:var(--calcite-font-size--2)}:host([scale=m]) textarea{padding-block:0.5rem;padding-inline:0.75rem}:host([scale=m]) .footer{padding-block:0.5rem;padding-inline:0.75rem;min-block-size:2.25rem}:host([scale=m]) textarea,:host([scale=m]) .footer,:host([scale=m]) .character-limit{padding-inline-start:0.75rem;font-size:var(--calcite-font-size--1)}:host([scale=l]){font-size:var(--calcite-font-size-0)}:host([scale=l]) textarea{padding-block:0.75rem;padding-inline:1rem}:host([scale=l]) .footer{padding-block:0.75rem;padding-inline:1rem;min-block-size:2.75rem}:host([scale=l]) textarea,:host([scale=l]) .footer,:host([scale=l]) .character-limit{padding-inline-start:1rem;font-size:var(--calcite-font-size-0)}.readonly{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host([disabled]) textarea,:host([disabled]) footer{opacity:0.5}.border--color{border-block-end-width:1px;border-color:var(--calcite-ui-border-input)}.border--color:focus{border-block-end-width:2px}textarea.block-size--full{block-size:100%}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}::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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
49
|
+
|
|
50
|
+
const TextArea = class {
|
|
51
|
+
constructor(hostRef) {
|
|
52
|
+
index.registerInstance(this, hostRef);
|
|
53
|
+
this.calciteTextAreaInput = index.createEvent(this, "calciteTextAreaInput", 7);
|
|
54
|
+
this.calciteTextAreaChange = index.createEvent(this, "calciteTextAreaChange", 7);
|
|
55
|
+
this.handleInput = (event) => {
|
|
56
|
+
this.value = event.target["value"];
|
|
57
|
+
this.calciteTextAreaInput.emit();
|
|
58
|
+
};
|
|
59
|
+
this.handleChange = () => {
|
|
60
|
+
this.calciteTextAreaChange.emit();
|
|
61
|
+
};
|
|
62
|
+
this.contentSlotChangeHandler = () => {
|
|
63
|
+
if (!this.value) {
|
|
64
|
+
const nodes = this.el.childNodes;
|
|
65
|
+
nodes.forEach((el) => {
|
|
66
|
+
if (el.nodeName === "#text") {
|
|
67
|
+
this.value = el.nodeValue.trim();
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
this.renderCharacterLimit = () => {
|
|
73
|
+
return this.maxLength ? (index.h("span", { class: CSS.characterLimit }, index.h("span", { class: { [CSS.characterOverLimit]: this.value?.length > this.maxLength } }, this.getLocalizedCharacterLength()), "/", locale.numberStringFormatter.localize(this.maxLength.toString()))) : null;
|
|
74
|
+
};
|
|
75
|
+
this.resizeObserver = observers.createObserver("resize", async () => {
|
|
76
|
+
await loadable.componentLoaded(this);
|
|
77
|
+
const { textAreaHeight, textAreaWidth, elHeight, elWidth, footerHeight, footerWidth } = this.getHeightandWidthOfElements();
|
|
78
|
+
if (footerWidth > 0 && footerWidth !== textAreaWidth) {
|
|
79
|
+
this.footerEl.style.width = `${textAreaWidth}px`;
|
|
80
|
+
}
|
|
81
|
+
if (elWidth !== textAreaWidth || elHeight !== textAreaHeight + (footerHeight || 0)) {
|
|
82
|
+
this.setHeightAndWidthToAuto();
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
// height and width are set to auto here to avoid overlapping on to neighboring elements in the layout when user starts resizing.
|
|
86
|
+
// throttle is used to avoid flashing of textarea when user resizes.
|
|
87
|
+
this.setHeightAndWidthToAuto = throttle.throttle(() => {
|
|
88
|
+
if (this.resize === "vertical" || this.resize === "both") {
|
|
89
|
+
this.el.style.height = "auto";
|
|
90
|
+
}
|
|
91
|
+
if (this.resize === "horizontal" || this.resize === "both") {
|
|
92
|
+
this.el.style.width = "auto";
|
|
93
|
+
}
|
|
94
|
+
}, RESIZE_TIMEOUT, { leading: false });
|
|
95
|
+
this.setTextAreaEl = (el) => {
|
|
96
|
+
this.textAreaEl = el;
|
|
97
|
+
this.resizeObserver.observe(el);
|
|
98
|
+
};
|
|
99
|
+
this.autofocus = false;
|
|
100
|
+
this.columns = undefined;
|
|
101
|
+
this.disabled = false;
|
|
102
|
+
this.form = undefined;
|
|
103
|
+
this.groupSeparator = false;
|
|
104
|
+
this.label = undefined;
|
|
105
|
+
this.maxLength = undefined;
|
|
106
|
+
this.messages = undefined;
|
|
107
|
+
this.name = undefined;
|
|
108
|
+
this.numberingSystem = undefined;
|
|
109
|
+
this.placeholder = undefined;
|
|
110
|
+
this.readOnly = false;
|
|
111
|
+
this.required = false;
|
|
112
|
+
this.resize = "both";
|
|
113
|
+
this.rows = undefined;
|
|
114
|
+
this.scale = "m";
|
|
115
|
+
this.value = undefined;
|
|
116
|
+
this.wrap = "soft";
|
|
117
|
+
this.messageOverrides = undefined;
|
|
118
|
+
this.defaultMessages = undefined;
|
|
119
|
+
this.endSlotHasElements = undefined;
|
|
120
|
+
this.startSlotHasElements = undefined;
|
|
121
|
+
this.effectiveLocale = "";
|
|
122
|
+
}
|
|
123
|
+
onMessagesChange() {
|
|
124
|
+
/* wired up by t9n util */
|
|
125
|
+
}
|
|
126
|
+
//--------------------------------------------------------------------------
|
|
127
|
+
//
|
|
128
|
+
// Lifecycle
|
|
129
|
+
//
|
|
130
|
+
//--------------------------------------------------------------------------
|
|
131
|
+
connectedCallback() {
|
|
132
|
+
label.connectLabel(this);
|
|
133
|
+
form.connectForm(this);
|
|
134
|
+
locale.connectLocalized(this);
|
|
135
|
+
t9n.connectMessages(this);
|
|
136
|
+
}
|
|
137
|
+
async componentWillLoad() {
|
|
138
|
+
loadable.setUpLoadableComponent(this);
|
|
139
|
+
await t9n.setUpMessages(this);
|
|
140
|
+
}
|
|
141
|
+
componentDidLoad() {
|
|
142
|
+
loadable.setComponentLoaded(this);
|
|
143
|
+
}
|
|
144
|
+
componentDidRender() {
|
|
145
|
+
interactive.updateHostInteraction(this);
|
|
146
|
+
this.setTextAreaHeight();
|
|
147
|
+
}
|
|
148
|
+
disconnectedCallback() {
|
|
149
|
+
label.disconnectLabel(this);
|
|
150
|
+
form.disconnectForm(this);
|
|
151
|
+
locale.disconnectLocalized(this);
|
|
152
|
+
t9n.disconnectMessages(this);
|
|
153
|
+
this.resizeObserver?.disconnect();
|
|
154
|
+
}
|
|
155
|
+
render() {
|
|
156
|
+
const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;
|
|
157
|
+
return (index.h(index.Host, null, index.h("textarea", { "aria-invalid": dom.toAriaBoolean(this.value?.length > this.maxLength), "aria-label": label.getLabelText(this), autofocus: this.autofocus, class: {
|
|
158
|
+
[CSS.readOnly]: this.readOnly,
|
|
159
|
+
[CSS.textAreaInvalid]: this.value?.length > this.maxLength,
|
|
160
|
+
[CSS.footerSlotted]: this.endSlotHasElements && this.startSlotHasElements,
|
|
161
|
+
[CSS.blockSizeFull]: !hasFooter,
|
|
162
|
+
[CSS.borderColor]: !hasFooter
|
|
163
|
+
}, cols: this.columns, disabled: this.disabled, name: this.name, onChange: this.handleChange, onInput: this.handleInput, placeholder: this.placeholder, readonly: this.readOnly, required: this.required, rows: this.rows, value: this.value, wrap: this.wrap,
|
|
164
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
165
|
+
ref: this.setTextAreaEl }), index.h("span", { class: { [CSS.content]: true } }, index.h("slot", { onSlotchange: this.contentSlotChangeHandler })), index.h("footer", { class: {
|
|
166
|
+
[CSS.footer]: true,
|
|
167
|
+
[CSS.readOnly]: this.readOnly,
|
|
168
|
+
[CSS.hide]: !hasFooter
|
|
169
|
+
}, ref: (el) => (this.footerEl = el) }, index.h("div", { class: {
|
|
170
|
+
[CSS.container]: true,
|
|
171
|
+
[CSS.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements
|
|
172
|
+
} }, index.h("slot", { name: SLOTS.footerStart, onSlotchange: (event) => (this.startSlotHasElements = dom.slotChangeHasAssignedElement(event)) }), index.h("slot", { name: SLOTS.footerEnd, onSlotchange: (event) => (this.endSlotHasElements = dom.slotChangeHasAssignedElement(event)) })), this.renderCharacterLimit()), index.h(form.HiddenFormInputSlot, { component: this })));
|
|
173
|
+
}
|
|
174
|
+
//--------------------------------------------------------------------------
|
|
175
|
+
//
|
|
176
|
+
// Public Methods
|
|
177
|
+
//
|
|
178
|
+
//--------------------------------------------------------------------------
|
|
179
|
+
/** Sets focus on the component. */
|
|
180
|
+
async setFocus() {
|
|
181
|
+
await loadable.componentLoaded(this);
|
|
182
|
+
this.textAreaEl.focus();
|
|
183
|
+
}
|
|
184
|
+
/** Selects the text of the component's `value`. */
|
|
185
|
+
async selectText() {
|
|
186
|
+
await loadable.componentLoaded(this);
|
|
187
|
+
this.textAreaEl.select();
|
|
188
|
+
}
|
|
189
|
+
effectiveLocaleChange() {
|
|
190
|
+
t9n.updateMessages(this, this.effectiveLocale);
|
|
191
|
+
}
|
|
192
|
+
//--------------------------------------------------------------------------
|
|
193
|
+
//
|
|
194
|
+
// Private Methods
|
|
195
|
+
//
|
|
196
|
+
//--------------------------------------------------------------------------
|
|
197
|
+
onFormReset() {
|
|
198
|
+
this.value = this.defaultValue;
|
|
199
|
+
}
|
|
200
|
+
onLabelClick() {
|
|
201
|
+
this.setFocus();
|
|
202
|
+
}
|
|
203
|
+
getLocalizedCharacterLength() {
|
|
204
|
+
locale.numberStringFormatter.numberFormatOptions = {
|
|
205
|
+
locale: this.effectiveLocale,
|
|
206
|
+
numberingSystem: this.numberingSystem,
|
|
207
|
+
signDisplay: "never",
|
|
208
|
+
useGrouping: this.groupSeparator
|
|
209
|
+
};
|
|
210
|
+
return locale.numberStringFormatter.localize(this.value ? this.value.length.toString() : "0");
|
|
211
|
+
}
|
|
212
|
+
syncHiddenFormInput(input) {
|
|
213
|
+
input.setCustomValidity("");
|
|
214
|
+
if (this.value?.length > this.maxLength) {
|
|
215
|
+
input.setCustomValidity(this.messages.tooLong);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
setTextAreaHeight() {
|
|
219
|
+
const { textAreaHeight, elHeight, footerHeight } = this.getHeightandWidthOfElements();
|
|
220
|
+
if (footerHeight > 0 && textAreaHeight + footerHeight != elHeight) {
|
|
221
|
+
this.textAreaEl.style.height = `${elHeight - footerHeight}px`;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
getHeightandWidthOfElements() {
|
|
225
|
+
const { height: textAreaHeight, width: textAreaWidth } = this.textAreaEl.getBoundingClientRect();
|
|
226
|
+
const { height: elHeight, width: elWidth } = this.el.getBoundingClientRect();
|
|
227
|
+
const { height: footerHeight, width: footerWidth } = this.footerEl?.getBoundingClientRect();
|
|
228
|
+
return {
|
|
229
|
+
textAreaHeight,
|
|
230
|
+
textAreaWidth,
|
|
231
|
+
elHeight,
|
|
232
|
+
elWidth,
|
|
233
|
+
footerHeight,
|
|
234
|
+
footerWidth
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
static get assetsDirs() { return ["assets"]; }
|
|
238
|
+
get el() { return index.getElement(this); }
|
|
239
|
+
static get watchers() { return {
|
|
240
|
+
"messageOverrides": ["onMessagesChange"],
|
|
241
|
+
"effectiveLocale": ["effectiveLocaleChange"]
|
|
242
|
+
}; }
|
|
243
|
+
};
|
|
244
|
+
TextArea.style = textAreaCss;
|
|
245
|
+
|
|
246
|
+
exports.calcite_text_area = TextArea;
|
|
@@ -1,16 +1,16 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const interactive = require('./interactive-
|
|
13
|
-
const loadable = require('./loadable-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const guid = require('./guid-4daeb326.js');
|
|
12
|
+
const interactive = require('./interactive-059fb608.js');
|
|
13
|
+
const loadable = require('./loadable-19d269a6.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
checked: "checked",
|
|
@@ -109,14 +109,14 @@ const TileSelect = class {
|
|
|
109
109
|
}
|
|
110
110
|
event.stopPropagation();
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
clickHandler(event) {
|
|
113
113
|
const target = event.target;
|
|
114
114
|
const targets = ["calcite-tile", "calcite-tile-select"];
|
|
115
115
|
if (targets.includes(target.localName)) {
|
|
116
116
|
this.input.click();
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
|
|
119
|
+
pointerEnterHandler() {
|
|
120
120
|
if (this.input.localName === "calcite-radio-button") {
|
|
121
121
|
this.input.hovered = true;
|
|
122
122
|
}
|
|
@@ -124,7 +124,7 @@ const TileSelect = class {
|
|
|
124
124
|
this.input.hovered = true;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
pointerLeaveHandler() {
|
|
128
128
|
if (this.input.localName === "calcite-radio-button") {
|
|
129
129
|
this.input.hovered = false;
|
|
130
130
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
12
|
-
const dom = require('./dom-
|
|
13
|
-
const interactive = require('./interactive-
|
|
14
|
-
require('./observers-
|
|
15
|
-
require('./guid-
|
|
16
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const conditionalSlot = require('./conditionalSlot-5656d59c.js');
|
|
12
|
+
const dom = require('./dom-dc375f9f.js');
|
|
13
|
+
const interactive = require('./interactive-059fb608.js');
|
|
14
|
+
require('./observers-8c623fb7.js');
|
|
15
|
+
require('./guid-4daeb326.js');
|
|
16
|
+
require('./resources-ed022f42.js');
|
|
17
17
|
|
|
18
18
|
const SLOTS = {
|
|
19
19
|
contentStart: "content-start",
|
|
@@ -1,22 +1,22 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
12
|
-
const dom = require('./dom-
|
|
13
|
-
const locale = require('./locale-
|
|
14
|
-
const t9n = require('./t9n-
|
|
15
|
-
const Heading = require('./Heading-
|
|
16
|
-
const observers = require('./observers-
|
|
17
|
-
require('./guid-
|
|
18
|
-
require('./resources-
|
|
19
|
-
require('./key-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const conditionalSlot = require('./conditionalSlot-5656d59c.js');
|
|
12
|
+
const dom = require('./dom-dc375f9f.js');
|
|
13
|
+
const locale = require('./locale-cc5d712a.js');
|
|
14
|
+
const t9n = require('./t9n-394540b0.js');
|
|
15
|
+
const Heading = require('./Heading-dcba7c66.js');
|
|
16
|
+
const observers = require('./observers-8c623fb7.js');
|
|
17
|
+
require('./guid-4daeb326.js');
|
|
18
|
+
require('./resources-ed022f42.js');
|
|
19
|
+
require('./key-d7b507f8.js');
|
|
20
20
|
|
|
21
21
|
const CSS$1 = {
|
|
22
22
|
container: "container",
|
|
@@ -1,19 +1,19 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const floatingUi = require('./floating-ui-
|
|
13
|
-
const guid = require('./guid-
|
|
14
|
-
const openCloseComponent = require('./openCloseComponent-
|
|
15
|
-
require('./resources-
|
|
16
|
-
require('./debounce-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const dom = require('./dom-dc375f9f.js');
|
|
12
|
+
const floatingUi = require('./floating-ui-d76898e7.js');
|
|
13
|
+
const guid = require('./guid-4daeb326.js');
|
|
14
|
+
const openCloseComponent = require('./openCloseComponent-08e6daa2.js');
|
|
15
|
+
require('./resources-ed022f42.js');
|
|
16
|
+
require('./debounce-a11903ad.js');
|
|
17
17
|
|
|
18
18
|
const CSS = {
|
|
19
19
|
container: "container",
|
|
@@ -1,20 +1,20 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
13
|
-
const interactive = require('./interactive-
|
|
14
|
-
const openCloseComponent = require('./openCloseComponent-
|
|
15
|
-
const resources = require('./resources-
|
|
16
|
-
require('./guid-
|
|
17
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const dom = require('./dom-dc375f9f.js');
|
|
12
|
+
const conditionalSlot = require('./conditionalSlot-5656d59c.js');
|
|
13
|
+
const interactive = require('./interactive-059fb608.js');
|
|
14
|
+
const openCloseComponent = require('./openCloseComponent-08e6daa2.js');
|
|
15
|
+
const resources = require('./resources-ed022f42.js');
|
|
16
|
+
require('./guid-4daeb326.js');
|
|
17
|
+
require('./observers-8c623fb7.js');
|
|
18
18
|
|
|
19
19
|
function isTreeItem(element) {
|
|
20
20
|
return element?.matches("calcite-tree-item");
|
|
@@ -1,27 +1,27 @@
|
|
|
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.
|
|
4
|
+
* v1.2.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const sortable_esm = require('./sortable.esm-
|
|
12
|
-
const interactive = require('./interactive-
|
|
13
|
-
const loadable = require('./loadable-
|
|
14
|
-
const locale = require('./locale-
|
|
15
|
-
const observers = require('./observers-
|
|
16
|
-
const t9n = require('./t9n-
|
|
17
|
-
const resources = require('./resources-
|
|
18
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
19
|
-
const dom = require('./dom-
|
|
20
|
-
const guid = require('./guid-
|
|
21
|
-
require('./key-
|
|
22
|
-
require('./array-
|
|
23
|
-
require('./debounce-
|
|
24
|
-
require('./resources-
|
|
10
|
+
const index = require('./index-b6e1067b.js');
|
|
11
|
+
const sortable_esm = require('./sortable.esm-ac24f8d4.js');
|
|
12
|
+
const interactive = require('./interactive-059fb608.js');
|
|
13
|
+
const loadable = require('./loadable-19d269a6.js');
|
|
14
|
+
const locale = require('./locale-cc5d712a.js');
|
|
15
|
+
const observers = require('./observers-8c623fb7.js');
|
|
16
|
+
const t9n = require('./t9n-394540b0.js');
|
|
17
|
+
const resources = require('./resources-90786f6b.js');
|
|
18
|
+
const conditionalSlot = require('./conditionalSlot-5656d59c.js');
|
|
19
|
+
const dom = require('./dom-dc375f9f.js');
|
|
20
|
+
const guid = require('./guid-4daeb326.js');
|
|
21
|
+
require('./key-d7b507f8.js');
|
|
22
|
+
require('./array-16cfc2ce.js');
|
|
23
|
+
require('./debounce-a11903ad.js');
|
|
24
|
+
require('./resources-ed022f42.js');
|
|
25
25
|
|
|
26
26
|
const CSS = {
|
|
27
27
|
container: "container",
|