@esri/calcite-components 1.0.0-next.582 → 1.0.0-next.591
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/icon/heart16.json +1 -0
- package/dist/calcite/assets/icon/heart16F.json +1 -0
- package/dist/calcite/assets/icon/heart24.json +1 -0
- package/dist/calcite/assets/icon/heart24F.json +1 -0
- package/dist/calcite/assets/icon/heart32.json +1 -0
- package/dist/calcite/assets/icon/heart32F.json +1 -0
- package/dist/calcite/assets/icon/i12X16.json +1 -0
- package/dist/calcite/assets/icon/i12X24.json +1 -0
- package/dist/calcite/assets/icon/i12X32.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i12XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i14X16.json +1 -0
- package/dist/calcite/assets/icon/i14X24.json +1 -0
- package/dist/calcite/assets/icon/i14X32.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i14XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i18X16.json +1 -0
- package/dist/calcite/assets/icon/i18X24.json +1 -0
- package/dist/calcite/assets/icon/i18X32.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i18XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i1X16.json +1 -0
- package/dist/calcite/assets/icon/i1X24.json +1 -0
- package/dist/calcite/assets/icon/i1X32.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i1XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i2X16.json +1 -0
- package/dist/calcite/assets/icon/i2X24.json +1 -0
- package/dist/calcite/assets/icon/i2X32.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i2XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i4X16.json +1 -0
- package/dist/calcite/assets/icon/i4X24.json +1 -0
- package/dist/calcite/assets/icon/i4X32.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i4XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/i8X16.json +1 -0
- package/dist/calcite/assets/icon/i8X24.json +1 -0
- package/dist/calcite/assets/icon/i8X32.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed16.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed24.json +1 -0
- package/dist/calcite/assets/icon/i8XPlaybackSpeed32.json +1 -0
- package/dist/calcite/assets/icon/rhombus16.json +1 -0
- package/dist/calcite/assets/icon/rhombus24.json +1 -0
- package/dist/calcite/assets/icon/rhombus32.json +1 -0
- package/dist/calcite/assets/icon/rosette16.json +1 -0
- package/dist/calcite/assets/icon/rosette24.json +1 -0
- package/dist/calcite/assets/icon/rosette32.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle16.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle24.json +1 -0
- package/dist/calcite/assets/icon/roundedRectangle32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-ca359984.entry.js → p-025d5627.entry.js} +2 -2
- package/dist/calcite/{p-f99d102f.system.js → p-03a312d6.system.js} +2 -2
- package/dist/calcite/{p-57651170.system.js → p-08d6befb.system.js} +1 -1
- package/dist/calcite/p-09d8ccfe.entry.js +6 -0
- package/dist/calcite/p-0a3088e1.entry.js +6 -0
- package/dist/calcite/p-0a51e54a.system.entry.js +6 -0
- package/dist/calcite/p-0ba9b8ba.system.entry.js +6 -0
- package/dist/calcite/p-0bb06c8e.system.entry.js +6 -0
- package/dist/calcite/p-0c9b9641.system.entry.js +6 -0
- package/dist/calcite/{p-cd5b7657.system.js → p-11a42bba.system.js} +2 -2
- package/dist/calcite/{p-12e50576.js → p-11c0afdd.js} +1 -1
- package/dist/calcite/{p-a055dba3.system.js → p-12bf747d.system.js} +1 -1
- package/dist/calcite/p-147a36dd.system.entry.js +6 -0
- package/dist/calcite/p-18cd493a.system.entry.js +6 -0
- package/dist/calcite/p-19db2717.system.entry.js +6 -0
- package/dist/calcite/p-1bc7684a.system.entry.js +6 -0
- package/dist/calcite/{p-0ecf827d.js → p-1c7b4f91.js} +1 -1
- package/dist/calcite/p-1cada3fb.system.entry.js +6 -0
- package/dist/calcite/p-208b6f5b.system.entry.js +6 -0
- package/dist/calcite/p-2311cf72.entry.js +6 -0
- package/dist/calcite/{p-18c10a64.system.js → p-255d50f3.system.js} +1 -1
- package/dist/calcite/p-2598f546.system.entry.js +6 -0
- package/dist/calcite/p-2659b40a.js +6 -0
- package/dist/calcite/p-27d5b749.system.entry.js +6 -0
- package/dist/calcite/{p-17ed4384.entry.js → p-284aa1c1.entry.js} +2 -2
- package/dist/calcite/p-2b605055.system.entry.js +6 -0
- package/dist/calcite/p-2b80e573.system.entry.js +6 -0
- package/dist/calcite/p-2be442b6.entry.js +6 -0
- package/dist/calcite/p-2f2c7215.entry.js +6 -0
- package/dist/calcite/p-30d702b8.system.entry.js +6 -0
- package/dist/calcite/{p-a8cae99f.entry.js → p-32f91823.entry.js} +2 -2
- package/dist/calcite/p-33177ed0.system.entry.js +6 -0
- package/dist/calcite/p-33ec68cd.entry.js +6 -0
- package/dist/calcite/{p-1b1b7f95.entry.js → p-3464c876.entry.js} +2 -2
- package/dist/calcite/{p-2d8d2bc3.js → p-34e3947b.js} +1 -1
- package/dist/calcite/p-353f51e6.js +6 -0
- package/dist/calcite/p-367263d3.system.entry.js +6 -0
- package/dist/calcite/{p-a28a85ba.js → p-3a5177e1.js} +1 -1
- package/dist/calcite/p-3c3ad70b.system.entry.js +6 -0
- package/dist/calcite/p-3dce59b2.system.entry.js +6 -0
- package/dist/calcite/{p-20d51326.js → p-3e839bb2.js} +1 -1
- package/dist/calcite/{p-f2a116c3.js → p-3ec1cb66.js} +1 -1
- package/dist/calcite/p-40d81bf5.system.entry.js +6 -0
- package/dist/calcite/{p-9bd2efca.system.js → p-429573be.system.js} +1 -1
- package/dist/calcite/{p-661d0327.system.entry.js → p-42aea2d0.system.entry.js} +2 -2
- package/dist/calcite/{p-bfa635aa.entry.js → p-42d77212.entry.js} +2 -2
- package/dist/calcite/p-43bae778.system.entry.js +6 -0
- package/dist/calcite/{p-bd3f71b3.js → p-452549ba.js} +2 -2
- package/dist/calcite/{p-d53af3e2.system.entry.js → p-46175024.system.entry.js} +2 -2
- package/dist/calcite/{p-4e349099.entry.js → p-47fe0351.entry.js} +2 -2
- package/dist/calcite/{p-b4d6884d.system.js → p-483efc2f.system.js} +1 -1
- package/dist/calcite/p-48574e5f.system.entry.js +6 -0
- package/dist/calcite/p-49146ea5.entry.js +6 -0
- package/dist/calcite/{p-603b4125.js → p-4a64c51c.js} +2 -2
- package/dist/calcite/p-4a8c8709.system.js +6 -0
- package/dist/calcite/p-4b2fa149.entry.js +6 -0
- package/dist/calcite/p-4b755de3.system.entry.js +6 -0
- package/dist/calcite/p-4f5d68e1.entry.js +6 -0
- package/dist/calcite/p-500f82ee.system.entry.js +6 -0
- package/dist/calcite/p-506018d1.entry.js +6 -0
- package/dist/calcite/p-50b908ad.entry.js +6 -0
- package/dist/calcite/{p-d6a1ad38.system.js → p-50e5c399.system.js} +1 -1
- package/dist/calcite/p-5122f645.entry.js +6 -0
- package/dist/calcite/{p-c14b6d51.system.js → p-51be0565.system.js} +1 -1
- package/dist/calcite/{p-31fe9129.entry.js → p-53581040.entry.js} +2 -2
- package/dist/calcite/{p-1b5b4129.entry.js → p-5589873b.entry.js} +2 -2
- package/dist/calcite/p-597e5a16.js +6 -0
- package/dist/calcite/{p-545ce743.js → p-5a18add9.js} +1 -1
- package/dist/calcite/{p-5fa63bed.js → p-5a5de09f.js} +1 -1
- package/dist/calcite/p-5aaaac1c.js +6 -0
- package/dist/calcite/p-5c0085ee.system.entry.js +6 -0
- package/dist/calcite/p-5d053b2f.system.entry.js +6 -0
- package/dist/calcite/{p-f3a4b03b.entry.js → p-5e4ecfa3.entry.js} +2 -2
- package/dist/calcite/{p-29c8e1a6.js → p-5e729ef6.js} +2 -2
- package/dist/calcite/{p-ca32932f.system.js → p-6015a727.system.js} +2 -2
- package/dist/calcite/{p-d21fd180.js → p-627c694c.js} +1 -1
- package/dist/calcite/{p-d5fc1f81.js → p-63718a44.js} +2 -2
- package/dist/calcite/p-63839f21.entry.js +6 -0
- package/dist/calcite/{p-182f08ed.js → p-6406231a.js} +2 -2
- package/dist/calcite/{p-c9b78750.js → p-66cb8205.js} +1 -1
- package/dist/calcite/p-66e25c83.system.entry.js +6 -0
- package/dist/calcite/{p-a91a76fb.entry.js → p-698a6a88.entry.js} +2 -2
- package/dist/calcite/{p-ab4a4f6e.system.js → p-6a1f134b.system.js} +2 -2
- package/dist/calcite/p-6b9cfbc9.entry.js +6 -0
- package/dist/calcite/p-6d8ff198.system.entry.js +6 -0
- package/dist/calcite/{p-f88c62d6.js → p-75604e66.js} +2 -2
- package/dist/calcite/p-77fda96a.entry.js +6 -0
- package/dist/calcite/p-78384902.entry.js +6 -0
- package/dist/calcite/p-7a67415d.entry.js +6 -0
- package/dist/calcite/p-7b3a2e0d.system.entry.js +6 -0
- package/dist/calcite/{p-c278dfc3.entry.js → p-7d39792d.entry.js} +2 -2
- package/dist/calcite/p-7e68b3e4.js +6 -0
- package/dist/calcite/p-7ecbd0c0.system.entry.js +6 -0
- package/dist/calcite/{p-5ef4827c.entry.js → p-7f4def9c.entry.js} +2 -2
- package/dist/calcite/{p-9deaec06.entry.js → p-80eb1003.entry.js} +2 -2
- package/dist/calcite/p-81da4da3.system.entry.js +6 -0
- package/dist/calcite/p-8398f1ec.entry.js +6 -0
- package/dist/calcite/{p-dfcb7ee3.system.entry.js → p-83c72dbb.system.entry.js} +2 -2
- package/dist/calcite/p-86bdc319.system.entry.js +6 -0
- package/dist/calcite/p-89b7c30c.entry.js +6 -0
- package/dist/calcite/p-8db74f6c.entry.js +6 -0
- package/dist/calcite/{p-94d37793.system.js → p-8ef22aa5.system.js} +1 -1
- package/dist/calcite/{p-d0734575.system.js → p-91f18e2f.system.js} +1 -1
- package/dist/calcite/p-92fd3026.system.entry.js +6 -0
- package/dist/calcite/{p-274dbad7.entry.js → p-9507ff20.entry.js} +2 -2
- package/dist/calcite/{p-279abaf1.system.js → p-95b0bdfa.system.js} +2 -2
- package/dist/calcite/p-95d28736.entry.js +6 -0
- package/dist/calcite/p-9677fbdb.entry.js +6 -0
- package/dist/calcite/{p-9281e57d.system.js → p-98086395.system.js} +1 -1
- package/dist/calcite/p-9a8bc555.entry.js +6 -0
- package/dist/calcite/p-9c83fe59.entry.js +6 -0
- package/dist/calcite/p-9de90e82.system.entry.js +6 -0
- package/dist/calcite/p-9eaeebda.system.js +6 -0
- package/dist/calcite/p-9fee4712.entry.js +6 -0
- package/dist/calcite/p-a6a5f435.entry.js +6 -0
- package/dist/calcite/{p-ad64211a.js → p-a714a841.js} +2 -2
- package/dist/calcite/p-a7621e7e.system.entry.js +6 -0
- package/dist/calcite/{p-7c8377f5.system.js → p-aaa324f3.system.js} +1 -1
- package/dist/calcite/p-b5ec2dc4.entry.js +6 -0
- package/dist/calcite/p-b62cb8fa.system.entry.js +6 -0
- package/dist/calcite/{p-6f56e56c.entry.js → p-b7b295e6.entry.js} +2 -2
- package/dist/calcite/p-b953dddf.system.entry.js +6 -0
- package/dist/calcite/p-b98988fe.system.entry.js +6 -0
- package/dist/calcite/{p-c8dab959.system.js → p-b9e73da9.system.js} +1 -1
- package/dist/calcite/p-bb0fefae.system.entry.js +6 -0
- package/dist/calcite/{p-ea23aca2.js → p-bd0a9278.js} +1 -1
- package/dist/calcite/p-be035275.system.entry.js +6 -0
- package/dist/calcite/{p-58b5721c.system.entry.js → p-befd8508.system.entry.js} +2 -2
- package/dist/calcite/{p-b555b13d.js → p-bf495102.js} +1 -1
- package/dist/calcite/{p-694ff37b.system.js → p-c1493788.system.js} +2 -2
- package/dist/calcite/p-c18cdc94.system.entry.js +6 -0
- package/dist/calcite/p-c24119de.system.entry.js +6 -0
- package/dist/calcite/{p-f135bf99.entry.js → p-c271626d.entry.js} +2 -2
- package/dist/calcite/p-c3597a0f.entry.js +6 -0
- package/dist/calcite/{p-0ff77d9e.system.js → p-c3b6fa6e.system.js} +1 -1
- package/dist/calcite/p-c53bcdfd.system.js +6 -0
- package/dist/calcite/p-c5d232b5.entry.js +6 -0
- package/dist/calcite/{p-99a31d6b.system.js → p-c9fdb4e7.system.js} +1 -1
- package/dist/calcite/p-ca9980d9.system.entry.js +6 -0
- package/dist/calcite/{p-f700fbe6.entry.js → p-cae41cf0.entry.js} +2 -2
- package/dist/calcite/p-cb2ae2b3.entry.js +6 -0
- package/dist/calcite/p-cd54fec4.system.entry.js +6 -0
- package/dist/calcite/p-cf2a2d6b.entry.js +6 -0
- package/dist/calcite/p-d37e8c16.entry.js +6 -0
- package/dist/calcite/{p-5cbd1d05.entry.js → p-d8ac938c.entry.js} +2 -2
- package/dist/calcite/p-d8b9b76d.system.entry.js +6 -0
- package/dist/calcite/{p-61b467ff.entry.js → p-da2cb40f.entry.js} +2 -2
- package/dist/calcite/p-dc5c0b55.entry.js +6 -0
- package/dist/calcite/{p-73be60ce.js → p-ddb3de1b.js} +1 -1
- package/dist/calcite/p-de47c58a.system.entry.js +6 -0
- package/dist/calcite/p-dfdf0722.system.entry.js +6 -0
- package/dist/calcite/{p-098ff3d1.system.js → p-e0ea716d.system.js} +1 -1
- package/dist/calcite/{p-48c54c7d.system.entry.js → p-e1cfdc4f.system.entry.js} +2 -2
- package/dist/calcite/p-e1f0e955.system.entry.js +6 -0
- package/dist/calcite/p-e20a6a0a.entry.js +6 -0
- package/dist/calcite/p-e233dbb9.entry.js +6 -0
- package/dist/calcite/p-e3630229.entry.js +6 -0
- package/dist/calcite/{p-7dc5887a.system.entry.js → p-e3ea1fcf.system.entry.js} +2 -2
- package/dist/calcite/p-e632dfcd.system.entry.js +6 -0
- package/dist/calcite/{p-7bc15ada.system.js → p-e95cbe81.system.js} +1 -1
- package/dist/calcite/p-e9839b8d.entry.js +6 -0
- package/dist/calcite/p-e9bbcfca.system.entry.js +6 -0
- package/dist/calcite/p-e9ff1274.entry.js +6 -0
- package/dist/calcite/p-ea510d57.system.entry.js +6 -0
- package/dist/calcite/p-ee676611.system.entry.js +6 -0
- package/dist/calcite/p-ef7deab6.system.entry.js +6 -0
- package/dist/calcite/{p-4f5cb52e.system.js → p-f0bf4471.system.js} +2 -2
- package/dist/calcite/p-f5716270.entry.js +6 -0
- package/dist/calcite/{p-1afc3e11.js → p-f5ed8311.js} +1 -1
- package/dist/calcite/p-f61726b5.system.js +6 -0
- package/dist/calcite/{p-18729d36.entry.js → p-f81dc6dd.entry.js} +2 -2
- package/dist/calcite/p-f91b05e7.entry.js +6 -0
- package/dist/calcite/{p-0cc2b66e.system.js → p-fb18785d.system.js} +2 -2
- package/dist/calcite/p-fc6dc88d.system.js +6 -0
- package/dist/calcite/{p-1fe080cb.js → p-fcdd8aa5.js} +1 -1
- package/dist/calcite/{p-0cc68113.system.js → p-fcf79734.system.js} +1 -1
- package/dist/calcite/p-fd163fa4.system.entry.js +6 -0
- package/dist/calcite/{p-7c44afe7.js → p-fee01bc3.js} +1 -1
- package/dist/cjs/{ExpandToggle-54212980.js → ExpandToggle-fcb43d53.js} +5 -5
- package/dist/cjs/{Heading-5929aab8.js → Heading-ce160f8e.js} +2 -2
- package/dist/cjs/{app-globals-aca3470f.js → app-globals-668eee5e.js} +8 -4
- package/dist/cjs/{array-3ee32b53.js → array-9cf5b027.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 +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +23 -9
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -11
- 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 +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -24
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +25 -23
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +23 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -16
- 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 +33 -27
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +39 -32
- package/dist/cjs/calcite-input-text.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +83 -58
- package/dist/cjs/calcite-input.cjs.entry.js +40 -33
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- 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 +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -21
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +21 -13
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- 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 +22 -20
- package/dist/cjs/calcite-tree_2.cjs.entry.js +13 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-de7d5c07.js → conditionalSlot-58574bf4.js} +3 -3
- package/dist/cjs/{debounce-e972ebe7.js → debounce-0b1514d7.js} +1 -1
- package/dist/cjs/{dom-8cac60ba.js → dom-699a586a.js} +3 -3
- package/dist/cjs/{filter-644f7cdb.js → filter-34536126.js} +2 -2
- package/dist/cjs/{floating-ui-d083f38f.js → floating-ui-880cd922.js} +5 -51
- package/dist/cjs/{form-fa762a8b.js → form-48cc9c12.js} +3 -3
- package/dist/cjs/{locale-554a2c95.js → globalAttributes-ecb4e82c.js} +75 -2
- package/dist/cjs/{guid-6dcc12e9.js → guid-9aa34489.js} +1 -1
- package/dist/cjs/{index-5412affa.js → index-00cc8a14.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-40b9e879.js → interactive-0e71d74d.js} +1 -1
- package/dist/cjs/{interfaces-1b0e0a36.js → interfaces-f0a71749.js} +1 -1
- package/dist/cjs/{key-ad8390a1.js → key-f88d783b.js} +1 -1
- package/dist/cjs/{label-77feed87.js → label-e6e6b625.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{math-418e778f.js → math-2cc4dae7.js} +1 -1
- package/dist/cjs/{observers-5771e68f.js → observers-fcf86bf2.js} +1 -1
- package/dist/cjs/{openCloseComponent-bccbbdd3.js → openCloseComponent-13872644.js} +1 -1
- package/dist/cjs/{resources-d8d4848e.js → resources-22801dc0.js} +1 -1
- package/dist/cjs/{resources-7a37c911.js → resources-2515810c.js} +6 -6
- package/dist/cjs/{resources-c46cc45d.js → resources-795c87e8.js} +1 -1
- package/dist/cjs/{resources-0ad083b0.js → resources-83603040.js} +1 -1
- package/dist/cjs/{resources-d11b3479.js → resources-bd3d9d2d.js} +5 -5
- package/dist/cjs/{resources-b0dcd1b8.js → resources-e6b451dc.js} +1 -1
- package/dist/cjs/{sortable.esm-2c0694bc.js → sortable.esm-4c346007.js} +1 -1
- package/dist/cjs/{utils-1f0ae80b.js → utils-f49f1738.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +5 -0
- package/dist/collection/components/accordion/accordion.e2e.js +183 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +6 -2
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +8 -0
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -0
- package/dist/collection/components/action/action.e2e.js +93 -0
- package/dist/collection/components/action/action.js +16 -4
- package/dist/collection/components/action/resources.js +4 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -0
- package/dist/collection/components/action-bar/action-bar.e2e.js +290 -0
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -0
- package/dist/collection/components/action-group/action-group.e2e.js +23 -0
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -0
- package/dist/collection/components/action-menu/action-menu.e2e.js +153 -0
- package/dist/collection/components/action-menu/action-menu.js +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -0
- package/dist/collection/components/action-pad/action-pad.e2e.js +178 -0
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -0
- package/dist/collection/components/alert/alert.e2e.js +294 -0
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -0
- package/dist/collection/components/avatar/avatar.e2e.js +55 -0
- package/dist/collection/components/avatar/avatar.js +9 -10
- 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.css +6 -1
- package/dist/collection/components/block/block.e2e.js +194 -0
- package/dist/collection/components/block/block.js +4 -4
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -0
- package/dist/collection/components/block-section/block-section.e2e.js +132 -0
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +9 -6
- package/dist/collection/components/button/button.e2e.js +529 -0
- package/dist/collection/components/button/button.js +5 -5
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +9 -0
- package/dist/collection/components/card/card.e2e.js +87 -0
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -0
- package/dist/collection/components/checkbox/checkbox.e2e.js +105 -0
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/chip/chip.css +5 -0
- package/dist/collection/components/chip/chip.e2e.js +149 -0
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -0
- package/dist/collection/components/color-picker/color-picker.e2e.js +1068 -0
- package/dist/collection/components/color-picker/color-picker.js +15 -11
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +66 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +281 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -0
- 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 +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -0
- package/dist/collection/components/combobox/combobox.e2e.js +1043 -0
- package/dist/collection/components/combobox/combobox.js +15 -14
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +7 -4
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +7 -0
- package/dist/collection/components/combobox-item/combobox-item.js +5 -5
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -0
- package/dist/collection/components/date-picker/date-picker.e2e.js +195 -0
- package/dist/collection/components/date-picker/date-picker.js +28 -15
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +55 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -0
- 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 +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -0
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -0
- 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 +8 -18
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -0
- package/dist/collection/components/dropdown/dropdown.e2e.js +1030 -0
- package/dist/collection/components/dropdown/dropdown.js +16 -14
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -0
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +5 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +9 -8
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +6 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -0
- package/dist/collection/components/fab/fab.e2e.js +114 -0
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -0
- package/dist/collection/components/filter/filter.e2e.js +205 -0
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -0
- package/dist/collection/components/flow/flow.e2e.js +166 -0
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -0
- package/dist/collection/components/flow-item/flow-item.e2e.js +70 -0
- package/dist/collection/components/flow-item/flow-item.js +55 -9
- 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.css +5 -0
- package/dist/collection/components/graph/graph.e2e.js +69 -0
- package/dist/collection/components/graph/graph.js +3 -3
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -0
- package/dist/collection/components/handle/handle.e2e.js +30 -0
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/heart16.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart16F.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart24.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart24F.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart32.json +1 -0
- package/dist/collection/components/icon/assets/icon/heart32F.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i12XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i14XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i18XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i1XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i2XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i4XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8X32.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed16.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed24.json +1 -0
- package/dist/collection/components/icon/assets/icon/i8XPlaybackSpeed32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rhombus32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rosette32.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/roundedRectangle32.json +1 -0
- package/dist/collection/components/icon/icon.css +5 -0
- package/dist/collection/components/icon/icon.e2e.js +75 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +61 -0
- package/dist/collection/components/inline-editable/inline-editable.css +5 -0
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +327 -0
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -0
- package/dist/collection/components/input/input.e2e.js +1192 -0
- package/dist/collection/components/input/input.js +35 -21
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -0
- 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 +42 -27
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -0
- package/dist/collection/components/input-message/input-message.e2e.js +122 -0
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -0
- package/dist/collection/components/input-number/input-number.e2e.js +1004 -0
- package/dist/collection/components/input-number/input-number.js +34 -20
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -0
- package/dist/collection/components/input-text/input-text.e2e.js +276 -0
- package/dist/collection/components/input-text/input-text.js +6 -6
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -0
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +241 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +66 -21
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +5 -0
- package/dist/collection/components/label/label.e2e.js +156 -0
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -0
- package/dist/collection/components/link/link.e2e.js +257 -0
- package/dist/collection/components/link/link.js +3 -3
- package/dist/collection/components/list/list.css +5 -0
- package/dist/collection/components/list/list.e2e.js +32 -0
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -0
- package/dist/collection/components/list-item/list-item.e2e.js +46 -0
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -0
- 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 +2 -2
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +9 -4
- package/dist/collection/components/loader/loader.e2e.js +49 -0
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +5 -0
- package/dist/collection/components/modal/modal.e2e.js +382 -0
- package/dist/collection/components/modal/modal.js +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -0
- package/dist/collection/components/notice/notice.e2e.js +127 -0
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -0
- package/dist/collection/components/option/option.e2e.js +56 -0
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -0
- package/dist/collection/components/option-group/option-group.e2e.js +26 -0
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -0
- package/dist/collection/components/pagination/pagination.e2e.js +208 -0
- package/dist/collection/components/pagination/pagination.js +7 -7
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -0
- package/dist/collection/components/panel/panel.e2e.js +279 -0
- package/dist/collection/components/panel/panel.js +24 -5
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -0
- package/dist/collection/components/pick-list/pick-list.e2e.js +157 -0
- package/dist/collection/components/pick-list/pick-list.js +3 -3
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +463 -0
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -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 +2 -2
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -0
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +124 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- 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.css +5 -0
- package/dist/collection/components/popover/popover.e2e.js +454 -0
- package/dist/collection/components/popover/popover.js +15 -13
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +5 -0
- package/dist/collection/components/popover-manager/popover-manager.e2e.js +38 -0
- package/dist/collection/components/popover-manager/popover-manager.js +2 -2
- package/dist/collection/components/progress/progress.css +7 -1
- package/dist/collection/components/progress/progress.e2e.js +7 -0
- package/dist/collection/components/progress/progress.js +3 -3
- package/dist/collection/components/radio-button/radio-button.css +5 -0
- package/dist/collection/components/radio-button/radio-button.e2e.js +332 -0
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -0
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +384 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +5 -0
- package/dist/collection/components/radio-group/radio-group.e2e.js +258 -0
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/radio-group-item/radio-group-item.css +5 -0
- 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 +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -0
- package/dist/collection/components/rating/rating.e2e.js +450 -0
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -0
- package/dist/collection/components/scrim/scrim.e2e.js +122 -0
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -0
- package/dist/collection/components/select/select.e2e.js +266 -0
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -0
- package/dist/collection/components/shell/shell.e2e.js +126 -0
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -0
- 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 +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -0
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +282 -0
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -0
- package/dist/collection/components/slider/slider.e2e.js +645 -0
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -0
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +57 -0
- package/dist/collection/components/sortable-list/sortable-list.js +5 -5
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -0
- package/dist/collection/components/split-button/split-button.e2e.js +206 -0
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -0
- package/dist/collection/components/stepper/stepper.e2e.js +558 -0
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +6 -2
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +6 -0
- package/dist/collection/components/stepper-item/stepper-item.js +2 -2
- package/dist/collection/components/switch/switch.css +5 -0
- package/dist/collection/components/switch/switch.e2e.js +91 -0
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -0
- package/dist/collection/components/tab/tab.e2e.js +49 -0
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -0
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +143 -0
- package/dist/collection/components/tab-nav/tab-nav.js +12 -3
- package/dist/collection/components/tab-title/tab-title.css +6 -2
- package/dist/collection/components/tab-title/tab-title.e2e.js +222 -0
- package/dist/collection/components/tab-title/tab-title.js +25 -3
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -0
- package/dist/collection/components/tabs/tabs.e2e.js +281 -0
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -0
- package/dist/collection/components/tile/tile.e2e.js +79 -0
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -0
- package/dist/collection/components/tile-select/tile-select.e2e.js +133 -0
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -0
- 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 +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -0
- package/dist/collection/components/time-picker/time-picker.e2e.js +737 -0
- package/dist/collection/components/time-picker/time-picker.js +47 -25
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -0
- package/dist/collection/components/tip/tip.e2e.js +42 -0
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.css +5 -0
- package/dist/collection/components/tip-group/tip-group.e2e.js +6 -0
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -0
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +176 -0
- package/dist/collection/components/tip-manager/tip-manager.js +2 -2
- package/dist/collection/components/tip-manager/tip-manager.spec.js +13 -0
- package/dist/collection/components/tooltip/TooltipManager.js +7 -7
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -0
- package/dist/collection/components/tooltip/tooltip.e2e.js +359 -0
- package/dist/collection/components/tooltip/tooltip.js +12 -10
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +5 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.e2e.js +19 -0
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -2
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -0
- package/dist/collection/components/tree/tree.e2e.js +586 -0
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +16 -8
- package/dist/collection/components/tree-item/tree-item.e2e.js +302 -0
- package/dist/collection/components/tree-item/tree-item.js +5 -2
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -0
- package/dist/collection/components/value-list/value-list.e2e.js +205 -0
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -0
- 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 +1 -1
- 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 +182 -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 +1 -1
- package/dist/collection/utils/dom.spec.js +273 -0
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +2 -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 +7 -3
- 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 +10 -1
- 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 +1 -1
- package/dist/collection/utils/number.spec.js +113 -0
- package/dist/collection/utils/observers.js +1 -1
- 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/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +3 -3
- package/dist/components/action.js +18 -4
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -6
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +3 -3
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +4 -4
- package/dist/components/calcite-avatar.js +10 -11
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +5 -5
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +12 -11
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +6 -6
- package/dist/components/calcite-combobox.js +16 -15
- 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 +4 -4
- 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 +39 -21
- 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 +32 -25
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +26 -18
- package/dist/components/calcite-input-text.js +7 -7
- package/dist/components/calcite-input-time-picker.js +33 -18
- 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 +3 -3
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +6 -6
- 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 +8 -9
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- package/dist/components/calcite-popover-manager.js +3 -3
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +9 -10
- package/dist/components/calcite-sortable-list.js +6 -6
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stepper-item.js +3 -3
- 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 +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +3 -3
- package/dist/components/calcite-tooltip.js +2 -367
- package/dist/components/calcite-tree-item.js +6 -3
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +4 -4
- package/dist/components/checkbox.js +3 -3
- package/dist/components/chip.js +2 -2
- 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 +2 -2
- package/dist/components/date-picker-month-header.js +9 -3
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +18 -14
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +17 -15
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +4 -51
- package/dist/components/form.js +1 -1
- package/dist/components/globalAttributes.js +258 -2
- package/dist/components/graph.js +4 -4
- 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 +7 -3
- package/dist/components/input.js +26 -18
- 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 +3 -3
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +4 -4
- package/dist/components/loader.js +3 -3
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +6 -4
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +16 -14
- package/dist/components/progress.js +4 -4
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +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 +8 -5
- package/dist/components/tab-title.js +9 -4
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +38 -25
- package/dist/components/tooltip.js +375 -0
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +441 -382
- package/dist/esm/{ExpandToggle-5dec20d4.js → ExpandToggle-2e4189cd.js} +5 -5
- package/dist/esm/{Heading-35286d74.js → Heading-2bc1bea6.js} +2 -2
- package/dist/esm/{app-globals-426f10d1.js → app-globals-82059e09.js} +8 -4
- package/dist/esm/{array-ff3ae451.js → array-08fbb3f5.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 +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +23 -9
- package/dist/esm/calcite-alert.entry.js +8 -8
- package/dist/esm/calcite-avatar.entry.js +10 -11
- 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 +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +16 -15
- package/dist/esm/calcite-combobox_3.entry.js +25 -24
- package/dist/esm/calcite-date-picker_4.entry.js +28 -18
- package/dist/esm/calcite-dropdown_3.entry.js +25 -23
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +23 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +14 -15
- 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 +33 -27
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-number.entry.js +29 -22
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +68 -43
- package/dist/esm/calcite-input.entry.js +29 -22
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +7 -7
- 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 +12 -12
- package/dist/esm/calcite-pagination.entry.js +8 -9
- package/dist/esm/calcite-panel.entry.js +14 -12
- package/dist/esm/calcite-pick-list_3.entry.js +15 -15
- package/dist/esm/calcite-popover_2.entry.js +23 -21
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +8 -8
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +21 -13
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- 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 +22 -20
- package/dist/esm/calcite-tree_2.entry.js +13 -10
- package/dist/esm/calcite-value-list_2.entry.js +14 -14
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-aa5fce99.js → conditionalSlot-a0ea6d66.js} +3 -3
- package/dist/esm/{debounce-c6ed39b7.js → debounce-69f262c1.js} +1 -1
- package/dist/esm/{dom-911900d4.js → dom-831ad333.js} +3 -3
- package/dist/esm/{filter-1c3959b4.js → filter-9e7dace0.js} +2 -2
- package/dist/esm/{floating-ui-96107985.js → floating-ui-298370ea.js} +5 -52
- package/dist/esm/{form-88d4f177.js → form-f108307b.js} +3 -3
- package/dist/{components/locale.js → esm/globalAttributes-2291d4b1.js} +73 -3
- package/dist/esm/{guid-55509439.js → guid-9cefc065.js} +1 -1
- package/dist/esm/{index-97813f72.js → index-0c0c17d1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-1b52954c.js → interactive-ae0a4398.js} +1 -1
- package/dist/esm/{interfaces-6ec5b73c.js → interfaces-19157cc4.js} +1 -1
- package/dist/esm/{key-ce5f60d6.js → key-7e74c6b9.js} +1 -1
- package/dist/esm/{label-2d423b2b.js → label-330899e1.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{math-0bd49a82.js → math-8ba11ebb.js} +1 -1
- package/dist/esm/{observers-404bdaf4.js → observers-efe84af7.js} +1 -1
- package/dist/esm/{openCloseComponent-13961e76.js → openCloseComponent-1efe5f75.js} +1 -1
- package/dist/esm/{resources-8839ba26.js → resources-313a3903.js} +1 -1
- package/dist/esm/{resources-324a37ea.js → resources-8e2f225d.js} +1 -1
- package/dist/esm/{resources-b9a5671b.js → resources-8ef0e6e7.js} +3 -3
- package/dist/esm/{resources-ac142922.js → resources-9a47246f.js} +1 -1
- package/dist/esm/{resources-a5c530b8.js → resources-c153dd11.js} +5 -5
- package/dist/esm/{resources-9fd9c4c9.js → resources-e24d0cb2.js} +1 -1
- package/dist/esm/{sortable.esm-ed460da3.js → sortable.esm-bb283cee.js} +1 -1
- package/dist/esm/{utils-3c7d8c1c.js → utils-2ea7c354.js} +1 -1
- package/dist/esm-es5/ExpandToggle-2e4189cd.js +6 -0
- package/dist/esm-es5/{Heading-35286d74.js → Heading-2bc1bea6.js} +2 -2
- package/dist/esm-es5/app-globals-82059e09.js +6 -0
- package/dist/esm-es5/{array-ff3ae451.js → array-08fbb3f5.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow-item.entry.js +3 -3
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-aa5fce99.js → conditionalSlot-a0ea6d66.js} +2 -2
- package/dist/esm-es5/{debounce-c6ed39b7.js → debounce-69f262c1.js} +1 -1
- package/dist/esm-es5/{dom-911900d4.js → dom-831ad333.js} +2 -2
- package/dist/esm-es5/{filter-1c3959b4.js → filter-9e7dace0.js} +2 -2
- package/dist/esm-es5/{floating-ui-96107985.js → floating-ui-298370ea.js} +2 -2
- package/dist/esm-es5/{form-88d4f177.js → form-f108307b.js} +2 -2
- package/dist/esm-es5/globalAttributes-2291d4b1.js +6 -0
- package/dist/esm-es5/{guid-55509439.js → guid-9cefc065.js} +1 -1
- package/dist/esm-es5/{index-97813f72.js → index-0c0c17d1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-1b52954c.js → interactive-ae0a4398.js} +1 -1
- package/dist/esm-es5/{interfaces-6ec5b73c.js → interfaces-19157cc4.js} +1 -1
- package/dist/esm-es5/{key-ce5f60d6.js → key-7e74c6b9.js} +1 -1
- package/dist/esm-es5/{label-2d423b2b.js → label-330899e1.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{math-0bd49a82.js → math-8ba11ebb.js} +1 -1
- package/dist/esm-es5/{observers-404bdaf4.js → observers-efe84af7.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-13961e76.js → openCloseComponent-1efe5f75.js} +1 -1
- package/dist/esm-es5/{resources-8839ba26.js → resources-313a3903.js} +1 -1
- package/dist/esm-es5/{resources-324a37ea.js → resources-8e2f225d.js} +1 -1
- package/dist/esm-es5/resources-8ef0e6e7.js +6 -0
- package/dist/esm-es5/{resources-ac142922.js → resources-9a47246f.js} +1 -1
- package/dist/esm-es5/{resources-a5c530b8.js → resources-c153dd11.js} +2 -2
- package/dist/esm-es5/{resources-9fd9c4c9.js → resources-e24d0cb2.js} +1 -1
- package/dist/esm-es5/{sortable.esm-ed460da3.js → sortable.esm-bb283cee.js} +1 -1
- package/dist/esm-es5/{utils-3c7d8c1c.js → utils-2ea7c354.js} +1 -1
- package/dist/extras/docs-json.json +260 -161
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action/action.d.ts +2 -1
- package/dist/types/components/action/resources.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +1 -5
- package/dist/types/components/avatar/avatar.d.ts +1 -2
- package/dist/types/components/color-picker/color-picker.d.ts +3 -2
- package/dist/types/components/combobox/combobox.d.ts +4 -4
- package/dist/types/components/date-picker/date-picker.d.ts +11 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -2
- package/dist/types/components/dropdown/dropdown.d.ts +1 -0
- package/dist/types/components/filter/filter.d.ts +1 -2
- package/dist/types/components/flow-item/flow-item.d.ts +12 -0
- package/dist/types/components/input/input.d.ts +10 -2
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +11 -2
- package/dist/types/components/input-number/input-number.d.ts +11 -4
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +15 -4
- package/dist/types/components/pagination/pagination.d.ts +2 -1
- package/dist/types/components/panel/panel.d.ts +7 -1
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +1 -0
- package/dist/types/components/tab-title/tab-title.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker.d.ts +9 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +49 -13
- package/dist/types/preact.d.ts +7 -3
- package/dist/types/utils/floating-ui.d.ts +1 -0
- package/dist/types/utils/locale.d.ts +22 -0
- package/hydrate/index.js +574 -507
- package/package.json +21 -22
- package/readme.md +2 -2
- package/dist/calcite/p-020b7335.entry.js +0 -6
- package/dist/calcite/p-044a36ff.entry.js +0 -6
- package/dist/calcite/p-0628d4fa.entry.js +0 -6
- package/dist/calcite/p-0837835e.entry.js +0 -6
- package/dist/calcite/p-0919bd04.system.entry.js +0 -6
- package/dist/calcite/p-0e7f3d68.system.entry.js +0 -6
- package/dist/calcite/p-122ff199.entry.js +0 -6
- package/dist/calcite/p-16337b72.system.entry.js +0 -6
- package/dist/calcite/p-17871ec0.entry.js +0 -6
- package/dist/calcite/p-185e4033.entry.js +0 -6
- package/dist/calcite/p-1c7b839d.entry.js +0 -6
- package/dist/calcite/p-1d56b5d1.entry.js +0 -6
- package/dist/calcite/p-204db6f8.system.entry.js +0 -6
- package/dist/calcite/p-2505662a.system.entry.js +0 -6
- package/dist/calcite/p-2a6d26fa.entry.js +0 -6
- package/dist/calcite/p-2dff9777.entry.js +0 -6
- package/dist/calcite/p-2e0eddd9.entry.js +0 -6
- package/dist/calcite/p-2e6208da.entry.js +0 -6
- package/dist/calcite/p-35b725c5.system.entry.js +0 -6
- package/dist/calcite/p-362eec7f.system.entry.js +0 -6
- package/dist/calcite/p-374eb734.js +0 -6
- package/dist/calcite/p-3964bca6.entry.js +0 -6
- package/dist/calcite/p-3c3cd88e.entry.js +0 -6
- package/dist/calcite/p-3ce7c235.system.entry.js +0 -6
- package/dist/calcite/p-3d8c351b.system.js +0 -6
- package/dist/calcite/p-40fcd81b.system.entry.js +0 -6
- package/dist/calcite/p-41ced97d.entry.js +0 -6
- package/dist/calcite/p-41d7a335.entry.js +0 -6
- package/dist/calcite/p-42d329b3.system.js +0 -6
- package/dist/calcite/p-433128a1.entry.js +0 -6
- package/dist/calcite/p-442f4954.entry.js +0 -6
- package/dist/calcite/p-45c6d6e7.entry.js +0 -6
- package/dist/calcite/p-4d4e57ed.entry.js +0 -6
- package/dist/calcite/p-4e5ee7b0.system.entry.js +0 -6
- package/dist/calcite/p-4ea8ee10.system.entry.js +0 -6
- package/dist/calcite/p-4ef2ed85.js +0 -6
- package/dist/calcite/p-4f29fc37.system.entry.js +0 -6
- package/dist/calcite/p-5560ff32.entry.js +0 -6
- package/dist/calcite/p-582b01c7.entry.js +0 -6
- package/dist/calcite/p-5948bb1f.system.entry.js +0 -6
- package/dist/calcite/p-5ef87b07.entry.js +0 -6
- package/dist/calcite/p-605b39af.entry.js +0 -6
- package/dist/calcite/p-65671b2f.system.entry.js +0 -6
- package/dist/calcite/p-66764961.system.entry.js +0 -6
- package/dist/calcite/p-6701137d.system.entry.js +0 -6
- package/dist/calcite/p-678a91c5.system.entry.js +0 -6
- package/dist/calcite/p-68f946ff.system.entry.js +0 -6
- package/dist/calcite/p-6bf804dd.system.js +0 -6
- package/dist/calcite/p-6c1a2d2b.system.entry.js +0 -6
- package/dist/calcite/p-6dfa7697.entry.js +0 -6
- package/dist/calcite/p-6e5eb5b2.system.entry.js +0 -6
- package/dist/calcite/p-6fc3d49c.js +0 -6
- package/dist/calcite/p-72cfbf77.system.js +0 -6
- package/dist/calcite/p-7424691d.entry.js +0 -6
- package/dist/calcite/p-782a99bd.system.entry.js +0 -6
- package/dist/calcite/p-7c1aef18.system.entry.js +0 -6
- package/dist/calcite/p-7fa6d3b0.js +0 -6
- package/dist/calcite/p-8102a036.system.entry.js +0 -6
- package/dist/calcite/p-81298e69.system.entry.js +0 -6
- package/dist/calcite/p-81de2b34.entry.js +0 -6
- package/dist/calcite/p-8368023a.system.js +0 -6
- package/dist/calcite/p-84f7d73f.system.entry.js +0 -6
- package/dist/calcite/p-85ecce0d.system.entry.js +0 -6
- package/dist/calcite/p-888f9bcc.system.entry.js +0 -6
- package/dist/calcite/p-8a95a841.system.entry.js +0 -6
- package/dist/calcite/p-8b3e9377.system.entry.js +0 -6
- package/dist/calcite/p-8ef605cf.system.entry.js +0 -6
- package/dist/calcite/p-9b8801d0.system.entry.js +0 -6
- package/dist/calcite/p-9d7ea9bc.system.entry.js +0 -6
- package/dist/calcite/p-a26537de.system.entry.js +0 -6
- package/dist/calcite/p-aa17cea2.entry.js +0 -6
- package/dist/calcite/p-abe5dc8f.entry.js +0 -6
- package/dist/calcite/p-ae698fec.system.entry.js +0 -6
- package/dist/calcite/p-b029b317.entry.js +0 -6
- package/dist/calcite/p-b254146a.system.entry.js +0 -6
- package/dist/calcite/p-b34556f5.system.entry.js +0 -6
- package/dist/calcite/p-b3c01d69.system.entry.js +0 -6
- package/dist/calcite/p-b85b77f4.system.entry.js +0 -6
- package/dist/calcite/p-b9109e51.system.entry.js +0 -6
- package/dist/calcite/p-b95ae634.system.entry.js +0 -6
- package/dist/calcite/p-bf97e224.entry.js +0 -6
- package/dist/calcite/p-c095a9cd.entry.js +0 -6
- package/dist/calcite/p-c19c1492.system.entry.js +0 -6
- package/dist/calcite/p-c43b5d4a.system.entry.js +0 -6
- package/dist/calcite/p-c73c6312.entry.js +0 -6
- package/dist/calcite/p-c9f7a134.system.entry.js +0 -6
- package/dist/calcite/p-ca696651.system.js +0 -6
- package/dist/calcite/p-cc11b456.entry.js +0 -6
- package/dist/calcite/p-d062dc3d.system.entry.js +0 -6
- package/dist/calcite/p-d07137ec.entry.js +0 -6
- package/dist/calcite/p-d1379efd.js +0 -6
- package/dist/calcite/p-d256d6b7.system.entry.js +0 -6
- package/dist/calcite/p-d4bee283.system.entry.js +0 -6
- package/dist/calcite/p-d6bf0b00.system.entry.js +0 -6
- package/dist/calcite/p-d994cde9.entry.js +0 -6
- package/dist/calcite/p-ddb43295.system.entry.js +0 -6
- package/dist/calcite/p-df3081ca.entry.js +0 -6
- package/dist/calcite/p-e2504e6f.system.entry.js +0 -6
- package/dist/calcite/p-e61da410.system.entry.js +0 -6
- package/dist/calcite/p-e6aa9c0c.js +0 -6
- package/dist/calcite/p-ecd09941.entry.js +0 -6
- package/dist/calcite/p-f2ec06b1.system.entry.js +0 -6
- package/dist/calcite/p-f34efde2.system.entry.js +0 -6
- package/dist/calcite/p-f4e90521.entry.js +0 -6
- package/dist/calcite/p-f5d5b66e.system.entry.js +0 -6
- package/dist/calcite/p-f8907fe2.system.entry.js +0 -6
- package/dist/cjs/globalAttributes-cca5e885.js +0 -71
- package/dist/esm/globalAttributes-9cbae7de.js +0 -68
- package/dist/esm/locale-f712f91a.js +0 -254
- package/dist/esm-es5/ExpandToggle-5dec20d4.js +0 -6
- package/dist/esm-es5/app-globals-426f10d1.js +0 -6
- package/dist/esm-es5/globalAttributes-9cbae7de.js +0 -6
- package/dist/esm-es5/locale-f712f91a.js +0 -6
- package/dist/esm-es5/resources-b9a5671b.js +0 -6
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { connectLabel, disconnectLabel, getLabelText, labelClickEvent } from "./label";
|
|
2
|
+
describe("label", () => {
|
|
3
|
+
function createFakeLabelable(overrides) {
|
|
4
|
+
const base = {
|
|
5
|
+
disabled: null,
|
|
6
|
+
el: null,
|
|
7
|
+
label: null,
|
|
8
|
+
labelEl: null,
|
|
9
|
+
onLabelClick: jest.fn()
|
|
10
|
+
};
|
|
11
|
+
return { ...base, ...overrides };
|
|
12
|
+
}
|
|
13
|
+
describe("connectLabel/disconnectLabel", () => {
|
|
14
|
+
describe("wires up the associated label", () => {
|
|
15
|
+
/**
|
|
16
|
+
* This util helps simulate calcite-label's behavior since we cannot use the component here
|
|
17
|
+
*
|
|
18
|
+
* @param label
|
|
19
|
+
*/
|
|
20
|
+
function wireUpFakeLabel(label) {
|
|
21
|
+
label.addEventListener("click", (event) => {
|
|
22
|
+
label.dispatchEvent(new CustomEvent(labelClickEvent, { detail: { sourceEvent: event } }));
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
it("ignores labelable with no associated label", () => {
|
|
26
|
+
document.body.innerHTML = `
|
|
27
|
+
<fake-labelable id="unlabeled"></fake-labelable>
|
|
28
|
+
`;
|
|
29
|
+
const fakeLabelableEl = document.querySelector("#unlabeled");
|
|
30
|
+
const nonLabelable = createFakeLabelable({
|
|
31
|
+
el: fakeLabelableEl
|
|
32
|
+
});
|
|
33
|
+
connectLabel(nonLabelable);
|
|
34
|
+
expect(nonLabelable.labelEl).toBeNull();
|
|
35
|
+
disconnectLabel(nonLabelable);
|
|
36
|
+
expect(nonLabelable.labelEl).toBeNull();
|
|
37
|
+
});
|
|
38
|
+
it("prevents selecting disabled labeled element", () => {
|
|
39
|
+
document.body.innerHTML = `
|
|
40
|
+
<calcite-label for="for">label</calcite-label>
|
|
41
|
+
<fake-labelable id="for"></fake-labelable>
|
|
42
|
+
`;
|
|
43
|
+
const labelEl = document.querySelector("calcite-label");
|
|
44
|
+
const fakeLabelableEl = document.querySelector("#for");
|
|
45
|
+
wireUpFakeLabel(labelEl);
|
|
46
|
+
const labelable = createFakeLabelable({
|
|
47
|
+
el: fakeLabelableEl,
|
|
48
|
+
disabled: true
|
|
49
|
+
});
|
|
50
|
+
connectLabel(labelable);
|
|
51
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
52
|
+
labelEl.click();
|
|
53
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(0);
|
|
54
|
+
disconnectLabel(labelable);
|
|
55
|
+
});
|
|
56
|
+
it("supports for attribute", () => {
|
|
57
|
+
document.body.innerHTML = `
|
|
58
|
+
<calcite-label for="for">label</calcite-label>
|
|
59
|
+
<fake-labelable id="for"></fake-labelable>
|
|
60
|
+
`;
|
|
61
|
+
const labelEl = document.querySelector("calcite-label");
|
|
62
|
+
const fakeLabelableEl = document.querySelector("#for");
|
|
63
|
+
wireUpFakeLabel(labelEl);
|
|
64
|
+
const labelable = createFakeLabelable({
|
|
65
|
+
el: fakeLabelableEl
|
|
66
|
+
});
|
|
67
|
+
connectLabel(labelable);
|
|
68
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
69
|
+
labelEl.click();
|
|
70
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
71
|
+
disconnectLabel(labelable);
|
|
72
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
73
|
+
labelEl.click();
|
|
74
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
75
|
+
});
|
|
76
|
+
it("supports wrapped labelable", () => {
|
|
77
|
+
document.body.innerHTML = `
|
|
78
|
+
<calcite-label>
|
|
79
|
+
label
|
|
80
|
+
<fake-labelable></fake-labelable>
|
|
81
|
+
</calcite-label>
|
|
82
|
+
`;
|
|
83
|
+
const labelEl = document.querySelector("calcite-label");
|
|
84
|
+
const fakeLabelableEl = document.querySelector("fake-labelable");
|
|
85
|
+
wireUpFakeLabel(labelEl);
|
|
86
|
+
const labelable = createFakeLabelable({
|
|
87
|
+
el: fakeLabelableEl
|
|
88
|
+
});
|
|
89
|
+
connectLabel(labelable);
|
|
90
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
91
|
+
labelEl.click();
|
|
92
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
93
|
+
disconnectLabel(labelable);
|
|
94
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
95
|
+
labelEl.click();
|
|
96
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
97
|
+
});
|
|
98
|
+
it("supports being rendered after labelable", () => {
|
|
99
|
+
document.body.innerHTML = `
|
|
100
|
+
<fake-labelable id="renderedFirst"></fake-labelable>
|
|
101
|
+
`;
|
|
102
|
+
const label = document.createElement("calcite-label");
|
|
103
|
+
label.setAttribute("for", "renderedFirst");
|
|
104
|
+
document.body.appendChild(label);
|
|
105
|
+
const labelEl = document.querySelector("calcite-label");
|
|
106
|
+
const fakeLabelableEl = document.querySelector("fake-labelable");
|
|
107
|
+
wireUpFakeLabel(labelEl);
|
|
108
|
+
const labelable = createFakeLabelable({
|
|
109
|
+
el: fakeLabelableEl
|
|
110
|
+
});
|
|
111
|
+
connectLabel(labelable);
|
|
112
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
113
|
+
labelEl.click();
|
|
114
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
115
|
+
disconnectLabel(labelable);
|
|
116
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
117
|
+
labelEl.click();
|
|
118
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
119
|
+
});
|
|
120
|
+
it("works if reattached to labelable", () => {
|
|
121
|
+
document.body.innerHTML = `
|
|
122
|
+
<calcite-label for="for"></calcite-label>
|
|
123
|
+
<fake-labelable id="for"></fake-labelable>
|
|
124
|
+
`;
|
|
125
|
+
document.querySelector("calcite-label").remove();
|
|
126
|
+
const label = document.createElement("calcite-label");
|
|
127
|
+
label.setAttribute("for", "for");
|
|
128
|
+
document.body.appendChild(label);
|
|
129
|
+
const labelEl = document.querySelector("calcite-label");
|
|
130
|
+
const fakeLabelableEl = document.querySelector("fake-labelable");
|
|
131
|
+
wireUpFakeLabel(labelEl);
|
|
132
|
+
const labelable = createFakeLabelable({
|
|
133
|
+
el: fakeLabelableEl
|
|
134
|
+
});
|
|
135
|
+
connectLabel(labelable);
|
|
136
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
137
|
+
labelEl.click();
|
|
138
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
139
|
+
disconnectLabel(labelable);
|
|
140
|
+
expect(labelable.labelEl).toBe(labelEl);
|
|
141
|
+
labelEl.click();
|
|
142
|
+
expect(labelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
143
|
+
});
|
|
144
|
+
it("does not support nested labelables", () => {
|
|
145
|
+
document.body.innerHTML = `
|
|
146
|
+
<calcite-label>
|
|
147
|
+
label
|
|
148
|
+
<fake-labelable id="outer">
|
|
149
|
+
<fake-labelable id="inner"></fake-labelable>
|
|
150
|
+
</fake-labelable>
|
|
151
|
+
</calcite-label>
|
|
152
|
+
`;
|
|
153
|
+
const labelEl = document.querySelector("calcite-label");
|
|
154
|
+
const fakeInnerLabelableEl = document.querySelector("#inner");
|
|
155
|
+
const fakeOuterLabelableEl = document.querySelector("#outer");
|
|
156
|
+
wireUpFakeLabel(labelEl);
|
|
157
|
+
const innerLabelable = createFakeLabelable({
|
|
158
|
+
el: fakeInnerLabelableEl
|
|
159
|
+
});
|
|
160
|
+
connectLabel(innerLabelable);
|
|
161
|
+
expect(innerLabelable.labelEl).toBeNull();
|
|
162
|
+
const outerLabelable = createFakeLabelable({
|
|
163
|
+
el: fakeOuterLabelableEl
|
|
164
|
+
});
|
|
165
|
+
connectLabel(outerLabelable);
|
|
166
|
+
expect(outerLabelable.labelEl).toBe(labelEl);
|
|
167
|
+
labelEl.click();
|
|
168
|
+
expect(outerLabelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
169
|
+
disconnectLabel(outerLabelable);
|
|
170
|
+
labelEl.click();
|
|
171
|
+
expect(outerLabelable.onLabelClick).toHaveBeenCalledTimes(1);
|
|
172
|
+
});
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
it("getLabelText", () => {
|
|
176
|
+
const label = "from-label";
|
|
177
|
+
expect(getLabelText(createFakeLabelable({ label }))).toBe("from-label");
|
|
178
|
+
const labelEl = document.createElement("calcite-label");
|
|
179
|
+
labelEl.textContent = "from-text-content";
|
|
180
|
+
expect(getLabelText(createFakeLabelable({
|
|
181
|
+
labelEl
|
|
182
|
+
}))).toBe("from-text-content");
|
|
183
|
+
expect(getLabelText(createFakeLabelable({
|
|
184
|
+
label,
|
|
185
|
+
labelEl
|
|
186
|
+
}))).toBe("from-label");
|
|
187
|
+
});
|
|
188
|
+
});
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
import { sanitizeDecimalString, sanitizeExponentialNumberString, isValidNumber, BigDecimal } from "./number";
|
|
7
7
|
export const locales = [
|
|
@@ -121,3 +121,12 @@ export function localizeNumberString(numberString, locale, displayGroupSeparator
|
|
|
121
121
|
return nonExpoNumString;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* This util helps resolve a component's locale.
|
|
126
|
+
* It will also fall back on the deprecated `locale` if a component implemented this previously.
|
|
127
|
+
*
|
|
128
|
+
* @param component
|
|
129
|
+
*/
|
|
130
|
+
export function getLocale(component) {
|
|
131
|
+
return component.el.lang || component.locale || document.documentElement.lang || "en";
|
|
132
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { delocalizeNumberString, localizeNumberString, locales } from "./locale";
|
|
2
|
+
const localesWithIssues = ["ar"]; // arabic has different numeral characters
|
|
3
|
+
describe("localizeNumberString and delocalizeNumberString", () => {
|
|
4
|
+
locales
|
|
5
|
+
.filter((locale) => !localesWithIssues.includes(locale))
|
|
6
|
+
.forEach((locale) => {
|
|
7
|
+
it(`integers localize and delocalize in "${locale}"`, () => {
|
|
8
|
+
const numberString = "555";
|
|
9
|
+
const localizedNumberString = localizeNumberString(numberString, locale);
|
|
10
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
11
|
+
expect(delocalizedNumberString).toBe(numberString);
|
|
12
|
+
});
|
|
13
|
+
it(`negative numbers localize and delocalize in "${locale}"`, () => {
|
|
14
|
+
const numberString = "-123";
|
|
15
|
+
const localizedNumberString = localizeNumberString(numberString, locale);
|
|
16
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
17
|
+
expect(delocalizedNumberString).toBe(numberString);
|
|
18
|
+
});
|
|
19
|
+
it(`floating point numbers localize and delocalize in "${locale}"`, () => {
|
|
20
|
+
const numberString = "4.321";
|
|
21
|
+
const localizedNumberString = localizeNumberString(numberString, locale);
|
|
22
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
23
|
+
expect(delocalizedNumberString).toBe(numberString);
|
|
24
|
+
});
|
|
25
|
+
it(`exponential numbers localize and delocalize in "${locale}"`, () => {
|
|
26
|
+
const numberString = "2.5e-3";
|
|
27
|
+
const localizedNumberString = localizeNumberString(numberString, locale);
|
|
28
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
29
|
+
expect(delocalizedNumberString).toBe(numberString);
|
|
30
|
+
});
|
|
31
|
+
it(`numbers with group separators localize and delocalize in "${locale}"`, () => {
|
|
32
|
+
const numberString = "1,234";
|
|
33
|
+
const localizedNumberString = localizeNumberString(numberString, locale, true);
|
|
34
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
35
|
+
expect(delocalizedNumberString).toBe("1234");
|
|
36
|
+
});
|
|
37
|
+
it(`floating point numbers with group separators localize and delocalize in "${locale}"`, () => {
|
|
38
|
+
const numberString = "12,345,678.9";
|
|
39
|
+
const localizedNumberString = localizeNumberString(numberString, locale, true);
|
|
40
|
+
const delocalizedNumberString = delocalizeNumberString(localizedNumberString, locale);
|
|
41
|
+
expect(delocalizedNumberString).toBe("12345678.9");
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
});
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
export const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
export const decimalPlaces = (value) => {
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
import { numberKeys } from "./key";
|
|
7
7
|
import { createLocaleNumberFormatter, getDecimalSeparator, getMinusSign } from "./locale";
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { BigDecimal, isValidNumber, parseNumberString, sanitizeNumberString } from "./number";
|
|
2
|
+
import { getDecimalSeparator, getGroupSeparator, getMinusSign, locales } from "./locale";
|
|
3
|
+
describe("isValidNumber", () => {
|
|
4
|
+
it("returns false for string values that can't compute to a number", () => {
|
|
5
|
+
expect(isValidNumber("undefined")).toBe(false);
|
|
6
|
+
expect(isValidNumber(";lkj2323")).toBe(false);
|
|
7
|
+
expect(isValidNumber("")).toBe(false);
|
|
8
|
+
expect(isValidNumber(undefined)).toBe(false);
|
|
9
|
+
expect(isValidNumber(null)).toBe(false);
|
|
10
|
+
expect(isValidNumber("null")).toBe(false);
|
|
11
|
+
expect(isValidNumber("not a number")).toBe(false);
|
|
12
|
+
expect(isValidNumber("1 2345,67")).toBe(false);
|
|
13
|
+
});
|
|
14
|
+
it("returns true for string values that compute to a valid number", () => {
|
|
15
|
+
expect(isValidNumber("123345345")).toBe(true);
|
|
16
|
+
expect(isValidNumber("123123.234234")).toBe(true);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
describe("parseNumberString", () => {
|
|
20
|
+
it("returns empty string for string values that can't compute to a number", () => {
|
|
21
|
+
expect(parseNumberString()).toBe("");
|
|
22
|
+
expect(parseNumberString(null)).toBe("");
|
|
23
|
+
expect(parseNumberString(undefined)).toBe("");
|
|
24
|
+
expect(parseNumberString("")).toBe("");
|
|
25
|
+
expect(parseNumberString("only nums")).toBe("");
|
|
26
|
+
const lettersAndSymbols = "kjas;lkjwo;aij(*&,asd;flkj-";
|
|
27
|
+
const lettersAndSymbolsWithLeadingNegativeSign = "-ASDF(*^LKJihsdf*&^";
|
|
28
|
+
expect(parseNumberString(lettersAndSymbols)).toBe("");
|
|
29
|
+
expect(parseNumberString(lettersAndSymbolsWithLeadingNegativeSign)).toBe("");
|
|
30
|
+
});
|
|
31
|
+
it("returns valid number string for string values that compute to a valid number", () => {
|
|
32
|
+
const stringWithLettersAndDigits = "lkj2323lkj";
|
|
33
|
+
const frenchNumber = "1 2345,67";
|
|
34
|
+
const positiveInteger = "123345345";
|
|
35
|
+
const stringWithLettersDigitsAndSymbols = "123sdfa34345klndfsi8*&(^asdf5345";
|
|
36
|
+
const decimal = "123123.234234";
|
|
37
|
+
const stringWithLettersAndDecimal = "12asdfas$%@$3123.23asdf2a4234";
|
|
38
|
+
const stringWithLettersDecimalAndNonLeadingNegativeSign = "12a-sdfas$%@$3123.23asdf2a4234";
|
|
39
|
+
const stringWithLettersDecimalAndLeadingNegativeSign = "-12a-sdfas$%@$3123.23asdf2a4234";
|
|
40
|
+
expect(parseNumberString(stringWithLettersAndDigits)).toBe("2323");
|
|
41
|
+
expect(parseNumberString(frenchNumber)).toBe("1234567");
|
|
42
|
+
expect(parseNumberString(positiveInteger)).toBe(positiveInteger);
|
|
43
|
+
expect(parseNumberString(stringWithLettersDigitsAndSymbols)).toBe("1233434585345");
|
|
44
|
+
expect(parseNumberString(decimal)).toBe(decimal);
|
|
45
|
+
expect(parseNumberString(stringWithLettersAndDecimal)).toBe("123123.2324234");
|
|
46
|
+
expect(parseNumberString(stringWithLettersDecimalAndNonLeadingNegativeSign)).toBe("123123.2324234");
|
|
47
|
+
expect(parseNumberString(stringWithLettersDecimalAndLeadingNegativeSign)).toBe("-123123.2324234");
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
describe("sanitizeNumberString", () => {
|
|
51
|
+
it("sanitizes exponential numbers, leading zeros, multiple dashes, and trailing decimals", () => {
|
|
52
|
+
const stringWithMultipleDashes = "1--2-34----";
|
|
53
|
+
const negativeStringWithMultipleDashes = "---1--23--4---";
|
|
54
|
+
const stringWithOnlyZeros = "0000000";
|
|
55
|
+
const stringWithLeadingZeros = "00000001";
|
|
56
|
+
const negativeStringWithLeadingZeros = "-00001";
|
|
57
|
+
const negativeDecimalStringWithLeadingZeros = "-00001.0001";
|
|
58
|
+
const stringWithoutLeadingZeros = "10000000";
|
|
59
|
+
const stringWithTrailingDecimal = "123.";
|
|
60
|
+
const stringWithDecimal = "123.45";
|
|
61
|
+
const exponentialString = "2.5e123";
|
|
62
|
+
const negativeExponentialString = "-2.5e-1--2--3";
|
|
63
|
+
const multipleEString = "2e4ee2421e";
|
|
64
|
+
const singleEString = "E";
|
|
65
|
+
const leadingEString = "E5";
|
|
66
|
+
const trailingEString = "12E";
|
|
67
|
+
const leadingZeroExponentialString = "000005e00006";
|
|
68
|
+
const nonLeadingZeroExponentialString = "500000e00600";
|
|
69
|
+
const multiDecimalExponentialString = "1.2e2.1";
|
|
70
|
+
const crazyExponentialString = "-2-.-1ee.5-3e.1..e--09";
|
|
71
|
+
expect(sanitizeNumberString(stringWithMultipleDashes)).toBe("1234");
|
|
72
|
+
expect(sanitizeNumberString(negativeStringWithMultipleDashes)).toBe("-1234");
|
|
73
|
+
expect(sanitizeNumberString(stringWithOnlyZeros)).toBe("0");
|
|
74
|
+
expect(sanitizeNumberString(stringWithLeadingZeros)).toBe("1");
|
|
75
|
+
expect(sanitizeNumberString(negativeStringWithLeadingZeros)).toBe("-1");
|
|
76
|
+
expect(sanitizeNumberString(negativeDecimalStringWithLeadingZeros)).toBe("-1.0001");
|
|
77
|
+
expect(sanitizeNumberString(stringWithoutLeadingZeros)).toBe("10000000");
|
|
78
|
+
expect(sanitizeNumberString(stringWithTrailingDecimal)).toBe("123");
|
|
79
|
+
expect(sanitizeNumberString(stringWithDecimal)).toBe("123.45");
|
|
80
|
+
expect(sanitizeNumberString(exponentialString)).toBe("2.5e123");
|
|
81
|
+
expect(sanitizeNumberString(negativeExponentialString)).toBe("-2.5e-123");
|
|
82
|
+
expect(sanitizeNumberString(multipleEString)).toBe("2e42421");
|
|
83
|
+
expect(sanitizeNumberString(singleEString)).toBe("");
|
|
84
|
+
expect(sanitizeNumberString(leadingEString)).toBe("1e5");
|
|
85
|
+
expect(sanitizeNumberString(trailingEString)).toBe("12");
|
|
86
|
+
expect(sanitizeNumberString(leadingZeroExponentialString)).toBe("5e6");
|
|
87
|
+
expect(sanitizeNumberString(nonLeadingZeroExponentialString)).toBe("500000e600");
|
|
88
|
+
expect(sanitizeNumberString(multiDecimalExponentialString)).toBe("1.2e21");
|
|
89
|
+
expect(sanitizeNumberString(crazyExponentialString)).toBe("-2.1e53109");
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
describe("BigDecimal", () => {
|
|
93
|
+
it("handles precise/large numbers and arbitrary-precision arithmetic", () => {
|
|
94
|
+
const subtract = new BigDecimal("0.3").subtract("0.1").toString();
|
|
95
|
+
expect(subtract).toBe("0.2");
|
|
96
|
+
const add = new BigDecimal(Number.MAX_SAFE_INTEGER.toString()).add("1").toString();
|
|
97
|
+
expect(Number(add)).toBeGreaterThan(Number.MAX_SAFE_INTEGER);
|
|
98
|
+
const negativeZero = new BigDecimal("-0").toString();
|
|
99
|
+
expect(negativeZero).toBe("-0");
|
|
100
|
+
});
|
|
101
|
+
locales.forEach((locale) => {
|
|
102
|
+
it(`correctly localizes number parts - ${locale}`, () => {
|
|
103
|
+
const parts = new BigDecimal("-12345678.9").formatToParts(locale);
|
|
104
|
+
const group = getGroupSeparator(locale);
|
|
105
|
+
const groupPart = parts.find((part) => part.type === "group").value;
|
|
106
|
+
expect(groupPart.trim().length === 0 ? " " : groupPart).toBe(group);
|
|
107
|
+
const decimal = getDecimalSeparator(locale);
|
|
108
|
+
expect(parts.find((part) => part.type === "decimal").value).toBe(decimal);
|
|
109
|
+
const minusSign = getMinusSign(locale);
|
|
110
|
+
expect(parts.find((part) => part.type === "minusSign").value).toBe(minusSign);
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
});
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { createPopper as setupPopper } from "@popperjs/core";
|
|
2
|
+
import { getElementDir } from "./dom";
|
|
3
|
+
export const popperPlacements = [
|
|
4
|
+
"auto",
|
|
5
|
+
"auto-start",
|
|
6
|
+
"auto-end",
|
|
7
|
+
"top",
|
|
8
|
+
"top-start",
|
|
9
|
+
"top-end",
|
|
10
|
+
"bottom",
|
|
11
|
+
"bottom-start",
|
|
12
|
+
"bottom-end",
|
|
13
|
+
"right",
|
|
14
|
+
"right-start",
|
|
15
|
+
"right-end",
|
|
16
|
+
"left",
|
|
17
|
+
"left-start",
|
|
18
|
+
"left-end",
|
|
19
|
+
"leading-start",
|
|
20
|
+
"leading",
|
|
21
|
+
"leading-end",
|
|
22
|
+
"trailing-end",
|
|
23
|
+
"trailing",
|
|
24
|
+
"trailing-start",
|
|
25
|
+
"leading-leading",
|
|
26
|
+
"leading-trailing",
|
|
27
|
+
"trailing-leading",
|
|
28
|
+
"trailing-trailing",
|
|
29
|
+
"top-leading",
|
|
30
|
+
"top-trailing",
|
|
31
|
+
"bottom-leading",
|
|
32
|
+
"bottom-trailing",
|
|
33
|
+
"right-leading",
|
|
34
|
+
"right-trailing",
|
|
35
|
+
"left-leading",
|
|
36
|
+
"left-trailing"
|
|
37
|
+
];
|
|
38
|
+
export const popperComputedPlacements = [
|
|
39
|
+
"top",
|
|
40
|
+
"bottom",
|
|
41
|
+
"right",
|
|
42
|
+
"left",
|
|
43
|
+
"top-start",
|
|
44
|
+
"top-end",
|
|
45
|
+
"bottom-start",
|
|
46
|
+
"bottom-end",
|
|
47
|
+
"right-start",
|
|
48
|
+
"right-end",
|
|
49
|
+
"left-start",
|
|
50
|
+
"left-end"
|
|
51
|
+
];
|
|
52
|
+
export const defaultMenuPlacement = "bottom-leading";
|
|
53
|
+
export const popperMenuPlacements = [
|
|
54
|
+
"top-start",
|
|
55
|
+
"top",
|
|
56
|
+
"top-end",
|
|
57
|
+
"bottom-start",
|
|
58
|
+
"bottom",
|
|
59
|
+
"bottom-end",
|
|
60
|
+
"top-leading",
|
|
61
|
+
"top-trailing",
|
|
62
|
+
"bottom-leading",
|
|
63
|
+
"bottom-trailing"
|
|
64
|
+
];
|
|
65
|
+
export const popperMenuComputedPlacements = [
|
|
66
|
+
"top-start",
|
|
67
|
+
"top",
|
|
68
|
+
"top-end",
|
|
69
|
+
"bottom-start",
|
|
70
|
+
"bottom",
|
|
71
|
+
"bottom-end"
|
|
72
|
+
];
|
|
73
|
+
export const CSS = {
|
|
74
|
+
animation: "calcite-popper-anim",
|
|
75
|
+
animationActive: "calcite-popper-anim--active"
|
|
76
|
+
};
|
|
77
|
+
export function filterComputedPlacements(placements, el) {
|
|
78
|
+
const filteredPlacements = placements.filter((placement) => popperComputedPlacements.includes(placement));
|
|
79
|
+
if (filteredPlacements.length !== placements.length) {
|
|
80
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${popperComputedPlacements
|
|
81
|
+
.map((placement) => `"${placement}"`)
|
|
82
|
+
.join(", ")
|
|
83
|
+
.trim()}`, { el });
|
|
84
|
+
}
|
|
85
|
+
return filteredPlacements;
|
|
86
|
+
}
|
|
87
|
+
export function getPlacement(el, placement) {
|
|
88
|
+
const placements = ["left", "right"];
|
|
89
|
+
const variations = ["start", "end"];
|
|
90
|
+
if (getElementDir(el) === "rtl") {
|
|
91
|
+
placements.reverse();
|
|
92
|
+
variations.reverse();
|
|
93
|
+
}
|
|
94
|
+
return placement
|
|
95
|
+
.replace(/-leading/gi, `-${variations[0]}`)
|
|
96
|
+
.replace(/-trailing/gi, `-${variations[1]}`)
|
|
97
|
+
.replace(/leading/gi, placements[0])
|
|
98
|
+
.replace(/trailing/gi, placements[1]);
|
|
99
|
+
}
|
|
100
|
+
export function createPopper({ referenceEl, el, placement, overlayPositioning = "absolute", modifiers }) {
|
|
101
|
+
if (!referenceEl) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
return setupPopper(referenceEl, el, {
|
|
105
|
+
strategy: overlayPositioning,
|
|
106
|
+
placement: getPlacement(el, placement),
|
|
107
|
+
modifiers
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
export async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
111
|
+
const placement = getPlacement(el, PopperPlacement);
|
|
112
|
+
await popper.setOptions({
|
|
113
|
+
modifiers,
|
|
114
|
+
placement
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export function hypotenuse(sideA, sideB) {
|
|
118
|
+
return Math.sqrt(Math.pow(sideA, 2) + Math.pow(sideB, 2));
|
|
119
|
+
}
|
|
120
|
+
const visiblePointerSize = 4;
|
|
121
|
+
export const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePointerSize));
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
export const autoTheme = "calcite-theme-auto";
|
|
7
7
|
export const darkTheme = "calcite-theme-dark";
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
import { autoTheme, darkTheme } from "./resources";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
import { isValidNumber } from "./number";
|
|
7
7
|
export const maxTenthForMinuteAndSecond = 5;
|
|
@@ -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.591
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
import { h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -23,7 +23,7 @@ const ICONS = {
|
|
|
23
23
|
menu: "ellipsis"
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
|
|
26
|
+
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
|
|
27
27
|
|
|
28
28
|
const ActionGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
29
|
constructor() {
|