@esri/calcite-components 1.0.0-next.595 → 1.0.0-next.597
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/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-0043efc4.js +6 -0
- package/dist/calcite/p-016cee24.entry.js +6 -0
- package/dist/calcite/p-01cb5477.js +6 -0
- package/dist/calcite/{p-3f0bff3d.js → p-034710a1.js} +1 -1
- package/dist/calcite/p-06505dc6.entry.js +6 -0
- package/dist/calcite/{p-0c1c7d97.js → p-1085e82f.js} +2 -2
- package/dist/calcite/p-10c17d1c.entry.js +6 -0
- package/dist/calcite/{p-528f6d0e.js → p-1421f9ec.js} +1 -1
- package/dist/calcite/p-14c442cb.entry.js +6 -0
- package/dist/calcite/{p-212c3e0a.js → p-179ed97a.js} +1 -1
- package/dist/calcite/p-19c7faaf.entry.js +6 -0
- package/dist/calcite/p-1b9e3fb0.entry.js +6 -0
- package/dist/calcite/{p-baa991b4.js → p-205462c9.js} +1 -1
- package/dist/calcite/p-21931632.entry.js +6 -0
- package/dist/calcite/p-228315da.entry.js +6 -0
- package/dist/calcite/p-27969266.entry.js +6 -0
- package/dist/calcite/{p-17d3d1e6.js → p-2a88fa13.js} +1 -1
- package/dist/calcite/p-2e141574.entry.js +6 -0
- package/dist/calcite/p-36aa3ea2.entry.js +6 -0
- package/dist/calcite/p-3d1ef84a.entry.js +6 -0
- package/dist/calcite/{p-ca1e3efb.js → p-3d3d179c.js} +2 -2
- package/dist/calcite/p-416510d6.js +6 -0
- package/dist/calcite/p-421dc091.entry.js +6 -0
- package/dist/calcite/p-46ff1ae6.entry.js +6 -0
- package/dist/calcite/p-4c8218d4.entry.js +6 -0
- package/dist/calcite/p-4e7b4c6c.entry.js +6 -0
- package/dist/calcite/{p-1faa49f5.js → p-576a4d3b.js} +2 -2
- package/dist/calcite/p-59772111.js +6 -0
- package/dist/calcite/p-5a81c608.entry.js +6 -0
- package/dist/calcite/p-5da89821.entry.js +6 -0
- package/dist/calcite/{p-ac18cf8c.js → p-5dc47d03.js} +1 -1
- package/dist/calcite/p-61cbec79.entry.js +6 -0
- package/dist/calcite/{p-a330e586.js → p-627b4177.js} +1 -1
- package/dist/calcite/p-6505334e.entry.js +6 -0
- package/dist/calcite/{p-364c1221.js → p-65e8434d.js} +1 -1
- package/dist/calcite/p-672cf3c2.js +6 -0
- package/dist/calcite/p-67890d9f.js +6 -0
- package/dist/calcite/{p-e3aab5a0.js → p-67c0d879.js} +1 -1
- package/dist/calcite/{p-040f674d.js → p-6b8d9887.js} +2 -2
- package/dist/calcite/p-6bf1fe3b.entry.js +6 -0
- package/dist/calcite/p-6e070c45.entry.js +6 -0
- package/dist/calcite/p-7dddc346.js +6 -0
- package/dist/calcite/p-7e36e2c5.entry.js +6 -0
- package/dist/calcite/p-80a6379c.entry.js +6 -0
- package/dist/calcite/p-86384397.entry.js +6 -0
- package/dist/calcite/p-91db8a1d.entry.js +6 -0
- package/dist/calcite/p-975aba66.js +7 -0
- package/dist/calcite/p-9804459d.entry.js +6 -0
- package/dist/calcite/p-99889377.entry.js +6 -0
- package/dist/calcite/{p-77331416.js → p-a0db47b9.js} +1 -1
- package/dist/calcite/p-a25cc528.entry.js +6 -0
- package/dist/calcite/p-a5ec748f.entry.js +6 -0
- package/dist/calcite/p-a71a4bc5.entry.js +6 -0
- package/dist/calcite/p-a7626d19.entry.js +6 -0
- package/dist/calcite/p-a8b04902.entry.js +6 -0
- package/dist/calcite/p-ab03590a.entry.js +6 -0
- package/dist/calcite/p-ae8f6623.entry.js +6 -0
- package/dist/calcite/{p-25d96137.js → p-b072ee90.js} +2 -2
- package/dist/calcite/p-b31ac46b.entry.js +6 -0
- package/dist/calcite/p-b7dafefc.entry.js +6 -0
- package/dist/calcite/p-b8492482.entry.js +6 -0
- package/dist/{esm-es5/index.js → calcite/p-b9542a0a.js} +2 -1
- package/dist/calcite/p-ba334a9d.entry.js +6 -0
- package/dist/calcite/p-bb21323e.entry.js +6 -0
- package/dist/calcite/{p-f7a84b1c.js → p-c2258fac.js} +1 -1
- package/dist/calcite/p-ce15d4a4.entry.js +6 -0
- package/dist/calcite/p-ce171933.entry.js +6 -0
- package/dist/calcite/{p-da09db80.js → p-d16a1324.js} +1 -1
- package/dist/calcite/p-d465da16.entry.js +6 -0
- package/dist/calcite/p-d4bab92e.entry.js +6 -0
- package/dist/calcite/p-d6067141.entry.js +6 -0
- package/dist/calcite/p-d758a89d.entry.js +6 -0
- package/dist/calcite/p-da5fac1a.entry.js +6 -0
- package/dist/calcite/p-df9538a5.entry.js +6 -0
- package/dist/calcite/p-dfd51f34.entry.js +6 -0
- package/dist/calcite/p-e1c801a6.entry.js +6 -0
- package/dist/calcite/p-e9ccd0bc.entry.js +6 -0
- package/dist/calcite/p-ec1d7ff7.entry.js +6 -0
- package/dist/calcite/p-ec7e67d0.entry.js +6 -0
- package/dist/calcite/p-ed51bd87.entry.js +6 -0
- package/dist/calcite/p-f52edbbb.entry.js +6 -0
- package/dist/calcite/p-f64286c8.entry.js +6 -0
- package/dist/calcite/{p-fc949045.entry.js → p-f66dfaea.entry.js} +2 -2
- package/dist/calcite/p-f827044c.entry.js +6 -0
- package/dist/calcite/p-f94b6442.entry.js +6 -0
- package/dist/calcite/{p-cb82c3c5.js → p-fb5602cf.js} +2 -2
- package/dist/calcite/{p-0edfc62f.js → p-fd6d1ed1.js} +1 -1
- package/dist/calcite/p-ff82e6f2.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-4a0ab85e.js → ExpandToggle-73285037.js} +5 -5
- package/dist/cjs/{Heading-1fbb7bbc.js → Heading-5409de6d.js} +2 -2
- package/dist/cjs/{app-globals-d1a331c4.js → app-globals-77859a02.js} +2 -2
- package/dist/cjs/{array-63bb5266.js → array-f86c9258.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +22 -9
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +25 -20
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
- 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 +14 -16
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -24
- 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 +45 -40
- package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-number.cjs.entry.js +56 -37
- package/dist/cjs/calcite-input-text.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +77 -71
- package/dist/cjs/calcite-input.cjs.entry.js +81 -59
- 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 +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +19 -12
- package/dist/cjs/calcite-panel.cjs.entry.js +17 -19
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-popover_2.cjs.entry.js +16 -14
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +131 -84
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-48259d2f.js → conditionalSlot-cdf70b61.js} +3 -3
- package/dist/cjs/{debounce-444c61e6.js → debounce-1f3af549.js} +1 -1
- package/dist/cjs/{dom-17cbe5f9.js → dom-9409deef.js} +29 -3
- package/dist/cjs/{filter-4b4c17eb.js → filter-6497f68a.js} +3 -4
- package/dist/cjs/{floating-ui-d2fd91be.js → floating-ui-40005e27.js} +2 -2
- package/dist/cjs/{form-d36ccbaa.js → form-ed16c84e.js} +3 -3
- package/dist/cjs/{guid-71eeef87.js → guid-07011a93.js} +1 -1
- package/dist/cjs/{index-e699ab1d.js → index-dbaff4c6.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-248d4df1.js → interactive-825762eb.js} +1 -1
- package/dist/cjs/{interfaces-02117a90.js → interfaces-a747d1cf.js} +1 -1
- package/dist/cjs/{key-8da42cd8.js → key-40cfbef8.js} +1 -1
- package/dist/cjs/{label-3069e784.js → label-942c98df.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-3b5c2d93.js +385 -0
- package/dist/cjs/{math-934e3577.js → math-19d2ae8c.js} +1 -1
- package/dist/cjs/observers-2571ea25.js +48 -0
- package/dist/cjs/{openCloseComponent-11affea3.js → openCloseComponent-c152728d.js} +1 -1
- package/dist/cjs/{resources-328bbbda.js → resources-110e5929.js} +1 -1
- package/dist/cjs/{resources-6d78ccb2.js → resources-24f7e730.js} +11 -31
- package/dist/cjs/{resources-2502edf6.js → resources-5f061484.js} +5 -5
- package/dist/cjs/{resources-59a8b3e8.js → resources-adfdf58d.js} +1 -1
- package/dist/cjs/{resources-94f5d61d.js → resources-b88532e5.js} +1 -1
- package/dist/cjs/{resources-00871247.js → resources-e5387109.js} +1 -1
- package/dist/cjs/{sortable.esm-daee2adc.js → sortable.esm-9b594ce7.js} +1 -1
- package/dist/cjs/{utils-31a2c3c9.js → utils-0af662a9.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.e2e.js +183 -0
- package/dist/collection/components/accordion/accordion.js +160 -151
- package/dist/collection/components/accordion/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +8 -0
- package/dist/collection/components/accordion-item/accordion-item.js +301 -305
- 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.e2e.js +93 -0
- package/dist/collection/components/action/action.js +293 -290
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.e2e.js +290 -0
- package/dist/collection/components/action-bar/action-bar.js +239 -232
- 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.e2e.js +23 -0
- package/dist/collection/components/action-group/action-group.js +136 -133
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.e2e.js +153 -0
- package/dist/collection/components/action-menu/action-menu.js +220 -209
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.e2e.js +178 -0
- package/dist/collection/components/action-pad/action-pad.js +196 -189
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.e2e.js +294 -0
- package/dist/collection/components/alert/alert.js +410 -372
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.e2e.js +55 -0
- package/dist/collection/components/avatar/avatar.js +107 -99
- package/dist/collection/components/avatar/avatar.spec.js +42 -0
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.e2e.js +194 -0
- package/dist/collection/components/block/block.js +319 -326
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.e2e.js +132 -0
- package/dist/collection/components/block-section/block-section.js +143 -145
- 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.e2e.js +529 -0
- package/dist/collection/components/button/button.js +430 -424
- package/dist/collection/components/button/interfaces.js +0 -5
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.e2e.js +87 -0
- package/dist/collection/components/card/card.js +171 -179
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.e2e.js +105 -0
- package/dist/collection/components/checkbox/checkbox.js +269 -264
- package/dist/collection/components/chip/chip.e2e.js +149 -0
- package/dist/collection/components/chip/chip.js +258 -253
- 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.e2e.js +1068 -0
- package/dist/collection/components/color-picker/color-picker.js +779 -780
- 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/utils.spec.js +66 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +281 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +189 -170
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +71 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +81 -75
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.e2e.js +1043 -0
- package/dist/collection/components/combobox/combobox.js +551 -550
- 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.e2e.js +7 -0
- package/dist/collection/components/combobox-item/combobox-item.js +241 -235
- package/dist/collection/components/combobox-item/resources.js +1 -1
- 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.e2e.js +195 -0
- package/dist/collection/components/date-picker/date-picker.js +462 -447
- 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/utils.spec.js +55 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +16 -0
- package/dist/collection/components/date-picker-day/date-picker-day.js +284 -278
- package/dist/collection/components/date-picker-month/date-picker-month.js +256 -249
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +72 -0
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +228 -227
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.e2e.js +1030 -0
- package/dist/collection/components/dropdown/dropdown.js +422 -411
- 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.e2e.js +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.e2e.js +6 -0
- 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.e2e.js +114 -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.e2e.js +205 -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.e2e.js +166 -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.e2e.js +72 -0
- package/dist/collection/components/flow-item/flow-item.js +396 -394
- 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/functional/Heading.spec.js +33 -0
- package/dist/collection/components/graph/graph.e2e.js +69 -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.e2e.js +30 -0
- package/dist/collection/components/handle/handle.js +94 -85
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.e2e.js +75 -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/icon/utils.spec.js +61 -0
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +327 -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.e2e.js +1192 -0
- package/dist/collection/components/input/input.js +873 -856
- 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 +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +295 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +799 -793
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.e2e.js +122 -0
- package/dist/collection/components/input-message/input-message.js +124 -118
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.e2e.js +1004 -0
- package/dist/collection/components/input-number/input-number.js +803 -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.e2e.js +276 -0
- package/dist/collection/components/input-text/input-text.js +596 -597
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +241 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +591 -577
- package/dist/collection/components/interfaces.js +0 -5
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.e2e.js +156 -0
- package/dist/collection/components/label/label.js +189 -183
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.e2e.js +257 -0
- package/dist/collection/components/link/link.js +186 -180
- package/dist/collection/components/list/list.e2e.js +32 -0
- package/dist/collection/components/list/list.js +75 -69
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.e2e.js +46 -0
- package/dist/collection/components/list-item/list-item.js +107 -111
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +16 -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 +2 -2
- package/dist/collection/components/loader/loader.e2e.js +49 -0
- package/dist/collection/components/loader/loader.js +166 -169
- package/dist/collection/components/modal/interfaces.js +0 -5
- package/dist/collection/components/modal/modal.e2e.js +382 -0
- package/dist/collection/components/modal/modal.js +470 -473
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.e2e.js +127 -0
- package/dist/collection/components/notice/notice.js +263 -261
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.e2e.js +56 -0
- package/dist/collection/components/option/option.js +117 -107
- package/dist/collection/components/option-group/option-group.e2e.js +26 -0
- package/dist/collection/components/option-group/option-group.js +80 -72
- package/dist/collection/components/pagination/pagination.e2e.js +208 -0
- package/dist/collection/components/pagination/pagination.js +265 -257
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.e2e.js +281 -0
- package/dist/collection/components/panel/panel.js +543 -552
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.e2e.js +157 -0
- package/dist/collection/components/pick-list/pick-list.js +249 -235
- 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/shared-list-tests.js +463 -0
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +54 -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.e2e.js +124 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +346 -344
- 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.e2e.js +454 -0
- package/dist/collection/components/popover/popover.js +539 -534
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.e2e.js +38 -0
- package/dist/collection/components/popover-manager/popover-manager.js +60 -52
- package/dist/collection/components/progress/progress.e2e.js +7 -0
- package/dist/collection/components/progress/progress.js +105 -102
- package/dist/collection/components/radio-button/radio-button.e2e.js +332 -0
- package/dist/collection/components/radio-button/radio-button.js +345 -334
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +384 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +169 -158
- package/dist/collection/components/radio-group/interfaces.js +0 -5
- package/dist/collection/components/radio-group/radio-group.e2e.js +258 -0
- package/dist/collection/components/radio-group/radio-group.js +254 -242
- package/dist/collection/components/radio-group-item/radio-group-item.e2e.js +92 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +178 -175
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.e2e.js +450 -0
- package/dist/collection/components/rating/rating.js +273 -274
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.e2e.js +122 -0
- package/dist/collection/components/scrim/scrim.js +56 -53
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.e2e.js +266 -0
- package/dist/collection/components/select/select.js +226 -217
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.e2e.js +126 -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.e2e.js +66 -0
- package/dist/collection/components/shell-center-row/shell-center-row.js +79 -75
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +282 -0
- package/dist/collection/components/shell-panel/shell-panel.js +183 -175
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.e2e.js +648 -0
- package/dist/collection/components/slider/slider.js +594 -633
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +57 -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.e2e.js +206 -0
- package/dist/collection/components/split-button/split-button.js +363 -357
- package/dist/collection/components/stepper/interfaces.js +0 -5
- package/dist/collection/components/stepper/stepper.e2e.js +558 -0
- package/dist/collection/components/stepper/stepper.js +248 -236
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +6 -0
- package/dist/collection/components/stepper-item/stepper-item.js +395 -392
- package/dist/collection/components/switch/switch.e2e.js +91 -0
- package/dist/collection/components/switch/switch.js +187 -179
- package/dist/collection/components/tab/interfaces.js +0 -5
- package/dist/collection/components/tab/tab.e2e.js +49 -0
- package/dist/collection/components/tab/tab.js +192 -179
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +143 -0
- package/dist/collection/components/tab-nav/tab-nav.js +285 -275
- package/dist/collection/components/tab-title/tab-title.e2e.js +222 -0
- package/dist/collection/components/tab-title/tab-title.js +465 -453
- package/dist/collection/components/tabs/interfaces.js +0 -5
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.e2e.js +281 -0
- package/dist/collection/components/tabs/tabs.js +131 -124
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.e2e.js +79 -0
- package/dist/collection/components/tile/tile.js +170 -174
- 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.e2e.js +133 -0
- package/dist/collection/components/tile-select/tile-select.js +347 -333
- package/dist/collection/components/tile-select-group/interfaces.js +0 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +14 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +56 -50
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.e2e.js +737 -0
- package/dist/collection/components/time-picker/time-picker.js +533 -544
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.e2e.js +42 -0
- package/dist/collection/components/tip/tip.js +142 -143
- package/dist/collection/components/tip-group/tip-group.e2e.js +6 -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.e2e.js +176 -0
- package/dist/collection/components/tip-manager/tip-manager.js +225 -221
- package/dist/collection/components/tip-manager/tip-manager.spec.js +13 -0
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.e2e.js +359 -0
- package/dist/collection/components/tooltip/tooltip.js +220 -210
- package/dist/collection/components/tooltip-manager/tooltip-manager.e2e.js +19 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +37 -31
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.e2e.js +586 -0
- package/dist/collection/components/tree/tree.js +276 -244
- 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 +17 -3
- package/dist/collection/components/tree-item/tree-item.e2e.js +302 -0
- package/dist/collection/components/tree-item/tree-item.js +298 -268
- 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.e2e.js +205 -0
- package/dist/collection/components/value-list/value-list.js +341 -327
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +96 -0
- package/dist/collection/components/value-list-item/value-list-item.js +282 -275
- package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/tests/commonTests.js +596 -0
- package/dist/collection/tests/utils.js +200 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +153 -0
- package/dist/collection/utils/dom.e2e.js +107 -0
- package/dist/collection/utils/dom.js +26 -1
- package/dist/collection/utils/dom.spec.js +273 -0
- package/dist/collection/utils/filter.js +2 -3
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +23 -0
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +16 -0
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalAttributes.spec.js +36 -0
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +7 -0
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +20 -0
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +188 -0
- package/dist/collection/utils/locale.js +173 -64
- package/dist/collection/utils/locale.spec.js +44 -0
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +8 -0
- package/dist/collection/utils/number.js +33 -31
- package/dist/collection/utils/number.spec.js +113 -0
- package/dist/collection/utils/observers.js +31 -7
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/popper.js +121 -0
- 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 +4 -2
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +4 -3
- package/dist/components/action.js +3 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +16 -3
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- 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 -2
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +6 -4
- 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 +8 -10
- 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 +36 -30
- package/dist/components/calcite-input-message.js +5 -5
- package/dist/components/calcite-input-number.js +38 -19
- package/dist/components/calcite-input-text.js +4 -4
- package/dist/components/calcite-input-time-picker.js +32 -28
- 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 +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +14 -10
- 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 +2 -2
- 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 +3 -3
- package/dist/components/calcite-radio-button.js +4 -4
- package/dist/components/calcite-radio-group-item.js +5 -5
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +5 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +16 -14
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +5 -3
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +3 -3
- package/dist/components/calcite-tile-select.js +3 -3
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +12 -3
- package/dist/components/calcite-tree.js +115 -76
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +3 -3
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +3 -3
- package/dist/components/date-picker.js +14 -28
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +27 -2
- package/dist/components/dropdown.js +6 -4
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +2 -3
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- 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 +63 -41
- 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 +1 -1
- package/dist/components/link.js +6 -6
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +374 -0
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +31 -7
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +8 -10
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +5 -3
- package/dist/components/progress.js +2 -2
- 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 +2 -2
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +22 -20
- package/dist/components/tooltip.js +5 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-34bb26ba.js → ExpandToggle-21a5493f.js} +5 -5
- package/dist/esm/{Heading-efa404f6.js → Heading-0da1d231.js} +2 -2
- package/dist/esm/{app-globals-e47dc277.js → app-globals-53484588.js} +2 -2
- package/dist/esm/{array-a569db75.js → array-afca26e4.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +9 -9
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +11 -10
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +22 -9
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip.entry.js +9 -9
- package/dist/esm/calcite-color-picker_3.entry.js +13 -13
- package/dist/esm/calcite-combobox_3.entry.js +21 -19
- package/dist/esm/calcite-date-picker_4.entry.js +25 -20
- package/dist/esm/calcite-dropdown_3.entry.js +17 -15
- 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 +14 -16
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +26 -24
- 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 +45 -40
- package/dist/esm/calcite-input-message.entry.js +9 -9
- package/dist/esm/calcite-input-number.entry.js +47 -28
- package/dist/esm/calcite-input-text.entry.js +12 -12
- package/dist/esm/calcite-input-time-picker_2.entry.js +57 -51
- package/dist/esm/calcite-input.entry.js +72 -50
- 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 +12 -12
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +19 -12
- package/dist/esm/calcite-panel.entry.js +17 -19
- package/dist/esm/calcite-pick-list_3.entry.js +15 -15
- package/dist/esm/calcite-popover_2.entry.js +16 -14
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-radio-group_2.entry.js +14 -14
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +7 -5
- package/dist/esm/calcite-stepper_2.entry.js +8 -8
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-tab_4.entry.js +13 -13
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip_2.entry.js +12 -10
- package/dist/esm/calcite-tree_2.entry.js +131 -84
- package/dist/esm/calcite-value-list_2.entry.js +14 -14
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-3e2edef8.js → conditionalSlot-e50c9f14.js} +3 -3
- package/dist/esm/{debounce-b37c9ff5.js → debounce-6816d02c.js} +1 -1
- package/dist/esm/{dom-127f3d8d.js → dom-1ac7b489.js} +29 -4
- package/dist/esm/{filter-ec2ddb04.js → filter-1cca1a38.js} +3 -4
- package/dist/esm/{floating-ui-3dd9c891.js → floating-ui-41bd9b35.js} +2 -2
- package/dist/esm/{form-17ba49d8.js → form-08544720.js} +3 -3
- package/dist/esm/{guid-91ab11b9.js → guid-57e25130.js} +1 -1
- package/dist/esm/{index-bba706e5.js → index-5326c3af.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-5b6b002f.js → interactive-c086cb04.js} +1 -1
- package/dist/esm/{interfaces-ff7ce8e2.js → interfaces-ba4e7fb1.js} +1 -1
- package/dist/esm/{key-bb0dff3b.js → key-42705c39.js} +1 -1
- package/dist/esm/{label-b70415ec.js → label-a209a39c.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-6840e756.js +374 -0
- package/dist/esm/{math-1cb1c8be.js → math-e13ce572.js} +1 -1
- package/dist/esm/observers-68c33472.js +46 -0
- package/dist/esm/{openCloseComponent-7420c9e0.js → openCloseComponent-f9f51e92.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-1b8bfa65.js → resources-a65a8ad1.js} +1 -1
- package/dist/esm/{resources-a0e26200.js → resources-ba2025cb.js} +1 -1
- package/dist/esm/{resources-60e5aaf2.js → resources-bf3cbf16.js} +1 -1
- package/dist/esm/{resources-e698d1a3.js → resources-c69a833c.js} +3 -23
- package/dist/esm/{resources-21b72b7d.js → resources-d0f37d22.js} +5 -5
- package/dist/esm/{resources-ec2aa059.js → resources-d2b2a177.js} +1 -1
- package/dist/esm/{sortable.esm-fc504810.js → sortable.esm-1ad7cec8.js} +1 -1
- package/dist/esm/{utils-8c16c8e7.js → utils-f163e9f8.js} +1 -1
- package/dist/extras/docs-json.json +896 -280
- 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-item/accordion-item.d.ts +4 -4
- package/dist/types/components/action/action.d.ts +2 -2
- package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
- 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 +2 -1
- package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
- package/dist/types/components/alert/alert.d.ts +7 -1
- package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
- package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
- package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
- package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +3 -3
- package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
- package/dist/types/components/chip/chip.d.ts +3 -3
- 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 +3 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -2
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +5 -3
- package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
- 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 +4 -4
- package/dist/types/components/dropdown/dropdown.d.ts +4 -2
- 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/flow/flow.d.ts +1 -1
- package/dist/types/components/flow-item/flow-item.d.ts +6 -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 +25 -26
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +45 -40
- package/dist/types/components/input-message/input-message.d.ts +6 -9
- 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 +9 -11
- 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 +3 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +31 -28
- package/dist/types/components/label/label.d.ts +10 -10
- package/dist/types/components/link/link.d.ts +8 -8
- package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/notice.d.ts +1 -2
- package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
- package/dist/types/components/pagination/pagination.d.ts +4 -7
- package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
- package/dist/types/components/panel/panel.d.ts +6 -8
- 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 +1 -1
- package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +3 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
- package/dist/types/components/radio-button/radio-button.d.ts +1 -1
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +2 -2
- package/dist/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +7 -7
- package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +1 -1
- package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +1 -1
- 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 +1 -1
- package/dist/types/components/slider/slider.d.ts +8 -10
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +6 -4
- package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
- package/dist/types/components/switch/switch.d.ts +1 -1
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-title/tab-title.d.ts +4 -4
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -1
- 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 +7 -7
- package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
- 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 +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +3 -1
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/tree/utils.d.ts +1 -0
- package/dist/types/components/tree-item/tree-item.d.ts +8 -2
- 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 +1 -1
- package/dist/types/components.d.ts +341 -330
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/dom.d.ts +10 -0
- package/dist/types/utils/locale.d.ts +79 -11
- 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 +1 -1
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1594 -1368
- package/package.json +21 -18
- package/dist/calcite/calcite.js +0 -131
- package/dist/calcite/p-00bf595c.js +0 -6
- package/dist/calcite/p-040bf5e2.system.js +0 -6
- package/dist/calcite/p-0af262b3.system.entry.js +0 -6
- package/dist/calcite/p-0b751e42.entry.js +0 -6
- package/dist/calcite/p-0cd68b01.entry.js +0 -6
- package/dist/calcite/p-0cebaa35.system.entry.js +0 -6
- package/dist/calcite/p-123cd41d.system.js +0 -6
- package/dist/calcite/p-1568c3ae.system.js +0 -6
- package/dist/calcite/p-165e1315.entry.js +0 -6
- package/dist/calcite/p-1931016b.system.js +0 -6
- package/dist/calcite/p-1bd9d5d0.system.entry.js +0 -6
- package/dist/calcite/p-1d9a8f8d.entry.js +0 -6
- package/dist/calcite/p-1ebd1ddb.system.js +0 -6
- package/dist/calcite/p-1fc0fc34.system.entry.js +0 -6
- package/dist/calcite/p-1fc6f127.system.js +0 -6
- package/dist/calcite/p-222ce0b0.entry.js +0 -6
- package/dist/calcite/p-246e29c4.system.entry.js +0 -6
- package/dist/calcite/p-250c704e.entry.js +0 -6
- package/dist/calcite/p-2591c64f.entry.js +0 -6
- package/dist/calcite/p-26716c3f.system.entry.js +0 -6
- package/dist/calcite/p-271a679c.system.entry.js +0 -6
- package/dist/calcite/p-29a4a496.system.js +0 -12
- package/dist/calcite/p-2b66108c.js +0 -6
- package/dist/calcite/p-2bd163b8.system.entry.js +0 -6
- package/dist/calcite/p-2bed5ece.system.entry.js +0 -6
- package/dist/calcite/p-2ce51e5b.entry.js +0 -6
- package/dist/calcite/p-2dd41d05.system.entry.js +0 -6
- package/dist/calcite/p-31b7469f.system.entry.js +0 -6
- package/dist/calcite/p-32648082.entry.js +0 -6
- package/dist/calcite/p-327f1ece.entry.js +0 -6
- package/dist/calcite/p-329fad36.system.entry.js +0 -6
- package/dist/calcite/p-32af8680.entry.js +0 -6
- package/dist/calcite/p-34c1470d.system.js +0 -6
- package/dist/calcite/p-350374ba.entry.js +0 -6
- package/dist/calcite/p-36f469b3.entry.js +0 -6
- package/dist/calcite/p-381c39e3.entry.js +0 -6
- package/dist/calcite/p-389e6f49.system.js +0 -6
- package/dist/calcite/p-39105e98.entry.js +0 -6
- package/dist/calcite/p-40691199.system.js +0 -7
- package/dist/calcite/p-4188e126.system.entry.js +0 -6
- package/dist/calcite/p-4569808e.entry.js +0 -6
- package/dist/calcite/p-46158831.system.js +0 -6
- package/dist/calcite/p-47807917.system.js +0 -6
- package/dist/calcite/p-480b3470.system.js +0 -6
- package/dist/calcite/p-485523eb.entry.js +0 -6
- package/dist/calcite/p-4b5fb412.system.entry.js +0 -6
- package/dist/calcite/p-4bdfe12c.system.entry.js +0 -6
- package/dist/calcite/p-4e2f397f.js +0 -6
- package/dist/calcite/p-4ece68bc.entry.js +0 -6
- package/dist/calcite/p-50f28b73.system.entry.js +0 -6
- package/dist/calcite/p-53159025.system.js +0 -6
- package/dist/calcite/p-5963a581.entry.js +0 -6
- package/dist/calcite/p-59761378.system.entry.js +0 -6
- package/dist/calcite/p-5a62c32b.system.entry.js +0 -6
- package/dist/calcite/p-5eaa4529.system.entry.js +0 -6
- package/dist/calcite/p-5fd702c3.system.entry.js +0 -6
- package/dist/calcite/p-6016b591.system.entry.js +0 -6
- package/dist/calcite/p-61eb9d9e.entry.js +0 -6
- package/dist/calcite/p-62552795.system.entry.js +0 -6
- package/dist/calcite/p-62699784.js +0 -7
- package/dist/calcite/p-654b80e4.system.js +0 -6
- package/dist/calcite/p-66773754.entry.js +0 -6
- package/dist/calcite/p-67a553d6.system.entry.js +0 -6
- package/dist/calcite/p-686435b1.entry.js +0 -6
- package/dist/calcite/p-68c9eae1.system.js +0 -6
- package/dist/calcite/p-6b48c271.js +0 -6
- package/dist/calcite/p-6ba701c5.entry.js +0 -6
- package/dist/calcite/p-6da8cfc8.system.entry.js +0 -6
- package/dist/calcite/p-6e360d2e.system.entry.js +0 -6
- package/dist/calcite/p-6ee5fef0.entry.js +0 -6
- package/dist/calcite/p-70a77a00.system.js +0 -6
- package/dist/calcite/p-73112e9e.system.entry.js +0 -6
- package/dist/calcite/p-7468a944.system.js +0 -6
- package/dist/calcite/p-746fb731.entry.js +0 -6
- package/dist/calcite/p-76853d92.entry.js +0 -6
- package/dist/calcite/p-797918e4.entry.js +0 -6
- package/dist/calcite/p-8341c47e.system.entry.js +0 -6
- package/dist/calcite/p-842d0db2.entry.js +0 -6
- package/dist/calcite/p-87203ad5.entry.js +0 -6
- package/dist/calcite/p-88cc5e61.entry.js +0 -6
- package/dist/calcite/p-89e8dfda.entry.js +0 -6
- package/dist/calcite/p-8a2d40ec.system.entry.js +0 -6
- package/dist/calcite/p-8cbe1a9c.system.entry.js +0 -6
- package/dist/calcite/p-8f5231d1.entry.js +0 -6
- package/dist/calcite/p-91efcdbf.entry.js +0 -6
- package/dist/calcite/p-95b0735c.system.js +0 -6
- package/dist/calcite/p-9627cc9c.entry.js +0 -6
- package/dist/calcite/p-9633ad1d.entry.js +0 -6
- package/dist/calcite/p-96d5ebfd.system.entry.js +0 -6
- package/dist/calcite/p-984382e0.system.entry.js +0 -6
- package/dist/calcite/p-989c3bfe.entry.js +0 -6
- package/dist/calcite/p-98b619c8.js +0 -6
- package/dist/calcite/p-99ec6bf6.system.entry.js +0 -6
- package/dist/calcite/p-9f3639fb.system.entry.js +0 -6
- package/dist/calcite/p-a4a2ef19.entry.js +0 -6
- package/dist/calcite/p-a96d1f10.system.entry.js +0 -6
- package/dist/calcite/p-aa4a2554.system.js +0 -6
- package/dist/calcite/p-aab31f9a.entry.js +0 -6
- package/dist/calcite/p-abf27086.entry.js +0 -6
- package/dist/calcite/p-ac3ca72a.system.js +0 -6
- package/dist/calcite/p-acf9141d.entry.js +0 -6
- package/dist/calcite/p-aebf30de.entry.js +0 -6
- package/dist/calcite/p-b1bffa40.system.entry.js +0 -6
- package/dist/calcite/p-b224bda4.js +0 -6
- package/dist/calcite/p-b254e729.system.entry.js +0 -6
- package/dist/calcite/p-b2e3e5f6.system.entry.js +0 -6
- package/dist/calcite/p-b47f99ba.system.entry.js +0 -6
- package/dist/calcite/p-b5ed78cd.system.entry.js +0 -6
- package/dist/calcite/p-b6c0ce60.system.entry.js +0 -6
- package/dist/calcite/p-bae6bd27.entry.js +0 -6
- package/dist/calcite/p-bc58d924.system.entry.js +0 -6
- package/dist/calcite/p-bf857667.entry.js +0 -6
- package/dist/calcite/p-c17c843a.entry.js +0 -6
- package/dist/calcite/p-c196a9c8.system.entry.js +0 -6
- package/dist/calcite/p-c3f900e2.system.js +0 -6
- package/dist/calcite/p-c6747172.entry.js +0 -6
- package/dist/calcite/p-c7ae6eb8.system.entry.js +0 -6
- package/dist/calcite/p-c9795a23.entry.js +0 -6
- package/dist/calcite/p-c994def1.entry.js +0 -6
- package/dist/calcite/p-cb022701.entry.js +0 -6
- package/dist/calcite/p-cb75f6fc.system.js +0 -6
- package/dist/calcite/p-cdd54f43.system.js +0 -6
- package/dist/calcite/p-cfc54e80.system.entry.js +0 -6
- package/dist/calcite/p-d004547e.system.js +0 -6
- package/dist/calcite/p-d071641f.js +0 -6
- package/dist/calcite/p-d0c487cd.system.js +0 -6
- package/dist/calcite/p-d14f84ec.entry.js +0 -6
- package/dist/calcite/p-d231f78a.system.js +0 -6
- package/dist/calcite/p-d4a2b3eb.system.entry.js +0 -6
- package/dist/calcite/p-d71afc11.system.js +0 -6
- package/dist/calcite/p-d98a0dfc.system.entry.js +0 -6
- package/dist/calcite/p-d9f909c1.system.entry.js +0 -6
- package/dist/calcite/p-da805fd2.entry.js +0 -6
- package/dist/calcite/p-df0781cd.entry.js +0 -6
- package/dist/calcite/p-e1388ba6.entry.js +0 -6
- package/dist/calcite/p-e3de6b2a.system.entry.js +0 -6
- package/dist/calcite/p-e41810bf.system.entry.js +0 -6
- package/dist/calcite/p-e93ae93d.entry.js +0 -6
- package/dist/calcite/p-e95183e0.entry.js +0 -6
- package/dist/calcite/p-e9519043.entry.js +0 -6
- package/dist/calcite/p-ea4df412.js +0 -6
- package/dist/calcite/p-eb2afb5b.entry.js +0 -6
- package/dist/calcite/p-ec7ef3b1.system.entry.js +0 -6
- package/dist/calcite/p-ee219b49.system.entry.js +0 -6
- package/dist/calcite/p-eec0a4cf.system.entry.js +0 -6
- package/dist/calcite/p-ef4384e3.system.entry.js +0 -6
- package/dist/calcite/p-ef8140d9.system.entry.js +0 -6
- package/dist/calcite/p-f0934ce8.entry.js +0 -6
- package/dist/calcite/p-f114fc96.entry.js +0 -6
- package/dist/calcite/p-f20d5aff.system.entry.js +0 -6
- package/dist/calcite/p-f2b5841b.system.entry.js +0 -6
- package/dist/calcite/p-f438293c.system.entry.js +0 -6
- package/dist/calcite/p-f6a816c2.system.entry.js +0 -6
- package/dist/calcite/p-f8929ee3.system.js +0 -6
- package/dist/calcite/p-f9c4d066.system.entry.js +0 -6
- package/dist/calcite/p-fa9b0668.system.js +0 -6
- package/dist/calcite/p-fc88693a.entry.js +0 -6
- package/dist/calcite/p-ff567892.system.entry.js +0 -6
- package/dist/cjs/globalAttributes-1b9ba83b.js +0 -335
- package/dist/cjs/observers-d425beb6.js +0 -27
- package/dist/components/globalAttributes.js +0 -324
- package/dist/custom-elements/index.d.ts +0 -597
- package/dist/custom-elements/index.js +0 -28881
- package/dist/esm/globalAttributes-2f17fabd.js +0 -324
- package/dist/esm/observers-44d8a639.js +0 -25
- package/dist/esm-es5/ExpandToggle-34bb26ba.js +0 -6
- package/dist/esm-es5/Heading-efa404f6.js +0 -6
- package/dist/esm-es5/app-globals-e47dc277.js +0 -6
- package/dist/esm-es5/array-a569db75.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-3e2edef8.js +0 -6
- package/dist/esm-es5/debounce-b37c9ff5.js +0 -6
- package/dist/esm-es5/dom-127f3d8d.js +0 -6
- package/dist/esm-es5/filter-ec2ddb04.js +0 -6
- package/dist/esm-es5/floating-ui-3dd9c891.js +0 -6
- package/dist/esm-es5/form-17ba49d8.js +0 -6
- package/dist/esm-es5/globalAttributes-2f17fabd.js +0 -6
- package/dist/esm-es5/guid-91ab11b9.js +0 -6
- package/dist/esm-es5/index-bba706e5.js +0 -7
- package/dist/esm-es5/interactive-5b6b002f.js +0 -6
- package/dist/esm-es5/interfaces-ff7ce8e2.js +0 -6
- package/dist/esm-es5/key-bb0dff3b.js +0 -6
- package/dist/esm-es5/label-b70415ec.js +0 -6
- package/dist/esm-es5/loader.js +0 -6
- package/dist/esm-es5/math-1cb1c8be.js +0 -6
- package/dist/esm-es5/observers-44d8a639.js +0 -6
- package/dist/esm-es5/openCloseComponent-7420c9e0.js +0 -6
- package/dist/esm-es5/resources-1b8bfa65.js +0 -6
- package/dist/esm-es5/resources-21b72b7d.js +0 -6
- package/dist/esm-es5/resources-60e5aaf2.js +0 -6
- package/dist/esm-es5/resources-a0e26200.js +0 -6
- package/dist/esm-es5/resources-e698d1a3.js +0 -6
- package/dist/esm-es5/resources-ec2aa059.js +0 -6
- package/dist/esm-es5/sortable.esm-fc504810.js +0 -12
- package/dist/esm-es5/utils-8c16c8e7.js +0 -6
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { accessible, disabled, hidden, renders } from "../../tests/commonTests";
|
|
3
|
+
import { dragAndDrop } from "../../tests/utils";
|
|
4
|
+
import { html } from "../../../support/formatting";
|
|
5
|
+
describe("calcite-sortable-list", () => {
|
|
6
|
+
it("renders", async () => renders("calcite-sortable-list", { display: "flex" }));
|
|
7
|
+
it("honors hidden attribute", async () => hidden("calcite-sortable-list"));
|
|
8
|
+
it("is accessible", async () => accessible(`<calcite-sortable-list></calcite-sortable-list>`));
|
|
9
|
+
it("can be disabled", () => disabled(html `<calcite-sortable-list>
|
|
10
|
+
<div id="one"><calcite-handle></calcite-handle>1</div>
|
|
11
|
+
<div id="two"><calcite-handle></calcite-handle>2</div>
|
|
12
|
+
<div id="three"><calcite-handle></calcite-handle>3</div>
|
|
13
|
+
</calcite-sortable-list>`, { focusTarget: "child" }));
|
|
14
|
+
const worksUsingMouse = async (page) => {
|
|
15
|
+
await dragAndDrop(page, `#one calcite-handle`, `#two calcite-handle`);
|
|
16
|
+
const [first, second] = await page.findAll("div");
|
|
17
|
+
expect(await first.getProperty("id")).toBe("two");
|
|
18
|
+
expect(await second.getProperty("id")).toBe("one");
|
|
19
|
+
};
|
|
20
|
+
const worksUsingKeyboard = async (page) => {
|
|
21
|
+
await page.keyboard.press("Tab");
|
|
22
|
+
await page.keyboard.press("Space");
|
|
23
|
+
await page.waitForChanges();
|
|
24
|
+
await page.keyboard.press("ArrowDown");
|
|
25
|
+
const itemsAfter = await page.findAll("div");
|
|
26
|
+
expect(await itemsAfter[0].getProperty("id")).toBe("two");
|
|
27
|
+
expect(await itemsAfter[1].getProperty("id")).toBe("one");
|
|
28
|
+
};
|
|
29
|
+
describe("drag and drop", () => {
|
|
30
|
+
let page;
|
|
31
|
+
beforeEach(async () => {
|
|
32
|
+
page = await newE2EPage({
|
|
33
|
+
html: `<calcite-sortable-list>
|
|
34
|
+
<div id="one"><calcite-handle></calcite-handle>1</div>
|
|
35
|
+
<div id="two"><calcite-handle></calcite-handle>2</div>
|
|
36
|
+
<div id="three"><calcite-handle></calcite-handle>3</div>
|
|
37
|
+
</calcite-sortable-list>`
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
it("works using a mouse", () => worksUsingMouse(page));
|
|
41
|
+
it("works using a keyboard", () => worksUsingKeyboard(page));
|
|
42
|
+
});
|
|
43
|
+
describe("drag and drop with dragSelector", () => {
|
|
44
|
+
let page;
|
|
45
|
+
beforeEach(async () => {
|
|
46
|
+
page = await newE2EPage({
|
|
47
|
+
html: `<calcite-sortable-list drag-selector=".calcite-sortable">
|
|
48
|
+
<div class="calcite-sortable" id="one"><calcite-handle></calcite-handle>1</div>
|
|
49
|
+
<div class="calcite-sortable" id="two"><calcite-handle></calcite-handle>2</div>
|
|
50
|
+
<div class="calcite-sortable" id="three"><calcite-handle></calcite-handle>3</div>
|
|
51
|
+
</calcite-sortable-list>`
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
it("works using a mouse", () => worksUsingMouse(page));
|
|
55
|
+
it("works using a keyboard", () => worksUsingKeyboard(page));
|
|
56
|
+
});
|
|
57
|
+
});
|
|
@@ -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-next.
|
|
4
|
+
* v1.0.0-next.597
|
|
5
5
|
*/
|
|
6
6
|
import Sortable from "sortablejs";
|
|
7
|
-
import {
|
|
7
|
+
import { h } from "@stencil/core";
|
|
8
8
|
import { createObserver } from "../../utils/observers";
|
|
9
9
|
import { CSS } from "./resources";
|
|
10
10
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -153,155 +153,166 @@ export class SortableList {
|
|
|
153
153
|
[CSS.container]: true,
|
|
154
154
|
[CSS.containerVertical]: !horizontal,
|
|
155
155
|
[CSS.containerHorizontal]: horizontal
|
|
156
|
-
} },
|
|
157
|
-
h("slot", null)));
|
|
156
|
+
} }, h("slot", null)));
|
|
158
157
|
}
|
|
159
158
|
static get is() { return "calcite-sortable-list"; }
|
|
160
159
|
static get encapsulation() { return "shadow"; }
|
|
161
|
-
static get originalStyleUrls() {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"original": "string",
|
|
190
|
-
"resolved": "string",
|
|
191
|
-
"references": {}
|
|
192
|
-
},
|
|
193
|
-
"required": false,
|
|
194
|
-
"optional": true,
|
|
195
|
-
"docs": {
|
|
196
|
-
"tags": [],
|
|
197
|
-
"text": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value."
|
|
160
|
+
static get originalStyleUrls() {
|
|
161
|
+
return {
|
|
162
|
+
"$": ["sortable-list.scss"]
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
static get styleUrls() {
|
|
166
|
+
return {
|
|
167
|
+
"$": ["sortable-list.css"]
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
static get properties() {
|
|
171
|
+
return {
|
|
172
|
+
"dragSelector": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "string",
|
|
177
|
+
"resolved": "string",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": true,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": "Specifies which items inside the element should be draggable."
|
|
185
|
+
},
|
|
186
|
+
"attribute": "drag-selector",
|
|
187
|
+
"reflect": true
|
|
198
188
|
},
|
|
199
|
-
"
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"
|
|
208
|
-
"
|
|
189
|
+
"group": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"mutable": false,
|
|
192
|
+
"complexType": {
|
|
193
|
+
"original": "string",
|
|
194
|
+
"resolved": "string",
|
|
195
|
+
"references": {}
|
|
196
|
+
},
|
|
197
|
+
"required": false,
|
|
198
|
+
"optional": true,
|
|
199
|
+
"docs": {
|
|
200
|
+
"tags": [],
|
|
201
|
+
"text": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value."
|
|
202
|
+
},
|
|
203
|
+
"attribute": "group",
|
|
204
|
+
"reflect": true
|
|
209
205
|
},
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"
|
|
214
|
-
|
|
206
|
+
"handleSelector": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"mutable": false,
|
|
209
|
+
"complexType": {
|
|
210
|
+
"original": "string",
|
|
211
|
+
"resolved": "string",
|
|
212
|
+
"references": {}
|
|
213
|
+
},
|
|
214
|
+
"required": false,
|
|
215
|
+
"optional": false,
|
|
216
|
+
"docs": {
|
|
217
|
+
"tags": [],
|
|
218
|
+
"text": "The selector for the handle elements."
|
|
219
|
+
},
|
|
220
|
+
"attribute": "handle-selector",
|
|
221
|
+
"reflect": true,
|
|
222
|
+
"defaultValue": "\"calcite-handle\""
|
|
215
223
|
},
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
"Layout": {
|
|
228
|
-
"location": "import",
|
|
229
|
-
"path": "../interfaces"
|
|
224
|
+
"layout": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"mutable": false,
|
|
227
|
+
"complexType": {
|
|
228
|
+
"original": "Layout",
|
|
229
|
+
"resolved": "\"grid\" | \"horizontal\" | \"vertical\"",
|
|
230
|
+
"references": {
|
|
231
|
+
"Layout": {
|
|
232
|
+
"location": "import",
|
|
233
|
+
"path": "../interfaces"
|
|
234
|
+
}
|
|
230
235
|
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
"defaultValue": "\"vertical\""
|
|
242
|
-
},
|
|
243
|
-
"disabled": {
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"mutable": false,
|
|
246
|
-
"complexType": {
|
|
247
|
-
"original": "boolean",
|
|
248
|
-
"resolved": "boolean",
|
|
249
|
-
"references": {}
|
|
250
|
-
},
|
|
251
|
-
"required": false,
|
|
252
|
-
"optional": false,
|
|
253
|
-
"docs": {
|
|
254
|
-
"tags": [],
|
|
255
|
-
"text": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed."
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": false,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": "Indicates the horizontal or vertical orientation of the component."
|
|
242
|
+
},
|
|
243
|
+
"attribute": "layout",
|
|
244
|
+
"reflect": true,
|
|
245
|
+
"defaultValue": "\"vertical\""
|
|
256
246
|
},
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
247
|
+
"disabled": {
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"mutable": false,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "boolean",
|
|
252
|
+
"resolved": "boolean",
|
|
253
|
+
"references": {}
|
|
254
|
+
},
|
|
255
|
+
"required": false,
|
|
256
|
+
"optional": false,
|
|
257
|
+
"docs": {
|
|
258
|
+
"tags": [],
|
|
259
|
+
"text": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed."
|
|
260
|
+
},
|
|
261
|
+
"attribute": "disabled",
|
|
262
|
+
"reflect": true,
|
|
263
|
+
"defaultValue": "false"
|
|
268
264
|
},
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"bubbles": true,
|
|
287
|
-
"cancelable": false,
|
|
288
|
-
"composed": true,
|
|
289
|
-
"docs": {
|
|
290
|
-
"tags": [],
|
|
291
|
-
"text": "Emitted when the order of the list has changed."
|
|
292
|
-
},
|
|
293
|
-
"complexType": {
|
|
294
|
-
"original": "void",
|
|
295
|
-
"resolved": "void",
|
|
296
|
-
"references": {}
|
|
265
|
+
"loading": {
|
|
266
|
+
"type": "boolean",
|
|
267
|
+
"mutable": false,
|
|
268
|
+
"complexType": {
|
|
269
|
+
"original": "boolean",
|
|
270
|
+
"resolved": "boolean",
|
|
271
|
+
"references": {}
|
|
272
|
+
},
|
|
273
|
+
"required": false,
|
|
274
|
+
"optional": false,
|
|
275
|
+
"docs": {
|
|
276
|
+
"tags": [],
|
|
277
|
+
"text": "When true, content is waiting to be loaded. This state shows a busy indicator."
|
|
278
|
+
},
|
|
279
|
+
"attribute": "loading",
|
|
280
|
+
"reflect": true,
|
|
281
|
+
"defaultValue": "false"
|
|
297
282
|
}
|
|
298
|
-
}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
static get states() {
|
|
286
|
+
return {
|
|
287
|
+
"handleActivated": {}
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
static get events() {
|
|
291
|
+
return [{
|
|
292
|
+
"method": "calciteListOrderChange",
|
|
293
|
+
"name": "calciteListOrderChange",
|
|
294
|
+
"bubbles": true,
|
|
295
|
+
"cancelable": false,
|
|
296
|
+
"composed": true,
|
|
297
|
+
"docs": {
|
|
298
|
+
"tags": [],
|
|
299
|
+
"text": "Emitted when the order of the list has changed."
|
|
300
|
+
},
|
|
301
|
+
"complexType": {
|
|
302
|
+
"original": "void",
|
|
303
|
+
"resolved": "void",
|
|
304
|
+
"references": {}
|
|
305
|
+
}
|
|
306
|
+
}];
|
|
307
|
+
}
|
|
299
308
|
static get elementRef() { return "el"; }
|
|
300
|
-
static get listeners() {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
309
|
+
static get listeners() {
|
|
310
|
+
return [{
|
|
311
|
+
"name": "calciteHandleNudge",
|
|
312
|
+
"method": "calciteHandleNudgeHandler",
|
|
313
|
+
"target": undefined,
|
|
314
|
+
"capture": false,
|
|
315
|
+
"passive": false
|
|
316
|
+
}];
|
|
317
|
+
}
|
|
307
318
|
}
|
|
@@ -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-next.
|
|
4
|
+
* v1.0.0-next.597
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "split-button__container",
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { accessible, renders, defaults, disabled, hidden } from "../../tests/commonTests";
|
|
3
|
+
import { html } from "../../../support/formatting";
|
|
4
|
+
import { CSS } from "./resources";
|
|
5
|
+
describe("calcite-split-button", () => {
|
|
6
|
+
it("has defaults", async () => defaults("calcite-split-button", [
|
|
7
|
+
{
|
|
8
|
+
propertyName: "overlayPositioning",
|
|
9
|
+
defaultValue: "absolute"
|
|
10
|
+
}
|
|
11
|
+
]));
|
|
12
|
+
const content = `
|
|
13
|
+
<calcite-dropdown-group>
|
|
14
|
+
<calcite-dropdown-item id="item-1">Item</calcite-dropdown-item>
|
|
15
|
+
<calcite-dropdown-item id="item-2" active>Item2</calcite-dropdown-item>
|
|
16
|
+
</calcite-dropdown-group>`;
|
|
17
|
+
it("renders", () => renders("calcite-split-button", { display: "inline-block" }));
|
|
18
|
+
it("honors hidden attribute", async () => hidden("calcite-split-button"));
|
|
19
|
+
it("is accessible", async () => accessible(`<calcite-split-button
|
|
20
|
+
primary-text="Button Text"
|
|
21
|
+
dropdown-label="Show options">
|
|
22
|
+
${content}
|
|
23
|
+
</calcite-split-button>`));
|
|
24
|
+
it("is accessible when disabled", async () => accessible(`<calcite-split-button
|
|
25
|
+
disabled
|
|
26
|
+
primary-text="Button Text"
|
|
27
|
+
dropdown-label="Show options">
|
|
28
|
+
${content}
|
|
29
|
+
</calcite-split-button>`));
|
|
30
|
+
it("is accessible when loading", async () => accessible(`<calcite-split-button
|
|
31
|
+
loading
|
|
32
|
+
primary-text="Button Text"
|
|
33
|
+
dropdown-label="Show options">
|
|
34
|
+
${content}
|
|
35
|
+
</calcite-split-button>`));
|
|
36
|
+
it("is accessible with icons and no text", async () => accessible(`<calcite-split-button
|
|
37
|
+
icon-end="plus"
|
|
38
|
+
icon-start="plus"
|
|
39
|
+
primary-label="Button label"
|
|
40
|
+
dropdown-label="Show options">
|
|
41
|
+
${content}
|
|
42
|
+
</calcite-split-button>`));
|
|
43
|
+
it("can be disabled", () => disabled("calcite-split-button"));
|
|
44
|
+
it("renders default props when none are provided", async () => {
|
|
45
|
+
const page = await newE2EPage();
|
|
46
|
+
await page.setContent(`
|
|
47
|
+
<calcite-split-button>
|
|
48
|
+
</calcite-split-button>`);
|
|
49
|
+
const element = await page.find("calcite-split-button");
|
|
50
|
+
expect(element).toEqualAttribute("scale", "m");
|
|
51
|
+
expect(element).toEqualAttribute("color", "blue");
|
|
52
|
+
expect(element).toEqualAttribute("dropdown-icon-type", "chevron");
|
|
53
|
+
expect(element).toEqualAttribute("width", "auto");
|
|
54
|
+
});
|
|
55
|
+
it(`should set all internal calcite-button types to 'button'`, async () => {
|
|
56
|
+
const page = await newE2EPage({
|
|
57
|
+
html: html `<calcite-split-button primary-text="primary action"></calcite-split-button>`
|
|
58
|
+
});
|
|
59
|
+
const buttons = await page.findAll("calcite-split-button >>> calcite-button");
|
|
60
|
+
expect(buttons).toHaveLength(2);
|
|
61
|
+
for (const button of buttons) {
|
|
62
|
+
expect(await button.getProperty("type")).toBe("button");
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
it("renders requested props when valid props are provided", async () => {
|
|
66
|
+
const page = await newE2EPage();
|
|
67
|
+
await page.setContent(`
|
|
68
|
+
<calcite-split-button
|
|
69
|
+
scale="s"
|
|
70
|
+
color="red"
|
|
71
|
+
dropdown-icon-type="caret"
|
|
72
|
+
loading
|
|
73
|
+
disabled
|
|
74
|
+
width="half"
|
|
75
|
+
dropdown-label="more actions"
|
|
76
|
+
primary-label="primary action">
|
|
77
|
+
</calcite-split-button>`);
|
|
78
|
+
const element = await page.find("calcite-split-button");
|
|
79
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
80
|
+
const dropdownButton = await page.find("calcite-split-button >>> calcite-dropdown calcite-button");
|
|
81
|
+
expect(element).toEqualAttribute("scale", "s");
|
|
82
|
+
expect(element).toEqualAttribute("color", "red");
|
|
83
|
+
expect(element).toEqualAttribute("dropdown-icon-type", "caret");
|
|
84
|
+
expect(element).toHaveAttribute("loading");
|
|
85
|
+
expect(element).toHaveAttribute("disabled");
|
|
86
|
+
expect(await primaryButton.getProperty("label")).toBe("primary action");
|
|
87
|
+
expect(await dropdownButton.getProperty("label")).toBe("more actions");
|
|
88
|
+
expect(element).toEqualAttribute("width", "half");
|
|
89
|
+
});
|
|
90
|
+
it("renders primaryText without icons as inner content of primary button", async () => {
|
|
91
|
+
const page = await newE2EPage();
|
|
92
|
+
await page.setContent(`
|
|
93
|
+
<calcite-split-button primary-text="primary action">
|
|
94
|
+
</calcite-split-button>`);
|
|
95
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
96
|
+
expect(primaryButton).toEqualText("primary action");
|
|
97
|
+
expect(primaryButton).not.toHaveAttribute("icon-start");
|
|
98
|
+
expect(primaryButton).not.toHaveAttribute("icon-end");
|
|
99
|
+
});
|
|
100
|
+
it("renders primaryText + primary-icon-start as inner content of primary button", async () => {
|
|
101
|
+
const page = await newE2EPage();
|
|
102
|
+
await page.setContent(`
|
|
103
|
+
<calcite-split-button primary-text="primary action" primary-icon-start="save">
|
|
104
|
+
</calcite-split-button>`);
|
|
105
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
106
|
+
expect(primaryButton).toEqualText("primary action");
|
|
107
|
+
expect(primaryButton).toEqualAttribute("icon-start", "save");
|
|
108
|
+
expect(primaryButton).not.toHaveAttribute("icon-end");
|
|
109
|
+
});
|
|
110
|
+
it("renders primaryText + primary-icon-end as inner content of primary button", async () => {
|
|
111
|
+
const page = await newE2EPage();
|
|
112
|
+
await page.setContent(`
|
|
113
|
+
<calcite-split-button primary-text="primary action" primary-icon-end="save">
|
|
114
|
+
</calcite-split-button>`);
|
|
115
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
116
|
+
expect(primaryButton).toEqualText("primary action");
|
|
117
|
+
expect(primaryButton).not.toHaveAttribute("icon-start");
|
|
118
|
+
expect(primaryButton).toEqualAttribute("icon-end", "save");
|
|
119
|
+
});
|
|
120
|
+
it("renders primaryText + primary-icon-end and primary-icon-start as inner content of primary button", async () => {
|
|
121
|
+
const page = await newE2EPage();
|
|
122
|
+
await page.setContent(`
|
|
123
|
+
<calcite-split-button primary-text="primary action" primary-icon-start="save" primary-icon-end="save">
|
|
124
|
+
</calcite-split-button>`);
|
|
125
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
126
|
+
expect(primaryButton).toEqualText("primary action");
|
|
127
|
+
expect(primaryButton).toEqualAttribute("icon-start", "save");
|
|
128
|
+
expect(primaryButton).toEqualAttribute("icon-end", "save");
|
|
129
|
+
});
|
|
130
|
+
it("changes the size and width of the dropdown + primary button based on scale", async () => {
|
|
131
|
+
const elementScaleToDropdownScale = {
|
|
132
|
+
s: "s",
|
|
133
|
+
m: "m",
|
|
134
|
+
l: "l"
|
|
135
|
+
};
|
|
136
|
+
const elementScaleToButtonScale = {
|
|
137
|
+
s: "s",
|
|
138
|
+
m: "m",
|
|
139
|
+
l: "l"
|
|
140
|
+
};
|
|
141
|
+
const page = await newE2EPage();
|
|
142
|
+
await page.setContent(`
|
|
143
|
+
<calcite-split-button>
|
|
144
|
+
</calcite-split-button>`);
|
|
145
|
+
const element = await page.find("calcite-split-button");
|
|
146
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
147
|
+
const dropdown = await page.find("calcite-split-button >>> calcite-dropdown");
|
|
148
|
+
for (const elementScale of Object.keys(elementScaleToDropdownScale)) {
|
|
149
|
+
element.setProperty("scale", elementScale);
|
|
150
|
+
await page.waitForChanges();
|
|
151
|
+
const dropdownScale = elementScaleToDropdownScale[elementScale];
|
|
152
|
+
expect(dropdown).toEqualAttribute("width", dropdownScale);
|
|
153
|
+
expect(dropdown).toEqualAttribute("scale", dropdownScale);
|
|
154
|
+
expect(primaryButton).toEqualAttribute("scale", elementScaleToButtonScale[elementScale]);
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
it("adds split-child attributes to child button components", async () => {
|
|
158
|
+
const page = await newE2EPage();
|
|
159
|
+
await page.setContent(`
|
|
160
|
+
<calcite-split-button>
|
|
161
|
+
</calcite-split-button>`);
|
|
162
|
+
const primaryButton = await page.find("calcite-split-button >>> calcite-button");
|
|
163
|
+
const dropdownButton = await page.find("calcite-split-button >>> calcite-dropdown calcite-button");
|
|
164
|
+
expect(primaryButton).toEqualAttribute("split-child", "primary");
|
|
165
|
+
expect(dropdownButton).toEqualAttribute("split-child", "secondary");
|
|
166
|
+
});
|
|
167
|
+
it("adds the relevant CSS class based on the width attribute", async () => {
|
|
168
|
+
const page = await newE2EPage();
|
|
169
|
+
await page.setContent(`<calcite-split-button width="auto"></calcite-split-button>`);
|
|
170
|
+
const element = await page.find(`calcite-split-button`);
|
|
171
|
+
const container = await page.find(`calcite-split-button >>> .${CSS.widthAuto}`);
|
|
172
|
+
expect(container).not.toBeNull();
|
|
173
|
+
expect(container).toHaveClass(CSS.widthAuto);
|
|
174
|
+
element.setAttribute("width", "half");
|
|
175
|
+
await page.waitForChanges();
|
|
176
|
+
expect(container).toHaveClass(CSS.widthHalf);
|
|
177
|
+
element.setAttribute("width", "full");
|
|
178
|
+
await page.waitForChanges();
|
|
179
|
+
expect(container).toHaveClass(CSS.widthFull);
|
|
180
|
+
});
|
|
181
|
+
it("should support dropdown item keyboard navigation", async () => {
|
|
182
|
+
const page = await newE2EPage();
|
|
183
|
+
await page.setContent(`<calcite-split-button scale="s" primary-text="Button">
|
|
184
|
+
<calcite-dropdown-group selection-mode="none">
|
|
185
|
+
<calcite-dropdown-item id="item-1">Option 2</calcite-dropdown-item>
|
|
186
|
+
<calcite-dropdown-item id="item-2">Option 3</calcite-dropdown-item>
|
|
187
|
+
<calcite-dropdown-item id="item-3">Option 4</calcite-dropdown-item>
|
|
188
|
+
</calcite-dropdown-group>
|
|
189
|
+
</calcite-split-button>`);
|
|
190
|
+
const group = await page.find("calcite-dropdown-group");
|
|
191
|
+
const secondary = await page.find(`calcite-split-button >>> calcite-button[split-child="secondary"]`);
|
|
192
|
+
const dropdownOpenEvent = page.waitForEvent("calciteDropdownOpen");
|
|
193
|
+
await secondary.click();
|
|
194
|
+
await dropdownOpenEvent;
|
|
195
|
+
expect(await group.isVisible()).toBe(true);
|
|
196
|
+
expect(await page.evaluate(() => document.activeElement.id)).toEqual("item-1");
|
|
197
|
+
await page.keyboard.press("ArrowDown");
|
|
198
|
+
expect(await page.evaluate(() => document.activeElement.id)).toEqual("item-2");
|
|
199
|
+
await page.keyboard.press("ArrowDown");
|
|
200
|
+
expect(await page.evaluate(() => document.activeElement.id)).toEqual("item-3");
|
|
201
|
+
const dropdownCloseEvent = page.waitForEvent("calciteDropdownClose");
|
|
202
|
+
await page.keyboard.press("Enter");
|
|
203
|
+
await dropdownCloseEvent;
|
|
204
|
+
expect(await group.isVisible()).toBe(false);
|
|
205
|
+
});
|
|
206
|
+
});
|