@esri/calcite-components 1.0.0-next.573 → 1.0.0-next.576
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 +2 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-5a322d52.system.entry.js → p-0063bd54.system.entry.js} +2 -2
- package/dist/calcite/{p-8a983533.js → p-00d651a3.js} +2 -2
- package/dist/calcite/{p-876dff53.js → p-01dfe353.js} +2 -2
- package/dist/calcite/{p-7f278aea.system.js → p-03710730.system.js} +1 -1
- package/dist/calcite/{p-e711dc43.entry.js → p-055689ac.entry.js} +2 -2
- package/dist/calcite/{p-f68cc31f.system.entry.js → p-05fe3055.system.entry.js} +2 -2
- package/dist/calcite/p-06642d43.js +6 -0
- package/dist/calcite/{p-fad46af8.system.entry.js → p-07785bab.system.entry.js} +2 -2
- package/dist/calcite/{p-6d7ee0b8.js → p-07dc2e03.js} +1 -1
- package/dist/calcite/{p-6dbf6d70.entry.js → p-0aaaec34.entry.js} +2 -2
- package/dist/calcite/{p-b4c5da6f.system.entry.js → p-0fe9b606.system.entry.js} +3 -3
- package/dist/calcite/{p-3bfc58d6.entry.js → p-0fee3871.entry.js} +2 -2
- package/dist/calcite/{p-6435b0a1.entry.js → p-1092f237.entry.js} +2 -2
- package/dist/calcite/{p-9f03f505.entry.js → p-112bddc6.entry.js} +2 -2
- package/dist/calcite/{p-dba9a591.system.js → p-148c7f5e.system.js} +1 -1
- package/dist/calcite/{p-33b105b3.system.entry.js → p-1580b332.system.entry.js} +2 -2
- package/dist/calcite/{p-9ceecc50.system.entry.js → p-1849141c.system.entry.js} +2 -2
- package/dist/calcite/{p-49fc9ebc.system.js → p-19828176.system.js} +1 -1
- package/dist/calcite/{p-65f99338.system.entry.js → p-1e5ea0c1.system.entry.js} +2 -2
- package/dist/calcite/{p-5b745241.system.entry.js → p-1f47cd4b.system.entry.js} +2 -2
- package/dist/calcite/{p-de536ef0.entry.js → p-250df0c1.entry.js} +2 -2
- package/dist/calcite/{p-c43ba981.js → p-25e4f3d8.js} +1 -1
- package/dist/calcite/{p-f495009f.system.js → p-2975db93.system.js} +2 -2
- package/dist/calcite/{p-a747f1d7.system.entry.js → p-2c0681f2.system.entry.js} +2 -2
- package/dist/calcite/{p-c5629271.entry.js → p-2c52e78e.entry.js} +2 -2
- package/dist/calcite/{p-d523d8cc.entry.js → p-2e2b5808.entry.js} +2 -2
- package/dist/calcite/{p-58d21c10.system.js → p-3030925e.system.js} +1 -1
- package/dist/calcite/{p-4f45d88a.system.js → p-3066f23a.system.js} +1 -1
- package/dist/calcite/{p-06398a4a.entry.js → p-31313f1f.entry.js} +2 -2
- package/dist/calcite/{p-73e9187d.system.js → p-3182cd22.system.js} +1 -1
- package/dist/calcite/{p-bb5e5ffb.system.js → p-369e807d.system.js} +1 -1
- package/dist/calcite/{p-255f27e2.system.js → p-36a2ec14.system.js} +1 -1
- package/dist/calcite/{p-0abc49f2.system.entry.js → p-38261ff9.system.entry.js} +3 -3
- package/dist/calcite/{p-95d00c3a.entry.js → p-3d5d4d2c.entry.js} +2 -2
- package/dist/calcite/{p-ddab519c.system.entry.js → p-404f0c9f.system.entry.js} +2 -2
- package/dist/calcite/{p-21f73977.js → p-4116356c.js} +1 -1
- package/dist/calcite/{p-5fe49537.system.entry.js → p-4183d4fd.system.entry.js} +2 -2
- package/dist/calcite/{p-44e87751.js → p-425a007f.js} +1 -1
- package/dist/calcite/{p-f3991961.js → p-444ea4b1.js} +1 -1
- package/dist/calcite/{p-5e08e43c.system.js → p-46ce04f4.system.js} +2 -2
- package/dist/calcite/{p-5eacd101.js → p-47361824.js} +1 -1
- package/dist/calcite/p-478b5bfa.system.entry.js +6 -0
- package/dist/calcite/{p-81922742.entry.js → p-499143ac.entry.js} +2 -2
- package/dist/calcite/{p-e4c0bfac.js → p-4d3c4760.js} +1 -1
- package/dist/calcite/{p-18ac810c.entry.js → p-4dc9141f.entry.js} +2 -2
- package/dist/calcite/{p-19201685.entry.js → p-55b8ed48.entry.js} +2 -2
- package/dist/calcite/{p-a7fa401c.entry.js → p-5701dfe2.entry.js} +2 -2
- package/dist/calcite/p-5a4337d3.system.entry.js +6 -0
- package/dist/calcite/{p-296d5c3b.system.js → p-5b4fe2ee.system.js} +1 -1
- package/dist/calcite/p-5e23eefc.entry.js +6 -0
- package/dist/calcite/{p-f71bc24d.js → p-5e5f793d.js} +1 -1
- package/dist/calcite/{p-23eaf857.entry.js → p-5e84cbe9.entry.js} +2 -2
- package/dist/calcite/{p-2927455c.system.js → p-62622654.system.js} +1 -1
- package/dist/calcite/{p-78a14123.system.entry.js → p-66d1e0a4.system.entry.js} +2 -2
- package/dist/calcite/p-66dfa4f0.system.js +6 -0
- package/dist/calcite/{p-a3f96232.js → p-677b6446.js} +1 -1
- package/dist/calcite/p-6b8e5715.entry.js +6 -0
- package/dist/calcite/{p-2d8398c7.system.entry.js → p-6baedf64.system.entry.js} +3 -3
- package/dist/calcite/{p-8ee51867.entry.js → p-6c0211c1.entry.js} +2 -2
- package/dist/calcite/{p-645ab10a.system.entry.js → p-6c843a7d.system.entry.js} +2 -2
- package/dist/calcite/{p-5f861187.system.entry.js → p-6dbcde67.system.entry.js} +2 -2
- package/dist/calcite/{p-3466bf65.system.entry.js → p-6dd18b78.system.entry.js} +2 -2
- package/dist/calcite/{p-8551e8fe.js → p-6e878a5b.js} +2 -2
- package/dist/calcite/p-6fd47bf6.system.js +7 -0
- package/dist/calcite/p-7264b861.js +6 -0
- package/dist/calcite/{p-3703f672.system.entry.js → p-728aed53.system.entry.js} +2 -2
- package/dist/calcite/{p-f7389e4a.system.entry.js → p-74d484b8.system.entry.js} +3 -3
- package/dist/calcite/{p-c237bb63.entry.js → p-762de88a.entry.js} +2 -2
- package/dist/calcite/{p-fe537558.entry.js → p-76ab9f31.entry.js} +2 -2
- package/dist/calcite/{p-b6b10e22.system.entry.js → p-76d99a7b.system.entry.js} +2 -2
- package/dist/calcite/{p-232d5c51.system.js → p-76dd13e8.system.js} +2 -2
- package/dist/calcite/{p-6be19ec4.system.entry.js → p-7bc834d6.system.entry.js} +2 -2
- package/dist/calcite/{p-99fcd3cd.system.entry.js → p-7bdcac53.system.entry.js} +2 -2
- package/dist/calcite/{p-eb8300a2.system.entry.js → p-7ce0d3ce.system.entry.js} +2 -2
- package/dist/calcite/{p-d36a9ae8.entry.js → p-7d970a7b.entry.js} +2 -2
- package/dist/calcite/{p-b2b789c7.entry.js → p-7fd9015a.entry.js} +2 -2
- package/dist/calcite/{p-63e73c95.js → p-80dfd47c.js} +1 -1
- package/dist/calcite/{p-7e99b406.js → p-8234e607.js} +2 -2
- package/dist/calcite/{p-763e7b90.entry.js → p-82d1c6c4.entry.js} +2 -2
- package/dist/calcite/{p-70762440.entry.js → p-87145a12.entry.js} +2 -2
- package/dist/calcite/{p-1c6aeec9.entry.js → p-8c2e59d9.entry.js} +2 -2
- package/dist/calcite/{p-ed9c45da.js → p-8daa6da7.js} +2 -2
- package/dist/calcite/{p-6d41212f.system.js → p-8dde86ed.system.js} +2 -2
- package/dist/calcite/{p-db4d1c41.system.entry.js → p-8f0b019a.system.entry.js} +2 -2
- package/dist/calcite/{p-e0d0a0c8.entry.js → p-90bc18da.entry.js} +2 -2
- package/dist/calcite/{p-01429b02.system.entry.js → p-926dd4ce.system.entry.js} +2 -2
- package/dist/calcite/{p-4140dba9.js → p-92becb57.js} +1 -1
- package/dist/calcite/p-931f53bc.entry.js +6 -0
- package/dist/calcite/p-93bced5f.system.entry.js +6 -0
- package/dist/calcite/{p-2091aec6.system.entry.js → p-93dd5666.system.entry.js} +2 -2
- package/dist/calcite/{p-da3a4817.system.entry.js → p-95340889.system.entry.js} +3 -3
- package/dist/calcite/{p-a0543a23.system.entry.js → p-960675a4.system.entry.js} +2 -2
- package/dist/calcite/{p-5173d4d5.entry.js → p-96df1410.entry.js} +2 -2
- package/dist/calcite/p-97d06529.system.entry.js +6 -0
- package/dist/calcite/{p-91bf59f3.system.entry.js → p-982d3df8.system.entry.js} +2 -2
- package/dist/calcite/{p-f6cd655c.entry.js → p-98d922b1.entry.js} +2 -2
- package/dist/calcite/{p-2d952c64.system.entry.js → p-9a9d808f.system.entry.js} +2 -2
- package/dist/calcite/p-9aea24b0.entry.js +6 -0
- package/dist/calcite/{p-f185f2ff.entry.js → p-9af07c3e.entry.js} +2 -2
- package/dist/calcite/p-9cff373a.entry.js +6 -0
- package/dist/calcite/{p-74de428b.system.entry.js → p-9e24b319.system.entry.js} +2 -2
- package/dist/calcite/{p-7537de6a.entry.js → p-a271fae7.entry.js} +2 -2
- package/dist/calcite/{p-d64e8b8e.entry.js → p-a4db59b2.entry.js} +2 -2
- package/dist/calcite/{p-47f16a46.entry.js → p-a4ea5de7.entry.js} +2 -2
- package/dist/calcite/{p-8662a273.system.entry.js → p-a517783e.system.entry.js} +2 -2
- package/dist/calcite/{p-abb0a3f3.entry.js → p-a5aee385.entry.js} +2 -2
- package/dist/calcite/{p-01f47808.system.js → p-a7a2768c.system.js} +1 -1
- package/dist/calcite/{p-add73f89.system.entry.js → p-a8bcb1a1.system.entry.js} +2 -2
- package/dist/calcite/{p-44ea12cb.system.entry.js → p-a935c72b.system.entry.js} +2 -2
- package/dist/calcite/{p-2776ae06.entry.js → p-a9b1d4a4.entry.js} +2 -2
- package/dist/calcite/{p-d6612851.entry.js → p-a9fe7931.entry.js} +2 -2
- package/dist/calcite/{p-2c93777d.entry.js → p-aa43c144.entry.js} +2 -2
- package/dist/calcite/p-ab6602f7.js +7 -0
- package/dist/calcite/{p-48899b80.system.entry.js → p-adddf205.system.entry.js} +2 -2
- package/dist/calcite/p-ae9358b7.system.entry.js +6 -0
- package/dist/calcite/p-b1ada8a7.system.js +6 -0
- package/dist/calcite/p-b1dfd6ff.system.js +6 -0
- package/dist/calcite/{p-24f3beb1.system.js → p-b286899b.system.js} +1 -1
- package/dist/calcite/{p-74045cd2.js → p-b3965a78.js} +1 -1
- package/dist/calcite/{p-1603eecc.js → p-b5d46dde.js} +1 -1
- package/dist/calcite/{p-62a1c81d.system.entry.js → p-b941fc92.system.entry.js} +2 -2
- package/dist/calcite/{p-47c06b6d.system.entry.js → p-ba1f87bf.system.entry.js} +2 -2
- package/dist/calcite/p-ba875cbc.entry.js +6 -0
- package/dist/calcite/{p-76d0f925.system.js → p-bb6fde02.system.js} +2 -2
- package/dist/calcite/{p-857fb485.system.js → p-bcc21945.system.js} +1 -1
- package/dist/calcite/{p-7890a9fe.system.entry.js → p-bdea289d.system.entry.js} +2 -2
- package/dist/calcite/{p-6807dea3.entry.js → p-bf453f94.entry.js} +2 -2
- package/dist/calcite/{p-06940898.entry.js → p-c19b15b5.entry.js} +2 -2
- package/dist/calcite/{p-9a704c99.entry.js → p-c2891336.entry.js} +2 -2
- package/dist/calcite/{p-8231b302.entry.js → p-c2f58564.entry.js} +2 -2
- package/dist/calcite/{p-2fb83966.js → p-c4c35103.js} +2 -2
- package/dist/calcite/{p-1f980a64.js → p-c5f18639.js} +2 -2
- package/dist/calcite/p-c6fe612c.system.entry.js +6 -0
- package/dist/calcite/{p-16db99cb.entry.js → p-c7fb04d2.entry.js} +2 -2
- package/dist/calcite/p-c8566719.system.entry.js +6 -0
- package/dist/calcite/{p-c2668e88.entry.js → p-c956ed92.entry.js} +2 -2
- package/dist/calcite/{p-dc882273.system.entry.js → p-cb767160.system.entry.js} +2 -2
- package/dist/calcite/{p-f1f9a708.system.js → p-cc15ab86.system.js} +1 -1
- package/dist/calcite/{p-c2d25fad.system.entry.js → p-cc6a1802.system.entry.js} +2 -2
- package/dist/calcite/{p-2d0c05ce.js → p-ce07692c.js} +2 -2
- package/dist/calcite/{p-4446ea9c.js → p-cfc4a165.js} +2 -2
- package/dist/calcite/{p-e57be199.system.entry.js → p-d035c9df.system.entry.js} +2 -2
- package/dist/calcite/p-d03c62db.js +6 -0
- package/dist/calcite/p-d1baac51.entry.js +6 -0
- package/dist/calcite/{p-5a26d765.system.entry.js → p-d1ce94e6.system.entry.js} +2 -2
- package/dist/calcite/{p-3c57eb23.system.js → p-d2186778.system.js} +2 -2
- package/dist/calcite/{p-5b21f192.system.entry.js → p-d340c46d.system.entry.js} +2 -2
- package/dist/calcite/{p-4c200082.system.entry.js → p-d3bc790e.system.entry.js} +2 -2
- package/dist/calcite/{p-9119abdf.entry.js → p-d63cd218.entry.js} +2 -2
- package/dist/calcite/{p-c5d51196.entry.js → p-d64bed77.entry.js} +2 -2
- package/dist/calcite/{p-5f4daba6.system.entry.js → p-d68ad052.system.entry.js} +2 -2
- package/dist/calcite/{p-f4839c59.entry.js → p-d71645da.entry.js} +2 -2
- package/dist/calcite/{p-4672c17e.system.entry.js → p-d76403f7.system.entry.js} +2 -2
- package/dist/calcite/{p-131c63f1.system.js → p-dce4cc99.system.js} +3 -3
- package/dist/calcite/{p-215cee4a.entry.js → p-dd9ee38c.entry.js} +2 -2
- package/dist/calcite/p-dfb23408.system.js +6 -0
- package/dist/calcite/{p-96ef5070.entry.js → p-dfcc691e.entry.js} +2 -2
- package/dist/calcite/{p-79e521d2.entry.js → p-e00ba801.entry.js} +2 -2
- package/dist/calcite/{p-ae8eceed.entry.js → p-e044bc1e.entry.js} +2 -2
- package/dist/calcite/{p-6691d147.system.js → p-e0c75676.system.js} +1 -1
- package/dist/calcite/{p-dcc231fb.system.js → p-e3f65e31.system.js} +2 -2
- package/dist/calcite/{p-7ba806bd.system.entry.js → p-e51cf891.system.entry.js} +2 -2
- package/dist/calcite/p-e556b877.entry.js +6 -0
- package/dist/calcite/p-e57cfbe2.system.entry.js +6 -0
- package/dist/calcite/{p-4b8e875c.system.js → p-e5cbc24b.system.js} +2 -2
- package/dist/calcite/{p-3c1c7270.js → p-e7e38d6b.js} +1 -1
- package/dist/calcite/{p-f1bc0e38.system.entry.js → p-e8ad8f14.system.entry.js} +2 -2
- package/dist/calcite/{p-635f786f.js → p-ed924f1b.js} +2 -2
- package/dist/calcite/{p-6458e818.system.entry.js → p-f226fbfc.system.entry.js} +2 -2
- package/dist/calcite/{p-c0738c16.entry.js → p-f3201bb0.entry.js} +2 -2
- package/dist/calcite/{p-d06b07a2.entry.js → p-f4364073.entry.js} +2 -2
- package/dist/calcite/{p-87812365.system.js → p-f6347608.system.js} +2 -2
- package/dist/calcite/{p-d32fc6bf.system.entry.js → p-f6d57744.system.entry.js} +2 -2
- package/dist/calcite/p-f7c72443.entry.js +6 -0
- package/dist/calcite/p-fa714458.entry.js +6 -0
- package/dist/calcite/p-fa82297a.system.entry.js +6 -0
- package/dist/calcite/p-fa98cfd6.entry.js +6 -0
- package/dist/calcite/{p-9ded762f.system.entry.js → p-fac9cf69.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-be716ed0.js → ExpandToggle-e1337602.js} +5 -5
- package/dist/cjs/{Heading-14436db8.js → Heading-ef56c3d3.js} +2 -2
- package/dist/cjs/{app-globals-18db0cbf.js → app-globals-6fc66d0b.js} +2 -2
- package/dist/cjs/{array-6a40c1d9.js → array-6e85280c.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 +55 -37
- 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 +28 -20
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +21 -13
- package/dist/cjs/calcite-tile.cjs.entry.js +19 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js +16 -14
- 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 +6 -6
- package/dist/cjs/{conditionalSlot-74cabcef.js → conditionalSlot-70df6348.js} +3 -3
- package/dist/cjs/{debounce-d495c550.js → debounce-d73ff8b1.js} +1 -1
- package/dist/cjs/{dom-60a1a16f.js → dom-3f60cbd0.js} +3 -3
- package/dist/cjs/{filter-51cf2e7d.js → filter-fcadab7b.js} +2 -2
- package/dist/cjs/{floating-ui-686b3413.js → floating-ui-092f4fbd.js} +2 -2
- package/dist/cjs/{form-9ed868a6.js → form-3b946711.js} +3 -3
- package/dist/cjs/{guid-c2802a75.js → guid-fd4860ac.js} +1 -1
- package/dist/cjs/{index-cc07b36c.js → index-825bdca3.js} +10 -5
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-27d3c6c4.js → interactive-b8e34dfa.js} +1 -1
- package/dist/cjs/{interfaces-d1d635a6.js → interfaces-d755a1de.js} +1 -1
- package/dist/cjs/{key-92498ae8.js → key-a6de3a12.js} +1 -1
- package/dist/cjs/{label-edae341f.js → label-d43a2e03.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/{locale-c6f1966f.js → locale-5031d0a4.js} +2 -2
- package/dist/cjs/{math-66bff6e9.js → math-7ca32485.js} +1 -1
- package/dist/cjs/{observers-53ebb8f3.js → observers-11a40c4f.js} +1 -1
- package/dist/cjs/{openCloseComponent-0885b399.js → openCloseComponent-565096c5.js} +1 -1
- package/dist/cjs/{resources-1e6ef3e5.js → resources-29cc0cd1.js} +3 -3
- package/dist/cjs/{resources-dac2d527.js → resources-4d95de9e.js} +1 -1
- package/dist/cjs/{resources-4619d271.js → resources-a0b9f49e.js} +1 -1
- package/dist/cjs/resources-b2db41e0.js +52 -0
- package/dist/cjs/{resources-bb3999db.js → resources-c81aa568.js} +1 -1
- package/dist/cjs/{resources-10d76ea2.js → resources-c98978e6.js} +5 -5
- package/dist/cjs/{sortable.esm-d676475c.js → sortable.esm-a9d9162d.js} +1 -1
- package/dist/cjs/{utils-692d8506.js → utils-0e43a2a6.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- 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 +54 -13
- 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 +3 -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 +16 -12
- package/dist/collection/components/tab-nav/tab-nav.js +4 -4
- package/dist/collection/components/tab-title/tab-title.js +21 -17
- 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 +10 -10
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +23 -17
- 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 +25 -21
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +9 -5
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +33 -33
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +14 -12
- package/dist/collection/components/tip-group/tip-group.js +2 -2
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -2
- package/dist/collection/components/tip-manager/tip-manager.js +16 -16
- 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 +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- 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 +4 -4
- package/dist/components/calcite-accordion-item.js +2 -3
- package/dist/components/calcite-accordion.js +7 -5
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +5 -5
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +2 -2
- 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 +3 -3
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +3 -4
- package/dist/components/calcite-input-text.js +3 -4
- package/dist/components/calcite-input-time-picker.js +32 -13
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +18 -5
- package/dist/components/calcite-notice.js +2 -2
- 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 +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +2 -2
- 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 +7 -3
- package/dist/components/calcite-tile-select.js +12 -8
- 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 +6 -6
- package/dist/components/calcite-tip.js +8 -6
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -3
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -3
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +15 -3
- package/dist/components/dropdown.js +2 -2
- package/dist/components/filter.js +169 -741
- package/dist/components/filter2.js +741 -169
- package/dist/components/floating-ui.js +3 -3
- package/dist/components/form.js +2 -2
- 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 +2 -2
- package/dist/components/index.d.ts +93 -5
- package/dist/components/index.js +2 -2
- package/dist/components/input.js +3 -4
- 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 +87 -112
- package/dist/components/label2.js +112 -87
- package/dist/components/link.js +2 -3
- 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 +3 -3
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +7 -10
- package/dist/components/resources3.js +23 -6
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +11 -7
- package/dist/components/tab.js +9 -5
- package/dist/components/tabs.js +5 -5
- package/dist/components/tile.js +13 -7
- package/dist/components/time-picker.js +17 -17
- 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 +790 -559
- package/dist/esm/{ExpandToggle-b806b6d6.js → ExpandToggle-79b23645.js} +5 -5
- package/dist/esm/{Heading-c9260472.js → Heading-09bf2fa9.js} +2 -2
- package/dist/esm/{app-globals-dfd78ab9.js → app-globals-33238d1e.js} +2 -2
- package/dist/esm/{array-f540a504.js → array-c2c29015.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 +55 -37
- 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 +28 -20
- package/dist/esm/calcite-tile-select_2.entry.js +21 -13
- package/dist/esm/calcite-tile.entry.js +19 -13
- package/dist/esm/calcite-tip_3.entry.js +16 -14
- 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 +6 -6
- package/dist/esm/{conditionalSlot-13919550.js → conditionalSlot-62083906.js} +3 -3
- package/dist/esm/{debounce-4468ec93.js → debounce-8c835d4b.js} +1 -1
- package/dist/esm/{dom-fb85e16c.js → dom-3916e61f.js} +3 -3
- package/dist/esm/{filter-c6da97aa.js → filter-aab1017e.js} +2 -2
- package/dist/esm/{floating-ui-a41704c5.js → floating-ui-970c21c6.js} +2 -2
- package/dist/esm/{form-19995c88.js → form-9147a2f9.js} +3 -3
- package/dist/esm/{guid-6b7f5b2a.js → guid-164faa41.js} +1 -1
- package/dist/esm/{index-0bb6162f.js → index-913acba3.js} +10 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6af5c5ed.js → interactive-801ed755.js} +1 -1
- package/dist/esm/{interfaces-ef7c93cb.js → interfaces-44885f7b.js} +1 -1
- package/dist/esm/{key-9400c512.js → key-a7acb0ab.js} +1 -1
- package/dist/esm/{label-f7a4cb22.js → label-7e38a412.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-be38e4a3.js → locale-e7194024.js} +2 -2
- package/dist/esm/{math-d8951c4d.js → math-3caf2732.js} +1 -1
- package/dist/esm/{observers-dfc11a10.js → observers-04da3aa2.js} +1 -1
- package/dist/esm/{openCloseComponent-63ae7c03.js → openCloseComponent-c28502aa.js} +1 -1
- package/dist/esm/{resources-8d32ecce.js → resources-1b4bd79e.js} +1 -1
- package/dist/esm/{resources-d106e29b.js → resources-262a0e5a.js} +1 -1
- package/dist/esm/{resources-db745cae.js → resources-8fdc061f.js} +3 -3
- package/dist/esm/{resources-67e1126c.js → resources-a3196cd9.js} +1 -1
- package/dist/esm/resources-f0e7bd38.js +46 -0
- package/dist/esm/{resources-c8cc7a09.js → resources-fb2c5569.js} +5 -5
- package/dist/esm/{sortable.esm-3c0036cf.js → sortable.esm-b06d1353.js} +1 -1
- package/dist/esm/{utils-82f6c024.js → utils-ebc9c1e2.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-b806b6d6.js → ExpandToggle-79b23645.js} +2 -2
- package/dist/esm-es5/{Heading-c9260472.js → Heading-09bf2fa9.js} +2 -2
- package/dist/esm-es5/{app-globals-dfd78ab9.js → app-globals-33238d1e.js} +2 -2
- package/dist/esm-es5/{array-f540a504.js → array-c2c29015.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +3 -3
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-13919550.js → conditionalSlot-62083906.js} +2 -2
- package/dist/esm-es5/{debounce-4468ec93.js → debounce-8c835d4b.js} +1 -1
- package/dist/esm-es5/{dom-fb85e16c.js → dom-3916e61f.js} +3 -3
- package/dist/esm-es5/{filter-c6da97aa.js → filter-aab1017e.js} +2 -2
- package/dist/esm-es5/{floating-ui-a41704c5.js → floating-ui-970c21c6.js} +2 -2
- package/dist/esm-es5/{form-19995c88.js → form-9147a2f9.js} +2 -2
- package/dist/esm-es5/{guid-6b7f5b2a.js → guid-164faa41.js} +1 -1
- package/dist/esm-es5/index-913acba3.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-6af5c5ed.js → interactive-801ed755.js} +1 -1
- package/dist/esm-es5/{interfaces-ef7c93cb.js → interfaces-44885f7b.js} +1 -1
- package/dist/esm-es5/{key-9400c512.js → key-a7acb0ab.js} +1 -1
- package/dist/esm-es5/{label-f7a4cb22.js → label-7e38a412.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-be38e4a3.js → locale-e7194024.js} +2 -2
- package/dist/esm-es5/{math-d8951c4d.js → math-3caf2732.js} +1 -1
- package/dist/esm-es5/{observers-dfc11a10.js → observers-04da3aa2.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-63ae7c03.js → openCloseComponent-c28502aa.js} +1 -1
- package/dist/esm-es5/{resources-8d32ecce.js → resources-1b4bd79e.js} +1 -1
- package/dist/esm-es5/{resources-d106e29b.js → resources-262a0e5a.js} +1 -1
- package/dist/esm-es5/{resources-db745cae.js → resources-8fdc061f.js} +2 -2
- package/dist/esm-es5/{resources-67e1126c.js → resources-a3196cd9.js} +1 -1
- package/dist/esm-es5/resources-f0e7bd38.js +6 -0
- package/dist/esm-es5/{resources-c8cc7a09.js → resources-fb2c5569.js} +2 -2
- package/dist/esm-es5/{sortable.esm-3c0036cf.js → sortable.esm-b06d1353.js} +1 -1
- package/dist/esm-es5/{utils-82f6c024.js → utils-ebc9c1e2.js} +1 -1
- package/dist/extras/docs-json.json +711 -198
- 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/input-time-picker/input-time-picker.d.ts +9 -2
- 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/tab/tab.d.ts +13 -8
- package/dist/types/components/tab-nav/tab-nav.d.ts +3 -3
- package/dist/types/components/tab-title/tab-title.d.ts +17 -12
- package/dist/types/components/tabs/tabs.d.ts +5 -5
- package/dist/types/components/tile/tile.d.ts +19 -11
- package/dist/types/components/tile-select/tile-select.d.ts +21 -13
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -2
- package/dist/types/components/time-picker/time-picker.d.ts +16 -16
- package/dist/types/components/tip/tip.d.ts +10 -8
- package/dist/types/components/tip-group/tip-group.d.ts +1 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +12 -12
- package/dist/types/components.d.ts +324 -157
- package/dist/types/preact.d.ts +4 -0
- package/hydrate/index.js +1015 -569
- package/package.json +6 -4
- package/readme.md +2 -2
- package/dist/calcite/p-0079e9dc.js +0 -7
- package/dist/calcite/p-1227fc52.system.entry.js +0 -6
- 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-5493b0ff.system.js +0 -6
- package/dist/calcite/p-587ac194.entry.js +0 -6
- package/dist/calcite/p-771af5e2.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-8906b45b.system.js +0 -7
- 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-bc363322.system.js +0 -6
- package/dist/calcite/p-c85c2743.system.entry.js +0 -6
- package/dist/calcite/p-cb0581e6.system.entry.js +0 -6
- package/dist/calcite/p-d34e1ff5.js +0 -6
- package/dist/calcite/p-d5488a3e.entry.js +0 -6
- package/dist/calcite/p-db77e732.entry.js +0 -6
- package/dist/calcite/p-f314edb9.entry.js +0 -6
- package/dist/calcite/p-f5c675ea.system.entry.js +0 -6
- package/dist/calcite/p-fa1fe9ce.entry.js +0 -6
- package/dist/calcite/p-fb89ecdf.entry.js +0 -6
- package/dist/components/resources4.js +0 -33
- package/dist/esm-es5/index-0bb6162f.js +0 -7
package/hydrate/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.576
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
|
-
Stencil Mock Doc v2.
|
|
11
|
+
Stencil Mock Doc v2.17.4 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const CONTENT_REF_ID = 'r';
|
|
14
14
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -695,6 +695,25 @@ class MockMouseEvent extends MockEvent {
|
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
|
+
class MockUIEvent extends MockEvent {
|
|
699
|
+
constructor(type, uiEventInitDic) {
|
|
700
|
+
super(type);
|
|
701
|
+
this.detail = null;
|
|
702
|
+
this.view = null;
|
|
703
|
+
if (uiEventInitDic != null) {
|
|
704
|
+
Object.assign(this, uiEventInitDic);
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
class MockFocusEvent extends MockUIEvent {
|
|
709
|
+
constructor(type, focusEventInitDic) {
|
|
710
|
+
super(type);
|
|
711
|
+
this.relatedTarget = null;
|
|
712
|
+
if (focusEventInitDic != null) {
|
|
713
|
+
Object.assign(this, focusEventInitDic);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
698
717
|
class MockEventListener {
|
|
699
718
|
constructor(type, handler) {
|
|
700
719
|
this.type = type;
|
|
@@ -1607,6 +1626,9 @@ class MockElement extends MockNode {
|
|
|
1607
1626
|
this.shadowRoot = shadowRoot;
|
|
1608
1627
|
return shadowRoot;
|
|
1609
1628
|
}
|
|
1629
|
+
blur() {
|
|
1630
|
+
dispatchEvent(this, new MockFocusEvent('blur', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1631
|
+
}
|
|
1610
1632
|
get shadowRoot() {
|
|
1611
1633
|
return this.__shadowRoot || null;
|
|
1612
1634
|
}
|
|
@@ -1675,6 +1697,9 @@ class MockElement extends MockNode {
|
|
|
1675
1697
|
get firstElementChild() {
|
|
1676
1698
|
return this.children[0] || null;
|
|
1677
1699
|
}
|
|
1700
|
+
focus(_options) {
|
|
1701
|
+
dispatchEvent(this, new MockFocusEvent('focus', { relatedTarget: null, bubbles: true, cancelable: true, composed: true }));
|
|
1702
|
+
}
|
|
1678
1703
|
getAttribute(attrName) {
|
|
1679
1704
|
if (attrName === 'style') {
|
|
1680
1705
|
if (this.__style != null && this.__style.length > 0) {
|
|
@@ -2019,6 +2044,9 @@ class MockElement extends MockNode {
|
|
|
2019
2044
|
set title(value) {
|
|
2020
2045
|
this.setAttributeNS(null, 'title', value);
|
|
2021
2046
|
}
|
|
2047
|
+
animate() {
|
|
2048
|
+
/**/
|
|
2049
|
+
}
|
|
2022
2050
|
onanimationstart() {
|
|
2023
2051
|
/**/
|
|
2024
2052
|
}
|
|
@@ -2283,6 +2311,18 @@ class MockElement extends MockNode {
|
|
|
2283
2311
|
onwheel() {
|
|
2284
2312
|
/**/
|
|
2285
2313
|
}
|
|
2314
|
+
requestFullscreen() {
|
|
2315
|
+
/**/
|
|
2316
|
+
}
|
|
2317
|
+
scrollBy() {
|
|
2318
|
+
/**/
|
|
2319
|
+
}
|
|
2320
|
+
scrollTo() {
|
|
2321
|
+
/**/
|
|
2322
|
+
}
|
|
2323
|
+
scrollIntoView() {
|
|
2324
|
+
/**/
|
|
2325
|
+
}
|
|
2286
2326
|
toString(opts) {
|
|
2287
2327
|
return serializeNodeToHtml(this, opts);
|
|
2288
2328
|
}
|
|
@@ -2578,7 +2618,28 @@ function createElementNS(ownerDocument, namespaceURI, tagName) {
|
|
|
2578
2618
|
return createElement(ownerDocument, tagName);
|
|
2579
2619
|
}
|
|
2580
2620
|
else if (namespaceURI === 'http://www.w3.org/2000/svg') {
|
|
2581
|
-
|
|
2621
|
+
switch (tagName.toLowerCase()) {
|
|
2622
|
+
case 'text':
|
|
2623
|
+
case 'tspan':
|
|
2624
|
+
case 'tref':
|
|
2625
|
+
case 'altglyph':
|
|
2626
|
+
case 'textpath':
|
|
2627
|
+
return new MockSVGTextContentElement(ownerDocument, tagName);
|
|
2628
|
+
case 'circle':
|
|
2629
|
+
case 'ellipse':
|
|
2630
|
+
case 'image':
|
|
2631
|
+
case 'line':
|
|
2632
|
+
case 'path':
|
|
2633
|
+
case 'polygon':
|
|
2634
|
+
case 'polyline':
|
|
2635
|
+
case 'rect':
|
|
2636
|
+
case 'use':
|
|
2637
|
+
return new MockSVGGraphicsElement(ownerDocument, tagName);
|
|
2638
|
+
case 'svg':
|
|
2639
|
+
return new MockSVGSVGElement(ownerDocument, tagName);
|
|
2640
|
+
default:
|
|
2641
|
+
return new MockSVGElement(ownerDocument, tagName);
|
|
2642
|
+
}
|
|
2582
2643
|
}
|
|
2583
2644
|
else {
|
|
2584
2645
|
return new MockElement(ownerDocument, tagName);
|
|
@@ -2725,6 +2786,98 @@ class MockScriptElement extends MockHTMLElement {
|
|
|
2725
2786
|
patchPropAttributes(MockScriptElement.prototype, {
|
|
2726
2787
|
type: String,
|
|
2727
2788
|
});
|
|
2789
|
+
class MockDOMMatrix {
|
|
2790
|
+
constructor() {
|
|
2791
|
+
this.a = 1;
|
|
2792
|
+
this.b = 0;
|
|
2793
|
+
this.c = 0;
|
|
2794
|
+
this.d = 1;
|
|
2795
|
+
this.e = 0;
|
|
2796
|
+
this.f = 0;
|
|
2797
|
+
this.m11 = 1;
|
|
2798
|
+
this.m12 = 0;
|
|
2799
|
+
this.m13 = 0;
|
|
2800
|
+
this.m14 = 0;
|
|
2801
|
+
this.m21 = 0;
|
|
2802
|
+
this.m22 = 1;
|
|
2803
|
+
this.m23 = 0;
|
|
2804
|
+
this.m24 = 0;
|
|
2805
|
+
this.m31 = 0;
|
|
2806
|
+
this.m32 = 0;
|
|
2807
|
+
this.m33 = 1;
|
|
2808
|
+
this.m34 = 0;
|
|
2809
|
+
this.m41 = 0;
|
|
2810
|
+
this.m42 = 0;
|
|
2811
|
+
this.m43 = 0;
|
|
2812
|
+
this.m44 = 1;
|
|
2813
|
+
this.is2D = true;
|
|
2814
|
+
this.isIdentity = true;
|
|
2815
|
+
}
|
|
2816
|
+
static fromMatrix() {
|
|
2817
|
+
return new MockDOMMatrix();
|
|
2818
|
+
}
|
|
2819
|
+
inverse() {
|
|
2820
|
+
return new MockDOMMatrix();
|
|
2821
|
+
}
|
|
2822
|
+
flipX() {
|
|
2823
|
+
return new MockDOMMatrix();
|
|
2824
|
+
}
|
|
2825
|
+
flipY() {
|
|
2826
|
+
return new MockDOMMatrix();
|
|
2827
|
+
}
|
|
2828
|
+
multiply() {
|
|
2829
|
+
return new MockDOMMatrix();
|
|
2830
|
+
}
|
|
2831
|
+
rotate() {
|
|
2832
|
+
return new MockDOMMatrix();
|
|
2833
|
+
}
|
|
2834
|
+
rotateAxisAngle() {
|
|
2835
|
+
return new MockDOMMatrix();
|
|
2836
|
+
}
|
|
2837
|
+
rotateFromVector() {
|
|
2838
|
+
return new MockDOMMatrix();
|
|
2839
|
+
}
|
|
2840
|
+
scale() {
|
|
2841
|
+
return new MockDOMMatrix();
|
|
2842
|
+
}
|
|
2843
|
+
scaleNonUniform() {
|
|
2844
|
+
return new MockDOMMatrix();
|
|
2845
|
+
}
|
|
2846
|
+
skewX() {
|
|
2847
|
+
return new MockDOMMatrix();
|
|
2848
|
+
}
|
|
2849
|
+
skewY() {
|
|
2850
|
+
return new MockDOMMatrix();
|
|
2851
|
+
}
|
|
2852
|
+
toJSON() { }
|
|
2853
|
+
toString() { }
|
|
2854
|
+
transformPoint() {
|
|
2855
|
+
return new MockDOMPoint();
|
|
2856
|
+
}
|
|
2857
|
+
translate() {
|
|
2858
|
+
return new MockDOMMatrix();
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
class MockDOMPoint {
|
|
2862
|
+
constructor() {
|
|
2863
|
+
this.w = 1;
|
|
2864
|
+
this.x = 0;
|
|
2865
|
+
this.y = 0;
|
|
2866
|
+
this.z = 0;
|
|
2867
|
+
}
|
|
2868
|
+
toJSON() { }
|
|
2869
|
+
matrixTransform() {
|
|
2870
|
+
return new MockDOMMatrix();
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
class MockSVGRect {
|
|
2874
|
+
constructor() {
|
|
2875
|
+
this.height = 10;
|
|
2876
|
+
this.width = 10;
|
|
2877
|
+
this.x = 0;
|
|
2878
|
+
this.y = 0;
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2728
2881
|
class MockStyleElement extends MockHTMLElement {
|
|
2729
2882
|
constructor(ownerDocument) {
|
|
2730
2883
|
super(ownerDocument, 'style');
|
|
@@ -2757,9 +2910,6 @@ class MockSVGElement extends MockElement {
|
|
|
2757
2910
|
get viewportElement() {
|
|
2758
2911
|
return null;
|
|
2759
2912
|
}
|
|
2760
|
-
focus() {
|
|
2761
|
-
/**/
|
|
2762
|
-
}
|
|
2763
2913
|
onunload() {
|
|
2764
2914
|
/**/
|
|
2765
2915
|
}
|
|
@@ -2777,6 +2927,27 @@ class MockSVGElement extends MockElement {
|
|
|
2777
2927
|
return 0;
|
|
2778
2928
|
}
|
|
2779
2929
|
}
|
|
2930
|
+
class MockSVGGraphicsElement extends MockSVGElement {
|
|
2931
|
+
getBBox(_options) {
|
|
2932
|
+
return new MockSVGRect();
|
|
2933
|
+
}
|
|
2934
|
+
getCTM() {
|
|
2935
|
+
return new MockDOMMatrix();
|
|
2936
|
+
}
|
|
2937
|
+
getScreenCTM() {
|
|
2938
|
+
return new MockDOMMatrix();
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
class MockSVGSVGElement extends MockSVGGraphicsElement {
|
|
2942
|
+
createSVGPoint() {
|
|
2943
|
+
return new MockDOMPoint();
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
class MockSVGTextContentElement extends MockSVGGraphicsElement {
|
|
2947
|
+
getComputedTextLength() {
|
|
2948
|
+
return 0;
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2780
2951
|
class MockBaseElement extends MockHTMLElement {
|
|
2781
2952
|
constructor(ownerDocument) {
|
|
2782
2953
|
super(ownerDocument, 'base');
|
|
@@ -3302,6 +3473,7 @@ const WINDOW_PROPS = [
|
|
|
3302
3473
|
'HTMLElement',
|
|
3303
3474
|
'Node',
|
|
3304
3475
|
'NodeList',
|
|
3476
|
+
'FocusEvent',
|
|
3305
3477
|
'KeyboardEvent',
|
|
3306
3478
|
'MouseEvent',
|
|
3307
3479
|
];
|
|
@@ -3309,6 +3481,7 @@ const GLOBAL_CONSTRUCTORS = [
|
|
|
3309
3481
|
['CustomEvent', MockCustomEvent],
|
|
3310
3482
|
['Event', MockEvent],
|
|
3311
3483
|
['Headers', MockHeaders],
|
|
3484
|
+
['FocusEvent', MockFocusEvent],
|
|
3312
3485
|
['KeyboardEvent', MockKeyboardEvent],
|
|
3313
3486
|
['MouseEvent', MockMouseEvent],
|
|
3314
3487
|
['Request', MockRequest],
|
|
@@ -4760,7 +4933,7 @@ const CSS_UTILITY = {
|
|
|
4760
4933
|
lightTheme,
|
|
4761
4934
|
rtl: "calcite--rtl"
|
|
4762
4935
|
};
|
|
4763
|
-
const TEXT$
|
|
4936
|
+
const TEXT$v = {
|
|
4764
4937
|
loading: "Loading"
|
|
4765
4938
|
};
|
|
4766
4939
|
|
|
@@ -5636,7 +5809,7 @@ class Accordion {
|
|
|
5636
5809
|
//
|
|
5637
5810
|
//--------------------------------------------------------------------------
|
|
5638
5811
|
/** Specifies the appearance of the component. */
|
|
5639
|
-
this.appearance = "
|
|
5812
|
+
this.appearance = "solid";
|
|
5640
5813
|
/** Specifies the placement of the icon in the header. */
|
|
5641
5814
|
this.iconPosition = "end";
|
|
5642
5815
|
/** Specifies the type of the icon in the header. */
|
|
@@ -5671,10 +5844,12 @@ class Accordion {
|
|
|
5671
5844
|
}
|
|
5672
5845
|
}
|
|
5673
5846
|
render() {
|
|
5847
|
+
const transparent = this.appearance === "transparent";
|
|
5848
|
+
const minimal = this.appearance === "minimal";
|
|
5674
5849
|
return (hAsync("div", { class: {
|
|
5675
|
-
"accordion--transparent":
|
|
5676
|
-
"accordion--minimal":
|
|
5677
|
-
accordion:
|
|
5850
|
+
"accordion--transparent": transparent,
|
|
5851
|
+
"accordion--minimal": minimal,
|
|
5852
|
+
accordion: !transparent && !minimal
|
|
5678
5853
|
} }, hAsync("slot", null)));
|
|
5679
5854
|
}
|
|
5680
5855
|
//--------------------------------------------------------------------------
|
|
@@ -6007,11 +6182,11 @@ function processMutations$1(mutations) {
|
|
|
6007
6182
|
});
|
|
6008
6183
|
}
|
|
6009
6184
|
|
|
6010
|
-
const SLOTS$
|
|
6185
|
+
const SLOTS$t = {
|
|
6011
6186
|
actionsStart: "actions-start",
|
|
6012
6187
|
actionsEnd: "actions-end"
|
|
6013
6188
|
};
|
|
6014
|
-
const CSS$
|
|
6189
|
+
const CSS$T = {
|
|
6015
6190
|
icon: "icon",
|
|
6016
6191
|
header: "header",
|
|
6017
6192
|
headerContent: "header-content",
|
|
@@ -6094,25 +6269,25 @@ class AccordionItem {
|
|
|
6094
6269
|
// --------------------------------------------------------------------------
|
|
6095
6270
|
renderActionsStart() {
|
|
6096
6271
|
const { el } = this;
|
|
6097
|
-
return getSlotted(el, SLOTS$
|
|
6272
|
+
return getSlotted(el, SLOTS$t.actionsStart) ? (hAsync("div", { class: CSS$T.actionsStart }, hAsync("slot", { name: SLOTS$t.actionsStart }))) : null;
|
|
6098
6273
|
}
|
|
6099
6274
|
renderActionsEnd() {
|
|
6100
6275
|
const { el } = this;
|
|
6101
|
-
return getSlotted(el, SLOTS$
|
|
6276
|
+
return getSlotted(el, SLOTS$t.actionsEnd) ? (hAsync("div", { class: CSS$T.actionsEnd }, hAsync("slot", { name: SLOTS$t.actionsEnd }))) : null;
|
|
6102
6277
|
}
|
|
6103
6278
|
render() {
|
|
6104
6279
|
const dir = getElementDir(this.el);
|
|
6105
|
-
const iconEl = hAsync("calcite-icon", { class: CSS$
|
|
6280
|
+
const iconEl = hAsync("calcite-icon", { class: CSS$T.icon, icon: this.icon, scale: "s" });
|
|
6106
6281
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6107
6282
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6108
6283
|
[`icon-type--${this.iconType}`]: true
|
|
6109
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6284
|
+
} }, hAsync("div", { class: { [CSS$T.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$T.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, hAsync("div", { class: CSS$T.headerText }, hAsync("span", { class: CSS$T.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (hAsync("span", { class: CSS$T.description }, this.description || this.itemSubtitle)) : null), hAsync("calcite-icon", { class: CSS$T.expandIcon, icon: this.iconType === "chevron"
|
|
6110
6285
|
? "chevronDown"
|
|
6111
6286
|
: this.iconType === "caret"
|
|
6112
6287
|
? "caretDown"
|
|
6113
6288
|
: this.expanded || this.active
|
|
6114
6289
|
? "minus"
|
|
6115
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6290
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$T.content }, hAsync("slot", null)))));
|
|
6116
6291
|
}
|
|
6117
6292
|
//--------------------------------------------------------------------------
|
|
6118
6293
|
//
|
|
@@ -6201,7 +6376,7 @@ class AccordionItem {
|
|
|
6201
6376
|
}; }
|
|
6202
6377
|
}
|
|
6203
6378
|
|
|
6204
|
-
const CSS$
|
|
6379
|
+
const CSS$S = {
|
|
6205
6380
|
button: "button",
|
|
6206
6381
|
buttonTextVisible: "button--text-visible",
|
|
6207
6382
|
buttonCompact: "button--compact",
|
|
@@ -6211,7 +6386,7 @@ const CSS$R = {
|
|
|
6211
6386
|
textContainer: "text-container",
|
|
6212
6387
|
textContainerVisible: "text-container--visible"
|
|
6213
6388
|
};
|
|
6214
|
-
const TEXT$
|
|
6389
|
+
const TEXT$u = {
|
|
6215
6390
|
loading: "Loading"
|
|
6216
6391
|
};
|
|
6217
6392
|
|
|
@@ -6255,7 +6430,7 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
6255
6430
|
component.el.removeAttribute("aria-disabled");
|
|
6256
6431
|
}
|
|
6257
6432
|
|
|
6258
|
-
const actionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible, \n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([scale=s][compact]) .button, \n:host([scale=m][compact]) .button, \n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:-ms-flexbox;display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button, \n:host([active]) .button:hover, \n:host([active]) .button:focus, \n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]) .button*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=clear]) .button:hover, \n:host([appearance=clear]) .button:focus*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=clear]) .button, \n:host([active][appearance=clear]) .button:hover, \n:host([active][appearance=clear]) .button:focus*/[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][loading]) .button, \n:host([appearance=clear][disabled]) .button*/[appearance=clear][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=clear][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button, \n:host([loading]) .button:hover, \n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container, \n:host([loading]) .button:hover .text-container, \n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}/*!@:host([disabled]) .button, \n:host([disabled]) .button:hover, \n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button, \n:host([disabled][active]) .button:hover, \n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}";
|
|
6433
|
+
const actionCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:-ms-flexbox;display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible, \n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([scale=s][compact]) .button, \n:host([scale=m][compact]) .button, \n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:-ms-flexbox;display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button, \n:host([active]) .button:hover, \n:host([active]) .button:focus, \n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]) .button, \n:host([appearance=transparent]) .button*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=clear]) .button:hover, \n:host([appearance=clear]) .button:focus, \n:host([appearance=transparent]) .button:hover, \n:host([appearance=transparent]) .button:focus*/[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=clear]) .button, \n:host([active][appearance=clear]) .button:hover, \n:host([active][appearance=clear]) .button:focus, \n:host([active][appearance=transparent]) .button, \n:host([active][appearance=transparent]) .button:hover, \n:host([active][appearance=transparent]) .button:focus*/[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=clear].sc-calcite-action-h .button.sc-calcite-action:focus,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][loading]) .button, \n:host([appearance=clear][disabled]) .button, \n:host([appearance=transparent][loading]) .button, \n:host([appearance=transparent][disabled]) .button*/[appearance=clear][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=clear][disabled].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button, \n:host([loading]) .button:hover, \n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container, \n:host([loading]) .button:hover .text-container, \n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}/*!@:host([disabled]) .button, \n:host([disabled]) .button:hover, \n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button, \n:host([disabled][active]) .button:hover, \n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{-webkit-margin-end:1rem;margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}";
|
|
6259
6434
|
|
|
6260
6435
|
/**
|
|
6261
6436
|
* @slot - A slot for adding a `calcite-icon`.
|
|
@@ -6292,7 +6467,7 @@ class Action {
|
|
|
6292
6467
|
*
|
|
6293
6468
|
* @default "Loading"
|
|
6294
6469
|
*/
|
|
6295
|
-
this.intlLoading = TEXT$
|
|
6470
|
+
this.intlLoading = TEXT$u.loading;
|
|
6296
6471
|
/**
|
|
6297
6472
|
* When true, a busy indicator is displayed.
|
|
6298
6473
|
*/
|
|
@@ -6351,8 +6526,8 @@ class Action {
|
|
|
6351
6526
|
renderTextContainer() {
|
|
6352
6527
|
const { text, textEnabled } = this;
|
|
6353
6528
|
const textContainerClasses = {
|
|
6354
|
-
[CSS$
|
|
6355
|
-
[CSS$
|
|
6529
|
+
[CSS$S.textContainer]: true,
|
|
6530
|
+
[CSS$S.textContainerVisible]: textEnabled
|
|
6356
6531
|
};
|
|
6357
6532
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6358
6533
|
}
|
|
@@ -6366,18 +6541,18 @@ class Action {
|
|
|
6366
6541
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6367
6542
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
6368
6543
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6369
|
-
[CSS$
|
|
6370
|
-
[CSS$
|
|
6544
|
+
[CSS$S.slotContainer]: true,
|
|
6545
|
+
[CSS$S.slotContainerHidden]: loading
|
|
6371
6546
|
} }, hAsync("slot", null)));
|
|
6372
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
6547
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$S.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
6373
6548
|
}
|
|
6374
6549
|
render() {
|
|
6375
6550
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6376
6551
|
const ariaLabel = label || text;
|
|
6377
6552
|
const buttonClasses = {
|
|
6378
|
-
[CSS$
|
|
6379
|
-
[CSS$
|
|
6380
|
-
[CSS$
|
|
6553
|
+
[CSS$S.button]: true,
|
|
6554
|
+
[CSS$S.buttonTextVisible]: textEnabled,
|
|
6555
|
+
[CSS$S.buttonCompact]: compact
|
|
6381
6556
|
};
|
|
6382
6557
|
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
6383
6558
|
}
|
|
@@ -6408,26 +6583,26 @@ class Action {
|
|
|
6408
6583
|
}; }
|
|
6409
6584
|
}
|
|
6410
6585
|
|
|
6411
|
-
const CSS$
|
|
6586
|
+
const CSS$R = {
|
|
6412
6587
|
menu: "menu",
|
|
6413
6588
|
defaultTrigger: "default-trigger"
|
|
6414
6589
|
};
|
|
6415
|
-
const SLOTS$
|
|
6590
|
+
const SLOTS$s = {
|
|
6416
6591
|
tooltip: "tooltip",
|
|
6417
6592
|
trigger: "trigger"
|
|
6418
6593
|
};
|
|
6419
|
-
const ICONS$
|
|
6594
|
+
const ICONS$g = {
|
|
6420
6595
|
menu: "ellipsis"
|
|
6421
6596
|
};
|
|
6422
6597
|
|
|
6423
|
-
const SLOTS$
|
|
6598
|
+
const SLOTS$r = {
|
|
6424
6599
|
menuActions: "menu-actions",
|
|
6425
6600
|
menuTooltip: "menu-tooltip"
|
|
6426
6601
|
};
|
|
6427
|
-
const TEXT$
|
|
6602
|
+
const TEXT$t = {
|
|
6428
6603
|
more: "More"
|
|
6429
6604
|
};
|
|
6430
|
-
const ICONS$
|
|
6605
|
+
const ICONS$f = {
|
|
6431
6606
|
menu: "ellipsis"
|
|
6432
6607
|
};
|
|
6433
6608
|
|
|
@@ -6450,7 +6625,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
|
|
|
6450
6625
|
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
6451
6626
|
};
|
|
6452
6627
|
const queryActions = (el) => {
|
|
6453
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$
|
|
6628
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$s.trigger : true);
|
|
6454
6629
|
};
|
|
6455
6630
|
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
6456
6631
|
let needToSlotCount = overflowCount;
|
|
@@ -6458,7 +6633,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6458
6633
|
let slottedWithinGroupCount = 0;
|
|
6459
6634
|
const groupActions = queryActions(group).reverse();
|
|
6460
6635
|
groupActions.forEach((groupAction) => {
|
|
6461
|
-
if (groupAction.slot === SLOTS$
|
|
6636
|
+
if (groupAction.slot === SLOTS$r.menuActions) {
|
|
6462
6637
|
groupAction.removeAttribute("slot");
|
|
6463
6638
|
groupAction.textEnabled = expanded;
|
|
6464
6639
|
}
|
|
@@ -6468,7 +6643,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6468
6643
|
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
6469
6644
|
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
6470
6645
|
groupAction.textEnabled = true;
|
|
6471
|
-
groupAction.setAttribute("slot", SLOTS$
|
|
6646
|
+
groupAction.setAttribute("slot", SLOTS$r.menuActions);
|
|
6472
6647
|
slottedWithinGroupCount++;
|
|
6473
6648
|
if (slottedWithinGroupCount > 1) {
|
|
6474
6649
|
needToSlotCount--;
|
|
@@ -6481,7 +6656,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
6481
6656
|
});
|
|
6482
6657
|
};
|
|
6483
6658
|
|
|
6484
|
-
const ICONS$
|
|
6659
|
+
const ICONS$e = {
|
|
6485
6660
|
chevronsLeft: "chevrons-left",
|
|
6486
6661
|
chevronsRight: "chevrons-right"
|
|
6487
6662
|
};
|
|
@@ -6491,7 +6666,7 @@ function getCalcitePosition(position, el) {
|
|
|
6491
6666
|
}
|
|
6492
6667
|
function toggleChildActionText({ parent, expanded }) {
|
|
6493
6668
|
queryActions(parent)
|
|
6494
|
-
.filter((el) => el.slot !== SLOTS$
|
|
6669
|
+
.filter((el) => el.slot !== SLOTS$r.menuActions)
|
|
6495
6670
|
.forEach((action) => (action.textEnabled = expanded));
|
|
6496
6671
|
parent
|
|
6497
6672
|
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
@@ -6509,7 +6684,7 @@ const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
|
6509
6684
|
const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
6510
6685
|
const rtl = getElementDir(el) === "rtl";
|
|
6511
6686
|
const expandText = expanded ? intlCollapse : intlExpand;
|
|
6512
|
-
const icons = [ICONS$
|
|
6687
|
+
const icons = [ICONS$e.chevronsLeft, ICONS$e.chevronsRight];
|
|
6513
6688
|
if (rtl) {
|
|
6514
6689
|
icons.reverse();
|
|
6515
6690
|
}
|
|
@@ -6520,14 +6695,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6520
6695
|
return actionNode;
|
|
6521
6696
|
};
|
|
6522
6697
|
|
|
6523
|
-
const CSS$
|
|
6698
|
+
const CSS$Q = {
|
|
6524
6699
|
actionGroupBottom: "action-group--bottom"
|
|
6525
6700
|
};
|
|
6526
|
-
const SLOTS$
|
|
6701
|
+
const SLOTS$q = {
|
|
6527
6702
|
bottomActions: "bottom-actions",
|
|
6528
6703
|
expandTooltip: "expand-tooltip"
|
|
6529
6704
|
};
|
|
6530
|
-
const TEXT$
|
|
6705
|
+
const TEXT$s = {
|
|
6531
6706
|
expand: "Expand",
|
|
6532
6707
|
collapse: "Collapse"
|
|
6533
6708
|
};
|
|
@@ -7859,7 +8034,7 @@ class ActionBar {
|
|
|
7859
8034
|
const actions = queryActions(el);
|
|
7860
8035
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
7861
8036
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
7862
|
-
const groupCount = getSlotted(el, SLOTS$
|
|
8037
|
+
const groupCount = getSlotted(el, SLOTS$q.bottomActions) || !expandDisabled
|
|
7863
8038
|
? actionGroups.length + 1
|
|
7864
8039
|
: actionGroups.length;
|
|
7865
8040
|
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
@@ -7961,11 +8136,11 @@ class ActionBar {
|
|
|
7961
8136
|
// --------------------------------------------------------------------------
|
|
7962
8137
|
renderBottomActionGroup() {
|
|
7963
8138
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
7964
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
7965
|
-
const expandLabel = intlExpand || TEXT$
|
|
7966
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
8139
|
+
const tooltip = getSlotted(el, SLOTS$q.expandTooltip);
|
|
8140
|
+
const expandLabel = intlExpand || TEXT$s.expand;
|
|
8141
|
+
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
7967
8142
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
7968
|
-
return getSlotted(el, SLOTS$
|
|
8143
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$Q.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
7969
8144
|
}
|
|
7970
8145
|
render() {
|
|
7971
8146
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8055,13 +8230,13 @@ class ActionGroup {
|
|
|
8055
8230
|
// --------------------------------------------------------------------------
|
|
8056
8231
|
renderTooltip() {
|
|
8057
8232
|
const { el } = this;
|
|
8058
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
8059
|
-
return hasTooltip ? hAsync("slot", { name: SLOTS$
|
|
8233
|
+
const hasTooltip = getSlotted(el, SLOTS$r.menuTooltip);
|
|
8234
|
+
return hasTooltip ? hAsync("slot", { name: SLOTS$r.menuTooltip, slot: SLOTS$s.tooltip }) : null;
|
|
8060
8235
|
}
|
|
8061
8236
|
renderMenu() {
|
|
8062
8237
|
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
8063
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
8064
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
8238
|
+
const hasMenuItems = getSlotted(el, SLOTS$r.menuActions);
|
|
8239
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$t.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$f.menu, scale: scale, slot: SLOTS$s.trigger, text: intlMore || TEXT$t.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$r.menuActions }), this.renderTooltip())) : null;
|
|
8065
8240
|
}
|
|
8066
8241
|
render() {
|
|
8067
8242
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -8355,17 +8530,17 @@ class ActionMenu {
|
|
|
8355
8530
|
}
|
|
8356
8531
|
renderMenuButton() {
|
|
8357
8532
|
const { label, scale, expanded } = this;
|
|
8358
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$
|
|
8533
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$R.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8359
8534
|
return menuButtonSlot;
|
|
8360
8535
|
}
|
|
8361
8536
|
renderMenuItems() {
|
|
8362
8537
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8363
8538
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8364
8539
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
8365
|
-
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
8540
|
+
return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$R.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
8366
8541
|
}
|
|
8367
8542
|
render() {
|
|
8368
|
-
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$
|
|
8543
|
+
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
8369
8544
|
}
|
|
8370
8545
|
isValidKey(key, supportedKeys) {
|
|
8371
8546
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -8398,15 +8573,15 @@ class ActionMenu {
|
|
|
8398
8573
|
}; }
|
|
8399
8574
|
}
|
|
8400
8575
|
|
|
8401
|
-
const CSS$
|
|
8576
|
+
const CSS$P = {
|
|
8402
8577
|
actionGroupBottom: "action-group--bottom",
|
|
8403
8578
|
container: "container"
|
|
8404
8579
|
};
|
|
8405
|
-
const TEXT$
|
|
8580
|
+
const TEXT$r = {
|
|
8406
8581
|
expand: "Expand",
|
|
8407
8582
|
collapse: "Collapse"
|
|
8408
8583
|
};
|
|
8409
|
-
const SLOTS$
|
|
8584
|
+
const SLOTS$p = {
|
|
8410
8585
|
expandTooltip: "expand-tooltip"
|
|
8411
8586
|
};
|
|
8412
8587
|
|
|
@@ -8503,14 +8678,14 @@ class ActionPad {
|
|
|
8503
8678
|
// --------------------------------------------------------------------------
|
|
8504
8679
|
renderBottomActionGroup() {
|
|
8505
8680
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
8506
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
8507
|
-
const expandLabel = intlExpand || TEXT$
|
|
8508
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
8681
|
+
const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
|
|
8682
|
+
const expandLabel = intlExpand || TEXT$r.expand;
|
|
8683
|
+
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
8509
8684
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8510
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8685
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$P.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
8511
8686
|
}
|
|
8512
8687
|
render() {
|
|
8513
|
-
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$
|
|
8688
|
+
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$P.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8514
8689
|
}
|
|
8515
8690
|
get el() { return getElement(this); }
|
|
8516
8691
|
static get watchers() { return {
|
|
@@ -8536,7 +8711,7 @@ class ActionPad {
|
|
|
8536
8711
|
}; }
|
|
8537
8712
|
}
|
|
8538
8713
|
|
|
8539
|
-
const TEXT$
|
|
8714
|
+
const TEXT$q = {
|
|
8540
8715
|
intlClose: "Close"
|
|
8541
8716
|
};
|
|
8542
8717
|
const DURATIONS = {
|
|
@@ -8544,7 +8719,7 @@ const DURATIONS = {
|
|
|
8544
8719
|
medium: 10000,
|
|
8545
8720
|
fast: 6000
|
|
8546
8721
|
};
|
|
8547
|
-
const SLOTS$
|
|
8722
|
+
const SLOTS$o = {
|
|
8548
8723
|
title: "title",
|
|
8549
8724
|
message: "message",
|
|
8550
8725
|
link: "link"
|
|
@@ -8647,7 +8822,7 @@ class Alert {
|
|
|
8647
8822
|
*
|
|
8648
8823
|
* @default "Close"
|
|
8649
8824
|
*/
|
|
8650
|
-
this.intlClose = TEXT$
|
|
8825
|
+
this.intlClose = TEXT$q.intlClose;
|
|
8651
8826
|
/** Specifies the placement of the component */
|
|
8652
8827
|
this.placement = "bottom";
|
|
8653
8828
|
/** Specifies the size of the component. */
|
|
@@ -8740,7 +8915,7 @@ class Alert {
|
|
|
8740
8915
|
container: true,
|
|
8741
8916
|
queued,
|
|
8742
8917
|
[placement]: true
|
|
8743
|
-
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$
|
|
8918
|
+
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
8744
8919
|
}
|
|
8745
8920
|
// when an alert is opened or closed, update queue and determine active alert
|
|
8746
8921
|
alertSync(event) {
|
|
@@ -9103,7 +9278,7 @@ class Avatar {
|
|
|
9103
9278
|
}; }
|
|
9104
9279
|
}
|
|
9105
9280
|
|
|
9106
|
-
const CSS$
|
|
9281
|
+
const CSS$O = {
|
|
9107
9282
|
article: "article",
|
|
9108
9283
|
content: "content",
|
|
9109
9284
|
headerContainer: "header-container",
|
|
@@ -9122,18 +9297,18 @@ const CSS$N = {
|
|
|
9122
9297
|
invalid: "invalid",
|
|
9123
9298
|
loading: "loading"
|
|
9124
9299
|
};
|
|
9125
|
-
const TEXT$
|
|
9300
|
+
const TEXT$p = {
|
|
9126
9301
|
collapse: "Collapse",
|
|
9127
9302
|
expand: "Expand",
|
|
9128
9303
|
loading: "Loading",
|
|
9129
9304
|
options: "Options"
|
|
9130
9305
|
};
|
|
9131
|
-
const SLOTS$
|
|
9306
|
+
const SLOTS$n = {
|
|
9132
9307
|
icon: "icon",
|
|
9133
9308
|
control: "control",
|
|
9134
9309
|
headerMenuActions: "header-menu-actions"
|
|
9135
9310
|
};
|
|
9136
|
-
const ICONS$
|
|
9311
|
+
const ICONS$d = {
|
|
9137
9312
|
opened: "chevron-up",
|
|
9138
9313
|
closed: "chevron-down",
|
|
9139
9314
|
valid: "check-circle",
|
|
@@ -9185,25 +9360,25 @@ class Block {
|
|
|
9185
9360
|
*
|
|
9186
9361
|
* @default "Collapse"
|
|
9187
9362
|
*/
|
|
9188
|
-
this.intlCollapse = TEXT$
|
|
9363
|
+
this.intlCollapse = TEXT$p.collapse;
|
|
9189
9364
|
/**
|
|
9190
9365
|
* Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
|
|
9191
9366
|
*
|
|
9192
9367
|
* @default "Expand"
|
|
9193
9368
|
*/
|
|
9194
|
-
this.intlExpand = TEXT$
|
|
9369
|
+
this.intlExpand = TEXT$p.expand;
|
|
9195
9370
|
/**
|
|
9196
9371
|
* string to override English loading text
|
|
9197
9372
|
*
|
|
9198
9373
|
* @default "Loading"
|
|
9199
9374
|
*/
|
|
9200
|
-
this.intlLoading = TEXT$
|
|
9375
|
+
this.intlLoading = TEXT$p.loading;
|
|
9201
9376
|
/**
|
|
9202
9377
|
* Text string used for the actions menu
|
|
9203
9378
|
*
|
|
9204
9379
|
* @default "Options"
|
|
9205
9380
|
*/
|
|
9206
|
-
this.intlOptions = TEXT$
|
|
9381
|
+
this.intlOptions = TEXT$p.options;
|
|
9207
9382
|
/**
|
|
9208
9383
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
9209
9384
|
*/
|
|
@@ -9261,33 +9436,33 @@ class Block {
|
|
|
9261
9436
|
renderIcon() {
|
|
9262
9437
|
const { el, status } = this;
|
|
9263
9438
|
const showingLoadingStatus = this.loading && !this.open;
|
|
9264
|
-
const statusIcon = showingLoadingStatus ? ICONS$
|
|
9265
|
-
const hasIcon = getSlotted(el, SLOTS$
|
|
9266
|
-
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$
|
|
9267
|
-
[CSS$
|
|
9268
|
-
[CSS$
|
|
9269
|
-
[CSS$
|
|
9270
|
-
[CSS$
|
|
9439
|
+
const statusIcon = showingLoadingStatus ? ICONS$d.refresh : ICONS$d[status];
|
|
9440
|
+
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
9441
|
+
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
9442
|
+
[CSS$O.statusIcon]: true,
|
|
9443
|
+
[CSS$O.valid]: status == "valid",
|
|
9444
|
+
[CSS$O.invalid]: status == "invalid",
|
|
9445
|
+
[CSS$O.loading]: showingLoadingStatus
|
|
9271
9446
|
}, icon: statusIcon, scale: "m" }));
|
|
9272
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9447
|
+
return hasIcon ? hAsync("div", { class: CSS$O.icon }, iconEl) : null;
|
|
9273
9448
|
}
|
|
9274
9449
|
renderTitle() {
|
|
9275
9450
|
const { heading, headingLevel, summary, description } = this;
|
|
9276
|
-
return heading || summary || description ? (hAsync("div", { class: CSS$
|
|
9451
|
+
return heading || summary || description ? (hAsync("div", { class: CSS$O.title }, hAsync(Heading, { class: CSS$O.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$O.description }, summary || description)) : null)) : null;
|
|
9277
9452
|
}
|
|
9278
9453
|
render() {
|
|
9279
9454
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9280
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
9281
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9282
|
-
const hasControl = !!getSlotted(el, SLOTS$
|
|
9283
|
-
const hasMenuActions = !!getSlotted(el, SLOTS$
|
|
9284
|
-
const collapseIcon = open ? ICONS$
|
|
9455
|
+
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
9456
|
+
const headerContent = (hAsync("header", { class: CSS$O.header }, this.renderIcon(), this.renderTitle()));
|
|
9457
|
+
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
9458
|
+
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
9459
|
+
const collapseIcon = open ? ICONS$d.opened : ICONS$d.closed;
|
|
9285
9460
|
const { guid } = this;
|
|
9286
9461
|
const regionId = `${guid}-region`;
|
|
9287
9462
|
const buttonId = `${guid}-button`;
|
|
9288
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
9463
|
+
const headerNode = (hAsync("div", { class: CSS$O.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$O.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$O.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$O.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
9289
9464
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9290
|
-
[CSS$
|
|
9465
|
+
[CSS$O.article]: true
|
|
9291
9466
|
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
9292
9467
|
content: true,
|
|
9293
9468
|
"content--spaced": !this.disablePadding
|
|
@@ -9321,7 +9496,7 @@ class Block {
|
|
|
9321
9496
|
}; }
|
|
9322
9497
|
}
|
|
9323
9498
|
|
|
9324
|
-
const CSS$
|
|
9499
|
+
const CSS$N = {
|
|
9325
9500
|
content: "content",
|
|
9326
9501
|
invalid: "invalid",
|
|
9327
9502
|
toggle: "toggle",
|
|
@@ -9333,11 +9508,11 @@ const CSS$M = {
|
|
|
9333
9508
|
statusIcon: "status-icon",
|
|
9334
9509
|
valid: "valid"
|
|
9335
9510
|
};
|
|
9336
|
-
const TEXT$
|
|
9511
|
+
const TEXT$o = {
|
|
9337
9512
|
collapse: "Collapse",
|
|
9338
9513
|
expand: "Expand"
|
|
9339
9514
|
};
|
|
9340
|
-
const ICONS$
|
|
9515
|
+
const ICONS$c = {
|
|
9341
9516
|
menuOpen: "chevron-down",
|
|
9342
9517
|
menuClosedLeft: "chevron-left",
|
|
9343
9518
|
menuClosedRight: "chevron-right",
|
|
@@ -9390,11 +9565,11 @@ class BlockSection {
|
|
|
9390
9565
|
renderStatusIcon() {
|
|
9391
9566
|
var _a;
|
|
9392
9567
|
const { status } = this;
|
|
9393
|
-
const statusIcon = (_a = ICONS$
|
|
9568
|
+
const statusIcon = (_a = ICONS$c[status]) !== null && _a !== void 0 ? _a : false;
|
|
9394
9569
|
const statusIconClasses = {
|
|
9395
|
-
[CSS$
|
|
9396
|
-
[CSS$
|
|
9397
|
-
[CSS$
|
|
9570
|
+
[CSS$N.statusIcon]: true,
|
|
9571
|
+
[CSS$N.valid]: status == "valid",
|
|
9572
|
+
[CSS$N.invalid]: status == "invalid"
|
|
9398
9573
|
};
|
|
9399
9574
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9400
9575
|
}
|
|
@@ -9402,22 +9577,22 @@ class BlockSection {
|
|
|
9402
9577
|
const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
|
|
9403
9578
|
const dir = getElementDir(el);
|
|
9404
9579
|
const arrowIcon = open
|
|
9405
|
-
? ICONS$
|
|
9580
|
+
? ICONS$c.menuOpen
|
|
9406
9581
|
: dir === "rtl"
|
|
9407
|
-
? ICONS$
|
|
9408
|
-
: ICONS$
|
|
9409
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
9582
|
+
? ICONS$c.menuClosedLeft
|
|
9583
|
+
: ICONS$c.menuClosedRight;
|
|
9584
|
+
const toggleLabel = open ? intlCollapse || TEXT$o.collapse : intlExpand || TEXT$o.expand;
|
|
9410
9585
|
const { guid } = this;
|
|
9411
9586
|
const regionId = `${guid}-region`;
|
|
9412
9587
|
const buttonId = `${guid}-button`;
|
|
9413
9588
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9414
|
-
[CSS$
|
|
9415
|
-
[CSS$
|
|
9416
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9417
|
-
[CSS$
|
|
9418
|
-
[CSS$
|
|
9419
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9420
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9589
|
+
[CSS$N.toggle]: true,
|
|
9590
|
+
[CSS$N.toggleSwitch]: true
|
|
9591
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$N.toggleSwitchContent }, hAsync("span", { class: CSS$N.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9592
|
+
[CSS$N.sectionHeader]: true,
|
|
9593
|
+
[CSS$N.toggle]: true
|
|
9594
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$N.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9595
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$N.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9421
9596
|
}
|
|
9422
9597
|
get el() { return getElement(this); }
|
|
9423
9598
|
static get style() { return blockSectionCss; }
|
|
@@ -9466,7 +9641,7 @@ class BlockSection {
|
|
|
9466
9641
|
}
|
|
9467
9642
|
})(HTMLFormElement.prototype);
|
|
9468
9643
|
|
|
9469
|
-
const CSS$
|
|
9644
|
+
const CSS$M = {
|
|
9470
9645
|
buttonLoader: "calcite-button--loader",
|
|
9471
9646
|
content: "content",
|
|
9472
9647
|
contentSlotted: "content--slotted",
|
|
@@ -9478,7 +9653,7 @@ const CSS$L = {
|
|
|
9478
9653
|
iconStartEmpty: "icon-start-empty",
|
|
9479
9654
|
iconEndEmpty: "icon-end-empty"
|
|
9480
9655
|
};
|
|
9481
|
-
const TEXT$
|
|
9656
|
+
const TEXT$n = {
|
|
9482
9657
|
loading: "Loading"
|
|
9483
9658
|
};
|
|
9484
9659
|
|
|
@@ -9814,7 +9989,7 @@ const HiddenFormInputSlot = ({ component }) => {
|
|
|
9814
9989
|
return hAsync("slot", { name: hiddenFormInputSlotName });
|
|
9815
9990
|
};
|
|
9816
9991
|
|
|
9817
|
-
const buttonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button, \n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus, \n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}/*!@:host button:hover, \n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{-webkit-text-decoration-line:none;text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-start:unset;margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-end:unset;margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a, \n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a, \n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:start;justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a, \n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a, \n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:justify;justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button, \n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:-ms-flexbox;display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}/*!@:host([loading]) button:not(.content--slotted) .icon--start, \n:host([loading]) button:not(.content--slotted) .icon--end, \n:host([loading]) a:not(.content--slotted) .icon--start, \n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance=solid]) button, \n:host([appearance=solid]) a*/[appearance=solid].sc-calcite-button-h button.sc-calcite-button,[appearance=solid].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([appearance=solid][color=blue]) button, \n:host([appearance=solid][color=blue]) a*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=blue]) button:hover, :host([appearance=solid][color=blue]) button:focus, \n:host([appearance=solid][color=blue]) a:hover, \n:host([appearance=solid][color=blue]) a:focus*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=solid][color=blue]) button:active, \n:host([appearance=solid][color=blue]) a:active*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([appearance=solid][color=blue]) button calcite-loader, \n:host([appearance=solid][color=blue]) a calcite-loader*/[appearance=solid][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=red]) button, \n:host([appearance=solid][color=red]) a*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=red]) button:hover, :host([appearance=solid][color=red]) button:focus, \n:host([appearance=solid][color=red]) a:hover, \n:host([appearance=solid][color=red]) a:focus*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=solid][color=red]) button:active, \n:host([appearance=solid][color=red]) a:active*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([appearance=solid][color=red]) button calcite-loader, \n:host([appearance=solid][color=red]) a calcite-loader*/[appearance=solid][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=solid][color=neutral]) button, \n:host([appearance=solid][color=neutral]) a*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([appearance=solid][color=neutral]) button:hover, :host([appearance=solid][color=neutral]) button:focus, \n:host([appearance=solid][color=neutral]) a:hover, \n:host([appearance=solid][color=neutral]) a:focus*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([appearance=solid][color=neutral]) button:active, \n:host([appearance=solid][color=neutral]) a:active*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid][color=neutral]) button calcite-loader, \n:host([appearance=solid][color=neutral]) a calcite-loader*/[appearance=solid][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=solid][color=inverse]) button, \n:host([appearance=solid][color=inverse]) a*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([appearance=solid][color=inverse]) button:hover, :host([appearance=solid][color=inverse]) button:focus,\n:host([appearance=solid][color=inverse]) a:hover,\n:host([appearance=solid][color=inverse]) a:focus*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([appearance=solid][color=inverse]) button:active,\n:host([appearance=solid][color=inverse]) a:active*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([appearance=solid][color=inverse]) button calcite-loader, \n:host([appearance=solid][color=inverse]) a calcite-loader*/[appearance=solid][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=solid][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline]) button, \n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][color=blue]) button, \n:host([appearance=outline][color=blue]) a*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:hover, \n:host([appearance=outline][color=blue]) a:hover*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][color=blue]) button:focus, \n:host([appearance=outline][color=blue]) a:focus*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:active, \n:host([appearance=outline][color=blue]) a:active*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][color=blue]) button calcite-loader,\n:host([appearance=outline][color=blue]) a calcite-loader*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=red]) button, \n:host([appearance=outline][color=red]) a*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:hover, \n:host([appearance=outline][color=red]) a:hover*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][color=red]) button:focus, \n:host([appearance=outline][color=red]) a:focus*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:active, \n:host([appearance=outline][color=red]) a:active*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][color=red]) button calcite-loader,\n:host([appearance=outline][color=red]) a calcite-loader*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=neutral]) button, \n:host([appearance=outline][color=neutral]) a*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:hover,\n:host([appearance=outline][color=neutral]) a:hover*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:focus,\n:host([appearance=outline][color=neutral]) a:focus*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:active,\n:host([appearance=outline][color=neutral]) a:active*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button calcite-loader, \n:host([appearance=outline][color=neutral]) a calcite-loader*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][color=inverse]) button, \n:host([appearance=outline][color=inverse]) a*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:hover,\n:host([appearance=outline][color=inverse]) a:hover*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][color=inverse]) button:focus,\n:host([appearance=outline][color=inverse]) a:focus*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:active,\n:host([appearance=outline][color=inverse]) a:active*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][color=inverse]) button calcite-loader, \n:host([appearance=outline][color=inverse]) a calcite-loader*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear]) button, \n:host([appearance=clear]) a*/[appearance=clear].sc-calcite-button-h button.sc-calcite-button,[appearance=clear].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=clear][color=blue]) button, \n:host([appearance=clear][color=blue]) a*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:hover, \n:host([appearance=clear][color=blue]) a:hover*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=clear][color=blue]) button:focus, \n:host([appearance=clear][color=blue]) a:focus*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:active, \n:host([appearance=clear][color=blue]) a:active*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=clear][color=blue]) button calcite-loader,\n:host([appearance=clear][color=blue]) a calcite-loader*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=red]) button, \n:host([appearance=clear][color=red]) a*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:hover, \n:host([appearance=clear][color=red]) a:hover*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=clear][color=red]) button:focus, \n:host([appearance=clear][color=red]) a:focus*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:active, \n:host([appearance=clear][color=red]) a:active*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=clear][color=red]) button calcite-loader,\n:host([appearance=clear][color=red]) a calcite-loader*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=neutral]) button, \n:host([appearance=clear][color=neutral]) a*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:hover,\n:host([appearance=clear][color=neutral]) a:hover*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:focus,\n:host([appearance=clear][color=neutral]) a:focus*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:active,\n:host([appearance=clear][color=neutral]) a:active*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button calcite-loader, \n:host([appearance=clear][color=neutral]) a calcite-loader*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][color=inverse]) button, \n:host([appearance=clear][color=inverse]) a*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:hover,\n:host([appearance=clear][color=inverse]) a:hover*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=clear][color=inverse]) button:focus,\n:host([appearance=clear][color=inverse]) a:focus*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:active,\n:host([appearance=clear][color=inverse]) a:active*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=clear][color=inverse]) button calcite-loader, \n:host([appearance=clear][color=inverse]) a calcite-loader*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][split-child=primary]) button,\n:host([appearance=clear][split-child=primary]) button*/[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline][split-child=secondary]) button,\n:host([appearance=clear][split-child=secondary]) button*/[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button, \n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][color=blue]) button,\n:host([appearance=transparent][color=blue]) a*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:hover,\n:host([appearance=transparent][color=blue]) a:hover*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][color=blue]) button:focus,\n:host([appearance=transparent][color=blue]) a:focus*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:active,\n:host([appearance=transparent][color=blue]) a:active*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][color=blue]) button calcite-loader,\n:host([appearance=transparent][color=blue]) a calcite-loader*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=red]) button,\n:host([appearance=transparent][color=red]) a*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:hover,\n:host([appearance=transparent][color=red]) a:hover*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][color=red]) button:focus,\n:host([appearance=transparent][color=red]) a:focus*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:active,\n:host([appearance=transparent][color=red]) a:active*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][color=red]) button calcite-loader,\n:host([appearance=transparent][color=red]) a calcite-loader*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].enable-editing-button) button*/[appearance=transparent][color=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][color=inverse]) button, \n:host([appearance=transparent][color=inverse]) a, \n:host([appearance=transparent][color=inverse]) calcite-loader*/[appearance=transparent][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted, \n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]:not([appearance=transparent])) button.content--slotted,\n:host([scale=m]:not([appearance=transparent])) a.content--slotted*/[scale=m].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]:not([appearance=transparent])) button.content--slotted,\n:host([scale=l]:not([appearance=transparent])) a.content--slotted*/[scale=l].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:11px}/*!@:host([scale=l][appearance=transparent]) button.content--slotted,\n:host([scale=l][appearance=transparent]) a.content--slotted*/[scale=l][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=s][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][appearance=transparent]) a:not(.content--slotted)*/[scale=s][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=m][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][appearance=transparent]) a:not(.content--slotted)*/[scale=m][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:1rem;margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2.75rem}";
|
|
9992
|
+
const buttonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button, \n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus, \n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}/*!@:host button:hover, \n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{-webkit-text-decoration-line:none;text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-start:unset;margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{-webkit-margin-end:unset;margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a, \n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:center;justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a, \n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:start;justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a, \n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:end;justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a, \n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{-ms-flex-pack:justify;justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{-webkit-margin-start:auto;margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button, \n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:-ms-flexbox;display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}/*!@:host([loading]) button:not(.content--slotted) .icon--start, \n:host([loading]) button:not(.content--slotted) .icon--end, \n:host([loading]) a:not(.content--slotted) .icon--start, \n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance=solid]) button, \n:host([appearance=solid]) a*/[appearance=solid].sc-calcite-button-h button.sc-calcite-button,[appearance=solid].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([color=blue]) button, \n:host([color=blue]) a*/[color=blue].sc-calcite-button-h button.sc-calcite-button,[color=blue].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([color=blue]) button:hover, :host([color=blue]) button:focus, \n:host([color=blue]) a:hover, \n:host([color=blue]) a:focus*/[color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[color=blue].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([color=blue]) button:active, \n:host([color=blue]) a:active*/[color=blue].sc-calcite-button-h button.sc-calcite-button:active,[color=blue].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([color=blue]) button calcite-loader, \n:host([color=blue]) a calcite-loader*/[color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([color=red]) button, \n:host([color=red]) a*/[color=red].sc-calcite-button-h button.sc-calcite-button,[color=red].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red]) button:hover, :host([color=red]) button:focus, \n:host([color=red]) a:hover, \n:host([color=red]) a:focus*/[color=red].sc-calcite-button-h button.sc-calcite-button:hover,[color=red].sc-calcite-button-h button.sc-calcite-button:focus,[color=red].sc-calcite-button-h a.sc-calcite-button:hover,[color=red].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([color=red]) button:active, \n:host([color=red]) a:active*/[color=red].sc-calcite-button-h button.sc-calcite-button:active,[color=red].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([color=red]) button calcite-loader, \n:host([color=red]) a calcite-loader*/[color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([color=neutral]) button, \n:host([color=neutral]) a*/[color=neutral].sc-calcite-button-h button.sc-calcite-button,[color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([color=neutral]) button:hover, :host([color=neutral]) button:focus, \n:host([color=neutral]) a:hover, \n:host([color=neutral]) a:focus*/[color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([color=neutral]) button:active, \n:host([color=neutral]) a:active*/[color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[color=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([color=neutral]) button calcite-loader, \n:host([color=neutral]) a calcite-loader*/[color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([color=inverse]) button, \n:host([color=inverse]) a*/[color=inverse].sc-calcite-button-h button.sc-calcite-button,[color=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([color=inverse]) button:hover, :host([color=inverse]) button:focus,\n:host([color=inverse]) a:hover,\n:host([color=inverse]) a:focus*/[color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([color=inverse]) button:active,\n:host([color=inverse]) a:active*/[color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[color=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([color=inverse]) button calcite-loader, \n:host([color=inverse]) a calcite-loader*/[color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline]) button, \n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][color=blue]) button, \n:host([appearance=outline][color=blue]) a*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:hover, \n:host([appearance=outline][color=blue]) a:hover*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][color=blue]) button:focus, \n:host([appearance=outline][color=blue]) a:focus*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=blue]) button:active, \n:host([appearance=outline][color=blue]) a:active*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][color=blue]) button calcite-loader,\n:host([appearance=outline][color=blue]) a calcite-loader*/[appearance=outline][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][color=red]) button, \n:host([appearance=outline][color=red]) a*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:hover, \n:host([appearance=outline][color=red]) a:hover*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][color=red]) button:focus, \n:host([appearance=outline][color=red]) a:focus*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=red]) button:active, \n:host([appearance=outline][color=red]) a:active*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][color=red]) button calcite-loader,\n:host([appearance=outline][color=red]) a calcite-loader*/[appearance=outline][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][color=neutral]) button, \n:host([appearance=outline][color=neutral]) a*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:hover,\n:host([appearance=outline][color=neutral]) a:hover*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:focus,\n:host([appearance=outline][color=neutral]) a:focus*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button:active,\n:host([appearance=outline][color=neutral]) a:active*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][color=neutral]) button calcite-loader, \n:host([appearance=outline][color=neutral]) a calcite-loader*/[appearance=outline][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][color=inverse]) button, \n:host([appearance=outline][color=inverse]) a*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:hover,\n:host([appearance=outline][color=inverse]) a:hover*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][color=inverse]) button:focus,\n:host([appearance=outline][color=inverse]) a:focus*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][color=inverse]) button:active,\n:host([appearance=outline][color=inverse]) a:active*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][color=inverse]) button calcite-loader, \n:host([appearance=outline][color=inverse]) a calcite-loader*/[appearance=outline][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear]) button, \n:host([appearance=clear]) a, \n:host([appearance=minimal]) button, \n:host([appearance=minimal]) a*/[appearance=clear].sc-calcite-button-h button.sc-calcite-button,[appearance=clear].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=clear][color=blue]) button, \n:host([appearance=clear][color=blue]) a, \n:host([appearance=minimal][color=blue]) button, \n:host([appearance=minimal][color=blue]) a*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:hover, \n:host([appearance=clear][color=blue]) a:hover, \n:host([appearance=minimal][color=blue]) button:hover, \n:host([appearance=minimal][color=blue]) a:hover*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=clear][color=blue]) button:focus, \n:host([appearance=clear][color=blue]) a:focus, \n:host([appearance=minimal][color=blue]) button:focus, \n:host([appearance=minimal][color=blue]) a:focus*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=blue]) button:active, \n:host([appearance=clear][color=blue]) a:active, \n:host([appearance=minimal][color=blue]) button:active, \n:host([appearance=minimal][color=blue]) a:active*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=clear][color=blue]) button calcite-loader,\n:host([appearance=clear][color=blue]) a calcite-loader,\n:host([appearance=minimal][color=blue]) button calcite-loader,\n:host([appearance=minimal][color=blue]) a calcite-loader*/[appearance=clear][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=clear][color=red]) button, \n:host([appearance=clear][color=red]) a, \n:host([appearance=minimal][color=red]) button, \n:host([appearance=minimal][color=red]) a*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:hover, \n:host([appearance=clear][color=red]) a:hover, \n:host([appearance=minimal][color=red]) button:hover, \n:host([appearance=minimal][color=red]) a:hover*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=clear][color=red]) button:focus, \n:host([appearance=clear][color=red]) a:focus, \n:host([appearance=minimal][color=red]) button:focus, \n:host([appearance=minimal][color=red]) a:focus*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=red]) button:active, \n:host([appearance=clear][color=red]) a:active, \n:host([appearance=minimal][color=red]) button:active, \n:host([appearance=minimal][color=red]) a:active*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=clear][color=red]) button calcite-loader,\n:host([appearance=clear][color=red]) a calcite-loader,\n:host([appearance=minimal][color=red]) button calcite-loader,\n:host([appearance=minimal][color=red]) a calcite-loader*/[appearance=clear][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=clear][color=neutral]) button, \n:host([appearance=clear][color=neutral]) a, \n:host([appearance=minimal][color=neutral]) button, \n:host([appearance=minimal][color=neutral]) a*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:hover,\n:host([appearance=clear][color=neutral]) a:hover,\n:host([appearance=minimal][color=neutral]) button:hover,\n:host([appearance=minimal][color=neutral]) a:hover*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:focus,\n:host([appearance=clear][color=neutral]) a:focus,\n:host([appearance=minimal][color=neutral]) button:focus,\n:host([appearance=minimal][color=neutral]) a:focus*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button:active,\n:host([appearance=clear][color=neutral]) a:active,\n:host([appearance=minimal][color=neutral]) button:active,\n:host([appearance=minimal][color=neutral]) a:active*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear][color=neutral]) button calcite-loader, \n:host([appearance=clear][color=neutral]) a calcite-loader, \n:host([appearance=minimal][color=neutral]) button calcite-loader, \n:host([appearance=minimal][color=neutral]) a calcite-loader*/[appearance=clear][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=clear][color=inverse]) button, \n:host([appearance=clear][color=inverse]) a, \n:host([appearance=minimal][color=inverse]) button, \n:host([appearance=minimal][color=inverse]) a*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:hover,\n:host([appearance=clear][color=inverse]) a:hover,\n:host([appearance=minimal][color=inverse]) button:hover,\n:host([appearance=minimal][color=inverse]) a:hover*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=clear][color=inverse]) button:focus,\n:host([appearance=clear][color=inverse]) a:focus,\n:host([appearance=minimal][color=inverse]) button:focus,\n:host([appearance=minimal][color=inverse]) a:focus*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=clear][color=inverse]) button:active,\n:host([appearance=clear][color=inverse]) a:active,\n:host([appearance=minimal][color=inverse]) button:active,\n:host([appearance=minimal][color=inverse]) a:active*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button:active,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=clear][color=inverse]) button calcite-loader, \n:host([appearance=clear][color=inverse]) a calcite-loader, \n:host([appearance=minimal][color=inverse]) button calcite-loader, \n:host([appearance=minimal][color=inverse]) a calcite-loader*/[appearance=clear][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=clear][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=minimal][color=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][split-child=primary]) button,\n:host([appearance=clear][split-child=primary]) button,\n:host([appearance=minimal][split-child=primary]) button*/[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline][split-child=secondary]) button,\n:host([appearance=clear][split-child=secondary]) button,\n:host([appearance=minimal][split-child=secondary]) button*/[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=clear][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=minimal][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button, \n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][color=blue]) button,\n:host([appearance=transparent][color=blue]) a*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:hover,\n:host([appearance=transparent][color=blue]) a:hover*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][color=blue]) button:focus,\n:host([appearance=transparent][color=blue]) a:focus*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=blue]) button:active,\n:host([appearance=transparent][color=blue]) a:active*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][color=blue]) button calcite-loader,\n:host([appearance=transparent][color=blue]) a calcite-loader*/[appearance=transparent][color=blue].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=blue].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][color=red]) button,\n:host([appearance=transparent][color=red]) a*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:hover,\n:host([appearance=transparent][color=red]) a:hover*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][color=red]) button:focus,\n:host([appearance=transparent][color=red]) a:focus*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=red]) button:active,\n:host([appearance=transparent][color=red]) a:active*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][color=red]) button calcite-loader,\n:host([appearance=transparent][color=red]) a calcite-loader*/[appearance=transparent][color=red].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][color=red].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a, \n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][color=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0}/*!@:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover*/[appearance=transparent][color=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][color=neutral].enable-editing-button) button*/[appearance=transparent][color=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][color=inverse]) button, \n:host([appearance=transparent][color=inverse]) a, \n:host([appearance=transparent][color=inverse]) calcite-loader*/[appearance=transparent][color=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][color=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted, \n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]:not([appearance=transparent])) button.content--slotted,\n:host([scale=m]:not([appearance=transparent])) a.content--slotted*/[scale=m].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]:not([appearance=transparent])) button.content--slotted,\n:host([scale=l]:not([appearance=transparent])) a.content--slotted*/[scale=l].sc-calcite-button-h:not([appearance=transparent]) button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h:not([appearance=transparent]) a.content--slotted.sc-calcite-button{--calcite-button-padding-y:11px}/*!@:host([scale=l][appearance=transparent]) button.content--slotted,\n:host([scale=l][appearance=transparent]) a.content--slotted*/[scale=l][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=s][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][appearance=transparent]) a:not(.content--slotted)*/[scale=s][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.25rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=m][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][appearance=transparent]) a:not(.content--slotted)*/[scale=m][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.5rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{-webkit-margin-start:1rem;margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x:2.75rem}";
|
|
9818
9993
|
|
|
9819
9994
|
/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
|
|
9820
9995
|
/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */
|
|
@@ -9840,7 +10015,7 @@ class Button {
|
|
|
9840
10015
|
*
|
|
9841
10016
|
* @default "Loading"
|
|
9842
10017
|
*/
|
|
9843
|
-
this.intlLoading = TEXT$
|
|
10018
|
+
this.intlLoading = TEXT$n.loading;
|
|
9844
10019
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
9845
10020
|
this.loading = false;
|
|
9846
10021
|
/** optionally add a round style to the button */
|
|
@@ -9909,14 +10084,14 @@ class Button {
|
|
|
9909
10084
|
render() {
|
|
9910
10085
|
const childElType = this.href ? "a" : "button";
|
|
9911
10086
|
const Tag = childElType;
|
|
9912
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
9913
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9914
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
9915
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
10087
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$M.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$M.loadingIn : CSS$M.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
10088
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$M.icon]: true, [CSS$M.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
10089
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$M.icon]: true, [CSS$M.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
10090
|
+
const contentEl = (hAsync("span", { class: CSS$M.content }, hAsync("slot", null)));
|
|
9916
10091
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
9917
|
-
[CSS$
|
|
9918
|
-
[CSS$
|
|
9919
|
-
[CSS$
|
|
10092
|
+
[CSS$M.contentSlotted]: this.hasContent,
|
|
10093
|
+
[CSS$M.iconStartEmpty]: !this.iconStart,
|
|
10094
|
+
[CSS$M.iconEndEmpty]: !this.iconEnd
|
|
9920
10095
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
9921
10096
|
}
|
|
9922
10097
|
//--------------------------------------------------------------------------
|
|
@@ -9989,7 +10164,7 @@ class Button {
|
|
|
9989
10164
|
}; }
|
|
9990
10165
|
}
|
|
9991
10166
|
|
|
9992
|
-
const CSS$
|
|
10167
|
+
const CSS$L = {
|
|
9993
10168
|
container: "container",
|
|
9994
10169
|
header: "header",
|
|
9995
10170
|
footer: "footer",
|
|
@@ -9998,20 +10173,20 @@ const CSS$K = {
|
|
|
9998
10173
|
checkboxWrapper: "checkbox-wrapper",
|
|
9999
10174
|
thumbnailWrapper: "thumbnail-wrapper"
|
|
10000
10175
|
};
|
|
10001
|
-
const SLOTS$
|
|
10176
|
+
const SLOTS$m = {
|
|
10002
10177
|
thumbnail: "thumbnail",
|
|
10003
10178
|
title: "title",
|
|
10004
10179
|
subtitle: "subtitle",
|
|
10005
10180
|
footerLeading: "footer-leading",
|
|
10006
10181
|
footerTrailing: "footer-trailing"
|
|
10007
10182
|
};
|
|
10008
|
-
const TEXT$
|
|
10183
|
+
const TEXT$m = {
|
|
10009
10184
|
select: "Select",
|
|
10010
10185
|
deselect: "Deselect",
|
|
10011
10186
|
loading: "Loading"
|
|
10012
10187
|
};
|
|
10013
10188
|
|
|
10014
|
-
const cardCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-card:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-card{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-card{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-card{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-card{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-card{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-card:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-card-h{display:none}/*!@:host*/.sc-calcite-card-h{display:block;max-inline-size:100%}/*!@:host .calcite-card-container*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}
|
|
10189
|
+
const cardCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-card:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-card{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-card{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-card{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-card{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-card{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-card:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-card-h{display:none}/*!@:host*/.sc-calcite-card-h{display:block;max-inline-size:100%}/*!@:host .calcite-card-container*/.sc-calcite-card-h .calcite-card-container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}/*!@.container*/.container.sc-calcite-card{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}/*!@:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container)*/[loading].sc-calcite-card-h .calcite-card-container.sc-calcite-card *.sc-calcite-card:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}/*!@:host([loading]) .calcite-card-loader-container*/[loading].sc-calcite-card-h .calcite-card-loader-container.sc-calcite-card{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}/*!@.header, \n.footer*/.header.sc-calcite-card,.footer.sc-calcite-card{display:-ms-flexbox;display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}/*!@.header*/.header.sc-calcite-card{-ms-flex-direction:column;flex-direction:column}/*!@.footer*/.footer.sc-calcite-card{-webkit-margin-before:auto;margin-block-start:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}/*!@.card-content*/.card-content.sc-calcite-card{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}/*!@:host([selected]) .calcite-card-container*/[selected].sc-calcite-card-h .calcite-card-container.sc-calcite-card{border-color:var(--calcite-ui-brand)}/*!@slot[name=title]::slotted(*), \n*::slotted([slot=title])*/slot[name=title].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=title]{margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=subtitle]::slotted(*), \n*::slotted([slot=subtitle])*/slot[name=subtitle].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=subtitle]{margin:0px;-webkit-margin-before:0.5rem;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}/*!@slot[name=thumbnail]::slotted(img), \nimg::slotted([slot=thumbnail])*/slot[name=thumbnail].sc-calcite-card-s>img,img.sc-calcite-card-s>[slot=thumbnail]{min-inline-size:100%;max-inline-size:100%}/*!@slot[name=footer-leading]::slotted(*), \n*::slotted([slot=footer-leading])*/slot[name=footer-leading].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-leading]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}/*!@slot[name=footer-trailing]::slotted(*), \n*::slotted([slot=footer-trailing])*/slot[name=footer-trailing].sc-calcite-card-s>*,*.sc-calcite-card-s>[slot=footer-trailing]{-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}/*!@.checkbox-wrapper*/.checkbox-wrapper.sc-calcite-card{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}/*!@.thumbnail-wrapper*/.thumbnail-wrapper.sc-calcite-card{display:-ms-flexbox;display:flex}/*!@.calcite-card-container.inline*/.calcite-card-container.inline.sc-calcite-card{-ms-flex-direction:row;flex-direction:row}/*!@.calcite-card-container.inline > .container*/.calcite-card-container.inline.sc-calcite-card>.container.sc-calcite-card{inline-size:60%}/*!@.calcite-card-container.inline > .thumbnail-wrapper*/.calcite-card-container.inline.sc-calcite-card>.thumbnail-wrapper.sc-calcite-card{inline-size:40%;-ms-flex-align:start;align-items:flex-start}/*!@.calcite-card-container.inline slot[name=thumbnail]::slotted(img), \n.calcite-card-container.inline img::slotted([slot=thumbnail])*/.calcite-card-container.inline slot[name=thumbnail].sc-calcite-card-s>img,.calcite-card-container.inline img.sc-calcite-card-s>[slot=thumbnail]{inline-size:100%}/*!@slot[name=footer-leading]::slotted(*), \nslot[name=footer-trailing]::slotted(*)*/slot[name=footer-leading].sc-calcite-card-s>*,slot[name=footer-trailing].sc-calcite-card-s>*{display:-ms-flexbox;display:flex;gap:0.25rem}";
|
|
10015
10190
|
|
|
10016
10191
|
/**
|
|
10017
10192
|
* Cards do not include a grid or bounding container
|
|
@@ -10045,19 +10220,19 @@ class Card {
|
|
|
10045
10220
|
*
|
|
10046
10221
|
* @default "Loading"
|
|
10047
10222
|
*/
|
|
10048
|
-
this.intlLoading = TEXT$
|
|
10223
|
+
this.intlLoading = TEXT$m.loading;
|
|
10049
10224
|
/**
|
|
10050
10225
|
* string to override English select text for checkbox when selectable is true
|
|
10051
10226
|
*
|
|
10052
10227
|
* @default "Select"
|
|
10053
10228
|
*/
|
|
10054
|
-
this.intlSelect = TEXT$
|
|
10229
|
+
this.intlSelect = TEXT$m.select;
|
|
10055
10230
|
/**
|
|
10056
10231
|
* string to override English deselect text for checkbox when selectable is true
|
|
10057
10232
|
*
|
|
10058
10233
|
* @default "Deselect"
|
|
10059
10234
|
*/
|
|
10060
|
-
this.intlDeselect = TEXT$
|
|
10235
|
+
this.intlDeselect = TEXT$m.deselect;
|
|
10061
10236
|
this.thumbnailPosition = "block-start";
|
|
10062
10237
|
//--------------------------------------------------------------------------
|
|
10063
10238
|
//
|
|
@@ -10096,32 +10271,32 @@ class Card {
|
|
|
10096
10271
|
render() {
|
|
10097
10272
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
10098
10273
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
10099
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
10274
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$L.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
10100
10275
|
}
|
|
10101
10276
|
selectCard() {
|
|
10102
10277
|
this.selected = !this.selected;
|
|
10103
10278
|
this.calciteCardSelect.emit();
|
|
10104
10279
|
}
|
|
10105
10280
|
renderThumbnail() {
|
|
10106
|
-
return getSlotted(this.el, SLOTS$
|
|
10281
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$L.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
10107
10282
|
}
|
|
10108
10283
|
renderCheckbox() {
|
|
10109
10284
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
10110
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
10285
|
+
return (hAsync("calcite-label", { class: CSS$L.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
10111
10286
|
}
|
|
10112
10287
|
renderHeader() {
|
|
10113
10288
|
const { el } = this;
|
|
10114
|
-
const title = getSlotted(el, SLOTS$
|
|
10115
|
-
const subtitle = getSlotted(el, SLOTS$
|
|
10289
|
+
const title = getSlotted(el, SLOTS$m.title);
|
|
10290
|
+
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
10116
10291
|
const hasHeader = title || subtitle;
|
|
10117
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
10292
|
+
return hasHeader ? (hAsync("header", { class: CSS$L.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
10118
10293
|
}
|
|
10119
10294
|
renderFooter() {
|
|
10120
10295
|
const { el } = this;
|
|
10121
|
-
const leadingFooter = getSlotted(el, SLOTS$
|
|
10122
|
-
const trailingFooter = getSlotted(el, SLOTS$
|
|
10296
|
+
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
10297
|
+
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
10123
10298
|
const hasFooter = leadingFooter || trailingFooter;
|
|
10124
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
10299
|
+
return hasFooter ? (hAsync("footer", { class: CSS$L.footer }, hAsync("slot", { name: SLOTS$m.footerLeading }), hAsync("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
10125
10300
|
}
|
|
10126
10301
|
get el() { return getElement(this); }
|
|
10127
10302
|
static get style() { return cardCss; }
|
|
@@ -10284,24 +10459,24 @@ class Checkbox {
|
|
|
10284
10459
|
}; }
|
|
10285
10460
|
}
|
|
10286
10461
|
|
|
10287
|
-
const CSS$
|
|
10462
|
+
const CSS$K = {
|
|
10288
10463
|
title: "title",
|
|
10289
10464
|
close: "close",
|
|
10290
10465
|
imageContainer: "image-container",
|
|
10291
10466
|
chipIcon: "chip-icon",
|
|
10292
10467
|
closeIcon: "close-icon"
|
|
10293
10468
|
};
|
|
10294
|
-
const TEXT$
|
|
10469
|
+
const TEXT$l = {
|
|
10295
10470
|
close: "Close"
|
|
10296
10471
|
};
|
|
10297
|
-
const SLOTS$
|
|
10472
|
+
const SLOTS$l = {
|
|
10298
10473
|
image: "image"
|
|
10299
10474
|
};
|
|
10300
|
-
const ICONS$
|
|
10475
|
+
const ICONS$b = {
|
|
10301
10476
|
close: "x"
|
|
10302
10477
|
};
|
|
10303
10478
|
|
|
10304
|
-
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-chip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-chip{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-chip{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-chip{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-chip{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-chip{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-chip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-chip-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-chip-h{block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}/*!@:host([scale=s]) .image-container*/[scale=s].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.25rem;inline-size:1.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-chip-h{block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}/*!@:host([scale=m]) .image-container*/[scale=m].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.5rem;inline-size:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-chip-h{block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}/*!@:host([scale=l]) .image-container*/[scale=l].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:2rem;inline-size:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host*/.sc-calcite-chip-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;block-size:100%;max-inline-size:100%;-ms-flex-align:center;align-items:center}/*!@.title*/.title.sc-calcite-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host span*/.sc-calcite-chip-h span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host([closable]) span*/[closable].sc-calcite-chip-h span.sc-calcite-chip{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}/*!@:host([icon]:not([closable])) span*/[icon].sc-calcite-chip-h:not([closable]) span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host button*/.sc-calcite-chip-h button.sc-calcite-chip{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-block-size:100%;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}/*!@:host button:hover*/.sc-calcite-chip-h button.sc-calcite-chip:hover{background-color:var(--calcite-chip-transparent-hover)}/*!@:host button:focus*/.sc-calcite-chip-h button.sc-calcite-chip:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host button:active*/.sc-calcite-chip-h button.sc-calcite-chip:active{background-color:var(--calcite-chip-transparent-press)}/*!@.image-container*/.image-container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}/*!@:host slot[name=image]::slotted(*)*/.sc-calcite-chip-h slot[name=image].sc-calcite-chip-s>*{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}/*!@.chip-icon*/.chip-icon.sc-calcite-chip{position:relative;margin-block:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}/*!@:host([color=blue][appearance=solid])*/[color=blue][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red][appearance=solid])*/[color=red][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=yellow][appearance=solid])*/[color=yellow][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}/*!@:host([color=green][appearance=solid])*/[color=green][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}/*!@:host([color=grey][appearance=solid])*/[color=grey][appearance=solid].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host([color=grey][appearance=solid]) button,\n:host([color=grey][appearance=solid]) .close-icon*/[color=grey][appearance=solid].sc-calcite-chip-h button.sc-calcite-chip,[color=grey][appearance=solid].sc-calcite-chip-h .close-icon.sc-calcite-chip{color:var(--calcite-ui-text-3)}/*!@:host([color=grey][appearance=solid]) .chip-icon*/[color=grey][appearance=solid].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([color=blue][appearance=clear])*/[color=blue][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-info)}/*!@:host([color=blue][appearance=clear]) .chip-icon*/[color=blue][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}/*!@:host([color=red][appearance=clear])*/[color=red][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-danger)}/*!@:host([color=red][appearance=clear]) .chip-icon*/[color=red][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}/*!@:host([color=yellow][appearance=clear])*/[color=yellow][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-warning)}/*!@:host([color=yellow][appearance=clear]) .chip-icon*/[color=yellow][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}/*!@:host([color=green][appearance=clear])*/[color=green][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-success)}/*!@:host([color=green][appearance=clear]) .chip-icon*/[color=green][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}/*!@:host([color=grey][appearance=clear])*/[color=grey][appearance=clear].sc-calcite-chip-h{border-color:var(--calcite-ui-border-1)}/*!@:host([color=grey][appearance=clear]) .chip-icon*/[color=grey][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([closed])*/[closed].sc-calcite-chip-h{display:none}";
|
|
10479
|
+
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-chip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-chip{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-chip{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-chip{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-chip{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-chip{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-chip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-chip-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-chip-h{block-size:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}/*!@:host([scale=s]) .image-container*/[scale=s].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.25rem;inline-size:1.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-chip-h{block-size:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}/*!@:host([scale=m]) .image-container*/[scale=m].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:1.5rem;inline-size:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-chip-h{block-size:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}/*!@:host([scale=l]) .image-container*/[scale=l].sc-calcite-chip-h .image-container.sc-calcite-chip{block-size:2rem;inline-size:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}/*!@:host*/.sc-calcite-chip-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;block-size:100%;max-inline-size:100%;-ms-flex-align:center;align-items:center}/*!@.title*/.title.sc-calcite-chip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}/*!@:host span*/.sc-calcite-chip-h span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host([closable]) span*/[closable].sc-calcite-chip-h span.sc-calcite-chip{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}/*!@:host([icon]:not([closable])) span*/[icon].sc-calcite-chip-h:not([closable]) span.sc-calcite-chip{padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-l)}/*!@:host button*/.sc-calcite-chip-h button.sc-calcite-chip{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-block-size:100%;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding-block:0;padding-inline:var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}/*!@:host button:hover*/.sc-calcite-chip-h button.sc-calcite-chip:hover{background-color:var(--calcite-chip-transparent-hover)}/*!@:host button:focus*/.sc-calcite-chip-h button.sc-calcite-chip:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host button:active*/.sc-calcite-chip-h button.sc-calcite-chip:active{background-color:var(--calcite-chip-transparent-press)}/*!@.image-container*/.image-container.sc-calcite-chip{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}/*!@:host slot[name=image]::slotted(*)*/.sc-calcite-chip-h slot[name=image].sc-calcite-chip-s>*{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}/*!@.chip-icon*/.chip-icon.sc-calcite-chip{position:relative;margin-block:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}/*!@:host([color=blue])*/[color=blue].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}/*!@:host([color=red])*/[color=red].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([color=yellow])*/[color=yellow].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}/*!@:host([color=green])*/[color=green].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}/*!@:host([color=grey])*/[color=grey].sc-calcite-chip-h{border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host([color=grey]) button,\n:host([color=grey]) .close-icon*/[color=grey].sc-calcite-chip-h button.sc-calcite-chip,[color=grey].sc-calcite-chip-h .close-icon.sc-calcite-chip{color:var(--calcite-ui-text-3)}/*!@:host([color=grey]) .chip-icon*/[color=grey].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([appearance=clear]), \n:host([appearance=transparent])*/[appearance=clear].sc-calcite-chip-h,[appearance=transparent].sc-calcite-chip-h{background-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([color=blue][appearance=clear]),\n:host([color=blue][appearance=transparent])*/[color=blue][appearance=clear].sc-calcite-chip-h,[color=blue][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-info)}/*!@:host([color=blue][appearance=clear]) .chip-icon,\n:host([color=blue][appearance=transparent]) .chip-icon*/[color=blue][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=blue][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}/*!@:host([color=red][appearance=clear]),\n:host([color=red][appearance=transparent])*/[color=red][appearance=clear].sc-calcite-chip-h,[color=red][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-danger)}/*!@:host([color=red][appearance=clear]) .chip-icon,\n:host([color=red][appearance=transparent]) .chip-icon*/[color=red][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=red][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}/*!@:host([color=yellow][appearance=clear]),\n:host([color=yellow][appearance=transparent])*/[color=yellow][appearance=clear].sc-calcite-chip-h,[color=yellow][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-warning)}/*!@:host([color=yellow][appearance=clear]) .chip-icon,\n:host([color=yellow][appearance=transparent]) .chip-icon*/[color=yellow][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=yellow][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}/*!@:host([color=green][appearance=clear]),\n:host([color=green][appearance=transparent])*/[color=green][appearance=clear].sc-calcite-chip-h,[color=green][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-success)}/*!@:host([color=green][appearance=clear]) .chip-icon,\n:host([color=green][appearance=transparent]) .chip-icon*/[color=green][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=green][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}/*!@:host([color=grey][appearance=clear]),\n:host([color=grey][appearance=transparent])*/[color=grey][appearance=clear].sc-calcite-chip-h,[color=grey][appearance=transparent].sc-calcite-chip-h{border-color:var(--calcite-ui-border-1)}/*!@:host([color=grey][appearance=clear]) .chip-icon,\n:host([color=grey][appearance=transparent]) .chip-icon*/[color=grey][appearance=clear].sc-calcite-chip-h .chip-icon.sc-calcite-chip,[color=grey][appearance=transparent].sc-calcite-chip-h .chip-icon.sc-calcite-chip{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}/*!@:host([closed])*/[closed].sc-calcite-chip-h{display:none}";
|
|
10305
10480
|
|
|
10306
10481
|
/**
|
|
10307
10482
|
* @slot - A slot for adding text.
|
|
@@ -10333,7 +10508,7 @@ class Chip {
|
|
|
10333
10508
|
*
|
|
10334
10509
|
* @default "Close"
|
|
10335
10510
|
*/
|
|
10336
|
-
this.dismissLabel = TEXT$
|
|
10511
|
+
this.dismissLabel = TEXT$l.close;
|
|
10337
10512
|
/** flip the icon in rtl */
|
|
10338
10513
|
this.iconFlipRtl = false;
|
|
10339
10514
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -10392,13 +10567,13 @@ class Chip {
|
|
|
10392
10567
|
//--------------------------------------------------------------------------
|
|
10393
10568
|
renderChipImage() {
|
|
10394
10569
|
const { el } = this;
|
|
10395
|
-
const hasChipImage = getSlotted(el, SLOTS$
|
|
10396
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10570
|
+
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
10571
|
+
return hasChipImage ? (hAsync("div", { class: CSS$K.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image }))) : null;
|
|
10397
10572
|
}
|
|
10398
10573
|
render() {
|
|
10399
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10400
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10401
|
-
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
10574
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$K.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
10575
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$K.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$K.closeIcon, icon: ICONS$b.close, scale: "s" })));
|
|
10576
|
+
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$K.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
|
|
10402
10577
|
}
|
|
10403
10578
|
get el() { return getElement(this); }
|
|
10404
10579
|
static get watchers() { return {
|
|
@@ -12538,7 +12713,7 @@ function zeroArray(array, length) {
|
|
|
12538
12713
|
|
|
12539
12714
|
var color = Color;
|
|
12540
12715
|
|
|
12541
|
-
const CSS$
|
|
12716
|
+
const CSS$J = {
|
|
12542
12717
|
container: "container",
|
|
12543
12718
|
controlSection: "control-section",
|
|
12544
12719
|
hexOptions: "color-hex-options",
|
|
@@ -12576,7 +12751,7 @@ const HSV_LIMITS = {
|
|
|
12576
12751
|
s: 100,
|
|
12577
12752
|
v: 100
|
|
12578
12753
|
};
|
|
12579
|
-
const TEXT$
|
|
12754
|
+
const TEXT$k = {
|
|
12580
12755
|
b: "B",
|
|
12581
12756
|
blue: "Blue",
|
|
12582
12757
|
deleteColor: "Delete color",
|
|
@@ -12673,8 +12848,8 @@ class ColorPicker {
|
|
|
12673
12848
|
* When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
|
|
12674
12849
|
*/
|
|
12675
12850
|
this.allowEmpty = false;
|
|
12676
|
-
/** specify the appearance -
|
|
12677
|
-
this.appearance = "
|
|
12851
|
+
/** specify the appearance - solid (containing border), or minimal (no containing border) */
|
|
12852
|
+
this.appearance = "solid";
|
|
12678
12853
|
/**
|
|
12679
12854
|
* Internal prop for advanced use-cases.
|
|
12680
12855
|
*
|
|
@@ -12704,115 +12879,115 @@ class ColorPicker {
|
|
|
12704
12879
|
*
|
|
12705
12880
|
* @default "B"
|
|
12706
12881
|
*/
|
|
12707
|
-
this.intlB = TEXT$
|
|
12882
|
+
this.intlB = TEXT$k.b;
|
|
12708
12883
|
/**
|
|
12709
12884
|
* Label used for the blue channel description
|
|
12710
12885
|
*
|
|
12711
12886
|
* @default "Blue"
|
|
12712
12887
|
*/
|
|
12713
|
-
this.intlBlue = TEXT$
|
|
12888
|
+
this.intlBlue = TEXT$k.blue;
|
|
12714
12889
|
/**
|
|
12715
12890
|
* Label used for the delete color button.
|
|
12716
12891
|
*
|
|
12717
12892
|
* @default "Delete color"
|
|
12718
12893
|
*/
|
|
12719
|
-
this.intlDeleteColor = TEXT$
|
|
12894
|
+
this.intlDeleteColor = TEXT$k.deleteColor;
|
|
12720
12895
|
/**
|
|
12721
12896
|
* Label used for the green channel
|
|
12722
12897
|
*
|
|
12723
12898
|
* @default "G"
|
|
12724
12899
|
*/
|
|
12725
|
-
this.intlG = TEXT$
|
|
12900
|
+
this.intlG = TEXT$k.g;
|
|
12726
12901
|
/**
|
|
12727
12902
|
* Label used for the green channel description
|
|
12728
12903
|
*
|
|
12729
12904
|
* @default "Green"
|
|
12730
12905
|
*/
|
|
12731
|
-
this.intlGreen = TEXT$
|
|
12906
|
+
this.intlGreen = TEXT$k.green;
|
|
12732
12907
|
/**
|
|
12733
12908
|
* Label used for the hue channel
|
|
12734
12909
|
*
|
|
12735
12910
|
* @default "H"
|
|
12736
12911
|
*/
|
|
12737
|
-
this.intlH = TEXT$
|
|
12912
|
+
this.intlH = TEXT$k.h;
|
|
12738
12913
|
/**
|
|
12739
12914
|
* Label used for the HSV mode
|
|
12740
12915
|
*
|
|
12741
12916
|
* @default "HSV"
|
|
12742
12917
|
*/
|
|
12743
|
-
this.intlHsv = TEXT$
|
|
12918
|
+
this.intlHsv = TEXT$k.hsv;
|
|
12744
12919
|
/**
|
|
12745
12920
|
* Label used for the hex input
|
|
12746
12921
|
*
|
|
12747
12922
|
* @default "Hex"
|
|
12748
12923
|
*/
|
|
12749
|
-
this.intlHex = TEXT$
|
|
12924
|
+
this.intlHex = TEXT$k.hex;
|
|
12750
12925
|
/**
|
|
12751
12926
|
* Label used for the hue channel description
|
|
12752
12927
|
*
|
|
12753
12928
|
* @default "Hue"
|
|
12754
12929
|
*/
|
|
12755
|
-
this.intlHue = TEXT$
|
|
12930
|
+
this.intlHue = TEXT$k.hue;
|
|
12756
12931
|
/**
|
|
12757
12932
|
* Label used for the hex input when there is no color selected.
|
|
12758
12933
|
*
|
|
12759
12934
|
* @default "No color"
|
|
12760
12935
|
*/
|
|
12761
|
-
this.intlNoColor = TEXT$
|
|
12936
|
+
this.intlNoColor = TEXT$k.noColor;
|
|
12762
12937
|
/**
|
|
12763
12938
|
* Label used for the red channel
|
|
12764
12939
|
*
|
|
12765
12940
|
* @default "R"
|
|
12766
12941
|
*/
|
|
12767
|
-
this.intlR = TEXT$
|
|
12942
|
+
this.intlR = TEXT$k.r;
|
|
12768
12943
|
/**
|
|
12769
12944
|
* Label used for the red channel description
|
|
12770
12945
|
*
|
|
12771
12946
|
* @default "Red"
|
|
12772
12947
|
*/
|
|
12773
|
-
this.intlRed = TEXT$
|
|
12948
|
+
this.intlRed = TEXT$k.red;
|
|
12774
12949
|
/**
|
|
12775
12950
|
* Label used for the RGB mode
|
|
12776
12951
|
*
|
|
12777
12952
|
* @default "RGB"
|
|
12778
12953
|
*/
|
|
12779
|
-
this.intlRgb = TEXT$
|
|
12954
|
+
this.intlRgb = TEXT$k.rgb;
|
|
12780
12955
|
/**
|
|
12781
12956
|
* Label used for the saturation channel
|
|
12782
12957
|
*
|
|
12783
12958
|
* @default "S"
|
|
12784
12959
|
*/
|
|
12785
|
-
this.intlS = TEXT$
|
|
12960
|
+
this.intlS = TEXT$k.s;
|
|
12786
12961
|
/**
|
|
12787
12962
|
* Label used for the saturation channel description
|
|
12788
12963
|
*
|
|
12789
12964
|
* @default "Saturation"
|
|
12790
12965
|
*/
|
|
12791
|
-
this.intlSaturation = TEXT$
|
|
12966
|
+
this.intlSaturation = TEXT$k.saturation;
|
|
12792
12967
|
/**
|
|
12793
12968
|
* Label used for the save color button.
|
|
12794
12969
|
*
|
|
12795
12970
|
* @default "Save color"
|
|
12796
12971
|
*/
|
|
12797
|
-
this.intlSaveColor = TEXT$
|
|
12972
|
+
this.intlSaveColor = TEXT$k.saveColor;
|
|
12798
12973
|
/**
|
|
12799
12974
|
* Label used for the saved colors section
|
|
12800
12975
|
*
|
|
12801
12976
|
* @default "Saved"
|
|
12802
12977
|
*/
|
|
12803
|
-
this.intlSaved = TEXT$
|
|
12978
|
+
this.intlSaved = TEXT$k.saved;
|
|
12804
12979
|
/**
|
|
12805
12980
|
* Label used for the value channel
|
|
12806
12981
|
*
|
|
12807
12982
|
* @default "V"
|
|
12808
12983
|
*/
|
|
12809
|
-
this.intlV = TEXT$
|
|
12984
|
+
this.intlV = TEXT$k.v;
|
|
12810
12985
|
/**
|
|
12811
12986
|
* Label used for the
|
|
12812
12987
|
*
|
|
12813
12988
|
* @default "Value"
|
|
12814
12989
|
*/
|
|
12815
|
-
this.intlValue = TEXT$
|
|
12990
|
+
this.intlValue = TEXT$k.value;
|
|
12816
12991
|
/**
|
|
12817
12992
|
* The scale of the color picker.
|
|
12818
12993
|
*/
|
|
@@ -13078,7 +13253,7 @@ class ColorPicker {
|
|
|
13078
13253
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
13079
13254
|
const active = channelMode === activeChannelMode;
|
|
13080
13255
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
13081
|
-
return (hAsync("calcite-tab-title", { active: active, class: CSS$
|
|
13256
|
+
return (hAsync("calcite-tab-title", { active: active, class: CSS$J.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
13082
13257
|
};
|
|
13083
13258
|
this.renderChannelsTab = (channelMode) => {
|
|
13084
13259
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -13089,11 +13264,11 @@ class ColorPicker {
|
|
|
13089
13264
|
? [intlRed, intlGreen, intlBlue]
|
|
13090
13265
|
: [intlHue, intlSaturation, intlValue];
|
|
13091
13266
|
const direction = getElementDir(this.el);
|
|
13092
|
-
return (hAsync("calcite-tab", { active: active, class: CSS$
|
|
13267
|
+
return (hAsync("calcite-tab", { active: active, class: CSS$J.control, key: channelMode }, hAsync("div", { class: CSS$J.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
13093
13268
|
/* the channel container is ltr, so we apply the host's direction */
|
|
13094
13269
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
13095
13270
|
};
|
|
13096
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
13271
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$J.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
13097
13272
|
this.deleteColor = () => {
|
|
13098
13273
|
const colorToDelete = this.color.hex();
|
|
13099
13274
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13196,7 +13371,7 @@ class ColorPicker {
|
|
|
13196
13371
|
this.shiftKeyChannelAdjustment = 0;
|
|
13197
13372
|
const { key } = event;
|
|
13198
13373
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13199
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
13374
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$J.channel); })) {
|
|
13200
13375
|
return;
|
|
13201
13376
|
}
|
|
13202
13377
|
const { shiftKey } = event;
|
|
@@ -13267,20 +13442,20 @@ class ColorPicker {
|
|
|
13267
13442
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13268
13443
|
const noColor = color === null;
|
|
13269
13444
|
const vertical = scopeOrientation === "vertical";
|
|
13270
|
-
return (hAsync("div", { class: CSS$
|
|
13271
|
-
[CSS$
|
|
13272
|
-
[CSS$
|
|
13273
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
13274
|
-
[CSS$
|
|
13275
|
-
[CSS$
|
|
13276
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13277
|
-
[CSS$
|
|
13278
|
-
[CSS$
|
|
13279
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13280
|
-
[CSS$
|
|
13281
|
-
[CSS$
|
|
13282
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
13283
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
13445
|
+
return (hAsync("div", { class: CSS$J.container }, hAsync("div", { class: CSS$J.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
13446
|
+
[CSS$J.colorFieldAndSlider]: true,
|
|
13447
|
+
[CSS$J.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
13448
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$J.scope]: true, [CSS$J.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$J.scope]: true, [CSS$J.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
13449
|
+
[CSS$J.controlSection]: true,
|
|
13450
|
+
[CSS$J.section]: true
|
|
13451
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$J.hexOptions }, hAsync("span", { class: {
|
|
13452
|
+
[CSS$J.header]: true,
|
|
13453
|
+
[CSS$J.headerHex]: true
|
|
13454
|
+
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$J.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13455
|
+
[CSS$J.colorModeContainer]: true,
|
|
13456
|
+
[CSS$J.splitSection]: true
|
|
13457
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$J.savedColorsSection]: true, [CSS$J.section]: true } }, hAsync("div", { class: CSS$J.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$J.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$J.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$J.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$J.savedColors }, [
|
|
13458
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$J.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
13284
13459
|
])) : null))));
|
|
13285
13460
|
}
|
|
13286
13461
|
// --------------------------------------------------------------------------
|
|
@@ -13526,7 +13701,7 @@ class ColorPicker {
|
|
|
13526
13701
|
}; }
|
|
13527
13702
|
}
|
|
13528
13703
|
|
|
13529
|
-
const CSS$
|
|
13704
|
+
const CSS$I = {
|
|
13530
13705
|
container: "container",
|
|
13531
13706
|
preview: "preview",
|
|
13532
13707
|
input: "input"
|
|
@@ -13555,13 +13730,13 @@ class ColorPickerHexInput {
|
|
|
13555
13730
|
*
|
|
13556
13731
|
* @default "Hex"
|
|
13557
13732
|
*/
|
|
13558
|
-
this.intlHex = TEXT$
|
|
13733
|
+
this.intlHex = TEXT$k.hex;
|
|
13559
13734
|
/**
|
|
13560
13735
|
* Label used for the hex input when there is no color selected.
|
|
13561
13736
|
*
|
|
13562
13737
|
* @default "No color"
|
|
13563
13738
|
*/
|
|
13564
|
-
this.intlNoColor = TEXT$
|
|
13739
|
+
this.intlNoColor = TEXT$k.noColor;
|
|
13565
13740
|
/**
|
|
13566
13741
|
* The component's scale.
|
|
13567
13742
|
*/
|
|
@@ -13662,7 +13837,7 @@ class ColorPickerHexInput {
|
|
|
13662
13837
|
render() {
|
|
13663
13838
|
const { intlHex, value } = this;
|
|
13664
13839
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13665
|
-
return (hAsync("div", { class: CSS$
|
|
13840
|
+
return (hAsync("div", { class: CSS$I.container }, hAsync("calcite-input", { class: CSS$I.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$I.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13666
13841
|
}
|
|
13667
13842
|
//--------------------------------------------------------------------------
|
|
13668
13843
|
//
|
|
@@ -13738,7 +13913,7 @@ class ColorPickerHexInput {
|
|
|
13738
13913
|
}; }
|
|
13739
13914
|
}
|
|
13740
13915
|
|
|
13741
|
-
const CSS$
|
|
13916
|
+
const CSS$H = {
|
|
13742
13917
|
swatch: "swatch",
|
|
13743
13918
|
noColorIcon: "no-color-icon"
|
|
13744
13919
|
};
|
|
@@ -13783,7 +13958,7 @@ class ColorPickerSwatch {
|
|
|
13783
13958
|
const hex = internalColor.hex();
|
|
13784
13959
|
const theme = getThemeName(el);
|
|
13785
13960
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
13786
|
-
return (hAsync("svg", { class: CSS$
|
|
13961
|
+
return (hAsync("svg", { class: CSS$H.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
13787
13962
|
}
|
|
13788
13963
|
get el() { return getElement(this); }
|
|
13789
13964
|
static get watchers() { return {
|
|
@@ -15496,7 +15671,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
15496
15671
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
15497
15672
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
15498
15673
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
15499
|
-
const TEXT$
|
|
15674
|
+
const TEXT$j = {
|
|
15500
15675
|
removeTag: "Remove tag"
|
|
15501
15676
|
};
|
|
15502
15677
|
|
|
@@ -15591,7 +15766,7 @@ class Combobox {
|
|
|
15591
15766
|
*
|
|
15592
15767
|
* @default "Remove tag"
|
|
15593
15768
|
*/
|
|
15594
|
-
this.intlRemoveTag = TEXT$
|
|
15769
|
+
this.intlRemoveTag = TEXT$j.removeTag;
|
|
15595
15770
|
//--------------------------------------------------------------------------
|
|
15596
15771
|
//
|
|
15597
15772
|
// Private State/Props
|
|
@@ -16334,7 +16509,7 @@ class Combobox {
|
|
|
16334
16509
|
wrapper: true,
|
|
16335
16510
|
"wrapper--single": single || !this.selectedItems.length,
|
|
16336
16511
|
"wrapper--active": open || active
|
|
16337
|
-
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox"
|
|
16512
|
+
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox" }, hAsync("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), hAsync("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), hAsync("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
16338
16513
|
}
|
|
16339
16514
|
get el() { return getElement(this); }
|
|
16340
16515
|
static get watchers() { return {
|
|
@@ -16387,7 +16562,7 @@ class Combobox {
|
|
|
16387
16562
|
}; }
|
|
16388
16563
|
}
|
|
16389
16564
|
|
|
16390
|
-
const CSS$
|
|
16565
|
+
const CSS$G = {
|
|
16391
16566
|
icon: "icon",
|
|
16392
16567
|
iconActive: "icon--active",
|
|
16393
16568
|
custom: "icon--custom",
|
|
@@ -16479,18 +16654,18 @@ class ComboboxItem {
|
|
|
16479
16654
|
// --------------------------------------------------------------------------
|
|
16480
16655
|
renderIcon(isSingle) {
|
|
16481
16656
|
const { icon, disabled, selected } = this;
|
|
16482
|
-
const level = `${CSS$
|
|
16657
|
+
const level = `${CSS$G.icon}--indent`;
|
|
16483
16658
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16484
16659
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16485
16660
|
const showDot = isSingle && !icon && !disabled;
|
|
16486
16661
|
return showDot ? (hAsync("span", { class: {
|
|
16487
|
-
[CSS$
|
|
16488
|
-
[CSS$
|
|
16662
|
+
[CSS$G.icon]: true,
|
|
16663
|
+
[CSS$G.dot]: true,
|
|
16489
16664
|
[level]: true
|
|
16490
16665
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16491
|
-
[CSS$
|
|
16492
|
-
[CSS$
|
|
16493
|
-
[CSS$
|
|
16666
|
+
[CSS$G.icon]: !icon,
|
|
16667
|
+
[CSS$G.custom]: !!icon,
|
|
16668
|
+
[CSS$G.iconActive]: icon && selected,
|
|
16494
16669
|
[level]: true
|
|
16495
16670
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16496
16671
|
}
|
|
@@ -16503,13 +16678,13 @@ class ComboboxItem {
|
|
|
16503
16678
|
render() {
|
|
16504
16679
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16505
16680
|
const classes = {
|
|
16506
|
-
[CSS$
|
|
16507
|
-
[CSS$
|
|
16508
|
-
[CSS$
|
|
16509
|
-
[CSS$
|
|
16681
|
+
[CSS$G.label]: true,
|
|
16682
|
+
[CSS$G.selected]: this.selected,
|
|
16683
|
+
[CSS$G.active]: this.active,
|
|
16684
|
+
[CSS$G.single]: isSingleSelect
|
|
16510
16685
|
};
|
|
16511
16686
|
const depth = getDepth();
|
|
16512
|
-
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
16687
|
+
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$G.title }, this.textLabel)), this.renderChildren())));
|
|
16513
16688
|
}
|
|
16514
16689
|
get el() { return getElement(this); }
|
|
16515
16690
|
static get watchers() { return {
|
|
@@ -16538,7 +16713,7 @@ class ComboboxItem {
|
|
|
16538
16713
|
}; }
|
|
16539
16714
|
}
|
|
16540
16715
|
|
|
16541
|
-
const CSS$
|
|
16716
|
+
const CSS$F = {
|
|
16542
16717
|
list: "list",
|
|
16543
16718
|
label: "label",
|
|
16544
16719
|
title: "title"
|
|
@@ -16571,8 +16746,8 @@ class ComboboxItemGroup {
|
|
|
16571
16746
|
// --------------------------------------------------------------------------
|
|
16572
16747
|
render() {
|
|
16573
16748
|
const { el, scale } = this;
|
|
16574
|
-
const indent = `${CSS$
|
|
16575
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
16749
|
+
const indent = `${CSS$F.label}--indent-${getDepth()}`;
|
|
16750
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$F.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$F.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$F.title }, this.label)), hAsync("slot", null)));
|
|
16576
16751
|
}
|
|
16577
16752
|
get el() { return getElement(this); }
|
|
16578
16753
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -16974,7 +17149,7 @@ function getDaysDiff(date1, date2) {
|
|
|
16974
17149
|
}
|
|
16975
17150
|
|
|
16976
17151
|
const HEADING_LEVEL$6 = 2;
|
|
16977
|
-
const TEXT$
|
|
17152
|
+
const TEXT$i = {
|
|
16978
17153
|
nextMonth: "Next month",
|
|
16979
17154
|
prevMonth: "Previous month",
|
|
16980
17155
|
year: "Year"
|
|
@@ -16992,19 +17167,19 @@ class DatePicker {
|
|
|
16992
17167
|
*
|
|
16993
17168
|
* @default "Previous month"
|
|
16994
17169
|
*/
|
|
16995
|
-
this.intlPrevMonth = TEXT$
|
|
17170
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
16996
17171
|
/**
|
|
16997
17172
|
* Localized string for "next month" (used for aria label)
|
|
16998
17173
|
*
|
|
16999
17174
|
* @default "Next month"
|
|
17000
17175
|
*/
|
|
17001
|
-
this.intlNextMonth = TEXT$
|
|
17176
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
17002
17177
|
/**
|
|
17003
17178
|
* Localized string for "year" (used for aria label)
|
|
17004
17179
|
*
|
|
17005
17180
|
* @default "Year"
|
|
17006
17181
|
*/
|
|
17007
|
-
this.intlYear = TEXT$
|
|
17182
|
+
this.intlYear = TEXT$i.year;
|
|
17008
17183
|
/** BCP 47 language tag for desired language and country format */
|
|
17009
17184
|
this.locale = document.documentElement.lang || "en";
|
|
17010
17185
|
/** specify the scale of the date picker */
|
|
@@ -18019,7 +18194,7 @@ class DatePickerMonthHeader {
|
|
|
18019
18194
|
}; }
|
|
18020
18195
|
}
|
|
18021
18196
|
|
|
18022
|
-
const SLOTS$
|
|
18197
|
+
const SLOTS$k = {
|
|
18023
18198
|
dropdownTrigger: "dropdown-trigger"
|
|
18024
18199
|
};
|
|
18025
18200
|
|
|
@@ -18279,7 +18454,7 @@ class Dropdown {
|
|
|
18279
18454
|
}
|
|
18280
18455
|
render() {
|
|
18281
18456
|
const { open, guid } = this;
|
|
18282
|
-
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$
|
|
18457
|
+
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$k.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
18283
18458
|
["calcite-dropdown-content"]: true,
|
|
18284
18459
|
[FloatingCSS.animation]: true,
|
|
18285
18460
|
[FloatingCSS.animationActive]: open
|
|
@@ -18486,7 +18661,7 @@ class Dropdown {
|
|
|
18486
18661
|
}; }
|
|
18487
18662
|
}
|
|
18488
18663
|
|
|
18489
|
-
const CSS$
|
|
18664
|
+
const CSS$E = {
|
|
18490
18665
|
containerSmall: "container--s",
|
|
18491
18666
|
containerMedium: "container--m",
|
|
18492
18667
|
containerLarge: "container--l"
|
|
@@ -18521,9 +18696,9 @@ class DropdownGroup {
|
|
|
18521
18696
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18522
18697
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18523
18698
|
container: true,
|
|
18524
|
-
[CSS$
|
|
18525
|
-
[CSS$
|
|
18526
|
-
[CSS$
|
|
18699
|
+
[CSS$E.containerSmall]: scale === "s",
|
|
18700
|
+
[CSS$E.containerMedium]: scale === "m",
|
|
18701
|
+
[CSS$E.containerLarge]: scale === "l"
|
|
18527
18702
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
18528
18703
|
}
|
|
18529
18704
|
//--------------------------------------------------------------------------
|
|
@@ -18563,7 +18738,7 @@ class DropdownGroup {
|
|
|
18563
18738
|
}; }
|
|
18564
18739
|
}
|
|
18565
18740
|
|
|
18566
|
-
const CSS$
|
|
18741
|
+
const CSS$D = {
|
|
18567
18742
|
containerLink: "container--link",
|
|
18568
18743
|
containerSmall: "container--s",
|
|
18569
18744
|
containerMedium: "container--m",
|
|
@@ -18653,13 +18828,13 @@ class DropdownItem {
|
|
|
18653
18828
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
18654
18829
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18655
18830
|
container: true,
|
|
18656
|
-
[CSS$
|
|
18657
|
-
[CSS$
|
|
18658
|
-
[CSS$
|
|
18659
|
-
[CSS$
|
|
18660
|
-
[CSS$
|
|
18661
|
-
[CSS$
|
|
18662
|
-
[CSS$
|
|
18831
|
+
[CSS$D.containerLink]: !!this.href,
|
|
18832
|
+
[CSS$D.containerSmall]: scale === "s",
|
|
18833
|
+
[CSS$D.containerMedium]: scale === "m",
|
|
18834
|
+
[CSS$D.containerLarge]: scale === "l",
|
|
18835
|
+
[CSS$D.containerMulti]: this.selectionMode === "multi",
|
|
18836
|
+
[CSS$D.containerSingle]: this.selectionMode === "single",
|
|
18837
|
+
[CSS$D.containerNone]: this.selectionMode === "none"
|
|
18663
18838
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
18664
18839
|
}
|
|
18665
18840
|
//--------------------------------------------------------------------------
|
|
@@ -18770,10 +18945,10 @@ class DropdownItem {
|
|
|
18770
18945
|
}; }
|
|
18771
18946
|
}
|
|
18772
18947
|
|
|
18773
|
-
const CSS$
|
|
18948
|
+
const CSS$C = {
|
|
18774
18949
|
button: "button"
|
|
18775
18950
|
};
|
|
18776
|
-
const ICONS$
|
|
18951
|
+
const ICONS$a = {
|
|
18777
18952
|
plus: "plus"
|
|
18778
18953
|
};
|
|
18779
18954
|
|
|
@@ -18804,7 +18979,7 @@ class Fab {
|
|
|
18804
18979
|
*
|
|
18805
18980
|
* @default "plus"
|
|
18806
18981
|
*/
|
|
18807
|
-
this.icon = ICONS$
|
|
18982
|
+
this.icon = ICONS$a.plus;
|
|
18808
18983
|
/**
|
|
18809
18984
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
18810
18985
|
*/
|
|
@@ -18843,7 +19018,7 @@ class Fab {
|
|
|
18843
19018
|
render() {
|
|
18844
19019
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
18845
19020
|
const title = !textEnabled ? label || text || null : null;
|
|
18846
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
19021
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$C.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
18847
19022
|
this.buttonEl = buttonEl;
|
|
18848
19023
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
18849
19024
|
}
|
|
@@ -18870,15 +19045,15 @@ class Fab {
|
|
|
18870
19045
|
}; }
|
|
18871
19046
|
}
|
|
18872
19047
|
|
|
18873
|
-
const CSS$
|
|
19048
|
+
const CSS$B = {
|
|
18874
19049
|
container: "container",
|
|
18875
19050
|
searchIcon: "search-icon"
|
|
18876
19051
|
};
|
|
18877
|
-
const TEXT$
|
|
19052
|
+
const TEXT$h = {
|
|
18878
19053
|
filterLabel: "Filter",
|
|
18879
19054
|
clear: "Clear filter"
|
|
18880
19055
|
};
|
|
18881
|
-
const ICONS$
|
|
19056
|
+
const ICONS$9 = {
|
|
18882
19057
|
search: "search",
|
|
18883
19058
|
close: "x"
|
|
18884
19059
|
};
|
|
@@ -18989,7 +19164,7 @@ class Filter {
|
|
|
18989
19164
|
// --------------------------------------------------------------------------
|
|
18990
19165
|
render() {
|
|
18991
19166
|
const { disabled, scale } = this;
|
|
18992
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
19167
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$B.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$h.filterLabel, clearable: true, disabled: disabled, icon: ICONS$9.search, intlClear: this.intlClear || TEXT$h.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
18993
19168
|
this.textInput = el;
|
|
18994
19169
|
}, scale: scale, type: "text", value: this.value })))));
|
|
18995
19170
|
}
|
|
@@ -19019,52 +19194,52 @@ class Filter {
|
|
|
19019
19194
|
}; }
|
|
19020
19195
|
}
|
|
19021
19196
|
|
|
19022
|
-
const CSS$
|
|
19197
|
+
const CSS$A = {
|
|
19023
19198
|
frame: "frame",
|
|
19024
19199
|
frameAdvancing: "frame--advancing",
|
|
19025
19200
|
frameRetreating: "frame--retreating"
|
|
19026
19201
|
};
|
|
19027
19202
|
|
|
19028
|
-
const flowCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-h *.sc-calcite-flow{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-h{display:none}/*!@:host*/.sc-calcite-flow-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}/*!@:host .frame*/.sc-calcite-flow-h .frame.sc-calcite-flow{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}/*!@:host ::slotted(calcite-panel)*/.sc-calcite-flow-h .sc-calcite-flow-s>calcite-panel{block-size:100%}/*!@:host ::slotted(.calcite-match-height:last-child)*/.sc-calcite-flow-h .sc-calcite-flow-s>.calcite-match-height:last-child{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host .frame--advancing*/.sc-calcite-flow-h .frame--advancing.sc-calcite-flow{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}/*!@:host .frame--retreating*/.sc-calcite-flow-h .frame--retreating.sc-calcite-flow{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
19203
|
+
const flowCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-h *.sc-calcite-flow{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-h{display:none}/*!@:host*/.sc-calcite-flow-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}/*!@:host .frame*/.sc-calcite-flow-h .frame.sc-calcite-flow{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}/*!@:host ::slotted(calcite-flow-item), \n:host ::slotted(calcite-panel)*/.sc-calcite-flow-h .sc-calcite-flow-s>calcite-flow-item,.sc-calcite-flow-h .sc-calcite-flow-s>calcite-panel{block-size:100%}/*!@:host ::slotted(.calcite-match-height:last-child)*/.sc-calcite-flow-h .sc-calcite-flow-s>.calcite-match-height:last-child{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host .frame--advancing*/.sc-calcite-flow-h .frame--advancing.sc-calcite-flow{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}/*!@:host .frame--retreating*/.sc-calcite-flow-h .frame--retreating.sc-calcite-flow{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";
|
|
19029
19204
|
|
|
19030
19205
|
/**
|
|
19031
|
-
* @slot - A slot for adding `calcite-panel`s to the flow.
|
|
19206
|
+
* @slot - A slot for adding `calcite-flow-item` or `calcite-panel`s (deprecated) to the flow.
|
|
19032
19207
|
*/
|
|
19033
19208
|
class Flow {
|
|
19034
19209
|
constructor(hostRef) {
|
|
19035
19210
|
registerInstance(this, hostRef);
|
|
19036
|
-
this.panelCount = 0;
|
|
19037
19211
|
this.flowDirection = null;
|
|
19038
|
-
this.
|
|
19039
|
-
this.
|
|
19040
|
-
this.
|
|
19041
|
-
|
|
19042
|
-
const
|
|
19212
|
+
this.itemCount = 0;
|
|
19213
|
+
this.items = [];
|
|
19214
|
+
this.itemMutationObserver = createObserver();
|
|
19215
|
+
this.getFlowDirection = (oldFlowItemCount, newFlowItemCount) => {
|
|
19216
|
+
const allowRetreatingDirection = oldFlowItemCount > 1;
|
|
19217
|
+
const allowAdvancingDirection = oldFlowItemCount && newFlowItemCount > 1;
|
|
19043
19218
|
if (!allowAdvancingDirection && !allowRetreatingDirection) {
|
|
19044
19219
|
return null;
|
|
19045
19220
|
}
|
|
19046
|
-
return
|
|
19221
|
+
return newFlowItemCount < oldFlowItemCount ? "retreating" : "advancing";
|
|
19047
19222
|
};
|
|
19048
19223
|
this.updateFlowProps = () => {
|
|
19049
|
-
const { el,
|
|
19050
|
-
const
|
|
19051
|
-
const
|
|
19052
|
-
const
|
|
19053
|
-
const
|
|
19054
|
-
const
|
|
19055
|
-
if (
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19224
|
+
const { el, items } = this;
|
|
19225
|
+
const newItems = Array.from(el.querySelectorAll("calcite-flow-item, calcite-panel")).filter((flowItem) => !flowItem.matches("calcite-flow-item calcite-flow-item, calcite-panel calcite-panel"));
|
|
19226
|
+
const oldItemCount = items.length;
|
|
19227
|
+
const newItemCount = newItems.length;
|
|
19228
|
+
const activeItem = newItems[newItemCount - 1];
|
|
19229
|
+
const previousItem = newItems[newItemCount - 2];
|
|
19230
|
+
if (newItemCount && activeItem) {
|
|
19231
|
+
newItems.forEach((itemNode) => {
|
|
19232
|
+
itemNode.showBackButton = itemNode === activeItem && newItemCount > 1;
|
|
19233
|
+
itemNode.hidden = itemNode !== activeItem;
|
|
19059
19234
|
});
|
|
19060
19235
|
}
|
|
19061
|
-
if (
|
|
19062
|
-
|
|
19236
|
+
if (previousItem) {
|
|
19237
|
+
previousItem.menuOpen = false;
|
|
19063
19238
|
}
|
|
19064
|
-
this.
|
|
19065
|
-
if (
|
|
19066
|
-
const flowDirection = this.getFlowDirection(
|
|
19067
|
-
this.
|
|
19239
|
+
this.items = newItems;
|
|
19240
|
+
if (oldItemCount !== newItemCount) {
|
|
19241
|
+
const flowDirection = this.getFlowDirection(oldItemCount, newItemCount);
|
|
19242
|
+
this.itemCount = newItemCount;
|
|
19068
19243
|
this.flowDirection = flowDirection;
|
|
19069
19244
|
}
|
|
19070
19245
|
};
|
|
@@ -19075,11 +19250,11 @@ class Flow {
|
|
|
19075
19250
|
//
|
|
19076
19251
|
// --------------------------------------------------------------------------
|
|
19077
19252
|
/**
|
|
19078
|
-
* Removes the currently active `calcite-panel`.
|
|
19253
|
+
* Removes the currently active `calcite-flow-item` or `calcite-panel`.
|
|
19079
19254
|
*/
|
|
19080
19255
|
async back() {
|
|
19081
|
-
const {
|
|
19082
|
-
const lastItem =
|
|
19256
|
+
const { items } = this;
|
|
19257
|
+
const lastItem = items[items.length - 1];
|
|
19083
19258
|
if (!lastItem) {
|
|
19084
19259
|
return;
|
|
19085
19260
|
}
|
|
@@ -19098,19 +19273,19 @@ class Flow {
|
|
|
19098
19273
|
// --------------------------------------------------------------------------
|
|
19099
19274
|
connectedCallback() {
|
|
19100
19275
|
var _a;
|
|
19101
|
-
(_a = this.
|
|
19276
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
19102
19277
|
this.updateFlowProps();
|
|
19103
19278
|
}
|
|
19104
19279
|
disconnectedCallback() {
|
|
19105
19280
|
var _a;
|
|
19106
|
-
(_a = this.
|
|
19281
|
+
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19107
19282
|
}
|
|
19108
19283
|
// --------------------------------------------------------------------------
|
|
19109
19284
|
//
|
|
19110
19285
|
// Private Methods
|
|
19111
19286
|
//
|
|
19112
19287
|
// --------------------------------------------------------------------------
|
|
19113
|
-
|
|
19288
|
+
handleItemBackClick() {
|
|
19114
19289
|
this.back();
|
|
19115
19290
|
}
|
|
19116
19291
|
// --------------------------------------------------------------------------
|
|
@@ -19121,9 +19296,9 @@ class Flow {
|
|
|
19121
19296
|
render() {
|
|
19122
19297
|
const { flowDirection } = this;
|
|
19123
19298
|
const frameDirectionClasses = {
|
|
19124
|
-
[CSS$
|
|
19125
|
-
[CSS$
|
|
19126
|
-
[CSS$
|
|
19299
|
+
[CSS$A.frame]: true,
|
|
19300
|
+
[CSS$A.frameAdvancing]: flowDirection === "advancing",
|
|
19301
|
+
[CSS$A.frameRetreating]: flowDirection === "retreating"
|
|
19127
19302
|
};
|
|
19128
19303
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19129
19304
|
}
|
|
@@ -19133,17 +19308,218 @@ class Flow {
|
|
|
19133
19308
|
"$flags$": 9,
|
|
19134
19309
|
"$tagName$": "calcite-flow",
|
|
19135
19310
|
"$members$": {
|
|
19136
|
-
"panelCount": [32],
|
|
19137
19311
|
"flowDirection": [32],
|
|
19138
|
-
"
|
|
19312
|
+
"itemCount": [32],
|
|
19313
|
+
"items": [32],
|
|
19139
19314
|
"back": [64]
|
|
19140
19315
|
},
|
|
19141
|
-
"$listeners$": [[0, "calcitePanelBackClick", "
|
|
19316
|
+
"$listeners$": [[0, "calciteFlowItemBackClick", "handleItemBackClick"], [0, "calcitePanelBackClick", "handleItemBackClick"]],
|
|
19142
19317
|
"$lazyBundleId$": "-",
|
|
19143
19318
|
"$attrsToReflect$": []
|
|
19144
19319
|
}; }
|
|
19145
19320
|
}
|
|
19146
19321
|
|
|
19322
|
+
const CSS$z = {
|
|
19323
|
+
backButton: "back-button"
|
|
19324
|
+
};
|
|
19325
|
+
const ICONS$8 = {
|
|
19326
|
+
backLeft: "chevron-left",
|
|
19327
|
+
backRight: "chevron-right"
|
|
19328
|
+
};
|
|
19329
|
+
const TEXT$g = {
|
|
19330
|
+
back: "Back"
|
|
19331
|
+
};
|
|
19332
|
+
const SLOTS$j = {
|
|
19333
|
+
headerActionsStart: "header-actions-start",
|
|
19334
|
+
headerActionsEnd: "header-actions-end",
|
|
19335
|
+
headerMenuActions: "header-menu-actions",
|
|
19336
|
+
headerContent: "header-content",
|
|
19337
|
+
fab: "fab",
|
|
19338
|
+
footer: "footer",
|
|
19339
|
+
footerActions: "footer-actions"
|
|
19340
|
+
};
|
|
19341
|
+
|
|
19342
|
+
const CSS$y = {
|
|
19343
|
+
backButton: "back-button",
|
|
19344
|
+
container: "container",
|
|
19345
|
+
header: "header",
|
|
19346
|
+
heading: "heading",
|
|
19347
|
+
summary: "summary",
|
|
19348
|
+
description: "description",
|
|
19349
|
+
headerContent: "header-content",
|
|
19350
|
+
headerActions: "header-actions",
|
|
19351
|
+
headerActionsEnd: "header-actions--end",
|
|
19352
|
+
headerActionsStart: "header-actions--start",
|
|
19353
|
+
contentWrapper: "content-wrapper",
|
|
19354
|
+
contentContainer: "content-container",
|
|
19355
|
+
contentHeight: "content-height",
|
|
19356
|
+
fabContainer: "fab-container",
|
|
19357
|
+
footer: "footer"
|
|
19358
|
+
};
|
|
19359
|
+
const ICONS$7 = {
|
|
19360
|
+
close: "x",
|
|
19361
|
+
menu: "ellipsis",
|
|
19362
|
+
backLeft: "chevron-left",
|
|
19363
|
+
backRight: "chevron-right"
|
|
19364
|
+
};
|
|
19365
|
+
const SLOTS$i = {
|
|
19366
|
+
headerActionsStart: "header-actions-start",
|
|
19367
|
+
headerActionsEnd: "header-actions-end",
|
|
19368
|
+
headerMenuActions: "header-menu-actions",
|
|
19369
|
+
headerContent: "header-content",
|
|
19370
|
+
fab: "fab",
|
|
19371
|
+
footer: "footer",
|
|
19372
|
+
footerActions: "footer-actions"
|
|
19373
|
+
};
|
|
19374
|
+
const TEXT$f = {
|
|
19375
|
+
back: "Back",
|
|
19376
|
+
close: "Close",
|
|
19377
|
+
open: "Open",
|
|
19378
|
+
options: "Options"
|
|
19379
|
+
};
|
|
19380
|
+
const HEADING_LEVEL$5 = 3;
|
|
19381
|
+
|
|
19382
|
+
const flowItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-flow-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-flow-item{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-flow-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-flow-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-flow-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-flow-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-flow-item-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-flow-item-h *.sc-calcite-flow-item{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-flow-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-flow-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-flow-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-flow-item-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-flow-item-h[disabled] .sc-calcite-flow-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-flow-item-h [calcite-hydrated][disabled].sc-calcite-flow-item{opacity:1}/*!@.back-button*/.back-button.sc-calcite-flow-item{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}";
|
|
19383
|
+
|
|
19384
|
+
/**
|
|
19385
|
+
* @slot - A slot for adding custom content.
|
|
19386
|
+
* @slot header-actions-start - A slot for adding actions or content to the start side of the header.
|
|
19387
|
+
* @slot header-actions-end - A slot for adding actions or content to the end side of the header.
|
|
19388
|
+
* @slot header-content - A slot for adding custom content to the header.
|
|
19389
|
+
* @slot header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
|
|
19390
|
+
* @slot fab - A slot for adding a `calcite-fab` (floating action button) to perform an action.
|
|
19391
|
+
* @slot footer-actions - A slot for adding buttons to the footer.
|
|
19392
|
+
* @slot footer - A slot for adding custom content to the footer.
|
|
19393
|
+
*/
|
|
19394
|
+
class FlowItem {
|
|
19395
|
+
constructor(hostRef) {
|
|
19396
|
+
registerInstance(this, hostRef);
|
|
19397
|
+
this.calciteFlowItemBackClick = createEvent(this, "calciteFlowItemBackClick", 6);
|
|
19398
|
+
// --------------------------------------------------------------------------
|
|
19399
|
+
//
|
|
19400
|
+
// Properties
|
|
19401
|
+
//
|
|
19402
|
+
// --------------------------------------------------------------------------
|
|
19403
|
+
/** When true, displays a close button in the trailing side of the header */
|
|
19404
|
+
this.closable = false;
|
|
19405
|
+
/** When true, flow-item will be hidden */
|
|
19406
|
+
this.closed = false;
|
|
19407
|
+
/**
|
|
19408
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
19409
|
+
*/
|
|
19410
|
+
this.disabled = false;
|
|
19411
|
+
/**
|
|
19412
|
+
* When true, a busy indicator is displayed.
|
|
19413
|
+
*/
|
|
19414
|
+
this.loading = false;
|
|
19415
|
+
/**
|
|
19416
|
+
* When true, the action menu items in the `header-menu-actions` slot are open.
|
|
19417
|
+
*/
|
|
19418
|
+
this.menuOpen = false;
|
|
19419
|
+
/**
|
|
19420
|
+
* When true, displays a back button in the header.
|
|
19421
|
+
*/
|
|
19422
|
+
this.showBackButton = false;
|
|
19423
|
+
// --------------------------------------------------------------------------
|
|
19424
|
+
//
|
|
19425
|
+
// Private Methods
|
|
19426
|
+
//
|
|
19427
|
+
// --------------------------------------------------------------------------
|
|
19428
|
+
this.backButtonClick = () => {
|
|
19429
|
+
this.calciteFlowItemBackClick.emit();
|
|
19430
|
+
};
|
|
19431
|
+
this.setBackRef = (node) => {
|
|
19432
|
+
this.backButtonEl = node;
|
|
19433
|
+
};
|
|
19434
|
+
}
|
|
19435
|
+
//--------------------------------------------------------------------------
|
|
19436
|
+
//
|
|
19437
|
+
// Lifecycle
|
|
19438
|
+
//
|
|
19439
|
+
//--------------------------------------------------------------------------
|
|
19440
|
+
componentDidRender() {
|
|
19441
|
+
updateHostInteraction(this);
|
|
19442
|
+
}
|
|
19443
|
+
// --------------------------------------------------------------------------
|
|
19444
|
+
//
|
|
19445
|
+
// Methods
|
|
19446
|
+
//
|
|
19447
|
+
// --------------------------------------------------------------------------
|
|
19448
|
+
/**
|
|
19449
|
+
* Sets focus on the component.
|
|
19450
|
+
*/
|
|
19451
|
+
async setFocus() {
|
|
19452
|
+
const { backButtonEl, containerEl } = this;
|
|
19453
|
+
if (backButtonEl) {
|
|
19454
|
+
backButtonEl.setFocus();
|
|
19455
|
+
return;
|
|
19456
|
+
}
|
|
19457
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.setFocus();
|
|
19458
|
+
}
|
|
19459
|
+
/**
|
|
19460
|
+
* Scrolls the component's content to a specified set of coordinates.
|
|
19461
|
+
*
|
|
19462
|
+
* ```
|
|
19463
|
+
* myCalciteFlowItem.scrollContentTo({
|
|
19464
|
+
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
|
19465
|
+
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
|
19466
|
+
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
|
19467
|
+
* });
|
|
19468
|
+
* ```
|
|
19469
|
+
*
|
|
19470
|
+
* @param options
|
|
19471
|
+
*/
|
|
19472
|
+
async scrollContentTo(options) {
|
|
19473
|
+
var _a;
|
|
19474
|
+
(_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.scrollContentTo(options);
|
|
19475
|
+
}
|
|
19476
|
+
// --------------------------------------------------------------------------
|
|
19477
|
+
//
|
|
19478
|
+
// Render Methods
|
|
19479
|
+
//
|
|
19480
|
+
// --------------------------------------------------------------------------
|
|
19481
|
+
renderBackButton() {
|
|
19482
|
+
const { el } = this;
|
|
19483
|
+
const rtl = getElementDir(el) === "rtl";
|
|
19484
|
+
const { showBackButton, intlBack, backButtonClick } = this;
|
|
19485
|
+
const label = intlBack || TEXT$g.back;
|
|
19486
|
+
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
19487
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
19488
|
+
}
|
|
19489
|
+
render() {
|
|
19490
|
+
const { closable, closed, description, disabled, heading, headingLevel, heightScale, intlBack, intlClose, intlOptions, loading, menuOpen, widthScale } = this;
|
|
19491
|
+
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, heightScale: heightScale, intlBack: intlBack, intlClose: intlClose, intlOptions: intlOptions, loading: loading, menuOpen: menuOpen, widthScale: widthScale }, hAsync("slot", { name: SLOTS$j.headerActionsStart, slot: SLOTS$i.headerActionsStart }), hAsync("slot", { name: SLOTS$j.headerActionsEnd, slot: SLOTS$i.headerActionsEnd }), hAsync("slot", { name: SLOTS$j.headerContent, slot: SLOTS$i.headerContent }), hAsync("slot", { name: SLOTS$j.headerMenuActions, slot: SLOTS$i.headerMenuActions }), hAsync("slot", { name: SLOTS$j.fab, slot: SLOTS$i.fab }), hAsync("slot", { name: SLOTS$j.footerActions, slot: SLOTS$i.footerActions }), hAsync("slot", { name: SLOTS$j.footer, slot: SLOTS$i.footer }), hAsync("slot", null), this.renderBackButton())));
|
|
19492
|
+
}
|
|
19493
|
+
get el() { return getElement(this); }
|
|
19494
|
+
static get style() { return flowItemCss; }
|
|
19495
|
+
static get cmpMeta() { return {
|
|
19496
|
+
"$flags$": 9,
|
|
19497
|
+
"$tagName$": "calcite-flow-item",
|
|
19498
|
+
"$members$": {
|
|
19499
|
+
"closable": [1540],
|
|
19500
|
+
"closed": [1540],
|
|
19501
|
+
"beforeBack": [16],
|
|
19502
|
+
"description": [1],
|
|
19503
|
+
"disabled": [516],
|
|
19504
|
+
"heading": [1],
|
|
19505
|
+
"headingLevel": [2, "heading-level"],
|
|
19506
|
+
"heightScale": [513, "height-scale"],
|
|
19507
|
+
"intlBack": [1, "intl-back"],
|
|
19508
|
+
"intlClose": [1, "intl-close"],
|
|
19509
|
+
"intlOptions": [1, "intl-options"],
|
|
19510
|
+
"loading": [516],
|
|
19511
|
+
"menuOpen": [516, "menu-open"],
|
|
19512
|
+
"showBackButton": [516, "show-back-button"],
|
|
19513
|
+
"widthScale": [513, "width-scale"],
|
|
19514
|
+
"setFocus": [64],
|
|
19515
|
+
"scrollContentTo": [64]
|
|
19516
|
+
},
|
|
19517
|
+
"$listeners$": undefined,
|
|
19518
|
+
"$lazyBundleId$": "-",
|
|
19519
|
+
"$attrsToReflect$": [["closable", "closable"], ["closed", "closed"], ["disabled", "disabled"], ["heightScale", "height-scale"], ["loading", "loading"], ["menuOpen", "menu-open"], ["showBackButton", "show-back-button"], ["widthScale", "width-scale"]]
|
|
19520
|
+
}; }
|
|
19521
|
+
}
|
|
19522
|
+
|
|
19147
19523
|
/**
|
|
19148
19524
|
* Calculate slope of the tangents
|
|
19149
19525
|
* uses Steffen interpolation as it's monotonic
|
|
@@ -19375,11 +19751,11 @@ class Graph {
|
|
|
19375
19751
|
}; }
|
|
19376
19752
|
}
|
|
19377
19753
|
|
|
19378
|
-
const CSS$
|
|
19754
|
+
const CSS$x = {
|
|
19379
19755
|
handle: "handle",
|
|
19380
19756
|
handleActivated: "handle--activated"
|
|
19381
19757
|
};
|
|
19382
|
-
const ICONS$
|
|
19758
|
+
const ICONS$6 = {
|
|
19383
19759
|
drag: "drag"
|
|
19384
19760
|
};
|
|
19385
19761
|
|
|
@@ -19446,9 +19822,9 @@ class Handle {
|
|
|
19446
19822
|
render() {
|
|
19447
19823
|
return (
|
|
19448
19824
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
19449
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
19825
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$x.handle]: true, [CSS$x.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
19450
19826
|
this.handleButton = el;
|
|
19451
|
-
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$
|
|
19827
|
+
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$6.drag, scale: "s" })));
|
|
19452
19828
|
}
|
|
19453
19829
|
get el() { return getElement(this); }
|
|
19454
19830
|
static get style() { return handleCss; }
|
|
@@ -19466,7 +19842,7 @@ class Handle {
|
|
|
19466
19842
|
}; }
|
|
19467
19843
|
}
|
|
19468
19844
|
|
|
19469
|
-
const CSS$
|
|
19845
|
+
const CSS$w = {
|
|
19470
19846
|
icon: "icon",
|
|
19471
19847
|
flipRtl: "flip-rtl"
|
|
19472
19848
|
};
|
|
@@ -19527,7 +19903,7 @@ class Icon {
|
|
|
19527
19903
|
const semantic = !!textLabel;
|
|
19528
19904
|
const paths = [].concat(pathData || "");
|
|
19529
19905
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19530
|
-
[CSS$
|
|
19906
|
+
[CSS$w.flipRtl]: dir === "rtl" && flipRtl,
|
|
19531
19907
|
svg: true
|
|
19532
19908
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
19533
19909
|
}
|
|
@@ -19573,7 +19949,7 @@ class Icon {
|
|
|
19573
19949
|
}; }
|
|
19574
19950
|
}
|
|
19575
19951
|
|
|
19576
|
-
const CSS$
|
|
19952
|
+
const CSS$v = {
|
|
19577
19953
|
wrapper: "wrapper",
|
|
19578
19954
|
confirmChangesButton: "confirm-changes-button",
|
|
19579
19955
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -19582,7 +19958,7 @@ const CSS$w = {
|
|
|
19582
19958
|
enableEditingButton: "enable-editing-button",
|
|
19583
19959
|
controlsWrapper: "controls-wrapper"
|
|
19584
19960
|
};
|
|
19585
|
-
const TEXT$
|
|
19961
|
+
const TEXT$e = {
|
|
19586
19962
|
intlEnablingEditing: "Click to edit",
|
|
19587
19963
|
intlCancelEditing: "Cancel",
|
|
19588
19964
|
intlConfirmChanges: "Save"
|
|
@@ -19617,19 +19993,19 @@ class InlineEditable {
|
|
|
19617
19993
|
*
|
|
19618
19994
|
* @default "Click to edit"
|
|
19619
19995
|
*/
|
|
19620
|
-
this.intlEnableEditing = TEXT$
|
|
19996
|
+
this.intlEnableEditing = TEXT$e.intlEnablingEditing;
|
|
19621
19997
|
/**
|
|
19622
19998
|
* specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
|
|
19623
19999
|
*
|
|
19624
20000
|
* @default "Cancel"
|
|
19625
20001
|
*/
|
|
19626
|
-
this.intlCancelEditing = TEXT$
|
|
20002
|
+
this.intlCancelEditing = TEXT$e.intlCancelEditing;
|
|
19627
20003
|
/**
|
|
19628
20004
|
* specify text to be user for the confirm changes button's aria-label, defaults to `Save`
|
|
19629
20005
|
*
|
|
19630
20006
|
* @default "Save"
|
|
19631
20007
|
*/
|
|
19632
|
-
this.intlConfirmChanges = TEXT$
|
|
20008
|
+
this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
|
|
19633
20009
|
this.mutationObserver = createObserver();
|
|
19634
20010
|
this.enableEditing = () => {
|
|
19635
20011
|
var _a, _b;
|
|
@@ -19737,12 +20113,12 @@ class InlineEditable {
|
|
|
19737
20113
|
updateHostInteraction(this);
|
|
19738
20114
|
}
|
|
19739
20115
|
render() {
|
|
19740
|
-
return (hAsync("div", { class: CSS$
|
|
20116
|
+
return (hAsync("div", { class: CSS$v.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$v.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$v.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
19741
20117
|
opacity: this.editingEnabled ? "0" : "1",
|
|
19742
20118
|
width: this.editingEnabled ? "0" : "inherit"
|
|
19743
20119
|
}, type: "button" }), this.shouldShowControls && [
|
|
19744
|
-
hAsync("div", { class: CSS$
|
|
19745
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
20120
|
+
hAsync("div", { class: CSS$v.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
20121
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$v.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
19746
20122
|
])));
|
|
19747
20123
|
}
|
|
19748
20124
|
//--------------------------------------------------------------------------
|
|
@@ -19824,7 +20200,7 @@ class InlineEditable {
|
|
|
19824
20200
|
}; }
|
|
19825
20201
|
}
|
|
19826
20202
|
|
|
19827
|
-
const CSS$
|
|
20203
|
+
const CSS$u = {
|
|
19828
20204
|
loader: "loader",
|
|
19829
20205
|
clearButton: "clear-button",
|
|
19830
20206
|
editingEnabled: "editing-enabled",
|
|
@@ -19848,10 +20224,10 @@ const INPUT_TYPE_ICONS = {
|
|
|
19848
20224
|
time: "clock",
|
|
19849
20225
|
search: "search"
|
|
19850
20226
|
};
|
|
19851
|
-
const SLOTS$
|
|
20227
|
+
const SLOTS$h = {
|
|
19852
20228
|
action: "action"
|
|
19853
20229
|
};
|
|
19854
|
-
const TEXT$
|
|
20230
|
+
const TEXT$d = {
|
|
19855
20231
|
clear: "Clear value"
|
|
19856
20232
|
};
|
|
19857
20233
|
|
|
@@ -19905,7 +20281,7 @@ class Input {
|
|
|
19905
20281
|
*
|
|
19906
20282
|
* @default "Loading"
|
|
19907
20283
|
*/
|
|
19908
|
-
this.intlLoading = TEXT$
|
|
20284
|
+
this.intlLoading = TEXT$v.loading;
|
|
19909
20285
|
/** When true, the icon is flipped in RTL. */
|
|
19910
20286
|
this.iconFlipRtl = false;
|
|
19911
20287
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -20403,34 +20779,34 @@ class Input {
|
|
|
20403
20779
|
// --------------------------------------------------------------------------
|
|
20404
20780
|
render() {
|
|
20405
20781
|
const dir = getElementDir(this.el);
|
|
20406
|
-
const loader = (hAsync("div", { class: CSS$
|
|
20407
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
20408
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
20782
|
+
const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
20783
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
20784
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
20409
20785
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
20410
20786
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
20411
|
-
[CSS$
|
|
20412
|
-
[CSS$
|
|
20787
|
+
[CSS$u.numberButtonItem]: true,
|
|
20788
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20413
20789
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
20414
20790
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
20415
|
-
[CSS$
|
|
20416
|
-
[CSS$
|
|
20791
|
+
[CSS$u.numberButtonItem]: true,
|
|
20792
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
20417
20793
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
20418
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
20419
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
20420
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
20794
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
20795
|
+
const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
|
|
20796
|
+
const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
|
|
20421
20797
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
20422
20798
|
const childEl = this.type !== "number"
|
|
20423
20799
|
? [
|
|
20424
20800
|
hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
20425
|
-
[CSS$
|
|
20426
|
-
[CSS$
|
|
20801
|
+
[CSS$u.editingEnabled]: this.editingEnabled,
|
|
20802
|
+
[CSS$u.inlineChild]: !!this.inlineEditableEl
|
|
20427
20803
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
20428
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
20804
|
+
this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
20429
20805
|
]
|
|
20430
20806
|
: null;
|
|
20431
|
-
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
20807
|
+
return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20432
20808
|
? numberButtonsHorizontalDown
|
|
20433
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
20809
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
20434
20810
|
? numberButtonsVertical
|
|
20435
20811
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
20436
20812
|
? numberButtonsHorizontalUp
|
|
@@ -20493,7 +20869,7 @@ class Input {
|
|
|
20493
20869
|
}; }
|
|
20494
20870
|
}
|
|
20495
20871
|
|
|
20496
|
-
const CSS$
|
|
20872
|
+
const CSS$t = {
|
|
20497
20873
|
menu: "menu-container",
|
|
20498
20874
|
menuActive: "menu-container--active"
|
|
20499
20875
|
};
|
|
@@ -20538,19 +20914,19 @@ class InputDatePicker {
|
|
|
20538
20914
|
*
|
|
20539
20915
|
* @default "Previous month"
|
|
20540
20916
|
*/
|
|
20541
|
-
this.intlPrevMonth = TEXT$
|
|
20917
|
+
this.intlPrevMonth = TEXT$i.prevMonth;
|
|
20542
20918
|
/**
|
|
20543
20919
|
* Localized string for "next month" (used for aria label)
|
|
20544
20920
|
*
|
|
20545
20921
|
* @default "Next month"
|
|
20546
20922
|
*/
|
|
20547
|
-
this.intlNextMonth = TEXT$
|
|
20923
|
+
this.intlNextMonth = TEXT$i.nextMonth;
|
|
20548
20924
|
/**
|
|
20549
20925
|
* Localized string for "year" (used for aria label)
|
|
20550
20926
|
*
|
|
20551
20927
|
* @default "Year"
|
|
20552
20928
|
*/
|
|
20553
|
-
this.intlYear = TEXT$
|
|
20929
|
+
this.intlYear = TEXT$i.year;
|
|
20554
20930
|
/** BCP 47 language tag for desired language and country format */
|
|
20555
20931
|
this.locale = document.documentElement.lang || "en";
|
|
20556
20932
|
/** specify the scale of the date picker */
|
|
@@ -20829,8 +21205,8 @@ class InputDatePicker {
|
|
|
20829
21205
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20830
21206
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20831
21207
|
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
20832
|
-
[CSS$
|
|
20833
|
-
[CSS$
|
|
21208
|
+
[CSS$t.menu]: true,
|
|
21209
|
+
[CSS$t.menuActive]: this.open
|
|
20834
21210
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
20835
21211
|
["calendar-picker-wrapper"]: true,
|
|
20836
21212
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -21143,7 +21519,7 @@ class InputMessage {
|
|
|
21143
21519
|
}; }
|
|
21144
21520
|
}
|
|
21145
21521
|
|
|
21146
|
-
const CSS$
|
|
21522
|
+
const CSS$s = {
|
|
21147
21523
|
loader: "loader",
|
|
21148
21524
|
clearButton: "clear-button",
|
|
21149
21525
|
editingEnabled: "editing-enabled",
|
|
@@ -21159,10 +21535,10 @@ const CSS$t = {
|
|
|
21159
21535
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
21160
21536
|
numberButtonItem: "number-button-item"
|
|
21161
21537
|
};
|
|
21162
|
-
const SLOTS$
|
|
21538
|
+
const SLOTS$g = {
|
|
21163
21539
|
action: "action"
|
|
21164
21540
|
};
|
|
21165
|
-
const TEXT$
|
|
21541
|
+
const TEXT$c = {
|
|
21166
21542
|
clear: "Clear value"
|
|
21167
21543
|
};
|
|
21168
21544
|
|
|
@@ -21216,7 +21592,7 @@ class InputNumber {
|
|
|
21216
21592
|
*
|
|
21217
21593
|
* @default "Loading"
|
|
21218
21594
|
*/
|
|
21219
|
-
this.intlLoading = TEXT$
|
|
21595
|
+
this.intlLoading = TEXT$v.loading;
|
|
21220
21596
|
/** When true, the icon is flipped in RTL. */
|
|
21221
21597
|
this.iconFlipRtl = false;
|
|
21222
21598
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -21630,25 +22006,25 @@ class InputNumber {
|
|
|
21630
22006
|
// --------------------------------------------------------------------------
|
|
21631
22007
|
render() {
|
|
21632
22008
|
const dir = getElementDir(this.el);
|
|
21633
|
-
const loader = (hAsync("div", { class: CSS$
|
|
21634
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
21635
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22009
|
+
const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
22010
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
22011
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
21636
22012
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
21637
22013
|
const numberButtonsHorizontalUp = (hAsync("button", { class: {
|
|
21638
|
-
[CSS$
|
|
21639
|
-
[CSS$
|
|
22014
|
+
[CSS$s.numberButtonItem]: true,
|
|
22015
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21640
22016
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
21641
22017
|
const numberButtonsHorizontalDown = (hAsync("button", { class: {
|
|
21642
|
-
[CSS$
|
|
21643
|
-
[CSS$
|
|
22018
|
+
[CSS$s.numberButtonItem]: true,
|
|
22019
|
+
[CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21644
22020
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
21645
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
21646
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
21647
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22021
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22022
|
+
const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
|
|
22023
|
+
const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
|
|
21648
22024
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
21649
|
-
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22025
|
+
return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
21650
22026
|
? numberButtonsHorizontalDown
|
|
21651
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22027
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
21652
22028
|
? numberButtonsHorizontalUp
|
|
21653
22029
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
21654
22030
|
}
|
|
@@ -21706,7 +22082,7 @@ class InputNumber {
|
|
|
21706
22082
|
}; }
|
|
21707
22083
|
}
|
|
21708
22084
|
|
|
21709
|
-
const CSS$
|
|
22085
|
+
const CSS$r = {
|
|
21710
22086
|
loader: "loader",
|
|
21711
22087
|
clearButton: "clear-button",
|
|
21712
22088
|
editingEnabled: "editing-enabled",
|
|
@@ -21719,10 +22095,10 @@ const CSS$s = {
|
|
|
21719
22095
|
actionWrapper: "action-wrapper",
|
|
21720
22096
|
resizeIconWrapper: "resize-icon-wrapper"
|
|
21721
22097
|
};
|
|
21722
|
-
const SLOTS$
|
|
22098
|
+
const SLOTS$f = {
|
|
21723
22099
|
action: "action"
|
|
21724
22100
|
};
|
|
21725
|
-
const TEXT$
|
|
22101
|
+
const TEXT$b = {
|
|
21726
22102
|
clear: "Clear value"
|
|
21727
22103
|
};
|
|
21728
22104
|
|
|
@@ -21772,7 +22148,7 @@ class InputText {
|
|
|
21772
22148
|
*
|
|
21773
22149
|
* @default "Loading"
|
|
21774
22150
|
*/
|
|
21775
|
-
this.intlLoading = TEXT$
|
|
22151
|
+
this.intlLoading = TEXT$v.loading;
|
|
21776
22152
|
/** When true, the icon is flipped in RTL. */
|
|
21777
22153
|
this.iconFlipRtl = false;
|
|
21778
22154
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -22014,16 +22390,16 @@ class InputText {
|
|
|
22014
22390
|
// --------------------------------------------------------------------------
|
|
22015
22391
|
render() {
|
|
22016
22392
|
const dir = getElementDir(this.el);
|
|
22017
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22018
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$
|
|
22019
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22020
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22021
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22393
|
+
const loader = (hAsync("div", { class: CSS$r.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
22394
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$b.clear, class: CSS$r.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
|
|
22395
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$r.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
22396
|
+
const prefixText = hAsync("div", { class: CSS$r.prefix }, this.prefixText);
|
|
22397
|
+
const suffixText = hAsync("div", { class: CSS$r.suffix }, this.suffixText);
|
|
22022
22398
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
22023
|
-
[CSS$
|
|
22024
|
-
[CSS$
|
|
22399
|
+
[CSS$r.editingEnabled]: this.editingEnabled,
|
|
22400
|
+
[CSS$r.inlineChild]: !!this.inlineEditableEl
|
|
22025
22401
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
22026
|
-
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22402
|
+
return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$r.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$r.actionWrapper }, hAsync("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22027
22403
|
}
|
|
22028
22404
|
get el() { return getElement(this); }
|
|
22029
22405
|
static get watchers() { return {
|
|
@@ -22255,8 +22631,14 @@ class InputTimePicker {
|
|
|
22255
22631
|
// Properties
|
|
22256
22632
|
//
|
|
22257
22633
|
//--------------------------------------------------------------------------
|
|
22258
|
-
/**
|
|
22634
|
+
/**
|
|
22635
|
+
* The active state of the time input
|
|
22636
|
+
*
|
|
22637
|
+
* @deprecated Use open instead.
|
|
22638
|
+
*/
|
|
22259
22639
|
this.active = false;
|
|
22640
|
+
/** When true, displays the `calcite-time-picker` component.*/
|
|
22641
|
+
this.open = false;
|
|
22260
22642
|
/** The disabled state of the time input */
|
|
22261
22643
|
this.disabled = false;
|
|
22262
22644
|
/**
|
|
@@ -22299,14 +22681,14 @@ class InputTimePicker {
|
|
|
22299
22681
|
//
|
|
22300
22682
|
//--------------------------------------------------------------------------
|
|
22301
22683
|
this.calciteInternalInputBlurHandler = () => {
|
|
22302
|
-
this.
|
|
22684
|
+
this.open = false;
|
|
22303
22685
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
22304
22686
|
const localizedInputValue = localizeTimeString(this.calciteInputEl.value, this.locale, shouldIncludeSeconds);
|
|
22305
22687
|
this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
|
|
22306
22688
|
};
|
|
22307
22689
|
this.calciteInternalInputFocusHandler = (event) => {
|
|
22308
22690
|
if (!this.readOnly) {
|
|
22309
|
-
this.
|
|
22691
|
+
this.open = true;
|
|
22310
22692
|
event.stopPropagation();
|
|
22311
22693
|
}
|
|
22312
22694
|
};
|
|
@@ -22335,8 +22717,8 @@ class InputTimePicker {
|
|
|
22335
22717
|
event.preventDefault();
|
|
22336
22718
|
}
|
|
22337
22719
|
}
|
|
22338
|
-
if (key === "Escape" && this.
|
|
22339
|
-
this.
|
|
22720
|
+
if (key === "Escape" && this.open) {
|
|
22721
|
+
this.open = false;
|
|
22340
22722
|
event.preventDefault();
|
|
22341
22723
|
}
|
|
22342
22724
|
};
|
|
@@ -22395,16 +22777,20 @@ class InputTimePicker {
|
|
|
22395
22777
|
}
|
|
22396
22778
|
};
|
|
22397
22779
|
}
|
|
22398
|
-
activeHandler() {
|
|
22780
|
+
activeHandler(value) {
|
|
22781
|
+
this.open = value;
|
|
22782
|
+
}
|
|
22783
|
+
openHandler(value) {
|
|
22784
|
+
this.active = value;
|
|
22399
22785
|
if (this.disabled || this.readOnly) {
|
|
22400
|
-
this.
|
|
22786
|
+
this.open = false;
|
|
22401
22787
|
return;
|
|
22402
22788
|
}
|
|
22403
22789
|
this.reposition();
|
|
22404
22790
|
}
|
|
22405
22791
|
handleDisabledAndReadOnlyChange(value) {
|
|
22406
22792
|
if (!value) {
|
|
22407
|
-
this.
|
|
22793
|
+
this.open = false;
|
|
22408
22794
|
}
|
|
22409
22795
|
}
|
|
22410
22796
|
localeWatcher(newLocale) {
|
|
@@ -22425,13 +22811,13 @@ class InputTimePicker {
|
|
|
22425
22811
|
timePickerBlurHandler(event) {
|
|
22426
22812
|
event.preventDefault();
|
|
22427
22813
|
event.stopPropagation();
|
|
22428
|
-
this.
|
|
22814
|
+
this.open = false;
|
|
22429
22815
|
}
|
|
22430
22816
|
timePickerFocusHandler(event) {
|
|
22431
22817
|
event.preventDefault();
|
|
22432
22818
|
event.stopPropagation();
|
|
22433
22819
|
if (!this.readOnly) {
|
|
22434
|
-
this.
|
|
22820
|
+
this.open = true;
|
|
22435
22821
|
}
|
|
22436
22822
|
}
|
|
22437
22823
|
// --------------------------------------------------------------------------
|
|
@@ -22461,11 +22847,18 @@ class InputTimePicker {
|
|
|
22461
22847
|
//
|
|
22462
22848
|
//--------------------------------------------------------------------------
|
|
22463
22849
|
connectedCallback() {
|
|
22850
|
+
const { active, open } = this;
|
|
22464
22851
|
if (this.value) {
|
|
22465
22852
|
this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
|
|
22466
22853
|
}
|
|
22467
22854
|
connectLabel(this);
|
|
22468
22855
|
connectForm(this);
|
|
22856
|
+
if (open) {
|
|
22857
|
+
this.active = open;
|
|
22858
|
+
}
|
|
22859
|
+
else if (active) {
|
|
22860
|
+
this.open = active;
|
|
22861
|
+
}
|
|
22469
22862
|
}
|
|
22470
22863
|
componentDidLoad() {
|
|
22471
22864
|
this.setInputValue(this.localizedValue);
|
|
@@ -22484,11 +22877,12 @@ class InputTimePicker {
|
|
|
22484
22877
|
// --------------------------------------------------------------------------
|
|
22485
22878
|
render() {
|
|
22486
22879
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
22487
|
-
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.
|
|
22880
|
+
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { id: popoverId, label: "Time Picker", open: this.open, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
22488
22881
|
}
|
|
22489
22882
|
get el() { return getElement(this); }
|
|
22490
22883
|
static get watchers() { return {
|
|
22491
22884
|
"active": ["activeHandler"],
|
|
22885
|
+
"open": ["openHandler"],
|
|
22492
22886
|
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
22493
22887
|
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
22494
22888
|
"locale": ["localeWatcher"],
|
|
@@ -22500,6 +22894,7 @@ class InputTimePicker {
|
|
|
22500
22894
|
"$tagName$": "calcite-input-time-picker",
|
|
22501
22895
|
"$members$": {
|
|
22502
22896
|
"active": [1540],
|
|
22897
|
+
"open": [1540],
|
|
22503
22898
|
"disabled": [516],
|
|
22504
22899
|
"readOnly": [4, "read-only"],
|
|
22505
22900
|
"intlHour": [1, "intl-hour"],
|
|
@@ -22527,11 +22922,11 @@ class InputTimePicker {
|
|
|
22527
22922
|
},
|
|
22528
22923
|
"$listeners$": [[0, "click", "clickHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]],
|
|
22529
22924
|
"$lazyBundleId$": "-",
|
|
22530
|
-
"$attrsToReflect$": [["active", "active"], ["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
|
|
22925
|
+
"$attrsToReflect$": [["active", "active"], ["open", "open"], ["disabled", "disabled"], ["required", "required"], ["scale", "scale"], ["placement", "placement"]]
|
|
22531
22926
|
}; }
|
|
22532
22927
|
}
|
|
22533
22928
|
|
|
22534
|
-
const CSS$
|
|
22929
|
+
const CSS$q = {
|
|
22535
22930
|
container: "container"
|
|
22536
22931
|
};
|
|
22537
22932
|
|
|
@@ -22596,7 +22991,7 @@ class Label {
|
|
|
22596
22991
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
22597
22992
|
}
|
|
22598
22993
|
render() {
|
|
22599
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
22994
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$q.container }, hAsync("slot", null))));
|
|
22600
22995
|
}
|
|
22601
22996
|
get el() { return getElement(this); }
|
|
22602
22997
|
static get style() { return labelCss; }
|
|
@@ -22704,7 +23099,7 @@ class Link {
|
|
|
22704
23099
|
}; }
|
|
22705
23100
|
}
|
|
22706
23101
|
|
|
22707
|
-
const CSS$
|
|
23102
|
+
const CSS$p = {
|
|
22708
23103
|
container: "container"
|
|
22709
23104
|
};
|
|
22710
23105
|
|
|
@@ -22752,7 +23147,7 @@ class List$1 {
|
|
|
22752
23147
|
//
|
|
22753
23148
|
// --------------------------------------------------------------------------
|
|
22754
23149
|
render() {
|
|
22755
|
-
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$
|
|
23150
|
+
return (hAsync(Host, { role: "list" }, hAsync("div", { class: CSS$p.container }, hAsync("slot", null))));
|
|
22756
23151
|
}
|
|
22757
23152
|
get el() { return getElement(this); }
|
|
22758
23153
|
static get style() { return listCss; }
|
|
@@ -22770,7 +23165,7 @@ class List$1 {
|
|
|
22770
23165
|
}; }
|
|
22771
23166
|
}
|
|
22772
23167
|
|
|
22773
|
-
const CSS$
|
|
23168
|
+
const CSS$o = {
|
|
22774
23169
|
container: "container",
|
|
22775
23170
|
contentContainer: "content-container",
|
|
22776
23171
|
nestedContainer: "nested-container",
|
|
@@ -22784,7 +23179,7 @@ const CSS$p = {
|
|
|
22784
23179
|
actionsEnd: "actions-end",
|
|
22785
23180
|
hasCenterContent: "has-center-content"
|
|
22786
23181
|
};
|
|
22787
|
-
const SLOTS$
|
|
23182
|
+
const SLOTS$e = {
|
|
22788
23183
|
actionsStart: "actions-start",
|
|
22789
23184
|
contentStart: "content-start",
|
|
22790
23185
|
contentEnd: "content-end",
|
|
@@ -22853,36 +23248,36 @@ class ListItem {
|
|
|
22853
23248
|
// --------------------------------------------------------------------------
|
|
22854
23249
|
renderActionsStart() {
|
|
22855
23250
|
const { el } = this;
|
|
22856
|
-
return getSlotted(el, SLOTS$
|
|
23251
|
+
return getSlotted(el, SLOTS$e.actionsStart) ? (hAsync("div", { class: CSS$o.actionsStart }, hAsync("slot", { name: SLOTS$e.actionsStart }))) : null;
|
|
22857
23252
|
}
|
|
22858
23253
|
renderActionsEnd() {
|
|
22859
23254
|
const { el } = this;
|
|
22860
|
-
return getSlotted(el, SLOTS$
|
|
23255
|
+
return getSlotted(el, SLOTS$e.actionsEnd) ? (hAsync("div", { class: CSS$o.actionsEnd }, hAsync("slot", { name: SLOTS$e.actionsEnd }))) : null;
|
|
22861
23256
|
}
|
|
22862
23257
|
renderContentStart() {
|
|
22863
23258
|
const { el } = this;
|
|
22864
|
-
return getSlotted(el, SLOTS$
|
|
23259
|
+
return getSlotted(el, SLOTS$e.contentStart) ? (hAsync("div", { class: CSS$o.contentStart }, hAsync("slot", { name: SLOTS$e.contentStart }))) : null;
|
|
22865
23260
|
}
|
|
22866
23261
|
renderContentEnd() {
|
|
22867
23262
|
const { el } = this;
|
|
22868
|
-
return getSlotted(el, SLOTS$
|
|
23263
|
+
return getSlotted(el, SLOTS$e.contentEnd) ? (hAsync("div", { class: CSS$o.contentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd }))) : null;
|
|
22869
23264
|
}
|
|
22870
23265
|
renderContent() {
|
|
22871
23266
|
const { label, description } = this;
|
|
22872
|
-
return !!label || !!description ? (hAsync("div", { class: CSS$
|
|
23267
|
+
return !!label || !!description ? (hAsync("div", { class: CSS$o.content }, label ? hAsync("div", { class: CSS$o.label }, label) : null, description ? hAsync("div", { class: CSS$o.description }, description) : null)) : null;
|
|
22873
23268
|
}
|
|
22874
23269
|
renderContentContainer() {
|
|
22875
23270
|
const { description, disabled, label, nonInteractive } = this;
|
|
22876
23271
|
const hasCenterContent = !!label || !!description;
|
|
22877
23272
|
const content = [this.renderContentStart(), this.renderContent(), this.renderContentEnd()];
|
|
22878
23273
|
return !nonInteractive ? (hAsync("button", { class: {
|
|
22879
|
-
[CSS$
|
|
22880
|
-
[CSS$
|
|
22881
|
-
[CSS$
|
|
22882
|
-
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$
|
|
23274
|
+
[CSS$o.contentContainer]: true,
|
|
23275
|
+
[CSS$o.contentContainerButton]: true,
|
|
23276
|
+
[CSS$o.hasCenterContent]: hasCenterContent
|
|
23277
|
+
}, disabled: disabled, ref: (focusEl) => (this.focusEl = focusEl) }, content)) : (hAsync("div", { class: { [CSS$o.contentContainer]: true, [CSS$o.hasCenterContent]: hasCenterContent }, ref: () => (this.focusEl = null) }, content));
|
|
22883
23278
|
}
|
|
22884
23279
|
render() {
|
|
22885
|
-
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$
|
|
23280
|
+
return (hAsync(Host, { role: "listitem" }, hAsync("div", { class: CSS$o.container }, this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: CSS$o.nestedContainer }, hAsync("slot", null))));
|
|
22886
23281
|
}
|
|
22887
23282
|
get el() { return getElement(this); }
|
|
22888
23283
|
static get style() { return listItemCss; }
|
|
@@ -22902,11 +23297,11 @@ class ListItem {
|
|
|
22902
23297
|
}; }
|
|
22903
23298
|
}
|
|
22904
23299
|
|
|
22905
|
-
const CSS$
|
|
23300
|
+
const CSS$n = {
|
|
22906
23301
|
heading: "heading",
|
|
22907
23302
|
container: "container"
|
|
22908
23303
|
};
|
|
22909
|
-
const HEADING_LEVEL$
|
|
23304
|
+
const HEADING_LEVEL$4 = 3;
|
|
22910
23305
|
|
|
22911
23306
|
const listItemGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list-item-group{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list-item-group{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list-item-group{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list-item-group{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list-item-group{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-list-item-group:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-list-item-group-h{display:none}/*!@:host*/.sc-calcite-list-item-group-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}/*!@.heading*/.heading.sc-calcite-list-item-group{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.container*/.container.sc-calcite-list-item-group{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}/*!@::slotted(calcite-list-item-group)*/.sc-calcite-list-item-group-s>calcite-list-item-group{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
22912
23307
|
|
|
@@ -22927,8 +23322,8 @@ class ListItemGroup {
|
|
|
22927
23322
|
const { el, heading, headingLevel } = this;
|
|
22928
23323
|
const parentLevel = (_a = el.closest("calcite-list, calcite-list-item-group")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
22929
23324
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
22930
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL$
|
|
22931
|
-
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$
|
|
23325
|
+
const level = headingLevel || relativeLevel || HEADING_LEVEL$4;
|
|
23326
|
+
return (hAsync(Host, null, heading ? (hAsync(Heading, { class: CSS$n.heading, level: level }, heading)) : null, hAsync("div", { class: CSS$n.container, role: "group" }, hAsync("slot", null))));
|
|
22932
23327
|
}
|
|
22933
23328
|
get el() { return getElement(this); }
|
|
22934
23329
|
static get style() { return listItemGroupCss; }
|
|
@@ -23147,8 +23542,9 @@ function isFocusable($elem) {
|
|
|
23147
23542
|
|| $elem instanceof HTMLIFrameElement);
|
|
23148
23543
|
}
|
|
23149
23544
|
|
|
23150
|
-
const CSS$
|
|
23545
|
+
const CSS$m = {
|
|
23151
23546
|
modal: "modal",
|
|
23547
|
+
modalOpen: "modal--open",
|
|
23152
23548
|
title: "title",
|
|
23153
23549
|
header: "header",
|
|
23154
23550
|
footer: "footer",
|
|
@@ -23165,21 +23561,21 @@ const CSS$n = {
|
|
|
23165
23561
|
closingIdle: "modal--closing-idle",
|
|
23166
23562
|
closingActive: "modal--closing-active"
|
|
23167
23563
|
};
|
|
23168
|
-
const ICONS$
|
|
23564
|
+
const ICONS$5 = {
|
|
23169
23565
|
close: "x"
|
|
23170
23566
|
};
|
|
23171
|
-
const SLOTS$
|
|
23567
|
+
const SLOTS$d = {
|
|
23172
23568
|
content: "content",
|
|
23173
23569
|
header: "header",
|
|
23174
23570
|
back: "back",
|
|
23175
23571
|
secondary: "secondary",
|
|
23176
23572
|
primary: "primary"
|
|
23177
23573
|
};
|
|
23178
|
-
const TEXT$
|
|
23574
|
+
const TEXT$a = {
|
|
23179
23575
|
close: "Close"
|
|
23180
23576
|
};
|
|
23181
23577
|
|
|
23182
|
-
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}/*!@:host([open]) .modal*/[open].sc-calcite-modal-h .modal.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}/*!@.content*/.content.sc-calcite-modal{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}/*!@.content--spaced*/.content--spaced.sc-calcite-modal{padding:var(--calcite-modal-padding)}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}/*!@:host([background-color=grey]) .content*/[background-color=grey].sc-calcite-modal-h .content.sc-calcite-modal{background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@.footer--hide-back .back, \n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked])*/[width=s][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked])*/[width=m][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked])*/[width=l][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([fullscreen])*/[fullscreen].sc-calcite-modal-h{background-color:transparent}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@:host([docked]) .close*/[docked].sc-calcite-modal-h .close.sc-calcite-modal{border-start-end-radius:var(--calcite-border-radius)}}/*!@:host([color=red]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([color=blue]) .modal*/[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([color=red]) .modal, \n:host([color=blue]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal,[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([color=red]) .header, \n:host([color=blue]) .header*/[color=red].sc-calcite-modal-h .header.sc-calcite-modal,[color=blue].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{-ms-flex-direction:column;flex-direction:column}/*!@.back, \n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
23578
|
+
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-modal:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-modal{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}/*!@:host([open][calcite-hydrated])*/[open][calcite-hydrated].sc-calcite-modal-h{opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}/*!@:host([open][calcite-hydrated]) .modal--open*/[open][calcite-hydrated].sc-calcite-modal-h .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}/*!@.content*/.content.sc-calcite-modal{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}/*!@.content--spaced*/.content--spaced.sc-calcite-modal{padding:var(--calcite-modal-padding)}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}/*!@:host([background-color=grey]) .content*/[background-color=grey].sc-calcite-modal-h .content.sc-calcite-modal{background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}/*!@.footer--hide-back .back, \n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked])*/[width=s][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked])*/[width=m][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked])*/[width=l][docked].sc-calcite-modal-h{-ms-flex-align:end;align-items:flex-end}}/*!@:host([fullscreen])*/[fullscreen].sc-calcite-modal-h{background-color:transparent}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@:host([docked]) .close*/[docked].sc-calcite-modal-h .close.sc-calcite-modal{border-start-end-radius:var(--calcite-border-radius)}}/*!@:host([color=red]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([color=blue]) .modal*/[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([color=red]) .modal, \n:host([color=blue]) .modal*/[color=red].sc-calcite-modal-h .modal.sc-calcite-modal,[color=blue].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([color=red]) .header, \n:host([color=blue]) .header*/[color=red].sc-calcite-modal-h .header.sc-calcite-modal,[color=blue].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*), \n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{-ms-flex-direction:column;flex-direction:column}/*!@.back, \n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
23183
23579
|
|
|
23184
23580
|
const isFocusableExtended = (el) => {
|
|
23185
23581
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -23221,7 +23617,7 @@ class Modal {
|
|
|
23221
23617
|
/** When true, disables the closing of the component when clicked outside. */
|
|
23222
23618
|
this.disableOutsideClose = false;
|
|
23223
23619
|
/** Accessible name for the component's close button. */
|
|
23224
|
-
this.intlClose = TEXT$
|
|
23620
|
+
this.intlClose = TEXT$a.close;
|
|
23225
23621
|
/** When true, disables the default close on escape behavior. */
|
|
23226
23622
|
this.disableEscape = false;
|
|
23227
23623
|
/** Specifies the size of the component. */
|
|
@@ -23242,6 +23638,12 @@ class Modal {
|
|
|
23242
23638
|
//
|
|
23243
23639
|
//--------------------------------------------------------------------------
|
|
23244
23640
|
this.hasFooter = true;
|
|
23641
|
+
/**
|
|
23642
|
+
* We use internal variable to make sure initially open modal can transition from closed state when rendered
|
|
23643
|
+
*
|
|
23644
|
+
* @private
|
|
23645
|
+
*/
|
|
23646
|
+
this.isOpen = false;
|
|
23245
23647
|
this.mutationObserver = createObserver();
|
|
23246
23648
|
this.openTransitionProp = "opacity";
|
|
23247
23649
|
//--------------------------------------------------------------------------
|
|
@@ -23267,6 +23669,7 @@ class Modal {
|
|
|
23267
23669
|
this.close = () => {
|
|
23268
23670
|
return this.beforeClose(this.el).then(() => {
|
|
23269
23671
|
this.open = false;
|
|
23672
|
+
this.isOpen = false;
|
|
23270
23673
|
focusElement(this.previousActiveElement);
|
|
23271
23674
|
this.removeOverflowHiddenClass();
|
|
23272
23675
|
});
|
|
@@ -23284,7 +23687,7 @@ class Modal {
|
|
|
23284
23687
|
}
|
|
23285
23688
|
};
|
|
23286
23689
|
this.updateFooterVisibility = () => {
|
|
23287
|
-
this.hasFooter = !!getSlotted(this.el, [SLOTS$
|
|
23690
|
+
this.hasFooter = !!getSlotted(this.el, [SLOTS$d.back, SLOTS$d.primary, SLOTS$d.secondary]);
|
|
23288
23691
|
};
|
|
23289
23692
|
}
|
|
23290
23693
|
//--------------------------------------------------------------------------
|
|
@@ -23295,7 +23698,7 @@ class Modal {
|
|
|
23295
23698
|
componentWillLoad() {
|
|
23296
23699
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
23297
23700
|
if (this.open) {
|
|
23298
|
-
this.openModal();
|
|
23701
|
+
requestAnimationFrame(() => this.openModal());
|
|
23299
23702
|
}
|
|
23300
23703
|
}
|
|
23301
23704
|
connectedCallback() {
|
|
@@ -23319,26 +23722,29 @@ class Modal {
|
|
|
23319
23722
|
disconnectOpenCloseComponent(this);
|
|
23320
23723
|
}
|
|
23321
23724
|
render() {
|
|
23322
|
-
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$
|
|
23725
|
+
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$m.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
23726
|
+
[CSS$m.modal]: true,
|
|
23727
|
+
[CSS$m.modalOpen]: this.isOpen
|
|
23728
|
+
}, ref: this.setTransitionEl }, hAsync("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), hAsync("div", { class: CSS$m.header }, this.renderCloseButton(), hAsync("header", { class: CSS$m.title }, hAsync("slot", { name: CSS$m.header }))), hAsync("div", { class: {
|
|
23323
23729
|
content: true,
|
|
23324
23730
|
"content--spaced": !this.noPadding,
|
|
23325
23731
|
"content--no-footer": !this.hasFooter
|
|
23326
|
-
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$
|
|
23732
|
+
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderFooter(), hAsync("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
23327
23733
|
}
|
|
23328
23734
|
renderFooter() {
|
|
23329
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
23735
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$m.footer, key: "footer" }, hAsync("span", { class: CSS$m.back }, hAsync("slot", { name: SLOTS$d.back })), hAsync("span", { class: CSS$m.secondary }, hAsync("slot", { name: SLOTS$d.secondary })), hAsync("span", { class: CSS$m.primary }, hAsync("slot", { name: SLOTS$d.primary })))) : null;
|
|
23330
23736
|
}
|
|
23331
23737
|
renderCloseButton() {
|
|
23332
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23738
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$m.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
23333
23739
|
}
|
|
23334
23740
|
renderStyle() {
|
|
23335
23741
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
23336
23742
|
return hasCustomWidth ? (hAsync("style", null, `
|
|
23337
|
-
.${CSS$
|
|
23743
|
+
.${CSS$m.modal} {
|
|
23338
23744
|
max-width: ${this.width}px !important;
|
|
23339
23745
|
}
|
|
23340
23746
|
@media screen and (max-width: ${this.width}px) {
|
|
23341
|
-
.${CSS$
|
|
23747
|
+
.${CSS$m.modal} {
|
|
23342
23748
|
height: 100% !important;
|
|
23343
23749
|
max-height: 100% !important;
|
|
23344
23750
|
width: 100% !important;
|
|
@@ -23411,19 +23817,19 @@ class Modal {
|
|
|
23411
23817
|
}
|
|
23412
23818
|
}
|
|
23413
23819
|
onBeforeOpen() {
|
|
23414
|
-
this.transitionEl.classList.add(CSS$
|
|
23820
|
+
this.transitionEl.classList.add(CSS$m.openingActive);
|
|
23415
23821
|
this.calciteModalBeforeOpen.emit();
|
|
23416
23822
|
}
|
|
23417
23823
|
onOpen() {
|
|
23418
|
-
this.transitionEl.classList.remove(CSS$
|
|
23824
|
+
this.transitionEl.classList.remove(CSS$m.openingIdle, CSS$m.openingActive);
|
|
23419
23825
|
this.calciteModalOpen.emit();
|
|
23420
23826
|
}
|
|
23421
23827
|
onBeforeClose() {
|
|
23422
|
-
this.transitionEl.classList.add(CSS$
|
|
23828
|
+
this.transitionEl.classList.add(CSS$m.closingActive);
|
|
23423
23829
|
this.calciteModalBeforeClose.emit();
|
|
23424
23830
|
}
|
|
23425
23831
|
onClose() {
|
|
23426
|
-
this.transitionEl.classList.remove(CSS$
|
|
23832
|
+
this.transitionEl.classList.remove(CSS$m.closingIdle, CSS$m.closingActive);
|
|
23427
23833
|
this.calciteModalClose.emit();
|
|
23428
23834
|
}
|
|
23429
23835
|
activeHandler(value) {
|
|
@@ -23433,11 +23839,11 @@ class Modal {
|
|
|
23433
23839
|
var _a, _b;
|
|
23434
23840
|
this.active = value;
|
|
23435
23841
|
if (value) {
|
|
23436
|
-
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$
|
|
23842
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$m.openingIdle);
|
|
23437
23843
|
this.openModal();
|
|
23438
23844
|
}
|
|
23439
23845
|
else {
|
|
23440
|
-
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$
|
|
23846
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$m.closingIdle);
|
|
23441
23847
|
this.close();
|
|
23442
23848
|
}
|
|
23443
23849
|
}
|
|
@@ -23446,14 +23852,15 @@ class Modal {
|
|
|
23446
23852
|
this.previousActiveElement = document.activeElement;
|
|
23447
23853
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
23448
23854
|
this.open = true;
|
|
23449
|
-
|
|
23450
|
-
const
|
|
23855
|
+
this.isOpen = true;
|
|
23856
|
+
const titleEl = getSlotted(this.el, SLOTS$d.header);
|
|
23857
|
+
const contentEl = getSlotted(this.el, SLOTS$d.content);
|
|
23451
23858
|
this.titleId = ensureId(titleEl);
|
|
23452
23859
|
this.contentId = ensureId(contentEl);
|
|
23453
|
-
document.documentElement.classList.add(CSS$
|
|
23860
|
+
document.documentElement.classList.add(CSS$m.overflowHidden);
|
|
23454
23861
|
}
|
|
23455
23862
|
removeOverflowHiddenClass() {
|
|
23456
|
-
document.documentElement.classList.remove(CSS$
|
|
23863
|
+
document.documentElement.classList.remove(CSS$m.overflowHidden);
|
|
23457
23864
|
}
|
|
23458
23865
|
get el() { return getElement(this); }
|
|
23459
23866
|
static get watchers() { return {
|
|
@@ -23480,6 +23887,7 @@ class Modal {
|
|
|
23480
23887
|
"backgroundColor": [513, "background-color"],
|
|
23481
23888
|
"noPadding": [4, "no-padding"],
|
|
23482
23889
|
"hasFooter": [32],
|
|
23890
|
+
"isOpen": [32],
|
|
23483
23891
|
"focusElement": [64],
|
|
23484
23892
|
"setFocus": [64],
|
|
23485
23893
|
"scrollContent": [64]
|
|
@@ -23490,16 +23898,16 @@ class Modal {
|
|
|
23490
23898
|
}; }
|
|
23491
23899
|
}
|
|
23492
23900
|
|
|
23493
|
-
const TEXT$
|
|
23901
|
+
const TEXT$9 = {
|
|
23494
23902
|
close: "Close"
|
|
23495
23903
|
};
|
|
23496
|
-
const SLOTS$
|
|
23904
|
+
const SLOTS$c = {
|
|
23497
23905
|
title: "title",
|
|
23498
23906
|
message: "message",
|
|
23499
23907
|
link: "link",
|
|
23500
23908
|
actionsEnd: "actions-end"
|
|
23501
23909
|
};
|
|
23502
|
-
const CSS$
|
|
23910
|
+
const CSS$l = {
|
|
23503
23911
|
actionsEnd: "actions-end",
|
|
23504
23912
|
close: "notice-close",
|
|
23505
23913
|
container: "container",
|
|
@@ -23554,7 +23962,7 @@ class Notice {
|
|
|
23554
23962
|
*
|
|
23555
23963
|
* @default "Close"
|
|
23556
23964
|
*/
|
|
23557
|
-
this.intlClose = TEXT$
|
|
23965
|
+
this.intlClose = TEXT$9.close;
|
|
23558
23966
|
/** Specifies the size of the component. */
|
|
23559
23967
|
this.scale = "m";
|
|
23560
23968
|
/** Specifies the width of the component. */
|
|
@@ -23611,9 +24019,9 @@ class Notice {
|
|
|
23611
24019
|
}
|
|
23612
24020
|
render() {
|
|
23613
24021
|
const { el } = this;
|
|
23614
|
-
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$
|
|
23615
|
-
const hasActionEnd = getSlotted(el, SLOTS$
|
|
23616
|
-
return (hAsync("div", { class: CSS$
|
|
24022
|
+
const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: CSS$l.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24023
|
+
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
24024
|
+
return (hAsync("div", { class: CSS$l.container }, this.requestedIcon ? (hAsync("div", { class: CSS$l.icon }, hAsync("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$l.content }, hAsync("slot", { name: SLOTS$c.title }), hAsync("slot", { name: SLOTS$c.message }), hAsync("slot", { name: SLOTS$c.link })), hasActionEnd ? (hAsync("div", { class: CSS$l.actionsEnd }, hAsync("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
23617
24025
|
}
|
|
23618
24026
|
//--------------------------------------------------------------------------
|
|
23619
24027
|
//
|
|
@@ -23861,7 +24269,7 @@ function unwatchGlobalAttributes(component) {
|
|
|
23861
24269
|
}
|
|
23862
24270
|
}
|
|
23863
24271
|
|
|
23864
|
-
const CSS$
|
|
24272
|
+
const CSS$k = {
|
|
23865
24273
|
page: "page",
|
|
23866
24274
|
selected: "is-selected",
|
|
23867
24275
|
previous: "previous",
|
|
@@ -23871,7 +24279,7 @@ const CSS$l = {
|
|
|
23871
24279
|
ellipsisStart: "ellipsis--start",
|
|
23872
24280
|
ellipsisEnd: "ellipsis--end"
|
|
23873
24281
|
};
|
|
23874
|
-
const TEXT$
|
|
24282
|
+
const TEXT$8 = {
|
|
23875
24283
|
nextLabel: "Next",
|
|
23876
24284
|
previousLabel: "Previous"
|
|
23877
24285
|
};
|
|
@@ -23900,13 +24308,13 @@ class Pagination {
|
|
|
23900
24308
|
*
|
|
23901
24309
|
* @default "Next"
|
|
23902
24310
|
*/
|
|
23903
|
-
this.textLabelNext = TEXT$
|
|
24311
|
+
this.textLabelNext = TEXT$8.nextLabel;
|
|
23904
24312
|
/**
|
|
23905
24313
|
* Accessible name for the component's previous button.
|
|
23906
24314
|
*
|
|
23907
24315
|
* @default "Previous"
|
|
23908
24316
|
*/
|
|
23909
|
-
this.textLabelPrevious = TEXT$
|
|
24317
|
+
this.textLabelPrevious = TEXT$8.previousLabel;
|
|
23910
24318
|
/** Specifies the size of the component. */
|
|
23911
24319
|
this.scale = "m";
|
|
23912
24320
|
//--------------------------------------------------------------------------
|
|
@@ -24016,8 +24424,8 @@ class Pagination {
|
|
|
24016
24424
|
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
24017
24425
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
24018
24426
|
return (hAsync("button", { class: {
|
|
24019
|
-
[CSS$
|
|
24020
|
-
[CSS$
|
|
24427
|
+
[CSS$k.page]: true,
|
|
24428
|
+
[CSS$k.selected]: start === this.start
|
|
24021
24429
|
}, onClick: () => {
|
|
24022
24430
|
this.start = start;
|
|
24023
24431
|
this.emitUpdate();
|
|
@@ -24025,12 +24433,12 @@ class Pagination {
|
|
|
24025
24433
|
}
|
|
24026
24434
|
renderLeftEllipsis() {
|
|
24027
24435
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
24028
|
-
return hAsync("span", { class: `${CSS$
|
|
24436
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisStart}` }, "\u2026");
|
|
24029
24437
|
}
|
|
24030
24438
|
}
|
|
24031
24439
|
renderRightEllipsis() {
|
|
24032
24440
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
24033
|
-
return hAsync("span", { class: `${CSS$
|
|
24441
|
+
return hAsync("span", { class: `${CSS$k.ellipsis} ${CSS$k.ellipsisEnd}` }, "\u2026");
|
|
24034
24442
|
}
|
|
24035
24443
|
}
|
|
24036
24444
|
render() {
|
|
@@ -24038,11 +24446,11 @@ class Pagination {
|
|
|
24038
24446
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
24039
24447
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
24040
24448
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.textLabelPrevious, class: {
|
|
24041
|
-
[CSS$
|
|
24042
|
-
[CSS$
|
|
24449
|
+
[CSS$k.previous]: true,
|
|
24450
|
+
[CSS$k.disabled]: prevDisabled
|
|
24043
24451
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.textLabelNext, class: {
|
|
24044
|
-
[CSS$
|
|
24045
|
-
[CSS$
|
|
24452
|
+
[CSS$k.next]: true,
|
|
24453
|
+
[CSS$k.disabled]: nextDisabled
|
|
24046
24454
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
24047
24455
|
}
|
|
24048
24456
|
get el() { return getElement(this); }
|
|
@@ -24067,51 +24475,7 @@ class Pagination {
|
|
|
24067
24475
|
}; }
|
|
24068
24476
|
}
|
|
24069
24477
|
|
|
24070
|
-
const
|
|
24071
|
-
backButton: "back-button",
|
|
24072
|
-
container: "container",
|
|
24073
|
-
header: "header",
|
|
24074
|
-
heading: "heading",
|
|
24075
|
-
summary: "summary",
|
|
24076
|
-
description: "description",
|
|
24077
|
-
headerContent: "header-content",
|
|
24078
|
-
headerActions: "header-actions",
|
|
24079
|
-
headerActionsEnd: "header-actions--end",
|
|
24080
|
-
headerActionsStart: "header-actions--start",
|
|
24081
|
-
contentWrapper: "content-wrapper",
|
|
24082
|
-
contentContainer: "content-container",
|
|
24083
|
-
contentHeight: "content-height",
|
|
24084
|
-
fabContainer: "fab-container",
|
|
24085
|
-
footer: "footer",
|
|
24086
|
-
menuContainer: "menu-container",
|
|
24087
|
-
menuButton: "menu-button",
|
|
24088
|
-
menu: "menu",
|
|
24089
|
-
menuOpen: "menu--open"
|
|
24090
|
-
};
|
|
24091
|
-
const ICONS$5 = {
|
|
24092
|
-
close: "x",
|
|
24093
|
-
menu: "ellipsis",
|
|
24094
|
-
backLeft: "chevron-left",
|
|
24095
|
-
backRight: "chevron-right"
|
|
24096
|
-
};
|
|
24097
|
-
const SLOTS$c = {
|
|
24098
|
-
headerActionsStart: "header-actions-start",
|
|
24099
|
-
headerActionsEnd: "header-actions-end",
|
|
24100
|
-
headerMenuActions: "header-menu-actions",
|
|
24101
|
-
headerContent: "header-content",
|
|
24102
|
-
fab: "fab",
|
|
24103
|
-
footer: "footer",
|
|
24104
|
-
footerActions: "footer-actions"
|
|
24105
|
-
};
|
|
24106
|
-
const TEXT$8 = {
|
|
24107
|
-
back: "Back",
|
|
24108
|
-
close: "Close",
|
|
24109
|
-
open: "Open",
|
|
24110
|
-
options: "Options"
|
|
24111
|
-
};
|
|
24112
|
-
const HEADING_LEVEL$4 = 3;
|
|
24113
|
-
|
|
24114
|
-
const panelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{-webkit-border-after:1px solid;border-block-end:1px solid;position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.header-content*/.header-content.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.header-content .heading, \n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{-webkit-margin-after:0px;margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.header-actions--end,\n.menu-container:only-child*/.header-actions--end.sc-calcite-panel,.menu-container.sc-calcite-panel:only-child{-webkit-margin-start:auto;margin-inline-start:auto}/*!@.menu-button*/.menu-button.sc-calcite-panel{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}/*!@.menu*/.menu.sc-calcite-panel{min-inline-size:10rem;-ms-flex-flow:column nowrap;flex-flow:column nowrap}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{-webkit-border-before:1px solid;border-block-start:1px solid;position:-webkit-sticky;position:sticky;inset-block-end:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-block-size:3rem;padding:0.5rem}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:-webkit-sticky;position:sticky;inset-block-end:0px;inset-inline:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}";
|
|
24478
|
+
const panelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-panel:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-panel{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-panel-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-panel-h *.sc-calcite-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-panel:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-panel-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-panel-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-panel-h{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-panel-h[disabled] .sc-calcite-panel-s>[calcite-hydrated][disabled],[disabled].sc-calcite-panel-h [calcite-hydrated][disabled].sc-calcite-panel{opacity:1}/*!@.header*/.header.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-panel{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-panel .heading.sc-calcite-panel{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}/*!@.container*/.container.sc-calcite-panel{margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}/*!@:host([height-scale=s])*/[height-scale=s].sc-calcite-panel-h{--calcite-panel-max-height:40vh}/*!@:host([height-scale=m])*/[height-scale=m].sc-calcite-panel-h{--calcite-panel-max-height:60vh}/*!@:host([height-scale=l])*/[height-scale=l].sc-calcite-panel-h{--calcite-panel-max-height:80vh}/*!@:host([width-scale=s])*/[width-scale=s].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}/*!@:host([width-scale=m])*/[width-scale=m].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}/*!@:host([width-scale=l])*/[width-scale=l].sc-calcite-panel-h{--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}/*!@.container[hidden]*/.container[hidden].sc-calcite-panel{display:none}/*!@.header*/.header.sc-calcite-panel{-webkit-border-after:1px solid;border-block-end:1px solid;position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto}/*!@.header-content*/.header-content.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}/*!@.header-content .heading, \n.header-content .description*/.header-content.sc-calcite-panel .heading.sc-calcite-panel,.header-content.sc-calcite-panel .description.sc-calcite-panel{display:block;overflow-wrap:break-word;padding:0px}/*!@.header-content .heading*/.header-content.sc-calcite-panel .heading.sc-calcite-panel{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}/*!@.header-content .heading:only-child*/.header-content.sc-calcite-panel .heading.sc-calcite-panel:only-child{-webkit-margin-after:0px;margin-block-end:0px}/*!@.header-content .description*/.header-content.sc-calcite-panel .description.sc-calcite-panel{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@.back-button*/.back-button.sc-calcite-panel{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}/*!@.header-actions*/.header-actions.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}/*!@.header-actions--end*/.header-actions--end.sc-calcite-panel{-webkit-margin-start:auto;margin-inline-start:auto}/*!@.content-wrapper*/.content-wrapper.sc-calcite-panel{overflow:auto}/*!@.content-height*/.content-height.sc-calcite-panel{block-size:100%}/*!@.content-container*/.content-container.sc-calcite-panel{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-background)}/*!@.footer*/.footer.sc-calcite-panel{-webkit-border-before:1px solid;border-block-start:1px solid;position:-webkit-sticky;position:sticky;inset-block-end:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;min-block-size:3rem;padding:0.5rem}/*!@.fab-container*/.fab-container.sc-calcite-panel{position:-webkit-sticky;position:sticky;inset-block-end:0px;inset-inline:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content}/*!@[hidden]*/[hidden].sc-calcite-panel{display:none}";
|
|
24115
24479
|
|
|
24116
24480
|
/**
|
|
24117
24481
|
* @slot - A slot for adding custom content.
|
|
@@ -24157,6 +24521,8 @@ class Panel {
|
|
|
24157
24521
|
this.closable = false;
|
|
24158
24522
|
/**
|
|
24159
24523
|
* When true, displays a back button in the header.
|
|
24524
|
+
*
|
|
24525
|
+
* @deprecated use `calcite-flow-item` instead.
|
|
24160
24526
|
*/
|
|
24161
24527
|
this.showBackButton = false;
|
|
24162
24528
|
/**
|
|
@@ -24168,6 +24534,13 @@ class Panel {
|
|
|
24168
24534
|
*/
|
|
24169
24535
|
this.menuOpen = false;
|
|
24170
24536
|
this.resizeObserver = createObserver();
|
|
24537
|
+
this.hasStartActions = false;
|
|
24538
|
+
this.hasEndActions = false;
|
|
24539
|
+
this.hasMenuItems = false;
|
|
24540
|
+
this.hasHeaderContent = false;
|
|
24541
|
+
this.hasFooterContent = false;
|
|
24542
|
+
this.hasFooterActions = false;
|
|
24543
|
+
this.hasFab = false;
|
|
24171
24544
|
// --------------------------------------------------------------------------
|
|
24172
24545
|
//
|
|
24173
24546
|
// Private Methods
|
|
@@ -24207,6 +24580,48 @@ class Panel {
|
|
|
24207
24580
|
this.backButtonClick = () => {
|
|
24208
24581
|
this.calcitePanelBackClick.emit();
|
|
24209
24582
|
};
|
|
24583
|
+
this.handleHeaderActionsStartSlotChange = (event) => {
|
|
24584
|
+
const elements = event.target.assignedElements({
|
|
24585
|
+
flatten: true
|
|
24586
|
+
});
|
|
24587
|
+
this.hasStartActions = !!elements.length;
|
|
24588
|
+
};
|
|
24589
|
+
this.handleHeaderActionsEndSlotChange = (event) => {
|
|
24590
|
+
const elements = event.target.assignedElements({
|
|
24591
|
+
flatten: true
|
|
24592
|
+
});
|
|
24593
|
+
this.hasEndActions = !!elements.length;
|
|
24594
|
+
};
|
|
24595
|
+
this.handleHeaderMenuActionsSlotChange = (event) => {
|
|
24596
|
+
const elements = event.target.assignedElements({
|
|
24597
|
+
flatten: true
|
|
24598
|
+
});
|
|
24599
|
+
this.hasMenuItems = !!elements.length;
|
|
24600
|
+
};
|
|
24601
|
+
this.handleHeaderContentSlotChange = (event) => {
|
|
24602
|
+
const elements = event.target.assignedElements({
|
|
24603
|
+
flatten: true
|
|
24604
|
+
});
|
|
24605
|
+
this.hasHeaderContent = !!elements.length;
|
|
24606
|
+
};
|
|
24607
|
+
this.handleFooterSlotChange = (event) => {
|
|
24608
|
+
const elements = event.target.assignedElements({
|
|
24609
|
+
flatten: true
|
|
24610
|
+
});
|
|
24611
|
+
this.hasFooterContent = !!elements.length;
|
|
24612
|
+
};
|
|
24613
|
+
this.handleFooterActionsSlotChange = (event) => {
|
|
24614
|
+
const elements = event.target.assignedElements({
|
|
24615
|
+
flatten: true
|
|
24616
|
+
});
|
|
24617
|
+
this.hasFooterActions = !!elements.length;
|
|
24618
|
+
};
|
|
24619
|
+
this.handleFabSlotChange = (event) => {
|
|
24620
|
+
const elements = event.target.assignedElements({
|
|
24621
|
+
flatten: true
|
|
24622
|
+
});
|
|
24623
|
+
this.hasFab = !!elements.length;
|
|
24624
|
+
};
|
|
24210
24625
|
this.setPanelScrollEl = (el) => {
|
|
24211
24626
|
var _a, _b;
|
|
24212
24627
|
this.panelScrollEl = el;
|
|
@@ -24244,7 +24659,6 @@ class Panel {
|
|
|
24244
24659
|
//
|
|
24245
24660
|
// --------------------------------------------------------------------------
|
|
24246
24661
|
connectedCallback() {
|
|
24247
|
-
connectConditionalSlotComponent(this);
|
|
24248
24662
|
const isClosed = this.dismissed || this.closed;
|
|
24249
24663
|
const isClosable = this.dismissible || this.closable;
|
|
24250
24664
|
if (isClosed) {
|
|
@@ -24258,7 +24672,6 @@ class Panel {
|
|
|
24258
24672
|
}
|
|
24259
24673
|
disconnectedCallback() {
|
|
24260
24674
|
var _a;
|
|
24261
|
-
disconnectConditionalSlotComponent(this);
|
|
24262
24675
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
24263
24676
|
}
|
|
24264
24677
|
// --------------------------------------------------------------------------
|
|
@@ -24272,16 +24685,24 @@ class Panel {
|
|
|
24272
24685
|
* @param focusId
|
|
24273
24686
|
*/
|
|
24274
24687
|
async setFocus(focusId) {
|
|
24275
|
-
|
|
24688
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
|
24689
|
+
if (focusId === "back-button") {
|
|
24690
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
|
24691
|
+
return;
|
|
24692
|
+
}
|
|
24276
24693
|
if (focusId === "dismiss-button") {
|
|
24277
|
-
|
|
24694
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
|
24278
24695
|
return;
|
|
24279
24696
|
}
|
|
24280
|
-
if (
|
|
24281
|
-
|
|
24697
|
+
if (backButtonEl) {
|
|
24698
|
+
backButtonEl.setFocus();
|
|
24699
|
+
return;
|
|
24700
|
+
}
|
|
24701
|
+
if (closeButtonEl) {
|
|
24702
|
+
closeButtonEl.setFocus();
|
|
24282
24703
|
return;
|
|
24283
24704
|
}
|
|
24284
|
-
|
|
24705
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
|
24285
24706
|
}
|
|
24286
24707
|
/**
|
|
24287
24708
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -24309,75 +24730,68 @@ class Panel {
|
|
|
24309
24730
|
const { el } = this;
|
|
24310
24731
|
const rtl = getElementDir(el) === "rtl";
|
|
24311
24732
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
24312
|
-
const label = intlBack || TEXT$
|
|
24313
|
-
const icon = rtl ? ICONS$
|
|
24314
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
24733
|
+
const label = intlBack || TEXT$f.back;
|
|
24734
|
+
const icon = rtl ? ICONS$7.backRight : ICONS$7.backLeft;
|
|
24735
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$y.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$i.headerActionsStart, text: label })) : null;
|
|
24315
24736
|
}
|
|
24316
24737
|
renderHeaderContent() {
|
|
24317
|
-
const { heading, headingLevel, summary, description } = this;
|
|
24318
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
24319
|
-
const descriptionNode = description || summary ? hAsync("span", { class: CSS$
|
|
24320
|
-
return headingNode || descriptionNode ? (hAsync("div", { class: CSS$
|
|
24738
|
+
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
|
24739
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$y.heading, level: headingLevel || HEADING_LEVEL$5 }, heading)) : null;
|
|
24740
|
+
const descriptionNode = description || summary ? hAsync("span", { class: CSS$y.description }, description || summary) : null;
|
|
24741
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$y.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
24321
24742
|
}
|
|
24322
24743
|
/**
|
|
24323
24744
|
* Allows user to override the entire header-content node.
|
|
24324
24745
|
*/
|
|
24325
24746
|
renderHeaderSlottedContent() {
|
|
24326
|
-
return (hAsync("div", { class: CSS$
|
|
24747
|
+
return (hAsync("div", { class: CSS$y.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$i.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
24327
24748
|
}
|
|
24328
24749
|
renderHeaderStartActions() {
|
|
24329
|
-
const {
|
|
24330
|
-
|
|
24331
|
-
return hasStartActions ? (hAsync("div", { class: { [CSS$k.headerActionsStart]: true, [CSS$k.headerActions]: true }, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$c.headerActionsStart }))) : null;
|
|
24750
|
+
const { hasStartActions } = this;
|
|
24751
|
+
return (hAsync("div", { class: { [CSS$y.headerActionsStart]: true, [CSS$y.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$i.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
24332
24752
|
}
|
|
24333
24753
|
renderHeaderActionsEnd() {
|
|
24334
|
-
const { close,
|
|
24335
|
-
const text = intlClose || TEXT$
|
|
24336
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$
|
|
24337
|
-
const slotNode = hAsync("slot", { name: SLOTS$
|
|
24338
|
-
const
|
|
24339
|
-
return
|
|
24754
|
+
const { close, hasEndActions, intlClose, closable } = this;
|
|
24755
|
+
const text = intlClose || TEXT$f.close;
|
|
24756
|
+
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$7.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
24757
|
+
const slotNode = (hAsync("slot", { name: SLOTS$i.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
24758
|
+
const showContainer = hasEndActions || closableNode;
|
|
24759
|
+
return (hAsync("div", { class: { [CSS$y.headerActionsEnd]: true, [CSS$y.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
24340
24760
|
}
|
|
24341
24761
|
renderMenu() {
|
|
24342
|
-
const {
|
|
24343
|
-
|
|
24344
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$r.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
24762
|
+
const { hasMenuItems, intlOptions, menuOpen } = this;
|
|
24763
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || TEXT$f.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$7.menu, slot: SLOTS$s.trigger, text: intlOptions || TEXT$f.options }), hAsync("slot", { name: SLOTS$i.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
24345
24764
|
}
|
|
24346
24765
|
renderHeaderNode() {
|
|
24347
|
-
const {
|
|
24348
|
-
const
|
|
24349
|
-
const
|
|
24350
|
-
|
|
24351
|
-
? this.renderHeaderSlottedContent()
|
|
24352
|
-
: this.renderHeaderContent();
|
|
24353
|
-
const actionsNodeStart = this.renderHeaderStartActions();
|
|
24354
|
-
const actionsNodeEnd = this.renderHeaderActionsEnd();
|
|
24355
|
-
const headerMenuNode = this.renderMenu();
|
|
24356
|
-
return actionsNodeStart ||
|
|
24766
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
24767
|
+
const headerContentNode = this.renderHeaderContent();
|
|
24768
|
+
const showHeader = showBackButton ||
|
|
24769
|
+
hasHeaderContent ||
|
|
24357
24770
|
headerContentNode ||
|
|
24358
|
-
|
|
24359
|
-
|
|
24360
|
-
|
|
24771
|
+
hasStartActions ||
|
|
24772
|
+
hasEndActions ||
|
|
24773
|
+
closable ||
|
|
24774
|
+
hasMenuItems;
|
|
24775
|
+
return (hAsync("header", { class: CSS$y.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
24361
24776
|
}
|
|
24362
24777
|
renderFooterNode() {
|
|
24363
|
-
const {
|
|
24364
|
-
const
|
|
24365
|
-
|
|
24366
|
-
return hasFooterSlottedContent || hasFooterActions ? (hAsync("footer", { class: CSS$k.footer, key: "footer" }, hasFooterSlottedContent ? hAsync("slot", { key: "footer-slot", name: SLOTS$c.footer }) : null, hasFooterActions ? hAsync("slot", { key: "footer-actions-slot", name: SLOTS$c.footerActions }) : null)) : null;
|
|
24778
|
+
const { hasFooterContent, hasFooterActions } = this;
|
|
24779
|
+
const showFooter = hasFooterContent || hasFooterActions;
|
|
24780
|
+
return (hAsync("footer", { class: CSS$y.footer, hidden: !showFooter, key: "footer" }, hAsync("slot", { key: "footer-slot", name: SLOTS$i.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$i.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
24367
24781
|
}
|
|
24368
24782
|
renderContent() {
|
|
24369
|
-
const {
|
|
24370
|
-
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
24783
|
+
const { hasFab } = this;
|
|
24371
24784
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
24372
24785
|
const contentWrapperKey = "content-wrapper";
|
|
24373
|
-
|
|
24786
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$y.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
24787
|
+
return (hAsync("div", { class: { [CSS$y.contentWrapper]: true, [CSS$y.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
24374
24788
|
}
|
|
24375
24789
|
renderFab() {
|
|
24376
|
-
return (hAsync("div", { class: CSS$
|
|
24790
|
+
return (hAsync("div", { class: CSS$y.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$i.fab, onSlotchange: this.handleFabSlotChange })));
|
|
24377
24791
|
}
|
|
24378
24792
|
render() {
|
|
24379
24793
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
24380
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
24794
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$y.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
24381
24795
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
24382
24796
|
}
|
|
24383
24797
|
get el() { return getElement(this); }
|
|
@@ -24410,6 +24824,13 @@ class Panel {
|
|
|
24410
24824
|
"summary": [1],
|
|
24411
24825
|
"description": [1],
|
|
24412
24826
|
"menuOpen": [516, "menu-open"],
|
|
24827
|
+
"hasStartActions": [32],
|
|
24828
|
+
"hasEndActions": [32],
|
|
24829
|
+
"hasMenuItems": [32],
|
|
24830
|
+
"hasHeaderContent": [32],
|
|
24831
|
+
"hasFooterContent": [32],
|
|
24832
|
+
"hasFooterActions": [32],
|
|
24833
|
+
"hasFab": [32],
|
|
24413
24834
|
"setFocus": [64],
|
|
24414
24835
|
"scrollContentTo": [64]
|
|
24415
24836
|
},
|
|
@@ -31288,7 +31709,7 @@ const CSS$7 = {
|
|
|
31288
31709
|
widthFull: "width-full"
|
|
31289
31710
|
};
|
|
31290
31711
|
|
|
31291
|
-
const splitButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-split-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-split-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-split-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-split-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-split-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-split-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-split-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-split-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-split-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-split-button-h{display:inline-block}/*!@:host .split-button__container*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .split-button__container > calcite-dropdown > calcite-button*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button>calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{block-size:100%;vertical-align:top}/*!@:host([appearance=solid]):host([color=blue])*/[appearance=solid].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid]):host([color=red])*/[appearance=solid].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=solid]):host([color=neutral])*/[appearance=solid].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=solid]):host([color=inverse])*/[appearance=solid].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]):host([color=blue])*/[appearance=transparent].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=transparent]):host([color=red])*/[appearance=transparent].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=transparent]):host([color=neutral])*/[appearance=transparent].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent]):host([color=inverse])*/[appearance=transparent].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]),\n:host([appearance=transparent])*/[appearance=clear].sc-calcite-split-button-h,[appearance=transparent].sc-calcite-split-button-h{--calcite-split-button-background:transparent}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]):host([color=blue]),\n:host([appearance=outline]):host([color=blue])*/[appearance=clear].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=clear]):host([color=red]),\n:host([appearance=outline]):host([color=red])*/[appearance=clear].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=clear]):host([color=neutral]),\n:host([appearance=outline]):host([color=neutral])*/[appearance=clear].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear]):host([color=inverse]),\n:host([appearance=outline]):host([color=inverse])*/[appearance=clear].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-inverse)}/*!@.width-auto*/.width-auto.sc-calcite-split-button{inline-size:auto}/*!@.width-half*/.width-half.sc-calcite-split-button{inline-size:50%}/*!@.width-full*/.width-full.sc-calcite-split-button{inline-size:100%}/*!@.split-button__divider-container*/.split-button__divider-container.sc-calcite-split-button{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}/*!@.split-button__divider*/.split-button__divider.sc-calcite-split-button{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]) .split-button__divider-container,\n:host([appearance=clear]) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{border-block:1px solid var(--calcite-split-button-divider)}/*!@:host([appearance=outline]):hover .split-button__divider-container,\n:host([appearance=clear]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:hover) .split-button__divider-container,\n:host([appearance=clear]:hover) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:focus-within):host([color=blue]),\n:host([appearance=clear]:focus-within):host([color=blue])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}/*!@:host([appearance=outline]:focus-within):host([color=red]),\n:host([appearance=clear]:focus-within):host([color=red])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}/*!@:host([appearance=outline]:focus-within) .split-button__divider-container,\n:host([appearance=clear]:focus-within) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([disabled]) .split-button__divider-container*/[disabled].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) calcite-dropdown > calcite-button*/[disabled].sc-calcite-split-button-h calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-split-button-h[disabled] .sc-calcite-split-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-split-button-h [calcite-hydrated][disabled].sc-calcite-split-button{opacity:1}";
|
|
31712
|
+
const splitButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-split-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-split-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-split-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-split-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-split-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-split-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-split-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-split-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-split-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-split-button-h{display:inline-block}/*!@:host .split-button__container*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}/*!@:host .split-button__container > calcite-dropdown > calcite-button*/.sc-calcite-split-button-h .split-button__container.sc-calcite-split-button>calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{block-size:100%;vertical-align:top}/*!@:host:host([color=blue])*/.sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host:host([color=red])*/.sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host:host([color=neutral])*/.sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host:host([color=inverse])*/.sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]):host([color=blue])*/[appearance=transparent].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=transparent]):host([color=red])*/[appearance=transparent].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=transparent]):host([color=neutral])*/[appearance=transparent].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent]):host([color=inverse])*/[appearance=transparent].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]),\n:host([appearance=transparent])*/[appearance=clear].sc-calcite-split-button-h,[appearance=transparent].sc-calcite-split-button-h{--calcite-split-button-background:transparent}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-split-button-h{--calcite-split-button-background:var(--calcite-ui-foreground-1)}/*!@:host([appearance=clear]):host([color=blue]),\n:host([appearance=outline]):host([color=blue])*/[appearance=clear].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=blue]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-brand)}/*!@:host([appearance=clear]):host([color=red]),\n:host([appearance=outline]):host([color=red])*/[appearance=clear].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=red]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-danger)}/*!@:host([appearance=clear]):host([color=neutral]),\n:host([appearance=outline]):host([color=neutral])*/[appearance=clear].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=neutral]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-foreground-3)}/*!@:host([appearance=clear]):host([color=inverse]),\n:host([appearance=outline]):host([color=inverse])*/[appearance=clear].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h,[appearance=outline].sc-calcite-split-button-h([color=inverse]).sc-calcite-split-button-h{--calcite-split-button-divider:var(--calcite-ui-inverse)}/*!@.width-auto*/.width-auto.sc-calcite-split-button{inline-size:auto}/*!@.width-half*/.width-half.sc-calcite-split-button{inline-size:50%}/*!@.width-full*/.width-full.sc-calcite-split-button{inline-size:100%}/*!@.split-button__divider-container*/.split-button__divider-container.sc-calcite-split-button{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}/*!@.split-button__divider*/.split-button__divider.sc-calcite-split-button{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]) .split-button__divider-container,\n:host([appearance=clear]) .split-button__divider-container,\n:host([appearance=minimal]) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{border-block:1px solid var(--calcite-split-button-divider)}/*!@:host([appearance=outline]):hover .split-button__divider-container,\n:host([appearance=clear]):hover .split-button__divider-container,\n:host([appearance=minimal]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:hover) .split-button__divider-container,\n:host([appearance=clear]:hover) .split-button__divider-container,\n:host([appearance=minimal]):hover .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:hover .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([appearance=outline]:focus-within):host([color=blue]),\n:host([appearance=clear]:focus-within):host([color=blue]),\n:host([appearance=minimal]:focus-within):host([color=blue])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]),[appearance=minimal].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}/*!@:host([appearance=outline]:focus-within):host([color=red]),\n:host([appearance=clear]:focus-within):host([color=red]),\n:host([appearance=minimal]:focus-within):host([color=red])*/[appearance=outline].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=clear].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]),[appearance=minimal].sc-calcite-split-button-h:focus-within.sc-calcite-split-button-h([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}/*!@:host([appearance=outline]:focus-within) .split-button__divider-container,\n:host([appearance=clear]:focus-within) .split-button__divider-container,\n:host([appearance=minimal]:focus-within) .split-button__divider-container*/[appearance=outline].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=clear].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button,[appearance=minimal].sc-calcite-split-button-h:focus-within .split-button__divider-container.sc-calcite-split-button{background-color:var(--calcite-split-button-divider)}/*!@:host([disabled]) .split-button__divider-container*/[disabled].sc-calcite-split-button-h .split-button__divider-container.sc-calcite-split-button{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) calcite-dropdown > calcite-button*/[disabled].sc-calcite-split-button-h calcite-dropdown.sc-calcite-split-button>calcite-button.sc-calcite-split-button{pointer-events:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-split-button-h[disabled] .sc-calcite-split-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-split-button-h [calcite-hydrated][disabled].sc-calcite-split-button{opacity:1}";
|
|
31292
31713
|
|
|
31293
31714
|
/**
|
|
31294
31715
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
@@ -31978,20 +32399,24 @@ class Switch {
|
|
|
31978
32399
|
const tabCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tab:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tab{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tab{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tab:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none}/*!@:host([selected]) section*/[selected].sc-calcite-tab-h section.sc-calcite-tab{display:block}/*!@:host*/.sc-calcite-tab-h{display:none;block-size:100%;inline-size:100%}/*!@:host([selected])*/[selected].sc-calcite-tab-h{display:block;block-size:100%;inline-size:100%;overflow:auto}/*!@section*/section.sc-calcite-tab{display:none;block-size:100%;inline-size:100%}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-h{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-h{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-h{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";
|
|
31979
32400
|
|
|
31980
32401
|
/**
|
|
31981
|
-
* @slot - A slot for adding
|
|
32402
|
+
* @slot - A slot for adding content to the component.
|
|
31982
32403
|
*/
|
|
31983
32404
|
class Tab {
|
|
31984
32405
|
constructor(hostRef) {
|
|
31985
32406
|
registerInstance(this, hostRef);
|
|
31986
32407
|
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 6);
|
|
31987
32408
|
/**
|
|
31988
|
-
*
|
|
32409
|
+
* When true, the component's contents are selected.
|
|
31989
32410
|
*
|
|
31990
|
-
*
|
|
32411
|
+
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
32412
|
+
*
|
|
32413
|
+
* @deprecated Use "selected" instead.
|
|
31991
32414
|
*/
|
|
31992
32415
|
this.active = false;
|
|
31993
32416
|
/**
|
|
31994
|
-
* When true,
|
|
32417
|
+
* When true, the component's contents are selected.
|
|
32418
|
+
*
|
|
32419
|
+
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
31995
32420
|
*/
|
|
31996
32421
|
this.selected = false;
|
|
31997
32422
|
/**
|
|
@@ -32068,7 +32493,7 @@ class Tab {
|
|
|
32068
32493
|
//
|
|
32069
32494
|
//--------------------------------------------------------------------------
|
|
32070
32495
|
/**
|
|
32071
|
-
*
|
|
32496
|
+
* Returns the index of the component item within the tab array.
|
|
32072
32497
|
*/
|
|
32073
32498
|
async getTabIndex() {
|
|
32074
32499
|
return Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter((el) => el.matches("calcite-tab")), this.el);
|
|
@@ -32347,16 +32772,20 @@ class TabTitle {
|
|
|
32347
32772
|
//
|
|
32348
32773
|
//--------------------------------------------------------------------------
|
|
32349
32774
|
/**
|
|
32350
|
-
*
|
|
32775
|
+
* When true, the component and its respective `calcite-tab` contents are selected.
|
|
32351
32776
|
*
|
|
32352
|
-
*
|
|
32777
|
+
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
32778
|
+
*
|
|
32779
|
+
* @deprecated Use "selected" instead.
|
|
32353
32780
|
*/
|
|
32354
32781
|
this.active = false;
|
|
32355
32782
|
/**
|
|
32356
|
-
* When true,
|
|
32783
|
+
* When true, the component and its respective `calcite-tab` contents are selected.
|
|
32784
|
+
*
|
|
32785
|
+
* Only one tab can be selected within the `calcite-tabs` parent.
|
|
32357
32786
|
*/
|
|
32358
32787
|
this.selected = false;
|
|
32359
|
-
/**
|
|
32788
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
32360
32789
|
this.disabled = false;
|
|
32361
32790
|
/**
|
|
32362
32791
|
* @internal
|
|
@@ -32500,7 +32929,7 @@ class TabTitle {
|
|
|
32500
32929
|
//
|
|
32501
32930
|
//--------------------------------------------------------------------------
|
|
32502
32931
|
/**
|
|
32503
|
-
*
|
|
32932
|
+
* Returns the index of the title within the `calcite-tab-nav`.
|
|
32504
32933
|
*/
|
|
32505
32934
|
async getTabIndex() {
|
|
32506
32935
|
return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-tab-title"), this.el);
|
|
@@ -32577,7 +33006,7 @@ const tabsCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes i
|
|
|
32577
33006
|
|
|
32578
33007
|
/**
|
|
32579
33008
|
* @slot - A slot for adding `calcite-tab`s.
|
|
32580
|
-
* @slot tab-nav - A slot for adding a tab
|
|
33009
|
+
* @slot tab-nav - A slot for adding a `calcite-tab-nav`.
|
|
32581
33010
|
*/
|
|
32582
33011
|
class Tabs {
|
|
32583
33012
|
constructor(hostRef) {
|
|
@@ -32588,20 +33017,20 @@ class Tabs {
|
|
|
32588
33017
|
//
|
|
32589
33018
|
//--------------------------------------------------------------------------
|
|
32590
33019
|
/**
|
|
32591
|
-
*
|
|
33020
|
+
* Specifies the layout of the `calcite-tab-nav`, justifying the `calcite-tab-title`s to the start ("inline"), or across and centered ("center").
|
|
32592
33021
|
*/
|
|
32593
33022
|
this.layout = "inline";
|
|
32594
33023
|
/**
|
|
32595
|
-
*
|
|
33024
|
+
* Specifies the position of the component in relation to the `calcite-tab`s. The "above" and "below" values are deprecated.
|
|
32596
33025
|
*
|
|
32597
33026
|
*/
|
|
32598
33027
|
this.position = "top";
|
|
32599
33028
|
/**
|
|
32600
|
-
*
|
|
33029
|
+
* Specifies the size of the component.
|
|
32601
33030
|
*/
|
|
32602
33031
|
this.scale = "m";
|
|
32603
33032
|
/**
|
|
32604
|
-
*
|
|
33033
|
+
* When true and layout is set to "inline", the component will display with a folder style menu.
|
|
32605
33034
|
*/
|
|
32606
33035
|
this.bordered = false;
|
|
32607
33036
|
//--------------------------------------------------------------------------
|
|
@@ -32753,8 +33182,8 @@ const SLOTS$3 = {
|
|
|
32753
33182
|
const tileCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tile:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tile{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tile{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tile:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-tile-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;inline-size:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{-ms-flex-align:center;align-items:center;text-align:center;min-block-size:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{-ms-flex-item-align:center;align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading, \n:host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description, \n:host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
|
|
32754
33183
|
|
|
32755
33184
|
/**
|
|
32756
|
-
* @slot content-start - A slot for adding non-actionable elements before the
|
|
32757
|
-
* @slot content-end - A slot for adding non-actionable elements after the
|
|
33185
|
+
* @slot content-start - A slot for adding non-actionable elements before the component's content.
|
|
33186
|
+
* @slot content-end - A slot for adding non-actionable elements after the component's content.
|
|
32758
33187
|
*/
|
|
32759
33188
|
class Tile {
|
|
32760
33189
|
constructor(hostRef) {
|
|
@@ -32764,21 +33193,27 @@ class Tile {
|
|
|
32764
33193
|
// Properties
|
|
32765
33194
|
//
|
|
32766
33195
|
//--------------------------------------------------------------------------
|
|
32767
|
-
/**
|
|
33196
|
+
/**
|
|
33197
|
+
* When true, the component is active.
|
|
33198
|
+
*/
|
|
32768
33199
|
this.active = false;
|
|
32769
33200
|
/**
|
|
32770
|
-
* When true,
|
|
33201
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
32771
33202
|
*/
|
|
32772
33203
|
this.disabled = false;
|
|
32773
|
-
/**
|
|
33204
|
+
/**
|
|
33205
|
+
* The component's embed mode.
|
|
33206
|
+
*
|
|
33207
|
+
* When true, renders without a border and padding for use by other components.
|
|
33208
|
+
*/
|
|
32774
33209
|
this.embed = false;
|
|
32775
33210
|
/**
|
|
32776
|
-
* The focused state of the
|
|
33211
|
+
* The focused state of the component.
|
|
32777
33212
|
*
|
|
32778
33213
|
* @internal
|
|
32779
33214
|
*/
|
|
32780
33215
|
this.focused = false;
|
|
32781
|
-
/**
|
|
33216
|
+
/** When true, the component is not displayed and is not focusable. */
|
|
32782
33217
|
this.hidden = false;
|
|
32783
33218
|
}
|
|
32784
33219
|
// --------------------------------------------------------------------------
|
|
@@ -32867,19 +33302,23 @@ class TileSelect {
|
|
|
32867
33302
|
// Properties
|
|
32868
33303
|
//
|
|
32869
33304
|
//--------------------------------------------------------------------------
|
|
32870
|
-
/**
|
|
33305
|
+
/** When true, the component is checked. */
|
|
32871
33306
|
this.checked = false;
|
|
32872
|
-
/**
|
|
33307
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
32873
33308
|
this.disabled = false;
|
|
32874
|
-
/**
|
|
33309
|
+
/** When true, the component is not displayed and is not focusable or checkable. */
|
|
32875
33310
|
this.hidden = false;
|
|
32876
|
-
/**
|
|
33311
|
+
/** When true, displays an interactive input based on the "type" property. */
|
|
32877
33312
|
this.inputEnabled = false;
|
|
32878
|
-
/**
|
|
33313
|
+
/** When inputEnabled is true, the placement of the interactive input on the component. */
|
|
32879
33314
|
this.inputAlignment = "start";
|
|
32880
|
-
/**
|
|
33315
|
+
/**
|
|
33316
|
+
* The selection mode of the component.
|
|
33317
|
+
*
|
|
33318
|
+
* Use radio for single selection, and checkbox for multiple selections.
|
|
33319
|
+
*/
|
|
32881
33320
|
this.type = "radio";
|
|
32882
|
-
/**
|
|
33321
|
+
/** Specifies the width of the component. */
|
|
32883
33322
|
this.width = "auto";
|
|
32884
33323
|
this.guid = `calcite-tile-select-${guid()}`;
|
|
32885
33324
|
//--------------------------------------------------------------------------
|
|
@@ -33070,9 +33509,13 @@ class TileSelectGroup {
|
|
|
33070
33509
|
// Properties
|
|
33071
33510
|
//
|
|
33072
33511
|
//--------------------------------------------------------------------------
|
|
33073
|
-
/**
|
|
33512
|
+
/** When true, interaction is prevented and the component is displayed with lower opacity. */
|
|
33074
33513
|
this.disabled = false;
|
|
33075
|
-
/**
|
|
33514
|
+
/**
|
|
33515
|
+
* Defines the layout of the component.
|
|
33516
|
+
*
|
|
33517
|
+
* Use "horizontal" for rows, and "vertical" for a single column.
|
|
33518
|
+
*/
|
|
33076
33519
|
this.layout = "horizontal";
|
|
33077
33520
|
}
|
|
33078
33521
|
//--------------------------------------------------------------------------
|
|
@@ -33162,88 +33605,88 @@ class TimePicker {
|
|
|
33162
33605
|
//
|
|
33163
33606
|
//--------------------------------------------------------------------------
|
|
33164
33607
|
/**
|
|
33165
|
-
*
|
|
33608
|
+
* Accessible name for the component's hour input.
|
|
33166
33609
|
*
|
|
33167
33610
|
* @default "Hour"
|
|
33168
33611
|
*/
|
|
33169
33612
|
this.intlHour = TEXT$2.hour;
|
|
33170
33613
|
/**
|
|
33171
|
-
*
|
|
33614
|
+
* Accessible name for the component's hour down button.
|
|
33172
33615
|
*
|
|
33173
33616
|
* @default "Decrease hour"
|
|
33174
33617
|
*/
|
|
33175
33618
|
this.intlHourDown = TEXT$2.hourDown;
|
|
33176
33619
|
/**
|
|
33177
|
-
*
|
|
33620
|
+
* Accessible name for the component's hour up button.
|
|
33178
33621
|
*
|
|
33179
33622
|
* @default "Increase hour"
|
|
33180
33623
|
*/
|
|
33181
33624
|
this.intlHourUp = TEXT$2.hourUp;
|
|
33182
33625
|
/**
|
|
33183
|
-
*
|
|
33626
|
+
* Accessible name for the component's meridiem (AM/PM) input.
|
|
33184
33627
|
*
|
|
33185
33628
|
* @default "AM/PM"
|
|
33186
33629
|
*/
|
|
33187
33630
|
this.intlMeridiem = TEXT$2.meridiem;
|
|
33188
33631
|
/**
|
|
33189
|
-
*
|
|
33632
|
+
* Accessible name for the component's meridiem (AM/PM) down button.
|
|
33190
33633
|
*
|
|
33191
33634
|
* @default "Decrease AM/PM"
|
|
33192
33635
|
*/
|
|
33193
33636
|
this.intlMeridiemDown = TEXT$2.meridiemDown;
|
|
33194
33637
|
/**
|
|
33195
|
-
*
|
|
33638
|
+
* Accessible name for the component's meridiem (AM/PM) up button.
|
|
33196
33639
|
*
|
|
33197
33640
|
* @default "Increase AM/PM"
|
|
33198
33641
|
*/
|
|
33199
33642
|
this.intlMeridiemUp = TEXT$2.meridiemUp;
|
|
33200
33643
|
/**
|
|
33201
|
-
*
|
|
33644
|
+
* Accessible name for the component's minute input.
|
|
33202
33645
|
*
|
|
33203
33646
|
* @default "Minute"
|
|
33204
33647
|
*/
|
|
33205
33648
|
this.intlMinute = TEXT$2.minute;
|
|
33206
33649
|
/**
|
|
33207
|
-
*
|
|
33650
|
+
* Accessible name for the component's minute down button.
|
|
33208
33651
|
*
|
|
33209
33652
|
* @default "Decrease minute"
|
|
33210
33653
|
*/
|
|
33211
33654
|
this.intlMinuteDown = TEXT$2.minuteDown;
|
|
33212
33655
|
/**
|
|
33213
|
-
*
|
|
33656
|
+
* Accessible name for the component's minute up button.
|
|
33214
33657
|
*
|
|
33215
33658
|
* @default "Increase minute"
|
|
33216
33659
|
*/
|
|
33217
33660
|
this.intlMinuteUp = TEXT$2.minuteUp;
|
|
33218
33661
|
/**
|
|
33219
|
-
*
|
|
33662
|
+
* Accessible name for the component's second input.
|
|
33220
33663
|
*
|
|
33221
33664
|
* @default "Second"
|
|
33222
33665
|
*/
|
|
33223
33666
|
this.intlSecond = TEXT$2.second;
|
|
33224
33667
|
/**
|
|
33225
|
-
*
|
|
33668
|
+
* Accessible name for the component's second down button.
|
|
33226
33669
|
*
|
|
33227
33670
|
* @default "Decrease second"
|
|
33228
33671
|
*/
|
|
33229
33672
|
this.intlSecondDown = TEXT$2.secondDown;
|
|
33230
33673
|
/**
|
|
33231
|
-
*
|
|
33674
|
+
* Accessible name for the component's second up button.
|
|
33232
33675
|
*
|
|
33233
33676
|
* @default "Increase second"
|
|
33234
33677
|
*/
|
|
33235
33678
|
this.intlSecondUp = TEXT$2.secondUp;
|
|
33236
33679
|
/**
|
|
33237
|
-
* BCP 47 language tag for desired language and country format
|
|
33680
|
+
* BCP 47 language tag for desired language and country format.
|
|
33238
33681
|
*
|
|
33239
33682
|
* @internal
|
|
33240
33683
|
*/
|
|
33241
33684
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
33242
|
-
/**
|
|
33685
|
+
/** Specifies the size of the component. */
|
|
33243
33686
|
this.scale = "m";
|
|
33244
|
-
/**
|
|
33687
|
+
/** Specifies the granularity the "value" must adhere to (in seconds). */
|
|
33245
33688
|
this.step = 60;
|
|
33246
|
-
/** The
|
|
33689
|
+
/** The component's value in UTC (always 24-hour format). */
|
|
33247
33690
|
this.value = null;
|
|
33248
33691
|
this.showSecond = this.step < 60;
|
|
33249
33692
|
this.decrementHour = () => {
|
|
@@ -33854,7 +34297,7 @@ const tipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in
|
|
|
33854
34297
|
|
|
33855
34298
|
/**
|
|
33856
34299
|
* @slot - A slot for adding text and a hyperlink.
|
|
33857
|
-
* @slot thumbnail - A slot for adding an HTML image element
|
|
34300
|
+
* @slot thumbnail - A slot for adding an HTML image element.
|
|
33858
34301
|
*/
|
|
33859
34302
|
class Tip {
|
|
33860
34303
|
constructor(hostRef) {
|
|
@@ -33866,15 +34309,17 @@ class Tip {
|
|
|
33866
34309
|
//
|
|
33867
34310
|
// --------------------------------------------------------------------------
|
|
33868
34311
|
/**
|
|
33869
|
-
*
|
|
34312
|
+
* When true, the component does not display.
|
|
33870
34313
|
*/
|
|
33871
34314
|
this.dismissed = false;
|
|
33872
34315
|
/**
|
|
33873
|
-
*
|
|
34316
|
+
* When true, the close button is not present on the component.
|
|
33874
34317
|
*/
|
|
33875
34318
|
this.nonDismissible = false;
|
|
33876
34319
|
/**
|
|
33877
|
-
*
|
|
34320
|
+
* When true and if it has a parent `calcite-tip-manager`, the component is selected.
|
|
34321
|
+
*
|
|
34322
|
+
* Only one tip can be selected within the `calcite-tip-manager` parent.
|
|
33878
34323
|
*/
|
|
33879
34324
|
this.selected = false;
|
|
33880
34325
|
// --------------------------------------------------------------------------
|
|
@@ -33989,7 +34434,7 @@ class TipManager {
|
|
|
33989
34434
|
//
|
|
33990
34435
|
// --------------------------------------------------------------------------
|
|
33991
34436
|
/**
|
|
33992
|
-
*
|
|
34437
|
+
* When true, does not display or position the component.
|
|
33993
34438
|
*/
|
|
33994
34439
|
this.closed = false;
|
|
33995
34440
|
this.mutationObserver = createObserver();
|
|
@@ -34058,13 +34503,13 @@ class TipManager {
|
|
|
34058
34503
|
// Public Methods
|
|
34059
34504
|
//
|
|
34060
34505
|
// --------------------------------------------------------------------------
|
|
34061
|
-
/** Selects the next tip to display */
|
|
34506
|
+
/** Selects the next `calcite-tip` to display. */
|
|
34062
34507
|
async nextTip() {
|
|
34063
34508
|
this.direction = "advancing";
|
|
34064
34509
|
const nextIndex = this.selectedIndex + 1;
|
|
34065
34510
|
this.selectedIndex = (nextIndex + this.total) % this.total;
|
|
34066
34511
|
}
|
|
34067
|
-
/** Selects the previous tip to display */
|
|
34512
|
+
/** Selects the previous `calcite-tip` to display. */
|
|
34068
34513
|
async previousTip() {
|
|
34069
34514
|
this.direction = "retreating";
|
|
34070
34515
|
const previousIndex = this.selectedIndex - 1;
|
|
@@ -35578,6 +36023,7 @@ registerComponents([
|
|
|
35578
36023
|
Fab,
|
|
35579
36024
|
Filter,
|
|
35580
36025
|
Flow,
|
|
36026
|
+
FlowItem,
|
|
35581
36027
|
Graph,
|
|
35582
36028
|
Handle,
|
|
35583
36029
|
Icon,
|