@esri/calcite-components 1.0.0-next.573 → 1.0.0-next.574
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-de536ef0.entry.js → p-01e1f264.entry.js} +2 -2
- package/dist/calcite/{p-3c1c7270.js → p-02874e66.js} +1 -1
- package/dist/calcite/{p-06940898.entry.js → p-02bf316f.entry.js} +2 -2
- package/dist/calcite/{p-76d0f925.system.js → p-04324ff6.system.js} +2 -2
- package/dist/calcite/{p-1f980a64.js → p-0472246a.js} +2 -2
- package/dist/calcite/p-08a5a1c1.entry.js +6 -0
- package/dist/calcite/{p-3466bf65.system.entry.js → p-0943dc72.system.entry.js} +2 -2
- package/dist/calcite/{p-2c93777d.entry.js → p-0a4974cc.entry.js} +2 -2
- package/dist/calcite/{p-8a983533.js → p-0aeae19a.js} +2 -2
- package/dist/calcite/{p-4446ea9c.js → p-0ccdf105.js} +2 -2
- package/dist/calcite/{p-215cee4a.entry.js → p-0ddc8a53.entry.js} +2 -2
- package/dist/calcite/{p-6691d147.system.js → p-1038133f.system.js} +1 -1
- package/dist/calcite/{p-74de428b.system.entry.js → p-128f6135.system.entry.js} +2 -2
- package/dist/calcite/{p-dba9a591.system.js → p-1352c084.system.js} +1 -1
- package/dist/calcite/{p-f71bc24d.js → p-13e8eef6.js} +1 -1
- package/dist/calcite/{p-771af5e2.entry.js → p-14e6ae5b.entry.js} +2 -2
- package/dist/calcite/{p-c237bb63.entry.js → p-14f4fac9.entry.js} +2 -2
- package/dist/calcite/{p-f7389e4a.system.entry.js → p-1b724a77.system.entry.js} +3 -3
- package/dist/calcite/{p-5eacd101.js → p-1c0cfd52.js} +1 -1
- package/dist/calcite/{p-3703f672.system.entry.js → p-1c325f2a.system.entry.js} +2 -2
- package/dist/calcite/{p-4b8e875c.system.js → p-1cd25094.system.js} +2 -2
- package/dist/calcite/{p-1603eecc.js → p-2256fb5a.js} +1 -1
- package/dist/calcite/{p-78a14123.system.entry.js → p-2501e910.system.entry.js} +2 -2
- package/dist/calcite/{p-5fe49537.system.entry.js → p-258f25b4.system.entry.js} +2 -2
- package/dist/calcite/{p-763e7b90.entry.js → p-26edc3fe.entry.js} +2 -2
- package/dist/calcite/{p-79e521d2.entry.js → p-27323b2b.entry.js} +2 -2
- package/dist/calcite/{p-c0738c16.entry.js → p-27894e89.entry.js} +2 -2
- package/dist/calcite/{p-01f47808.system.js → p-293f1130.system.js} +1 -1
- package/dist/calcite/{p-6458e818.system.entry.js → p-29bcb552.system.entry.js} +2 -2
- package/dist/calcite/{p-296d5c3b.system.js → p-2aa5b545.system.js} +1 -1
- package/dist/calcite/{p-f495009f.system.js → p-2b26e70c.system.js} +2 -2
- package/dist/calcite/{p-bb5e5ffb.system.js → p-2c75a894.system.js} +1 -1
- package/dist/calcite/{p-5a26d765.system.entry.js → p-2d018297.system.entry.js} +2 -2
- package/dist/calcite/{p-81922742.entry.js → p-2f662260.entry.js} +2 -2
- package/dist/calcite/{p-9a704c99.entry.js → p-3058a676.entry.js} +2 -2
- package/dist/calcite/p-31a68d51.system.js +6 -0
- package/dist/calcite/{p-9119abdf.entry.js → p-31ed467b.entry.js} +2 -2
- package/dist/calcite/{p-06398a4a.entry.js → p-32bbc891.entry.js} +2 -2
- package/dist/calcite/{p-48899b80.system.entry.js → p-32c72e8d.system.entry.js} +2 -2
- package/dist/calcite/{p-73e9187d.system.js → p-337a24eb.system.js} +1 -1
- package/dist/calcite/{p-857fb485.system.js → p-396820b7.system.js} +1 -1
- package/dist/calcite/{p-58d21c10.system.js → p-398ddb30.system.js} +1 -1
- package/dist/calcite/{p-635f786f.js → p-3bbdf28c.js} +2 -2
- package/dist/calcite/{p-4c200082.system.entry.js → p-3dc32ec2.system.entry.js} +2 -2
- package/dist/calcite/{p-b4c5da6f.system.entry.js → p-405f0063.system.entry.js} +3 -3
- package/dist/calcite/{p-7890a9fe.system.entry.js → p-42028ad9.system.entry.js} +2 -2
- package/dist/calcite/{p-44e87751.js → p-420ccddd.js} +1 -1
- package/dist/calcite/{p-2d8398c7.system.entry.js → p-43ba6532.system.entry.js} +2 -2
- package/dist/calcite/p-49114c42.entry.js +6 -0
- package/dist/calcite/{p-8662a273.system.entry.js → p-4b20dd06.system.entry.js} +2 -2
- package/dist/calcite/{p-7e99b406.js → p-4d8ba58f.js} +2 -2
- package/dist/calcite/{p-9ceecc50.system.entry.js → p-4e3bb2b5.system.entry.js} +2 -2
- package/dist/calcite/{p-95d00c3a.entry.js → p-4f151515.entry.js} +2 -2
- package/dist/calcite/{p-65f99338.system.entry.js → p-4f264208.system.entry.js} +2 -2
- package/dist/calcite/{p-e711dc43.entry.js → p-5418d810.entry.js} +2 -2
- package/dist/calcite/{p-8ee51867.entry.js → p-54949aeb.entry.js} +2 -2
- package/dist/calcite/{p-0abc49f2.system.entry.js → p-551a2e01.system.entry.js} +3 -3
- package/dist/calcite/{p-bc363322.system.js → p-567888cc.system.js} +2 -2
- package/dist/calcite/p-588da538.entry.js +6 -0
- package/dist/calcite/{p-16db99cb.entry.js → p-58cd6a25.entry.js} +2 -2
- package/dist/calcite/{p-5f861187.system.entry.js → p-58cdd975.system.entry.js} +2 -2
- package/dist/calcite/p-5c4421dc.entry.js +6 -0
- package/dist/calcite/{p-74045cd2.js → p-5da3e726.js} +1 -1
- package/dist/calcite/{p-8231b302.entry.js → p-5f34cff7.entry.js} +2 -2
- package/dist/calcite/{p-b6b10e22.system.entry.js → p-5f8c7a97.system.entry.js} +2 -2
- package/dist/calcite/{p-da3a4817.system.entry.js → p-63e0068e.system.entry.js} +2 -2
- package/dist/calcite/{p-6435b0a1.entry.js → p-66a2952f.entry.js} +2 -2
- package/dist/calcite/{p-eb8300a2.system.entry.js → p-68dfd0e8.system.entry.js} +2 -2
- package/dist/calcite/{p-44ea12cb.system.entry.js → p-69607178.system.entry.js} +2 -2
- package/dist/calcite/{p-3c57eb23.system.js → p-6aa7147a.system.js} +2 -2
- package/dist/calcite/{p-24f3beb1.system.js → p-6f45df0b.system.js} +1 -1
- package/dist/calcite/{p-2927455c.system.js → p-6f71dc54.system.js} +1 -1
- package/dist/calcite/p-711c3499.js +6 -0
- package/dist/calcite/{p-d523d8cc.entry.js → p-7170dae4.entry.js} +2 -2
- package/dist/calcite/{p-6d7ee0b8.js → p-729414c5.js} +1 -1
- package/dist/calcite/{p-1227fc52.system.entry.js → p-72f5d36b.system.entry.js} +2 -2
- package/dist/calcite/{p-91bf59f3.system.entry.js → p-7647ee97.system.entry.js} +2 -2
- package/dist/calcite/{p-d64e8b8e.entry.js → p-7ac38b2b.entry.js} +2 -2
- package/dist/calcite/{p-4140dba9.js → p-7de25c76.js} +1 -1
- package/dist/calcite/{p-a747f1d7.system.entry.js → p-8079a79c.system.entry.js} +2 -2
- package/dist/calcite/{p-4672c17e.system.entry.js → p-81606519.system.entry.js} +2 -2
- package/dist/calcite/{p-ddab519c.system.entry.js → p-854fabb7.system.entry.js} +2 -2
- package/dist/calcite/{p-2fb83966.js → p-8a55c80a.js} +2 -2
- package/dist/calcite/{p-99fcd3cd.system.entry.js → p-8c4dde60.system.entry.js} +2 -2
- package/dist/calcite/{p-f3991961.js → p-904eb1df.js} +1 -1
- package/dist/calcite/{p-a3f96232.js → p-94929da9.js} +1 -1
- package/dist/calcite/p-9525e397.entry.js +6 -0
- package/dist/calcite/p-9644cf90.system.entry.js +6 -0
- package/dist/calcite/{p-3bfc58d6.entry.js → p-9646400a.entry.js} +2 -2
- package/dist/calcite/p-96f59f09.system.entry.js +6 -0
- package/dist/calcite/{p-33b105b3.system.entry.js → p-96f9d00c.system.entry.js} +2 -2
- package/dist/calcite/p-97b5b5ac.system.entry.js +6 -0
- package/dist/calcite/{p-876dff53.js → p-9c6a2350.js} +2 -2
- package/dist/calcite/{p-47c06b6d.system.entry.js → p-9d562b85.system.entry.js} +2 -2
- package/dist/calcite/{p-5f4daba6.system.entry.js → p-9d72faa2.system.entry.js} +2 -2
- package/dist/calcite/p-9e267363.entry.js +6 -0
- package/dist/calcite/{p-abb0a3f3.entry.js → p-9ebe47e9.entry.js} +2 -2
- package/dist/calcite/{p-5b21f192.system.entry.js → p-9f9dfe99.system.entry.js} +2 -2
- package/dist/calcite/{p-c5629271.entry.js → p-a026e825.entry.js} +2 -2
- package/dist/calcite/{p-d32fc6bf.system.entry.js → p-a4a1dbb7.system.entry.js} +2 -2
- package/dist/calcite/p-a598a7dd.system.entry.js +6 -0
- package/dist/calcite/p-a67f40e6.entry.js +6 -0
- package/dist/calcite/{p-6be19ec4.system.entry.js → p-a6e30a8f.system.entry.js} +2 -2
- package/dist/calcite/{p-a0543a23.system.entry.js → p-a716e34c.system.entry.js} +2 -2
- package/dist/calcite/{p-ed9c45da.js → p-a7579427.js} +2 -2
- package/dist/calcite/{p-2091aec6.system.entry.js → p-a898954c.system.entry.js} +2 -2
- package/dist/calcite/{p-23eaf857.entry.js → p-a8a53704.entry.js} +2 -2
- package/dist/calcite/{p-c2d25fad.system.entry.js → p-a8f9c6d6.system.entry.js} +2 -2
- package/dist/calcite/p-a9f20b18.system.entry.js +6 -0
- package/dist/calcite/{p-db4d1c41.system.entry.js → p-aa13a6c2.system.entry.js} +2 -2
- package/dist/calcite/{p-e0d0a0c8.entry.js → p-aafc1a2f.entry.js} +2 -2
- package/dist/calcite/p-abe3683b.js +6 -0
- package/dist/calcite/{p-5a322d52.system.entry.js → p-ad5972fc.system.entry.js} +2 -2
- package/dist/calcite/{p-e4c0bfac.js → p-ad63ba8c.js} +1 -1
- package/dist/calcite/{p-d06b07a2.entry.js → p-af602be9.entry.js} +2 -2
- package/dist/calcite/{p-0079e9dc.js → p-afb86c1a.js} +1 -1
- package/dist/calcite/{p-c43ba981.js → p-b21f44b7.js} +1 -1
- package/dist/calcite/{p-ae8eceed.entry.js → p-b248c3b2.entry.js} +2 -2
- package/dist/calcite/p-b2649312.entry.js +6 -0
- package/dist/calcite/{p-2776ae06.entry.js → p-b26e592b.entry.js} +2 -2
- package/dist/calcite/{p-dc882273.system.entry.js → p-b4c56282.system.entry.js} +2 -2
- package/dist/calcite/p-b6dc1fbb.js +6 -0
- package/dist/calcite/{p-645ab10a.system.entry.js → p-b73dc693.system.entry.js} +2 -2
- package/dist/calcite/{p-f4839c59.entry.js → p-b855c064.entry.js} +2 -2
- package/dist/calcite/{p-18ac810c.entry.js → p-b8810eb8.entry.js} +2 -2
- package/dist/calcite/{p-f1f9a708.system.js → p-b91d70ea.system.js} +1 -1
- package/dist/calcite/{p-62a1c81d.system.entry.js → p-ba9faef1.system.entry.js} +2 -2
- package/dist/calcite/{p-d6612851.entry.js → p-bbd25093.entry.js} +2 -2
- package/dist/calcite/{p-1c6aeec9.entry.js → p-bd0c7dee.entry.js} +2 -2
- package/dist/calcite/p-bd1fb33a.entry.js +6 -0
- package/dist/calcite/{p-f1bc0e38.system.entry.js → p-bf1c3465.system.entry.js} +2 -2
- package/dist/calcite/{p-fe537558.entry.js → p-c2d7f995.entry.js} +2 -2
- package/dist/calcite/{p-70762440.entry.js → p-c54ba294.entry.js} +2 -2
- package/dist/calcite/{p-e57be199.system.entry.js → p-c6005ea4.system.entry.js} +2 -2
- package/dist/calcite/{p-63e73c95.js → p-c769a124.js} +1 -1
- package/dist/calcite/{p-9ded762f.system.entry.js → p-c8d7baeb.system.entry.js} +2 -2
- package/dist/calcite/p-c93fd4d4.system.entry.js +6 -0
- package/dist/calcite/p-c9d74771.system.js +6 -0
- package/dist/calcite/{p-2d0c05ce.js → p-c9f24014.js} +2 -2
- package/dist/calcite/{p-96ef5070.entry.js → p-ca9d349d.entry.js} +2 -2
- package/dist/calcite/{p-b2b789c7.entry.js → p-cbe27383.entry.js} +2 -2
- package/dist/calcite/{p-49fc9ebc.system.js → p-cc5b9672.system.js} +1 -1
- package/dist/calcite/{p-fad46af8.system.entry.js → p-cd1e35ee.system.entry.js} +2 -2
- package/dist/calcite/{p-f68cc31f.system.entry.js → p-cdd4697e.system.entry.js} +2 -2
- package/dist/calcite/{p-131c63f1.system.js → p-ce3da917.system.js} +2 -2
- package/dist/calcite/{p-c2668e88.entry.js → p-cf3ea746.entry.js} +2 -2
- package/dist/calcite/{p-2d952c64.system.entry.js → p-cf3fb5a0.system.entry.js} +2 -2
- package/dist/calcite/{p-9f03f505.entry.js → p-d064ce65.entry.js} +2 -2
- package/dist/calcite/p-d0ea54b5.system.entry.js +6 -0
- package/dist/calcite/{p-6dbf6d70.entry.js → p-d0fbf0a6.entry.js} +2 -2
- package/dist/calcite/p-d3bb2db1.entry.js +6 -0
- package/dist/calcite/{p-47f16a46.entry.js → p-d4772885.entry.js} +2 -2
- package/dist/calcite/{p-5173d4d5.entry.js → p-d6933313.entry.js} +2 -2
- package/dist/calcite/{p-7ba806bd.system.entry.js → p-d69d2ceb.system.entry.js} +2 -2
- package/dist/calcite/{p-8551e8fe.js → p-d70de307.js} +2 -2
- package/dist/calcite/p-d9f72aca.system.entry.js +6 -0
- package/dist/calcite/{p-a7fa401c.entry.js → p-dabfab4d.entry.js} +2 -2
- package/dist/calcite/{p-f185f2ff.entry.js → p-dae459bf.entry.js} +2 -2
- package/dist/calcite/{p-c5d51196.entry.js → p-dca7a79c.entry.js} +2 -2
- package/dist/calcite/{p-01429b02.system.entry.js → p-dda4734d.system.entry.js} +2 -2
- package/dist/calcite/{p-4f45d88a.system.js → p-defa0c9d.system.js} +1 -1
- package/dist/calcite/{p-5b745241.system.entry.js → p-df16481d.system.entry.js} +2 -2
- package/dist/calcite/{p-87812365.system.js → p-df2b9dd8.system.js} +2 -2
- package/dist/calcite/{p-6d41212f.system.js → p-e0f33780.system.js} +2 -2
- package/dist/calcite/{p-255f27e2.system.js → p-e1d7243b.system.js} +1 -1
- package/dist/calcite/{p-7f278aea.system.js → p-e7dc1543.system.js} +1 -1
- package/dist/calcite/{p-d36a9ae8.entry.js → p-e7f9f911.entry.js} +2 -2
- package/dist/calcite/p-ebe41e88.entry.js +6 -0
- package/dist/calcite/{p-add73f89.system.entry.js → p-edcb605e.system.entry.js} +2 -2
- package/dist/calcite/{p-232d5c51.system.js → p-ee2ba171.system.js} +2 -2
- package/dist/calcite/{p-5493b0ff.system.js → p-ef95d6d7.system.js} +2 -2
- package/dist/calcite/{p-21f73977.js → p-f1873d3e.js} +1 -1
- package/dist/calcite/{p-dcc231fb.system.js → p-f2564d1d.system.js} +2 -2
- package/dist/calcite/{p-19201685.entry.js → p-f2592bd5.entry.js} +2 -2
- package/dist/calcite/{p-8906b45b.system.js → p-f28e72db.system.js} +1 -1
- package/dist/calcite/{p-6807dea3.entry.js → p-f2d22297.entry.js} +2 -2
- package/dist/calcite/{p-f6cd655c.entry.js → p-f5f0e229.entry.js} +2 -2
- package/dist/calcite/{p-5e08e43c.system.js → p-ffab28ce.system.js} +2 -2
- package/dist/cjs/{ExpandToggle-be716ed0.js → ExpandToggle-d01ba222.js} +5 -5
- package/dist/cjs/{Heading-14436db8.js → Heading-5c8ae7c7.js} +2 -2
- package/dist/cjs/{app-globals-18db0cbf.js → app-globals-ac11ea69.js} +2 -2
- package/dist/cjs/{array-6a40c1d9.js → array-1b1fee7a.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -11
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +142 -0
- package/dist/cjs/calcite-flow.cjs.entry.js +33 -33
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +23 -11
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +110 -104
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-74cabcef.js → conditionalSlot-d467cd45.js} +3 -3
- package/dist/cjs/{debounce-d495c550.js → debounce-fdf01cb6.js} +1 -1
- package/dist/cjs/{dom-60a1a16f.js → dom-3eb34325.js} +3 -3
- package/dist/cjs/{filter-51cf2e7d.js → filter-55af528e.js} +2 -2
- package/dist/cjs/{floating-ui-686b3413.js → floating-ui-7329e890.js} +2 -2
- package/dist/cjs/{form-9ed868a6.js → form-80db0b5f.js} +3 -3
- package/dist/cjs/{guid-c2802a75.js → guid-dc7f4ae8.js} +1 -1
- package/dist/cjs/{index-cc07b36c.js → index-371fa05d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-27d3c6c4.js → interactive-0d5bf080.js} +1 -1
- package/dist/cjs/{interfaces-d1d635a6.js → interfaces-05dc4281.js} +1 -1
- package/dist/cjs/{key-92498ae8.js → key-7782fce0.js} +1 -1
- package/dist/cjs/{label-edae341f.js → label-7d957162.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c6f1966f.js → locale-c6c7e842.js} +2 -2
- package/dist/cjs/{math-66bff6e9.js → math-77342528.js} +1 -1
- package/dist/cjs/{observers-53ebb8f3.js → observers-42cebe54.js} +1 -1
- package/dist/cjs/{openCloseComponent-0885b399.js → openCloseComponent-d46fe480.js} +1 -1
- package/dist/cjs/{resources-1e6ef3e5.js → resources-08cedc9e.js} +3 -3
- package/dist/cjs/{resources-dac2d527.js → resources-4c96ffc6.js} +1 -1
- package/dist/cjs/{resources-4619d271.js → resources-6b16c623.js} +1 -1
- package/dist/cjs/resources-8d1dd980.js +52 -0
- package/dist/cjs/{resources-10d76ea2.js → resources-b5b9e02b.js} +5 -5
- package/dist/cjs/{resources-bb3999db.js → resources-ea6e7974.js} +1 -1
- package/dist/cjs/{sortable.esm-d676475c.js → sortable.esm-e02e39de.js} +1 -1
- package/dist/cjs/{utils-692d8506.js → utils-bdda9970.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.js +9 -7
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +12 -4
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +111 -59
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +0 -19
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +34 -18
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -6
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +2 -2
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +1 -0
- package/dist/collection/components/flow/flow.js +44 -38
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +119 -0
- package/dist/collection/components/flow-item/flow-item.js +479 -0
- package/dist/collection/components/flow-item/resources.js +24 -0
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.js +16 -4
- package/dist/collection/components/modal/resources.js +2 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -14
- package/dist/collection/components/panel/panel.js +134 -63
- package/dist/collection/components/panel/resources.js +2 -6
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +16 -10
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +7 -5
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +3 -3
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +2 -2
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.d.ts +11 -0
- package/dist/components/calcite-flow-item.js +214 -0
- package/dist/components/calcite-flow.js +34 -34
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +17 -4
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +2 -393
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +451 -0
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +687 -498
- package/dist/esm/{ExpandToggle-b806b6d6.js → ExpandToggle-f1f93ed7.js} +5 -5
- package/dist/esm/{Heading-c9260472.js → Heading-17772655.js} +2 -2
- package/dist/esm/{app-globals-dfd78ab9.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm/{array-f540a504.js → array-23601dc0.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +13 -11
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +7 -7
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +12 -12
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- package/dist/esm/calcite-dropdown_3.entry.js +10 -10
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +138 -0
- package/dist/esm/calcite-flow.entry.js +33 -33
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +13 -13
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +23 -11
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +102 -96
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +10 -10
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-13919550.js → conditionalSlot-e4e51860.js} +3 -3
- package/dist/esm/{debounce-4468ec93.js → debounce-f443feec.js} +1 -1
- package/dist/esm/{dom-fb85e16c.js → dom-a8dad893.js} +3 -3
- package/dist/esm/{filter-c6da97aa.js → filter-093821c0.js} +2 -2
- package/dist/esm/{floating-ui-a41704c5.js → floating-ui-26990792.js} +2 -2
- package/dist/esm/{form-19995c88.js → form-08fd9bc5.js} +3 -3
- package/dist/esm/{guid-6b7f5b2a.js → guid-b990c4d2.js} +1 -1
- package/dist/esm/{index-0bb6162f.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6af5c5ed.js → interactive-e72598f1.js} +1 -1
- package/dist/esm/{interfaces-ef7c93cb.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm/{key-9400c512.js → key-9cbf7b92.js} +1 -1
- package/dist/esm/{label-f7a4cb22.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-be38e4a3.js → locale-26bd4f96.js} +2 -2
- package/dist/esm/{math-d8951c4d.js → math-519aad80.js} +1 -1
- package/dist/esm/{observers-dfc11a10.js → observers-b2199b39.js} +1 -1
- package/dist/esm/{openCloseComponent-63ae7c03.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm/{resources-db745cae.js → resources-08de72a5.js} +3 -3
- package/dist/esm/{resources-d106e29b.js → resources-0fcef459.js} +1 -1
- package/dist/esm/{resources-c8cc7a09.js → resources-11a525a9.js} +5 -5
- package/dist/esm/{resources-8d32ecce.js → resources-222b83b4.js} +1 -1
- package/dist/esm/resources-5784443c.js +46 -0
- package/dist/esm/{resources-67e1126c.js → resources-fcc173ea.js} +1 -1
- package/dist/esm/{sortable.esm-3c0036cf.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm/{utils-82f6c024.js → utils-e80bf55b.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-b806b6d6.js → ExpandToggle-f1f93ed7.js} +2 -2
- package/dist/esm-es5/{Heading-c9260472.js → Heading-17772655.js} +2 -2
- package/dist/esm-es5/{app-globals-dfd78ab9.js → app-globals-fd18e0c0.js} +2 -2
- package/dist/esm-es5/{array-f540a504.js → array-23601dc0.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +3 -3
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow-item.entry.js +6 -0
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-13919550.js → conditionalSlot-e4e51860.js} +2 -2
- package/dist/esm-es5/{debounce-4468ec93.js → debounce-f443feec.js} +1 -1
- package/dist/esm-es5/{dom-fb85e16c.js → dom-a8dad893.js} +2 -2
- package/dist/esm-es5/{filter-c6da97aa.js → filter-093821c0.js} +2 -2
- package/dist/esm-es5/{floating-ui-a41704c5.js → floating-ui-26990792.js} +2 -2
- package/dist/esm-es5/{form-19995c88.js → form-08fd9bc5.js} +2 -2
- package/dist/esm-es5/{guid-6b7f5b2a.js → guid-b990c4d2.js} +1 -1
- package/dist/esm-es5/{index-0bb6162f.js → index-8b5f2ff9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-6af5c5ed.js → interactive-e72598f1.js} +1 -1
- package/dist/esm-es5/{interfaces-ef7c93cb.js → interfaces-58f534e2.js} +1 -1
- package/dist/esm-es5/{key-9400c512.js → key-9cbf7b92.js} +1 -1
- package/dist/esm-es5/{label-f7a4cb22.js → label-cd0fc1fd.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-be38e4a3.js → locale-26bd4f96.js} +2 -2
- package/dist/esm-es5/{math-d8951c4d.js → math-519aad80.js} +1 -1
- package/dist/esm-es5/{observers-dfc11a10.js → observers-b2199b39.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-63ae7c03.js → openCloseComponent-6cc92b6d.js} +1 -1
- package/dist/esm-es5/{resources-db745cae.js → resources-08de72a5.js} +2 -2
- package/dist/esm-es5/{resources-d106e29b.js → resources-0fcef459.js} +1 -1
- package/dist/esm-es5/{resources-c8cc7a09.js → resources-11a525a9.js} +2 -2
- package/dist/esm-es5/{resources-8d32ecce.js → resources-222b83b4.js} +1 -1
- package/dist/esm-es5/resources-5784443c.js +6 -0
- package/dist/esm-es5/{resources-67e1126c.js → resources-fcc173ea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-3c0036cf.js → sortable.esm-b374e5fb.js} +1 -1
- package/dist/esm-es5/{utils-82f6c024.js → utils-e80bf55b.js} +1 -1
- package/dist/extras/docs-json.json +508 -19
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/interfaces.d.ts +1 -1
- package/dist/types/components/button/interfaces.d.ts +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -1
- package/dist/types/components/color-picker/interfaces.d.ts +1 -1
- package/dist/types/components/flow/flow.d.ts +8 -8
- package/dist/types/components/flow-item/flow-item.d.ts +100 -0
- package/dist/types/components/flow-item/resources.d.ts +19 -0
- package/dist/types/components/interfaces.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +6 -0
- package/dist/types/components/modal/resources.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +25 -4
- package/dist/types/components/panel/resources.d.ts +0 -4
- package/dist/types/components.d.ts +162 -5
- package/dist/types/preact.d.ts +4 -0
- package/hydrate/index.js +728 -498
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-22da6834.system.entry.js +0 -6
- package/dist/calcite/p-258de339.entry.js +0 -6
- package/dist/calcite/p-2c07cc64.js +0 -6
- package/dist/calcite/p-3c69dedb.entry.js +0 -6
- package/dist/calcite/p-587ac194.entry.js +0 -6
- package/dist/calcite/p-7537de6a.entry.js +0 -6
- package/dist/calcite/p-79d7865d.entry.js +0 -6
- package/dist/calcite/p-7c1e6642.system.entry.js +0 -6
- package/dist/calcite/p-8f00e8af.system.entry.js +0 -6
- package/dist/calcite/p-935e8a80.system.entry.js +0 -6
- package/dist/calcite/p-a62ccfd7.system.js +0 -6
- package/dist/calcite/p-c85c2743.system.entry.js +0 -6
- package/dist/calcite/p-cb0581e6.system.entry.js +0 -6
- package/dist/calcite/p-d34e1ff5.js +0 -6
- package/dist/calcite/p-d5488a3e.entry.js +0 -6
- package/dist/calcite/p-db77e732.entry.js +0 -6
- package/dist/calcite/p-f314edb9.entry.js +0 -6
- package/dist/calcite/p-f5c675ea.system.entry.js +0 -6
- package/dist/calcite/p-fa1fe9ce.entry.js +0 -6
- package/dist/calcite/p-fb89ecdf.entry.js +0 -6
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement, g as getSlotted, e as ensureId, i as isCalciteFocusable } from './dom-
|
|
8
|
-
import { c as createObserver } from './observers-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8b5f2ff9.js';
|
|
7
|
+
import { f as focusElement, g as getSlotted, e as ensureId, i as isCalciteFocusable } from './dom-a8dad893.js';
|
|
8
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-e4e51860.js';
|
|
10
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-6cc92b6d.js';
|
|
11
|
+
import './resources-0fcef459.js';
|
|
12
|
+
import './guid-b990c4d2.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Traverses the slots of the open shadowroots and returns all children matching the query.
|
|
@@ -116,6 +116,7 @@ function isFocusable($elem) {
|
|
|
116
116
|
|
|
117
117
|
const CSS = {
|
|
118
118
|
modal: "modal",
|
|
119
|
+
modalOpen: "modal--open",
|
|
119
120
|
title: "title",
|
|
120
121
|
header: "header",
|
|
121
122
|
footer: "footer",
|
|
@@ -146,7 +147,7 @@ const TEXT = {
|
|
|
146
147
|
close: "Close"
|
|
147
148
|
};
|
|
148
149
|
|
|
149
|
-
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{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]){--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]){--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]){--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{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.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{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .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{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{-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{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-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(*),*::slotted([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{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{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{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,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .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{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
150
|
+
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{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]){--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]){--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]){--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{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.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{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open][calcite-hydrated]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open][calcite-hydrated]) .modal--open{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{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{-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{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-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(*),*::slotted([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{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{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{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,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .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{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
150
151
|
|
|
151
152
|
const isFocusableExtended = (el) => {
|
|
152
153
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -202,6 +203,12 @@ const Modal = class {
|
|
|
202
203
|
//
|
|
203
204
|
//--------------------------------------------------------------------------
|
|
204
205
|
this.hasFooter = true;
|
|
206
|
+
/**
|
|
207
|
+
* We use internal variable to make sure initially open modal can transition from closed state when rendered
|
|
208
|
+
*
|
|
209
|
+
* @private
|
|
210
|
+
*/
|
|
211
|
+
this.isOpen = false;
|
|
205
212
|
this.mutationObserver = createObserver("mutation", () => this.updateFooterVisibility());
|
|
206
213
|
this.openTransitionProp = "opacity";
|
|
207
214
|
//--------------------------------------------------------------------------
|
|
@@ -227,6 +234,7 @@ const Modal = class {
|
|
|
227
234
|
this.close = () => {
|
|
228
235
|
return this.beforeClose(this.el).then(() => {
|
|
229
236
|
this.open = false;
|
|
237
|
+
this.isOpen = false;
|
|
230
238
|
focusElement(this.previousActiveElement);
|
|
231
239
|
this.removeOverflowHiddenClass();
|
|
232
240
|
});
|
|
@@ -255,7 +263,7 @@ const Modal = class {
|
|
|
255
263
|
componentWillLoad() {
|
|
256
264
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
257
265
|
if (this.open) {
|
|
258
|
-
this.openModal();
|
|
266
|
+
requestAnimationFrame(() => this.openModal());
|
|
259
267
|
}
|
|
260
268
|
}
|
|
261
269
|
connectedCallback() {
|
|
@@ -279,7 +287,10 @@ const Modal = class {
|
|
|
279
287
|
disconnectOpenCloseComponent(this);
|
|
280
288
|
}
|
|
281
289
|
render() {
|
|
282
|
-
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class:
|
|
290
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: {
|
|
291
|
+
[CSS.modal]: true,
|
|
292
|
+
[CSS.modalOpen]: this.isOpen
|
|
293
|
+
}, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS.header }, this.renderCloseButton(), h("header", { class: CSS.title }, h("slot", { name: CSS.header }))), h("div", { class: {
|
|
283
294
|
content: true,
|
|
284
295
|
"content--spaced": !this.noPadding,
|
|
285
296
|
"content--no-footer": !this.hasFooter
|
|
@@ -406,6 +417,7 @@ const Modal = class {
|
|
|
406
417
|
this.previousActiveElement = document.activeElement;
|
|
407
418
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
408
419
|
this.open = true;
|
|
420
|
+
this.isOpen = true;
|
|
409
421
|
const titleEl = getSlotted(this.el, SLOTS.header);
|
|
410
422
|
const contentEl = getSlotted(this.el, SLOTS.content);
|
|
411
423
|
this.titleId = ensureId(titleEl);
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { S as StatusIcons } from './interfaces-
|
|
8
|
-
import { s as setRequestedIcon, g as getSlotted } from './dom-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './resources-
|
|
11
|
-
import './guid-
|
|
12
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8b5f2ff9.js';
|
|
7
|
+
import { S as StatusIcons } from './interfaces-58f534e2.js';
|
|
8
|
+
import { s as setRequestedIcon, g as getSlotted } from './dom-a8dad893.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-e4e51860.js';
|
|
10
|
+
import './resources-0fcef459.js';
|
|
11
|
+
import './guid-b990c4d2.js';
|
|
12
|
+
import './observers-b2199b39.js';
|
|
13
13
|
|
|
14
14
|
const TEXT = {
|
|
15
15
|
close: "Close"
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { f as focusElement } from './dom-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel } from './label-
|
|
10
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import './resources-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment } from './index-8b5f2ff9.js';
|
|
7
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
8
|
+
import { f as focusElement } from './dom-a8dad893.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel } from './label-cd0fc1fd.js';
|
|
10
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-08fd9bc5.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-e72598f1.js';
|
|
12
|
+
import './resources-0fcef459.js';
|
|
13
|
+
import './guid-b990c4d2.js';
|
|
14
14
|
|
|
15
15
|
const optionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { l as localizeNumberString } from './locale-
|
|
9
|
-
import './key-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-8b5f2ff9.js';
|
|
7
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
8
|
+
import { l as localizeNumberString } from './locale-26bd4f96.js';
|
|
9
|
+
import './key-9cbf7b92.js';
|
|
10
10
|
|
|
11
11
|
const allowedGlobalAttributes = ["lang"];
|
|
12
12
|
const elementToComponentAndObserverOptionsMap = new Map();
|
|
@@ -1,63 +1,19 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { c as createObserver } from './observers-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-8b5f2ff9.js';
|
|
7
|
+
import { S as SLOTS, C as CSS, I as ICONS, T as TEXT, H as HEADING_LEVEL } from './resources-5784443c.js';
|
|
8
|
+
import { a as getElementDir, t as toAriaBoolean } from './dom-a8dad893.js';
|
|
9
|
+
import { H as Heading } from './Heading-17772655.js';
|
|
10
|
+
import { S as SLOTS$1 } from './resources-fcc173ea.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-e72598f1.js';
|
|
12
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
13
|
+
import './resources-0fcef459.js';
|
|
14
|
+
import './guid-b990c4d2.js';
|
|
15
15
|
|
|
16
|
-
const
|
|
17
|
-
backButton: "back-button",
|
|
18
|
-
container: "container",
|
|
19
|
-
header: "header",
|
|
20
|
-
heading: "heading",
|
|
21
|
-
summary: "summary",
|
|
22
|
-
description: "description",
|
|
23
|
-
headerContent: "header-content",
|
|
24
|
-
headerActions: "header-actions",
|
|
25
|
-
headerActionsEnd: "header-actions--end",
|
|
26
|
-
headerActionsStart: "header-actions--start",
|
|
27
|
-
contentWrapper: "content-wrapper",
|
|
28
|
-
contentContainer: "content-container",
|
|
29
|
-
contentHeight: "content-height",
|
|
30
|
-
fabContainer: "fab-container",
|
|
31
|
-
footer: "footer",
|
|
32
|
-
menuContainer: "menu-container",
|
|
33
|
-
menuButton: "menu-button",
|
|
34
|
-
menu: "menu",
|
|
35
|
-
menuOpen: "menu--open"
|
|
36
|
-
};
|
|
37
|
-
const ICONS = {
|
|
38
|
-
close: "x",
|
|
39
|
-
menu: "ellipsis",
|
|
40
|
-
backLeft: "chevron-left",
|
|
41
|
-
backRight: "chevron-right"
|
|
42
|
-
};
|
|
43
|
-
const SLOTS = {
|
|
44
|
-
headerActionsStart: "header-actions-start",
|
|
45
|
-
headerActionsEnd: "header-actions-end",
|
|
46
|
-
headerMenuActions: "header-menu-actions",
|
|
47
|
-
headerContent: "header-content",
|
|
48
|
-
fab: "fab",
|
|
49
|
-
footer: "footer",
|
|
50
|
-
footerActions: "footer-actions"
|
|
51
|
-
};
|
|
52
|
-
const TEXT = {
|
|
53
|
-
back: "Back",
|
|
54
|
-
close: "Close",
|
|
55
|
-
open: "Open",
|
|
56
|
-
options: "Options"
|
|
57
|
-
};
|
|
58
|
-
const HEADING_LEVEL = 3;
|
|
59
|
-
|
|
60
|
-
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{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]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{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{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.container{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]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--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]){--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]){--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]{display:none}.header{-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{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,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{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{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{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,.menu-container:only-child{-webkit-margin-start:auto;margin-inline-start:auto}.menu-button{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{min-inline-size:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{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{-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{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}";
|
|
16
|
+
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{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]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{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{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}.container{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]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--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]){--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]){--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]{display:none}.header{-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{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,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{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{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{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{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{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{-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{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]{display:none}";
|
|
61
17
|
|
|
62
18
|
const Panel = class {
|
|
63
19
|
constructor(hostRef) {
|
|
@@ -93,6 +49,8 @@ const Panel = class {
|
|
|
93
49
|
this.closable = false;
|
|
94
50
|
/**
|
|
95
51
|
* When true, displays a back button in the header.
|
|
52
|
+
*
|
|
53
|
+
* @deprecated use `calcite-flow-item` instead.
|
|
96
54
|
*/
|
|
97
55
|
this.showBackButton = false;
|
|
98
56
|
/**
|
|
@@ -104,6 +62,13 @@ const Panel = class {
|
|
|
104
62
|
*/
|
|
105
63
|
this.menuOpen = false;
|
|
106
64
|
this.resizeObserver = createObserver("resize", () => this.resizeHandler());
|
|
65
|
+
this.hasStartActions = false;
|
|
66
|
+
this.hasEndActions = false;
|
|
67
|
+
this.hasMenuItems = false;
|
|
68
|
+
this.hasHeaderContent = false;
|
|
69
|
+
this.hasFooterContent = false;
|
|
70
|
+
this.hasFooterActions = false;
|
|
71
|
+
this.hasFab = false;
|
|
107
72
|
// --------------------------------------------------------------------------
|
|
108
73
|
//
|
|
109
74
|
// Private Methods
|
|
@@ -143,6 +108,48 @@ const Panel = class {
|
|
|
143
108
|
this.backButtonClick = () => {
|
|
144
109
|
this.calcitePanelBackClick.emit();
|
|
145
110
|
};
|
|
111
|
+
this.handleHeaderActionsStartSlotChange = (event) => {
|
|
112
|
+
const elements = event.target.assignedElements({
|
|
113
|
+
flatten: true
|
|
114
|
+
});
|
|
115
|
+
this.hasStartActions = !!elements.length;
|
|
116
|
+
};
|
|
117
|
+
this.handleHeaderActionsEndSlotChange = (event) => {
|
|
118
|
+
const elements = event.target.assignedElements({
|
|
119
|
+
flatten: true
|
|
120
|
+
});
|
|
121
|
+
this.hasEndActions = !!elements.length;
|
|
122
|
+
};
|
|
123
|
+
this.handleHeaderMenuActionsSlotChange = (event) => {
|
|
124
|
+
const elements = event.target.assignedElements({
|
|
125
|
+
flatten: true
|
|
126
|
+
});
|
|
127
|
+
this.hasMenuItems = !!elements.length;
|
|
128
|
+
};
|
|
129
|
+
this.handleHeaderContentSlotChange = (event) => {
|
|
130
|
+
const elements = event.target.assignedElements({
|
|
131
|
+
flatten: true
|
|
132
|
+
});
|
|
133
|
+
this.hasHeaderContent = !!elements.length;
|
|
134
|
+
};
|
|
135
|
+
this.handleFooterSlotChange = (event) => {
|
|
136
|
+
const elements = event.target.assignedElements({
|
|
137
|
+
flatten: true
|
|
138
|
+
});
|
|
139
|
+
this.hasFooterContent = !!elements.length;
|
|
140
|
+
};
|
|
141
|
+
this.handleFooterActionsSlotChange = (event) => {
|
|
142
|
+
const elements = event.target.assignedElements({
|
|
143
|
+
flatten: true
|
|
144
|
+
});
|
|
145
|
+
this.hasFooterActions = !!elements.length;
|
|
146
|
+
};
|
|
147
|
+
this.handleFabSlotChange = (event) => {
|
|
148
|
+
const elements = event.target.assignedElements({
|
|
149
|
+
flatten: true
|
|
150
|
+
});
|
|
151
|
+
this.hasFab = !!elements.length;
|
|
152
|
+
};
|
|
146
153
|
this.setPanelScrollEl = (el) => {
|
|
147
154
|
var _a, _b;
|
|
148
155
|
this.panelScrollEl = el;
|
|
@@ -180,7 +187,6 @@ const Panel = class {
|
|
|
180
187
|
//
|
|
181
188
|
// --------------------------------------------------------------------------
|
|
182
189
|
connectedCallback() {
|
|
183
|
-
connectConditionalSlotComponent(this);
|
|
184
190
|
const isClosed = this.dismissed || this.closed;
|
|
185
191
|
const isClosable = this.dismissible || this.closable;
|
|
186
192
|
if (isClosed) {
|
|
@@ -194,7 +200,6 @@ const Panel = class {
|
|
|
194
200
|
}
|
|
195
201
|
disconnectedCallback() {
|
|
196
202
|
var _a;
|
|
197
|
-
disconnectConditionalSlotComponent(this);
|
|
198
203
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
199
204
|
}
|
|
200
205
|
// --------------------------------------------------------------------------
|
|
@@ -208,16 +213,24 @@ const Panel = class {
|
|
|
208
213
|
* @param focusId
|
|
209
214
|
*/
|
|
210
215
|
async setFocus(focusId) {
|
|
211
|
-
|
|
216
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
217
|
+
if (focusId === "back-button") {
|
|
218
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
212
221
|
if (focusId === "dismiss-button") {
|
|
213
|
-
|
|
222
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
|
214
223
|
return;
|
|
215
224
|
}
|
|
216
|
-
if (
|
|
217
|
-
|
|
225
|
+
if (backButtonEl) {
|
|
226
|
+
backButtonEl.setFocus();
|
|
218
227
|
return;
|
|
219
228
|
}
|
|
220
|
-
(
|
|
229
|
+
if (closeButtonEl) {
|
|
230
|
+
closeButtonEl.setFocus();
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
|
221
234
|
}
|
|
222
235
|
/**
|
|
223
236
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -250,66 +263,59 @@ const Panel = class {
|
|
|
250
263
|
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS.headerActionsStart, text: label })) : null;
|
|
251
264
|
}
|
|
252
265
|
renderHeaderContent() {
|
|
253
|
-
const { heading, headingLevel, summary, description } = this;
|
|
266
|
+
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
254
267
|
const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;
|
|
255
268
|
const descriptionNode = description || summary ? h("span", { class: CSS.description }, description || summary) : null;
|
|
256
|
-
return headingNode || descriptionNode ? (h("div", { class: CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
269
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (h("div", { class: CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
257
270
|
}
|
|
258
271
|
/**
|
|
259
272
|
* Allows user to override the entire header-content node.
|
|
260
273
|
*/
|
|
261
274
|
renderHeaderSlottedContent() {
|
|
262
|
-
return (h("div", { class: CSS.headerContent, key: "slotted-header-content" }, h("slot", { name: SLOTS.headerContent })));
|
|
275
|
+
return (h("div", { class: CSS.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, h("slot", { name: SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
263
276
|
}
|
|
264
277
|
renderHeaderStartActions() {
|
|
265
|
-
const {
|
|
266
|
-
|
|
267
|
-
return hasStartActions ? (h("div", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, key: "header-actions-start" }, h("slot", { name: SLOTS.headerActionsStart }))) : null;
|
|
278
|
+
const { hasStartActions } = this;
|
|
279
|
+
return (h("div", { class: { [CSS.headerActionsStart]: true, [CSS.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, h("slot", { name: SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
268
280
|
}
|
|
269
281
|
renderHeaderActionsEnd() {
|
|
270
|
-
const { close,
|
|
282
|
+
const { close, hasEndActions, intlClose, closable } = this;
|
|
271
283
|
const text = intlClose || TEXT.close;
|
|
272
284
|
const closableNode = closable ? (h("calcite-action", { "aria-label": text, icon: ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
273
|
-
const slotNode = h("slot", { name: SLOTS.headerActionsEnd });
|
|
274
|
-
const
|
|
275
|
-
return
|
|
285
|
+
const slotNode = (h("slot", { name: SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
286
|
+
const showContainer = hasEndActions || closableNode;
|
|
287
|
+
return (h("div", { class: { [CSS.headerActionsEnd]: true, [CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
276
288
|
}
|
|
277
289
|
renderMenu() {
|
|
278
|
-
const {
|
|
279
|
-
|
|
280
|
-
return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS.menu, slot: SLOTS$1.trigger, text: intlOptions || TEXT.options }), h("slot", { name: SLOTS.headerMenuActions }))) : null;
|
|
290
|
+
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
291
|
+
return (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS.menu, slot: SLOTS$1.trigger, text: intlOptions || TEXT.options }), h("slot", { name: SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
281
292
|
}
|
|
282
293
|
renderHeaderNode() {
|
|
283
|
-
const {
|
|
284
|
-
const
|
|
285
|
-
const
|
|
286
|
-
|
|
287
|
-
? this.renderHeaderSlottedContent()
|
|
288
|
-
: this.renderHeaderContent();
|
|
289
|
-
const actionsNodeStart = this.renderHeaderStartActions();
|
|
290
|
-
const actionsNodeEnd = this.renderHeaderActionsEnd();
|
|
291
|
-
const headerMenuNode = this.renderMenu();
|
|
292
|
-
return actionsNodeStart ||
|
|
294
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
295
|
+
const headerContentNode = this.renderHeaderContent();
|
|
296
|
+
const showHeader = showBackButton ||
|
|
297
|
+
hasHeaderContent ||
|
|
293
298
|
headerContentNode ||
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
299
|
+
hasStartActions ||
|
|
300
|
+
hasEndActions ||
|
|
301
|
+
closable ||
|
|
302
|
+
hasMenuItems;
|
|
303
|
+
return (h("header", { class: CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
297
304
|
}
|
|
298
305
|
renderFooterNode() {
|
|
299
|
-
const {
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
return hasFooterSlottedContent || hasFooterActions ? (h("footer", { class: CSS.footer, key: "footer" }, hasFooterSlottedContent ? h("slot", { key: "footer-slot", name: SLOTS.footer }) : null, hasFooterActions ? h("slot", { key: "footer-actions-slot", name: SLOTS.footerActions }) : null)) : null;
|
|
306
|
+
const { hasFooterContent, hasFooterActions } = this;
|
|
307
|
+
const showFooter = hasFooterContent || hasFooterActions;
|
|
308
|
+
return (h("footer", { class: CSS.footer, hidden: !showFooter, key: "footer" }, h("slot", { key: "footer-slot", name: SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), h("slot", { key: "footer-actions-slot", name: SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
303
309
|
}
|
|
304
310
|
renderContent() {
|
|
305
|
-
const {
|
|
306
|
-
const hasFab = getSlotted(el, SLOTS.fab);
|
|
311
|
+
const { hasFab } = this;
|
|
307
312
|
const defaultSlotNode = h("slot", { key: "default-slot" });
|
|
308
313
|
const contentWrapperKey = "content-wrapper";
|
|
309
|
-
|
|
314
|
+
const containerNode = hasFab ? (h("section", { class: CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
315
|
+
return (h("div", { class: { [CSS.contentWrapper]: true, [CSS.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
310
316
|
}
|
|
311
317
|
renderFab() {
|
|
312
|
-
return (h("div", { class: CSS.fabContainer }, h("slot", { name: SLOTS.fab })));
|
|
318
|
+
return (h("div", { class: CSS.fabContainer, hidden: !this.hasFab }, h("slot", { name: SLOTS.fab, onSlotchange: this.handleFabSlotChange })));
|
|
313
319
|
}
|
|
314
320
|
render() {
|
|
315
321
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, i as initialize, e as initializeObserver, f as cleanUpObserver, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, j as calciteListFocusOutHandler, o as setUpItems, p as setFocus, I as ICON_TYPES, L as List, q as SLOTS, t as CSS, H as HEADING_LEVEL, T as TEXT, u as ICONS, C as CSS$1, S as SLOTS$1 } from './resources-
|
|
8
|
-
import { c as createObserver } from './observers-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { g as getSlotted, t as toAriaBoolean } from './dom-
|
|
11
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading-
|
|
12
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
13
|
-
import './array-
|
|
14
|
-
import './debounce-
|
|
15
|
-
import './resources-
|
|
16
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, F as Fragment } from './index-8b5f2ff9.js';
|
|
7
|
+
import { m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as getItemData, k as keyDownHandler, i as initialize, e as initializeObserver, f as cleanUpObserver, r as removeItem, l as calciteListItemChangeHandler, n as calciteInternalListItemValueChangeHandler, j as calciteListFocusOutHandler, o as setUpItems, p as setFocus, I as ICON_TYPES, L as List, q as SLOTS, t as CSS, H as HEADING_LEVEL, T as TEXT, u as ICONS, C as CSS$1, S as SLOTS$1 } from './resources-11a525a9.js';
|
|
8
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-e72598f1.js';
|
|
10
|
+
import { g as getSlotted, t as toAriaBoolean } from './dom-a8dad893.js';
|
|
11
|
+
import { H as Heading, c as constrainHeadingLevel } from './Heading-17772655.js';
|
|
12
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-e4e51860.js';
|
|
13
|
+
import './array-23601dc0.js';
|
|
14
|
+
import './debounce-f443feec.js';
|
|
15
|
+
import './resources-0fcef459.js';
|
|
16
|
+
import './guid-b990c4d2.js';
|
|
17
17
|
|
|
18
18
|
const pickListCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 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)}:host([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:1}calcite-filter{-webkit-margin-after:0px;margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}";
|
|
19
19
|
|
|
@@ -1,17 +1,17 @@
|
|
|
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
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { b as defaultOffsetDistance, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS } from './floating-ui-
|
|
8
|
-
import { g as guid } from './guid-
|
|
9
|
-
import { t as toAriaBoolean, q as queryElementRoots } from './dom-
|
|
10
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
11
|
-
import { H as Heading } from './Heading-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-8b5f2ff9.js';
|
|
7
|
+
import { b as defaultOffsetDistance, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, p as positionFloatingUI, F as FloatingCSS } from './floating-ui-26990792.js';
|
|
8
|
+
import { g as guid } from './guid-b990c4d2.js';
|
|
9
|
+
import { t as toAriaBoolean, q as queryElementRoots } from './dom-a8dad893.js';
|
|
10
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-6cc92b6d.js';
|
|
11
|
+
import { H as Heading } from './Heading-17772655.js';
|
|
12
|
+
import { i as isActivationKey } from './key-9cbf7b92.js';
|
|
13
|
+
import { c as createObserver } from './observers-b2199b39.js';
|
|
14
|
+
import './resources-0fcef459.js';
|
|
15
15
|
|
|
16
16
|
const CSS = {
|
|
17
17
|
container: "container",
|