@esri/calcite-components 1.0.0-next.579 → 1.0.0-next.581
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/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-015edf64.entry.js +6 -0
- package/dist/calcite/{p-fe90f359.system.entry.js → p-051e4b48.system.entry.js} +2 -2
- package/dist/calcite/{p-5167f00e.entry.js → p-053d62f5.entry.js} +2 -2
- package/dist/calcite/{p-19d7fbab.system.entry.js → p-062e51e6.system.entry.js} +2 -2
- package/dist/calcite/{p-eb9b51d8.system.entry.js → p-073d365b.system.entry.js} +2 -2
- package/dist/calcite/{p-01fea75a.system.entry.js → p-083b4fd2.system.entry.js} +2 -2
- package/dist/calcite/{p-c2a56cf2.entry.js → p-098cb9c2.entry.js} +2 -2
- package/dist/calcite/{p-d99f9878.entry.js → p-0a8c4a4a.entry.js} +2 -2
- package/dist/calcite/p-0a8feab4.js +6 -0
- package/dist/calcite/{p-dc194cdc.js → p-0ca8f16f.js} +2 -2
- package/dist/calcite/{p-1655b1f9.system.entry.js → p-0cad9fd7.system.entry.js} +2 -2
- package/dist/calcite/{p-0a6a0783.entry.js → p-0e8e841f.entry.js} +2 -2
- package/dist/calcite/{p-9f652e96.system.js → p-12341d58.system.js} +1 -1
- package/dist/calcite/p-1470b6ac.system.js +6 -0
- package/dist/calcite/{p-767673ca.entry.js → p-165f0ae9.entry.js} +2 -2
- package/dist/calcite/{p-602cd15b.system.entry.js → p-18400108.system.entry.js} +2 -2
- package/dist/calcite/{p-23c3d662.system.entry.js → p-1984dd20.system.entry.js} +3 -3
- package/dist/calcite/{p-0c69e433.system.entry.js → p-1a5f2e89.system.entry.js} +2 -2
- package/dist/calcite/p-1b4c384d.js +6 -0
- package/dist/calcite/{p-afe1a754.system.js → p-1cadb360.system.js} +2 -2
- package/dist/calcite/{p-99e32317.system.js → p-1d1b744b.system.js} +1 -1
- package/dist/calcite/{p-1042f056.system.js → p-1deae9df.system.js} +2 -2
- package/dist/calcite/{p-1a32ed03.js → p-1edd9ad9.js} +1 -1
- package/dist/calcite/{p-6c1d3b65.entry.js → p-1ee0231e.entry.js} +2 -2
- package/dist/calcite/{p-63bd1727.entry.js → p-23873bc9.entry.js} +2 -2
- package/dist/calcite/{p-66943901.entry.js → p-24237f6c.entry.js} +2 -2
- package/dist/calcite/p-24462318.system.js +6 -0
- package/dist/calcite/{p-110b2c0a.entry.js → p-25d4df62.entry.js} +2 -2
- package/dist/calcite/{p-de586449.entry.js → p-2c1e9659.entry.js} +2 -2
- package/dist/calcite/{p-53339736.system.js → p-2c728600.system.js} +2 -2
- package/dist/calcite/{p-0b761c9d.entry.js → p-2efec344.entry.js} +2 -2
- package/dist/calcite/{p-1fe6f9bf.system.js → p-30585607.system.js} +2 -2
- package/dist/calcite/{p-116355c5.entry.js → p-31fc8445.entry.js} +2 -2
- package/dist/calcite/{p-bd75d9fa.system.entry.js → p-354fb90c.system.entry.js} +3 -3
- package/dist/calcite/{p-e526452f.js → p-3a4b73e4.js} +1 -1
- package/dist/calcite/{p-596c41c7.entry.js → p-3c764685.entry.js} +2 -2
- package/dist/calcite/{p-f8ca8f86.entry.js → p-3ccb2630.entry.js} +2 -2
- package/dist/calcite/{p-52ee3fdc.system.entry.js → p-3d30d9e1.system.entry.js} +2 -2
- package/dist/calcite/{p-7205f676.system.js → p-3de1a16b.system.js} +2 -2
- package/dist/calcite/{p-e836da89.js → p-3e3e6390.js} +1 -1
- package/dist/calcite/{p-c0953f89.entry.js → p-3e76561a.entry.js} +2 -2
- package/dist/calcite/{p-8ec5c673.system.js → p-3f093216.system.js} +2 -2
- package/dist/calcite/p-43fad2b6.entry.js +6 -0
- package/dist/calcite/{p-eda17403.system.entry.js → p-44257e65.system.entry.js} +2 -2
- package/dist/calcite/{p-184a4bad.js → p-4450e4e9.js} +2 -2
- package/dist/calcite/{p-6a40551b.entry.js → p-459839ea.entry.js} +2 -2
- package/dist/calcite/{p-f3fbd6f4.entry.js → p-45adbdc4.entry.js} +2 -2
- package/dist/calcite/{p-6bf94e55.js → p-46031d7e.js} +1 -1
- package/dist/calcite/{p-98ce50ed.system.entry.js → p-4a77bf0b.system.entry.js} +2 -2
- package/dist/calcite/{p-9978c23b.system.entry.js → p-4ef838e7.system.entry.js} +2 -2
- package/dist/calcite/{p-bd1fac9f.js → p-4f094383.js} +1 -1
- package/dist/calcite/{p-a6198327.entry.js → p-51cfe95e.entry.js} +2 -2
- package/dist/calcite/{p-796e0a81.system.entry.js → p-5295203c.system.entry.js} +2 -2
- package/dist/calcite/{p-01c3e8d3.entry.js → p-52eccc9c.entry.js} +2 -2
- package/dist/calcite/{p-cbf3a9b8.system.entry.js → p-53ef55a4.system.entry.js} +2 -2
- package/dist/calcite/{p-7e3aa75f.system.js → p-55a07cc1.system.js} +1 -1
- package/dist/calcite/{p-f7609a55.system.entry.js → p-58bb5ada.system.entry.js} +2 -2
- package/dist/calcite/{p-f301053b.entry.js → p-58c1a47d.entry.js} +2 -2
- package/dist/calcite/{p-6b6aa6bf.entry.js → p-59cfa1c1.entry.js} +2 -2
- package/dist/calcite/{p-b4c8cb03.system.entry.js → p-5d500814.system.entry.js} +2 -2
- package/dist/calcite/{p-2bb92700.system.js → p-5e239a89.system.js} +1 -1
- package/dist/calcite/{p-2df5e9e2.entry.js → p-60757c0e.entry.js} +2 -2
- package/dist/calcite/{p-bd10e864.entry.js → p-61245ed4.entry.js} +2 -2
- package/dist/calcite/{p-1091e2ab.system.js → p-61c3cffa.system.js} +1 -1
- package/dist/calcite/{p-29499f4c.system.entry.js → p-61d8f010.system.entry.js} +2 -2
- package/dist/calcite/{p-42c16aed.system.entry.js → p-6220b73a.system.entry.js} +2 -2
- package/dist/calcite/{p-de68c6d2.system.entry.js → p-626d74fb.system.entry.js} +2 -2
- package/dist/calcite/{p-3cf8543b.system.entry.js → p-62d360ea.system.entry.js} +2 -2
- package/dist/calcite/{p-279ab656.entry.js → p-63a1c5df.entry.js} +2 -2
- package/dist/calcite/{p-53eabeac.entry.js → p-64e3fb04.entry.js} +2 -2
- package/dist/calcite/{p-89548a5d.system.js → p-650971a7.system.js} +1 -1
- package/dist/calcite/{p-7f993f50.entry.js → p-661caaf1.entry.js} +2 -2
- package/dist/calcite/{p-660456f2.entry.js → p-691196fa.entry.js} +2 -2
- package/dist/calcite/{p-b29d531a.entry.js → p-6a62ad99.entry.js} +2 -2
- package/dist/calcite/{p-93f10ba5.js → p-6b0e989e.js} +2 -2
- package/dist/calcite/{p-54b5d484.system.entry.js → p-6e2dcd5a.system.entry.js} +2 -2
- package/dist/calcite/{p-1ee211dd.js → p-6fcd4f94.js} +1 -1
- package/dist/calcite/{p-facdd598.js → p-71a3e1a6.js} +2 -2
- package/dist/calcite/{p-863dbbd9.entry.js → p-7401cad5.entry.js} +2 -2
- package/dist/calcite/{p-d435edac.js → p-740eac70.js} +1 -1
- package/dist/calcite/{p-8e15d140.system.entry.js → p-77cf2748.system.entry.js} +2 -2
- package/dist/calcite/{p-e8f931f7.js → p-7814f7dc.js} +1 -1
- package/dist/calcite/{p-8b41d58d.system.js → p-794cfee9.system.js} +2 -2
- package/dist/calcite/p-79e899a9.system.entry.js +6 -0
- package/dist/calcite/{p-aca53307.entry.js → p-7a138bae.entry.js} +2 -2
- package/dist/calcite/{p-d8a7b396.entry.js → p-7af19423.entry.js} +2 -2
- package/dist/calcite/{p-c0400371.entry.js → p-7bc45a68.entry.js} +2 -2
- package/dist/calcite/{p-86633fc5.system.entry.js → p-7ce84b5a.system.entry.js} +2 -2
- package/dist/calcite/{p-60481ada.entry.js → p-7fa2d4c2.entry.js} +2 -2
- package/dist/calcite/p-8004e14b.system.entry.js +6 -0
- package/dist/calcite/{p-e34a26ea.js → p-8096b4af.js} +1 -1
- package/dist/calcite/{p-94cc7e1a.entry.js → p-82507fa6.entry.js} +2 -2
- package/dist/calcite/{p-3838ca32.system.entry.js → p-8386fb61.system.entry.js} +2 -2
- package/dist/calcite/{p-e3fe1223.system.entry.js → p-8934b322.system.entry.js} +2 -2
- package/dist/calcite/{p-816de0b8.system.js → p-8973abbf.system.js} +1 -1
- package/dist/calcite/p-8c79e188.js +6 -0
- package/dist/calcite/{p-2d4d9875.entry.js → p-8c9798f7.entry.js} +2 -2
- package/dist/calcite/{p-84d97fcf.system.entry.js → p-8dc7fa15.system.entry.js} +2 -2
- package/dist/calcite/{p-1ce3b5b5.entry.js → p-8e303469.entry.js} +2 -2
- package/dist/calcite/p-8f97abae.system.entry.js +6 -0
- package/dist/calcite/{p-eb9b51a7.system.entry.js → p-92093ecc.system.entry.js} +3 -3
- package/dist/calcite/{p-4b69076a.system.entry.js → p-923ea4dd.system.entry.js} +2 -2
- package/dist/calcite/{p-36e57dc9.js → p-96a13532.js} +2 -2
- package/dist/calcite/{p-281708ef.system.entry.js → p-9eb78975.system.entry.js} +2 -2
- package/dist/calcite/{p-be45e9f1.js → p-9f9e9428.js} +1 -1
- package/dist/calcite/{p-df794302.system.entry.js → p-9fe44ee8.system.entry.js} +3 -3
- package/dist/calcite/{p-7b561900.system.entry.js → p-a22d643b.system.entry.js} +2 -2
- package/dist/calcite/{p-263e222d.system.entry.js → p-a72f42d4.system.entry.js} +2 -2
- package/dist/calcite/{p-5a53d84b.system.entry.js → p-a8819c11.system.entry.js} +2 -2
- package/dist/calcite/{p-20b72633.system.js → p-a96d9b76.system.js} +1 -1
- package/dist/calcite/{p-af6411be.js → p-ab3bf113.js} +2 -2
- package/dist/calcite/{p-ae91d667.system.entry.js → p-ab50eb36.system.entry.js} +2 -2
- package/dist/calcite/{p-9af5068c.system.entry.js → p-affaa2a5.system.entry.js} +2 -2
- package/dist/calcite/{p-2b73c1f6.system.entry.js → p-b1c34e7e.system.entry.js} +2 -2
- package/dist/calcite/{p-f384ea3b.entry.js → p-b24fe4ed.entry.js} +2 -2
- package/dist/calcite/{p-7b809364.js → p-b4251b60.js} +1 -1
- package/dist/calcite/{p-6814b81f.system.entry.js → p-b524f2c7.system.entry.js} +2 -2
- package/dist/calcite/{p-d0477cd0.system.entry.js → p-b6d7e788.system.entry.js} +2 -2
- package/dist/calcite/{p-ee6a5080.entry.js → p-b8e6a15f.entry.js} +2 -2
- package/dist/calcite/{p-d56fdda6.js → p-b9aa9181.js} +1 -1
- package/dist/calcite/{p-f559c6f2.system.entry.js → p-ba585cd2.system.entry.js} +2 -2
- package/dist/calcite/{p-95dfdb95.entry.js → p-ba592172.entry.js} +2 -2
- package/dist/calcite/{p-3ea8ed05.system.entry.js → p-bb57b795.system.entry.js} +2 -2
- package/dist/calcite/{p-da410fa7.system.entry.js → p-bcd9ea7e.system.entry.js} +2 -2
- package/dist/calcite/{p-ac9a4966.entry.js → p-bdc73d0e.entry.js} +2 -2
- package/dist/calcite/{p-1ff91a37.system.js → p-c4c12c2f.system.js} +1 -1
- package/dist/calcite/{p-10401c11.system.entry.js → p-c5505604.system.entry.js} +2 -2
- package/dist/calcite/{p-d8f39b88.system.entry.js → p-c64a7e8b.system.entry.js} +3 -3
- package/dist/calcite/{p-b9e1e73e.system.entry.js → p-c652fbb1.system.entry.js} +2 -2
- package/dist/calcite/{p-f07f5c9b.js → p-c6bad61e.js} +1 -1
- package/dist/calcite/{p-037c0a36.system.js → p-c7011dff.system.js} +1 -1
- package/dist/calcite/{p-76d89b68.js → p-ca3b7cd3.js} +2 -2
- package/dist/calcite/{p-28af9a18.system.entry.js → p-cc3987d7.system.entry.js} +2 -2
- package/dist/calcite/{p-0f27c39e.entry.js → p-cdb157db.entry.js} +2 -2
- package/dist/calcite/{p-981e4cc5.system.entry.js → p-cdedb653.system.entry.js} +2 -2
- package/dist/calcite/{p-6c27f5fc.entry.js → p-cf932962.entry.js} +2 -2
- package/dist/calcite/{p-29633a03.system.js → p-cf99ea1d.system.js} +2 -2
- package/dist/calcite/{p-67abeb66.system.js → p-d12b027a.system.js} +2 -2
- package/dist/calcite/{p-1a0c888a.entry.js → p-d16d988e.entry.js} +2 -2
- package/dist/calcite/{p-c5a17914.entry.js → p-d1e446f2.entry.js} +2 -2
- package/dist/calcite/{p-76e345fc.entry.js → p-d407d923.entry.js} +2 -2
- package/dist/calcite/{p-39aaaef2.entry.js → p-d52e217f.entry.js} +2 -2
- package/dist/calcite/{p-ed6ba4d7.entry.js → p-d67d8463.entry.js} +2 -2
- package/dist/calcite/{p-a030c1bb.system.entry.js → p-d82da3c9.system.entry.js} +2 -2
- package/dist/calcite/{p-e5a42e6d.system.entry.js → p-da6dd95e.system.entry.js} +2 -2
- package/dist/calcite/{p-12f0f9b6.system.js → p-dd0fb82d.system.js} +2 -2
- package/dist/calcite/{p-68d03432.system.js → p-ddc7efbd.system.js} +1 -1
- package/dist/calcite/{p-eb44ed29.system.js → p-de2d48bc.system.js} +1 -1
- package/dist/calcite/{p-b92e9502.system.entry.js → p-de73825b.system.entry.js} +2 -2
- package/dist/calcite/{p-cd7efd23.entry.js → p-de967fdc.entry.js} +2 -2
- package/dist/calcite/{p-e9ee6614.system.js → p-df786353.system.js} +1 -1
- package/dist/calcite/{p-63e0d1ca.system.entry.js → p-df86bbe8.system.entry.js} +2 -2
- package/dist/calcite/{p-39111a24.js → p-dfbf5122.js} +1 -1
- package/dist/calcite/{p-6b143c84.system.js → p-e005a0ec.system.js} +1 -1
- package/dist/calcite/{p-47c65aea.system.js → p-e02d3fc3.system.js} +2 -2
- package/dist/calcite/{p-c26df37c.entry.js → p-e23e21a5.entry.js} +2 -2
- package/dist/calcite/p-e34c660e.system.js +6 -0
- package/dist/calcite/{p-10f395ef.entry.js → p-e49532a5.entry.js} +2 -2
- package/dist/calcite/{p-a0b72c40.system.entry.js → p-e5d28b87.system.entry.js} +2 -2
- package/dist/calcite/{p-1adf66b0.js → p-e6d161da.js} +2 -2
- package/dist/calcite/{p-aa34585c.system.js → p-e7761a36.system.js} +1 -1
- package/dist/calcite/{p-bcc22e2b.entry.js → p-ed16ce78.entry.js} +2 -2
- package/dist/calcite/{p-f38bb6af.entry.js → p-ed9e6537.entry.js} +2 -2
- package/dist/calcite/{p-2bfc10a7.entry.js → p-eea7d29e.entry.js} +2 -2
- package/dist/calcite/p-ef20f3ea.js +6 -0
- package/dist/calcite/{p-71a6b6bc.system.js → p-f1f0ed33.system.js} +1 -1
- package/dist/calcite/{p-e0f1eea6.js → p-f32c5492.js} +1 -1
- package/dist/calcite/{p-b0956bbd.js → p-f4572c54.js} +2 -2
- package/dist/calcite/{p-96179f57.system.entry.js → p-f4e0d30b.system.entry.js} +2 -2
- package/dist/calcite/{p-55103b75.js → p-f504edcf.js} +1 -1
- package/dist/calcite/{p-b962dcda.system.entry.js → p-f50feaf0.system.entry.js} +2 -2
- package/dist/calcite/p-f6b501ad.entry.js +6 -0
- package/dist/calcite/{p-0d7f0161.entry.js → p-f9c2b761.entry.js} +2 -2
- package/dist/calcite/{p-16f03952.entry.js → p-fa6fff5e.entry.js} +2 -2
- package/dist/calcite/{p-3bc31492.system.entry.js → p-fba62e14.system.entry.js} +2 -2
- package/dist/calcite/{p-6ec5d1fd.system.js → p-fd9ce919.system.js} +1 -1
- package/dist/calcite/{p-1bbaf388.system.entry.js → p-fe1f3a85.system.entry.js} +2 -2
- package/dist/calcite/{p-55c6c7c6.system.entry.js → p-fe415982.system.entry.js} +2 -2
- package/dist/calcite/p-fe9bfa3a.entry.js +6 -0
- package/dist/calcite/{p-7c2209a9.entry.js → p-ffa5ccce.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-f7e75c51.js → ExpandToggle-adc546ab.js} +5 -5
- package/dist/cjs/{Heading-22ec7f05.js → Heading-de3aeada.js} +2 -2
- package/dist/cjs/{app-globals-22240255.js → app-globals-44a9fea8.js} +2 -2
- package/dist/cjs/{array-7b8758c8.js → array-35fcfd09.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +31 -12
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +56 -21
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -67
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-c971a933.js → conditionalSlot-7c9a25a8.js} +3 -3
- package/dist/cjs/{debounce-996f341c.js → debounce-5c1d40b6.js} +1 -1
- package/dist/cjs/{dom-2bc0162d.js → dom-76ca84ee.js} +3 -3
- package/dist/cjs/{filter-d2da3ee5.js → filter-1bb8c969.js} +2 -2
- package/dist/cjs/{floating-ui-fcf6a0e0.js → floating-ui-1533b15e.js} +2 -2
- package/dist/cjs/{form-5ec27644.js → form-66d9e5c4.js} +3 -3
- package/dist/cjs/globalAttributes-f86352f9.js +71 -0
- package/dist/cjs/{guid-c30ca1c9.js → guid-4476f796.js} +1 -1
- package/dist/cjs/{index-2722dddc.js → index-b987367c.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-5a4f0e57.js → interactive-361f1598.js} +1 -1
- package/dist/cjs/{interfaces-f0b92d69.js → interfaces-1bb935f6.js} +1 -1
- package/dist/cjs/{key-b64af4ca.js → key-508c6836.js} +1 -1
- package/dist/cjs/{label-f847375b.js → label-b1554a89.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-9def3d39.js → locale-c72fafad.js} +2 -2
- package/dist/cjs/{math-805fed32.js → math-675bd44e.js} +1 -1
- package/dist/cjs/{observers-ecd11e8f.js → observers-66cd9b10.js} +1 -1
- package/dist/cjs/{openCloseComponent-f136c04a.js → openCloseComponent-83fa4c36.js} +1 -1
- package/dist/cjs/{resources-b6b3d560.js → resources-0cca1b72.js} +5 -5
- package/dist/cjs/{resources-5e3a36b6.js → resources-3f3d1f7d.js} +1 -1
- package/dist/cjs/{resources-f7eb761e.js → resources-556c4032.js} +1 -1
- package/dist/cjs/{resources-80ec6276.js → resources-6c843427.js} +1 -1
- package/dist/cjs/{resources-953b2733.js → resources-92d288c2.js} +1 -1
- package/dist/cjs/{resources-3d1ec67c.js → resources-f0642ea4.js} +3 -3
- package/dist/cjs/{sortable.esm-427ab2ca.js → sortable.esm-04779203.js} +1 -1
- package/dist/cjs/{utils-bfc65d1c.js → utils-6f369590.js} +1 -1
- 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 +17 -0
- package/dist/collection/components/accordion-item/accordion-item.js +67 -8
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +5 -2
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- 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.js +1 -1
- 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-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- 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-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- 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.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.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +24 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +59 -9
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +12 -0
- package/dist/collection/components/slider/slider.js +93 -26
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/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 +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +28 -7
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +2 -62
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +15 -5
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +49 -11
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- 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 +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/globalAttributes.js +68 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- 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 +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +361 -301
- package/dist/esm/{ExpandToggle-696f5741.js → ExpandToggle-3bc56409.js} +5 -5
- package/dist/esm/{Heading-69713dc2.js → Heading-e76fabf0.js} +2 -2
- package/dist/esm/{app-globals-702bd427.js → app-globals-a36c6cb4.js} +2 -2
- package/dist/esm/{array-6db15fd5.js → array-98503e3e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +31 -12
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +7 -7
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- package/dist/esm/calcite-dropdown_3.entry.js +10 -10
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +56 -21
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +13 -13
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +10 -10
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +6 -65
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +10 -10
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +20 -12
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-2cb5c51f.js → conditionalSlot-d26c49f4.js} +3 -3
- package/dist/esm/{debounce-41109b79.js → debounce-456a350b.js} +1 -1
- package/dist/esm/{dom-1b649d05.js → dom-aa448df2.js} +3 -3
- package/dist/esm/{filter-01a93e9f.js → filter-6d541b81.js} +2 -2
- package/dist/esm/{floating-ui-0c362af2.js → floating-ui-dcbb2e0f.js} +2 -2
- package/dist/esm/{form-4377e41d.js → form-ed848cf6.js} +3 -3
- package/dist/esm/globalAttributes-39c1d74c.js +68 -0
- package/dist/esm/{guid-bbafedce.js → guid-6a3d508c.js} +1 -1
- package/dist/esm/{index-f36262f4.js → index-4d8a8a3d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-840fa6fc.js → interactive-c13e9f92.js} +1 -1
- package/dist/esm/{interfaces-066720a8.js → interfaces-774ed52c.js} +1 -1
- package/dist/esm/{key-75a51b04.js → key-95771f61.js} +1 -1
- package/dist/esm/{label-b1dfadeb.js → label-59c8bc7c.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-4560d933.js → locale-975287e1.js} +2 -2
- package/dist/esm/{math-41ee05b3.js → math-83019fa1.js} +1 -1
- package/dist/esm/{observers-aaac56ce.js → observers-ded2c2cc.js} +1 -1
- package/dist/esm/{openCloseComponent-ae7e7180.js → openCloseComponent-8ac8796e.js} +1 -1
- package/dist/esm/{resources-c21c6026.js → resources-189f4308.js} +1 -1
- package/dist/esm/{resources-50e283ed.js → resources-5470719f.js} +5 -5
- package/dist/esm/{resources-7ed1d3b6.js → resources-9e0ec6e2.js} +1 -1
- package/dist/esm/{resources-e706faf6.js → resources-bf2368cb.js} +1 -1
- package/dist/esm/{resources-5b5ae1af.js → resources-c49cfcc7.js} +3 -3
- package/dist/esm/{resources-68c32ce1.js → resources-e2bbcd2d.js} +1 -1
- package/dist/esm/{sortable.esm-5be669e6.js → sortable.esm-dd628a88.js} +1 -1
- package/dist/esm/{utils-29b0defb.js → utils-d3bcea4a.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-696f5741.js → ExpandToggle-3bc56409.js} +2 -2
- package/dist/esm-es5/{Heading-69713dc2.js → Heading-e76fabf0.js} +2 -2
- package/dist/esm-es5/{app-globals-702bd427.js → app-globals-a36c6cb4.js} +2 -2
- package/dist/esm-es5/{array-6db15fd5.js → array-98503e3e.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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-2cb5c51f.js → conditionalSlot-d26c49f4.js} +2 -2
- package/dist/esm-es5/{debounce-41109b79.js → debounce-456a350b.js} +1 -1
- package/dist/esm-es5/{dom-1b649d05.js → dom-aa448df2.js} +2 -2
- package/dist/esm-es5/{filter-01a93e9f.js → filter-6d541b81.js} +2 -2
- package/dist/esm-es5/{floating-ui-0c362af2.js → floating-ui-dcbb2e0f.js} +2 -2
- package/dist/esm-es5/{form-4377e41d.js → form-ed848cf6.js} +2 -2
- package/dist/esm-es5/globalAttributes-39c1d74c.js +6 -0
- package/dist/esm-es5/{guid-bbafedce.js → guid-6a3d508c.js} +1 -1
- package/dist/esm-es5/{index-f36262f4.js → index-4d8a8a3d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-840fa6fc.js → interactive-c13e9f92.js} +1 -1
- package/dist/esm-es5/{interfaces-066720a8.js → interfaces-774ed52c.js} +1 -1
- package/dist/esm-es5/{key-75a51b04.js → key-95771f61.js} +1 -1
- package/dist/esm-es5/{label-b1dfadeb.js → label-59c8bc7c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-4560d933.js → locale-975287e1.js} +2 -2
- package/dist/esm-es5/{math-41ee05b3.js → math-83019fa1.js} +1 -1
- package/dist/esm-es5/{observers-aaac56ce.js → observers-ded2c2cc.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-ae7e7180.js → openCloseComponent-8ac8796e.js} +1 -1
- package/dist/esm-es5/{resources-c21c6026.js → resources-189f4308.js} +1 -1
- package/dist/esm-es5/{resources-50e283ed.js → resources-5470719f.js} +2 -2
- package/dist/esm-es5/{resources-7ed1d3b6.js → resources-9e0ec6e2.js} +1 -1
- package/dist/esm-es5/{resources-e706faf6.js → resources-bf2368cb.js} +1 -1
- package/dist/esm-es5/{resources-5b5ae1af.js → resources-c49cfcc7.js} +2 -2
- package/dist/esm-es5/{resources-68c32ce1.js → resources-e2bbcd2d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-5be669e6.js → sortable.esm-dd628a88.js} +1 -1
- package/dist/esm-es5/{utils-29b0defb.js → utils-d3bcea4a.js} +1 -1
- package/dist/extras/docs-json.json +125 -5
- 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/accordion-item/accordion-item.d.ts +11 -1
- package/dist/types/components/accordion-item/resources.d.ts +3 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +14 -2
- package/dist/types/components/slider/resources.d.ts +7 -0
- package/dist/types/components/slider/slider.d.ts +19 -1
- package/dist/types/components.d.ts +60 -4
- package/hydrate/index.js +369 -302
- package/package.json +4 -4
- package/dist/calcite/p-0c0566b9.system.entry.js +0 -6
- package/dist/calcite/p-0eaee689.entry.js +0 -6
- package/dist/calcite/p-233ad93c.system.entry.js +0 -6
- package/dist/calcite/p-3be06abd.js +0 -6
- package/dist/calcite/p-594079b4.js +0 -6
- package/dist/calcite/p-5952e049.system.js +0 -6
- package/dist/calcite/p-73510c62.system.js +0 -6
- package/dist/calcite/p-8dee835f.system.entry.js +0 -6
- package/dist/calcite/p-af0bd0d2.entry.js +0 -6
- package/dist/calcite/p-cbf08eb2.entry.js +0 -6
- package/dist/calcite/p-d02a7a07.entry.js +0 -6
- package/dist/calcite/p-dc04f089.js +0 -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.581
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -449,7 +449,7 @@ const SLOTS$t = {
|
|
|
449
449
|
actionsStart: "actions-start",
|
|
450
450
|
actionsEnd: "actions-end"
|
|
451
451
|
};
|
|
452
|
-
const CSS$
|
|
452
|
+
const CSS$U = {
|
|
453
453
|
icon: "icon",
|
|
454
454
|
header: "header",
|
|
455
455
|
headerContent: "header-content",
|
|
@@ -459,10 +459,13 @@ const CSS$T = {
|
|
|
459
459
|
heading: "heading",
|
|
460
460
|
description: "description",
|
|
461
461
|
expandIcon: "expand-icon",
|
|
462
|
-
content: "content"
|
|
462
|
+
content: "content",
|
|
463
|
+
iconStart: "icon--start",
|
|
464
|
+
iconEnd: "icon--end",
|
|
465
|
+
headerContainer: "header-container"
|
|
463
466
|
};
|
|
464
467
|
|
|
465
|
-
const accordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";
|
|
468
|
+
const accordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin);-webkit-margin-start:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";
|
|
466
469
|
|
|
467
470
|
const AccordionItem = class extends HTMLElement$1 {
|
|
468
471
|
constructor() {
|
|
@@ -497,6 +500,12 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
497
500
|
expandedHandler(value) {
|
|
498
501
|
this.active = value;
|
|
499
502
|
}
|
|
503
|
+
iconHandler(value) {
|
|
504
|
+
this.iconStart = value;
|
|
505
|
+
}
|
|
506
|
+
iconStartHandler(value) {
|
|
507
|
+
this.icon = value;
|
|
508
|
+
}
|
|
500
509
|
//--------------------------------------------------------------------------
|
|
501
510
|
//
|
|
502
511
|
// Lifecycle
|
|
@@ -512,6 +521,12 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
512
521
|
this.activeHandler(isExpanded);
|
|
513
522
|
this.expandedHandler(isExpanded);
|
|
514
523
|
}
|
|
524
|
+
if (this.iconStart) {
|
|
525
|
+
this.icon = this.iconStart;
|
|
526
|
+
}
|
|
527
|
+
else if (this.icon) {
|
|
528
|
+
this.iconStart = this.icon;
|
|
529
|
+
}
|
|
515
530
|
connectConditionalSlotComponent(this);
|
|
516
531
|
}
|
|
517
532
|
componentDidLoad() {
|
|
@@ -531,25 +546,27 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
531
546
|
// --------------------------------------------------------------------------
|
|
532
547
|
renderActionsStart() {
|
|
533
548
|
const { el } = this;
|
|
534
|
-
return getSlotted(el, SLOTS$t.actionsStart) ? (h("div", { class: CSS$
|
|
549
|
+
return getSlotted(el, SLOTS$t.actionsStart) ? (h("div", { class: CSS$U.actionsStart }, h("slot", { name: SLOTS$t.actionsStart }))) : null;
|
|
535
550
|
}
|
|
536
551
|
renderActionsEnd() {
|
|
537
552
|
const { el } = this;
|
|
538
|
-
return getSlotted(el, SLOTS$t.actionsEnd) ? (h("div", { class: CSS$
|
|
553
|
+
return getSlotted(el, SLOTS$t.actionsEnd) ? (h("div", { class: CSS$U.actionsEnd }, h("slot", { name: SLOTS$t.actionsEnd }))) : null;
|
|
539
554
|
}
|
|
540
555
|
render() {
|
|
541
556
|
const dir = getElementDir(this.el);
|
|
542
|
-
const
|
|
557
|
+
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$U.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
558
|
+
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$U.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
559
|
+
const description = this.description || this.itemSubtitle;
|
|
543
560
|
return (h(Host, null, h("div", { class: {
|
|
544
561
|
[`icon-position--${this.iconPosition}`]: true,
|
|
545
562
|
[`icon-type--${this.iconType}`]: true
|
|
546
|
-
} }, h("div", { class: { [CSS$
|
|
563
|
+
} }, h("div", { class: { [CSS$U.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), h("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$U.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, h("div", { class: CSS$U.headerContainer }, iconStartEl, h("div", { class: CSS$U.headerText }, h("span", { class: CSS$U.heading }, this.heading || this.itemTitle), description ? h("span", { class: CSS$U.description }, description) : null), iconEndEl), h("calcite-icon", { class: CSS$U.expandIcon, icon: this.iconType === "chevron"
|
|
547
564
|
? "chevronDown"
|
|
548
565
|
: this.iconType === "caret"
|
|
549
566
|
? "caretDown"
|
|
550
567
|
: this.expanded || this.active
|
|
551
568
|
? "minus"
|
|
552
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$
|
|
569
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$U.content }, h("slot", null)))));
|
|
553
570
|
}
|
|
554
571
|
//--------------------------------------------------------------------------
|
|
555
572
|
//
|
|
@@ -617,12 +634,14 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
617
634
|
get el() { return this; }
|
|
618
635
|
static get watchers() { return {
|
|
619
636
|
"active": ["activeHandler"],
|
|
620
|
-
"expanded": ["expandedHandler"]
|
|
637
|
+
"expanded": ["expandedHandler"],
|
|
638
|
+
"icon": ["iconHandler"],
|
|
639
|
+
"iconStart": ["iconStartHandler"]
|
|
621
640
|
}; }
|
|
622
641
|
static get style() { return accordionItemCss; }
|
|
623
642
|
};
|
|
624
643
|
|
|
625
|
-
const CSS$
|
|
644
|
+
const CSS$T = {
|
|
626
645
|
button: "button",
|
|
627
646
|
buttonTextVisible: "button--text-visible",
|
|
628
647
|
buttonCompact: "button--compact",
|
|
@@ -771,8 +790,8 @@ const Action = class extends HTMLElement$1 {
|
|
|
771
790
|
renderTextContainer() {
|
|
772
791
|
const { text, textEnabled } = this;
|
|
773
792
|
const textContainerClasses = {
|
|
774
|
-
[CSS$
|
|
775
|
-
[CSS$
|
|
793
|
+
[CSS$T.textContainer]: true,
|
|
794
|
+
[CSS$T.textContainerVisible]: textEnabled
|
|
776
795
|
};
|
|
777
796
|
return text ? (h("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
778
797
|
}
|
|
@@ -786,18 +805,18 @@ const Action = class extends HTMLElement$1 {
|
|
|
786
805
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
787
806
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
788
807
|
const slotContainerNode = (h("div", { class: {
|
|
789
|
-
[CSS$
|
|
790
|
-
[CSS$
|
|
808
|
+
[CSS$T.slotContainer]: true,
|
|
809
|
+
[CSS$T.slotContainerHidden]: loading
|
|
791
810
|
} }, h("slot", null)));
|
|
792
|
-
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$
|
|
811
|
+
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$T.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
793
812
|
}
|
|
794
813
|
render() {
|
|
795
814
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
796
815
|
const ariaLabel = label || text;
|
|
797
816
|
const buttonClasses = {
|
|
798
|
-
[CSS$
|
|
799
|
-
[CSS$
|
|
800
|
-
[CSS$
|
|
817
|
+
[CSS$T.button]: true,
|
|
818
|
+
[CSS$T.buttonTextVisible]: textEnabled,
|
|
819
|
+
[CSS$T.buttonCompact]: compact
|
|
801
820
|
};
|
|
802
821
|
return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
803
822
|
}
|
|
@@ -805,7 +824,7 @@ const Action = class extends HTMLElement$1 {
|
|
|
805
824
|
static get style() { return actionCss; }
|
|
806
825
|
};
|
|
807
826
|
|
|
808
|
-
const CSS$
|
|
827
|
+
const CSS$S = {
|
|
809
828
|
menu: "menu",
|
|
810
829
|
defaultTrigger: "default-trigger"
|
|
811
830
|
};
|
|
@@ -917,7 +936,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
917
936
|
return actionNode;
|
|
918
937
|
};
|
|
919
938
|
|
|
920
|
-
const CSS$
|
|
939
|
+
const CSS$R = {
|
|
921
940
|
actionGroupBottom: "action-group--bottom"
|
|
922
941
|
};
|
|
923
942
|
const SLOTS$q = {
|
|
@@ -2363,7 +2382,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2363
2382
|
const expandLabel = intlExpand || TEXT$s.expand;
|
|
2364
2383
|
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
2365
2384
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2366
|
-
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$
|
|
2385
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$R.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$q.bottomActions }), h("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
2367
2386
|
}
|
|
2368
2387
|
render() {
|
|
2369
2388
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
|
@@ -2713,14 +2732,14 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2713
2732
|
}
|
|
2714
2733
|
renderMenuButton() {
|
|
2715
2734
|
const { label, scale, expanded } = this;
|
|
2716
|
-
const menuButtonSlot = (h("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, h("calcite-action", { class: CSS$
|
|
2735
|
+
const menuButtonSlot = (h("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, h("calcite-action", { class: CSS$S.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
2717
2736
|
return menuButtonSlot;
|
|
2718
2737
|
}
|
|
2719
2738
|
renderMenuItems() {
|
|
2720
2739
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
2721
2740
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
2722
2741
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
2723
|
-
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
2742
|
+
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$S.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
2724
2743
|
}
|
|
2725
2744
|
render() {
|
|
2726
2745
|
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -2737,7 +2756,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2737
2756
|
static get style() { return actionMenuCss; }
|
|
2738
2757
|
};
|
|
2739
2758
|
|
|
2740
|
-
const CSS$
|
|
2759
|
+
const CSS$Q = {
|
|
2741
2760
|
actionGroupBottom: "action-group--bottom",
|
|
2742
2761
|
container: "container"
|
|
2743
2762
|
};
|
|
@@ -2844,10 +2863,10 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2844
2863
|
const expandLabel = intlExpand || TEXT$r.expand;
|
|
2845
2864
|
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
2846
2865
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2847
|
-
return expandToggleNode ? (h("calcite-action-group", { class: CSS$
|
|
2866
|
+
return expandToggleNode ? (h("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
2848
2867
|
}
|
|
2849
2868
|
render() {
|
|
2850
|
-
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$
|
|
2869
|
+
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$Q.container }, h("slot", null), this.renderBottomActionGroup())));
|
|
2851
2870
|
}
|
|
2852
2871
|
get el() { return this; }
|
|
2853
2872
|
static get watchers() { return {
|
|
@@ -3379,7 +3398,7 @@ const Avatar = class extends HTMLElement$1 {
|
|
|
3379
3398
|
static get style() { return avatarCss; }
|
|
3380
3399
|
};
|
|
3381
3400
|
|
|
3382
|
-
const CSS$
|
|
3401
|
+
const CSS$P = {
|
|
3383
3402
|
article: "article",
|
|
3384
3403
|
content: "content",
|
|
3385
3404
|
headerContainer: "header-container",
|
|
@@ -3536,30 +3555,30 @@ const Block = class extends HTMLElement$1 {
|
|
|
3536
3555
|
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
3537
3556
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
3538
3557
|
const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (h("calcite-icon", { class: {
|
|
3539
|
-
[CSS$
|
|
3540
|
-
[CSS$
|
|
3541
|
-
[CSS$
|
|
3542
|
-
[CSS$
|
|
3558
|
+
[CSS$P.statusIcon]: true,
|
|
3559
|
+
[CSS$P.valid]: status == "valid",
|
|
3560
|
+
[CSS$P.invalid]: status == "invalid",
|
|
3561
|
+
[CSS$P.loading]: showingLoadingStatus
|
|
3543
3562
|
}, icon: statusIcon, scale: "m" }));
|
|
3544
|
-
return hasIcon ? h("div", { class: CSS$
|
|
3563
|
+
return hasIcon ? h("div", { class: CSS$P.icon }, iconEl) : null;
|
|
3545
3564
|
}
|
|
3546
3565
|
renderTitle() {
|
|
3547
3566
|
const { heading, headingLevel, summary, description } = this;
|
|
3548
|
-
return heading || summary || description ? (h("div", { class: CSS$
|
|
3567
|
+
return heading || summary || description ? (h("div", { class: CSS$P.title }, h(Heading, { class: CSS$P.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (h("div", { class: CSS$P.description }, summary || description)) : null)) : null;
|
|
3549
3568
|
}
|
|
3550
3569
|
render() {
|
|
3551
3570
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
3552
3571
|
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
3553
|
-
const headerContent = (h("header", { class: CSS$
|
|
3572
|
+
const headerContent = (h("header", { class: CSS$P.header }, this.renderIcon(), this.renderTitle()));
|
|
3554
3573
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
3555
3574
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
3556
3575
|
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
3557
3576
|
const { guid } = this;
|
|
3558
3577
|
const regionId = `${guid}-region`;
|
|
3559
3578
|
const buttonId = `${guid}-button`;
|
|
3560
|
-
const headerNode = (h("div", { class: CSS$
|
|
3579
|
+
const headerNode = (h("div", { class: CSS$P.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$P.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$P.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$P.controlContainer }, h("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, h("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
3561
3580
|
return (h(Host, null, h("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
3562
|
-
[CSS$
|
|
3581
|
+
[CSS$P.article]: true
|
|
3563
3582
|
} }, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
3564
3583
|
content: true,
|
|
3565
3584
|
"content--spaced": !this.disablePadding
|
|
@@ -3569,7 +3588,7 @@ const Block = class extends HTMLElement$1 {
|
|
|
3569
3588
|
static get style() { return blockCss; }
|
|
3570
3589
|
};
|
|
3571
3590
|
|
|
3572
|
-
const CSS$
|
|
3591
|
+
const CSS$O = {
|
|
3573
3592
|
content: "content",
|
|
3574
3593
|
invalid: "invalid",
|
|
3575
3594
|
toggle: "toggle",
|
|
@@ -3639,9 +3658,9 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3639
3658
|
const { status } = this;
|
|
3640
3659
|
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
3641
3660
|
const statusIconClasses = {
|
|
3642
|
-
[CSS$
|
|
3643
|
-
[CSS$
|
|
3644
|
-
[CSS$
|
|
3661
|
+
[CSS$O.statusIcon]: true,
|
|
3662
|
+
[CSS$O.valid]: status == "valid",
|
|
3663
|
+
[CSS$O.invalid]: status == "invalid"
|
|
3645
3664
|
};
|
|
3646
3665
|
return !!statusIcon ? (h("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
3647
3666
|
}
|
|
@@ -3658,13 +3677,13 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3658
3677
|
const regionId = `${guid}-region`;
|
|
3659
3678
|
const buttonId = `${guid}-button`;
|
|
3660
3679
|
const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3661
|
-
[CSS$
|
|
3662
|
-
[CSS$
|
|
3663
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$
|
|
3664
|
-
[CSS$
|
|
3665
|
-
[CSS$
|
|
3666
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$
|
|
3667
|
-
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
3680
|
+
[CSS$O.toggle]: true,
|
|
3681
|
+
[CSS$O.toggleSwitch]: true
|
|
3682
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$O.toggleSwitchContent }, h("span", { class: CSS$O.toggleSwitchText }, text)), h("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (h("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3683
|
+
[CSS$O.sectionHeader]: true,
|
|
3684
|
+
[CSS$O.toggle]: true
|
|
3685
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$O.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
3686
|
+
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$O.content, hidden: !open, id: regionId }, h("slot", null))));
|
|
3668
3687
|
}
|
|
3669
3688
|
get el() { return this; }
|
|
3670
3689
|
static get style() { return blockSectionCss; }
|
|
@@ -3698,7 +3717,7 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3698
3717
|
}
|
|
3699
3718
|
})(HTMLFormElement.prototype);
|
|
3700
3719
|
|
|
3701
|
-
const CSS$
|
|
3720
|
+
const CSS$N = {
|
|
3702
3721
|
buttonLoader: "calcite-button--loader",
|
|
3703
3722
|
content: "content",
|
|
3704
3723
|
contentSlotted: "content--slotted",
|
|
@@ -4143,14 +4162,14 @@ const Button = class extends HTMLElement$1 {
|
|
|
4143
4162
|
render() {
|
|
4144
4163
|
const childElType = this.href ? "a" : "button";
|
|
4145
4164
|
const Tag = childElType;
|
|
4146
|
-
const loaderNode = this.hasLoader ? (h("div", { class: CSS$
|
|
4147
|
-
const iconStartEl = (h("calcite-icon", { class: { [CSS$
|
|
4148
|
-
const iconEndEl = (h("calcite-icon", { class: { [CSS$
|
|
4149
|
-
const contentEl = (h("span", { class: CSS$
|
|
4165
|
+
const loaderNode = this.hasLoader ? (h("div", { class: CSS$N.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$N.loadingIn : CSS$N.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
4166
|
+
const iconStartEl = (h("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
4167
|
+
const iconEndEl = (h("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
4168
|
+
const contentEl = (h("span", { class: CSS$N.content }, h("slot", null)));
|
|
4150
4169
|
return (h(Tag, { "aria-label": getLabelText(this), class: {
|
|
4151
|
-
[CSS$
|
|
4152
|
-
[CSS$
|
|
4153
|
-
[CSS$
|
|
4170
|
+
[CSS$N.contentSlotted]: this.hasContent,
|
|
4171
|
+
[CSS$N.iconStartEmpty]: !this.iconStart,
|
|
4172
|
+
[CSS$N.iconEndEmpty]: !this.iconEnd
|
|
4154
4173
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
4155
4174
|
}
|
|
4156
4175
|
//--------------------------------------------------------------------------
|
|
@@ -4191,7 +4210,7 @@ const Button = class extends HTMLElement$1 {
|
|
|
4191
4210
|
static get style() { return buttonCss; }
|
|
4192
4211
|
};
|
|
4193
4212
|
|
|
4194
|
-
const CSS$
|
|
4213
|
+
const CSS$M = {
|
|
4195
4214
|
container: "container",
|
|
4196
4215
|
header: "header",
|
|
4197
4216
|
footer: "footer",
|
|
@@ -4288,32 +4307,32 @@ const Card = class extends HTMLElement$1 {
|
|
|
4288
4307
|
render() {
|
|
4289
4308
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
4290
4309
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
4291
|
-
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
4310
|
+
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$M.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
4292
4311
|
}
|
|
4293
4312
|
selectCard() {
|
|
4294
4313
|
this.selected = !this.selected;
|
|
4295
4314
|
this.calciteCardSelect.emit();
|
|
4296
4315
|
}
|
|
4297
4316
|
renderThumbnail() {
|
|
4298
|
-
return getSlotted(this.el, SLOTS$m.thumbnail) ? (h("section", { class: CSS$
|
|
4317
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (h("section", { class: CSS$M.thumbnailWrapper }, h("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
4299
4318
|
}
|
|
4300
4319
|
renderCheckbox() {
|
|
4301
4320
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
4302
|
-
return (h("calcite-label", { class: CSS$
|
|
4321
|
+
return (h("calcite-label", { class: CSS$M.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
4303
4322
|
}
|
|
4304
4323
|
renderHeader() {
|
|
4305
4324
|
const { el } = this;
|
|
4306
4325
|
const title = getSlotted(el, SLOTS$m.title);
|
|
4307
4326
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
4308
4327
|
const hasHeader = title || subtitle;
|
|
4309
|
-
return hasHeader ? (h("header", { class: CSS$
|
|
4328
|
+
return hasHeader ? (h("header", { class: CSS$M.header }, h("slot", { name: SLOTS$m.title }), h("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
4310
4329
|
}
|
|
4311
4330
|
renderFooter() {
|
|
4312
4331
|
const { el } = this;
|
|
4313
4332
|
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
4314
4333
|
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
4315
4334
|
const hasFooter = leadingFooter || trailingFooter;
|
|
4316
|
-
return hasFooter ? (h("footer", { class: CSS$
|
|
4335
|
+
return hasFooter ? (h("footer", { class: CSS$M.footer }, h("slot", { name: SLOTS$m.footerLeading }), h("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
4317
4336
|
}
|
|
4318
4337
|
get el() { return this; }
|
|
4319
4338
|
static get style() { return cardCss; }
|
|
@@ -4442,7 +4461,7 @@ const Checkbox = class extends HTMLElement$1 {
|
|
|
4442
4461
|
static get style() { return checkboxCss; }
|
|
4443
4462
|
};
|
|
4444
4463
|
|
|
4445
|
-
const CSS$
|
|
4464
|
+
const CSS$L = {
|
|
4446
4465
|
title: "title",
|
|
4447
4466
|
close: "close",
|
|
4448
4467
|
imageContainer: "image-container",
|
|
@@ -4549,12 +4568,12 @@ const Chip = class extends HTMLElement$1 {
|
|
|
4549
4568
|
renderChipImage() {
|
|
4550
4569
|
const { el } = this;
|
|
4551
4570
|
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
4552
|
-
return hasChipImage ? (h("div", { class: CSS$
|
|
4571
|
+
return hasChipImage ? (h("div", { class: CSS$L.imageContainer, key: "image" }, h("slot", { name: SLOTS$l.image }))) : null;
|
|
4553
4572
|
}
|
|
4554
4573
|
render() {
|
|
4555
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
4556
|
-
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
4557
|
-
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$
|
|
4574
|
+
const iconEl = (h("calcite-icon", { class: CSS$L.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
4575
|
+
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$L.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS$L.closeIcon, icon: ICONS$b.close, scale: "s" })));
|
|
4576
|
+
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$L.title, id: this.guid }, h("slot", null)), this.closable ? closeButton : null));
|
|
4558
4577
|
}
|
|
4559
4578
|
get el() { return this; }
|
|
4560
4579
|
static get watchers() { return {
|
|
@@ -6674,7 +6693,7 @@ function zeroArray(array, length) {
|
|
|
6674
6693
|
|
|
6675
6694
|
var color = Color;
|
|
6676
6695
|
|
|
6677
|
-
const CSS$
|
|
6696
|
+
const CSS$K = {
|
|
6678
6697
|
container: "container",
|
|
6679
6698
|
controlSection: "control-section",
|
|
6680
6699
|
hexOptions: "color-hex-options",
|
|
@@ -7216,7 +7235,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7216
7235
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
7217
7236
|
const active = channelMode === activeChannelMode;
|
|
7218
7237
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
7219
|
-
return (h("calcite-tab-title", { active: active, class: CSS$
|
|
7238
|
+
return (h("calcite-tab-title", { active: active, class: CSS$K.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
7220
7239
|
};
|
|
7221
7240
|
this.renderChannelsTab = (channelMode) => {
|
|
7222
7241
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -7227,11 +7246,11 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7227
7246
|
? [intlRed, intlGreen, intlBlue]
|
|
7228
7247
|
: [intlHue, intlSaturation, intlValue];
|
|
7229
7248
|
const direction = getElementDir(this.el);
|
|
7230
|
-
return (h("calcite-tab", { active: active, class: CSS$
|
|
7249
|
+
return (h("calcite-tab", { active: active, class: CSS$K.control, key: channelMode }, h("div", { class: CSS$K.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
7231
7250
|
/* the channel container is ltr, so we apply the host's direction */
|
|
7232
7251
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
7233
7252
|
};
|
|
7234
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$
|
|
7253
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$K.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
7235
7254
|
this.deleteColor = () => {
|
|
7236
7255
|
const colorToDelete = this.color.hex();
|
|
7237
7256
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -7334,7 +7353,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7334
7353
|
this.shiftKeyChannelAdjustment = 0;
|
|
7335
7354
|
const { key } = event;
|
|
7336
7355
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
7337
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
7356
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$K.channel); })) {
|
|
7338
7357
|
return;
|
|
7339
7358
|
}
|
|
7340
7359
|
const { shiftKey } = event;
|
|
@@ -7405,20 +7424,20 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7405
7424
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
7406
7425
|
const noColor = color === null;
|
|
7407
7426
|
const vertical = scopeOrientation === "vertical";
|
|
7408
|
-
return (h("div", { class: CSS$
|
|
7409
|
-
[CSS$
|
|
7410
|
-
[CSS$
|
|
7411
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
7412
|
-
[CSS$
|
|
7413
|
-
[CSS$
|
|
7414
|
-
} }, hideHex ? null : (h("div", { class: CSS$
|
|
7415
|
-
[CSS$
|
|
7416
|
-
[CSS$
|
|
7417
|
-
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
7418
|
-
[CSS$
|
|
7419
|
-
[CSS$
|
|
7420
|
-
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$
|
|
7421
|
-
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
7427
|
+
return (h("div", { class: CSS$K.container }, h("div", { class: CSS$K.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
7428
|
+
[CSS$K.colorFieldAndSlider]: true,
|
|
7429
|
+
[CSS$K.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
7430
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$K.scope]: true, [CSS$K.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$K.scope]: true, [CSS$K.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
7431
|
+
[CSS$K.controlSection]: true,
|
|
7432
|
+
[CSS$K.section]: true
|
|
7433
|
+
} }, hideHex ? null : (h("div", { class: CSS$K.hexOptions }, h("span", { class: {
|
|
7434
|
+
[CSS$K.header]: true,
|
|
7435
|
+
[CSS$K.headerHex]: true
|
|
7436
|
+
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$K.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
|
|
7437
|
+
[CSS$K.colorModeContainer]: true,
|
|
7438
|
+
[CSS$K.splitSection]: true
|
|
7439
|
+
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$K.savedColorsSection]: true, [CSS$K.section]: true } }, h("div", { class: CSS$K.header }, h("label", null, intlSaved), h("div", { class: CSS$K.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$K.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$K.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$K.savedColors }, [
|
|
7440
|
+
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$K.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
7422
7441
|
])) : null))));
|
|
7423
7442
|
}
|
|
7424
7443
|
// --------------------------------------------------------------------------
|
|
@@ -7613,7 +7632,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7613
7632
|
static get style() { return colorPickerCss; }
|
|
7614
7633
|
};
|
|
7615
7634
|
|
|
7616
|
-
const CSS$
|
|
7635
|
+
const CSS$J = {
|
|
7617
7636
|
container: "container",
|
|
7618
7637
|
preview: "preview",
|
|
7619
7638
|
input: "input"
|
|
@@ -7751,7 +7770,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7751
7770
|
render() {
|
|
7752
7771
|
const { intlHex, value } = this;
|
|
7753
7772
|
const hexInputValue = this.formatForInternalInput(value);
|
|
7754
|
-
return (h("div", { class: CSS$
|
|
7773
|
+
return (h("div", { class: CSS$J.container }, h("calcite-input", { class: CSS$J.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$J.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
7755
7774
|
}
|
|
7756
7775
|
//--------------------------------------------------------------------------
|
|
7757
7776
|
//
|
|
@@ -7810,7 +7829,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7810
7829
|
static get style() { return colorPickerHexInputCss; }
|
|
7811
7830
|
};
|
|
7812
7831
|
|
|
7813
|
-
const CSS$
|
|
7832
|
+
const CSS$I = {
|
|
7814
7833
|
swatch: "swatch",
|
|
7815
7834
|
noColorIcon: "no-color-icon"
|
|
7816
7835
|
};
|
|
@@ -7857,7 +7876,7 @@ const ColorPickerSwatch = class extends HTMLElement$1 {
|
|
|
7857
7876
|
const hex = internalColor.hex();
|
|
7858
7877
|
const theme = getThemeName(el);
|
|
7859
7878
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
7860
|
-
return (h("svg", { class: CSS$
|
|
7879
|
+
return (h("svg", { class: CSS$I.swatch, xmlns: "http://www.w3.org/2000/svg" }, h("title", null, hex), h("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
7861
7880
|
}
|
|
7862
7881
|
get el() { return this; }
|
|
7863
7882
|
static get watchers() { return {
|
|
@@ -10414,7 +10433,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10414
10433
|
static get style() { return comboboxCss; }
|
|
10415
10434
|
};
|
|
10416
10435
|
|
|
10417
|
-
const CSS$
|
|
10436
|
+
const CSS$H = {
|
|
10418
10437
|
icon: "icon",
|
|
10419
10438
|
iconActive: "icon--active",
|
|
10420
10439
|
custom: "icon--custom",
|
|
@@ -10505,18 +10524,18 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10505
10524
|
// --------------------------------------------------------------------------
|
|
10506
10525
|
renderIcon(isSingle) {
|
|
10507
10526
|
const { icon, disabled, selected } = this;
|
|
10508
|
-
const level = `${CSS$
|
|
10527
|
+
const level = `${CSS$H.icon}--indent`;
|
|
10509
10528
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
10510
10529
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
10511
10530
|
const showDot = isSingle && !icon && !disabled;
|
|
10512
10531
|
return showDot ? (h("span", { class: {
|
|
10513
|
-
[CSS$
|
|
10514
|
-
[CSS$
|
|
10532
|
+
[CSS$H.icon]: true,
|
|
10533
|
+
[CSS$H.dot]: true,
|
|
10515
10534
|
[level]: true
|
|
10516
10535
|
} })) : (h("calcite-icon", { class: {
|
|
10517
|
-
[CSS$
|
|
10518
|
-
[CSS$
|
|
10519
|
-
[CSS$
|
|
10536
|
+
[CSS$H.icon]: !icon,
|
|
10537
|
+
[CSS$H.custom]: !!icon,
|
|
10538
|
+
[CSS$H.iconActive]: icon && selected,
|
|
10520
10539
|
[level]: true
|
|
10521
10540
|
}, icon: icon || iconPath, scale: "s" }));
|
|
10522
10541
|
}
|
|
@@ -10529,13 +10548,13 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10529
10548
|
render() {
|
|
10530
10549
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
10531
10550
|
const classes = {
|
|
10532
|
-
[CSS$
|
|
10533
|
-
[CSS$
|
|
10534
|
-
[CSS$
|
|
10535
|
-
[CSS$
|
|
10551
|
+
[CSS$H.label]: true,
|
|
10552
|
+
[CSS$H.selected]: this.selected,
|
|
10553
|
+
[CSS$H.active]: this.active,
|
|
10554
|
+
[CSS$H.single]: isSingleSelect
|
|
10536
10555
|
};
|
|
10537
10556
|
const depth = getDepth(this.el);
|
|
10538
|
-
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$
|
|
10557
|
+
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$H.title }, this.textLabel)), this.renderChildren())));
|
|
10539
10558
|
}
|
|
10540
10559
|
get el() { return this; }
|
|
10541
10560
|
static get watchers() { return {
|
|
@@ -10544,7 +10563,7 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10544
10563
|
static get style() { return comboboxItemCss; }
|
|
10545
10564
|
};
|
|
10546
10565
|
|
|
10547
|
-
const CSS$
|
|
10566
|
+
const CSS$G = {
|
|
10548
10567
|
list: "list",
|
|
10549
10568
|
label: "label",
|
|
10550
10569
|
title: "title"
|
|
@@ -10576,8 +10595,8 @@ const ComboboxItemGroup = class extends HTMLElement$1 {
|
|
|
10576
10595
|
// --------------------------------------------------------------------------
|
|
10577
10596
|
render() {
|
|
10578
10597
|
const { el, scale } = this;
|
|
10579
|
-
const indent = `${CSS$
|
|
10580
|
-
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
10598
|
+
const indent = `${CSS$G.label}--indent-${getDepth(el)}`;
|
|
10599
|
+
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$G.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS$G.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS$G.title }, this.label)), h("slot", null)));
|
|
10581
10600
|
}
|
|
10582
10601
|
get el() { return this; }
|
|
10583
10602
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -12502,7 +12521,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12502
12521
|
static get style() { return dropdownCss; }
|
|
12503
12522
|
};
|
|
12504
12523
|
|
|
12505
|
-
const CSS$
|
|
12524
|
+
const CSS$F = {
|
|
12506
12525
|
containerSmall: "container--s",
|
|
12507
12526
|
containerMedium: "container--m",
|
|
12508
12527
|
containerLarge: "container--l"
|
|
@@ -12536,9 +12555,9 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12536
12555
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
12537
12556
|
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
|
12538
12557
|
container: true,
|
|
12539
|
-
[CSS$
|
|
12540
|
-
[CSS$
|
|
12541
|
-
[CSS$
|
|
12558
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
12559
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
12560
|
+
[CSS$F.containerLarge]: scale === "l"
|
|
12542
12561
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, h("slot", null))));
|
|
12543
12562
|
}
|
|
12544
12563
|
//--------------------------------------------------------------------------
|
|
@@ -12566,7 +12585,7 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12566
12585
|
static get style() { return dropdownGroupCss; }
|
|
12567
12586
|
};
|
|
12568
12587
|
|
|
12569
|
-
const CSS$
|
|
12588
|
+
const CSS$E = {
|
|
12570
12589
|
containerLink: "container--link",
|
|
12571
12590
|
containerSmall: "container--s",
|
|
12572
12591
|
containerMedium: "container--m",
|
|
@@ -12655,13 +12674,13 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12655
12674
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
12656
12675
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
|
12657
12676
|
container: true,
|
|
12658
|
-
[CSS$
|
|
12659
|
-
[CSS$
|
|
12660
|
-
[CSS$
|
|
12661
|
-
[CSS$
|
|
12662
|
-
[CSS$
|
|
12663
|
-
[CSS$
|
|
12664
|
-
[CSS$
|
|
12677
|
+
[CSS$E.containerLink]: !!this.href,
|
|
12678
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
12679
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
12680
|
+
[CSS$E.containerLarge]: scale === "l",
|
|
12681
|
+
[CSS$E.containerMulti]: this.selectionMode === "multi",
|
|
12682
|
+
[CSS$E.containerSingle]: this.selectionMode === "single",
|
|
12683
|
+
[CSS$E.containerNone]: this.selectionMode === "none"
|
|
12665
12684
|
} }, this.selectionMode !== "none" ? (h("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
12666
12685
|
}
|
|
12667
12686
|
//--------------------------------------------------------------------------
|
|
@@ -12753,7 +12772,7 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12753
12772
|
static get style() { return dropdownItemCss; }
|
|
12754
12773
|
};
|
|
12755
12774
|
|
|
12756
|
-
const CSS$
|
|
12775
|
+
const CSS$D = {
|
|
12757
12776
|
button: "button"
|
|
12758
12777
|
};
|
|
12759
12778
|
const ICONS$a = {
|
|
@@ -12828,7 +12847,7 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12828
12847
|
render() {
|
|
12829
12848
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
12830
12849
|
const title = !textEnabled ? label || text || null : null;
|
|
12831
|
-
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
12850
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$D.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
12832
12851
|
this.buttonEl = buttonEl;
|
|
12833
12852
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
12834
12853
|
}
|
|
@@ -12836,7 +12855,7 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12836
12855
|
static get style() { return fabCss; }
|
|
12837
12856
|
};
|
|
12838
12857
|
|
|
12839
|
-
const CSS$
|
|
12858
|
+
const CSS$C = {
|
|
12840
12859
|
container: "container",
|
|
12841
12860
|
searchIcon: "search-icon"
|
|
12842
12861
|
};
|
|
@@ -12957,7 +12976,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12957
12976
|
// --------------------------------------------------------------------------
|
|
12958
12977
|
render() {
|
|
12959
12978
|
const { disabled, scale } = this;
|
|
12960
|
-
return (h(Fragment, null, h("div", { class: CSS$
|
|
12979
|
+
return (h(Fragment, null, h("div", { class: CSS$C.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$9.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
12961
12980
|
this.textInput = el;
|
|
12962
12981
|
}, scale: scale, type: "text", value: this.value })))));
|
|
12963
12982
|
}
|
|
@@ -12969,7 +12988,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12969
12988
|
static get style() { return filterCss; }
|
|
12970
12989
|
};
|
|
12971
12990
|
|
|
12972
|
-
const CSS$
|
|
12991
|
+
const CSS$B = {
|
|
12973
12992
|
frame: "frame",
|
|
12974
12993
|
frameAdvancing: "frame--advancing",
|
|
12975
12994
|
frameRetreating: "frame--retreating"
|
|
@@ -13070,9 +13089,9 @@ const Flow = class extends HTMLElement$1 {
|
|
|
13070
13089
|
render() {
|
|
13071
13090
|
const { flowDirection } = this;
|
|
13072
13091
|
const frameDirectionClasses = {
|
|
13073
|
-
[CSS$
|
|
13074
|
-
[CSS$
|
|
13075
|
-
[CSS$
|
|
13092
|
+
[CSS$B.frame]: true,
|
|
13093
|
+
[CSS$B.frameAdvancing]: flowDirection === "advancing",
|
|
13094
|
+
[CSS$B.frameRetreating]: flowDirection === "retreating"
|
|
13076
13095
|
};
|
|
13077
13096
|
return (h("div", { class: frameDirectionClasses }, h("slot", null)));
|
|
13078
13097
|
}
|
|
@@ -13080,7 +13099,7 @@ const Flow = class extends HTMLElement$1 {
|
|
|
13080
13099
|
static get style() { return flowCss; }
|
|
13081
13100
|
};
|
|
13082
13101
|
|
|
13083
|
-
const CSS$
|
|
13102
|
+
const CSS$A = {
|
|
13084
13103
|
backButton: "back-button"
|
|
13085
13104
|
};
|
|
13086
13105
|
const ICONS$8 = {
|
|
@@ -13100,7 +13119,7 @@ const SLOTS$j = {
|
|
|
13100
13119
|
footerActions: "footer-actions"
|
|
13101
13120
|
};
|
|
13102
13121
|
|
|
13103
|
-
const CSS$
|
|
13122
|
+
const CSS$z = {
|
|
13104
13123
|
backButton: "back-button",
|
|
13105
13124
|
container: "container",
|
|
13106
13125
|
header: "header",
|
|
@@ -13237,7 +13256,7 @@ const FlowItem = class extends HTMLElement$1 {
|
|
|
13237
13256
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
13238
13257
|
const label = intlBack || TEXT$g.back;
|
|
13239
13258
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
13240
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$
|
|
13259
|
+
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
13241
13260
|
}
|
|
13242
13261
|
render() {
|
|
13243
13262
|
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
@@ -13465,7 +13484,7 @@ const Graph = class extends HTMLElement$1 {
|
|
|
13465
13484
|
static get style() { return graphCss; }
|
|
13466
13485
|
};
|
|
13467
13486
|
|
|
13468
|
-
const CSS$
|
|
13487
|
+
const CSS$y = {
|
|
13469
13488
|
handle: "handle",
|
|
13470
13489
|
handleActivated: "handle--activated"
|
|
13471
13490
|
};
|
|
@@ -13538,7 +13557,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13538
13557
|
render() {
|
|
13539
13558
|
return (
|
|
13540
13559
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
13541
|
-
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
13560
|
+
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
13542
13561
|
this.handleButton = el;
|
|
13543
13562
|
}, role: "button", tabindex: "0", title: this.textTitle }, h("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
13544
13563
|
}
|
|
@@ -13546,7 +13565,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13546
13565
|
static get style() { return handleCss; }
|
|
13547
13566
|
};
|
|
13548
13567
|
|
|
13549
|
-
const CSS$
|
|
13568
|
+
const CSS$x = {
|
|
13550
13569
|
icon: "icon",
|
|
13551
13570
|
flipRtl: "flip-rtl"
|
|
13552
13571
|
};
|
|
@@ -13666,7 +13685,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13666
13685
|
const semantic = !!textLabel;
|
|
13667
13686
|
const paths = [].concat(pathData || "");
|
|
13668
13687
|
return (h(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, h("svg", { class: {
|
|
13669
|
-
[CSS$
|
|
13688
|
+
[CSS$x.flipRtl]: dir === "rtl" && flipRtl,
|
|
13670
13689
|
svg: true
|
|
13671
13690
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (h("path", { d: path })) : (h("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
13672
13691
|
}
|
|
@@ -13707,7 +13726,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13707
13726
|
static get style() { return iconCss; }
|
|
13708
13727
|
};
|
|
13709
13728
|
|
|
13710
|
-
const CSS$
|
|
13729
|
+
const CSS$w = {
|
|
13711
13730
|
wrapper: "wrapper",
|
|
13712
13731
|
confirmChangesButton: "confirm-changes-button",
|
|
13713
13732
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -13870,12 +13889,12 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13870
13889
|
updateHostInteraction(this);
|
|
13871
13890
|
}
|
|
13872
13891
|
render() {
|
|
13873
|
-
return (h("div", { class: CSS$
|
|
13892
|
+
return (h("div", { class: CSS$w.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, h("div", { class: CSS$w.inputWrapper }, h("slot", null)), h("div", { class: CSS$w.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
13874
13893
|
opacity: this.editingEnabled ? "0" : "1",
|
|
13875
13894
|
width: this.editingEnabled ? "0" : "inherit"
|
|
13876
13895
|
}, type: "button" }), this.shouldShowControls && [
|
|
13877
|
-
h("div", { class: CSS$
|
|
13878
|
-
h("calcite-button", { appearance: "solid", class: CSS$
|
|
13896
|
+
h("div", { class: CSS$w.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
13897
|
+
h("calcite-button", { appearance: "solid", class: CSS$w.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
13879
13898
|
])));
|
|
13880
13899
|
}
|
|
13881
13900
|
//--------------------------------------------------------------------------
|
|
@@ -13938,7 +13957,7 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13938
13957
|
static get style() { return inlineEditableCss; }
|
|
13939
13958
|
};
|
|
13940
13959
|
|
|
13941
|
-
const CSS$
|
|
13960
|
+
const CSS$v = {
|
|
13942
13961
|
loader: "loader",
|
|
13943
13962
|
clearButton: "clear-button",
|
|
13944
13963
|
editingEnabled: "editing-enabled",
|
|
@@ -14516,34 +14535,34 @@ const Input = class extends HTMLElement$1 {
|
|
|
14516
14535
|
// --------------------------------------------------------------------------
|
|
14517
14536
|
render() {
|
|
14518
14537
|
const dir = getElementDir(this.el);
|
|
14519
|
-
const loader = (h("div", { class: CSS$
|
|
14520
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$
|
|
14521
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
14538
|
+
const loader = (h("div", { class: CSS$v.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
14539
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
14540
|
+
const iconEl = (h("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
14522
14541
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
14523
14542
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
14524
|
-
[CSS$
|
|
14525
|
-
[CSS$
|
|
14543
|
+
[CSS$v.numberButtonItem]: true,
|
|
14544
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14526
14545
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
14527
14546
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
14528
|
-
[CSS$
|
|
14529
|
-
[CSS$
|
|
14547
|
+
[CSS$v.numberButtonItem]: true,
|
|
14548
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14530
14549
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
14531
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
14532
|
-
const prefixText = h("div", { class: CSS$
|
|
14533
|
-
const suffixText = h("div", { class: CSS$
|
|
14550
|
+
const numberButtonsVertical = (h("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
14551
|
+
const prefixText = h("div", { class: CSS$v.prefix }, this.prefixText);
|
|
14552
|
+
const suffixText = h("div", { class: CSS$v.suffix }, this.suffixText);
|
|
14534
14553
|
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
14535
14554
|
const childEl = this.type !== "number"
|
|
14536
14555
|
? [
|
|
14537
14556
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
14538
|
-
[CSS$
|
|
14539
|
-
[CSS$
|
|
14557
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
14558
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
14540
14559
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
14541
|
-
this.isTextarea ? (h("div", { class: CSS$
|
|
14560
|
+
this.isTextarea ? (h("div", { class: CSS$v.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
14542
14561
|
]
|
|
14543
14562
|
: null;
|
|
14544
|
-
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
14563
|
+
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14545
14564
|
? numberButtonsHorizontalDown
|
|
14546
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
14565
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$v.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$v.actionWrapper }, h("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
14547
14566
|
? numberButtonsVertical
|
|
14548
14567
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14549
14568
|
? numberButtonsHorizontalUp
|
|
@@ -14561,7 +14580,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
14561
14580
|
static get style() { return inputCss; }
|
|
14562
14581
|
};
|
|
14563
14582
|
|
|
14564
|
-
const CSS$
|
|
14583
|
+
const CSS$u = {
|
|
14565
14584
|
menu: "menu-container",
|
|
14566
14585
|
menuActive: "menu-container--active"
|
|
14567
14586
|
};
|
|
@@ -14899,8 +14918,8 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14899
14918
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
14900
14919
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
14901
14920
|
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
14902
|
-
[CSS$
|
|
14903
|
-
[CSS$
|
|
14921
|
+
[CSS$u.menu]: true,
|
|
14922
|
+
[CSS$u.menuActive]: this.open
|
|
14904
14923
|
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
14905
14924
|
["calendar-picker-wrapper"]: true,
|
|
14906
14925
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -15159,7 +15178,7 @@ const InputMessage = class extends HTMLElement$1 {
|
|
|
15159
15178
|
static get style() { return inputMessageCss; }
|
|
15160
15179
|
};
|
|
15161
15180
|
|
|
15162
|
-
const CSS$
|
|
15181
|
+
const CSS$t = {
|
|
15163
15182
|
loader: "loader",
|
|
15164
15183
|
clearButton: "clear-button",
|
|
15165
15184
|
editingEnabled: "editing-enabled",
|
|
@@ -15645,25 +15664,25 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15645
15664
|
// --------------------------------------------------------------------------
|
|
15646
15665
|
render() {
|
|
15647
15666
|
const dir = getElementDir(this.el);
|
|
15648
|
-
const loader = (h("div", { class: CSS$
|
|
15649
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$
|
|
15650
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
15667
|
+
const loader = (h("div", { class: CSS$t.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
15668
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
15669
|
+
const iconEl = (h("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
15651
15670
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
15652
15671
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
15653
|
-
[CSS$
|
|
15654
|
-
[CSS$
|
|
15672
|
+
[CSS$t.numberButtonItem]: true,
|
|
15673
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15655
15674
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
15656
15675
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
15657
|
-
[CSS$
|
|
15658
|
-
[CSS$
|
|
15676
|
+
[CSS$t.numberButtonItem]: true,
|
|
15677
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15659
15678
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
15660
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
15661
|
-
const prefixText = h("div", { class: CSS$
|
|
15662
|
-
const suffixText = h("div", { class: CSS$
|
|
15679
|
+
const numberButtonsVertical = (h("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
15680
|
+
const prefixText = h("div", { class: CSS$t.prefix }, this.prefixText);
|
|
15681
|
+
const suffixText = h("div", { class: CSS$t.suffix }, this.suffixText);
|
|
15663
15682
|
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
15664
|
-
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
15683
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15665
15684
|
? numberButtonsHorizontalDown
|
|
15666
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
15685
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$t.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15667
15686
|
? numberButtonsHorizontalUp
|
|
15668
15687
|
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
15669
15688
|
}
|
|
@@ -15678,7 +15697,7 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15678
15697
|
static get style() { return inputNumberCss; }
|
|
15679
15698
|
};
|
|
15680
15699
|
|
|
15681
|
-
const CSS$
|
|
15700
|
+
const CSS$s = {
|
|
15682
15701
|
loader: "loader",
|
|
15683
15702
|
clearButton: "clear-button",
|
|
15684
15703
|
editingEnabled: "editing-enabled",
|
|
@@ -15985,16 +16004,16 @@ const InputText = class extends HTMLElement$1 {
|
|
|
15985
16004
|
// --------------------------------------------------------------------------
|
|
15986
16005
|
render() {
|
|
15987
16006
|
const dir = getElementDir(this.el);
|
|
15988
|
-
const loader = (h("div", { class: CSS$
|
|
15989
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$
|
|
15990
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
15991
|
-
const prefixText = h("div", { class: CSS$
|
|
15992
|
-
const suffixText = h("div", { class: CSS$
|
|
16007
|
+
const loader = (h("div", { class: CSS$s.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
16008
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
16009
|
+
const iconEl = (h("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
16010
|
+
const prefixText = h("div", { class: CSS$s.prefix }, this.prefixText);
|
|
16011
|
+
const suffixText = h("div", { class: CSS$s.suffix }, this.suffixText);
|
|
15993
16012
|
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
15994
|
-
[CSS$
|
|
15995
|
-
[CSS$
|
|
16013
|
+
[CSS$s.editingEnabled]: this.editingEnabled,
|
|
16014
|
+
[CSS$s.inlineChild]: !!this.inlineEditableEl
|
|
15996
16015
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
15997
|
-
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
16016
|
+
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, h("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$s.actionWrapper }, h("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, h(HiddenFormInputSlot, { component: this }))));
|
|
15998
16017
|
}
|
|
15999
16018
|
get el() { return this; }
|
|
16000
16019
|
static get watchers() { return {
|
|
@@ -16454,7 +16473,7 @@ const InputTimePicker = class extends HTMLElement$1 {
|
|
|
16454
16473
|
static get style() { return inputTimePickerCss; }
|
|
16455
16474
|
};
|
|
16456
16475
|
|
|
16457
|
-
const CSS$
|
|
16476
|
+
const CSS$r = {
|
|
16458
16477
|
container: "container"
|
|
16459
16478
|
};
|
|
16460
16479
|
|
|
@@ -16518,7 +16537,7 @@ const Label = class extends HTMLElement$1 {
|
|
|
16518
16537
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
16519
16538
|
}
|
|
16520
16539
|
render() {
|
|
16521
|
-
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS$
|
|
16540
|
+
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS$r.container }, h("slot", null))));
|
|
16522
16541
|
}
|
|
16523
16542
|
get el() { return this; }
|
|
16524
16543
|
static get style() { return labelCss; }
|
|
@@ -16607,7 +16626,7 @@ const Link = class extends HTMLElement$1 {
|
|
|
16607
16626
|
static get style() { return linkCss; }
|
|
16608
16627
|
};
|
|
16609
16628
|
|
|
16610
|
-
const CSS$
|
|
16629
|
+
const CSS$q = {
|
|
16611
16630
|
container: "container"
|
|
16612
16631
|
};
|
|
16613
16632
|
|
|
@@ -16652,13 +16671,13 @@ const List$1 = class extends HTMLElement$1 {
|
|
|
16652
16671
|
//
|
|
16653
16672
|
// --------------------------------------------------------------------------
|
|
16654
16673
|
render() {
|
|
16655
|
-
return (h(Host, { role: "list" }, h("div", { class: CSS$
|
|
16674
|
+
return (h(Host, { role: "list" }, h("div", { class: CSS$q.container }, h("slot", null))));
|
|
16656
16675
|
}
|
|
16657
16676
|
get el() { return this; }
|
|
16658
16677
|
static get style() { return listCss; }
|
|
16659
16678
|
};
|
|
16660
16679
|
|
|
16661
|
-
const CSS$
|
|
16680
|
+
const CSS$p = {
|
|
16662
16681
|
container: "container",
|
|
16663
16682
|
contentContainer: "content-container",
|
|
16664
16683
|
nestedContainer: "nested-container",
|
|
@@ -16679,7 +16698,7 @@ const SLOTS$e = {
|
|
|
16679
16698
|
actionsEnd: "actions-end"
|
|
16680
16699
|
};
|
|
16681
16700
|
|
|
16682
|
-
const listItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center
|
|
16701
|
+
const listItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;-ms-flex-item-align:center;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
16683
16702
|
|
|
16684
16703
|
const ListItem = class extends HTMLElement$1 {
|
|
16685
16704
|
constructor() {
|
|
@@ -16736,42 +16755,42 @@ const ListItem = class extends HTMLElement$1 {
|
|
|
16736
16755
|
// --------------------------------------------------------------------------
|
|
16737
16756
|
renderActionsStart() {
|
|
16738
16757
|
const { el } = this;
|
|
16739
|
-
return getSlotted(el, SLOTS$e.actionsStart) ? (h("div", { class: CSS$
|
|
16758
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (h("div", { class: CSS$p.actionsStart }, h("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
16740
16759
|
}
|
|
16741
16760
|
renderActionsEnd() {
|
|
16742
16761
|
const { el } = this;
|
|
16743
|
-
return getSlotted(el, SLOTS$e.actionsEnd) ? (h("div", { class: CSS$
|
|
16762
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (h("div", { class: CSS$p.actionsEnd }, h("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
16744
16763
|
}
|
|
16745
16764
|
renderContentStart() {
|
|
16746
16765
|
const { el } = this;
|
|
16747
|
-
return getSlotted(el, SLOTS$e.contentStart) ? (h("div", { class: CSS$
|
|
16766
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (h("div", { class: CSS$p.contentStart }, h("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
16748
16767
|
}
|
|
16749
16768
|
renderContentEnd() {
|
|
16750
16769
|
const { el } = this;
|
|
16751
|
-
return getSlotted(el, SLOTS$e.contentEnd) ? (h("div", { class: CSS$
|
|
16770
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (h("div", { class: CSS$p.contentEnd }, h("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
16752
16771
|
}
|
|
16753
16772
|
renderContent() {
|
|
16754
16773
|
const { label, description } = this;
|
|
16755
|
-
return !!label || !!description ? (h("div", { class: CSS$
|
|
16774
|
+
return !!label || !!description ? (h("div", { class: CSS$p.content }, label ? h("div", { class: CSS$p.label }, label) : null, description ? h("div", { class: CSS$p.description }, description) : null)) : null;
|
|
16756
16775
|
}
|
|
16757
16776
|
renderContentContainer() {
|
|
16758
16777
|
const { description, disabled, label, nonInteractive } = this;
|
|
16759
16778
|
const hasCenterContent = !!label || !!description;
|
|
16760
16779
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
16761
16780
|
return !nonInteractive ? (h("button", { class: {
|
|
16762
|
-
[CSS$
|
|
16763
|
-
[CSS$
|
|
16764
|
-
[CSS$
|
|
16765
|
-
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: { [CSS$
|
|
16781
|
+
[CSS$p.contentContainer]: true,
|
|
16782
|
+
[CSS$p.contentContainerButton]: true,
|
|
16783
|
+
[CSS$p.hasCenterContent]: hasCenterContent
|
|
16784
|
+
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: { [CSS$p.contentContainer]: true, [CSS$p.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
|
|
16766
16785
|
}
|
|
16767
16786
|
render() {
|
|
16768
|
-
return (h(Host, { role: "listitem" }, h("div", { class: CSS$
|
|
16787
|
+
return (h(Host, { role: "listitem" }, h("div", { class: CSS$p.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: CSS$p.nestedContainer }, h("slot", null))));
|
|
16769
16788
|
}
|
|
16770
16789
|
get el() { return this; }
|
|
16771
16790
|
static get style() { return listItemCss; }
|
|
16772
16791
|
};
|
|
16773
16792
|
|
|
16774
|
-
const CSS$
|
|
16793
|
+
const CSS$o = {
|
|
16775
16794
|
heading: "heading",
|
|
16776
16795
|
container: "container"
|
|
16777
16796
|
};
|
|
@@ -16796,7 +16815,7 @@ const ListItemGroup = class extends HTMLElement$1 {
|
|
|
16796
16815
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
16797
16816
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
16798
16817
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
16799
|
-
return (h(Host, null, heading ? (h(Heading, { class: CSS$
|
|
16818
|
+
return (h(Host, null, heading ? (h(Heading, { class: CSS$o.heading, level: level }, heading)) : null, h("div", { class: CSS$o.container, role: "group" }, h("slot", null))));
|
|
16800
16819
|
}
|
|
16801
16820
|
get el() { return this; }
|
|
16802
16821
|
static get style() { return listItemGroupCss; }
|
|
@@ -16989,7 +17008,7 @@ function isFocusable($elem) {
|
|
|
16989
17008
|
|| $elem instanceof HTMLIFrameElement);
|
|
16990
17009
|
}
|
|
16991
17010
|
|
|
16992
|
-
const CSS$
|
|
17011
|
+
const CSS$n = {
|
|
16993
17012
|
modal: "modal",
|
|
16994
17013
|
modalOpen: "modal--open",
|
|
16995
17014
|
title: "title",
|
|
@@ -17164,29 +17183,29 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17164
17183
|
disconnectOpenCloseComponent(this);
|
|
17165
17184
|
}
|
|
17166
17185
|
render() {
|
|
17167
|
-
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$
|
|
17168
|
-
[CSS$
|
|
17169
|
-
[CSS$
|
|
17170
|
-
}, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$
|
|
17186
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: {
|
|
17187
|
+
[CSS$n.modal]: true,
|
|
17188
|
+
[CSS$n.modalOpen]: this.isOpen
|
|
17189
|
+
}, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$n.header }, this.renderCloseButton(), h("header", { class: CSS$n.title }, h("slot", { name: CSS$n.header }))), h("div", { class: {
|
|
17171
17190
|
content: true,
|
|
17172
17191
|
"content--spaced": !this.noPadding,
|
|
17173
17192
|
"content--no-footer": !this.hasFooter
|
|
17174
17193
|
}, ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS$d.content })), this.renderFooter(), h("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
17175
17194
|
}
|
|
17176
17195
|
renderFooter() {
|
|
17177
|
-
return this.hasFooter ? (h("div", { class: CSS$
|
|
17196
|
+
return this.hasFooter ? (h("div", { class: CSS$n.footer, key: "footer" }, h("span", { class: CSS$n.back }, h("slot", { name: SLOTS$d.back })), h("span", { class: CSS$n.secondary }, h("slot", { name: SLOTS$d.secondary })), h("span", { class: CSS$n.primary }, h("slot", { name: SLOTS$d.primary })))) : null;
|
|
17178
17197
|
}
|
|
17179
17198
|
renderCloseButton() {
|
|
17180
|
-
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$
|
|
17199
|
+
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$n.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
17181
17200
|
}
|
|
17182
17201
|
renderStyle() {
|
|
17183
17202
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
17184
17203
|
return hasCustomWidth ? (h("style", null, `
|
|
17185
|
-
.${CSS$
|
|
17204
|
+
.${CSS$n.modal} {
|
|
17186
17205
|
max-width: ${this.width}px !important;
|
|
17187
17206
|
}
|
|
17188
17207
|
@media screen and (max-width: ${this.width}px) {
|
|
17189
|
-
.${CSS$
|
|
17208
|
+
.${CSS$n.modal} {
|
|
17190
17209
|
height: 100% !important;
|
|
17191
17210
|
max-height: 100% !important;
|
|
17192
17211
|
width: 100% !important;
|
|
@@ -17259,19 +17278,19 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17259
17278
|
}
|
|
17260
17279
|
}
|
|
17261
17280
|
onBeforeOpen() {
|
|
17262
|
-
this.transitionEl.classList.add(CSS$
|
|
17281
|
+
this.transitionEl.classList.add(CSS$n.openingActive);
|
|
17263
17282
|
this.calciteModalBeforeOpen.emit();
|
|
17264
17283
|
}
|
|
17265
17284
|
onOpen() {
|
|
17266
|
-
this.transitionEl.classList.remove(CSS$
|
|
17285
|
+
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
17267
17286
|
this.calciteModalOpen.emit();
|
|
17268
17287
|
}
|
|
17269
17288
|
onBeforeClose() {
|
|
17270
|
-
this.transitionEl.classList.add(CSS$
|
|
17289
|
+
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
17271
17290
|
this.calciteModalBeforeClose.emit();
|
|
17272
17291
|
}
|
|
17273
17292
|
onClose() {
|
|
17274
|
-
this.transitionEl.classList.remove(CSS$
|
|
17293
|
+
this.transitionEl.classList.remove(CSS$n.closingIdle, CSS$n.closingActive);
|
|
17275
17294
|
this.calciteModalClose.emit();
|
|
17276
17295
|
}
|
|
17277
17296
|
activeHandler(value) {
|
|
@@ -17281,11 +17300,11 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17281
17300
|
var _a, _b;
|
|
17282
17301
|
this.active = value;
|
|
17283
17302
|
if (value) {
|
|
17284
|
-
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$
|
|
17303
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$n.openingIdle);
|
|
17285
17304
|
this.openModal();
|
|
17286
17305
|
}
|
|
17287
17306
|
else {
|
|
17288
|
-
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$
|
|
17307
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$n.closingIdle);
|
|
17289
17308
|
this.close();
|
|
17290
17309
|
}
|
|
17291
17310
|
}
|
|
@@ -17299,10 +17318,10 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17299
17318
|
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
17300
17319
|
this.titleId = ensureId(titleEl);
|
|
17301
17320
|
this.contentId = ensureId(contentEl);
|
|
17302
|
-
document.documentElement.classList.add(CSS$
|
|
17321
|
+
document.documentElement.classList.add(CSS$n.overflowHidden);
|
|
17303
17322
|
}
|
|
17304
17323
|
removeOverflowHiddenClass() {
|
|
17305
|
-
document.documentElement.classList.remove(CSS$
|
|
17324
|
+
document.documentElement.classList.remove(CSS$n.overflowHidden);
|
|
17306
17325
|
}
|
|
17307
17326
|
get el() { return this; }
|
|
17308
17327
|
static get watchers() { return {
|
|
@@ -17321,7 +17340,7 @@ const SLOTS$c = {
|
|
|
17321
17340
|
link: "link",
|
|
17322
17341
|
actionsEnd: "actions-end"
|
|
17323
17342
|
};
|
|
17324
|
-
const CSS$
|
|
17343
|
+
const CSS$m = {
|
|
17325
17344
|
actionsEnd: "actions-end",
|
|
17326
17345
|
close: "notice-close",
|
|
17327
17346
|
container: "container",
|
|
@@ -17423,9 +17442,9 @@ const Notice = class extends HTMLElement$1 {
|
|
|
17423
17442
|
}
|
|
17424
17443
|
render() {
|
|
17425
17444
|
const { el } = this;
|
|
17426
|
-
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS$
|
|
17445
|
+
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
17427
17446
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
17428
|
-
return (h("div", { class: CSS$
|
|
17447
|
+
return (h("div", { class: CSS$m.container }, this.requestedIcon ? (h("div", { class: CSS$m.icon }, h("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: CSS$m.content }, h("slot", { name: SLOTS$c.title }), h("slot", { name: SLOTS$c.message }), h("slot", { name: SLOTS$c.link })), hasActionEnd ? (h("div", { class: CSS$m.actionsEnd }, h("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
17429
17448
|
}
|
|
17430
17449
|
//--------------------------------------------------------------------------
|
|
17431
17450
|
//
|
|
@@ -17634,7 +17653,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
17634
17653
|
}
|
|
17635
17654
|
}
|
|
17636
17655
|
|
|
17637
|
-
const CSS$
|
|
17656
|
+
const CSS$l = {
|
|
17638
17657
|
page: "page",
|
|
17639
17658
|
selected: "is-selected",
|
|
17640
17659
|
previous: "previous",
|
|
@@ -17791,8 +17810,8 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17791
17810
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
17792
17811
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
17793
17812
|
return (h("button", { class: {
|
|
17794
|
-
[CSS$
|
|
17795
|
-
[CSS$
|
|
17813
|
+
[CSS$l.page]: true,
|
|
17814
|
+
[CSS$l.selected]: start === this.start
|
|
17796
17815
|
}, onClick: () => {
|
|
17797
17816
|
this.start = start;
|
|
17798
17817
|
this.emitUpdate();
|
|
@@ -17800,12 +17819,12 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17800
17819
|
}
|
|
17801
17820
|
renderLeftEllipsis() {
|
|
17802
17821
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
17803
|
-
return h("span", { class: `${CSS$
|
|
17822
|
+
return h("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisStart}` }, "\u2026");
|
|
17804
17823
|
}
|
|
17805
17824
|
}
|
|
17806
17825
|
renderRightEllipsis() {
|
|
17807
17826
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
17808
|
-
return h("span", { class: `${CSS$
|
|
17827
|
+
return h("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisEnd}` }, "\u2026");
|
|
17809
17828
|
}
|
|
17810
17829
|
}
|
|
17811
17830
|
render() {
|
|
@@ -17813,11 +17832,11 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17813
17832
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
17814
17833
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
17815
17834
|
return (h(Fragment, null, h("button", { "aria-label": this.textLabelPrevious, class: {
|
|
17816
|
-
[CSS$
|
|
17817
|
-
[CSS$
|
|
17835
|
+
[CSS$l.previous]: true,
|
|
17836
|
+
[CSS$l.disabled]: prevDisabled
|
|
17818
17837
|
}, disabled: prevDisabled, onClick: this.previousClicked }, h("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), h("button", { "aria-label": this.textLabelNext, class: {
|
|
17819
|
-
[CSS$
|
|
17820
|
-
[CSS$
|
|
17838
|
+
[CSS$l.next]: true,
|
|
17839
|
+
[CSS$l.disabled]: nextDisabled
|
|
17821
17840
|
}, disabled: nextDisabled, onClick: this.nextClicked }, h("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
17822
17841
|
}
|
|
17823
17842
|
get el() { return this; }
|
|
@@ -18073,23 +18092,23 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18073
18092
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
18074
18093
|
const label = intlBack || TEXT$f.back;
|
|
18075
18094
|
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
18076
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$
|
|
18095
|
+
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$i.headerActionsStart, text: label })) : null;
|
|
18077
18096
|
}
|
|
18078
18097
|
renderHeaderContent() {
|
|
18079
18098
|
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
18080
|
-
const headingNode = heading ? (h(Heading, { class: CSS$
|
|
18081
|
-
const descriptionNode = description || summary ? h("span", { class: CSS$
|
|
18082
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$
|
|
18099
|
+
const headingNode = heading ? (h(Heading, { class: CSS$z.heading, level: headingLevel || HEADING_LEVEL$5 }, heading)) : null;
|
|
18100
|
+
const descriptionNode = description || summary ? h("span", { class: CSS$z.description }, description || summary) : null;
|
|
18101
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$z.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
18083
18102
|
}
|
|
18084
18103
|
/**
|
|
18085
18104
|
* Allows user to override the entire header-content node.
|
|
18086
18105
|
*/
|
|
18087
18106
|
renderHeaderSlottedContent() {
|
|
18088
|
-
return (h("div", { class: CSS$
|
|
18107
|
+
return (h("div", { class: CSS$z.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS$i.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
18089
18108
|
}
|
|
18090
18109
|
renderHeaderStartActions() {
|
|
18091
18110
|
const { hasStartActions } = this;
|
|
18092
|
-
return (h("div", { class: { [CSS$
|
|
18111
|
+
return (h("div", { class: { [CSS$z.headerActionsStart]: true, [CSS$z.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS$i.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
18093
18112
|
}
|
|
18094
18113
|
renderHeaderActionsEnd() {
|
|
18095
18114
|
const { close, hasEndActions, intlClose, closable } = this;
|
|
@@ -18097,7 +18116,7 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18097
18116
|
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
18098
18117
|
const slotNode = (h("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
18099
18118
|
const showContainer = hasEndActions || closableNode;
|
|
18100
|
-
return (h("div", { class: { [CSS$
|
|
18119
|
+
return (h("div", { class: { [CSS$z.headerActionsEnd]: true, [CSS$z.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
18101
18120
|
}
|
|
18102
18121
|
renderMenu() {
|
|
18103
18122
|
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
@@ -18113,26 +18132,26 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18113
18132
|
hasEndActions ||
|
|
18114
18133
|
closable ||
|
|
18115
18134
|
hasMenuItems;
|
|
18116
|
-
return (h("header", { class: CSS$
|
|
18135
|
+
return (h("header", { class: CSS$z.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
18117
18136
|
}
|
|
18118
18137
|
renderFooterNode() {
|
|
18119
18138
|
const { hasFooterContent, hasFooterActions } = this;
|
|
18120
18139
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
18121
|
-
return (h("footer", { class: CSS$
|
|
18140
|
+
return (h("footer", { class: CSS$z.footer, hidden: !showFooter, key: "footer" }, h("slot", { key: "footer-slot", name: SLOTS$i.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS$i.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
18122
18141
|
}
|
|
18123
18142
|
renderContent() {
|
|
18124
18143
|
const { hasFab } = this;
|
|
18125
18144
|
const defaultSlotNode = h("slot", { key: "default-slot" });
|
|
18126
18145
|
const contentWrapperKey = "content-wrapper";
|
|
18127
|
-
const containerNode = hasFab ? (h("section", { class: CSS$
|
|
18128
|
-
return (h("div", { class: { [CSS$
|
|
18146
|
+
const containerNode = hasFab ? (h("section", { class: CSS$z.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
18147
|
+
return (h("div", { class: { [CSS$z.contentWrapper]: true, [CSS$z.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
18129
18148
|
}
|
|
18130
18149
|
renderFab() {
|
|
18131
|
-
return (h("div", { class: CSS$
|
|
18150
|
+
return (h("div", { class: CSS$z.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS$i.fab, onSlotchange: this.handleFabSlotChange })));
|
|
18132
18151
|
}
|
|
18133
18152
|
render() {
|
|
18134
18153
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
18135
|
-
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
18154
|
+
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$z.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
18136
18155
|
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
18137
18156
|
}
|
|
18138
18157
|
get el() { return this; }
|
|
@@ -18145,7 +18164,7 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18145
18164
|
static get style() { return panelCss; }
|
|
18146
18165
|
};
|
|
18147
18166
|
|
|
18148
|
-
const CSS$
|
|
18167
|
+
const CSS$k = {
|
|
18149
18168
|
sticky: "sticky-pos"
|
|
18150
18169
|
};
|
|
18151
18170
|
var ICON_TYPES$1;
|
|
@@ -18158,7 +18177,7 @@ const SLOTS$b = {
|
|
|
18158
18177
|
menuActions: "menu-actions"
|
|
18159
18178
|
};
|
|
18160
18179
|
|
|
18161
|
-
const CSS$
|
|
18180
|
+
const CSS$j = {
|
|
18162
18181
|
heading: "heading",
|
|
18163
18182
|
container: "container",
|
|
18164
18183
|
indented: "container--indented"
|
|
@@ -18464,7 +18483,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
18464
18483
|
return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
18465
18484
|
h("section", null,
|
|
18466
18485
|
dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
18467
|
-
h("header", { class: { [CSS$
|
|
18486
|
+
h("header", { class: { [CSS$k.sticky]: true } },
|
|
18468
18487
|
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
18469
18488
|
h("slot", { name: SLOTS$b.menuActions })),
|
|
18470
18489
|
loading ? h("calcite-scrim", { loading: loading }) : null,
|
|
@@ -18632,20 +18651,20 @@ const PickListGroup = class extends HTMLElement$1 {
|
|
|
18632
18651
|
const { el, groupTitle, headingLevel } = this;
|
|
18633
18652
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
18634
18653
|
const sectionClasses = {
|
|
18635
|
-
[CSS$
|
|
18636
|
-
[CSS$
|
|
18654
|
+
[CSS$j.container]: true,
|
|
18655
|
+
[CSS$j.indented]: hasParentItem
|
|
18637
18656
|
};
|
|
18638
18657
|
const title = groupTitle;
|
|
18639
18658
|
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
18640
18659
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
18641
18660
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$3;
|
|
18642
|
-
return (h(Fragment, null, title ? (h(Heading, { class: CSS$
|
|
18661
|
+
return (h(Fragment, null, title ? (h(Heading, { class: CSS$j.heading, level: level }, title)) : null, h("slot", { name: SLOTS$a.parentItem }), h("section", { class: sectionClasses }, h("slot", null))));
|
|
18643
18662
|
}
|
|
18644
18663
|
get el() { return this; }
|
|
18645
18664
|
static get style() { return pickListGroupCss; }
|
|
18646
18665
|
};
|
|
18647
18666
|
|
|
18648
|
-
const CSS$
|
|
18667
|
+
const CSS$i = {
|
|
18649
18668
|
actions: "actions",
|
|
18650
18669
|
actionsEnd: "actions--end",
|
|
18651
18670
|
actionsStart: "actions--start",
|
|
@@ -18805,26 +18824,26 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
18805
18824
|
return null;
|
|
18806
18825
|
}
|
|
18807
18826
|
return (h("span", { class: {
|
|
18808
|
-
[CSS$
|
|
18809
|
-
[CSS$
|
|
18827
|
+
[CSS$i.icon]: true,
|
|
18828
|
+
[CSS$i.iconDot]: icon === ICON_TYPES$1.circle
|
|
18810
18829
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? h("calcite-icon", { icon: ICONS$4.checked, scale: "s" }) : null));
|
|
18811
18830
|
}
|
|
18812
18831
|
renderRemoveAction() {
|
|
18813
|
-
return this.removable ? (h("calcite-action", { class: CSS$
|
|
18832
|
+
return this.removable ? (h("calcite-action", { class: CSS$i.remove, icon: ICONS$4.remove, onCalciteActionClick: this.removeClickHandler, slot: SLOTS$9.actionsEnd, text: this.intlRemove })) : null;
|
|
18814
18833
|
}
|
|
18815
18834
|
renderActionsStart() {
|
|
18816
18835
|
const { el } = this;
|
|
18817
18836
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
18818
|
-
return hasActionsStart ? (h("div", { class: { [CSS$
|
|
18837
|
+
return hasActionsStart ? (h("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsStart]: true } }, h("slot", { name: SLOTS$9.actionsStart }))) : null;
|
|
18819
18838
|
}
|
|
18820
18839
|
renderActionsEnd() {
|
|
18821
18840
|
const { el, removable } = this;
|
|
18822
18841
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
18823
|
-
return hasActionsEnd || removable ? (h("div", { class: { [CSS$
|
|
18842
|
+
return hasActionsEnd || removable ? (h("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsEnd]: true } }, h("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
|
|
18824
18843
|
}
|
|
18825
18844
|
render() {
|
|
18826
18845
|
const { description, label } = this;
|
|
18827
|
-
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$
|
|
18846
|
+
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$i.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$i.textContainer, role: "menuitemcheckbox" }, h("span", { class: CSS$i.title }, label), description ? h("span", { class: CSS$i.description }, description) : null)), this.renderActionsEnd()));
|
|
18828
18847
|
}
|
|
18829
18848
|
get el() { return this; }
|
|
18830
18849
|
static get watchers() { return {
|
|
@@ -18837,7 +18856,7 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
18837
18856
|
static get style() { return pickListItemCss; }
|
|
18838
18857
|
};
|
|
18839
18858
|
|
|
18840
|
-
const CSS$
|
|
18859
|
+
const CSS$h = {
|
|
18841
18860
|
container: "container",
|
|
18842
18861
|
arrow: "arrow",
|
|
18843
18862
|
imageContainer: "image-container",
|
|
@@ -19207,25 +19226,25 @@ const Popover = class extends HTMLElement$1 {
|
|
|
19207
19226
|
// --------------------------------------------------------------------------
|
|
19208
19227
|
renderCloseButton() {
|
|
19209
19228
|
const { closeButton, intlClose, heading, closable } = this;
|
|
19210
|
-
return closable || closeButton ? (h("div", { class: CSS$
|
|
19229
|
+
return closable || closeButton ? (h("div", { class: CSS$h.closeButtonContainer }, h("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: heading ? "s" : "m", text: intlClose }, h("calcite-icon", { icon: "x", scale: heading ? "s" : "m" })))) : null;
|
|
19211
19230
|
}
|
|
19212
19231
|
renderHeader() {
|
|
19213
19232
|
const { heading, headingLevel } = this;
|
|
19214
|
-
const headingNode = heading ? (h(Heading, { class: CSS$
|
|
19215
|
-
return headingNode ? (h("div", { class: CSS$
|
|
19233
|
+
const headingNode = heading ? (h(Heading, { class: CSS$h.heading, level: headingLevel || HEADING_LEVEL$2 }, heading)) : null;
|
|
19234
|
+
return headingNode ? (h("div", { class: CSS$h.header }, headingNode, this.renderCloseButton())) : null;
|
|
19216
19235
|
}
|
|
19217
19236
|
render() {
|
|
19218
19237
|
const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
|
|
19219
19238
|
const displayed = effectiveReferenceElement && open;
|
|
19220
19239
|
const hidden = !displayed;
|
|
19221
|
-
const arrowNode = !disablePointer ? h("div", { class: CSS$
|
|
19240
|
+
const arrowNode = !disablePointer ? h("div", { class: CSS$h.arrow, ref: this.storeArrowEl }) : null;
|
|
19222
19241
|
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
|
|
19223
19242
|
[FloatingCSS.animation]: true,
|
|
19224
19243
|
[FloatingCSS.animationActive]: displayed
|
|
19225
19244
|
}, ref: this.setTransitionEl }, arrowNode, h("div", { class: {
|
|
19226
|
-
[CSS$
|
|
19227
|
-
[CSS$
|
|
19228
|
-
} }, this.renderHeader(), h("div", { class: CSS$
|
|
19245
|
+
[CSS$h.hasHeader]: !!heading,
|
|
19246
|
+
[CSS$h.container]: true
|
|
19247
|
+
} }, this.renderHeader(), h("div", { class: CSS$h.content }, h("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
19229
19248
|
}
|
|
19230
19249
|
get el() { return this; }
|
|
19231
19250
|
static get watchers() { return {
|
|
@@ -19334,7 +19353,7 @@ const Progress = class extends HTMLElement$1 {
|
|
|
19334
19353
|
static get style() { return progressCss; }
|
|
19335
19354
|
};
|
|
19336
19355
|
|
|
19337
|
-
const CSS$
|
|
19356
|
+
const CSS$g = {
|
|
19338
19357
|
container: "container"
|
|
19339
19358
|
};
|
|
19340
19359
|
|
|
@@ -19584,7 +19603,7 @@ const RadioButton = class extends HTMLElement$1 {
|
|
|
19584
19603
|
// --------------------------------------------------------------------------
|
|
19585
19604
|
render() {
|
|
19586
19605
|
const tabIndex = this.getTabIndex();
|
|
19587
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
19606
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$g.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: tabIndex }, h("div", { class: "radio" })), h(HiddenFormInputSlot, { component: this })));
|
|
19588
19607
|
}
|
|
19589
19608
|
get el() { return this; }
|
|
19590
19609
|
static get watchers() { return {
|
|
@@ -19894,11 +19913,11 @@ const RadioGroup = class extends HTMLElement$1 {
|
|
|
19894
19913
|
const SLOTS$8 = {
|
|
19895
19914
|
input: "input"
|
|
19896
19915
|
};
|
|
19897
|
-
const CSS$
|
|
19916
|
+
const CSS$f = {
|
|
19898
19917
|
radioGroupItemIcon: "radio-group-item-icon"
|
|
19899
19918
|
};
|
|
19900
19919
|
|
|
19901
|
-
const radioGroupItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
19920
|
+
const radioGroupItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}:host([icon-start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .radio-group-item-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .radio-group-item-icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-end]) .label--scale-l .radio-group-item-icon{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
19902
19921
|
|
|
19903
19922
|
const RadioGroupItem = class extends HTMLElement$1 {
|
|
19904
19923
|
constructor() {
|
|
@@ -19915,7 +19934,11 @@ const RadioGroupItem = class extends HTMLElement$1 {
|
|
|
19915
19934
|
this.checked = false;
|
|
19916
19935
|
/** When true, the icon will be flipped when the element direction is right-to-left ("rtl"). */
|
|
19917
19936
|
this.iconFlipRtl = false;
|
|
19918
|
-
/**
|
|
19937
|
+
/**
|
|
19938
|
+
* Optionally used with icon, select where to position the icon
|
|
19939
|
+
*
|
|
19940
|
+
* @deprecated Use either iconStart or iconEnd but do not combine them with icon & iconPosition.
|
|
19941
|
+
*/
|
|
19919
19942
|
this.iconPosition = "start";
|
|
19920
19943
|
}
|
|
19921
19944
|
handleCheckedChange() {
|
|
@@ -19926,14 +19949,18 @@ const RadioGroupItem = class extends HTMLElement$1 {
|
|
|
19926
19949
|
const scale = getElementProp(this.el, "scale", "m");
|
|
19927
19950
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
19928
19951
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
19929
|
-
const
|
|
19952
|
+
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
19953
|
+
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
19954
|
+
const iconEl = (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, key: "icon", scale: "s" }));
|
|
19955
|
+
const iconAtStart = this.icon && this.iconPosition === "start" && !this.iconStart ? iconEl : null;
|
|
19956
|
+
const iconAtEnd = this.icon && this.iconPosition === "end" && !this.iconEnd ? iconEl : null;
|
|
19930
19957
|
return (h(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, h("label", { class: {
|
|
19931
19958
|
"label--scale-s": scale === "s",
|
|
19932
19959
|
"label--scale-m": scale === "m",
|
|
19933
19960
|
"label--scale-l": scale === "l",
|
|
19934
19961
|
"label--horizontal": layout === "horizontal",
|
|
19935
19962
|
"label--outline": appearance === "outline"
|
|
19936
|
-
} },
|
|
19963
|
+
} }, iconAtStart, this.iconStart ? iconStartEl : null, h("slot", null, value), h("slot", { name: SLOTS$8.input }), iconAtEnd, this.iconEnd ? iconEndEl : null)));
|
|
19937
19964
|
}
|
|
19938
19965
|
get el() { return this; }
|
|
19939
19966
|
static get watchers() { return {
|
|
@@ -20080,7 +20107,7 @@ const Rating = class extends HTMLElement$1 {
|
|
|
20080
20107
|
static get style() { return ratingCss; }
|
|
20081
20108
|
};
|
|
20082
20109
|
|
|
20083
|
-
const CSS$
|
|
20110
|
+
const CSS$e = {
|
|
20084
20111
|
scrim: "scrim",
|
|
20085
20112
|
content: "content"
|
|
20086
20113
|
};
|
|
@@ -20120,14 +20147,14 @@ const Scrim = class extends HTMLElement$1 {
|
|
|
20120
20147
|
const { el, loading, intlLoading } = this;
|
|
20121
20148
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
20122
20149
|
const loaderNode = loading ? h("calcite-loader", { active: true, label: intlLoading }) : null;
|
|
20123
|
-
const contentNode = hasContent ? (h("div", { class: CSS$
|
|
20124
|
-
return (h("div", { class: CSS$
|
|
20150
|
+
const contentNode = hasContent ? (h("div", { class: CSS$e.content }, h("slot", null))) : null;
|
|
20151
|
+
return (h("div", { class: CSS$e.scrim }, loaderNode, contentNode));
|
|
20125
20152
|
}
|
|
20126
20153
|
get el() { return this; }
|
|
20127
20154
|
static get style() { return scrimCss; }
|
|
20128
20155
|
};
|
|
20129
20156
|
|
|
20130
|
-
const CSS$
|
|
20157
|
+
const CSS$d = {
|
|
20131
20158
|
icon: "icon",
|
|
20132
20159
|
iconContainer: "icon-container",
|
|
20133
20160
|
select: "select"
|
|
@@ -20325,10 +20352,10 @@ const Select = class extends HTMLElement$1 {
|
|
|
20325
20352
|
//
|
|
20326
20353
|
//--------------------------------------------------------------------------
|
|
20327
20354
|
renderChevron() {
|
|
20328
|
-
return (h("div", { class: CSS$
|
|
20355
|
+
return (h("div", { class: CSS$d.iconContainer }, h("calcite-icon", { class: CSS$d.icon, icon: "chevron-down", scale: "s" })));
|
|
20329
20356
|
}
|
|
20330
20357
|
render() {
|
|
20331
|
-
return (h(Fragment, null, h("select", { "aria-label": this.label, class: CSS$
|
|
20358
|
+
return (h(Fragment, null, h("select", { "aria-label": this.label, class: CSS$d.select, disabled: this.disabled, onChange: this.handleInternalSelectChange, ref: this.storeSelectRef }, h("slot", null)), this.renderChevron(), h(HiddenFormInputSlot, { component: this })));
|
|
20332
20359
|
}
|
|
20333
20360
|
get el() { return this; }
|
|
20334
20361
|
static get watchers() { return {
|
|
@@ -20338,7 +20365,7 @@ const Select = class extends HTMLElement$1 {
|
|
|
20338
20365
|
static get style() { return selectCss; }
|
|
20339
20366
|
};
|
|
20340
20367
|
|
|
20341
|
-
const CSS$
|
|
20368
|
+
const CSS$c = {
|
|
20342
20369
|
main: "main",
|
|
20343
20370
|
mainReversed: "main--reversed",
|
|
20344
20371
|
content: "content",
|
|
@@ -20399,25 +20426,25 @@ const Shell = class extends HTMLElement$1 {
|
|
|
20399
20426
|
const content = !!this.contentBehind
|
|
20400
20427
|
? [
|
|
20401
20428
|
h("div", { class: {
|
|
20402
|
-
[CSS$
|
|
20403
|
-
[CSS$
|
|
20429
|
+
[CSS$c.content]: true,
|
|
20430
|
+
[CSS$c.contentBehind]: true
|
|
20404
20431
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
20405
20432
|
centerRowSlotNode
|
|
20406
20433
|
]
|
|
20407
20434
|
: [
|
|
20408
|
-
h("div", { class: CSS$
|
|
20435
|
+
h("div", { class: CSS$c.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
20409
20436
|
];
|
|
20410
20437
|
return content;
|
|
20411
20438
|
}
|
|
20412
20439
|
renderFooter() {
|
|
20413
20440
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
20414
|
-
return hasFooter ? (h("div", { class: CSS$
|
|
20441
|
+
return hasFooter ? (h("div", { class: CSS$c.footer, key: "footer" }, h("slot", { name: SLOTS$7.footer }))) : null;
|
|
20415
20442
|
}
|
|
20416
20443
|
renderMain() {
|
|
20417
20444
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
20418
20445
|
const mainClasses = {
|
|
20419
|
-
[CSS$
|
|
20420
|
-
[CSS$
|
|
20446
|
+
[CSS$c.main]: true,
|
|
20447
|
+
[CSS$c.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
|
20421
20448
|
};
|
|
20422
20449
|
return (h("div", { class: mainClasses }, h("slot", { name: SLOTS$7.primaryPanel }), h("slot", { name: SLOTS$7.panelStart }), this.renderContent(), h("slot", { name: SLOTS$7.panelEnd }), h("slot", { name: SLOTS$7.contextualPanel })));
|
|
20423
20450
|
}
|
|
@@ -20428,7 +20455,7 @@ const Shell = class extends HTMLElement$1 {
|
|
|
20428
20455
|
static get style() { return shellCss; }
|
|
20429
20456
|
};
|
|
20430
20457
|
|
|
20431
|
-
const CSS$
|
|
20458
|
+
const CSS$b = {
|
|
20432
20459
|
actionBarContainer: "action-bar-container",
|
|
20433
20460
|
content: "content"
|
|
20434
20461
|
};
|
|
@@ -20479,9 +20506,9 @@ const ShellCenterRow = class extends HTMLElement$1 {
|
|
|
20479
20506
|
// --------------------------------------------------------------------------
|
|
20480
20507
|
render() {
|
|
20481
20508
|
const { el } = this;
|
|
20482
|
-
const contentNode = (h("div", { class: CSS$
|
|
20509
|
+
const contentNode = (h("div", { class: CSS$b.content }, h("slot", null)));
|
|
20483
20510
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
20484
|
-
const actionBarNode = actionBar ? (h("div", { class: CSS$
|
|
20511
|
+
const actionBarNode = actionBar ? (h("div", { class: CSS$b.actionBarContainer, key: "action-bar" }, h("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
20485
20512
|
const children = [actionBarNode, contentNode];
|
|
20486
20513
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
20487
20514
|
children.reverse();
|
|
@@ -20492,7 +20519,7 @@ const ShellCenterRow = class extends HTMLElement$1 {
|
|
|
20492
20519
|
static get style() { return shellCenterRowCss; }
|
|
20493
20520
|
};
|
|
20494
20521
|
|
|
20495
|
-
const CSS$
|
|
20522
|
+
const CSS$a = {
|
|
20496
20523
|
container: "container",
|
|
20497
20524
|
content: "content",
|
|
20498
20525
|
contentHeader: "content__header",
|
|
@@ -20674,19 +20701,19 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20674
20701
|
renderHeader() {
|
|
20675
20702
|
const { el } = this;
|
|
20676
20703
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
20677
|
-
return hasHeader ? (h("div", { class: CSS$
|
|
20704
|
+
return hasHeader ? (h("div", { class: CSS$a.contentHeader, key: "header" }, h("slot", { name: SLOTS$5.header }))) : null;
|
|
20678
20705
|
}
|
|
20679
20706
|
render() {
|
|
20680
20707
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
20681
20708
|
const allowResizing = !detached && resizable;
|
|
20682
|
-
const contentNode = (h("div", { class: { [CSS$
|
|
20683
|
-
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$
|
|
20709
|
+
const contentNode = (h("div", { class: { [CSS$a.content]: true, [CSS$a.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS$a.contentBody }, h("slot", null))));
|
|
20710
|
+
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$a.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
20684
20711
|
const actionBarNode = h("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
20685
20712
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
20686
20713
|
if (position === "end") {
|
|
20687
20714
|
mainNodes.reverse();
|
|
20688
20715
|
}
|
|
20689
|
-
return h("div", { class: { [CSS$
|
|
20716
|
+
return h("div", { class: { [CSS$a.container]: true } }, mainNodes);
|
|
20690
20717
|
}
|
|
20691
20718
|
// --------------------------------------------------------------------------
|
|
20692
20719
|
//
|
|
@@ -20728,6 +20755,14 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20728
20755
|
static get style() { return shellPanelCss; }
|
|
20729
20756
|
};
|
|
20730
20757
|
|
|
20758
|
+
const CSS$9 = {
|
|
20759
|
+
handleLabel: "handle__label",
|
|
20760
|
+
handleLabelMinValue: "handle__label--minValue",
|
|
20761
|
+
handleLabelValue: "handle__label--value",
|
|
20762
|
+
tickMin: "tick__label--min",
|
|
20763
|
+
tickMax: "tick__label--max"
|
|
20764
|
+
};
|
|
20765
|
+
|
|
20731
20766
|
const sliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{-webkit-margin-before:0.5em;margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{-webkit-margin-after:0.5em;margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:\"\";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;-webkit-margin-before:0.875rem;margin-block-start:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{-webkit-padding-after:calc(0.875rem + var(--calcite-slider-container-font-size));padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + 1em);padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{-webkit-padding-after:calc(var(--calcite-slider-handle-size) * 0.5 + 1em);padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{-webkit-padding-before:var(--calcite-slider-full-handle-height);padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20732
20767
|
|
|
20733
20768
|
function isRange(value) {
|
|
@@ -20748,6 +20783,10 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20748
20783
|
//--------------------------------------------------------------------------
|
|
20749
20784
|
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
20750
20785
|
this.disabled = false;
|
|
20786
|
+
/**
|
|
20787
|
+
* When true, number values are displayed with a group separator corresponding to the language and country format.
|
|
20788
|
+
*/
|
|
20789
|
+
this.groupSeparator = false;
|
|
20751
20790
|
/** When true, indicates a histogram is present. */
|
|
20752
20791
|
this.hasHistogram = false;
|
|
20753
20792
|
/** When true, displays label handles with their numeric value. */
|
|
@@ -20786,6 +20825,7 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20786
20825
|
this.minValueDragRange = null;
|
|
20787
20826
|
this.maxValueDragRange = null;
|
|
20788
20827
|
this.tickValues = [];
|
|
20828
|
+
this.globalAttributes = {};
|
|
20789
20829
|
this.dragUpdate = (event) => {
|
|
20790
20830
|
event.preventDefault();
|
|
20791
20831
|
if (this.dragProp) {
|
|
@@ -20833,6 +20873,19 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20833
20873
|
this.storeTrackRef = (node) => {
|
|
20834
20874
|
this.trackEl = node;
|
|
20835
20875
|
};
|
|
20876
|
+
/**
|
|
20877
|
+
* Returns a string representing the localized label value based on groupSeparator prop being on or off.
|
|
20878
|
+
*
|
|
20879
|
+
* @param value
|
|
20880
|
+
*/
|
|
20881
|
+
this.determineGroupSeparator = (value) => {
|
|
20882
|
+
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
20883
|
+
if (value) {
|
|
20884
|
+
return this.groupSeparator
|
|
20885
|
+
? localizeNumberString(value.toString(), lang, this.groupSeparator, this.numberingSystem)
|
|
20886
|
+
: value;
|
|
20887
|
+
}
|
|
20888
|
+
};
|
|
20836
20889
|
}
|
|
20837
20890
|
histogramWatcher(newHistogram) {
|
|
20838
20891
|
this.hasHistogram = !!newHistogram;
|
|
@@ -20853,11 +20906,13 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20853
20906
|
this.setValueFromMinMax();
|
|
20854
20907
|
connectLabel(this);
|
|
20855
20908
|
connectForm(this);
|
|
20909
|
+
watchGlobalAttributes(this, ["lang"]);
|
|
20856
20910
|
}
|
|
20857
20911
|
disconnectedCallback() {
|
|
20858
20912
|
disconnectLabel(this);
|
|
20859
20913
|
disconnectForm(this);
|
|
20860
20914
|
this.removeDragListeners();
|
|
20915
|
+
unwatchGlobalAttributes(this);
|
|
20861
20916
|
}
|
|
20862
20917
|
componentWillLoad() {
|
|
20863
20918
|
this.tickValues = this.generateTickValues();
|
|
@@ -20889,6 +20944,8 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20889
20944
|
const id = this.el.id || this.guid;
|
|
20890
20945
|
const maxProp = isRange(this.value) ? "maxValue" : "value";
|
|
20891
20946
|
const value = isRange(this.value) ? this.maxValue : this.value;
|
|
20947
|
+
const displayedValue = this.determineGroupSeparator(value);
|
|
20948
|
+
const displayedMinValue = this.determineGroupSeparator(this.minValue);
|
|
20892
20949
|
const min = this.minValue || this.min;
|
|
20893
20950
|
const useMinValue = this.shouldUseMinValue();
|
|
20894
20951
|
const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
|
|
@@ -20897,6 +20954,8 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20897
20954
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
20898
20955
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
20899
20956
|
const valueIsRange = isRange(this.value);
|
|
20957
|
+
const handleLabelMinValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelMinValue}`;
|
|
20958
|
+
const handleLabelValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelValue}`;
|
|
20900
20959
|
const handle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20901
20960
|
thumb: true,
|
|
20902
20961
|
"thumb--value": true,
|
|
@@ -20906,12 +20965,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20906
20965
|
thumb: true,
|
|
20907
20966
|
"thumb--value": true,
|
|
20908
20967
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
20909
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
20968
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" })));
|
|
20910
20969
|
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20911
20970
|
thumb: true,
|
|
20912
20971
|
"thumb--value": true,
|
|
20913
20972
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
20914
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
20973
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
20915
20974
|
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20916
20975
|
thumb: true,
|
|
20917
20976
|
"thumb--value": true,
|
|
@@ -20929,13 +20988,13 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20929
20988
|
"thumb--value": true,
|
|
20930
20989
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
20931
20990
|
"thumb--precise": true
|
|
20932
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
20991
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
|
|
20933
20992
|
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20934
20993
|
thumb: true,
|
|
20935
20994
|
"thumb--value": true,
|
|
20936
20995
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
20937
20996
|
"thumb--precise": true
|
|
20938
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
20997
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
20939
20998
|
const minHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20940
20999
|
thumb: true,
|
|
20941
21000
|
"thumb--minValue": true,
|
|
@@ -20945,12 +21004,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20945
21004
|
thumb: true,
|
|
20946
21005
|
"thumb--minValue": true,
|
|
20947
21006
|
"thumb--active": this.dragProp === "minValue"
|
|
20948
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
21007
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), h("div", { class: "handle" })));
|
|
20949
21008
|
const minHistogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20950
21009
|
thumb: true,
|
|
20951
21010
|
"thumb--minValue": true,
|
|
20952
21011
|
"thumb--active": this.dragProp === "minValue"
|
|
20953
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
21012
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
20954
21013
|
const minPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20955
21014
|
thumb: true,
|
|
20956
21015
|
"thumb--minValue": true,
|
|
@@ -20962,7 +21021,7 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20962
21021
|
"thumb--minValue": true,
|
|
20963
21022
|
"thumb--active": this.dragProp === "minValue",
|
|
20964
21023
|
"thumb--precise": true
|
|
20965
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
21024
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
20966
21025
|
return (h(Host, { id: id, onTouchStart: this.handleTouchStart }, h("div", { class: {
|
|
20967
21026
|
["container"]: true,
|
|
20968
21027
|
["container--range"]: valueIsRange,
|
|
@@ -21003,11 +21062,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
21003
21062
|
const valueIsRange = isRange(this.value);
|
|
21004
21063
|
const isMinTickLabel = tick === this.min;
|
|
21005
21064
|
const isMaxTickLabel = tick === this.max;
|
|
21065
|
+
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
21006
21066
|
const tickLabel = (h("span", { class: {
|
|
21007
21067
|
tick__label: true,
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
} },
|
|
21068
|
+
[CSS$9.tickMin]: isMinTickLabel,
|
|
21069
|
+
[CSS$9.tickMax]: isMaxTickLabel
|
|
21070
|
+
} }, displayedTickValue));
|
|
21011
21071
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
21012
21072
|
return tickLabel;
|
|
21013
21073
|
}
|
|
@@ -28534,8 +28594,8 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
28534
28594
|
const { icon } = this;
|
|
28535
28595
|
if (icon === ICON_TYPES$1.grip) {
|
|
28536
28596
|
return (h("span", { class: {
|
|
28537
|
-
[CSS$
|
|
28538
|
-
[CSS$
|
|
28597
|
+
[CSS$i.handle]: true,
|
|
28598
|
+
[CSS$i.handleActivated]: this.handleActivated
|
|
28539
28599
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
|
28540
28600
|
}
|
|
28541
28601
|
}
|
|
@@ -28548,7 +28608,7 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
28548
28608
|
|
|
28549
28609
|
globalScripts();
|
|
28550
28610
|
const CalciteAccordion = /*@__PURE__*/proxyCustomElement(Accordion, [1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemKeyEvent","calciteInternalAccordionItemKeyEvent"],[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]);
|
|
28551
|
-
const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"expanded":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
|
|
28611
|
+
const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"expanded":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[1537],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
|
|
28552
28612
|
const CalciteAction = /*@__PURE__*/proxyCustomElement(Action, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
28553
28613
|
const CalciteActionBar = /*@__PURE__*/proxyCustomElement(ActionBar, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"layout":[513],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
|
|
28554
28614
|
const CalciteActionGroup = /*@__PURE__*/proxyCustomElement(ActionGroup, [1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]);
|
|
@@ -28610,14 +28670,14 @@ const CalciteProgress = /*@__PURE__*/proxyCustomElement(Progress, [1,"calcite-pr
|
|
|
28610
28670
|
const CalciteRadioButton = /*@__PURE__*/proxyCustomElement(RadioButton, [1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032]},[[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]);
|
|
28611
28671
|
const CalciteRadioButtonGroup = /*@__PURE__*/proxyCustomElement(RadioButtonGroup, [1,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]);
|
|
28612
28672
|
const CalciteRadioGroup = /*@__PURE__*/proxyCustomElement(RadioGroup, [1,"calcite-radio-group",{"appearance":[513],"disabled":[516],"required":[516],"layout":[513],"name":[1],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513]},[[0,"calciteInternalRadioGroupItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]]);
|
|
28613
|
-
const CalciteRadioGroupItem = /*@__PURE__*/proxyCustomElement(RadioGroupItem, [1,"calcite-radio-group-item",{"checked":[1540],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"iconPosition":[513,"icon-position"],"value":[1032]}]);
|
|
28673
|
+
const CalciteRadioGroupItem = /*@__PURE__*/proxyCustomElement(RadioGroupItem, [1,"calcite-radio-group-item",{"checked":[1540],"icon":[513],"iconFlipRtl":[516,"icon-flip-rtl"],"iconPosition":[513,"icon-position"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"value":[1032]}]);
|
|
28614
28674
|
const CalciteRating = /*@__PURE__*/proxyCustomElement(Rating, [1,"calcite-rating",{"scale":[513],"value":[1538],"readOnly":[516,"read-only"],"disabled":[516],"showChip":[516,"show-chip"],"count":[514],"average":[514],"name":[513],"intlRating":[1,"intl-rating"],"intlStars":[1,"intl-stars"],"required":[516],"hoverValue":[32],"focusValue":[32],"hasFocus":[32]},[[0,"blur","blurHandler"]]]);
|
|
28615
28675
|
const CalciteScrim = /*@__PURE__*/proxyCustomElement(Scrim, [1,"calcite-scrim",{"intlLoading":[1,"intl-loading"],"loading":[516]}]);
|
|
28616
28676
|
const CalciteSelect = /*@__PURE__*/proxyCustomElement(Select, [1,"calcite-select",{"disabled":[516],"label":[1],"name":[1],"required":[516],"scale":[513],"value":[1025],"selectedOption":[1040],"width":[513]},[[0,"calciteInternalOptionChange","handleOptionOrGroupChange"],[0,"calciteInternalOptionGroupChange","handleOptionOrGroupChange"]]]);
|
|
28617
28677
|
const CalciteShell = /*@__PURE__*/proxyCustomElement(Shell, [1,"calcite-shell",{"contentBehind":[516,"content-behind"]}]);
|
|
28618
28678
|
const CalciteShellCenterRow = /*@__PURE__*/proxyCustomElement(ShellCenterRow, [1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]);
|
|
28619
28679
|
const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(ShellPanel, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]);
|
|
28620
|
-
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]);
|
|
28680
|
+
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"groupSeparator":[516,"group-separator"],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"numberingSystem":[1,"numbering-system"],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"globalAttributes":[32]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]);
|
|
28621
28681
|
const CalciteSortableList = /*@__PURE__*/proxyCustomElement(SortableList, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
|
|
28622
28682
|
const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(SplitButton, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
|
|
28623
28683
|
const CalciteStepper = /*@__PURE__*/proxyCustomElement(Stepper, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513]},[[0,"calciteInternalStepperItemKeyEvent","calciteInternalStepperItemKeyEvent"],[0,"calciteInternalStepperItemRegister","registerItem"],[0,"calciteInternalStepperItemSelect","updateItem"],[0,"calciteInternalUserRequestedStepperItemSelect","handleUserRequestedStepperItemSelect"]]]);
|