@esri/calcite-components 1.0.0-next.580 → 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-125a6533.entry.js → p-015edf64.entry.js} +2 -2
- package/dist/calcite/{p-416d7831.system.entry.js → p-051e4b48.system.entry.js} +3 -3
- package/dist/calcite/{p-bf70b6d9.entry.js → p-053d62f5.entry.js} +2 -2
- package/dist/calcite/{p-c0e12a31.system.entry.js → p-062e51e6.system.entry.js} +2 -2
- package/dist/calcite/{p-433fed12.system.entry.js → p-073d365b.system.entry.js} +2 -2
- package/dist/calcite/{p-737156a4.system.entry.js → p-083b4fd2.system.entry.js} +2 -2
- package/dist/calcite/{p-7b905b02.entry.js → p-098cb9c2.entry.js} +2 -2
- package/dist/calcite/{p-1a1636c5.entry.js → p-0a8c4a4a.entry.js} +2 -2
- package/dist/calcite/p-0a8feab4.js +6 -0
- package/dist/calcite/{p-5d30e3a0.js → p-0ca8f16f.js} +2 -2
- package/dist/calcite/{p-c133f43e.system.entry.js → p-0cad9fd7.system.entry.js} +2 -2
- package/dist/calcite/{p-03747d97.entry.js → p-0e8e841f.entry.js} +2 -2
- package/dist/calcite/{p-73c5cfa1.system.js → p-12341d58.system.js} +1 -1
- package/dist/calcite/p-1470b6ac.system.js +6 -0
- package/dist/calcite/{p-3fff4a92.entry.js → p-165f0ae9.entry.js} +2 -2
- package/dist/calcite/{p-29b5990d.system.entry.js → p-18400108.system.entry.js} +2 -2
- package/dist/calcite/{p-6a5f14d4.system.entry.js → p-1984dd20.system.entry.js} +2 -2
- package/dist/calcite/{p-a2415f1a.system.entry.js → p-1a5f2e89.system.entry.js} +2 -2
- package/dist/calcite/p-1b4c384d.js +6 -0
- package/dist/calcite/{p-1194e2cf.system.js → p-1cadb360.system.js} +2 -2
- package/dist/calcite/{p-20b32350.system.js → p-1d1b744b.system.js} +1 -1
- package/dist/calcite/{p-82891065.system.js → p-1deae9df.system.js} +2 -2
- package/dist/calcite/{p-dd9db2db.js → p-1edd9ad9.js} +1 -1
- package/dist/calcite/{p-df00e1ac.entry.js → p-1ee0231e.entry.js} +2 -2
- package/dist/calcite/{p-cb7ff5c0.entry.js → p-23873bc9.entry.js} +2 -2
- package/dist/calcite/{p-f0cb85cd.entry.js → p-24237f6c.entry.js} +2 -2
- package/dist/calcite/p-24462318.system.js +6 -0
- package/dist/calcite/{p-df375dd5.entry.js → p-25d4df62.entry.js} +2 -2
- package/dist/calcite/{p-e1889084.entry.js → p-2c1e9659.entry.js} +2 -2
- package/dist/calcite/{p-60fb9f25.system.js → p-2c728600.system.js} +2 -2
- package/dist/calcite/{p-aaed4a7d.entry.js → p-2efec344.entry.js} +2 -2
- package/dist/calcite/{p-36d732ef.system.js → p-30585607.system.js} +2 -2
- package/dist/calcite/{p-983bd9a9.entry.js → p-31fc8445.entry.js} +2 -2
- package/dist/calcite/{p-8b16ef81.system.entry.js → p-354fb90c.system.entry.js} +2 -2
- package/dist/calcite/{p-b6c08e01.js → p-3a4b73e4.js} +1 -1
- package/dist/calcite/{p-71813fa1.entry.js → p-3c764685.entry.js} +2 -2
- package/dist/calcite/{p-5ca60abb.entry.js → p-3ccb2630.entry.js} +2 -2
- package/dist/calcite/{p-46976a3e.system.entry.js → p-3d30d9e1.system.entry.js} +2 -2
- package/dist/calcite/{p-2671f3d2.system.js → p-3de1a16b.system.js} +2 -2
- package/dist/calcite/{p-9dd8be8e.js → p-3e3e6390.js} +1 -1
- package/dist/calcite/{p-0500404a.entry.js → p-3e76561a.entry.js} +2 -2
- package/dist/calcite/{p-7c2bd51a.system.js → p-3f093216.system.js} +2 -2
- package/dist/calcite/p-43fad2b6.entry.js +6 -0
- package/dist/calcite/{p-a1ce565b.system.entry.js → p-44257e65.system.entry.js} +2 -2
- package/dist/calcite/{p-c66613a8.js → p-4450e4e9.js} +2 -2
- package/dist/calcite/{p-0668bca7.entry.js → p-459839ea.entry.js} +2 -2
- package/dist/calcite/{p-c2c6dfe6.entry.js → p-45adbdc4.entry.js} +2 -2
- package/dist/calcite/{p-05edd502.js → p-46031d7e.js} +1 -1
- package/dist/calcite/{p-277ba682.system.entry.js → p-4a77bf0b.system.entry.js} +2 -2
- package/dist/calcite/{p-53a82906.system.entry.js → p-4ef838e7.system.entry.js} +2 -2
- package/dist/calcite/{p-1f2c5e9b.js → p-4f094383.js} +1 -1
- package/dist/calcite/{p-59f0db5a.entry.js → p-51cfe95e.entry.js} +2 -2
- package/dist/calcite/{p-01f1b5c7.system.entry.js → p-5295203c.system.entry.js} +2 -2
- package/dist/calcite/{p-8c05dd9b.entry.js → p-52eccc9c.entry.js} +2 -2
- package/dist/calcite/{p-cd99a566.system.entry.js → p-53ef55a4.system.entry.js} +2 -2
- package/dist/calcite/{p-0ffecde9.system.js → p-55a07cc1.system.js} +1 -1
- package/dist/calcite/{p-80133a8c.system.entry.js → p-58bb5ada.system.entry.js} +2 -2
- package/dist/calcite/{p-f607d706.entry.js → p-58c1a47d.entry.js} +2 -2
- package/dist/calcite/{p-eb71b347.entry.js → p-59cfa1c1.entry.js} +2 -2
- package/dist/calcite/{p-a27bca77.system.entry.js → p-5d500814.system.entry.js} +2 -2
- package/dist/calcite/{p-b4bc8bb7.system.js → p-5e239a89.system.js} +1 -1
- package/dist/calcite/{p-d7f7840f.entry.js → p-60757c0e.entry.js} +2 -2
- package/dist/calcite/{p-09203205.entry.js → p-61245ed4.entry.js} +2 -2
- package/dist/calcite/{p-31935242.system.js → p-61c3cffa.system.js} +1 -1
- package/dist/calcite/{p-3d5b029f.system.entry.js → p-61d8f010.system.entry.js} +2 -2
- package/dist/calcite/{p-e5030daa.system.entry.js → p-6220b73a.system.entry.js} +2 -2
- package/dist/calcite/{p-480de665.system.entry.js → p-626d74fb.system.entry.js} +3 -3
- package/dist/calcite/{p-0b70f093.system.entry.js → p-62d360ea.system.entry.js} +2 -2
- package/dist/calcite/{p-496ce656.entry.js → p-63a1c5df.entry.js} +2 -2
- package/dist/calcite/{p-1e29f38a.entry.js → p-64e3fb04.entry.js} +2 -2
- package/dist/calcite/{p-d85512c5.system.js → p-650971a7.system.js} +1 -1
- package/dist/calcite/{p-c3cb1310.entry.js → p-661caaf1.entry.js} +2 -2
- package/dist/calcite/{p-8f47b93d.entry.js → p-691196fa.entry.js} +2 -2
- package/dist/calcite/{p-871d9aab.entry.js → p-6a62ad99.entry.js} +2 -2
- package/dist/calcite/{p-efeaa13d.js → p-6b0e989e.js} +2 -2
- package/dist/calcite/{p-3e49cafb.system.entry.js → p-6e2dcd5a.system.entry.js} +2 -2
- package/dist/calcite/{p-653fd160.js → p-6fcd4f94.js} +1 -1
- package/dist/calcite/{p-e3e0b35d.js → p-71a3e1a6.js} +2 -2
- package/dist/calcite/{p-723f6005.entry.js → p-7401cad5.entry.js} +2 -2
- package/dist/calcite/{p-945f3a72.js → p-740eac70.js} +1 -1
- package/dist/calcite/{p-527da467.system.entry.js → p-77cf2748.system.entry.js} +2 -2
- package/dist/calcite/{p-4f2fc5fd.js → p-7814f7dc.js} +1 -1
- package/dist/calcite/{p-71922f5b.system.js → p-794cfee9.system.js} +2 -2
- package/dist/calcite/p-79e899a9.system.entry.js +6 -0
- package/dist/calcite/{p-4017f215.entry.js → p-7a138bae.entry.js} +2 -2
- package/dist/calcite/{p-d3becba8.entry.js → p-7af19423.entry.js} +2 -2
- package/dist/calcite/{p-f6ba14f3.entry.js → p-7bc45a68.entry.js} +2 -2
- package/dist/calcite/{p-54934615.system.entry.js → p-7ce84b5a.system.entry.js} +2 -2
- package/dist/calcite/{p-2c8a8f47.entry.js → p-7fa2d4c2.entry.js} +2 -2
- package/dist/calcite/{p-0a1db4a7.system.entry.js → p-8004e14b.system.entry.js} +2 -2
- package/dist/calcite/{p-7a6f9aa6.js → p-8096b4af.js} +1 -1
- package/dist/calcite/{p-1858c562.entry.js → p-82507fa6.entry.js} +2 -2
- package/dist/calcite/{p-f07e7828.system.entry.js → p-8386fb61.system.entry.js} +2 -2
- package/dist/calcite/{p-a2151a26.system.entry.js → p-8934b322.system.entry.js} +2 -2
- package/dist/calcite/{p-453c23e7.system.js → p-8973abbf.system.js} +1 -1
- package/dist/calcite/p-8c79e188.js +6 -0
- package/dist/calcite/{p-cba7fac0.entry.js → p-8c9798f7.entry.js} +2 -2
- package/dist/calcite/{p-86a5118b.system.entry.js → p-8dc7fa15.system.entry.js} +2 -2
- package/dist/calcite/{p-d1157160.entry.js → p-8e303469.entry.js} +2 -2
- package/dist/calcite/p-8f97abae.system.entry.js +6 -0
- package/dist/calcite/{p-e661a695.system.entry.js → p-92093ecc.system.entry.js} +2 -2
- package/dist/calcite/{p-e476b2af.system.entry.js → p-923ea4dd.system.entry.js} +2 -2
- package/dist/calcite/{p-d4142119.js → p-96a13532.js} +2 -2
- package/dist/calcite/{p-10c9243c.system.entry.js → p-9eb78975.system.entry.js} +2 -2
- package/dist/calcite/{p-aa06ea88.js → p-9f9e9428.js} +1 -1
- package/dist/calcite/{p-37386de7.system.entry.js → p-9fe44ee8.system.entry.js} +3 -3
- package/dist/calcite/{p-df6487b7.system.entry.js → p-a22d643b.system.entry.js} +2 -2
- package/dist/calcite/{p-e9483d93.system.entry.js → p-a72f42d4.system.entry.js} +2 -2
- package/dist/calcite/{p-ff74b0c1.system.entry.js → p-a8819c11.system.entry.js} +2 -2
- package/dist/calcite/{p-51b9bd06.system.js → p-a96d9b76.system.js} +1 -1
- package/dist/calcite/{p-566269dd.js → p-ab3bf113.js} +2 -2
- package/dist/calcite/{p-06fe7099.system.entry.js → p-ab50eb36.system.entry.js} +2 -2
- package/dist/calcite/{p-c9d55069.system.entry.js → p-affaa2a5.system.entry.js} +2 -2
- package/dist/calcite/{p-9036f485.system.entry.js → p-b1c34e7e.system.entry.js} +2 -2
- package/dist/calcite/{p-4e41123b.entry.js → p-b24fe4ed.entry.js} +2 -2
- package/dist/calcite/{p-fbd460c0.js → p-b4251b60.js} +1 -1
- package/dist/calcite/{p-51236fda.system.entry.js → p-b524f2c7.system.entry.js} +2 -2
- package/dist/calcite/{p-858302d2.system.entry.js → p-b6d7e788.system.entry.js} +2 -2
- package/dist/calcite/{p-b0fa5e9f.entry.js → p-b8e6a15f.entry.js} +2 -2
- package/dist/calcite/{p-3ed0bb91.js → p-b9aa9181.js} +1 -1
- package/dist/calcite/{p-1015b981.system.entry.js → p-ba585cd2.system.entry.js} +2 -2
- package/dist/calcite/{p-2444de37.entry.js → p-ba592172.entry.js} +2 -2
- package/dist/calcite/{p-367f1fdc.system.entry.js → p-bb57b795.system.entry.js} +2 -2
- package/dist/calcite/{p-add938ed.system.entry.js → p-bcd9ea7e.system.entry.js} +2 -2
- package/dist/calcite/{p-c047e5b4.entry.js → p-bdc73d0e.entry.js} +2 -2
- package/dist/calcite/{p-e1910325.system.js → p-c4c12c2f.system.js} +1 -1
- package/dist/calcite/{p-76d28ffa.system.entry.js → p-c5505604.system.entry.js} +2 -2
- package/dist/calcite/{p-33d787ff.system.entry.js → p-c64a7e8b.system.entry.js} +3 -3
- package/dist/calcite/{p-3ebfa11c.system.entry.js → p-c652fbb1.system.entry.js} +2 -2
- package/dist/calcite/{p-18895012.js → p-c6bad61e.js} +1 -1
- package/dist/calcite/{p-86029c46.system.js → p-c7011dff.system.js} +1 -1
- package/dist/calcite/{p-6810dc64.js → p-ca3b7cd3.js} +2 -2
- package/dist/calcite/{p-f46034ed.system.entry.js → p-cc3987d7.system.entry.js} +2 -2
- package/dist/calcite/{p-a132eac6.entry.js → p-cdb157db.entry.js} +2 -2
- package/dist/calcite/{p-06c99a3c.system.entry.js → p-cdedb653.system.entry.js} +2 -2
- package/dist/calcite/{p-90e0c1ef.entry.js → p-cf932962.entry.js} +2 -2
- package/dist/calcite/{p-2a0f69e2.system.js → p-cf99ea1d.system.js} +2 -2
- package/dist/calcite/{p-cb84315f.system.js → p-d12b027a.system.js} +2 -2
- package/dist/calcite/{p-68e3d9a7.entry.js → p-d16d988e.entry.js} +2 -2
- package/dist/calcite/{p-a0e5519a.entry.js → p-d1e446f2.entry.js} +2 -2
- package/dist/calcite/{p-36a4d1c0.entry.js → p-d407d923.entry.js} +2 -2
- package/dist/calcite/{p-4ea387f7.entry.js → p-d52e217f.entry.js} +2 -2
- package/dist/calcite/{p-deaa2435.entry.js → p-d67d8463.entry.js} +2 -2
- package/dist/calcite/{p-242ae3ee.system.entry.js → p-d82da3c9.system.entry.js} +2 -2
- package/dist/calcite/{p-8df8bf78.system.entry.js → p-da6dd95e.system.entry.js} +2 -2
- package/dist/calcite/{p-7198555f.system.js → p-dd0fb82d.system.js} +2 -2
- package/dist/calcite/{p-8cea22c2.system.js → p-ddc7efbd.system.js} +1 -1
- package/dist/calcite/{p-562dc51d.system.js → p-de2d48bc.system.js} +1 -1
- package/dist/calcite/{p-42af5aae.system.entry.js → p-de73825b.system.entry.js} +2 -2
- package/dist/calcite/{p-fee6d263.entry.js → p-de967fdc.entry.js} +2 -2
- package/dist/calcite/{p-00de8907.system.js → p-df786353.system.js} +1 -1
- package/dist/calcite/{p-a4262cf1.system.entry.js → p-df86bbe8.system.entry.js} +2 -2
- package/dist/calcite/{p-8f9e3ff5.js → p-dfbf5122.js} +1 -1
- package/dist/calcite/{p-c94bc7fb.system.js → p-e005a0ec.system.js} +1 -1
- package/dist/calcite/{p-1bd68d70.system.js → p-e02d3fc3.system.js} +2 -2
- package/dist/calcite/{p-26b306d6.entry.js → p-e23e21a5.entry.js} +2 -2
- package/dist/calcite/{p-d135e756.system.js → p-e34c660e.system.js} +2 -2
- package/dist/calcite/{p-a1b6d34a.entry.js → p-e49532a5.entry.js} +2 -2
- package/dist/calcite/{p-ce3a6a2e.system.entry.js → p-e5d28b87.system.entry.js} +2 -2
- package/dist/calcite/{p-f4b54a2b.js → p-e6d161da.js} +2 -2
- package/dist/calcite/{p-5e5dc47a.system.js → p-e7761a36.system.js} +1 -1
- package/dist/calcite/{p-76bbfd00.entry.js → p-ed16ce78.entry.js} +2 -2
- package/dist/calcite/{p-bd20e003.entry.js → p-ed9e6537.entry.js} +2 -2
- package/dist/calcite/{p-731cf047.entry.js → p-eea7d29e.entry.js} +2 -2
- package/dist/calcite/{p-0d95c689.js → p-ef20f3ea.js} +2 -2
- package/dist/calcite/{p-69f6712e.system.js → p-f1f0ed33.system.js} +1 -1
- package/dist/calcite/{p-40873738.js → p-f32c5492.js} +1 -1
- package/dist/calcite/{p-a5c83761.js → p-f4572c54.js} +2 -2
- package/dist/calcite/{p-e842115b.system.entry.js → p-f4e0d30b.system.entry.js} +2 -2
- package/dist/calcite/{p-bfbecfd1.js → p-f504edcf.js} +1 -1
- package/dist/calcite/{p-d9c9c6fb.system.entry.js → p-f50feaf0.system.entry.js} +2 -2
- package/dist/calcite/p-f6b501ad.entry.js +6 -0
- package/dist/calcite/{p-6dca2fd8.entry.js → p-f9c2b761.entry.js} +2 -2
- package/dist/calcite/{p-ee892f76.entry.js → p-fa6fff5e.entry.js} +2 -2
- package/dist/calcite/{p-17da4f4b.system.entry.js → p-fba62e14.system.entry.js} +2 -2
- package/dist/calcite/{p-00a2c2b1.system.js → p-fd9ce919.system.js} +1 -1
- package/dist/calcite/{p-c5c98a97.system.entry.js → p-fe1f3a85.system.entry.js} +2 -2
- package/dist/calcite/{p-b0305227.system.entry.js → p-fe415982.system.entry.js} +2 -2
- package/dist/calcite/{p-c22e4cb4.entry.js → p-fe9bfa3a.entry.js} +2 -2
- package/dist/calcite/{p-6db1b12a.entry.js → p-ffa5ccce.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-bcc9880b.js → ExpandToggle-adc546ab.js} +5 -5
- package/dist/cjs/{Heading-587df4eb.js → Heading-de3aeada.js} +2 -2
- package/dist/cjs/{app-globals-fc2dd4f9.js → app-globals-44a9fea8.js} +2 -2
- package/dist/cjs/{array-f164bbdc.js → array-35fcfd09.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- 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 +8 -8
- 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-52881bc4.js → conditionalSlot-7c9a25a8.js} +3 -3
- package/dist/cjs/{debounce-eb7b98c1.js → debounce-5c1d40b6.js} +1 -1
- package/dist/cjs/{dom-b739ff91.js → dom-76ca84ee.js} +3 -3
- package/dist/cjs/{filter-5878aec4.js → filter-1bb8c969.js} +2 -2
- package/dist/cjs/{floating-ui-29c83ab8.js → floating-ui-1533b15e.js} +2 -2
- package/dist/cjs/{form-827c1fa8.js → form-66d9e5c4.js} +3 -3
- package/dist/cjs/globalAttributes-f86352f9.js +71 -0
- package/dist/cjs/{guid-3b7f80de.js → guid-4476f796.js} +1 -1
- package/dist/cjs/{index-6273cdbb.js → index-b987367c.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-76ed412f.js → interactive-361f1598.js} +1 -1
- package/dist/cjs/{interfaces-98d3c64e.js → interfaces-1bb935f6.js} +1 -1
- package/dist/cjs/{key-e1530565.js → key-508c6836.js} +1 -1
- package/dist/cjs/{label-a39bd468.js → label-b1554a89.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-f945eb30.js → locale-c72fafad.js} +2 -2
- package/dist/cjs/{math-e0b30d68.js → math-675bd44e.js} +1 -1
- package/dist/cjs/{observers-c5c69be1.js → observers-66cd9b10.js} +1 -1
- package/dist/cjs/{openCloseComponent-814bd94f.js → openCloseComponent-83fa4c36.js} +1 -1
- package/dist/cjs/{resources-bc6c514b.js → resources-0cca1b72.js} +5 -5
- package/dist/cjs/{resources-f191f6f1.js → resources-3f3d1f7d.js} +1 -1
- package/dist/cjs/{resources-be44f944.js → resources-556c4032.js} +1 -1
- package/dist/cjs/{resources-a98190d6.js → resources-6c843427.js} +1 -1
- package/dist/cjs/{resources-8e988019.js → resources-92d288c2.js} +1 -1
- package/dist/cjs/{resources-a7716eb8.js → resources-f0642ea4.js} +3 -3
- package/dist/cjs/{sortable.esm-7b7798ee.js → sortable.esm-04779203.js} +1 -1
- package/dist/cjs/{utils-c6918b5f.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.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.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.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +329 -296
- package/dist/esm/{ExpandToggle-139595de.js → ExpandToggle-3bc56409.js} +5 -5
- package/dist/esm/{Heading-a18cb373.js → Heading-e76fabf0.js} +2 -2
- package/dist/esm/{app-globals-e3a7287d.js → app-globals-a36c6cb4.js} +2 -2
- package/dist/esm/{array-a308028d.js → array-98503e3e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- 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 +8 -8
- 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-2355c519.js → conditionalSlot-d26c49f4.js} +3 -3
- package/dist/esm/{debounce-95682a01.js → debounce-456a350b.js} +1 -1
- package/dist/esm/{dom-637307c9.js → dom-aa448df2.js} +3 -3
- package/dist/esm/{filter-a569b2bb.js → filter-6d541b81.js} +2 -2
- package/dist/esm/{floating-ui-f5fc413f.js → floating-ui-dcbb2e0f.js} +2 -2
- package/dist/esm/{form-3e952fde.js → form-ed848cf6.js} +3 -3
- package/dist/esm/globalAttributes-39c1d74c.js +68 -0
- package/dist/esm/{guid-f7438467.js → guid-6a3d508c.js} +1 -1
- package/dist/esm/{index-ae279adb.js → index-4d8a8a3d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-04fa4f00.js → interactive-c13e9f92.js} +1 -1
- package/dist/esm/{interfaces-ff32e446.js → interfaces-774ed52c.js} +1 -1
- package/dist/esm/{key-7f7dfeb5.js → key-95771f61.js} +1 -1
- package/dist/esm/{label-bc77bf8b.js → label-59c8bc7c.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-2e879ac3.js → locale-975287e1.js} +2 -2
- package/dist/esm/{math-608709eb.js → math-83019fa1.js} +1 -1
- package/dist/esm/{observers-5c076bdc.js → observers-ded2c2cc.js} +1 -1
- package/dist/esm/{openCloseComponent-29ed8d3d.js → openCloseComponent-8ac8796e.js} +1 -1
- package/dist/esm/{resources-26ee2c41.js → resources-189f4308.js} +1 -1
- package/dist/esm/{resources-5d69fc4a.js → resources-5470719f.js} +5 -5
- package/dist/esm/{resources-2bf5f9cd.js → resources-9e0ec6e2.js} +1 -1
- package/dist/esm/{resources-324bf407.js → resources-bf2368cb.js} +1 -1
- package/dist/esm/{resources-e4d05f13.js → resources-c49cfcc7.js} +3 -3
- package/dist/esm/{resources-fd71de4f.js → resources-e2bbcd2d.js} +1 -1
- package/dist/esm/{sortable.esm-0f03f2ed.js → sortable.esm-dd628a88.js} +1 -1
- package/dist/esm/{utils-4c6cc187.js → utils-d3bcea4a.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-139595de.js → ExpandToggle-3bc56409.js} +2 -2
- package/dist/esm-es5/{Heading-a18cb373.js → Heading-e76fabf0.js} +2 -2
- package/dist/esm-es5/{app-globals-e3a7287d.js → app-globals-a36c6cb4.js} +2 -2
- package/dist/esm-es5/{array-a308028d.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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +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-2355c519.js → conditionalSlot-d26c49f4.js} +2 -2
- package/dist/esm-es5/{debounce-95682a01.js → debounce-456a350b.js} +1 -1
- package/dist/esm-es5/{dom-637307c9.js → dom-aa448df2.js} +2 -2
- package/dist/esm-es5/{filter-a569b2bb.js → filter-6d541b81.js} +2 -2
- package/dist/esm-es5/{floating-ui-f5fc413f.js → floating-ui-dcbb2e0f.js} +2 -2
- package/dist/esm-es5/{form-3e952fde.js → form-ed848cf6.js} +2 -2
- package/dist/esm-es5/globalAttributes-39c1d74c.js +6 -0
- package/dist/esm-es5/{guid-f7438467.js → guid-6a3d508c.js} +1 -1
- package/dist/esm-es5/{index-ae279adb.js → index-4d8a8a3d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-04fa4f00.js → interactive-c13e9f92.js} +1 -1
- package/dist/esm-es5/{interfaces-ff32e446.js → interfaces-774ed52c.js} +1 -1
- package/dist/esm-es5/{key-7f7dfeb5.js → key-95771f61.js} +1 -1
- package/dist/esm-es5/{label-bc77bf8b.js → label-59c8bc7c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-2e879ac3.js → locale-975287e1.js} +2 -2
- package/dist/esm-es5/{math-608709eb.js → math-83019fa1.js} +1 -1
- package/dist/esm-es5/{observers-5c076bdc.js → observers-ded2c2cc.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-29ed8d3d.js → openCloseComponent-8ac8796e.js} +1 -1
- package/dist/esm-es5/{resources-26ee2c41.js → resources-189f4308.js} +1 -1
- package/dist/esm-es5/{resources-5d69fc4a.js → resources-5470719f.js} +2 -2
- package/dist/esm-es5/{resources-2bf5f9cd.js → resources-9e0ec6e2.js} +1 -1
- package/dist/esm-es5/{resources-324bf407.js → resources-bf2368cb.js} +1 -1
- package/dist/esm-es5/{resources-e4d05f13.js → resources-c49cfcc7.js} +2 -2
- package/dist/esm-es5/{resources-fd71de4f.js → resources-e2bbcd2d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-0f03f2ed.js → sortable.esm-dd628a88.js} +1 -1
- package/dist/esm-es5/{utils-4c6cc187.js → utils-d3bcea4a.js} +1 -1
- package/dist/extras/docs-json.json +39 -1
- 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/slider/resources.d.ts +7 -0
- package/dist/types/components/slider/slider.d.ts +19 -1
- package/dist/types/components.d.ts +18 -0
- package/hydrate/index.js +332 -296
- package/package.json +4 -4
- package/dist/calcite/p-08428757.entry.js +0 -6
- package/dist/calcite/p-1c0f352f.js +0 -6
- package/dist/calcite/p-8a652143.js +0 -6
- package/dist/calcite/p-99f27197.system.entry.js +0 -6
- package/dist/calcite/p-ba57b52f.system.entry.js +0 -6
- package/dist/calcite/p-eff8b90c.entry.js +0 -6
- package/dist/calcite/p-f4ab5705.system.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",
|
|
@@ -6284,27 +6284,27 @@ class AccordionItem {
|
|
|
6284
6284
|
// --------------------------------------------------------------------------
|
|
6285
6285
|
renderActionsStart() {
|
|
6286
6286
|
const { el } = this;
|
|
6287
|
-
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;
|
|
6288
6288
|
}
|
|
6289
6289
|
renderActionsEnd() {
|
|
6290
6290
|
const { el } = this;
|
|
6291
|
-
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;
|
|
6292
6292
|
}
|
|
6293
6293
|
render() {
|
|
6294
6294
|
const dir = getElementDir(this.el);
|
|
6295
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6296
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
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
6297
|
const description = this.description || this.itemSubtitle;
|
|
6298
6298
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6299
6299
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6300
6300
|
[`icon-type--${this.iconType}`]: true
|
|
6301
|
-
} }, 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"
|
|
6302
6302
|
? "chevronDown"
|
|
6303
6303
|
: this.iconType === "caret"
|
|
6304
6304
|
? "caretDown"
|
|
6305
6305
|
: this.expanded || this.active
|
|
6306
6306
|
? "minus"
|
|
6307
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6307
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$U.content }, hAsync("slot", null)))));
|
|
6308
6308
|
}
|
|
6309
6309
|
//--------------------------------------------------------------------------
|
|
6310
6310
|
//
|
|
@@ -6397,7 +6397,7 @@ class AccordionItem {
|
|
|
6397
6397
|
}; }
|
|
6398
6398
|
}
|
|
6399
6399
|
|
|
6400
|
-
const CSS$
|
|
6400
|
+
const CSS$T = {
|
|
6401
6401
|
button: "button",
|
|
6402
6402
|
buttonTextVisible: "button--text-visible",
|
|
6403
6403
|
buttonCompact: "button--compact",
|
|
@@ -6547,8 +6547,8 @@ class Action {
|
|
|
6547
6547
|
renderTextContainer() {
|
|
6548
6548
|
const { text, textEnabled } = this;
|
|
6549
6549
|
const textContainerClasses = {
|
|
6550
|
-
[CSS$
|
|
6551
|
-
[CSS$
|
|
6550
|
+
[CSS$T.textContainer]: true,
|
|
6551
|
+
[CSS$T.textContainerVisible]: textEnabled
|
|
6552
6552
|
};
|
|
6553
6553
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6554
6554
|
}
|
|
@@ -6562,18 +6562,18 @@ class Action {
|
|
|
6562
6562
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6563
6563
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
6564
6564
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6565
|
-
[CSS$
|
|
6566
|
-
[CSS$
|
|
6565
|
+
[CSS$T.slotContainer]: true,
|
|
6566
|
+
[CSS$T.slotContainerHidden]: loading
|
|
6567
6567
|
} }, hAsync("slot", null)));
|
|
6568
|
-
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;
|
|
6569
6569
|
}
|
|
6570
6570
|
render() {
|
|
6571
6571
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6572
6572
|
const ariaLabel = label || text;
|
|
6573
6573
|
const buttonClasses = {
|
|
6574
|
-
[CSS$
|
|
6575
|
-
[CSS$
|
|
6576
|
-
[CSS$
|
|
6574
|
+
[CSS$T.button]: true,
|
|
6575
|
+
[CSS$T.buttonTextVisible]: textEnabled,
|
|
6576
|
+
[CSS$T.buttonCompact]: compact
|
|
6577
6577
|
};
|
|
6578
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())));
|
|
6579
6579
|
}
|
|
@@ -6604,7 +6604,7 @@ class Action {
|
|
|
6604
6604
|
}; }
|
|
6605
6605
|
}
|
|
6606
6606
|
|
|
6607
|
-
const CSS$
|
|
6607
|
+
const CSS$S = {
|
|
6608
6608
|
menu: "menu",
|
|
6609
6609
|
defaultTrigger: "default-trigger"
|
|
6610
6610
|
};
|
|
@@ -6716,7 +6716,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6716
6716
|
return actionNode;
|
|
6717
6717
|
};
|
|
6718
6718
|
|
|
6719
|
-
const CSS$
|
|
6719
|
+
const CSS$R = {
|
|
6720
6720
|
actionGroupBottom: "action-group--bottom"
|
|
6721
6721
|
};
|
|
6722
6722
|
const SLOTS$q = {
|
|
@@ -8161,7 +8161,7 @@ class ActionBar {
|
|
|
8161
8161
|
const expandLabel = intlExpand || TEXT$s.expand;
|
|
8162
8162
|
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
8163
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;
|
|
8164
|
-
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;
|
|
8165
8165
|
}
|
|
8166
8166
|
render() {
|
|
8167
8167
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8551,14 +8551,14 @@ class ActionMenu {
|
|
|
8551
8551
|
}
|
|
8552
8552
|
renderMenuButton() {
|
|
8553
8553
|
const { label, scale, expanded } = this;
|
|
8554
|
-
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 })));
|
|
8555
8555
|
return menuButtonSlot;
|
|
8556
8556
|
}
|
|
8557
8557
|
renderMenuItems() {
|
|
8558
8558
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8559
8559
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8560
8560
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
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$
|
|
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 }))));
|
|
8562
8562
|
}
|
|
8563
8563
|
render() {
|
|
8564
8564
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -8594,7 +8594,7 @@ class ActionMenu {
|
|
|
8594
8594
|
}; }
|
|
8595
8595
|
}
|
|
8596
8596
|
|
|
8597
|
-
const CSS$
|
|
8597
|
+
const CSS$Q = {
|
|
8598
8598
|
actionGroupBottom: "action-group--bottom",
|
|
8599
8599
|
container: "container"
|
|
8600
8600
|
};
|
|
@@ -8703,10 +8703,10 @@ class ActionPad {
|
|
|
8703
8703
|
const expandLabel = intlExpand || TEXT$r.expand;
|
|
8704
8704
|
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
8705
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;
|
|
8706
|
-
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;
|
|
8707
8707
|
}
|
|
8708
8708
|
render() {
|
|
8709
|
-
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())));
|
|
8710
8710
|
}
|
|
8711
8711
|
get el() { return getElement(this); }
|
|
8712
8712
|
static get watchers() { return {
|
|
@@ -9299,7 +9299,7 @@ class Avatar {
|
|
|
9299
9299
|
}; }
|
|
9300
9300
|
}
|
|
9301
9301
|
|
|
9302
|
-
const CSS$
|
|
9302
|
+
const CSS$P = {
|
|
9303
9303
|
article: "article",
|
|
9304
9304
|
content: "content",
|
|
9305
9305
|
headerContainer: "header-container",
|
|
@@ -9460,30 +9460,30 @@ class Block {
|
|
|
9460
9460
|
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
9461
9461
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
9462
9462
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
9463
|
-
[CSS$
|
|
9464
|
-
[CSS$
|
|
9465
|
-
[CSS$
|
|
9466
|
-
[CSS$
|
|
9463
|
+
[CSS$P.statusIcon]: true,
|
|
9464
|
+
[CSS$P.valid]: status == "valid",
|
|
9465
|
+
[CSS$P.invalid]: status == "invalid",
|
|
9466
|
+
[CSS$P.loading]: showingLoadingStatus
|
|
9467
9467
|
}, icon: statusIcon, scale: "m" }));
|
|
9468
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9468
|
+
return hasIcon ? hAsync("div", { class: CSS$P.icon }, iconEl) : null;
|
|
9469
9469
|
}
|
|
9470
9470
|
renderTitle() {
|
|
9471
9471
|
const { heading, headingLevel, summary, description } = this;
|
|
9472
|
-
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;
|
|
9473
9473
|
}
|
|
9474
9474
|
render() {
|
|
9475
9475
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9476
9476
|
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
9477
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9477
|
+
const headerContent = (hAsync("header", { class: CSS$P.header }, this.renderIcon(), this.renderTitle()));
|
|
9478
9478
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
9479
9479
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
9480
9480
|
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
9481
9481
|
const { guid } = this;
|
|
9482
9482
|
const regionId = `${guid}-region`;
|
|
9483
9483
|
const buttonId = `${guid}-button`;
|
|
9484
|
-
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));
|
|
9485
9485
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9486
|
-
[CSS$
|
|
9486
|
+
[CSS$P.article]: true
|
|
9487
9487
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
9488
9488
|
content: true,
|
|
9489
9489
|
"content--spaced": !this.disablePadding
|
|
@@ -9517,7 +9517,7 @@ class Block {
|
|
|
9517
9517
|
}; }
|
|
9518
9518
|
}
|
|
9519
9519
|
|
|
9520
|
-
const CSS$
|
|
9520
|
+
const CSS$O = {
|
|
9521
9521
|
content: "content",
|
|
9522
9522
|
invalid: "invalid",
|
|
9523
9523
|
toggle: "toggle",
|
|
@@ -9588,9 +9588,9 @@ class BlockSection {
|
|
|
9588
9588
|
const { status } = this;
|
|
9589
9589
|
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
9590
9590
|
const statusIconClasses = {
|
|
9591
|
-
[CSS$
|
|
9592
|
-
[CSS$
|
|
9593
|
-
[CSS$
|
|
9591
|
+
[CSS$O.statusIcon]: true,
|
|
9592
|
+
[CSS$O.valid]: status == "valid",
|
|
9593
|
+
[CSS$O.invalid]: status == "invalid"
|
|
9594
9594
|
};
|
|
9595
9595
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9596
9596
|
}
|
|
@@ -9607,13 +9607,13 @@ class BlockSection {
|
|
|
9607
9607
|
const regionId = `${guid}-region`;
|
|
9608
9608
|
const buttonId = `${guid}-button`;
|
|
9609
9609
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9610
|
-
[CSS$
|
|
9611
|
-
[CSS$
|
|
9612
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9613
|
-
[CSS$
|
|
9614
|
-
[CSS$
|
|
9615
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9616
|
-
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))));
|
|
9617
9617
|
}
|
|
9618
9618
|
get el() { return getElement(this); }
|
|
9619
9619
|
static get style() { return blockSectionCss; }
|
|
@@ -9662,7 +9662,7 @@ class BlockSection {
|
|
|
9662
9662
|
}
|
|
9663
9663
|
})(HTMLFormElement.prototype);
|
|
9664
9664
|
|
|
9665
|
-
const CSS$
|
|
9665
|
+
const CSS$N = {
|
|
9666
9666
|
buttonLoader: "calcite-button--loader",
|
|
9667
9667
|
content: "content",
|
|
9668
9668
|
contentSlotted: "content--slotted",
|
|
@@ -10105,14 +10105,14 @@ class Button {
|
|
|
10105
10105
|
render() {
|
|
10106
10106
|
const childElType = this.href ? "a" : "button";
|
|
10107
10107
|
const Tag = childElType;
|
|
10108
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
10109
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10110
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10111
|
-
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)));
|
|
10112
10112
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
10113
|
-
[CSS$
|
|
10114
|
-
[CSS$
|
|
10115
|
-
[CSS$
|
|
10113
|
+
[CSS$N.contentSlotted]: this.hasContent,
|
|
10114
|
+
[CSS$N.iconStartEmpty]: !this.iconStart,
|
|
10115
|
+
[CSS$N.iconEndEmpty]: !this.iconEnd
|
|
10116
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));
|
|
10117
10117
|
}
|
|
10118
10118
|
//--------------------------------------------------------------------------
|
|
@@ -10185,7 +10185,7 @@ class Button {
|
|
|
10185
10185
|
}; }
|
|
10186
10186
|
}
|
|
10187
10187
|
|
|
10188
|
-
const CSS$
|
|
10188
|
+
const CSS$M = {
|
|
10189
10189
|
container: "container",
|
|
10190
10190
|
header: "header",
|
|
10191
10191
|
footer: "footer",
|
|
@@ -10292,32 +10292,32 @@ class Card {
|
|
|
10292
10292
|
render() {
|
|
10293
10293
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
10294
10294
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
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$
|
|
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()));
|
|
10296
10296
|
}
|
|
10297
10297
|
selectCard() {
|
|
10298
10298
|
this.selected = !this.selected;
|
|
10299
10299
|
this.calciteCardSelect.emit();
|
|
10300
10300
|
}
|
|
10301
10301
|
renderThumbnail() {
|
|
10302
|
-
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;
|
|
10303
10303
|
}
|
|
10304
10304
|
renderCheckbox() {
|
|
10305
10305
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
10306
|
-
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 })));
|
|
10307
10307
|
}
|
|
10308
10308
|
renderHeader() {
|
|
10309
10309
|
const { el } = this;
|
|
10310
10310
|
const title = getSlotted(el, SLOTS$m.title);
|
|
10311
10311
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
10312
10312
|
const hasHeader = title || subtitle;
|
|
10313
|
-
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;
|
|
10314
10314
|
}
|
|
10315
10315
|
renderFooter() {
|
|
10316
10316
|
const { el } = this;
|
|
10317
10317
|
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
10318
10318
|
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
10319
10319
|
const hasFooter = leadingFooter || trailingFooter;
|
|
10320
|
-
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;
|
|
10321
10321
|
}
|
|
10322
10322
|
get el() { return getElement(this); }
|
|
10323
10323
|
static get style() { return cardCss; }
|
|
@@ -10480,7 +10480,7 @@ class Checkbox {
|
|
|
10480
10480
|
}; }
|
|
10481
10481
|
}
|
|
10482
10482
|
|
|
10483
|
-
const CSS$
|
|
10483
|
+
const CSS$L = {
|
|
10484
10484
|
title: "title",
|
|
10485
10485
|
close: "close",
|
|
10486
10486
|
imageContainer: "image-container",
|
|
@@ -10589,12 +10589,12 @@ class Chip {
|
|
|
10589
10589
|
renderChipImage() {
|
|
10590
10590
|
const { el } = this;
|
|
10591
10591
|
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
10592
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10592
|
+
return hasChipImage ? (hAsync("div", { class: CSS$L.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image }))) : null;
|
|
10593
10593
|
}
|
|
10594
10594
|
render() {
|
|
10595
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10596
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10597
|
-
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));
|
|
10598
10598
|
}
|
|
10599
10599
|
get el() { return getElement(this); }
|
|
10600
10600
|
static get watchers() { return {
|
|
@@ -12734,7 +12734,7 @@ function zeroArray(array, length) {
|
|
|
12734
12734
|
|
|
12735
12735
|
var color = Color;
|
|
12736
12736
|
|
|
12737
|
-
const CSS$
|
|
12737
|
+
const CSS$K = {
|
|
12738
12738
|
container: "container",
|
|
12739
12739
|
controlSection: "control-section",
|
|
12740
12740
|
hexOptions: "color-hex-options",
|
|
@@ -13274,7 +13274,7 @@ class ColorPicker {
|
|
|
13274
13274
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
13275
13275
|
const active = channelMode === activeChannelMode;
|
|
13276
13276
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
13277
|
-
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));
|
|
13278
13278
|
};
|
|
13279
13279
|
this.renderChannelsTab = (channelMode) => {
|
|
13280
13280
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -13285,11 +13285,11 @@ class ColorPicker {
|
|
|
13285
13285
|
? [intlRed, intlGreen, intlBlue]
|
|
13286
13286
|
: [intlHue, intlSaturation, intlValue];
|
|
13287
13287
|
const direction = getElementDir(this.el);
|
|
13288
|
-
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) =>
|
|
13289
13289
|
/* the channel container is ltr, so we apply the host's direction */
|
|
13290
13290
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
13291
13291
|
};
|
|
13292
|
-
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() }));
|
|
13293
13293
|
this.deleteColor = () => {
|
|
13294
13294
|
const colorToDelete = this.color.hex();
|
|
13295
13295
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13392,7 +13392,7 @@ class ColorPicker {
|
|
|
13392
13392
|
this.shiftKeyChannelAdjustment = 0;
|
|
13393
13393
|
const { key } = event;
|
|
13394
13394
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13395
|
-
!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); })) {
|
|
13396
13396
|
return;
|
|
13397
13397
|
}
|
|
13398
13398
|
const { shiftKey } = event;
|
|
@@ -13463,20 +13463,20 @@ class ColorPicker {
|
|
|
13463
13463
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13464
13464
|
const noColor = color === null;
|
|
13465
13465
|
const vertical = scopeOrientation === "vertical";
|
|
13466
|
-
return (hAsync("div", { class: CSS$
|
|
13467
|
-
[CSS$
|
|
13468
|
-
[CSS$
|
|
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$
|
|
13470
|
-
[CSS$
|
|
13471
|
-
[CSS$
|
|
13472
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13473
|
-
[CSS$
|
|
13474
|
-
[CSS$
|
|
13475
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13476
|
-
[CSS$
|
|
13477
|
-
[CSS$
|
|
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$
|
|
13479
|
-
...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 })))
|
|
13480
13480
|
])) : null))));
|
|
13481
13481
|
}
|
|
13482
13482
|
// --------------------------------------------------------------------------
|
|
@@ -13722,7 +13722,7 @@ class ColorPicker {
|
|
|
13722
13722
|
}; }
|
|
13723
13723
|
}
|
|
13724
13724
|
|
|
13725
|
-
const CSS$
|
|
13725
|
+
const CSS$J = {
|
|
13726
13726
|
container: "container",
|
|
13727
13727
|
preview: "preview",
|
|
13728
13728
|
input: "input"
|
|
@@ -13858,7 +13858,7 @@ class ColorPickerHexInput {
|
|
|
13858
13858
|
render() {
|
|
13859
13859
|
const { intlHex, value } = this;
|
|
13860
13860
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13861
|
-
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));
|
|
13862
13862
|
}
|
|
13863
13863
|
//--------------------------------------------------------------------------
|
|
13864
13864
|
//
|
|
@@ -13934,7 +13934,7 @@ class ColorPickerHexInput {
|
|
|
13934
13934
|
}; }
|
|
13935
13935
|
}
|
|
13936
13936
|
|
|
13937
|
-
const CSS$
|
|
13937
|
+
const CSS$I = {
|
|
13938
13938
|
swatch: "swatch",
|
|
13939
13939
|
noColorIcon: "no-color-icon"
|
|
13940
13940
|
};
|
|
@@ -13979,7 +13979,7 @@ class ColorPickerSwatch {
|
|
|
13979
13979
|
const hex = internalColor.hex();
|
|
13980
13980
|
const theme = getThemeName(el);
|
|
13981
13981
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
13982
|
-
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%" })));
|
|
13983
13983
|
}
|
|
13984
13984
|
get el() { return getElement(this); }
|
|
13985
13985
|
static get watchers() { return {
|
|
@@ -16583,7 +16583,7 @@ class Combobox {
|
|
|
16583
16583
|
}; }
|
|
16584
16584
|
}
|
|
16585
16585
|
|
|
16586
|
-
const CSS$
|
|
16586
|
+
const CSS$H = {
|
|
16587
16587
|
icon: "icon",
|
|
16588
16588
|
iconActive: "icon--active",
|
|
16589
16589
|
custom: "icon--custom",
|
|
@@ -16675,18 +16675,18 @@ class ComboboxItem {
|
|
|
16675
16675
|
// --------------------------------------------------------------------------
|
|
16676
16676
|
renderIcon(isSingle) {
|
|
16677
16677
|
const { icon, disabled, selected } = this;
|
|
16678
|
-
const level = `${CSS$
|
|
16678
|
+
const level = `${CSS$H.icon}--indent`;
|
|
16679
16679
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16680
16680
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16681
16681
|
const showDot = isSingle && !icon && !disabled;
|
|
16682
16682
|
return showDot ? (hAsync("span", { class: {
|
|
16683
|
-
[CSS$
|
|
16684
|
-
[CSS$
|
|
16683
|
+
[CSS$H.icon]: true,
|
|
16684
|
+
[CSS$H.dot]: true,
|
|
16685
16685
|
[level]: true
|
|
16686
16686
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16687
|
-
[CSS$
|
|
16688
|
-
[CSS$
|
|
16689
|
-
[CSS$
|
|
16687
|
+
[CSS$H.icon]: !icon,
|
|
16688
|
+
[CSS$H.custom]: !!icon,
|
|
16689
|
+
[CSS$H.iconActive]: icon && selected,
|
|
16690
16690
|
[level]: true
|
|
16691
16691
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16692
16692
|
}
|
|
@@ -16699,13 +16699,13 @@ class ComboboxItem {
|
|
|
16699
16699
|
render() {
|
|
16700
16700
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16701
16701
|
const classes = {
|
|
16702
|
-
[CSS$
|
|
16703
|
-
[CSS$
|
|
16704
|
-
[CSS$
|
|
16705
|
-
[CSS$
|
|
16702
|
+
[CSS$H.label]: true,
|
|
16703
|
+
[CSS$H.selected]: this.selected,
|
|
16704
|
+
[CSS$H.active]: this.active,
|
|
16705
|
+
[CSS$H.single]: isSingleSelect
|
|
16706
16706
|
};
|
|
16707
16707
|
const depth = getDepth();
|
|
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$
|
|
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())));
|
|
16709
16709
|
}
|
|
16710
16710
|
get el() { return getElement(this); }
|
|
16711
16711
|
static get watchers() { return {
|
|
@@ -16734,7 +16734,7 @@ class ComboboxItem {
|
|
|
16734
16734
|
}; }
|
|
16735
16735
|
}
|
|
16736
16736
|
|
|
16737
|
-
const CSS$
|
|
16737
|
+
const CSS$G = {
|
|
16738
16738
|
list: "list",
|
|
16739
16739
|
label: "label",
|
|
16740
16740
|
title: "title"
|
|
@@ -16767,8 +16767,8 @@ class ComboboxItemGroup {
|
|
|
16767
16767
|
// --------------------------------------------------------------------------
|
|
16768
16768
|
render() {
|
|
16769
16769
|
const { el, scale } = this;
|
|
16770
|
-
const indent = `${CSS$
|
|
16771
|
-
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)));
|
|
16772
16772
|
}
|
|
16773
16773
|
get el() { return getElement(this); }
|
|
16774
16774
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -18705,7 +18705,7 @@ class Dropdown {
|
|
|
18705
18705
|
}; }
|
|
18706
18706
|
}
|
|
18707
18707
|
|
|
18708
|
-
const CSS$
|
|
18708
|
+
const CSS$F = {
|
|
18709
18709
|
containerSmall: "container--s",
|
|
18710
18710
|
containerMedium: "container--m",
|
|
18711
18711
|
containerLarge: "container--l"
|
|
@@ -18740,9 +18740,9 @@ class DropdownGroup {
|
|
|
18740
18740
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18741
18741
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18742
18742
|
container: true,
|
|
18743
|
-
[CSS$
|
|
18744
|
-
[CSS$
|
|
18745
|
-
[CSS$
|
|
18743
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
18744
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
18745
|
+
[CSS$F.containerLarge]: scale === "l"
|
|
18746
18746
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18747
18747
|
}
|
|
18748
18748
|
//--------------------------------------------------------------------------
|
|
@@ -18782,7 +18782,7 @@ class DropdownGroup {
|
|
|
18782
18782
|
}; }
|
|
18783
18783
|
}
|
|
18784
18784
|
|
|
18785
|
-
const CSS$
|
|
18785
|
+
const CSS$E = {
|
|
18786
18786
|
containerLink: "container--link",
|
|
18787
18787
|
containerSmall: "container--s",
|
|
18788
18788
|
containerMedium: "container--m",
|
|
@@ -18872,13 +18872,13 @@ class DropdownItem {
|
|
|
18872
18872
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
18873
18873
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18874
18874
|
container: true,
|
|
18875
|
-
[CSS$
|
|
18876
|
-
[CSS$
|
|
18877
|
-
[CSS$
|
|
18878
|
-
[CSS$
|
|
18879
|
-
[CSS$
|
|
18880
|
-
[CSS$
|
|
18881
|
-
[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"
|
|
18882
18882
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18883
18883
|
}
|
|
18884
18884
|
//--------------------------------------------------------------------------
|
|
@@ -18989,7 +18989,7 @@ class DropdownItem {
|
|
|
18989
18989
|
}; }
|
|
18990
18990
|
}
|
|
18991
18991
|
|
|
18992
|
-
const CSS$
|
|
18992
|
+
const CSS$D = {
|
|
18993
18993
|
button: "button"
|
|
18994
18994
|
};
|
|
18995
18995
|
const ICONS$a = {
|
|
@@ -19062,7 +19062,7 @@ class Fab {
|
|
|
19062
19062
|
render() {
|
|
19063
19063
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
19064
19064
|
const title = !textEnabled ? label || text || null : null;
|
|
19065
|
-
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) => {
|
|
19066
19066
|
this.buttonEl = buttonEl;
|
|
19067
19067
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
19068
19068
|
}
|
|
@@ -19089,7 +19089,7 @@ class Fab {
|
|
|
19089
19089
|
}; }
|
|
19090
19090
|
}
|
|
19091
19091
|
|
|
19092
|
-
const CSS$
|
|
19092
|
+
const CSS$C = {
|
|
19093
19093
|
container: "container",
|
|
19094
19094
|
searchIcon: "search-icon"
|
|
19095
19095
|
};
|
|
@@ -19208,7 +19208,7 @@ class Filter {
|
|
|
19208
19208
|
// --------------------------------------------------------------------------
|
|
19209
19209
|
render() {
|
|
19210
19210
|
const { disabled, scale } = this;
|
|
19211
|
-
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) => {
|
|
19212
19212
|
this.textInput = el;
|
|
19213
19213
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19214
19214
|
}
|
|
@@ -19238,7 +19238,7 @@ class Filter {
|
|
|
19238
19238
|
}; }
|
|
19239
19239
|
}
|
|
19240
19240
|
|
|
19241
|
-
const CSS$
|
|
19241
|
+
const CSS$B = {
|
|
19242
19242
|
frame: "frame",
|
|
19243
19243
|
frameAdvancing: "frame--advancing",
|
|
19244
19244
|
frameRetreating: "frame--retreating"
|
|
@@ -19340,9 +19340,9 @@ class Flow {
|
|
|
19340
19340
|
render() {
|
|
19341
19341
|
const { flowDirection } = this;
|
|
19342
19342
|
const frameDirectionClasses = {
|
|
19343
|
-
[CSS$
|
|
19344
|
-
[CSS$
|
|
19345
|
-
[CSS$
|
|
19343
|
+
[CSS$B.frame]: true,
|
|
19344
|
+
[CSS$B.frameAdvancing]: flowDirection === "advancing",
|
|
19345
|
+
[CSS$B.frameRetreating]: flowDirection === "retreating"
|
|
19346
19346
|
};
|
|
19347
19347
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19348
19348
|
}
|
|
@@ -19363,7 +19363,7 @@ class Flow {
|
|
|
19363
19363
|
}; }
|
|
19364
19364
|
}
|
|
19365
19365
|
|
|
19366
|
-
const CSS$
|
|
19366
|
+
const CSS$A = {
|
|
19367
19367
|
backButton: "back-button"
|
|
19368
19368
|
};
|
|
19369
19369
|
const ICONS$8 = {
|
|
@@ -19383,7 +19383,7 @@ const SLOTS$j = {
|
|
|
19383
19383
|
footerActions: "footer-actions"
|
|
19384
19384
|
};
|
|
19385
19385
|
|
|
19386
|
-
const CSS$
|
|
19386
|
+
const CSS$z = {
|
|
19387
19387
|
backButton: "back-button",
|
|
19388
19388
|
container: "container",
|
|
19389
19389
|
header: "header",
|
|
@@ -19528,7 +19528,7 @@ class FlowItem {
|
|
|
19528
19528
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
19529
19529
|
const label = intlBack || TEXT$g.back;
|
|
19530
19530
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
19531
|
-
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;
|
|
19532
19532
|
}
|
|
19533
19533
|
render() {
|
|
19534
19534
|
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
@@ -19795,7 +19795,7 @@ class Graph {
|
|
|
19795
19795
|
}; }
|
|
19796
19796
|
}
|
|
19797
19797
|
|
|
19798
|
-
const CSS$
|
|
19798
|
+
const CSS$y = {
|
|
19799
19799
|
handle: "handle",
|
|
19800
19800
|
handleActivated: "handle--activated"
|
|
19801
19801
|
};
|
|
@@ -19866,7 +19866,7 @@ class Handle {
|
|
|
19866
19866
|
render() {
|
|
19867
19867
|
return (
|
|
19868
19868
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19869
|
-
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) => {
|
|
19870
19870
|
this.handleButton = el;
|
|
19871
19871
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
19872
19872
|
}
|
|
@@ -19886,7 +19886,7 @@ class Handle {
|
|
|
19886
19886
|
}; }
|
|
19887
19887
|
}
|
|
19888
19888
|
|
|
19889
|
-
const CSS$
|
|
19889
|
+
const CSS$x = {
|
|
19890
19890
|
icon: "icon",
|
|
19891
19891
|
flipRtl: "flip-rtl"
|
|
19892
19892
|
};
|
|
@@ -19947,7 +19947,7 @@ class Icon {
|
|
|
19947
19947
|
const semantic = !!textLabel;
|
|
19948
19948
|
const paths = [].concat(pathData || "");
|
|
19949
19949
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19950
|
-
[CSS$
|
|
19950
|
+
[CSS$x.flipRtl]: dir === "rtl" && flipRtl,
|
|
19951
19951
|
svg: true
|
|
19952
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 }))))));
|
|
19953
19953
|
}
|
|
@@ -19993,7 +19993,7 @@ class Icon {
|
|
|
19993
19993
|
}; }
|
|
19994
19994
|
}
|
|
19995
19995
|
|
|
19996
|
-
const CSS$
|
|
19996
|
+
const CSS$w = {
|
|
19997
19997
|
wrapper: "wrapper",
|
|
19998
19998
|
confirmChangesButton: "confirm-changes-button",
|
|
19999
19999
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -20157,12 +20157,12 @@ class InlineEditable {
|
|
|
20157
20157
|
updateHostInteraction(this);
|
|
20158
20158
|
}
|
|
20159
20159
|
render() {
|
|
20160
|
-
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: {
|
|
20161
20161
|
opacity: this.editingEnabled ? "0" : "1",
|
|
20162
20162
|
width: this.editingEnabled ? "0" : "inherit"
|
|
20163
20163
|
}, type: "button" }), this.shouldShowControls && [
|
|
20164
|
-
hAsync("div", { class: CSS$
|
|
20165
|
-
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" })
|
|
20166
20166
|
])));
|
|
20167
20167
|
}
|
|
20168
20168
|
//--------------------------------------------------------------------------
|
|
@@ -20244,7 +20244,7 @@ class InlineEditable {
|
|
|
20244
20244
|
}; }
|
|
20245
20245
|
}
|
|
20246
20246
|
|
|
20247
|
-
const CSS$
|
|
20247
|
+
const CSS$v = {
|
|
20248
20248
|
loader: "loader",
|
|
20249
20249
|
clearButton: "clear-button",
|
|
20250
20250
|
editingEnabled: "editing-enabled",
|
|
@@ -20823,34 +20823,34 @@ class Input {
|
|
|
20823
20823
|
// --------------------------------------------------------------------------
|
|
20824
20824
|
render() {
|
|
20825
20825
|
const dir = getElementDir(this.el);
|
|
20826
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20827
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$
|
|
20828
|
-
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" }));
|
|
20829
20829
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20830
20830
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20831
|
-
[CSS$
|
|
20832
|
-
[CSS$
|
|
20831
|
+
[CSS$v.numberButtonItem]: true,
|
|
20832
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20833
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" })));
|
|
20834
20834
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20835
|
-
[CSS$
|
|
20836
|
-
[CSS$
|
|
20835
|
+
[CSS$v.numberButtonItem]: true,
|
|
20836
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20837
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" })));
|
|
20838
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20839
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20840
|
-
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);
|
|
20841
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;
|
|
20842
20842
|
const childEl = this.type !== "number"
|
|
20843
20843
|
? [
|
|
20844
20844
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20845
|
-
[CSS$
|
|
20846
|
-
[CSS$
|
|
20845
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
20846
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
20847
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 }),
|
|
20848
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20848
|
+
this.isTextarea ? (hAsync("div", { class: CSS$v.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20849
20849
|
]
|
|
20850
20850
|
: null;
|
|
20851
|
-
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
|
|
20852
20852
|
? numberButtonsHorizontalDown
|
|
20853
|
-
: 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
|
|
20854
20854
|
? numberButtonsVertical
|
|
20855
20855
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20856
20856
|
? numberButtonsHorizontalUp
|
|
@@ -20913,7 +20913,7 @@ class Input {
|
|
|
20913
20913
|
}; }
|
|
20914
20914
|
}
|
|
20915
20915
|
|
|
20916
|
-
const CSS$
|
|
20916
|
+
const CSS$u = {
|
|
20917
20917
|
menu: "menu-container",
|
|
20918
20918
|
menuActive: "menu-container--active"
|
|
20919
20919
|
};
|
|
@@ -21249,8 +21249,8 @@ class InputDatePicker {
|
|
|
21249
21249
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
21250
21250
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
21251
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: {
|
|
21252
|
-
[CSS$
|
|
21253
|
-
[CSS$
|
|
21252
|
+
[CSS$u.menu]: true,
|
|
21253
|
+
[CSS$u.menuActive]: this.open
|
|
21254
21254
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
21255
21255
|
["calendar-picker-wrapper"]: true,
|
|
21256
21256
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -21563,7 +21563,7 @@ class InputMessage {
|
|
|
21563
21563
|
}; }
|
|
21564
21564
|
}
|
|
21565
21565
|
|
|
21566
|
-
const CSS$
|
|
21566
|
+
const CSS$t = {
|
|
21567
21567
|
loader: "loader",
|
|
21568
21568
|
clearButton: "clear-button",
|
|
21569
21569
|
editingEnabled: "editing-enabled",
|
|
@@ -22050,25 +22050,25 @@ class InputNumber {
|
|
|
22050
22050
|
// --------------------------------------------------------------------------
|
|
22051
22051
|
render() {
|
|
22052
22052
|
const dir = getElementDir(this.el);
|
|
22053
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22054
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$
|
|
22055
|
-
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" }));
|
|
22056
22056
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22057
22057
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
22058
|
-
[CSS$
|
|
22059
|
-
[CSS$
|
|
22058
|
+
[CSS$t.numberButtonItem]: true,
|
|
22059
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22060
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" })));
|
|
22061
22061
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
22062
|
-
[CSS$
|
|
22063
|
-
[CSS$
|
|
22062
|
+
[CSS$t.numberButtonItem]: true,
|
|
22063
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22064
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" })));
|
|
22065
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22066
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22067
|
-
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);
|
|
22068
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 }));
|
|
22069
|
-
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
|
|
22070
22070
|
? numberButtonsHorizontalDown
|
|
22071
|
-
: 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
|
|
22072
22072
|
? numberButtonsHorizontalUp
|
|
22073
22073
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22074
22074
|
}
|
|
@@ -22126,7 +22126,7 @@ class InputNumber {
|
|
|
22126
22126
|
}; }
|
|
22127
22127
|
}
|
|
22128
22128
|
|
|
22129
|
-
const CSS$
|
|
22129
|
+
const CSS$s = {
|
|
22130
22130
|
loader: "loader",
|
|
22131
22131
|
clearButton: "clear-button",
|
|
22132
22132
|
editingEnabled: "editing-enabled",
|
|
@@ -22434,16 +22434,16 @@ class InputText {
|
|
|
22434
22434
|
// --------------------------------------------------------------------------
|
|
22435
22435
|
render() {
|
|
22436
22436
|
const dir = getElementDir(this.el);
|
|
22437
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22438
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$
|
|
22439
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22440
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22441
|
-
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);
|
|
22442
22442
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
22443
|
-
[CSS$
|
|
22444
|
-
[CSS$
|
|
22443
|
+
[CSS$s.editingEnabled]: this.editingEnabled,
|
|
22444
|
+
[CSS$s.inlineChild]: !!this.inlineEditableEl
|
|
22445
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 }));
|
|
22446
|
-
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 }))));
|
|
22447
22447
|
}
|
|
22448
22448
|
get el() { return getElement(this); }
|
|
22449
22449
|
static get watchers() { return {
|
|
@@ -22970,7 +22970,7 @@ class InputTimePicker {
|
|
|
22970
22970
|
}; }
|
|
22971
22971
|
}
|
|
22972
22972
|
|
|
22973
|
-
const CSS$
|
|
22973
|
+
const CSS$r = {
|
|
22974
22974
|
container: "container"
|
|
22975
22975
|
};
|
|
22976
22976
|
|
|
@@ -23035,7 +23035,7 @@ class Label {
|
|
|
23035
23035
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
23036
23036
|
}
|
|
23037
23037
|
render() {
|
|
23038
|
-
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))));
|
|
23039
23039
|
}
|
|
23040
23040
|
get el() { return getElement(this); }
|
|
23041
23041
|
static get style() { return labelCss; }
|
|
@@ -23160,7 +23160,7 @@ class Link {
|
|
|
23160
23160
|
}; }
|
|
23161
23161
|
}
|
|
23162
23162
|
|
|
23163
|
-
const CSS$
|
|
23163
|
+
const CSS$q = {
|
|
23164
23164
|
container: "container"
|
|
23165
23165
|
};
|
|
23166
23166
|
|
|
@@ -23208,7 +23208,7 @@ class List$1 {
|
|
|
23208
23208
|
//
|
|
23209
23209
|
// --------------------------------------------------------------------------
|
|
23210
23210
|
render() {
|
|
23211
|
-
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$
|
|
23211
|
+
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$q.container }, hAsync("slot", null))));
|
|
23212
23212
|
}
|
|
23213
23213
|
get el() { return getElement(this); }
|
|
23214
23214
|
static get style() { return listCss; }
|
|
@@ -23226,7 +23226,7 @@ class List$1 {
|
|
|
23226
23226
|
}; }
|
|
23227
23227
|
}
|
|
23228
23228
|
|
|
23229
|
-
const CSS$
|
|
23229
|
+
const CSS$p = {
|
|
23230
23230
|
container: "container",
|
|
23231
23231
|
contentContainer: "content-container",
|
|
23232
23232
|
nestedContainer: "nested-container",
|
|
@@ -23247,7 +23247,7 @@ const SLOTS$e = {
|
|
|
23247
23247
|
actionsEnd: "actions-end"
|
|
23248
23248
|
};
|
|
23249
23249
|
|
|
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{-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}";
|
|
23251
23251
|
|
|
23252
23252
|
/**
|
|
23253
23253
|
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
|
|
@@ -23309,36 +23309,36 @@ class ListItem {
|
|
|
23309
23309
|
// --------------------------------------------------------------------------
|
|
23310
23310
|
renderActionsStart() {
|
|
23311
23311
|
const { el } = this;
|
|
23312
|
-
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;
|
|
23313
23313
|
}
|
|
23314
23314
|
renderActionsEnd() {
|
|
23315
23315
|
const { el } = this;
|
|
23316
|
-
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;
|
|
23317
23317
|
}
|
|
23318
23318
|
renderContentStart() {
|
|
23319
23319
|
const { el } = this;
|
|
23320
|
-
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;
|
|
23321
23321
|
}
|
|
23322
23322
|
renderContentEnd() {
|
|
23323
23323
|
const { el } = this;
|
|
23324
|
-
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;
|
|
23325
23325
|
}
|
|
23326
23326
|
renderContent() {
|
|
23327
23327
|
const { label, description } = this;
|
|
23328
|
-
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;
|
|
23329
23329
|
}
|
|
23330
23330
|
renderContentContainer() {
|
|
23331
23331
|
const { description, disabled, label, nonInteractive } = this;
|
|
23332
23332
|
const hasCenterContent = !!label || !!description;
|
|
23333
23333
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
23334
23334
|
return !nonInteractive ? (hAsync("button", { class: {
|
|
23335
|
-
[CSS$
|
|
23336
|
-
[CSS$
|
|
23337
|
-
[CSS$
|
|
23338
|
-
}, 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));
|
|
23339
23339
|
}
|
|
23340
23340
|
render() {
|
|
23341
|
-
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))));
|
|
23342
23342
|
}
|
|
23343
23343
|
get el() { return getElement(this); }
|
|
23344
23344
|
static get style() { return listItemCss; }
|
|
@@ -23358,7 +23358,7 @@ class ListItem {
|
|
|
23358
23358
|
}; }
|
|
23359
23359
|
}
|
|
23360
23360
|
|
|
23361
|
-
const CSS$
|
|
23361
|
+
const CSS$o = {
|
|
23362
23362
|
heading: "heading",
|
|
23363
23363
|
container: "container"
|
|
23364
23364
|
};
|
|
@@ -23384,7 +23384,7 @@ class ListItemGroup {
|
|
|
23384
23384
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
23385
23385
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
23386
23386
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
23387
|
-
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))));
|
|
23388
23388
|
}
|
|
23389
23389
|
get el() { return getElement(this); }
|
|
23390
23390
|
static get style() { return listItemGroupCss; }
|
|
@@ -23603,7 +23603,7 @@ function isFocusable($elem) {
|
|
|
23603
23603
|
|| $elem instanceof HTMLIFrameElement);
|
|
23604
23604
|
}
|
|
23605
23605
|
|
|
23606
|
-
const CSS$
|
|
23606
|
+
const CSS$n = {
|
|
23607
23607
|
modal: "modal",
|
|
23608
23608
|
modalOpen: "modal--open",
|
|
23609
23609
|
title: "title",
|
|
@@ -23783,29 +23783,29 @@ class Modal {
|
|
|
23783
23783
|
disconnectOpenCloseComponent(this);
|
|
23784
23784
|
}
|
|
23785
23785
|
render() {
|
|
23786
|
-
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$
|
|
23787
|
-
[CSS$
|
|
23788
|
-
[CSS$
|
|
23789
|
-
}, 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: {
|
|
23790
23790
|
content: true,
|
|
23791
23791
|
"content--spaced": !this.noPadding,
|
|
23792
23792
|
"content--no-footer": !this.hasFooter
|
|
23793
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" }))));
|
|
23794
23794
|
}
|
|
23795
23795
|
renderFooter() {
|
|
23796
|
-
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;
|
|
23797
23797
|
}
|
|
23798
23798
|
renderCloseButton() {
|
|
23799
|
-
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;
|
|
23800
23800
|
}
|
|
23801
23801
|
renderStyle() {
|
|
23802
23802
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
23803
23803
|
return hasCustomWidth ? (hAsync("style", null, `
|
|
23804
|
-
.${CSS$
|
|
23804
|
+
.${CSS$n.modal} {
|
|
23805
23805
|
max-width: ${this.width}px !important;
|
|
23806
23806
|
}
|
|
23807
23807
|
@media screen and (max-width: ${this.width}px) {
|
|
23808
|
-
.${CSS$
|
|
23808
|
+
.${CSS$n.modal} {
|
|
23809
23809
|
height: 100% !important;
|
|
23810
23810
|
max-height: 100% !important;
|
|
23811
23811
|
width: 100% !important;
|
|
@@ -23878,19 +23878,19 @@ class Modal {
|
|
|
23878
23878
|
}
|
|
23879
23879
|
}
|
|
23880
23880
|
onBeforeOpen() {
|
|
23881
|
-
this.transitionEl.classList.add(CSS$
|
|
23881
|
+
this.transitionEl.classList.add(CSS$n.openingActive);
|
|
23882
23882
|
this.calciteModalBeforeOpen.emit();
|
|
23883
23883
|
}
|
|
23884
23884
|
onOpen() {
|
|
23885
|
-
this.transitionEl.classList.remove(CSS$
|
|
23885
|
+
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
23886
23886
|
this.calciteModalOpen.emit();
|
|
23887
23887
|
}
|
|
23888
23888
|
onBeforeClose() {
|
|
23889
|
-
this.transitionEl.classList.add(CSS$
|
|
23889
|
+
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
23890
23890
|
this.calciteModalBeforeClose.emit();
|
|
23891
23891
|
}
|
|
23892
23892
|
onClose() {
|
|
23893
|
-
this.transitionEl.classList.remove(CSS$
|
|
23893
|
+
this.transitionEl.classList.remove(CSS$n.closingIdle, CSS$n.closingActive);
|
|
23894
23894
|
this.calciteModalClose.emit();
|
|
23895
23895
|
}
|
|
23896
23896
|
activeHandler(value) {
|
|
@@ -23900,11 +23900,11 @@ class Modal {
|
|
|
23900
23900
|
var _a, _b;
|
|
23901
23901
|
this.active = value;
|
|
23902
23902
|
if (value) {
|
|
23903
|
-
(_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);
|
|
23904
23904
|
this.openModal();
|
|
23905
23905
|
}
|
|
23906
23906
|
else {
|
|
23907
|
-
(_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);
|
|
23908
23908
|
this.close();
|
|
23909
23909
|
}
|
|
23910
23910
|
}
|
|
@@ -23918,10 +23918,10 @@ class Modal {
|
|
|
23918
23918
|
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
23919
23919
|
this.titleId = ensureId(titleEl);
|
|
23920
23920
|
this.contentId = ensureId(contentEl);
|
|
23921
|
-
document.documentElement.classList.add(CSS$
|
|
23921
|
+
document.documentElement.classList.add(CSS$n.overflowHidden);
|
|
23922
23922
|
}
|
|
23923
23923
|
removeOverflowHiddenClass() {
|
|
23924
|
-
document.documentElement.classList.remove(CSS$
|
|
23924
|
+
document.documentElement.classList.remove(CSS$n.overflowHidden);
|
|
23925
23925
|
}
|
|
23926
23926
|
get el() { return getElement(this); }
|
|
23927
23927
|
static get watchers() { return {
|
|
@@ -23968,7 +23968,7 @@ const SLOTS$c = {
|
|
|
23968
23968
|
link: "link",
|
|
23969
23969
|
actionsEnd: "actions-end"
|
|
23970
23970
|
};
|
|
23971
|
-
const CSS$
|
|
23971
|
+
const CSS$m = {
|
|
23972
23972
|
actionsEnd: "actions-end",
|
|
23973
23973
|
close: "notice-close",
|
|
23974
23974
|
container: "container",
|
|
@@ -24080,9 +24080,9 @@ class Notice {
|
|
|
24080
24080
|
}
|
|
24081
24081
|
render() {
|
|
24082
24082
|
const { el } = this;
|
|
24083
|
-
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" })));
|
|
24084
24084
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
24085
|
-
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));
|
|
24086
24086
|
}
|
|
24087
24087
|
//--------------------------------------------------------------------------
|
|
24088
24088
|
//
|
|
@@ -24330,7 +24330,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
24330
24330
|
}
|
|
24331
24331
|
}
|
|
24332
24332
|
|
|
24333
|
-
const CSS$
|
|
24333
|
+
const CSS$l = {
|
|
24334
24334
|
page: "page",
|
|
24335
24335
|
selected: "is-selected",
|
|
24336
24336
|
previous: "previous",
|
|
@@ -24485,8 +24485,8 @@ class Pagination {
|
|
|
24485
24485
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
24486
24486
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
24487
24487
|
return (hAsync("button", { class: {
|
|
24488
|
-
[CSS$
|
|
24489
|
-
[CSS$
|
|
24488
|
+
[CSS$l.page]: true,
|
|
24489
|
+
[CSS$l.selected]: start === this.start
|
|
24490
24490
|
}, onClick: () => {
|
|
24491
24491
|
this.start = start;
|
|
24492
24492
|
this.emitUpdate();
|
|
@@ -24494,12 +24494,12 @@ class Pagination {
|
|
|
24494
24494
|
}
|
|
24495
24495
|
renderLeftEllipsis() {
|
|
24496
24496
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
24497
|
-
return hAsync("span", { class: `${CSS$
|
|
24497
|
+
return hAsync("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisStart}` }, "\u2026");
|
|
24498
24498
|
}
|
|
24499
24499
|
}
|
|
24500
24500
|
renderRightEllipsis() {
|
|
24501
24501
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
24502
|
-
return hAsync("span", { class: `${CSS$
|
|
24502
|
+
return hAsync("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisEnd}` }, "\u2026");
|
|
24503
24503
|
}
|
|
24504
24504
|
}
|
|
24505
24505
|
render() {
|
|
@@ -24507,11 +24507,11 @@ class Pagination {
|
|
|
24507
24507
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
24508
24508
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
24509
24509
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.textLabelPrevious, class: {
|
|
24510
|
-
[CSS$
|
|
24511
|
-
[CSS$
|
|
24510
|
+
[CSS$l.previous]: true,
|
|
24511
|
+
[CSS$l.disabled]: prevDisabled
|
|
24512
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: {
|
|
24513
|
-
[CSS$
|
|
24514
|
-
[CSS$
|
|
24513
|
+
[CSS$l.next]: true,
|
|
24514
|
+
[CSS$l.disabled]: nextDisabled
|
|
24515
24515
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
24516
24516
|
}
|
|
24517
24517
|
get el() { return getElement(this); }
|
|
@@ -24793,23 +24793,23 @@ class Panel {
|
|
|
24793
24793
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
24794
24794
|
const label = intlBack || TEXT$f.back;
|
|
24795
24795
|
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
24796
|
-
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;
|
|
24797
24797
|
}
|
|
24798
24798
|
renderHeaderContent() {
|
|
24799
24799
|
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
24800
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
24801
|
-
const descriptionNode = description || summary ? hAsync("span", { class: CSS$
|
|
24802
|
-
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;
|
|
24803
24803
|
}
|
|
24804
24804
|
/**
|
|
24805
24805
|
* Allows user to override the entire header-content node.
|
|
24806
24806
|
*/
|
|
24807
24807
|
renderHeaderSlottedContent() {
|
|
24808
|
-
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 })));
|
|
24809
24809
|
}
|
|
24810
24810
|
renderHeaderStartActions() {
|
|
24811
24811
|
const { hasStartActions } = this;
|
|
24812
|
-
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 })));
|
|
24813
24813
|
}
|
|
24814
24814
|
renderHeaderActionsEnd() {
|
|
24815
24815
|
const { close, hasEndActions, intlClose, closable } = this;
|
|
@@ -24817,7 +24817,7 @@ class Panel {
|
|
|
24817
24817
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
24818
24818
|
const slotNode = (hAsync("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
24819
24819
|
const showContainer = hasEndActions || closableNode;
|
|
24820
|
-
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));
|
|
24821
24821
|
}
|
|
24822
24822
|
renderMenu() {
|
|
24823
24823
|
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
@@ -24833,26 +24833,26 @@ class Panel {
|
|
|
24833
24833
|
hasEndActions ||
|
|
24834
24834
|
closable ||
|
|
24835
24835
|
hasMenuItems;
|
|
24836
|
-
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()));
|
|
24837
24837
|
}
|
|
24838
24838
|
renderFooterNode() {
|
|
24839
24839
|
const { hasFooterContent, hasFooterActions } = this;
|
|
24840
24840
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
24841
|
-
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 })));
|
|
24842
24842
|
}
|
|
24843
24843
|
renderContent() {
|
|
24844
24844
|
const { hasFab } = this;
|
|
24845
24845
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
24846
24846
|
const contentWrapperKey = "content-wrapper";
|
|
24847
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
24848
|
-
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()));
|
|
24849
24849
|
}
|
|
24850
24850
|
renderFab() {
|
|
24851
|
-
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 })));
|
|
24852
24852
|
}
|
|
24853
24853
|
render() {
|
|
24854
24854
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
24855
|
-
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()));
|
|
24856
24856
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
24857
24857
|
}
|
|
24858
24858
|
get el() { return getElement(this); }
|
|
@@ -24901,7 +24901,7 @@ class Panel {
|
|
|
24901
24901
|
}; }
|
|
24902
24902
|
}
|
|
24903
24903
|
|
|
24904
|
-
const CSS$
|
|
24904
|
+
const CSS$k = {
|
|
24905
24905
|
sticky: "sticky-pos"
|
|
24906
24906
|
};
|
|
24907
24907
|
var ICON_TYPES$1;
|
|
@@ -24914,7 +24914,7 @@ const SLOTS$b = {
|
|
|
24914
24914
|
menuActions: "menu-actions"
|
|
24915
24915
|
};
|
|
24916
24916
|
|
|
24917
|
-
const CSS$
|
|
24917
|
+
const CSS$j = {
|
|
24918
24918
|
heading: "heading",
|
|
24919
24919
|
container: "container",
|
|
24920
24920
|
indented: "container--indented"
|
|
@@ -25220,7 +25220,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
25220
25220
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
25221
25221
|
hAsync("section", null,
|
|
25222
25222
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
25223
|
-
hAsync("header", { class: { [CSS$
|
|
25223
|
+
hAsync("header", { class: { [CSS$k.sticky]: true } },
|
|
25224
25224
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
25225
25225
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
25226
25226
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
@@ -25411,14 +25411,14 @@ class PickListGroup {
|
|
|
25411
25411
|
const { el, groupTitle, headingLevel } = this;
|
|
25412
25412
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
25413
25413
|
const sectionClasses = {
|
|
25414
|
-
[CSS$
|
|
25415
|
-
[CSS$
|
|
25414
|
+
[CSS$j.container]: true,
|
|
25415
|
+
[CSS$j.indented]: hasParentItem
|
|
25416
25416
|
};
|
|
25417
25417
|
const title = groupTitle;
|
|
25418
25418
|
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
25419
25419
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
25420
25420
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$3;
|
|
25421
|
-
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))));
|
|
25422
25422
|
}
|
|
25423
25423
|
get el() { return getElement(this); }
|
|
25424
25424
|
static get style() { return pickListGroupCss; }
|
|
@@ -25435,7 +25435,7 @@ class PickListGroup {
|
|
|
25435
25435
|
}; }
|
|
25436
25436
|
}
|
|
25437
25437
|
|
|
25438
|
-
const CSS$
|
|
25438
|
+
const CSS$i = {
|
|
25439
25439
|
actions: "actions",
|
|
25440
25440
|
actionsEnd: "actions--end",
|
|
25441
25441
|
actionsStart: "actions--start",
|
|
@@ -25597,26 +25597,26 @@ class PickListItem {
|
|
|
25597
25597
|
return null;
|
|
25598
25598
|
}
|
|
25599
25599
|
return (hAsync("span", { class: {
|
|
25600
|
-
[CSS$
|
|
25601
|
-
[CSS$
|
|
25600
|
+
[CSS$i.icon]: true,
|
|
25601
|
+
[CSS$i.iconDot]: icon === ICON_TYPES$1.circle
|
|
25602
25602
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? hAsync("calcite-icon", { icon: ICONS$4.checked, scale: "s" }) : null));
|
|
25603
25603
|
}
|
|
25604
25604
|
renderRemoveAction() {
|
|
25605
|
-
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;
|
|
25606
25606
|
}
|
|
25607
25607
|
renderActionsStart() {
|
|
25608
25608
|
const { el } = this;
|
|
25609
25609
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
25610
|
-
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;
|
|
25611
25611
|
}
|
|
25612
25612
|
renderActionsEnd() {
|
|
25613
25613
|
const { el, removable } = this;
|
|
25614
25614
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
25615
|
-
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;
|
|
25616
25616
|
}
|
|
25617
25617
|
render() {
|
|
25618
25618
|
const { description, label } = this;
|
|
25619
|
-
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()));
|
|
25620
25620
|
}
|
|
25621
25621
|
get el() { return getElement(this); }
|
|
25622
25622
|
static get watchers() { return {
|
|
@@ -25651,7 +25651,7 @@ class PickListItem {
|
|
|
25651
25651
|
}; }
|
|
25652
25652
|
}
|
|
25653
25653
|
|
|
25654
|
-
const CSS$
|
|
25654
|
+
const CSS$h = {
|
|
25655
25655
|
container: "container",
|
|
25656
25656
|
arrow: "arrow",
|
|
25657
25657
|
imageContainer: "image-container",
|
|
@@ -26022,25 +26022,25 @@ class Popover {
|
|
|
26022
26022
|
// --------------------------------------------------------------------------
|
|
26023
26023
|
renderCloseButton() {
|
|
26024
26024
|
const { closeButton, intlClose, heading, closable } = this;
|
|
26025
|
-
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;
|
|
26026
26026
|
}
|
|
26027
26027
|
renderHeader() {
|
|
26028
26028
|
const { heading, headingLevel } = this;
|
|
26029
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
26030
|
-
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;
|
|
26031
26031
|
}
|
|
26032
26032
|
render() {
|
|
26033
26033
|
const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
|
|
26034
26034
|
const displayed = effectiveReferenceElement && open;
|
|
26035
26035
|
const hidden = !displayed;
|
|
26036
|
-
const arrowNode = !disablePointer ? hAsync("div", { class: CSS$
|
|
26036
|
+
const arrowNode = !disablePointer ? hAsync("div", { class: CSS$h.arrow, ref: this.storeArrowEl }) : null;
|
|
26037
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: {
|
|
26038
26038
|
[FloatingCSS.animation]: true,
|
|
26039
26039
|
[FloatingCSS.animationActive]: displayed
|
|
26040
26040
|
}, ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
26041
|
-
[CSS$
|
|
26042
|
-
[CSS$
|
|
26043
|
-
} }, 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))));
|
|
26044
26044
|
}
|
|
26045
26045
|
get el() { return getElement(this); }
|
|
26046
26046
|
static get watchers() { return {
|
|
@@ -26205,7 +26205,7 @@ class Progress {
|
|
|
26205
26205
|
}; }
|
|
26206
26206
|
}
|
|
26207
26207
|
|
|
26208
|
-
const CSS$
|
|
26208
|
+
const CSS$g = {
|
|
26209
26209
|
container: "container"
|
|
26210
26210
|
};
|
|
26211
26211
|
|
|
@@ -26453,7 +26453,7 @@ class RadioButton {
|
|
|
26453
26453
|
// --------------------------------------------------------------------------
|
|
26454
26454
|
render() {
|
|
26455
26455
|
const tabIndex = this.getTabIndex();
|
|
26456
|
-
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 })));
|
|
26457
26457
|
}
|
|
26458
26458
|
get el() { return getElement(this); }
|
|
26459
26459
|
static get watchers() { return {
|
|
@@ -26818,7 +26818,7 @@ class RadioGroup {
|
|
|
26818
26818
|
const SLOTS$8 = {
|
|
26819
26819
|
input: "input"
|
|
26820
26820
|
};
|
|
26821
|
-
const CSS$
|
|
26821
|
+
const CSS$f = {
|
|
26822
26822
|
radioGroupItemIcon: "radio-group-item-icon"
|
|
26823
26823
|
};
|
|
26824
26824
|
|
|
@@ -26852,9 +26852,9 @@ class RadioGroupItem {
|
|
|
26852
26852
|
const scale = getElementProp(this.el, "scale", "m");
|
|
26853
26853
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
26854
26854
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
26855
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
26856
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
26857
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
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
26858
|
const iconAtStart = this.icon && this.iconPosition === "start" && !this.iconStart ? iconEl : null;
|
|
26859
26859
|
const iconAtEnd = this.icon && this.iconPosition === "end" && !this.iconEnd ? iconEl : null;
|
|
26860
26860
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
@@ -27048,7 +27048,7 @@ class Rating {
|
|
|
27048
27048
|
}; }
|
|
27049
27049
|
}
|
|
27050
27050
|
|
|
27051
|
-
const CSS$
|
|
27051
|
+
const CSS$e = {
|
|
27052
27052
|
scrim: "scrim",
|
|
27053
27053
|
content: "content"
|
|
27054
27054
|
};
|
|
@@ -27089,8 +27089,8 @@ class Scrim {
|
|
|
27089
27089
|
const { el, loading, intlLoading } = this;
|
|
27090
27090
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
27091
27091
|
const loaderNode = loading ? hAsync("calcite-loader", { active: true, label: intlLoading }) : null;
|
|
27092
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
27093
|
-
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));
|
|
27094
27094
|
}
|
|
27095
27095
|
get el() { return getElement(this); }
|
|
27096
27096
|
static get style() { return scrimCss; }
|
|
@@ -27107,7 +27107,7 @@ class Scrim {
|
|
|
27107
27107
|
}; }
|
|
27108
27108
|
}
|
|
27109
27109
|
|
|
27110
|
-
const CSS$
|
|
27110
|
+
const CSS$d = {
|
|
27111
27111
|
icon: "icon",
|
|
27112
27112
|
iconContainer: "icon-container",
|
|
27113
27113
|
select: "select"
|
|
@@ -27306,10 +27306,10 @@ class Select {
|
|
|
27306
27306
|
//
|
|
27307
27307
|
//--------------------------------------------------------------------------
|
|
27308
27308
|
renderChevron() {
|
|
27309
|
-
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" })));
|
|
27310
27310
|
}
|
|
27311
27311
|
render() {
|
|
27312
|
-
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 })));
|
|
27313
27313
|
}
|
|
27314
27314
|
get el() { return getElement(this); }
|
|
27315
27315
|
static get watchers() { return {
|
|
@@ -27337,7 +27337,7 @@ class Select {
|
|
|
27337
27337
|
}; }
|
|
27338
27338
|
}
|
|
27339
27339
|
|
|
27340
|
-
const CSS$
|
|
27340
|
+
const CSS$c = {
|
|
27341
27341
|
main: "main",
|
|
27342
27342
|
mainReversed: "main--reversed",
|
|
27343
27343
|
content: "content",
|
|
@@ -27406,25 +27406,25 @@ class Shell {
|
|
|
27406
27406
|
const content = !!this.contentBehind
|
|
27407
27407
|
? [
|
|
27408
27408
|
hAsync("div", { class: {
|
|
27409
|
-
[CSS$
|
|
27410
|
-
[CSS$
|
|
27409
|
+
[CSS$c.content]: true,
|
|
27410
|
+
[CSS$c.contentBehind]: true
|
|
27411
27411
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
27412
27412
|
centerRowSlotNode
|
|
27413
27413
|
]
|
|
27414
27414
|
: [
|
|
27415
|
-
hAsync("div", { class: CSS$
|
|
27415
|
+
hAsync("div", { class: CSS$c.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
27416
27416
|
];
|
|
27417
27417
|
return content;
|
|
27418
27418
|
}
|
|
27419
27419
|
renderFooter() {
|
|
27420
27420
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
27421
|
-
return hasFooter ? (hAsync("div", { class: CSS$
|
|
27421
|
+
return hasFooter ? (hAsync("div", { class: CSS$c.footer, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer }))) : null;
|
|
27422
27422
|
}
|
|
27423
27423
|
renderMain() {
|
|
27424
27424
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
27425
27425
|
const mainClasses = {
|
|
27426
|
-
[CSS$
|
|
27427
|
-
[CSS$
|
|
27426
|
+
[CSS$c.main]: true,
|
|
27427
|
+
[CSS$c.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
|
27428
27428
|
};
|
|
27429
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 })));
|
|
27430
27430
|
}
|
|
@@ -27445,7 +27445,7 @@ class Shell {
|
|
|
27445
27445
|
}; }
|
|
27446
27446
|
}
|
|
27447
27447
|
|
|
27448
|
-
const CSS$
|
|
27448
|
+
const CSS$b = {
|
|
27449
27449
|
actionBarContainer: "action-bar-container",
|
|
27450
27450
|
content: "content"
|
|
27451
27451
|
};
|
|
@@ -27498,9 +27498,9 @@ class ShellCenterRow {
|
|
|
27498
27498
|
// --------------------------------------------------------------------------
|
|
27499
27499
|
render() {
|
|
27500
27500
|
const { el } = this;
|
|
27501
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
27501
|
+
const contentNode = (hAsync("div", { class: CSS$b.content }, hAsync("slot", null)));
|
|
27502
27502
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
27503
|
-
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;
|
|
27504
27504
|
const children = [actionBarNode, contentNode];
|
|
27505
27505
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
27506
27506
|
children.reverse();
|
|
@@ -27523,7 +27523,7 @@ class ShellCenterRow {
|
|
|
27523
27523
|
}; }
|
|
27524
27524
|
}
|
|
27525
27525
|
|
|
27526
|
-
const CSS$
|
|
27526
|
+
const CSS$a = {
|
|
27527
27527
|
container: "container",
|
|
27528
27528
|
content: "content",
|
|
27529
27529
|
contentHeader: "content__header",
|
|
@@ -27707,19 +27707,19 @@ class ShellPanel {
|
|
|
27707
27707
|
renderHeader() {
|
|
27708
27708
|
const { el } = this;
|
|
27709
27709
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
27710
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
27710
|
+
return hasHeader ? (hAsync("div", { class: CSS$a.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
27711
27711
|
}
|
|
27712
27712
|
render() {
|
|
27713
27713
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
27714
27714
|
const allowResizing = !detached && resizable;
|
|
27715
|
-
const contentNode = (hAsync("div", { class: { [CSS$
|
|
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$
|
|
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;
|
|
27717
27717
|
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
27718
27718
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
27719
27719
|
if (position === "end") {
|
|
27720
27720
|
mainNodes.reverse();
|
|
27721
27721
|
}
|
|
27722
|
-
return hAsync("div", { class: { [CSS$
|
|
27722
|
+
return hAsync("div", { class: { [CSS$a.container]: true } }, mainNodes);
|
|
27723
27723
|
}
|
|
27724
27724
|
// --------------------------------------------------------------------------
|
|
27725
27725
|
//
|
|
@@ -27778,6 +27778,14 @@ class ShellPanel {
|
|
|
27778
27778
|
}; }
|
|
27779
27779
|
}
|
|
27780
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
|
+
|
|
27781
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}";
|
|
27782
27790
|
|
|
27783
27791
|
function isRange(value) {
|
|
@@ -27796,6 +27804,10 @@ class Slider {
|
|
|
27796
27804
|
//--------------------------------------------------------------------------
|
|
27797
27805
|
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
27798
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;
|
|
27799
27811
|
/** When true, indicates a histogram is present. */
|
|
27800
27812
|
this.hasHistogram = false;
|
|
27801
27813
|
/** When true, displays label handles with their numeric value. */
|
|
@@ -27834,6 +27846,7 @@ class Slider {
|
|
|
27834
27846
|
this.minValueDragRange = null;
|
|
27835
27847
|
this.maxValueDragRange = null;
|
|
27836
27848
|
this.tickValues = [];
|
|
27849
|
+
this.globalAttributes = {};
|
|
27837
27850
|
this.dragUpdate = (event) => {
|
|
27838
27851
|
event.preventDefault();
|
|
27839
27852
|
if (this.dragProp) {
|
|
@@ -27881,6 +27894,19 @@ class Slider {
|
|
|
27881
27894
|
this.storeTrackRef = (node) => {
|
|
27882
27895
|
this.trackEl = node;
|
|
27883
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
|
+
};
|
|
27884
27910
|
}
|
|
27885
27911
|
histogramWatcher(newHistogram) {
|
|
27886
27912
|
this.hasHistogram = !!newHistogram;
|
|
@@ -27901,11 +27927,13 @@ class Slider {
|
|
|
27901
27927
|
this.setValueFromMinMax();
|
|
27902
27928
|
connectLabel(this);
|
|
27903
27929
|
connectForm(this);
|
|
27930
|
+
watchGlobalAttributes(this, ["lang"]);
|
|
27904
27931
|
}
|
|
27905
27932
|
disconnectedCallback() {
|
|
27906
27933
|
disconnectLabel(this);
|
|
27907
27934
|
disconnectForm(this);
|
|
27908
27935
|
this.removeDragListeners();
|
|
27936
|
+
unwatchGlobalAttributes(this);
|
|
27909
27937
|
}
|
|
27910
27938
|
componentWillLoad() {
|
|
27911
27939
|
this.tickValues = this.generateTickValues();
|
|
@@ -27937,6 +27965,8 @@ class Slider {
|
|
|
27937
27965
|
const id = this.el.id || this.guid;
|
|
27938
27966
|
const maxProp = isRange(this.value) ? "maxValue" : "value";
|
|
27939
27967
|
const value = isRange(this.value) ? this.maxValue : this.value;
|
|
27968
|
+
const displayedValue = this.determineGroupSeparator(value);
|
|
27969
|
+
const displayedMinValue = this.determineGroupSeparator(this.minValue);
|
|
27940
27970
|
const min = this.minValue || this.min;
|
|
27941
27971
|
const useMinValue = this.shouldUseMinValue();
|
|
27942
27972
|
const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
|
|
@@ -27945,6 +27975,8 @@ class Slider {
|
|
|
27945
27975
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
27946
27976
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
27947
27977
|
const valueIsRange = isRange(this.value);
|
|
27978
|
+
const handleLabelMinValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelMinValue}`;
|
|
27979
|
+
const handleLabelValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelValue}`;
|
|
27948
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: {
|
|
27949
27981
|
thumb: true,
|
|
27950
27982
|
"thumb--value": true,
|
|
@@ -27954,12 +27986,12 @@ class Slider {
|
|
|
27954
27986
|
thumb: true,
|
|
27955
27987
|
"thumb--value": true,
|
|
27956
27988
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
27957
|
-
}, 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" })));
|
|
27958
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: {
|
|
27959
27991
|
thumb: true,
|
|
27960
27992
|
"thumb--value": true,
|
|
27961
27993
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
27962
|
-
}, 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)));
|
|
27963
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: {
|
|
27964
27996
|
thumb: true,
|
|
27965
27997
|
"thumb--value": true,
|
|
@@ -27977,13 +28009,13 @@ class Slider {
|
|
|
27977
28009
|
"thumb--value": true,
|
|
27978
28010
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
27979
28011
|
"thumb--precise": true
|
|
27980
|
-
}, 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" })));
|
|
27981
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: {
|
|
27982
28014
|
thumb: true,
|
|
27983
28015
|
"thumb--value": true,
|
|
27984
28016
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
27985
28017
|
"thumb--precise": true
|
|
27986
|
-
}, 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)));
|
|
27987
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: {
|
|
27988
28020
|
thumb: true,
|
|
27989
28021
|
"thumb--minValue": true,
|
|
@@ -27993,12 +28025,12 @@ class Slider {
|
|
|
27993
28025
|
thumb: true,
|
|
27994
28026
|
"thumb--minValue": true,
|
|
27995
28027
|
"thumb--active": this.dragProp === "minValue"
|
|
27996
|
-
}, 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" })));
|
|
27997
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: {
|
|
27998
28030
|
thumb: true,
|
|
27999
28031
|
"thumb--minValue": true,
|
|
28000
28032
|
"thumb--active": this.dragProp === "minValue"
|
|
28001
|
-
}, 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)));
|
|
28002
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: {
|
|
28003
28035
|
thumb: true,
|
|
28004
28036
|
"thumb--minValue": true,
|
|
@@ -28010,7 +28042,7 @@ class Slider {
|
|
|
28010
28042
|
"thumb--minValue": true,
|
|
28011
28043
|
"thumb--active": this.dragProp === "minValue",
|
|
28012
28044
|
"thumb--precise": true
|
|
28013
|
-
}, 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)));
|
|
28014
28046
|
return (hAsync(Host, { id: id, onTouchStart: this.handleTouchStart }, hAsync("div", { class: {
|
|
28015
28047
|
["container"]: true,
|
|
28016
28048
|
["container--range"]: valueIsRange,
|
|
@@ -28051,11 +28083,12 @@ class Slider {
|
|
|
28051
28083
|
const valueIsRange = isRange(this.value);
|
|
28052
28084
|
const isMinTickLabel = tick === this.min;
|
|
28053
28085
|
const isMaxTickLabel = tick === this.max;
|
|
28086
|
+
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
28054
28087
|
const tickLabel = (hAsync("span", { class: {
|
|
28055
28088
|
tick__label: true,
|
|
28056
|
-
|
|
28057
|
-
|
|
28058
|
-
} },
|
|
28089
|
+
[CSS$9.tickMin]: isMinTickLabel,
|
|
28090
|
+
[CSS$9.tickMax]: isMaxTickLabel
|
|
28091
|
+
} }, displayedTickValue));
|
|
28059
28092
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
28060
28093
|
return tickLabel;
|
|
28061
28094
|
}
|
|
@@ -28543,6 +28576,7 @@ class Slider {
|
|
|
28543
28576
|
"$tagName$": "calcite-slider",
|
|
28544
28577
|
"$members$": {
|
|
28545
28578
|
"disabled": [516],
|
|
28579
|
+
"groupSeparator": [516, "group-separator"],
|
|
28546
28580
|
"hasHistogram": [1540, "has-histogram"],
|
|
28547
28581
|
"histogram": [16],
|
|
28548
28582
|
"histogramStops": [16],
|
|
@@ -28556,6 +28590,7 @@ class Slider {
|
|
|
28556
28590
|
"minValue": [1026, "min-value"],
|
|
28557
28591
|
"mirrored": [516],
|
|
28558
28592
|
"name": [513],
|
|
28593
|
+
"numberingSystem": [1, "numbering-system"],
|
|
28559
28594
|
"pageStep": [2, "page-step"],
|
|
28560
28595
|
"precise": [4],
|
|
28561
28596
|
"required": [516],
|
|
@@ -28569,11 +28604,12 @@ class Slider {
|
|
|
28569
28604
|
"minValueDragRange": [32],
|
|
28570
28605
|
"maxValueDragRange": [32],
|
|
28571
28606
|
"tickValues": [32],
|
|
28607
|
+
"globalAttributes": [32],
|
|
28572
28608
|
"setFocus": [64]
|
|
28573
28609
|
},
|
|
28574
28610
|
"$listeners$": [[0, "keydown", "keyDownHandler"], [1, "pointerdown", "pointerDownHandler"]],
|
|
28575
28611
|
"$lazyBundleId$": "-",
|
|
28576
|
-
"$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"]]
|
|
28577
28613
|
}; }
|
|
28578
28614
|
}
|
|
28579
28615
|
|
|
@@ -36029,8 +36065,8 @@ class ValueListItem {
|
|
|
36029
36065
|
const { icon } = this;
|
|
36030
36066
|
if (icon === ICON_TYPES$1.grip) {
|
|
36031
36067
|
return (hAsync("span", { class: {
|
|
36032
|
-
[CSS$
|
|
36033
|
-
[CSS$
|
|
36068
|
+
[CSS$i.handle]: true,
|
|
36069
|
+
[CSS$i.handleActivated]: this.handleActivated
|
|
36034
36070
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
|
36035
36071
|
}
|
|
36036
36072
|
}
|