@esri/calcite-components 1.0.0-next.549 → 1.0.0-next.551
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00d5c7a9.entry.js +6 -0
- package/dist/calcite/{p-186c435b.entry.js → p-0386e935.entry.js} +2 -2
- package/dist/calcite/{p-4a6521f2.system.entry.js → p-0692938b.system.entry.js} +2 -2
- package/dist/calcite/{p-6fd17b2d.system.entry.js → p-0822d9a0.system.entry.js} +2 -2
- package/dist/calcite/p-08f7e381.system.entry.js +6 -0
- package/dist/calcite/{p-9777ec42.system.js → p-0a273af1.system.js} +2 -2
- package/dist/calcite/{p-00e2f1a7.system.js → p-0acc6d27.system.js} +1 -1
- package/dist/calcite/{p-48af31f7.system.entry.js → p-0d0773c1.system.entry.js} +2 -2
- package/dist/calcite/{p-31aa7ff1.entry.js → p-0d0a18be.entry.js} +2 -2
- package/dist/calcite/{p-ff825c20.system.js → p-1009bf34.system.js} +2 -2
- package/dist/calcite/{p-ac0448dc.js → p-10caada8.js} +2 -2
- package/dist/calcite/{p-7e6c21ec.system.js → p-1166d8ad.system.js} +1 -1
- package/dist/calcite/{p-52b33796.entry.js → p-11740329.entry.js} +2 -2
- package/dist/calcite/{p-b70fa32a.entry.js → p-1285943b.entry.js} +2 -2
- package/dist/calcite/{p-d08f839b.entry.js → p-17f62b13.entry.js} +2 -2
- package/dist/calcite/p-1802bc3c.js +6 -0
- package/dist/calcite/{p-e513e7a8.entry.js → p-190eff8e.entry.js} +2 -2
- package/dist/calcite/{p-c062b2b6.entry.js → p-198d0fd1.entry.js} +2 -2
- package/dist/calcite/{p-3cfdf1a4.system.entry.js → p-20b69151.system.entry.js} +2 -2
- package/dist/calcite/{p-43f247da.system.js → p-20dd2914.system.js} +2 -2
- package/dist/calcite/p-22351504.js +6 -0
- package/dist/calcite/{p-e3d4870a.system.entry.js → p-2325c9ae.system.entry.js} +2 -2
- package/dist/calcite/{p-d9966b21.entry.js → p-24301a95.entry.js} +2 -2
- package/dist/calcite/{p-78ee72d3.system.entry.js → p-2797628b.system.entry.js} +2 -2
- package/dist/calcite/{p-f64ce49e.js → p-2952a0c2.js} +1 -1
- package/dist/calcite/{p-2208bc7d.system.entry.js → p-2a2f4515.system.entry.js} +2 -2
- package/dist/calcite/{p-9f5a81cd.system.entry.js → p-2b33857b.system.entry.js} +2 -2
- package/dist/calcite/{p-37109b83.js → p-2b70d6ea.js} +1 -1
- package/dist/calcite/p-2e1e2b3e.entry.js +6 -0
- package/dist/calcite/{p-cf729515.system.js → p-2ecb6dad.system.js} +1 -1
- package/dist/calcite/{p-78e2b02c.entry.js → p-307c09ad.entry.js} +2 -2
- package/dist/calcite/p-31b939eb.system.entry.js +6 -0
- package/dist/calcite/p-32cb6829.entry.js +6 -0
- package/dist/calcite/{p-32715e9e.system.entry.js → p-36fe8034.system.entry.js} +2 -2
- package/dist/calcite/{p-4ef0a317.entry.js → p-37d44232.entry.js} +2 -2
- package/dist/calcite/{p-d4784a0d.js → p-38144c6d.js} +2 -2
- package/dist/calcite/{p-8082547a.entry.js → p-38a24609.entry.js} +2 -2
- package/dist/calcite/{p-b4dc8ea2.system.js → p-3d08f777.system.js} +2 -2
- package/dist/calcite/{p-57a9991e.system.entry.js → p-3db61bb1.system.entry.js} +2 -2
- package/dist/calcite/{p-04608a2f.entry.js → p-3e5fe8f4.entry.js} +2 -2
- package/dist/calcite/{p-ad0fd824.system.entry.js → p-3fd30e1a.system.entry.js} +2 -2
- package/dist/calcite/{p-fd6a3485.system.js → p-41f02ca6.system.js} +2 -2
- package/dist/calcite/{p-2cce5c6f.system.entry.js → p-4388108a.system.entry.js} +2 -2
- package/dist/calcite/{p-eb5c859d.system.entry.js → p-4495af41.system.entry.js} +2 -2
- package/dist/calcite/{p-a0460d2f.system.entry.js → p-45145c1f.system.entry.js} +2 -2
- package/dist/calcite/{p-ec58668f.system.entry.js → p-47938134.system.entry.js} +2 -2
- package/dist/calcite/{p-dae75e63.system.entry.js → p-47bf329b.system.entry.js} +3 -3
- package/dist/calcite/{p-4a2784b9.system.entry.js → p-48b4aa4d.system.entry.js} +2 -2
- package/dist/calcite/{p-b57ab4ad.entry.js → p-4a08f2ee.entry.js} +2 -2
- package/dist/calcite/{p-78242f2d.entry.js → p-4b6b8d69.entry.js} +2 -2
- package/dist/calcite/{p-4cfa1b32.entry.js → p-4d4bca82.entry.js} +2 -2
- package/dist/calcite/{p-68779e4f.js → p-52761d50.js} +1 -1
- package/dist/calcite/{p-93ec9cc7.entry.js → p-53fa5d05.entry.js} +2 -2
- package/dist/calcite/{p-2359ab79.system.js → p-560b326b.system.js} +1 -1
- package/dist/calcite/{p-8173b345.js → p-564404c1.js} +2 -2
- package/dist/calcite/{p-50eae05f.js → p-570bf277.js} +1 -1
- package/dist/calcite/{p-3bb59c21.system.js → p-578f339f.system.js} +2 -2
- package/dist/calcite/{p-f3bf59da.entry.js → p-58a2084c.entry.js} +2 -2
- package/dist/calcite/{p-a55a3f2a.system.js → p-5aa07049.system.js} +2 -2
- package/dist/calcite/p-5b5568f2.entry.js +6 -0
- package/dist/calcite/{p-ffd5cb36.system.js → p-5c4116ad.system.js} +2 -2
- package/dist/calcite/{p-c5fd191a.system.js → p-5e9cc657.system.js} +1 -1
- package/dist/calcite/p-64a8e824.entry.js +6 -0
- package/dist/calcite/{p-bfb92b84.js → p-651c1bb4.js} +1 -1
- package/dist/calcite/{p-23583255.system.entry.js → p-66c57585.system.entry.js} +3 -3
- package/dist/calcite/{p-99136001.system.entry.js → p-6acb7802.system.entry.js} +2 -2
- package/dist/calcite/p-6be5a138.system.entry.js +6 -0
- package/dist/calcite/p-6cb7fc3c.system.js +6 -0
- package/dist/calcite/{p-1e3036d1.system.entry.js → p-6d49170b.system.entry.js} +2 -2
- package/dist/calcite/{p-6e554fca.system.entry.js → p-6e1fe286.system.entry.js} +2 -2
- package/dist/calcite/p-6e265723.entry.js +6 -0
- package/dist/calcite/{p-2d89370c.js → p-6e4d21df.js} +2 -2
- package/dist/calcite/{p-545e200f.entry.js → p-6e86f211.entry.js} +2 -2
- package/dist/calcite/{p-c7a403de.system.entry.js → p-6ec455e1.system.entry.js} +2 -2
- package/dist/calcite/{p-39ca3f0e.entry.js → p-704d7878.entry.js} +2 -2
- package/dist/calcite/{p-04f7dcfc.system.js → p-7437a1d7.system.js} +1 -1
- package/dist/calcite/{p-ef30fcfb.system.entry.js → p-74a9446b.system.entry.js} +2 -2
- package/dist/calcite/{p-5c1e458e.system.entry.js → p-756ed0d8.system.entry.js} +2 -2
- package/dist/calcite/{p-805c7f66.js → p-7673a469.js} +1 -1
- package/dist/calcite/{p-bfbb1263.js → p-76d789cf.js} +1 -1
- package/dist/calcite/{p-05613cee.js → p-78fada7d.js} +2 -2
- package/dist/calcite/{p-2be1a6ad.js → p-79fc23c1.js} +1 -1
- package/dist/calcite/{p-0e8ad479.entry.js → p-79fed8b5.entry.js} +2 -2
- package/dist/calcite/{p-989cc49c.system.entry.js → p-7a1ec6a5.system.entry.js} +2 -2
- package/dist/calcite/{p-e58dee7e.system.js → p-7a5d99cd.system.js} +1 -1
- package/dist/calcite/{p-3f2280ae.entry.js → p-7d9de61e.entry.js} +2 -2
- package/dist/calcite/p-7ea634d6.system.entry.js +6 -0
- package/dist/calcite/{p-e1233f6e.system.entry.js → p-7fc08c07.system.entry.js} +2 -2
- package/dist/calcite/{p-bb5ea59e.system.entry.js → p-800de7da.system.entry.js} +2 -2
- package/dist/calcite/{p-dbc7d543.js → p-8070e8ba.js} +2 -2
- package/dist/calcite/{p-1d070975.system.entry.js → p-8342a562.system.entry.js} +2 -2
- package/dist/calcite/{p-b89d505a.system.js → p-83463887.system.js} +1 -1
- package/dist/calcite/{p-2f41e45e.entry.js → p-8403fa5a.entry.js} +2 -2
- package/dist/calcite/{p-9c86bce2.entry.js → p-85696839.entry.js} +2 -2
- package/dist/calcite/{p-ebe49ac9.entry.js → p-85e8553f.entry.js} +2 -2
- package/dist/calcite/{p-2b3bafdd.js → p-88f76efc.js} +2 -2
- package/dist/calcite/{p-b246ddfb.entry.js → p-8bc5d78e.entry.js} +2 -2
- package/dist/calcite/{p-f9d31191.entry.js → p-8d6c0055.entry.js} +2 -2
- package/dist/calcite/{p-9d370963.js → p-8e7d9c48.js} +2 -2
- package/dist/calcite/p-9327ee68.system.entry.js +6 -0
- package/dist/calcite/{p-43e0b83f.system.entry.js → p-93e107fa.system.entry.js} +2 -2
- package/dist/calcite/{p-702ab5bd.entry.js → p-949d6b08.entry.js} +2 -2
- package/dist/calcite/{p-1b92dcd5.system.entry.js → p-9527f30d.system.entry.js} +2 -2
- package/dist/calcite/{p-725c0b08.entry.js → p-954ceee5.entry.js} +2 -2
- package/dist/calcite/{p-c7aea725.entry.js → p-959b98e0.entry.js} +2 -2
- package/dist/calcite/{p-fa42570e.system.js → p-973f203b.system.js} +1 -1
- package/dist/calcite/{p-3f306630.system.entry.js → p-98d95eca.system.entry.js} +3 -3
- package/dist/calcite/{p-bf15dd08.system.entry.js → p-9949f6ae.system.entry.js} +2 -2
- package/dist/calcite/{p-d0eb2919.system.entry.js → p-996e0ec3.system.entry.js} +2 -2
- package/dist/calcite/p-9a7db939.system.entry.js +6 -0
- package/dist/calcite/{p-47766025.entry.js → p-9be17d54.entry.js} +2 -2
- package/dist/calcite/{p-a530589a.entry.js → p-9d13af51.entry.js} +2 -2
- package/dist/calcite/p-9de1b73c.system.entry.js +6 -0
- package/dist/calcite/{p-c3163c46.entry.js → p-9e529603.entry.js} +2 -2
- package/dist/calcite/{p-352b44df.system.js → p-9fbd1581.system.js} +2 -2
- package/dist/calcite/{p-e2a39e26.js → p-a00df579.js} +1 -1
- package/dist/calcite/p-a0b31d7f.js +6 -0
- package/dist/calcite/{p-b7fc4a67.entry.js → p-a2938763.entry.js} +2 -2
- package/dist/calcite/{p-4a6c656c.system.entry.js → p-a69aa1e2.system.entry.js} +2 -2
- package/dist/calcite/{p-5dc41900.system.js → p-a79b4cf3.system.js} +1 -1
- package/dist/calcite/{p-0c034964.system.entry.js → p-a8debc1c.system.entry.js} +2 -2
- package/dist/calcite/{p-42ce3247.entry.js → p-ab29cbad.entry.js} +2 -2
- package/dist/calcite/{p-aca8401d.js → p-abfa6264.js} +2 -2
- package/dist/calcite/p-ac604521.entry.js +6 -0
- package/dist/calcite/{p-5bcbc478.system.entry.js → p-ac61f1d1.system.entry.js} +2 -2
- package/dist/calcite/{p-506781d6.system.entry.js → p-ac91891e.system.entry.js} +2 -2
- package/dist/calcite/{p-36aa80fc.entry.js → p-af3d3ffc.entry.js} +2 -2
- package/dist/calcite/{p-dcc3ab4c.entry.js → p-b2c566f2.entry.js} +2 -2
- package/dist/calcite/{p-53bcddac.entry.js → p-b48ba0b8.entry.js} +2 -2
- package/dist/calcite/{p-627bb608.entry.js → p-b685e98a.entry.js} +2 -2
- package/dist/calcite/{p-94c179ff.system.entry.js → p-b6dd561d.system.entry.js} +2 -2
- package/dist/calcite/{p-fa99790f.system.entry.js → p-b830065f.system.entry.js} +2 -2
- package/dist/calcite/{p-bac31a9c.js → p-b87c3ed3.js} +1 -1
- package/dist/calcite/{p-2ad75706.system.js → p-ba0c8d7f.system.js} +1 -1
- package/dist/calcite/{p-58e966f1.js → p-bc27e525.js} +1 -1
- package/dist/calcite/{p-25f1c378.entry.js → p-c213257b.entry.js} +2 -2
- package/dist/calcite/{p-2e46bdda.entry.js → p-c446352a.entry.js} +2 -2
- package/dist/calcite/{p-771496f5.entry.js → p-c556488d.entry.js} +2 -2
- package/dist/calcite/{p-78bca4fb.system.entry.js → p-c70d8179.system.entry.js} +2 -2
- package/dist/calcite/{p-00db838c.system.entry.js → p-c7cd87bb.system.entry.js} +2 -2
- package/dist/calcite/{p-ecb26ae2.system.entry.js → p-cab9e531.system.entry.js} +2 -2
- package/dist/calcite/{p-8121b726.entry.js → p-cc31aa1e.entry.js} +2 -2
- package/dist/calcite/{p-ac548e60.system.js → p-cda26e2b.system.js} +3 -3
- package/dist/calcite/{p-4349bdb6.system.entry.js → p-d0444397.system.entry.js} +2 -2
- package/dist/calcite/{p-ca5c93c9.system.entry.js → p-d2d5a40f.system.entry.js} +2 -2
- package/dist/calcite/{p-982caef5.system.js → p-d33e3c68.system.js} +1 -1
- package/dist/calcite/{p-7c92f16b.system.entry.js → p-d411a706.system.entry.js} +2 -2
- package/dist/calcite/{p-9771ecdf.system.entry.js → p-d4db2934.system.entry.js} +2 -2
- package/dist/calcite/{p-52485980.system.js → p-d7cfdbf1.system.js} +2 -2
- package/dist/calcite/{p-901a738e.entry.js → p-d9451959.entry.js} +2 -2
- package/dist/calcite/{p-34e2b9b6.entry.js → p-dca9037c.entry.js} +2 -2
- package/dist/calcite/{p-ff610bf5.system.entry.js → p-e194a12b.system.entry.js} +2 -2
- package/dist/calcite/{p-6f1a3b2a.entry.js → p-e3880635.entry.js} +2 -2
- package/dist/calcite/{p-997476f4.system.js → p-e4ba25c2.system.js} +1 -1
- package/dist/calcite/p-e7138c89.entry.js +6 -0
- package/dist/calcite/{p-371a87e5.js → p-ebca302d.js} +1 -1
- package/dist/calcite/{p-23cb0623.entry.js → p-ec088865.entry.js} +2 -2
- package/dist/calcite/{p-c54e073c.system.entry.js → p-ecba50a8.system.entry.js} +2 -2
- package/dist/calcite/{p-34fb2567.system.entry.js → p-ee71ac77.system.entry.js} +2 -2
- package/dist/calcite/{p-e0d37d7d.entry.js → p-f02e74ef.entry.js} +2 -2
- package/dist/calcite/{p-9e4ff223.entry.js → p-f128c7b4.entry.js} +2 -2
- package/dist/calcite/p-f4cdb2a1.system.js +6 -0
- package/dist/calcite/{p-90bcc076.system.entry.js → p-f547cc76.system.entry.js} +2 -2
- package/dist/calcite/{p-230fc99a.system.entry.js → p-f5a15f48.system.entry.js} +3 -3
- package/dist/calcite/{p-d018f986.entry.js → p-fba1cc67.entry.js} +2 -2
- package/dist/calcite/{p-6c2b27ca.js → p-fc16a1ca.js} +1 -1
- package/dist/calcite/{p-9aa8a8b0.system.js → p-fc2914fd.system.js} +1 -1
- package/dist/calcite/{p-85c621f9.entry.js → p-fd1c2254.entry.js} +2 -2
- package/dist/calcite/{p-d29b1cc2.system.entry.js → p-fd96d0c5.system.entry.js} +2 -2
- package/dist/calcite/{p-34b5d095.entry.js → p-fda8800c.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-70e6461c.js → ExpandToggle-dcd5a0d6.js} +5 -5
- package/dist/cjs/{Heading-d3ff7e1e.js → Heading-ada6d7c9.js} +2 -2
- package/dist/cjs/{array-98a08c55.js → array-69c71681.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +25 -34
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +31 -38
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +18 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +27 -34
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -35
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +45 -41
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +7 -7
- package/dist/cjs/calcite-panel.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-popover_2.cjs.entry.js +20 -29
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- 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 +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{conditionalSlot-ffa9d1db.js → conditionalSlot-788feca8.js} +3 -3
- package/dist/cjs/{debounce-a9ac148c.js → debounce-c96a3bbf.js} +1 -1
- package/dist/cjs/{dom-c47de324.js → dom-d6c3c4be.js} +3 -2
- package/dist/cjs/{filter-c537d809.js → filter-c9c4b8cb.js} +2 -2
- package/dist/cjs/{floating-ui-9c52b983.js → floating-ui-81d6bb80.js} +2 -2
- package/dist/cjs/{form-77234053.js → form-c6761267.js} +3 -3
- package/dist/cjs/{guid-6e8c0d7b.js → guid-0c43f1e2.js} +1 -1
- package/dist/cjs/{index-670500ae.js → index-3d39efa0.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3e662170.js → interactive-1dd05358.js} +1 -1
- package/dist/cjs/{interfaces-ad55bf3b.js → interfaces-10b5d8fe.js} +1 -1
- package/dist/cjs/{key-8f4d8542.js → key-d1493e7c.js} +1 -1
- package/dist/cjs/{label-360daff3.js → label-df924286.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-476cca11.js → locale-68053479.js} +2 -2
- package/dist/cjs/{math-0a02d550.js → math-888da40a.js} +1 -1
- package/dist/cjs/{observers-5cd1a9f3.js → observers-43f38f46.js} +1 -1
- package/dist/cjs/openCloseComponent-1e226788.js +54 -0
- package/dist/cjs/{resources-79b4fbee.js → resources-7c5b0834.js} +3 -3
- package/dist/cjs/{resources-3039c8d6.js → resources-bdf03e47.js} +5 -5
- package/dist/cjs/{resources-a1caab09.js → resources-f9038d2a.js} +1 -1
- package/dist/cjs/{resources-70090a83.js → resources-fdccb826.js} +1 -1
- package/dist/cjs/{sortable.esm-2921a042.js → sortable.esm-6bf6a77b.js} +1 -1
- package/dist/cjs/{utils-4e754002.js → utils-f871d542.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +5 -5
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +2 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- 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 +2 -2
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +21 -30
- 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 +2 -2
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +2 -2
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/chip/chip.js +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +20 -27
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +2 -2
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +19 -26
- 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 +3 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/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 +2 -2
- 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 +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- 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 +16 -25
- 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 +4 -4
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- 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 +18 -8
- package/dist/collection/components/modal/modal.js +32 -35
- package/dist/collection/components/modal/resources.js +9 -2
- package/dist/collection/components/notice/notice.js +3 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +2 -2
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +5 -5
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +2 -2
- 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 +4 -4
- 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 +14 -23
- 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 +5 -5
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -2
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/radio-group-item/radio-group-item.js +2 -2
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/collection/components/slider/slider.js +4 -4
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +2 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +3 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +3 -3
- package/dist/collection/components/stepper-item/stepper-item.js +5 -5
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-nav/tab-nav.js +3 -3
- package/dist/collection/components/tab-title/tab-title.js +6 -6
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +2 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +4 -4
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- 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/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 +45 -2
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +2 -2
- 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 +21 -30
- package/dist/components/calcite-avatar.js +1 -1
- 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 +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +3 -3
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +19 -26
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +4 -4
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-date-picker.js +16 -25
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +4 -4
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +40 -36
- package/dist/components/calcite-notice.js +3 -3
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +3 -3
- package/dist/components/calcite-panel.js +5 -5
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-radio-button.js +5 -5
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +3 -3
- package/dist/components/calcite-stepper-item.js +5 -5
- package/dist/components/calcite-stepper.js +3 -3
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- 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 +3 -3
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +4 -4
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +3 -3
- package/dist/components/checkbox.js +4 -4
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +3 -3
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +5 -5
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +17 -24
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +4 -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 +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +51 -0
- package/dist/components/pick-list-item.js +4 -4
- package/dist/components/popover.js +14 -23
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +4 -4
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +263 -261
- package/dist/esm/{ExpandToggle-edf8dad9.js → ExpandToggle-ca537565.js} +5 -5
- package/dist/esm/{Heading-510d9ee2.js → Heading-797341f7.js} +2 -2
- package/dist/esm/{array-f7f37dba.js → array-975b6ab3.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +11 -11
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +25 -34
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +31 -38
- package/dist/esm/calcite-date-picker_4.entry.js +18 -18
- package/dist/esm/calcite-dropdown_3.entry.js +27 -34
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +10 -10
- package/dist/esm/calcite-input-date-picker.entry.js +26 -35
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +8 -8
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +45 -41
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-panel.entry.js +13 -13
- package/dist/esm/calcite-pick-list_3.entry.js +15 -15
- package/dist/esm/calcite-popover_2.entry.js +20 -29
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- 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 +6 -6
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stepper_2.entry.js +11 -11
- package/dist/esm/calcite-switch.entry.js +8 -8
- package/dist/esm/calcite-tab_4.entry.js +14 -14
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +10 -10
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{conditionalSlot-f3e51b66.js → conditionalSlot-c9541c03.js} +3 -3
- package/dist/esm/{debounce-7eadb91e.js → debounce-ff4f710f.js} +1 -1
- package/dist/esm/{dom-dea55b56.js → dom-33e9e8e0.js} +3 -3
- package/dist/esm/{filter-d4dfe96a.js → filter-dad8842e.js} +2 -2
- package/dist/esm/{floating-ui-b500951e.js → floating-ui-d4987eeb.js} +2 -2
- package/dist/esm/{form-fdc9ba26.js → form-5d4800ad.js} +3 -3
- package/dist/esm/{guid-3f9f71dd.js → guid-4234cfd1.js} +1 -1
- package/dist/esm/{index-6224faaf.js → index-f94b8c49.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b2759bbb.js → interactive-6b8ea6e7.js} +1 -1
- package/dist/esm/{interfaces-e7c82093.js → interfaces-b7acdea0.js} +1 -1
- package/dist/esm/{key-3fe7a4d6.js → key-7f82d2b6.js} +1 -1
- package/dist/esm/{label-60f086ef.js → label-894e655d.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-bd5cf585.js → locale-c8d37e5c.js} +2 -2
- package/dist/esm/{math-58365821.js → math-d886ced0.js} +1 -1
- package/dist/esm/{observers-5404762b.js → observers-5dff01c7.js} +1 -1
- package/dist/esm/openCloseComponent-db7fd0a5.js +51 -0
- package/dist/esm/{resources-8b12233b.js → resources-67157a8c.js} +5 -5
- package/dist/esm/{resources-90270a37.js → resources-b5e08f27.js} +1 -1
- package/dist/esm/{resources-450f8d35.js → resources-e6271895.js} +3 -3
- package/dist/esm/{resources-fbee3842.js → resources-f4bda47d.js} +1 -1
- package/dist/esm/{sortable.esm-31c1f60c.js → sortable.esm-0e153d13.js} +1 -1
- package/dist/esm/{utils-bd8b659e.js → utils-80b471f5.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-edf8dad9.js → ExpandToggle-ca537565.js} +2 -2
- package/dist/esm-es5/{Heading-510d9ee2.js → Heading-797341f7.js} +2 -2
- package/dist/esm-es5/{array-f7f37dba.js → array-975b6ab3.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 +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-f3e51b66.js → conditionalSlot-c9541c03.js} +2 -2
- package/dist/esm-es5/{debounce-7eadb91e.js → debounce-ff4f710f.js} +1 -1
- package/dist/esm-es5/{dom-dea55b56.js → dom-33e9e8e0.js} +2 -2
- package/dist/esm-es5/{filter-d4dfe96a.js → filter-dad8842e.js} +2 -2
- package/dist/esm-es5/{floating-ui-b500951e.js → floating-ui-d4987eeb.js} +2 -2
- package/dist/esm-es5/{form-fdc9ba26.js → form-5d4800ad.js} +2 -2
- package/dist/esm-es5/{guid-3f9f71dd.js → guid-4234cfd1.js} +1 -1
- package/dist/esm-es5/{index-6224faaf.js → index-f94b8c49.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b2759bbb.js → interactive-6b8ea6e7.js} +1 -1
- package/dist/esm-es5/{interfaces-e7c82093.js → interfaces-b7acdea0.js} +1 -1
- package/dist/esm-es5/{key-3fe7a4d6.js → key-7f82d2b6.js} +1 -1
- package/dist/esm-es5/{label-60f086ef.js → label-894e655d.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-bd5cf585.js → locale-c8d37e5c.js} +2 -2
- package/dist/esm-es5/{math-58365821.js → math-d886ced0.js} +1 -1
- package/dist/esm-es5/{observers-5404762b.js → observers-5dff01c7.js} +1 -1
- package/dist/esm-es5/openCloseComponent-db7fd0a5.js +6 -0
- package/dist/esm-es5/{resources-8b12233b.js → resources-67157a8c.js} +2 -2
- package/dist/esm-es5/{resources-90270a37.js → resources-b5e08f27.js} +1 -1
- package/dist/esm-es5/{resources-450f8d35.js → resources-e6271895.js} +3 -3
- package/dist/esm-es5/{resources-fbee3842.js → resources-f4bda47d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-31c1f60c.js → sortable.esm-0e153d13.js} +1 -1
- package/dist/esm-es5/{utils-bd8b659e.js → utils-80b471f5.js} +1 -1
- package/dist/extras/docs-json.json +99 -99
- 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/alert/alert.d.ts +3 -5
- package/dist/types/components/combobox/combobox.d.ts +3 -4
- package/dist/types/components/dropdown/dropdown.d.ts +5 -6
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +3 -5
- package/dist/types/components/modal/modal.d.ts +4 -6
- package/dist/types/components/modal/resources.d.ts +5 -0
- package/dist/types/components/popover/popover.d.ts +3 -5
- package/dist/types/components.d.ts +3 -1
- package/dist/types/utils/openCloseComponent.d.ts +24 -0
- package/hydrate/index.js +266 -264
- package/package.json +1 -1
- package/dist/calcite/p-0311af33.system.entry.js +0 -6
- package/dist/calcite/p-1d3e5b68.entry.js +0 -6
- package/dist/calcite/p-3e2e9362.system.entry.js +0 -6
- package/dist/calcite/p-43c18754.entry.js +0 -6
- package/dist/calcite/p-46107103.entry.js +0 -6
- package/dist/calcite/p-4fd8771d.system.entry.js +0 -6
- package/dist/calcite/p-539848f0.system.entry.js +0 -6
- package/dist/calcite/p-5b0dc5db.entry.js +0 -6
- package/dist/calcite/p-5ec51d9c.js +0 -6
- package/dist/calcite/p-7be1e4da.system.entry.js +0 -6
- package/dist/calcite/p-a25b4d6e.entry.js +0 -6
- package/dist/calcite/p-b4e3cd12.entry.js +0 -6
- package/dist/calcite/p-c541dd9e.system.entry.js +0 -6
- package/dist/calcite/p-c58f2635.entry.js +0 -6
- package/dist/calcite/p-c8c6148a.entry.js +0 -6
- package/dist/calcite/p-ce694563.js +0 -6
- package/dist/calcite/p-e34687d9.system.js +0 -6
- package/dist/calcite/p-f92ff600.system.entry.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.551
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -13,7 +13,7 @@ const Accordion = class extends HTMLElement$1 {
|
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
15
|
this.__attachShadow();
|
|
16
|
-
this.calciteInternalAccordionChange = createEvent(this, "calciteInternalAccordionChange",
|
|
16
|
+
this.calciteInternalAccordionChange = createEvent(this, "calciteInternalAccordionChange", 6);
|
|
17
17
|
//--------------------------------------------------------------------------
|
|
18
18
|
//
|
|
19
19
|
// Public Properties
|
|
@@ -422,10 +422,10 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
422
422
|
super();
|
|
423
423
|
this.__registerHost();
|
|
424
424
|
this.__attachShadow();
|
|
425
|
-
this.calciteInternalAccordionItemKeyEvent = createEvent(this, "calciteInternalAccordionItemKeyEvent",
|
|
426
|
-
this.calciteInternalAccordionItemSelect = createEvent(this, "calciteInternalAccordionItemSelect",
|
|
427
|
-
this.calciteInternalAccordionItemClose = createEvent(this, "calciteInternalAccordionItemClose",
|
|
428
|
-
this.calciteInternalAccordionItemRegister = createEvent(this, "calciteInternalAccordionItemRegister",
|
|
425
|
+
this.calciteInternalAccordionItemKeyEvent = createEvent(this, "calciteInternalAccordionItemKeyEvent", 6);
|
|
426
|
+
this.calciteInternalAccordionItemSelect = createEvent(this, "calciteInternalAccordionItemSelect", 6);
|
|
427
|
+
this.calciteInternalAccordionItemClose = createEvent(this, "calciteInternalAccordionItemClose", 6);
|
|
428
|
+
this.calciteInternalAccordionItemRegister = createEvent(this, "calciteInternalAccordionItemRegister", 6);
|
|
429
429
|
//--------------------------------------------------------------------------
|
|
430
430
|
//
|
|
431
431
|
// Public Properties
|
|
@@ -636,7 +636,7 @@ const Action = class extends HTMLElement$1 {
|
|
|
636
636
|
super();
|
|
637
637
|
this.__registerHost();
|
|
638
638
|
this.__attachShadow();
|
|
639
|
-
this.calciteActionClick = createEvent(this, "calciteActionClick",
|
|
639
|
+
this.calciteActionClick = createEvent(this, "calciteActionClick", 6);
|
|
640
640
|
// --------------------------------------------------------------------------
|
|
641
641
|
//
|
|
642
642
|
// Properties
|
|
@@ -2152,7 +2152,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2152
2152
|
super();
|
|
2153
2153
|
this.__registerHost();
|
|
2154
2154
|
this.__attachShadow();
|
|
2155
|
-
this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle",
|
|
2155
|
+
this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 6);
|
|
2156
2156
|
// --------------------------------------------------------------------------
|
|
2157
2157
|
//
|
|
2158
2158
|
// Properties
|
|
@@ -2415,7 +2415,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2415
2415
|
super();
|
|
2416
2416
|
this.__registerHost();
|
|
2417
2417
|
this.__attachShadow();
|
|
2418
|
-
this.calciteActionMenuOpenChange = createEvent(this, "calciteActionMenuOpenChange",
|
|
2418
|
+
this.calciteActionMenuOpenChange = createEvent(this, "calciteActionMenuOpenChange", 6);
|
|
2419
2419
|
// --------------------------------------------------------------------------
|
|
2420
2420
|
//
|
|
2421
2421
|
// Properties
|
|
@@ -2690,7 +2690,7 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2690
2690
|
super();
|
|
2691
2691
|
this.__registerHost();
|
|
2692
2692
|
this.__attachShadow();
|
|
2693
|
-
this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle",
|
|
2693
|
+
this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle", 6);
|
|
2694
2694
|
// --------------------------------------------------------------------------
|
|
2695
2695
|
//
|
|
2696
2696
|
// Properties
|
|
@@ -2812,6 +2812,51 @@ var StatusIcons;
|
|
|
2812
2812
|
StatusIcons["blue"] = "lightbulb";
|
|
2813
2813
|
})(StatusIcons || (StatusIcons = {}));
|
|
2814
2814
|
|
|
2815
|
+
const componentToTransitionListeners = new WeakMap();
|
|
2816
|
+
function transitionStart(event) {
|
|
2817
|
+
if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {
|
|
2818
|
+
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
function transitionEnd(event) {
|
|
2822
|
+
if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {
|
|
2823
|
+
this.open ? this.onOpen() : this.onClose();
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
/**
|
|
2827
|
+
* Helper to keep track of transition listeners on setTransitionEl and connectedCallback on OpenCloseComponent components.
|
|
2828
|
+
*
|
|
2829
|
+
* @param component
|
|
2830
|
+
*/
|
|
2831
|
+
function connectOpenCloseComponent(component) {
|
|
2832
|
+
disconnectOpenCloseComponent(component);
|
|
2833
|
+
if (component.transitionEl) {
|
|
2834
|
+
const boundOnTransitionStart = transitionStart.bind(component);
|
|
2835
|
+
const boundOnTransitionEnd = transitionEnd.bind(component);
|
|
2836
|
+
componentToTransitionListeners.set(component, [
|
|
2837
|
+
component.transitionEl,
|
|
2838
|
+
boundOnTransitionStart,
|
|
2839
|
+
boundOnTransitionEnd
|
|
2840
|
+
]);
|
|
2841
|
+
component.transitionEl.addEventListener("transitionstart", boundOnTransitionStart);
|
|
2842
|
+
component.transitionEl.addEventListener("transitionend", boundOnTransitionEnd);
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* Helper to tear down transition listeners on disconnectedCallback on OpenCloseComponent components.
|
|
2847
|
+
*
|
|
2848
|
+
* @param component
|
|
2849
|
+
*/
|
|
2850
|
+
function disconnectOpenCloseComponent(component) {
|
|
2851
|
+
if (!componentToTransitionListeners.has(component)) {
|
|
2852
|
+
return;
|
|
2853
|
+
}
|
|
2854
|
+
const [transitionEl, start, end] = componentToTransitionListeners.get(component);
|
|
2855
|
+
transitionEl.removeEventListener("transitionstart", start);
|
|
2856
|
+
transitionEl.removeEventListener("transitionend", end);
|
|
2857
|
+
componentToTransitionListeners.delete(component);
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2815
2860
|
const alertCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .alert-queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=s]) .alert-close{padding:0.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .alert-queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .alert-queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host{--calcite-alert-edge-distance:2rem;display:block}:host .container{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}:host .container.bottom,:host .container.top{inset-inline-end:0;inset-inline-start:0}:host .container[class*=bottom]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}:host .container[class*=top]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}:host .container[class*=-start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}:host .container[class*=-end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.alert-close{outline-color:transparent}.alert-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([open]) .container:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}.alert-content{-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;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}.alert-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}.alert-content:only-child{padding:var(--calcite-alert-spacing-token-small)}.alert-icon{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}.alert-close{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}.alert-close:hover,.alert-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.alert-close:open{background-color:var(--calcite-ui-foreground-3)}.alert-queue-count{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-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-inline:0px solid transparent;border-start-end-radius:0}.alert-queue-count.active{visibility:visible;opacity:1}:host([auto-dismiss])>.alert-queue-count{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}.alert-dismiss-progress{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.alert-dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}:host([color=blue]) .container{border-block-start-color:var(--calcite-ui-info)}:host([color=blue]) .container .alert-icon{color:var(--calcite-ui-info)}:host([color=red]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([color=red]) .container .alert-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-block-start-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .alert-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-block-start-color:var(--calcite-ui-success)}:host([color=green]) .container .alert-icon{color:var(--calcite-ui-success)}:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
|
|
2816
2861
|
|
|
2817
2862
|
const Alert = class extends HTMLElement$1 {
|
|
@@ -2819,12 +2864,12 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2819
2864
|
super();
|
|
2820
2865
|
this.__registerHost();
|
|
2821
2866
|
this.__attachShadow();
|
|
2822
|
-
this.calciteAlertBeforeClose = createEvent(this, "calciteAlertBeforeClose",
|
|
2823
|
-
this.calciteAlertClose = createEvent(this, "calciteAlertClose",
|
|
2824
|
-
this.calciteAlertBeforeOpen = createEvent(this, "calciteAlertBeforeOpen",
|
|
2825
|
-
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen",
|
|
2826
|
-
this.calciteInternalAlertSync = createEvent(this, "calciteInternalAlertSync",
|
|
2827
|
-
this.calciteInternalAlertRegister = createEvent(this, "calciteInternalAlertRegister",
|
|
2867
|
+
this.calciteAlertBeforeClose = createEvent(this, "calciteAlertBeforeClose", 6);
|
|
2868
|
+
this.calciteAlertClose = createEvent(this, "calciteAlertClose", 6);
|
|
2869
|
+
this.calciteAlertBeforeOpen = createEvent(this, "calciteAlertBeforeOpen", 6);
|
|
2870
|
+
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 6);
|
|
2871
|
+
this.calciteInternalAlertSync = createEvent(this, "calciteInternalAlertSync", 6);
|
|
2872
|
+
this.calciteInternalAlertRegister = createEvent(this, "calciteInternalAlertRegister", 6);
|
|
2828
2873
|
//--------------------------------------------------------------------------
|
|
2829
2874
|
//
|
|
2830
2875
|
// Properties
|
|
@@ -2865,13 +2910,18 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2865
2910
|
this.queueLength = 0;
|
|
2866
2911
|
/** is the alert queued */
|
|
2867
2912
|
this.queued = false;
|
|
2868
|
-
this.setContainerEl = (el) => {
|
|
2869
|
-
this.containerEl = el;
|
|
2870
|
-
this.containerEl.addEventListener("transitionstart", this.transitionStartHandler);
|
|
2871
|
-
};
|
|
2872
2913
|
this.autoDismissTimeoutId = null;
|
|
2873
2914
|
this.trackTimer = Date.now();
|
|
2874
|
-
this.
|
|
2915
|
+
this.openTransitionProp = "opacity";
|
|
2916
|
+
//--------------------------------------------------------------------------
|
|
2917
|
+
//
|
|
2918
|
+
// Private Methods
|
|
2919
|
+
//
|
|
2920
|
+
//--------------------------------------------------------------------------
|
|
2921
|
+
this.setTransitionEl = (el) => {
|
|
2922
|
+
this.transitionEl = el;
|
|
2923
|
+
connectOpenCloseComponent(this);
|
|
2924
|
+
};
|
|
2875
2925
|
/** close and emit calciteInternalAlertSync event with the updated queue payload */
|
|
2876
2926
|
this.closeAlert = () => {
|
|
2877
2927
|
this.autoDismissTimeoutId = null;
|
|
@@ -2881,16 +2931,6 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2881
2931
|
this.determineActiveAlert();
|
|
2882
2932
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
2883
2933
|
};
|
|
2884
|
-
this.transitionStartHandler = (event) => {
|
|
2885
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
2886
|
-
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
2887
|
-
}
|
|
2888
|
-
};
|
|
2889
|
-
this.transitionEnd = (event) => {
|
|
2890
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
2891
|
-
this.open ? this.onOpen() : this.onClose();
|
|
2892
|
-
}
|
|
2893
|
-
};
|
|
2894
2934
|
}
|
|
2895
2935
|
activeHandler(value) {
|
|
2896
2936
|
this.open = value;
|
|
@@ -2927,14 +2967,14 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2927
2967
|
this.openHandler(open);
|
|
2928
2968
|
this.calciteInternalAlertRegister.emit();
|
|
2929
2969
|
}
|
|
2970
|
+
connectOpenCloseComponent(this);
|
|
2930
2971
|
}
|
|
2931
2972
|
componentWillLoad() {
|
|
2932
2973
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
2933
2974
|
}
|
|
2934
2975
|
disconnectedCallback() {
|
|
2935
|
-
var _a;
|
|
2936
2976
|
window.clearTimeout(this.autoDismissTimeoutId);
|
|
2937
|
-
(
|
|
2977
|
+
disconnectOpenCloseComponent(this);
|
|
2938
2978
|
}
|
|
2939
2979
|
render() {
|
|
2940
2980
|
const closeButton = (h("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
@@ -2947,7 +2987,7 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2947
2987
|
container: true,
|
|
2948
2988
|
queued,
|
|
2949
2989
|
[placement]: true
|
|
2950
|
-
},
|
|
2990
|
+
}, ref: this.setTransitionEl }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$n.title }), h("slot", { name: SLOTS$n.message }), h("slot", { name: SLOTS$n.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
2951
2991
|
}
|
|
2952
2992
|
// when an alert is opened or closed, update queue and determine active alert
|
|
2953
2993
|
alertSync(event) {
|
|
@@ -2985,11 +3025,6 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2985
3025
|
this.closeButton.focus();
|
|
2986
3026
|
}
|
|
2987
3027
|
}
|
|
2988
|
-
//--------------------------------------------------------------------------
|
|
2989
|
-
//
|
|
2990
|
-
// Private Methods
|
|
2991
|
-
//
|
|
2992
|
-
//--------------------------------------------------------------------------
|
|
2993
3028
|
/** determine which alert is active */
|
|
2994
3029
|
determineActiveAlert() {
|
|
2995
3030
|
var _a;
|
|
@@ -3333,7 +3368,7 @@ const Block = class extends HTMLElement$1 {
|
|
|
3333
3368
|
super();
|
|
3334
3369
|
this.__registerHost();
|
|
3335
3370
|
this.__attachShadow();
|
|
3336
|
-
this.calciteBlockToggle = createEvent(this, "calciteBlockToggle",
|
|
3371
|
+
this.calciteBlockToggle = createEvent(this, "calciteBlockToggle", 6);
|
|
3337
3372
|
// --------------------------------------------------------------------------
|
|
3338
3373
|
//
|
|
3339
3374
|
// Properties
|
|
@@ -3499,7 +3534,7 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3499
3534
|
super();
|
|
3500
3535
|
this.__registerHost();
|
|
3501
3536
|
this.__attachShadow();
|
|
3502
|
-
this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle",
|
|
3537
|
+
this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 6);
|
|
3503
3538
|
/**
|
|
3504
3539
|
* When true, the block's section content will be displayed.
|
|
3505
3540
|
*/
|
|
@@ -4105,7 +4140,7 @@ const Card = class extends HTMLElement$1 {
|
|
|
4105
4140
|
super();
|
|
4106
4141
|
this.__registerHost();
|
|
4107
4142
|
this.__attachShadow();
|
|
4108
|
-
this.calciteCardSelect = createEvent(this, "calciteCardSelect",
|
|
4143
|
+
this.calciteCardSelect = createEvent(this, "calciteCardSelect", 6);
|
|
4109
4144
|
//--------------------------------------------------------------------------
|
|
4110
4145
|
//
|
|
4111
4146
|
// Public Properties
|
|
@@ -4211,9 +4246,9 @@ const Checkbox = class extends HTMLElement$1 {
|
|
|
4211
4246
|
super();
|
|
4212
4247
|
this.__registerHost();
|
|
4213
4248
|
this.__attachShadow();
|
|
4214
|
-
this.calciteInternalCheckboxBlur = createEvent(this, "calciteInternalCheckboxBlur",
|
|
4215
|
-
this.calciteCheckboxChange = createEvent(this, "calciteCheckboxChange",
|
|
4216
|
-
this.calciteInternalCheckboxFocus = createEvent(this, "calciteInternalCheckboxFocus",
|
|
4249
|
+
this.calciteInternalCheckboxBlur = createEvent(this, "calciteInternalCheckboxBlur", 6);
|
|
4250
|
+
this.calciteCheckboxChange = createEvent(this, "calciteCheckboxChange", 6);
|
|
4251
|
+
this.calciteInternalCheckboxFocus = createEvent(this, "calciteInternalCheckboxFocus", 6);
|
|
4217
4252
|
//--------------------------------------------------------------------------
|
|
4218
4253
|
//
|
|
4219
4254
|
// Properties
|
|
@@ -4351,7 +4386,7 @@ const Chip = class extends HTMLElement$1 {
|
|
|
4351
4386
|
super();
|
|
4352
4387
|
this.__registerHost();
|
|
4353
4388
|
this.__attachShadow();
|
|
4354
|
-
this.calciteChipDismiss = createEvent(this, "calciteChipDismiss",
|
|
4389
|
+
this.calciteChipDismiss = createEvent(this, "calciteChipDismiss", 6);
|
|
4355
4390
|
//--------------------------------------------------------------------------
|
|
4356
4391
|
//
|
|
4357
4392
|
// Public Properties
|
|
@@ -6683,8 +6718,8 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
6683
6718
|
super();
|
|
6684
6719
|
this.__registerHost();
|
|
6685
6720
|
this.__attachShadow();
|
|
6686
|
-
this.calciteColorPickerChange = createEvent(this, "calciteColorPickerChange",
|
|
6687
|
-
this.calciteColorPickerInput = createEvent(this, "calciteColorPickerInput",
|
|
6721
|
+
this.calciteColorPickerChange = createEvent(this, "calciteColorPickerChange", 6);
|
|
6722
|
+
this.calciteColorPickerInput = createEvent(this, "calciteColorPickerInput", 6);
|
|
6688
6723
|
//--------------------------------------------------------------------------
|
|
6689
6724
|
//
|
|
6690
6725
|
// Public properties
|
|
@@ -7513,7 +7548,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7513
7548
|
super();
|
|
7514
7549
|
this.__registerHost();
|
|
7515
7550
|
this.__attachShadow();
|
|
7516
|
-
this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange",
|
|
7551
|
+
this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 6);
|
|
7517
7552
|
//--------------------------------------------------------------------------
|
|
7518
7553
|
//
|
|
7519
7554
|
// Public Properties
|
|
@@ -9428,14 +9463,14 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9428
9463
|
super();
|
|
9429
9464
|
this.__registerHost();
|
|
9430
9465
|
this.__attachShadow();
|
|
9431
|
-
this.calciteLookupChange = createEvent(this, "calciteLookupChange",
|
|
9432
|
-
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange",
|
|
9433
|
-
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange",
|
|
9434
|
-
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss",
|
|
9435
|
-
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose",
|
|
9436
|
-
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose",
|
|
9437
|
-
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen",
|
|
9438
|
-
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen",
|
|
9466
|
+
this.calciteLookupChange = createEvent(this, "calciteLookupChange", 6);
|
|
9467
|
+
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 6);
|
|
9468
|
+
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 6);
|
|
9469
|
+
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 6);
|
|
9470
|
+
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 6);
|
|
9471
|
+
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 6);
|
|
9472
|
+
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 6);
|
|
9473
|
+
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 6);
|
|
9439
9474
|
//--------------------------------------------------------------------------
|
|
9440
9475
|
//
|
|
9441
9476
|
// Public Properties
|
|
@@ -9499,7 +9534,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9499
9534
|
this.guid = guid();
|
|
9500
9535
|
this.inputHeight = 0;
|
|
9501
9536
|
this.ignoreSelectedEventsFlag = false;
|
|
9502
|
-
this.
|
|
9537
|
+
this.openTransitionProp = "opacity";
|
|
9503
9538
|
// --------------------------------------------------------------------------
|
|
9504
9539
|
//
|
|
9505
9540
|
// Private Methods
|
|
@@ -9618,16 +9653,6 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9618
9653
|
this.open = false;
|
|
9619
9654
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
9620
9655
|
};
|
|
9621
|
-
this.transitionEnd = (event) => {
|
|
9622
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
|
|
9623
|
-
this.open ? this.onOpen() : this.onClose();
|
|
9624
|
-
}
|
|
9625
|
-
};
|
|
9626
|
-
this.transitionStartHandler = (event) => {
|
|
9627
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
|
|
9628
|
-
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
9629
|
-
}
|
|
9630
|
-
};
|
|
9631
9656
|
this.setMaxScrollerHeight = async () => {
|
|
9632
9657
|
const { listContainerEl, open, referenceEl } = this;
|
|
9633
9658
|
if (!listContainerEl || !open) {
|
|
@@ -9677,10 +9702,11 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9677
9702
|
this.floatingEl = el;
|
|
9678
9703
|
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
9679
9704
|
};
|
|
9680
|
-
this.
|
|
9705
|
+
this.setContainerEl = (el) => {
|
|
9681
9706
|
this.resizeObserver.observe(el);
|
|
9682
9707
|
this.listContainerEl = el;
|
|
9683
|
-
this.
|
|
9708
|
+
this.transitionEl = el;
|
|
9709
|
+
connectOpenCloseComponent(this);
|
|
9684
9710
|
};
|
|
9685
9711
|
this.setReferenceEl = (el) => {
|
|
9686
9712
|
this.referenceEl = el;
|
|
@@ -9862,6 +9888,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9862
9888
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
9863
9889
|
connectLabel(this);
|
|
9864
9890
|
connectForm(this);
|
|
9891
|
+
connectOpenCloseComponent(this);
|
|
9865
9892
|
this.reposition();
|
|
9866
9893
|
this.setFilteredPlacements();
|
|
9867
9894
|
if (this.active) {
|
|
@@ -9886,13 +9913,13 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9886
9913
|
updateHostInteraction(this);
|
|
9887
9914
|
}
|
|
9888
9915
|
disconnectedCallback() {
|
|
9889
|
-
var _a, _b
|
|
9916
|
+
var _a, _b;
|
|
9890
9917
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
9891
9918
|
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
9892
9919
|
disconnectLabel(this);
|
|
9893
9920
|
disconnectForm(this);
|
|
9894
9921
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
9895
|
-
(
|
|
9922
|
+
disconnectOpenCloseComponent(this);
|
|
9896
9923
|
}
|
|
9897
9924
|
selectedItemsHandler() {
|
|
9898
9925
|
this.internalValueChangeFlag = true;
|
|
@@ -10181,7 +10208,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10181
10208
|
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
10182
10209
|
}
|
|
10183
10210
|
renderFloatingUIContainer() {
|
|
10184
|
-
const { active, setFloatingEl,
|
|
10211
|
+
const { active, setFloatingEl, setContainerEl, open } = this;
|
|
10185
10212
|
const classes = {
|
|
10186
10213
|
"list-container": true,
|
|
10187
10214
|
[FloatingCSS.animation]: true,
|
|
@@ -10190,7 +10217,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10190
10217
|
return (h("div", { "aria-hidden": "true", class: {
|
|
10191
10218
|
"floating-ui-container": true,
|
|
10192
10219
|
"floating-ui-container--active": open || active
|
|
10193
|
-
}, ref: setFloatingEl }, h("div", { class: classes,
|
|
10220
|
+
}, ref: setFloatingEl }, h("div", { class: classes, ref: setContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
|
|
10194
10221
|
}
|
|
10195
10222
|
renderIconStart() {
|
|
10196
10223
|
var _a;
|
|
@@ -10248,7 +10275,7 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10248
10275
|
super();
|
|
10249
10276
|
this.__registerHost();
|
|
10250
10277
|
this.__attachShadow();
|
|
10251
|
-
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange",
|
|
10278
|
+
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 6);
|
|
10252
10279
|
// --------------------------------------------------------------------------
|
|
10253
10280
|
//
|
|
10254
10281
|
// Properties
|
|
@@ -10909,8 +10936,8 @@ const DatePicker = class extends HTMLElement$1 {
|
|
|
10909
10936
|
super();
|
|
10910
10937
|
this.__registerHost();
|
|
10911
10938
|
this.__attachShadow();
|
|
10912
|
-
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange",
|
|
10913
|
-
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange",
|
|
10939
|
+
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 6);
|
|
10940
|
+
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
|
|
10914
10941
|
/**
|
|
10915
10942
|
* Localized string for "previous month" (used for aria label)
|
|
10916
10943
|
*
|
|
@@ -11332,8 +11359,8 @@ const DatePickerDay = class extends HTMLElement$1 {
|
|
|
11332
11359
|
super();
|
|
11333
11360
|
this.__registerHost();
|
|
11334
11361
|
this.__attachShadow();
|
|
11335
|
-
this.calciteDaySelect = createEvent(this, "calciteDaySelect",
|
|
11336
|
-
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover",
|
|
11362
|
+
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 6);
|
|
11363
|
+
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover", 6);
|
|
11337
11364
|
/** Date is outside of range and can't be selected */
|
|
11338
11365
|
this.disabled = false;
|
|
11339
11366
|
/** Date is in the current month. */
|
|
@@ -11400,10 +11427,10 @@ const DatePickerMonth = class extends HTMLElement$1 {
|
|
|
11400
11427
|
super();
|
|
11401
11428
|
this.__registerHost();
|
|
11402
11429
|
this.__attachShadow();
|
|
11403
|
-
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect",
|
|
11404
|
-
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover",
|
|
11405
|
-
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange",
|
|
11406
|
-
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut",
|
|
11430
|
+
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 6);
|
|
11431
|
+
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 6);
|
|
11432
|
+
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 6);
|
|
11433
|
+
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 6);
|
|
11407
11434
|
/** Date currently active.*/
|
|
11408
11435
|
this.activeDate = new Date();
|
|
11409
11436
|
//--------------------------------------------------------------------------
|
|
@@ -11704,7 +11731,7 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
|
|
|
11704
11731
|
super();
|
|
11705
11732
|
this.__registerHost();
|
|
11706
11733
|
this.__attachShadow();
|
|
11707
|
-
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect",
|
|
11734
|
+
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 6);
|
|
11708
11735
|
//--------------------------------------------------------------------------
|
|
11709
11736
|
//
|
|
11710
11737
|
// Private Methods
|
|
@@ -11867,11 +11894,11 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11867
11894
|
super();
|
|
11868
11895
|
this.__registerHost();
|
|
11869
11896
|
this.__attachShadow();
|
|
11870
|
-
this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect",
|
|
11871
|
-
this.calciteDropdownBeforeClose = createEvent(this, "calciteDropdownBeforeClose",
|
|
11872
|
-
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose",
|
|
11873
|
-
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen",
|
|
11874
|
-
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen",
|
|
11897
|
+
this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 6);
|
|
11898
|
+
this.calciteDropdownBeforeClose = createEvent(this, "calciteDropdownBeforeClose", 6);
|
|
11899
|
+
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 6);
|
|
11900
|
+
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 6);
|
|
11901
|
+
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 6);
|
|
11875
11902
|
//--------------------------------------------------------------------------
|
|
11876
11903
|
//
|
|
11877
11904
|
// Public Properties
|
|
@@ -11917,9 +11944,9 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11917
11944
|
this.type = "click";
|
|
11918
11945
|
this.items = [];
|
|
11919
11946
|
this.groups = [];
|
|
11920
|
-
this.activeTransitionProp = "visibility";
|
|
11921
11947
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
11922
11948
|
this.resizeObserver = createObserver("resize", (entries) => this.resizeObserverCallback(entries));
|
|
11949
|
+
this.openTransitionProp = "visibility";
|
|
11923
11950
|
this.guid = `calcite-dropdown-${guid()}`;
|
|
11924
11951
|
this.defaultAssignedElements = [];
|
|
11925
11952
|
//--------------------------------------------------------------------------
|
|
@@ -11988,20 +12015,11 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11988
12015
|
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
11989
12016
|
this.reposition();
|
|
11990
12017
|
};
|
|
11991
|
-
this.
|
|
11992
|
-
this.resizeObserver.observe(
|
|
11993
|
-
this.scrollerEl =
|
|
11994
|
-
this.
|
|
11995
|
-
|
|
11996
|
-
this.transitionEnd = (event) => {
|
|
11997
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
|
|
11998
|
-
this.open ? this.onOpen() : this.onClose();
|
|
11999
|
-
}
|
|
12000
|
-
};
|
|
12001
|
-
this.transitionStartHandler = (event) => {
|
|
12002
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
|
|
12003
|
-
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
12004
|
-
}
|
|
12018
|
+
this.setScrollerAndTransitionEl = (el) => {
|
|
12019
|
+
this.resizeObserver.observe(el);
|
|
12020
|
+
this.scrollerEl = el;
|
|
12021
|
+
this.transitionEl = el;
|
|
12022
|
+
connectOpenCloseComponent(this);
|
|
12005
12023
|
};
|
|
12006
12024
|
this.setReferenceEl = (el) => {
|
|
12007
12025
|
this.referenceEl = el;
|
|
@@ -12090,6 +12108,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12090
12108
|
if (this.active) {
|
|
12091
12109
|
this.activeHandler(this.active);
|
|
12092
12110
|
}
|
|
12111
|
+
connectOpenCloseComponent(this);
|
|
12093
12112
|
}
|
|
12094
12113
|
componentDidLoad() {
|
|
12095
12114
|
this.reposition();
|
|
@@ -12098,11 +12117,11 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12098
12117
|
updateHostInteraction(this);
|
|
12099
12118
|
}
|
|
12100
12119
|
disconnectedCallback() {
|
|
12101
|
-
var _a, _b
|
|
12120
|
+
var _a, _b;
|
|
12102
12121
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
12103
12122
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
12104
12123
|
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
12105
|
-
(
|
|
12124
|
+
disconnectOpenCloseComponent(this);
|
|
12106
12125
|
}
|
|
12107
12126
|
render() {
|
|
12108
12127
|
const { open, guid } = this;
|
|
@@ -12110,7 +12129,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12110
12129
|
["calcite-dropdown-content"]: true,
|
|
12111
12130
|
[FloatingCSS.animation]: true,
|
|
12112
12131
|
[FloatingCSS.animationActive]: open
|
|
12113
|
-
}, id: `${guid}-menu`,
|
|
12132
|
+
}, id: `${guid}-menu`, ref: this.setScrollerAndTransitionEl, role: "menu" }, h("div", { hidden: !open }, h("slot", { onSlotchange: this.updateGroups }))))));
|
|
12114
12133
|
}
|
|
12115
12134
|
//--------------------------------------------------------------------------
|
|
12116
12135
|
//
|
|
@@ -12303,7 +12322,7 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12303
12322
|
super();
|
|
12304
12323
|
this.__registerHost();
|
|
12305
12324
|
this.__attachShadow();
|
|
12306
|
-
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange",
|
|
12325
|
+
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 6);
|
|
12307
12326
|
/**
|
|
12308
12327
|
specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
|
12309
12328
|
none (no active items), defaults to single
|
|
@@ -12371,9 +12390,9 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12371
12390
|
super();
|
|
12372
12391
|
this.__registerHost();
|
|
12373
12392
|
this.__attachShadow();
|
|
12374
|
-
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect",
|
|
12375
|
-
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent",
|
|
12376
|
-
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest",
|
|
12393
|
+
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
|
12394
|
+
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
|
12395
|
+
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
|
12377
12396
|
//--------------------------------------------------------------------------
|
|
12378
12397
|
//
|
|
12379
12398
|
// Public Properties
|
|
@@ -12624,7 +12643,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12624
12643
|
super();
|
|
12625
12644
|
this.__registerHost();
|
|
12626
12645
|
this.__attachShadow();
|
|
12627
|
-
this.calciteFilterChange = createEvent(this, "calciteFilterChange",
|
|
12646
|
+
this.calciteFilterChange = createEvent(this, "calciteFilterChange", 6);
|
|
12628
12647
|
// --------------------------------------------------------------------------
|
|
12629
12648
|
//
|
|
12630
12649
|
// Properties
|
|
@@ -13079,7 +13098,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13079
13098
|
super();
|
|
13080
13099
|
this.__registerHost();
|
|
13081
13100
|
this.__attachShadow();
|
|
13082
|
-
this.calciteHandleNudge = createEvent(this, "calciteHandleNudge",
|
|
13101
|
+
this.calciteHandleNudge = createEvent(this, "calciteHandleNudge", 6);
|
|
13083
13102
|
// --------------------------------------------------------------------------
|
|
13084
13103
|
//
|
|
13085
13104
|
// Properties
|
|
@@ -13326,9 +13345,9 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13326
13345
|
super();
|
|
13327
13346
|
this.__registerHost();
|
|
13328
13347
|
this.__attachShadow();
|
|
13329
|
-
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel",
|
|
13330
|
-
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm",
|
|
13331
|
-
this.calciteInternalInlineEditableEnableEditingChange = createEvent(this, "calciteInternalInlineEditableEnableEditingChange",
|
|
13348
|
+
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 6);
|
|
13349
|
+
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 6);
|
|
13350
|
+
this.calciteInternalInlineEditableEnableEditingChange = createEvent(this, "calciteInternalInlineEditableEnableEditingChange", 6);
|
|
13332
13351
|
//--------------------------------------------------------------------------
|
|
13333
13352
|
//
|
|
13334
13353
|
// Props
|
|
@@ -13570,10 +13589,10 @@ const Input = class extends HTMLElement$1 {
|
|
|
13570
13589
|
super();
|
|
13571
13590
|
this.__registerHost();
|
|
13572
13591
|
this.__attachShadow();
|
|
13573
|
-
this.calciteInternalInputFocus = createEvent(this, "calciteInternalInputFocus",
|
|
13574
|
-
this.calciteInternalInputBlur = createEvent(this, "calciteInternalInputBlur",
|
|
13592
|
+
this.calciteInternalInputFocus = createEvent(this, "calciteInternalInputFocus", 6);
|
|
13593
|
+
this.calciteInternalInputBlur = createEvent(this, "calciteInternalInputBlur", 6);
|
|
13575
13594
|
this.calciteInputInput = createEvent(this, "calciteInputInput", 7);
|
|
13576
|
-
this.calciteInputChange = createEvent(this, "calciteInputChange",
|
|
13595
|
+
this.calciteInputChange = createEvent(this, "calciteInputChange", 6);
|
|
13577
13596
|
//--------------------------------------------------------------------------
|
|
13578
13597
|
//
|
|
13579
13598
|
// Properties
|
|
@@ -14148,13 +14167,13 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14148
14167
|
super();
|
|
14149
14168
|
this.__registerHost();
|
|
14150
14169
|
this.__attachShadow();
|
|
14151
|
-
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange",
|
|
14152
|
-
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange",
|
|
14153
|
-
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange",
|
|
14154
|
-
this.calciteInputDatePickerBeforeClose = createEvent(this, "calciteInputDatePickerBeforeClose",
|
|
14155
|
-
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose",
|
|
14156
|
-
this.calciteInputDatePickerBeforeOpen = createEvent(this, "calciteInputDatePickerBeforeOpen",
|
|
14157
|
-
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen",
|
|
14170
|
+
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 6);
|
|
14171
|
+
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
|
|
14172
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 6);
|
|
14173
|
+
this.calciteInputDatePickerBeforeClose = createEvent(this, "calciteInputDatePickerBeforeClose", 6);
|
|
14174
|
+
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 6);
|
|
14175
|
+
this.calciteInputDatePickerBeforeOpen = createEvent(this, "calciteInputDatePickerBeforeOpen", 6);
|
|
14176
|
+
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 6);
|
|
14158
14177
|
//--------------------------------------------------------------------------
|
|
14159
14178
|
//
|
|
14160
14179
|
// Public Properties
|
|
@@ -14221,11 +14240,7 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14221
14240
|
/** Layout */
|
|
14222
14241
|
this.layout = "horizontal";
|
|
14223
14242
|
this.focusedInput = "start";
|
|
14224
|
-
this.
|
|
14225
|
-
this.setContainerEl = (el) => {
|
|
14226
|
-
this.containerEl = el;
|
|
14227
|
-
this.containerEl.addEventListener("transitionstart", this.transitionStartHandler);
|
|
14228
|
-
};
|
|
14243
|
+
this.openTransitionProp = "opacity";
|
|
14229
14244
|
//--------------------------------------------------------------------------
|
|
14230
14245
|
//
|
|
14231
14246
|
// Private Methods
|
|
@@ -14237,15 +14252,9 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14237
14252
|
? filterComputedPlacements(flipPlacements, el)
|
|
14238
14253
|
: null;
|
|
14239
14254
|
};
|
|
14240
|
-
this.
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
}
|
|
14244
|
-
};
|
|
14245
|
-
this.transitionEnd = (event) => {
|
|
14246
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
14247
|
-
this.open ? this.onOpen() : this.onClose();
|
|
14248
|
-
}
|
|
14255
|
+
this.setTransitionEl = (el) => {
|
|
14256
|
+
this.transitionEl = el;
|
|
14257
|
+
connectOpenCloseComponent(this);
|
|
14249
14258
|
};
|
|
14250
14259
|
this.setStartInput = (el) => {
|
|
14251
14260
|
this.startInput = el;
|
|
@@ -14442,6 +14451,7 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14442
14451
|
}
|
|
14443
14452
|
connectLabel(this);
|
|
14444
14453
|
connectForm(this);
|
|
14454
|
+
connectOpenCloseComponent(this);
|
|
14445
14455
|
this.reposition();
|
|
14446
14456
|
this.setFilteredPlacements();
|
|
14447
14457
|
}
|
|
@@ -14454,11 +14464,10 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14454
14464
|
this.reposition();
|
|
14455
14465
|
}
|
|
14456
14466
|
disconnectedCallback() {
|
|
14457
|
-
var _a;
|
|
14458
|
-
(_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
14459
14467
|
disconnectLabel(this);
|
|
14460
14468
|
disconnectForm(this);
|
|
14461
14469
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
14470
|
+
disconnectOpenCloseComponent(this);
|
|
14462
14471
|
}
|
|
14463
14472
|
componentDidRender() {
|
|
14464
14473
|
updateHostInteraction(this);
|
|
@@ -14480,7 +14489,7 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14480
14489
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
14481
14490
|
[FloatingCSS.animation]: true,
|
|
14482
14491
|
[FloatingCSS.animationActive]: this.open
|
|
14483
|
-
},
|
|
14492
|
+
}, ref: this.setTransitionEl }, h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
14484
14493
|
input: true,
|
|
14485
14494
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
14486
14495
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), h(HiddenFormInputSlot, { component: this })));
|
|
@@ -14763,10 +14772,10 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
14763
14772
|
super();
|
|
14764
14773
|
this.__registerHost();
|
|
14765
14774
|
this.__attachShadow();
|
|
14766
|
-
this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus",
|
|
14767
|
-
this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur",
|
|
14775
|
+
this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 6);
|
|
14776
|
+
this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 6);
|
|
14768
14777
|
this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
|
|
14769
|
-
this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange",
|
|
14778
|
+
this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 6);
|
|
14770
14779
|
//--------------------------------------------------------------------------
|
|
14771
14780
|
//
|
|
14772
14781
|
// Properties
|
|
@@ -15989,7 +15998,7 @@ const Label = class extends HTMLElement$1 {
|
|
|
15989
15998
|
super();
|
|
15990
15999
|
this.__registerHost();
|
|
15991
16000
|
this.__attachShadow();
|
|
15992
|
-
this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick",
|
|
16001
|
+
this.calciteInternalLabelClick = createEvent(this, "calciteInternalLabelClick", 2);
|
|
15993
16002
|
//--------------------------------------------------------------------------
|
|
15994
16003
|
//
|
|
15995
16004
|
// Properties
|
|
@@ -16497,6 +16506,7 @@ function isFocusable($elem) {
|
|
|
16497
16506
|
}
|
|
16498
16507
|
|
|
16499
16508
|
const CSS$n = {
|
|
16509
|
+
modal: "modal",
|
|
16500
16510
|
title: "title",
|
|
16501
16511
|
header: "header",
|
|
16502
16512
|
footer: "footer",
|
|
@@ -16505,7 +16515,13 @@ const CSS$n = {
|
|
|
16505
16515
|
close: "close",
|
|
16506
16516
|
secondary: "secondary",
|
|
16507
16517
|
primary: "primary",
|
|
16508
|
-
overflowHidden: "overflow-hidden"
|
|
16518
|
+
overflowHidden: "overflow-hidden",
|
|
16519
|
+
// these classes help apply the animation in phases to only set transform on open/close
|
|
16520
|
+
// this helps avoid a positioning issue for any floating-ui-owning children
|
|
16521
|
+
openingIdle: "modal--opening-idle",
|
|
16522
|
+
openingActive: "modal--opening-active",
|
|
16523
|
+
closingIdle: "modal--closing-idle",
|
|
16524
|
+
closingActive: "modal--closing-active"
|
|
16509
16525
|
};
|
|
16510
16526
|
const ICONS$6 = {
|
|
16511
16527
|
close: "x"
|
|
@@ -16521,7 +16537,7 @@ const TEXT$b = {
|
|
|
16521
16537
|
close: "Close"
|
|
16522
16538
|
};
|
|
16523
16539
|
|
|
16524
|
-
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;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 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;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);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, 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 300ms, 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 300ms, 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 300ms, 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);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-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{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;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{-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));z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
16540
|
+
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;inset:0px;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);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;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);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{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;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{-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));z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";
|
|
16525
16541
|
|
|
16526
16542
|
const isFocusableExtended = (el) => {
|
|
16527
16543
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -16534,10 +16550,10 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16534
16550
|
super();
|
|
16535
16551
|
this.__registerHost();
|
|
16536
16552
|
this.__attachShadow();
|
|
16537
|
-
this.calciteModalBeforeClose = createEvent(this, "calciteModalBeforeClose",
|
|
16538
|
-
this.calciteModalClose = createEvent(this, "calciteModalClose",
|
|
16539
|
-
this.calciteModalBeforeOpen = createEvent(this, "calciteModalBeforeOpen",
|
|
16540
|
-
this.calciteModalOpen = createEvent(this, "calciteModalOpen",
|
|
16553
|
+
this.calciteModalBeforeClose = createEvent(this, "calciteModalBeforeClose", 6);
|
|
16554
|
+
this.calciteModalClose = createEvent(this, "calciteModalClose", 6);
|
|
16555
|
+
this.calciteModalBeforeOpen = createEvent(this, "calciteModalBeforeOpen", 6);
|
|
16556
|
+
this.calciteModalOpen = createEvent(this, "calciteModalOpen", 6);
|
|
16541
16557
|
//--------------------------------------------------------------------------
|
|
16542
16558
|
//
|
|
16543
16559
|
// Properties
|
|
@@ -16580,25 +16596,15 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16580
16596
|
//--------------------------------------------------------------------------
|
|
16581
16597
|
this.hasFooter = true;
|
|
16582
16598
|
this.mutationObserver = createObserver("mutation", () => this.updateFooterVisibility());
|
|
16583
|
-
this.
|
|
16599
|
+
this.openTransitionProp = "opacity";
|
|
16584
16600
|
//--------------------------------------------------------------------------
|
|
16585
16601
|
//
|
|
16586
16602
|
// Private Methods
|
|
16587
16603
|
//
|
|
16588
16604
|
//--------------------------------------------------------------------------
|
|
16589
|
-
this.
|
|
16590
|
-
this.
|
|
16591
|
-
|
|
16592
|
-
};
|
|
16593
|
-
this.transitionStartHandler = (event) => {
|
|
16594
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
16595
|
-
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
16596
|
-
}
|
|
16597
|
-
};
|
|
16598
|
-
this.transitionEnd = (event) => {
|
|
16599
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
16600
|
-
this.open ? this.onOpen() : this.onClose();
|
|
16601
|
-
}
|
|
16605
|
+
this.setTransitionEl = (el) => {
|
|
16606
|
+
this.transitionEl = el;
|
|
16607
|
+
connectOpenCloseComponent(this);
|
|
16602
16608
|
};
|
|
16603
16609
|
this.openEnd = () => {
|
|
16604
16610
|
this.setFocus();
|
|
@@ -16650,6 +16656,7 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16650
16656
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
16651
16657
|
this.updateFooterVisibility();
|
|
16652
16658
|
connectConditionalSlotComponent(this);
|
|
16659
|
+
connectOpenCloseComponent(this);
|
|
16653
16660
|
if (this.open) {
|
|
16654
16661
|
this.active = this.open;
|
|
16655
16662
|
}
|
|
@@ -16658,14 +16665,14 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16658
16665
|
}
|
|
16659
16666
|
}
|
|
16660
16667
|
disconnectedCallback() {
|
|
16661
|
-
var _a
|
|
16662
|
-
(_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
16668
|
+
var _a;
|
|
16663
16669
|
this.removeOverflowHiddenClass();
|
|
16664
|
-
(
|
|
16670
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
16665
16671
|
disconnectConditionalSlotComponent(this);
|
|
16672
|
+
disconnectOpenCloseComponent(this);
|
|
16666
16673
|
}
|
|
16667
16674
|
render() {
|
|
16668
|
-
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class:
|
|
16675
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: CSS$n.modal, ref: this.setTransitionEl }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS$n.header }, this.renderCloseButton(), h("header", { class: CSS$n.title }, h("slot", { name: CSS$n.header }))), h("div", { class: {
|
|
16669
16676
|
content: true,
|
|
16670
16677
|
"content--spaced": !this.noPadding,
|
|
16671
16678
|
"content--no-footer": !this.hasFooter
|
|
@@ -16680,11 +16687,11 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16680
16687
|
renderStyle() {
|
|
16681
16688
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
16682
16689
|
return hasCustomWidth ? (h("style", null, `
|
|
16683
|
-
.modal {
|
|
16690
|
+
.${CSS$n.modal} {
|
|
16684
16691
|
max-width: ${this.width}px !important;
|
|
16685
16692
|
}
|
|
16686
16693
|
@media screen and (max-width: ${this.width}px) {
|
|
16687
|
-
.modal {
|
|
16694
|
+
.${CSS$n.modal} {
|
|
16688
16695
|
height: 100% !important;
|
|
16689
16696
|
max-height: 100% !important;
|
|
16690
16697
|
width: 100% !important;
|
|
@@ -16756,29 +16763,34 @@ const Modal = class extends HTMLElement$1 {
|
|
|
16756
16763
|
}
|
|
16757
16764
|
}
|
|
16758
16765
|
onBeforeOpen() {
|
|
16766
|
+
this.transitionEl.classList.add(CSS$n.openingActive);
|
|
16759
16767
|
this.calciteModalBeforeOpen.emit();
|
|
16760
16768
|
}
|
|
16761
16769
|
onOpen() {
|
|
16770
|
+
this.transitionEl.classList.remove(CSS$n.openingIdle, CSS$n.openingActive);
|
|
16762
16771
|
this.calciteModalOpen.emit();
|
|
16763
16772
|
}
|
|
16764
16773
|
onBeforeClose() {
|
|
16774
|
+
this.transitionEl.classList.add(CSS$n.closingActive);
|
|
16765
16775
|
this.calciteModalBeforeClose.emit();
|
|
16766
16776
|
}
|
|
16767
16777
|
onClose() {
|
|
16778
|
+
this.transitionEl.classList.remove(CSS$n.closingIdle, CSS$n.closingActive);
|
|
16768
16779
|
this.calciteModalClose.emit();
|
|
16769
16780
|
}
|
|
16770
16781
|
activeHandler(value) {
|
|
16771
16782
|
this.open = value;
|
|
16772
16783
|
}
|
|
16773
|
-
async toggleModal(value
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16784
|
+
async toggleModal(value) {
|
|
16785
|
+
var _a, _b;
|
|
16786
|
+
this.active = value;
|
|
16787
|
+
if (value) {
|
|
16788
|
+
(_a = this.transitionEl) === null || _a === void 0 ? void 0 : _a.classList.add(CSS$n.openingIdle);
|
|
16789
|
+
this.openModal();
|
|
16790
|
+
}
|
|
16791
|
+
else {
|
|
16792
|
+
(_b = this.transitionEl) === null || _b === void 0 ? void 0 : _b.classList.add(CSS$n.closingIdle);
|
|
16793
|
+
this.close();
|
|
16782
16794
|
}
|
|
16783
16795
|
}
|
|
16784
16796
|
/** Open the modal */
|
|
@@ -16827,8 +16839,8 @@ const Notice = class extends HTMLElement$1 {
|
|
|
16827
16839
|
super();
|
|
16828
16840
|
this.__registerHost();
|
|
16829
16841
|
this.__attachShadow();
|
|
16830
|
-
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose",
|
|
16831
|
-
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen",
|
|
16842
|
+
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose", 6);
|
|
16843
|
+
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen", 6);
|
|
16832
16844
|
//--------------------------------------------------------------------------
|
|
16833
16845
|
//
|
|
16834
16846
|
// Properties
|
|
@@ -16955,7 +16967,7 @@ const Option = class extends HTMLElement$1 {
|
|
|
16955
16967
|
super();
|
|
16956
16968
|
this.__registerHost();
|
|
16957
16969
|
this.__attachShadow();
|
|
16958
|
-
this.calciteInternalOptionChange = createEvent(this, "calciteInternalOptionChange",
|
|
16970
|
+
this.calciteInternalOptionChange = createEvent(this, "calciteInternalOptionChange", 6);
|
|
16959
16971
|
//--------------------------------------------------------------------------
|
|
16960
16972
|
//
|
|
16961
16973
|
// Properties
|
|
@@ -17036,7 +17048,7 @@ const OptionGroup = class extends HTMLElement$1 {
|
|
|
17036
17048
|
super();
|
|
17037
17049
|
this.__registerHost();
|
|
17038
17050
|
this.__attachShadow();
|
|
17039
|
-
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange",
|
|
17051
|
+
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange", 6);
|
|
17040
17052
|
//--------------------------------------------------------------------------
|
|
17041
17053
|
//
|
|
17042
17054
|
// Properties
|
|
@@ -17148,8 +17160,8 @@ const Pagination = class extends HTMLElement$1 {
|
|
|
17148
17160
|
super();
|
|
17149
17161
|
this.__registerHost();
|
|
17150
17162
|
this.__attachShadow();
|
|
17151
|
-
this.calcitePaginationUpdate = createEvent(this, "calcitePaginationUpdate",
|
|
17152
|
-
this.calcitePaginationChange = createEvent(this, "calcitePaginationChange",
|
|
17163
|
+
this.calcitePaginationUpdate = createEvent(this, "calcitePaginationUpdate", 6);
|
|
17164
|
+
this.calcitePaginationChange = createEvent(this, "calcitePaginationChange", 6);
|
|
17153
17165
|
//--------------------------------------------------------------------------
|
|
17154
17166
|
//
|
|
17155
17167
|
// Public Properties
|
|
@@ -17366,10 +17378,10 @@ const Panel = class extends HTMLElement$1 {
|
|
|
17366
17378
|
super();
|
|
17367
17379
|
this.__registerHost();
|
|
17368
17380
|
this.__attachShadow();
|
|
17369
|
-
this.calcitePanelDismiss = createEvent(this, "calcitePanelDismiss",
|
|
17370
|
-
this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange",
|
|
17371
|
-
this.calcitePanelScroll = createEvent(this, "calcitePanelScroll",
|
|
17372
|
-
this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick",
|
|
17381
|
+
this.calcitePanelDismiss = createEvent(this, "calcitePanelDismiss", 6);
|
|
17382
|
+
this.calcitePanelDismissedChange = createEvent(this, "calcitePanelDismissedChange", 6);
|
|
17383
|
+
this.calcitePanelScroll = createEvent(this, "calcitePanelScroll", 6);
|
|
17384
|
+
this.calcitePanelBackClick = createEvent(this, "calcitePanelBackClick", 6);
|
|
17373
17385
|
// --------------------------------------------------------------------------
|
|
17374
17386
|
//
|
|
17375
17387
|
// Properties
|
|
@@ -17962,7 +17974,7 @@ const PickList = class extends HTMLElement$1 {
|
|
|
17962
17974
|
super();
|
|
17963
17975
|
this.__registerHost();
|
|
17964
17976
|
this.__attachShadow();
|
|
17965
|
-
this.calciteListChange = createEvent(this, "calciteListChange",
|
|
17977
|
+
this.calciteListChange = createEvent(this, "calciteListChange", 6);
|
|
17966
17978
|
// --------------------------------------------------------------------------
|
|
17967
17979
|
//
|
|
17968
17980
|
// Properties
|
|
@@ -18163,10 +18175,10 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
18163
18175
|
super();
|
|
18164
18176
|
this.__registerHost();
|
|
18165
18177
|
this.__attachShadow();
|
|
18166
|
-
this.calciteListItemChange = createEvent(this, "calciteListItemChange",
|
|
18178
|
+
this.calciteListItemChange = createEvent(this, "calciteListItemChange", 6);
|
|
18167
18179
|
this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
|
|
18168
|
-
this.calciteInternalListItemPropsChange = createEvent(this, "calciteInternalListItemPropsChange",
|
|
18169
|
-
this.calciteInternalListItemValueChange = createEvent(this, "calciteInternalListItemValueChange",
|
|
18180
|
+
this.calciteInternalListItemPropsChange = createEvent(this, "calciteInternalListItemPropsChange", 6);
|
|
18181
|
+
this.calciteInternalListItemValueChange = createEvent(this, "calciteInternalListItemValueChange", 6);
|
|
18170
18182
|
/**
|
|
18171
18183
|
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
18172
18184
|
*/
|
|
@@ -18419,10 +18431,10 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18419
18431
|
super();
|
|
18420
18432
|
this.__registerHost();
|
|
18421
18433
|
this.__attachShadow();
|
|
18422
|
-
this.calcitePopoverBeforeClose = createEvent(this, "calcitePopoverBeforeClose",
|
|
18423
|
-
this.calcitePopoverClose = createEvent(this, "calcitePopoverClose",
|
|
18424
|
-
this.calcitePopoverBeforeOpen = createEvent(this, "calcitePopoverBeforeOpen",
|
|
18425
|
-
this.calcitePopoverOpen = createEvent(this, "calcitePopoverOpen",
|
|
18434
|
+
this.calcitePopoverBeforeClose = createEvent(this, "calcitePopoverBeforeClose", 6);
|
|
18435
|
+
this.calcitePopoverClose = createEvent(this, "calcitePopoverClose", 6);
|
|
18436
|
+
this.calcitePopoverBeforeOpen = createEvent(this, "calcitePopoverBeforeOpen", 6);
|
|
18437
|
+
this.calcitePopoverOpen = createEvent(this, "calcitePopoverOpen", 6);
|
|
18426
18438
|
// --------------------------------------------------------------------------
|
|
18427
18439
|
//
|
|
18428
18440
|
// Properties
|
|
@@ -18487,16 +18499,16 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18487
18499
|
*/
|
|
18488
18500
|
this.intlClose = TEXT$6.close;
|
|
18489
18501
|
this.guid = `calcite-popover-${guid()}`;
|
|
18490
|
-
this.
|
|
18491
|
-
this.setContainerEl = (el) => {
|
|
18492
|
-
this.containerEl = el;
|
|
18493
|
-
this.containerEl.addEventListener("transitionstart", this.transitionStartHandler);
|
|
18494
|
-
};
|
|
18502
|
+
this.openTransitionProp = "opacity";
|
|
18495
18503
|
// --------------------------------------------------------------------------
|
|
18496
18504
|
//
|
|
18497
18505
|
// Private Methods
|
|
18498
18506
|
//
|
|
18499
18507
|
// --------------------------------------------------------------------------
|
|
18508
|
+
this.setTransitionEl = (el) => {
|
|
18509
|
+
this.transitionEl = el;
|
|
18510
|
+
connectOpenCloseComponent(this);
|
|
18511
|
+
};
|
|
18500
18512
|
this.setFilteredPlacements = () => {
|
|
18501
18513
|
const { el, flipPlacements } = this;
|
|
18502
18514
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -18553,16 +18565,6 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18553
18565
|
this.hide = () => {
|
|
18554
18566
|
this.open = false;
|
|
18555
18567
|
};
|
|
18556
|
-
this.transitionStartHandler = (event) => {
|
|
18557
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
18558
|
-
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
18559
|
-
}
|
|
18560
|
-
};
|
|
18561
|
-
this.transitionEnd = (event) => {
|
|
18562
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
18563
|
-
this.open ? this.onOpen() : this.onClose();
|
|
18564
|
-
}
|
|
18565
|
-
};
|
|
18566
18568
|
this.storeArrowEl = (el) => {
|
|
18567
18569
|
this.arrowEl = el;
|
|
18568
18570
|
this.reposition();
|
|
@@ -18605,6 +18607,7 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18605
18607
|
connectedCallback() {
|
|
18606
18608
|
connectFloatingUI(this, this.effectiveReferenceElement, this.el);
|
|
18607
18609
|
this.setFilteredPlacements();
|
|
18610
|
+
connectOpenCloseComponent(this);
|
|
18608
18611
|
if (this.dismissible) {
|
|
18609
18612
|
this.handleDismissible(this.dismissible);
|
|
18610
18613
|
}
|
|
@@ -18619,10 +18622,9 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18619
18622
|
this.reposition();
|
|
18620
18623
|
}
|
|
18621
18624
|
disconnectedCallback() {
|
|
18622
|
-
var _a;
|
|
18623
|
-
(_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
18624
18625
|
this.removeReferences();
|
|
18625
18626
|
disconnectFloatingUI(this, this.effectiveReferenceElement, this.el);
|
|
18627
|
+
disconnectOpenCloseComponent(this);
|
|
18626
18628
|
}
|
|
18627
18629
|
// --------------------------------------------------------------------------
|
|
18628
18630
|
//
|
|
@@ -18708,7 +18710,7 @@ const Popover = class extends HTMLElement$1 {
|
|
|
18708
18710
|
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
|
|
18709
18711
|
[FloatingCSS.animation]: true,
|
|
18710
18712
|
[FloatingCSS.animationActive]: displayed
|
|
18711
|
-
},
|
|
18713
|
+
}, ref: this.setTransitionEl }, arrowNode, h("div", { class: {
|
|
18712
18714
|
[CSS$g.hasHeader]: !!heading,
|
|
18713
18715
|
[CSS$g.container]: true
|
|
18714
18716
|
} }, this.renderHeader(), h("div", { class: CSS$g.content }, h("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
@@ -18831,10 +18833,10 @@ const RadioButton = class extends HTMLElement$1 {
|
|
|
18831
18833
|
super();
|
|
18832
18834
|
this.__registerHost();
|
|
18833
18835
|
this.__attachShadow();
|
|
18834
|
-
this.calciteInternalRadioButtonBlur = createEvent(this, "calciteInternalRadioButtonBlur",
|
|
18835
|
-
this.calciteRadioButtonChange = createEvent(this, "calciteRadioButtonChange",
|
|
18836
|
-
this.calciteInternalRadioButtonCheckedChange = createEvent(this, "calciteInternalRadioButtonCheckedChange",
|
|
18837
|
-
this.calciteInternalRadioButtonFocus = createEvent(this, "calciteInternalRadioButtonFocus",
|
|
18836
|
+
this.calciteInternalRadioButtonBlur = createEvent(this, "calciteInternalRadioButtonBlur", 6);
|
|
18837
|
+
this.calciteRadioButtonChange = createEvent(this, "calciteRadioButtonChange", 6);
|
|
18838
|
+
this.calciteInternalRadioButtonCheckedChange = createEvent(this, "calciteInternalRadioButtonCheckedChange", 6);
|
|
18839
|
+
this.calciteInternalRadioButtonFocus = createEvent(this, "calciteInternalRadioButtonFocus", 6);
|
|
18838
18840
|
//--------------------------------------------------------------------------
|
|
18839
18841
|
//
|
|
18840
18842
|
// Properties
|
|
@@ -19086,7 +19088,7 @@ const RadioButtonGroup = class extends HTMLElement$1 {
|
|
|
19086
19088
|
super();
|
|
19087
19089
|
this.__registerHost();
|
|
19088
19090
|
this.__attachShadow();
|
|
19089
|
-
this.calciteRadioButtonGroupChange = createEvent(this, "calciteRadioButtonGroupChange",
|
|
19091
|
+
this.calciteRadioButtonGroupChange = createEvent(this, "calciteRadioButtonGroupChange", 6);
|
|
19090
19092
|
//--------------------------------------------------------------------------
|
|
19091
19093
|
//
|
|
19092
19094
|
// Properties
|
|
@@ -19185,7 +19187,7 @@ const RadioGroup = class extends HTMLElement$1 {
|
|
|
19185
19187
|
super();
|
|
19186
19188
|
this.__registerHost();
|
|
19187
19189
|
this.__attachShadow();
|
|
19188
|
-
this.calciteRadioGroupChange = createEvent(this, "calciteRadioGroupChange",
|
|
19190
|
+
this.calciteRadioGroupChange = createEvent(this, "calciteRadioGroupChange", 6);
|
|
19189
19191
|
//--------------------------------------------------------------------------
|
|
19190
19192
|
//
|
|
19191
19193
|
// Properties
|
|
@@ -19390,7 +19392,7 @@ const RadioGroupItem = class extends HTMLElement$1 {
|
|
|
19390
19392
|
super();
|
|
19391
19393
|
this.__registerHost();
|
|
19392
19394
|
this.__attachShadow();
|
|
19393
|
-
this.calciteInternalRadioGroupItemChange = createEvent(this, "calciteInternalRadioGroupItemChange",
|
|
19395
|
+
this.calciteInternalRadioGroupItemChange = createEvent(this, "calciteInternalRadioGroupItemChange", 6);
|
|
19394
19396
|
//--------------------------------------------------------------------------
|
|
19395
19397
|
//
|
|
19396
19398
|
// Properties
|
|
@@ -19439,7 +19441,7 @@ const Rating = class extends HTMLElement$1 {
|
|
|
19439
19441
|
super();
|
|
19440
19442
|
this.__registerHost();
|
|
19441
19443
|
this.__attachShadow();
|
|
19442
|
-
this.calciteRatingChange = createEvent(this, "calciteRatingChange",
|
|
19444
|
+
this.calciteRatingChange = createEvent(this, "calciteRatingChange", 6);
|
|
19443
19445
|
// --------------------------------------------------------------------------
|
|
19444
19446
|
//
|
|
19445
19447
|
// Properties
|
|
@@ -19632,7 +19634,7 @@ const Select = class extends HTMLElement$1 {
|
|
|
19632
19634
|
super();
|
|
19633
19635
|
this.__registerHost();
|
|
19634
19636
|
this.__attachShadow();
|
|
19635
|
-
this.calciteSelectChange = createEvent(this, "calciteSelectChange",
|
|
19637
|
+
this.calciteSelectChange = createEvent(this, "calciteSelectChange", 6);
|
|
19636
19638
|
//--------------------------------------------------------------------------
|
|
19637
19639
|
//
|
|
19638
19640
|
// Properties
|
|
@@ -20001,7 +20003,7 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
20001
20003
|
super();
|
|
20002
20004
|
this.__registerHost();
|
|
20003
20005
|
this.__attachShadow();
|
|
20004
|
-
this.calciteShellPanelToggle = createEvent(this, "calciteShellPanelToggle",
|
|
20006
|
+
this.calciteShellPanelToggle = createEvent(this, "calciteShellPanelToggle", 6);
|
|
20005
20007
|
// --------------------------------------------------------------------------
|
|
20006
20008
|
//
|
|
20007
20009
|
// Properties
|
|
@@ -20224,9 +20226,9 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20224
20226
|
super();
|
|
20225
20227
|
this.__registerHost();
|
|
20226
20228
|
this.__attachShadow();
|
|
20227
|
-
this.calciteSliderInput = createEvent(this, "calciteSliderInput",
|
|
20228
|
-
this.calciteSliderChange = createEvent(this, "calciteSliderChange",
|
|
20229
|
-
this.calciteSliderUpdate = createEvent(this, "calciteSliderUpdate",
|
|
20229
|
+
this.calciteSliderInput = createEvent(this, "calciteSliderInput", 6);
|
|
20230
|
+
this.calciteSliderChange = createEvent(this, "calciteSliderChange", 6);
|
|
20231
|
+
this.calciteSliderUpdate = createEvent(this, "calciteSliderUpdate", 6);
|
|
20230
20232
|
//--------------------------------------------------------------------------
|
|
20231
20233
|
//
|
|
20232
20234
|
// Properties
|
|
@@ -24012,7 +24014,7 @@ const SortableList = class extends HTMLElement$1 {
|
|
|
24012
24014
|
super();
|
|
24013
24015
|
this.__registerHost();
|
|
24014
24016
|
this.__attachShadow();
|
|
24015
|
-
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange",
|
|
24017
|
+
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 6);
|
|
24016
24018
|
/**
|
|
24017
24019
|
* The selector for the handle elements.
|
|
24018
24020
|
*/
|
|
@@ -24175,8 +24177,8 @@ const SplitButton = class extends HTMLElement$1 {
|
|
|
24175
24177
|
super();
|
|
24176
24178
|
this.__registerHost();
|
|
24177
24179
|
this.__attachShadow();
|
|
24178
|
-
this.calciteSplitButtonPrimaryClick = createEvent(this, "calciteSplitButtonPrimaryClick",
|
|
24179
|
-
this.calciteSplitButtonSecondaryClick = createEvent(this, "calciteSplitButtonSecondaryClick",
|
|
24180
|
+
this.calciteSplitButtonPrimaryClick = createEvent(this, "calciteSplitButtonPrimaryClick", 6);
|
|
24181
|
+
this.calciteSplitButtonSecondaryClick = createEvent(this, "calciteSplitButtonSecondaryClick", 6);
|
|
24180
24182
|
/** specify the appearance style of the button, defaults to solid. */
|
|
24181
24183
|
this.appearance = "solid";
|
|
24182
24184
|
/** specify the color of the control, defaults to blue */
|
|
@@ -24257,8 +24259,8 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
24257
24259
|
super();
|
|
24258
24260
|
this.__registerHost();
|
|
24259
24261
|
this.__attachShadow();
|
|
24260
|
-
this.calciteStepperItemChange = createEvent(this, "calciteStepperItemChange",
|
|
24261
|
-
this.calciteInternalStepperItemChange = createEvent(this, "calciteInternalStepperItemChange",
|
|
24262
|
+
this.calciteStepperItemChange = createEvent(this, "calciteStepperItemChange", 6);
|
|
24263
|
+
this.calciteInternalStepperItemChange = createEvent(this, "calciteInternalStepperItemChange", 6);
|
|
24262
24264
|
//--------------------------------------------------------------------------
|
|
24263
24265
|
//
|
|
24264
24266
|
// Public Properties
|
|
@@ -24476,10 +24478,10 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
24476
24478
|
super();
|
|
24477
24479
|
this.__registerHost();
|
|
24478
24480
|
this.__attachShadow();
|
|
24479
|
-
this.calciteInternalStepperItemKeyEvent = createEvent(this, "calciteInternalStepperItemKeyEvent",
|
|
24480
|
-
this.calciteInternalStepperItemSelect = createEvent(this, "calciteInternalStepperItemSelect",
|
|
24481
|
-
this.calciteInternalUserRequestedStepperItemSelect = createEvent(this, "calciteInternalUserRequestedStepperItemSelect",
|
|
24482
|
-
this.calciteInternalStepperItemRegister = createEvent(this, "calciteInternalStepperItemRegister",
|
|
24481
|
+
this.calciteInternalStepperItemKeyEvent = createEvent(this, "calciteInternalStepperItemKeyEvent", 6);
|
|
24482
|
+
this.calciteInternalStepperItemSelect = createEvent(this, "calciteInternalStepperItemSelect", 6);
|
|
24483
|
+
this.calciteInternalUserRequestedStepperItemSelect = createEvent(this, "calciteInternalUserRequestedStepperItemSelect", 6);
|
|
24484
|
+
this.calciteInternalStepperItemRegister = createEvent(this, "calciteInternalStepperItemRegister", 6);
|
|
24483
24485
|
//--------------------------------------------------------------------------
|
|
24484
24486
|
//
|
|
24485
24487
|
// Public Properties
|
|
@@ -24641,7 +24643,7 @@ const Switch = class extends HTMLElement$1 {
|
|
|
24641
24643
|
super();
|
|
24642
24644
|
this.__registerHost();
|
|
24643
24645
|
this.__attachShadow();
|
|
24644
|
-
this.calciteSwitchChange = createEvent(this, "calciteSwitchChange",
|
|
24646
|
+
this.calciteSwitchChange = createEvent(this, "calciteSwitchChange", 6);
|
|
24645
24647
|
//--------------------------------------------------------------------------
|
|
24646
24648
|
//
|
|
24647
24649
|
// Properties
|
|
@@ -24745,7 +24747,7 @@ const Tab = class extends HTMLElement$1 {
|
|
|
24745
24747
|
super();
|
|
24746
24748
|
this.__registerHost();
|
|
24747
24749
|
this.__attachShadow();
|
|
24748
|
-
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister",
|
|
24750
|
+
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 6);
|
|
24749
24751
|
/**
|
|
24750
24752
|
* Show this tab
|
|
24751
24753
|
*/
|
|
@@ -24842,8 +24844,8 @@ const TabNav = class extends HTMLElement$1 {
|
|
|
24842
24844
|
super();
|
|
24843
24845
|
this.__registerHost();
|
|
24844
24846
|
this.__attachShadow();
|
|
24845
|
-
this.calciteTabChange = createEvent(this, "calciteTabChange",
|
|
24846
|
-
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange",
|
|
24847
|
+
this.calciteTabChange = createEvent(this, "calciteTabChange", 6);
|
|
24848
|
+
this.calciteInternalTabChange = createEvent(this, "calciteInternalTabChange", 6);
|
|
24847
24849
|
/**
|
|
24848
24850
|
* @internal
|
|
24849
24851
|
*/
|
|
@@ -25046,11 +25048,11 @@ const TabTitle = class extends HTMLElement$1 {
|
|
|
25046
25048
|
super();
|
|
25047
25049
|
this.__registerHost();
|
|
25048
25050
|
this.__attachShadow();
|
|
25049
|
-
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate",
|
|
25050
|
-
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate",
|
|
25051
|
-
this.calciteInternalTabsFocusNext = createEvent(this, "calciteInternalTabsFocusNext",
|
|
25052
|
-
this.calciteInternalTabsFocusPrevious = createEvent(this, "calciteInternalTabsFocusPrevious",
|
|
25053
|
-
this.calciteInternalTabTitleRegister = createEvent(this, "calciteInternalTabTitleRegister",
|
|
25051
|
+
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 6);
|
|
25052
|
+
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 6);
|
|
25053
|
+
this.calciteInternalTabsFocusNext = createEvent(this, "calciteInternalTabsFocusNext", 6);
|
|
25054
|
+
this.calciteInternalTabsFocusPrevious = createEvent(this, "calciteInternalTabsFocusPrevious", 6);
|
|
25055
|
+
this.calciteInternalTabTitleRegister = createEvent(this, "calciteInternalTabTitleRegister", 6);
|
|
25054
25056
|
//--------------------------------------------------------------------------
|
|
25055
25057
|
//
|
|
25056
25058
|
// Properties
|
|
@@ -25491,7 +25493,7 @@ const TileSelect = class extends HTMLElement$1 {
|
|
|
25491
25493
|
super();
|
|
25492
25494
|
this.__registerHost();
|
|
25493
25495
|
this.__attachShadow();
|
|
25494
|
-
this.calciteTileSelectChange = createEvent(this, "calciteTileSelectChange",
|
|
25496
|
+
this.calciteTileSelectChange = createEvent(this, "calciteTileSelectChange", 6);
|
|
25495
25497
|
//--------------------------------------------------------------------------
|
|
25496
25498
|
//
|
|
25497
25499
|
// Properties
|
|
@@ -25750,9 +25752,9 @@ const TimePicker = class extends HTMLElement$1 {
|
|
|
25750
25752
|
super();
|
|
25751
25753
|
this.__registerHost();
|
|
25752
25754
|
this.__attachShadow();
|
|
25753
|
-
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur",
|
|
25754
|
-
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange",
|
|
25755
|
-
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus",
|
|
25755
|
+
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 6);
|
|
25756
|
+
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 6);
|
|
25757
|
+
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 6);
|
|
25756
25758
|
//--------------------------------------------------------------------------
|
|
25757
25759
|
//
|
|
25758
25760
|
// Properties
|
|
@@ -26408,7 +26410,7 @@ const Tip = class extends HTMLElement$1 {
|
|
|
26408
26410
|
super();
|
|
26409
26411
|
this.__registerHost();
|
|
26410
26412
|
this.__attachShadow();
|
|
26411
|
-
this.calciteTipDismiss = createEvent(this, "calciteTipDismiss",
|
|
26413
|
+
this.calciteTipDismiss = createEvent(this, "calciteTipDismiss", 6);
|
|
26412
26414
|
// --------------------------------------------------------------------------
|
|
26413
26415
|
//
|
|
26414
26416
|
// Properties
|
|
@@ -26503,8 +26505,8 @@ const TipManager = class extends HTMLElement$1 {
|
|
|
26503
26505
|
super();
|
|
26504
26506
|
this.__registerHost();
|
|
26505
26507
|
this.__attachShadow();
|
|
26506
|
-
this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle",
|
|
26507
|
-
this.calciteTipManagerClose = createEvent(this, "calciteTipManagerClose",
|
|
26508
|
+
this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle", 6);
|
|
26509
|
+
this.calciteTipManagerClose = createEvent(this, "calciteTipManagerClose", 6);
|
|
26508
26510
|
// --------------------------------------------------------------------------
|
|
26509
26511
|
//
|
|
26510
26512
|
// Properties
|
|
@@ -27033,7 +27035,7 @@ const Tree = class extends HTMLElement$1 {
|
|
|
27033
27035
|
super();
|
|
27034
27036
|
this.__registerHost();
|
|
27035
27037
|
this.__attachShadow();
|
|
27036
|
-
this.calciteTreeSelect = createEvent(this, "calciteTreeSelect",
|
|
27038
|
+
this.calciteTreeSelect = createEvent(this, "calciteTreeSelect", 6);
|
|
27037
27039
|
//--------------------------------------------------------------------------
|
|
27038
27040
|
//
|
|
27039
27041
|
// Properties
|
|
@@ -27206,7 +27208,7 @@ const Tree = class extends HTMLElement$1 {
|
|
|
27206
27208
|
if (!target.hasChildren) {
|
|
27207
27209
|
break;
|
|
27208
27210
|
}
|
|
27209
|
-
if (target.expanded &&
|
|
27211
|
+
if (target.expanded && getRootNode(this.el).activeElement === target) {
|
|
27210
27212
|
// When focus is on an open node, moves focus to the first child node.
|
|
27211
27213
|
(_a = target.querySelector("calcite-tree-item")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
27212
27214
|
event.preventDefault();
|
|
@@ -27300,7 +27302,7 @@ const TreeItem = class extends HTMLElement$1 {
|
|
|
27300
27302
|
super();
|
|
27301
27303
|
this.__registerHost();
|
|
27302
27304
|
this.__attachShadow();
|
|
27303
|
-
this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect",
|
|
27305
|
+
this.calciteInternalTreeItemSelect = createEvent(this, "calciteInternalTreeItemSelect", 6);
|
|
27304
27306
|
//--------------------------------------------------------------------------
|
|
27305
27307
|
//
|
|
27306
27308
|
// Properties
|
|
@@ -27560,8 +27562,8 @@ const ValueList = class extends HTMLElement$1 {
|
|
|
27560
27562
|
super();
|
|
27561
27563
|
this.__registerHost();
|
|
27562
27564
|
this.__attachShadow();
|
|
27563
|
-
this.calciteListChange = createEvent(this, "calciteListChange",
|
|
27564
|
-
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange",
|
|
27565
|
+
this.calciteListChange = createEvent(this, "calciteListChange", 6);
|
|
27566
|
+
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 6);
|
|
27565
27567
|
// --------------------------------------------------------------------------
|
|
27566
27568
|
//
|
|
27567
27569
|
// Properties
|