@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,294 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { renders, accessible, HYDRATED_ATTR, hidden } from "../../tests/commonTests";
|
|
3
|
+
import { html } from "../../../support/formatting";
|
|
4
|
+
import { CSS } from "./resources";
|
|
5
|
+
describe("calcite-alert", () => {
|
|
6
|
+
const alertContent = `
|
|
7
|
+
<div slot="title">Title Text</div>
|
|
8
|
+
<div slot="message">Message Text</div>
|
|
9
|
+
<a slot="link" href="">Action</a>
|
|
10
|
+
`;
|
|
11
|
+
it("renders", async () => renders("calcite-alert", { visible: false, display: "block" }));
|
|
12
|
+
it("honors hidden attribute", async () => hidden(`<calcite-alert open></calcite-alert>`));
|
|
13
|
+
it("is accessible", async () => accessible(`
|
|
14
|
+
<calcite-alert open label="test">
|
|
15
|
+
${alertContent}
|
|
16
|
+
</calcite-alert>
|
|
17
|
+
`));
|
|
18
|
+
it("is accessible with auto-dismiss", async () => accessible(`
|
|
19
|
+
<calcite-alert open auto-dismiss auto-dismiss-duration="slow" label="test">
|
|
20
|
+
${alertContent}
|
|
21
|
+
</calcite-alert>
|
|
22
|
+
`));
|
|
23
|
+
it("renders default props when none are provided", async () => {
|
|
24
|
+
const page = await newE2EPage();
|
|
25
|
+
await page.setContent(`
|
|
26
|
+
<calcite-alert>
|
|
27
|
+
${alertContent}
|
|
28
|
+
</calcite-alert>`);
|
|
29
|
+
const element = await page.find("calcite-alert");
|
|
30
|
+
const close = await page.find("calcite-alert >>> .alert-close");
|
|
31
|
+
const icon = await page.find("calcite-alert >>> .alert-icon");
|
|
32
|
+
expect(element).toEqualAttribute("color", "blue");
|
|
33
|
+
expect(close).not.toBeNull();
|
|
34
|
+
expect(icon).toBeNull();
|
|
35
|
+
});
|
|
36
|
+
it("renders requested props when valid props are provided", async () => {
|
|
37
|
+
const page = await newE2EPage();
|
|
38
|
+
await page.setContent(`
|
|
39
|
+
<calcite-alert color="yellow" auto-dismiss-duration="fast" auto-dismiss>
|
|
40
|
+
${alertContent}
|
|
41
|
+
</calcite-alert>`);
|
|
42
|
+
const element = await page.find("calcite-alert");
|
|
43
|
+
const close = await page.find("calcite-alert >>> .alert-close");
|
|
44
|
+
const icon = await page.find("calcite-alert >>> .alert-icon");
|
|
45
|
+
expect(element).toEqualAttribute("color", "yellow");
|
|
46
|
+
expect(element).toEqualAttribute("auto-dismiss-duration", "fast");
|
|
47
|
+
expect(close).toBeNull();
|
|
48
|
+
expect(icon).toBeNull();
|
|
49
|
+
});
|
|
50
|
+
it("renders with an icon", async () => {
|
|
51
|
+
const page = await newE2EPage();
|
|
52
|
+
await page.setContent(`
|
|
53
|
+
<calcite-alert icon>
|
|
54
|
+
${alertContent}
|
|
55
|
+
</calcite-alert>`);
|
|
56
|
+
const element = await page.find("calcite-alert");
|
|
57
|
+
const close = await page.find("calcite-alert >>> .alert-close");
|
|
58
|
+
const icon = await page.find("calcite-alert >>> .alert-icon");
|
|
59
|
+
expect(element).toHaveAttribute(HYDRATED_ATTR);
|
|
60
|
+
expect(close).not.toBeNull();
|
|
61
|
+
expect(icon).not.toBeNull();
|
|
62
|
+
});
|
|
63
|
+
it("closes on time based on alert duration", async () => {
|
|
64
|
+
const page = await newE2EPage();
|
|
65
|
+
await page.setContent(html `
|
|
66
|
+
<div>
|
|
67
|
+
<calcite-button id="button-2" onclick="document.querySelector('#alert-2').setAttribute('open', '')"
|
|
68
|
+
>open alert-1</calcite-button
|
|
69
|
+
>
|
|
70
|
+
<calcite-alert label="this is a success" id="alert-2" scale="s" color="green" auto-dismiss icon>
|
|
71
|
+
<div slot="title">Hello there!</div>
|
|
72
|
+
<div slot="message">Get success!</div>
|
|
73
|
+
<calcite-link slot="link" title="my action"> Do thing </calcite-link>
|
|
74
|
+
</calcite-alert>
|
|
75
|
+
</div>
|
|
76
|
+
`);
|
|
77
|
+
const alert2 = await page.find("#alert-2");
|
|
78
|
+
const button2 = await page.find("#button-2");
|
|
79
|
+
const alertSpeedFastMs = 10000;
|
|
80
|
+
expect(await alert2.isVisible()).not.toBe(true);
|
|
81
|
+
await button2.click();
|
|
82
|
+
expect(await alert2.isVisible()).toBe(true);
|
|
83
|
+
await page.waitForTimeout(alertSpeedFastMs);
|
|
84
|
+
expect(await alert2.isVisible()).not.toBe(true);
|
|
85
|
+
});
|
|
86
|
+
const animationDurationInMs = 400;
|
|
87
|
+
it("opens and then closes a single alert", async () => {
|
|
88
|
+
const page = await newE2EPage();
|
|
89
|
+
await page.setContent(`
|
|
90
|
+
<div>
|
|
91
|
+
<calcite-button id="button-1" onclick="document.querySelector('#alert-1').setAttribute('open', '')">open alert-1</calcite-button>
|
|
92
|
+
<calcite-alert id="alert-1">
|
|
93
|
+
${alertContent}
|
|
94
|
+
</calcite-alert>
|
|
95
|
+
</div>`);
|
|
96
|
+
const alert1 = await page.find("#alert-1");
|
|
97
|
+
const button1 = await page.find("#button-1");
|
|
98
|
+
const alertclose1 = await page.find("#alert-1 >>> .alert-close");
|
|
99
|
+
expect(await alert1.isVisible()).not.toBe(true);
|
|
100
|
+
await button1.click();
|
|
101
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
102
|
+
expect(await alert1.isVisible()).toBe(true);
|
|
103
|
+
await alertclose1.click();
|
|
104
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
105
|
+
expect(await alert1.isVisible()).not.toBe(true);
|
|
106
|
+
});
|
|
107
|
+
it("opens the correct alert when multiple have been opened at once", async () => {
|
|
108
|
+
const page = await newE2EPage();
|
|
109
|
+
await page.setContent(`
|
|
110
|
+
<div>
|
|
111
|
+
<calcite-button id="button-1" onclick="document.querySelector('#alert-1').setAttribute('open', '')">open alert-1</calcite-button>
|
|
112
|
+
<calcite-button id="button-2" onclick="document.querySelector('#alert-2').setAttribute('open', '')">open alert-2</calcite-button>
|
|
113
|
+
<calcite-button id="button-3" onclick="document.querySelector('#alert-3').setAttribute('open', '')">open alert-3</calcite-button>
|
|
114
|
+
<calcite-alert id="alert-1">
|
|
115
|
+
${alertContent}
|
|
116
|
+
</calcite-alert>
|
|
117
|
+
<calcite-alert id="alert-2">
|
|
118
|
+
${alertContent}
|
|
119
|
+
</calcite-alert>
|
|
120
|
+
<calcite-alert id="alert-3">
|
|
121
|
+
${alertContent}
|
|
122
|
+
</calcite-alert>
|
|
123
|
+
</div>`);
|
|
124
|
+
const alert1 = await page.find("#alert-1");
|
|
125
|
+
const alert2 = await page.find("#alert-2");
|
|
126
|
+
const alert3 = await page.find("#alert-3");
|
|
127
|
+
const button1 = await page.find("#button-1");
|
|
128
|
+
const button2 = await page.find("#button-2");
|
|
129
|
+
const button3 = await page.find("#button-3");
|
|
130
|
+
const alertclose1 = await page.find("#alert-1 >>> .alert-close");
|
|
131
|
+
const alertclose2 = await page.find("#alert-2 >>> .alert-close");
|
|
132
|
+
await button1.click();
|
|
133
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
134
|
+
await alertclose1.click();
|
|
135
|
+
await button2.click();
|
|
136
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
137
|
+
await alertclose2.click();
|
|
138
|
+
await button3.click();
|
|
139
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
140
|
+
expect(await alert1.isVisible()).not.toBe(true);
|
|
141
|
+
expect(await alert2.isVisible()).not.toBe(true);
|
|
142
|
+
expect(await alert3.isVisible()).toBe(true);
|
|
143
|
+
});
|
|
144
|
+
it("correctly assigns a default placement class", async () => {
|
|
145
|
+
const page = await newE2EPage();
|
|
146
|
+
await page.setContent(`
|
|
147
|
+
<calcite-alert>
|
|
148
|
+
${alertContent}
|
|
149
|
+
</calcite-alert>`);
|
|
150
|
+
const container = await page.find("calcite-alert >>> .container");
|
|
151
|
+
expect(container).toHaveClass("bottom");
|
|
152
|
+
});
|
|
153
|
+
it("correctly assigns a requested placement class", async () => {
|
|
154
|
+
const page = await newE2EPage();
|
|
155
|
+
await page.setContent(`
|
|
156
|
+
<calcite-alert placement="top-end">
|
|
157
|
+
${alertContent}
|
|
158
|
+
</calcite-alert>`);
|
|
159
|
+
const container = await page.find("calcite-alert >>> .container");
|
|
160
|
+
expect(container).not.toHaveClass("bottom");
|
|
161
|
+
expect(container).toHaveClass("top-end");
|
|
162
|
+
});
|
|
163
|
+
describe("CSS properties for light/dark themes", () => {
|
|
164
|
+
const alertSnippet = `
|
|
165
|
+
<calcite-alert
|
|
166
|
+
icon="i2DExplore"
|
|
167
|
+
auto-dismiss
|
|
168
|
+
auto-dismiss-duration="slow"
|
|
169
|
+
color="red"
|
|
170
|
+
open
|
|
171
|
+
>
|
|
172
|
+
<div slot="message">
|
|
173
|
+
Successfully duplicated
|
|
174
|
+
<strong>2019 Sales Demographics by County</strong>
|
|
175
|
+
layer
|
|
176
|
+
</div>
|
|
177
|
+
<calcite-link
|
|
178
|
+
slot="link"
|
|
179
|
+
title="my action"
|
|
180
|
+
role="presentation"
|
|
181
|
+
>
|
|
182
|
+
View layer
|
|
183
|
+
</calcite-link>
|
|
184
|
+
</calcite-alert>
|
|
185
|
+
`;
|
|
186
|
+
let page;
|
|
187
|
+
let alertDismissProgressBar;
|
|
188
|
+
let progressBarStyles;
|
|
189
|
+
it("should have defined CSS custom properties", async () => {
|
|
190
|
+
page = await newE2EPage({ html: alertSnippet });
|
|
191
|
+
progressBarStyles = await page.evaluate(() => {
|
|
192
|
+
const alert = document.querySelector("calcite-alert");
|
|
193
|
+
alert.style.setProperty("--calcite-alert-dismiss-progress-background", "white");
|
|
194
|
+
return window.getComputedStyle(alert).getPropertyValue("--calcite-alert-dismiss-progress-background");
|
|
195
|
+
});
|
|
196
|
+
expect(progressBarStyles).toEqual("white");
|
|
197
|
+
});
|
|
198
|
+
describe("when theme attribute is not provided", () => {
|
|
199
|
+
it("should render alert dismiss progress bar with default value tied to light theme", async () => {
|
|
200
|
+
page = await newE2EPage({ html: alertSnippet });
|
|
201
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
202
|
+
alertDismissProgressBar = await page.find("calcite-alert[open] >>> .alert-dismiss-progress");
|
|
203
|
+
progressBarStyles = await alertDismissProgressBar.getComputedStyle(":after");
|
|
204
|
+
expect(await progressBarStyles.getPropertyValue("background-color")).toEqual("rgba(255, 255, 255, 0.8)");
|
|
205
|
+
});
|
|
206
|
+
});
|
|
207
|
+
describe("when theme attribute is dark", () => {
|
|
208
|
+
it("should render alert dismiss progress bar with value tied to dark theme", async () => {
|
|
209
|
+
page = await newE2EPage({
|
|
210
|
+
html: `<div class="calcite-theme-dark">${alertSnippet}</div>`
|
|
211
|
+
});
|
|
212
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
213
|
+
alertDismissProgressBar = await page.find("calcite-alert[open] >>> .alert-dismiss-progress");
|
|
214
|
+
progressBarStyles = await alertDismissProgressBar.getComputedStyle(":after");
|
|
215
|
+
expect(await progressBarStyles.getPropertyValue("background-color")).toEqual("rgba(43, 43, 43, 0.8)");
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
it("should allow the CSS custom property to be overridden", async () => {
|
|
219
|
+
const overrideStyle = "rgba(255, 0, 0, 0.5)";
|
|
220
|
+
page = await newE2EPage({
|
|
221
|
+
html: `
|
|
222
|
+
<style>
|
|
223
|
+
:root {
|
|
224
|
+
--calcite-alert-dismiss-progress-background: ${overrideStyle};
|
|
225
|
+
}
|
|
226
|
+
</style>
|
|
227
|
+
<div>${alertSnippet}</div>`
|
|
228
|
+
});
|
|
229
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
230
|
+
alertDismissProgressBar = await page.find("calcite-alert[open] >>> .alert-dismiss-progress");
|
|
231
|
+
progressBarStyles = await alertDismissProgressBar.getComputedStyle(":after");
|
|
232
|
+
expect(await progressBarStyles.getPropertyValue("background-color")).toEqual(overrideStyle);
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
it("should emit component status for transition-chained events: 'calciteAlertBeforeOpen', 'calciteAlertOpen', 'calciteAlertBeforeClose', 'calciteAlertClose'", async () => {
|
|
236
|
+
const page = await newE2EPage();
|
|
237
|
+
await page.setContent(html `<calcite-alert> ${alertContent} </calcite-alert>`);
|
|
238
|
+
const element = await page.find("calcite-alert");
|
|
239
|
+
const container = await page.find(`calcite-alert >>> .${CSS.container}`);
|
|
240
|
+
expect(await container.isVisible()).toBe(false);
|
|
241
|
+
const calciteAlertBeforeOpenEvent = page.waitForEvent("calciteAlertBeforeOpen");
|
|
242
|
+
const calciteAlertOpenEvent = page.waitForEvent("calciteAlertOpen");
|
|
243
|
+
const calciteAlertBeforeOpenSpy = await element.spyOnEvent("calciteAlertBeforeOpen");
|
|
244
|
+
const calciteAlertOpenSpy = await element.spyOnEvent("calciteAlertOpen");
|
|
245
|
+
await element.setProperty("open", true);
|
|
246
|
+
await page.waitForChanges();
|
|
247
|
+
await calciteAlertBeforeOpenEvent;
|
|
248
|
+
await calciteAlertOpenEvent;
|
|
249
|
+
expect(await element.getProperty("open")).toBe(true);
|
|
250
|
+
expect(await element.getProperty("active")).toBe(true);
|
|
251
|
+
expect(calciteAlertBeforeOpenSpy).toHaveReceivedEventTimes(1);
|
|
252
|
+
expect(calciteAlertOpenSpy).toHaveReceivedEventTimes(1);
|
|
253
|
+
expect(await container.isVisible()).toBe(true);
|
|
254
|
+
const calciteAlertBeforeCloseEvent = page.waitForEvent("calciteAlertBeforeClose");
|
|
255
|
+
const calciteAlertCloseEvent = page.waitForEvent("calciteAlertClose");
|
|
256
|
+
const calciteAlertBeforeCloseSpy = await element.spyOnEvent("calciteAlertBeforeClose");
|
|
257
|
+
const calciteAlertClose = await element.spyOnEvent("calciteAlertClose");
|
|
258
|
+
await element.setProperty("open", false);
|
|
259
|
+
await page.waitForChanges();
|
|
260
|
+
await calciteAlertBeforeCloseEvent;
|
|
261
|
+
await calciteAlertCloseEvent;
|
|
262
|
+
expect(await element.getProperty("open")).toBe(false);
|
|
263
|
+
expect(await element.getProperty("active")).toBe(false);
|
|
264
|
+
expect(calciteAlertBeforeCloseSpy).toHaveReceivedEventTimes(1);
|
|
265
|
+
expect(calciteAlertClose).toHaveReceivedEventTimes(1);
|
|
266
|
+
expect(await container.isVisible()).toBe(false);
|
|
267
|
+
});
|
|
268
|
+
describe("when multiple alerts are queued", () => {
|
|
269
|
+
it("should display number of queued alerts with a calcite-chip", async () => {
|
|
270
|
+
const page = await newE2EPage({
|
|
271
|
+
html: `
|
|
272
|
+
<calcite-alert open id="first-open" icon="3d-glasses" auto-dismiss-duration="fast" scale="l">
|
|
273
|
+
<div slot="title">Title of alert #1</div>
|
|
274
|
+
<div slot="message">Message text of the alert</div>
|
|
275
|
+
<a slot="link" href="#">Retry</a>
|
|
276
|
+
</calcite-alert>
|
|
277
|
+
<calcite-alert id="alert-to-be-queued" icon auto-dismiss scale="l">
|
|
278
|
+
<div slot="title">Title of alert #2</div>
|
|
279
|
+
<div slot="message">Message text of the alert</div>
|
|
280
|
+
<a slot="link" href="#">Retry</a>
|
|
281
|
+
</calcite-alert>
|
|
282
|
+
`
|
|
283
|
+
});
|
|
284
|
+
await page.addScriptTag({
|
|
285
|
+
content: `document.querySelector("#alert-to-be-queued").setAttribute("open", "");`
|
|
286
|
+
});
|
|
287
|
+
await page.waitForTimeout(animationDurationInMs);
|
|
288
|
+
const chip = await page.find("calcite-alert[id='first-open'] >>> calcite-chip");
|
|
289
|
+
const chipQueueCount = "+1";
|
|
290
|
+
expect(await chip.getProperty("value")).toEqual(chipQueueCount);
|
|
291
|
+
expect(chip.textContent).toEqual(chipQueueCount);
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
});
|
|
@@ -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 { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
7
7
|
import { getSlotted, setRequestedIcon, toAriaBoolean } from "../../utils/dom";
|
|
@@ -280,7 +280,7 @@ export class Alert {
|
|
|
280
280
|
"text": "When true, the component closes automatically (recommended for passive, non-blocking alerts)."
|
|
281
281
|
},
|
|
282
282
|
"attribute": "auto-dismiss",
|
|
283
|
-
"reflect":
|
|
283
|
+
"reflect": true,
|
|
284
284
|
"defaultValue": "false"
|
|
285
285
|
},
|
|
286
286
|
"autoDismissDuration": {
|
|
@@ -404,7 +404,7 @@ export class Alert {
|
|
|
404
404
|
"text": "Specifies the placement of the component"
|
|
405
405
|
},
|
|
406
406
|
"attribute": "placement",
|
|
407
|
-
"reflect":
|
|
407
|
+
"reflect": true,
|
|
408
408
|
"defaultValue": "\"bottom\""
|
|
409
409
|
},
|
|
410
410
|
"scale": {
|
|
@@ -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 var StatusIcons;
|
|
7
7
|
(function (StatusIcons) {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { accessible, defaults, hidden, renders } from "../../tests/commonTests";
|
|
3
|
+
describe("calcite-avatar", () => {
|
|
4
|
+
it("renders", async () => renders("calcite-avatar", { display: "inline-block" }));
|
|
5
|
+
it("honors hidden attribute", async () => hidden("calcite-avatar"));
|
|
6
|
+
it("is accessible", async () => {
|
|
7
|
+
await accessible("calcite-avatar");
|
|
8
|
+
await accessible("<calcite-avatar thumbnail='http://placekitten.com/120/120'></calcite-avatar>");
|
|
9
|
+
});
|
|
10
|
+
it("has property defaults", async () => defaults("calcite-avatar", [
|
|
11
|
+
{
|
|
12
|
+
propertyName: "scale",
|
|
13
|
+
defaultValue: "m"
|
|
14
|
+
}
|
|
15
|
+
]));
|
|
16
|
+
it("renders thumbnail when provided", async () => {
|
|
17
|
+
const page = await newE2EPage();
|
|
18
|
+
await page.setContent("<calcite-avatar thumbnail='http://placekitten.com/120/120'></calcite-avatar>");
|
|
19
|
+
const thumbnail = await page.find("calcite-avatar >>> .thumbnail");
|
|
20
|
+
expect(thumbnail).toEqualAttribute("src", "http://placekitten.com/120/120");
|
|
21
|
+
});
|
|
22
|
+
it("renders initials when no thumbnail is provided", async () => {
|
|
23
|
+
const page = await newE2EPage();
|
|
24
|
+
await page.setContent("<calcite-avatar full-name='My Dude'></calcite-avatar>");
|
|
25
|
+
const initials = await page.find("calcite-avatar >>> .initials");
|
|
26
|
+
expect(initials).toEqualText("MD");
|
|
27
|
+
});
|
|
28
|
+
it("computes a background fill color based on user id", async () => {
|
|
29
|
+
const page = await newE2EPage();
|
|
30
|
+
await page.setContent("<calcite-avatar user-id='25684463a00c449585dbb32a065f6b74'></calcite-avatar>");
|
|
31
|
+
const style = await page.evaluate(() => {
|
|
32
|
+
const background = document.querySelector("calcite-avatar").shadowRoot.querySelector(".background");
|
|
33
|
+
return background.getAttribute("style");
|
|
34
|
+
});
|
|
35
|
+
expect(style).toEqual("background-color: rgb(214, 232, 245);");
|
|
36
|
+
});
|
|
37
|
+
it("computes a background fill if id is not a valid hex", async () => {
|
|
38
|
+
const page = await newE2EPage();
|
|
39
|
+
await page.setContent("<calcite-avatar user-id='for sure not a hex' username='THaverford'></calcite-avatar>");
|
|
40
|
+
const initials = await page.find("calcite-avatar >>> .initials");
|
|
41
|
+
expect(initials).toEqualText("TH");
|
|
42
|
+
const style = await page.evaluate(() => {
|
|
43
|
+
const background = document.querySelector("calcite-avatar").shadowRoot.querySelector(".background");
|
|
44
|
+
return background.getAttribute("style");
|
|
45
|
+
});
|
|
46
|
+
expect(style).toEqual("background-color: rgb(245, 219, 214);");
|
|
47
|
+
});
|
|
48
|
+
it("renders default icon when no information is passed", async () => {
|
|
49
|
+
const page = await newE2EPage();
|
|
50
|
+
await page.setContent("<calcite-avatar></calcite-avatar>");
|
|
51
|
+
const icon = await page.find("calcite-avatar >>> .icon");
|
|
52
|
+
const visible = await icon.isVisible();
|
|
53
|
+
expect(visible).toBe(true);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -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 { Component, Element, h, Prop, State } from "@stencil/core";
|
|
7
7
|
import { isValidHex } from "../color-picker/utils";
|
|
@@ -21,8 +21,7 @@ export class Avatar {
|
|
|
21
21
|
// Private State/Props
|
|
22
22
|
//
|
|
23
23
|
//--------------------------------------------------------------------------
|
|
24
|
-
|
|
25
|
-
this.error = false;
|
|
24
|
+
this.thumbnailFailedToLoad = false;
|
|
26
25
|
}
|
|
27
26
|
//--------------------------------------------------------------------------
|
|
28
27
|
//
|
|
@@ -38,8 +37,8 @@ export class Avatar {
|
|
|
38
37
|
//
|
|
39
38
|
//--------------------------------------------------------------------------
|
|
40
39
|
determineContent() {
|
|
41
|
-
if (this.thumbnail && !this.
|
|
42
|
-
return (h("img", { alt: "", class: "thumbnail", onError: () => (this.
|
|
40
|
+
if (this.thumbnail && !this.thumbnailFailedToLoad) {
|
|
41
|
+
return (h("img", { alt: "", class: "thumbnail", onError: () => (this.thumbnailFailedToLoad = true), src: this.thumbnail }));
|
|
43
42
|
}
|
|
44
43
|
const initials = this.generateInitials();
|
|
45
44
|
const backgroundColor = this.generateFillColor();
|
|
@@ -126,7 +125,7 @@ export class Avatar {
|
|
|
126
125
|
"text": "Specifies the `src` to an image (remember to add a token if the user is private)."
|
|
127
126
|
},
|
|
128
127
|
"attribute": "thumbnail",
|
|
129
|
-
"reflect":
|
|
128
|
+
"reflect": true
|
|
130
129
|
},
|
|
131
130
|
"fullName": {
|
|
132
131
|
"type": "string",
|
|
@@ -143,7 +142,7 @@ export class Avatar {
|
|
|
143
142
|
"text": "Specifies the full name of the user."
|
|
144
143
|
},
|
|
145
144
|
"attribute": "full-name",
|
|
146
|
-
"reflect":
|
|
145
|
+
"reflect": true
|
|
147
146
|
},
|
|
148
147
|
"username": {
|
|
149
148
|
"type": "string",
|
|
@@ -160,7 +159,7 @@ export class Avatar {
|
|
|
160
159
|
"text": "Specifies the username of the user."
|
|
161
160
|
},
|
|
162
161
|
"attribute": "username",
|
|
163
|
-
"reflect":
|
|
162
|
+
"reflect": true
|
|
164
163
|
},
|
|
165
164
|
"userId": {
|
|
166
165
|
"type": "string",
|
|
@@ -177,11 +176,11 @@ export class Avatar {
|
|
|
177
176
|
"text": "Specifies the unique id of the user."
|
|
178
177
|
},
|
|
179
178
|
"attribute": "user-id",
|
|
180
|
-
"reflect":
|
|
179
|
+
"reflect": true
|
|
181
180
|
}
|
|
182
181
|
}; }
|
|
183
182
|
static get states() { return {
|
|
184
|
-
"
|
|
183
|
+
"thumbnailFailedToLoad": {}
|
|
185
184
|
}; }
|
|
186
185
|
static get elementRef() { return "el"; }
|
|
187
186
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { isValidHex } from "../color-picker/utils";
|
|
2
|
+
import { hexToHue, rgbToHue, stringToHex } from "./utils";
|
|
3
|
+
describe("stringToHex", () => {
|
|
4
|
+
it("generates a consistent hex", () => {
|
|
5
|
+
expect(stringToHex("testing")).toEqual(stringToHex("testing"));
|
|
6
|
+
});
|
|
7
|
+
it("handles empty input", () => {
|
|
8
|
+
expect(stringToHex("")).toBeTruthy();
|
|
9
|
+
});
|
|
10
|
+
it("generates a valid hex color, regardless of input", () => {
|
|
11
|
+
expect(isValidHex(stringToHex("hey dude"))).toBe(true);
|
|
12
|
+
expect(isValidHex(stringToHex("numbe8972983767869891823"))).toBe(true);
|
|
13
|
+
expect(isValidHex(stringToHex("asdf8798768657476876yashjkdfbasd"))).toBe(true);
|
|
14
|
+
expect(isValidHex(stringToHex(")#@$%*@^#&%$(^!)@*)#$*!%"))).toBe(true);
|
|
15
|
+
expect(isValidHex(stringToHex("0"))).toBe(true);
|
|
16
|
+
expect(isValidHex(stringToHex("##########"))).toBe(true);
|
|
17
|
+
expect(isValidHex(stringToHex("키스의 고유조건은 입술끼리 만나야 하고 특별한 기술은 필요치 않다"))).toBe(true);
|
|
18
|
+
expect(isValidHex(stringToHex("✨🌈"))).toBe(true);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
describe("rgbToHue", () => {
|
|
22
|
+
it("correctly finds hue of various rgb colors", () => {
|
|
23
|
+
expect(rgbToHue({ r: 0, g: 0, b: 0 })).toEqual(0);
|
|
24
|
+
expect(rgbToHue({ r: 255, g: 255, b: 255 })).toEqual(0);
|
|
25
|
+
expect(rgbToHue({ r: 255, g: 0, b: 0 })).toEqual(0);
|
|
26
|
+
expect(rgbToHue({ r: 0, g: 255, b: 0 })).toEqual(120);
|
|
27
|
+
expect(rgbToHue({ r: 0, g: 0, b: 255 })).toEqual(240);
|
|
28
|
+
expect(rgbToHue({ r: 18, g: 77, b: 123 })).toEqual(206);
|
|
29
|
+
expect(rgbToHue({ r: 214, g: 90, b: 45 })).toEqual(16);
|
|
30
|
+
expect(rgbToHue({ r: 160, g: 123, b: 45 })).toEqual(41);
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
describe("hexToHue", () => {
|
|
34
|
+
it("correctly finds hue of various hex colors", () => {
|
|
35
|
+
expect(hexToHue("#a07b2d")).toEqual(41);
|
|
36
|
+
expect(hexToHue("#44ed51")).toEqual(125);
|
|
37
|
+
expect(hexToHue("#151515")).toEqual(0);
|
|
38
|
+
expect(hexToHue("#ffc800")).toEqual(47);
|
|
39
|
+
expect(hexToHue("#47bbff")).toEqual(202);
|
|
40
|
+
expect(hexToHue("#ffffff")).toEqual(0);
|
|
41
|
+
});
|
|
42
|
+
});
|
|
@@ -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 { hexToRGB } from "../color-picker/utils";
|
|
7
7
|
/**
|
|
@@ -67,6 +67,11 @@
|
|
|
67
67
|
animation-name: in-scale;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
@media (prefers-reduced-motion: reduce) {
|
|
71
|
+
:root {
|
|
72
|
+
--calcite-internal-duration-factor: 0.01;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
70
75
|
/**
|
|
71
76
|
* Currently only used in Checkbox.
|
|
72
77
|
*/
|
|
@@ -249,7 +254,7 @@ calcite-handle {
|
|
|
249
254
|
}
|
|
250
255
|
|
|
251
256
|
.status-icon.loading {
|
|
252
|
-
animation: spin
|
|
257
|
+
animation: spin var(--calcite-internal-animation-timing-medium) linear infinite;
|
|
253
258
|
}
|
|
254
259
|
|
|
255
260
|
@keyframes spin {
|