@esri/calcite-components 1.0.0-next.571 → 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-8fca8432.entry.js → p-01e1f264.entry.js} +2 -2
- package/dist/calcite/{p-5f7bdd83.js → p-02874e66.js} +1 -1
- package/dist/calcite/{p-5cee55f8.entry.js → p-02bf316f.entry.js} +2 -2
- package/dist/calcite/{p-2d261579.system.js → p-04324ff6.system.js} +2 -2
- package/dist/calcite/{p-cc01a0da.js → p-0472246a.js} +2 -2
- package/dist/calcite/p-08a5a1c1.entry.js +6 -0
- package/dist/calcite/{p-6403e39f.system.entry.js → p-0943dc72.system.entry.js} +2 -2
- package/dist/calcite/{p-4bd6b9b3.entry.js → p-0a4974cc.entry.js} +2 -2
- package/dist/calcite/{p-b3be56ab.js → p-0aeae19a.js} +2 -2
- package/dist/calcite/{p-05d4924d.js → p-0ccdf105.js} +2 -2
- package/dist/calcite/{p-13fc82d6.entry.js → p-0ddc8a53.entry.js} +2 -2
- package/dist/calcite/{p-31121b13.system.js → p-1038133f.system.js} +1 -1
- package/dist/calcite/{p-e85960bb.system.entry.js → p-128f6135.system.entry.js} +2 -2
- package/dist/calcite/{p-2f7ea8e0.system.js → p-1352c084.system.js} +1 -1
- package/dist/calcite/{p-71ba7f12.js → p-13e8eef6.js} +1 -1
- package/dist/calcite/{p-b1ebe2a6.entry.js → p-14e6ae5b.entry.js} +2 -2
- package/dist/calcite/{p-dc2ba8d6.entry.js → p-14f4fac9.entry.js} +2 -2
- package/dist/calcite/{p-31c18ebc.system.entry.js → p-1b724a77.system.entry.js} +3 -3
- package/dist/calcite/{p-7504b5c5.js → p-1c0cfd52.js} +1 -1
- package/dist/calcite/{p-07aaa874.system.entry.js → p-1c325f2a.system.entry.js} +2 -2
- package/dist/calcite/{p-06de5e73.system.js → p-1cd25094.system.js} +2 -2
- package/dist/calcite/{p-9ade1c57.js → p-2256fb5a.js} +1 -1
- package/dist/calcite/{p-38483baf.system.entry.js → p-2501e910.system.entry.js} +2 -2
- package/dist/calcite/{p-0eb313ce.system.entry.js → p-258f25b4.system.entry.js} +2 -2
- package/dist/calcite/{p-0ee15efc.entry.js → p-26edc3fe.entry.js} +2 -2
- package/dist/calcite/{p-b9ad148b.entry.js → p-27323b2b.entry.js} +2 -2
- package/dist/calcite/{p-df985eab.entry.js → p-27894e89.entry.js} +2 -2
- package/dist/calcite/{p-9f99c3f3.system.js → p-293f1130.system.js} +1 -1
- package/dist/calcite/{p-6a52afac.system.entry.js → p-29bcb552.system.entry.js} +2 -2
- package/dist/calcite/{p-dff8bed4.system.js → p-2aa5b545.system.js} +1 -1
- package/dist/calcite/{p-87af229a.system.js → p-2b26e70c.system.js} +2 -2
- package/dist/calcite/{p-4aecbc47.system.js → p-2c75a894.system.js} +1 -1
- package/dist/calcite/{p-0864ff1f.system.entry.js → p-2d018297.system.entry.js} +2 -2
- package/dist/calcite/{p-bf07fd68.entry.js → p-2f662260.entry.js} +2 -2
- package/dist/calcite/{p-9e593267.entry.js → p-3058a676.entry.js} +2 -2
- package/dist/calcite/p-31a68d51.system.js +6 -0
- package/dist/calcite/{p-668dda51.entry.js → p-31ed467b.entry.js} +2 -2
- package/dist/calcite/{p-f650bc5a.entry.js → p-32bbc891.entry.js} +2 -2
- package/dist/calcite/{p-d0e26d0f.system.entry.js → p-32c72e8d.system.entry.js} +2 -2
- package/dist/calcite/{p-ce1d03e8.system.js → p-337a24eb.system.js} +1 -1
- package/dist/calcite/{p-27e2b8ea.system.js → p-396820b7.system.js} +1 -1
- package/dist/calcite/{p-bdfa3789.system.js → p-398ddb30.system.js} +1 -1
- package/dist/calcite/{p-e119e0b4.js → p-3bbdf28c.js} +2 -2
- package/dist/calcite/{p-6beead34.system.entry.js → p-3dc32ec2.system.entry.js} +2 -2
- package/dist/calcite/{p-989266f0.system.entry.js → p-405f0063.system.entry.js} +2 -2
- package/dist/calcite/{p-feeecafb.system.entry.js → p-42028ad9.system.entry.js} +2 -2
- package/dist/calcite/{p-d12f04b6.js → p-420ccddd.js} +1 -1
- package/dist/calcite/{p-e9debf39.system.entry.js → p-43ba6532.system.entry.js} +3 -3
- package/dist/calcite/p-49114c42.entry.js +6 -0
- package/dist/calcite/{p-e8dd0ce4.system.entry.js → p-4b20dd06.system.entry.js} +2 -2
- package/dist/calcite/{p-4ab7389d.js → p-4d8ba58f.js} +2 -2
- package/dist/calcite/{p-6f35a22e.system.entry.js → p-4e3bb2b5.system.entry.js} +2 -2
- package/dist/calcite/{p-2b9d43ee.entry.js → p-4f151515.entry.js} +2 -2
- package/dist/calcite/{p-b45b3d79.system.entry.js → p-4f264208.system.entry.js} +2 -2
- package/dist/calcite/{p-0f09f141.entry.js → p-5418d810.entry.js} +2 -2
- package/dist/calcite/{p-46674baf.entry.js → p-54949aeb.entry.js} +2 -2
- package/dist/calcite/{p-e9f9da36.system.entry.js → p-551a2e01.system.entry.js} +3 -3
- package/dist/calcite/{p-8e9e4678.system.js → p-567888cc.system.js} +2 -2
- package/dist/calcite/p-588da538.entry.js +6 -0
- package/dist/calcite/{p-0da0fa29.entry.js → p-58cd6a25.entry.js} +2 -2
- package/dist/calcite/{p-ad9d14c2.system.entry.js → p-58cdd975.system.entry.js} +2 -2
- package/dist/calcite/p-5c4421dc.entry.js +6 -0
- package/dist/calcite/{p-46db8711.js → p-5da3e726.js} +1 -1
- package/dist/calcite/{p-bf3152d1.entry.js → p-5f34cff7.entry.js} +2 -2
- package/dist/calcite/{p-581a5a39.system.entry.js → p-5f8c7a97.system.entry.js} +2 -2
- package/dist/calcite/{p-84323215.system.entry.js → p-63e0068e.system.entry.js} +2 -2
- package/dist/calcite/{p-1efc3593.entry.js → p-66a2952f.entry.js} +2 -2
- package/dist/calcite/{p-7ea1d145.system.entry.js → p-68dfd0e8.system.entry.js} +2 -2
- package/dist/calcite/p-69607178.system.entry.js +6 -0
- package/dist/calcite/{p-5d25a2ed.system.js → p-6aa7147a.system.js} +2 -2
- package/dist/calcite/{p-aa4f564a.system.js → p-6f45df0b.system.js} +1 -1
- package/dist/calcite/{p-748bf973.system.js → p-6f71dc54.system.js} +1 -1
- package/dist/calcite/p-711c3499.js +6 -0
- package/dist/calcite/{p-44a6ec71.entry.js → p-7170dae4.entry.js} +2 -2
- package/dist/calcite/{p-c86a8ae6.js → p-729414c5.js} +1 -1
- package/dist/calcite/{p-9ae2a7a4.system.entry.js → p-72f5d36b.system.entry.js} +2 -2
- package/dist/calcite/{p-f2c16b29.system.entry.js → p-7647ee97.system.entry.js} +2 -2
- package/dist/calcite/{p-9c13e45b.entry.js → p-7ac38b2b.entry.js} +2 -2
- package/dist/calcite/{p-b596c9e6.js → p-7de25c76.js} +1 -1
- package/dist/calcite/{p-4cc4a849.system.entry.js → p-8079a79c.system.entry.js} +2 -2
- package/dist/calcite/{p-40a03fa2.system.entry.js → p-81606519.system.entry.js} +2 -2
- package/dist/calcite/{p-b1f1ef97.system.entry.js → p-854fabb7.system.entry.js} +2 -2
- package/dist/calcite/p-8a55c80a.js +6 -0
- package/dist/calcite/{p-f3ca7d80.system.entry.js → p-8c4dde60.system.entry.js} +2 -2
- package/dist/calcite/{p-735f4fb7.js → p-904eb1df.js} +1 -1
- package/dist/calcite/{p-f6443e8b.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-3b5fd066.entry.js → p-9646400a.entry.js} +2 -2
- package/dist/calcite/p-96f59f09.system.entry.js +6 -0
- package/dist/calcite/{p-a0a3e061.system.entry.js → p-96f9d00c.system.entry.js} +2 -2
- package/dist/calcite/p-97b5b5ac.system.entry.js +6 -0
- package/dist/calcite/{p-f7ef036f.js → p-9c6a2350.js} +2 -2
- package/dist/calcite/{p-ffafacab.system.entry.js → p-9d562b85.system.entry.js} +2 -2
- package/dist/calcite/{p-db26e542.system.entry.js → p-9d72faa2.system.entry.js} +2 -2
- package/dist/calcite/p-9e267363.entry.js +6 -0
- package/dist/calcite/{p-28488be9.entry.js → p-9ebe47e9.entry.js} +2 -2
- package/dist/calcite/{p-8b30894d.system.entry.js → p-9f9dfe99.system.entry.js} +2 -2
- package/dist/calcite/{p-d1227283.entry.js → p-a026e825.entry.js} +2 -2
- package/dist/calcite/{p-8dc799ea.system.entry.js → p-a4a1dbb7.system.entry.js} +2 -2
- package/dist/calcite/p-a598a7dd.system.entry.js +6 -0
- package/dist/calcite/{p-20ef7eb3.entry.js → p-a67f40e6.entry.js} +2 -2
- package/dist/calcite/{p-67d8d2f5.system.entry.js → p-a6e30a8f.system.entry.js} +2 -2
- package/dist/calcite/{p-19797e3a.system.entry.js → p-a716e34c.system.entry.js} +2 -2
- package/dist/calcite/{p-634b4667.js → p-a7579427.js} +2 -2
- package/dist/calcite/p-a898954c.system.entry.js +6 -0
- package/dist/calcite/{p-e9590974.entry.js → p-a8a53704.entry.js} +2 -2
- package/dist/calcite/{p-002ec83c.system.entry.js → p-a8f9c6d6.system.entry.js} +2 -2
- package/dist/calcite/p-a9f20b18.system.entry.js +6 -0
- package/dist/calcite/{p-d9bc6c90.system.entry.js → p-aa13a6c2.system.entry.js} +2 -2
- package/dist/calcite/{p-f7ffeafa.entry.js → p-aafc1a2f.entry.js} +2 -2
- package/dist/calcite/p-abe3683b.js +6 -0
- package/dist/calcite/{p-0b194b2f.system.entry.js → p-ad5972fc.system.entry.js} +2 -2
- package/dist/calcite/{p-556f99b3.js → p-ad63ba8c.js} +1 -1
- package/dist/calcite/{p-c6e8c158.entry.js → p-af602be9.entry.js} +2 -2
- package/dist/calcite/{p-c8ceec2d.js → p-afb86c1a.js} +1 -1
- package/dist/calcite/{p-d815a193.js → p-b21f44b7.js} +1 -1
- package/dist/calcite/p-b248c3b2.entry.js +6 -0
- package/dist/calcite/p-b2649312.entry.js +6 -0
- package/dist/calcite/{p-27644b63.entry.js → p-b26e592b.entry.js} +2 -2
- package/dist/calcite/{p-d22701df.system.entry.js → p-b4c56282.system.entry.js} +2 -2
- package/dist/calcite/p-b6dc1fbb.js +6 -0
- package/dist/calcite/{p-46c9c1da.system.entry.js → p-b73dc693.system.entry.js} +2 -2
- package/dist/calcite/{p-05e8f5e7.entry.js → p-b855c064.entry.js} +2 -2
- package/dist/calcite/{p-a0a7d286.entry.js → p-b8810eb8.entry.js} +2 -2
- package/dist/calcite/{p-4407d4e4.system.js → p-b91d70ea.system.js} +1 -1
- package/dist/calcite/{p-30805900.system.entry.js → p-ba9faef1.system.entry.js} +2 -2
- package/dist/calcite/{p-f36a9b83.entry.js → p-bbd25093.entry.js} +2 -2
- package/dist/calcite/{p-94c24c02.entry.js → p-bd0c7dee.entry.js} +2 -2
- package/dist/calcite/p-bd1fb33a.entry.js +6 -0
- package/dist/calcite/{p-55bb2cdc.system.entry.js → p-bf1c3465.system.entry.js} +2 -2
- package/dist/calcite/{p-47810f6d.entry.js → p-c2d7f995.entry.js} +2 -2
- package/dist/calcite/{p-0149d27c.entry.js → p-c54ba294.entry.js} +2 -2
- package/dist/calcite/{p-be2321b0.system.entry.js → p-c6005ea4.system.entry.js} +2 -2
- package/dist/calcite/{p-63146b51.js → p-c769a124.js} +1 -1
- package/dist/calcite/{p-d85c22c9.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-6aee159f.js → p-c9f24014.js} +2 -2
- package/dist/calcite/{p-0a5fc96c.entry.js → p-ca9d349d.entry.js} +2 -2
- package/dist/calcite/{p-1990acbf.entry.js → p-cbe27383.entry.js} +2 -2
- package/dist/calcite/{p-6f62d2c6.system.js → p-cc5b9672.system.js} +1 -1
- package/dist/calcite/{p-2560a58e.system.entry.js → p-cd1e35ee.system.entry.js} +2 -2
- package/dist/calcite/{p-e342902c.system.entry.js → p-cdd4697e.system.entry.js} +2 -2
- package/dist/calcite/p-ce3da917.system.js +6 -0
- package/dist/calcite/p-cf3ea746.entry.js +6 -0
- package/dist/calcite/{p-4ae377e7.system.entry.js → p-cf3fb5a0.system.entry.js} +2 -2
- package/dist/calcite/{p-d3e3c001.entry.js → p-d064ce65.entry.js} +2 -2
- package/dist/calcite/p-d0ea54b5.system.entry.js +6 -0
- package/dist/calcite/p-d0fbf0a6.entry.js +6 -0
- package/dist/calcite/p-d3bb2db1.entry.js +6 -0
- package/dist/calcite/{p-38043ca4.entry.js → p-d4772885.entry.js} +2 -2
- package/dist/calcite/{p-7e3170f3.entry.js → p-d6933313.entry.js} +2 -2
- package/dist/calcite/{p-103e5afd.system.entry.js → p-d69d2ceb.system.entry.js} +2 -2
- package/dist/calcite/{p-b3675053.js → p-d70de307.js} +2 -2
- package/dist/calcite/p-d9f72aca.system.entry.js +6 -0
- package/dist/calcite/{p-6a600418.entry.js → p-dabfab4d.entry.js} +2 -2
- package/dist/calcite/{p-3ff82cf1.entry.js → p-dae459bf.entry.js} +2 -2
- package/dist/calcite/{p-b495901b.entry.js → p-dca7a79c.entry.js} +2 -2
- package/dist/calcite/{p-d18ddc53.system.entry.js → p-dda4734d.system.entry.js} +2 -2
- package/dist/calcite/{p-75817bd0.system.js → p-defa0c9d.system.js} +1 -1
- package/dist/calcite/p-df16481d.system.entry.js +6 -0
- package/dist/calcite/{p-2ce5c529.system.js → p-df2b9dd8.system.js} +2 -2
- package/dist/calcite/{p-3d1abd24.system.js → p-e0f33780.system.js} +2 -2
- package/dist/calcite/{p-e8b30d42.system.js → p-e1d7243b.system.js} +1 -1
- package/dist/calcite/{p-8ad9220f.system.js → p-e7dc1543.system.js} +1 -1
- package/dist/calcite/{p-7a03365e.entry.js → p-e7f9f911.entry.js} +2 -2
- package/dist/calcite/p-ebe41e88.entry.js +6 -0
- package/dist/calcite/{p-528aaf72.system.entry.js → p-edcb605e.system.entry.js} +2 -2
- package/dist/calcite/{p-00367ed4.system.js → p-ee2ba171.system.js} +2 -2
- package/dist/calcite/{p-7d44b9ba.system.js → p-ef95d6d7.system.js} +2 -2
- package/dist/calcite/{p-aae82ee7.js → p-f1873d3e.js} +1 -1
- package/dist/calcite/{p-f22fd556.system.js → p-f2564d1d.system.js} +2 -2
- package/dist/calcite/{p-9544cb29.entry.js → p-f2592bd5.entry.js} +2 -2
- package/dist/calcite/{p-5676272d.system.js → p-f28e72db.system.js} +1 -1
- package/dist/calcite/{p-d5a25382.entry.js → p-f2d22297.entry.js} +2 -2
- package/dist/calcite/{p-33a4e116.entry.js → p-f5f0e229.entry.js} +2 -2
- package/dist/calcite/{p-c44b740a.system.js → p-ffab28ce.system.js} +2 -2
- package/dist/cjs/{ExpandToggle-8782dd2f.js → ExpandToggle-d01ba222.js} +5 -5
- package/dist/cjs/{Heading-d7f41298.js → Heading-5c8ae7c7.js} +2 -2
- package/dist/cjs/{app-globals-a7ded446.js → app-globals-ac11ea69.js} +2 -2
- package/dist/cjs/{array-1d4fc13d.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 +20 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
- 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 +18 -16
- 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 +17 -17
- 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-9c0fa505.js → conditionalSlot-d467cd45.js} +3 -3
- package/dist/cjs/{debounce-19b40b8f.js → debounce-fdf01cb6.js} +1 -1
- package/dist/cjs/{dom-eaadcd89.js → dom-3eb34325.js} +3 -3
- package/dist/cjs/{filter-807d1608.js → filter-55af528e.js} +2 -2
- package/dist/cjs/{floating-ui-b204da9e.js → floating-ui-7329e890.js} +5 -3
- package/dist/cjs/{form-d12acbaa.js → form-80db0b5f.js} +3 -3
- package/dist/cjs/{guid-73c3edb1.js → guid-dc7f4ae8.js} +1 -1
- package/dist/cjs/{index-6bf394ff.js → index-371fa05d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-26bbc844.js → interactive-0d5bf080.js} +1 -1
- package/dist/cjs/{interfaces-d80e4a30.js → interfaces-05dc4281.js} +1 -1
- package/dist/cjs/{key-afa2f3d6.js → key-7782fce0.js} +1 -1
- package/dist/cjs/{label-d075c31f.js → label-7d957162.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-93089c26.js → locale-c6c7e842.js} +2 -2
- package/dist/cjs/{math-1535633c.js → math-77342528.js} +1 -1
- package/dist/cjs/{observers-072222fa.js → observers-42cebe54.js} +1 -1
- package/dist/cjs/{openCloseComponent-a2a73280.js → openCloseComponent-d46fe480.js} +1 -1
- package/dist/cjs/{resources-5155666e.js → resources-08cedc9e.js} +3 -3
- package/dist/cjs/{resources-b97de259.js → resources-4c96ffc6.js} +1 -1
- package/dist/cjs/{resources-4f93a2ec.js → resources-6b16c623.js} +1 -1
- package/dist/cjs/resources-8d1dd980.js +52 -0
- package/dist/cjs/{resources-4ff9d0d2.js → resources-b5b9e02b.js} +5 -5
- package/dist/cjs/{resources-1ab38954.js → resources-ea6e7974.js} +1 -1
- package/dist/cjs/{sortable.esm-81835757.js → sortable.esm-e02e39de.js} +1 -1
- package/dist/cjs/{utils-8b591bb2.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.css +6 -0
- package/dist/collection/components/combobox/combobox.js +6 -4
- 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.css +6 -0
- package/dist/collection/components/dropdown/dropdown.js +8 -7
- 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.css +9 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +6 -4
- 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 +5 -6
- package/dist/collection/components/popover/popover.js +4 -3
- 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 +4 -2
- 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 +7 -5
- 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 +6 -4
- 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 +8 -6
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +4 -2
- 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 +8 -8
- 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 +714 -517
- package/dist/esm/{ExpandToggle-d33b69db.js → ExpandToggle-f1f93ed7.js} +5 -5
- package/dist/esm/{Heading-cc745c4a.js → Heading-17772655.js} +2 -2
- package/dist/esm/{app-globals-e1c2379e.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm/{array-51e6fec9.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 +20 -18
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- package/dist/esm/calcite-dropdown_3.entry.js +17 -15
- 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 +18 -16
- 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 +17 -17
- 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-d174e645.js → conditionalSlot-e4e51860.js} +3 -3
- package/dist/esm/{debounce-97ec2bf5.js → debounce-f443feec.js} +1 -1
- package/dist/esm/{dom-ada6955f.js → dom-a8dad893.js} +3 -3
- package/dist/esm/{filter-95fc6fc6.js → filter-093821c0.js} +2 -2
- package/dist/esm/{floating-ui-1dbb3151.js → floating-ui-26990792.js} +5 -3
- package/dist/esm/{form-13f50160.js → form-08fd9bc5.js} +3 -3
- package/dist/esm/{guid-a51b25d0.js → guid-b990c4d2.js} +1 -1
- package/dist/esm/{index-47008242.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-d8ae72af.js → interactive-e72598f1.js} +1 -1
- package/dist/esm/{interfaces-1d49904b.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm/{key-66ffc0a6.js → key-9cbf7b92.js} +1 -1
- package/dist/esm/{label-a7ae8219.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-8929fd51.js → locale-26bd4f96.js} +2 -2
- package/dist/esm/{math-be7d2f3b.js → math-519aad80.js} +1 -1
- package/dist/esm/{observers-1c28ae12.js → observers-b2199b39.js} +1 -1
- package/dist/esm/{openCloseComponent-07a8007c.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm/{resources-8df5b958.js → resources-08de72a5.js} +3 -3
- package/dist/esm/{resources-c467e503.js → resources-0fcef459.js} +1 -1
- package/dist/esm/{resources-9480c6af.js → resources-11a525a9.js} +5 -5
- package/dist/esm/{resources-47135f28.js → resources-222b83b4.js} +1 -1
- package/dist/esm/resources-5784443c.js +46 -0
- package/dist/esm/{resources-9edb97ea.js → resources-fcc173ea.js} +1 -1
- package/dist/esm/{sortable.esm-41e7c566.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm/{utils-535af390.js → utils-e80bf55b.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-d33b69db.js → ExpandToggle-f1f93ed7.js} +2 -2
- package/dist/esm-es5/{Heading-cc745c4a.js → Heading-17772655.js} +2 -2
- package/dist/esm-es5/{app-globals-e1c2379e.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm-es5/{array-51e6fec9.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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- 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-d174e645.js → conditionalSlot-e4e51860.js} +2 -2
- package/dist/esm-es5/{debounce-97ec2bf5.js → debounce-f443feec.js} +1 -1
- package/dist/esm-es5/{dom-ada6955f.js → dom-a8dad893.js} +2 -2
- package/dist/esm-es5/{filter-95fc6fc6.js → filter-093821c0.js} +2 -2
- package/dist/esm-es5/{floating-ui-1dbb3151.js → floating-ui-26990792.js} +2 -2
- package/dist/esm-es5/{form-13f50160.js → form-08fd9bc5.js} +2 -2
- package/dist/esm-es5/{guid-a51b25d0.js → guid-b990c4d2.js} +1 -1
- package/dist/esm-es5/{index-47008242.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-d8ae72af.js → interactive-e72598f1.js} +1 -1
- package/dist/esm-es5/{interfaces-1d49904b.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm-es5/{key-66ffc0a6.js → key-9cbf7b92.js} +1 -1
- package/dist/esm-es5/{label-a7ae8219.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-8929fd51.js → locale-26bd4f96.js} +2 -2
- package/dist/esm-es5/{math-be7d2f3b.js → math-519aad80.js} +1 -1
- package/dist/esm-es5/{observers-1c28ae12.js → observers-b2199b39.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-07a8007c.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm-es5/{resources-8df5b958.js → resources-08de72a5.js} +2 -2
- package/dist/esm-es5/{resources-c467e503.js → resources-0fcef459.js} +1 -1
- package/dist/esm-es5/{resources-9480c6af.js → resources-11a525a9.js} +2 -2
- package/dist/esm-es5/{resources-47135f28.js → resources-222b83b4.js} +1 -1
- package/dist/esm-es5/resources-5784443c.js +6 -0
- package/dist/esm-es5/{resources-9edb97ea.js → resources-fcc173ea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-41e7c566.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm-es5/{utils-535af390.js → utils-e80bf55b.js} +1 -1
- package/dist/extras/docs-json.json +542 -21
- 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/dist/types/utils/floating-ui.d.ts +10 -2
- package/hydrate/index.js +755 -517
- package/package.json +5 -5
- package/readme.md +2 -2
- package/dist/calcite/p-01f33421.js +0 -6
- package/dist/calcite/p-03dbcd7d.system.entry.js +0 -6
- package/dist/calcite/p-0bcceda2.system.entry.js +0 -6
- package/dist/calcite/p-127c4501.entry.js +0 -6
- package/dist/calcite/p-3a7e9f2e.entry.js +0 -6
- package/dist/calcite/p-3cfab2ca.entry.js +0 -6
- package/dist/calcite/p-45353e58.system.entry.js +0 -6
- package/dist/calcite/p-65506efd.system.entry.js +0 -6
- package/dist/calcite/p-68339cba.js +0 -6
- package/dist/calcite/p-6fbdf6b8.system.entry.js +0 -6
- package/dist/calcite/p-7772682c.entry.js +0 -6
- package/dist/calcite/p-7fd192b5.system.entry.js +0 -6
- package/dist/calcite/p-853b363e.system.js +0 -6
- package/dist/calcite/p-8a93016a.system.entry.js +0 -6
- package/dist/calcite/p-90dc377d.entry.js +0 -6
- package/dist/calcite/p-936abd8d.system.entry.js +0 -6
- package/dist/calcite/p-948a5867.system.entry.js +0 -6
- package/dist/calcite/p-9529657d.entry.js +0 -6
- package/dist/calcite/p-ba1859b0.entry.js +0 -6
- package/dist/calcite/p-bf05225a.entry.js +0 -6
- package/dist/calcite/p-c451ce2e.entry.js +0 -6
- package/dist/calcite/p-d97dd30a.entry.js +0 -6
- package/dist/calcite/p-dc063bce.system.js +0 -6
- package/dist/calcite/p-eceed63b.entry.js +0 -6
- package/dist/calcite/p-f88777d1.entry.js +0 -6
- package/dist/calcite/p-fe158e3f.system.entry.js +0 -6
- package/dist/calcite/p-fe656a4f.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 {
|
|
@@ -15338,7 +15340,9 @@ function getMiddleware({ placement, disableFlip, flipPlacements, offsetDistance,
|
|
|
15338
15340
|
if (type === "menu") {
|
|
15339
15341
|
return [
|
|
15340
15342
|
...defaultMiddleware,
|
|
15341
|
-
flip({
|
|
15343
|
+
flip({
|
|
15344
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"]
|
|
15345
|
+
})
|
|
15342
15346
|
];
|
|
15343
15347
|
}
|
|
15344
15348
|
if (type === "popover" || type === "tooltip") {
|
|
@@ -15494,7 +15498,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
15494
15498
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
15495
15499
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
15496
15500
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
15497
|
-
const TEXT$
|
|
15501
|
+
const TEXT$j = {
|
|
15498
15502
|
removeTag: "Remove tag"
|
|
15499
15503
|
};
|
|
15500
15504
|
|
|
@@ -15521,7 +15525,7 @@ function getDepth(element) {
|
|
|
15521
15525
|
}
|
|
15522
15526
|
}
|
|
15523
15527
|
|
|
15524
|
-
const comboboxCss = "@-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-combobox: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-combobox{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-combobox{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-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-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:-ms-flexbox;display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{-ms-flex:none;flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
15528
|
+
const comboboxCss = "@-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-combobox: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-combobox{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-combobox{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-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-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:-ms-flexbox;display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{-ms-flex:none;flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
15525
15529
|
|
|
15526
15530
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
15527
15531
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -15589,7 +15593,7 @@ class Combobox {
|
|
|
15589
15593
|
*
|
|
15590
15594
|
* @default "Remove tag"
|
|
15591
15595
|
*/
|
|
15592
|
-
this.intlRemoveTag = TEXT$
|
|
15596
|
+
this.intlRemoveTag = TEXT$j.removeTag;
|
|
15593
15597
|
//--------------------------------------------------------------------------
|
|
15594
15598
|
//
|
|
15595
15599
|
// Private State/Props
|
|
@@ -15924,6 +15928,7 @@ class Combobox {
|
|
|
15924
15928
|
}
|
|
15925
15929
|
flipPlacementsHandler() {
|
|
15926
15930
|
this.setFilteredPlacements();
|
|
15931
|
+
this.reposition();
|
|
15927
15932
|
}
|
|
15928
15933
|
//--------------------------------------------------------------------------
|
|
15929
15934
|
//
|
|
@@ -15949,12 +15954,13 @@ class Combobox {
|
|
|
15949
15954
|
//--------------------------------------------------------------------------
|
|
15950
15955
|
/** Updates the position of the component. */
|
|
15951
15956
|
async reposition() {
|
|
15952
|
-
const { floatingEl, referenceEl, placement, overlayPositioning } = this;
|
|
15957
|
+
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
|
15953
15958
|
return positionFloatingUI({
|
|
15954
15959
|
floatingEl,
|
|
15955
15960
|
referenceEl,
|
|
15956
15961
|
overlayPositioning,
|
|
15957
15962
|
placement,
|
|
15963
|
+
flipPlacements: filteredFlipPlacements,
|
|
15958
15964
|
type: "menu"
|
|
15959
15965
|
});
|
|
15960
15966
|
}
|
|
@@ -15979,8 +15985,8 @@ class Combobox {
|
|
|
15979
15985
|
connectLabel(this);
|
|
15980
15986
|
connectForm(this);
|
|
15981
15987
|
connectOpenCloseComponent(this);
|
|
15982
|
-
this.reposition();
|
|
15983
15988
|
this.setFilteredPlacements();
|
|
15989
|
+
this.reposition();
|
|
15984
15990
|
if (this.active) {
|
|
15985
15991
|
this.activeHandler(this.active);
|
|
15986
15992
|
}
|
|
@@ -16330,7 +16336,7 @@ class Combobox {
|
|
|
16330
16336
|
wrapper: true,
|
|
16331
16337
|
"wrapper--single": single || !this.selectedItems.length,
|
|
16332
16338
|
"wrapper--active": open || active
|
|
16333
|
-
}, 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 })));
|
|
16334
16340
|
}
|
|
16335
16341
|
get el() { return getElement(this); }
|
|
16336
16342
|
static get watchers() { return {
|
|
@@ -16383,7 +16389,7 @@ class Combobox {
|
|
|
16383
16389
|
}; }
|
|
16384
16390
|
}
|
|
16385
16391
|
|
|
16386
|
-
const CSS$
|
|
16392
|
+
const CSS$G = {
|
|
16387
16393
|
icon: "icon",
|
|
16388
16394
|
iconActive: "icon--active",
|
|
16389
16395
|
custom: "icon--custom",
|
|
@@ -16475,18 +16481,18 @@ class ComboboxItem {
|
|
|
16475
16481
|
// --------------------------------------------------------------------------
|
|
16476
16482
|
renderIcon(isSingle) {
|
|
16477
16483
|
const { icon, disabled, selected } = this;
|
|
16478
|
-
const level = `${CSS$
|
|
16484
|
+
const level = `${CSS$G.icon}--indent`;
|
|
16479
16485
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16480
16486
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16481
16487
|
const showDot = isSingle && !icon && !disabled;
|
|
16482
16488
|
return showDot ? (hAsync("span", { class: {
|
|
16483
|
-
[CSS$
|
|
16484
|
-
[CSS$
|
|
16489
|
+
[CSS$G.icon]: true,
|
|
16490
|
+
[CSS$G.dot]: true,
|
|
16485
16491
|
[level]: true
|
|
16486
16492
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16487
|
-
[CSS$
|
|
16488
|
-
[CSS$
|
|
16489
|
-
[CSS$
|
|
16493
|
+
[CSS$G.icon]: !icon,
|
|
16494
|
+
[CSS$G.custom]: !!icon,
|
|
16495
|
+
[CSS$G.iconActive]: icon && selected,
|
|
16490
16496
|
[level]: true
|
|
16491
16497
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16492
16498
|
}
|
|
@@ -16499,13 +16505,13 @@ class ComboboxItem {
|
|
|
16499
16505
|
render() {
|
|
16500
16506
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16501
16507
|
const classes = {
|
|
16502
|
-
[CSS$
|
|
16503
|
-
[CSS$
|
|
16504
|
-
[CSS$
|
|
16505
|
-
[CSS$
|
|
16508
|
+
[CSS$G.label]: true,
|
|
16509
|
+
[CSS$G.selected]: this.selected,
|
|
16510
|
+
[CSS$G.active]: this.active,
|
|
16511
|
+
[CSS$G.single]: isSingleSelect
|
|
16506
16512
|
};
|
|
16507
16513
|
const depth = getDepth();
|
|
16508
|
-
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())));
|
|
16509
16515
|
}
|
|
16510
16516
|
get el() { return getElement(this); }
|
|
16511
16517
|
static get watchers() { return {
|
|
@@ -16534,7 +16540,7 @@ class ComboboxItem {
|
|
|
16534
16540
|
}; }
|
|
16535
16541
|
}
|
|
16536
16542
|
|
|
16537
|
-
const CSS$
|
|
16543
|
+
const CSS$F = {
|
|
16538
16544
|
list: "list",
|
|
16539
16545
|
label: "label",
|
|
16540
16546
|
title: "title"
|
|
@@ -16567,8 +16573,8 @@ class ComboboxItemGroup {
|
|
|
16567
16573
|
// --------------------------------------------------------------------------
|
|
16568
16574
|
render() {
|
|
16569
16575
|
const { el, scale } = this;
|
|
16570
|
-
const indent = `${CSS$
|
|
16571
|
-
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)));
|
|
16572
16578
|
}
|
|
16573
16579
|
get el() { return getElement(this); }
|
|
16574
16580
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -16970,7 +16976,7 @@ function getDaysDiff(date1, date2) {
|
|
|
16970
16976
|
}
|
|
16971
16977
|
|
|
16972
16978
|
const HEADING_LEVEL$6 = 2;
|
|
16973
|
-
const TEXT$
|
|
16979
|
+
const TEXT$i = {
|
|
16974
16980
|
nextMonth: "Next month",
|
|
16975
16981
|
prevMonth: "Previous month",
|
|
16976
16982
|
year: "Year"
|
|
@@ -16988,19 +16994,19 @@ class DatePicker {
|
|
|
16988
16994
|
*
|
|
16989
16995
|
* @default "Previous month"
|
|
16990
16996
|
*/
|
|
16991
|
-
this.intlPrevMonth = TEXT$
|
|
16997
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
16992
16998
|
/**
|
|
16993
16999
|
* Localized string for "next month" (used for aria label)
|
|
16994
17000
|
*
|
|
16995
17001
|
* @default "Next month"
|
|
16996
17002
|
*/
|
|
16997
|
-
this.intlNextMonth = TEXT$
|
|
17003
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
16998
17004
|
/**
|
|
16999
17005
|
* Localized string for "year" (used for aria label)
|
|
17000
17006
|
*
|
|
17001
17007
|
* @default "Year"
|
|
17002
17008
|
*/
|
|
17003
|
-
this.intlYear = TEXT$
|
|
17009
|
+
this.intlYear = TEXT$i.year;
|
|
17004
17010
|
/** BCP 47 language tag for desired language and country format */
|
|
17005
17011
|
this.locale = document.documentElement.lang || "en";
|
|
17006
17012
|
/** specify the scale of the date picker */
|
|
@@ -18015,11 +18021,11 @@ class DatePickerMonthHeader {
|
|
|
18015
18021
|
}; }
|
|
18016
18022
|
}
|
|
18017
18023
|
|
|
18018
|
-
const SLOTS$
|
|
18024
|
+
const SLOTS$k = {
|
|
18019
18025
|
dropdownTrigger: "dropdown-trigger"
|
|
18020
18026
|
};
|
|
18021
18027
|
|
|
18022
|
-
const dropdownCss = "@-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-dropdown: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-dropdown{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-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-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-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
18028
|
+
const dropdownCss = "@-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-dropdown: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-dropdown{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-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-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-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
18023
18029
|
|
|
18024
18030
|
/**
|
|
18025
18031
|
* @slot - A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
@@ -18145,8 +18151,8 @@ class Dropdown {
|
|
|
18145
18151
|
scrollerEl.style.minWidth = `${referenceElWidth}px`;
|
|
18146
18152
|
};
|
|
18147
18153
|
this.setMaxScrollerHeight = () => {
|
|
18148
|
-
const { scrollerEl
|
|
18149
|
-
if (!scrollerEl
|
|
18154
|
+
const { scrollerEl } = this;
|
|
18155
|
+
if (!scrollerEl) {
|
|
18150
18156
|
return;
|
|
18151
18157
|
}
|
|
18152
18158
|
this.reposition();
|
|
@@ -18231,6 +18237,7 @@ class Dropdown {
|
|
|
18231
18237
|
}
|
|
18232
18238
|
flipPlacementsHandler() {
|
|
18233
18239
|
this.setFilteredPlacements();
|
|
18240
|
+
this.reposition();
|
|
18234
18241
|
}
|
|
18235
18242
|
maxItemsHandler() {
|
|
18236
18243
|
this.setMaxScrollerHeight();
|
|
@@ -18274,11 +18281,11 @@ class Dropdown {
|
|
|
18274
18281
|
}
|
|
18275
18282
|
render() {
|
|
18276
18283
|
const { open, guid } = this;
|
|
18277
|
-
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: {
|
|
18278
18285
|
["calcite-dropdown-content"]: true,
|
|
18279
18286
|
[FloatingCSS.animation]: true,
|
|
18280
18287
|
[FloatingCSS.animationActive]: open
|
|
18281
|
-
}, id: `${guid}-menu`, ref: this.setScrollerAndTransitionEl, role: "menu" }, hAsync("
|
|
18288
|
+
}, id: `${guid}-menu`, ref: this.setScrollerAndTransitionEl, role: "menu" }, hAsync("slot", { onSlotchange: this.updateGroups })))));
|
|
18282
18289
|
}
|
|
18283
18290
|
//--------------------------------------------------------------------------
|
|
18284
18291
|
//
|
|
@@ -18287,12 +18294,13 @@ class Dropdown {
|
|
|
18287
18294
|
//--------------------------------------------------------------------------
|
|
18288
18295
|
/** Updates the position of the component. */
|
|
18289
18296
|
async reposition() {
|
|
18290
|
-
const { floatingEl, referenceEl, placement, overlayPositioning } = this;
|
|
18297
|
+
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
|
18291
18298
|
return positionFloatingUI({
|
|
18292
18299
|
floatingEl,
|
|
18293
18300
|
referenceEl,
|
|
18294
18301
|
overlayPositioning,
|
|
18295
18302
|
placement,
|
|
18303
|
+
flipPlacements: filteredFlipPlacements,
|
|
18296
18304
|
type: "menu"
|
|
18297
18305
|
});
|
|
18298
18306
|
}
|
|
@@ -18480,7 +18488,7 @@ class Dropdown {
|
|
|
18480
18488
|
}; }
|
|
18481
18489
|
}
|
|
18482
18490
|
|
|
18483
|
-
const CSS$
|
|
18491
|
+
const CSS$E = {
|
|
18484
18492
|
containerSmall: "container--s",
|
|
18485
18493
|
containerMedium: "container--m",
|
|
18486
18494
|
containerLarge: "container--l"
|
|
@@ -18515,9 +18523,9 @@ class DropdownGroup {
|
|
|
18515
18523
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18516
18524
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18517
18525
|
container: true,
|
|
18518
|
-
[CSS$
|
|
18519
|
-
[CSS$
|
|
18520
|
-
[CSS$
|
|
18526
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
18527
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
18528
|
+
[CSS$E.containerLarge]: scale === "l"
|
|
18521
18529
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18522
18530
|
}
|
|
18523
18531
|
//--------------------------------------------------------------------------
|
|
@@ -18557,7 +18565,7 @@ class DropdownGroup {
|
|
|
18557
18565
|
}; }
|
|
18558
18566
|
}
|
|
18559
18567
|
|
|
18560
|
-
const CSS$
|
|
18568
|
+
const CSS$D = {
|
|
18561
18569
|
containerLink: "container--link",
|
|
18562
18570
|
containerSmall: "container--s",
|
|
18563
18571
|
containerMedium: "container--m",
|
|
@@ -18647,13 +18655,13 @@ class DropdownItem {
|
|
|
18647
18655
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
18648
18656
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18649
18657
|
container: true,
|
|
18650
|
-
[CSS$
|
|
18651
|
-
[CSS$
|
|
18652
|
-
[CSS$
|
|
18653
|
-
[CSS$
|
|
18654
|
-
[CSS$
|
|
18655
|
-
[CSS$
|
|
18656
|
-
[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"
|
|
18657
18665
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18658
18666
|
}
|
|
18659
18667
|
//--------------------------------------------------------------------------
|
|
@@ -18764,10 +18772,10 @@ class DropdownItem {
|
|
|
18764
18772
|
}; }
|
|
18765
18773
|
}
|
|
18766
18774
|
|
|
18767
|
-
const CSS$
|
|
18775
|
+
const CSS$C = {
|
|
18768
18776
|
button: "button"
|
|
18769
18777
|
};
|
|
18770
|
-
const ICONS$
|
|
18778
|
+
const ICONS$a = {
|
|
18771
18779
|
plus: "plus"
|
|
18772
18780
|
};
|
|
18773
18781
|
|
|
@@ -18798,7 +18806,7 @@ class Fab {
|
|
|
18798
18806
|
*
|
|
18799
18807
|
* @default "plus"
|
|
18800
18808
|
*/
|
|
18801
|
-
this.icon = ICONS$
|
|
18809
|
+
this.icon = ICONS$a.plus;
|
|
18802
18810
|
/**
|
|
18803
18811
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
18804
18812
|
*/
|
|
@@ -18837,7 +18845,7 @@ class Fab {
|
|
|
18837
18845
|
render() {
|
|
18838
18846
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
18839
18847
|
const title = !textEnabled ? label || text || null : null;
|
|
18840
|
-
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) => {
|
|
18841
18849
|
this.buttonEl = buttonEl;
|
|
18842
18850
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
18843
18851
|
}
|
|
@@ -18864,15 +18872,15 @@ class Fab {
|
|
|
18864
18872
|
}; }
|
|
18865
18873
|
}
|
|
18866
18874
|
|
|
18867
|
-
const CSS$
|
|
18875
|
+
const CSS$B = {
|
|
18868
18876
|
container: "container",
|
|
18869
18877
|
searchIcon: "search-icon"
|
|
18870
18878
|
};
|
|
18871
|
-
const TEXT$
|
|
18879
|
+
const TEXT$h = {
|
|
18872
18880
|
filterLabel: "Filter",
|
|
18873
18881
|
clear: "Clear filter"
|
|
18874
18882
|
};
|
|
18875
|
-
const ICONS$
|
|
18883
|
+
const ICONS$9 = {
|
|
18876
18884
|
search: "search",
|
|
18877
18885
|
close: "x"
|
|
18878
18886
|
};
|
|
@@ -18983,7 +18991,7 @@ class Filter {
|
|
|
18983
18991
|
// --------------------------------------------------------------------------
|
|
18984
18992
|
render() {
|
|
18985
18993
|
const { disabled, scale } = this;
|
|
18986
|
-
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) => {
|
|
18987
18995
|
this.textInput = el;
|
|
18988
18996
|
}, scale: scale, type: "text", value: this.value })))));
|
|
18989
18997
|
}
|
|
@@ -19013,52 +19021,52 @@ class Filter {
|
|
|
19013
19021
|
}; }
|
|
19014
19022
|
}
|
|
19015
19023
|
|
|
19016
|
-
const CSS$
|
|
19024
|
+
const CSS$A = {
|
|
19017
19025
|
frame: "frame",
|
|
19018
19026
|
frameAdvancing: "frame--advancing",
|
|
19019
19027
|
frameRetreating: "frame--retreating"
|
|
19020
19028
|
};
|
|
19021
19029
|
|
|
19022
|
-
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)}}";
|
|
19023
19031
|
|
|
19024
19032
|
/**
|
|
19025
|
-
* @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.
|
|
19026
19034
|
*/
|
|
19027
19035
|
class Flow {
|
|
19028
19036
|
constructor(hostRef) {
|
|
19029
19037
|
registerInstance(this, hostRef);
|
|
19030
|
-
this.panelCount = 0;
|
|
19031
19038
|
this.flowDirection = null;
|
|
19032
|
-
this.
|
|
19033
|
-
this.
|
|
19034
|
-
this.
|
|
19035
|
-
|
|
19036
|
-
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;
|
|
19037
19045
|
if (!allowAdvancingDirection && !allowRetreatingDirection) {
|
|
19038
19046
|
return null;
|
|
19039
19047
|
}
|
|
19040
|
-
return
|
|
19048
|
+
return newFlowItemCount < oldFlowItemCount ? "retreating" : "advancing";
|
|
19041
19049
|
};
|
|
19042
19050
|
this.updateFlowProps = () => {
|
|
19043
|
-
const { el,
|
|
19044
|
-
const
|
|
19045
|
-
const
|
|
19046
|
-
const
|
|
19047
|
-
const
|
|
19048
|
-
const
|
|
19049
|
-
if (
|
|
19050
|
-
|
|
19051
|
-
|
|
19052
|
-
|
|
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;
|
|
19053
19061
|
});
|
|
19054
19062
|
}
|
|
19055
|
-
if (
|
|
19056
|
-
|
|
19063
|
+
if (previousItem) {
|
|
19064
|
+
previousItem.menuOpen = false;
|
|
19057
19065
|
}
|
|
19058
|
-
this.
|
|
19059
|
-
if (
|
|
19060
|
-
const flowDirection = this.getFlowDirection(
|
|
19061
|
-
this.
|
|
19066
|
+
this.items = newItems;
|
|
19067
|
+
if (oldItemCount !== newItemCount) {
|
|
19068
|
+
const flowDirection = this.getFlowDirection(oldItemCount, newItemCount);
|
|
19069
|
+
this.itemCount = newItemCount;
|
|
19062
19070
|
this.flowDirection = flowDirection;
|
|
19063
19071
|
}
|
|
19064
19072
|
};
|
|
@@ -19069,11 +19077,11 @@ class Flow {
|
|
|
19069
19077
|
//
|
|
19070
19078
|
// --------------------------------------------------------------------------
|
|
19071
19079
|
/**
|
|
19072
|
-
* Removes the currently active `calcite-panel`.
|
|
19080
|
+
* Removes the currently active `calcite-flow-item` or `calcite-panel`.
|
|
19073
19081
|
*/
|
|
19074
19082
|
async back() {
|
|
19075
|
-
const {
|
|
19076
|
-
const lastItem =
|
|
19083
|
+
const { items } = this;
|
|
19084
|
+
const lastItem = items[items.length - 1];
|
|
19077
19085
|
if (!lastItem) {
|
|
19078
19086
|
return;
|
|
19079
19087
|
}
|
|
@@ -19092,19 +19100,19 @@ class Flow {
|
|
|
19092
19100
|
// --------------------------------------------------------------------------
|
|
19093
19101
|
connectedCallback() {
|
|
19094
19102
|
var _a;
|
|
19095
|
-
(_a = this.
|
|
19103
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
19096
19104
|
this.updateFlowProps();
|
|
19097
19105
|
}
|
|
19098
19106
|
disconnectedCallback() {
|
|
19099
19107
|
var _a;
|
|
19100
|
-
(_a = this.
|
|
19108
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19101
19109
|
}
|
|
19102
19110
|
// --------------------------------------------------------------------------
|
|
19103
19111
|
//
|
|
19104
19112
|
// Private Methods
|
|
19105
19113
|
//
|
|
19106
19114
|
// --------------------------------------------------------------------------
|
|
19107
|
-
|
|
19115
|
+
handleItemBackClick() {
|
|
19108
19116
|
this.back();
|
|
19109
19117
|
}
|
|
19110
19118
|
// --------------------------------------------------------------------------
|
|
@@ -19115,9 +19123,9 @@ class Flow {
|
|
|
19115
19123
|
render() {
|
|
19116
19124
|
const { flowDirection } = this;
|
|
19117
19125
|
const frameDirectionClasses = {
|
|
19118
|
-
[CSS$
|
|
19119
|
-
[CSS$
|
|
19120
|
-
[CSS$
|
|
19126
|
+
[CSS$A.frame]: true,
|
|
19127
|
+
[CSS$A.frameAdvancing]: flowDirection === "advancing",
|
|
19128
|
+
[CSS$A.frameRetreating]: flowDirection === "retreating"
|
|
19121
19129
|
};
|
|
19122
19130
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19123
19131
|
}
|
|
@@ -19127,17 +19135,218 @@ class Flow {
|
|
|
19127
19135
|
"$flags$": 9,
|
|
19128
19136
|
"$tagName$": "calcite-flow",
|
|
19129
19137
|
"$members$": {
|
|
19130
|
-
"panelCount": [32],
|
|
19131
19138
|
"flowDirection": [32],
|
|
19132
|
-
"
|
|
19139
|
+
"itemCount": [32],
|
|
19140
|
+
"items": [32],
|
|
19133
19141
|
"back": [64]
|
|
19134
19142
|
},
|
|
19135
|
-
"$listeners$": [[0, "calcitePanelBackClick", "
|
|
19143
|
+
"$listeners$": [[0, "calciteFlowItemBackClick", "handleItemBackClick"], [0, "calcitePanelBackClick", "handleItemBackClick"]],
|
|
19136
19144
|
"$lazyBundleId$": "-",
|
|
19137
19145
|
"$attrsToReflect$": []
|
|
19138
19146
|
}; }
|
|
19139
19147
|
}
|
|
19140
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
|
+
|
|
19141
19350
|
/**
|
|
19142
19351
|
* Calculate slope of the tangents
|
|
19143
19352
|
* uses Steffen interpolation as it's monotonic
|
|
@@ -19369,11 +19578,11 @@ class Graph {
|
|
|
19369
19578
|
}; }
|
|
19370
19579
|
}
|
|
19371
19580
|
|
|
19372
|
-
const CSS$
|
|
19581
|
+
const CSS$x = {
|
|
19373
19582
|
handle: "handle",
|
|
19374
19583
|
handleActivated: "handle--activated"
|
|
19375
19584
|
};
|
|
19376
|
-
const ICONS$
|
|
19585
|
+
const ICONS$6 = {
|
|
19377
19586
|
drag: "drag"
|
|
19378
19587
|
};
|
|
19379
19588
|
|
|
@@ -19440,9 +19649,9 @@ class Handle {
|
|
|
19440
19649
|
render() {
|
|
19441
19650
|
return (
|
|
19442
19651
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19443
|
-
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) => {
|
|
19444
19653
|
this.handleButton = el;
|
|
19445
|
-
}, 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" })));
|
|
19446
19655
|
}
|
|
19447
19656
|
get el() { return getElement(this); }
|
|
19448
19657
|
static get style() { return handleCss; }
|
|
@@ -19460,7 +19669,7 @@ class Handle {
|
|
|
19460
19669
|
}; }
|
|
19461
19670
|
}
|
|
19462
19671
|
|
|
19463
|
-
const CSS$
|
|
19672
|
+
const CSS$w = {
|
|
19464
19673
|
icon: "icon",
|
|
19465
19674
|
flipRtl: "flip-rtl"
|
|
19466
19675
|
};
|
|
@@ -19521,7 +19730,7 @@ class Icon {
|
|
|
19521
19730
|
const semantic = !!textLabel;
|
|
19522
19731
|
const paths = [].concat(pathData || "");
|
|
19523
19732
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19524
|
-
[CSS$
|
|
19733
|
+
[CSS$w.flipRtl]: dir === "rtl" && flipRtl,
|
|
19525
19734
|
svg: true
|
|
19526
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 }))))));
|
|
19527
19736
|
}
|
|
@@ -19567,7 +19776,7 @@ class Icon {
|
|
|
19567
19776
|
}; }
|
|
19568
19777
|
}
|
|
19569
19778
|
|
|
19570
|
-
const CSS$
|
|
19779
|
+
const CSS$v = {
|
|
19571
19780
|
wrapper: "wrapper",
|
|
19572
19781
|
confirmChangesButton: "confirm-changes-button",
|
|
19573
19782
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -19576,7 +19785,7 @@ const CSS$w = {
|
|
|
19576
19785
|
enableEditingButton: "enable-editing-button",
|
|
19577
19786
|
controlsWrapper: "controls-wrapper"
|
|
19578
19787
|
};
|
|
19579
|
-
const TEXT$
|
|
19788
|
+
const TEXT$e = {
|
|
19580
19789
|
intlEnablingEditing: "Click to edit",
|
|
19581
19790
|
intlCancelEditing: "Cancel",
|
|
19582
19791
|
intlConfirmChanges: "Save"
|
|
@@ -19611,19 +19820,19 @@ class InlineEditable {
|
|
|
19611
19820
|
*
|
|
19612
19821
|
* @default "Click to edit"
|
|
19613
19822
|
*/
|
|
19614
|
-
this.intlEnableEditing = TEXT$
|
|
19823
|
+
this.intlEnableEditing = TEXT$e.intlEnablingEditing;
|
|
19615
19824
|
/**
|
|
19616
19825
|
* specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
|
|
19617
19826
|
*
|
|
19618
19827
|
* @default "Cancel"
|
|
19619
19828
|
*/
|
|
19620
|
-
this.intlCancelEditing = TEXT$
|
|
19829
|
+
this.intlCancelEditing = TEXT$e.intlCancelEditing;
|
|
19621
19830
|
/**
|
|
19622
19831
|
* specify text to be user for the confirm changes button's aria-label, defaults to `Save`
|
|
19623
19832
|
*
|
|
19624
19833
|
* @default "Save"
|
|
19625
19834
|
*/
|
|
19626
|
-
this.intlConfirmChanges = TEXT$
|
|
19835
|
+
this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
|
|
19627
19836
|
this.mutationObserver = createObserver();
|
|
19628
19837
|
this.enableEditing = () => {
|
|
19629
19838
|
var _a, _b;
|
|
@@ -19731,12 +19940,12 @@ class InlineEditable {
|
|
|
19731
19940
|
updateHostInteraction(this);
|
|
19732
19941
|
}
|
|
19733
19942
|
render() {
|
|
19734
|
-
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: {
|
|
19735
19944
|
opacity: this.editingEnabled ? "0" : "1",
|
|
19736
19945
|
width: this.editingEnabled ? "0" : "inherit"
|
|
19737
19946
|
}, type: "button" }), this.shouldShowControls && [
|
|
19738
|
-
hAsync("div", { class: CSS$
|
|
19739
|
-
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" })
|
|
19740
19949
|
])));
|
|
19741
19950
|
}
|
|
19742
19951
|
//--------------------------------------------------------------------------
|
|
@@ -19818,7 +20027,7 @@ class InlineEditable {
|
|
|
19818
20027
|
}; }
|
|
19819
20028
|
}
|
|
19820
20029
|
|
|
19821
|
-
const CSS$
|
|
20030
|
+
const CSS$u = {
|
|
19822
20031
|
loader: "loader",
|
|
19823
20032
|
clearButton: "clear-button",
|
|
19824
20033
|
editingEnabled: "editing-enabled",
|
|
@@ -19842,10 +20051,10 @@ const INPUT_TYPE_ICONS = {
|
|
|
19842
20051
|
time: "clock",
|
|
19843
20052
|
search: "search"
|
|
19844
20053
|
};
|
|
19845
|
-
const SLOTS$
|
|
20054
|
+
const SLOTS$h = {
|
|
19846
20055
|
action: "action"
|
|
19847
20056
|
};
|
|
19848
|
-
const TEXT$
|
|
20057
|
+
const TEXT$d = {
|
|
19849
20058
|
clear: "Clear value"
|
|
19850
20059
|
};
|
|
19851
20060
|
|
|
@@ -19899,7 +20108,7 @@ class Input {
|
|
|
19899
20108
|
*
|
|
19900
20109
|
* @default "Loading"
|
|
19901
20110
|
*/
|
|
19902
|
-
this.intlLoading = TEXT$
|
|
20111
|
+
this.intlLoading = TEXT$v.loading;
|
|
19903
20112
|
/** When true, the icon is flipped in RTL. */
|
|
19904
20113
|
this.iconFlipRtl = false;
|
|
19905
20114
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -20397,34 +20606,34 @@ class Input {
|
|
|
20397
20606
|
// --------------------------------------------------------------------------
|
|
20398
20607
|
render() {
|
|
20399
20608
|
const dir = getElementDir(this.el);
|
|
20400
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20401
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
20402
|
-
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" }));
|
|
20403
20612
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20404
20613
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20405
|
-
[CSS$
|
|
20406
|
-
[CSS$
|
|
20614
|
+
[CSS$u.numberButtonItem]: true,
|
|
20615
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20407
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" })));
|
|
20408
20617
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20409
|
-
[CSS$
|
|
20410
|
-
[CSS$
|
|
20618
|
+
[CSS$u.numberButtonItem]: true,
|
|
20619
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20411
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" })));
|
|
20412
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20413
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20414
|
-
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);
|
|
20415
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;
|
|
20416
20625
|
const childEl = this.type !== "number"
|
|
20417
20626
|
? [
|
|
20418
20627
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20419
|
-
[CSS$
|
|
20420
|
-
[CSS$
|
|
20628
|
+
[CSS$u.editingEnabled]: this.editingEnabled,
|
|
20629
|
+
[CSS$u.inlineChild]: !!this.inlineEditableEl
|
|
20421
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 }),
|
|
20422
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20631
|
+
this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20423
20632
|
]
|
|
20424
20633
|
: null;
|
|
20425
|
-
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
|
|
20426
20635
|
? numberButtonsHorizontalDown
|
|
20427
|
-
: 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
|
|
20428
20637
|
? numberButtonsVertical
|
|
20429
20638
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20430
20639
|
? numberButtonsHorizontalUp
|
|
@@ -20487,12 +20696,12 @@ class Input {
|
|
|
20487
20696
|
}; }
|
|
20488
20697
|
}
|
|
20489
20698
|
|
|
20490
|
-
const CSS$
|
|
20699
|
+
const CSS$t = {
|
|
20491
20700
|
menu: "menu-container",
|
|
20492
20701
|
menuActive: "menu-container--active"
|
|
20493
20702
|
};
|
|
20494
20703
|
|
|
20495
|
-
const inputDatePickerCss = "@-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-input-date-picker: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-input-date-picker{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-input-date-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-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-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--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)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--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-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;inset-inline-start:0px;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{-webkit-margin-before:0px;margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20704
|
+
const inputDatePickerCss = "@-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-input-date-picker: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-input-date-picker{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-input-date-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-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-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--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)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--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-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;inset-inline-start:0px;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{-webkit-margin-before:0px;margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20496
20705
|
|
|
20497
20706
|
class InputDatePicker {
|
|
20498
20707
|
constructor(hostRef) {
|
|
@@ -20532,19 +20741,19 @@ class InputDatePicker {
|
|
|
20532
20741
|
*
|
|
20533
20742
|
* @default "Previous month"
|
|
20534
20743
|
*/
|
|
20535
|
-
this.intlPrevMonth = TEXT$
|
|
20744
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
20536
20745
|
/**
|
|
20537
20746
|
* Localized string for "next month" (used for aria label)
|
|
20538
20747
|
*
|
|
20539
20748
|
* @default "Next month"
|
|
20540
20749
|
*/
|
|
20541
|
-
this.intlNextMonth = TEXT$
|
|
20750
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
20542
20751
|
/**
|
|
20543
20752
|
* Localized string for "year" (used for aria label)
|
|
20544
20753
|
*
|
|
20545
20754
|
* @default "Year"
|
|
20546
20755
|
*/
|
|
20547
|
-
this.intlYear = TEXT$
|
|
20756
|
+
this.intlYear = TEXT$i.year;
|
|
20548
20757
|
/** BCP 47 language tag for desired language and country format */
|
|
20549
20758
|
this.locale = document.documentElement.lang || "en";
|
|
20550
20759
|
/** specify the scale of the date picker */
|
|
@@ -20697,6 +20906,7 @@ class InputDatePicker {
|
|
|
20697
20906
|
}
|
|
20698
20907
|
flipPlacementsHandler() {
|
|
20699
20908
|
this.setFilteredPlacements();
|
|
20909
|
+
this.reposition();
|
|
20700
20910
|
}
|
|
20701
20911
|
onMinChanged(min) {
|
|
20702
20912
|
if (min) {
|
|
@@ -20748,12 +20958,13 @@ class InputDatePicker {
|
|
|
20748
20958
|
}
|
|
20749
20959
|
/** Updates the position of the component. */
|
|
20750
20960
|
async reposition() {
|
|
20751
|
-
const { floatingEl, referenceEl, placement, overlayPositioning } = this;
|
|
20961
|
+
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
|
20752
20962
|
return positionFloatingUI({
|
|
20753
20963
|
floatingEl,
|
|
20754
20964
|
referenceEl,
|
|
20755
20965
|
overlayPositioning,
|
|
20756
20966
|
placement,
|
|
20967
|
+
flipPlacements: filteredFlipPlacements,
|
|
20757
20968
|
type: "menu"
|
|
20758
20969
|
});
|
|
20759
20970
|
}
|
|
@@ -20791,8 +21002,8 @@ class InputDatePicker {
|
|
|
20791
21002
|
connectLabel(this);
|
|
20792
21003
|
connectForm(this);
|
|
20793
21004
|
connectOpenCloseComponent(this);
|
|
20794
|
-
this.reposition();
|
|
20795
21005
|
this.setFilteredPlacements();
|
|
21006
|
+
this.reposition();
|
|
20796
21007
|
}
|
|
20797
21008
|
async componentWillLoad() {
|
|
20798
21009
|
await this.loadLocaleData();
|
|
@@ -20821,8 +21032,8 @@ class InputDatePicker {
|
|
|
20821
21032
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20822
21033
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20823
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: {
|
|
20824
|
-
[CSS$
|
|
20825
|
-
[CSS$
|
|
21035
|
+
[CSS$t.menu]: true,
|
|
21036
|
+
[CSS$t.menuActive]: this.open
|
|
20826
21037
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
20827
21038
|
["calendar-picker-wrapper"]: true,
|
|
20828
21039
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -21135,7 +21346,7 @@ class InputMessage {
|
|
|
21135
21346
|
}; }
|
|
21136
21347
|
}
|
|
21137
21348
|
|
|
21138
|
-
const CSS$
|
|
21349
|
+
const CSS$s = {
|
|
21139
21350
|
loader: "loader",
|
|
21140
21351
|
clearButton: "clear-button",
|
|
21141
21352
|
editingEnabled: "editing-enabled",
|
|
@@ -21151,10 +21362,10 @@ const CSS$t = {
|
|
|
21151
21362
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
21152
21363
|
numberButtonItem: "number-button-item"
|
|
21153
21364
|
};
|
|
21154
|
-
const SLOTS$
|
|
21365
|
+
const SLOTS$g = {
|
|
21155
21366
|
action: "action"
|
|
21156
21367
|
};
|
|
21157
|
-
const TEXT$
|
|
21368
|
+
const TEXT$c = {
|
|
21158
21369
|
clear: "Clear value"
|
|
21159
21370
|
};
|
|
21160
21371
|
|
|
@@ -21208,7 +21419,7 @@ class InputNumber {
|
|
|
21208
21419
|
*
|
|
21209
21420
|
* @default "Loading"
|
|
21210
21421
|
*/
|
|
21211
|
-
this.intlLoading = TEXT$
|
|
21422
|
+
this.intlLoading = TEXT$v.loading;
|
|
21212
21423
|
/** When true, the icon is flipped in RTL. */
|
|
21213
21424
|
this.iconFlipRtl = false;
|
|
21214
21425
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -21622,25 +21833,25 @@ class InputNumber {
|
|
|
21622
21833
|
// --------------------------------------------------------------------------
|
|
21623
21834
|
render() {
|
|
21624
21835
|
const dir = getElementDir(this.el);
|
|
21625
|
-
const loader = (hAsync("div", { class: CSS$
|
|
21626
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
21627
|
-
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" }));
|
|
21628
21839
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
21629
21840
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
21630
|
-
[CSS$
|
|
21631
|
-
[CSS$
|
|
21841
|
+
[CSS$s.numberButtonItem]: true,
|
|
21842
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21632
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" })));
|
|
21633
21844
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
21634
|
-
[CSS$
|
|
21635
|
-
[CSS$
|
|
21845
|
+
[CSS$s.numberButtonItem]: true,
|
|
21846
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21636
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" })));
|
|
21637
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
21638
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
21639
|
-
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);
|
|
21640
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 }));
|
|
21641
|
-
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
|
|
21642
21853
|
? numberButtonsHorizontalDown
|
|
21643
|
-
: 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
|
|
21644
21855
|
? numberButtonsHorizontalUp
|
|
21645
21856
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
21646
21857
|
}
|
|
@@ -21698,7 +21909,7 @@ class InputNumber {
|
|
|
21698
21909
|
}; }
|
|
21699
21910
|
}
|
|
21700
21911
|
|
|
21701
|
-
const CSS$
|
|
21912
|
+
const CSS$r = {
|
|
21702
21913
|
loader: "loader",
|
|
21703
21914
|
clearButton: "clear-button",
|
|
21704
21915
|
editingEnabled: "editing-enabled",
|
|
@@ -21711,10 +21922,10 @@ const CSS$s = {
|
|
|
21711
21922
|
actionWrapper: "action-wrapper",
|
|
21712
21923
|
resizeIconWrapper: "resize-icon-wrapper"
|
|
21713
21924
|
};
|
|
21714
|
-
const SLOTS$
|
|
21925
|
+
const SLOTS$f = {
|
|
21715
21926
|
action: "action"
|
|
21716
21927
|
};
|
|
21717
|
-
const TEXT$
|
|
21928
|
+
const TEXT$b = {
|
|
21718
21929
|
clear: "Clear value"
|
|
21719
21930
|
};
|
|
21720
21931
|
|
|
@@ -21764,7 +21975,7 @@ class InputText {
|
|
|
21764
21975
|
*
|
|
21765
21976
|
* @default "Loading"
|
|
21766
21977
|
*/
|
|
21767
|
-
this.intlLoading = TEXT$
|
|
21978
|
+
this.intlLoading = TEXT$v.loading;
|
|
21768
21979
|
/** When true, the icon is flipped in RTL. */
|
|
21769
21980
|
this.iconFlipRtl = false;
|
|
21770
21981
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -22006,16 +22217,16 @@ class InputText {
|
|
|
22006
22217
|
// --------------------------------------------------------------------------
|
|
22007
22218
|
render() {
|
|
22008
22219
|
const dir = getElementDir(this.el);
|
|
22009
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22010
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
22011
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22012
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22013
|
-
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);
|
|
22014
22225
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
22015
|
-
[CSS$
|
|
22016
|
-
[CSS$
|
|
22226
|
+
[CSS$r.editingEnabled]: this.editingEnabled,
|
|
22227
|
+
[CSS$r.inlineChild]: !!this.inlineEditableEl
|
|
22017
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 }));
|
|
22018
|
-
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 }))));
|
|
22019
22230
|
}
|
|
22020
22231
|
get el() { return getElement(this); }
|
|
22021
22232
|
static get watchers() { return {
|
|
@@ -22523,7 +22734,7 @@ class InputTimePicker {
|
|
|
22523
22734
|
}; }
|
|
22524
22735
|
}
|
|
22525
22736
|
|
|
22526
|
-
const CSS$
|
|
22737
|
+
const CSS$q = {
|
|
22527
22738
|
container: "container"
|
|
22528
22739
|
};
|
|
22529
22740
|
|
|
@@ -22588,7 +22799,7 @@ class Label {
|
|
|
22588
22799
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
22589
22800
|
}
|
|
22590
22801
|
render() {
|
|
22591
|
-
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))));
|
|
22592
22803
|
}
|
|
22593
22804
|
get el() { return getElement(this); }
|
|
22594
22805
|
static get style() { return labelCss; }
|
|
@@ -22696,7 +22907,7 @@ class Link {
|
|
|
22696
22907
|
}; }
|
|
22697
22908
|
}
|
|
22698
22909
|
|
|
22699
|
-
const CSS$
|
|
22910
|
+
const CSS$p = {
|
|
22700
22911
|
container: "container"
|
|
22701
22912
|
};
|
|
22702
22913
|
|
|
@@ -22744,7 +22955,7 @@ class List$1 {
|
|
|
22744
22955
|
//
|
|
22745
22956
|
// --------------------------------------------------------------------------
|
|
22746
22957
|
render() {
|
|
22747
|
-
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$
|
|
22958
|
+
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$p.container }, hAsync("slot", null))));
|
|
22748
22959
|
}
|
|
22749
22960
|
get el() { return getElement(this); }
|
|
22750
22961
|
static get style() { return listCss; }
|
|
@@ -22762,7 +22973,7 @@ class List$1 {
|
|
|
22762
22973
|
}; }
|
|
22763
22974
|
}
|
|
22764
22975
|
|
|
22765
|
-
const CSS$
|
|
22976
|
+
const CSS$o = {
|
|
22766
22977
|
container: "container",
|
|
22767
22978
|
contentContainer: "content-container",
|
|
22768
22979
|
nestedContainer: "nested-container",
|
|
@@ -22776,7 +22987,7 @@ const CSS$p = {
|
|
|
22776
22987
|
actionsEnd: "actions-end",
|
|
22777
22988
|
hasCenterContent: "has-center-content"
|
|
22778
22989
|
};
|
|
22779
|
-
const SLOTS$
|
|
22990
|
+
const SLOTS$e = {
|
|
22780
22991
|
actionsStart: "actions-start",
|
|
22781
22992
|
contentStart: "content-start",
|
|
22782
22993
|
contentEnd: "content-end",
|
|
@@ -22845,36 +23056,36 @@ class ListItem {
|
|
|
22845
23056
|
// --------------------------------------------------------------------------
|
|
22846
23057
|
renderActionsStart() {
|
|
22847
23058
|
const { el } = this;
|
|
22848
|
-
return getSlotted(el, SLOTS$
|
|
23059
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$o.actionsStart }, hAsync("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
22849
23060
|
}
|
|
22850
23061
|
renderActionsEnd() {
|
|
22851
23062
|
const { el } = this;
|
|
22852
|
-
return getSlotted(el, SLOTS$
|
|
23063
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$o.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
22853
23064
|
}
|
|
22854
23065
|
renderContentStart() {
|
|
22855
23066
|
const { el } = this;
|
|
22856
|
-
return getSlotted(el, SLOTS$
|
|
23067
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$o.contentStart }, hAsync("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
22857
23068
|
}
|
|
22858
23069
|
renderContentEnd() {
|
|
22859
23070
|
const { el } = this;
|
|
22860
|
-
return getSlotted(el, SLOTS$
|
|
23071
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$o.contentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
22861
23072
|
}
|
|
22862
23073
|
renderContent() {
|
|
22863
23074
|
const { label, description } = this;
|
|
22864
|
-
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;
|
|
22865
23076
|
}
|
|
22866
23077
|
renderContentContainer() {
|
|
22867
23078
|
const { description, disabled, label, nonInteractive } = this;
|
|
22868
23079
|
const hasCenterContent = !!label || !!description;
|
|
22869
23080
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
22870
23081
|
return !nonInteractive ? (hAsync("button", { class: {
|
|
22871
|
-
[CSS$
|
|
22872
|
-
[CSS$
|
|
22873
|
-
[CSS$
|
|
22874
|
-
}, 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));
|
|
22875
23086
|
}
|
|
22876
23087
|
render() {
|
|
22877
|
-
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))));
|
|
22878
23089
|
}
|
|
22879
23090
|
get el() { return getElement(this); }
|
|
22880
23091
|
static get style() { return listItemCss; }
|
|
@@ -22894,11 +23105,11 @@ class ListItem {
|
|
|
22894
23105
|
}; }
|
|
22895
23106
|
}
|
|
22896
23107
|
|
|
22897
|
-
const CSS$
|
|
23108
|
+
const CSS$n = {
|
|
22898
23109
|
heading: "heading",
|
|
22899
23110
|
container: "container"
|
|
22900
23111
|
};
|
|
22901
|
-
const HEADING_LEVEL$
|
|
23112
|
+
const HEADING_LEVEL$4 = 3;
|
|
22902
23113
|
|
|
22903
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}";
|
|
22904
23115
|
|
|
@@ -22919,8 +23130,8 @@ class ListItemGroup {
|
|
|
22919
23130
|
const { el, heading, headingLevel } = this;
|
|
22920
23131
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
22921
23132
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
22922
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL$
|
|
22923
|
-
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))));
|
|
22924
23135
|
}
|
|
22925
23136
|
get el() { return getElement(this); }
|
|
22926
23137
|
static get style() { return listItemGroupCss; }
|
|
@@ -23139,8 +23350,9 @@ function isFocusable($elem) {
|
|
|
23139
23350
|
|| $elem instanceof HTMLIFrameElement);
|
|
23140
23351
|
}
|
|
23141
23352
|
|
|
23142
|
-
const CSS$
|
|
23353
|
+
const CSS$m = {
|
|
23143
23354
|
modal: "modal",
|
|
23355
|
+
modalOpen: "modal--open",
|
|
23144
23356
|
title: "title",
|
|
23145
23357
|
header: "header",
|
|
23146
23358
|
footer: "footer",
|
|
@@ -23157,21 +23369,21 @@ const CSS$n = {
|
|
|
23157
23369
|
closingIdle: "modal--closing-idle",
|
|
23158
23370
|
closingActive: "modal--closing-active"
|
|
23159
23371
|
};
|
|
23160
|
-
const ICONS$
|
|
23372
|
+
const ICONS$5 = {
|
|
23161
23373
|
close: "x"
|
|
23162
23374
|
};
|
|
23163
|
-
const SLOTS$
|
|
23375
|
+
const SLOTS$d = {
|
|
23164
23376
|
content: "content",
|
|
23165
23377
|
header: "header",
|
|
23166
23378
|
back: "back",
|
|
23167
23379
|
secondary: "secondary",
|
|
23168
23380
|
primary: "primary"
|
|
23169
23381
|
};
|
|
23170
|
-
const TEXT$
|
|
23382
|
+
const TEXT$a = {
|
|
23171
23383
|
close: "Close"
|
|
23172
23384
|
};
|
|
23173
23385
|
|
|
23174
|
-
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}}";
|
|
23175
23387
|
|
|
23176
23388
|
const isFocusableExtended = (el) => {
|
|
23177
23389
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -23213,7 +23425,7 @@ class Modal {
|
|
|
23213
23425
|
/** When true, disables the closing of the component when clicked outside. */
|
|
23214
23426
|
this.disableOutsideClose = false;
|
|
23215
23427
|
/** Accessible name for the component's close button. */
|
|
23216
|
-
this.intlClose = TEXT$
|
|
23428
|
+
this.intlClose = TEXT$a.close;
|
|
23217
23429
|
/** When true, disables the default close on escape behavior. */
|
|
23218
23430
|
this.disableEscape = false;
|
|
23219
23431
|
/** Specifies the size of the component. */
|
|
@@ -23234,6 +23446,12 @@ class Modal {
|
|
|
23234
23446
|
//
|
|
23235
23447
|
//--------------------------------------------------------------------------
|
|
23236
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;
|
|
23237
23455
|
this.mutationObserver = createObserver();
|
|
23238
23456
|
this.openTransitionProp = "opacity";
|
|
23239
23457
|
//--------------------------------------------------------------------------
|
|
@@ -23259,6 +23477,7 @@ class Modal {
|
|
|
23259
23477
|
this.close = () => {
|
|
23260
23478
|
return this.beforeClose(this.el).then(() => {
|
|
23261
23479
|
this.open = false;
|
|
23480
|
+
this.isOpen = false;
|
|
23262
23481
|
focusElement(this.previousActiveElement);
|
|
23263
23482
|
this.removeOverflowHiddenClass();
|
|
23264
23483
|
});
|
|
@@ -23276,7 +23495,7 @@ class Modal {
|
|
|
23276
23495
|
}
|
|
23277
23496
|
};
|
|
23278
23497
|
this.updateFooterVisibility = () => {
|
|
23279
|
-
this.hasFooter = !!getSlotted(this.el, [SLOTS$
|
|
23498
|
+
this.hasFooter = !!getSlotted(this.el, [SLOTS$d.back, SLOTS$d.primary, SLOTS$d.secondary]);
|
|
23280
23499
|
};
|
|
23281
23500
|
}
|
|
23282
23501
|
//--------------------------------------------------------------------------
|
|
@@ -23287,7 +23506,7 @@ class Modal {
|
|
|
23287
23506
|
componentWillLoad() {
|
|
23288
23507
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
23289
23508
|
if (this.open) {
|
|
23290
|
-
this.openModal();
|
|
23509
|
+
requestAnimationFrame(() => this.openModal());
|
|
23291
23510
|
}
|
|
23292
23511
|
}
|
|
23293
23512
|
connectedCallback() {
|
|
@@ -23311,26 +23530,29 @@ class Modal {
|
|
|
23311
23530
|
disconnectOpenCloseComponent(this);
|
|
23312
23531
|
}
|
|
23313
23532
|
render() {
|
|
23314
|
-
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: {
|
|
23315
23537
|
content: true,
|
|
23316
23538
|
"content--spaced": !this.noPadding,
|
|
23317
23539
|
"content--no-footer": !this.hasFooter
|
|
23318
|
-
}, 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" }))));
|
|
23319
23541
|
}
|
|
23320
23542
|
renderFooter() {
|
|
23321
|
-
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;
|
|
23322
23544
|
}
|
|
23323
23545
|
renderCloseButton() {
|
|
23324
|
-
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;
|
|
23325
23547
|
}
|
|
23326
23548
|
renderStyle() {
|
|
23327
23549
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
23328
23550
|
return hasCustomWidth ? (hAsync("style", null, `
|
|
23329
|
-
.${CSS$
|
|
23551
|
+
.${CSS$m.modal} {
|
|
23330
23552
|
max-width: ${this.width}px !important;
|
|
23331
23553
|
}
|
|
23332
23554
|
@media screen and (max-width: ${this.width}px) {
|
|
23333
|
-
.${CSS$
|
|
23555
|
+
.${CSS$m.modal} {
|
|
23334
23556
|
height: 100% !important;
|
|
23335
23557
|
max-height: 100% !important;
|
|
23336
23558
|
width: 100% !important;
|
|
@@ -23403,19 +23625,19 @@ class Modal {
|
|
|
23403
23625
|
}
|
|
23404
23626
|
}
|
|
23405
23627
|
onBeforeOpen() {
|
|
23406
|
-
this.transitionEl.classList.add(CSS$
|
|
23628
|
+
this.transitionEl.classList.add(CSS$m.openingActive);
|
|
23407
23629
|
this.calciteModalBeforeOpen.emit();
|
|
23408
23630
|
}
|
|
23409
23631
|
onOpen() {
|
|
23410
|
-
this.transitionEl.classList.remove(CSS$
|
|
23632
|
+
this.transitionEl.classList.remove(CSS$m.openingIdle, CSS$m.openingActive);
|
|
23411
23633
|
this.calciteModalOpen.emit();
|
|
23412
23634
|
}
|
|
23413
23635
|
onBeforeClose() {
|
|
23414
|
-
this.transitionEl.classList.add(CSS$
|
|
23636
|
+
this.transitionEl.classList.add(CSS$m.closingActive);
|
|
23415
23637
|
this.calciteModalBeforeClose.emit();
|
|
23416
23638
|
}
|
|
23417
23639
|
onClose() {
|
|
23418
|
-
this.transitionEl.classList.remove(CSS$
|
|
23640
|
+
this.transitionEl.classList.remove(CSS$m.closingIdle, CSS$m.closingActive);
|
|
23419
23641
|
this.calciteModalClose.emit();
|
|
23420
23642
|
}
|
|
23421
23643
|
activeHandler(value) {
|
|
@@ -23425,11 +23647,11 @@ class Modal {
|
|
|
23425
23647
|
var _a, _b;
|
|
23426
23648
|
this.active = value;
|
|
23427
23649
|
if (value) {
|
|
23428
|
-
(_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);
|
|
23429
23651
|
this.openModal();
|
|
23430
23652
|
}
|
|
23431
23653
|
else {
|
|
23432
|
-
(_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);
|
|
23433
23655
|
this.close();
|
|
23434
23656
|
}
|
|
23435
23657
|
}
|
|
@@ -23438,14 +23660,15 @@ class Modal {
|
|
|
23438
23660
|
this.previousActiveElement = document.activeElement;
|
|
23439
23661
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
23440
23662
|
this.open = true;
|
|
23441
|
-
|
|
23442
|
-
const
|
|
23663
|
+
this.isOpen = true;
|
|
23664
|
+
const titleEl = getSlotted(this.el, SLOTS$d.header);
|
|
23665
|
+
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
23443
23666
|
this.titleId = ensureId(titleEl);
|
|
23444
23667
|
this.contentId = ensureId(contentEl);
|
|
23445
|
-
document.documentElement.classList.add(CSS$
|
|
23668
|
+
document.documentElement.classList.add(CSS$m.overflowHidden);
|
|
23446
23669
|
}
|
|
23447
23670
|
removeOverflowHiddenClass() {
|
|
23448
|
-
document.documentElement.classList.remove(CSS$
|
|
23671
|
+
document.documentElement.classList.remove(CSS$m.overflowHidden);
|
|
23449
23672
|
}
|
|
23450
23673
|
get el() { return getElement(this); }
|
|
23451
23674
|
static get watchers() { return {
|
|
@@ -23472,6 +23695,7 @@ class Modal {
|
|
|
23472
23695
|
"backgroundColor": [513, "background-color"],
|
|
23473
23696
|
"noPadding": [4, "no-padding"],
|
|
23474
23697
|
"hasFooter": [32],
|
|
23698
|
+
"isOpen": [32],
|
|
23475
23699
|
"focusElement": [64],
|
|
23476
23700
|
"setFocus": [64],
|
|
23477
23701
|
"scrollContent": [64]
|
|
@@ -23482,16 +23706,16 @@ class Modal {
|
|
|
23482
23706
|
}; }
|
|
23483
23707
|
}
|
|
23484
23708
|
|
|
23485
|
-
const TEXT$
|
|
23709
|
+
const TEXT$9 = {
|
|
23486
23710
|
close: "Close"
|
|
23487
23711
|
};
|
|
23488
|
-
const SLOTS$
|
|
23712
|
+
const SLOTS$c = {
|
|
23489
23713
|
title: "title",
|
|
23490
23714
|
message: "message",
|
|
23491
23715
|
link: "link",
|
|
23492
23716
|
actionsEnd: "actions-end"
|
|
23493
23717
|
};
|
|
23494
|
-
const CSS$
|
|
23718
|
+
const CSS$l = {
|
|
23495
23719
|
actionsEnd: "actions-end",
|
|
23496
23720
|
close: "notice-close",
|
|
23497
23721
|
container: "container",
|
|
@@ -23546,7 +23770,7 @@ class Notice {
|
|
|
23546
23770
|
*
|
|
23547
23771
|
* @default "Close"
|
|
23548
23772
|
*/
|
|
23549
|
-
this.intlClose = TEXT$
|
|
23773
|
+
this.intlClose = TEXT$9.close;
|
|
23550
23774
|
/** Specifies the size of the component. */
|
|
23551
23775
|
this.scale = "m";
|
|
23552
23776
|
/** Specifies the width of the component. */
|
|
@@ -23603,9 +23827,9 @@ class Notice {
|
|
|
23603
23827
|
}
|
|
23604
23828
|
render() {
|
|
23605
23829
|
const { el } = this;
|
|
23606
|
-
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23607
|
-
const hasActionEnd = getSlotted(el, SLOTS$
|
|
23608
|
-
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));
|
|
23609
23833
|
}
|
|
23610
23834
|
//--------------------------------------------------------------------------
|
|
23611
23835
|
//
|
|
@@ -23853,7 +24077,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
23853
24077
|
}
|
|
23854
24078
|
}
|
|
23855
24079
|
|
|
23856
|
-
const CSS$
|
|
24080
|
+
const CSS$k = {
|
|
23857
24081
|
page: "page",
|
|
23858
24082
|
selected: "is-selected",
|
|
23859
24083
|
previous: "previous",
|
|
@@ -23863,7 +24087,7 @@ const CSS$l = {
|
|
|
23863
24087
|
ellipsisStart: "ellipsis--start",
|
|
23864
24088
|
ellipsisEnd: "ellipsis--end"
|
|
23865
24089
|
};
|
|
23866
|
-
const TEXT$
|
|
24090
|
+
const TEXT$8 = {
|
|
23867
24091
|
nextLabel: "Next",
|
|
23868
24092
|
previousLabel: "Previous"
|
|
23869
24093
|
};
|
|
@@ -23892,13 +24116,13 @@ class Pagination {
|
|
|
23892
24116
|
*
|
|
23893
24117
|
* @default "Next"
|
|
23894
24118
|
*/
|
|
23895
|
-
this.textLabelNext = TEXT$
|
|
24119
|
+
this.textLabelNext = TEXT$8.nextLabel;
|
|
23896
24120
|
/**
|
|
23897
24121
|
* Accessible name for the component's previous button.
|
|
23898
24122
|
*
|
|
23899
24123
|
* @default "Previous"
|
|
23900
24124
|
*/
|
|
23901
|
-
this.textLabelPrevious = TEXT$
|
|
24125
|
+
this.textLabelPrevious = TEXT$8.previousLabel;
|
|
23902
24126
|
/** Specifies the size of the component. */
|
|
23903
24127
|
this.scale = "m";
|
|
23904
24128
|
//--------------------------------------------------------------------------
|
|
@@ -24008,8 +24232,8 @@ class Pagination {
|
|
|
24008
24232
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
24009
24233
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
24010
24234
|
return (hAsync("button", { class: {
|
|
24011
|
-
[CSS$
|
|
24012
|
-
[CSS$
|
|
24235
|
+
[CSS$k.page]: true,
|
|
24236
|
+
[CSS$k.selected]: start === this.start
|
|
24013
24237
|
}, onClick: () => {
|
|
24014
24238
|
this.start = start;
|
|
24015
24239
|
this.emitUpdate();
|
|
@@ -24017,12 +24241,12 @@ class Pagination {
|
|
|
24017
24241
|
}
|
|
24018
24242
|
renderLeftEllipsis() {
|
|
24019
24243
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
24020
|
-
return hAsync("span", { class: `${CSS$
|
|
24244
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisStart}` }, "\u2026");
|
|
24021
24245
|
}
|
|
24022
24246
|
}
|
|
24023
24247
|
renderRightEllipsis() {
|
|
24024
24248
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
24025
|
-
return hAsync("span", { class: `${CSS$
|
|
24249
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisEnd}` }, "\u2026");
|
|
24026
24250
|
}
|
|
24027
24251
|
}
|
|
24028
24252
|
render() {
|
|
@@ -24030,11 +24254,11 @@ class Pagination {
|
|
|
24030
24254
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
24031
24255
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
24032
24256
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.textLabelPrevious, class: {
|
|
24033
|
-
[CSS$
|
|
24034
|
-
[CSS$
|
|
24257
|
+
[CSS$k.previous]: true,
|
|
24258
|
+
[CSS$k.disabled]: prevDisabled
|
|
24035
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: {
|
|
24036
|
-
[CSS$
|
|
24037
|
-
[CSS$
|
|
24260
|
+
[CSS$k.next]: true,
|
|
24261
|
+
[CSS$k.disabled]: nextDisabled
|
|
24038
24262
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
24039
24263
|
}
|
|
24040
24264
|
get el() { return getElement(this); }
|
|
@@ -24059,51 +24283,7 @@ class Pagination {
|
|
|
24059
24283
|
}; }
|
|
24060
24284
|
}
|
|
24061
24285
|
|
|
24062
|
-
const
|
|
24063
|
-
backButton: "back-button",
|
|
24064
|
-
container: "container",
|
|
24065
|
-
header: "header",
|
|
24066
|
-
heading: "heading",
|
|
24067
|
-
summary: "summary",
|
|
24068
|
-
description: "description",
|
|
24069
|
-
headerContent: "header-content",
|
|
24070
|
-
headerActions: "header-actions",
|
|
24071
|
-
headerActionsEnd: "header-actions--end",
|
|
24072
|
-
headerActionsStart: "header-actions--start",
|
|
24073
|
-
contentWrapper: "content-wrapper",
|
|
24074
|
-
contentContainer: "content-container",
|
|
24075
|
-
contentHeight: "content-height",
|
|
24076
|
-
fabContainer: "fab-container",
|
|
24077
|
-
footer: "footer",
|
|
24078
|
-
menuContainer: "menu-container",
|
|
24079
|
-
menuButton: "menu-button",
|
|
24080
|
-
menu: "menu",
|
|
24081
|
-
menuOpen: "menu--open"
|
|
24082
|
-
};
|
|
24083
|
-
const ICONS$5 = {
|
|
24084
|
-
close: "x",
|
|
24085
|
-
menu: "ellipsis",
|
|
24086
|
-
backLeft: "chevron-left",
|
|
24087
|
-
backRight: "chevron-right"
|
|
24088
|
-
};
|
|
24089
|
-
const SLOTS$c = {
|
|
24090
|
-
headerActionsStart: "header-actions-start",
|
|
24091
|
-
headerActionsEnd: "header-actions-end",
|
|
24092
|
-
headerMenuActions: "header-menu-actions",
|
|
24093
|
-
headerContent: "header-content",
|
|
24094
|
-
fab: "fab",
|
|
24095
|
-
footer: "footer",
|
|
24096
|
-
footerActions: "footer-actions"
|
|
24097
|
-
};
|
|
24098
|
-
const TEXT$8 = {
|
|
24099
|
-
back: "Back",
|
|
24100
|
-
close: "Close",
|
|
24101
|
-
open: "Open",
|
|
24102
|
-
options: "Options"
|
|
24103
|
-
};
|
|
24104
|
-
const HEADING_LEVEL$4 = 3;
|
|
24105
|
-
|
|
24106
|
-
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}";
|
|
24107
24287
|
|
|
24108
24288
|
/**
|
|
24109
24289
|
* @slot - A slot for adding custom content.
|
|
@@ -24149,6 +24329,8 @@ class Panel {
|
|
|
24149
24329
|
this.closable = false;
|
|
24150
24330
|
/**
|
|
24151
24331
|
* When true, displays a back button in the header.
|
|
24332
|
+
*
|
|
24333
|
+
* @deprecated use `calcite-flow-item` instead.
|
|
24152
24334
|
*/
|
|
24153
24335
|
this.showBackButton = false;
|
|
24154
24336
|
/**
|
|
@@ -24160,6 +24342,13 @@ class Panel {
|
|
|
24160
24342
|
*/
|
|
24161
24343
|
this.menuOpen = false;
|
|
24162
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;
|
|
24163
24352
|
// --------------------------------------------------------------------------
|
|
24164
24353
|
//
|
|
24165
24354
|
// Private Methods
|
|
@@ -24199,6 +24388,48 @@ class Panel {
|
|
|
24199
24388
|
this.backButtonClick = () => {
|
|
24200
24389
|
this.calcitePanelBackClick.emit();
|
|
24201
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
|
+
};
|
|
24202
24433
|
this.setPanelScrollEl = (el) => {
|
|
24203
24434
|
var _a, _b;
|
|
24204
24435
|
this.panelScrollEl = el;
|
|
@@ -24236,7 +24467,6 @@ class Panel {
|
|
|
24236
24467
|
//
|
|
24237
24468
|
// --------------------------------------------------------------------------
|
|
24238
24469
|
connectedCallback() {
|
|
24239
|
-
connectConditionalSlotComponent(this);
|
|
24240
24470
|
const isClosed = this.dismissed || this.closed;
|
|
24241
24471
|
const isClosable = this.dismissible || this.closable;
|
|
24242
24472
|
if (isClosed) {
|
|
@@ -24250,7 +24480,6 @@ class Panel {
|
|
|
24250
24480
|
}
|
|
24251
24481
|
disconnectedCallback() {
|
|
24252
24482
|
var _a;
|
|
24253
|
-
disconnectConditionalSlotComponent(this);
|
|
24254
24483
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
24255
24484
|
}
|
|
24256
24485
|
// --------------------------------------------------------------------------
|
|
@@ -24264,16 +24493,24 @@ class Panel {
|
|
|
24264
24493
|
* @param focusId
|
|
24265
24494
|
*/
|
|
24266
24495
|
async setFocus(focusId) {
|
|
24267
|
-
|
|
24496
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
24497
|
+
if (focusId === "back-button") {
|
|
24498
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
|
24499
|
+
return;
|
|
24500
|
+
}
|
|
24268
24501
|
if (focusId === "dismiss-button") {
|
|
24269
|
-
|
|
24502
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
|
24270
24503
|
return;
|
|
24271
24504
|
}
|
|
24272
|
-
if (
|
|
24273
|
-
|
|
24505
|
+
if (backButtonEl) {
|
|
24506
|
+
backButtonEl.setFocus();
|
|
24507
|
+
return;
|
|
24508
|
+
}
|
|
24509
|
+
if (closeButtonEl) {
|
|
24510
|
+
closeButtonEl.setFocus();
|
|
24274
24511
|
return;
|
|
24275
24512
|
}
|
|
24276
|
-
|
|
24513
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
|
24277
24514
|
}
|
|
24278
24515
|
/**
|
|
24279
24516
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -24301,75 +24538,68 @@ class Panel {
|
|
|
24301
24538
|
const { el } = this;
|
|
24302
24539
|
const rtl = getElementDir(el) === "rtl";
|
|
24303
24540
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
24304
|
-
const label = intlBack || TEXT$
|
|
24305
|
-
const icon = rtl ? ICONS$
|
|
24306
|
-
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;
|
|
24307
24544
|
}
|
|
24308
24545
|
renderHeaderContent() {
|
|
24309
|
-
const { heading, headingLevel, summary, description } = this;
|
|
24310
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
24311
|
-
const descriptionNode = description || summary ? hAsync("span", { class: CSS$
|
|
24312
|
-
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;
|
|
24313
24550
|
}
|
|
24314
24551
|
/**
|
|
24315
24552
|
* Allows user to override the entire header-content node.
|
|
24316
24553
|
*/
|
|
24317
24554
|
renderHeaderSlottedContent() {
|
|
24318
|
-
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 })));
|
|
24319
24556
|
}
|
|
24320
24557
|
renderHeaderStartActions() {
|
|
24321
|
-
const {
|
|
24322
|
-
|
|
24323
|
-
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 })));
|
|
24324
24560
|
}
|
|
24325
24561
|
renderHeaderActionsEnd() {
|
|
24326
|
-
const { close,
|
|
24327
|
-
const text = intlClose || TEXT$
|
|
24328
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$
|
|
24329
|
-
const slotNode = hAsync("slot", { name: SLOTS$
|
|
24330
|
-
const
|
|
24331
|
-
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));
|
|
24332
24568
|
}
|
|
24333
24569
|
renderMenu() {
|
|
24334
|
-
const {
|
|
24335
|
-
|
|
24336
|
-
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 })));
|
|
24337
24572
|
}
|
|
24338
24573
|
renderHeaderNode() {
|
|
24339
|
-
const {
|
|
24340
|
-
const
|
|
24341
|
-
const
|
|
24342
|
-
|
|
24343
|
-
? this.renderHeaderSlottedContent()
|
|
24344
|
-
: this.renderHeaderContent();
|
|
24345
|
-
const actionsNodeStart = this.renderHeaderStartActions();
|
|
24346
|
-
const actionsNodeEnd = this.renderHeaderActionsEnd();
|
|
24347
|
-
const headerMenuNode = this.renderMenu();
|
|
24348
|
-
return actionsNodeStart ||
|
|
24574
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
24575
|
+
const headerContentNode = this.renderHeaderContent();
|
|
24576
|
+
const showHeader = showBackButton ||
|
|
24577
|
+
hasHeaderContent ||
|
|
24349
24578
|
headerContentNode ||
|
|
24350
|
-
|
|
24351
|
-
|
|
24352
|
-
|
|
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()));
|
|
24353
24584
|
}
|
|
24354
24585
|
renderFooterNode() {
|
|
24355
|
-
const {
|
|
24356
|
-
const
|
|
24357
|
-
|
|
24358
|
-
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 })));
|
|
24359
24589
|
}
|
|
24360
24590
|
renderContent() {
|
|
24361
|
-
const {
|
|
24362
|
-
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
24591
|
+
const { hasFab } = this;
|
|
24363
24592
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
24364
24593
|
const contentWrapperKey = "content-wrapper";
|
|
24365
|
-
|
|
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()));
|
|
24366
24596
|
}
|
|
24367
24597
|
renderFab() {
|
|
24368
|
-
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 })));
|
|
24369
24599
|
}
|
|
24370
24600
|
render() {
|
|
24371
24601
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
24372
|
-
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()));
|
|
24373
24603
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
24374
24604
|
}
|
|
24375
24605
|
get el() { return getElement(this); }
|
|
@@ -24402,6 +24632,13 @@ class Panel {
|
|
|
24402
24632
|
"summary": [1],
|
|
24403
24633
|
"description": [1],
|
|
24404
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],
|
|
24405
24642
|
"setFocus": [64],
|
|
24406
24643
|
"scrollContentTo": [64]
|
|
24407
24644
|
},
|
|
@@ -25202,13 +25439,12 @@ class PopoverManager$1 {
|
|
|
25202
25439
|
};
|
|
25203
25440
|
this.togglePopovers = (event) => {
|
|
25204
25441
|
const composedPath = event.composedPath();
|
|
25205
|
-
const
|
|
25206
|
-
if (
|
|
25207
|
-
|
|
25208
|
-
return;
|
|
25442
|
+
const togglePopover = this.queryPopover(composedPath);
|
|
25443
|
+
if (togglePopover && !togglePopover.triggerDisabled) {
|
|
25444
|
+
togglePopover.toggle();
|
|
25209
25445
|
}
|
|
25210
25446
|
Array.from(this.registeredElements.values())
|
|
25211
|
-
.filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
|
|
25447
|
+
.filter((popover) => popover !== togglePopover && popover.autoClose && popover.open && !composedPath.includes(popover))
|
|
25212
25448
|
.forEach((popover) => popover.toggle(false));
|
|
25213
25449
|
};
|
|
25214
25450
|
this.keyHandler = (event) => {
|
|
@@ -25413,6 +25649,7 @@ class Popover {
|
|
|
25413
25649
|
}
|
|
25414
25650
|
flipPlacementsHandler() {
|
|
25415
25651
|
this.setFilteredPlacements();
|
|
25652
|
+
this.reposition();
|
|
25416
25653
|
}
|
|
25417
25654
|
offsetDistanceOffsetHandler() {
|
|
25418
25655
|
this.reposition();
|
|
@@ -25470,14 +25707,14 @@ class Popover {
|
|
|
25470
25707
|
// --------------------------------------------------------------------------
|
|
25471
25708
|
/** Updates the position of the component. */
|
|
25472
25709
|
async reposition() {
|
|
25473
|
-
const { el, effectiveReferenceElement, placement, overlayPositioning, disableFlip,
|
|
25710
|
+
const { el, effectiveReferenceElement, placement, overlayPositioning, disableFlip, filteredFlipPlacements, offsetDistance, offsetSkidding, arrowEl } = this;
|
|
25474
25711
|
return positionFloatingUI({
|
|
25475
25712
|
floatingEl: el,
|
|
25476
25713
|
referenceEl: effectiveReferenceElement,
|
|
25477
25714
|
overlayPositioning,
|
|
25478
25715
|
placement,
|
|
25479
25716
|
disableFlip,
|
|
25480
|
-
flipPlacements,
|
|
25717
|
+
flipPlacements: filteredFlipPlacements,
|
|
25481
25718
|
offsetDistance,
|
|
25482
25719
|
offsetSkidding,
|
|
25483
25720
|
arrowEl,
|
|
@@ -31280,7 +31517,7 @@ const CSS$7 = {
|
|
|
31280
31517
|
widthFull: "width-full"
|
|
31281
31518
|
};
|
|
31282
31519
|
|
|
31283
|
-
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}";
|
|
31284
31521
|
|
|
31285
31522
|
/**
|
|
31286
31523
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
@@ -35570,6 +35807,7 @@ registerComponents([
|
|
|
35570
35807
|
Fab,
|
|
35571
35808
|
Filter,
|
|
35572
35809
|
Flow,
|
|
35810
|
+
FlowItem,
|
|
35573
35811
|
Graph,
|
|
35574
35812
|
Handle,
|
|
35575
35813
|
Icon,
|