@esri/calcite-components 1.0.0-next.573 → 1.0.0-next.574
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-de536ef0.entry.js → p-01e1f264.entry.js} +2 -2
- package/dist/calcite/{p-3c1c7270.js → p-02874e66.js} +1 -1
- package/dist/calcite/{p-06940898.entry.js → p-02bf316f.entry.js} +2 -2
- package/dist/calcite/{p-76d0f925.system.js → p-04324ff6.system.js} +2 -2
- package/dist/calcite/{p-1f980a64.js → p-0472246a.js} +2 -2
- package/dist/calcite/p-08a5a1c1.entry.js +6 -0
- package/dist/calcite/{p-3466bf65.system.entry.js → p-0943dc72.system.entry.js} +2 -2
- package/dist/calcite/{p-2c93777d.entry.js → p-0a4974cc.entry.js} +2 -2
- package/dist/calcite/{p-8a983533.js → p-0aeae19a.js} +2 -2
- package/dist/calcite/{p-4446ea9c.js → p-0ccdf105.js} +2 -2
- package/dist/calcite/{p-215cee4a.entry.js → p-0ddc8a53.entry.js} +2 -2
- package/dist/calcite/{p-6691d147.system.js → p-1038133f.system.js} +1 -1
- package/dist/calcite/{p-74de428b.system.entry.js → p-128f6135.system.entry.js} +2 -2
- package/dist/calcite/{p-dba9a591.system.js → p-1352c084.system.js} +1 -1
- package/dist/calcite/{p-f71bc24d.js → p-13e8eef6.js} +1 -1
- package/dist/calcite/{p-771af5e2.entry.js → p-14e6ae5b.entry.js} +2 -2
- package/dist/calcite/{p-c237bb63.entry.js → p-14f4fac9.entry.js} +2 -2
- package/dist/calcite/{p-f7389e4a.system.entry.js → p-1b724a77.system.entry.js} +3 -3
- package/dist/calcite/{p-5eacd101.js → p-1c0cfd52.js} +1 -1
- package/dist/calcite/{p-3703f672.system.entry.js → p-1c325f2a.system.entry.js} +2 -2
- package/dist/calcite/{p-4b8e875c.system.js → p-1cd25094.system.js} +2 -2
- package/dist/calcite/{p-1603eecc.js → p-2256fb5a.js} +1 -1
- package/dist/calcite/{p-78a14123.system.entry.js → p-2501e910.system.entry.js} +2 -2
- package/dist/calcite/{p-5fe49537.system.entry.js → p-258f25b4.system.entry.js} +2 -2
- package/dist/calcite/{p-763e7b90.entry.js → p-26edc3fe.entry.js} +2 -2
- package/dist/calcite/{p-79e521d2.entry.js → p-27323b2b.entry.js} +2 -2
- package/dist/calcite/{p-c0738c16.entry.js → p-27894e89.entry.js} +2 -2
- package/dist/calcite/{p-01f47808.system.js → p-293f1130.system.js} +1 -1
- package/dist/calcite/{p-6458e818.system.entry.js → p-29bcb552.system.entry.js} +2 -2
- package/dist/calcite/{p-296d5c3b.system.js → p-2aa5b545.system.js} +1 -1
- package/dist/calcite/{p-f495009f.system.js → p-2b26e70c.system.js} +2 -2
- package/dist/calcite/{p-bb5e5ffb.system.js → p-2c75a894.system.js} +1 -1
- package/dist/calcite/{p-5a26d765.system.entry.js → p-2d018297.system.entry.js} +2 -2
- package/dist/calcite/{p-81922742.entry.js → p-2f662260.entry.js} +2 -2
- package/dist/calcite/{p-9a704c99.entry.js → p-3058a676.entry.js} +2 -2
- package/dist/calcite/p-31a68d51.system.js +6 -0
- package/dist/calcite/{p-9119abdf.entry.js → p-31ed467b.entry.js} +2 -2
- package/dist/calcite/{p-06398a4a.entry.js → p-32bbc891.entry.js} +2 -2
- package/dist/calcite/{p-48899b80.system.entry.js → p-32c72e8d.system.entry.js} +2 -2
- package/dist/calcite/{p-73e9187d.system.js → p-337a24eb.system.js} +1 -1
- package/dist/calcite/{p-857fb485.system.js → p-396820b7.system.js} +1 -1
- package/dist/calcite/{p-58d21c10.system.js → p-398ddb30.system.js} +1 -1
- package/dist/calcite/{p-635f786f.js → p-3bbdf28c.js} +2 -2
- package/dist/calcite/{p-4c200082.system.entry.js → p-3dc32ec2.system.entry.js} +2 -2
- package/dist/calcite/{p-b4c5da6f.system.entry.js → p-405f0063.system.entry.js} +3 -3
- package/dist/calcite/{p-7890a9fe.system.entry.js → p-42028ad9.system.entry.js} +2 -2
- package/dist/calcite/{p-44e87751.js → p-420ccddd.js} +1 -1
- package/dist/calcite/{p-2d8398c7.system.entry.js → p-43ba6532.system.entry.js} +2 -2
- package/dist/calcite/p-49114c42.entry.js +6 -0
- package/dist/calcite/{p-8662a273.system.entry.js → p-4b20dd06.system.entry.js} +2 -2
- package/dist/calcite/{p-7e99b406.js → p-4d8ba58f.js} +2 -2
- package/dist/calcite/{p-9ceecc50.system.entry.js → p-4e3bb2b5.system.entry.js} +2 -2
- package/dist/calcite/{p-95d00c3a.entry.js → p-4f151515.entry.js} +2 -2
- package/dist/calcite/{p-65f99338.system.entry.js → p-4f264208.system.entry.js} +2 -2
- package/dist/calcite/{p-e711dc43.entry.js → p-5418d810.entry.js} +2 -2
- package/dist/calcite/{p-8ee51867.entry.js → p-54949aeb.entry.js} +2 -2
- package/dist/calcite/{p-0abc49f2.system.entry.js → p-551a2e01.system.entry.js} +3 -3
- package/dist/calcite/{p-bc363322.system.js → p-567888cc.system.js} +2 -2
- package/dist/calcite/p-588da538.entry.js +6 -0
- package/dist/calcite/{p-16db99cb.entry.js → p-58cd6a25.entry.js} +2 -2
- package/dist/calcite/{p-5f861187.system.entry.js → p-58cdd975.system.entry.js} +2 -2
- package/dist/calcite/p-5c4421dc.entry.js +6 -0
- package/dist/calcite/{p-74045cd2.js → p-5da3e726.js} +1 -1
- package/dist/calcite/{p-8231b302.entry.js → p-5f34cff7.entry.js} +2 -2
- package/dist/calcite/{p-b6b10e22.system.entry.js → p-5f8c7a97.system.entry.js} +2 -2
- package/dist/calcite/{p-da3a4817.system.entry.js → p-63e0068e.system.entry.js} +2 -2
- package/dist/calcite/{p-6435b0a1.entry.js → p-66a2952f.entry.js} +2 -2
- package/dist/calcite/{p-eb8300a2.system.entry.js → p-68dfd0e8.system.entry.js} +2 -2
- package/dist/calcite/{p-44ea12cb.system.entry.js → p-69607178.system.entry.js} +2 -2
- package/dist/calcite/{p-3c57eb23.system.js → p-6aa7147a.system.js} +2 -2
- package/dist/calcite/{p-24f3beb1.system.js → p-6f45df0b.system.js} +1 -1
- package/dist/calcite/{p-2927455c.system.js → p-6f71dc54.system.js} +1 -1
- package/dist/calcite/p-711c3499.js +6 -0
- package/dist/calcite/{p-d523d8cc.entry.js → p-7170dae4.entry.js} +2 -2
- package/dist/calcite/{p-6d7ee0b8.js → p-729414c5.js} +1 -1
- package/dist/calcite/{p-1227fc52.system.entry.js → p-72f5d36b.system.entry.js} +2 -2
- package/dist/calcite/{p-91bf59f3.system.entry.js → p-7647ee97.system.entry.js} +2 -2
- package/dist/calcite/{p-d64e8b8e.entry.js → p-7ac38b2b.entry.js} +2 -2
- package/dist/calcite/{p-4140dba9.js → p-7de25c76.js} +1 -1
- package/dist/calcite/{p-a747f1d7.system.entry.js → p-8079a79c.system.entry.js} +2 -2
- package/dist/calcite/{p-4672c17e.system.entry.js → p-81606519.system.entry.js} +2 -2
- package/dist/calcite/{p-ddab519c.system.entry.js → p-854fabb7.system.entry.js} +2 -2
- package/dist/calcite/{p-2fb83966.js → p-8a55c80a.js} +2 -2
- package/dist/calcite/{p-99fcd3cd.system.entry.js → p-8c4dde60.system.entry.js} +2 -2
- package/dist/calcite/{p-f3991961.js → p-904eb1df.js} +1 -1
- package/dist/calcite/{p-a3f96232.js → p-94929da9.js} +1 -1
- package/dist/calcite/p-9525e397.entry.js +6 -0
- package/dist/calcite/p-9644cf90.system.entry.js +6 -0
- package/dist/calcite/{p-3bfc58d6.entry.js → p-9646400a.entry.js} +2 -2
- package/dist/calcite/p-96f59f09.system.entry.js +6 -0
- package/dist/calcite/{p-33b105b3.system.entry.js → p-96f9d00c.system.entry.js} +2 -2
- package/dist/calcite/p-97b5b5ac.system.entry.js +6 -0
- package/dist/calcite/{p-876dff53.js → p-9c6a2350.js} +2 -2
- package/dist/calcite/{p-47c06b6d.system.entry.js → p-9d562b85.system.entry.js} +2 -2
- package/dist/calcite/{p-5f4daba6.system.entry.js → p-9d72faa2.system.entry.js} +2 -2
- package/dist/calcite/p-9e267363.entry.js +6 -0
- package/dist/calcite/{p-abb0a3f3.entry.js → p-9ebe47e9.entry.js} +2 -2
- package/dist/calcite/{p-5b21f192.system.entry.js → p-9f9dfe99.system.entry.js} +2 -2
- package/dist/calcite/{p-c5629271.entry.js → p-a026e825.entry.js} +2 -2
- package/dist/calcite/{p-d32fc6bf.system.entry.js → p-a4a1dbb7.system.entry.js} +2 -2
- package/dist/calcite/p-a598a7dd.system.entry.js +6 -0
- package/dist/calcite/p-a67f40e6.entry.js +6 -0
- package/dist/calcite/{p-6be19ec4.system.entry.js → p-a6e30a8f.system.entry.js} +2 -2
- package/dist/calcite/{p-a0543a23.system.entry.js → p-a716e34c.system.entry.js} +2 -2
- package/dist/calcite/{p-ed9c45da.js → p-a7579427.js} +2 -2
- package/dist/calcite/{p-2091aec6.system.entry.js → p-a898954c.system.entry.js} +2 -2
- package/dist/calcite/{p-23eaf857.entry.js → p-a8a53704.entry.js} +2 -2
- package/dist/calcite/{p-c2d25fad.system.entry.js → p-a8f9c6d6.system.entry.js} +2 -2
- package/dist/calcite/p-a9f20b18.system.entry.js +6 -0
- package/dist/calcite/{p-db4d1c41.system.entry.js → p-aa13a6c2.system.entry.js} +2 -2
- package/dist/calcite/{p-e0d0a0c8.entry.js → p-aafc1a2f.entry.js} +2 -2
- package/dist/calcite/p-abe3683b.js +6 -0
- package/dist/calcite/{p-5a322d52.system.entry.js → p-ad5972fc.system.entry.js} +2 -2
- package/dist/calcite/{p-e4c0bfac.js → p-ad63ba8c.js} +1 -1
- package/dist/calcite/{p-d06b07a2.entry.js → p-af602be9.entry.js} +2 -2
- package/dist/calcite/{p-0079e9dc.js → p-afb86c1a.js} +1 -1
- package/dist/calcite/{p-c43ba981.js → p-b21f44b7.js} +1 -1
- package/dist/calcite/{p-ae8eceed.entry.js → p-b248c3b2.entry.js} +2 -2
- package/dist/calcite/p-b2649312.entry.js +6 -0
- package/dist/calcite/{p-2776ae06.entry.js → p-b26e592b.entry.js} +2 -2
- package/dist/calcite/{p-dc882273.system.entry.js → p-b4c56282.system.entry.js} +2 -2
- package/dist/calcite/p-b6dc1fbb.js +6 -0
- package/dist/calcite/{p-645ab10a.system.entry.js → p-b73dc693.system.entry.js} +2 -2
- package/dist/calcite/{p-f4839c59.entry.js → p-b855c064.entry.js} +2 -2
- package/dist/calcite/{p-18ac810c.entry.js → p-b8810eb8.entry.js} +2 -2
- package/dist/calcite/{p-f1f9a708.system.js → p-b91d70ea.system.js} +1 -1
- package/dist/calcite/{p-62a1c81d.system.entry.js → p-ba9faef1.system.entry.js} +2 -2
- package/dist/calcite/{p-d6612851.entry.js → p-bbd25093.entry.js} +2 -2
- package/dist/calcite/{p-1c6aeec9.entry.js → p-bd0c7dee.entry.js} +2 -2
- package/dist/calcite/p-bd1fb33a.entry.js +6 -0
- package/dist/calcite/{p-f1bc0e38.system.entry.js → p-bf1c3465.system.entry.js} +2 -2
- package/dist/calcite/{p-fe537558.entry.js → p-c2d7f995.entry.js} +2 -2
- package/dist/calcite/{p-70762440.entry.js → p-c54ba294.entry.js} +2 -2
- package/dist/calcite/{p-e57be199.system.entry.js → p-c6005ea4.system.entry.js} +2 -2
- package/dist/calcite/{p-63e73c95.js → p-c769a124.js} +1 -1
- package/dist/calcite/{p-9ded762f.system.entry.js → p-c8d7baeb.system.entry.js} +2 -2
- package/dist/calcite/p-c93fd4d4.system.entry.js +6 -0
- package/dist/calcite/p-c9d74771.system.js +6 -0
- package/dist/calcite/{p-2d0c05ce.js → p-c9f24014.js} +2 -2
- package/dist/calcite/{p-96ef5070.entry.js → p-ca9d349d.entry.js} +2 -2
- package/dist/calcite/{p-b2b789c7.entry.js → p-cbe27383.entry.js} +2 -2
- package/dist/calcite/{p-49fc9ebc.system.js → p-cc5b9672.system.js} +1 -1
- package/dist/calcite/{p-fad46af8.system.entry.js → p-cd1e35ee.system.entry.js} +2 -2
- package/dist/calcite/{p-f68cc31f.system.entry.js → p-cdd4697e.system.entry.js} +2 -2
- package/dist/calcite/{p-131c63f1.system.js → p-ce3da917.system.js} +2 -2
- package/dist/calcite/{p-c2668e88.entry.js → p-cf3ea746.entry.js} +2 -2
- package/dist/calcite/{p-2d952c64.system.entry.js → p-cf3fb5a0.system.entry.js} +2 -2
- package/dist/calcite/{p-9f03f505.entry.js → p-d064ce65.entry.js} +2 -2
- package/dist/calcite/p-d0ea54b5.system.entry.js +6 -0
- package/dist/calcite/{p-6dbf6d70.entry.js → p-d0fbf0a6.entry.js} +2 -2
- package/dist/calcite/p-d3bb2db1.entry.js +6 -0
- package/dist/calcite/{p-47f16a46.entry.js → p-d4772885.entry.js} +2 -2
- package/dist/calcite/{p-5173d4d5.entry.js → p-d6933313.entry.js} +2 -2
- package/dist/calcite/{p-7ba806bd.system.entry.js → p-d69d2ceb.system.entry.js} +2 -2
- package/dist/calcite/{p-8551e8fe.js → p-d70de307.js} +2 -2
- package/dist/calcite/p-d9f72aca.system.entry.js +6 -0
- package/dist/calcite/{p-a7fa401c.entry.js → p-dabfab4d.entry.js} +2 -2
- package/dist/calcite/{p-f185f2ff.entry.js → p-dae459bf.entry.js} +2 -2
- package/dist/calcite/{p-c5d51196.entry.js → p-dca7a79c.entry.js} +2 -2
- package/dist/calcite/{p-01429b02.system.entry.js → p-dda4734d.system.entry.js} +2 -2
- package/dist/calcite/{p-4f45d88a.system.js → p-defa0c9d.system.js} +1 -1
- package/dist/calcite/{p-5b745241.system.entry.js → p-df16481d.system.entry.js} +2 -2
- package/dist/calcite/{p-87812365.system.js → p-df2b9dd8.system.js} +2 -2
- package/dist/calcite/{p-6d41212f.system.js → p-e0f33780.system.js} +2 -2
- package/dist/calcite/{p-255f27e2.system.js → p-e1d7243b.system.js} +1 -1
- package/dist/calcite/{p-7f278aea.system.js → p-e7dc1543.system.js} +1 -1
- package/dist/calcite/{p-d36a9ae8.entry.js → p-e7f9f911.entry.js} +2 -2
- package/dist/calcite/p-ebe41e88.entry.js +6 -0
- package/dist/calcite/{p-add73f89.system.entry.js → p-edcb605e.system.entry.js} +2 -2
- package/dist/calcite/{p-232d5c51.system.js → p-ee2ba171.system.js} +2 -2
- package/dist/calcite/{p-5493b0ff.system.js → p-ef95d6d7.system.js} +2 -2
- package/dist/calcite/{p-21f73977.js → p-f1873d3e.js} +1 -1
- package/dist/calcite/{p-dcc231fb.system.js → p-f2564d1d.system.js} +2 -2
- package/dist/calcite/{p-19201685.entry.js → p-f2592bd5.entry.js} +2 -2
- package/dist/calcite/{p-8906b45b.system.js → p-f28e72db.system.js} +1 -1
- package/dist/calcite/{p-6807dea3.entry.js → p-f2d22297.entry.js} +2 -2
- package/dist/calcite/{p-f6cd655c.entry.js → p-f5f0e229.entry.js} +2 -2
- package/dist/calcite/{p-5e08e43c.system.js → p-ffab28ce.system.js} +2 -2
- package/dist/cjs/{ExpandToggle-be716ed0.js → ExpandToggle-d01ba222.js} +5 -5
- package/dist/cjs/{Heading-14436db8.js → Heading-5c8ae7c7.js} +2 -2
- package/dist/cjs/{app-globals-18db0cbf.js → app-globals-ac11ea69.js} +2 -2
- package/dist/cjs/{array-6a40c1d9.js → array-1b1fee7a.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -11
- 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 +8 -8
- 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 +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- 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 +142 -0
- package/dist/cjs/calcite-flow.cjs.entry.js +33 -33
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- 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 +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +23 -11
- 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 +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +110 -104
- 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 +4 -4
- 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-74cabcef.js → conditionalSlot-d467cd45.js} +3 -3
- package/dist/cjs/{debounce-d495c550.js → debounce-fdf01cb6.js} +1 -1
- package/dist/cjs/{dom-60a1a16f.js → dom-3eb34325.js} +3 -3
- package/dist/cjs/{filter-51cf2e7d.js → filter-55af528e.js} +2 -2
- package/dist/cjs/{floating-ui-686b3413.js → floating-ui-7329e890.js} +2 -2
- package/dist/cjs/{form-9ed868a6.js → form-80db0b5f.js} +3 -3
- package/dist/cjs/{guid-c2802a75.js → guid-dc7f4ae8.js} +1 -1
- package/dist/cjs/{index-cc07b36c.js → index-371fa05d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-27d3c6c4.js → interactive-0d5bf080.js} +1 -1
- package/dist/cjs/{interfaces-d1d635a6.js → interfaces-05dc4281.js} +1 -1
- package/dist/cjs/{key-92498ae8.js → key-7782fce0.js} +1 -1
- package/dist/cjs/{label-edae341f.js → label-7d957162.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c6f1966f.js → locale-c6c7e842.js} +2 -2
- package/dist/cjs/{math-66bff6e9.js → math-77342528.js} +1 -1
- package/dist/cjs/{observers-53ebb8f3.js → observers-42cebe54.js} +1 -1
- package/dist/cjs/{openCloseComponent-0885b399.js → openCloseComponent-d46fe480.js} +1 -1
- package/dist/cjs/{resources-1e6ef3e5.js → resources-08cedc9e.js} +3 -3
- package/dist/cjs/{resources-dac2d527.js → resources-4c96ffc6.js} +1 -1
- package/dist/cjs/{resources-4619d271.js → resources-6b16c623.js} +1 -1
- package/dist/cjs/resources-8d1dd980.js +52 -0
- package/dist/cjs/{resources-10d76ea2.js → resources-b5b9e02b.js} +5 -5
- package/dist/cjs/{resources-bb3999db.js → resources-ea6e7974.js} +1 -1
- package/dist/cjs/{sortable.esm-d676475c.js → sortable.esm-e02e39de.js} +1 -1
- package/dist/cjs/{utils-692d8506.js → utils-bdda9970.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.js +9 -7
- 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.css +12 -4
- 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.css +111 -59
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +0 -19
- 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.css +34 -18
- 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 +6 -6
- 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 +2 -2
- 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.css +1 -0
- package/dist/collection/components/flow/flow.js +44 -38
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +119 -0
- package/dist/collection/components/flow-item/flow-item.js +479 -0
- package/dist/collection/components/flow-item/resources.js +24 -0
- 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.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.css +2 -2
- package/dist/collection/components/modal/modal.js +16 -4
- package/dist/collection/components/modal/resources.js +2 -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.css +5 -14
- package/dist/collection/components/panel/panel.js +134 -63
- package/dist/collection/components/panel/resources.js +2 -6
- 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/slider.js +1 -1
- 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.css +16 -10
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.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 +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +7 -5
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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.d.ts +11 -0
- package/dist/components/calcite-flow-item.js +214 -0
- package/dist/components/calcite-flow.js +34 -34
- 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 +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +17 -4
- 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 +1 -1
- package/dist/components/calcite-panel.js +2 -393
- 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 +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- 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 +2 -2
- 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/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 +451 -0
- 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/resources4.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.d.ts +6 -0
- package/dist/custom-elements/index.js +687 -498
- package/dist/esm/{ExpandToggle-b806b6d6.js → ExpandToggle-f1f93ed7.js} +5 -5
- package/dist/esm/{Heading-c9260472.js → Heading-17772655.js} +2 -2
- package/dist/esm/{app-globals-dfd78ab9.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm/{array-f540a504.js → array-23601dc0.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +13 -11
- 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 +8 -8
- 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 +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +12 -12
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- 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 +138 -0
- package/dist/esm/calcite-flow.entry.js +33 -33
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- 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 +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +23 -11
- 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 +5 -5
- package/dist/esm/calcite-panel.entry.js +102 -96
- 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 +4 -4
- 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-13919550.js → conditionalSlot-e4e51860.js} +3 -3
- package/dist/esm/{debounce-4468ec93.js → debounce-f443feec.js} +1 -1
- package/dist/esm/{dom-fb85e16c.js → dom-a8dad893.js} +3 -3
- package/dist/esm/{filter-c6da97aa.js → filter-093821c0.js} +2 -2
- package/dist/esm/{floating-ui-a41704c5.js → floating-ui-26990792.js} +2 -2
- package/dist/esm/{form-19995c88.js → form-08fd9bc5.js} +3 -3
- package/dist/esm/{guid-6b7f5b2a.js → guid-b990c4d2.js} +1 -1
- package/dist/esm/{index-0bb6162f.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6af5c5ed.js → interactive-e72598f1.js} +1 -1
- package/dist/esm/{interfaces-ef7c93cb.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm/{key-9400c512.js → key-9cbf7b92.js} +1 -1
- package/dist/esm/{label-f7a4cb22.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-be38e4a3.js → locale-26bd4f96.js} +2 -2
- package/dist/esm/{math-d8951c4d.js → math-519aad80.js} +1 -1
- package/dist/esm/{observers-dfc11a10.js → observers-b2199b39.js} +1 -1
- package/dist/esm/{openCloseComponent-63ae7c03.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm/{resources-db745cae.js → resources-08de72a5.js} +3 -3
- package/dist/esm/{resources-d106e29b.js → resources-0fcef459.js} +1 -1
- package/dist/esm/{resources-c8cc7a09.js → resources-11a525a9.js} +5 -5
- package/dist/esm/{resources-8d32ecce.js → resources-222b83b4.js} +1 -1
- package/dist/esm/resources-5784443c.js +46 -0
- package/dist/esm/{resources-67e1126c.js → resources-fcc173ea.js} +1 -1
- package/dist/esm/{sortable.esm-3c0036cf.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm/{utils-82f6c024.js → utils-e80bf55b.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-b806b6d6.js → ExpandToggle-f1f93ed7.js} +2 -2
- package/dist/esm-es5/{Heading-c9260472.js → Heading-17772655.js} +2 -2
- package/dist/esm-es5/{app-globals-dfd78ab9.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm-es5/{array-f540a504.js → array-23601dc0.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 +3 -3
- 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 +3 -3
- 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 +6 -0
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-13919550.js → conditionalSlot-e4e51860.js} +2 -2
- package/dist/esm-es5/{debounce-4468ec93.js → debounce-f443feec.js} +1 -1
- package/dist/esm-es5/{dom-fb85e16c.js → dom-a8dad893.js} +2 -2
- package/dist/esm-es5/{filter-c6da97aa.js → filter-093821c0.js} +2 -2
- package/dist/esm-es5/{floating-ui-a41704c5.js → floating-ui-26990792.js} +2 -2
- package/dist/esm-es5/{form-19995c88.js → form-08fd9bc5.js} +2 -2
- package/dist/esm-es5/{guid-6b7f5b2a.js → guid-b990c4d2.js} +1 -1
- package/dist/esm-es5/{index-0bb6162f.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-6af5c5ed.js → interactive-e72598f1.js} +1 -1
- package/dist/esm-es5/{interfaces-ef7c93cb.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm-es5/{key-9400c512.js → key-9cbf7b92.js} +1 -1
- package/dist/esm-es5/{label-f7a4cb22.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-be38e4a3.js → locale-26bd4f96.js} +2 -2
- package/dist/esm-es5/{math-d8951c4d.js → math-519aad80.js} +1 -1
- package/dist/esm-es5/{observers-dfc11a10.js → observers-b2199b39.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-63ae7c03.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm-es5/{resources-db745cae.js → resources-08de72a5.js} +2 -2
- package/dist/esm-es5/{resources-d106e29b.js → resources-0fcef459.js} +1 -1
- package/dist/esm-es5/{resources-c8cc7a09.js → resources-11a525a9.js} +2 -2
- package/dist/esm-es5/{resources-8d32ecce.js → resources-222b83b4.js} +1 -1
- package/dist/esm-es5/resources-5784443c.js +6 -0
- package/dist/esm-es5/{resources-67e1126c.js → resources-fcc173ea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-3c0036cf.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm-es5/{utils-82f6c024.js → utils-e80bf55b.js} +1 -1
- package/dist/extras/docs-json.json +508 -19
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/interfaces.d.ts +1 -1
- package/dist/types/components/button/interfaces.d.ts +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -1
- package/dist/types/components/color-picker/interfaces.d.ts +1 -1
- package/dist/types/components/flow/flow.d.ts +8 -8
- package/dist/types/components/flow-item/flow-item.d.ts +100 -0
- package/dist/types/components/flow-item/resources.d.ts +19 -0
- package/dist/types/components/interfaces.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +6 -0
- package/dist/types/components/modal/resources.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +25 -4
- package/dist/types/components/panel/resources.d.ts +0 -4
- package/dist/types/components.d.ts +162 -5
- package/dist/types/preact.d.ts +4 -0
- package/hydrate/index.js +728 -498
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-22da6834.system.entry.js +0 -6
- package/dist/calcite/p-258de339.entry.js +0 -6
- package/dist/calcite/p-2c07cc64.js +0 -6
- package/dist/calcite/p-3c69dedb.entry.js +0 -6
- package/dist/calcite/p-587ac194.entry.js +0 -6
- package/dist/calcite/p-7537de6a.entry.js +0 -6
- package/dist/calcite/p-79d7865d.entry.js +0 -6
- package/dist/calcite/p-7c1e6642.system.entry.js +0 -6
- package/dist/calcite/p-8f00e8af.system.entry.js +0 -6
- package/dist/calcite/p-935e8a80.system.entry.js +0 -6
- package/dist/calcite/p-a62ccfd7.system.js +0 -6
- package/dist/calcite/p-c85c2743.system.entry.js +0 -6
- package/dist/calcite/p-cb0581e6.system.entry.js +0 -6
- package/dist/calcite/p-d34e1ff5.js +0 -6
- package/dist/calcite/p-d5488a3e.entry.js +0 -6
- package/dist/calcite/p-db77e732.entry.js +0 -6
- package/dist/calcite/p-f314edb9.entry.js +0 -6
- package/dist/calcite/p-f5c675ea.system.entry.js +0 -6
- package/dist/calcite/p-fa1fe9ce.entry.js +0 -6
- package/dist/calcite/p-fb89ecdf.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.574
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -4760,7 +4760,7 @@ const CSS_UTILITY = {
|
|
|
4760
4760
|
lightTheme,
|
|
4761
4761
|
rtl: "calcite--rtl"
|
|
4762
4762
|
};
|
|
4763
|
-
const TEXT$
|
|
4763
|
+
const TEXT$v = {
|
|
4764
4764
|
loading: "Loading"
|
|
4765
4765
|
};
|
|
4766
4766
|
|
|
@@ -5636,7 +5636,7 @@ class Accordion {
|
|
|
5636
5636
|
//
|
|
5637
5637
|
//--------------------------------------------------------------------------
|
|
5638
5638
|
/** Specifies the appearance of the component. */
|
|
5639
|
-
this.appearance = "
|
|
5639
|
+
this.appearance = "solid";
|
|
5640
5640
|
/** Specifies the placement of the icon in the header. */
|
|
5641
5641
|
this.iconPosition = "end";
|
|
5642
5642
|
/** Specifies the type of the icon in the header. */
|
|
@@ -5671,10 +5671,12 @@ class Accordion {
|
|
|
5671
5671
|
}
|
|
5672
5672
|
}
|
|
5673
5673
|
render() {
|
|
5674
|
+
const transparent = this.appearance === "transparent";
|
|
5675
|
+
const minimal = this.appearance === "minimal";
|
|
5674
5676
|
return (hAsync("div", { class: {
|
|
5675
|
-
"accordion--transparent":
|
|
5676
|
-
"accordion--minimal":
|
|
5677
|
-
accordion:
|
|
5677
|
+
"accordion--transparent": transparent,
|
|
5678
|
+
"accordion--minimal": minimal,
|
|
5679
|
+
accordion: !transparent && !minimal
|
|
5678
5680
|
} }, hAsync("slot", null)));
|
|
5679
5681
|
}
|
|
5680
5682
|
//--------------------------------------------------------------------------
|
|
@@ -6007,11 +6009,11 @@ function processMutations$1(mutations) {
|
|
|
6007
6009
|
});
|
|
6008
6010
|
}
|
|
6009
6011
|
|
|
6010
|
-
const SLOTS$
|
|
6012
|
+
const SLOTS$t = {
|
|
6011
6013
|
actionsStart: "actions-start",
|
|
6012
6014
|
actionsEnd: "actions-end"
|
|
6013
6015
|
};
|
|
6014
|
-
const CSS$
|
|
6016
|
+
const CSS$T = {
|
|
6015
6017
|
icon: "icon",
|
|
6016
6018
|
header: "header",
|
|
6017
6019
|
headerContent: "header-content",
|
|
@@ -6094,25 +6096,25 @@ class AccordionItem {
|
|
|
6094
6096
|
// --------------------------------------------------------------------------
|
|
6095
6097
|
renderActionsStart() {
|
|
6096
6098
|
const { el } = this;
|
|
6097
|
-
return getSlotted(el, SLOTS$
|
|
6099
|
+
return getSlotted(el, SLOTS$t.actionsStart) ? (hAsync("div", { class: CSS$T.actionsStart }, hAsync("slot", { name: SLOTS$t.actionsStart }))) : null;
|
|
6098
6100
|
}
|
|
6099
6101
|
renderActionsEnd() {
|
|
6100
6102
|
const { el } = this;
|
|
6101
|
-
return getSlotted(el, SLOTS$
|
|
6103
|
+
return getSlotted(el, SLOTS$t.actionsEnd) ? (hAsync("div", { class: CSS$T.actionsEnd }, hAsync("slot", { name: SLOTS$t.actionsEnd }))) : null;
|
|
6102
6104
|
}
|
|
6103
6105
|
render() {
|
|
6104
6106
|
const dir = getElementDir(this.el);
|
|
6105
|
-
const iconEl = hAsync("calcite-icon", { class: CSS$
|
|
6107
|
+
const iconEl = hAsync("calcite-icon", { class: CSS$T.icon, icon: this.icon, scale: "s" });
|
|
6106
6108
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6107
6109
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6108
6110
|
[`icon-type--${this.iconType}`]: true
|
|
6109
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6111
|
+
} }, hAsync("div", { class: { [CSS$T.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$T.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, hAsync("div", { class: CSS$T.headerText }, hAsync("span", { class: CSS$T.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (hAsync("span", { class: CSS$T.description }, this.description || this.itemSubtitle)) : null), hAsync("calcite-icon", { class: CSS$T.expandIcon, icon: this.iconType === "chevron"
|
|
6110
6112
|
? "chevronDown"
|
|
6111
6113
|
: this.iconType === "caret"
|
|
6112
6114
|
? "caretDown"
|
|
6113
6115
|
: this.expanded || this.active
|
|
6114
6116
|
? "minus"
|
|
6115
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6117
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$T.content }, hAsync("slot", null)))));
|
|
6116
6118
|
}
|
|
6117
6119
|
//--------------------------------------------------------------------------
|
|
6118
6120
|
//
|
|
@@ -6201,7 +6203,7 @@ class AccordionItem {
|
|
|
6201
6203
|
}; }
|
|
6202
6204
|
}
|
|
6203
6205
|
|
|
6204
|
-
const CSS$
|
|
6206
|
+
const CSS$S = {
|
|
6205
6207
|
button: "button",
|
|
6206
6208
|
buttonTextVisible: "button--text-visible",
|
|
6207
6209
|
buttonCompact: "button--compact",
|
|
@@ -6211,7 +6213,7 @@ const CSS$R = {
|
|
|
6211
6213
|
textContainer: "text-container",
|
|
6212
6214
|
textContainerVisible: "text-container--visible"
|
|
6213
6215
|
};
|
|
6214
|
-
const TEXT$
|
|
6216
|
+
const TEXT$u = {
|
|
6215
6217
|
loading: "Loading"
|
|
6216
6218
|
};
|
|
6217
6219
|
|
|
@@ -6255,7 +6257,7 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
6255
6257
|
component.el.removeAttribute("aria-disabled");
|
|
6256
6258
|
}
|
|
6257
6259
|
|
|
6258
|
-
const actionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible, \n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([scale=s][compact]) .button, \n:host([scale=m][compact]) .button, \n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:-ms-flexbox;display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button, \n:host([active]) .button:hover, \n:host([active]) .button:focus, \n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]) .button*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=clear]) .button:hover, \n:host([appearance=clear]) .button:focus*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=clear]) .button, \n:host([active][appearance=clear]) .button:hover, \n:host([active][appearance=clear]) .button:focus*/[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][loading]) .button, \n:host([appearance=clear][disabled]) .button*/[appearance=clear][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=clear][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button, \n:host([loading]) .button:hover, \n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container, \n:host([loading]) .button:hover .text-container, \n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}/*!@:host([disabled]) .button, \n:host([disabled]) .button:hover, \n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button, \n:host([disabled][active]) .button:hover, \n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}";
|
|
6260
|
+
const actionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible, \n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([scale=s][compact]) .button, \n:host([scale=m][compact]) .button, \n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:-ms-flexbox;display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button, \n:host([active]) .button:hover, \n:host([active]) .button:focus, \n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]) .button, \n:host([appearance=transparent]) .button*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=clear]) .button:hover, \n:host([appearance=clear]) .button:focus, \n:host([appearance=transparent]) .button:hover, \n:host([appearance=transparent]) .button:focus*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=clear]) .button, \n:host([active][appearance=clear]) .button:hover, \n:host([active][appearance=clear]) .button:focus, \n:host([active][appearance=transparent]) .button, \n:host([active][appearance=transparent]) .button:hover, \n:host([active][appearance=transparent]) .button:focus*/[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][loading]) .button, \n:host([appearance=clear][disabled]) .button, \n:host([appearance=transparent][loading]) .button, \n:host([appearance=transparent][disabled]) .button*/[appearance=clear][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=clear][disabled].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button, \n:host([loading]) .button:hover, \n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container, \n:host([loading]) .button:hover .text-container, \n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}/*!@:host([disabled]) .button, \n:host([disabled]) .button:hover, \n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button, \n:host([disabled][active]) .button:hover, \n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}";
|
|
6259
6261
|
|
|
6260
6262
|
/**
|
|
6261
6263
|
* @slot - A slot for adding a `calcite-icon`.
|
|
@@ -6292,7 +6294,7 @@ class Action {
|
|
|
6292
6294
|
*
|
|
6293
6295
|
* @default "Loading"
|
|
6294
6296
|
*/
|
|
6295
|
-
this.intlLoading = TEXT$
|
|
6297
|
+
this.intlLoading = TEXT$u.loading;
|
|
6296
6298
|
/**
|
|
6297
6299
|
* When true, a busy indicator is displayed.
|
|
6298
6300
|
*/
|
|
@@ -6351,8 +6353,8 @@ class Action {
|
|
|
6351
6353
|
renderTextContainer() {
|
|
6352
6354
|
const { text, textEnabled } = this;
|
|
6353
6355
|
const textContainerClasses = {
|
|
6354
|
-
[CSS$
|
|
6355
|
-
[CSS$
|
|
6356
|
+
[CSS$S.textContainer]: true,
|
|
6357
|
+
[CSS$S.textContainerVisible]: textEnabled
|
|
6356
6358
|
};
|
|
6357
6359
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6358
6360
|
}
|
|
@@ -6366,18 +6368,18 @@ class Action {
|
|
|
6366
6368
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6367
6369
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
6368
6370
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6369
|
-
[CSS$
|
|
6370
|
-
[CSS$
|
|
6371
|
+
[CSS$S.slotContainer]: true,
|
|
6372
|
+
[CSS$S.slotContainerHidden]: loading
|
|
6371
6373
|
} }, hAsync("slot", null)));
|
|
6372
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
6374
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$S.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
6373
6375
|
}
|
|
6374
6376
|
render() {
|
|
6375
6377
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6376
6378
|
const ariaLabel = label || text;
|
|
6377
6379
|
const buttonClasses = {
|
|
6378
|
-
[CSS$
|
|
6379
|
-
[CSS$
|
|
6380
|
-
[CSS$
|
|
6380
|
+
[CSS$S.button]: true,
|
|
6381
|
+
[CSS$S.buttonTextVisible]: textEnabled,
|
|
6382
|
+
[CSS$S.buttonCompact]: compact
|
|
6381
6383
|
};
|
|
6382
6384
|
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
6383
6385
|
}
|
|
@@ -6408,26 +6410,26 @@ class Action {
|
|
|
6408
6410
|
}; }
|
|
6409
6411
|
}
|
|
6410
6412
|
|
|
6411
|
-
const CSS$
|
|
6413
|
+
const CSS$R = {
|
|
6412
6414
|
menu: "menu",
|
|
6413
6415
|
defaultTrigger: "default-trigger"
|
|
6414
6416
|
};
|
|
6415
|
-
const SLOTS$
|
|
6417
|
+
const SLOTS$s = {
|
|
6416
6418
|
tooltip: "tooltip",
|
|
6417
6419
|
trigger: "trigger"
|
|
6418
6420
|
};
|
|
6419
|
-
const ICONS$
|
|
6421
|
+
const ICONS$g = {
|
|
6420
6422
|
menu: "ellipsis"
|
|
6421
6423
|
};
|
|
6422
6424
|
|
|
6423
|
-
const SLOTS$
|
|
6425
|
+
const SLOTS$r = {
|
|
6424
6426
|
menuActions: "menu-actions",
|
|
6425
6427
|
menuTooltip: "menu-tooltip"
|
|
6426
6428
|
};
|
|
6427
|
-
const TEXT$
|
|
6429
|
+
const TEXT$t = {
|
|
6428
6430
|
more: "More"
|
|
6429
6431
|
};
|
|
6430
|
-
const ICONS$
|
|
6432
|
+
const ICONS$f = {
|
|
6431
6433
|
menu: "ellipsis"
|
|
6432
6434
|
};
|
|
6433
6435
|
|
|
@@ -6450,7 +6452,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
|
|
|
6450
6452
|
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
6451
6453
|
};
|
|
6452
6454
|
const queryActions = (el) => {
|
|
6453
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$
|
|
6455
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$s.trigger : true);
|
|
6454
6456
|
};
|
|
6455
6457
|
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
6456
6458
|
let needToSlotCount = overflowCount;
|
|
@@ -6458,7 +6460,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6458
6460
|
let slottedWithinGroupCount = 0;
|
|
6459
6461
|
const groupActions = queryActions(group).reverse();
|
|
6460
6462
|
groupActions.forEach((groupAction) => {
|
|
6461
|
-
if (groupAction.slot === SLOTS$
|
|
6463
|
+
if (groupAction.slot === SLOTS$r.menuActions) {
|
|
6462
6464
|
groupAction.removeAttribute("slot");
|
|
6463
6465
|
groupAction.textEnabled = expanded;
|
|
6464
6466
|
}
|
|
@@ -6468,7 +6470,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6468
6470
|
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
6469
6471
|
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
6470
6472
|
groupAction.textEnabled = true;
|
|
6471
|
-
groupAction.setAttribute("slot", SLOTS$
|
|
6473
|
+
groupAction.setAttribute("slot", SLOTS$r.menuActions);
|
|
6472
6474
|
slottedWithinGroupCount++;
|
|
6473
6475
|
if (slottedWithinGroupCount > 1) {
|
|
6474
6476
|
needToSlotCount--;
|
|
@@ -6481,7 +6483,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6481
6483
|
});
|
|
6482
6484
|
};
|
|
6483
6485
|
|
|
6484
|
-
const ICONS$
|
|
6486
|
+
const ICONS$e = {
|
|
6485
6487
|
chevronsLeft: "chevrons-left",
|
|
6486
6488
|
chevronsRight: "chevrons-right"
|
|
6487
6489
|
};
|
|
@@ -6491,7 +6493,7 @@ function getCalcitePosition(position, el) {
|
|
|
6491
6493
|
}
|
|
6492
6494
|
function toggleChildActionText({ parent, expanded }) {
|
|
6493
6495
|
queryActions(parent)
|
|
6494
|
-
.filter((el) => el.slot !== SLOTS$
|
|
6496
|
+
.filter((el) => el.slot !== SLOTS$r.menuActions)
|
|
6495
6497
|
.forEach((action) => (action.textEnabled = expanded));
|
|
6496
6498
|
parent
|
|
6497
6499
|
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
@@ -6509,7 +6511,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
|
6509
6511
|
const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
6510
6512
|
const rtl = getElementDir(el) === "rtl";
|
|
6511
6513
|
const expandText = expanded ? intlCollapse : intlExpand;
|
|
6512
|
-
const icons = [ICONS$
|
|
6514
|
+
const icons = [ICONS$e.chevronsLeft, ICONS$e.chevronsRight];
|
|
6513
6515
|
if (rtl) {
|
|
6514
6516
|
icons.reverse();
|
|
6515
6517
|
}
|
|
@@ -6520,14 +6522,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6520
6522
|
return actionNode;
|
|
6521
6523
|
};
|
|
6522
6524
|
|
|
6523
|
-
const CSS$
|
|
6525
|
+
const CSS$Q = {
|
|
6524
6526
|
actionGroupBottom: "action-group--bottom"
|
|
6525
6527
|
};
|
|
6526
|
-
const SLOTS$
|
|
6528
|
+
const SLOTS$q = {
|
|
6527
6529
|
bottomActions: "bottom-actions",
|
|
6528
6530
|
expandTooltip: "expand-tooltip"
|
|
6529
6531
|
};
|
|
6530
|
-
const TEXT$
|
|
6532
|
+
const TEXT$s = {
|
|
6531
6533
|
expand: "Expand",
|
|
6532
6534
|
collapse: "Collapse"
|
|
6533
6535
|
};
|
|
@@ -7859,7 +7861,7 @@ class ActionBar {
|
|
|
7859
7861
|
const actions = queryActions(el);
|
|
7860
7862
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
7861
7863
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
7862
|
-
const groupCount = getSlotted(el, SLOTS$
|
|
7864
|
+
const groupCount = getSlotted(el, SLOTS$q.bottomActions) || !expandDisabled
|
|
7863
7865
|
? actionGroups.length + 1
|
|
7864
7866
|
: actionGroups.length;
|
|
7865
7867
|
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
@@ -7961,11 +7963,11 @@ class ActionBar {
|
|
|
7961
7963
|
// --------------------------------------------------------------------------
|
|
7962
7964
|
renderBottomActionGroup() {
|
|
7963
7965
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
7964
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
7965
|
-
const expandLabel = intlExpand || TEXT$
|
|
7966
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
7966
|
+
const tooltip = getSlotted(el, SLOTS$q.expandTooltip);
|
|
7967
|
+
const expandLabel = intlExpand || TEXT$s.expand;
|
|
7968
|
+
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
7967
7969
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
7968
|
-
return getSlotted(el, SLOTS$
|
|
7970
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
7969
7971
|
}
|
|
7970
7972
|
render() {
|
|
7971
7973
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8055,13 +8057,13 @@ class ActionGroup {
|
|
|
8055
8057
|
// --------------------------------------------------------------------------
|
|
8056
8058
|
renderTooltip() {
|
|
8057
8059
|
const { el } = this;
|
|
8058
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
8059
|
-
return hasTooltip ? hAsync("slot", { name: SLOTS$
|
|
8060
|
+
const hasTooltip = getSlotted(el, SLOTS$r.menuTooltip);
|
|
8061
|
+
return hasTooltip ? hAsync("slot", { name: SLOTS$r.menuTooltip, slot: SLOTS$s.tooltip }) : null;
|
|
8060
8062
|
}
|
|
8061
8063
|
renderMenu() {
|
|
8062
8064
|
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
8063
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
8064
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
8065
|
+
const hasMenuItems = getSlotted(el, SLOTS$r.menuActions);
|
|
8066
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$f.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
|
|
8065
8067
|
}
|
|
8066
8068
|
render() {
|
|
8067
8069
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -8355,17 +8357,17 @@ class ActionMenu {
|
|
|
8355
8357
|
}
|
|
8356
8358
|
renderMenuButton() {
|
|
8357
8359
|
const { label, scale, expanded } = this;
|
|
8358
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$
|
|
8360
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$R.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8359
8361
|
return menuButtonSlot;
|
|
8360
8362
|
}
|
|
8361
8363
|
renderMenuItems() {
|
|
8362
8364
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8363
8365
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8364
8366
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
8365
|
-
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
8367
|
+
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$R.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
8366
8368
|
}
|
|
8367
8369
|
render() {
|
|
8368
|
-
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$
|
|
8370
|
+
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
8369
8371
|
}
|
|
8370
8372
|
isValidKey(key, supportedKeys) {
|
|
8371
8373
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -8398,15 +8400,15 @@ class ActionMenu {
|
|
|
8398
8400
|
}; }
|
|
8399
8401
|
}
|
|
8400
8402
|
|
|
8401
|
-
const CSS$
|
|
8403
|
+
const CSS$P = {
|
|
8402
8404
|
actionGroupBottom: "action-group--bottom",
|
|
8403
8405
|
container: "container"
|
|
8404
8406
|
};
|
|
8405
|
-
const TEXT$
|
|
8407
|
+
const TEXT$r = {
|
|
8406
8408
|
expand: "Expand",
|
|
8407
8409
|
collapse: "Collapse"
|
|
8408
8410
|
};
|
|
8409
|
-
const SLOTS$
|
|
8411
|
+
const SLOTS$p = {
|
|
8410
8412
|
expandTooltip: "expand-tooltip"
|
|
8411
8413
|
};
|
|
8412
8414
|
|
|
@@ -8503,14 +8505,14 @@ class ActionPad {
|
|
|
8503
8505
|
// --------------------------------------------------------------------------
|
|
8504
8506
|
renderBottomActionGroup() {
|
|
8505
8507
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
8506
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
8507
|
-
const expandLabel = intlExpand || TEXT$
|
|
8508
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
8508
|
+
const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
|
|
8509
|
+
const expandLabel = intlExpand || TEXT$r.expand;
|
|
8510
|
+
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
8509
8511
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8510
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8512
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$P.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
8511
8513
|
}
|
|
8512
8514
|
render() {
|
|
8513
|
-
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$
|
|
8515
|
+
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$P.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8514
8516
|
}
|
|
8515
8517
|
get el() { return getElement(this); }
|
|
8516
8518
|
static get watchers() { return {
|
|
@@ -8536,7 +8538,7 @@ class ActionPad {
|
|
|
8536
8538
|
}; }
|
|
8537
8539
|
}
|
|
8538
8540
|
|
|
8539
|
-
const TEXT$
|
|
8541
|
+
const TEXT$q = {
|
|
8540
8542
|
intlClose: "Close"
|
|
8541
8543
|
};
|
|
8542
8544
|
const DURATIONS = {
|
|
@@ -8544,7 +8546,7 @@ const DURATIONS = {
|
|
|
8544
8546
|
medium: 10000,
|
|
8545
8547
|
fast: 6000
|
|
8546
8548
|
};
|
|
8547
|
-
const SLOTS$
|
|
8549
|
+
const SLOTS$o = {
|
|
8548
8550
|
title: "title",
|
|
8549
8551
|
message: "message",
|
|
8550
8552
|
link: "link"
|
|
@@ -8647,7 +8649,7 @@ class Alert {
|
|
|
8647
8649
|
*
|
|
8648
8650
|
* @default "Close"
|
|
8649
8651
|
*/
|
|
8650
|
-
this.intlClose = TEXT$
|
|
8652
|
+
this.intlClose = TEXT$q.intlClose;
|
|
8651
8653
|
/** Specifies the placement of the component */
|
|
8652
8654
|
this.placement = "bottom";
|
|
8653
8655
|
/** Specifies the size of the component. */
|
|
@@ -8740,7 +8742,7 @@ class Alert {
|
|
|
8740
8742
|
container: true,
|
|
8741
8743
|
queued,
|
|
8742
8744
|
[placement]: true
|
|
8743
|
-
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$
|
|
8745
|
+
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
8744
8746
|
}
|
|
8745
8747
|
// when an alert is opened or closed, update queue and determine active alert
|
|
8746
8748
|
alertSync(event) {
|
|
@@ -9103,7 +9105,7 @@ class Avatar {
|
|
|
9103
9105
|
}; }
|
|
9104
9106
|
}
|
|
9105
9107
|
|
|
9106
|
-
const CSS$
|
|
9108
|
+
const CSS$O = {
|
|
9107
9109
|
article: "article",
|
|
9108
9110
|
content: "content",
|
|
9109
9111
|
headerContainer: "header-container",
|
|
@@ -9122,18 +9124,18 @@ const CSS$N = {
|
|
|
9122
9124
|
invalid: "invalid",
|
|
9123
9125
|
loading: "loading"
|
|
9124
9126
|
};
|
|
9125
|
-
const TEXT$
|
|
9127
|
+
const TEXT$p = {
|
|
9126
9128
|
collapse: "Collapse",
|
|
9127
9129
|
expand: "Expand",
|
|
9128
9130
|
loading: "Loading",
|
|
9129
9131
|
options: "Options"
|
|
9130
9132
|
};
|
|
9131
|
-
const SLOTS$
|
|
9133
|
+
const SLOTS$n = {
|
|
9132
9134
|
icon: "icon",
|
|
9133
9135
|
control: "control",
|
|
9134
9136
|
headerMenuActions: "header-menu-actions"
|
|
9135
9137
|
};
|
|
9136
|
-
const ICONS$
|
|
9138
|
+
const ICONS$d = {
|
|
9137
9139
|
opened: "chevron-up",
|
|
9138
9140
|
closed: "chevron-down",
|
|
9139
9141
|
valid: "check-circle",
|
|
@@ -9185,25 +9187,25 @@ class Block {
|
|
|
9185
9187
|
*
|
|
9186
9188
|
* @default "Collapse"
|
|
9187
9189
|
*/
|
|
9188
|
-
this.intlCollapse = TEXT$
|
|
9190
|
+
this.intlCollapse = TEXT$p.collapse;
|
|
9189
9191
|
/**
|
|
9190
9192
|
* Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
|
|
9191
9193
|
*
|
|
9192
9194
|
* @default "Expand"
|
|
9193
9195
|
*/
|
|
9194
|
-
this.intlExpand = TEXT$
|
|
9196
|
+
this.intlExpand = TEXT$p.expand;
|
|
9195
9197
|
/**
|
|
9196
9198
|
* string to override English loading text
|
|
9197
9199
|
*
|
|
9198
9200
|
* @default "Loading"
|
|
9199
9201
|
*/
|
|
9200
|
-
this.intlLoading = TEXT$
|
|
9202
|
+
this.intlLoading = TEXT$p.loading;
|
|
9201
9203
|
/**
|
|
9202
9204
|
* Text string used for the actions menu
|
|
9203
9205
|
*
|
|
9204
9206
|
* @default "Options"
|
|
9205
9207
|
*/
|
|
9206
|
-
this.intlOptions = TEXT$
|
|
9208
|
+
this.intlOptions = TEXT$p.options;
|
|
9207
9209
|
/**
|
|
9208
9210
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
9209
9211
|
*/
|
|
@@ -9261,33 +9263,33 @@ class Block {
|
|
|
9261
9263
|
renderIcon() {
|
|
9262
9264
|
const { el, status } = this;
|
|
9263
9265
|
const showingLoadingStatus = this.loading && !this.open;
|
|
9264
|
-
const statusIcon = showingLoadingStatus ? ICONS$
|
|
9265
|
-
const hasIcon = getSlotted(el, SLOTS$
|
|
9266
|
-
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$
|
|
9267
|
-
[CSS$
|
|
9268
|
-
[CSS$
|
|
9269
|
-
[CSS$
|
|
9270
|
-
[CSS$
|
|
9266
|
+
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
9267
|
+
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
9268
|
+
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
9269
|
+
[CSS$O.statusIcon]: true,
|
|
9270
|
+
[CSS$O.valid]: status == "valid",
|
|
9271
|
+
[CSS$O.invalid]: status == "invalid",
|
|
9272
|
+
[CSS$O.loading]: showingLoadingStatus
|
|
9271
9273
|
}, icon: statusIcon, scale: "m" }));
|
|
9272
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9274
|
+
return hasIcon ? hAsync("div", { class: CSS$O.icon }, iconEl) : null;
|
|
9273
9275
|
}
|
|
9274
9276
|
renderTitle() {
|
|
9275
9277
|
const { heading, headingLevel, summary, description } = this;
|
|
9276
|
-
return heading || summary || description ? (hAsync("div", { class: CSS$
|
|
9278
|
+
return heading || summary || description ? (hAsync("div", { class: CSS$O.title }, hAsync(Heading, { class: CSS$O.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$O.description }, summary || description)) : null)) : null;
|
|
9277
9279
|
}
|
|
9278
9280
|
render() {
|
|
9279
9281
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9280
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
9281
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9282
|
-
const hasControl = !!getSlotted(el, SLOTS$
|
|
9283
|
-
const hasMenuActions = !!getSlotted(el, SLOTS$
|
|
9284
|
-
const collapseIcon = open ? ICONS$
|
|
9282
|
+
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
9283
|
+
const headerContent = (hAsync("header", { class: CSS$O.header }, this.renderIcon(), this.renderTitle()));
|
|
9284
|
+
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
9285
|
+
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
9286
|
+
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
9285
9287
|
const { guid } = this;
|
|
9286
9288
|
const regionId = `${guid}-region`;
|
|
9287
9289
|
const buttonId = `${guid}-button`;
|
|
9288
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
9290
|
+
const headerNode = (hAsync("div", { class: CSS$O.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$O.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$O.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$O.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
9289
9291
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9290
|
-
[CSS$
|
|
9292
|
+
[CSS$O.article]: true
|
|
9291
9293
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
9292
9294
|
content: true,
|
|
9293
9295
|
"content--spaced": !this.disablePadding
|
|
@@ -9321,7 +9323,7 @@ class Block {
|
|
|
9321
9323
|
}; }
|
|
9322
9324
|
}
|
|
9323
9325
|
|
|
9324
|
-
const CSS$
|
|
9326
|
+
const CSS$N = {
|
|
9325
9327
|
content: "content",
|
|
9326
9328
|
invalid: "invalid",
|
|
9327
9329
|
toggle: "toggle",
|
|
@@ -9333,11 +9335,11 @@ const CSS$M = {
|
|
|
9333
9335
|
statusIcon: "status-icon",
|
|
9334
9336
|
valid: "valid"
|
|
9335
9337
|
};
|
|
9336
|
-
const TEXT$
|
|
9338
|
+
const TEXT$o = {
|
|
9337
9339
|
collapse: "Collapse",
|
|
9338
9340
|
expand: "Expand"
|
|
9339
9341
|
};
|
|
9340
|
-
const ICONS$
|
|
9342
|
+
const ICONS$c = {
|
|
9341
9343
|
menuOpen: "chevron-down",
|
|
9342
9344
|
menuClosedLeft: "chevron-left",
|
|
9343
9345
|
menuClosedRight: "chevron-right",
|
|
@@ -9390,11 +9392,11 @@ class BlockSection {
|
|
|
9390
9392
|
renderStatusIcon() {
|
|
9391
9393
|
var _a;
|
|
9392
9394
|
const { status } = this;
|
|
9393
|
-
const statusIcon = (_a = ICONS$
|
|
9395
|
+
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
9394
9396
|
const statusIconClasses = {
|
|
9395
|
-
[CSS$
|
|
9396
|
-
[CSS$
|
|
9397
|
-
[CSS$
|
|
9397
|
+
[CSS$N.statusIcon]: true,
|
|
9398
|
+
[CSS$N.valid]: status == "valid",
|
|
9399
|
+
[CSS$N.invalid]: status == "invalid"
|
|
9398
9400
|
};
|
|
9399
9401
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9400
9402
|
}
|
|
@@ -9402,22 +9404,22 @@ class BlockSection {
|
|
|
9402
9404
|
const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
|
|
9403
9405
|
const dir = getElementDir(el);
|
|
9404
9406
|
const arrowIcon = open
|
|
9405
|
-
? ICONS$
|
|
9407
|
+
? ICONS$c.menuOpen
|
|
9406
9408
|
: dir === "rtl"
|
|
9407
|
-
? ICONS$
|
|
9408
|
-
: ICONS$
|
|
9409
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
9409
|
+
? ICONS$c.menuClosedLeft
|
|
9410
|
+
: ICONS$c.menuClosedRight;
|
|
9411
|
+
const toggleLabel = open ? intlCollapse || TEXT$o.collapse : intlExpand || TEXT$o.expand;
|
|
9410
9412
|
const { guid } = this;
|
|
9411
9413
|
const regionId = `${guid}-region`;
|
|
9412
9414
|
const buttonId = `${guid}-button`;
|
|
9413
9415
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9414
|
-
[CSS$
|
|
9415
|
-
[CSS$
|
|
9416
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9417
|
-
[CSS$
|
|
9418
|
-
[CSS$
|
|
9419
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9420
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9416
|
+
[CSS$N.toggle]: true,
|
|
9417
|
+
[CSS$N.toggleSwitch]: true
|
|
9418
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$N.toggleSwitchContent }, hAsync("span", { class: CSS$N.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9419
|
+
[CSS$N.sectionHeader]: true,
|
|
9420
|
+
[CSS$N.toggle]: true
|
|
9421
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$N.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9422
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$N.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9421
9423
|
}
|
|
9422
9424
|
get el() { return getElement(this); }
|
|
9423
9425
|
static get style() { return blockSectionCss; }
|
|
@@ -9466,7 +9468,7 @@ class BlockSection {
|
|
|
9466
9468
|
}
|
|
9467
9469
|
})(HTMLFormElement.prototype);
|
|
9468
9470
|
|
|
9469
|
-
const CSS$
|
|
9471
|
+
const CSS$M = {
|
|
9470
9472
|
buttonLoader: "calcite-button--loader",
|
|
9471
9473
|
content: "content",
|
|
9472
9474
|
contentSlotted: "content--slotted",
|
|
@@ -9478,7 +9480,7 @@ const CSS$L = {
|
|
|
9478
9480
|
iconStartEmpty: "icon-start-empty",
|
|
9479
9481
|
iconEndEmpty: "icon-end-empty"
|
|
9480
9482
|
};
|
|
9481
|
-
const TEXT$
|
|
9483
|
+
const TEXT$n = {
|
|
9482
9484
|
loading: "Loading"
|
|
9483
9485
|
};
|
|
9484
9486
|
|
|
@@ -9814,7 +9816,7 @@ const HiddenFormInputSlot = ({ component }) => {
|
|
|
9814
9816
|
return hAsync("slot", { name: hiddenFormInputSlotName });
|
|
9815
9817
|
};
|
|
9816
9818
|
|
|
9817
|
-
const buttonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button, \n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus, \n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}/*!@:host button:hover, \n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{-webkit-text-decoration-line:none;text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-start:unset;margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-end:unset;margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a, \n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a, \n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:start;justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a, \n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a, \n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:justify;justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button, \n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:-ms-flexbox;display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}/*!@:host([loading]) button:not(.content--slotted) .icon--start, \n:host([loading]) button:not(.content--slotted) .icon--end, \n:host([loading]) a:not(.content--slotted) .icon--start, \n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance=solid]) button, \n:host([appearance=solid]) a*/[appearance=solid].sc-calcite-button-h button.sc-calcite-button,[appearance=solid].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([appearance=solid][color=blue]) button, \n:host([appearance=solid][color=blue]) a*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=blue]) button:hover, :host([appearance=solid][color=blue]) button:focus, \n:host([appearance=solid][color=blue]) a:hover, \n:host([appearance=solid][color=blue]) a:focus*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=solid][color=blue]) button:active, \n:host([appearance=solid][color=blue]) a:active*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([appearance=solid][color=blue]) button calcite-loader, \n:host([appearance=solid][color=blue]) a calcite-loader*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=red]) button, \n:host([appearance=solid][color=red]) a*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=red]) button:hover, :host([appearance=solid][color=red]) button:focus, \n:host([appearance=solid][color=red]) a:hover, \n:host([appearance=solid][color=red]) a:focus*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=solid][color=red]) button:active, \n:host([appearance=solid][color=red]) a:active*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([appearance=solid][color=red]) button calcite-loader, \n:host([appearance=solid][color=red]) a calcite-loader*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=neutral]) button, \n:host([appearance=solid][color=neutral]) a*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([appearance=solid][color=neutral]) button:hover, :host([appearance=solid][color=neutral]) button:focus, \n:host([appearance=solid][color=neutral]) a:hover, \n:host([appearance=solid][color=neutral]) a:focus*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([appearance=solid][color=neutral]) button:active, \n:host([appearance=solid][color=neutral]) a:active*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid][color=neutral]) button calcite-loader, \n:host([appearance=solid][color=neutral]) a calcite-loader*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=solid][color=inverse]) button, \n:host([appearance=solid][color=inverse]) a*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([appearance=solid][color=inverse]) button:hover, :host([appearance=solid][color=inverse]) button:focus,\n:host([appearance=solid][color=inverse]) a:hover,\n:host([appearance=solid][color=inverse]) a:focus*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([appearance=solid][color=inverse]) button:active,\n:host([appearance=solid][color=inverse]) a:active*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([appearance=solid][color=inverse]) button calcite-loader, \n:host([appearance=solid][color=inverse]) a calcite-loader*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline]) button, \n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][color=blue]) button, \n:host([appearance=outline][color=blue]) a*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:hover, \n:host([appearance=outline][color=blue]) a:hover*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][color=blue]) button:focus, \n:host([appearance=outline][color=blue]) a:focus*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:active, \n:host([appearance=outline][color=blue]) a:active*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][color=blue]) button calcite-loader,\n:host([appearance=outline][color=blue]) a calcite-loader*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=red]) button, \n:host([appearance=outline][color=red]) a*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:hover, \n:host([appearance=outline][color=red]) a:hover*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][color=red]) button:focus, \n:host([appearance=outline][color=red]) a:focus*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:active, \n:host([appearance=outline][color=red]) a:active*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][color=red]) button calcite-loader,\n:host([appearance=outline][color=red]) a calcite-loader*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=neutral]) button, \n:host([appearance=outline][color=neutral]) a*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:hover,\n:host([appearance=outline][color=neutral]) a:hover*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:focus,\n:host([appearance=outline][color=neutral]) a:focus*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:active,\n:host([appearance=outline][color=neutral]) a:active*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button calcite-loader, \n:host([appearance=outline][color=neutral]) a calcite-loader*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][color=inverse]) button, \n:host([appearance=outline][color=inverse]) a*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:hover,\n:host([appearance=outline][color=inverse]) a:hover*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][color=inverse]) button:focus,\n:host([appearance=outline][color=inverse]) a:focus*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:active,\n:host([appearance=outline][color=inverse]) a:active*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][color=inverse]) button calcite-loader, \n:host([appearance=outline][color=inverse]) a calcite-loader*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear]) button, \n:host([appearance=clear]) a*/[appearance=clear].sc-calcite-button-h button.sc-calcite-button,[appearance=clear].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=clear][color=blue]) button, \n:host([appearance=clear][color=blue]) a*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:hover, \n:host([appearance=clear][color=blue]) a:hover*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=clear][color=blue]) button:focus, \n:host([appearance=clear][color=blue]) a:focus*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:active, \n:host([appearance=clear][color=blue]) a:active*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=clear][color=blue]) button calcite-loader,\n:host([appearance=clear][color=blue]) a calcite-loader*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=red]) button, \n:host([appearance=clear][color=red]) a*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:hover, \n:host([appearance=clear][color=red]) a:hover*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=clear][color=red]) button:focus, \n:host([appearance=clear][color=red]) a:focus*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:active, \n:host([appearance=clear][color=red]) a:active*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=clear][color=red]) button calcite-loader,\n:host([appearance=clear][color=red]) a calcite-loader*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=neutral]) button, \n:host([appearance=clear][color=neutral]) a*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:hover,\n:host([appearance=clear][color=neutral]) a:hover*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:focus,\n:host([appearance=clear][color=neutral]) a:focus*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:active,\n:host([appearance=clear][color=neutral]) a:active*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button calcite-loader, \n:host([appearance=clear][color=neutral]) a calcite-loader*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][color=inverse]) button, \n:host([appearance=clear][color=inverse]) a*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:hover,\n:host([appearance=clear][color=inverse]) a:hover*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=clear][color=inverse]) button:focus,\n:host([appearance=clear][color=inverse]) a:focus*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:active,\n:host([appearance=clear][color=inverse]) a:active*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=clear][color=inverse]) button calcite-loader, \n:host([appearance=clear][color=inverse]) a calcite-loader*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][split-child=primary]) button,\n:host([appearance=clear][split-child=primary]) button*/[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline][split-child=secondary]) button,\n:host([appearance=clear][split-child=secondary]) button*/[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button, \n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][color=blue]) button,\n:host([appearance=transparent][color=blue]) a*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:hover,\n:host([appearance=transparent][color=blue]) a:hover*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][color=blue]) button:focus,\n:host([appearance=transparent][color=blue]) a:focus*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:active,\n:host([appearance=transparent][color=blue]) a:active*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][color=blue]) button calcite-loader,\n:host([appearance=transparent][color=blue]) a calcite-loader*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=red]) button,\n:host([appearance=transparent][color=red]) a*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:hover,\n:host([appearance=transparent][color=red]) a:hover*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][color=red]) button:focus,\n:host([appearance=transparent][color=red]) a:focus*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:active,\n:host([appearance=transparent][color=red]) a:active*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][color=red]) button calcite-loader,\n:host([appearance=transparent][color=red]) a calcite-loader*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].enable-editing-button) button*/[appearance=transparent][color=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][color=inverse]) button, \n:host([appearance=transparent][color=inverse]) a, \n:host([appearance=transparent][color=inverse]) calcite-loader*/[appearance=transparent][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted, \n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]:not([appearance=transparent])) button.content--slotted,\n:host([scale=m]:not([appearance=transparent])) a.content--slotted*/[scale=m].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]:not([appearance=transparent])) button.content--slotted,\n:host([scale=l]:not([appearance=transparent])) a.content--slotted*/[scale=l].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:11px}/*!@:host([scale=l][appearance=transparent]) button.content--slotted,\n:host([scale=l][appearance=transparent]) a.content--slotted*/[scale=l][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=s][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][appearance=transparent]) a:not(.content--slotted)*/[scale=s][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=m][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][appearance=transparent]) a:not(.content--slotted)*/[scale=m][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:1rem;margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2.75rem}";
|
|
9819
|
+
const buttonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button, \n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus, \n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}/*!@:host button:hover, \n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{-webkit-text-decoration-line:none;text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-start:unset;margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-end:unset;margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a, \n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a, \n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:start;justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a, \n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a, \n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:justify;justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button, \n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:-ms-flexbox;display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}/*!@:host([loading]) button:not(.content--slotted) .icon--start, \n:host([loading]) button:not(.content--slotted) .icon--end, \n:host([loading]) a:not(.content--slotted) .icon--start, \n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance=solid]) button, \n:host([appearance=solid]) a*/[appearance=solid].sc-calcite-button-h button.sc-calcite-button,[appearance=solid].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([color=blue]) button, \n:host([color=blue]) a*/[color=blue].sc-calcite-button-h button.sc-calcite-button,[color=blue].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([color=blue]) button:hover, :host([color=blue]) button:focus, \n:host([color=blue]) a:hover, \n:host([color=blue]) a:focus*/[color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[color=blue].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([color=blue]) button:active, \n:host([color=blue]) a:active*/[color=blue].sc-calcite-button-h button.sc-calcite-button:active,[color=blue].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([color=blue]) button calcite-loader, \n:host([color=blue]) a calcite-loader*/[color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([color=red]) button, \n:host([color=red]) a*/[color=red].sc-calcite-button-h button.sc-calcite-button,[color=red].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red]) button:hover, :host([color=red]) button:focus, \n:host([color=red]) a:hover, \n:host([color=red]) a:focus*/[color=red].sc-calcite-button-h button.sc-calcite-button:hover,[color=red].sc-calcite-button-h button.sc-calcite-button:focus,[color=red].sc-calcite-button-h a.sc-calcite-button:hover,[color=red].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([color=red]) button:active, \n:host([color=red]) a:active*/[color=red].sc-calcite-button-h button.sc-calcite-button:active,[color=red].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([color=red]) button calcite-loader, \n:host([color=red]) a calcite-loader*/[color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([color=neutral]) button, \n:host([color=neutral]) a*/[color=neutral].sc-calcite-button-h button.sc-calcite-button,[color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([color=neutral]) button:hover, :host([color=neutral]) button:focus, \n:host([color=neutral]) a:hover, \n:host([color=neutral]) a:focus*/[color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([color=neutral]) button:active, \n:host([color=neutral]) a:active*/[color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[color=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([color=neutral]) button calcite-loader, \n:host([color=neutral]) a calcite-loader*/[color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([color=inverse]) button, \n:host([color=inverse]) a*/[color=inverse].sc-calcite-button-h button.sc-calcite-button,[color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([color=inverse]) button:hover, :host([color=inverse]) button:focus,\n:host([color=inverse]) a:hover,\n:host([color=inverse]) a:focus*/[color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([color=inverse]) button:active,\n:host([color=inverse]) a:active*/[color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[color=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([color=inverse]) button calcite-loader, \n:host([color=inverse]) a calcite-loader*/[color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline]) button, \n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][color=blue]) button, \n:host([appearance=outline][color=blue]) a*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:hover, \n:host([appearance=outline][color=blue]) a:hover*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][color=blue]) button:focus, \n:host([appearance=outline][color=blue]) a:focus*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:active, \n:host([appearance=outline][color=blue]) a:active*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][color=blue]) button calcite-loader,\n:host([appearance=outline][color=blue]) a calcite-loader*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=red]) button, \n:host([appearance=outline][color=red]) a*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:hover, \n:host([appearance=outline][color=red]) a:hover*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][color=red]) button:focus, \n:host([appearance=outline][color=red]) a:focus*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:active, \n:host([appearance=outline][color=red]) a:active*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][color=red]) button calcite-loader,\n:host([appearance=outline][color=red]) a calcite-loader*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=neutral]) button, \n:host([appearance=outline][color=neutral]) a*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:hover,\n:host([appearance=outline][color=neutral]) a:hover*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:focus,\n:host([appearance=outline][color=neutral]) a:focus*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:active,\n:host([appearance=outline][color=neutral]) a:active*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button calcite-loader, \n:host([appearance=outline][color=neutral]) a calcite-loader*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][color=inverse]) button, \n:host([appearance=outline][color=inverse]) a*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:hover,\n:host([appearance=outline][color=inverse]) a:hover*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][color=inverse]) button:focus,\n:host([appearance=outline][color=inverse]) a:focus*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:active,\n:host([appearance=outline][color=inverse]) a:active*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][color=inverse]) button calcite-loader, \n:host([appearance=outline][color=inverse]) a calcite-loader*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear]) button, \n:host([appearance=clear]) a, \n:host([appearance=minimal]) button, \n:host([appearance=minimal]) a*/[appearance=clear].sc-calcite-button-h button.sc-calcite-button,[appearance=clear].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=clear][color=blue]) button, \n:host([appearance=clear][color=blue]) a, \n:host([appearance=minimal][color=blue]) button, \n:host([appearance=minimal][color=blue]) a*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:hover, \n:host([appearance=clear][color=blue]) a:hover, \n:host([appearance=minimal][color=blue]) button:hover, \n:host([appearance=minimal][color=blue]) a:hover*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=clear][color=blue]) button:focus, \n:host([appearance=clear][color=blue]) a:focus, \n:host([appearance=minimal][color=blue]) button:focus, \n:host([appearance=minimal][color=blue]) a:focus*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:active, \n:host([appearance=clear][color=blue]) a:active, \n:host([appearance=minimal][color=blue]) button:active, \n:host([appearance=minimal][color=blue]) a:active*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=clear][color=blue]) button calcite-loader,\n:host([appearance=clear][color=blue]) a calcite-loader,\n:host([appearance=minimal][color=blue]) button calcite-loader,\n:host([appearance=minimal][color=blue]) a calcite-loader*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=red]) button, \n:host([appearance=clear][color=red]) a, \n:host([appearance=minimal][color=red]) button, \n:host([appearance=minimal][color=red]) a*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:hover, \n:host([appearance=clear][color=red]) a:hover, \n:host([appearance=minimal][color=red]) button:hover, \n:host([appearance=minimal][color=red]) a:hover*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=clear][color=red]) button:focus, \n:host([appearance=clear][color=red]) a:focus, \n:host([appearance=minimal][color=red]) button:focus, \n:host([appearance=minimal][color=red]) a:focus*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:active, \n:host([appearance=clear][color=red]) a:active, \n:host([appearance=minimal][color=red]) button:active, \n:host([appearance=minimal][color=red]) a:active*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=clear][color=red]) button calcite-loader,\n:host([appearance=clear][color=red]) a calcite-loader,\n:host([appearance=minimal][color=red]) button calcite-loader,\n:host([appearance=minimal][color=red]) a calcite-loader*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=neutral]) button, \n:host([appearance=clear][color=neutral]) a, \n:host([appearance=minimal][color=neutral]) button, \n:host([appearance=minimal][color=neutral]) a*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:hover,\n:host([appearance=clear][color=neutral]) a:hover,\n:host([appearance=minimal][color=neutral]) button:hover,\n:host([appearance=minimal][color=neutral]) a:hover*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:focus,\n:host([appearance=clear][color=neutral]) a:focus,\n:host([appearance=minimal][color=neutral]) button:focus,\n:host([appearance=minimal][color=neutral]) a:focus*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:active,\n:host([appearance=clear][color=neutral]) a:active,\n:host([appearance=minimal][color=neutral]) button:active,\n:host([appearance=minimal][color=neutral]) a:active*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button calcite-loader, \n:host([appearance=clear][color=neutral]) a calcite-loader, \n:host([appearance=minimal][color=neutral]) button calcite-loader, \n:host([appearance=minimal][color=neutral]) a calcite-loader*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][color=inverse]) button, \n:host([appearance=clear][color=inverse]) a, \n:host([appearance=minimal][color=inverse]) button, \n:host([appearance=minimal][color=inverse]) a*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:hover,\n:host([appearance=clear][color=inverse]) a:hover,\n:host([appearance=minimal][color=inverse]) button:hover,\n:host([appearance=minimal][color=inverse]) a:hover*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=clear][color=inverse]) button:focus,\n:host([appearance=clear][color=inverse]) a:focus,\n:host([appearance=minimal][color=inverse]) button:focus,\n:host([appearance=minimal][color=inverse]) a:focus*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:active,\n:host([appearance=clear][color=inverse]) a:active,\n:host([appearance=minimal][color=inverse]) button:active,\n:host([appearance=minimal][color=inverse]) a:active*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=clear][color=inverse]) button calcite-loader, \n:host([appearance=clear][color=inverse]) a calcite-loader, \n:host([appearance=minimal][color=inverse]) button calcite-loader, \n:host([appearance=minimal][color=inverse]) a calcite-loader*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][split-child=primary]) button,\n:host([appearance=clear][split-child=primary]) button,\n:host([appearance=minimal][split-child=primary]) button*/[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline][split-child=secondary]) button,\n:host([appearance=clear][split-child=secondary]) button,\n:host([appearance=minimal][split-child=secondary]) button*/[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button, \n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][color=blue]) button,\n:host([appearance=transparent][color=blue]) a*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:hover,\n:host([appearance=transparent][color=blue]) a:hover*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][color=blue]) button:focus,\n:host([appearance=transparent][color=blue]) a:focus*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:active,\n:host([appearance=transparent][color=blue]) a:active*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][color=blue]) button calcite-loader,\n:host([appearance=transparent][color=blue]) a calcite-loader*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=red]) button,\n:host([appearance=transparent][color=red]) a*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:hover,\n:host([appearance=transparent][color=red]) a:hover*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][color=red]) button:focus,\n:host([appearance=transparent][color=red]) a:focus*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:active,\n:host([appearance=transparent][color=red]) a:active*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][color=red]) button calcite-loader,\n:host([appearance=transparent][color=red]) a calcite-loader*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].enable-editing-button) button*/[appearance=transparent][color=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][color=inverse]) button, \n:host([appearance=transparent][color=inverse]) a, \n:host([appearance=transparent][color=inverse]) calcite-loader*/[appearance=transparent][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted, \n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]:not([appearance=transparent])) button.content--slotted,\n:host([scale=m]:not([appearance=transparent])) a.content--slotted*/[scale=m].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]:not([appearance=transparent])) button.content--slotted,\n:host([scale=l]:not([appearance=transparent])) a.content--slotted*/[scale=l].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:11px}/*!@:host([scale=l][appearance=transparent]) button.content--slotted,\n:host([scale=l][appearance=transparent]) a.content--slotted*/[scale=l][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=s][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][appearance=transparent]) a:not(.content--slotted)*/[scale=s][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=m][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][appearance=transparent]) a:not(.content--slotted)*/[scale=m][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:1rem;margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2.75rem}";
|
|
9818
9820
|
|
|
9819
9821
|
/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
|
|
9820
9822
|
/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */
|
|
@@ -9840,7 +9842,7 @@ class Button {
|
|
|
9840
9842
|
*
|
|
9841
9843
|
* @default "Loading"
|
|
9842
9844
|
*/
|
|
9843
|
-
this.intlLoading = TEXT$
|
|
9845
|
+
this.intlLoading = TEXT$n.loading;
|
|
9844
9846
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
9845
9847
|
this.loading = false;
|
|
9846
9848
|
/** optionally add a round style to the button */
|
|
@@ -9909,14 +9911,14 @@ class Button {
|
|
|
9909
9911
|
render() {
|
|
9910
9912
|
const childElType = this.href ? "a" : "button";
|
|
9911
9913
|
const Tag = childElType;
|
|
9912
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
9913
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9914
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9915
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
9914
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$M.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$M.loadingIn : CSS$M.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
9915
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$M.icon]: true, [CSS$M.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
9916
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$M.icon]: true, [CSS$M.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
9917
|
+
const contentEl = (hAsync("span", { class: CSS$M.content }, hAsync("slot", null)));
|
|
9916
9918
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
9917
|
-
[CSS$
|
|
9918
|
-
[CSS$
|
|
9919
|
-
[CSS$
|
|
9919
|
+
[CSS$M.contentSlotted]: this.hasContent,
|
|
9920
|
+
[CSS$M.iconStartEmpty]: !this.iconStart,
|
|
9921
|
+
[CSS$M.iconEndEmpty]: !this.iconEnd
|
|
9920
9922
|
}, 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));
|
|
9921
9923
|
}
|
|
9922
9924
|
//--------------------------------------------------------------------------
|
|
@@ -9989,7 +9991,7 @@ class Button {
|
|
|
9989
9991
|
}; }
|
|
9990
9992
|
}
|
|
9991
9993
|
|
|
9992
|
-
const CSS$
|
|
9994
|
+
const CSS$L = {
|
|
9993
9995
|
container: "container",
|
|
9994
9996
|
header: "header",
|
|
9995
9997
|
footer: "footer",
|
|
@@ -9998,20 +10000,20 @@ const CSS$K = {
|
|
|
9998
10000
|
checkboxWrapper: "checkbox-wrapper",
|
|
9999
10001
|
thumbnailWrapper: "thumbnail-wrapper"
|
|
10000
10002
|
};
|
|
10001
|
-
const SLOTS$
|
|
10003
|
+
const SLOTS$m = {
|
|
10002
10004
|
thumbnail: "thumbnail",
|
|
10003
10005
|
title: "title",
|
|
10004
10006
|
subtitle: "subtitle",
|
|
10005
10007
|
footerLeading: "footer-leading",
|
|
10006
10008
|
footerTrailing: "footer-trailing"
|
|
10007
10009
|
};
|
|
10008
|
-
const TEXT$
|
|
10010
|
+
const TEXT$m = {
|
|
10009
10011
|
select: "Select",
|
|
10010
10012
|
deselect: "Deselect",
|
|
10011
10013
|
loading: "Loading"
|
|
10012
10014
|
};
|
|
10013
10015
|
|
|
10014
|
-
const cardCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-card:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-card{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-card{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-card{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-card{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-card{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-card:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-card-h{display:none}/*!@:host*/.sc-calcite-card-h{display:block;max-inline-size:100%}/*!@:host .calcite-card-container*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}
|
|
10016
|
+
const cardCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-card:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-card{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-card{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-card{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-card{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-card{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-card:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-card-h{display:none}/*!@:host*/.sc-calcite-card-h{display:block;max-inline-size:100%}/*!@:host .calcite-card-container*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}/*!@.container*/.container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}/*!@:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container)*/[loading].sc-calcite-card-h .calcite-card-container.sc-calcite-card *.sc-calcite-card:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}/*!@:host([loading]) .calcite-card-loader-container*/[loading].sc-calcite-card-h .calcite-card-loader-container.sc-calcite-card{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.header, \n.footer*/.header.sc-calcite-card,.footer.sc-calcite-card{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}/*!@.header*/.header.sc-calcite-card{-ms-flex-direction:column;flex-direction:column}/*!@.footer*/.footer.sc-calcite-card{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}/*!@.card-content*/.card-content.sc-calcite-card{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}/*!@:host([selected]) .calcite-card-container*/[selected].sc-calcite-card-h .calcite-card-container.sc-calcite-card{border-color:var(--calcite-ui-brand)}/*!@slot[name=title]::slotted(*), \n*::slotted([slot=title])*/slot[name=title].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=title]{margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=subtitle]::slotted(*), \n*::slotted([slot=subtitle])*/slot[name=subtitle].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=subtitle]{margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@slot[name=thumbnail]::slotted(img), \nimg::slotted([slot=thumbnail])*/slot[name=thumbnail].sc-calcite-card-s>img,img.sc-calcite-card-s>[slot=thumbnail]{min-inline-size:100%;max-inline-size:100%}/*!@slot[name=footer-leading]::slotted(*), \n*::slotted([slot=footer-leading])*/slot[name=footer-leading].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-leading]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}/*!@slot[name=footer-trailing]::slotted(*), \n*::slotted([slot=footer-trailing])*/slot[name=footer-trailing].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-trailing]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.checkbox-wrapper*/.checkbox-wrapper.sc-calcite-card{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}/*!@.thumbnail-wrapper*/.thumbnail-wrapper.sc-calcite-card{display:-ms-flexbox;display:flex}/*!@.calcite-card-container.inline*/.calcite-card-container.inline.sc-calcite-card{-ms-flex-direction:row;flex-direction:row}/*!@.calcite-card-container.inline > .container*/.calcite-card-container.inline.sc-calcite-card>.container.sc-calcite-card{inline-size:60%}/*!@.calcite-card-container.inline > .thumbnail-wrapper*/.calcite-card-container.inline.sc-calcite-card>.thumbnail-wrapper.sc-calcite-card{inline-size:40%;-ms-flex-align:start;align-items:flex-start}/*!@.calcite-card-container.inline slot[name=thumbnail]::slotted(img), \n.calcite-card-container.inline img::slotted([slot=thumbnail])*/.calcite-card-container.inline slot[name=thumbnail].sc-calcite-card-s>img,.calcite-card-container.inline img.sc-calcite-card-s>[slot=thumbnail]{inline-size:100%}/*!@slot[name=footer-leading]::slotted(*), \nslot[name=footer-trailing]::slotted(*)*/slot[name=footer-leading].sc-calcite-card-s>*,slot[name=footer-trailing].sc-calcite-card-s>*{display:-ms-flexbox;display:flex;gap:0.25rem}";
|
|
10015
10017
|
|
|
10016
10018
|
/**
|
|
10017
10019
|
* Cards do not include a grid or bounding container
|
|
@@ -10045,19 +10047,19 @@ class Card {
|
|
|
10045
10047
|
*
|
|
10046
10048
|
* @default "Loading"
|
|
10047
10049
|
*/
|
|
10048
|
-
this.intlLoading = TEXT$
|
|
10050
|
+
this.intlLoading = TEXT$m.loading;
|
|
10049
10051
|
/**
|
|
10050
10052
|
* string to override English select text for checkbox when selectable is true
|
|
10051
10053
|
*
|
|
10052
10054
|
* @default "Select"
|
|
10053
10055
|
*/
|
|
10054
|
-
this.intlSelect = TEXT$
|
|
10056
|
+
this.intlSelect = TEXT$m.select;
|
|
10055
10057
|
/**
|
|
10056
10058
|
* string to override English deselect text for checkbox when selectable is true
|
|
10057
10059
|
*
|
|
10058
10060
|
* @default "Deselect"
|
|
10059
10061
|
*/
|
|
10060
|
-
this.intlDeselect = TEXT$
|
|
10062
|
+
this.intlDeselect = TEXT$m.deselect;
|
|
10061
10063
|
this.thumbnailPosition = "block-start";
|
|
10062
10064
|
//--------------------------------------------------------------------------
|
|
10063
10065
|
//
|
|
@@ -10096,32 +10098,32 @@ class Card {
|
|
|
10096
10098
|
render() {
|
|
10097
10099
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
10098
10100
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
10099
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
10101
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$L.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
10100
10102
|
}
|
|
10101
10103
|
selectCard() {
|
|
10102
10104
|
this.selected = !this.selected;
|
|
10103
10105
|
this.calciteCardSelect.emit();
|
|
10104
10106
|
}
|
|
10105
10107
|
renderThumbnail() {
|
|
10106
|
-
return getSlotted(this.el, SLOTS$
|
|
10108
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$L.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
10107
10109
|
}
|
|
10108
10110
|
renderCheckbox() {
|
|
10109
10111
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
10110
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
10112
|
+
return (hAsync("calcite-label", { class: CSS$L.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
10111
10113
|
}
|
|
10112
10114
|
renderHeader() {
|
|
10113
10115
|
const { el } = this;
|
|
10114
|
-
const title = getSlotted(el, SLOTS$
|
|
10115
|
-
const subtitle = getSlotted(el, SLOTS$
|
|
10116
|
+
const title = getSlotted(el, SLOTS$m.title);
|
|
10117
|
+
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
10116
10118
|
const hasHeader = title || subtitle;
|
|
10117
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
10119
|
+
return hasHeader ? (hAsync("header", { class: CSS$L.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
10118
10120
|
}
|
|
10119
10121
|
renderFooter() {
|
|
10120
10122
|
const { el } = this;
|
|
10121
|
-
const leadingFooter = getSlotted(el, SLOTS$
|
|
10122
|
-
const trailingFooter = getSlotted(el, SLOTS$
|
|
10123
|
+
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
10124
|
+
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
10123
10125
|
const hasFooter = leadingFooter || trailingFooter;
|
|
10124
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
10126
|
+
return hasFooter ? (hAsync("footer", { class: CSS$L.footer }, hAsync("slot", { name: SLOTS$m.footerLeading }), hAsync("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
10125
10127
|
}
|
|
10126
10128
|
get el() { return getElement(this); }
|
|
10127
10129
|
static get style() { return cardCss; }
|
|
@@ -10284,24 +10286,24 @@ class Checkbox {
|
|
|
10284
10286
|
}; }
|
|
10285
10287
|
}
|
|
10286
10288
|
|
|
10287
|
-
const CSS$
|
|
10289
|
+
const CSS$K = {
|
|
10288
10290
|
title: "title",
|
|
10289
10291
|
close: "close",
|
|
10290
10292
|
imageContainer: "image-container",
|
|
10291
10293
|
chipIcon: "chip-icon",
|
|
10292
10294
|
closeIcon: "close-icon"
|
|
10293
10295
|
};
|
|
10294
|
-
const TEXT$
|
|
10296
|
+
const TEXT$l = {
|
|
10295
10297
|
close: "Close"
|
|
10296
10298
|
};
|
|
10297
|
-
const SLOTS$
|
|
10299
|
+
const SLOTS$l = {
|
|
10298
10300
|
image: "image"
|
|
10299
10301
|
};
|
|
10300
|
-
const ICONS$
|
|
10302
|
+
const ICONS$b = {
|
|
10301
10303
|
close: "x"
|
|
10302
10304
|
};
|
|
10303
10305
|
|
|
10304
|
-
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-chip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-chip{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-chip{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-chip{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-chip{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-chip{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-chip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-chip-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-chip-h{block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}/*!@:host([scale=s]) .image-container*/[scale=s].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.25rem;inline-size:1.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-chip-h{block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}/*!@:host([scale=m]) .image-container*/[scale=m].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.5rem;inline-size:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-chip-h{block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}/*!@:host([scale=l]) .image-container*/[scale=l].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:2rem;inline-size:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host*/.sc-calcite-chip-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;block-size:100%;max-inline-size:100%;-ms-flex-align:center;align-items:center}/*!@.title*/.title.sc-calcite-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host span*/.sc-calcite-chip-h span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host([closable]) span*/[closable].sc-calcite-chip-h span.sc-calcite-chip{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}/*!@:host([icon]:not([closable])) span*/[icon].sc-calcite-chip-h:not([closable]) span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host button*/.sc-calcite-chip-h button.sc-calcite-chip{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-block-size:100%;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}/*!@:host button:hover*/.sc-calcite-chip-h button.sc-calcite-chip:hover{background-color:var(--calcite-chip-transparent-hover)}/*!@:host button:focus*/.sc-calcite-chip-h button.sc-calcite-chip:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host button:active*/.sc-calcite-chip-h button.sc-calcite-chip:active{background-color:var(--calcite-chip-transparent-press)}/*!@.image-container*/.image-container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}/*!@:host slot[name=image]::slotted(*)*/.sc-calcite-chip-h slot[name=image].sc-calcite-chip-s>*{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}/*!@.chip-icon*/.chip-icon.sc-calcite-chip{position:relative;margin-block:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}/*!@:host([color=blue][appearance=solid])*/[color=blue][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red][appearance=solid])*/[color=red][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=yellow][appearance=solid])*/[color=yellow][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}/*!@:host([color=green][appearance=solid])*/[color=green][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}/*!@:host([color=grey][appearance=solid])*/[color=grey][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host([color=grey][appearance=solid]) button,\n:host([color=grey][appearance=solid]) .close-icon*/[color=grey][appearance=solid].sc-calcite-chip-h button.sc-calcite-chip,[color=grey][appearance=solid].sc-calcite-chip-h .close-icon.sc-calcite-chip{color:var(--calcite-ui-text-3)}/*!@:host([color=grey][appearance=solid]) .chip-icon*/[color=grey][appearance=solid].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([color=blue][appearance=clear])*/[color=blue][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-info)}/*!@:host([color=blue][appearance=clear]) .chip-icon*/[color=blue][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}/*!@:host([color=red][appearance=clear])*/[color=red][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-danger)}/*!@:host([color=red][appearance=clear]) .chip-icon*/[color=red][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}/*!@:host([color=yellow][appearance=clear])*/[color=yellow][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-warning)}/*!@:host([color=yellow][appearance=clear]) .chip-icon*/[color=yellow][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}/*!@:host([color=green][appearance=clear])*/[color=green][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-success)}/*!@:host([color=green][appearance=clear]) .chip-icon*/[color=green][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}/*!@:host([color=grey][appearance=clear])*/[color=grey][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-border-1)}/*!@:host([color=grey][appearance=clear]) .chip-icon*/[color=grey][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([closed])*/[closed].sc-calcite-chip-h{display:none}";
|
|
10306
|
+
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-chip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-chip{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-chip{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-chip{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-chip{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-chip{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-chip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-chip-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-chip-h{block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}/*!@:host([scale=s]) .image-container*/[scale=s].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.25rem;inline-size:1.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-chip-h{block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}/*!@:host([scale=m]) .image-container*/[scale=m].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.5rem;inline-size:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-chip-h{block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}/*!@:host([scale=l]) .image-container*/[scale=l].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:2rem;inline-size:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host*/.sc-calcite-chip-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;block-size:100%;max-inline-size:100%;-ms-flex-align:center;align-items:center}/*!@.title*/.title.sc-calcite-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host span*/.sc-calcite-chip-h span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host([closable]) span*/[closable].sc-calcite-chip-h span.sc-calcite-chip{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}/*!@:host([icon]:not([closable])) span*/[icon].sc-calcite-chip-h:not([closable]) span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host button*/.sc-calcite-chip-h button.sc-calcite-chip{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-block-size:100%;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}/*!@:host button:hover*/.sc-calcite-chip-h button.sc-calcite-chip:hover{background-color:var(--calcite-chip-transparent-hover)}/*!@:host button:focus*/.sc-calcite-chip-h button.sc-calcite-chip:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host button:active*/.sc-calcite-chip-h button.sc-calcite-chip:active{background-color:var(--calcite-chip-transparent-press)}/*!@.image-container*/.image-container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}/*!@:host slot[name=image]::slotted(*)*/.sc-calcite-chip-h slot[name=image].sc-calcite-chip-s>*{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}/*!@.chip-icon*/.chip-icon.sc-calcite-chip{position:relative;margin-block:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}/*!@:host([color=blue])*/[color=blue].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red])*/[color=red].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=yellow])*/[color=yellow].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}/*!@:host([color=green])*/[color=green].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}/*!@:host([color=grey])*/[color=grey].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host([color=grey]) button,\n:host([color=grey]) .close-icon*/[color=grey].sc-calcite-chip-h button.sc-calcite-chip,[color=grey].sc-calcite-chip-h .close-icon.sc-calcite-chip{color:var(--calcite-ui-text-3)}/*!@:host([color=grey]) .chip-icon*/[color=grey].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([appearance=clear]), \n:host([appearance=transparent])*/[appearance=clear].sc-calcite-chip-h,[appearance=transparent].sc-calcite-chip-h{background-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([color=blue][appearance=clear]),\n:host([color=blue][appearance=transparent])*/[color=blue][appearance=clear].sc-calcite-chip-h,[color=blue][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-info)}/*!@:host([color=blue][appearance=clear]) .chip-icon,\n:host([color=blue][appearance=transparent]) .chip-icon*/[color=blue][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=blue][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}/*!@:host([color=red][appearance=clear]),\n:host([color=red][appearance=transparent])*/[color=red][appearance=clear].sc-calcite-chip-h,[color=red][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-danger)}/*!@:host([color=red][appearance=clear]) .chip-icon,\n:host([color=red][appearance=transparent]) .chip-icon*/[color=red][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=red][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}/*!@:host([color=yellow][appearance=clear]),\n:host([color=yellow][appearance=transparent])*/[color=yellow][appearance=clear].sc-calcite-chip-h,[color=yellow][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-warning)}/*!@:host([color=yellow][appearance=clear]) .chip-icon,\n:host([color=yellow][appearance=transparent]) .chip-icon*/[color=yellow][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=yellow][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}/*!@:host([color=green][appearance=clear]),\n:host([color=green][appearance=transparent])*/[color=green][appearance=clear].sc-calcite-chip-h,[color=green][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-success)}/*!@:host([color=green][appearance=clear]) .chip-icon,\n:host([color=green][appearance=transparent]) .chip-icon*/[color=green][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=green][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}/*!@:host([color=grey][appearance=clear]),\n:host([color=grey][appearance=transparent])*/[color=grey][appearance=clear].sc-calcite-chip-h,[color=grey][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-border-1)}/*!@:host([color=grey][appearance=clear]) .chip-icon,\n:host([color=grey][appearance=transparent]) .chip-icon*/[color=grey][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=grey][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([closed])*/[closed].sc-calcite-chip-h{display:none}";
|
|
10305
10307
|
|
|
10306
10308
|
/**
|
|
10307
10309
|
* @slot - A slot for adding text.
|
|
@@ -10333,7 +10335,7 @@ class Chip {
|
|
|
10333
10335
|
*
|
|
10334
10336
|
* @default "Close"
|
|
10335
10337
|
*/
|
|
10336
|
-
this.dismissLabel = TEXT$
|
|
10338
|
+
this.dismissLabel = TEXT$l.close;
|
|
10337
10339
|
/** flip the icon in rtl */
|
|
10338
10340
|
this.iconFlipRtl = false;
|
|
10339
10341
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -10392,13 +10394,13 @@ class Chip {
|
|
|
10392
10394
|
//--------------------------------------------------------------------------
|
|
10393
10395
|
renderChipImage() {
|
|
10394
10396
|
const { el } = this;
|
|
10395
|
-
const hasChipImage = getSlotted(el, SLOTS$
|
|
10396
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10397
|
+
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
10398
|
+
return hasChipImage ? (hAsync("div", { class: CSS$K.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image }))) : null;
|
|
10397
10399
|
}
|
|
10398
10400
|
render() {
|
|
10399
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10400
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10401
|
-
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
10401
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$K.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
10402
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$K.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$K.closeIcon, icon: ICONS$b.close, scale: "s" })));
|
|
10403
|
+
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$K.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
|
|
10402
10404
|
}
|
|
10403
10405
|
get el() { return getElement(this); }
|
|
10404
10406
|
static get watchers() { return {
|
|
@@ -12538,7 +12540,7 @@ function zeroArray(array, length) {
|
|
|
12538
12540
|
|
|
12539
12541
|
var color = Color;
|
|
12540
12542
|
|
|
12541
|
-
const CSS$
|
|
12543
|
+
const CSS$J = {
|
|
12542
12544
|
container: "container",
|
|
12543
12545
|
controlSection: "control-section",
|
|
12544
12546
|
hexOptions: "color-hex-options",
|
|
@@ -12576,7 +12578,7 @@ const HSV_LIMITS = {
|
|
|
12576
12578
|
s: 100,
|
|
12577
12579
|
v: 100
|
|
12578
12580
|
};
|
|
12579
|
-
const TEXT$
|
|
12581
|
+
const TEXT$k = {
|
|
12580
12582
|
b: "B",
|
|
12581
12583
|
blue: "Blue",
|
|
12582
12584
|
deleteColor: "Delete color",
|
|
@@ -12673,8 +12675,8 @@ class ColorPicker {
|
|
|
12673
12675
|
* When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
|
|
12674
12676
|
*/
|
|
12675
12677
|
this.allowEmpty = false;
|
|
12676
|
-
/** specify the appearance -
|
|
12677
|
-
this.appearance = "
|
|
12678
|
+
/** specify the appearance - solid (containing border), or minimal (no containing border) */
|
|
12679
|
+
this.appearance = "solid";
|
|
12678
12680
|
/**
|
|
12679
12681
|
* Internal prop for advanced use-cases.
|
|
12680
12682
|
*
|
|
@@ -12704,115 +12706,115 @@ class ColorPicker {
|
|
|
12704
12706
|
*
|
|
12705
12707
|
* @default "B"
|
|
12706
12708
|
*/
|
|
12707
|
-
this.intlB = TEXT$
|
|
12709
|
+
this.intlB = TEXT$k.b;
|
|
12708
12710
|
/**
|
|
12709
12711
|
* Label used for the blue channel description
|
|
12710
12712
|
*
|
|
12711
12713
|
* @default "Blue"
|
|
12712
12714
|
*/
|
|
12713
|
-
this.intlBlue = TEXT$
|
|
12715
|
+
this.intlBlue = TEXT$k.blue;
|
|
12714
12716
|
/**
|
|
12715
12717
|
* Label used for the delete color button.
|
|
12716
12718
|
*
|
|
12717
12719
|
* @default "Delete color"
|
|
12718
12720
|
*/
|
|
12719
|
-
this.intlDeleteColor = TEXT$
|
|
12721
|
+
this.intlDeleteColor = TEXT$k.deleteColor;
|
|
12720
12722
|
/**
|
|
12721
12723
|
* Label used for the green channel
|
|
12722
12724
|
*
|
|
12723
12725
|
* @default "G"
|
|
12724
12726
|
*/
|
|
12725
|
-
this.intlG = TEXT$
|
|
12727
|
+
this.intlG = TEXT$k.g;
|
|
12726
12728
|
/**
|
|
12727
12729
|
* Label used for the green channel description
|
|
12728
12730
|
*
|
|
12729
12731
|
* @default "Green"
|
|
12730
12732
|
*/
|
|
12731
|
-
this.intlGreen = TEXT$
|
|
12733
|
+
this.intlGreen = TEXT$k.green;
|
|
12732
12734
|
/**
|
|
12733
12735
|
* Label used for the hue channel
|
|
12734
12736
|
*
|
|
12735
12737
|
* @default "H"
|
|
12736
12738
|
*/
|
|
12737
|
-
this.intlH = TEXT$
|
|
12739
|
+
this.intlH = TEXT$k.h;
|
|
12738
12740
|
/**
|
|
12739
12741
|
* Label used for the HSV mode
|
|
12740
12742
|
*
|
|
12741
12743
|
* @default "HSV"
|
|
12742
12744
|
*/
|
|
12743
|
-
this.intlHsv = TEXT$
|
|
12745
|
+
this.intlHsv = TEXT$k.hsv;
|
|
12744
12746
|
/**
|
|
12745
12747
|
* Label used for the hex input
|
|
12746
12748
|
*
|
|
12747
12749
|
* @default "Hex"
|
|
12748
12750
|
*/
|
|
12749
|
-
this.intlHex = TEXT$
|
|
12751
|
+
this.intlHex = TEXT$k.hex;
|
|
12750
12752
|
/**
|
|
12751
12753
|
* Label used for the hue channel description
|
|
12752
12754
|
*
|
|
12753
12755
|
* @default "Hue"
|
|
12754
12756
|
*/
|
|
12755
|
-
this.intlHue = TEXT$
|
|
12757
|
+
this.intlHue = TEXT$k.hue;
|
|
12756
12758
|
/**
|
|
12757
12759
|
* Label used for the hex input when there is no color selected.
|
|
12758
12760
|
*
|
|
12759
12761
|
* @default "No color"
|
|
12760
12762
|
*/
|
|
12761
|
-
this.intlNoColor = TEXT$
|
|
12763
|
+
this.intlNoColor = TEXT$k.noColor;
|
|
12762
12764
|
/**
|
|
12763
12765
|
* Label used for the red channel
|
|
12764
12766
|
*
|
|
12765
12767
|
* @default "R"
|
|
12766
12768
|
*/
|
|
12767
|
-
this.intlR = TEXT$
|
|
12769
|
+
this.intlR = TEXT$k.r;
|
|
12768
12770
|
/**
|
|
12769
12771
|
* Label used for the red channel description
|
|
12770
12772
|
*
|
|
12771
12773
|
* @default "Red"
|
|
12772
12774
|
*/
|
|
12773
|
-
this.intlRed = TEXT$
|
|
12775
|
+
this.intlRed = TEXT$k.red;
|
|
12774
12776
|
/**
|
|
12775
12777
|
* Label used for the RGB mode
|
|
12776
12778
|
*
|
|
12777
12779
|
* @default "RGB"
|
|
12778
12780
|
*/
|
|
12779
|
-
this.intlRgb = TEXT$
|
|
12781
|
+
this.intlRgb = TEXT$k.rgb;
|
|
12780
12782
|
/**
|
|
12781
12783
|
* Label used for the saturation channel
|
|
12782
12784
|
*
|
|
12783
12785
|
* @default "S"
|
|
12784
12786
|
*/
|
|
12785
|
-
this.intlS = TEXT$
|
|
12787
|
+
this.intlS = TEXT$k.s;
|
|
12786
12788
|
/**
|
|
12787
12789
|
* Label used for the saturation channel description
|
|
12788
12790
|
*
|
|
12789
12791
|
* @default "Saturation"
|
|
12790
12792
|
*/
|
|
12791
|
-
this.intlSaturation = TEXT$
|
|
12793
|
+
this.intlSaturation = TEXT$k.saturation;
|
|
12792
12794
|
/**
|
|
12793
12795
|
* Label used for the save color button.
|
|
12794
12796
|
*
|
|
12795
12797
|
* @default "Save color"
|
|
12796
12798
|
*/
|
|
12797
|
-
this.intlSaveColor = TEXT$
|
|
12799
|
+
this.intlSaveColor = TEXT$k.saveColor;
|
|
12798
12800
|
/**
|
|
12799
12801
|
* Label used for the saved colors section
|
|
12800
12802
|
*
|
|
12801
12803
|
* @default "Saved"
|
|
12802
12804
|
*/
|
|
12803
|
-
this.intlSaved = TEXT$
|
|
12805
|
+
this.intlSaved = TEXT$k.saved;
|
|
12804
12806
|
/**
|
|
12805
12807
|
* Label used for the value channel
|
|
12806
12808
|
*
|
|
12807
12809
|
* @default "V"
|
|
12808
12810
|
*/
|
|
12809
|
-
this.intlV = TEXT$
|
|
12811
|
+
this.intlV = TEXT$k.v;
|
|
12810
12812
|
/**
|
|
12811
12813
|
* Label used for the
|
|
12812
12814
|
*
|
|
12813
12815
|
* @default "Value"
|
|
12814
12816
|
*/
|
|
12815
|
-
this.intlValue = TEXT$
|
|
12817
|
+
this.intlValue = TEXT$k.value;
|
|
12816
12818
|
/**
|
|
12817
12819
|
* The scale of the color picker.
|
|
12818
12820
|
*/
|
|
@@ -13078,7 +13080,7 @@ class ColorPicker {
|
|
|
13078
13080
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
13079
13081
|
const active = channelMode === activeChannelMode;
|
|
13080
13082
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
13081
|
-
return (hAsync("calcite-tab-title", { active: active, class: CSS$
|
|
13083
|
+
return (hAsync("calcite-tab-title", { active: active, class: CSS$J.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
13082
13084
|
};
|
|
13083
13085
|
this.renderChannelsTab = (channelMode) => {
|
|
13084
13086
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -13089,11 +13091,11 @@ class ColorPicker {
|
|
|
13089
13091
|
? [intlRed, intlGreen, intlBlue]
|
|
13090
13092
|
: [intlHue, intlSaturation, intlValue];
|
|
13091
13093
|
const direction = getElementDir(this.el);
|
|
13092
|
-
return (hAsync("calcite-tab", { active: active, class: CSS$
|
|
13094
|
+
return (hAsync("calcite-tab", { active: active, class: CSS$J.control, key: channelMode }, hAsync("div", { class: CSS$J.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
13093
13095
|
/* the channel container is ltr, so we apply the host's direction */
|
|
13094
13096
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
13095
13097
|
};
|
|
13096
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
13098
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$J.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() }));
|
|
13097
13099
|
this.deleteColor = () => {
|
|
13098
13100
|
const colorToDelete = this.color.hex();
|
|
13099
13101
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13196,7 +13198,7 @@ class ColorPicker {
|
|
|
13196
13198
|
this.shiftKeyChannelAdjustment = 0;
|
|
13197
13199
|
const { key } = event;
|
|
13198
13200
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13199
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
13201
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$J.channel); })) {
|
|
13200
13202
|
return;
|
|
13201
13203
|
}
|
|
13202
13204
|
const { shiftKey } = event;
|
|
@@ -13267,20 +13269,20 @@ class ColorPicker {
|
|
|
13267
13269
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13268
13270
|
const noColor = color === null;
|
|
13269
13271
|
const vertical = scopeOrientation === "vertical";
|
|
13270
|
-
return (hAsync("div", { class: CSS$
|
|
13271
|
-
[CSS$
|
|
13272
|
-
[CSS$
|
|
13273
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
13274
|
-
[CSS$
|
|
13275
|
-
[CSS$
|
|
13276
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13277
|
-
[CSS$
|
|
13278
|
-
[CSS$
|
|
13279
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13280
|
-
[CSS$
|
|
13281
|
-
[CSS$
|
|
13282
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
13283
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
13272
|
+
return (hAsync("div", { class: CSS$J.container }, hAsync("div", { class: CSS$J.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
13273
|
+
[CSS$J.colorFieldAndSlider]: true,
|
|
13274
|
+
[CSS$J.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
13275
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$J.scope]: true, [CSS$J.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$J.scope]: true, [CSS$J.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
13276
|
+
[CSS$J.controlSection]: true,
|
|
13277
|
+
[CSS$J.section]: true
|
|
13278
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$J.hexOptions }, hAsync("span", { class: {
|
|
13279
|
+
[CSS$J.header]: true,
|
|
13280
|
+
[CSS$J.headerHex]: true
|
|
13281
|
+
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$J.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13282
|
+
[CSS$J.colorModeContainer]: true,
|
|
13283
|
+
[CSS$J.splitSection]: true
|
|
13284
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$J.savedColorsSection]: true, [CSS$J.section]: true } }, hAsync("div", { class: CSS$J.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$J.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$J.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$J.savedColors }, [
|
|
13285
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$J.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
13284
13286
|
])) : null))));
|
|
13285
13287
|
}
|
|
13286
13288
|
// --------------------------------------------------------------------------
|
|
@@ -13526,7 +13528,7 @@ class ColorPicker {
|
|
|
13526
13528
|
}; }
|
|
13527
13529
|
}
|
|
13528
13530
|
|
|
13529
|
-
const CSS$
|
|
13531
|
+
const CSS$I = {
|
|
13530
13532
|
container: "container",
|
|
13531
13533
|
preview: "preview",
|
|
13532
13534
|
input: "input"
|
|
@@ -13555,13 +13557,13 @@ class ColorPickerHexInput {
|
|
|
13555
13557
|
*
|
|
13556
13558
|
* @default "Hex"
|
|
13557
13559
|
*/
|
|
13558
|
-
this.intlHex = TEXT$
|
|
13560
|
+
this.intlHex = TEXT$k.hex;
|
|
13559
13561
|
/**
|
|
13560
13562
|
* Label used for the hex input when there is no color selected.
|
|
13561
13563
|
*
|
|
13562
13564
|
* @default "No color"
|
|
13563
13565
|
*/
|
|
13564
|
-
this.intlNoColor = TEXT$
|
|
13566
|
+
this.intlNoColor = TEXT$k.noColor;
|
|
13565
13567
|
/**
|
|
13566
13568
|
* The component's scale.
|
|
13567
13569
|
*/
|
|
@@ -13662,7 +13664,7 @@ class ColorPickerHexInput {
|
|
|
13662
13664
|
render() {
|
|
13663
13665
|
const { intlHex, value } = this;
|
|
13664
13666
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13665
|
-
return (hAsync("div", { class: CSS$
|
|
13667
|
+
return (hAsync("div", { class: CSS$I.container }, hAsync("calcite-input", { class: CSS$I.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$I.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13666
13668
|
}
|
|
13667
13669
|
//--------------------------------------------------------------------------
|
|
13668
13670
|
//
|
|
@@ -13738,7 +13740,7 @@ class ColorPickerHexInput {
|
|
|
13738
13740
|
}; }
|
|
13739
13741
|
}
|
|
13740
13742
|
|
|
13741
|
-
const CSS$
|
|
13743
|
+
const CSS$H = {
|
|
13742
13744
|
swatch: "swatch",
|
|
13743
13745
|
noColorIcon: "no-color-icon"
|
|
13744
13746
|
};
|
|
@@ -13783,7 +13785,7 @@ class ColorPickerSwatch {
|
|
|
13783
13785
|
const hex = internalColor.hex();
|
|
13784
13786
|
const theme = getThemeName(el);
|
|
13785
13787
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
13786
|
-
return (hAsync("svg", { class: CSS$
|
|
13788
|
+
return (hAsync("svg", { class: CSS$H.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
13787
13789
|
}
|
|
13788
13790
|
get el() { return getElement(this); }
|
|
13789
13791
|
static get watchers() { return {
|
|
@@ -15496,7 +15498,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
15496
15498
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
15497
15499
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
15498
15500
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
15499
|
-
const TEXT$
|
|
15501
|
+
const TEXT$j = {
|
|
15500
15502
|
removeTag: "Remove tag"
|
|
15501
15503
|
};
|
|
15502
15504
|
|
|
@@ -15591,7 +15593,7 @@ class Combobox {
|
|
|
15591
15593
|
*
|
|
15592
15594
|
* @default "Remove tag"
|
|
15593
15595
|
*/
|
|
15594
|
-
this.intlRemoveTag = TEXT$
|
|
15596
|
+
this.intlRemoveTag = TEXT$j.removeTag;
|
|
15595
15597
|
//--------------------------------------------------------------------------
|
|
15596
15598
|
//
|
|
15597
15599
|
// Private State/Props
|
|
@@ -16334,7 +16336,7 @@ class Combobox {
|
|
|
16334
16336
|
wrapper: true,
|
|
16335
16337
|
"wrapper--single": single || !this.selectedItems.length,
|
|
16336
16338
|
"wrapper--active": open || active
|
|
16337
|
-
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox"
|
|
16339
|
+
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox" }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
16338
16340
|
}
|
|
16339
16341
|
get el() { return getElement(this); }
|
|
16340
16342
|
static get watchers() { return {
|
|
@@ -16387,7 +16389,7 @@ class Combobox {
|
|
|
16387
16389
|
}; }
|
|
16388
16390
|
}
|
|
16389
16391
|
|
|
16390
|
-
const CSS$
|
|
16392
|
+
const CSS$G = {
|
|
16391
16393
|
icon: "icon",
|
|
16392
16394
|
iconActive: "icon--active",
|
|
16393
16395
|
custom: "icon--custom",
|
|
@@ -16479,18 +16481,18 @@ class ComboboxItem {
|
|
|
16479
16481
|
// --------------------------------------------------------------------------
|
|
16480
16482
|
renderIcon(isSingle) {
|
|
16481
16483
|
const { icon, disabled, selected } = this;
|
|
16482
|
-
const level = `${CSS$
|
|
16484
|
+
const level = `${CSS$G.icon}--indent`;
|
|
16483
16485
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16484
16486
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16485
16487
|
const showDot = isSingle && !icon && !disabled;
|
|
16486
16488
|
return showDot ? (hAsync("span", { class: {
|
|
16487
|
-
[CSS$
|
|
16488
|
-
[CSS$
|
|
16489
|
+
[CSS$G.icon]: true,
|
|
16490
|
+
[CSS$G.dot]: true,
|
|
16489
16491
|
[level]: true
|
|
16490
16492
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16491
|
-
[CSS$
|
|
16492
|
-
[CSS$
|
|
16493
|
-
[CSS$
|
|
16493
|
+
[CSS$G.icon]: !icon,
|
|
16494
|
+
[CSS$G.custom]: !!icon,
|
|
16495
|
+
[CSS$G.iconActive]: icon && selected,
|
|
16494
16496
|
[level]: true
|
|
16495
16497
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16496
16498
|
}
|
|
@@ -16503,13 +16505,13 @@ class ComboboxItem {
|
|
|
16503
16505
|
render() {
|
|
16504
16506
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16505
16507
|
const classes = {
|
|
16506
|
-
[CSS$
|
|
16507
|
-
[CSS$
|
|
16508
|
-
[CSS$
|
|
16509
|
-
[CSS$
|
|
16508
|
+
[CSS$G.label]: true,
|
|
16509
|
+
[CSS$G.selected]: this.selected,
|
|
16510
|
+
[CSS$G.active]: this.active,
|
|
16511
|
+
[CSS$G.single]: isSingleSelect
|
|
16510
16512
|
};
|
|
16511
16513
|
const depth = getDepth();
|
|
16512
|
-
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
16514
|
+
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$G.title }, this.textLabel)), this.renderChildren())));
|
|
16513
16515
|
}
|
|
16514
16516
|
get el() { return getElement(this); }
|
|
16515
16517
|
static get watchers() { return {
|
|
@@ -16538,7 +16540,7 @@ class ComboboxItem {
|
|
|
16538
16540
|
}; }
|
|
16539
16541
|
}
|
|
16540
16542
|
|
|
16541
|
-
const CSS$
|
|
16543
|
+
const CSS$F = {
|
|
16542
16544
|
list: "list",
|
|
16543
16545
|
label: "label",
|
|
16544
16546
|
title: "title"
|
|
@@ -16571,8 +16573,8 @@ class ComboboxItemGroup {
|
|
|
16571
16573
|
// --------------------------------------------------------------------------
|
|
16572
16574
|
render() {
|
|
16573
16575
|
const { el, scale } = this;
|
|
16574
|
-
const indent = `${CSS$
|
|
16575
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
16576
|
+
const indent = `${CSS$F.label}--indent-${getDepth()}`;
|
|
16577
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$F.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$F.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$F.title }, this.label)), hAsync("slot", null)));
|
|
16576
16578
|
}
|
|
16577
16579
|
get el() { return getElement(this); }
|
|
16578
16580
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -16974,7 +16976,7 @@ function getDaysDiff(date1, date2) {
|
|
|
16974
16976
|
}
|
|
16975
16977
|
|
|
16976
16978
|
const HEADING_LEVEL$6 = 2;
|
|
16977
|
-
const TEXT$
|
|
16979
|
+
const TEXT$i = {
|
|
16978
16980
|
nextMonth: "Next month",
|
|
16979
16981
|
prevMonth: "Previous month",
|
|
16980
16982
|
year: "Year"
|
|
@@ -16992,19 +16994,19 @@ class DatePicker {
|
|
|
16992
16994
|
*
|
|
16993
16995
|
* @default "Previous month"
|
|
16994
16996
|
*/
|
|
16995
|
-
this.intlPrevMonth = TEXT$
|
|
16997
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
16996
16998
|
/**
|
|
16997
16999
|
* Localized string for "next month" (used for aria label)
|
|
16998
17000
|
*
|
|
16999
17001
|
* @default "Next month"
|
|
17000
17002
|
*/
|
|
17001
|
-
this.intlNextMonth = TEXT$
|
|
17003
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
17002
17004
|
/**
|
|
17003
17005
|
* Localized string for "year" (used for aria label)
|
|
17004
17006
|
*
|
|
17005
17007
|
* @default "Year"
|
|
17006
17008
|
*/
|
|
17007
|
-
this.intlYear = TEXT$
|
|
17009
|
+
this.intlYear = TEXT$i.year;
|
|
17008
17010
|
/** BCP 47 language tag for desired language and country format */
|
|
17009
17011
|
this.locale = document.documentElement.lang || "en";
|
|
17010
17012
|
/** specify the scale of the date picker */
|
|
@@ -18019,7 +18021,7 @@ class DatePickerMonthHeader {
|
|
|
18019
18021
|
}; }
|
|
18020
18022
|
}
|
|
18021
18023
|
|
|
18022
|
-
const SLOTS$
|
|
18024
|
+
const SLOTS$k = {
|
|
18023
18025
|
dropdownTrigger: "dropdown-trigger"
|
|
18024
18026
|
};
|
|
18025
18027
|
|
|
@@ -18279,7 +18281,7 @@ class Dropdown {
|
|
|
18279
18281
|
}
|
|
18280
18282
|
render() {
|
|
18281
18283
|
const { open, guid } = this;
|
|
18282
|
-
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$
|
|
18284
|
+
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$k.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
18283
18285
|
["calcite-dropdown-content"]: true,
|
|
18284
18286
|
[FloatingCSS.animation]: true,
|
|
18285
18287
|
[FloatingCSS.animationActive]: open
|
|
@@ -18486,7 +18488,7 @@ class Dropdown {
|
|
|
18486
18488
|
}; }
|
|
18487
18489
|
}
|
|
18488
18490
|
|
|
18489
|
-
const CSS$
|
|
18491
|
+
const CSS$E = {
|
|
18490
18492
|
containerSmall: "container--s",
|
|
18491
18493
|
containerMedium: "container--m",
|
|
18492
18494
|
containerLarge: "container--l"
|
|
@@ -18521,9 +18523,9 @@ class DropdownGroup {
|
|
|
18521
18523
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18522
18524
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18523
18525
|
container: true,
|
|
18524
|
-
[CSS$
|
|
18525
|
-
[CSS$
|
|
18526
|
-
[CSS$
|
|
18526
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
18527
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
18528
|
+
[CSS$E.containerLarge]: scale === "l"
|
|
18527
18529
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18528
18530
|
}
|
|
18529
18531
|
//--------------------------------------------------------------------------
|
|
@@ -18563,7 +18565,7 @@ class DropdownGroup {
|
|
|
18563
18565
|
}; }
|
|
18564
18566
|
}
|
|
18565
18567
|
|
|
18566
|
-
const CSS$
|
|
18568
|
+
const CSS$D = {
|
|
18567
18569
|
containerLink: "container--link",
|
|
18568
18570
|
containerSmall: "container--s",
|
|
18569
18571
|
containerMedium: "container--m",
|
|
@@ -18653,13 +18655,13 @@ class DropdownItem {
|
|
|
18653
18655
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
18654
18656
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18655
18657
|
container: true,
|
|
18656
|
-
[CSS$
|
|
18657
|
-
[CSS$
|
|
18658
|
-
[CSS$
|
|
18659
|
-
[CSS$
|
|
18660
|
-
[CSS$
|
|
18661
|
-
[CSS$
|
|
18662
|
-
[CSS$
|
|
18658
|
+
[CSS$D.containerLink]: !!this.href,
|
|
18659
|
+
[CSS$D.containerSmall]: scale === "s",
|
|
18660
|
+
[CSS$D.containerMedium]: scale === "m",
|
|
18661
|
+
[CSS$D.containerLarge]: scale === "l",
|
|
18662
|
+
[CSS$D.containerMulti]: this.selectionMode === "multi",
|
|
18663
|
+
[CSS$D.containerSingle]: this.selectionMode === "single",
|
|
18664
|
+
[CSS$D.containerNone]: this.selectionMode === "none"
|
|
18663
18665
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18664
18666
|
}
|
|
18665
18667
|
//--------------------------------------------------------------------------
|
|
@@ -18770,10 +18772,10 @@ class DropdownItem {
|
|
|
18770
18772
|
}; }
|
|
18771
18773
|
}
|
|
18772
18774
|
|
|
18773
|
-
const CSS$
|
|
18775
|
+
const CSS$C = {
|
|
18774
18776
|
button: "button"
|
|
18775
18777
|
};
|
|
18776
|
-
const ICONS$
|
|
18778
|
+
const ICONS$a = {
|
|
18777
18779
|
plus: "plus"
|
|
18778
18780
|
};
|
|
18779
18781
|
|
|
@@ -18804,7 +18806,7 @@ class Fab {
|
|
|
18804
18806
|
*
|
|
18805
18807
|
* @default "plus"
|
|
18806
18808
|
*/
|
|
18807
|
-
this.icon = ICONS$
|
|
18809
|
+
this.icon = ICONS$a.plus;
|
|
18808
18810
|
/**
|
|
18809
18811
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
18810
18812
|
*/
|
|
@@ -18843,7 +18845,7 @@ class Fab {
|
|
|
18843
18845
|
render() {
|
|
18844
18846
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
18845
18847
|
const title = !textEnabled ? label || text || null : null;
|
|
18846
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
18848
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$C.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
18847
18849
|
this.buttonEl = buttonEl;
|
|
18848
18850
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
18849
18851
|
}
|
|
@@ -18870,15 +18872,15 @@ class Fab {
|
|
|
18870
18872
|
}; }
|
|
18871
18873
|
}
|
|
18872
18874
|
|
|
18873
|
-
const CSS$
|
|
18875
|
+
const CSS$B = {
|
|
18874
18876
|
container: "container",
|
|
18875
18877
|
searchIcon: "search-icon"
|
|
18876
18878
|
};
|
|
18877
|
-
const TEXT$
|
|
18879
|
+
const TEXT$h = {
|
|
18878
18880
|
filterLabel: "Filter",
|
|
18879
18881
|
clear: "Clear filter"
|
|
18880
18882
|
};
|
|
18881
|
-
const ICONS$
|
|
18883
|
+
const ICONS$9 = {
|
|
18882
18884
|
search: "search",
|
|
18883
18885
|
close: "x"
|
|
18884
18886
|
};
|
|
@@ -18989,7 +18991,7 @@ class Filter {
|
|
|
18989
18991
|
// --------------------------------------------------------------------------
|
|
18990
18992
|
render() {
|
|
18991
18993
|
const { disabled, scale } = this;
|
|
18992
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
18994
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$B.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$9.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
18993
18995
|
this.textInput = el;
|
|
18994
18996
|
}, scale: scale, type: "text", value: this.value })))));
|
|
18995
18997
|
}
|
|
@@ -19019,52 +19021,52 @@ class Filter {
|
|
|
19019
19021
|
}; }
|
|
19020
19022
|
}
|
|
19021
19023
|
|
|
19022
|
-
const CSS$
|
|
19024
|
+
const CSS$A = {
|
|
19023
19025
|
frame: "frame",
|
|
19024
19026
|
frameAdvancing: "frame--advancing",
|
|
19025
19027
|
frameRetreating: "frame--retreating"
|
|
19026
19028
|
};
|
|
19027
19029
|
|
|
19028
|
-
const flowCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-h *.sc-calcite-flow{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-h{display:none}/*!@:host*/.sc-calcite-flow-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}/*!@:host .frame*/.sc-calcite-flow-h .frame.sc-calcite-flow{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}/*!@:host ::slotted(calcite-panel)*/.sc-calcite-flow-h .sc-calcite-flow-s>calcite-panel{block-size:100%}/*!@:host ::slotted(.calcite-match-height:last-child)*/.sc-calcite-flow-h .sc-calcite-flow-s>.calcite-match-height:last-child{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host .frame--advancing*/.sc-calcite-flow-h .frame--advancing.sc-calcite-flow{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}/*!@:host .frame--retreating*/.sc-calcite-flow-h .frame--retreating.sc-calcite-flow{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
19030
|
+
const flowCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-h *.sc-calcite-flow{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-h{display:none}/*!@:host*/.sc-calcite-flow-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}/*!@:host .frame*/.sc-calcite-flow-h .frame.sc-calcite-flow{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}/*!@:host ::slotted(calcite-flow-item), \n:host ::slotted(calcite-panel)*/.sc-calcite-flow-h .sc-calcite-flow-s>calcite-flow-item,.sc-calcite-flow-h .sc-calcite-flow-s>calcite-panel{block-size:100%}/*!@:host ::slotted(.calcite-match-height:last-child)*/.sc-calcite-flow-h .sc-calcite-flow-s>.calcite-match-height:last-child{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host .frame--advancing*/.sc-calcite-flow-h .frame--advancing.sc-calcite-flow{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}/*!@:host .frame--retreating*/.sc-calcite-flow-h .frame--retreating.sc-calcite-flow{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
19029
19031
|
|
|
19030
19032
|
/**
|
|
19031
|
-
* @slot - A slot for adding `calcite-panel`s to the flow.
|
|
19033
|
+
* @slot - A slot for adding `calcite-flow-item` or `calcite-panel`s (deprecated) to the flow.
|
|
19032
19034
|
*/
|
|
19033
19035
|
class Flow {
|
|
19034
19036
|
constructor(hostRef) {
|
|
19035
19037
|
registerInstance(this, hostRef);
|
|
19036
|
-
this.panelCount = 0;
|
|
19037
19038
|
this.flowDirection = null;
|
|
19038
|
-
this.
|
|
19039
|
-
this.
|
|
19040
|
-
this.
|
|
19041
|
-
|
|
19042
|
-
const
|
|
19039
|
+
this.itemCount = 0;
|
|
19040
|
+
this.items = [];
|
|
19041
|
+
this.itemMutationObserver = createObserver();
|
|
19042
|
+
this.getFlowDirection = (oldFlowItemCount, newFlowItemCount) => {
|
|
19043
|
+
const allowRetreatingDirection = oldFlowItemCount > 1;
|
|
19044
|
+
const allowAdvancingDirection = oldFlowItemCount && newFlowItemCount > 1;
|
|
19043
19045
|
if (!allowAdvancingDirection && !allowRetreatingDirection) {
|
|
19044
19046
|
return null;
|
|
19045
19047
|
}
|
|
19046
|
-
return
|
|
19048
|
+
return newFlowItemCount < oldFlowItemCount ? "retreating" : "advancing";
|
|
19047
19049
|
};
|
|
19048
19050
|
this.updateFlowProps = () => {
|
|
19049
|
-
const { el,
|
|
19050
|
-
const
|
|
19051
|
-
const
|
|
19052
|
-
const
|
|
19053
|
-
const
|
|
19054
|
-
const
|
|
19055
|
-
if (
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19051
|
+
const { el, items } = this;
|
|
19052
|
+
const newItems = Array.from(el.querySelectorAll("calcite-flow-item, calcite-panel")).filter((flowItem) => !flowItem.matches("calcite-flow-item calcite-flow-item, calcite-panel calcite-panel"));
|
|
19053
|
+
const oldItemCount = items.length;
|
|
19054
|
+
const newItemCount = newItems.length;
|
|
19055
|
+
const activeItem = newItems[newItemCount - 1];
|
|
19056
|
+
const previousItem = newItems[newItemCount - 2];
|
|
19057
|
+
if (newItemCount && activeItem) {
|
|
19058
|
+
newItems.forEach((itemNode) => {
|
|
19059
|
+
itemNode.showBackButton = itemNode === activeItem && newItemCount > 1;
|
|
19060
|
+
itemNode.hidden = itemNode !== activeItem;
|
|
19059
19061
|
});
|
|
19060
19062
|
}
|
|
19061
|
-
if (
|
|
19062
|
-
|
|
19063
|
+
if (previousItem) {
|
|
19064
|
+
previousItem.menuOpen = false;
|
|
19063
19065
|
}
|
|
19064
|
-
this.
|
|
19065
|
-
if (
|
|
19066
|
-
const flowDirection = this.getFlowDirection(
|
|
19067
|
-
this.
|
|
19066
|
+
this.items = newItems;
|
|
19067
|
+
if (oldItemCount !== newItemCount) {
|
|
19068
|
+
const flowDirection = this.getFlowDirection(oldItemCount, newItemCount);
|
|
19069
|
+
this.itemCount = newItemCount;
|
|
19068
19070
|
this.flowDirection = flowDirection;
|
|
19069
19071
|
}
|
|
19070
19072
|
};
|
|
@@ -19075,11 +19077,11 @@ class Flow {
|
|
|
19075
19077
|
//
|
|
19076
19078
|
// --------------------------------------------------------------------------
|
|
19077
19079
|
/**
|
|
19078
|
-
* Removes the currently active `calcite-panel`.
|
|
19080
|
+
* Removes the currently active `calcite-flow-item` or `calcite-panel`.
|
|
19079
19081
|
*/
|
|
19080
19082
|
async back() {
|
|
19081
|
-
const {
|
|
19082
|
-
const lastItem =
|
|
19083
|
+
const { items } = this;
|
|
19084
|
+
const lastItem = items[items.length - 1];
|
|
19083
19085
|
if (!lastItem) {
|
|
19084
19086
|
return;
|
|
19085
19087
|
}
|
|
@@ -19098,19 +19100,19 @@ class Flow {
|
|
|
19098
19100
|
// --------------------------------------------------------------------------
|
|
19099
19101
|
connectedCallback() {
|
|
19100
19102
|
var _a;
|
|
19101
|
-
(_a = this.
|
|
19103
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
19102
19104
|
this.updateFlowProps();
|
|
19103
19105
|
}
|
|
19104
19106
|
disconnectedCallback() {
|
|
19105
19107
|
var _a;
|
|
19106
|
-
(_a = this.
|
|
19108
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19107
19109
|
}
|
|
19108
19110
|
// --------------------------------------------------------------------------
|
|
19109
19111
|
//
|
|
19110
19112
|
// Private Methods
|
|
19111
19113
|
//
|
|
19112
19114
|
// --------------------------------------------------------------------------
|
|
19113
|
-
|
|
19115
|
+
handleItemBackClick() {
|
|
19114
19116
|
this.back();
|
|
19115
19117
|
}
|
|
19116
19118
|
// --------------------------------------------------------------------------
|
|
@@ -19121,9 +19123,9 @@ class Flow {
|
|
|
19121
19123
|
render() {
|
|
19122
19124
|
const { flowDirection } = this;
|
|
19123
19125
|
const frameDirectionClasses = {
|
|
19124
|
-
[CSS$
|
|
19125
|
-
[CSS$
|
|
19126
|
-
[CSS$
|
|
19126
|
+
[CSS$A.frame]: true,
|
|
19127
|
+
[CSS$A.frameAdvancing]: flowDirection === "advancing",
|
|
19128
|
+
[CSS$A.frameRetreating]: flowDirection === "retreating"
|
|
19127
19129
|
};
|
|
19128
19130
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19129
19131
|
}
|
|
@@ -19133,17 +19135,218 @@ class Flow {
|
|
|
19133
19135
|
"$flags$": 9,
|
|
19134
19136
|
"$tagName$": "calcite-flow",
|
|
19135
19137
|
"$members$": {
|
|
19136
|
-
"panelCount": [32],
|
|
19137
19138
|
"flowDirection": [32],
|
|
19138
|
-
"
|
|
19139
|
+
"itemCount": [32],
|
|
19140
|
+
"items": [32],
|
|
19139
19141
|
"back": [64]
|
|
19140
19142
|
},
|
|
19141
|
-
"$listeners$": [[0, "calcitePanelBackClick", "
|
|
19143
|
+
"$listeners$": [[0, "calciteFlowItemBackClick", "handleItemBackClick"], [0, "calcitePanelBackClick", "handleItemBackClick"]],
|
|
19142
19144
|
"$lazyBundleId$": "-",
|
|
19143
19145
|
"$attrsToReflect$": []
|
|
19144
19146
|
}; }
|
|
19145
19147
|
}
|
|
19146
19148
|
|
|
19149
|
+
const CSS$z = {
|
|
19150
|
+
backButton: "back-button"
|
|
19151
|
+
};
|
|
19152
|
+
const ICONS$8 = {
|
|
19153
|
+
backLeft: "chevron-left",
|
|
19154
|
+
backRight: "chevron-right"
|
|
19155
|
+
};
|
|
19156
|
+
const TEXT$g = {
|
|
19157
|
+
back: "Back"
|
|
19158
|
+
};
|
|
19159
|
+
const SLOTS$j = {
|
|
19160
|
+
headerActionsStart: "header-actions-start",
|
|
19161
|
+
headerActionsEnd: "header-actions-end",
|
|
19162
|
+
headerMenuActions: "header-menu-actions",
|
|
19163
|
+
headerContent: "header-content",
|
|
19164
|
+
fab: "fab",
|
|
19165
|
+
footer: "footer",
|
|
19166
|
+
footerActions: "footer-actions"
|
|
19167
|
+
};
|
|
19168
|
+
|
|
19169
|
+
const CSS$y = {
|
|
19170
|
+
backButton: "back-button",
|
|
19171
|
+
container: "container",
|
|
19172
|
+
header: "header",
|
|
19173
|
+
heading: "heading",
|
|
19174
|
+
summary: "summary",
|
|
19175
|
+
description: "description",
|
|
19176
|
+
headerContent: "header-content",
|
|
19177
|
+
headerActions: "header-actions",
|
|
19178
|
+
headerActionsEnd: "header-actions--end",
|
|
19179
|
+
headerActionsStart: "header-actions--start",
|
|
19180
|
+
contentWrapper: "content-wrapper",
|
|
19181
|
+
contentContainer: "content-container",
|
|
19182
|
+
contentHeight: "content-height",
|
|
19183
|
+
fabContainer: "fab-container",
|
|
19184
|
+
footer: "footer"
|
|
19185
|
+
};
|
|
19186
|
+
const ICONS$7 = {
|
|
19187
|
+
close: "x",
|
|
19188
|
+
menu: "ellipsis",
|
|
19189
|
+
backLeft: "chevron-left",
|
|
19190
|
+
backRight: "chevron-right"
|
|
19191
|
+
};
|
|
19192
|
+
const SLOTS$i = {
|
|
19193
|
+
headerActionsStart: "header-actions-start",
|
|
19194
|
+
headerActionsEnd: "header-actions-end",
|
|
19195
|
+
headerMenuActions: "header-menu-actions",
|
|
19196
|
+
headerContent: "header-content",
|
|
19197
|
+
fab: "fab",
|
|
19198
|
+
footer: "footer",
|
|
19199
|
+
footerActions: "footer-actions"
|
|
19200
|
+
};
|
|
19201
|
+
const TEXT$f = {
|
|
19202
|
+
back: "Back",
|
|
19203
|
+
close: "Close",
|
|
19204
|
+
open: "Open",
|
|
19205
|
+
options: "Options"
|
|
19206
|
+
};
|
|
19207
|
+
const HEADING_LEVEL$5 = 3;
|
|
19208
|
+
|
|
19209
|
+
const flowItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow-item{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-item-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-item-h *.sc-calcite-flow-item{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-flow-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-flow-item-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-flow-item-h [calcite-hydrated][disabled].sc-calcite-flow-item{opacity:1}/*!@.back-button*/.back-button.sc-calcite-flow-item{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}";
|
|
19210
|
+
|
|
19211
|
+
/**
|
|
19212
|
+
* @slot - A slot for adding custom content.
|
|
19213
|
+
* @slot header-actions-start - A slot for adding actions or content to the start side of the header.
|
|
19214
|
+
* @slot header-actions-end - A slot for adding actions or content to the end side of the header.
|
|
19215
|
+
* @slot header-content - A slot for adding custom content to the header.
|
|
19216
|
+
* @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
|
|
19217
|
+
* @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
|
|
19218
|
+
* @slot footer-actions - A slot for adding buttons to the footer.
|
|
19219
|
+
* @slot footer - A slot for adding custom content to the footer.
|
|
19220
|
+
*/
|
|
19221
|
+
class FlowItem {
|
|
19222
|
+
constructor(hostRef) {
|
|
19223
|
+
registerInstance(this, hostRef);
|
|
19224
|
+
this.calciteFlowItemBackClick = createEvent(this, "calciteFlowItemBackClick", 6);
|
|
19225
|
+
// --------------------------------------------------------------------------
|
|
19226
|
+
//
|
|
19227
|
+
// Properties
|
|
19228
|
+
//
|
|
19229
|
+
// --------------------------------------------------------------------------
|
|
19230
|
+
/** When true, displays a close button in the trailing side of the header */
|
|
19231
|
+
this.closable = false;
|
|
19232
|
+
/** When true, flow-item will be hidden */
|
|
19233
|
+
this.closed = false;
|
|
19234
|
+
/**
|
|
19235
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
19236
|
+
*/
|
|
19237
|
+
this.disabled = false;
|
|
19238
|
+
/**
|
|
19239
|
+
* When true, a busy indicator is displayed.
|
|
19240
|
+
*/
|
|
19241
|
+
this.loading = false;
|
|
19242
|
+
/**
|
|
19243
|
+
* When true, the action menu items in the `header-menu-actions` slot are open.
|
|
19244
|
+
*/
|
|
19245
|
+
this.menuOpen = false;
|
|
19246
|
+
/**
|
|
19247
|
+
* When true, displays a back button in the header.
|
|
19248
|
+
*/
|
|
19249
|
+
this.showBackButton = false;
|
|
19250
|
+
// --------------------------------------------------------------------------
|
|
19251
|
+
//
|
|
19252
|
+
// Private Methods
|
|
19253
|
+
//
|
|
19254
|
+
// --------------------------------------------------------------------------
|
|
19255
|
+
this.backButtonClick = () => {
|
|
19256
|
+
this.calciteFlowItemBackClick.emit();
|
|
19257
|
+
};
|
|
19258
|
+
this.setBackRef = (node) => {
|
|
19259
|
+
this.backButtonEl = node;
|
|
19260
|
+
};
|
|
19261
|
+
}
|
|
19262
|
+
//--------------------------------------------------------------------------
|
|
19263
|
+
//
|
|
19264
|
+
// Lifecycle
|
|
19265
|
+
//
|
|
19266
|
+
//--------------------------------------------------------------------------
|
|
19267
|
+
componentDidRender() {
|
|
19268
|
+
updateHostInteraction(this);
|
|
19269
|
+
}
|
|
19270
|
+
// --------------------------------------------------------------------------
|
|
19271
|
+
//
|
|
19272
|
+
// Methods
|
|
19273
|
+
//
|
|
19274
|
+
// --------------------------------------------------------------------------
|
|
19275
|
+
/**
|
|
19276
|
+
* Sets focus on the component.
|
|
19277
|
+
*/
|
|
19278
|
+
async setFocus() {
|
|
19279
|
+
const { backButtonEl, containerEl } = this;
|
|
19280
|
+
if (backButtonEl) {
|
|
19281
|
+
backButtonEl.setFocus();
|
|
19282
|
+
return;
|
|
19283
|
+
}
|
|
19284
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.setFocus();
|
|
19285
|
+
}
|
|
19286
|
+
/**
|
|
19287
|
+
* Scrolls the component's content to a specified set of coordinates.
|
|
19288
|
+
*
|
|
19289
|
+
* ```
|
|
19290
|
+
* myCalciteFlowItem.scrollContentTo({
|
|
19291
|
+
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
|
19292
|
+
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
|
19293
|
+
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
|
19294
|
+
* });
|
|
19295
|
+
* ```
|
|
19296
|
+
*
|
|
19297
|
+
* @param options
|
|
19298
|
+
*/
|
|
19299
|
+
async scrollContentTo(options) {
|
|
19300
|
+
var _a;
|
|
19301
|
+
(_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.scrollContentTo(options);
|
|
19302
|
+
}
|
|
19303
|
+
// --------------------------------------------------------------------------
|
|
19304
|
+
//
|
|
19305
|
+
// Render Methods
|
|
19306
|
+
//
|
|
19307
|
+
// --------------------------------------------------------------------------
|
|
19308
|
+
renderBackButton() {
|
|
19309
|
+
const { el } = this;
|
|
19310
|
+
const rtl = getElementDir(el) === "rtl";
|
|
19311
|
+
const { showBackButton, intlBack, backButtonClick } = this;
|
|
19312
|
+
const label = intlBack || TEXT$g.back;
|
|
19313
|
+
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
19314
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
19315
|
+
}
|
|
19316
|
+
render() {
|
|
19317
|
+
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
19318
|
+
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, heightScale: heightScale, intlBack: intlBack, intlClose: intlClose, intlOptions: intlOptions, loading: loading, menuOpen: menuOpen, widthScale: widthScale }, hAsync("slot", { name: SLOTS$j.headerActionsStart, slot: SLOTS$i.headerActionsStart }), hAsync("slot", { name: SLOTS$j.headerActionsEnd, slot: SLOTS$i.headerActionsEnd }), hAsync("slot", { name: SLOTS$j.headerContent, slot: SLOTS$i.headerContent }), hAsync("slot", { name: SLOTS$j.headerMenuActions, slot: SLOTS$i.headerMenuActions }), hAsync("slot", { name: SLOTS$j.fab, slot: SLOTS$i.fab }), hAsync("slot", { name: SLOTS$j.footerActions, slot: SLOTS$i.footerActions }), hAsync("slot", { name: SLOTS$j.footer, slot: SLOTS$i.footer }), hAsync("slot", null), this.renderBackButton())));
|
|
19319
|
+
}
|
|
19320
|
+
get el() { return getElement(this); }
|
|
19321
|
+
static get style() { return flowItemCss; }
|
|
19322
|
+
static get cmpMeta() { return {
|
|
19323
|
+
"$flags$": 9,
|
|
19324
|
+
"$tagName$": "calcite-flow-item",
|
|
19325
|
+
"$members$": {
|
|
19326
|
+
"closable": [1540],
|
|
19327
|
+
"closed": [1540],
|
|
19328
|
+
"beforeBack": [16],
|
|
19329
|
+
"description": [1],
|
|
19330
|
+
"disabled": [516],
|
|
19331
|
+
"heading": [1],
|
|
19332
|
+
"headingLevel": [2, "heading-level"],
|
|
19333
|
+
"heightScale": [513, "height-scale"],
|
|
19334
|
+
"intlBack": [1, "intl-back"],
|
|
19335
|
+
"intlClose": [1, "intl-close"],
|
|
19336
|
+
"intlOptions": [1, "intl-options"],
|
|
19337
|
+
"loading": [516],
|
|
19338
|
+
"menuOpen": [516, "menu-open"],
|
|
19339
|
+
"showBackButton": [516, "show-back-button"],
|
|
19340
|
+
"widthScale": [513, "width-scale"],
|
|
19341
|
+
"setFocus": [64],
|
|
19342
|
+
"scrollContentTo": [64]
|
|
19343
|
+
},
|
|
19344
|
+
"$listeners$": undefined,
|
|
19345
|
+
"$lazyBundleId$": "-",
|
|
19346
|
+
"$attrsToReflect$": [["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["heightScale", "height-scale"], ["loading", "loading"], ["menuOpen", "menu-open"], ["showBackButton", "show-back-button"], ["widthScale", "width-scale"]]
|
|
19347
|
+
}; }
|
|
19348
|
+
}
|
|
19349
|
+
|
|
19147
19350
|
/**
|
|
19148
19351
|
* Calculate slope of the tangents
|
|
19149
19352
|
* uses Steffen interpolation as it's monotonic
|
|
@@ -19375,11 +19578,11 @@ class Graph {
|
|
|
19375
19578
|
}; }
|
|
19376
19579
|
}
|
|
19377
19580
|
|
|
19378
|
-
const CSS$
|
|
19581
|
+
const CSS$x = {
|
|
19379
19582
|
handle: "handle",
|
|
19380
19583
|
handleActivated: "handle--activated"
|
|
19381
19584
|
};
|
|
19382
|
-
const ICONS$
|
|
19585
|
+
const ICONS$6 = {
|
|
19383
19586
|
drag: "drag"
|
|
19384
19587
|
};
|
|
19385
19588
|
|
|
@@ -19446,9 +19649,9 @@ class Handle {
|
|
|
19446
19649
|
render() {
|
|
19447
19650
|
return (
|
|
19448
19651
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19449
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
19652
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$x.handle]: true, [CSS$x.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
19450
19653
|
this.handleButton = el;
|
|
19451
|
-
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$
|
|
19654
|
+
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
19452
19655
|
}
|
|
19453
19656
|
get el() { return getElement(this); }
|
|
19454
19657
|
static get style() { return handleCss; }
|
|
@@ -19466,7 +19669,7 @@ class Handle {
|
|
|
19466
19669
|
}; }
|
|
19467
19670
|
}
|
|
19468
19671
|
|
|
19469
|
-
const CSS$
|
|
19672
|
+
const CSS$w = {
|
|
19470
19673
|
icon: "icon",
|
|
19471
19674
|
flipRtl: "flip-rtl"
|
|
19472
19675
|
};
|
|
@@ -19527,7 +19730,7 @@ class Icon {
|
|
|
19527
19730
|
const semantic = !!textLabel;
|
|
19528
19731
|
const paths = [].concat(pathData || "");
|
|
19529
19732
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19530
|
-
[CSS$
|
|
19733
|
+
[CSS$w.flipRtl]: dir === "rtl" && flipRtl,
|
|
19531
19734
|
svg: true
|
|
19532
19735
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
19533
19736
|
}
|
|
@@ -19573,7 +19776,7 @@ class Icon {
|
|
|
19573
19776
|
}; }
|
|
19574
19777
|
}
|
|
19575
19778
|
|
|
19576
|
-
const CSS$
|
|
19779
|
+
const CSS$v = {
|
|
19577
19780
|
wrapper: "wrapper",
|
|
19578
19781
|
confirmChangesButton: "confirm-changes-button",
|
|
19579
19782
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -19582,7 +19785,7 @@ const CSS$w = {
|
|
|
19582
19785
|
enableEditingButton: "enable-editing-button",
|
|
19583
19786
|
controlsWrapper: "controls-wrapper"
|
|
19584
19787
|
};
|
|
19585
|
-
const TEXT$
|
|
19788
|
+
const TEXT$e = {
|
|
19586
19789
|
intlEnablingEditing: "Click to edit",
|
|
19587
19790
|
intlCancelEditing: "Cancel",
|
|
19588
19791
|
intlConfirmChanges: "Save"
|
|
@@ -19617,19 +19820,19 @@ class InlineEditable {
|
|
|
19617
19820
|
*
|
|
19618
19821
|
* @default "Click to edit"
|
|
19619
19822
|
*/
|
|
19620
|
-
this.intlEnableEditing = TEXT$
|
|
19823
|
+
this.intlEnableEditing = TEXT$e.intlEnablingEditing;
|
|
19621
19824
|
/**
|
|
19622
19825
|
* specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
|
|
19623
19826
|
*
|
|
19624
19827
|
* @default "Cancel"
|
|
19625
19828
|
*/
|
|
19626
|
-
this.intlCancelEditing = TEXT$
|
|
19829
|
+
this.intlCancelEditing = TEXT$e.intlCancelEditing;
|
|
19627
19830
|
/**
|
|
19628
19831
|
* specify text to be user for the confirm changes button's aria-label, defaults to `Save`
|
|
19629
19832
|
*
|
|
19630
19833
|
* @default "Save"
|
|
19631
19834
|
*/
|
|
19632
|
-
this.intlConfirmChanges = TEXT$
|
|
19835
|
+
this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
|
|
19633
19836
|
this.mutationObserver = createObserver();
|
|
19634
19837
|
this.enableEditing = () => {
|
|
19635
19838
|
var _a, _b;
|
|
@@ -19737,12 +19940,12 @@ class InlineEditable {
|
|
|
19737
19940
|
updateHostInteraction(this);
|
|
19738
19941
|
}
|
|
19739
19942
|
render() {
|
|
19740
|
-
return (hAsync("div", { class: CSS$
|
|
19943
|
+
return (hAsync("div", { class: CSS$v.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$v.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$v.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
19741
19944
|
opacity: this.editingEnabled ? "0" : "1",
|
|
19742
19945
|
width: this.editingEnabled ? "0" : "inherit"
|
|
19743
19946
|
}, type: "button" }), this.shouldShowControls && [
|
|
19744
|
-
hAsync("div", { class: CSS$
|
|
19745
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
19947
|
+
hAsync("div", { class: CSS$v.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
19948
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$v.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" })
|
|
19746
19949
|
])));
|
|
19747
19950
|
}
|
|
19748
19951
|
//--------------------------------------------------------------------------
|
|
@@ -19824,7 +20027,7 @@ class InlineEditable {
|
|
|
19824
20027
|
}; }
|
|
19825
20028
|
}
|
|
19826
20029
|
|
|
19827
|
-
const CSS$
|
|
20030
|
+
const CSS$u = {
|
|
19828
20031
|
loader: "loader",
|
|
19829
20032
|
clearButton: "clear-button",
|
|
19830
20033
|
editingEnabled: "editing-enabled",
|
|
@@ -19848,10 +20051,10 @@ const INPUT_TYPE_ICONS = {
|
|
|
19848
20051
|
time: "clock",
|
|
19849
20052
|
search: "search"
|
|
19850
20053
|
};
|
|
19851
|
-
const SLOTS$
|
|
20054
|
+
const SLOTS$h = {
|
|
19852
20055
|
action: "action"
|
|
19853
20056
|
};
|
|
19854
|
-
const TEXT$
|
|
20057
|
+
const TEXT$d = {
|
|
19855
20058
|
clear: "Clear value"
|
|
19856
20059
|
};
|
|
19857
20060
|
|
|
@@ -19905,7 +20108,7 @@ class Input {
|
|
|
19905
20108
|
*
|
|
19906
20109
|
* @default "Loading"
|
|
19907
20110
|
*/
|
|
19908
|
-
this.intlLoading = TEXT$
|
|
20111
|
+
this.intlLoading = TEXT$v.loading;
|
|
19909
20112
|
/** When true, the icon is flipped in RTL. */
|
|
19910
20113
|
this.iconFlipRtl = false;
|
|
19911
20114
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -20403,34 +20606,34 @@ class Input {
|
|
|
20403
20606
|
// --------------------------------------------------------------------------
|
|
20404
20607
|
render() {
|
|
20405
20608
|
const dir = getElementDir(this.el);
|
|
20406
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20407
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
20408
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
20609
|
+
const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
20610
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
20611
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
20409
20612
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20410
20613
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20411
|
-
[CSS$
|
|
20412
|
-
[CSS$
|
|
20614
|
+
[CSS$u.numberButtonItem]: true,
|
|
20615
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20413
20616
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
20414
20617
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20415
|
-
[CSS$
|
|
20416
|
-
[CSS$
|
|
20618
|
+
[CSS$u.numberButtonItem]: true,
|
|
20619
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20417
20620
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
20418
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20419
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20420
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
20621
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
20622
|
+
const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
|
|
20623
|
+
const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
|
|
20421
20624
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
20422
20625
|
const childEl = this.type !== "number"
|
|
20423
20626
|
? [
|
|
20424
20627
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20425
|
-
[CSS$
|
|
20426
|
-
[CSS$
|
|
20628
|
+
[CSS$u.editingEnabled]: this.editingEnabled,
|
|
20629
|
+
[CSS$u.inlineChild]: !!this.inlineEditableEl
|
|
20427
20630
|
}, 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 }),
|
|
20428
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20631
|
+
this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20429
20632
|
]
|
|
20430
20633
|
: null;
|
|
20431
|
-
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
20634
|
+
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20432
20635
|
? numberButtonsHorizontalDown
|
|
20433
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
20636
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
20434
20637
|
? numberButtonsVertical
|
|
20435
20638
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20436
20639
|
? numberButtonsHorizontalUp
|
|
@@ -20493,7 +20696,7 @@ class Input {
|
|
|
20493
20696
|
}; }
|
|
20494
20697
|
}
|
|
20495
20698
|
|
|
20496
|
-
const CSS$
|
|
20699
|
+
const CSS$t = {
|
|
20497
20700
|
menu: "menu-container",
|
|
20498
20701
|
menuActive: "menu-container--active"
|
|
20499
20702
|
};
|
|
@@ -20538,19 +20741,19 @@ class InputDatePicker {
|
|
|
20538
20741
|
*
|
|
20539
20742
|
* @default "Previous month"
|
|
20540
20743
|
*/
|
|
20541
|
-
this.intlPrevMonth = TEXT$
|
|
20744
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
20542
20745
|
/**
|
|
20543
20746
|
* Localized string for "next month" (used for aria label)
|
|
20544
20747
|
*
|
|
20545
20748
|
* @default "Next month"
|
|
20546
20749
|
*/
|
|
20547
|
-
this.intlNextMonth = TEXT$
|
|
20750
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
20548
20751
|
/**
|
|
20549
20752
|
* Localized string for "year" (used for aria label)
|
|
20550
20753
|
*
|
|
20551
20754
|
* @default "Year"
|
|
20552
20755
|
*/
|
|
20553
|
-
this.intlYear = TEXT$
|
|
20756
|
+
this.intlYear = TEXT$i.year;
|
|
20554
20757
|
/** BCP 47 language tag for desired language and country format */
|
|
20555
20758
|
this.locale = document.documentElement.lang || "en";
|
|
20556
20759
|
/** specify the scale of the date picker */
|
|
@@ -20829,8 +21032,8 @@ class InputDatePicker {
|
|
|
20829
21032
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20830
21033
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20831
21034
|
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
20832
|
-
[CSS$
|
|
20833
|
-
[CSS$
|
|
21035
|
+
[CSS$t.menu]: true,
|
|
21036
|
+
[CSS$t.menuActive]: this.open
|
|
20834
21037
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
20835
21038
|
["calendar-picker-wrapper"]: true,
|
|
20836
21039
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -21143,7 +21346,7 @@ class InputMessage {
|
|
|
21143
21346
|
}; }
|
|
21144
21347
|
}
|
|
21145
21348
|
|
|
21146
|
-
const CSS$
|
|
21349
|
+
const CSS$s = {
|
|
21147
21350
|
loader: "loader",
|
|
21148
21351
|
clearButton: "clear-button",
|
|
21149
21352
|
editingEnabled: "editing-enabled",
|
|
@@ -21159,10 +21362,10 @@ const CSS$t = {
|
|
|
21159
21362
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
21160
21363
|
numberButtonItem: "number-button-item"
|
|
21161
21364
|
};
|
|
21162
|
-
const SLOTS$
|
|
21365
|
+
const SLOTS$g = {
|
|
21163
21366
|
action: "action"
|
|
21164
21367
|
};
|
|
21165
|
-
const TEXT$
|
|
21368
|
+
const TEXT$c = {
|
|
21166
21369
|
clear: "Clear value"
|
|
21167
21370
|
};
|
|
21168
21371
|
|
|
@@ -21216,7 +21419,7 @@ class InputNumber {
|
|
|
21216
21419
|
*
|
|
21217
21420
|
* @default "Loading"
|
|
21218
21421
|
*/
|
|
21219
|
-
this.intlLoading = TEXT$
|
|
21422
|
+
this.intlLoading = TEXT$v.loading;
|
|
21220
21423
|
/** When true, the icon is flipped in RTL. */
|
|
21221
21424
|
this.iconFlipRtl = false;
|
|
21222
21425
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -21630,25 +21833,25 @@ class InputNumber {
|
|
|
21630
21833
|
// --------------------------------------------------------------------------
|
|
21631
21834
|
render() {
|
|
21632
21835
|
const dir = getElementDir(this.el);
|
|
21633
|
-
const loader = (hAsync("div", { class: CSS$
|
|
21634
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
21635
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
21836
|
+
const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
21837
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
21838
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
21636
21839
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
21637
21840
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
21638
|
-
[CSS$
|
|
21639
|
-
[CSS$
|
|
21841
|
+
[CSS$s.numberButtonItem]: true,
|
|
21842
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21640
21843
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
21641
21844
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
21642
|
-
[CSS$
|
|
21643
|
-
[CSS$
|
|
21845
|
+
[CSS$s.numberButtonItem]: true,
|
|
21846
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21644
21847
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
21645
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
21646
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
21647
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
21848
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
21849
|
+
const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
|
|
21850
|
+
const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
|
|
21648
21851
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
21649
|
-
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
21852
|
+
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
21650
21853
|
? numberButtonsHorizontalDown
|
|
21651
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
21854
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
21652
21855
|
? numberButtonsHorizontalUp
|
|
21653
21856
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
21654
21857
|
}
|
|
@@ -21706,7 +21909,7 @@ class InputNumber {
|
|
|
21706
21909
|
}; }
|
|
21707
21910
|
}
|
|
21708
21911
|
|
|
21709
|
-
const CSS$
|
|
21912
|
+
const CSS$r = {
|
|
21710
21913
|
loader: "loader",
|
|
21711
21914
|
clearButton: "clear-button",
|
|
21712
21915
|
editingEnabled: "editing-enabled",
|
|
@@ -21719,10 +21922,10 @@ const CSS$s = {
|
|
|
21719
21922
|
actionWrapper: "action-wrapper",
|
|
21720
21923
|
resizeIconWrapper: "resize-icon-wrapper"
|
|
21721
21924
|
};
|
|
21722
|
-
const SLOTS$
|
|
21925
|
+
const SLOTS$f = {
|
|
21723
21926
|
action: "action"
|
|
21724
21927
|
};
|
|
21725
|
-
const TEXT$
|
|
21928
|
+
const TEXT$b = {
|
|
21726
21929
|
clear: "Clear value"
|
|
21727
21930
|
};
|
|
21728
21931
|
|
|
@@ -21772,7 +21975,7 @@ class InputText {
|
|
|
21772
21975
|
*
|
|
21773
21976
|
* @default "Loading"
|
|
21774
21977
|
*/
|
|
21775
|
-
this.intlLoading = TEXT$
|
|
21978
|
+
this.intlLoading = TEXT$v.loading;
|
|
21776
21979
|
/** When true, the icon is flipped in RTL. */
|
|
21777
21980
|
this.iconFlipRtl = false;
|
|
21778
21981
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -22014,16 +22217,16 @@ class InputText {
|
|
|
22014
22217
|
// --------------------------------------------------------------------------
|
|
22015
22218
|
render() {
|
|
22016
22219
|
const dir = getElementDir(this.el);
|
|
22017
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22018
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
22019
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22020
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22021
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22220
|
+
const loader = (hAsync("div", { class: CSS$r.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
22221
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$r.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
22222
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$r.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
22223
|
+
const prefixText = hAsync("div", { class: CSS$r.prefix }, this.prefixText);
|
|
22224
|
+
const suffixText = hAsync("div", { class: CSS$r.suffix }, this.suffixText);
|
|
22022
22225
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
22023
|
-
[CSS$
|
|
22024
|
-
[CSS$
|
|
22226
|
+
[CSS$r.editingEnabled]: this.editingEnabled,
|
|
22227
|
+
[CSS$r.inlineChild]: !!this.inlineEditableEl
|
|
22025
22228
|
}, 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 }));
|
|
22026
|
-
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22229
|
+
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$r.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$r.actionWrapper }, hAsync("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22027
22230
|
}
|
|
22028
22231
|
get el() { return getElement(this); }
|
|
22029
22232
|
static get watchers() { return {
|
|
@@ -22531,7 +22734,7 @@ class InputTimePicker {
|
|
|
22531
22734
|
}; }
|
|
22532
22735
|
}
|
|
22533
22736
|
|
|
22534
|
-
const CSS$
|
|
22737
|
+
const CSS$q = {
|
|
22535
22738
|
container: "container"
|
|
22536
22739
|
};
|
|
22537
22740
|
|
|
@@ -22596,7 +22799,7 @@ class Label {
|
|
|
22596
22799
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
22597
22800
|
}
|
|
22598
22801
|
render() {
|
|
22599
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
22802
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$q.container }, hAsync("slot", null))));
|
|
22600
22803
|
}
|
|
22601
22804
|
get el() { return getElement(this); }
|
|
22602
22805
|
static get style() { return labelCss; }
|
|
@@ -22704,7 +22907,7 @@ class Link {
|
|
|
22704
22907
|
}; }
|
|
22705
22908
|
}
|
|
22706
22909
|
|
|
22707
|
-
const CSS$
|
|
22910
|
+
const CSS$p = {
|
|
22708
22911
|
container: "container"
|
|
22709
22912
|
};
|
|
22710
22913
|
|
|
@@ -22752,7 +22955,7 @@ class List$1 {
|
|
|
22752
22955
|
//
|
|
22753
22956
|
// --------------------------------------------------------------------------
|
|
22754
22957
|
render() {
|
|
22755
|
-
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$
|
|
22958
|
+
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$p.container }, hAsync("slot", null))));
|
|
22756
22959
|
}
|
|
22757
22960
|
get el() { return getElement(this); }
|
|
22758
22961
|
static get style() { return listCss; }
|
|
@@ -22770,7 +22973,7 @@ class List$1 {
|
|
|
22770
22973
|
}; }
|
|
22771
22974
|
}
|
|
22772
22975
|
|
|
22773
|
-
const CSS$
|
|
22976
|
+
const CSS$o = {
|
|
22774
22977
|
container: "container",
|
|
22775
22978
|
contentContainer: "content-container",
|
|
22776
22979
|
nestedContainer: "nested-container",
|
|
@@ -22784,7 +22987,7 @@ const CSS$p = {
|
|
|
22784
22987
|
actionsEnd: "actions-end",
|
|
22785
22988
|
hasCenterContent: "has-center-content"
|
|
22786
22989
|
};
|
|
22787
|
-
const SLOTS$
|
|
22990
|
+
const SLOTS$e = {
|
|
22788
22991
|
actionsStart: "actions-start",
|
|
22789
22992
|
contentStart: "content-start",
|
|
22790
22993
|
contentEnd: "content-end",
|
|
@@ -22853,36 +23056,36 @@ class ListItem {
|
|
|
22853
23056
|
// --------------------------------------------------------------------------
|
|
22854
23057
|
renderActionsStart() {
|
|
22855
23058
|
const { el } = this;
|
|
22856
|
-
return getSlotted(el, SLOTS$
|
|
23059
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$o.actionsStart }, hAsync("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
22857
23060
|
}
|
|
22858
23061
|
renderActionsEnd() {
|
|
22859
23062
|
const { el } = this;
|
|
22860
|
-
return getSlotted(el, SLOTS$
|
|
23063
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$o.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
22861
23064
|
}
|
|
22862
23065
|
renderContentStart() {
|
|
22863
23066
|
const { el } = this;
|
|
22864
|
-
return getSlotted(el, SLOTS$
|
|
23067
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$o.contentStart }, hAsync("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
22865
23068
|
}
|
|
22866
23069
|
renderContentEnd() {
|
|
22867
23070
|
const { el } = this;
|
|
22868
|
-
return getSlotted(el, SLOTS$
|
|
23071
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$o.contentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
22869
23072
|
}
|
|
22870
23073
|
renderContent() {
|
|
22871
23074
|
const { label, description } = this;
|
|
22872
|
-
return !!label || !!description ? (hAsync("div", { class: CSS$
|
|
23075
|
+
return !!label || !!description ? (hAsync("div", { class: CSS$o.content }, label ? hAsync("div", { class: CSS$o.label }, label) : null, description ? hAsync("div", { class: CSS$o.description }, description) : null)) : null;
|
|
22873
23076
|
}
|
|
22874
23077
|
renderContentContainer() {
|
|
22875
23078
|
const { description, disabled, label, nonInteractive } = this;
|
|
22876
23079
|
const hasCenterContent = !!label || !!description;
|
|
22877
23080
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
22878
23081
|
return !nonInteractive ? (hAsync("button", { class: {
|
|
22879
|
-
[CSS$
|
|
22880
|
-
[CSS$
|
|
22881
|
-
[CSS$
|
|
22882
|
-
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$
|
|
23082
|
+
[CSS$o.contentContainer]: true,
|
|
23083
|
+
[CSS$o.contentContainerButton]: true,
|
|
23084
|
+
[CSS$o.hasCenterContent]: hasCenterContent
|
|
23085
|
+
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$o.contentContainer]: true, [CSS$o.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
|
|
22883
23086
|
}
|
|
22884
23087
|
render() {
|
|
22885
|
-
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$
|
|
23088
|
+
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$o.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: CSS$o.nestedContainer }, hAsync("slot", null))));
|
|
22886
23089
|
}
|
|
22887
23090
|
get el() { return getElement(this); }
|
|
22888
23091
|
static get style() { return listItemCss; }
|
|
@@ -22902,11 +23105,11 @@ class ListItem {
|
|
|
22902
23105
|
}; }
|
|
22903
23106
|
}
|
|
22904
23107
|
|
|
22905
|
-
const CSS$
|
|
23108
|
+
const CSS$n = {
|
|
22906
23109
|
heading: "heading",
|
|
22907
23110
|
container: "container"
|
|
22908
23111
|
};
|
|
22909
|
-
const HEADING_LEVEL$
|
|
23112
|
+
const HEADING_LEVEL$4 = 3;
|
|
22910
23113
|
|
|
22911
23114
|
const listItemGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item-group{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host*/.sc-calcite-list-item-group-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.heading*/.heading.sc-calcite-list-item-group{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.container*/.container.sc-calcite-list-item-group{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@::slotted(calcite-list-item-group)*/.sc-calcite-list-item-group-s>calcite-list-item-group{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
22912
23115
|
|
|
@@ -22927,8 +23130,8 @@ class ListItemGroup {
|
|
|
22927
23130
|
const { el, heading, headingLevel } = this;
|
|
22928
23131
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
22929
23132
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
22930
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL$
|
|
22931
|
-
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$
|
|
23133
|
+
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
23134
|
+
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$n.heading, level: level }, heading)) : null, hAsync("div", { class: CSS$n.container, role: "group" }, hAsync("slot", null))));
|
|
22932
23135
|
}
|
|
22933
23136
|
get el() { return getElement(this); }
|
|
22934
23137
|
static get style() { return listItemGroupCss; }
|
|
@@ -23147,8 +23350,9 @@ function isFocusable($elem) {
|
|
|
23147
23350
|
|| $elem instanceof HTMLIFrameElement);
|
|
23148
23351
|
}
|
|
23149
23352
|
|
|
23150
|
-
const CSS$
|
|
23353
|
+
const CSS$m = {
|
|
23151
23354
|
modal: "modal",
|
|
23355
|
+
modalOpen: "modal--open",
|
|
23152
23356
|
title: "title",
|
|
23153
23357
|
header: "header",
|
|
23154
23358
|
footer: "footer",
|
|
@@ -23165,21 +23369,21 @@ const CSS$n = {
|
|
|
23165
23369
|
closingIdle: "modal--closing-idle",
|
|
23166
23370
|
closingActive: "modal--closing-active"
|
|
23167
23371
|
};
|
|
23168
|
-
const ICONS$
|
|
23372
|
+
const ICONS$5 = {
|
|
23169
23373
|
close: "x"
|
|
23170
23374
|
};
|
|
23171
|
-
const SLOTS$
|
|
23375
|
+
const SLOTS$d = {
|
|
23172
23376
|
content: "content",
|
|
23173
23377
|
header: "header",
|
|
23174
23378
|
back: "back",
|
|
23175
23379
|
secondary: "secondary",
|
|
23176
23380
|
primary: "primary"
|
|
23177
23381
|
};
|
|
23178
|
-
const TEXT$
|
|
23382
|
+
const TEXT$a = {
|
|
23179
23383
|
close: "Close"
|
|
23180
23384
|
};
|
|
23181
23385
|
|
|
23182
|
-
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}/*!@:host([open]) .modal*/[open].sc-calcite-modal-h .modal.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}/*!@.content*/.content.sc-calcite-modal{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}/*!@.content--spaced*/.content--spaced.sc-calcite-modal{padding:var(--calcite-modal-padding)}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}/*!@:host([background-color=grey]) .content*/[background-color=grey].sc-calcite-modal-h .content.sc-calcite-modal{background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@.footer--hide-back .back, \n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked])*/[width=s][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked])*/[width=m][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked])*/[width=l][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([fullscreen])*/[fullscreen].sc-calcite-modal-h{background-color:transparent}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@:host([docked]) .close*/[docked].sc-calcite-modal-h .close.sc-calcite-modal{border-start-end-radius:var(--calcite-border-radius)}}/*!@:host([color=red]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([color=blue]) .modal*/[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([color=red]) .modal, \n:host([color=blue]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal,[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([color=red]) .header, \n:host([color=blue]) .header*/[color=red].sc-calcite-modal-h .header.sc-calcite-modal,[color=blue].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{-ms-flex-direction:column;flex-direction:column}/*!@.back, \n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
23386
|
+
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@:host([open][calcite-hydrated])*/[open][calcite-hydrated].sc-calcite-modal-h{opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}/*!@:host([open][calcite-hydrated]) .modal--open*/[open][calcite-hydrated].sc-calcite-modal-h .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}/*!@.content*/.content.sc-calcite-modal{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}/*!@.content--spaced*/.content--spaced.sc-calcite-modal{padding:var(--calcite-modal-padding)}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}/*!@:host([background-color=grey]) .content*/[background-color=grey].sc-calcite-modal-h .content.sc-calcite-modal{background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@.footer--hide-back .back, \n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked])*/[width=s][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked])*/[width=m][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked])*/[width=l][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([fullscreen])*/[fullscreen].sc-calcite-modal-h{background-color:transparent}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@:host([docked]) .close*/[docked].sc-calcite-modal-h .close.sc-calcite-modal{border-start-end-radius:var(--calcite-border-radius)}}/*!@:host([color=red]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([color=blue]) .modal*/[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([color=red]) .modal, \n:host([color=blue]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal,[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([color=red]) .header, \n:host([color=blue]) .header*/[color=red].sc-calcite-modal-h .header.sc-calcite-modal,[color=blue].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{-ms-flex-direction:column;flex-direction:column}/*!@.back, \n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
23183
23387
|
|
|
23184
23388
|
const isFocusableExtended = (el) => {
|
|
23185
23389
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -23221,7 +23425,7 @@ class Modal {
|
|
|
23221
23425
|
/** When true, disables the closing of the component when clicked outside. */
|
|
23222
23426
|
this.disableOutsideClose = false;
|
|
23223
23427
|
/** Accessible name for the component's close button. */
|
|
23224
|
-
this.intlClose = TEXT$
|
|
23428
|
+
this.intlClose = TEXT$a.close;
|
|
23225
23429
|
/** When true, disables the default close on escape behavior. */
|
|
23226
23430
|
this.disableEscape = false;
|
|
23227
23431
|
/** Specifies the size of the component. */
|
|
@@ -23242,6 +23446,12 @@ class Modal {
|
|
|
23242
23446
|
//
|
|
23243
23447
|
//--------------------------------------------------------------------------
|
|
23244
23448
|
this.hasFooter = true;
|
|
23449
|
+
/**
|
|
23450
|
+
* We use internal variable to make sure initially open modal can transition from closed state when rendered
|
|
23451
|
+
*
|
|
23452
|
+
* @private
|
|
23453
|
+
*/
|
|
23454
|
+
this.isOpen = false;
|
|
23245
23455
|
this.mutationObserver = createObserver();
|
|
23246
23456
|
this.openTransitionProp = "opacity";
|
|
23247
23457
|
//--------------------------------------------------------------------------
|
|
@@ -23267,6 +23477,7 @@ class Modal {
|
|
|
23267
23477
|
this.close = () => {
|
|
23268
23478
|
return this.beforeClose(this.el).then(() => {
|
|
23269
23479
|
this.open = false;
|
|
23480
|
+
this.isOpen = false;
|
|
23270
23481
|
focusElement(this.previousActiveElement);
|
|
23271
23482
|
this.removeOverflowHiddenClass();
|
|
23272
23483
|
});
|
|
@@ -23284,7 +23495,7 @@ class Modal {
|
|
|
23284
23495
|
}
|
|
23285
23496
|
};
|
|
23286
23497
|
this.updateFooterVisibility = () => {
|
|
23287
|
-
this.hasFooter = !!getSlotted(this.el, [SLOTS$
|
|
23498
|
+
this.hasFooter = !!getSlotted(this.el, [SLOTS$d.back, SLOTS$d.primary, SLOTS$d.secondary]);
|
|
23288
23499
|
};
|
|
23289
23500
|
}
|
|
23290
23501
|
//--------------------------------------------------------------------------
|
|
@@ -23295,7 +23506,7 @@ class Modal {
|
|
|
23295
23506
|
componentWillLoad() {
|
|
23296
23507
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
23297
23508
|
if (this.open) {
|
|
23298
|
-
this.openModal();
|
|
23509
|
+
requestAnimationFrame(() => this.openModal());
|
|
23299
23510
|
}
|
|
23300
23511
|
}
|
|
23301
23512
|
connectedCallback() {
|
|
@@ -23319,26 +23530,29 @@ class Modal {
|
|
|
23319
23530
|
disconnectOpenCloseComponent(this);
|
|
23320
23531
|
}
|
|
23321
23532
|
render() {
|
|
23322
|
-
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$
|
|
23533
|
+
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$m.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
23534
|
+
[CSS$m.modal]: true,
|
|
23535
|
+
[CSS$m.modalOpen]: this.isOpen
|
|
23536
|
+
}, ref: this.setTransitionEl }, hAsync("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), hAsync("div", { class: CSS$m.header }, this.renderCloseButton(), hAsync("header", { class: CSS$m.title }, hAsync("slot", { name: CSS$m.header }))), hAsync("div", { class: {
|
|
23323
23537
|
content: true,
|
|
23324
23538
|
"content--spaced": !this.noPadding,
|
|
23325
23539
|
"content--no-footer": !this.hasFooter
|
|
23326
|
-
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$
|
|
23540
|
+
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderFooter(), hAsync("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
23327
23541
|
}
|
|
23328
23542
|
renderFooter() {
|
|
23329
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
23543
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$m.footer, key: "footer" }, hAsync("span", { class: CSS$m.back }, hAsync("slot", { name: SLOTS$d.back })), hAsync("span", { class: CSS$m.secondary }, hAsync("slot", { name: SLOTS$d.secondary })), hAsync("span", { class: CSS$m.primary }, hAsync("slot", { name: SLOTS$d.primary })))) : null;
|
|
23330
23544
|
}
|
|
23331
23545
|
renderCloseButton() {
|
|
23332
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23546
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
23333
23547
|
}
|
|
23334
23548
|
renderStyle() {
|
|
23335
23549
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
23336
23550
|
return hasCustomWidth ? (hAsync("style", null, `
|
|
23337
|
-
.${CSS$
|
|
23551
|
+
.${CSS$m.modal} {
|
|
23338
23552
|
max-width: ${this.width}px !important;
|
|
23339
23553
|
}
|
|
23340
23554
|
@media screen and (max-width: ${this.width}px) {
|
|
23341
|
-
.${CSS$
|
|
23555
|
+
.${CSS$m.modal} {
|
|
23342
23556
|
height: 100% !important;
|
|
23343
23557
|
max-height: 100% !important;
|
|
23344
23558
|
width: 100% !important;
|
|
@@ -23411,19 +23625,19 @@ class Modal {
|
|
|
23411
23625
|
}
|
|
23412
23626
|
}
|
|
23413
23627
|
onBeforeOpen() {
|
|
23414
|
-
this.transitionEl.classList.add(CSS$
|
|
23628
|
+
this.transitionEl.classList.add(CSS$m.openingActive);
|
|
23415
23629
|
this.calciteModalBeforeOpen.emit();
|
|
23416
23630
|
}
|
|
23417
23631
|
onOpen() {
|
|
23418
|
-
this.transitionEl.classList.remove(CSS$
|
|
23632
|
+
this.transitionEl.classList.remove(CSS$m.openingIdle, CSS$m.openingActive);
|
|
23419
23633
|
this.calciteModalOpen.emit();
|
|
23420
23634
|
}
|
|
23421
23635
|
onBeforeClose() {
|
|
23422
|
-
this.transitionEl.classList.add(CSS$
|
|
23636
|
+
this.transitionEl.classList.add(CSS$m.closingActive);
|
|
23423
23637
|
this.calciteModalBeforeClose.emit();
|
|
23424
23638
|
}
|
|
23425
23639
|
onClose() {
|
|
23426
|
-
this.transitionEl.classList.remove(CSS$
|
|
23640
|
+
this.transitionEl.classList.remove(CSS$m.closingIdle, CSS$m.closingActive);
|
|
23427
23641
|
this.calciteModalClose.emit();
|
|
23428
23642
|
}
|
|
23429
23643
|
activeHandler(value) {
|
|
@@ -23433,11 +23647,11 @@ class Modal {
|
|
|
23433
23647
|
var _a, _b;
|
|
23434
23648
|
this.active = value;
|
|
23435
23649
|
if (value) {
|
|
23436
|
-
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$
|
|
23650
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$m.openingIdle);
|
|
23437
23651
|
this.openModal();
|
|
23438
23652
|
}
|
|
23439
23653
|
else {
|
|
23440
|
-
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$
|
|
23654
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$m.closingIdle);
|
|
23441
23655
|
this.close();
|
|
23442
23656
|
}
|
|
23443
23657
|
}
|
|
@@ -23446,14 +23660,15 @@ class Modal {
|
|
|
23446
23660
|
this.previousActiveElement = document.activeElement;
|
|
23447
23661
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
23448
23662
|
this.open = true;
|
|
23449
|
-
|
|
23450
|
-
const
|
|
23663
|
+
this.isOpen = true;
|
|
23664
|
+
const titleEl = getSlotted(this.el, SLOTS$d.header);
|
|
23665
|
+
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
23451
23666
|
this.titleId = ensureId(titleEl);
|
|
23452
23667
|
this.contentId = ensureId(contentEl);
|
|
23453
|
-
document.documentElement.classList.add(CSS$
|
|
23668
|
+
document.documentElement.classList.add(CSS$m.overflowHidden);
|
|
23454
23669
|
}
|
|
23455
23670
|
removeOverflowHiddenClass() {
|
|
23456
|
-
document.documentElement.classList.remove(CSS$
|
|
23671
|
+
document.documentElement.classList.remove(CSS$m.overflowHidden);
|
|
23457
23672
|
}
|
|
23458
23673
|
get el() { return getElement(this); }
|
|
23459
23674
|
static get watchers() { return {
|
|
@@ -23480,6 +23695,7 @@ class Modal {
|
|
|
23480
23695
|
"backgroundColor": [513, "background-color"],
|
|
23481
23696
|
"noPadding": [4, "no-padding"],
|
|
23482
23697
|
"hasFooter": [32],
|
|
23698
|
+
"isOpen": [32],
|
|
23483
23699
|
"focusElement": [64],
|
|
23484
23700
|
"setFocus": [64],
|
|
23485
23701
|
"scrollContent": [64]
|
|
@@ -23490,16 +23706,16 @@ class Modal {
|
|
|
23490
23706
|
}; }
|
|
23491
23707
|
}
|
|
23492
23708
|
|
|
23493
|
-
const TEXT$
|
|
23709
|
+
const TEXT$9 = {
|
|
23494
23710
|
close: "Close"
|
|
23495
23711
|
};
|
|
23496
|
-
const SLOTS$
|
|
23712
|
+
const SLOTS$c = {
|
|
23497
23713
|
title: "title",
|
|
23498
23714
|
message: "message",
|
|
23499
23715
|
link: "link",
|
|
23500
23716
|
actionsEnd: "actions-end"
|
|
23501
23717
|
};
|
|
23502
|
-
const CSS$
|
|
23718
|
+
const CSS$l = {
|
|
23503
23719
|
actionsEnd: "actions-end",
|
|
23504
23720
|
close: "notice-close",
|
|
23505
23721
|
container: "container",
|
|
@@ -23554,7 +23770,7 @@ class Notice {
|
|
|
23554
23770
|
*
|
|
23555
23771
|
* @default "Close"
|
|
23556
23772
|
*/
|
|
23557
|
-
this.intlClose = TEXT$
|
|
23773
|
+
this.intlClose = TEXT$9.close;
|
|
23558
23774
|
/** Specifies the size of the component. */
|
|
23559
23775
|
this.scale = "m";
|
|
23560
23776
|
/** Specifies the width of the component. */
|
|
@@ -23611,9 +23827,9 @@ class Notice {
|
|
|
23611
23827
|
}
|
|
23612
23828
|
render() {
|
|
23613
23829
|
const { el } = this;
|
|
23614
|
-
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23615
|
-
const hasActionEnd = getSlotted(el, SLOTS$
|
|
23616
|
-
return (hAsync("div", { class: CSS$
|
|
23830
|
+
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$l.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
23831
|
+
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
23832
|
+
return (hAsync("div", { class: CSS$l.container }, this.requestedIcon ? (hAsync("div", { class: CSS$l.icon }, hAsync("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$l.content }, hAsync("slot", { name: SLOTS$c.title }), hAsync("slot", { name: SLOTS$c.message }), hAsync("slot", { name: SLOTS$c.link })), hasActionEnd ? (hAsync("div", { class: CSS$l.actionsEnd }, hAsync("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
23617
23833
|
}
|
|
23618
23834
|
//--------------------------------------------------------------------------
|
|
23619
23835
|
//
|
|
@@ -23861,7 +24077,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
23861
24077
|
}
|
|
23862
24078
|
}
|
|
23863
24079
|
|
|
23864
|
-
const CSS$
|
|
24080
|
+
const CSS$k = {
|
|
23865
24081
|
page: "page",
|
|
23866
24082
|
selected: "is-selected",
|
|
23867
24083
|
previous: "previous",
|
|
@@ -23871,7 +24087,7 @@ const CSS$l = {
|
|
|
23871
24087
|
ellipsisStart: "ellipsis--start",
|
|
23872
24088
|
ellipsisEnd: "ellipsis--end"
|
|
23873
24089
|
};
|
|
23874
|
-
const TEXT$
|
|
24090
|
+
const TEXT$8 = {
|
|
23875
24091
|
nextLabel: "Next",
|
|
23876
24092
|
previousLabel: "Previous"
|
|
23877
24093
|
};
|
|
@@ -23900,13 +24116,13 @@ class Pagination {
|
|
|
23900
24116
|
*
|
|
23901
24117
|
* @default "Next"
|
|
23902
24118
|
*/
|
|
23903
|
-
this.textLabelNext = TEXT$
|
|
24119
|
+
this.textLabelNext = TEXT$8.nextLabel;
|
|
23904
24120
|
/**
|
|
23905
24121
|
* Accessible name for the component's previous button.
|
|
23906
24122
|
*
|
|
23907
24123
|
* @default "Previous"
|
|
23908
24124
|
*/
|
|
23909
|
-
this.textLabelPrevious = TEXT$
|
|
24125
|
+
this.textLabelPrevious = TEXT$8.previousLabel;
|
|
23910
24126
|
/** Specifies the size of the component. */
|
|
23911
24127
|
this.scale = "m";
|
|
23912
24128
|
//--------------------------------------------------------------------------
|
|
@@ -24016,8 +24232,8 @@ class Pagination {
|
|
|
24016
24232
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
24017
24233
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
24018
24234
|
return (hAsync("button", { class: {
|
|
24019
|
-
[CSS$
|
|
24020
|
-
[CSS$
|
|
24235
|
+
[CSS$k.page]: true,
|
|
24236
|
+
[CSS$k.selected]: start === this.start
|
|
24021
24237
|
}, onClick: () => {
|
|
24022
24238
|
this.start = start;
|
|
24023
24239
|
this.emitUpdate();
|
|
@@ -24025,12 +24241,12 @@ class Pagination {
|
|
|
24025
24241
|
}
|
|
24026
24242
|
renderLeftEllipsis() {
|
|
24027
24243
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
24028
|
-
return hAsync("span", { class: `${CSS$
|
|
24244
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisStart}` }, "\u2026");
|
|
24029
24245
|
}
|
|
24030
24246
|
}
|
|
24031
24247
|
renderRightEllipsis() {
|
|
24032
24248
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
24033
|
-
return hAsync("span", { class: `${CSS$
|
|
24249
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisEnd}` }, "\u2026");
|
|
24034
24250
|
}
|
|
24035
24251
|
}
|
|
24036
24252
|
render() {
|
|
@@ -24038,11 +24254,11 @@ class Pagination {
|
|
|
24038
24254
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
24039
24255
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
24040
24256
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.textLabelPrevious, class: {
|
|
24041
|
-
[CSS$
|
|
24042
|
-
[CSS$
|
|
24257
|
+
[CSS$k.previous]: true,
|
|
24258
|
+
[CSS$k.disabled]: prevDisabled
|
|
24043
24259
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.textLabelNext, class: {
|
|
24044
|
-
[CSS$
|
|
24045
|
-
[CSS$
|
|
24260
|
+
[CSS$k.next]: true,
|
|
24261
|
+
[CSS$k.disabled]: nextDisabled
|
|
24046
24262
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
24047
24263
|
}
|
|
24048
24264
|
get el() { return getElement(this); }
|
|
@@ -24067,51 +24283,7 @@ class Pagination {
|
|
|
24067
24283
|
}; }
|
|
24068
24284
|
}
|
|
24069
24285
|
|
|
24070
|
-
const
|
|
24071
|
-
backButton: "back-button",
|
|
24072
|
-
container: "container",
|
|
24073
|
-
header: "header",
|
|
24074
|
-
heading: "heading",
|
|
24075
|
-
summary: "summary",
|
|
24076
|
-
description: "description",
|
|
24077
|
-
headerContent: "header-content",
|
|
24078
|
-
headerActions: "header-actions",
|
|
24079
|
-
headerActionsEnd: "header-actions--end",
|
|
24080
|
-
headerActionsStart: "header-actions--start",
|
|
24081
|
-
contentWrapper: "content-wrapper",
|
|
24082
|
-
contentContainer: "content-container",
|
|
24083
|
-
contentHeight: "content-height",
|
|
24084
|
-
fabContainer: "fab-container",
|
|
24085
|
-
footer: "footer",
|
|
24086
|
-
menuContainer: "menu-container",
|
|
24087
|
-
menuButton: "menu-button",
|
|
24088
|
-
menu: "menu",
|
|
24089
|
-
menuOpen: "menu--open"
|
|
24090
|
-
};
|
|
24091
|
-
const ICONS$5 = {
|
|
24092
|
-
close: "x",
|
|
24093
|
-
menu: "ellipsis",
|
|
24094
|
-
backLeft: "chevron-left",
|
|
24095
|
-
backRight: "chevron-right"
|
|
24096
|
-
};
|
|
24097
|
-
const SLOTS$c = {
|
|
24098
|
-
headerActionsStart: "header-actions-start",
|
|
24099
|
-
headerActionsEnd: "header-actions-end",
|
|
24100
|
-
headerMenuActions: "header-menu-actions",
|
|
24101
|
-
headerContent: "header-content",
|
|
24102
|
-
fab: "fab",
|
|
24103
|
-
footer: "footer",
|
|
24104
|
-
footerActions: "footer-actions"
|
|
24105
|
-
};
|
|
24106
|
-
const TEXT$8 = {
|
|
24107
|
-
back: "Back",
|
|
24108
|
-
close: "Close",
|
|
24109
|
-
open: "Open",
|
|
24110
|
-
options: "Options"
|
|
24111
|
-
};
|
|
24112
|
-
const HEADING_LEVEL$4 = 3;
|
|
24113
|
-
|
|
24114
|
-
const panelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{-webkit-border-after:1px solid;border-block-end:1px solid;position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.header-content*/.header-content.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.header-content .heading, \n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{-webkit-margin-after:0px;margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.header-actions--end,\n.menu-container:only-child*/.header-actions--end.sc-calcite-panel,.menu-container.sc-calcite-panel:only-child{-webkit-margin-start:auto;margin-inline-start:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}/*!@.menu*/.menu.sc-calcite-panel{min-inline-size:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{-webkit-border-before:1px solid;border-block-start:1px solid;position:-webkit-sticky;position:sticky;inset-block-end:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-block-size:3rem;padding:0.5rem}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:-webkit-sticky;position:sticky;inset-block-end:0px;inset-inline:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}";
|
|
24286
|
+
const panelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{-webkit-border-after:1px solid;border-block-end:1px solid;position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.header-content*/.header-content.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.header-content .heading, \n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{-webkit-margin-after:0px;margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{-webkit-margin-start:auto;margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{-webkit-border-before:1px solid;border-block-start:1px solid;position:-webkit-sticky;position:sticky;inset-block-end:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-block-size:3rem;padding:0.5rem}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:-webkit-sticky;position:sticky;inset-block-end:0px;inset-inline:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
|
|
24115
24287
|
|
|
24116
24288
|
/**
|
|
24117
24289
|
* @slot - A slot for adding custom content.
|
|
@@ -24157,6 +24329,8 @@ class Panel {
|
|
|
24157
24329
|
this.closable = false;
|
|
24158
24330
|
/**
|
|
24159
24331
|
* When true, displays a back button in the header.
|
|
24332
|
+
*
|
|
24333
|
+
* @deprecated use `calcite-flow-item` instead.
|
|
24160
24334
|
*/
|
|
24161
24335
|
this.showBackButton = false;
|
|
24162
24336
|
/**
|
|
@@ -24168,6 +24342,13 @@ class Panel {
|
|
|
24168
24342
|
*/
|
|
24169
24343
|
this.menuOpen = false;
|
|
24170
24344
|
this.resizeObserver = createObserver();
|
|
24345
|
+
this.hasStartActions = false;
|
|
24346
|
+
this.hasEndActions = false;
|
|
24347
|
+
this.hasMenuItems = false;
|
|
24348
|
+
this.hasHeaderContent = false;
|
|
24349
|
+
this.hasFooterContent = false;
|
|
24350
|
+
this.hasFooterActions = false;
|
|
24351
|
+
this.hasFab = false;
|
|
24171
24352
|
// --------------------------------------------------------------------------
|
|
24172
24353
|
//
|
|
24173
24354
|
// Private Methods
|
|
@@ -24207,6 +24388,48 @@ class Panel {
|
|
|
24207
24388
|
this.backButtonClick = () => {
|
|
24208
24389
|
this.calcitePanelBackClick.emit();
|
|
24209
24390
|
};
|
|
24391
|
+
this.handleHeaderActionsStartSlotChange = (event) => {
|
|
24392
|
+
const elements = event.target.assignedElements({
|
|
24393
|
+
flatten: true
|
|
24394
|
+
});
|
|
24395
|
+
this.hasStartActions = !!elements.length;
|
|
24396
|
+
};
|
|
24397
|
+
this.handleHeaderActionsEndSlotChange = (event) => {
|
|
24398
|
+
const elements = event.target.assignedElements({
|
|
24399
|
+
flatten: true
|
|
24400
|
+
});
|
|
24401
|
+
this.hasEndActions = !!elements.length;
|
|
24402
|
+
};
|
|
24403
|
+
this.handleHeaderMenuActionsSlotChange = (event) => {
|
|
24404
|
+
const elements = event.target.assignedElements({
|
|
24405
|
+
flatten: true
|
|
24406
|
+
});
|
|
24407
|
+
this.hasMenuItems = !!elements.length;
|
|
24408
|
+
};
|
|
24409
|
+
this.handleHeaderContentSlotChange = (event) => {
|
|
24410
|
+
const elements = event.target.assignedElements({
|
|
24411
|
+
flatten: true
|
|
24412
|
+
});
|
|
24413
|
+
this.hasHeaderContent = !!elements.length;
|
|
24414
|
+
};
|
|
24415
|
+
this.handleFooterSlotChange = (event) => {
|
|
24416
|
+
const elements = event.target.assignedElements({
|
|
24417
|
+
flatten: true
|
|
24418
|
+
});
|
|
24419
|
+
this.hasFooterContent = !!elements.length;
|
|
24420
|
+
};
|
|
24421
|
+
this.handleFooterActionsSlotChange = (event) => {
|
|
24422
|
+
const elements = event.target.assignedElements({
|
|
24423
|
+
flatten: true
|
|
24424
|
+
});
|
|
24425
|
+
this.hasFooterActions = !!elements.length;
|
|
24426
|
+
};
|
|
24427
|
+
this.handleFabSlotChange = (event) => {
|
|
24428
|
+
const elements = event.target.assignedElements({
|
|
24429
|
+
flatten: true
|
|
24430
|
+
});
|
|
24431
|
+
this.hasFab = !!elements.length;
|
|
24432
|
+
};
|
|
24210
24433
|
this.setPanelScrollEl = (el) => {
|
|
24211
24434
|
var _a, _b;
|
|
24212
24435
|
this.panelScrollEl = el;
|
|
@@ -24244,7 +24467,6 @@ class Panel {
|
|
|
24244
24467
|
//
|
|
24245
24468
|
// --------------------------------------------------------------------------
|
|
24246
24469
|
connectedCallback() {
|
|
24247
|
-
connectConditionalSlotComponent(this);
|
|
24248
24470
|
const isClosed = this.dismissed || this.closed;
|
|
24249
24471
|
const isClosable = this.dismissible || this.closable;
|
|
24250
24472
|
if (isClosed) {
|
|
@@ -24258,7 +24480,6 @@ class Panel {
|
|
|
24258
24480
|
}
|
|
24259
24481
|
disconnectedCallback() {
|
|
24260
24482
|
var _a;
|
|
24261
|
-
disconnectConditionalSlotComponent(this);
|
|
24262
24483
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
24263
24484
|
}
|
|
24264
24485
|
// --------------------------------------------------------------------------
|
|
@@ -24272,16 +24493,24 @@ class Panel {
|
|
|
24272
24493
|
* @param focusId
|
|
24273
24494
|
*/
|
|
24274
24495
|
async setFocus(focusId) {
|
|
24275
|
-
|
|
24496
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
24497
|
+
if (focusId === "back-button") {
|
|
24498
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
|
24499
|
+
return;
|
|
24500
|
+
}
|
|
24276
24501
|
if (focusId === "dismiss-button") {
|
|
24277
|
-
|
|
24502
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
|
24278
24503
|
return;
|
|
24279
24504
|
}
|
|
24280
|
-
if (
|
|
24281
|
-
|
|
24505
|
+
if (backButtonEl) {
|
|
24506
|
+
backButtonEl.setFocus();
|
|
24282
24507
|
return;
|
|
24283
24508
|
}
|
|
24284
|
-
(
|
|
24509
|
+
if (closeButtonEl) {
|
|
24510
|
+
closeButtonEl.setFocus();
|
|
24511
|
+
return;
|
|
24512
|
+
}
|
|
24513
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
|
24285
24514
|
}
|
|
24286
24515
|
/**
|
|
24287
24516
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -24309,75 +24538,68 @@ class Panel {
|
|
|
24309
24538
|
const { el } = this;
|
|
24310
24539
|
const rtl = getElementDir(el) === "rtl";
|
|
24311
24540
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
24312
|
-
const label = intlBack || TEXT$
|
|
24313
|
-
const icon = rtl ? ICONS$
|
|
24314
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
24541
|
+
const label = intlBack || TEXT$f.back;
|
|
24542
|
+
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
24543
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$y.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$i.headerActionsStart, text: label })) : null;
|
|
24315
24544
|
}
|
|
24316
24545
|
renderHeaderContent() {
|
|
24317
|
-
const { heading, headingLevel, summary, description } = this;
|
|
24318
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
24319
|
-
const descriptionNode = description || summary ? hAsync("span", { class: CSS$
|
|
24320
|
-
return headingNode || descriptionNode ? (hAsync("div", { class: CSS$
|
|
24546
|
+
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
24547
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$y.heading, level: headingLevel || HEADING_LEVEL$5 }, heading)) : null;
|
|
24548
|
+
const descriptionNode = description || summary ? hAsync("span", { class: CSS$y.description }, description || summary) : null;
|
|
24549
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$y.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
24321
24550
|
}
|
|
24322
24551
|
/**
|
|
24323
24552
|
* Allows user to override the entire header-content node.
|
|
24324
24553
|
*/
|
|
24325
24554
|
renderHeaderSlottedContent() {
|
|
24326
|
-
return (hAsync("div", { class: CSS$
|
|
24555
|
+
return (hAsync("div", { class: CSS$y.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$i.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
24327
24556
|
}
|
|
24328
24557
|
renderHeaderStartActions() {
|
|
24329
|
-
const {
|
|
24330
|
-
|
|
24331
|
-
return hasStartActions ? (hAsync("div", { class: { [CSS$k.headerActionsStart]: true, [CSS$k.headerActions]: true }, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$c.headerActionsStart }))) : null;
|
|
24558
|
+
const { hasStartActions } = this;
|
|
24559
|
+
return (hAsync("div", { class: { [CSS$y.headerActionsStart]: true, [CSS$y.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$i.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
24332
24560
|
}
|
|
24333
24561
|
renderHeaderActionsEnd() {
|
|
24334
|
-
const { close,
|
|
24335
|
-
const text = intlClose || TEXT$
|
|
24336
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$
|
|
24337
|
-
const slotNode = hAsync("slot", { name: SLOTS$
|
|
24338
|
-
const
|
|
24339
|
-
return
|
|
24562
|
+
const { close, hasEndActions, intlClose, closable } = this;
|
|
24563
|
+
const text = intlClose || TEXT$f.close;
|
|
24564
|
+
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
24565
|
+
const slotNode = (hAsync("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
24566
|
+
const showContainer = hasEndActions || closableNode;
|
|
24567
|
+
return (hAsync("div", { class: { [CSS$y.headerActionsEnd]: true, [CSS$y.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
24340
24568
|
}
|
|
24341
24569
|
renderMenu() {
|
|
24342
|
-
const {
|
|
24343
|
-
|
|
24344
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$r.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
24570
|
+
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
24571
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT$f.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$7.menu, slot: SLOTS$s.trigger, text: intlOptions || TEXT$f.options }), hAsync("slot", { name: SLOTS$i.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
24345
24572
|
}
|
|
24346
24573
|
renderHeaderNode() {
|
|
24347
|
-
const {
|
|
24348
|
-
const
|
|
24349
|
-
const
|
|
24350
|
-
|
|
24351
|
-
? this.renderHeaderSlottedContent()
|
|
24352
|
-
: this.renderHeaderContent();
|
|
24353
|
-
const actionsNodeStart = this.renderHeaderStartActions();
|
|
24354
|
-
const actionsNodeEnd = this.renderHeaderActionsEnd();
|
|
24355
|
-
const headerMenuNode = this.renderMenu();
|
|
24356
|
-
return actionsNodeStart ||
|
|
24574
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
24575
|
+
const headerContentNode = this.renderHeaderContent();
|
|
24576
|
+
const showHeader = showBackButton ||
|
|
24577
|
+
hasHeaderContent ||
|
|
24357
24578
|
headerContentNode ||
|
|
24358
|
-
|
|
24359
|
-
|
|
24360
|
-
|
|
24579
|
+
hasStartActions ||
|
|
24580
|
+
hasEndActions ||
|
|
24581
|
+
closable ||
|
|
24582
|
+
hasMenuItems;
|
|
24583
|
+
return (hAsync("header", { class: CSS$y.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
24361
24584
|
}
|
|
24362
24585
|
renderFooterNode() {
|
|
24363
|
-
const {
|
|
24364
|
-
const
|
|
24365
|
-
|
|
24366
|
-
return hasFooterSlottedContent || hasFooterActions ? (hAsync("footer", { class: CSS$k.footer, key: "footer" }, hasFooterSlottedContent ? hAsync("slot", { key: "footer-slot", name: SLOTS$c.footer }) : null, hasFooterActions ? hAsync("slot", { key: "footer-actions-slot", name: SLOTS$c.footerActions }) : null)) : null;
|
|
24586
|
+
const { hasFooterContent, hasFooterActions } = this;
|
|
24587
|
+
const showFooter = hasFooterContent || hasFooterActions;
|
|
24588
|
+
return (hAsync("footer", { class: CSS$y.footer, hidden: !showFooter, key: "footer" }, hAsync("slot", { key: "footer-slot", name: SLOTS$i.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$i.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
24367
24589
|
}
|
|
24368
24590
|
renderContent() {
|
|
24369
|
-
const {
|
|
24370
|
-
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
24591
|
+
const { hasFab } = this;
|
|
24371
24592
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
24372
24593
|
const contentWrapperKey = "content-wrapper";
|
|
24373
|
-
|
|
24594
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$y.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
24595
|
+
return (hAsync("div", { class: { [CSS$y.contentWrapper]: true, [CSS$y.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
24374
24596
|
}
|
|
24375
24597
|
renderFab() {
|
|
24376
|
-
return (hAsync("div", { class: CSS$
|
|
24598
|
+
return (hAsync("div", { class: CSS$y.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$i.fab, onSlotchange: this.handleFabSlotChange })));
|
|
24377
24599
|
}
|
|
24378
24600
|
render() {
|
|
24379
24601
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
24380
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
24602
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$y.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
24381
24603
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
24382
24604
|
}
|
|
24383
24605
|
get el() { return getElement(this); }
|
|
@@ -24410,6 +24632,13 @@ class Panel {
|
|
|
24410
24632
|
"summary": [1],
|
|
24411
24633
|
"description": [1],
|
|
24412
24634
|
"menuOpen": [516, "menu-open"],
|
|
24635
|
+
"hasStartActions": [32],
|
|
24636
|
+
"hasEndActions": [32],
|
|
24637
|
+
"hasMenuItems": [32],
|
|
24638
|
+
"hasHeaderContent": [32],
|
|
24639
|
+
"hasFooterContent": [32],
|
|
24640
|
+
"hasFooterActions": [32],
|
|
24641
|
+
"hasFab": [32],
|
|
24413
24642
|
"setFocus": [64],
|
|
24414
24643
|
"scrollContentTo": [64]
|
|
24415
24644
|
},
|
|
@@ -31288,7 +31517,7 @@ const CSS$7 = {
|
|
|
31288
31517
|
widthFull: "width-full"
|
|
31289
31518
|
};
|
|
31290
31519
|
|
|
31291
|
-
const splitButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-split-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-split-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-split-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-split-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-split-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-split-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-split-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-split-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-split-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-split-button-h{display:inline-block}/*!@:host .split-button__container*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .split-button__container > calcite-dropdown > calcite-button*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button>calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{block-size:100%;vertical-align:top}/*!@:host([appearance=solid]):host([color=blue])*/[appearance=solid].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid]):host([color=red])*/[appearance=solid].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid]):host([color=neutral])*/[appearance=solid].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=solid]):host([color=inverse])*/[appearance=solid].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]):host([color=blue])*/[appearance=transparent].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=transparent]):host([color=red])*/[appearance=transparent].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=transparent]):host([color=neutral])*/[appearance=transparent].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent]):host([color=inverse])*/[appearance=transparent].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]),\n:host([appearance=transparent])*/[appearance=clear].sc-calcite-split-button-h,[appearance=transparent].sc-calcite-split-button-h{--calcite-split-button-background:transparent}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]):host([color=blue]),\n:host([appearance=outline]):host([color=blue])*/[appearance=clear].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=clear]):host([color=red]),\n:host([appearance=outline]):host([color=red])*/[appearance=clear].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=clear]):host([color=neutral]),\n:host([appearance=outline]):host([color=neutral])*/[appearance=clear].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear]):host([color=inverse]),\n:host([appearance=outline]):host([color=inverse])*/[appearance=clear].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-inverse)}/*!@.width-auto*/.width-auto.sc-calcite-split-button{inline-size:auto}/*!@.width-half*/.width-half.sc-calcite-split-button{inline-size:50%}/*!@.width-full*/.width-full.sc-calcite-split-button{inline-size:100%}/*!@.split-button__divider-container*/.split-button__divider-container.sc-calcite-split-button{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}/*!@.split-button__divider*/.split-button__divider.sc-calcite-split-button{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]) .split-button__divider-container,\n:host([appearance=clear]) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{border-block:1px solid var(--calcite-split-button-divider)}/*!@:host([appearance=outline]):hover .split-button__divider-container,\n:host([appearance=clear]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:hover) .split-button__divider-container,\n:host([appearance=clear]:hover) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:focus-within):host([color=blue]),\n:host([appearance=clear]:focus-within):host([color=blue])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}/*!@:host([appearance=outline]:focus-within):host([color=red]),\n:host([appearance=clear]:focus-within):host([color=red])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}/*!@:host([appearance=outline]:focus-within) .split-button__divider-container,\n:host([appearance=clear]:focus-within) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([disabled]) .split-button__divider-container*/[disabled].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) calcite-dropdown > calcite-button*/[disabled].sc-calcite-split-button-h calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-split-button-h[disabled] .sc-calcite-split-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-split-button-h [calcite-hydrated][disabled].sc-calcite-split-button{opacity:1}";
|
|
31520
|
+
const splitButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-split-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-split-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-split-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-split-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-split-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-split-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-split-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-split-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-split-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-split-button-h{display:inline-block}/*!@:host .split-button__container*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .split-button__container > calcite-dropdown > calcite-button*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button>calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{block-size:100%;vertical-align:top}/*!@:host:host([color=blue])*/.sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host:host([color=red])*/.sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host:host([color=neutral])*/.sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host:host([color=inverse])*/.sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]):host([color=blue])*/[appearance=transparent].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=transparent]):host([color=red])*/[appearance=transparent].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=transparent]):host([color=neutral])*/[appearance=transparent].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent]):host([color=inverse])*/[appearance=transparent].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]),\n:host([appearance=transparent])*/[appearance=clear].sc-calcite-split-button-h,[appearance=transparent].sc-calcite-split-button-h{--calcite-split-button-background:transparent}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]):host([color=blue]),\n:host([appearance=outline]):host([color=blue])*/[appearance=clear].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=clear]):host([color=red]),\n:host([appearance=outline]):host([color=red])*/[appearance=clear].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=clear]):host([color=neutral]),\n:host([appearance=outline]):host([color=neutral])*/[appearance=clear].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear]):host([color=inverse]),\n:host([appearance=outline]):host([color=inverse])*/[appearance=clear].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-inverse)}/*!@.width-auto*/.width-auto.sc-calcite-split-button{inline-size:auto}/*!@.width-half*/.width-half.sc-calcite-split-button{inline-size:50%}/*!@.width-full*/.width-full.sc-calcite-split-button{inline-size:100%}/*!@.split-button__divider-container*/.split-button__divider-container.sc-calcite-split-button{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}/*!@.split-button__divider*/.split-button__divider.sc-calcite-split-button{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]) .split-button__divider-container,\n:host([appearance=clear]) .split-button__divider-container,\n:host([appearance=minimal]) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{border-block:1px solid var(--calcite-split-button-divider)}/*!@:host([appearance=outline]):hover .split-button__divider-container,\n:host([appearance=clear]):hover .split-button__divider-container,\n:host([appearance=minimal]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:hover) .split-button__divider-container,\n:host([appearance=clear]:hover) .split-button__divider-container,\n:host([appearance=minimal]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:focus-within):host([color=blue]),\n:host([appearance=clear]:focus-within):host([color=blue]),\n:host([appearance=minimal]:focus-within):host([color=blue])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=minimal].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}/*!@:host([appearance=outline]:focus-within):host([color=red]),\n:host([appearance=clear]:focus-within):host([color=red]),\n:host([appearance=minimal]:focus-within):host([color=red])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=minimal].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}/*!@:host([appearance=outline]:focus-within) .split-button__divider-container,\n:host([appearance=clear]:focus-within) .split-button__divider-container,\n:host([appearance=minimal]:focus-within) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([disabled]) .split-button__divider-container*/[disabled].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) calcite-dropdown > calcite-button*/[disabled].sc-calcite-split-button-h calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-split-button-h[disabled] .sc-calcite-split-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-split-button-h [calcite-hydrated][disabled].sc-calcite-split-button{opacity:1}";
|
|
31292
31521
|
|
|
31293
31522
|
/**
|
|
31294
31523
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
@@ -35578,6 +35807,7 @@ registerComponents([
|
|
|
35578
35807
|
Fab,
|
|
35579
35808
|
Filter,
|
|
35580
35809
|
Flow,
|
|
35810
|
+
FlowItem,
|
|
35581
35811
|
Graph,
|
|
35582
35812
|
Handle,
|
|
35583
35813
|
Icon,
|