@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
|
@@ -1,17 +1,18 @@
|
|
|
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, Watch } from "@stencil/core";
|
|
7
7
|
import { focusElement, toAriaBoolean } from "../../utils/dom";
|
|
8
|
-
import { positionFloatingUI, FloatingCSS, connectFloatingUI, disconnectFloatingUI, defaultMenuPlacement, filterComputedPlacements } from "../../utils/floating-ui";
|
|
8
|
+
import { positionFloatingUI, FloatingCSS, connectFloatingUI, disconnectFloatingUI, defaultMenuPlacement, filterComputedPlacements, repositionDebounceTimeout } from "../../utils/floating-ui";
|
|
9
9
|
import { SLOTS } from "./resources";
|
|
10
10
|
import { createObserver } from "../../utils/observers";
|
|
11
11
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
12
12
|
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
13
13
|
import { guid } from "../../utils/guid";
|
|
14
14
|
import { isActivationKey } from "../../utils/key";
|
|
15
|
+
import { debounce } from "lodash-es";
|
|
15
16
|
/**
|
|
16
17
|
* @slot - A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
17
18
|
* @slot dropdown-trigger - A slot for the element that triggers the `calcite-dropdown`.
|
|
@@ -78,6 +79,7 @@ export class Dropdown {
|
|
|
78
79
|
// Private Methods
|
|
79
80
|
//
|
|
80
81
|
//--------------------------------------------------------------------------
|
|
82
|
+
this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
|
|
81
83
|
this.slotChangeHandler = (event) => {
|
|
82
84
|
this.defaultAssignedElements = event.target.assignedElements({
|
|
83
85
|
flatten: true
|
|
@@ -94,14 +96,14 @@ export class Dropdown {
|
|
|
94
96
|
this.triggers = event.target.assignedElements({
|
|
95
97
|
flatten: true
|
|
96
98
|
});
|
|
97
|
-
this.
|
|
99
|
+
this.debouncedReposition();
|
|
98
100
|
};
|
|
99
101
|
this.updateItems = () => {
|
|
100
102
|
this.items = this.groups
|
|
101
103
|
.map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
|
|
102
104
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
103
105
|
this.updateSelectedItems();
|
|
104
|
-
this.
|
|
106
|
+
this.debouncedReposition();
|
|
105
107
|
};
|
|
106
108
|
this.updateGroups = (event) => {
|
|
107
109
|
const groups = event.target
|
|
@@ -134,10 +136,10 @@ export class Dropdown {
|
|
|
134
136
|
if (!scrollerEl) {
|
|
135
137
|
return;
|
|
136
138
|
}
|
|
137
|
-
this.
|
|
139
|
+
this.debouncedReposition();
|
|
138
140
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
139
141
|
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
140
|
-
this.
|
|
142
|
+
this.debouncedReposition();
|
|
141
143
|
};
|
|
142
144
|
this.setScrollerAndTransitionEl = (el) => {
|
|
143
145
|
this.resizeObserver.observe(el);
|
|
@@ -203,7 +205,7 @@ export class Dropdown {
|
|
|
203
205
|
}
|
|
204
206
|
openHandler(value) {
|
|
205
207
|
if (!this.disabled) {
|
|
206
|
-
this.
|
|
208
|
+
this.debouncedReposition();
|
|
207
209
|
this.active = value;
|
|
208
210
|
return;
|
|
209
211
|
}
|
|
@@ -216,16 +218,16 @@ export class Dropdown {
|
|
|
216
218
|
}
|
|
217
219
|
flipPlacementsHandler() {
|
|
218
220
|
this.setFilteredPlacements();
|
|
219
|
-
this.
|
|
221
|
+
this.debouncedReposition();
|
|
220
222
|
}
|
|
221
223
|
maxItemsHandler() {
|
|
222
224
|
this.setMaxScrollerHeight();
|
|
223
225
|
}
|
|
224
226
|
overlayPositioningHandler() {
|
|
225
|
-
this.
|
|
227
|
+
this.debouncedReposition();
|
|
226
228
|
}
|
|
227
229
|
placementHandler() {
|
|
228
|
-
this.
|
|
230
|
+
this.debouncedReposition();
|
|
229
231
|
}
|
|
230
232
|
//--------------------------------------------------------------------------
|
|
231
233
|
//
|
|
@@ -236,7 +238,7 @@ export class Dropdown {
|
|
|
236
238
|
var _a;
|
|
237
239
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
238
240
|
this.setFilteredPlacements();
|
|
239
|
-
this.
|
|
241
|
+
this.debouncedReposition();
|
|
240
242
|
if (this.open) {
|
|
241
243
|
this.openHandler(this.open);
|
|
242
244
|
}
|
|
@@ -246,7 +248,7 @@ export class Dropdown {
|
|
|
246
248
|
connectOpenCloseComponent(this);
|
|
247
249
|
}
|
|
248
250
|
componentDidLoad() {
|
|
249
|
-
this.
|
|
251
|
+
this.debouncedReposition();
|
|
250
252
|
}
|
|
251
253
|
componentDidRender() {
|
|
252
254
|
updateHostInteraction(this);
|
|
@@ -556,7 +558,7 @@ export class Dropdown {
|
|
|
556
558
|
"text": "specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -\nthis value does not include groupTitles passed to calcite-dropdown-group"
|
|
557
559
|
},
|
|
558
560
|
"attribute": "max-items",
|
|
559
|
-
"reflect":
|
|
561
|
+
"reflect": true,
|
|
560
562
|
"defaultValue": "0"
|
|
561
563
|
},
|
|
562
564
|
"overlayPositioning": {
|
|
@@ -579,7 +581,7 @@ export class Dropdown {
|
|
|
579
581
|
"text": "Determines the type of positioning to use for the overlaid content.\n\nUsing the \"absolute\" value will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. The \"fixed\" value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is \"fixed\"."
|
|
580
582
|
},
|
|
581
583
|
"attribute": "overlay-positioning",
|
|
582
|
-
"reflect":
|
|
584
|
+
"reflect": true,
|
|
583
585
|
"defaultValue": "\"absolute\""
|
|
584
586
|
},
|
|
585
587
|
"placement": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
dropdownTrigger: "dropdown-trigger"
|
|
@@ -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, Prop } from "@stencil/core";
|
|
7
7
|
import { getElementProp } from "../../utils/dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerSmall: "container--s",
|
|
@@ -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
|
*/
|
|
@@ -137,8 +142,7 @@
|
|
|
137
142
|
cursor: pointer;
|
|
138
143
|
align-items: center;
|
|
139
144
|
color: var(--calcite-ui-text-3);
|
|
140
|
-
|
|
141
|
-
text-decoration-line: none;
|
|
145
|
+
text-decoration-line: none;
|
|
142
146
|
transition-duration: 150ms;
|
|
143
147
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
144
148
|
text-align: start;
|
|
@@ -171,8 +175,7 @@
|
|
|
171
175
|
cursor: pointer;
|
|
172
176
|
align-items: center;
|
|
173
177
|
color: var(--calcite-ui-text-3);
|
|
174
|
-
|
|
175
|
-
text-decoration-line: none;
|
|
178
|
+
text-decoration-line: none;
|
|
176
179
|
transition-duration: 150ms;
|
|
177
180
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
178
181
|
}
|
|
@@ -205,8 +208,7 @@
|
|
|
205
208
|
:host(:active) .container {
|
|
206
209
|
background-color: var(--calcite-ui-foreground-2);
|
|
207
210
|
color: var(--calcite-ui-text-1);
|
|
208
|
-
|
|
209
|
-
text-decoration-line: none;
|
|
211
|
+
text-decoration-line: none;
|
|
210
212
|
}
|
|
211
213
|
|
|
212
214
|
:host(:hover) .container--link .dropdown-link,
|
|
@@ -216,8 +218,7 @@
|
|
|
216
218
|
|
|
217
219
|
:host(:focus) .container {
|
|
218
220
|
color: var(--calcite-ui-text-1);
|
|
219
|
-
|
|
220
|
-
text-decoration-line: none;
|
|
221
|
+
text-decoration-line: none;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
:host(:active) .container {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { focusable, renders, hidden } from "../../tests/commonTests";
|
|
2
|
+
describe("calcite-dropdown-item", () => {
|
|
3
|
+
it("renders", () => renders("calcite-dropdown-item", { display: "flex" }));
|
|
4
|
+
it("honors hidden attribute", async () => hidden("calcite-dropdown-item"));
|
|
5
|
+
it("can be focused", async () => focusable(`calcite-dropdown-item`));
|
|
6
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
7
7
|
import { getElementProp, toAriaBoolean } from "../../utils/dom";
|
|
@@ -327,7 +327,7 @@ export class DropdownItem {
|
|
|
327
327
|
"text": "The rel attribute to apply to the hyperlink"
|
|
328
328
|
},
|
|
329
329
|
"attribute": "rel",
|
|
330
|
-
"reflect":
|
|
330
|
+
"reflect": true
|
|
331
331
|
},
|
|
332
332
|
"target": {
|
|
333
333
|
"type": "string",
|
|
@@ -344,7 +344,7 @@ export class DropdownItem {
|
|
|
344
344
|
"text": "The target attribute to apply to the hyperlink"
|
|
345
345
|
},
|
|
346
346
|
"attribute": "target",
|
|
347
|
-
"reflect":
|
|
347
|
+
"reflect": true
|
|
348
348
|
}
|
|
349
349
|
}; }
|
|
350
350
|
static get events() { return [{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.591
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerLink: "container--link",
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { accessible, disabled, hidden, renders } from "../../tests/commonTests";
|
|
3
|
+
import { CSS } from "./resources";
|
|
4
|
+
import { defaults } from "../../tests/commonTests";
|
|
5
|
+
describe("calcite-fab", () => {
|
|
6
|
+
it("renders", async () => renders("calcite-fab", { display: "flex" }));
|
|
7
|
+
it("honors hidden attribute", async () => hidden("calcite-fab"));
|
|
8
|
+
it("has property defaults", async () => defaults("calcite-fab", [
|
|
9
|
+
{
|
|
10
|
+
propertyName: "scale",
|
|
11
|
+
defaultValue: "m"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
propertyName: "appearance",
|
|
15
|
+
defaultValue: "outline"
|
|
16
|
+
}
|
|
17
|
+
]));
|
|
18
|
+
it("can be disabled", () => disabled("calcite-fab"));
|
|
19
|
+
it(`should set all internal calcite-button types to 'button'`, async () => {
|
|
20
|
+
const page = await newE2EPage({
|
|
21
|
+
html: "<calcite-fab></calcite-fab>"
|
|
22
|
+
});
|
|
23
|
+
const buttons = await page.findAll("calcite-fab >>> calcite-button");
|
|
24
|
+
expect(buttons).toHaveLength(1);
|
|
25
|
+
for (const button of buttons) {
|
|
26
|
+
expect(await button.getProperty("type")).toBe("button");
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
it("should have visible text when text is enabled", async () => {
|
|
30
|
+
const page = await newE2EPage();
|
|
31
|
+
await page.setContent(`<calcite-fab text="hello world" text-enabled></calcite-fab>`);
|
|
32
|
+
const button = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
33
|
+
const text = button.textContent;
|
|
34
|
+
expect(text).toBe("hello world");
|
|
35
|
+
});
|
|
36
|
+
it("should not have a tooltip when text-enabled", async () => {
|
|
37
|
+
const page = await newE2EPage();
|
|
38
|
+
await page.setContent(`<calcite-fab text="hello world" text-enabled></calcite-fab>`);
|
|
39
|
+
const button = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
40
|
+
expect(button.getAttribute("title")).toBe(null);
|
|
41
|
+
});
|
|
42
|
+
it("should have a tooltip when not text-enabled", async () => {
|
|
43
|
+
const page = await newE2EPage();
|
|
44
|
+
await page.setContent(`<calcite-fab text="hello world"></calcite-fab>`);
|
|
45
|
+
const button = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
46
|
+
expect(button.getAttribute("title")).toBe("hello world");
|
|
47
|
+
const fab = await page.find("calcite-fab");
|
|
48
|
+
fab.setProperty("label", "label");
|
|
49
|
+
await page.waitForChanges();
|
|
50
|
+
expect(button.getAttribute("title")).toBe("label");
|
|
51
|
+
});
|
|
52
|
+
it("should not have visible text when text is not enabled", async () => {
|
|
53
|
+
const page = await newE2EPage();
|
|
54
|
+
await page.setContent(`<calcite-fab text="hello world"></calcite-fab>`);
|
|
55
|
+
const button = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
56
|
+
const text = button.textContent;
|
|
57
|
+
expect(text).toBe("");
|
|
58
|
+
});
|
|
59
|
+
it("should have label", async () => {
|
|
60
|
+
const page = await newE2EPage();
|
|
61
|
+
await page.setContent(`<calcite-fab text="hello world" label="hi"></calcite-fab>`);
|
|
62
|
+
const calciteButton = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
63
|
+
expect(calciteButton.getAttribute("title")).toBe("hi");
|
|
64
|
+
expect(await calciteButton.getProperty("label")).toBe("hi");
|
|
65
|
+
});
|
|
66
|
+
it("should have appearance=outline", async () => {
|
|
67
|
+
const page = await newE2EPage();
|
|
68
|
+
await page.setContent(`<calcite-fab text="hello world"></calcite-fab>`);
|
|
69
|
+
const fab = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
70
|
+
expect(fab.getAttribute("appearance")).toBe("outline");
|
|
71
|
+
});
|
|
72
|
+
it("should have appearance=solid", async () => {
|
|
73
|
+
const page = await newE2EPage();
|
|
74
|
+
await page.setContent(`<calcite-fab appearance="solid" text="hello world"></calcite-fab>`);
|
|
75
|
+
const fab = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
76
|
+
expect(fab.getAttribute("appearance")).toBe("solid");
|
|
77
|
+
});
|
|
78
|
+
it("should be accessible", async () => {
|
|
79
|
+
await accessible(`<calcite-fab label="hello world" text="hello world"></calcite-fab>`);
|
|
80
|
+
await accessible(`<calcite-fab label="hello world" text="hello world" disabled text-enabled></calcite-fab>`);
|
|
81
|
+
});
|
|
82
|
+
describe("when invalid appearance values are passed", () => {
|
|
83
|
+
describe("when value is 'transparent'", () => {
|
|
84
|
+
it("should render with default 'outline' appearance", async () => {
|
|
85
|
+
const page = await newE2EPage({
|
|
86
|
+
html: `
|
|
87
|
+
<calcite-fab
|
|
88
|
+
text="FAB"
|
|
89
|
+
text-enabled
|
|
90
|
+
appearance="transparent"
|
|
91
|
+
></calcite-fab>
|
|
92
|
+
`
|
|
93
|
+
});
|
|
94
|
+
const fab = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
95
|
+
expect(fab.getAttribute("appearance")).toBe("outline");
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
describe("when value is 'clear'", () => {
|
|
99
|
+
it("should render with default 'outline' appearance", async () => {
|
|
100
|
+
const page = await newE2EPage({
|
|
101
|
+
html: `
|
|
102
|
+
<calcite-fab
|
|
103
|
+
text="FAB"
|
|
104
|
+
text-enabled
|
|
105
|
+
appearance="clear"
|
|
106
|
+
></calcite-fab>
|
|
107
|
+
`
|
|
108
|
+
});
|
|
109
|
+
const fab = await page.find(`calcite-fab >>> .${CSS.button}`);
|
|
110
|
+
expect(fab.getAttribute("appearance")).toBe("outline");
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
});
|
|
@@ -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, Method, Prop, h } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS } from "./resources";
|
|
@@ -168,7 +168,7 @@ export class Fab {
|
|
|
168
168
|
"text": "The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/."
|
|
169
169
|
},
|
|
170
170
|
"attribute": "icon",
|
|
171
|
-
"reflect":
|
|
171
|
+
"reflect": true,
|
|
172
172
|
"defaultValue": "ICONS.plus"
|
|
173
173
|
},
|
|
174
174
|
"label": {
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
import { accessible, defaults, disabled, focusable, hidden, reflects, renders } from "../../tests/commonTests";
|
|
3
|
+
import { DEBOUNCE_TIMEOUT } from "./resources";
|
|
4
|
+
import { CSS as INPUT_CSS } from "../input/resources";
|
|
5
|
+
describe("calcite-filter", () => {
|
|
6
|
+
it("renders", async () => renders("calcite-filter", { display: "flex" }));
|
|
7
|
+
it("honors hidden attribute", async () => hidden("calcite-filter"));
|
|
8
|
+
it("is accessible", async () => accessible("calcite-filter"));
|
|
9
|
+
it("is focusable", async () => focusable("calcite-filter"));
|
|
10
|
+
it("can be disabled", () => disabled("calcite-filter"));
|
|
11
|
+
it("reflects", async () => reflects("calcite-filter", [
|
|
12
|
+
{
|
|
13
|
+
propertyName: "disabled",
|
|
14
|
+
value: true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
propertyName: "scale",
|
|
18
|
+
value: "s"
|
|
19
|
+
}
|
|
20
|
+
]));
|
|
21
|
+
it("has defaults", async () => defaults("calcite-filter", [
|
|
22
|
+
{
|
|
23
|
+
propertyName: "disabled",
|
|
24
|
+
defaultValue: false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
propertyName: "filteredItems",
|
|
28
|
+
defaultValue: []
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
propertyName: "scale",
|
|
32
|
+
defaultValue: "m"
|
|
33
|
+
}
|
|
34
|
+
]));
|
|
35
|
+
it("sets scale on the input", async () => {
|
|
36
|
+
const scale = "s";
|
|
37
|
+
const page = await newE2EPage();
|
|
38
|
+
await page.setContent(`<calcite-filter scale="${scale}"></calcite-filter>`);
|
|
39
|
+
const input = await page.find(`calcite-filter >>> calcite-input`);
|
|
40
|
+
expect(await input.getProperty("scale")).toBe(scale);
|
|
41
|
+
});
|
|
42
|
+
describe("strings", () => {
|
|
43
|
+
it("should update the filter placeholder when a string is provided", async () => {
|
|
44
|
+
const page = await newE2EPage();
|
|
45
|
+
const placeholderText = "placeholder";
|
|
46
|
+
await page.setContent(`<calcite-filter placeholder="${placeholderText}"></calcite-filter>`);
|
|
47
|
+
const input = await page.find(`calcite-filter >>> calcite-input`);
|
|
48
|
+
expect(await input.getProperty("placeholder")).toBe(placeholderText);
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
describe("clear button", () => {
|
|
52
|
+
let page;
|
|
53
|
+
beforeEach(async () => {
|
|
54
|
+
page = await newE2EPage();
|
|
55
|
+
await page.setContent("<calcite-filter></calcite-filter>");
|
|
56
|
+
await page.evaluate(() => {
|
|
57
|
+
const filter = document.querySelector("calcite-filter");
|
|
58
|
+
filter.items = [{ foo: "bar" }];
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
describe("clearing value", () => {
|
|
62
|
+
const filterIsFocused = async () => page.evaluate(() => document.querySelector("calcite-filter") === document.activeElement);
|
|
63
|
+
it("should clear the value in the input when pressed", async () => {
|
|
64
|
+
const filter = await page.find("calcite-filter");
|
|
65
|
+
await filter.callMethod("setFocus");
|
|
66
|
+
await page.keyboard.type("developer");
|
|
67
|
+
await page.waitForChanges();
|
|
68
|
+
expect(await filter.getProperty("value")).toBe("developer");
|
|
69
|
+
await page.$eval("calcite-filter", async (filter, buttonSelector) => {
|
|
70
|
+
return filter.shadowRoot
|
|
71
|
+
.querySelector("calcite-input")
|
|
72
|
+
.shadowRoot.querySelector(buttonSelector)
|
|
73
|
+
.click();
|
|
74
|
+
}, `.${INPUT_CSS.clearButton}`);
|
|
75
|
+
await page.waitForChanges();
|
|
76
|
+
expect(await filter.getProperty("value")).toBe("");
|
|
77
|
+
expect(await filterIsFocused()).toBe(true);
|
|
78
|
+
});
|
|
79
|
+
it("should clear the value in the input when the Escape key is pressed", async () => {
|
|
80
|
+
const filter = await page.find("calcite-filter");
|
|
81
|
+
await filter.callMethod("setFocus");
|
|
82
|
+
await page.keyboard.type("developer");
|
|
83
|
+
await page.waitForChanges();
|
|
84
|
+
await page.keyboard.press("Escape");
|
|
85
|
+
await page.waitForChanges();
|
|
86
|
+
expect(await filter.getProperty("value")).toBe("");
|
|
87
|
+
expect(await filterIsFocused()).toBe(true);
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
function assertMatchingItems(filtered, values) {
|
|
92
|
+
expect(filtered).toHaveLength(values.length);
|
|
93
|
+
values.forEach((value) => expect(filtered.find((element) => element.value === value)).toBeDefined());
|
|
94
|
+
}
|
|
95
|
+
describe("filter behavior", () => {
|
|
96
|
+
let page;
|
|
97
|
+
beforeEach(async () => {
|
|
98
|
+
page = await newE2EPage();
|
|
99
|
+
await page.setContent("<calcite-filter></calcite-filter>");
|
|
100
|
+
await page.evaluate(() => {
|
|
101
|
+
const filter = document.querySelector("calcite-filter");
|
|
102
|
+
filter.items = [
|
|
103
|
+
{
|
|
104
|
+
name: "Harry",
|
|
105
|
+
description: "developer",
|
|
106
|
+
value: "harry",
|
|
107
|
+
metadata: { haircolor: "red", favoriteBand: "MetallicA" }
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Matt",
|
|
111
|
+
description: "developer",
|
|
112
|
+
value: "matt",
|
|
113
|
+
metadata: { haircolor: "black", favoriteBand: "Radiohead" }
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "Franco",
|
|
117
|
+
description: "developer",
|
|
118
|
+
value: "franco",
|
|
119
|
+
metadata: { haircolor: "black", favoriteBand: "The Mars Volta" }
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "Katy",
|
|
123
|
+
description: "engineer",
|
|
124
|
+
value: "katy",
|
|
125
|
+
metadata: { haircolor: "red", favoriteBand: "unknown" }
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "Jon",
|
|
129
|
+
description: "developer",
|
|
130
|
+
value: "jon",
|
|
131
|
+
metadata: { haircolor: "brown", favoriteBand: "Hippity Hops" }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "regex",
|
|
135
|
+
description: "regex",
|
|
136
|
+
value: "regex",
|
|
137
|
+
metadata: { haircolor: "rainbow", favoriteBand: "regex()" }
|
|
138
|
+
}
|
|
139
|
+
];
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
it("updates filtered items after filtering", async () => {
|
|
143
|
+
const filterChangeSpy = await page.spyOnEvent("calciteFilterChange");
|
|
144
|
+
const waitForEvent = page.waitForEvent("calciteFilterChange");
|
|
145
|
+
const filter = await page.find("calcite-filter");
|
|
146
|
+
await filter.callMethod("setFocus");
|
|
147
|
+
await filter.type("developer");
|
|
148
|
+
await waitForEvent;
|
|
149
|
+
expect(filterChangeSpy).toHaveReceivedEventTimes(1);
|
|
150
|
+
assertMatchingItems(await filter.getProperty("filteredItems"), ["harry", "matt", "franco", "jon"]);
|
|
151
|
+
await page.evaluate(() => {
|
|
152
|
+
const filter = document.querySelector("calcite-filter");
|
|
153
|
+
filter.items = filter.items.slice(3);
|
|
154
|
+
});
|
|
155
|
+
await page.waitForTimeout(DEBOUNCE_TIMEOUT);
|
|
156
|
+
assertMatchingItems(await filter.getProperty("filteredItems"), ["jon"]);
|
|
157
|
+
expect(filterChangeSpy).toHaveReceivedEventTimes(1);
|
|
158
|
+
});
|
|
159
|
+
it("searches recursively in items and works and matches on a partial string ignoring case", async () => {
|
|
160
|
+
const waitForEvent = page.waitForEvent("calciteFilterChange");
|
|
161
|
+
const filter = await page.find("calcite-filter");
|
|
162
|
+
await filter.callMethod("setFocus");
|
|
163
|
+
await filter.type("volt");
|
|
164
|
+
await waitForEvent;
|
|
165
|
+
assertMatchingItems(await filter.getProperty("filteredItems"), ["franco"]);
|
|
166
|
+
});
|
|
167
|
+
it("should escape regex", async () => {
|
|
168
|
+
const waitForEvent = page.waitForEvent("calciteFilterChange");
|
|
169
|
+
const filter = await page.find("calcite-filter");
|
|
170
|
+
await filter.callMethod("setFocus");
|
|
171
|
+
await filter.type("regex()");
|
|
172
|
+
await waitForEvent;
|
|
173
|
+
assertMatchingItems(await filter.getProperty("filteredItems"), ["regex"]);
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
describe("filter behavior with predefined value prop", () => {
|
|
177
|
+
let page;
|
|
178
|
+
beforeEach(async () => {
|
|
179
|
+
page = await newE2EPage();
|
|
180
|
+
await page.setContent(`<calcite-filter value="harry"></calcite-filter>`);
|
|
181
|
+
await page.evaluate(() => {
|
|
182
|
+
const filter = document.querySelector("calcite-filter");
|
|
183
|
+
filter.items = [
|
|
184
|
+
{
|
|
185
|
+
name: "Harry",
|
|
186
|
+
description: "developer",
|
|
187
|
+
value: "harry",
|
|
188
|
+
metadata: { haircolor: "red", favoriteBand: "MetallicA" }
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: "Matt",
|
|
192
|
+
description: "developer",
|
|
193
|
+
value: "matt",
|
|
194
|
+
metadata: { haircolor: "black", favoriteBand: "Radiohead" }
|
|
195
|
+
}
|
|
196
|
+
];
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
it("should return matching value", async () => {
|
|
200
|
+
const filter = await page.find("calcite-filter");
|
|
201
|
+
await page.waitForTimeout(DEBOUNCE_TIMEOUT);
|
|
202
|
+
assertMatchingItems(await filter.getProperty("filteredItems"), ["harry"]);
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
});
|