@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
package/hydrate/index.js
CHANGED
|
@@ -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
|
'use strict';
|
|
7
7
|
|
|
@@ -6186,7 +6186,7 @@ const SLOTS$t = {
|
|
|
6186
6186
|
actionsStart: "actions-start",
|
|
6187
6187
|
actionsEnd: "actions-end"
|
|
6188
6188
|
};
|
|
6189
|
-
const CSS$
|
|
6189
|
+
const CSS$U = {
|
|
6190
6190
|
icon: "icon",
|
|
6191
6191
|
header: "header",
|
|
6192
6192
|
headerContent: "header-content",
|
|
@@ -6196,10 +6196,13 @@ const CSS$T = {
|
|
|
6196
6196
|
heading: "heading",
|
|
6197
6197
|
description: "description",
|
|
6198
6198
|
expandIcon: "expand-icon",
|
|
6199
|
-
content: "content"
|
|
6199
|
+
content: "content",
|
|
6200
|
+
iconStart: "icon--start",
|
|
6201
|
+
iconEnd: "icon--end",
|
|
6202
|
+
headerContainer: "header-container"
|
|
6200
6203
|
};
|
|
6201
6204
|
|
|
6202
|
-
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*/.sc-calcite-accordion-item: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*/.calcite-animate.sc-calcite-accordion-item{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*/.calcite-animate__in.sc-calcite-accordion-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-accordion-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-accordion-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-accordion-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-accordion-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-item-h{display:none}/*!@.icon-position--end, .icon-position--start*/.icon-position--end.sc-calcite-accordion-item,.icon-position--start.sc-calcite-accordion-item{--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*/.icon-position--start.sc-calcite-accordion-item{--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*/.icon-position--end.sc-calcite-accordion-item{--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)*/.icon-position--end.sc-calcite-accordion-item: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*/.sc-calcite-accordion-item-h{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*/.sc-calcite-accordion-item-h .header-content.sc-calcite-accordion-item{outline-color:transparent}/*!@:host(:focus) .header-content*/.sc-calcite-accordion-item-h:focus .header-content.sc-calcite-accordion-item{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([expanded])*/[expanded].sc-calcite-accordion-item-h{color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .content*/[expanded].sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:block;color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{border-block-end-color:transparent}/*!@:host .header*/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .icon*/.sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{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*/.content.sc-calcite-accordion-item{padding:var(--calcite-accordion-item-padding)}/*!@:host .content,\n:host .header*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{-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 **/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item *.sc-calcite-accordion-item{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*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}/*!@:host .expand-icon*/.sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{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*/.calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}/*!@:host([expanded]) .expand-icon*/[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{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*/[expanded].sc-calcite-accordion-item-h .calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}/*!@:host .header-text*/.sc-calcite-accordion-item-h .header-text.sc-calcite-accordion-item{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, \n:host .description*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;inline-size:100%}/*!@:host .heading*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .description*/.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}/*!@:host(:focus) .heading, \n:host(:hover) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon, \n:host(:hover) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon, \n:host(:hover) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description, \n:host(:hover) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@:host(:focus) .heading, \n:host(:active) .heading, \n:host([expanded]) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .heading.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon, \n:host(:active) .icon, \n:host([expanded]) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon, \n:host(:active) .expand-icon, \n:host([expanded]) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .expand-icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description, \n:host(:active) .description, \n:host([expanded]) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .description.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@.header-content*/.header-content.sc-calcite-accordion-item{-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, \n.actions-end*/.actions-start.sc-calcite-accordion-item,.actions-end.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{-webkit-border-after:none;border-block-end:none}/*!@:host([expanded]) .heading*/[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:bolder}/*!@:host(:hover) .heading,\n:host(:focus) .heading*/.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item{text-decoration:underline}}";
|
|
6205
|
+
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*/.sc-calcite-accordion-item: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*/.calcite-animate.sc-calcite-accordion-item{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*/.calcite-animate__in.sc-calcite-accordion-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-accordion-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-accordion-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-accordion-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-accordion-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-item-h{display:none}/*!@.icon-position--end, .icon-position--start*/.icon-position--end.sc-calcite-accordion-item,.icon-position--start.sc-calcite-accordion-item{--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*/.icon-position--start.sc-calcite-accordion-item{--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*/.icon-position--end.sc-calcite-accordion-item{--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)*/.icon-position--end.sc-calcite-accordion-item: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*/.sc-calcite-accordion-item-h{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*/.sc-calcite-accordion-item-h .header-content.sc-calcite-accordion-item{outline-color:transparent}/*!@:host(:focus) .header-content*/.sc-calcite-accordion-item-h:focus .header-content.sc-calcite-accordion-item{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([expanded])*/[expanded].sc-calcite-accordion-item-h{color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .content*/[expanded].sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:block;color:var(--calcite-ui-text-1)}/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{border-block-end-color:transparent}/*!@:host .header*/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .icon*/.sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{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*/.icon--start.sc-calcite-accordion-item{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*/.icon--end.sc-calcite-accordion-item{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*/.header-container.sc-calcite-accordion-item{inline-size:100%}/*!@.content*/.content.sc-calcite-accordion-item{padding:var(--calcite-accordion-item-padding)}/*!@:host .content,\n:host .header*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{-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 **/.sc-calcite-accordion-item-h .header.sc-calcite-accordion-item *.sc-calcite-accordion-item{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*/.sc-calcite-accordion-item-h .content.sc-calcite-accordion-item{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}/*!@:host .expand-icon*/.sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{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*/.calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}/*!@:host([expanded]) .expand-icon*/[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{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*/[expanded].sc-calcite-accordion-item-h .calcite--rtl.sc-calcite-accordion-item .expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}/*!@:host .header-text*/.sc-calcite-accordion-item-h .header-text.sc-calcite-accordion-item{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, \n:host .description*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;inline-size:100%}/*!@:host .heading*/.sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .description*/.sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}/*!@:host(:focus) .heading, \n:host(:hover) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon, \n:host(:hover) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon, \n:host(:hover) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description, \n:host(:hover) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@:host(:focus) .heading, \n:host(:active) .heading, \n:host([expanded]) .heading*/.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .heading.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .icon, \n:host(:active) .icon, \n:host([expanded]) .icon*/.sc-calcite-accordion-item-h:focus .icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .expand-icon, \n:host(:active) .expand-icon, \n:host([expanded]) .expand-icon*/.sc-calcite-accordion-item-h:focus .expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .expand-icon.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .description, \n:host(:active) .description, \n:host([expanded]) .description*/.sc-calcite-accordion-item-h:focus .description.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .description.sc-calcite-accordion-item,[expanded].sc-calcite-accordion-item-h .description.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@.header-content*/.header-content.sc-calcite-accordion-item{-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, \n.actions-end*/.actions-start.sc-calcite-accordion-item,.actions-end.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){/*!@:host([expanded]) .header*/[expanded].sc-calcite-accordion-item-h .header.sc-calcite-accordion-item{-webkit-border-after:none;border-block-end:none}/*!@:host([expanded]) .heading*/[expanded].sc-calcite-accordion-item-h .heading.sc-calcite-accordion-item{font-weight:bolder}/*!@:host(:hover) .heading,\n:host(:focus) .heading*/.sc-calcite-accordion-item-h:hover .heading.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:focus .heading.sc-calcite-accordion-item{text-decoration:underline}}";
|
|
6203
6206
|
|
|
6204
6207
|
/**
|
|
6205
6208
|
* @slot - A slot for adding custom content, including nested `calcite-accordion-item`s.
|
|
@@ -6235,6 +6238,12 @@ class AccordionItem {
|
|
|
6235
6238
|
expandedHandler(value) {
|
|
6236
6239
|
this.active = value;
|
|
6237
6240
|
}
|
|
6241
|
+
iconHandler(value) {
|
|
6242
|
+
this.iconStart = value;
|
|
6243
|
+
}
|
|
6244
|
+
iconStartHandler(value) {
|
|
6245
|
+
this.icon = value;
|
|
6246
|
+
}
|
|
6238
6247
|
//--------------------------------------------------------------------------
|
|
6239
6248
|
//
|
|
6240
6249
|
// Lifecycle
|
|
@@ -6250,6 +6259,12 @@ class AccordionItem {
|
|
|
6250
6259
|
this.activeHandler(isExpanded);
|
|
6251
6260
|
this.expandedHandler(isExpanded);
|
|
6252
6261
|
}
|
|
6262
|
+
if (this.iconStart) {
|
|
6263
|
+
this.icon = this.iconStart;
|
|
6264
|
+
}
|
|
6265
|
+
else if (this.icon) {
|
|
6266
|
+
this.iconStart = this.icon;
|
|
6267
|
+
}
|
|
6253
6268
|
connectConditionalSlotComponent(this);
|
|
6254
6269
|
}
|
|
6255
6270
|
componentDidLoad() {
|
|
@@ -6269,25 +6284,27 @@ class AccordionItem {
|
|
|
6269
6284
|
// --------------------------------------------------------------------------
|
|
6270
6285
|
renderActionsStart() {
|
|
6271
6286
|
const { el } = this;
|
|
6272
|
-
return getSlotted(el, SLOTS$t.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6287
|
+
return getSlotted(el, SLOTS$t.actionsStart) ? (hAsync("div", { class: CSS$U.actionsStart }, hAsync("slot", { name: SLOTS$t.actionsStart }))) : null;
|
|
6273
6288
|
}
|
|
6274
6289
|
renderActionsEnd() {
|
|
6275
6290
|
const { el } = this;
|
|
6276
|
-
return getSlotted(el, SLOTS$t.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6291
|
+
return getSlotted(el, SLOTS$t.actionsEnd) ? (hAsync("div", { class: CSS$U.actionsEnd }, hAsync("slot", { name: SLOTS$t.actionsEnd }))) : null;
|
|
6277
6292
|
}
|
|
6278
6293
|
render() {
|
|
6279
6294
|
const dir = getElementDir(this.el);
|
|
6280
|
-
const
|
|
6295
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$U.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
6296
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$U.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
6297
|
+
const description = this.description || this.itemSubtitle;
|
|
6281
6298
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6282
6299
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6283
6300
|
[`icon-type--${this.iconType}`]: true
|
|
6284
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6301
|
+
} }, hAsync("div", { class: { [CSS$U.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$U.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$U.headerContainer }, iconStartEl, hAsync("div", { class: CSS$U.headerText }, hAsync("span", { class: CSS$U.heading }, this.heading || this.itemTitle), description ? hAsync("span", { class: CSS$U.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$U.expandIcon, icon: this.iconType === "chevron"
|
|
6285
6302
|
? "chevronDown"
|
|
6286
6303
|
: this.iconType === "caret"
|
|
6287
6304
|
? "caretDown"
|
|
6288
6305
|
: this.expanded || this.active
|
|
6289
6306
|
? "minus"
|
|
6290
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6307
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$U.content }, hAsync("slot", null)))));
|
|
6291
6308
|
}
|
|
6292
6309
|
//--------------------------------------------------------------------------
|
|
6293
6310
|
//
|
|
@@ -6355,7 +6372,9 @@ class AccordionItem {
|
|
|
6355
6372
|
get el() { return getElement(this); }
|
|
6356
6373
|
static get watchers() { return {
|
|
6357
6374
|
"active": ["activeHandler"],
|
|
6358
|
-
"expanded": ["expandedHandler"]
|
|
6375
|
+
"expanded": ["expandedHandler"],
|
|
6376
|
+
"icon": ["iconHandler"],
|
|
6377
|
+
"iconStart": ["iconStartHandler"]
|
|
6359
6378
|
}; }
|
|
6360
6379
|
static get style() { return accordionItemCss; }
|
|
6361
6380
|
static get cmpMeta() { return {
|
|
@@ -6368,15 +6387,17 @@ class AccordionItem {
|
|
|
6368
6387
|
"itemSubtitle": [1, "item-subtitle"],
|
|
6369
6388
|
"heading": [1],
|
|
6370
6389
|
"description": [1],
|
|
6371
|
-
"icon": [
|
|
6390
|
+
"icon": [1537],
|
|
6391
|
+
"iconStart": [513, "icon-start"],
|
|
6392
|
+
"iconEnd": [513, "icon-end"]
|
|
6372
6393
|
},
|
|
6373
6394
|
"$listeners$": [[0, "keydown", "keyDownHandler"], [16, "calciteInternalAccordionChange", "updateActiveItemOnChange"]],
|
|
6374
6395
|
"$lazyBundleId$": "-",
|
|
6375
|
-
"$attrsToReflect$": [["active", "active"], ["expanded", "expanded"], ["icon", "icon"]]
|
|
6396
|
+
"$attrsToReflect$": [["active", "active"], ["expanded", "expanded"], ["icon", "icon"], ["iconStart", "icon-start"], ["iconEnd", "icon-end"]]
|
|
6376
6397
|
}; }
|
|
6377
6398
|
}
|
|
6378
6399
|
|
|
6379
|
-
const CSS$
|
|
6400
|
+
const CSS$T = {
|
|
6380
6401
|
button: "button",
|
|
6381
6402
|
buttonTextVisible: "button--text-visible",
|
|
6382
6403
|
buttonCompact: "button--compact",
|
|
@@ -6526,8 +6547,8 @@ class Action {
|
|
|
6526
6547
|
renderTextContainer() {
|
|
6527
6548
|
const { text, textEnabled } = this;
|
|
6528
6549
|
const textContainerClasses = {
|
|
6529
|
-
[CSS$
|
|
6530
|
-
[CSS$
|
|
6550
|
+
[CSS$T.textContainer]: true,
|
|
6551
|
+
[CSS$T.textContainerVisible]: textEnabled
|
|
6531
6552
|
};
|
|
6532
6553
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6533
6554
|
}
|
|
@@ -6541,18 +6562,18 @@ class Action {
|
|
|
6541
6562
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6542
6563
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
6543
6564
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6544
|
-
[CSS$
|
|
6545
|
-
[CSS$
|
|
6565
|
+
[CSS$T.slotContainer]: true,
|
|
6566
|
+
[CSS$T.slotContainerHidden]: loading
|
|
6546
6567
|
} }, hAsync("slot", null)));
|
|
6547
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
6568
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$T.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
6548
6569
|
}
|
|
6549
6570
|
render() {
|
|
6550
6571
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6551
6572
|
const ariaLabel = label || text;
|
|
6552
6573
|
const buttonClasses = {
|
|
6553
|
-
[CSS$
|
|
6554
|
-
[CSS$
|
|
6555
|
-
[CSS$
|
|
6574
|
+
[CSS$T.button]: true,
|
|
6575
|
+
[CSS$T.buttonTextVisible]: textEnabled,
|
|
6576
|
+
[CSS$T.buttonCompact]: compact
|
|
6556
6577
|
};
|
|
6557
6578
|
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("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())));
|
|
6558
6579
|
}
|
|
@@ -6583,7 +6604,7 @@ class Action {
|
|
|
6583
6604
|
}; }
|
|
6584
6605
|
}
|
|
6585
6606
|
|
|
6586
|
-
const CSS$
|
|
6607
|
+
const CSS$S = {
|
|
6587
6608
|
menu: "menu",
|
|
6588
6609
|
defaultTrigger: "default-trigger"
|
|
6589
6610
|
};
|
|
@@ -6695,7 +6716,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6695
6716
|
return actionNode;
|
|
6696
6717
|
};
|
|
6697
6718
|
|
|
6698
|
-
const CSS$
|
|
6719
|
+
const CSS$R = {
|
|
6699
6720
|
actionGroupBottom: "action-group--bottom"
|
|
6700
6721
|
};
|
|
6701
6722
|
const SLOTS$q = {
|
|
@@ -8140,7 +8161,7 @@ class ActionBar {
|
|
|
8140
8161
|
const expandLabel = intlExpand || TEXT$s.expand;
|
|
8141
8162
|
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
8142
8163
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8143
|
-
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8164
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$R.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
8144
8165
|
}
|
|
8145
8166
|
render() {
|
|
8146
8167
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8530,14 +8551,14 @@ class ActionMenu {
|
|
|
8530
8551
|
}
|
|
8531
8552
|
renderMenuButton() {
|
|
8532
8553
|
const { label, scale, expanded } = this;
|
|
8533
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
8554
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$S.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8534
8555
|
return menuButtonSlot;
|
|
8535
8556
|
}
|
|
8536
8557
|
renderMenuItems() {
|
|
8537
8558
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8538
8559
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8539
8560
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
8540
|
-
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
8561
|
+
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("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 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
8541
8562
|
}
|
|
8542
8563
|
render() {
|
|
8543
8564
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -8573,7 +8594,7 @@ class ActionMenu {
|
|
|
8573
8594
|
}; }
|
|
8574
8595
|
}
|
|
8575
8596
|
|
|
8576
|
-
const CSS$
|
|
8597
|
+
const CSS$Q = {
|
|
8577
8598
|
actionGroupBottom: "action-group--bottom",
|
|
8578
8599
|
container: "container"
|
|
8579
8600
|
};
|
|
@@ -8682,10 +8703,10 @@ class ActionPad {
|
|
|
8682
8703
|
const expandLabel = intlExpand || TEXT$r.expand;
|
|
8683
8704
|
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
8684
8705
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8685
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8706
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
8686
8707
|
}
|
|
8687
8708
|
render() {
|
|
8688
|
-
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$
|
|
8709
|
+
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$Q.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8689
8710
|
}
|
|
8690
8711
|
get el() { return getElement(this); }
|
|
8691
8712
|
static get watchers() { return {
|
|
@@ -9278,7 +9299,7 @@ class Avatar {
|
|
|
9278
9299
|
}; }
|
|
9279
9300
|
}
|
|
9280
9301
|
|
|
9281
|
-
const CSS$
|
|
9302
|
+
const CSS$P = {
|
|
9282
9303
|
article: "article",
|
|
9283
9304
|
content: "content",
|
|
9284
9305
|
headerContainer: "header-container",
|
|
@@ -9439,30 +9460,30 @@ class Block {
|
|
|
9439
9460
|
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
9440
9461
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
9441
9462
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
9442
|
-
[CSS$
|
|
9443
|
-
[CSS$
|
|
9444
|
-
[CSS$
|
|
9445
|
-
[CSS$
|
|
9463
|
+
[CSS$P.statusIcon]: true,
|
|
9464
|
+
[CSS$P.valid]: status == "valid",
|
|
9465
|
+
[CSS$P.invalid]: status == "invalid",
|
|
9466
|
+
[CSS$P.loading]: showingLoadingStatus
|
|
9446
9467
|
}, icon: statusIcon, scale: "m" }));
|
|
9447
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9468
|
+
return hasIcon ? hAsync("div", { class: CSS$P.icon }, iconEl) : null;
|
|
9448
9469
|
}
|
|
9449
9470
|
renderTitle() {
|
|
9450
9471
|
const { heading, headingLevel, summary, description } = this;
|
|
9451
|
-
return heading || summary || description ? (hAsync("div", { class: CSS$
|
|
9472
|
+
return heading || summary || description ? (hAsync("div", { class: CSS$P.title }, hAsync(Heading, { class: CSS$P.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$P.description }, summary || description)) : null)) : null;
|
|
9452
9473
|
}
|
|
9453
9474
|
render() {
|
|
9454
9475
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9455
9476
|
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
9456
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9477
|
+
const headerContent = (hAsync("header", { class: CSS$P.header }, this.renderIcon(), this.renderTitle()));
|
|
9457
9478
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
9458
9479
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
9459
9480
|
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
9460
9481
|
const { guid } = this;
|
|
9461
9482
|
const regionId = `${guid}-region`;
|
|
9462
9483
|
const buttonId = `${guid}-button`;
|
|
9463
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
9484
|
+
const headerNode = (hAsync("div", { class: CSS$P.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("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 ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$P.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$P.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
9464
9485
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9465
|
-
[CSS$
|
|
9486
|
+
[CSS$P.article]: true
|
|
9466
9487
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
9467
9488
|
content: true,
|
|
9468
9489
|
"content--spaced": !this.disablePadding
|
|
@@ -9496,7 +9517,7 @@ class Block {
|
|
|
9496
9517
|
}; }
|
|
9497
9518
|
}
|
|
9498
9519
|
|
|
9499
|
-
const CSS$
|
|
9520
|
+
const CSS$O = {
|
|
9500
9521
|
content: "content",
|
|
9501
9522
|
invalid: "invalid",
|
|
9502
9523
|
toggle: "toggle",
|
|
@@ -9567,9 +9588,9 @@ class BlockSection {
|
|
|
9567
9588
|
const { status } = this;
|
|
9568
9589
|
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
9569
9590
|
const statusIconClasses = {
|
|
9570
|
-
[CSS$
|
|
9571
|
-
[CSS$
|
|
9572
|
-
[CSS$
|
|
9591
|
+
[CSS$O.statusIcon]: true,
|
|
9592
|
+
[CSS$O.valid]: status == "valid",
|
|
9593
|
+
[CSS$O.invalid]: status == "invalid"
|
|
9573
9594
|
};
|
|
9574
9595
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9575
9596
|
}
|
|
@@ -9586,13 +9607,13 @@ class BlockSection {
|
|
|
9586
9607
|
const regionId = `${guid}-region`;
|
|
9587
9608
|
const buttonId = `${guid}-button`;
|
|
9588
9609
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9589
|
-
[CSS$
|
|
9590
|
-
[CSS$
|
|
9591
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9592
|
-
[CSS$
|
|
9593
|
-
[CSS$
|
|
9594
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9595
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9610
|
+
[CSS$O.toggle]: true,
|
|
9611
|
+
[CSS$O.toggleSwitch]: true
|
|
9612
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$O.toggleSwitchContent }, hAsync("span", { class: CSS$O.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9613
|
+
[CSS$O.sectionHeader]: true,
|
|
9614
|
+
[CSS$O.toggle]: true
|
|
9615
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$O.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9616
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$O.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9596
9617
|
}
|
|
9597
9618
|
get el() { return getElement(this); }
|
|
9598
9619
|
static get style() { return blockSectionCss; }
|
|
@@ -9641,7 +9662,7 @@ class BlockSection {
|
|
|
9641
9662
|
}
|
|
9642
9663
|
})(HTMLFormElement.prototype);
|
|
9643
9664
|
|
|
9644
|
-
const CSS$
|
|
9665
|
+
const CSS$N = {
|
|
9645
9666
|
buttonLoader: "calcite-button--loader",
|
|
9646
9667
|
content: "content",
|
|
9647
9668
|
contentSlotted: "content--slotted",
|
|
@@ -10084,14 +10105,14 @@ class Button {
|
|
|
10084
10105
|
render() {
|
|
10085
10106
|
const childElType = this.href ? "a" : "button";
|
|
10086
10107
|
const Tag = childElType;
|
|
10087
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
10088
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10089
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10090
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
10108
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$N.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$N.loadingIn : CSS$N.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
10109
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
10110
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
10111
|
+
const contentEl = (hAsync("span", { class: CSS$N.content }, hAsync("slot", null)));
|
|
10091
10112
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
10092
|
-
[CSS$
|
|
10093
|
-
[CSS$
|
|
10094
|
-
[CSS$
|
|
10113
|
+
[CSS$N.contentSlotted]: this.hasContent,
|
|
10114
|
+
[CSS$N.iconStartEmpty]: !this.iconStart,
|
|
10115
|
+
[CSS$N.iconEndEmpty]: !this.iconEnd
|
|
10095
10116
|
}, 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));
|
|
10096
10117
|
}
|
|
10097
10118
|
//--------------------------------------------------------------------------
|
|
@@ -10164,7 +10185,7 @@ class Button {
|
|
|
10164
10185
|
}; }
|
|
10165
10186
|
}
|
|
10166
10187
|
|
|
10167
|
-
const CSS$
|
|
10188
|
+
const CSS$M = {
|
|
10168
10189
|
container: "container",
|
|
10169
10190
|
header: "header",
|
|
10170
10191
|
footer: "footer",
|
|
@@ -10271,32 +10292,32 @@ class Card {
|
|
|
10271
10292
|
render() {
|
|
10272
10293
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
10273
10294
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
10274
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
10295
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$M.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
10275
10296
|
}
|
|
10276
10297
|
selectCard() {
|
|
10277
10298
|
this.selected = !this.selected;
|
|
10278
10299
|
this.calciteCardSelect.emit();
|
|
10279
10300
|
}
|
|
10280
10301
|
renderThumbnail() {
|
|
10281
|
-
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$
|
|
10302
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$M.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
10282
10303
|
}
|
|
10283
10304
|
renderCheckbox() {
|
|
10284
10305
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
10285
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
10306
|
+
return (hAsync("calcite-label", { class: CSS$M.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
10286
10307
|
}
|
|
10287
10308
|
renderHeader() {
|
|
10288
10309
|
const { el } = this;
|
|
10289
10310
|
const title = getSlotted(el, SLOTS$m.title);
|
|
10290
10311
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
10291
10312
|
const hasHeader = title || subtitle;
|
|
10292
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
10313
|
+
return hasHeader ? (hAsync("header", { class: CSS$M.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
10293
10314
|
}
|
|
10294
10315
|
renderFooter() {
|
|
10295
10316
|
const { el } = this;
|
|
10296
10317
|
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
10297
10318
|
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
10298
10319
|
const hasFooter = leadingFooter || trailingFooter;
|
|
10299
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
10320
|
+
return hasFooter ? (hAsync("footer", { class: CSS$M.footer }, hAsync("slot", { name: SLOTS$m.footerLeading }), hAsync("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
10300
10321
|
}
|
|
10301
10322
|
get el() { return getElement(this); }
|
|
10302
10323
|
static get style() { return cardCss; }
|
|
@@ -10459,7 +10480,7 @@ class Checkbox {
|
|
|
10459
10480
|
}; }
|
|
10460
10481
|
}
|
|
10461
10482
|
|
|
10462
|
-
const CSS$
|
|
10483
|
+
const CSS$L = {
|
|
10463
10484
|
title: "title",
|
|
10464
10485
|
close: "close",
|
|
10465
10486
|
imageContainer: "image-container",
|
|
@@ -10568,12 +10589,12 @@ class Chip {
|
|
|
10568
10589
|
renderChipImage() {
|
|
10569
10590
|
const { el } = this;
|
|
10570
10591
|
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
10571
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10592
|
+
return hasChipImage ? (hAsync("div", { class: CSS$L.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image }))) : null;
|
|
10572
10593
|
}
|
|
10573
10594
|
render() {
|
|
10574
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10575
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10576
|
-
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
10595
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$L.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
10596
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$L.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$L.closeIcon, icon: ICONS$b.close, scale: "s" })));
|
|
10597
|
+
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$L.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
|
|
10577
10598
|
}
|
|
10578
10599
|
get el() { return getElement(this); }
|
|
10579
10600
|
static get watchers() { return {
|
|
@@ -12713,7 +12734,7 @@ function zeroArray(array, length) {
|
|
|
12713
12734
|
|
|
12714
12735
|
var color = Color;
|
|
12715
12736
|
|
|
12716
|
-
const CSS$
|
|
12737
|
+
const CSS$K = {
|
|
12717
12738
|
container: "container",
|
|
12718
12739
|
controlSection: "control-section",
|
|
12719
12740
|
hexOptions: "color-hex-options",
|
|
@@ -13253,7 +13274,7 @@ class ColorPicker {
|
|
|
13253
13274
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
13254
13275
|
const active = channelMode === activeChannelMode;
|
|
13255
13276
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
13256
|
-
return (hAsync("calcite-tab-title", { active: active, class: CSS$
|
|
13277
|
+
return (hAsync("calcite-tab-title", { active: active, class: CSS$K.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
13257
13278
|
};
|
|
13258
13279
|
this.renderChannelsTab = (channelMode) => {
|
|
13259
13280
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -13264,11 +13285,11 @@ class ColorPicker {
|
|
|
13264
13285
|
? [intlRed, intlGreen, intlBlue]
|
|
13265
13286
|
: [intlHue, intlSaturation, intlValue];
|
|
13266
13287
|
const direction = getElementDir(this.el);
|
|
13267
|
-
return (hAsync("calcite-tab", { active: active, class: CSS$
|
|
13288
|
+
return (hAsync("calcite-tab", { active: active, class: CSS$K.control, key: channelMode }, hAsync("div", { class: CSS$K.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
13268
13289
|
/* the channel container is ltr, so we apply the host's direction */
|
|
13269
13290
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
13270
13291
|
};
|
|
13271
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
13292
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("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() }));
|
|
13272
13293
|
this.deleteColor = () => {
|
|
13273
13294
|
const colorToDelete = this.color.hex();
|
|
13274
13295
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13371,7 +13392,7 @@ class ColorPicker {
|
|
|
13371
13392
|
this.shiftKeyChannelAdjustment = 0;
|
|
13372
13393
|
const { key } = event;
|
|
13373
13394
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13374
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
13395
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$K.channel); })) {
|
|
13375
13396
|
return;
|
|
13376
13397
|
}
|
|
13377
13398
|
const { shiftKey } = event;
|
|
@@ -13442,20 +13463,20 @@ class ColorPicker {
|
|
|
13442
13463
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13443
13464
|
const noColor = color === null;
|
|
13444
13465
|
const vertical = scopeOrientation === "vertical";
|
|
13445
|
-
return (hAsync("div", { class: CSS$
|
|
13446
|
-
[CSS$
|
|
13447
|
-
[CSS$
|
|
13448
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("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$
|
|
13449
|
-
[CSS$
|
|
13450
|
-
[CSS$
|
|
13451
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13452
|
-
[CSS$
|
|
13453
|
-
[CSS$
|
|
13454
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13455
|
-
[CSS$
|
|
13456
|
-
[CSS$
|
|
13457
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
13458
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
13466
|
+
return (hAsync("div", { class: CSS$K.container }, hAsync("div", { class: CSS$K.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
13467
|
+
[CSS$K.colorFieldAndSlider]: true,
|
|
13468
|
+
[CSS$K.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
13469
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("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" }), hAsync("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 : (hAsync("div", { class: {
|
|
13470
|
+
[CSS$K.controlSection]: true,
|
|
13471
|
+
[CSS$K.section]: true
|
|
13472
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$K.hexOptions }, hAsync("span", { class: {
|
|
13473
|
+
[CSS$K.header]: true,
|
|
13474
|
+
[CSS$K.headerHex]: true
|
|
13475
|
+
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$K.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13476
|
+
[CSS$K.colorModeContainer]: true,
|
|
13477
|
+
[CSS$K.splitSection]: true
|
|
13478
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$K.savedColorsSection]: true, [CSS$K.section]: true } }, hAsync("div", { class: CSS$K.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$K.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$K.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("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 ? (hAsync("div", { class: CSS$K.savedColors }, [
|
|
13479
|
+
...savedColors.map((color) => (hAsync("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 })))
|
|
13459
13480
|
])) : null))));
|
|
13460
13481
|
}
|
|
13461
13482
|
// --------------------------------------------------------------------------
|
|
@@ -13701,7 +13722,7 @@ class ColorPicker {
|
|
|
13701
13722
|
}; }
|
|
13702
13723
|
}
|
|
13703
13724
|
|
|
13704
|
-
const CSS$
|
|
13725
|
+
const CSS$J = {
|
|
13705
13726
|
container: "container",
|
|
13706
13727
|
preview: "preview",
|
|
13707
13728
|
input: "input"
|
|
@@ -13837,7 +13858,7 @@ class ColorPickerHexInput {
|
|
|
13837
13858
|
render() {
|
|
13838
13859
|
const { intlHex, value } = this;
|
|
13839
13860
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13840
|
-
return (hAsync("div", { class: CSS$
|
|
13861
|
+
return (hAsync("div", { class: CSS$J.container }, hAsync("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 ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$J.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13841
13862
|
}
|
|
13842
13863
|
//--------------------------------------------------------------------------
|
|
13843
13864
|
//
|
|
@@ -13913,7 +13934,7 @@ class ColorPickerHexInput {
|
|
|
13913
13934
|
}; }
|
|
13914
13935
|
}
|
|
13915
13936
|
|
|
13916
|
-
const CSS$
|
|
13937
|
+
const CSS$I = {
|
|
13917
13938
|
swatch: "swatch",
|
|
13918
13939
|
noColorIcon: "no-color-icon"
|
|
13919
13940
|
};
|
|
@@ -13958,7 +13979,7 @@ class ColorPickerSwatch {
|
|
|
13958
13979
|
const hex = internalColor.hex();
|
|
13959
13980
|
const theme = getThemeName(el);
|
|
13960
13981
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
13961
|
-
return (hAsync("svg", { class: CSS$
|
|
13982
|
+
return (hAsync("svg", { class: CSS$I.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
13962
13983
|
}
|
|
13963
13984
|
get el() { return getElement(this); }
|
|
13964
13985
|
static get watchers() { return {
|
|
@@ -16562,7 +16583,7 @@ class Combobox {
|
|
|
16562
16583
|
}; }
|
|
16563
16584
|
}
|
|
16564
16585
|
|
|
16565
|
-
const CSS$
|
|
16586
|
+
const CSS$H = {
|
|
16566
16587
|
icon: "icon",
|
|
16567
16588
|
iconActive: "icon--active",
|
|
16568
16589
|
custom: "icon--custom",
|
|
@@ -16654,18 +16675,18 @@ class ComboboxItem {
|
|
|
16654
16675
|
// --------------------------------------------------------------------------
|
|
16655
16676
|
renderIcon(isSingle) {
|
|
16656
16677
|
const { icon, disabled, selected } = this;
|
|
16657
|
-
const level = `${CSS$
|
|
16678
|
+
const level = `${CSS$H.icon}--indent`;
|
|
16658
16679
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16659
16680
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16660
16681
|
const showDot = isSingle && !icon && !disabled;
|
|
16661
16682
|
return showDot ? (hAsync("span", { class: {
|
|
16662
|
-
[CSS$
|
|
16663
|
-
[CSS$
|
|
16683
|
+
[CSS$H.icon]: true,
|
|
16684
|
+
[CSS$H.dot]: true,
|
|
16664
16685
|
[level]: true
|
|
16665
16686
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16666
|
-
[CSS$
|
|
16667
|
-
[CSS$
|
|
16668
|
-
[CSS$
|
|
16687
|
+
[CSS$H.icon]: !icon,
|
|
16688
|
+
[CSS$H.custom]: !!icon,
|
|
16689
|
+
[CSS$H.iconActive]: icon && selected,
|
|
16669
16690
|
[level]: true
|
|
16670
16691
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16671
16692
|
}
|
|
@@ -16678,13 +16699,13 @@ class ComboboxItem {
|
|
|
16678
16699
|
render() {
|
|
16679
16700
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16680
16701
|
const classes = {
|
|
16681
|
-
[CSS$
|
|
16682
|
-
[CSS$
|
|
16683
|
-
[CSS$
|
|
16684
|
-
[CSS$
|
|
16702
|
+
[CSS$H.label]: true,
|
|
16703
|
+
[CSS$H.selected]: this.selected,
|
|
16704
|
+
[CSS$H.active]: this.active,
|
|
16705
|
+
[CSS$H.single]: isSingleSelect
|
|
16685
16706
|
};
|
|
16686
16707
|
const depth = getDepth();
|
|
16687
|
-
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
16708
|
+
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$H.title }, this.textLabel)), this.renderChildren())));
|
|
16688
16709
|
}
|
|
16689
16710
|
get el() { return getElement(this); }
|
|
16690
16711
|
static get watchers() { return {
|
|
@@ -16713,7 +16734,7 @@ class ComboboxItem {
|
|
|
16713
16734
|
}; }
|
|
16714
16735
|
}
|
|
16715
16736
|
|
|
16716
|
-
const CSS$
|
|
16737
|
+
const CSS$G = {
|
|
16717
16738
|
list: "list",
|
|
16718
16739
|
label: "label",
|
|
16719
16740
|
title: "title"
|
|
@@ -16746,8 +16767,8 @@ class ComboboxItemGroup {
|
|
|
16746
16767
|
// --------------------------------------------------------------------------
|
|
16747
16768
|
render() {
|
|
16748
16769
|
const { el, scale } = this;
|
|
16749
|
-
const indent = `${CSS$
|
|
16750
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
16770
|
+
const indent = `${CSS$G.label}--indent-${getDepth()}`;
|
|
16771
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$G.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$G.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$G.title }, this.label)), hAsync("slot", null)));
|
|
16751
16772
|
}
|
|
16752
16773
|
get el() { return getElement(this); }
|
|
16753
16774
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -18684,7 +18705,7 @@ class Dropdown {
|
|
|
18684
18705
|
}; }
|
|
18685
18706
|
}
|
|
18686
18707
|
|
|
18687
|
-
const CSS$
|
|
18708
|
+
const CSS$F = {
|
|
18688
18709
|
containerSmall: "container--s",
|
|
18689
18710
|
containerMedium: "container--m",
|
|
18690
18711
|
containerLarge: "container--l"
|
|
@@ -18719,9 +18740,9 @@ class DropdownGroup {
|
|
|
18719
18740
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18720
18741
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18721
18742
|
container: true,
|
|
18722
|
-
[CSS$
|
|
18723
|
-
[CSS$
|
|
18724
|
-
[CSS$
|
|
18743
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
18744
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
18745
|
+
[CSS$F.containerLarge]: scale === "l"
|
|
18725
18746
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18726
18747
|
}
|
|
18727
18748
|
//--------------------------------------------------------------------------
|
|
@@ -18761,7 +18782,7 @@ class DropdownGroup {
|
|
|
18761
18782
|
}; }
|
|
18762
18783
|
}
|
|
18763
18784
|
|
|
18764
|
-
const CSS$
|
|
18785
|
+
const CSS$E = {
|
|
18765
18786
|
containerLink: "container--link",
|
|
18766
18787
|
containerSmall: "container--s",
|
|
18767
18788
|
containerMedium: "container--m",
|
|
@@ -18851,13 +18872,13 @@ class DropdownItem {
|
|
|
18851
18872
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
18852
18873
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18853
18874
|
container: true,
|
|
18854
|
-
[CSS$
|
|
18855
|
-
[CSS$
|
|
18856
|
-
[CSS$
|
|
18857
|
-
[CSS$
|
|
18858
|
-
[CSS$
|
|
18859
|
-
[CSS$
|
|
18860
|
-
[CSS$
|
|
18875
|
+
[CSS$E.containerLink]: !!this.href,
|
|
18876
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
18877
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
18878
|
+
[CSS$E.containerLarge]: scale === "l",
|
|
18879
|
+
[CSS$E.containerMulti]: this.selectionMode === "multi",
|
|
18880
|
+
[CSS$E.containerSingle]: this.selectionMode === "single",
|
|
18881
|
+
[CSS$E.containerNone]: this.selectionMode === "none"
|
|
18861
18882
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18862
18883
|
}
|
|
18863
18884
|
//--------------------------------------------------------------------------
|
|
@@ -18968,7 +18989,7 @@ class DropdownItem {
|
|
|
18968
18989
|
}; }
|
|
18969
18990
|
}
|
|
18970
18991
|
|
|
18971
|
-
const CSS$
|
|
18992
|
+
const CSS$D = {
|
|
18972
18993
|
button: "button"
|
|
18973
18994
|
};
|
|
18974
18995
|
const ICONS$a = {
|
|
@@ -19041,7 +19062,7 @@ class Fab {
|
|
|
19041
19062
|
render() {
|
|
19042
19063
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
19043
19064
|
const title = !textEnabled ? label || text || null : null;
|
|
19044
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
19065
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$D.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
19045
19066
|
this.buttonEl = buttonEl;
|
|
19046
19067
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
19047
19068
|
}
|
|
@@ -19068,7 +19089,7 @@ class Fab {
|
|
|
19068
19089
|
}; }
|
|
19069
19090
|
}
|
|
19070
19091
|
|
|
19071
|
-
const CSS$
|
|
19092
|
+
const CSS$C = {
|
|
19072
19093
|
container: "container",
|
|
19073
19094
|
searchIcon: "search-icon"
|
|
19074
19095
|
};
|
|
@@ -19187,7 +19208,7 @@ class Filter {
|
|
|
19187
19208
|
// --------------------------------------------------------------------------
|
|
19188
19209
|
render() {
|
|
19189
19210
|
const { disabled, scale } = this;
|
|
19190
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
19211
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$C.container }, hAsync("label", null, hAsync("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) => {
|
|
19191
19212
|
this.textInput = el;
|
|
19192
19213
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19193
19214
|
}
|
|
@@ -19217,7 +19238,7 @@ class Filter {
|
|
|
19217
19238
|
}; }
|
|
19218
19239
|
}
|
|
19219
19240
|
|
|
19220
|
-
const CSS$
|
|
19241
|
+
const CSS$B = {
|
|
19221
19242
|
frame: "frame",
|
|
19222
19243
|
frameAdvancing: "frame--advancing",
|
|
19223
19244
|
frameRetreating: "frame--retreating"
|
|
@@ -19319,9 +19340,9 @@ class Flow {
|
|
|
19319
19340
|
render() {
|
|
19320
19341
|
const { flowDirection } = this;
|
|
19321
19342
|
const frameDirectionClasses = {
|
|
19322
|
-
[CSS$
|
|
19323
|
-
[CSS$
|
|
19324
|
-
[CSS$
|
|
19343
|
+
[CSS$B.frame]: true,
|
|
19344
|
+
[CSS$B.frameAdvancing]: flowDirection === "advancing",
|
|
19345
|
+
[CSS$B.frameRetreating]: flowDirection === "retreating"
|
|
19325
19346
|
};
|
|
19326
19347
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19327
19348
|
}
|
|
@@ -19342,7 +19363,7 @@ class Flow {
|
|
|
19342
19363
|
}; }
|
|
19343
19364
|
}
|
|
19344
19365
|
|
|
19345
|
-
const CSS$
|
|
19366
|
+
const CSS$A = {
|
|
19346
19367
|
backButton: "back-button"
|
|
19347
19368
|
};
|
|
19348
19369
|
const ICONS$8 = {
|
|
@@ -19362,7 +19383,7 @@ const SLOTS$j = {
|
|
|
19362
19383
|
footerActions: "footer-actions"
|
|
19363
19384
|
};
|
|
19364
19385
|
|
|
19365
|
-
const CSS$
|
|
19386
|
+
const CSS$z = {
|
|
19366
19387
|
backButton: "back-button",
|
|
19367
19388
|
container: "container",
|
|
19368
19389
|
header: "header",
|
|
@@ -19507,7 +19528,7 @@ class FlowItem {
|
|
|
19507
19528
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
19508
19529
|
const label = intlBack || TEXT$g.back;
|
|
19509
19530
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
19510
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
19531
|
+
return showBackButton ? (hAsync("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;
|
|
19511
19532
|
}
|
|
19512
19533
|
render() {
|
|
19513
19534
|
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
@@ -19774,7 +19795,7 @@ class Graph {
|
|
|
19774
19795
|
}; }
|
|
19775
19796
|
}
|
|
19776
19797
|
|
|
19777
|
-
const CSS$
|
|
19798
|
+
const CSS$y = {
|
|
19778
19799
|
handle: "handle",
|
|
19779
19800
|
handleActivated: "handle--activated"
|
|
19780
19801
|
};
|
|
@@ -19845,7 +19866,7 @@ class Handle {
|
|
|
19845
19866
|
render() {
|
|
19846
19867
|
return (
|
|
19847
19868
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19848
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
19869
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
19849
19870
|
this.handleButton = el;
|
|
19850
19871
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
19851
19872
|
}
|
|
@@ -19865,7 +19886,7 @@ class Handle {
|
|
|
19865
19886
|
}; }
|
|
19866
19887
|
}
|
|
19867
19888
|
|
|
19868
|
-
const CSS$
|
|
19889
|
+
const CSS$x = {
|
|
19869
19890
|
icon: "icon",
|
|
19870
19891
|
flipRtl: "flip-rtl"
|
|
19871
19892
|
};
|
|
@@ -19926,7 +19947,7 @@ class Icon {
|
|
|
19926
19947
|
const semantic = !!textLabel;
|
|
19927
19948
|
const paths = [].concat(pathData || "");
|
|
19928
19949
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19929
|
-
[CSS$
|
|
19950
|
+
[CSS$x.flipRtl]: dir === "rtl" && flipRtl,
|
|
19930
19951
|
svg: true
|
|
19931
19952
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
19932
19953
|
}
|
|
@@ -19972,7 +19993,7 @@ class Icon {
|
|
|
19972
19993
|
}; }
|
|
19973
19994
|
}
|
|
19974
19995
|
|
|
19975
|
-
const CSS$
|
|
19996
|
+
const CSS$w = {
|
|
19976
19997
|
wrapper: "wrapper",
|
|
19977
19998
|
confirmChangesButton: "confirm-changes-button",
|
|
19978
19999
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -20136,12 +20157,12 @@ class InlineEditable {
|
|
|
20136
20157
|
updateHostInteraction(this);
|
|
20137
20158
|
}
|
|
20138
20159
|
render() {
|
|
20139
|
-
return (hAsync("div", { class: CSS$
|
|
20160
|
+
return (hAsync("div", { class: CSS$w.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$w.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$w.controlsWrapper }, hAsync("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: {
|
|
20140
20161
|
opacity: this.editingEnabled ? "0" : "1",
|
|
20141
20162
|
width: this.editingEnabled ? "0" : "inherit"
|
|
20142
20163
|
}, type: "button" }), this.shouldShowControls && [
|
|
20143
|
-
hAsync("div", { class: CSS$
|
|
20144
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
20164
|
+
hAsync("div", { class: CSS$w.cancelEditingButtonWrapper }, hAsync("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" })),
|
|
20165
|
+
hAsync("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" })
|
|
20145
20166
|
])));
|
|
20146
20167
|
}
|
|
20147
20168
|
//--------------------------------------------------------------------------
|
|
@@ -20223,7 +20244,7 @@ class InlineEditable {
|
|
|
20223
20244
|
}; }
|
|
20224
20245
|
}
|
|
20225
20246
|
|
|
20226
|
-
const CSS$
|
|
20247
|
+
const CSS$v = {
|
|
20227
20248
|
loader: "loader",
|
|
20228
20249
|
clearButton: "clear-button",
|
|
20229
20250
|
editingEnabled: "editing-enabled",
|
|
@@ -20802,34 +20823,34 @@ class Input {
|
|
|
20802
20823
|
// --------------------------------------------------------------------------
|
|
20803
20824
|
render() {
|
|
20804
20825
|
const dir = getElementDir(this.el);
|
|
20805
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20806
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$
|
|
20807
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
20826
|
+
const loader = (hAsync("div", { class: CSS$v.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
20827
|
+
const inputClearButton = (hAsync("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" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
20828
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
20808
20829
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20809
20830
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20810
|
-
[CSS$
|
|
20811
|
-
[CSS$
|
|
20831
|
+
[CSS$v.numberButtonItem]: true,
|
|
20832
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20812
20833
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
20813
20834
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20814
|
-
[CSS$
|
|
20815
|
-
[CSS$
|
|
20835
|
+
[CSS$v.numberButtonItem]: true,
|
|
20836
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20816
20837
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
20817
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20818
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20819
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
20838
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
20839
|
+
const prefixText = hAsync("div", { class: CSS$v.prefix }, this.prefixText);
|
|
20840
|
+
const suffixText = hAsync("div", { class: CSS$v.suffix }, this.suffixText);
|
|
20820
20841
|
const localeNumberInput = this.type === "number" ? (hAsync("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;
|
|
20821
20842
|
const childEl = this.type !== "number"
|
|
20822
20843
|
? [
|
|
20823
20844
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20824
|
-
[CSS$
|
|
20825
|
-
[CSS$
|
|
20845
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
20846
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
20826
20847
|
}, 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 }),
|
|
20827
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20848
|
+
this.isTextarea ? (hAsync("div", { class: CSS$v.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20828
20849
|
]
|
|
20829
20850
|
: null;
|
|
20830
|
-
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
20851
|
+
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20831
20852
|
? numberButtonsHorizontalDown
|
|
20832
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
20853
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$v.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$v.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
20833
20854
|
? numberButtonsVertical
|
|
20834
20855
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20835
20856
|
? numberButtonsHorizontalUp
|
|
@@ -20892,7 +20913,7 @@ class Input {
|
|
|
20892
20913
|
}; }
|
|
20893
20914
|
}
|
|
20894
20915
|
|
|
20895
|
-
const CSS$
|
|
20916
|
+
const CSS$u = {
|
|
20896
20917
|
menu: "menu-container",
|
|
20897
20918
|
menuActive: "menu-container--active"
|
|
20898
20919
|
};
|
|
@@ -21228,8 +21249,8 @@ class InputDatePicker {
|
|
|
21228
21249
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
21229
21250
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
21230
21251
|
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("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 })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21231
|
-
[CSS$
|
|
21232
|
-
[CSS$
|
|
21252
|
+
[CSS$u.menu]: true,
|
|
21253
|
+
[CSS$u.menuActive]: this.open
|
|
21233
21254
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
21234
21255
|
["calendar-picker-wrapper"]: true,
|
|
21235
21256
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -21542,7 +21563,7 @@ class InputMessage {
|
|
|
21542
21563
|
}; }
|
|
21543
21564
|
}
|
|
21544
21565
|
|
|
21545
|
-
const CSS$
|
|
21566
|
+
const CSS$t = {
|
|
21546
21567
|
loader: "loader",
|
|
21547
21568
|
clearButton: "clear-button",
|
|
21548
21569
|
editingEnabled: "editing-enabled",
|
|
@@ -22029,25 +22050,25 @@ class InputNumber {
|
|
|
22029
22050
|
// --------------------------------------------------------------------------
|
|
22030
22051
|
render() {
|
|
22031
22052
|
const dir = getElementDir(this.el);
|
|
22032
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22033
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$
|
|
22034
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22053
|
+
const loader = (hAsync("div", { class: CSS$t.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
22054
|
+
const inputClearButton = (hAsync("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" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
22055
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
22035
22056
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22036
22057
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
22037
|
-
[CSS$
|
|
22038
|
-
[CSS$
|
|
22058
|
+
[CSS$t.numberButtonItem]: true,
|
|
22059
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22039
22060
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
22040
22061
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
22041
|
-
[CSS$
|
|
22042
|
-
[CSS$
|
|
22062
|
+
[CSS$t.numberButtonItem]: true,
|
|
22063
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22043
22064
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
22044
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22045
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22046
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22065
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22066
|
+
const prefixText = hAsync("div", { class: CSS$t.prefix }, this.prefixText);
|
|
22067
|
+
const suffixText = hAsync("div", { class: CSS$t.suffix }, this.suffixText);
|
|
22047
22068
|
const childEl = (hAsync("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 }));
|
|
22048
|
-
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22069
|
+
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
22049
22070
|
? numberButtonsHorizontalDown
|
|
22050
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22071
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$t.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
22051
22072
|
? numberButtonsHorizontalUp
|
|
22052
22073
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22053
22074
|
}
|
|
@@ -22105,7 +22126,7 @@ class InputNumber {
|
|
|
22105
22126
|
}; }
|
|
22106
22127
|
}
|
|
22107
22128
|
|
|
22108
|
-
const CSS$
|
|
22129
|
+
const CSS$s = {
|
|
22109
22130
|
loader: "loader",
|
|
22110
22131
|
clearButton: "clear-button",
|
|
22111
22132
|
editingEnabled: "editing-enabled",
|
|
@@ -22413,16 +22434,16 @@ class InputText {
|
|
|
22413
22434
|
// --------------------------------------------------------------------------
|
|
22414
22435
|
render() {
|
|
22415
22436
|
const dir = getElementDir(this.el);
|
|
22416
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22417
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$
|
|
22418
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22419
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22420
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22437
|
+
const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
22438
|
+
const inputClearButton = (hAsync("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" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
22439
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
22440
|
+
const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
|
|
22441
|
+
const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
|
|
22421
22442
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
22422
|
-
[CSS$
|
|
22423
|
-
[CSS$
|
|
22443
|
+
[CSS$s.editingEnabled]: this.editingEnabled,
|
|
22444
|
+
[CSS$s.inlineChild]: !!this.inlineEditableEl
|
|
22424
22445
|
}, 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 }));
|
|
22425
|
-
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22446
|
+
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22426
22447
|
}
|
|
22427
22448
|
get el() { return getElement(this); }
|
|
22428
22449
|
static get watchers() { return {
|
|
@@ -22949,7 +22970,7 @@ class InputTimePicker {
|
|
|
22949
22970
|
}; }
|
|
22950
22971
|
}
|
|
22951
22972
|
|
|
22952
|
-
const CSS$
|
|
22973
|
+
const CSS$r = {
|
|
22953
22974
|
container: "container"
|
|
22954
22975
|
};
|
|
22955
22976
|
|
|
@@ -23014,7 +23035,7 @@ class Label {
|
|
|
23014
23035
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
23015
23036
|
}
|
|
23016
23037
|
render() {
|
|
23017
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
23038
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$r.container }, hAsync("slot", null))));
|
|
23018
23039
|
}
|
|
23019
23040
|
get el() { return getElement(this); }
|
|
23020
23041
|
static get style() { return labelCss; }
|
|
@@ -23139,7 +23160,7 @@ class Link {
|
|
|
23139
23160
|
}; }
|
|
23140
23161
|
}
|
|
23141
23162
|
|
|
23142
|
-
const CSS$
|
|
23163
|
+
const CSS$q = {
|
|
23143
23164
|
container: "container"
|
|
23144
23165
|
};
|
|
23145
23166
|
|
|
@@ -23187,7 +23208,7 @@ class List$1 {
|
|
|
23187
23208
|
//
|
|
23188
23209
|
// --------------------------------------------------------------------------
|
|
23189
23210
|
render() {
|
|
23190
|
-
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$
|
|
23211
|
+
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$q.container }, hAsync("slot", null))));
|
|
23191
23212
|
}
|
|
23192
23213
|
get el() { return getElement(this); }
|
|
23193
23214
|
static get style() { return listCss; }
|
|
@@ -23205,7 +23226,7 @@ class List$1 {
|
|
|
23205
23226
|
}; }
|
|
23206
23227
|
}
|
|
23207
23228
|
|
|
23208
|
-
const CSS$
|
|
23229
|
+
const CSS$p = {
|
|
23209
23230
|
container: "container",
|
|
23210
23231
|
contentContainer: "content-container",
|
|
23211
23232
|
nestedContainer: "nested-container",
|
|
@@ -23226,7 +23247,7 @@ const SLOTS$e = {
|
|
|
23226
23247
|
actionsEnd: "actions-end"
|
|
23227
23248
|
};
|
|
23228
23249
|
|
|
23229
|
-
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*/.sc-calcite-list-item: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*/.calcite-animate.sc-calcite-list-item{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*/.calcite-animate__in.sc-calcite-list-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{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*/.sc-calcite-list-item-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{-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 **/.container.sc-calcite-list-item *.sc-calcite-list-item{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.content-container*/.content-container.sc-calcite-list-item{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*/.content-container--button.sc-calcite-list-item{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}/*!@.content-container--button:hover*/.content-container--button.sc-calcite-list-item:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.content-container--button:hover .label, \n.content-container--button:hover .description*/.content-container--button.sc-calcite-list-item:hover .label.sc-calcite-list-item,.content-container--button.sc-calcite-list-item:hover .description.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.content-container--button:focus*/.content-container--button.sc-calcite-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.content-container--button .content-start, \n.content-container--button .content-end*/.content-container--button.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--button.sc-calcite-list-item .content-end.sc-calcite-list-item{pointer-events:none}/*!@.content*/.content.sc-calcite-list-item{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, \n.description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{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, \n.description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-block:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{-ms-flex-pack:start;justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{-ms-flex-pack:end;justify-content:flex-end}/*!@.content-start, \n.content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{-ms-flex:1 1 auto;flex:1 1 auto}/*!@.has-center-content .content-start, \n.has-center-content .content-end*/.has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{-ms-flex:0 1 auto;flex:0 1 auto}/*!@.actions-start, \n.actions-end, \n.content-start, \n.content-end*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.content-start ::slotted(calcite-icon), \n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{-ms-flex-item-align:center;align-self:center
|
|
23250
|
+
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*/.sc-calcite-list-item: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*/.calcite-animate.sc-calcite-list-item{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*/.calcite-animate__in.sc-calcite-list-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-item-h{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*/.sc-calcite-list-item-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-item-h[disabled] .sc-calcite-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-item-h [calcite-hydrated][disabled].sc-calcite-list-item{opacity:1}/*!@.container*/.container.sc-calcite-list-item{-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 **/.container.sc-calcite-list-item *.sc-calcite-list-item{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@.nested-container*/.nested-container.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@.content-container*/.content-container.sc-calcite-list-item{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*/.content-container--button.sc-calcite-list-item{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}/*!@.content-container--button:hover*/.content-container--button.sc-calcite-list-item:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.content-container--button:hover .label, \n.content-container--button:hover .description*/.content-container--button.sc-calcite-list-item:hover .label.sc-calcite-list-item,.content-container--button.sc-calcite-list-item:hover .description.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.content-container--button:focus*/.content-container--button.sc-calcite-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.content-container--button .content-start, \n.content-container--button .content-end*/.content-container--button.sc-calcite-list-item .content-start.sc-calcite-list-item,.content-container--button.sc-calcite-list-item .content-end.sc-calcite-list-item{pointer-events:none}/*!@.content*/.content.sc-calcite-list-item{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, \n.description*/.label.sc-calcite-list-item,.description.sc-calcite-list-item{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, \n.description:only-child*/.label.sc-calcite-list-item:only-child,.description.sc-calcite-list-item:only-child{margin:0px;padding-block:0.25rem}/*!@.label*/.label.sc-calcite-list-item{color:var(--calcite-ui-text-1)}/*!@.description*/.description.sc-calcite-list-item{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}/*!@.content-start*/.content-start.sc-calcite-list-item{-ms-flex-pack:start;justify-content:flex-start}/*!@.content-end*/.content-end.sc-calcite-list-item{-ms-flex-pack:end;justify-content:flex-end}/*!@.content-start, \n.content-end*/.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{-ms-flex:1 1 auto;flex:1 1 auto}/*!@.has-center-content .content-start, \n.has-center-content .content-end*/.has-center-content.sc-calcite-list-item .content-start.sc-calcite-list-item,.has-center-content.sc-calcite-list-item .content-end.sc-calcite-list-item{-ms-flex:0 1 auto;flex:0 1 auto}/*!@.actions-start, \n.actions-end, \n.content-start, \n.content-end*/.actions-start.sc-calcite-list-item,.actions-end.sc-calcite-list-item,.content-start.sc-calcite-list-item,.content-end.sc-calcite-list-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.content-start ::slotted(calcite-icon), \n.content-end ::slotted(calcite-icon)*/.content-start .sc-calcite-list-item-s>calcite-icon,.content-end .sc-calcite-list-item-s>calcite-icon{margin-inline:0.75rem;-ms-flex-item-align:center;align-self:center}/*!@.actions-start ::slotted(calcite-action), \n.actions-end ::slotted(calcite-action)*/.actions-start .sc-calcite-list-item-s>calcite-action,.actions-end .sc-calcite-list-item-s>calcite-action{-ms-flex-item-align:stretch;align-self:stretch;color:inherit}/*!@::slotted(calcite-list-item-group),\n::slotted(calcite-list-item)*/.sc-calcite-list-item-s>calcite-list-item-group,.sc-calcite-list-item-s>calcite-list-item{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
23230
23251
|
|
|
23231
23252
|
/**
|
|
23232
23253
|
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
|
|
@@ -23288,36 +23309,36 @@ class ListItem {
|
|
|
23288
23309
|
// --------------------------------------------------------------------------
|
|
23289
23310
|
renderActionsStart() {
|
|
23290
23311
|
const { el } = this;
|
|
23291
|
-
return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$
|
|
23312
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$p.actionsStart }, hAsync("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
23292
23313
|
}
|
|
23293
23314
|
renderActionsEnd() {
|
|
23294
23315
|
const { el } = this;
|
|
23295
|
-
return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
23316
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$p.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
23296
23317
|
}
|
|
23297
23318
|
renderContentStart() {
|
|
23298
23319
|
const { el } = this;
|
|
23299
|
-
return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$
|
|
23320
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$p.contentStart }, hAsync("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
23300
23321
|
}
|
|
23301
23322
|
renderContentEnd() {
|
|
23302
23323
|
const { el } = this;
|
|
23303
|
-
return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$
|
|
23324
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$p.contentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
23304
23325
|
}
|
|
23305
23326
|
renderContent() {
|
|
23306
23327
|
const { label, description } = this;
|
|
23307
|
-
return !!label || !!description ? (hAsync("div", { class: CSS$
|
|
23328
|
+
return !!label || !!description ? (hAsync("div", { class: CSS$p.content }, label ? hAsync("div", { class: CSS$p.label }, label) : null, description ? hAsync("div", { class: CSS$p.description }, description) : null)) : null;
|
|
23308
23329
|
}
|
|
23309
23330
|
renderContentContainer() {
|
|
23310
23331
|
const { description, disabled, label, nonInteractive } = this;
|
|
23311
23332
|
const hasCenterContent = !!label || !!description;
|
|
23312
23333
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
23313
23334
|
return !nonInteractive ? (hAsync("button", { class: {
|
|
23314
|
-
[CSS$
|
|
23315
|
-
[CSS$
|
|
23316
|
-
[CSS$
|
|
23317
|
-
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$
|
|
23335
|
+
[CSS$p.contentContainer]: true,
|
|
23336
|
+
[CSS$p.contentContainerButton]: true,
|
|
23337
|
+
[CSS$p.hasCenterContent]: hasCenterContent
|
|
23338
|
+
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$p.contentContainer]: true, [CSS$p.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
|
|
23318
23339
|
}
|
|
23319
23340
|
render() {
|
|
23320
|
-
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$
|
|
23341
|
+
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$p.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: CSS$p.nestedContainer }, hAsync("slot", null))));
|
|
23321
23342
|
}
|
|
23322
23343
|
get el() { return getElement(this); }
|
|
23323
23344
|
static get style() { return listItemCss; }
|
|
@@ -23337,7 +23358,7 @@ class ListItem {
|
|
|
23337
23358
|
}; }
|
|
23338
23359
|
}
|
|
23339
23360
|
|
|
23340
|
-
const CSS$
|
|
23361
|
+
const CSS$o = {
|
|
23341
23362
|
heading: "heading",
|
|
23342
23363
|
container: "container"
|
|
23343
23364
|
};
|
|
@@ -23363,7 +23384,7 @@ class ListItemGroup {
|
|
|
23363
23384
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
23364
23385
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
23365
23386
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
23366
|
-
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$
|
|
23387
|
+
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$o.heading, level: level }, heading)) : null, hAsync("div", { class: CSS$o.container, role: "group" }, hAsync("slot", null))));
|
|
23367
23388
|
}
|
|
23368
23389
|
get el() { return getElement(this); }
|
|
23369
23390
|
static get style() { return listItemGroupCss; }
|
|
@@ -23582,7 +23603,7 @@ function isFocusable($elem) {
|
|
|
23582
23603
|
|| $elem instanceof HTMLIFrameElement);
|
|
23583
23604
|
}
|
|
23584
23605
|
|
|
23585
|
-
const CSS$
|
|
23606
|
+
const CSS$n = {
|
|
23586
23607
|
modal: "modal",
|
|
23587
23608
|
modalOpen: "modal--open",
|
|
23588
23609
|
title: "title",
|
|
@@ -23762,29 +23783,29 @@ class Modal {
|
|
|
23762
23783
|
disconnectOpenCloseComponent(this);
|
|
23763
23784
|
}
|
|
23764
23785
|
render() {
|
|
23765
|
-
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$
|
|
23766
|
-
[CSS$
|
|
23767
|
-
[CSS$
|
|
23768
|
-
}, ref: this.setTransitionEl }, hAsync("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), hAsync("div", { class: CSS$
|
|
23786
|
+
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
23787
|
+
[CSS$n.modal]: true,
|
|
23788
|
+
[CSS$n.modalOpen]: this.isOpen
|
|
23789
|
+
}, ref: this.setTransitionEl }, hAsync("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), hAsync("div", { class: CSS$n.header }, this.renderCloseButton(), hAsync("header", { class: CSS$n.title }, hAsync("slot", { name: CSS$n.header }))), hAsync("div", { class: {
|
|
23769
23790
|
content: true,
|
|
23770
23791
|
"content--spaced": !this.noPadding,
|
|
23771
23792
|
"content--no-footer": !this.hasFooter
|
|
23772
23793
|
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderFooter(), hAsync("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
23773
23794
|
}
|
|
23774
23795
|
renderFooter() {
|
|
23775
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
23796
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$n.footer, key: "footer" }, hAsync("span", { class: CSS$n.back }, hAsync("slot", { name: SLOTS$d.back })), hAsync("span", { class: CSS$n.secondary }, hAsync("slot", { name: SLOTS$d.secondary })), hAsync("span", { class: CSS$n.primary }, hAsync("slot", { name: SLOTS$d.primary })))) : null;
|
|
23776
23797
|
}
|
|
23777
23798
|
renderCloseButton() {
|
|
23778
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23799
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$n.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
23779
23800
|
}
|
|
23780
23801
|
renderStyle() {
|
|
23781
23802
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
23782
23803
|
return hasCustomWidth ? (hAsync("style", null, `
|
|
23783
|
-
.${CSS$
|
|
23804
|
+
.${CSS$n.modal} {
|
|
23784
23805
|
max-width: ${this.width}px !important;
|
|
23785
23806
|
}
|
|
23786
23807
|
@media screen and (max-width: ${this.width}px) {
|
|
23787
|
-
.${CSS$
|
|
23808
|
+
.${CSS$n.modal} {
|
|
23788
23809
|
height: 100% !important;
|
|
23789
23810
|
max-height: 100% !important;
|
|
23790
23811
|
width: 100% !important;
|
|
@@ -23857,19 +23878,19 @@ class Modal {
|
|
|
23857
23878
|
}
|
|
23858
23879
|
}
|
|
23859
23880
|
onBeforeOpen() {
|
|
23860
|
-
this.transitionEl.classList.add(CSS$
|
|
23881
|
+
this.transitionEl.classList.add(CSS$n.openingActive);
|
|
23861
23882
|
this.calciteModalBeforeOpen.emit();
|
|
23862
23883
|
}
|
|
23863
23884
|
onOpen() {
|
|
23864
|
-
this.transitionEl.classList.remove(CSS$
|
|
23885
|
+
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
23865
23886
|
this.calciteModalOpen.emit();
|
|
23866
23887
|
}
|
|
23867
23888
|
onBeforeClose() {
|
|
23868
|
-
this.transitionEl.classList.add(CSS$
|
|
23889
|
+
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
23869
23890
|
this.calciteModalBeforeClose.emit();
|
|
23870
23891
|
}
|
|
23871
23892
|
onClose() {
|
|
23872
|
-
this.transitionEl.classList.remove(CSS$
|
|
23893
|
+
this.transitionEl.classList.remove(CSS$n.closingIdle, CSS$n.closingActive);
|
|
23873
23894
|
this.calciteModalClose.emit();
|
|
23874
23895
|
}
|
|
23875
23896
|
activeHandler(value) {
|
|
@@ -23879,11 +23900,11 @@ class Modal {
|
|
|
23879
23900
|
var _a, _b;
|
|
23880
23901
|
this.active = value;
|
|
23881
23902
|
if (value) {
|
|
23882
|
-
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$
|
|
23903
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$n.openingIdle);
|
|
23883
23904
|
this.openModal();
|
|
23884
23905
|
}
|
|
23885
23906
|
else {
|
|
23886
|
-
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$
|
|
23907
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$n.closingIdle);
|
|
23887
23908
|
this.close();
|
|
23888
23909
|
}
|
|
23889
23910
|
}
|
|
@@ -23897,10 +23918,10 @@ class Modal {
|
|
|
23897
23918
|
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
23898
23919
|
this.titleId = ensureId(titleEl);
|
|
23899
23920
|
this.contentId = ensureId(contentEl);
|
|
23900
|
-
document.documentElement.classList.add(CSS$
|
|
23921
|
+
document.documentElement.classList.add(CSS$n.overflowHidden);
|
|
23901
23922
|
}
|
|
23902
23923
|
removeOverflowHiddenClass() {
|
|
23903
|
-
document.documentElement.classList.remove(CSS$
|
|
23924
|
+
document.documentElement.classList.remove(CSS$n.overflowHidden);
|
|
23904
23925
|
}
|
|
23905
23926
|
get el() { return getElement(this); }
|
|
23906
23927
|
static get watchers() { return {
|
|
@@ -23947,7 +23968,7 @@ const SLOTS$c = {
|
|
|
23947
23968
|
link: "link",
|
|
23948
23969
|
actionsEnd: "actions-end"
|
|
23949
23970
|
};
|
|
23950
|
-
const CSS$
|
|
23971
|
+
const CSS$m = {
|
|
23951
23972
|
actionsEnd: "actions-end",
|
|
23952
23973
|
close: "notice-close",
|
|
23953
23974
|
container: "container",
|
|
@@ -24059,9 +24080,9 @@ class Notice {
|
|
|
24059
24080
|
}
|
|
24060
24081
|
render() {
|
|
24061
24082
|
const { el } = this;
|
|
24062
|
-
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
24083
|
+
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24063
24084
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
24064
|
-
return (hAsync("div", { class: CSS$
|
|
24085
|
+
return (hAsync("div", { class: CSS$m.container }, this.requestedIcon ? (hAsync("div", { class: CSS$m.icon }, hAsync("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$m.content }, hAsync("slot", { name: SLOTS$c.title }), hAsync("slot", { name: SLOTS$c.message }), hAsync("slot", { name: SLOTS$c.link })), hasActionEnd ? (hAsync("div", { class: CSS$m.actionsEnd }, hAsync("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
24065
24086
|
}
|
|
24066
24087
|
//--------------------------------------------------------------------------
|
|
24067
24088
|
//
|
|
@@ -24309,7 +24330,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
24309
24330
|
}
|
|
24310
24331
|
}
|
|
24311
24332
|
|
|
24312
|
-
const CSS$
|
|
24333
|
+
const CSS$l = {
|
|
24313
24334
|
page: "page",
|
|
24314
24335
|
selected: "is-selected",
|
|
24315
24336
|
previous: "previous",
|
|
@@ -24464,8 +24485,8 @@ class Pagination {
|
|
|
24464
24485
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
24465
24486
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
24466
24487
|
return (hAsync("button", { class: {
|
|
24467
|
-
[CSS$
|
|
24468
|
-
[CSS$
|
|
24488
|
+
[CSS$l.page]: true,
|
|
24489
|
+
[CSS$l.selected]: start === this.start
|
|
24469
24490
|
}, onClick: () => {
|
|
24470
24491
|
this.start = start;
|
|
24471
24492
|
this.emitUpdate();
|
|
@@ -24473,12 +24494,12 @@ class Pagination {
|
|
|
24473
24494
|
}
|
|
24474
24495
|
renderLeftEllipsis() {
|
|
24475
24496
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
24476
|
-
return hAsync("span", { class: `${CSS$
|
|
24497
|
+
return hAsync("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisStart}` }, "\u2026");
|
|
24477
24498
|
}
|
|
24478
24499
|
}
|
|
24479
24500
|
renderRightEllipsis() {
|
|
24480
24501
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
24481
|
-
return hAsync("span", { class: `${CSS$
|
|
24502
|
+
return hAsync("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisEnd}` }, "\u2026");
|
|
24482
24503
|
}
|
|
24483
24504
|
}
|
|
24484
24505
|
render() {
|
|
@@ -24486,11 +24507,11 @@ class Pagination {
|
|
|
24486
24507
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
24487
24508
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
24488
24509
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.textLabelPrevious, class: {
|
|
24489
|
-
[CSS$
|
|
24490
|
-
[CSS$
|
|
24510
|
+
[CSS$l.previous]: true,
|
|
24511
|
+
[CSS$l.disabled]: prevDisabled
|
|
24491
24512
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.textLabelNext, class: {
|
|
24492
|
-
[CSS$
|
|
24493
|
-
[CSS$
|
|
24513
|
+
[CSS$l.next]: true,
|
|
24514
|
+
[CSS$l.disabled]: nextDisabled
|
|
24494
24515
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
24495
24516
|
}
|
|
24496
24517
|
get el() { return getElement(this); }
|
|
@@ -24772,23 +24793,23 @@ class Panel {
|
|
|
24772
24793
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
24773
24794
|
const label = intlBack || TEXT$f.back;
|
|
24774
24795
|
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
24775
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
24796
|
+
return showBackButton ? (hAsync("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;
|
|
24776
24797
|
}
|
|
24777
24798
|
renderHeaderContent() {
|
|
24778
24799
|
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
24779
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
24780
|
-
const descriptionNode = description || summary ? hAsync("span", { class: CSS$
|
|
24781
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
24800
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$z.heading, level: headingLevel || HEADING_LEVEL$5 }, heading)) : null;
|
|
24801
|
+
const descriptionNode = description || summary ? hAsync("span", { class: CSS$z.description }, description || summary) : null;
|
|
24802
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$z.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
24782
24803
|
}
|
|
24783
24804
|
/**
|
|
24784
24805
|
* Allows user to override the entire header-content node.
|
|
24785
24806
|
*/
|
|
24786
24807
|
renderHeaderSlottedContent() {
|
|
24787
|
-
return (hAsync("div", { class: CSS$
|
|
24808
|
+
return (hAsync("div", { class: CSS$z.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$i.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
24788
24809
|
}
|
|
24789
24810
|
renderHeaderStartActions() {
|
|
24790
24811
|
const { hasStartActions } = this;
|
|
24791
|
-
return (hAsync("div", { class: { [CSS$
|
|
24812
|
+
return (hAsync("div", { class: { [CSS$z.headerActionsStart]: true, [CSS$z.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$i.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
24792
24813
|
}
|
|
24793
24814
|
renderHeaderActionsEnd() {
|
|
24794
24815
|
const { close, hasEndActions, intlClose, closable } = this;
|
|
@@ -24796,7 +24817,7 @@ class Panel {
|
|
|
24796
24817
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
24797
24818
|
const slotNode = (hAsync("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
24798
24819
|
const showContainer = hasEndActions || closableNode;
|
|
24799
|
-
return (hAsync("div", { class: { [CSS$
|
|
24820
|
+
return (hAsync("div", { class: { [CSS$z.headerActionsEnd]: true, [CSS$z.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
24800
24821
|
}
|
|
24801
24822
|
renderMenu() {
|
|
24802
24823
|
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
@@ -24812,26 +24833,26 @@ class Panel {
|
|
|
24812
24833
|
hasEndActions ||
|
|
24813
24834
|
closable ||
|
|
24814
24835
|
hasMenuItems;
|
|
24815
|
-
return (hAsync("header", { class: CSS$
|
|
24836
|
+
return (hAsync("header", { class: CSS$z.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
24816
24837
|
}
|
|
24817
24838
|
renderFooterNode() {
|
|
24818
24839
|
const { hasFooterContent, hasFooterActions } = this;
|
|
24819
24840
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
24820
|
-
return (hAsync("footer", { class: CSS$
|
|
24841
|
+
return (hAsync("footer", { class: CSS$z.footer, hidden: !showFooter, key: "footer" }, hAsync("slot", { key: "footer-slot", name: SLOTS$i.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$i.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
24821
24842
|
}
|
|
24822
24843
|
renderContent() {
|
|
24823
24844
|
const { hasFab } = this;
|
|
24824
24845
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
24825
24846
|
const contentWrapperKey = "content-wrapper";
|
|
24826
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
24827
|
-
return (hAsync("div", { class: { [CSS$
|
|
24847
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$z.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
24848
|
+
return (hAsync("div", { class: { [CSS$z.contentWrapper]: true, [CSS$z.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
24828
24849
|
}
|
|
24829
24850
|
renderFab() {
|
|
24830
|
-
return (hAsync("div", { class: CSS$
|
|
24851
|
+
return (hAsync("div", { class: CSS$z.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$i.fab, onSlotchange: this.handleFabSlotChange })));
|
|
24831
24852
|
}
|
|
24832
24853
|
render() {
|
|
24833
24854
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
24834
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
24855
|
+
const panelNode = (hAsync("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()));
|
|
24835
24856
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
24836
24857
|
}
|
|
24837
24858
|
get el() { return getElement(this); }
|
|
@@ -24880,7 +24901,7 @@ class Panel {
|
|
|
24880
24901
|
}; }
|
|
24881
24902
|
}
|
|
24882
24903
|
|
|
24883
|
-
const CSS$
|
|
24904
|
+
const CSS$k = {
|
|
24884
24905
|
sticky: "sticky-pos"
|
|
24885
24906
|
};
|
|
24886
24907
|
var ICON_TYPES$1;
|
|
@@ -24893,7 +24914,7 @@ const SLOTS$b = {
|
|
|
24893
24914
|
menuActions: "menu-actions"
|
|
24894
24915
|
};
|
|
24895
24916
|
|
|
24896
|
-
const CSS$
|
|
24917
|
+
const CSS$j = {
|
|
24897
24918
|
heading: "heading",
|
|
24898
24919
|
container: "container",
|
|
24899
24920
|
indented: "container--indented"
|
|
@@ -25199,7 +25220,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
25199
25220
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
25200
25221
|
hAsync("section", null,
|
|
25201
25222
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
25202
|
-
hAsync("header", { class: { [CSS$
|
|
25223
|
+
hAsync("header", { class: { [CSS$k.sticky]: true } },
|
|
25203
25224
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
25204
25225
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
25205
25226
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
@@ -25390,14 +25411,14 @@ class PickListGroup {
|
|
|
25390
25411
|
const { el, groupTitle, headingLevel } = this;
|
|
25391
25412
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
25392
25413
|
const sectionClasses = {
|
|
25393
|
-
[CSS$
|
|
25394
|
-
[CSS$
|
|
25414
|
+
[CSS$j.container]: true,
|
|
25415
|
+
[CSS$j.indented]: hasParentItem
|
|
25395
25416
|
};
|
|
25396
25417
|
const title = groupTitle;
|
|
25397
25418
|
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
25398
25419
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
25399
25420
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$3;
|
|
25400
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
25421
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$j.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$a.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
25401
25422
|
}
|
|
25402
25423
|
get el() { return getElement(this); }
|
|
25403
25424
|
static get style() { return pickListGroupCss; }
|
|
@@ -25414,7 +25435,7 @@ class PickListGroup {
|
|
|
25414
25435
|
}; }
|
|
25415
25436
|
}
|
|
25416
25437
|
|
|
25417
|
-
const CSS$
|
|
25438
|
+
const CSS$i = {
|
|
25418
25439
|
actions: "actions",
|
|
25419
25440
|
actionsEnd: "actions--end",
|
|
25420
25441
|
actionsStart: "actions--start",
|
|
@@ -25576,26 +25597,26 @@ class PickListItem {
|
|
|
25576
25597
|
return null;
|
|
25577
25598
|
}
|
|
25578
25599
|
return (hAsync("span", { class: {
|
|
25579
|
-
[CSS$
|
|
25580
|
-
[CSS$
|
|
25600
|
+
[CSS$i.icon]: true,
|
|
25601
|
+
[CSS$i.iconDot]: icon === ICON_TYPES$1.circle
|
|
25581
25602
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? hAsync("calcite-icon", { icon: ICONS$4.checked, scale: "s" }) : null));
|
|
25582
25603
|
}
|
|
25583
25604
|
renderRemoveAction() {
|
|
25584
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
25605
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$i.remove, icon: ICONS$4.remove, onCalciteActionClick: this.removeClickHandler, slot: SLOTS$9.actionsEnd, text: this.intlRemove })) : null;
|
|
25585
25606
|
}
|
|
25586
25607
|
renderActionsStart() {
|
|
25587
25608
|
const { el } = this;
|
|
25588
25609
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
25589
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
25610
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsStart]: true } }, hAsync("slot", { name: SLOTS$9.actionsStart }))) : null;
|
|
25590
25611
|
}
|
|
25591
25612
|
renderActionsEnd() {
|
|
25592
25613
|
const { el, removable } = this;
|
|
25593
25614
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
25594
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
25615
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
|
|
25595
25616
|
}
|
|
25596
25617
|
render() {
|
|
25597
25618
|
const { description, label } = this;
|
|
25598
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
25619
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$i.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$i.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$i.title }, label), description ? hAsync("span", { class: CSS$i.description }, description) : null)), this.renderActionsEnd()));
|
|
25599
25620
|
}
|
|
25600
25621
|
get el() { return getElement(this); }
|
|
25601
25622
|
static get watchers() { return {
|
|
@@ -25630,7 +25651,7 @@ class PickListItem {
|
|
|
25630
25651
|
}; }
|
|
25631
25652
|
}
|
|
25632
25653
|
|
|
25633
|
-
const CSS$
|
|
25654
|
+
const CSS$h = {
|
|
25634
25655
|
container: "container",
|
|
25635
25656
|
arrow: "arrow",
|
|
25636
25657
|
imageContainer: "image-container",
|
|
@@ -26001,25 +26022,25 @@ class Popover {
|
|
|
26001
26022
|
// --------------------------------------------------------------------------
|
|
26002
26023
|
renderCloseButton() {
|
|
26003
26024
|
const { closeButton, intlClose, heading, closable } = this;
|
|
26004
|
-
return closable || closeButton ? (hAsync("div", { class: CSS$
|
|
26025
|
+
return closable || closeButton ? (hAsync("div", { class: CSS$h.closeButtonContainer }, hAsync("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: heading ? "s" : "m", text: intlClose }, hAsync("calcite-icon", { icon: "x", scale: heading ? "s" : "m" })))) : null;
|
|
26005
26026
|
}
|
|
26006
26027
|
renderHeader() {
|
|
26007
26028
|
const { heading, headingLevel } = this;
|
|
26008
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
26009
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
26029
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$h.heading, level: headingLevel || HEADING_LEVEL$2 }, heading)) : null;
|
|
26030
|
+
return headingNode ? (hAsync("div", { class: CSS$h.header }, headingNode, this.renderCloseButton())) : null;
|
|
26010
26031
|
}
|
|
26011
26032
|
render() {
|
|
26012
26033
|
const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
|
|
26013
26034
|
const displayed = effectiveReferenceElement && open;
|
|
26014
26035
|
const hidden = !displayed;
|
|
26015
|
-
const arrowNode = !disablePointer ? hAsync("div", { class: CSS$
|
|
26036
|
+
const arrowNode = !disablePointer ? hAsync("div", { class: CSS$h.arrow, ref: this.storeArrowEl }) : null;
|
|
26016
26037
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
26017
26038
|
[FloatingCSS.animation]: true,
|
|
26018
26039
|
[FloatingCSS.animationActive]: displayed
|
|
26019
26040
|
}, ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
26020
|
-
[CSS$
|
|
26021
|
-
[CSS$
|
|
26022
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
26041
|
+
[CSS$h.hasHeader]: !!heading,
|
|
26042
|
+
[CSS$h.container]: true
|
|
26043
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$h.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
26023
26044
|
}
|
|
26024
26045
|
get el() { return getElement(this); }
|
|
26025
26046
|
static get watchers() { return {
|
|
@@ -26184,7 +26205,7 @@ class Progress {
|
|
|
26184
26205
|
}; }
|
|
26185
26206
|
}
|
|
26186
26207
|
|
|
26187
|
-
const CSS$
|
|
26208
|
+
const CSS$g = {
|
|
26188
26209
|
container: "container"
|
|
26189
26210
|
};
|
|
26190
26211
|
|
|
@@ -26432,7 +26453,7 @@ class RadioButton {
|
|
|
26432
26453
|
// --------------------------------------------------------------------------
|
|
26433
26454
|
render() {
|
|
26434
26455
|
const tabIndex = this.getTabIndex();
|
|
26435
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
26456
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("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 }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
26436
26457
|
}
|
|
26437
26458
|
get el() { return getElement(this); }
|
|
26438
26459
|
static get watchers() { return {
|
|
@@ -26797,11 +26818,11 @@ class RadioGroup {
|
|
|
26797
26818
|
const SLOTS$8 = {
|
|
26798
26819
|
input: "input"
|
|
26799
26820
|
};
|
|
26800
|
-
const CSS$
|
|
26821
|
+
const CSS$f = {
|
|
26801
26822
|
radioGroupItemIcon: "radio-group-item-icon"
|
|
26802
26823
|
};
|
|
26803
26824
|
|
|
26804
|
-
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*/.sc-calcite-radio-group-item: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*/.calcite-animate.sc-calcite-radio-group-item{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*/.calcite-animate__in.sc-calcite-radio-group-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-item-h{display:none}/*!@:host*/.sc-calcite-radio-group-item-h{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*/.sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{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*/.label--horizontal.sc-calcite-radio-group-item{-ms-flex-pack:center;justify-content:center}/*!@:host*/.sc-calcite-radio-group-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-radio-group-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-radio-group-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-radio-group-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-radio-group-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-radio-group-item-h:hover label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-radio-group-item-h:active label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{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)*/.sc-calcite-radio-group-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{background-color:highlight}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item:not([class~=label--outline]) .radio-group-item-icon.sc-calcite-radio-group-item{color:highlightText}}/*!@.radio-group-item-icon*/.radio-group-item-icon.sc-calcite-radio-group-item{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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([icon-position=end]) .label--scale-s .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([icon-position=end]) .label--scale-m .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([icon-position=end]) .label--scale-l .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
26825
|
+
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*/.sc-calcite-radio-group-item: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*/.calcite-animate.sc-calcite-radio-group-item{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*/.calcite-animate__in.sc-calcite-radio-group-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-group-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-group-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-group-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-radio-group-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-radio-group-item-h{display:none}/*!@:host*/.sc-calcite-radio-group-item-h{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*/.sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{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*/.label--horizontal.sc-calcite-radio-group-item{-ms-flex-pack:center;justify-content:center}/*!@:host*/.sc-calcite-radio-group-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-radio-group-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-radio-group-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-radio-group-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-radio-group-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-radio-group-item-h:hover label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-radio-group-item-h:active label.sc-calcite-radio-group-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{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)*/.sc-calcite-radio-group-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item{background-color:highlight}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-radio-group-item-h .label--outline.sc-calcite-radio-group-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon*/[checked].sc-calcite-radio-group-item-h label.sc-calcite-radio-group-item:not([class~=label--outline]) .radio-group-item-icon.sc-calcite-radio-group-item{color:highlightText}}/*!@.radio-group-item-icon*/.radio-group-item-icon.sc-calcite-radio-group-item{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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([icon-position=end]) .label--scale-s .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([icon-position=end]) .label--scale-m .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-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*/[icon-position=start].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([icon-position=end]) .label--scale-l .radio-group-item-icon*/[icon-position=end].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-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*/[icon-start].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([icon-end]) .label--scale-s .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-s.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}/*!@:host([icon-start]) .label--scale-m .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([icon-end]) .label--scale-m .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-m.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}/*!@:host([icon-start]) .label--scale-l .radio-group-item-icon*/[icon-start].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([icon-end]) .label--scale-l .radio-group-item-icon*/[icon-end].sc-calcite-radio-group-item-h .label--scale-l.sc-calcite-radio-group-item .radio-group-item-icon.sc-calcite-radio-group-item{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
26805
26826
|
|
|
26806
26827
|
class RadioGroupItem {
|
|
26807
26828
|
constructor(hostRef) {
|
|
@@ -26816,7 +26837,11 @@ class RadioGroupItem {
|
|
|
26816
26837
|
this.checked = false;
|
|
26817
26838
|
/** When true, the icon will be flipped when the element direction is right-to-left ("rtl"). */
|
|
26818
26839
|
this.iconFlipRtl = false;
|
|
26819
|
-
/**
|
|
26840
|
+
/**
|
|
26841
|
+
* Optionally used with icon, select where to position the icon
|
|
26842
|
+
*
|
|
26843
|
+
* @deprecated Use either iconStart or iconEnd but do not combine them with icon & iconPosition.
|
|
26844
|
+
*/
|
|
26820
26845
|
this.iconPosition = "start";
|
|
26821
26846
|
}
|
|
26822
26847
|
handleCheckedChange() {
|
|
@@ -26827,14 +26852,18 @@ class RadioGroupItem {
|
|
|
26827
26852
|
const scale = getElementProp(this.el, "scale", "m");
|
|
26828
26853
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
26829
26854
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
26830
|
-
const
|
|
26855
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
26856
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
26857
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, key: "icon", scale: "s" }));
|
|
26858
|
+
const iconAtStart = this.icon && this.iconPosition === "start" && !this.iconStart ? iconEl : null;
|
|
26859
|
+
const iconAtEnd = this.icon && this.iconPosition === "end" && !this.iconEnd ? iconEl : null;
|
|
26831
26860
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
26832
26861
|
"label--scale-s": scale === "s",
|
|
26833
26862
|
"label--scale-m": scale === "m",
|
|
26834
26863
|
"label--scale-l": scale === "l",
|
|
26835
26864
|
"label--horizontal": layout === "horizontal",
|
|
26836
26865
|
"label--outline": appearance === "outline"
|
|
26837
|
-
} },
|
|
26866
|
+
} }, iconAtStart, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$8.input }), iconAtEnd, this.iconEnd ? iconEndEl : null)));
|
|
26838
26867
|
}
|
|
26839
26868
|
get el() { return getElement(this); }
|
|
26840
26869
|
static get watchers() { return {
|
|
@@ -26849,11 +26878,13 @@ class RadioGroupItem {
|
|
|
26849
26878
|
"icon": [513],
|
|
26850
26879
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
26851
26880
|
"iconPosition": [513, "icon-position"],
|
|
26881
|
+
"iconStart": [513, "icon-start"],
|
|
26882
|
+
"iconEnd": [513, "icon-end"],
|
|
26852
26883
|
"value": [1032]
|
|
26853
26884
|
},
|
|
26854
26885
|
"$listeners$": undefined,
|
|
26855
26886
|
"$lazyBundleId$": "-",
|
|
26856
|
-
"$attrsToReflect$": [["checked", "checked"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["iconPosition", "icon-position"]]
|
|
26887
|
+
"$attrsToReflect$": [["checked", "checked"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["iconPosition", "icon-position"], ["iconStart", "icon-start"], ["iconEnd", "icon-end"]]
|
|
26857
26888
|
}; }
|
|
26858
26889
|
}
|
|
26859
26890
|
|
|
@@ -27017,7 +27048,7 @@ class Rating {
|
|
|
27017
27048
|
}; }
|
|
27018
27049
|
}
|
|
27019
27050
|
|
|
27020
|
-
const CSS$
|
|
27051
|
+
const CSS$e = {
|
|
27021
27052
|
scrim: "scrim",
|
|
27022
27053
|
content: "content"
|
|
27023
27054
|
};
|
|
@@ -27058,8 +27089,8 @@ class Scrim {
|
|
|
27058
27089
|
const { el, loading, intlLoading } = this;
|
|
27059
27090
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
27060
27091
|
const loaderNode = loading ? hAsync("calcite-loader", { active: true, label: intlLoading }) : null;
|
|
27061
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
27062
|
-
return (hAsync("div", { class: CSS$
|
|
27092
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$e.content }, hAsync("slot", null))) : null;
|
|
27093
|
+
return (hAsync("div", { class: CSS$e.scrim }, loaderNode, contentNode));
|
|
27063
27094
|
}
|
|
27064
27095
|
get el() { return getElement(this); }
|
|
27065
27096
|
static get style() { return scrimCss; }
|
|
@@ -27076,7 +27107,7 @@ class Scrim {
|
|
|
27076
27107
|
}; }
|
|
27077
27108
|
}
|
|
27078
27109
|
|
|
27079
|
-
const CSS$
|
|
27110
|
+
const CSS$d = {
|
|
27080
27111
|
icon: "icon",
|
|
27081
27112
|
iconContainer: "icon-container",
|
|
27082
27113
|
select: "select"
|
|
@@ -27275,10 +27306,10 @@ class Select {
|
|
|
27275
27306
|
//
|
|
27276
27307
|
//--------------------------------------------------------------------------
|
|
27277
27308
|
renderChevron() {
|
|
27278
|
-
return (hAsync("div", { class: CSS$
|
|
27309
|
+
return (hAsync("div", { class: CSS$d.iconContainer }, hAsync("calcite-icon", { class: CSS$d.icon, icon: "chevron-down", scale: "s" })));
|
|
27279
27310
|
}
|
|
27280
27311
|
render() {
|
|
27281
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": this.label, class: CSS$
|
|
27312
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": this.label, class: CSS$d.select, disabled: this.disabled, onChange: this.handleInternalSelectChange, ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
27282
27313
|
}
|
|
27283
27314
|
get el() { return getElement(this); }
|
|
27284
27315
|
static get watchers() { return {
|
|
@@ -27306,7 +27337,7 @@ class Select {
|
|
|
27306
27337
|
}; }
|
|
27307
27338
|
}
|
|
27308
27339
|
|
|
27309
|
-
const CSS$
|
|
27340
|
+
const CSS$c = {
|
|
27310
27341
|
main: "main",
|
|
27311
27342
|
mainReversed: "main--reversed",
|
|
27312
27343
|
content: "content",
|
|
@@ -27375,25 +27406,25 @@ class Shell {
|
|
|
27375
27406
|
const content = !!this.contentBehind
|
|
27376
27407
|
? [
|
|
27377
27408
|
hAsync("div", { class: {
|
|
27378
|
-
[CSS$
|
|
27379
|
-
[CSS$
|
|
27409
|
+
[CSS$c.content]: true,
|
|
27410
|
+
[CSS$c.contentBehind]: true
|
|
27380
27411
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
27381
27412
|
centerRowSlotNode
|
|
27382
27413
|
]
|
|
27383
27414
|
: [
|
|
27384
|
-
hAsync("div", { class: CSS$
|
|
27415
|
+
hAsync("div", { class: CSS$c.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
27385
27416
|
];
|
|
27386
27417
|
return content;
|
|
27387
27418
|
}
|
|
27388
27419
|
renderFooter() {
|
|
27389
27420
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
27390
|
-
return hasFooter ? (hAsync("div", { class: CSS$
|
|
27421
|
+
return hasFooter ? (hAsync("div", { class: CSS$c.footer, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer }))) : null;
|
|
27391
27422
|
}
|
|
27392
27423
|
renderMain() {
|
|
27393
27424
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
27394
27425
|
const mainClasses = {
|
|
27395
|
-
[CSS$
|
|
27396
|
-
[CSS$
|
|
27426
|
+
[CSS$c.main]: true,
|
|
27427
|
+
[CSS$c.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
|
27397
27428
|
};
|
|
27398
27429
|
return (hAsync("div", { class: mainClasses }, hAsync("slot", { name: SLOTS$7.primaryPanel }), hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd }), hAsync("slot", { name: SLOTS$7.contextualPanel })));
|
|
27399
27430
|
}
|
|
@@ -27414,7 +27445,7 @@ class Shell {
|
|
|
27414
27445
|
}; }
|
|
27415
27446
|
}
|
|
27416
27447
|
|
|
27417
|
-
const CSS$
|
|
27448
|
+
const CSS$b = {
|
|
27418
27449
|
actionBarContainer: "action-bar-container",
|
|
27419
27450
|
content: "content"
|
|
27420
27451
|
};
|
|
@@ -27467,9 +27498,9 @@ class ShellCenterRow {
|
|
|
27467
27498
|
// --------------------------------------------------------------------------
|
|
27468
27499
|
render() {
|
|
27469
27500
|
const { el } = this;
|
|
27470
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
27501
|
+
const contentNode = (hAsync("div", { class: CSS$b.content }, hAsync("slot", null)));
|
|
27471
27502
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
27472
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
27503
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$b.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
27473
27504
|
const children = [actionBarNode, contentNode];
|
|
27474
27505
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
27475
27506
|
children.reverse();
|
|
@@ -27492,7 +27523,7 @@ class ShellCenterRow {
|
|
|
27492
27523
|
}; }
|
|
27493
27524
|
}
|
|
27494
27525
|
|
|
27495
|
-
const CSS$
|
|
27526
|
+
const CSS$a = {
|
|
27496
27527
|
container: "container",
|
|
27497
27528
|
content: "content",
|
|
27498
27529
|
contentHeader: "content__header",
|
|
@@ -27676,19 +27707,19 @@ class ShellPanel {
|
|
|
27676
27707
|
renderHeader() {
|
|
27677
27708
|
const { el } = this;
|
|
27678
27709
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
27679
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
27710
|
+
return hasHeader ? (hAsync("div", { class: CSS$a.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
27680
27711
|
}
|
|
27681
27712
|
render() {
|
|
27682
27713
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
27683
27714
|
const allowResizing = !detached && resizable;
|
|
27684
|
-
const contentNode = (hAsync("div", { class: { [CSS$
|
|
27685
|
-
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$
|
|
27715
|
+
const contentNode = (hAsync("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(), hAsync("div", { class: CSS$a.contentBody }, hAsync("slot", null))));
|
|
27716
|
+
const separatorNode = allowResizing ? (hAsync("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;
|
|
27686
27717
|
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
27687
27718
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
27688
27719
|
if (position === "end") {
|
|
27689
27720
|
mainNodes.reverse();
|
|
27690
27721
|
}
|
|
27691
|
-
return hAsync("div", { class: { [CSS$
|
|
27722
|
+
return hAsync("div", { class: { [CSS$a.container]: true } }, mainNodes);
|
|
27692
27723
|
}
|
|
27693
27724
|
// --------------------------------------------------------------------------
|
|
27694
27725
|
//
|
|
@@ -27747,6 +27778,14 @@ class ShellPanel {
|
|
|
27747
27778
|
}; }
|
|
27748
27779
|
}
|
|
27749
27780
|
|
|
27781
|
+
const CSS$9 = {
|
|
27782
|
+
handleLabel: "handle__label",
|
|
27783
|
+
handleLabelMinValue: "handle__label--minValue",
|
|
27784
|
+
handleLabelValue: "handle__label--value",
|
|
27785
|
+
tickMin: "tick__label--min",
|
|
27786
|
+
tickMax: "tick__label--max"
|
|
27787
|
+
};
|
|
27788
|
+
|
|
27750
27789
|
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*/.sc-calcite-slider: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*/.calcite-animate.sc-calcite-slider{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*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{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*/.scale--s.sc-calcite-slider{--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, \n.scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--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, \n.scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--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, \n.scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, \n.tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{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,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-inline-size:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--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*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;inset-block:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;inline-size:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:-ms-flexbox;display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-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*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-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*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-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*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{-webkit-margin-before:0.5em;margin-block-start:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{-webkit-margin-after:0.5em;margin-block-end:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, \n.thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{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, \n.thumb:focus.thumb--precise:after, \n.thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{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*/.track__range.sc-calcite-slider{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider: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*/.thumb.sc-calcite-slider{outline-width:0;outline-offset:0}/*!@.handle*/.handle.sc-calcite-slider{outline:2px solid transparent;outline-offset:2px}/*!@.thumb:focus .handle,\n.thumb .handle-extension,\n.thumb:hover .handle-extension,\n.thumb:focus .handle-extension,\n.thumb:active .handle-extension*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:active .handle-extension.sc-calcite-slider{background-color:canvasText}/*!@.track*/.track.sc-calcite-slider{background-color:canvasText}/*!@.track__range*/.track__range.sc-calcite-slider{background-color:highlight}}/*!@.tick*/.tick.sc-calcite-slider{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*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{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*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-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, \n:host([has-histogram][label-handles]) .tick__label--max, \n:host([has-histogram][precise]) .tick__label--min, \n:host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);block-size:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{-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*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{-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*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{-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*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{-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*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{-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*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{-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*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{-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*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{-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*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{-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])*/.sc-calcite-slider-s>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}";
|
|
27751
27790
|
|
|
27752
27791
|
function isRange(value) {
|
|
@@ -27765,6 +27804,10 @@ class Slider {
|
|
|
27765
27804
|
//--------------------------------------------------------------------------
|
|
27766
27805
|
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
27767
27806
|
this.disabled = false;
|
|
27807
|
+
/**
|
|
27808
|
+
* When true, number values are displayed with a group separator corresponding to the language and country format.
|
|
27809
|
+
*/
|
|
27810
|
+
this.groupSeparator = false;
|
|
27768
27811
|
/** When true, indicates a histogram is present. */
|
|
27769
27812
|
this.hasHistogram = false;
|
|
27770
27813
|
/** When true, displays label handles with their numeric value. */
|
|
@@ -27803,6 +27846,7 @@ class Slider {
|
|
|
27803
27846
|
this.minValueDragRange = null;
|
|
27804
27847
|
this.maxValueDragRange = null;
|
|
27805
27848
|
this.tickValues = [];
|
|
27849
|
+
this.globalAttributes = {};
|
|
27806
27850
|
this.dragUpdate = (event) => {
|
|
27807
27851
|
event.preventDefault();
|
|
27808
27852
|
if (this.dragProp) {
|
|
@@ -27850,6 +27894,19 @@ class Slider {
|
|
|
27850
27894
|
this.storeTrackRef = (node) => {
|
|
27851
27895
|
this.trackEl = node;
|
|
27852
27896
|
};
|
|
27897
|
+
/**
|
|
27898
|
+
* Returns a string representing the localized label value based on groupSeparator prop being on or off.
|
|
27899
|
+
*
|
|
27900
|
+
* @param value
|
|
27901
|
+
*/
|
|
27902
|
+
this.determineGroupSeparator = (value) => {
|
|
27903
|
+
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
27904
|
+
if (value) {
|
|
27905
|
+
return this.groupSeparator
|
|
27906
|
+
? localizeNumberString(value.toString(), lang, this.groupSeparator, this.numberingSystem)
|
|
27907
|
+
: value;
|
|
27908
|
+
}
|
|
27909
|
+
};
|
|
27853
27910
|
}
|
|
27854
27911
|
histogramWatcher(newHistogram) {
|
|
27855
27912
|
this.hasHistogram = !!newHistogram;
|
|
@@ -27870,11 +27927,13 @@ class Slider {
|
|
|
27870
27927
|
this.setValueFromMinMax();
|
|
27871
27928
|
connectLabel(this);
|
|
27872
27929
|
connectForm(this);
|
|
27930
|
+
watchGlobalAttributes(this, ["lang"]);
|
|
27873
27931
|
}
|
|
27874
27932
|
disconnectedCallback() {
|
|
27875
27933
|
disconnectLabel(this);
|
|
27876
27934
|
disconnectForm(this);
|
|
27877
27935
|
this.removeDragListeners();
|
|
27936
|
+
unwatchGlobalAttributes(this);
|
|
27878
27937
|
}
|
|
27879
27938
|
componentWillLoad() {
|
|
27880
27939
|
this.tickValues = this.generateTickValues();
|
|
@@ -27906,6 +27965,8 @@ class Slider {
|
|
|
27906
27965
|
const id = this.el.id || this.guid;
|
|
27907
27966
|
const maxProp = isRange(this.value) ? "maxValue" : "value";
|
|
27908
27967
|
const value = isRange(this.value) ? this.maxValue : this.value;
|
|
27968
|
+
const displayedValue = this.determineGroupSeparator(value);
|
|
27969
|
+
const displayedMinValue = this.determineGroupSeparator(this.minValue);
|
|
27909
27970
|
const min = this.minValue || this.min;
|
|
27910
27971
|
const useMinValue = this.shouldUseMinValue();
|
|
27911
27972
|
const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
|
|
@@ -27914,6 +27975,8 @@ class Slider {
|
|
|
27914
27975
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
27915
27976
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
27916
27977
|
const valueIsRange = isRange(this.value);
|
|
27978
|
+
const handleLabelMinValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelMinValue}`;
|
|
27979
|
+
const handleLabelValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelValue}`;
|
|
27917
27980
|
const handle = (hAsync("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: {
|
|
27918
27981
|
thumb: true,
|
|
27919
27982
|
"thumb--value": true,
|
|
@@ -27923,12 +27986,12 @@ class Slider {
|
|
|
27923
27986
|
thumb: true,
|
|
27924
27987
|
"thumb--value": true,
|
|
27925
27988
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
27926
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class:
|
|
27989
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), hAsync("div", { class: "handle" })));
|
|
27927
27990
|
const histogramLabeledHandle = (hAsync("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: {
|
|
27928
27991
|
thumb: true,
|
|
27929
27992
|
"thumb--value": true,
|
|
27930
27993
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
27931
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class:
|
|
27994
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
27932
27995
|
const preciseHandle = (hAsync("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: {
|
|
27933
27996
|
thumb: true,
|
|
27934
27997
|
"thumb--value": true,
|
|
@@ -27946,13 +28009,13 @@ class Slider {
|
|
|
27946
28009
|
"thumb--value": true,
|
|
27947
28010
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
27948
28011
|
"thumb--precise": true
|
|
27949
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class:
|
|
28012
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), hAsync("div", { class: "handle" }), hAsync("div", { class: "handle-extension" })));
|
|
27950
28013
|
const histogramLabeledPreciseHandle = (hAsync("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: {
|
|
27951
28014
|
thumb: true,
|
|
27952
28015
|
"thumb--value": true,
|
|
27953
28016
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
27954
28017
|
"thumb--precise": true
|
|
27955
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class:
|
|
28018
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
27956
28019
|
const minHandle = (hAsync("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: {
|
|
27957
28020
|
thumb: true,
|
|
27958
28021
|
"thumb--minValue": true,
|
|
@@ -27962,12 +28025,12 @@ class Slider {
|
|
|
27962
28025
|
thumb: true,
|
|
27963
28026
|
"thumb--minValue": true,
|
|
27964
28027
|
"thumb--active": this.dragProp === "minValue"
|
|
27965
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class:
|
|
28028
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), hAsync("div", { class: "handle" })));
|
|
27966
28029
|
const minHistogramLabeledHandle = (hAsync("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: {
|
|
27967
28030
|
thumb: true,
|
|
27968
28031
|
"thumb--minValue": true,
|
|
27969
28032
|
"thumb--active": this.dragProp === "minValue"
|
|
27970
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class:
|
|
28033
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
27971
28034
|
const minPreciseHandle = (hAsync("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: {
|
|
27972
28035
|
thumb: true,
|
|
27973
28036
|
"thumb--minValue": true,
|
|
@@ -27979,7 +28042,7 @@ class Slider {
|
|
|
27979
28042
|
"thumb--minValue": true,
|
|
27980
28043
|
"thumb--active": this.dragProp === "minValue",
|
|
27981
28044
|
"thumb--precise": true
|
|
27982
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class:
|
|
28045
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, hAsync("div", { class: "handle-extension" }), hAsync("div", { class: "handle" }), hAsync("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), hAsync("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
27983
28046
|
return (hAsync(Host, { id: id, onTouchStart: this.handleTouchStart }, hAsync("div", { class: {
|
|
27984
28047
|
["container"]: true,
|
|
27985
28048
|
["container--range"]: valueIsRange,
|
|
@@ -28020,11 +28083,12 @@ class Slider {
|
|
|
28020
28083
|
const valueIsRange = isRange(this.value);
|
|
28021
28084
|
const isMinTickLabel = tick === this.min;
|
|
28022
28085
|
const isMaxTickLabel = tick === this.max;
|
|
28086
|
+
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
28023
28087
|
const tickLabel = (hAsync("span", { class: {
|
|
28024
28088
|
tick__label: true,
|
|
28025
|
-
|
|
28026
|
-
|
|
28027
|
-
} },
|
|
28089
|
+
[CSS$9.tickMin]: isMinTickLabel,
|
|
28090
|
+
[CSS$9.tickMax]: isMaxTickLabel
|
|
28091
|
+
} }, displayedTickValue));
|
|
28028
28092
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
28029
28093
|
return tickLabel;
|
|
28030
28094
|
}
|
|
@@ -28512,6 +28576,7 @@ class Slider {
|
|
|
28512
28576
|
"$tagName$": "calcite-slider",
|
|
28513
28577
|
"$members$": {
|
|
28514
28578
|
"disabled": [516],
|
|
28579
|
+
"groupSeparator": [516, "group-separator"],
|
|
28515
28580
|
"hasHistogram": [1540, "has-histogram"],
|
|
28516
28581
|
"histogram": [16],
|
|
28517
28582
|
"histogramStops": [16],
|
|
@@ -28525,6 +28590,7 @@ class Slider {
|
|
|
28525
28590
|
"minValue": [1026, "min-value"],
|
|
28526
28591
|
"mirrored": [516],
|
|
28527
28592
|
"name": [513],
|
|
28593
|
+
"numberingSystem": [1, "numbering-system"],
|
|
28528
28594
|
"pageStep": [2, "page-step"],
|
|
28529
28595
|
"precise": [4],
|
|
28530
28596
|
"required": [516],
|
|
@@ -28538,11 +28604,12 @@ class Slider {
|
|
|
28538
28604
|
"minValueDragRange": [32],
|
|
28539
28605
|
"maxValueDragRange": [32],
|
|
28540
28606
|
"tickValues": [32],
|
|
28607
|
+
"globalAttributes": [32],
|
|
28541
28608
|
"setFocus": [64]
|
|
28542
28609
|
},
|
|
28543
28610
|
"$listeners$": [[0, "keydown", "keyDownHandler"], [1, "pointerdown", "pointerDownHandler"]],
|
|
28544
28611
|
"$lazyBundleId$": "-",
|
|
28545
|
-
"$attrsToReflect$": [["disabled", "disabled"], ["hasHistogram", "has-histogram"], ["labelHandles", "label-handles"], ["labelTicks", "label-ticks"], ["max", "max"], ["min", "min"], ["mirrored", "mirrored"], ["name", "name"], ["required", "required"], ["value", "value"]]
|
|
28612
|
+
"$attrsToReflect$": [["disabled", "disabled"], ["groupSeparator", "group-separator"], ["hasHistogram", "has-histogram"], ["labelHandles", "label-handles"], ["labelTicks", "label-ticks"], ["max", "max"], ["min", "min"], ["mirrored", "mirrored"], ["name", "name"], ["required", "required"], ["value", "value"]]
|
|
28546
28613
|
}; }
|
|
28547
28614
|
}
|
|
28548
28615
|
|
|
@@ -35998,8 +36065,8 @@ class ValueListItem {
|
|
|
35998
36065
|
const { icon } = this;
|
|
35999
36066
|
if (icon === ICON_TYPES$1.grip) {
|
|
36000
36067
|
return (hAsync("span", { class: {
|
|
36001
|
-
[CSS$
|
|
36002
|
-
[CSS$
|
|
36068
|
+
[CSS$i.handle]: true,
|
|
36069
|
+
[CSS$i.handleActivated]: this.handleActivated
|
|
36003
36070
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
|
36004
36071
|
}
|
|
36005
36072
|
}
|