@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.581
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -449,7 +449,7 @@ const SLOTS$t = {
|
|
|
449
449
|
actionsStart: "actions-start",
|
|
450
450
|
actionsEnd: "actions-end"
|
|
451
451
|
};
|
|
452
|
-
const CSS$
|
|
452
|
+
const CSS$U = {
|
|
453
453
|
icon: "icon",
|
|
454
454
|
header: "header",
|
|
455
455
|
headerContent: "header-content",
|
|
@@ -546,27 +546,27 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
546
546
|
// --------------------------------------------------------------------------
|
|
547
547
|
renderActionsStart() {
|
|
548
548
|
const { el } = this;
|
|
549
|
-
return getSlotted(el, SLOTS$t.actionsStart) ? (h("div", { class: CSS$
|
|
549
|
+
return getSlotted(el, SLOTS$t.actionsStart) ? (h("div", { class: CSS$U.actionsStart }, h("slot", { name: SLOTS$t.actionsStart }))) : null;
|
|
550
550
|
}
|
|
551
551
|
renderActionsEnd() {
|
|
552
552
|
const { el } = this;
|
|
553
|
-
return getSlotted(el, SLOTS$t.actionsEnd) ? (h("div", { class: CSS$
|
|
553
|
+
return getSlotted(el, SLOTS$t.actionsEnd) ? (h("div", { class: CSS$U.actionsEnd }, h("slot", { name: SLOTS$t.actionsEnd }))) : null;
|
|
554
554
|
}
|
|
555
555
|
render() {
|
|
556
556
|
const dir = getElementDir(this.el);
|
|
557
|
-
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$
|
|
558
|
-
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$
|
|
557
|
+
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$U.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
558
|
+
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$U.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
559
559
|
const description = this.description || this.itemSubtitle;
|
|
560
560
|
return (h(Host, null, h("div", { class: {
|
|
561
561
|
[`icon-position--${this.iconPosition}`]: true,
|
|
562
562
|
[`icon-type--${this.iconType}`]: true
|
|
563
|
-
} }, h("div", { class: { [CSS$
|
|
563
|
+
} }, h("div", { class: { [CSS$U.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), h("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$U.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, h("div", { class: CSS$U.headerContainer }, iconStartEl, h("div", { class: CSS$U.headerText }, h("span", { class: CSS$U.heading }, this.heading || this.itemTitle), description ? h("span", { class: CSS$U.description }, description) : null), iconEndEl), h("calcite-icon", { class: CSS$U.expandIcon, icon: this.iconType === "chevron"
|
|
564
564
|
? "chevronDown"
|
|
565
565
|
: this.iconType === "caret"
|
|
566
566
|
? "caretDown"
|
|
567
567
|
: this.expanded || this.active
|
|
568
568
|
? "minus"
|
|
569
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$
|
|
569
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$U.content }, h("slot", null)))));
|
|
570
570
|
}
|
|
571
571
|
//--------------------------------------------------------------------------
|
|
572
572
|
//
|
|
@@ -641,7 +641,7 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
641
641
|
static get style() { return accordionItemCss; }
|
|
642
642
|
};
|
|
643
643
|
|
|
644
|
-
const CSS$
|
|
644
|
+
const CSS$T = {
|
|
645
645
|
button: "button",
|
|
646
646
|
buttonTextVisible: "button--text-visible",
|
|
647
647
|
buttonCompact: "button--compact",
|
|
@@ -790,8 +790,8 @@ const Action = class extends HTMLElement$1 {
|
|
|
790
790
|
renderTextContainer() {
|
|
791
791
|
const { text, textEnabled } = this;
|
|
792
792
|
const textContainerClasses = {
|
|
793
|
-
[CSS$
|
|
794
|
-
[CSS$
|
|
793
|
+
[CSS$T.textContainer]: true,
|
|
794
|
+
[CSS$T.textContainerVisible]: textEnabled
|
|
795
795
|
};
|
|
796
796
|
return text ? (h("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
797
797
|
}
|
|
@@ -805,18 +805,18 @@ const Action = class extends HTMLElement$1 {
|
|
|
805
805
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
806
806
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
807
807
|
const slotContainerNode = (h("div", { class: {
|
|
808
|
-
[CSS$
|
|
809
|
-
[CSS$
|
|
808
|
+
[CSS$T.slotContainer]: true,
|
|
809
|
+
[CSS$T.slotContainerHidden]: loading
|
|
810
810
|
} }, h("slot", null)));
|
|
811
|
-
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$
|
|
811
|
+
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$T.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
812
812
|
}
|
|
813
813
|
render() {
|
|
814
814
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
815
815
|
const ariaLabel = label || text;
|
|
816
816
|
const buttonClasses = {
|
|
817
|
-
[CSS$
|
|
818
|
-
[CSS$
|
|
819
|
-
[CSS$
|
|
817
|
+
[CSS$T.button]: true,
|
|
818
|
+
[CSS$T.buttonTextVisible]: textEnabled,
|
|
819
|
+
[CSS$T.buttonCompact]: compact
|
|
820
820
|
};
|
|
821
821
|
return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
822
822
|
}
|
|
@@ -824,7 +824,7 @@ const Action = class extends HTMLElement$1 {
|
|
|
824
824
|
static get style() { return actionCss; }
|
|
825
825
|
};
|
|
826
826
|
|
|
827
|
-
const CSS$
|
|
827
|
+
const CSS$S = {
|
|
828
828
|
menu: "menu",
|
|
829
829
|
defaultTrigger: "default-trigger"
|
|
830
830
|
};
|
|
@@ -936,7 +936,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
936
936
|
return actionNode;
|
|
937
937
|
};
|
|
938
938
|
|
|
939
|
-
const CSS$
|
|
939
|
+
const CSS$R = {
|
|
940
940
|
actionGroupBottom: "action-group--bottom"
|
|
941
941
|
};
|
|
942
942
|
const SLOTS$q = {
|
|
@@ -2382,7 +2382,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2382
2382
|
const expandLabel = intlExpand || TEXT$s.expand;
|
|
2383
2383
|
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
2384
2384
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2385
|
-
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$
|
|
2385
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$R.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$q.bottomActions }), h("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
2386
2386
|
}
|
|
2387
2387
|
render() {
|
|
2388
2388
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
|
@@ -2732,14 +2732,14 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2732
2732
|
}
|
|
2733
2733
|
renderMenuButton() {
|
|
2734
2734
|
const { label, scale, expanded } = this;
|
|
2735
|
-
const menuButtonSlot = (h("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, h("calcite-action", { class: CSS$
|
|
2735
|
+
const menuButtonSlot = (h("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, h("calcite-action", { class: CSS$S.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
2736
2736
|
return menuButtonSlot;
|
|
2737
2737
|
}
|
|
2738
2738
|
renderMenuItems() {
|
|
2739
2739
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
2740
2740
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
2741
2741
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
2742
|
-
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
2742
|
+
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$S.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, h("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
2743
2743
|
}
|
|
2744
2744
|
render() {
|
|
2745
2745
|
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -2756,7 +2756,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2756
2756
|
static get style() { return actionMenuCss; }
|
|
2757
2757
|
};
|
|
2758
2758
|
|
|
2759
|
-
const CSS$
|
|
2759
|
+
const CSS$Q = {
|
|
2760
2760
|
actionGroupBottom: "action-group--bottom",
|
|
2761
2761
|
container: "container"
|
|
2762
2762
|
};
|
|
@@ -2863,10 +2863,10 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2863
2863
|
const expandLabel = intlExpand || TEXT$r.expand;
|
|
2864
2864
|
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
2865
2865
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2866
|
-
return expandToggleNode ? (h("calcite-action-group", { class: CSS$
|
|
2866
|
+
return expandToggleNode ? (h("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
2867
2867
|
}
|
|
2868
2868
|
render() {
|
|
2869
|
-
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$
|
|
2869
|
+
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$Q.container }, h("slot", null), this.renderBottomActionGroup())));
|
|
2870
2870
|
}
|
|
2871
2871
|
get el() { return this; }
|
|
2872
2872
|
static get watchers() { return {
|
|
@@ -3398,7 +3398,7 @@ const Avatar = class extends HTMLElement$1 {
|
|
|
3398
3398
|
static get style() { return avatarCss; }
|
|
3399
3399
|
};
|
|
3400
3400
|
|
|
3401
|
-
const CSS$
|
|
3401
|
+
const CSS$P = {
|
|
3402
3402
|
article: "article",
|
|
3403
3403
|
content: "content",
|
|
3404
3404
|
headerContainer: "header-container",
|
|
@@ -3555,30 +3555,30 @@ const Block = class extends HTMLElement$1 {
|
|
|
3555
3555
|
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
3556
3556
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
3557
3557
|
const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (h("calcite-icon", { class: {
|
|
3558
|
-
[CSS$
|
|
3559
|
-
[CSS$
|
|
3560
|
-
[CSS$
|
|
3561
|
-
[CSS$
|
|
3558
|
+
[CSS$P.statusIcon]: true,
|
|
3559
|
+
[CSS$P.valid]: status == "valid",
|
|
3560
|
+
[CSS$P.invalid]: status == "invalid",
|
|
3561
|
+
[CSS$P.loading]: showingLoadingStatus
|
|
3562
3562
|
}, icon: statusIcon, scale: "m" }));
|
|
3563
|
-
return hasIcon ? h("div", { class: CSS$
|
|
3563
|
+
return hasIcon ? h("div", { class: CSS$P.icon }, iconEl) : null;
|
|
3564
3564
|
}
|
|
3565
3565
|
renderTitle() {
|
|
3566
3566
|
const { heading, headingLevel, summary, description } = this;
|
|
3567
|
-
return heading || summary || description ? (h("div", { class: CSS$
|
|
3567
|
+
return heading || summary || description ? (h("div", { class: CSS$P.title }, h(Heading, { class: CSS$P.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (h("div", { class: CSS$P.description }, summary || description)) : null)) : null;
|
|
3568
3568
|
}
|
|
3569
3569
|
render() {
|
|
3570
3570
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
3571
3571
|
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
3572
|
-
const headerContent = (h("header", { class: CSS$
|
|
3572
|
+
const headerContent = (h("header", { class: CSS$P.header }, this.renderIcon(), this.renderTitle()));
|
|
3573
3573
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
3574
3574
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
3575
3575
|
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
3576
3576
|
const { guid } = this;
|
|
3577
3577
|
const regionId = `${guid}-region`;
|
|
3578
3578
|
const buttonId = `${guid}-button`;
|
|
3579
|
-
const headerNode = (h("div", { class: CSS$
|
|
3579
|
+
const headerNode = (h("div", { class: CSS$P.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$P.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$P.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$P.controlContainer }, h("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, h("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
3580
3580
|
return (h(Host, null, h("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
3581
|
-
[CSS$
|
|
3581
|
+
[CSS$P.article]: true
|
|
3582
3582
|
} }, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
3583
3583
|
content: true,
|
|
3584
3584
|
"content--spaced": !this.disablePadding
|
|
@@ -3588,7 +3588,7 @@ const Block = class extends HTMLElement$1 {
|
|
|
3588
3588
|
static get style() { return blockCss; }
|
|
3589
3589
|
};
|
|
3590
3590
|
|
|
3591
|
-
const CSS$
|
|
3591
|
+
const CSS$O = {
|
|
3592
3592
|
content: "content",
|
|
3593
3593
|
invalid: "invalid",
|
|
3594
3594
|
toggle: "toggle",
|
|
@@ -3658,9 +3658,9 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3658
3658
|
const { status } = this;
|
|
3659
3659
|
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
3660
3660
|
const statusIconClasses = {
|
|
3661
|
-
[CSS$
|
|
3662
|
-
[CSS$
|
|
3663
|
-
[CSS$
|
|
3661
|
+
[CSS$O.statusIcon]: true,
|
|
3662
|
+
[CSS$O.valid]: status == "valid",
|
|
3663
|
+
[CSS$O.invalid]: status == "invalid"
|
|
3664
3664
|
};
|
|
3665
3665
|
return !!statusIcon ? (h("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
3666
3666
|
}
|
|
@@ -3677,13 +3677,13 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3677
3677
|
const regionId = `${guid}-region`;
|
|
3678
3678
|
const buttonId = `${guid}-button`;
|
|
3679
3679
|
const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3680
|
-
[CSS$
|
|
3681
|
-
[CSS$
|
|
3682
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$
|
|
3683
|
-
[CSS$
|
|
3684
|
-
[CSS$
|
|
3685
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$
|
|
3686
|
-
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
3680
|
+
[CSS$O.toggle]: true,
|
|
3681
|
+
[CSS$O.toggleSwitch]: true
|
|
3682
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$O.toggleSwitchContent }, h("span", { class: CSS$O.toggleSwitchText }, text)), h("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (h("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3683
|
+
[CSS$O.sectionHeader]: true,
|
|
3684
|
+
[CSS$O.toggle]: true
|
|
3685
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$O.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
3686
|
+
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$O.content, hidden: !open, id: regionId }, h("slot", null))));
|
|
3687
3687
|
}
|
|
3688
3688
|
get el() { return this; }
|
|
3689
3689
|
static get style() { return blockSectionCss; }
|
|
@@ -3717,7 +3717,7 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
})(HTMLFormElement.prototype);
|
|
3719
3719
|
|
|
3720
|
-
const CSS$
|
|
3720
|
+
const CSS$N = {
|
|
3721
3721
|
buttonLoader: "calcite-button--loader",
|
|
3722
3722
|
content: "content",
|
|
3723
3723
|
contentSlotted: "content--slotted",
|
|
@@ -4162,14 +4162,14 @@ const Button = class extends HTMLElement$1 {
|
|
|
4162
4162
|
render() {
|
|
4163
4163
|
const childElType = this.href ? "a" : "button";
|
|
4164
4164
|
const Tag = childElType;
|
|
4165
|
-
const loaderNode = this.hasLoader ? (h("div", { class: CSS$
|
|
4166
|
-
const iconStartEl = (h("calcite-icon", { class: { [CSS$
|
|
4167
|
-
const iconEndEl = (h("calcite-icon", { class: { [CSS$
|
|
4168
|
-
const contentEl = (h("span", { class: CSS$
|
|
4165
|
+
const loaderNode = this.hasLoader ? (h("div", { class: CSS$N.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$N.loadingIn : CSS$N.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
4166
|
+
const iconStartEl = (h("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
4167
|
+
const iconEndEl = (h("calcite-icon", { class: { [CSS$N.icon]: true, [CSS$N.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
4168
|
+
const contentEl = (h("span", { class: CSS$N.content }, h("slot", null)));
|
|
4169
4169
|
return (h(Tag, { "aria-label": getLabelText(this), class: {
|
|
4170
|
-
[CSS$
|
|
4171
|
-
[CSS$
|
|
4172
|
-
[CSS$
|
|
4170
|
+
[CSS$N.contentSlotted]: this.hasContent,
|
|
4171
|
+
[CSS$N.iconStartEmpty]: !this.iconStart,
|
|
4172
|
+
[CSS$N.iconEndEmpty]: !this.iconEnd
|
|
4173
4173
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
4174
4174
|
}
|
|
4175
4175
|
//--------------------------------------------------------------------------
|
|
@@ -4210,7 +4210,7 @@ const Button = class extends HTMLElement$1 {
|
|
|
4210
4210
|
static get style() { return buttonCss; }
|
|
4211
4211
|
};
|
|
4212
4212
|
|
|
4213
|
-
const CSS$
|
|
4213
|
+
const CSS$M = {
|
|
4214
4214
|
container: "container",
|
|
4215
4215
|
header: "header",
|
|
4216
4216
|
footer: "footer",
|
|
@@ -4307,32 +4307,32 @@ const Card = class extends HTMLElement$1 {
|
|
|
4307
4307
|
render() {
|
|
4308
4308
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
4309
4309
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
4310
|
-
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
4310
|
+
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$M.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
4311
4311
|
}
|
|
4312
4312
|
selectCard() {
|
|
4313
4313
|
this.selected = !this.selected;
|
|
4314
4314
|
this.calciteCardSelect.emit();
|
|
4315
4315
|
}
|
|
4316
4316
|
renderThumbnail() {
|
|
4317
|
-
return getSlotted(this.el, SLOTS$m.thumbnail) ? (h("section", { class: CSS$
|
|
4317
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (h("section", { class: CSS$M.thumbnailWrapper }, h("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
4318
4318
|
}
|
|
4319
4319
|
renderCheckbox() {
|
|
4320
4320
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
4321
|
-
return (h("calcite-label", { class: CSS$
|
|
4321
|
+
return (h("calcite-label", { class: CSS$M.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
4322
4322
|
}
|
|
4323
4323
|
renderHeader() {
|
|
4324
4324
|
const { el } = this;
|
|
4325
4325
|
const title = getSlotted(el, SLOTS$m.title);
|
|
4326
4326
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
4327
4327
|
const hasHeader = title || subtitle;
|
|
4328
|
-
return hasHeader ? (h("header", { class: CSS$
|
|
4328
|
+
return hasHeader ? (h("header", { class: CSS$M.header }, h("slot", { name: SLOTS$m.title }), h("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
4329
4329
|
}
|
|
4330
4330
|
renderFooter() {
|
|
4331
4331
|
const { el } = this;
|
|
4332
4332
|
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
4333
4333
|
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
4334
4334
|
const hasFooter = leadingFooter || trailingFooter;
|
|
4335
|
-
return hasFooter ? (h("footer", { class: CSS$
|
|
4335
|
+
return hasFooter ? (h("footer", { class: CSS$M.footer }, h("slot", { name: SLOTS$m.footerLeading }), h("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
4336
4336
|
}
|
|
4337
4337
|
get el() { return this; }
|
|
4338
4338
|
static get style() { return cardCss; }
|
|
@@ -4461,7 +4461,7 @@ const Checkbox = class extends HTMLElement$1 {
|
|
|
4461
4461
|
static get style() { return checkboxCss; }
|
|
4462
4462
|
};
|
|
4463
4463
|
|
|
4464
|
-
const CSS$
|
|
4464
|
+
const CSS$L = {
|
|
4465
4465
|
title: "title",
|
|
4466
4466
|
close: "close",
|
|
4467
4467
|
imageContainer: "image-container",
|
|
@@ -4568,12 +4568,12 @@ const Chip = class extends HTMLElement$1 {
|
|
|
4568
4568
|
renderChipImage() {
|
|
4569
4569
|
const { el } = this;
|
|
4570
4570
|
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
4571
|
-
return hasChipImage ? (h("div", { class: CSS$
|
|
4571
|
+
return hasChipImage ? (h("div", { class: CSS$L.imageContainer, key: "image" }, h("slot", { name: SLOTS$l.image }))) : null;
|
|
4572
4572
|
}
|
|
4573
4573
|
render() {
|
|
4574
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
4575
|
-
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
4576
|
-
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$
|
|
4574
|
+
const iconEl = (h("calcite-icon", { class: CSS$L.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
4575
|
+
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$L.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS$L.closeIcon, icon: ICONS$b.close, scale: "s" })));
|
|
4576
|
+
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$L.title, id: this.guid }, h("slot", null)), this.closable ? closeButton : null));
|
|
4577
4577
|
}
|
|
4578
4578
|
get el() { return this; }
|
|
4579
4579
|
static get watchers() { return {
|
|
@@ -6693,7 +6693,7 @@ function zeroArray(array, length) {
|
|
|
6693
6693
|
|
|
6694
6694
|
var color = Color;
|
|
6695
6695
|
|
|
6696
|
-
const CSS$
|
|
6696
|
+
const CSS$K = {
|
|
6697
6697
|
container: "container",
|
|
6698
6698
|
controlSection: "control-section",
|
|
6699
6699
|
hexOptions: "color-hex-options",
|
|
@@ -7235,7 +7235,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7235
7235
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
7236
7236
|
const active = channelMode === activeChannelMode;
|
|
7237
7237
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
7238
|
-
return (h("calcite-tab-title", { active: active, class: CSS$
|
|
7238
|
+
return (h("calcite-tab-title", { active: active, class: CSS$K.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
7239
7239
|
};
|
|
7240
7240
|
this.renderChannelsTab = (channelMode) => {
|
|
7241
7241
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -7246,11 +7246,11 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7246
7246
|
? [intlRed, intlGreen, intlBlue]
|
|
7247
7247
|
: [intlHue, intlSaturation, intlValue];
|
|
7248
7248
|
const direction = getElementDir(this.el);
|
|
7249
|
-
return (h("calcite-tab", { active: active, class: CSS$
|
|
7249
|
+
return (h("calcite-tab", { active: active, class: CSS$K.control, key: channelMode }, h("div", { class: CSS$K.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
7250
7250
|
/* the channel container is ltr, so we apply the host's direction */
|
|
7251
7251
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
7252
7252
|
};
|
|
7253
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$
|
|
7253
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$K.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
7254
7254
|
this.deleteColor = () => {
|
|
7255
7255
|
const colorToDelete = this.color.hex();
|
|
7256
7256
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -7353,7 +7353,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7353
7353
|
this.shiftKeyChannelAdjustment = 0;
|
|
7354
7354
|
const { key } = event;
|
|
7355
7355
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
7356
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
7356
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$K.channel); })) {
|
|
7357
7357
|
return;
|
|
7358
7358
|
}
|
|
7359
7359
|
const { shiftKey } = event;
|
|
@@ -7424,20 +7424,20 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7424
7424
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
7425
7425
|
const noColor = color === null;
|
|
7426
7426
|
const vertical = scopeOrientation === "vertical";
|
|
7427
|
-
return (h("div", { class: CSS$
|
|
7428
|
-
[CSS$
|
|
7429
|
-
[CSS$
|
|
7430
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
7431
|
-
[CSS$
|
|
7432
|
-
[CSS$
|
|
7433
|
-
} }, hideHex ? null : (h("div", { class: CSS$
|
|
7434
|
-
[CSS$
|
|
7435
|
-
[CSS$
|
|
7436
|
-
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
7437
|
-
[CSS$
|
|
7438
|
-
[CSS$
|
|
7439
|
-
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$
|
|
7440
|
-
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
7427
|
+
return (h("div", { class: CSS$K.container }, h("div", { class: CSS$K.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
7428
|
+
[CSS$K.colorFieldAndSlider]: true,
|
|
7429
|
+
[CSS$K.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
7430
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$K.scope]: true, [CSS$K.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$K.scope]: true, [CSS$K.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
7431
|
+
[CSS$K.controlSection]: true,
|
|
7432
|
+
[CSS$K.section]: true
|
|
7433
|
+
} }, hideHex ? null : (h("div", { class: CSS$K.hexOptions }, h("span", { class: {
|
|
7434
|
+
[CSS$K.header]: true,
|
|
7435
|
+
[CSS$K.headerHex]: true
|
|
7436
|
+
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$K.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
|
|
7437
|
+
[CSS$K.colorModeContainer]: true,
|
|
7438
|
+
[CSS$K.splitSection]: true
|
|
7439
|
+
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$K.savedColorsSection]: true, [CSS$K.section]: true } }, h("div", { class: CSS$K.header }, h("label", null, intlSaved), h("div", { class: CSS$K.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$K.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$K.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$K.savedColors }, [
|
|
7440
|
+
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$K.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
7441
7441
|
])) : null))));
|
|
7442
7442
|
}
|
|
7443
7443
|
// --------------------------------------------------------------------------
|
|
@@ -7632,7 +7632,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7632
7632
|
static get style() { return colorPickerCss; }
|
|
7633
7633
|
};
|
|
7634
7634
|
|
|
7635
|
-
const CSS$
|
|
7635
|
+
const CSS$J = {
|
|
7636
7636
|
container: "container",
|
|
7637
7637
|
preview: "preview",
|
|
7638
7638
|
input: "input"
|
|
@@ -7770,7 +7770,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7770
7770
|
render() {
|
|
7771
7771
|
const { intlHex, value } = this;
|
|
7772
7772
|
const hexInputValue = this.formatForInternalInput(value);
|
|
7773
|
-
return (h("div", { class: CSS$
|
|
7773
|
+
return (h("div", { class: CSS$J.container }, h("calcite-input", { class: CSS$J.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$J.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
7774
7774
|
}
|
|
7775
7775
|
//--------------------------------------------------------------------------
|
|
7776
7776
|
//
|
|
@@ -7829,7 +7829,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7829
7829
|
static get style() { return colorPickerHexInputCss; }
|
|
7830
7830
|
};
|
|
7831
7831
|
|
|
7832
|
-
const CSS$
|
|
7832
|
+
const CSS$I = {
|
|
7833
7833
|
swatch: "swatch",
|
|
7834
7834
|
noColorIcon: "no-color-icon"
|
|
7835
7835
|
};
|
|
@@ -7876,7 +7876,7 @@ const ColorPickerSwatch = class extends HTMLElement$1 {
|
|
|
7876
7876
|
const hex = internalColor.hex();
|
|
7877
7877
|
const theme = getThemeName(el);
|
|
7878
7878
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
7879
|
-
return (h("svg", { class: CSS$
|
|
7879
|
+
return (h("svg", { class: CSS$I.swatch, xmlns: "http://www.w3.org/2000/svg" }, h("title", null, hex), h("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
7880
7880
|
}
|
|
7881
7881
|
get el() { return this; }
|
|
7882
7882
|
static get watchers() { return {
|
|
@@ -10433,7 +10433,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10433
10433
|
static get style() { return comboboxCss; }
|
|
10434
10434
|
};
|
|
10435
10435
|
|
|
10436
|
-
const CSS$
|
|
10436
|
+
const CSS$H = {
|
|
10437
10437
|
icon: "icon",
|
|
10438
10438
|
iconActive: "icon--active",
|
|
10439
10439
|
custom: "icon--custom",
|
|
@@ -10524,18 +10524,18 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10524
10524
|
// --------------------------------------------------------------------------
|
|
10525
10525
|
renderIcon(isSingle) {
|
|
10526
10526
|
const { icon, disabled, selected } = this;
|
|
10527
|
-
const level = `${CSS$
|
|
10527
|
+
const level = `${CSS$H.icon}--indent`;
|
|
10528
10528
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
10529
10529
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
10530
10530
|
const showDot = isSingle && !icon && !disabled;
|
|
10531
10531
|
return showDot ? (h("span", { class: {
|
|
10532
|
-
[CSS$
|
|
10533
|
-
[CSS$
|
|
10532
|
+
[CSS$H.icon]: true,
|
|
10533
|
+
[CSS$H.dot]: true,
|
|
10534
10534
|
[level]: true
|
|
10535
10535
|
} })) : (h("calcite-icon", { class: {
|
|
10536
|
-
[CSS$
|
|
10537
|
-
[CSS$
|
|
10538
|
-
[CSS$
|
|
10536
|
+
[CSS$H.icon]: !icon,
|
|
10537
|
+
[CSS$H.custom]: !!icon,
|
|
10538
|
+
[CSS$H.iconActive]: icon && selected,
|
|
10539
10539
|
[level]: true
|
|
10540
10540
|
}, icon: icon || iconPath, scale: "s" }));
|
|
10541
10541
|
}
|
|
@@ -10548,13 +10548,13 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10548
10548
|
render() {
|
|
10549
10549
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
10550
10550
|
const classes = {
|
|
10551
|
-
[CSS$
|
|
10552
|
-
[CSS$
|
|
10553
|
-
[CSS$
|
|
10554
|
-
[CSS$
|
|
10551
|
+
[CSS$H.label]: true,
|
|
10552
|
+
[CSS$H.selected]: this.selected,
|
|
10553
|
+
[CSS$H.active]: this.active,
|
|
10554
|
+
[CSS$H.single]: isSingleSelect
|
|
10555
10555
|
};
|
|
10556
10556
|
const depth = getDepth(this.el);
|
|
10557
|
-
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$
|
|
10557
|
+
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$H.title }, this.textLabel)), this.renderChildren())));
|
|
10558
10558
|
}
|
|
10559
10559
|
get el() { return this; }
|
|
10560
10560
|
static get watchers() { return {
|
|
@@ -10563,7 +10563,7 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10563
10563
|
static get style() { return comboboxItemCss; }
|
|
10564
10564
|
};
|
|
10565
10565
|
|
|
10566
|
-
const CSS$
|
|
10566
|
+
const CSS$G = {
|
|
10567
10567
|
list: "list",
|
|
10568
10568
|
label: "label",
|
|
10569
10569
|
title: "title"
|
|
@@ -10595,8 +10595,8 @@ const ComboboxItemGroup = class extends HTMLElement$1 {
|
|
|
10595
10595
|
// --------------------------------------------------------------------------
|
|
10596
10596
|
render() {
|
|
10597
10597
|
const { el, scale } = this;
|
|
10598
|
-
const indent = `${CSS$
|
|
10599
|
-
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
10598
|
+
const indent = `${CSS$G.label}--indent-${getDepth(el)}`;
|
|
10599
|
+
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$G.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS$G.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS$G.title }, this.label)), h("slot", null)));
|
|
10600
10600
|
}
|
|
10601
10601
|
get el() { return this; }
|
|
10602
10602
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -12521,7 +12521,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12521
12521
|
static get style() { return dropdownCss; }
|
|
12522
12522
|
};
|
|
12523
12523
|
|
|
12524
|
-
const CSS$
|
|
12524
|
+
const CSS$F = {
|
|
12525
12525
|
containerSmall: "container--s",
|
|
12526
12526
|
containerMedium: "container--m",
|
|
12527
12527
|
containerLarge: "container--l"
|
|
@@ -12555,9 +12555,9 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12555
12555
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
12556
12556
|
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
|
12557
12557
|
container: true,
|
|
12558
|
-
[CSS$
|
|
12559
|
-
[CSS$
|
|
12560
|
-
[CSS$
|
|
12558
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
12559
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
12560
|
+
[CSS$F.containerLarge]: scale === "l"
|
|
12561
12561
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, h("slot", null))));
|
|
12562
12562
|
}
|
|
12563
12563
|
//--------------------------------------------------------------------------
|
|
@@ -12585,7 +12585,7 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12585
12585
|
static get style() { return dropdownGroupCss; }
|
|
12586
12586
|
};
|
|
12587
12587
|
|
|
12588
|
-
const CSS$
|
|
12588
|
+
const CSS$E = {
|
|
12589
12589
|
containerLink: "container--link",
|
|
12590
12590
|
containerSmall: "container--s",
|
|
12591
12591
|
containerMedium: "container--m",
|
|
@@ -12674,13 +12674,13 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12674
12674
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
12675
12675
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
|
12676
12676
|
container: true,
|
|
12677
|
-
[CSS$
|
|
12678
|
-
[CSS$
|
|
12679
|
-
[CSS$
|
|
12680
|
-
[CSS$
|
|
12681
|
-
[CSS$
|
|
12682
|
-
[CSS$
|
|
12683
|
-
[CSS$
|
|
12677
|
+
[CSS$E.containerLink]: !!this.href,
|
|
12678
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
12679
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
12680
|
+
[CSS$E.containerLarge]: scale === "l",
|
|
12681
|
+
[CSS$E.containerMulti]: this.selectionMode === "multi",
|
|
12682
|
+
[CSS$E.containerSingle]: this.selectionMode === "single",
|
|
12683
|
+
[CSS$E.containerNone]: this.selectionMode === "none"
|
|
12684
12684
|
} }, this.selectionMode !== "none" ? (h("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
12685
12685
|
}
|
|
12686
12686
|
//--------------------------------------------------------------------------
|
|
@@ -12772,7 +12772,7 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12772
12772
|
static get style() { return dropdownItemCss; }
|
|
12773
12773
|
};
|
|
12774
12774
|
|
|
12775
|
-
const CSS$
|
|
12775
|
+
const CSS$D = {
|
|
12776
12776
|
button: "button"
|
|
12777
12777
|
};
|
|
12778
12778
|
const ICONS$a = {
|
|
@@ -12847,7 +12847,7 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12847
12847
|
render() {
|
|
12848
12848
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
12849
12849
|
const title = !textEnabled ? label || text || null : null;
|
|
12850
|
-
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
12850
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$D.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
12851
12851
|
this.buttonEl = buttonEl;
|
|
12852
12852
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
12853
12853
|
}
|
|
@@ -12855,7 +12855,7 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12855
12855
|
static get style() { return fabCss; }
|
|
12856
12856
|
};
|
|
12857
12857
|
|
|
12858
|
-
const CSS$
|
|
12858
|
+
const CSS$C = {
|
|
12859
12859
|
container: "container",
|
|
12860
12860
|
searchIcon: "search-icon"
|
|
12861
12861
|
};
|
|
@@ -12976,7 +12976,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12976
12976
|
// --------------------------------------------------------------------------
|
|
12977
12977
|
render() {
|
|
12978
12978
|
const { disabled, scale } = this;
|
|
12979
|
-
return (h(Fragment, null, h("div", { class: CSS$
|
|
12979
|
+
return (h(Fragment, null, h("div", { class: CSS$C.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$9.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
12980
12980
|
this.textInput = el;
|
|
12981
12981
|
}, scale: scale, type: "text", value: this.value })))));
|
|
12982
12982
|
}
|
|
@@ -12988,7 +12988,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12988
12988
|
static get style() { return filterCss; }
|
|
12989
12989
|
};
|
|
12990
12990
|
|
|
12991
|
-
const CSS$
|
|
12991
|
+
const CSS$B = {
|
|
12992
12992
|
frame: "frame",
|
|
12993
12993
|
frameAdvancing: "frame--advancing",
|
|
12994
12994
|
frameRetreating: "frame--retreating"
|
|
@@ -13089,9 +13089,9 @@ const Flow = class extends HTMLElement$1 {
|
|
|
13089
13089
|
render() {
|
|
13090
13090
|
const { flowDirection } = this;
|
|
13091
13091
|
const frameDirectionClasses = {
|
|
13092
|
-
[CSS$
|
|
13093
|
-
[CSS$
|
|
13094
|
-
[CSS$
|
|
13092
|
+
[CSS$B.frame]: true,
|
|
13093
|
+
[CSS$B.frameAdvancing]: flowDirection === "advancing",
|
|
13094
|
+
[CSS$B.frameRetreating]: flowDirection === "retreating"
|
|
13095
13095
|
};
|
|
13096
13096
|
return (h("div", { class: frameDirectionClasses }, h("slot", null)));
|
|
13097
13097
|
}
|
|
@@ -13099,7 +13099,7 @@ const Flow = class extends HTMLElement$1 {
|
|
|
13099
13099
|
static get style() { return flowCss; }
|
|
13100
13100
|
};
|
|
13101
13101
|
|
|
13102
|
-
const CSS$
|
|
13102
|
+
const CSS$A = {
|
|
13103
13103
|
backButton: "back-button"
|
|
13104
13104
|
};
|
|
13105
13105
|
const ICONS$8 = {
|
|
@@ -13119,7 +13119,7 @@ const SLOTS$j = {
|
|
|
13119
13119
|
footerActions: "footer-actions"
|
|
13120
13120
|
};
|
|
13121
13121
|
|
|
13122
|
-
const CSS$
|
|
13122
|
+
const CSS$z = {
|
|
13123
13123
|
backButton: "back-button",
|
|
13124
13124
|
container: "container",
|
|
13125
13125
|
header: "header",
|
|
@@ -13256,7 +13256,7 @@ const FlowItem = class extends HTMLElement$1 {
|
|
|
13256
13256
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
13257
13257
|
const label = intlBack || TEXT$g.back;
|
|
13258
13258
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
13259
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$
|
|
13259
|
+
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
13260
13260
|
}
|
|
13261
13261
|
render() {
|
|
13262
13262
|
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
@@ -13484,7 +13484,7 @@ const Graph = class extends HTMLElement$1 {
|
|
|
13484
13484
|
static get style() { return graphCss; }
|
|
13485
13485
|
};
|
|
13486
13486
|
|
|
13487
|
-
const CSS$
|
|
13487
|
+
const CSS$y = {
|
|
13488
13488
|
handle: "handle",
|
|
13489
13489
|
handleActivated: "handle--activated"
|
|
13490
13490
|
};
|
|
@@ -13557,7 +13557,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13557
13557
|
render() {
|
|
13558
13558
|
return (
|
|
13559
13559
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
13560
|
-
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
13560
|
+
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
13561
13561
|
this.handleButton = el;
|
|
13562
13562
|
}, role: "button", tabindex: "0", title: this.textTitle }, h("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
13563
13563
|
}
|
|
@@ -13565,7 +13565,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13565
13565
|
static get style() { return handleCss; }
|
|
13566
13566
|
};
|
|
13567
13567
|
|
|
13568
|
-
const CSS$
|
|
13568
|
+
const CSS$x = {
|
|
13569
13569
|
icon: "icon",
|
|
13570
13570
|
flipRtl: "flip-rtl"
|
|
13571
13571
|
};
|
|
@@ -13685,7 +13685,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13685
13685
|
const semantic = !!textLabel;
|
|
13686
13686
|
const paths = [].concat(pathData || "");
|
|
13687
13687
|
return (h(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, h("svg", { class: {
|
|
13688
|
-
[CSS$
|
|
13688
|
+
[CSS$x.flipRtl]: dir === "rtl" && flipRtl,
|
|
13689
13689
|
svg: true
|
|
13690
13690
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (h("path", { d: path })) : (h("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
13691
13691
|
}
|
|
@@ -13726,7 +13726,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13726
13726
|
static get style() { return iconCss; }
|
|
13727
13727
|
};
|
|
13728
13728
|
|
|
13729
|
-
const CSS$
|
|
13729
|
+
const CSS$w = {
|
|
13730
13730
|
wrapper: "wrapper",
|
|
13731
13731
|
confirmChangesButton: "confirm-changes-button",
|
|
13732
13732
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -13889,12 +13889,12 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13889
13889
|
updateHostInteraction(this);
|
|
13890
13890
|
}
|
|
13891
13891
|
render() {
|
|
13892
|
-
return (h("div", { class: CSS$
|
|
13892
|
+
return (h("div", { class: CSS$w.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, h("div", { class: CSS$w.inputWrapper }, h("slot", null)), h("div", { class: CSS$w.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
13893
13893
|
opacity: this.editingEnabled ? "0" : "1",
|
|
13894
13894
|
width: this.editingEnabled ? "0" : "inherit"
|
|
13895
13895
|
}, type: "button" }), this.shouldShowControls && [
|
|
13896
|
-
h("div", { class: CSS$
|
|
13897
|
-
h("calcite-button", { appearance: "solid", class: CSS$
|
|
13896
|
+
h("div", { class: CSS$w.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
13897
|
+
h("calcite-button", { appearance: "solid", class: CSS$w.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
13898
13898
|
])));
|
|
13899
13899
|
}
|
|
13900
13900
|
//--------------------------------------------------------------------------
|
|
@@ -13957,7 +13957,7 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13957
13957
|
static get style() { return inlineEditableCss; }
|
|
13958
13958
|
};
|
|
13959
13959
|
|
|
13960
|
-
const CSS$
|
|
13960
|
+
const CSS$v = {
|
|
13961
13961
|
loader: "loader",
|
|
13962
13962
|
clearButton: "clear-button",
|
|
13963
13963
|
editingEnabled: "editing-enabled",
|
|
@@ -14535,34 +14535,34 @@ const Input = class extends HTMLElement$1 {
|
|
|
14535
14535
|
// --------------------------------------------------------------------------
|
|
14536
14536
|
render() {
|
|
14537
14537
|
const dir = getElementDir(this.el);
|
|
14538
|
-
const loader = (h("div", { class: CSS$
|
|
14539
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$
|
|
14540
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
14538
|
+
const loader = (h("div", { class: CSS$v.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
14539
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
14540
|
+
const iconEl = (h("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
14541
14541
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
14542
14542
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
14543
|
-
[CSS$
|
|
14544
|
-
[CSS$
|
|
14543
|
+
[CSS$v.numberButtonItem]: true,
|
|
14544
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14545
14545
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
14546
14546
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
14547
|
-
[CSS$
|
|
14548
|
-
[CSS$
|
|
14547
|
+
[CSS$v.numberButtonItem]: true,
|
|
14548
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14549
14549
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
14550
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
14551
|
-
const prefixText = h("div", { class: CSS$
|
|
14552
|
-
const suffixText = h("div", { class: CSS$
|
|
14550
|
+
const numberButtonsVertical = (h("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
14551
|
+
const prefixText = h("div", { class: CSS$v.prefix }, this.prefixText);
|
|
14552
|
+
const suffixText = h("div", { class: CSS$v.suffix }, this.suffixText);
|
|
14553
14553
|
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
14554
14554
|
const childEl = this.type !== "number"
|
|
14555
14555
|
? [
|
|
14556
14556
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
14557
|
-
[CSS$
|
|
14558
|
-
[CSS$
|
|
14557
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
14558
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
14559
14559
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
14560
|
-
this.isTextarea ? (h("div", { class: CSS$
|
|
14560
|
+
this.isTextarea ? (h("div", { class: CSS$v.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
14561
14561
|
]
|
|
14562
14562
|
: null;
|
|
14563
|
-
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
14563
|
+
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14564
14564
|
? numberButtonsHorizontalDown
|
|
14565
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
14565
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$v.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$v.actionWrapper }, h("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
14566
14566
|
? numberButtonsVertical
|
|
14567
14567
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14568
14568
|
? numberButtonsHorizontalUp
|
|
@@ -14580,7 +14580,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
14580
14580
|
static get style() { return inputCss; }
|
|
14581
14581
|
};
|
|
14582
14582
|
|
|
14583
|
-
const CSS$
|
|
14583
|
+
const CSS$u = {
|
|
14584
14584
|
menu: "menu-container",
|
|
14585
14585
|
menuActive: "menu-container--active"
|
|
14586
14586
|
};
|
|
@@ -14918,8 +14918,8 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14918
14918
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
14919
14919
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
14920
14920
|
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
14921
|
-
[CSS$
|
|
14922
|
-
[CSS$
|
|
14921
|
+
[CSS$u.menu]: true,
|
|
14922
|
+
[CSS$u.menuActive]: this.open
|
|
14923
14923
|
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
14924
14924
|
["calendar-picker-wrapper"]: true,
|
|
14925
14925
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -15178,7 +15178,7 @@ const InputMessage = class extends HTMLElement$1 {
|
|
|
15178
15178
|
static get style() { return inputMessageCss; }
|
|
15179
15179
|
};
|
|
15180
15180
|
|
|
15181
|
-
const CSS$
|
|
15181
|
+
const CSS$t = {
|
|
15182
15182
|
loader: "loader",
|
|
15183
15183
|
clearButton: "clear-button",
|
|
15184
15184
|
editingEnabled: "editing-enabled",
|
|
@@ -15664,25 +15664,25 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15664
15664
|
// --------------------------------------------------------------------------
|
|
15665
15665
|
render() {
|
|
15666
15666
|
const dir = getElementDir(this.el);
|
|
15667
|
-
const loader = (h("div", { class: CSS$
|
|
15668
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$
|
|
15669
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
15667
|
+
const loader = (h("div", { class: CSS$t.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
15668
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
15669
|
+
const iconEl = (h("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
15670
15670
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
15671
15671
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
15672
|
-
[CSS$
|
|
15673
|
-
[CSS$
|
|
15672
|
+
[CSS$t.numberButtonItem]: true,
|
|
15673
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15674
15674
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
15675
15675
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
15676
|
-
[CSS$
|
|
15677
|
-
[CSS$
|
|
15676
|
+
[CSS$t.numberButtonItem]: true,
|
|
15677
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15678
15678
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
15679
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
15680
|
-
const prefixText = h("div", { class: CSS$
|
|
15681
|
-
const suffixText = h("div", { class: CSS$
|
|
15679
|
+
const numberButtonsVertical = (h("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
15680
|
+
const prefixText = h("div", { class: CSS$t.prefix }, this.prefixText);
|
|
15681
|
+
const suffixText = h("div", { class: CSS$t.suffix }, this.suffixText);
|
|
15682
15682
|
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
15683
|
-
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
15683
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15684
15684
|
? numberButtonsHorizontalDown
|
|
15685
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
15685
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$t.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15686
15686
|
? numberButtonsHorizontalUp
|
|
15687
15687
|
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
15688
15688
|
}
|
|
@@ -15697,7 +15697,7 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15697
15697
|
static get style() { return inputNumberCss; }
|
|
15698
15698
|
};
|
|
15699
15699
|
|
|
15700
|
-
const CSS$
|
|
15700
|
+
const CSS$s = {
|
|
15701
15701
|
loader: "loader",
|
|
15702
15702
|
clearButton: "clear-button",
|
|
15703
15703
|
editingEnabled: "editing-enabled",
|
|
@@ -16004,16 +16004,16 @@ const InputText = class extends HTMLElement$1 {
|
|
|
16004
16004
|
// --------------------------------------------------------------------------
|
|
16005
16005
|
render() {
|
|
16006
16006
|
const dir = getElementDir(this.el);
|
|
16007
|
-
const loader = (h("div", { class: CSS$
|
|
16008
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$
|
|
16009
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
16010
|
-
const prefixText = h("div", { class: CSS$
|
|
16011
|
-
const suffixText = h("div", { class: CSS$
|
|
16007
|
+
const loader = (h("div", { class: CSS$s.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
16008
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
16009
|
+
const iconEl = (h("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
16010
|
+
const prefixText = h("div", { class: CSS$s.prefix }, this.prefixText);
|
|
16011
|
+
const suffixText = h("div", { class: CSS$s.suffix }, this.suffixText);
|
|
16012
16012
|
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
16013
|
-
[CSS$
|
|
16014
|
-
[CSS$
|
|
16013
|
+
[CSS$s.editingEnabled]: this.editingEnabled,
|
|
16014
|
+
[CSS$s.inlineChild]: !!this.inlineEditableEl
|
|
16015
16015
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
16016
|
-
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
16016
|
+
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, h("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$s.actionWrapper }, h("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, h(HiddenFormInputSlot, { component: this }))));
|
|
16017
16017
|
}
|
|
16018
16018
|
get el() { return this; }
|
|
16019
16019
|
static get watchers() { return {
|
|
@@ -16473,7 +16473,7 @@ const InputTimePicker = class extends HTMLElement$1 {
|
|
|
16473
16473
|
static get style() { return inputTimePickerCss; }
|
|
16474
16474
|
};
|
|
16475
16475
|
|
|
16476
|
-
const CSS$
|
|
16476
|
+
const CSS$r = {
|
|
16477
16477
|
container: "container"
|
|
16478
16478
|
};
|
|
16479
16479
|
|
|
@@ -16537,7 +16537,7 @@ const Label = class extends HTMLElement$1 {
|
|
|
16537
16537
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
16538
16538
|
}
|
|
16539
16539
|
render() {
|
|
16540
|
-
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS$
|
|
16540
|
+
return (h(Host, { onClick: this.labelClickHandler }, h("div", { class: CSS$r.container }, h("slot", null))));
|
|
16541
16541
|
}
|
|
16542
16542
|
get el() { return this; }
|
|
16543
16543
|
static get style() { return labelCss; }
|
|
@@ -16626,7 +16626,7 @@ const Link = class extends HTMLElement$1 {
|
|
|
16626
16626
|
static get style() { return linkCss; }
|
|
16627
16627
|
};
|
|
16628
16628
|
|
|
16629
|
-
const CSS$
|
|
16629
|
+
const CSS$q = {
|
|
16630
16630
|
container: "container"
|
|
16631
16631
|
};
|
|
16632
16632
|
|
|
@@ -16671,13 +16671,13 @@ const List$1 = class extends HTMLElement$1 {
|
|
|
16671
16671
|
//
|
|
16672
16672
|
// --------------------------------------------------------------------------
|
|
16673
16673
|
render() {
|
|
16674
|
-
return (h(Host, { role: "list" }, h("div", { class: CSS$
|
|
16674
|
+
return (h(Host, { role: "list" }, h("div", { class: CSS$q.container }, h("slot", null))));
|
|
16675
16675
|
}
|
|
16676
16676
|
get el() { return this; }
|
|
16677
16677
|
static get style() { return listCss; }
|
|
16678
16678
|
};
|
|
16679
16679
|
|
|
16680
|
-
const CSS$
|
|
16680
|
+
const CSS$p = {
|
|
16681
16681
|
container: "container",
|
|
16682
16682
|
contentContainer: "content-container",
|
|
16683
16683
|
nestedContainer: "nested-container",
|
|
@@ -16698,7 +16698,7 @@ const SLOTS$e = {
|
|
|
16698
16698
|
actionsEnd: "actions-end"
|
|
16699
16699
|
};
|
|
16700
16700
|
|
|
16701
|
-
const listItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center
|
|
16701
|
+
const listItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{-webkit-margin-before:0.125rem;margin-block-start:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;-ms-flex-item-align:center;align-self:center}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
16702
16702
|
|
|
16703
16703
|
const ListItem = class extends HTMLElement$1 {
|
|
16704
16704
|
constructor() {
|
|
@@ -16755,42 +16755,42 @@ const ListItem = class extends HTMLElement$1 {
|
|
|
16755
16755
|
// --------------------------------------------------------------------------
|
|
16756
16756
|
renderActionsStart() {
|
|
16757
16757
|
const { el } = this;
|
|
16758
|
-
return getSlotted(el, SLOTS$e.actionsStart) ? (h("div", { class: CSS$
|
|
16758
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (h("div", { class: CSS$p.actionsStart }, h("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
16759
16759
|
}
|
|
16760
16760
|
renderActionsEnd() {
|
|
16761
16761
|
const { el } = this;
|
|
16762
|
-
return getSlotted(el, SLOTS$e.actionsEnd) ? (h("div", { class: CSS$
|
|
16762
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (h("div", { class: CSS$p.actionsEnd }, h("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
16763
16763
|
}
|
|
16764
16764
|
renderContentStart() {
|
|
16765
16765
|
const { el } = this;
|
|
16766
|
-
return getSlotted(el, SLOTS$e.contentStart) ? (h("div", { class: CSS$
|
|
16766
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (h("div", { class: CSS$p.contentStart }, h("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
16767
16767
|
}
|
|
16768
16768
|
renderContentEnd() {
|
|
16769
16769
|
const { el } = this;
|
|
16770
|
-
return getSlotted(el, SLOTS$e.contentEnd) ? (h("div", { class: CSS$
|
|
16770
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (h("div", { class: CSS$p.contentEnd }, h("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
16771
16771
|
}
|
|
16772
16772
|
renderContent() {
|
|
16773
16773
|
const { label, description } = this;
|
|
16774
|
-
return !!label || !!description ? (h("div", { class: CSS$
|
|
16774
|
+
return !!label || !!description ? (h("div", { class: CSS$p.content }, label ? h("div", { class: CSS$p.label }, label) : null, description ? h("div", { class: CSS$p.description }, description) : null)) : null;
|
|
16775
16775
|
}
|
|
16776
16776
|
renderContentContainer() {
|
|
16777
16777
|
const { description, disabled, label, nonInteractive } = this;
|
|
16778
16778
|
const hasCenterContent = !!label || !!description;
|
|
16779
16779
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
16780
16780
|
return !nonInteractive ? (h("button", { class: {
|
|
16781
|
-
[CSS$
|
|
16782
|
-
[CSS$
|
|
16783
|
-
[CSS$
|
|
16784
|
-
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: { [CSS$
|
|
16781
|
+
[CSS$p.contentContainer]: true,
|
|
16782
|
+
[CSS$p.contentContainerButton]: true,
|
|
16783
|
+
[CSS$p.hasCenterContent]: hasCenterContent
|
|
16784
|
+
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (h("div", { class: { [CSS$p.contentContainer]: true, [CSS$p.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
|
|
16785
16785
|
}
|
|
16786
16786
|
render() {
|
|
16787
|
-
return (h(Host, { role: "listitem" }, h("div", { class: CSS$
|
|
16787
|
+
return (h(Host, { role: "listitem" }, h("div", { class: CSS$p.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), h("div", { class: CSS$p.nestedContainer }, h("slot", null))));
|
|
16788
16788
|
}
|
|
16789
16789
|
get el() { return this; }
|
|
16790
16790
|
static get style() { return listItemCss; }
|
|
16791
16791
|
};
|
|
16792
16792
|
|
|
16793
|
-
const CSS$
|
|
16793
|
+
const CSS$o = {
|
|
16794
16794
|
heading: "heading",
|
|
16795
16795
|
container: "container"
|
|
16796
16796
|
};
|
|
@@ -16815,7 +16815,7 @@ const ListItemGroup = class extends HTMLElement$1 {
|
|
|
16815
16815
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
16816
16816
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
16817
16817
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
16818
|
-
return (h(Host, null, heading ? (h(Heading, { class: CSS$
|
|
16818
|
+
return (h(Host, null, heading ? (h(Heading, { class: CSS$o.heading, level: level }, heading)) : null, h("div", { class: CSS$o.container, role: "group" }, h("slot", null))));
|
|
16819
16819
|
}
|
|
16820
16820
|
get el() { return this; }
|
|
16821
16821
|
static get style() { return listItemGroupCss; }
|
|
@@ -17008,7 +17008,7 @@ function isFocusable($elem) {
|
|
|
17008
17008
|
|| $elem instanceof HTMLIFrameElement);
|
|
17009
17009
|
}
|
|
17010
17010
|
|
|
17011
|
-
const CSS$
|
|
17011
|
+
const CSS$n = {
|
|
17012
17012
|
modal: "modal",
|
|
17013
17013
|
modalOpen: "modal--open",
|
|
17014
17014
|
title: "title",
|
|
@@ -17183,29 +17183,29 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17183
17183
|
disconnectOpenCloseComponent(this);
|
|
17184
17184
|
}
|
|
17185
17185
|
render() {
|
|
17186
|
-
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$
|
|
17187
|
-
[CSS$
|
|
17188
|
-
[CSS$
|
|
17189
|
-
}, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$
|
|
17186
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: {
|
|
17187
|
+
[CSS$n.modal]: true,
|
|
17188
|
+
[CSS$n.modalOpen]: this.isOpen
|
|
17189
|
+
}, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$n.header }, this.renderCloseButton(), h("header", { class: CSS$n.title }, h("slot", { name: CSS$n.header }))), h("div", { class: {
|
|
17190
17190
|
content: true,
|
|
17191
17191
|
"content--spaced": !this.noPadding,
|
|
17192
17192
|
"content--no-footer": !this.hasFooter
|
|
17193
17193
|
}, ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS$d.content })), this.renderFooter(), h("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
17194
17194
|
}
|
|
17195
17195
|
renderFooter() {
|
|
17196
|
-
return this.hasFooter ? (h("div", { class: CSS$
|
|
17196
|
+
return this.hasFooter ? (h("div", { class: CSS$n.footer, key: "footer" }, h("span", { class: CSS$n.back }, h("slot", { name: SLOTS$d.back })), h("span", { class: CSS$n.secondary }, h("slot", { name: SLOTS$d.secondary })), h("span", { class: CSS$n.primary }, h("slot", { name: SLOTS$d.primary })))) : null;
|
|
17197
17197
|
}
|
|
17198
17198
|
renderCloseButton() {
|
|
17199
|
-
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$
|
|
17199
|
+
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS$n.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
17200
17200
|
}
|
|
17201
17201
|
renderStyle() {
|
|
17202
17202
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
17203
17203
|
return hasCustomWidth ? (h("style", null, `
|
|
17204
|
-
.${CSS$
|
|
17204
|
+
.${CSS$n.modal} {
|
|
17205
17205
|
max-width: ${this.width}px !important;
|
|
17206
17206
|
}
|
|
17207
17207
|
@media screen and (max-width: ${this.width}px) {
|
|
17208
|
-
.${CSS$
|
|
17208
|
+
.${CSS$n.modal} {
|
|
17209
17209
|
height: 100% !important;
|
|
17210
17210
|
max-height: 100% !important;
|
|
17211
17211
|
width: 100% !important;
|
|
@@ -17278,19 +17278,19 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17278
17278
|
}
|
|
17279
17279
|
}
|
|
17280
17280
|
onBeforeOpen() {
|
|
17281
|
-
this.transitionEl.classList.add(CSS$
|
|
17281
|
+
this.transitionEl.classList.add(CSS$n.openingActive);
|
|
17282
17282
|
this.calciteModalBeforeOpen.emit();
|
|
17283
17283
|
}
|
|
17284
17284
|
onOpen() {
|
|
17285
|
-
this.transitionEl.classList.remove(CSS$
|
|
17285
|
+
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
17286
17286
|
this.calciteModalOpen.emit();
|
|
17287
17287
|
}
|
|
17288
17288
|
onBeforeClose() {
|
|
17289
|
-
this.transitionEl.classList.add(CSS$
|
|
17289
|
+
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
17290
17290
|
this.calciteModalBeforeClose.emit();
|
|
17291
17291
|
}
|
|
17292
17292
|
onClose() {
|
|
17293
|
-
this.transitionEl.classList.remove(CSS$
|
|
17293
|
+
this.transitionEl.classList.remove(CSS$n.closingIdle, CSS$n.closingActive);
|
|
17294
17294
|
this.calciteModalClose.emit();
|
|
17295
17295
|
}
|
|
17296
17296
|
activeHandler(value) {
|
|
@@ -17300,11 +17300,11 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17300
17300
|
var _a, _b;
|
|
17301
17301
|
this.active = value;
|
|
17302
17302
|
if (value) {
|
|
17303
|
-
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$
|
|
17303
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$n.openingIdle);
|
|
17304
17304
|
this.openModal();
|
|
17305
17305
|
}
|
|
17306
17306
|
else {
|
|
17307
|
-
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$
|
|
17307
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$n.closingIdle);
|
|
17308
17308
|
this.close();
|
|
17309
17309
|
}
|
|
17310
17310
|
}
|
|
@@ -17318,10 +17318,10 @@ const Modal = class extends HTMLElement$1 {
|
|
|
17318
17318
|
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
17319
17319
|
this.titleId = ensureId(titleEl);
|
|
17320
17320
|
this.contentId = ensureId(contentEl);
|
|
17321
|
-
document.documentElement.classList.add(CSS$
|
|
17321
|
+
document.documentElement.classList.add(CSS$n.overflowHidden);
|
|
17322
17322
|
}
|
|
17323
17323
|
removeOverflowHiddenClass() {
|
|
17324
|
-
document.documentElement.classList.remove(CSS$
|
|
17324
|
+
document.documentElement.classList.remove(CSS$n.overflowHidden);
|
|
17325
17325
|
}
|
|
17326
17326
|
get el() { return this; }
|
|
17327
17327
|
static get watchers() { return {
|
|
@@ -17340,7 +17340,7 @@ const SLOTS$c = {
|
|
|
17340
17340
|
link: "link",
|
|
17341
17341
|
actionsEnd: "actions-end"
|
|
17342
17342
|
};
|
|
17343
|
-
const CSS$
|
|
17343
|
+
const CSS$m = {
|
|
17344
17344
|
actionsEnd: "actions-end",
|
|
17345
17345
|
close: "notice-close",
|
|
17346
17346
|
container: "container",
|
|
@@ -17442,9 +17442,9 @@ const Notice = class extends HTMLElement$1 {
|
|
|
17442
17442
|
}
|
|
17443
17443
|
render() {
|
|
17444
17444
|
const { el } = this;
|
|
17445
|
-
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS$
|
|
17445
|
+
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS$m.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
17446
17446
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
17447
|
-
return (h("div", { class: CSS$
|
|
17447
|
+
return (h("div", { class: CSS$m.container }, this.requestedIcon ? (h("div", { class: CSS$m.icon }, h("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: CSS$m.content }, h("slot", { name: SLOTS$c.title }), h("slot", { name: SLOTS$c.message }), h("slot", { name: SLOTS$c.link })), hasActionEnd ? (h("div", { class: CSS$m.actionsEnd }, h("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
17448
17448
|
}
|
|
17449
17449
|
//--------------------------------------------------------------------------
|
|
17450
17450
|
//
|
|
@@ -17653,7 +17653,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
17653
17653
|
}
|
|
17654
17654
|
}
|
|
17655
17655
|
|
|
17656
|
-
const CSS$
|
|
17656
|
+
const CSS$l = {
|
|
17657
17657
|
page: "page",
|
|
17658
17658
|
selected: "is-selected",
|
|
17659
17659
|
previous: "previous",
|
|
@@ -17810,8 +17810,8 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17810
17810
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
17811
17811
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
17812
17812
|
return (h("button", { class: {
|
|
17813
|
-
[CSS$
|
|
17814
|
-
[CSS$
|
|
17813
|
+
[CSS$l.page]: true,
|
|
17814
|
+
[CSS$l.selected]: start === this.start
|
|
17815
17815
|
}, onClick: () => {
|
|
17816
17816
|
this.start = start;
|
|
17817
17817
|
this.emitUpdate();
|
|
@@ -17819,12 +17819,12 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17819
17819
|
}
|
|
17820
17820
|
renderLeftEllipsis() {
|
|
17821
17821
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
17822
|
-
return h("span", { class: `${CSS$
|
|
17822
|
+
return h("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisStart}` }, "\u2026");
|
|
17823
17823
|
}
|
|
17824
17824
|
}
|
|
17825
17825
|
renderRightEllipsis() {
|
|
17826
17826
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
17827
|
-
return h("span", { class: `${CSS$
|
|
17827
|
+
return h("span", { class: `${CSS$l.ellipsis} ${CSS$l.ellipsisEnd}` }, "\u2026");
|
|
17828
17828
|
}
|
|
17829
17829
|
}
|
|
17830
17830
|
render() {
|
|
@@ -17832,11 +17832,11 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17832
17832
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
17833
17833
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
17834
17834
|
return (h(Fragment, null, h("button", { "aria-label": this.textLabelPrevious, class: {
|
|
17835
|
-
[CSS$
|
|
17836
|
-
[CSS$
|
|
17835
|
+
[CSS$l.previous]: true,
|
|
17836
|
+
[CSS$l.disabled]: prevDisabled
|
|
17837
17837
|
}, disabled: prevDisabled, onClick: this.previousClicked }, h("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), h("button", { "aria-label": this.textLabelNext, class: {
|
|
17838
|
-
[CSS$
|
|
17839
|
-
[CSS$
|
|
17838
|
+
[CSS$l.next]: true,
|
|
17839
|
+
[CSS$l.disabled]: nextDisabled
|
|
17840
17840
|
}, disabled: nextDisabled, onClick: this.nextClicked }, h("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
17841
17841
|
}
|
|
17842
17842
|
get el() { return this; }
|
|
@@ -18092,23 +18092,23 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18092
18092
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
18093
18093
|
const label = intlBack || TEXT$f.back;
|
|
18094
18094
|
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
18095
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$
|
|
18095
|
+
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$i.headerActionsStart, text: label })) : null;
|
|
18096
18096
|
}
|
|
18097
18097
|
renderHeaderContent() {
|
|
18098
18098
|
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
18099
|
-
const headingNode = heading ? (h(Heading, { class: CSS$
|
|
18100
|
-
const descriptionNode = description || summary ? h("span", { class: CSS$
|
|
18101
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$
|
|
18099
|
+
const headingNode = heading ? (h(Heading, { class: CSS$z.heading, level: headingLevel || HEADING_LEVEL$5 }, heading)) : null;
|
|
18100
|
+
const descriptionNode = description || summary ? h("span", { class: CSS$z.description }, description || summary) : null;
|
|
18101
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS$z.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
18102
18102
|
}
|
|
18103
18103
|
/**
|
|
18104
18104
|
* Allows user to override the entire header-content node.
|
|
18105
18105
|
*/
|
|
18106
18106
|
renderHeaderSlottedContent() {
|
|
18107
|
-
return (h("div", { class: CSS$
|
|
18107
|
+
return (h("div", { class: CSS$z.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS$i.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
18108
18108
|
}
|
|
18109
18109
|
renderHeaderStartActions() {
|
|
18110
18110
|
const { hasStartActions } = this;
|
|
18111
|
-
return (h("div", { class: { [CSS$
|
|
18111
|
+
return (h("div", { class: { [CSS$z.headerActionsStart]: true, [CSS$z.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS$i.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
18112
18112
|
}
|
|
18113
18113
|
renderHeaderActionsEnd() {
|
|
18114
18114
|
const { close, hasEndActions, intlClose, closable } = this;
|
|
@@ -18116,7 +18116,7 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18116
18116
|
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
18117
18117
|
const slotNode = (h("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
18118
18118
|
const showContainer = hasEndActions || closableNode;
|
|
18119
|
-
return (h("div", { class: { [CSS$
|
|
18119
|
+
return (h("div", { class: { [CSS$z.headerActionsEnd]: true, [CSS$z.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
18120
18120
|
}
|
|
18121
18121
|
renderMenu() {
|
|
18122
18122
|
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
@@ -18132,26 +18132,26 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18132
18132
|
hasEndActions ||
|
|
18133
18133
|
closable ||
|
|
18134
18134
|
hasMenuItems;
|
|
18135
|
-
return (h("header", { class: CSS$
|
|
18135
|
+
return (h("header", { class: CSS$z.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
18136
18136
|
}
|
|
18137
18137
|
renderFooterNode() {
|
|
18138
18138
|
const { hasFooterContent, hasFooterActions } = this;
|
|
18139
18139
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
18140
|
-
return (h("footer", { class: CSS$
|
|
18140
|
+
return (h("footer", { class: CSS$z.footer, hidden: !showFooter, key: "footer" }, h("slot", { key: "footer-slot", name: SLOTS$i.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS$i.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
18141
18141
|
}
|
|
18142
18142
|
renderContent() {
|
|
18143
18143
|
const { hasFab } = this;
|
|
18144
18144
|
const defaultSlotNode = h("slot", { key: "default-slot" });
|
|
18145
18145
|
const contentWrapperKey = "content-wrapper";
|
|
18146
|
-
const containerNode = hasFab ? (h("section", { class: CSS$
|
|
18147
|
-
return (h("div", { class: { [CSS$
|
|
18146
|
+
const containerNode = hasFab ? (h("section", { class: CSS$z.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
18147
|
+
return (h("div", { class: { [CSS$z.contentWrapper]: true, [CSS$z.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
18148
18148
|
}
|
|
18149
18149
|
renderFab() {
|
|
18150
|
-
return (h("div", { class: CSS$
|
|
18150
|
+
return (h("div", { class: CSS$z.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS$i.fab, onSlotchange: this.handleFabSlotChange })));
|
|
18151
18151
|
}
|
|
18152
18152
|
render() {
|
|
18153
18153
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
18154
|
-
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
18154
|
+
const panelNode = (h("article", { "aria-busy": toAriaBoolean(loading), class: CSS$z.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
18155
18155
|
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
18156
18156
|
}
|
|
18157
18157
|
get el() { return this; }
|
|
@@ -18164,7 +18164,7 @@ const Panel = class extends HTMLElement$1 {
|
|
|
18164
18164
|
static get style() { return panelCss; }
|
|
18165
18165
|
};
|
|
18166
18166
|
|
|
18167
|
-
const CSS$
|
|
18167
|
+
const CSS$k = {
|
|
18168
18168
|
sticky: "sticky-pos"
|
|
18169
18169
|
};
|
|
18170
18170
|
var ICON_TYPES$1;
|
|
@@ -18177,7 +18177,7 @@ const SLOTS$b = {
|
|
|
18177
18177
|
menuActions: "menu-actions"
|
|
18178
18178
|
};
|
|
18179
18179
|
|
|
18180
|
-
const CSS$
|
|
18180
|
+
const CSS$j = {
|
|
18181
18181
|
heading: "heading",
|
|
18182
18182
|
container: "container",
|
|
18183
18183
|
indented: "container--indented"
|
|
@@ -18483,7 +18483,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
18483
18483
|
return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
18484
18484
|
h("section", null,
|
|
18485
18485
|
dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
18486
|
-
h("header", { class: { [CSS$
|
|
18486
|
+
h("header", { class: { [CSS$k.sticky]: true } },
|
|
18487
18487
|
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
18488
18488
|
h("slot", { name: SLOTS$b.menuActions })),
|
|
18489
18489
|
loading ? h("calcite-scrim", { loading: loading }) : null,
|
|
@@ -18651,20 +18651,20 @@ const PickListGroup = class extends HTMLElement$1 {
|
|
|
18651
18651
|
const { el, groupTitle, headingLevel } = this;
|
|
18652
18652
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
18653
18653
|
const sectionClasses = {
|
|
18654
|
-
[CSS$
|
|
18655
|
-
[CSS$
|
|
18654
|
+
[CSS$j.container]: true,
|
|
18655
|
+
[CSS$j.indented]: hasParentItem
|
|
18656
18656
|
};
|
|
18657
18657
|
const title = groupTitle;
|
|
18658
18658
|
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
18659
18659
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
18660
18660
|
const level = headingLevel || relativeLevel || HEADING_LEVEL$3;
|
|
18661
|
-
return (h(Fragment, null, title ? (h(Heading, { class: CSS$
|
|
18661
|
+
return (h(Fragment, null, title ? (h(Heading, { class: CSS$j.heading, level: level }, title)) : null, h("slot", { name: SLOTS$a.parentItem }), h("section", { class: sectionClasses }, h("slot", null))));
|
|
18662
18662
|
}
|
|
18663
18663
|
get el() { return this; }
|
|
18664
18664
|
static get style() { return pickListGroupCss; }
|
|
18665
18665
|
};
|
|
18666
18666
|
|
|
18667
|
-
const CSS$
|
|
18667
|
+
const CSS$i = {
|
|
18668
18668
|
actions: "actions",
|
|
18669
18669
|
actionsEnd: "actions--end",
|
|
18670
18670
|
actionsStart: "actions--start",
|
|
@@ -18824,26 +18824,26 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
18824
18824
|
return null;
|
|
18825
18825
|
}
|
|
18826
18826
|
return (h("span", { class: {
|
|
18827
|
-
[CSS$
|
|
18828
|
-
[CSS$
|
|
18827
|
+
[CSS$i.icon]: true,
|
|
18828
|
+
[CSS$i.iconDot]: icon === ICON_TYPES$1.circle
|
|
18829
18829
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? h("calcite-icon", { icon: ICONS$4.checked, scale: "s" }) : null));
|
|
18830
18830
|
}
|
|
18831
18831
|
renderRemoveAction() {
|
|
18832
|
-
return this.removable ? (h("calcite-action", { class: CSS$
|
|
18832
|
+
return this.removable ? (h("calcite-action", { class: CSS$i.remove, icon: ICONS$4.remove, onCalciteActionClick: this.removeClickHandler, slot: SLOTS$9.actionsEnd, text: this.intlRemove })) : null;
|
|
18833
18833
|
}
|
|
18834
18834
|
renderActionsStart() {
|
|
18835
18835
|
const { el } = this;
|
|
18836
18836
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
18837
|
-
return hasActionsStart ? (h("div", { class: { [CSS$
|
|
18837
|
+
return hasActionsStart ? (h("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsStart]: true } }, h("slot", { name: SLOTS$9.actionsStart }))) : null;
|
|
18838
18838
|
}
|
|
18839
18839
|
renderActionsEnd() {
|
|
18840
18840
|
const { el, removable } = this;
|
|
18841
18841
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
18842
|
-
return hasActionsEnd || removable ? (h("div", { class: { [CSS$
|
|
18842
|
+
return hasActionsEnd || removable ? (h("div", { class: { [CSS$i.actions]: true, [CSS$i.actionsEnd]: true } }, h("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
|
|
18843
18843
|
}
|
|
18844
18844
|
render() {
|
|
18845
18845
|
const { description, label } = this;
|
|
18846
|
-
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$
|
|
18846
|
+
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$i.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$i.textContainer, role: "menuitemcheckbox" }, h("span", { class: CSS$i.title }, label), description ? h("span", { class: CSS$i.description }, description) : null)), this.renderActionsEnd()));
|
|
18847
18847
|
}
|
|
18848
18848
|
get el() { return this; }
|
|
18849
18849
|
static get watchers() { return {
|
|
@@ -18856,7 +18856,7 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
18856
18856
|
static get style() { return pickListItemCss; }
|
|
18857
18857
|
};
|
|
18858
18858
|
|
|
18859
|
-
const CSS$
|
|
18859
|
+
const CSS$h = {
|
|
18860
18860
|
container: "container",
|
|
18861
18861
|
arrow: "arrow",
|
|
18862
18862
|
imageContainer: "image-container",
|
|
@@ -19226,25 +19226,25 @@ const Popover = class extends HTMLElement$1 {
|
|
|
19226
19226
|
// --------------------------------------------------------------------------
|
|
19227
19227
|
renderCloseButton() {
|
|
19228
19228
|
const { closeButton, intlClose, heading, closable } = this;
|
|
19229
|
-
return closable || closeButton ? (h("div", { class: CSS$
|
|
19229
|
+
return closable || closeButton ? (h("div", { class: CSS$h.closeButtonContainer }, h("calcite-action", { class: CSS$h.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: heading ? "s" : "m", text: intlClose }, h("calcite-icon", { icon: "x", scale: heading ? "s" : "m" })))) : null;
|
|
19230
19230
|
}
|
|
19231
19231
|
renderHeader() {
|
|
19232
19232
|
const { heading, headingLevel } = this;
|
|
19233
|
-
const headingNode = heading ? (h(Heading, { class: CSS$
|
|
19234
|
-
return headingNode ? (h("div", { class: CSS$
|
|
19233
|
+
const headingNode = heading ? (h(Heading, { class: CSS$h.heading, level: headingLevel || HEADING_LEVEL$2 }, heading)) : null;
|
|
19234
|
+
return headingNode ? (h("div", { class: CSS$h.header }, headingNode, this.renderCloseButton())) : null;
|
|
19235
19235
|
}
|
|
19236
19236
|
render() {
|
|
19237
19237
|
const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
|
|
19238
19238
|
const displayed = effectiveReferenceElement && open;
|
|
19239
19239
|
const hidden = !displayed;
|
|
19240
|
-
const arrowNode = !disablePointer ? h("div", { class: CSS$
|
|
19240
|
+
const arrowNode = !disablePointer ? h("div", { class: CSS$h.arrow, ref: this.storeArrowEl }) : null;
|
|
19241
19241
|
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
|
|
19242
19242
|
[FloatingCSS.animation]: true,
|
|
19243
19243
|
[FloatingCSS.animationActive]: displayed
|
|
19244
19244
|
}, ref: this.setTransitionEl }, arrowNode, h("div", { class: {
|
|
19245
|
-
[CSS$
|
|
19246
|
-
[CSS$
|
|
19247
|
-
} }, this.renderHeader(), h("div", { class: CSS$
|
|
19245
|
+
[CSS$h.hasHeader]: !!heading,
|
|
19246
|
+
[CSS$h.container]: true
|
|
19247
|
+
} }, this.renderHeader(), h("div", { class: CSS$h.content }, h("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
19248
19248
|
}
|
|
19249
19249
|
get el() { return this; }
|
|
19250
19250
|
static get watchers() { return {
|
|
@@ -19353,7 +19353,7 @@ const Progress = class extends HTMLElement$1 {
|
|
|
19353
19353
|
static get style() { return progressCss; }
|
|
19354
19354
|
};
|
|
19355
19355
|
|
|
19356
|
-
const CSS$
|
|
19356
|
+
const CSS$g = {
|
|
19357
19357
|
container: "container"
|
|
19358
19358
|
};
|
|
19359
19359
|
|
|
@@ -19603,7 +19603,7 @@ const RadioButton = class extends HTMLElement$1 {
|
|
|
19603
19603
|
// --------------------------------------------------------------------------
|
|
19604
19604
|
render() {
|
|
19605
19605
|
const tabIndex = this.getTabIndex();
|
|
19606
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
19606
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$g.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: tabIndex }, h("div", { class: "radio" })), h(HiddenFormInputSlot, { component: this })));
|
|
19607
19607
|
}
|
|
19608
19608
|
get el() { return this; }
|
|
19609
19609
|
static get watchers() { return {
|
|
@@ -19913,7 +19913,7 @@ const RadioGroup = class extends HTMLElement$1 {
|
|
|
19913
19913
|
const SLOTS$8 = {
|
|
19914
19914
|
input: "input"
|
|
19915
19915
|
};
|
|
19916
|
-
const CSS$
|
|
19916
|
+
const CSS$f = {
|
|
19917
19917
|
radioGroupItemIcon: "radio-group-item-icon"
|
|
19918
19918
|
};
|
|
19919
19919
|
|
|
@@ -19949,9 +19949,9 @@ const RadioGroupItem = class extends HTMLElement$1 {
|
|
|
19949
19949
|
const scale = getElementProp(this.el, "scale", "m");
|
|
19950
19950
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
19951
19951
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
19952
|
-
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$
|
|
19953
|
-
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$
|
|
19954
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
19952
|
+
const iconStartEl = this.iconStart ? (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
19953
|
+
const iconEndEl = this.iconEnd ? (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
19954
|
+
const iconEl = (h("calcite-icon", { class: CSS$f.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, key: "icon", scale: "s" }));
|
|
19955
19955
|
const iconAtStart = this.icon && this.iconPosition === "start" && !this.iconStart ? iconEl : null;
|
|
19956
19956
|
const iconAtEnd = this.icon && this.iconPosition === "end" && !this.iconEnd ? iconEl : null;
|
|
19957
19957
|
return (h(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, h("label", { class: {
|
|
@@ -20107,7 +20107,7 @@ const Rating = class extends HTMLElement$1 {
|
|
|
20107
20107
|
static get style() { return ratingCss; }
|
|
20108
20108
|
};
|
|
20109
20109
|
|
|
20110
|
-
const CSS$
|
|
20110
|
+
const CSS$e = {
|
|
20111
20111
|
scrim: "scrim",
|
|
20112
20112
|
content: "content"
|
|
20113
20113
|
};
|
|
@@ -20147,14 +20147,14 @@ const Scrim = class extends HTMLElement$1 {
|
|
|
20147
20147
|
const { el, loading, intlLoading } = this;
|
|
20148
20148
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
20149
20149
|
const loaderNode = loading ? h("calcite-loader", { active: true, label: intlLoading }) : null;
|
|
20150
|
-
const contentNode = hasContent ? (h("div", { class: CSS$
|
|
20151
|
-
return (h("div", { class: CSS$
|
|
20150
|
+
const contentNode = hasContent ? (h("div", { class: CSS$e.content }, h("slot", null))) : null;
|
|
20151
|
+
return (h("div", { class: CSS$e.scrim }, loaderNode, contentNode));
|
|
20152
20152
|
}
|
|
20153
20153
|
get el() { return this; }
|
|
20154
20154
|
static get style() { return scrimCss; }
|
|
20155
20155
|
};
|
|
20156
20156
|
|
|
20157
|
-
const CSS$
|
|
20157
|
+
const CSS$d = {
|
|
20158
20158
|
icon: "icon",
|
|
20159
20159
|
iconContainer: "icon-container",
|
|
20160
20160
|
select: "select"
|
|
@@ -20352,10 +20352,10 @@ const Select = class extends HTMLElement$1 {
|
|
|
20352
20352
|
//
|
|
20353
20353
|
//--------------------------------------------------------------------------
|
|
20354
20354
|
renderChevron() {
|
|
20355
|
-
return (h("div", { class: CSS$
|
|
20355
|
+
return (h("div", { class: CSS$d.iconContainer }, h("calcite-icon", { class: CSS$d.icon, icon: "chevron-down", scale: "s" })));
|
|
20356
20356
|
}
|
|
20357
20357
|
render() {
|
|
20358
|
-
return (h(Fragment, null, h("select", { "aria-label": this.label, class: CSS$
|
|
20358
|
+
return (h(Fragment, null, h("select", { "aria-label": this.label, class: CSS$d.select, disabled: this.disabled, onChange: this.handleInternalSelectChange, ref: this.storeSelectRef }, h("slot", null)), this.renderChevron(), h(HiddenFormInputSlot, { component: this })));
|
|
20359
20359
|
}
|
|
20360
20360
|
get el() { return this; }
|
|
20361
20361
|
static get watchers() { return {
|
|
@@ -20365,7 +20365,7 @@ const Select = class extends HTMLElement$1 {
|
|
|
20365
20365
|
static get style() { return selectCss; }
|
|
20366
20366
|
};
|
|
20367
20367
|
|
|
20368
|
-
const CSS$
|
|
20368
|
+
const CSS$c = {
|
|
20369
20369
|
main: "main",
|
|
20370
20370
|
mainReversed: "main--reversed",
|
|
20371
20371
|
content: "content",
|
|
@@ -20426,25 +20426,25 @@ const Shell = class extends HTMLElement$1 {
|
|
|
20426
20426
|
const content = !!this.contentBehind
|
|
20427
20427
|
? [
|
|
20428
20428
|
h("div", { class: {
|
|
20429
|
-
[CSS$
|
|
20430
|
-
[CSS$
|
|
20429
|
+
[CSS$c.content]: true,
|
|
20430
|
+
[CSS$c.contentBehind]: true
|
|
20431
20431
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
20432
20432
|
centerRowSlotNode
|
|
20433
20433
|
]
|
|
20434
20434
|
: [
|
|
20435
|
-
h("div", { class: CSS$
|
|
20435
|
+
h("div", { class: CSS$c.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
20436
20436
|
];
|
|
20437
20437
|
return content;
|
|
20438
20438
|
}
|
|
20439
20439
|
renderFooter() {
|
|
20440
20440
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
20441
|
-
return hasFooter ? (h("div", { class: CSS$
|
|
20441
|
+
return hasFooter ? (h("div", { class: CSS$c.footer, key: "footer" }, h("slot", { name: SLOTS$7.footer }))) : null;
|
|
20442
20442
|
}
|
|
20443
20443
|
renderMain() {
|
|
20444
20444
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
20445
20445
|
const mainClasses = {
|
|
20446
|
-
[CSS$
|
|
20447
|
-
[CSS$
|
|
20446
|
+
[CSS$c.main]: true,
|
|
20447
|
+
[CSS$c.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
|
20448
20448
|
};
|
|
20449
20449
|
return (h("div", { class: mainClasses }, h("slot", { name: SLOTS$7.primaryPanel }), h("slot", { name: SLOTS$7.panelStart }), this.renderContent(), h("slot", { name: SLOTS$7.panelEnd }), h("slot", { name: SLOTS$7.contextualPanel })));
|
|
20450
20450
|
}
|
|
@@ -20455,7 +20455,7 @@ const Shell = class extends HTMLElement$1 {
|
|
|
20455
20455
|
static get style() { return shellCss; }
|
|
20456
20456
|
};
|
|
20457
20457
|
|
|
20458
|
-
const CSS$
|
|
20458
|
+
const CSS$b = {
|
|
20459
20459
|
actionBarContainer: "action-bar-container",
|
|
20460
20460
|
content: "content"
|
|
20461
20461
|
};
|
|
@@ -20506,9 +20506,9 @@ const ShellCenterRow = class extends HTMLElement$1 {
|
|
|
20506
20506
|
// --------------------------------------------------------------------------
|
|
20507
20507
|
render() {
|
|
20508
20508
|
const { el } = this;
|
|
20509
|
-
const contentNode = (h("div", { class: CSS$
|
|
20509
|
+
const contentNode = (h("div", { class: CSS$b.content }, h("slot", null)));
|
|
20510
20510
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
20511
|
-
const actionBarNode = actionBar ? (h("div", { class: CSS$
|
|
20511
|
+
const actionBarNode = actionBar ? (h("div", { class: CSS$b.actionBarContainer, key: "action-bar" }, h("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
20512
20512
|
const children = [actionBarNode, contentNode];
|
|
20513
20513
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
20514
20514
|
children.reverse();
|
|
@@ -20519,7 +20519,7 @@ const ShellCenterRow = class extends HTMLElement$1 {
|
|
|
20519
20519
|
static get style() { return shellCenterRowCss; }
|
|
20520
20520
|
};
|
|
20521
20521
|
|
|
20522
|
-
const CSS$
|
|
20522
|
+
const CSS$a = {
|
|
20523
20523
|
container: "container",
|
|
20524
20524
|
content: "content",
|
|
20525
20525
|
contentHeader: "content__header",
|
|
@@ -20701,19 +20701,19 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20701
20701
|
renderHeader() {
|
|
20702
20702
|
const { el } = this;
|
|
20703
20703
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
20704
|
-
return hasHeader ? (h("div", { class: CSS$
|
|
20704
|
+
return hasHeader ? (h("div", { class: CSS$a.contentHeader, key: "header" }, h("slot", { name: SLOTS$5.header }))) : null;
|
|
20705
20705
|
}
|
|
20706
20706
|
render() {
|
|
20707
20707
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
20708
20708
|
const allowResizing = !detached && resizable;
|
|
20709
|
-
const contentNode = (h("div", { class: { [CSS$
|
|
20710
|
-
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$
|
|
20709
|
+
const contentNode = (h("div", { class: { [CSS$a.content]: true, [CSS$a.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), h("div", { class: CSS$a.contentBody }, h("slot", null))));
|
|
20710
|
+
const separatorNode = allowResizing ? (h("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$a.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
20711
20711
|
const actionBarNode = h("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
20712
20712
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
20713
20713
|
if (position === "end") {
|
|
20714
20714
|
mainNodes.reverse();
|
|
20715
20715
|
}
|
|
20716
|
-
return h("div", { class: { [CSS$
|
|
20716
|
+
return h("div", { class: { [CSS$a.container]: true } }, mainNodes);
|
|
20717
20717
|
}
|
|
20718
20718
|
// --------------------------------------------------------------------------
|
|
20719
20719
|
//
|
|
@@ -20755,6 +20755,14 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20755
20755
|
static get style() { return shellPanelCss; }
|
|
20756
20756
|
};
|
|
20757
20757
|
|
|
20758
|
+
const CSS$9 = {
|
|
20759
|
+
handleLabel: "handle__label",
|
|
20760
|
+
handleLabelMinValue: "handle__label--minValue",
|
|
20761
|
+
handleLabelValue: "handle__label--value",
|
|
20762
|
+
tickMin: "tick__label--min",
|
|
20763
|
+
tickMax: "tick__label--max"
|
|
20764
|
+
};
|
|
20765
|
+
|
|
20758
20766
|
const sliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{-webkit-margin-before:0.5em;margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{-webkit-margin-after:0.5em;margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:\"\";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;-webkit-margin-before:0.875rem;margin-block-start:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{-webkit-padding-after:calc(0.875rem + var(--calcite-slider-container-font-size));padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + 1em);padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{-webkit-padding-after:calc(var(--calcite-slider-handle-size) * 0.5 + 1em);padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{-webkit-padding-before:var(--calcite-slider-full-handle-height);padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{-webkit-padding-after:var(--calcite-slider-full-handle-height);padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{-webkit-padding-before:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{-webkit-padding-after:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20759
20767
|
|
|
20760
20768
|
function isRange(value) {
|
|
@@ -20775,6 +20783,10 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20775
20783
|
//--------------------------------------------------------------------------
|
|
20776
20784
|
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
20777
20785
|
this.disabled = false;
|
|
20786
|
+
/**
|
|
20787
|
+
* When true, number values are displayed with a group separator corresponding to the language and country format.
|
|
20788
|
+
*/
|
|
20789
|
+
this.groupSeparator = false;
|
|
20778
20790
|
/** When true, indicates a histogram is present. */
|
|
20779
20791
|
this.hasHistogram = false;
|
|
20780
20792
|
/** When true, displays label handles with their numeric value. */
|
|
@@ -20813,6 +20825,7 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20813
20825
|
this.minValueDragRange = null;
|
|
20814
20826
|
this.maxValueDragRange = null;
|
|
20815
20827
|
this.tickValues = [];
|
|
20828
|
+
this.globalAttributes = {};
|
|
20816
20829
|
this.dragUpdate = (event) => {
|
|
20817
20830
|
event.preventDefault();
|
|
20818
20831
|
if (this.dragProp) {
|
|
@@ -20860,6 +20873,19 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20860
20873
|
this.storeTrackRef = (node) => {
|
|
20861
20874
|
this.trackEl = node;
|
|
20862
20875
|
};
|
|
20876
|
+
/**
|
|
20877
|
+
* Returns a string representing the localized label value based on groupSeparator prop being on or off.
|
|
20878
|
+
*
|
|
20879
|
+
* @param value
|
|
20880
|
+
*/
|
|
20881
|
+
this.determineGroupSeparator = (value) => {
|
|
20882
|
+
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
20883
|
+
if (value) {
|
|
20884
|
+
return this.groupSeparator
|
|
20885
|
+
? localizeNumberString(value.toString(), lang, this.groupSeparator, this.numberingSystem)
|
|
20886
|
+
: value;
|
|
20887
|
+
}
|
|
20888
|
+
};
|
|
20863
20889
|
}
|
|
20864
20890
|
histogramWatcher(newHistogram) {
|
|
20865
20891
|
this.hasHistogram = !!newHistogram;
|
|
@@ -20880,11 +20906,13 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20880
20906
|
this.setValueFromMinMax();
|
|
20881
20907
|
connectLabel(this);
|
|
20882
20908
|
connectForm(this);
|
|
20909
|
+
watchGlobalAttributes(this, ["lang"]);
|
|
20883
20910
|
}
|
|
20884
20911
|
disconnectedCallback() {
|
|
20885
20912
|
disconnectLabel(this);
|
|
20886
20913
|
disconnectForm(this);
|
|
20887
20914
|
this.removeDragListeners();
|
|
20915
|
+
unwatchGlobalAttributes(this);
|
|
20888
20916
|
}
|
|
20889
20917
|
componentWillLoad() {
|
|
20890
20918
|
this.tickValues = this.generateTickValues();
|
|
@@ -20916,6 +20944,8 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20916
20944
|
const id = this.el.id || this.guid;
|
|
20917
20945
|
const maxProp = isRange(this.value) ? "maxValue" : "value";
|
|
20918
20946
|
const value = isRange(this.value) ? this.maxValue : this.value;
|
|
20947
|
+
const displayedValue = this.determineGroupSeparator(value);
|
|
20948
|
+
const displayedMinValue = this.determineGroupSeparator(this.minValue);
|
|
20919
20949
|
const min = this.minValue || this.min;
|
|
20920
20950
|
const useMinValue = this.shouldUseMinValue();
|
|
20921
20951
|
const minInterval = this.getUnitInterval(useMinValue ? this.minValue : min) * 100;
|
|
@@ -20924,6 +20954,8 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20924
20954
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
20925
20955
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
20926
20956
|
const valueIsRange = isRange(this.value);
|
|
20957
|
+
const handleLabelMinValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelMinValue}`;
|
|
20958
|
+
const handleLabelValueClasses = `${CSS$9.handleLabel} ${CSS$9.handleLabelValue}`;
|
|
20927
20959
|
const handle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20928
20960
|
thumb: true,
|
|
20929
20961
|
"thumb--value": true,
|
|
@@ -20933,12 +20965,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20933
20965
|
thumb: true,
|
|
20934
20966
|
"thumb--value": true,
|
|
20935
20967
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
20936
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
20968
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" })));
|
|
20937
20969
|
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20938
20970
|
thumb: true,
|
|
20939
20971
|
"thumb--value": true,
|
|
20940
20972
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
20941
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
20973
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
20942
20974
|
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20943
20975
|
thumb: true,
|
|
20944
20976
|
"thumb--value": true,
|
|
@@ -20956,13 +20988,13 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20956
20988
|
"thumb--value": true,
|
|
20957
20989
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
20958
20990
|
"thumb--precise": true
|
|
20959
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
20991
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
|
|
20960
20992
|
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
20961
20993
|
thumb: true,
|
|
20962
20994
|
"thumb--value": true,
|
|
20963
20995
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
20964
20996
|
"thumb--precise": true
|
|
20965
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
20997
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
20966
20998
|
const minHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20967
20999
|
thumb: true,
|
|
20968
21000
|
"thumb--minValue": true,
|
|
@@ -20972,12 +21004,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20972
21004
|
thumb: true,
|
|
20973
21005
|
"thumb--minValue": true,
|
|
20974
21006
|
"thumb--active": this.dragProp === "minValue"
|
|
20975
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class:
|
|
21007
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), h("div", { class: "handle" })));
|
|
20976
21008
|
const minHistogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20977
21009
|
thumb: true,
|
|
20978
21010
|
"thumb--minValue": true,
|
|
20979
21011
|
"thumb--active": this.dragProp === "minValue"
|
|
20980
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
21012
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
20981
21013
|
const minPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
20982
21014
|
thumb: true,
|
|
20983
21015
|
"thumb--minValue": true,
|
|
@@ -20989,7 +21021,7 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20989
21021
|
"thumb--minValue": true,
|
|
20990
21022
|
"thumb--active": this.dragProp === "minValue",
|
|
20991
21023
|
"thumb--precise": true
|
|
20992
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class:
|
|
21024
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
20993
21025
|
return (h(Host, { id: id, onTouchStart: this.handleTouchStart }, h("div", { class: {
|
|
20994
21026
|
["container"]: true,
|
|
20995
21027
|
["container--range"]: valueIsRange,
|
|
@@ -21030,11 +21062,12 @@ const Slider = class extends HTMLElement$1 {
|
|
|
21030
21062
|
const valueIsRange = isRange(this.value);
|
|
21031
21063
|
const isMinTickLabel = tick === this.min;
|
|
21032
21064
|
const isMaxTickLabel = tick === this.max;
|
|
21065
|
+
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
21033
21066
|
const tickLabel = (h("span", { class: {
|
|
21034
21067
|
tick__label: true,
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
} },
|
|
21068
|
+
[CSS$9.tickMin]: isMinTickLabel,
|
|
21069
|
+
[CSS$9.tickMax]: isMaxTickLabel
|
|
21070
|
+
} }, displayedTickValue));
|
|
21038
21071
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
21039
21072
|
return tickLabel;
|
|
21040
21073
|
}
|
|
@@ -28561,8 +28594,8 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
28561
28594
|
const { icon } = this;
|
|
28562
28595
|
if (icon === ICON_TYPES$1.grip) {
|
|
28563
28596
|
return (h("span", { class: {
|
|
28564
|
-
[CSS$
|
|
28565
|
-
[CSS$
|
|
28597
|
+
[CSS$i.handle]: true,
|
|
28598
|
+
[CSS$i.handleActivated]: this.handleActivated
|
|
28566
28599
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
|
28567
28600
|
}
|
|
28568
28601
|
}
|
|
@@ -28644,7 +28677,7 @@ const CalciteSelect = /*@__PURE__*/proxyCustomElement(Select, [1,"calcite-select
|
|
|
28644
28677
|
const CalciteShell = /*@__PURE__*/proxyCustomElement(Shell, [1,"calcite-shell",{"contentBehind":[516,"content-behind"]}]);
|
|
28645
28678
|
const CalciteShellCenterRow = /*@__PURE__*/proxyCustomElement(ShellCenterRow, [1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]);
|
|
28646
28679
|
const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(ShellPanel, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]);
|
|
28647
|
-
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]);
|
|
28680
|
+
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"groupSeparator":[516,"group-separator"],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"numberingSystem":[1,"numbering-system"],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32],"globalAttributes":[32]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]);
|
|
28648
28681
|
const CalciteSortableList = /*@__PURE__*/proxyCustomElement(SortableList, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
|
|
28649
28682
|
const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(SplitButton, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
|
|
28650
28683
|
const CalciteStepper = /*@__PURE__*/proxyCustomElement(Stepper, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513]},[[0,"calciteInternalStepperItemKeyEvent","calciteInternalStepperItemKeyEvent"],[0,"calciteInternalStepperItemRegister","registerItem"],[0,"calciteInternalStepperItemSelect","updateItem"],[0,"calciteInternalUserRequestedStepperItemSelect","handleUserRequestedStepperItemSelect"]]]);
|