@esri/calcite-components 1.0.0-next.538 → 1.0.0-next.539
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.css +1 -1
- 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-bfe7f03d.system.entry.js → p-010ca392.system.entry.js} +2 -2
- package/dist/calcite/{p-24f307a7.system.js → p-012bf861.system.js} +2 -2
- package/dist/calcite/p-018af814.entry.js +6 -0
- package/dist/calcite/{p-96e6cb9f.js → p-01fecf3e.js} +2 -2
- package/dist/calcite/{p-cb3b19e3.entry.js → p-099aa070.entry.js} +2 -2
- package/dist/calcite/p-0d3a5b32.system.entry.js +6 -0
- package/dist/calcite/p-0dd61e54.entry.js +6 -0
- package/dist/calcite/p-108c8632.entry.js +6 -0
- package/dist/calcite/p-1332ce74.entry.js +6 -0
- package/dist/calcite/p-14c70e2c.entry.js +6 -0
- package/dist/calcite/{p-51931359.system.js → p-156b4808.system.js} +1 -1
- package/dist/calcite/{p-9d6b8700.js → p-15a504a4.js} +2 -2
- package/dist/calcite/p-16cfa3a4.system.entry.js +6 -0
- package/dist/calcite/p-17499c73.entry.js +6 -0
- package/dist/calcite/{p-2172a3de.js → p-18f118ff.js} +1 -1
- package/dist/calcite/p-19a254dd.entry.js +6 -0
- package/dist/calcite/p-1b061524.system.entry.js +6 -0
- package/dist/calcite/p-1b87ecae.system.entry.js +6 -0
- package/dist/calcite/p-1d3cad49.system.entry.js +6 -0
- package/dist/calcite/p-1ecf6279.entry.js +6 -0
- package/dist/calcite/p-20921a25.entry.js +6 -0
- package/dist/calcite/p-231c6c15.system.entry.js +6 -0
- package/dist/calcite/{p-3f95180e.system.js → p-24821106.system.js} +1 -1
- package/dist/calcite/p-261f99f9.system.entry.js +6 -0
- package/dist/calcite/p-2805f9ee.system.entry.js +6 -0
- package/dist/calcite/{p-8446ac4b.system.js → p-294036fa.system.js} +1 -1
- package/dist/calcite/p-2b30ee55.system.js +6 -0
- package/dist/calcite/p-2e47156e.system.entry.js +6 -0
- package/dist/calcite/p-318a3b39.entry.js +6 -0
- package/dist/calcite/p-32f3a548.system.entry.js +6 -0
- package/dist/calcite/p-345a2464.entry.js +6 -0
- package/dist/calcite/p-351dfb75.entry.js +6 -0
- package/dist/calcite/{p-e52f0838.system.entry.js → p-38d384a0.system.entry.js} +2 -2
- package/dist/calcite/p-3a695eb8.system.entry.js +6 -0
- package/dist/calcite/{p-e2bd21c2.system.entry.js → p-3b1677fa.system.entry.js} +2 -2
- package/dist/calcite/p-3c710391.entry.js +6 -0
- package/dist/calcite/p-3cda948e.system.entry.js +6 -0
- package/dist/calcite/p-3dbe5071.entry.js +6 -0
- package/dist/calcite/{p-cabd5c31.system.js → p-3e639178.system.js} +1 -1
- package/dist/calcite/p-402acb9a.entry.js +6 -0
- package/dist/calcite/{p-9c49c923.js → p-43589ce1.js} +2 -2
- package/dist/calcite/{p-e3be9d3c.system.js → p-45e8c080.system.js} +2 -2
- package/dist/calcite/p-472dca52.entry.js +6 -0
- package/dist/calcite/p-477586f9.system.entry.js +6 -0
- package/dist/calcite/{p-4c9864cb.entry.js → p-485d8214.entry.js} +2 -2
- package/dist/calcite/p-48c529c4.system.js +6 -0
- package/dist/calcite/{p-cf882849.entry.js → p-48e4874f.entry.js} +2 -2
- package/dist/calcite/{p-1811d661.system.js → p-4d0d1577.system.js} +1 -1
- package/dist/calcite/p-54f979ec.entry.js +6 -0
- package/dist/calcite/p-59953936.system.entry.js +6 -0
- package/dist/calcite/{p-8c7f39aa.system.js → p-5ad902d8.system.js} +1 -1
- package/dist/calcite/{p-d93a866d.js → p-5b04f8df.js} +1 -1
- package/dist/calcite/{p-cb5440dc.js → p-5f6507f5.js} +1 -1
- package/dist/calcite/p-628c6e09.system.entry.js +6 -0
- package/dist/calcite/p-63b61846.js +6 -0
- package/dist/calcite/{p-b6cc37ba.system.js → p-6615d5c6.system.js} +1 -1
- package/dist/calcite/p-66d9da12.system.entry.js +6 -0
- package/dist/calcite/p-67e454bb.entry.js +6 -0
- package/dist/calcite/p-6c2f72c4.entry.js +6 -0
- package/dist/calcite/{p-a5ac3d72.system.js → p-6d3ee7ab.system.js} +1 -1
- package/dist/calcite/p-6f6c2bab.system.entry.js +6 -0
- package/dist/calcite/p-701873b1.system.entry.js +6 -0
- package/dist/calcite/{p-c4ce88cf.system.js → p-747df2df.system.js} +1 -1
- package/dist/calcite/{p-d43d1927.system.entry.js → p-768cef7e.system.entry.js} +2 -2
- package/dist/calcite/p-77a16f58.system.entry.js +6 -0
- package/dist/calcite/{p-aac2e032.system.js → p-7ab08e37.system.js} +1 -1
- package/dist/calcite/p-7ae49ca5.entry.js +6 -0
- package/dist/calcite/{p-2161d411.system.js → p-7cea61d9.system.js} +3 -3
- package/dist/calcite/p-7cfeca7e.system.entry.js +6 -0
- package/dist/calcite/p-7d4634fd.entry.js +6 -0
- package/dist/calcite/p-80a5dbbf.system.entry.js +6 -0
- package/dist/calcite/p-819b41d8.system.entry.js +6 -0
- package/dist/calcite/p-823d9e06.entry.js +6 -0
- package/dist/calcite/p-8485e1e8.entry.js +6 -0
- package/dist/calcite/p-86113d0d.entry.js +6 -0
- package/dist/calcite/p-891f854b.entry.js +6 -0
- package/dist/calcite/p-8927a590.system.entry.js +6 -0
- package/dist/calcite/{p-8c0cc61c.system.entry.js → p-899c0507.system.entry.js} +2 -2
- package/dist/calcite/{p-19f6d5b6.entry.js → p-8a7e391a.entry.js} +2 -2
- package/dist/calcite/p-8c2004de.system.entry.js +6 -0
- package/dist/calcite/{p-a9c55318.js → p-8ec1fd5b.js} +1 -1
- package/dist/calcite/p-8f9695f1.system.js +6 -0
- package/dist/calcite/p-917af856.entry.js +6 -0
- package/dist/calcite/{p-523c49d4.entry.js → p-9180a3c4.entry.js} +2 -2
- package/dist/calcite/p-9358181a.system.entry.js +6 -0
- package/dist/calcite/{p-c900ee44.js → p-93ec3941.js} +1 -1
- package/dist/calcite/p-98fa4f87.system.entry.js +6 -0
- package/dist/calcite/p-992f7aad.system.entry.js +6 -0
- package/dist/calcite/p-9bd6c652.system.entry.js +6 -0
- package/dist/calcite/p-9bf97b0b.entry.js +6 -0
- package/dist/calcite/p-9c02a7e1.entry.js +6 -0
- package/dist/calcite/{p-7f80bda1.entry.js → p-9c0de472.entry.js} +2 -2
- package/dist/calcite/p-9ceabe42.entry.js +6 -0
- package/dist/calcite/p-9e8acd1c.system.entry.js +6 -0
- package/dist/calcite/p-9f124061.system.entry.js +6 -0
- package/dist/calcite/{p-a2416623.js → p-a03e482d.js} +1 -1
- package/dist/calcite/{p-16f92f48.js → p-a0d8d06c.js} +1 -1
- package/dist/calcite/p-a35fe014.system.entry.js +6 -0
- package/dist/calcite/{p-bcb2c9e0.entry.js → p-a447be70.entry.js} +2 -2
- package/dist/calcite/{p-151ae28a.js → p-a507b8e3.js} +1 -1
- package/dist/calcite/{p-bc3ee499.system.js → p-a648789b.system.js} +2 -2
- package/dist/calcite/{p-2d02604e.js → p-a6dc2cb3.js} +2 -2
- package/dist/calcite/{p-43d0a2ea.entry.js → p-a828a74b.entry.js} +2 -2
- package/dist/calcite/{p-41ef632e.system.js → p-a88108c9.system.js} +2 -2
- package/dist/calcite/p-aa4b37b5.system.entry.js +6 -0
- package/dist/calcite/{p-3c573baf.system.entry.js → p-aba9d9a4.system.entry.js} +2 -2
- package/dist/calcite/{p-fa53a8e2.js → p-ac98cd1b.js} +1 -1
- package/dist/calcite/p-b07e7acc.entry.js +6 -0
- package/dist/calcite/{p-bb89888a.system.entry.js → p-b0890eb8.system.entry.js} +2 -2
- package/dist/calcite/p-b0d2374d.entry.js +6 -0
- package/dist/calcite/{p-9e2976bb.entry.js → p-b0faecfa.entry.js} +2 -2
- package/dist/calcite/{p-3a94a968.entry.js → p-b1e81f37.entry.js} +2 -2
- package/dist/calcite/p-b27d71b6.entry.js +6 -0
- package/dist/calcite/p-b316fe0c.entry.js +6 -0
- package/dist/calcite/p-b47a6c4f.system.entry.js +6 -0
- package/dist/calcite/p-b569eceb.entry.js +6 -0
- package/dist/calcite/p-b76eb534.system.entry.js +6 -0
- package/dist/calcite/{p-7727684d.entry.js → p-b9aa776b.entry.js} +2 -2
- package/dist/calcite/p-bbbe463c.system.entry.js +6 -0
- package/dist/calcite/{p-05a335f3.js → p-bc6efcde.js} +1 -1
- package/dist/calcite/{p-72a2b8f1.entry.js → p-bf02541b.entry.js} +2 -2
- package/dist/calcite/{p-4058eea9.system.js → p-c09c137d.system.js} +1 -1
- package/dist/calcite/p-c2c9360b.system.js +6 -0
- package/dist/calcite/p-c4766b6e.entry.js +6 -0
- package/dist/calcite/p-c6be0405.entry.js +6 -0
- package/dist/calcite/p-c6c3ae27.entry.js +6 -0
- package/dist/calcite/p-c7374a41.system.entry.js +6 -0
- package/dist/calcite/p-c76ba615.js +6 -0
- package/dist/calcite/p-c8d3c372.js +6 -0
- package/dist/calcite/{p-d67f88a3.entry.js → p-c8eea886.entry.js} +2 -2
- package/dist/calcite/{p-d9eaabfd.system.js → p-c9217124.system.js} +1 -1
- package/dist/calcite/{p-6b05b992.js → p-cc991091.js} +2 -2
- package/dist/calcite/p-ce817bac.js +6 -0
- package/dist/calcite/p-cf983e97.system.js +6 -0
- package/dist/calcite/p-d122fe5c.system.entry.js +6 -0
- package/dist/calcite/p-d12c4c12.entry.js +6 -0
- package/dist/calcite/{p-e784bb2a.entry.js → p-d2e2dc45.entry.js} +2 -2
- package/dist/calcite/{p-b7eae87f.js → p-d43e428e.js} +1 -1
- package/dist/calcite/{p-f8bb7d4b.entry.js → p-d43ff279.entry.js} +2 -2
- package/dist/calcite/p-d7f426f1.system.entry.js +6 -0
- package/dist/calcite/p-dae4be8b.system.entry.js +6 -0
- package/dist/calcite/{p-2a588234.system.js → p-db21c91b.system.js} +1 -1
- package/dist/calcite/p-dc301185.system.entry.js +6 -0
- package/dist/calcite/p-dde21ea1.system.entry.js +6 -0
- package/dist/calcite/p-ddef13d5.system.entry.js +6 -0
- package/dist/calcite/{p-281def31.system.entry.js → p-df427249.system.entry.js} +2 -2
- package/dist/calcite/p-dff2addb.system.entry.js +6 -0
- package/dist/calcite/{p-7ffd1aa7.js → p-e0d384ef.js} +1 -1
- package/dist/calcite/p-e371cfd8.entry.js +6 -0
- package/dist/calcite/p-e3eda33c.entry.js +6 -0
- package/dist/calcite/p-e44cf7be.system.entry.js +6 -0
- package/dist/calcite/{p-ba6bf0a1.system.js → p-e66e14f2.system.js} +1 -1
- package/dist/calcite/{p-247caee8.js → p-e6de41ec.js} +2 -2
- package/dist/calcite/{p-8252992a.entry.js → p-e7dff4ec.entry.js} +2 -2
- package/dist/calcite/{p-487b4486.system.js → p-e9e747b1.system.js} +2 -2
- package/dist/calcite/p-ea1b8f69.system.entry.js +6 -0
- package/dist/calcite/p-ece0cf5a.system.entry.js +6 -0
- package/dist/calcite/p-edb2fa23.system.entry.js +6 -0
- package/dist/calcite/p-ef4ea4a4.js +6 -0
- package/dist/calcite/p-efd89ceb.system.js +6 -0
- package/dist/calcite/{p-41a19785.entry.js → p-f1c749c9.entry.js} +2 -2
- package/dist/calcite/{p-24c1ceb9.entry.js → p-f87d8a42.entry.js} +2 -2
- package/dist/calcite/{p-7e972d93.system.entry.js → p-faa21960.system.entry.js} +2 -2
- package/dist/calcite/{p-a2c203e6.js → p-fb9ba4c2.js} +1 -1
- package/dist/calcite/p-fd35acb7.system.entry.js +6 -0
- package/dist/calcite/p-ff522381.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-221dbc56.js → ExpandToggle-e0dc0b9d.js} +21 -10
- package/dist/cjs/{Heading-0ad47b99.js → Heading-5c02db4f.js} +2 -2
- package/dist/cjs/{array-cec9ed79.js → array-ee8a5fb6.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -35
- package/dist/cjs/calcite-action-bar.cjs.entry.js +29 -21
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +8 -8
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
- 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 +52 -210
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +90 -118
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -36
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +48 -80
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -20
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-input.cjs.entry.js +14 -20
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +29 -10
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +44 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-popover_2.cjs.entry.js +40 -79
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- 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 +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +13 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +31 -32
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js +68 -64
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
- package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-bf0731c3.js → conditionalSlot-ea574797.js} +3 -3
- package/dist/cjs/{debounce-2154eb33.js → debounce-d7305615.js} +1 -1
- package/dist/cjs/{dom-85cf0d4e.js → dom-2d11e423.js} +2 -2
- package/dist/cjs/{forIn-17dde738.js → filter-8b8af70a.js} +142 -4
- package/dist/cjs/floating-ui-4ed639be.js +1620 -0
- package/dist/cjs/{form-968e9e10.js → form-fae52f14.js} +3 -3
- package/dist/cjs/{guid-4d3bf501.js → guid-c985502b.js} +1 -1
- package/dist/cjs/{index-8e7e96e9.js → index-12ba1331.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3d0ee93d.js → interactive-2e682246.js} +1 -1
- package/dist/cjs/{interfaces-a88e203c.js → interfaces-82388cb4.js} +1 -1
- package/dist/cjs/{key-e2a88763.js → key-f7de0ea8.js} +1 -1
- package/dist/cjs/{label-80377fcc.js → label-e5b9b8a1.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-418588ca.js → locale-7e364054.js} +2 -2
- package/dist/cjs/{math-4f3032ae.js → math-8f0b5e81.js} +1 -1
- package/dist/cjs/{observers-a292a697.js → observers-11d0a5b1.js} +1 -1
- package/dist/cjs/{resources-79f1af7d.js → resources-01aed824.js} +3 -3
- package/dist/cjs/{resources-7fdef0e5.js → resources-154c6c86.js} +1 -1
- package/dist/cjs/{resources-9c60ea66.js → resources-9cc88b23.js} +5 -5
- package/dist/cjs/{resources-f3fe7b3e.js → resources-d32c2cd2.js} +1 -1
- package/dist/cjs/{sortable.esm-c2452bc3.js → sortable.esm-984d10cc.js} +1 -1
- package/dist/cjs/{utils-d93fffda.js → utils-91478a95.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/accordion/accordion.js +25 -20
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +61 -56
- package/dist/collection/components/accordion-item/accordion-item.js +93 -39
- package/dist/collection/components/accordion-item/interfaces.js +6 -0
- package/dist/collection/components/accordion-item/resources.js +21 -0
- package/dist/collection/components/action/action.css +1 -1
- package/dist/collection/components/action/action.js +3 -3
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +32 -6
- package/dist/collection/components/action-bar/action-bar.js +48 -14
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +16 -6
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +5 -5
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +1 -1
- package/dist/collection/components/action-menu/action-menu.js +25 -37
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +12 -8
- package/dist/collection/components/action-pad/action-pad.js +5 -5
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +17 -12
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +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.css +3 -3
- package/dist/collection/components/block/block.js +12 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +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.css +1 -1
- package/dist/collection/components/card/card.js +6 -6
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/chip/chip.js +9 -4
- 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.css +1 -1
- package/dist/collection/components/color-picker/color-picker.js +5 -5
- 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.css +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +11 -11
- package/dist/collection/components/combobox/combobox.js +58 -70
- 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.css +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +9 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +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.css +1 -1
- package/dist/collection/components/date-picker/date-picker.js +14 -14
- 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.css +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
- package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +8 -8
- package/dist/collection/components/dropdown/dropdown.js +91 -116
- 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.css +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +10 -5
- 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.css +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +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.css +1 -1
- package/dist/collection/components/filter/filter.js +6 -32
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +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.css +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.css +1 -1
- package/dist/collection/components/handle/handle.js +9 -4
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +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.css +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +19 -19
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +15 -16
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +38 -34
- package/dist/collection/components/input-date-picker/input-date-picker.js +50 -80
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +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.css +1 -1
- package/dist/collection/components/input-number/input-number.js +15 -16
- 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-time-picker/input-time-picker.css +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +12 -20
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +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.css +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.css +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.css +2 -2
- package/dist/collection/components/loader/loader.js +10 -3
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +26 -15
- package/dist/collection/components/modal/modal.js +17 -10
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +2 -2
- package/dist/collection/components/notice/notice.js +52 -8
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +3 -3
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +3 -3
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.js +51 -26
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +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.css +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +13 -18
- package/dist/collection/components/popover/popover.js +49 -86
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +10 -10
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +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.css +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +3 -1
- package/dist/collection/components/shell/shell.css +5 -1
- package/dist/collection/components/shell/shell.js +7 -3
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +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.css +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +3 -3
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +1 -1
- package/dist/collection/components/split-button/split-button.js +21 -11
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +1 -1
- package/dist/collection/components/stepper/stepper.js +11 -11
- package/dist/collection/components/stepper-item/stepper-item.css +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +18 -19
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/switch/switch.js +12 -9
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +1 -1
- package/dist/collection/components/tab/tab.js +6 -6
- package/dist/collection/components/tab-nav/tab-nav.css +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +29 -29
- package/dist/collection/components/tab-title/tab-title.css +29 -41
- package/dist/collection/components/tab-title/tab-title.js +15 -11
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +20 -20
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +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.css +1 -1
- package/dist/collection/components/tile-select/tile-select.js +3 -3
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +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.css +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +1 -1
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +7 -7
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +13 -18
- package/dist/collection/components/tooltip/tooltip.js +35 -66
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +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.css +1 -1
- package/dist/collection/components/tree/tree.js +12 -12
- 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.css +1 -1
- package/dist/collection/components/tree-item/tree-item.js +10 -10
- 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.css +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +229 -0
- 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 +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +2 -2
- package/dist/components/ExpandToggle.js +18 -8
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +5 -5
- package/dist/components/action-menu.js +9 -26
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +63 -16
- package/dist/components/calcite-accordion.js +18 -18
- package/dist/components/calcite-action-bar.js +23 -14
- 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 +5 -5
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +5 -5
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +8 -4
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +6 -6
- 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 +2 -2
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +40 -198
- 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 +3 -3
- package/dist/components/calcite-dropdown-item.js +9 -9
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- 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 +19 -19
- package/dist/components/calcite-input-date-picker.js +37 -69
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +5 -11
- package/dist/components/calcite-input-time-picker.js +9 -11
- 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 +2 -2
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +11 -7
- package/dist/components/calcite-notice.js +25 -5
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +39 -18
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +3 -3
- package/dist/components/calcite-popover-manager.js +2 -2
- 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 +4 -4
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +6 -4
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +5 -5
- package/dist/components/calcite-stepper-item.js +16 -17
- package/dist/components/calcite-stepper.js +12 -12
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-tip-manager.js +5 -5
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +26 -59
- package/dist/components/calcite-tree-item.js +12 -12
- package/dist/components/calcite-tree.js +13 -13
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +3 -3
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +3 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +6 -8
- package/dist/components/date-picker-month-header.js +21 -21
- package/dist/components/date-picker-month.js +19 -19
- package/dist/components/date-picker.js +15 -15
- 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 +74 -101
- package/dist/components/filter.js +741 -195
- package/dist/components/filter2.js +186 -0
- package/dist/components/floating-ui.js +1612 -0
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +5 -11
- 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 +3 -3
- package/dist/components/loader.js +7 -3
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +32 -71
- package/dist/components/progress.js +2 -2
- 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 +2 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -7
- package/dist/components/tab-nav.js +31 -31
- package/dist/components/tab-title.js +12 -8
- package/dist/components/tab.js +5 -5
- package/dist/components/tabs.js +21 -21
- package/dist/components/tile.js +3 -3
- package/dist/components/time-picker.js +3 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +2134 -2482
- package/dist/esm/{ExpandToggle-bf789e2a.js → ExpandToggle-aa4da2bb.js} +21 -11
- package/dist/esm/{Heading-9b4aeafa.js → Heading-f27b06ed.js} +2 -2
- package/dist/esm/{array-35495927.js → array-8f09eb7f.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +83 -35
- package/dist/esm/calcite-action-bar.entry.js +29 -21
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +15 -32
- package/dist/esm/calcite-action-pad.entry.js +12 -12
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +8 -8
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -11
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- 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 +50 -208
- package/dist/esm/calcite-date-picker_4.entry.js +65 -67
- package/dist/esm/calcite-dropdown_3.entry.js +88 -116
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +9 -36
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker.entry.js +46 -78
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -20
- package/dist/esm/calcite-input-time-picker_2.entry.js +18 -20
- package/dist/esm/calcite-input.entry.js +14 -20
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +11 -11
- package/dist/esm/calcite-loader.entry.js +9 -5
- package/dist/esm/calcite-modal.entry.js +14 -10
- package/dist/esm/calcite-notice.entry.js +29 -10
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-panel.entry.js +44 -23
- package/dist/esm/calcite-pick-list_3.entry.js +14 -14
- package/dist/esm/calcite-popover_2.entry.js +38 -77
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- 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 +3 -3
- package/dist/esm/calcite-shell_3.entry.js +13 -11
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +7 -7
- package/dist/esm/calcite-stepper_2.entry.js +31 -32
- package/dist/esm/calcite-switch.entry.js +11 -13
- package/dist/esm/calcite-tab_4.entry.js +68 -64
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -12
- package/dist/esm/calcite-tooltip_2.entry.js +30 -63
- package/dist/esm/calcite-tree_2.entry.js +28 -28
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-3554d058.js → conditionalSlot-04a7e3de.js} +3 -3
- package/dist/esm/{debounce-bc7d9e08.js → debounce-195b8c2d.js} +1 -1
- package/dist/esm/{dom-5c924726.js → dom-7f08036a.js} +2 -2
- package/dist/{components/forIn.js → esm/filter-c7c95a53.js} +142 -3
- package/dist/esm/floating-ui-5e9eb6b0.js +1612 -0
- package/dist/esm/{form-b253fcef.js → form-9e7c301e.js} +3 -3
- package/dist/esm/{guid-5b71c5bb.js → guid-be14ab18.js} +1 -1
- package/dist/esm/{index-4ee90b2f.js → index-18bb01af.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ba7a8195.js → interactive-9a664c76.js} +1 -1
- package/dist/esm/{interfaces-0a7a9838.js → interfaces-ec3910f7.js} +1 -1
- package/dist/esm/{key-3a7cc1f5.js → key-6a5912e5.js} +1 -1
- package/dist/esm/{label-77867611.js → label-ee237e74.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-3b17b61b.js → locale-27982616.js} +2 -2
- package/dist/esm/{math-b261d416.js → math-5eee2eab.js} +1 -1
- package/dist/esm/{observers-c74f9822.js → observers-25c8cd25.js} +1 -1
- package/dist/esm/{resources-500836c8.js → resources-099cae0c.js} +1 -1
- package/dist/esm/{resources-4e3db058.js → resources-6a758e2f.js} +1 -1
- package/dist/esm/{resources-cabe9167.js → resources-87a24501.js} +3 -3
- package/dist/esm/{resources-db2d90a5.js → resources-8fb5cd5e.js} +5 -5
- package/dist/esm/{sortable.esm-ff94a06d.js → sortable.esm-d626cfd9.js} +1 -1
- package/dist/esm/{utils-93947f46.js → utils-90133a32.js} +1 -1
- package/dist/esm-es5/ExpandToggle-aa4da2bb.js +6 -0
- package/dist/esm-es5/Heading-f27b06ed.js +6 -0
- package/dist/esm-es5/{array-35495927.js → array-8f09eb7f.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-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 +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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-3554d058.js → conditionalSlot-04a7e3de.js} +2 -2
- package/dist/esm-es5/{debounce-bc7d9e08.js → debounce-195b8c2d.js} +1 -1
- package/dist/esm-es5/{dom-5c924726.js → dom-7f08036a.js} +2 -2
- package/dist/esm-es5/filter-c7c95a53.js +6 -0
- package/dist/esm-es5/floating-ui-5e9eb6b0.js +6 -0
- package/dist/esm-es5/{form-b253fcef.js → form-9e7c301e.js} +2 -2
- package/dist/esm-es5/{guid-5b71c5bb.js → guid-be14ab18.js} +1 -1
- package/dist/esm-es5/{index-4ee90b2f.js → index-18bb01af.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-ba7a8195.js → interactive-9a664c76.js} +1 -1
- package/dist/esm-es5/{interfaces-0a7a9838.js → interfaces-ec3910f7.js} +1 -1
- package/dist/esm-es5/{key-3a7cc1f5.js → key-6a5912e5.js} +1 -1
- package/dist/esm-es5/{label-77867611.js → label-ee237e74.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3b17b61b.js → locale-27982616.js} +2 -2
- package/dist/esm-es5/{math-b261d416.js → math-5eee2eab.js} +1 -1
- package/dist/esm-es5/{observers-c74f9822.js → observers-25c8cd25.js} +1 -1
- package/dist/esm-es5/{resources-500836c8.js → resources-099cae0c.js} +1 -1
- package/dist/esm-es5/{resources-4e3db058.js → resources-6a758e2f.js} +1 -1
- package/dist/esm-es5/{resources-cabe9167.js → resources-87a24501.js} +2 -2
- package/dist/esm-es5/{resources-db2d90a5.js → resources-8fb5cd5e.js} +2 -2
- package/dist/esm-es5/{sortable.esm-ff94a06d.js → sortable.esm-d626cfd9.js} +1 -1
- package/dist/esm-es5/{utils-93947f46.js → utils-90133a32.js} +1 -1
- package/dist/extras/docs-json.json +227 -167
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +4 -4
- package/dist/types/components/accordion/interfaces.d.ts +3 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +13 -6
- package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
- package/dist/types/components/accordion-item/resources.d.ts +16 -0
- package/dist/types/components/action/action.d.ts +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +10 -3
- package/dist/types/components/action-bar/utils.d.ts +9 -1
- package/dist/types/components/action-group/action-group.d.ts +2 -1
- package/dist/types/components/action-menu/action-menu.d.ts +8 -8
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/alert/alert.d.ts +7 -3
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/dist/types/components/block/block.d.ts +6 -2
- package/dist/types/components/block-section/block-section.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/chip/chip.d.ts +7 -3
- package/dist/types/components/color-picker/color-picker.d.ts +2 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
- package/dist/types/components/combobox/combobox.d.ts +20 -15
- package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
- package/dist/types/components/date-picker/date-picker.d.ts +5 -5
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +20 -19
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
- package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
- package/dist/types/components/handle/handle.d.ts +4 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +6 -4
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +16 -16
- package/dist/types/components/input-number/input-number.d.ts +6 -4
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -5
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +5 -1
- package/dist/types/components/modal/modal.d.ts +10 -2
- package/dist/types/components/notice/notice.d.ts +11 -3
- package/dist/types/components/panel/panel.d.ts +12 -9
- package/dist/types/components/popover/PopoverManager.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +12 -11
- package/dist/types/components/radio-button/radio-button.d.ts +4 -4
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
- package/dist/types/components/shell/resources.d.ts +2 -0
- package/dist/types/components/shell/shell.d.ts +4 -2
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +3 -3
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +14 -6
- package/dist/types/components/stepper/stepper.d.ts +1 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -1
- package/dist/types/components/switch/switch.d.ts +5 -3
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
- package/dist/types/components/tab-title/tab-title.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +8 -8
- package/dist/types/components/tile-select/tile-select.d.ts +1 -1
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +6 -9
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree-item/tree-item.d.ts +2 -2
- package/dist/types/components.d.ts +183 -86
- package/dist/types/utils/floating-ui.d.ts +109 -0
- package/hydrate/index.js +2141 -2485
- package/package.json +27 -23
- package/readme.md +2 -2
- package/dist/calcite/p-002dd77e.system.entry.js +0 -6
- package/dist/calcite/p-0075a34c.system.entry.js +0 -6
- package/dist/calcite/p-05a54c43.system.entry.js +0 -6
- package/dist/calcite/p-062c4add.system.entry.js +0 -6
- package/dist/calcite/p-0c3c9c1c.entry.js +0 -6
- package/dist/calcite/p-12476461.entry.js +0 -6
- package/dist/calcite/p-1377d236.entry.js +0 -6
- package/dist/calcite/p-158b4176.entry.js +0 -6
- package/dist/calcite/p-15ba8704.system.entry.js +0 -6
- package/dist/calcite/p-17453c3c.system.entry.js +0 -6
- package/dist/calcite/p-1d934973.system.entry.js +0 -6
- package/dist/calcite/p-26463d67.system.entry.js +0 -6
- package/dist/calcite/p-2a66d2b4.entry.js +0 -6
- package/dist/calcite/p-2cb5cb00.system.entry.js +0 -6
- package/dist/calcite/p-2dcc538d.system.entry.js +0 -6
- package/dist/calcite/p-33642765.entry.js +0 -6
- package/dist/calcite/p-33ab7002.entry.js +0 -6
- package/dist/calcite/p-371b3a84.system.entry.js +0 -6
- package/dist/calcite/p-3ad28c80.system.entry.js +0 -6
- package/dist/calcite/p-3ad8cc5f.js +0 -6
- package/dist/calcite/p-3d66a00d.system.js +0 -6
- package/dist/calcite/p-3f22976b.entry.js +0 -6
- package/dist/calcite/p-428e4e81.system.entry.js +0 -6
- package/dist/calcite/p-444b84cb.system.entry.js +0 -6
- package/dist/calcite/p-4ad83adf.entry.js +0 -6
- package/dist/calcite/p-4c173f65.entry.js +0 -6
- package/dist/calcite/p-4c31b5bd.system.entry.js +0 -6
- package/dist/calcite/p-4d8d1a0f.entry.js +0 -6
- package/dist/calcite/p-4e4cc01c.system.entry.js +0 -6
- package/dist/calcite/p-4edd8e21.js +0 -6
- package/dist/calcite/p-5682b110.system.entry.js +0 -6
- package/dist/calcite/p-583dfc23.entry.js +0 -6
- package/dist/calcite/p-58a90a7a.system.entry.js +0 -6
- package/dist/calcite/p-5956bdeb.entry.js +0 -6
- package/dist/calcite/p-5d4cb588.entry.js +0 -6
- package/dist/calcite/p-66bbb044.system.entry.js +0 -6
- package/dist/calcite/p-67dd2018.system.entry.js +0 -6
- package/dist/calcite/p-689228d1.system.entry.js +0 -6
- package/dist/calcite/p-6b27da07.entry.js +0 -6
- package/dist/calcite/p-6d0320c5.system.entry.js +0 -6
- package/dist/calcite/p-6e16e0fe.system.entry.js +0 -6
- package/dist/calcite/p-6e64c993.system.entry.js +0 -6
- package/dist/calcite/p-724ea7c9.system.entry.js +0 -6
- package/dist/calcite/p-752fa0d9.entry.js +0 -6
- package/dist/calcite/p-7c9d5bb9.entry.js +0 -6
- package/dist/calcite/p-7cb42d06.entry.js +0 -6
- package/dist/calcite/p-7ed00b1b.entry.js +0 -6
- package/dist/calcite/p-828b2bad.js +0 -6
- package/dist/calcite/p-82bb3cf7.system.js +0 -6
- package/dist/calcite/p-83429698.entry.js +0 -6
- package/dist/calcite/p-88d30d4f.entry.js +0 -6
- package/dist/calcite/p-8a45a58d.system.entry.js +0 -6
- package/dist/calcite/p-8d2b5f7c.js +0 -6
- package/dist/calcite/p-8e7f13cf.entry.js +0 -6
- package/dist/calcite/p-909ffc82.entry.js +0 -6
- package/dist/calcite/p-90a7cfa3.entry.js +0 -6
- package/dist/calcite/p-92216120.entry.js +0 -6
- package/dist/calcite/p-92918a46.system.entry.js +0 -6
- package/dist/calcite/p-92b8fb06.system.entry.js +0 -6
- package/dist/calcite/p-9519e9b8.js +0 -6
- package/dist/calcite/p-971cea04.entry.js +0 -6
- package/dist/calcite/p-97f26b9b.system.js +0 -6
- package/dist/calcite/p-9ba97023.entry.js +0 -6
- package/dist/calcite/p-9c840d0a.system.entry.js +0 -6
- package/dist/calcite/p-9cf66d0f.system.entry.js +0 -6
- package/dist/calcite/p-9ff2af27.entry.js +0 -6
- package/dist/calcite/p-a33b68e5.system.entry.js +0 -6
- package/dist/calcite/p-a8238b76.system.entry.js +0 -6
- package/dist/calcite/p-a8fb0a8b.entry.js +0 -6
- package/dist/calcite/p-a9ed242d.entry.js +0 -6
- package/dist/calcite/p-adf54310.system.entry.js +0 -6
- package/dist/calcite/p-af281ab4.entry.js +0 -6
- package/dist/calcite/p-b26c9ca6.system.js +0 -6
- package/dist/calcite/p-b47b54c6.system.entry.js +0 -6
- package/dist/calcite/p-bc43bfdd.system.entry.js +0 -6
- package/dist/calcite/p-c0b5be94.system.entry.js +0 -6
- package/dist/calcite/p-c3e6fc43.system.entry.js +0 -6
- package/dist/calcite/p-c4f468be.system.entry.js +0 -6
- package/dist/calcite/p-c7800ce2.entry.js +0 -6
- package/dist/calcite/p-caaa9fd9.entry.js +0 -6
- package/dist/calcite/p-cb076baf.system.entry.js +0 -6
- package/dist/calcite/p-cd9f1347.system.entry.js +0 -6
- package/dist/calcite/p-ce8e3339.entry.js +0 -6
- package/dist/calcite/p-cee487e9.system.entry.js +0 -6
- package/dist/calcite/p-d21defa0.system.js +0 -6
- package/dist/calcite/p-da0995ea.system.entry.js +0 -6
- package/dist/calcite/p-da766f0c.system.js +0 -6
- package/dist/calcite/p-da89da49.system.entry.js +0 -6
- package/dist/calcite/p-db396a0a.entry.js +0 -6
- package/dist/calcite/p-deab46f5.system.entry.js +0 -6
- package/dist/calcite/p-e60e56e0.entry.js +0 -6
- package/dist/calcite/p-e651688a.system.entry.js +0 -6
- package/dist/calcite/p-e84f00db.system.entry.js +0 -6
- package/dist/calcite/p-e8acda4d.system.entry.js +0 -6
- package/dist/calcite/p-f2f76f0f.entry.js +0 -6
- package/dist/calcite/p-f3c7bebb.entry.js +0 -6
- package/dist/calcite/p-f57302c8.entry.js +0 -6
- package/dist/calcite/p-f5856bcd.system.entry.js +0 -6
- package/dist/calcite/p-f636d4c6.system.entry.js +0 -6
- package/dist/calcite/p-f83199e1.entry.js +0 -6
- package/dist/cjs/popper-10879f45.js +0 -1876
- package/dist/collection/utils/popper.js +0 -126
- package/dist/components/popper.js +0 -1868
- package/dist/esm/forIn-edd2858e.js +0 -620
- package/dist/esm/popper-d9efd007.js +0 -1868
- package/dist/esm-es5/ExpandToggle-bf789e2a.js +0 -6
- package/dist/esm-es5/Heading-9b4aeafa.js +0 -6
- package/dist/esm-es5/forIn-edd2858e.js +0 -6
- package/dist/esm-es5/popper-d9efd007.js +0 -6
- package/dist/types/utils/popper.d.ts +0 -35
|
@@ -1,20 +1,30 @@
|
|
|
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.539
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate, h } from './index-
|
|
7
|
-
import { a as getElementDir } from './dom-
|
|
8
|
-
import { S as SLOTS } from './resources-
|
|
9
|
-
import { S as SLOTS$1 } from './resources-
|
|
6
|
+
import { f as forceUpdate, h } from './index-18bb01af.js';
|
|
7
|
+
import { a as getElementDir } from './dom-7f08036a.js';
|
|
8
|
+
import { S as SLOTS } from './resources-6a758e2f.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-099cae0c.js';
|
|
10
10
|
|
|
11
11
|
const overflowActionsDebounceInMs = 150;
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
const groupBufferPx = 2;
|
|
13
|
+
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
14
|
+
const geActionDimensions = (actions) => {
|
|
15
|
+
const actionLen = actions === null || actions === void 0 ? void 0 : actions.length;
|
|
16
|
+
return {
|
|
17
|
+
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
18
|
+
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
19
|
+
};
|
|
15
20
|
};
|
|
16
|
-
const
|
|
17
|
-
|
|
21
|
+
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount }) => {
|
|
22
|
+
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
23
|
+
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
24
|
+
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
25
|
+
};
|
|
26
|
+
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount }) => {
|
|
27
|
+
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
18
28
|
};
|
|
19
29
|
const queryActions = (el) => {
|
|
20
30
|
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS.trigger : true);
|
|
@@ -87,4 +97,4 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
87
97
|
return actionNode;
|
|
88
98
|
};
|
|
89
99
|
|
|
90
|
-
export { ExpandToggle as E, overflowActions as a, getOverflowCount as g, overflowActionsDebounceInMs as o, queryActions as q, toggleChildActionText as t };
|
|
100
|
+
export { ExpandToggle as E, overflowActions as a, getOverflowCount as b, geActionDimensions as g, overflowActionsDebounceInMs as o, queryActions as q, toggleChildActionText as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
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.539
|
|
5
5
|
*/
|
|
6
|
-
import { h } from './index-
|
|
6
|
+
import { h } from './index-18bb01af.js';
|
|
7
7
|
|
|
8
8
|
function constrainHeadingLevel(level) {
|
|
9
9
|
return Math.min(Math.max(Math.ceil(level), 1), 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.539
|
|
5
5
|
*/
|
|
6
6
|
function getRoundRobinIndex(index, total) {
|
|
7
7
|
return (index + total) % total;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.539
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { d as getElementProp,
|
|
8
|
-
import './
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-18bb01af.js';
|
|
7
|
+
import { d as getElementProp, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean } from './dom-7f08036a.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-04a7e3de.js';
|
|
9
|
+
import './guid-be14ab18.js';
|
|
10
|
+
import './observers-25c8cd25.js';
|
|
9
11
|
|
|
10
|
-
const accordionCss = "@-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-
|
|
12
|
+
const accordionCss = "@-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-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
|
|
11
13
|
|
|
12
14
|
const Accordion = class {
|
|
13
15
|
constructor(hostRef) {
|
|
@@ -65,12 +67,12 @@ const Accordion = class {
|
|
|
65
67
|
// Event Listeners
|
|
66
68
|
//
|
|
67
69
|
//--------------------------------------------------------------------------
|
|
68
|
-
calciteInternalAccordionItemKeyEvent(
|
|
69
|
-
const item =
|
|
70
|
-
const parent =
|
|
70
|
+
calciteInternalAccordionItemKeyEvent(event) {
|
|
71
|
+
const item = event.detail.item;
|
|
72
|
+
const parent = event.detail.parent;
|
|
71
73
|
if (this.el === parent) {
|
|
72
74
|
const key = item.key;
|
|
73
|
-
const itemToFocus =
|
|
75
|
+
const itemToFocus = event.target;
|
|
74
76
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
75
77
|
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
|
76
78
|
switch (key) {
|
|
@@ -98,18 +100,18 @@ const Accordion = class {
|
|
|
98
100
|
break;
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
|
-
|
|
103
|
+
event.stopPropagation();
|
|
102
104
|
}
|
|
103
|
-
registerCalciteAccordionItem(
|
|
105
|
+
registerCalciteAccordionItem(event) {
|
|
104
106
|
const item = {
|
|
105
|
-
item:
|
|
106
|
-
parent:
|
|
107
|
-
position:
|
|
107
|
+
item: event.target,
|
|
108
|
+
parent: event.detail.parent,
|
|
109
|
+
position: event.detail.position
|
|
108
110
|
};
|
|
109
111
|
if (this.el === item.parent) {
|
|
110
112
|
this.items.push(item);
|
|
111
113
|
}
|
|
112
|
-
|
|
114
|
+
event.stopPropagation();
|
|
113
115
|
}
|
|
114
116
|
updateActiveItemOnChange(event) {
|
|
115
117
|
this.requestedAccordionItem = event.detail.requestedAccordionItem;
|
|
@@ -131,18 +133,18 @@ const Accordion = class {
|
|
|
131
133
|
const lastItem = this.items[this.items.length - 1];
|
|
132
134
|
this.focusElement(lastItem);
|
|
133
135
|
}
|
|
134
|
-
focusNextItem(
|
|
135
|
-
const index = this.itemIndex(
|
|
136
|
+
focusNextItem(el) {
|
|
137
|
+
const index = this.itemIndex(el);
|
|
136
138
|
const nextItem = this.items[index + 1] || this.items[0];
|
|
137
139
|
this.focusElement(nextItem);
|
|
138
140
|
}
|
|
139
|
-
focusPrevItem(
|
|
140
|
-
const index = this.itemIndex(
|
|
141
|
+
focusPrevItem(el) {
|
|
142
|
+
const index = this.itemIndex(el);
|
|
141
143
|
const prevItem = this.items[index - 1] || this.items[this.items.length - 1];
|
|
142
144
|
this.focusElement(prevItem);
|
|
143
145
|
}
|
|
144
|
-
itemIndex(
|
|
145
|
-
return this.items.indexOf(
|
|
146
|
+
itemIndex(el) {
|
|
147
|
+
return this.items.indexOf(el);
|
|
146
148
|
}
|
|
147
149
|
focusElement(item) {
|
|
148
150
|
const target = item;
|
|
@@ -152,7 +154,24 @@ const Accordion = class {
|
|
|
152
154
|
};
|
|
153
155
|
Accordion.style = accordionCss;
|
|
154
156
|
|
|
155
|
-
const
|
|
157
|
+
const SLOTS = {
|
|
158
|
+
actionsStart: "actions-start",
|
|
159
|
+
actionsEnd: "actions-end"
|
|
160
|
+
};
|
|
161
|
+
const CSS = {
|
|
162
|
+
icon: "icon",
|
|
163
|
+
header: "header",
|
|
164
|
+
headerContent: "header-content",
|
|
165
|
+
actionsStart: "actions-start",
|
|
166
|
+
actionsEnd: "actions-end",
|
|
167
|
+
headerText: "header-text",
|
|
168
|
+
heading: "heading",
|
|
169
|
+
description: "description",
|
|
170
|
+
expandIcon: "expand-icon",
|
|
171
|
+
content: "content"
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
const accordionItemCss = "@-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}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";
|
|
156
175
|
|
|
157
176
|
const AccordionItem = class {
|
|
158
177
|
constructor(hostRef) {
|
|
@@ -179,6 +198,12 @@ const AccordionItem = class {
|
|
|
179
198
|
/** handle clicks on item header */
|
|
180
199
|
this.itemHeaderClickHandler = () => this.emitRequestedItem();
|
|
181
200
|
}
|
|
201
|
+
activeHandler(value) {
|
|
202
|
+
this.expanded = value;
|
|
203
|
+
}
|
|
204
|
+
expandedHandler(value) {
|
|
205
|
+
this.active = value;
|
|
206
|
+
}
|
|
182
207
|
//--------------------------------------------------------------------------
|
|
183
208
|
//
|
|
184
209
|
// Lifecycle
|
|
@@ -189,6 +214,12 @@ const AccordionItem = class {
|
|
|
189
214
|
this.selectionMode = getElementProp(this.el, "selection-mode", "multi");
|
|
190
215
|
this.iconType = getElementProp(this.el, "icon-type", "chevron");
|
|
191
216
|
this.iconPosition = getElementProp(this.el, "icon-position", this.iconPosition);
|
|
217
|
+
const isExpanded = this.active || this.expanded;
|
|
218
|
+
if (isExpanded) {
|
|
219
|
+
this.activeHandler(isExpanded);
|
|
220
|
+
this.expandedHandler(isExpanded);
|
|
221
|
+
}
|
|
222
|
+
connectConditionalSlotComponent(this);
|
|
192
223
|
}
|
|
193
224
|
componentDidLoad() {
|
|
194
225
|
this.itemPosition = this.getItemPosition();
|
|
@@ -197,32 +228,48 @@ const AccordionItem = class {
|
|
|
197
228
|
position: this.itemPosition
|
|
198
229
|
});
|
|
199
230
|
}
|
|
231
|
+
disconnectedCallback() {
|
|
232
|
+
disconnectConditionalSlotComponent(this);
|
|
233
|
+
}
|
|
234
|
+
// --------------------------------------------------------------------------
|
|
235
|
+
//
|
|
236
|
+
// Render Methods
|
|
237
|
+
//
|
|
238
|
+
// --------------------------------------------------------------------------
|
|
239
|
+
renderActionsStart() {
|
|
240
|
+
const { el } = this;
|
|
241
|
+
return getSlotted(el, SLOTS.actionsStart) ? (h("div", { class: CSS.actionsStart }, h("slot", { name: SLOTS.actionsStart }))) : null;
|
|
242
|
+
}
|
|
243
|
+
renderActionsEnd() {
|
|
244
|
+
const { el } = this;
|
|
245
|
+
return getSlotted(el, SLOTS.actionsEnd) ? (h("div", { class: CSS.actionsEnd }, h("slot", { name: SLOTS.actionsEnd }))) : null;
|
|
246
|
+
}
|
|
200
247
|
render() {
|
|
201
248
|
const dir = getElementDir(this.el);
|
|
202
|
-
const iconEl = h("calcite-icon", { class:
|
|
203
|
-
return (h(Host, null, h("div", {
|
|
249
|
+
const iconEl = h("calcite-icon", { class: CSS.icon, icon: this.icon, scale: "s" });
|
|
250
|
+
return (h(Host, null, h("div", { class: {
|
|
204
251
|
[`icon-position--${this.iconPosition}`]: true,
|
|
205
252
|
[`icon-type--${this.iconType}`]: true
|
|
206
|
-
},
|
|
253
|
+
} }, h("div", { class: { [CSS.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), h("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, h("div", { class: CSS.headerText }, h("span", { class: CSS.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (h("span", { class: CSS.description }, this.description || this.itemSubtitle)) : null), h("calcite-icon", { class: CSS.expandIcon, icon: this.iconType === "chevron"
|
|
207
254
|
? "chevronDown"
|
|
208
255
|
: this.iconType === "caret"
|
|
209
256
|
? "caretDown"
|
|
210
257
|
: this.expanded || this.active
|
|
211
258
|
? "minus"
|
|
212
|
-
: "plus", scale: "s" })), h("div", { class:
|
|
259
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS.content }, h("slot", null)))));
|
|
213
260
|
}
|
|
214
261
|
//--------------------------------------------------------------------------
|
|
215
262
|
//
|
|
216
263
|
// Event Listeners
|
|
217
264
|
//
|
|
218
265
|
//--------------------------------------------------------------------------
|
|
219
|
-
keyDownHandler(
|
|
220
|
-
if (
|
|
221
|
-
switch (
|
|
266
|
+
keyDownHandler(event) {
|
|
267
|
+
if (event.target === this.el) {
|
|
268
|
+
switch (event.key) {
|
|
222
269
|
case " ":
|
|
223
270
|
case "Enter":
|
|
224
271
|
this.emitRequestedItem();
|
|
225
|
-
|
|
272
|
+
event.preventDefault();
|
|
226
273
|
break;
|
|
227
274
|
case "ArrowUp":
|
|
228
275
|
case "ArrowDown":
|
|
@@ -230,9 +277,9 @@ const AccordionItem = class {
|
|
|
230
277
|
case "End":
|
|
231
278
|
this.calciteInternalAccordionItemKeyEvent.emit({
|
|
232
279
|
parent: this.parent,
|
|
233
|
-
item:
|
|
280
|
+
item: event
|
|
234
281
|
});
|
|
235
|
-
|
|
282
|
+
event.preventDefault();
|
|
236
283
|
break;
|
|
237
284
|
}
|
|
238
285
|
}
|
|
@@ -255,16 +302,13 @@ const AccordionItem = class {
|
|
|
255
302
|
switch (this.selectionMode) {
|
|
256
303
|
case "multi":
|
|
257
304
|
if (this.el === this.requestedAccordionItem) {
|
|
258
|
-
this.active = !this.active;
|
|
259
305
|
this.expanded = !this.expanded;
|
|
260
306
|
}
|
|
261
307
|
break;
|
|
262
308
|
case "single":
|
|
263
|
-
this.active = this.el === this.requestedAccordionItem ? !this.active : false;
|
|
264
309
|
this.expanded = this.el === this.requestedAccordionItem ? !this.expanded : false;
|
|
265
310
|
break;
|
|
266
311
|
case "single-persist":
|
|
267
|
-
this.active = this.el === this.requestedAccordionItem;
|
|
268
312
|
this.expanded = this.el === this.requestedAccordionItem;
|
|
269
313
|
break;
|
|
270
314
|
}
|
|
@@ -278,6 +322,10 @@ const AccordionItem = class {
|
|
|
278
322
|
return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"), this.el);
|
|
279
323
|
}
|
|
280
324
|
get el() { return getElement(this); }
|
|
325
|
+
static get watchers() { return {
|
|
326
|
+
"active": ["activeHandler"],
|
|
327
|
+
"expanded": ["expandedHandler"]
|
|
328
|
+
}; }
|
|
281
329
|
};
|
|
282
330
|
AccordionItem.style = accordionItemCss;
|
|
283
331
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.539
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, E as ExpandToggle,
|
|
8
|
-
import { f as focusElement, g as getSlotted } from './dom-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
11
|
-
import { d as debounce } from './debounce-
|
|
12
|
-
import './resources-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-18bb01af.js';
|
|
7
|
+
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './ExpandToggle-aa4da2bb.js';
|
|
8
|
+
import { f as focusElement, g as getSlotted } from './dom-7f08036a.js';
|
|
9
|
+
import { c as createObserver } from './observers-25c8cd25.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-04a7e3de.js';
|
|
11
|
+
import { d as debounce } from './debounce-195b8c2d.js';
|
|
12
|
+
import './resources-6a758e2f.js';
|
|
13
|
+
import './resources-099cae0c.js';
|
|
14
|
+
import './guid-be14ab18.js';
|
|
15
15
|
|
|
16
16
|
const CSS = {
|
|
17
17
|
actionGroupBottom: "action-group--bottom"
|
|
@@ -25,7 +25,7 @@ const TEXT = {
|
|
|
25
25
|
collapse: "Collapse"
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
const actionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-
|
|
28
|
+
const actionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:stretch;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";
|
|
29
29
|
|
|
30
30
|
const ActionBar = class {
|
|
31
31
|
constructor(hostRef) {
|
|
@@ -44,6 +44,10 @@ const ActionBar = class {
|
|
|
44
44
|
* When true, the component is expanded.
|
|
45
45
|
*/
|
|
46
46
|
this.expanded = false;
|
|
47
|
+
/**
|
|
48
|
+
* The layout direction of the actions.
|
|
49
|
+
*/
|
|
50
|
+
this.layout = "vertical";
|
|
47
51
|
/**
|
|
48
52
|
* Disables automatically overflowing `calcite-action`s that won't fit into menus.
|
|
49
53
|
*/
|
|
@@ -73,13 +77,12 @@ const ActionBar = class {
|
|
|
73
77
|
entries.forEach(this.resizeHandler);
|
|
74
78
|
};
|
|
75
79
|
this.resizeHandler = (entry) => {
|
|
76
|
-
const { height } = entry.contentRect;
|
|
77
|
-
this.resize(height);
|
|
80
|
+
const { width, height } = entry.contentRect;
|
|
81
|
+
this.resize({ width, height });
|
|
78
82
|
};
|
|
79
|
-
this.resize = debounce((height) => {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
if (!height) {
|
|
83
|
+
this.resize = debounce(({ width, height }) => {
|
|
84
|
+
const { el, expanded, expandDisabled, layout } = this;
|
|
85
|
+
if ((layout === "vertical" && !height) || (layout === "horizontal" && !width)) {
|
|
83
86
|
return;
|
|
84
87
|
}
|
|
85
88
|
const actions = queryActions(el);
|
|
@@ -88,10 +91,14 @@ const ActionBar = class {
|
|
|
88
91
|
const groupCount = getSlotted(el, SLOTS.bottomActions) || !expandDisabled
|
|
89
92
|
? actionGroups.length + 1
|
|
90
93
|
: actionGroups.length;
|
|
94
|
+
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
91
95
|
const overflowCount = getOverflowCount({
|
|
96
|
+
layout,
|
|
92
97
|
actionCount,
|
|
93
|
-
actionHeight
|
|
98
|
+
actionHeight,
|
|
99
|
+
actionWidth,
|
|
94
100
|
height,
|
|
101
|
+
width,
|
|
95
102
|
groupCount
|
|
96
103
|
});
|
|
97
104
|
overflowActions({
|
|
@@ -118,6 +125,7 @@ const ActionBar = class {
|
|
|
118
125
|
}
|
|
119
126
|
expandedHandler(expanded) {
|
|
120
127
|
toggleChildActionText({ parent: this.el, expanded });
|
|
128
|
+
this.conditionallyOverflowActions();
|
|
121
129
|
}
|
|
122
130
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
123
131
|
overflowActionsDisabled
|
|
@@ -160,7 +168,7 @@ const ActionBar = class {
|
|
|
160
168
|
* @internal
|
|
161
169
|
*/
|
|
162
170
|
async overflowActions() {
|
|
163
|
-
this.resize(this.el.clientHeight);
|
|
171
|
+
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
|
164
172
|
}
|
|
165
173
|
/**
|
|
166
174
|
* Sets focus on the component.
|
|
@@ -181,12 +189,12 @@ const ActionBar = class {
|
|
|
181
189
|
//
|
|
182
190
|
// --------------------------------------------------------------------------
|
|
183
191
|
renderBottomActionGroup() {
|
|
184
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
192
|
+
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
185
193
|
const tooltip = getSlotted(el, SLOTS.expandTooltip);
|
|
186
194
|
const expandLabel = intlExpand || TEXT.expand;
|
|
187
195
|
const collapseLabel = intlCollapse || TEXT.collapse;
|
|
188
196
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
189
|
-
return getSlotted(el, SLOTS.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS.bottomActions }), h("slot", { name: SLOTS.expandTooltip }), expandToggleNode)) : null;
|
|
197
|
+
return getSlotted(el, SLOTS.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS.bottomActions }), h("slot", { name: SLOTS.expandTooltip }), expandToggleNode)) : null;
|
|
190
198
|
}
|
|
191
199
|
render() {
|
|
192
200
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.539
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-
|
|
8
|
-
import { g as getSlotted } from './dom-
|
|
9
|
-
import { S as SLOTS$1 } from './resources-
|
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
11
|
-
import './guid-
|
|
12
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-18bb01af.js';
|
|
7
|
+
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-099cae0c.js';
|
|
8
|
+
import { g as getSlotted } from './dom-7f08036a.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-6a758e2f.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-04a7e3de.js';
|
|
11
|
+
import './guid-be14ab18.js';
|
|
12
|
+
import './observers-25c8cd25.js';
|
|
13
13
|
|
|
14
|
-
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-
|
|
14
|
+
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
|
|
15
15
|
|
|
16
16
|
const ActionGroup = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -67,9 +67,9 @@ const ActionGroup = class {
|
|
|
67
67
|
return hasTooltip ? h("slot", { name: SLOTS.menuTooltip, slot: SLOTS$1.tooltip }) : null;
|
|
68
68
|
}
|
|
69
69
|
renderMenu() {
|
|
70
|
-
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
70
|
+
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
71
71
|
const hasMenuItems = getSlotted(el, SLOTS.menuActions);
|
|
72
|
-
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS.menu, scale: scale, slot: SLOTS$1.trigger, text: intlMore || TEXT.more, textEnabled: expanded }), h("slot", { name: SLOTS.menuActions }), this.renderTooltip())) : null;
|
|
72
|
+
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, h("calcite-action", { icon: ICONS.menu, scale: scale, slot: SLOTS$1.trigger, text: intlMore || TEXT.more, textEnabled: expanded }), h("slot", { name: SLOTS.menuActions }), this.renderTooltip())) : null;
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
return (h(Fragment, null, h("slot", null), this.renderMenu()));
|