@esri/calcite-components 1.0.0-beta.85 → 1.0.0-beta.88
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-05e6e44e.entry.js +6 -0
- package/dist/calcite/{p-315644dd.entry.js → p-07dd470c.entry.js} +2 -2
- package/dist/calcite/{p-89967a2b.system.entry.js → p-08d33cff.system.entry.js} +2 -2
- package/dist/calcite/p-0d787eb2.entry.js +6 -0
- package/dist/calcite/{p-4e9df5b8.system.js → p-0d8047a0.system.js} +2 -2
- package/dist/calcite/p-0e005277.entry.js +6 -0
- package/dist/calcite/p-0e02d130.system.entry.js +6 -0
- package/dist/calcite/{p-338228cd.js → p-0ee2d220.js} +2 -2
- package/dist/calcite/{p-887d734a.js → p-0fa03f2b.js} +2 -2
- package/dist/calcite/p-123213d5.entry.js +6 -0
- package/dist/calcite/p-16eceb49.system.entry.js +6 -0
- package/dist/calcite/p-187f9893.entry.js +6 -0
- package/dist/calcite/p-19403345.system.entry.js +6 -0
- package/dist/calcite/p-1a31febb.system.entry.js +6 -0
- package/dist/calcite/p-1af1f3c4.system.entry.js +6 -0
- package/dist/calcite/p-1b89f988.system.entry.js +6 -0
- package/dist/calcite/p-1c7df5d0.entry.js +6 -0
- package/dist/calcite/{p-ecdd5df4.js → p-1f4f5c19.js} +2 -2
- package/dist/calcite/p-20c0dc2d.system.entry.js +6 -0
- package/dist/calcite/{p-9fc3c426.entry.js → p-21c25c2d.entry.js} +2 -2
- package/dist/calcite/p-2234a2fa.entry.js +6 -0
- package/dist/calcite/p-27859709.system.entry.js +6 -0
- package/dist/calcite/p-2a0b7910.system.entry.js +6 -0
- package/dist/calcite/p-2a743b41.system.entry.js +6 -0
- package/dist/calcite/p-2dee422c.system.entry.js +6 -0
- package/dist/calcite/{p-4b72075a.system.entry.js → p-328830de.system.entry.js} +2 -2
- package/dist/calcite/p-32b753c4.entry.js +6 -0
- package/dist/calcite/p-33845d5b.system.entry.js +6 -0
- package/dist/calcite/p-33ee66c9.system.entry.js +6 -0
- package/dist/calcite/p-35b01278.system.js +6 -0
- package/dist/calcite/{p-d67695ec.js → p-37711534.js} +1 -1
- package/dist/calcite/p-3789d49d.system.entry.js +6 -0
- package/dist/calcite/{p-d15c1632.js → p-38d46205.js} +1 -1
- package/dist/calcite/p-3b9eeea0.system.js +6 -0
- package/dist/calcite/p-3d9d8cc2.system.entry.js +6 -0
- package/dist/calcite/p-3ef08257.entry.js +6 -0
- package/dist/calcite/p-404c5ccb.entry.js +6 -0
- package/dist/calcite/p-437d9469.entry.js +6 -0
- package/dist/calcite/p-438e073a.entry.js +6 -0
- package/dist/calcite/{p-776fdea5.entry.js → p-45157ebd.entry.js} +2 -2
- package/dist/calcite/{p-398535e1.system.js → p-47e17bfe.system.js} +1 -1
- package/dist/calcite/p-480110aa.system.entry.js +6 -0
- package/dist/calcite/{p-46696d61.js → p-49228240.js} +1 -1
- package/dist/calcite/p-499e3e8e.js +7 -0
- package/dist/calcite/p-4b7bc432.system.entry.js +6 -0
- package/dist/calcite/{p-9487de4e.entry.js → p-4b7d8730.entry.js} +2 -2
- package/dist/calcite/p-4bc6cf58.system.entry.js +6 -0
- package/dist/calcite/{p-467704c7.system.js → p-4cc55c6b.system.js} +1 -1
- package/dist/calcite/p-4d6c3948.entry.js +6 -0
- package/dist/calcite/{p-03d40265.entry.js → p-4ff43ccd.entry.js} +2 -2
- package/dist/calcite/p-56f528e7.system.entry.js +6 -0
- package/dist/calcite/{p-07d77019.system.js → p-576c6d90.system.js} +1 -1
- package/dist/calcite/{p-43aac0ac.entry.js → p-580abf04.entry.js} +2 -2
- package/dist/calcite/p-59f13078.system.entry.js +6 -0
- package/dist/calcite/{p-03ef196e.js → p-5b999a6c.js} +1 -1
- package/dist/calcite/{p-1cea5244.system.js → p-5bcb3550.system.js} +2 -2
- package/dist/calcite/p-5bf1d9dd.entry.js +6 -0
- package/dist/calcite/{p-0223a366.system.entry.js → p-5c848d3b.system.entry.js} +2 -2
- package/dist/calcite/p-5d4ed662.system.entry.js +6 -0
- package/dist/calcite/{p-5e5cafb5.system.entry.js → p-60ed92d7.system.entry.js} +2 -2
- package/dist/calcite/p-61d0aee5.system.entry.js +6 -0
- package/dist/calcite/p-63f9e247.js +6 -0
- package/dist/calcite/p-668c6c3f.system.entry.js +6 -0
- package/dist/calcite/p-693b6420.system.entry.js +6 -0
- package/dist/calcite/{p-0212da73.system.js → p-6c6dcd8d.system.js} +1 -1
- package/dist/calcite/{p-b0f41839.entry.js → p-72a89fd7.entry.js} +2 -2
- package/dist/calcite/{p-2882a864.js → p-72b4a0ba.js} +2 -2
- package/dist/calcite/p-733efb75.system.entry.js +6 -0
- package/dist/calcite/p-748fa3dd.system.entry.js +6 -0
- package/dist/calcite/p-74b61b36.system.entry.js +6 -0
- package/dist/calcite/p-754f723b.system.entry.js +6 -0
- package/dist/calcite/{p-2b0bc91f.system.js → p-7792e0a6.system.js} +1 -1
- package/dist/calcite/{p-abe6d548.system.entry.js → p-78dc480f.system.entry.js} +2 -2
- package/dist/calcite/{p-170967b2.entry.js → p-7b4c1ad2.entry.js} +2 -2
- package/dist/calcite/p-7bf92781.entry.js +6 -0
- package/dist/calcite/{p-1c5c525b.system.js → p-7c185bac.system.js} +1 -1
- package/dist/calcite/p-7c8e376b.entry.js +6 -0
- package/dist/calcite/{p-584b85e0.system.js → p-7def66ec.system.js} +1 -1
- package/dist/calcite/p-7e9cc96c.system.entry.js +6 -0
- package/dist/calcite/p-83666d45.js +6 -0
- package/dist/calcite/p-8434e35e.system.js +6 -0
- package/dist/calcite/{p-243cd9e3.system.js → p-84382537.system.js} +1 -1
- package/dist/calcite/{p-9126f152.system.js → p-864d818a.system.js} +2 -2
- package/dist/calcite/p-86c1da3b.system.js +7 -0
- package/dist/calcite/p-8a72d959.entry.js +6 -0
- package/dist/calcite/{p-736cba68.system.js → p-8f1ef9e3.system.js} +2 -2
- package/dist/calcite/{p-149936bc.js → p-904f11d1.js} +1 -1
- package/dist/calcite/{p-850bd83f.js → p-912b88e8.js} +1 -1
- package/dist/calcite/{p-b95af5f3.entry.js → p-96941e56.entry.js} +2 -2
- package/dist/calcite/p-9cdc7258.entry.js +6 -0
- package/dist/calcite/p-9eadec21.system.entry.js +6 -0
- package/dist/calcite/{p-eacbae9a.entry.js → p-9f224e5a.entry.js} +2 -2
- package/dist/calcite/p-a019237b.entry.js +6 -0
- package/dist/calcite/{p-20ccf33e.system.js → p-a0fed957.system.js} +2 -2
- package/dist/calcite/p-a105b7a9.entry.js +6 -0
- package/dist/calcite/{p-2d888e2f.entry.js → p-a1aa7ee6.entry.js} +2 -2
- package/dist/calcite/{p-c2f04b4a.js → p-a32cac6b.js} +2 -2
- package/dist/calcite/p-a3789d06.system.entry.js +6 -0
- package/dist/calcite/p-a4d9aa0a.entry.js +6 -0
- package/dist/calcite/p-a4ea532b.entry.js +6 -0
- package/dist/calcite/p-a540ae2e.system.entry.js +6 -0
- package/dist/calcite/p-a5684301.entry.js +6 -0
- package/dist/calcite/{p-5d0e2da6.js → p-a60d4cb7.js} +1 -1
- package/dist/calcite/p-a8b2237b.js +6 -0
- package/dist/calcite/p-aa416cb5.system.entry.js +6 -0
- package/dist/calcite/p-aa8fc73f.entry.js +6 -0
- package/dist/calcite/{p-0913167b.js → p-abd4e5a8.js} +1 -1
- package/dist/calcite/{p-79ac98fc.system.entry.js → p-ac8db979.system.entry.js} +2 -2
- package/dist/calcite/p-adab454f.entry.js +6 -0
- package/dist/calcite/p-adeecd96.entry.js +6 -0
- package/dist/calcite/p-ae90837b.system.entry.js +6 -0
- package/dist/calcite/p-afa91b41.system.entry.js +6 -0
- package/dist/calcite/p-b05e7ca1.system.entry.js +6 -0
- package/dist/calcite/p-b0aeacc3.system.entry.js +6 -0
- package/dist/calcite/p-b1c5f13a.entry.js +6 -0
- package/dist/calcite/p-b2dd4d80.system.entry.js +6 -0
- package/dist/calcite/p-b4195586.entry.js +6 -0
- package/dist/calcite/p-b496305b.system.entry.js +6 -0
- package/dist/calcite/p-b52a5633.entry.js +6 -0
- package/dist/calcite/p-b850c351.entry.js +6 -0
- package/dist/calcite/{p-ac2ec96b.system.js → p-b87c3776.system.js} +2 -2
- package/dist/calcite/{p-37e5be23.system.js → p-bbab7f59.system.js} +1 -1
- package/dist/calcite/{p-a6e2dce3.js → p-bbe16621.js} +1 -1
- package/dist/calcite/{p-49ac0f0d.system.js → p-bc258f16.system.js} +1 -1
- package/dist/calcite/p-bf548bd9.entry.js +6 -0
- package/dist/calcite/p-c093135e.system.js +6 -0
- package/dist/calcite/p-c117dcf5.system.entry.js +6 -0
- package/dist/calcite/{p-95126dbe.entry.js → p-c1b32a3d.entry.js} +2 -2
- package/dist/calcite/{p-a22911bb.entry.js → p-c4814258.entry.js} +2 -2
- package/dist/calcite/p-c64bb5ab.entry.js +6 -0
- package/dist/calcite/p-c6ca0a3f.system.js +6 -0
- package/dist/calcite/{p-222220eb.js → p-c6f1b820.js} +1 -1
- package/dist/calcite/p-c74e6ff5.system.entry.js +6 -0
- package/dist/calcite/{p-072ba3d4.system.js → p-c8c7e371.system.js} +2 -2
- package/dist/calcite/p-c9df277f.system.entry.js +6 -0
- package/dist/calcite/p-ca63fb4e.entry.js +6 -0
- package/dist/calcite/p-ccd64eb0.entry.js +6 -0
- package/dist/calcite/p-ccdbf308.entry.js +6 -0
- package/dist/calcite/p-cd0cfb2f.system.entry.js +6 -0
- package/dist/calcite/p-ce8b973f.system.entry.js +6 -0
- package/dist/calcite/p-d270b62c.entry.js +6 -0
- package/dist/calcite/{p-2346e8b5.js → p-d281f769.js} +1 -1
- package/dist/calcite/{p-51534de9.system.js → p-d2ab4bdc.system.js} +1 -1
- package/dist/calcite/{p-ac5555ee.js → p-d3040412.js} +2 -2
- package/dist/calcite/p-d38ba3ff.entry.js +6 -0
- package/dist/calcite/{p-de06d5a7.entry.js → p-d5f69973.entry.js} +2 -2
- package/dist/calcite/p-d6831fe3.system.entry.js +6 -0
- package/dist/calcite/{p-e701122c.js → p-d741852a.js} +2 -2
- package/dist/calcite/{p-872dd7ba.system.js → p-d941f3d7.system.js} +1 -1
- package/dist/calcite/p-e0541094.system.entry.js +6 -0
- package/dist/calcite/{p-f411ee83.entry.js → p-e22b4af5.entry.js} +2 -2
- package/dist/calcite/p-e7ed03fe.entry.js +6 -0
- package/dist/calcite/p-e828a3b7.system.entry.js +6 -0
- package/dist/calcite/p-ea2143ca.entry.js +6 -0
- package/dist/calcite/{p-3c31971c.system.js → p-ec28cc42.system.js} +1 -1
- package/dist/calcite/p-f5da0db4.system.entry.js +6 -0
- package/dist/calcite/p-f5fddea4.system.entry.js +6 -0
- package/dist/calcite/p-f668746f.entry.js +6 -0
- package/dist/calcite/p-f6f30d24.js +6 -0
- package/dist/calcite/p-f810e95d.system.entry.js +6 -0
- package/dist/calcite/{p-1e18dd8f.js → p-f89e6de1.js} +1 -1
- package/dist/calcite/p-f9b4f2b0.entry.js +6 -0
- package/dist/calcite/p-fba03004.entry.js +6 -0
- package/dist/calcite/p-fbde199c.system.entry.js +6 -0
- package/dist/calcite/p-fc0b8a95.entry.js +6 -0
- package/dist/calcite/{p-8e404843.system.entry.js → p-fccd5648.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-cc8723f3.js → ExpandToggle-603be21c.js} +21 -10
- package/dist/cjs/{Heading-5e52526c.js → Heading-e26750e9.js} +2 -2
- package/dist/cjs/{array-57bcaf76.js → array-181cd592.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -44
- 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 +31 -38
- 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 +15 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +58 -83
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +109 -142
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.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 +100 -95
- 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 +44 -16
- package/dist/cjs/calcite-notice.cjs.entry.js +37 -12
- 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 +54 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-popover_2.cjs.entry.js +72 -82
- 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 +10 -10
- 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 +51 -84
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -61
- 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-e2c3d357.js → conditionalSlot-02fc5606.js} +3 -3
- package/dist/cjs/{debounce-e9a51e04.js → debounce-e4dd028c.js} +1 -1
- package/dist/cjs/{dom-1b4e0097.js → dom-e0f73c63.js} +2 -2
- package/dist/cjs/floating-ui-7f8ad32d.js +1620 -0
- package/dist/cjs/{forIn-6f2f1821.js → forIn-36af86fa.js} +2 -2
- package/dist/cjs/{form-09b0739e.js → form-59d6059f.js} +3 -3
- package/dist/cjs/{guid-f166e155.js → guid-955076f7.js} +1 -1
- package/dist/cjs/{index-341e1ec4.js → index-305cfbf8.js} +12 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-97aea507.js → interactive-300a5a8c.js} +1 -1
- package/dist/cjs/{interfaces-327e49ac.js → interfaces-f4ba9171.js} +1 -1
- package/dist/cjs/{key-7a6d198d.js → key-47458bff.js} +1 -1
- package/dist/cjs/{label-1b7bed3e.js → label-71cc342a.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-075bf13d.js → locale-197adffa.js} +2 -2
- package/dist/cjs/{math-da40a7f2.js → math-0d3c02ac.js} +1 -1
- package/dist/cjs/{observers-dea97623.js → observers-338f5a0e.js} +1 -1
- package/dist/cjs/{resources-7f821e18.js → resources-375506a4.js} +1 -1
- package/dist/cjs/{resources-f35c4b41.js → resources-377246d0.js} +3 -3
- package/dist/cjs/{resources-8e6a4847.js → resources-3aa3e75b.js} +5 -5
- package/dist/cjs/{resources-38083f60.js → resources-e62b43d8.js} +1 -1
- package/dist/cjs/{sortable.esm-1d891a3c.js → sortable.esm-cd2f8082.js} +1 -1
- package/dist/cjs/{utils-c2ab1f6b.js → utils-5f59cc7c.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +3 -3
- 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 +81 -63
- package/dist/collection/components/accordion-item/accordion-item.js +92 -48
- 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 +24 -22
- 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 +35 -9
- 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 +2 -2
- 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 +3 -3
- 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 +16 -13
- 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 +41 -49
- package/dist/collection/components/alert/alert.js +52 -70
- 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 +11 -11
- 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 +15 -18
- 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 +11 -17
- 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 +37 -37
- 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 +23 -23
- 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 +12 -14
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/chip/chip.css +27 -23
- package/dist/collection/components/chip/chip.js +39 -7
- 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 +32 -29
- 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 +5 -7
- 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 +12 -15
- 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 +49 -45
- package/dist/collection/components/combobox/combobox.js +77 -111
- 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 +21 -14
- 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 +13 -9
- 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 +5 -5
- 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 +23 -28
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
- package/dist/collection/components/date-picker-month/date-picker-month.css +14 -24
- 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 +23 -33
- 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 +26 -18
- package/dist/collection/components/dropdown/dropdown.js +128 -174
- 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 +4 -4
- 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 +8 -17
- 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 +7 -6
- 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 +16 -18
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +4 -4
- 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 +4 -4
- 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 +3 -2
- 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 +13 -13
- 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 +12 -11
- 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 +74 -96
- 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 +70 -73
- package/dist/collection/components/input-date-picker/input-date-picker.js +162 -110
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +7 -7
- 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 +47 -55
- 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 +9 -11
- 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 +15 -15
- 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 +14 -13
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +8 -7
- 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 +12 -15
- 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 +2 -2
- 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 +27 -31
- 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 +77 -70
- package/dist/collection/components/modal/modal.js +78 -19
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +26 -34
- package/dist/collection/components/notice/notice.js +83 -12
- 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 +10 -14
- 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 +39 -45
- package/dist/collection/components/panel/panel.js +105 -26
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +13 -12
- 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 +5 -7
- 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 +15 -17
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- 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 +29 -34
- package/dist/collection/components/popover/popover.js +132 -91
- 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 +9 -11
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +15 -17
- 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 +2 -2
- 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 +15 -17
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +7 -13
- 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 +18 -20
- 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 +5 -11
- 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 +22 -28
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +17 -24
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +11 -13
- 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 +17 -20
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/slider/slider.css +43 -44
- 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 +6 -5
- 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 +17 -18
- 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 +6 -9
- package/dist/collection/components/stepper/stepper.js +26 -84
- package/dist/collection/components/stepper-item/stepper-item.css +103 -35
- package/dist/collection/components/stepper-item/stepper-item.js +41 -20
- package/dist/collection/components/switch/switch.css +28 -30
- 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 +10 -13
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tab-nav/tab-nav.css +24 -25
- package/dist/collection/components/tab-nav/tab-nav.js +29 -29
- package/dist/collection/components/tab-title/tab-title.css +41 -50
- package/dist/collection/components/tab-title/tab-title.js +8 -8
- 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 +21 -21
- 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 +12 -11
- 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 +14 -13
- 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 +10 -9
- 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 +11 -17
- 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 +12 -15
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.css +2 -3
- 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 +11 -16
- 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 +25 -30
- 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 +4 -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 +18 -15
- 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 +12 -11
- 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 +12 -13
- 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 -26
- 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 +28 -35
- 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 +45 -70
- 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 +1 -1
- 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 +90 -84
- 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 +41 -13
- package/dist/components/calcite-notice.js +34 -7
- 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 +50 -17
- 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 +2 -2
- 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 +3 -3
- 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 +25 -21
- package/dist/components/calcite-stepper.js +26 -62
- 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 +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +12 -5
- 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 +93 -125
- package/dist/components/filter.js +2 -2
- package/dist/components/floating-ui.js +1612 -0
- package/dist/components/forIn.js +1 -1
- 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 +64 -73
- 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 +6 -6
- package/dist/components/tab.js +3 -3
- 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 +2339 -2613
- package/dist/esm/{ExpandToggle-d1d9e1ba.js → ExpandToggle-9a766aef.js} +21 -11
- package/dist/esm/{Heading-383fa71b.js → Heading-1d8ac13b.js} +2 -2
- package/dist/esm/{array-d410a39a.js → array-01c0fc97.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +83 -44
- 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 +31 -38
- 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 +15 -9
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +57 -82
- package/dist/esm/calcite-date-picker_4.entry.js +65 -67
- package/dist/esm/calcite-dropdown_3.entry.js +107 -140
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- 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 +98 -93
- 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 +44 -16
- package/dist/esm/calcite-notice.entry.js +37 -12
- 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 +54 -23
- package/dist/esm/calcite-pick-list_3.entry.js +14 -14
- package/dist/esm/calcite-popover_2.entry.js +70 -80
- 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 +10 -10
- 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 +51 -84
- package/dist/esm/calcite-switch.entry.js +11 -13
- package/dist/esm/calcite-tab_4.entry.js +61 -61
- 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-ed64bd11.js → conditionalSlot-c6d33dce.js} +3 -3
- package/dist/esm/{debounce-8d38ec02.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm/{dom-56e9893d.js → dom-d90fe08d.js} +2 -2
- package/dist/esm/floating-ui-46c5b613.js +1612 -0
- package/dist/esm/{forIn-ef92de72.js → forIn-47801022.js} +2 -2
- package/dist/esm/{form-47a9f6d7.js → form-3b0e9050.js} +3 -3
- package/dist/esm/{guid-aa647a83.js → guid-ac825a40.js} +1 -1
- package/dist/esm/{index-b91be572.js → index-a3160f12.js} +12 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-44c800e7.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm/{interfaces-b0afabf7.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm/{key-fc19c8e8.js → key-95b5c356.js} +1 -1
- package/dist/esm/{label-e9cd6c74.js → label-78d76445.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-178bfaed.js → locale-855e3c53.js} +2 -2
- package/dist/esm/{math-c93b8397.js → math-4579adc8.js} +1 -1
- package/dist/esm/{observers-5d3efdea.js → observers-365eaca9.js} +1 -1
- package/dist/esm/{resources-0f20a53d.js → resources-4b4a5920.js} +3 -3
- package/dist/esm/{resources-3cebaf37.js → resources-5b92e29d.js} +1 -1
- package/dist/esm/{resources-fca4a472.js → resources-832f46ae.js} +1 -1
- package/dist/esm/{resources-5182df75.js → resources-994e0a78.js} +5 -5
- package/dist/esm/{sortable.esm-79d8d5b2.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm/{utils-24933089.js → utils-21e6f8f9.js} +1 -1
- package/dist/esm-es5/ExpandToggle-9a766aef.js +6 -0
- package/dist/esm-es5/Heading-1d8ac13b.js +6 -0
- package/dist/esm-es5/{array-d410a39a.js → array-01c0fc97.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +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 +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +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-ed64bd11.js → conditionalSlot-c6d33dce.js} +2 -2
- package/dist/esm-es5/{debounce-8d38ec02.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm-es5/{dom-56e9893d.js → dom-d90fe08d.js} +2 -2
- package/dist/esm-es5/floating-ui-46c5b613.js +6 -0
- package/dist/esm-es5/{forIn-ef92de72.js → forIn-47801022.js} +2 -2
- package/dist/esm-es5/{form-47a9f6d7.js → form-3b0e9050.js} +2 -2
- package/dist/esm-es5/{guid-aa647a83.js → guid-ac825a40.js} +1 -1
- package/dist/esm-es5/index-a3160f12.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-44c800e7.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm-es5/{interfaces-b0afabf7.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm-es5/{key-fc19c8e8.js → key-95b5c356.js} +1 -1
- package/dist/esm-es5/{label-e9cd6c74.js → label-78d76445.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-178bfaed.js → locale-855e3c53.js} +2 -2
- package/dist/esm-es5/{math-c93b8397.js → math-4579adc8.js} +1 -1
- package/dist/esm-es5/{observers-5d3efdea.js → observers-365eaca9.js} +1 -1
- package/dist/esm-es5/{resources-0f20a53d.js → resources-4b4a5920.js} +2 -2
- package/dist/esm-es5/{resources-3cebaf37.js → resources-5b92e29d.js} +1 -1
- package/dist/esm-es5/{resources-fca4a472.js → resources-832f46ae.js} +1 -1
- package/dist/esm-es5/{resources-5182df75.js → resources-994e0a78.js} +2 -2
- package/dist/esm-es5/{sortable.esm-79d8d5b2.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm-es5/{utils-24933089.js → utils-21e6f8f9.js} +1 -1
- package/dist/extras/docs-json.json +442 -176
- 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 -7
- 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 +20 -24
- 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 +14 -4
- 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 +25 -28
- 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 +30 -33
- 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 +37 -26
- 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 +23 -7
- package/dist/types/components/notice/notice.d.ts +22 -5
- package/dist/types/components/panel/panel.d.ts +20 -9
- package/dist/types/components/popover/PopoverManager.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +28 -15
- 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-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/interfaces.d.ts +0 -1
- package/dist/types/components/stepper/stepper.d.ts +4 -13
- package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
- 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 +263 -122
- package/dist/types/preact.d.ts +15 -9
- package/dist/types/utils/floating-ui.d.ts +109 -0
- package/hydrate/index.js +2344 -2610
- package/package.json +36 -32
- package/readme.md +2 -2
- package/dist/calcite/p-01bc4f23.system.entry.js +0 -6
- package/dist/calcite/p-03ab89b3.entry.js +0 -6
- package/dist/calcite/p-07fc31c0.entry.js +0 -6
- package/dist/calcite/p-0c5db9b8.entry.js +0 -6
- package/dist/calcite/p-0e40d02c.entry.js +0 -6
- package/dist/calcite/p-0f792340.system.entry.js +0 -6
- package/dist/calcite/p-1027d814.js +0 -6
- package/dist/calcite/p-119aebca.js +0 -6
- package/dist/calcite/p-1221c17a.system.entry.js +0 -6
- package/dist/calcite/p-167a2db7.system.entry.js +0 -6
- package/dist/calcite/p-16e47db7.entry.js +0 -6
- package/dist/calcite/p-181ee6d9.system.entry.js +0 -6
- package/dist/calcite/p-1c5b17ca.system.entry.js +0 -6
- package/dist/calcite/p-1fd12e92.system.entry.js +0 -6
- package/dist/calcite/p-202aa07d.entry.js +0 -6
- package/dist/calcite/p-2070ab78.system.entry.js +0 -6
- package/dist/calcite/p-24eaf308.system.entry.js +0 -6
- package/dist/calcite/p-27434c28.js +0 -6
- package/dist/calcite/p-27aa7d0a.entry.js +0 -6
- package/dist/calcite/p-2b38a81c.entry.js +0 -6
- package/dist/calcite/p-2d906cf6.system.entry.js +0 -6
- package/dist/calcite/p-2ff5a1cc.system.entry.js +0 -6
- package/dist/calcite/p-311ddd75.system.entry.js +0 -6
- package/dist/calcite/p-329709c2.system.entry.js +0 -6
- package/dist/calcite/p-3510aea1.entry.js +0 -6
- package/dist/calcite/p-35133da2.system.entry.js +0 -6
- package/dist/calcite/p-3ab2d1ea.system.entry.js +0 -6
- package/dist/calcite/p-3b70be07.system.entry.js +0 -6
- package/dist/calcite/p-3ebbb37d.system.js +0 -6
- package/dist/calcite/p-420a3057.js +0 -7
- package/dist/calcite/p-464affb7.system.entry.js +0 -6
- package/dist/calcite/p-47fced58.system.entry.js +0 -6
- package/dist/calcite/p-48f4e304.system.entry.js +0 -6
- package/dist/calcite/p-51f5e06e.system.entry.js +0 -6
- package/dist/calcite/p-522b5e9b.system.entry.js +0 -6
- package/dist/calcite/p-529c79b7.js +0 -6
- package/dist/calcite/p-53f28012.system.entry.js +0 -6
- package/dist/calcite/p-5a45c95e.entry.js +0 -6
- package/dist/calcite/p-5f2a1aeb.entry.js +0 -6
- package/dist/calcite/p-5fc629fa.entry.js +0 -6
- package/dist/calcite/p-618bd95d.system.entry.js +0 -6
- package/dist/calcite/p-6574a052.system.js +0 -6
- package/dist/calcite/p-6b2b5764.entry.js +0 -6
- package/dist/calcite/p-6da35717.entry.js +0 -6
- package/dist/calcite/p-6f11a56f.system.entry.js +0 -6
- package/dist/calcite/p-70d26d8a.entry.js +0 -6
- package/dist/calcite/p-729af11a.system.entry.js +0 -6
- package/dist/calcite/p-781a286e.system.js +0 -7
- package/dist/calcite/p-791b3dac.entry.js +0 -6
- package/dist/calcite/p-7c60287e.system.entry.js +0 -6
- package/dist/calcite/p-7d570799.system.js +0 -6
- package/dist/calcite/p-80d78601.system.entry.js +0 -6
- package/dist/calcite/p-86e69716.entry.js +0 -6
- package/dist/calcite/p-87f22854.entry.js +0 -6
- package/dist/calcite/p-88c828b4.entry.js +0 -6
- package/dist/calcite/p-8919c0b9.system.entry.js +0 -6
- package/dist/calcite/p-8a0b728e.entry.js +0 -6
- package/dist/calcite/p-8b11b14e.entry.js +0 -6
- package/dist/calcite/p-8c0d62c7.system.entry.js +0 -6
- package/dist/calcite/p-90e91f3f.entry.js +0 -6
- package/dist/calcite/p-92b62b73.entry.js +0 -6
- package/dist/calcite/p-9440f9a1.entry.js +0 -6
- package/dist/calcite/p-a0a60580.system.entry.js +0 -6
- package/dist/calcite/p-a1405997.entry.js +0 -6
- package/dist/calcite/p-a2fc3c01.system.entry.js +0 -6
- package/dist/calcite/p-a34e342b.entry.js +0 -6
- package/dist/calcite/p-a8a2f8d8.entry.js +0 -6
- package/dist/calcite/p-ad663d3e.system.entry.js +0 -6
- package/dist/calcite/p-ade94686.entry.js +0 -6
- package/dist/calcite/p-af8c886d.entry.js +0 -6
- package/dist/calcite/p-b15645e3.system.entry.js +0 -6
- package/dist/calcite/p-b1c2d29e.entry.js +0 -6
- package/dist/calcite/p-b765d1ce.entry.js +0 -6
- package/dist/calcite/p-b8ce9f3e.entry.js +0 -6
- package/dist/calcite/p-bb6b70d0.system.entry.js +0 -6
- package/dist/calcite/p-bc80710e.entry.js +0 -6
- package/dist/calcite/p-bcde536d.entry.js +0 -6
- package/dist/calcite/p-c03ca50d.system.entry.js +0 -6
- package/dist/calcite/p-c0612433.entry.js +0 -6
- package/dist/calcite/p-c0c270bf.entry.js +0 -6
- package/dist/calcite/p-c1131334.system.entry.js +0 -6
- package/dist/calcite/p-c6995296.system.entry.js +0 -6
- package/dist/calcite/p-c711143b.system.entry.js +0 -6
- package/dist/calcite/p-c9ee2385.entry.js +0 -6
- package/dist/calcite/p-cac75100.system.entry.js +0 -6
- package/dist/calcite/p-cb2a162f.system.entry.js +0 -6
- package/dist/calcite/p-cbe9b8f3.entry.js +0 -6
- package/dist/calcite/p-ce7d3daf.system.entry.js +0 -6
- package/dist/calcite/p-d00a839f.system.entry.js +0 -6
- package/dist/calcite/p-d0f6c70f.system.entry.js +0 -6
- package/dist/calcite/p-d37ad67f.system.entry.js +0 -6
- package/dist/calcite/p-d49fdd77.entry.js +0 -6
- package/dist/calcite/p-d54960f3.system.entry.js +0 -6
- package/dist/calcite/p-e2788410.system.entry.js +0 -6
- package/dist/calcite/p-e2da9506.entry.js +0 -6
- package/dist/calcite/p-e647dac1.system.entry.js +0 -6
- package/dist/calcite/p-ea95a1bc.entry.js +0 -6
- package/dist/calcite/p-ed126b82.system.entry.js +0 -6
- package/dist/calcite/p-ed372fd5.entry.js +0 -6
- package/dist/calcite/p-ee53e973.system.js +0 -6
- package/dist/calcite/p-f1134ced.entry.js +0 -6
- package/dist/calcite/p-f4d89bbe.system.js +0 -6
- package/dist/calcite/p-f80c1436.system.entry.js +0 -6
- package/dist/calcite/p-fb6c3b22.system.entry.js +0 -6
- package/dist/calcite/p-fe273bab.system.entry.js +0 -6
- package/dist/cjs/popper-ec16ae25.js +0 -1876
- package/dist/collection/utils/popper.js +0 -126
- package/dist/components/popper.js +0 -1868
- package/dist/esm/popper-e4716ebb.js +0 -1868
- package/dist/esm-es5/ExpandToggle-d1d9e1ba.js +0 -6
- package/dist/esm-es5/Heading-383fa71b.js +0 -6
- package/dist/esm-es5/index-b91be572.js +0 -7
- package/dist/esm-es5/popper-e4716ebb.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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
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-a3160f12.js';
|
|
7
|
+
import { a as getElementDir } from './dom-d90fe08d.js';
|
|
8
|
+
import { S as SLOTS } from './resources-5b92e29d.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-832f46ae.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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
5
5
|
*/
|
|
6
|
-
import { h } from './index-
|
|
6
|
+
import { h } from './index-a3160f12.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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
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-a3160f12.js';
|
|
7
|
+
import { d as getElementProp, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean } from './dom-d90fe08d.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-c6d33dce.js';
|
|
9
|
+
import './guid-ac825a40.js';
|
|
10
|
+
import './observers-365eaca9.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) {
|
|
@@ -174,17 +193,17 @@ const AccordionItem = class {
|
|
|
174
193
|
this.active = false;
|
|
175
194
|
/** When true, item is expanded */
|
|
176
195
|
this.expanded = false;
|
|
177
|
-
//--------------------------------------------------------------------------
|
|
178
|
-
//
|
|
179
|
-
// Private State/Props
|
|
180
|
-
//
|
|
181
|
-
//--------------------------------------------------------------------------
|
|
182
|
-
this.guid = guid();
|
|
183
196
|
/** what icon position does the parent accordion specify */
|
|
184
197
|
this.iconPosition = "end";
|
|
185
198
|
/** handle clicks on item header */
|
|
186
199
|
this.itemHeaderClickHandler = () => this.emitRequestedItem();
|
|
187
200
|
}
|
|
201
|
+
activeHandler(value) {
|
|
202
|
+
this.expanded = value;
|
|
203
|
+
}
|
|
204
|
+
expandedHandler(value) {
|
|
205
|
+
this.active = value;
|
|
206
|
+
}
|
|
188
207
|
//--------------------------------------------------------------------------
|
|
189
208
|
//
|
|
190
209
|
// Lifecycle
|
|
@@ -195,6 +214,12 @@ const AccordionItem = class {
|
|
|
195
214
|
this.selectionMode = getElementProp(this.el, "selection-mode", "multi");
|
|
196
215
|
this.iconType = getElementProp(this.el, "icon-type", "chevron");
|
|
197
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);
|
|
198
223
|
}
|
|
199
224
|
componentDidLoad() {
|
|
200
225
|
this.itemPosition = this.getItemPosition();
|
|
@@ -203,35 +228,48 @@ const AccordionItem = class {
|
|
|
203
228
|
position: this.itemPosition
|
|
204
229
|
});
|
|
205
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
|
+
}
|
|
206
247
|
render() {
|
|
207
248
|
const dir = getElementDir(this.el);
|
|
208
|
-
const iconEl = h("calcite-icon", { class:
|
|
209
|
-
|
|
210
|
-
const regionId = `${guid}-region`;
|
|
211
|
-
const buttonId = `${guid}-button`;
|
|
212
|
-
return (h(Host, { tabindex: "0" }, h("div", { class: {
|
|
249
|
+
const iconEl = h("calcite-icon", { class: CSS.icon, icon: this.icon, scale: "s" });
|
|
250
|
+
return (h(Host, null, h("div", { class: {
|
|
213
251
|
[`icon-position--${this.iconPosition}`]: true,
|
|
214
252
|
[`icon-type--${this.iconType}`]: true
|
|
215
|
-
} }, h("div", {
|
|
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"
|
|
216
254
|
? "chevronDown"
|
|
217
255
|
: this.iconType === "caret"
|
|
218
256
|
? "caretDown"
|
|
219
257
|
: this.expanded || this.active
|
|
220
258
|
? "minus"
|
|
221
|
-
: "plus", scale: "s" })), h("div", {
|
|
259
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS.content }, h("slot", null)))));
|
|
222
260
|
}
|
|
223
261
|
//--------------------------------------------------------------------------
|
|
224
262
|
//
|
|
225
263
|
// Event Listeners
|
|
226
264
|
//
|
|
227
265
|
//--------------------------------------------------------------------------
|
|
228
|
-
keyDownHandler(
|
|
229
|
-
if (
|
|
230
|
-
switch (
|
|
266
|
+
keyDownHandler(event) {
|
|
267
|
+
if (event.target === this.el) {
|
|
268
|
+
switch (event.key) {
|
|
231
269
|
case " ":
|
|
232
270
|
case "Enter":
|
|
233
271
|
this.emitRequestedItem();
|
|
234
|
-
|
|
272
|
+
event.preventDefault();
|
|
235
273
|
break;
|
|
236
274
|
case "ArrowUp":
|
|
237
275
|
case "ArrowDown":
|
|
@@ -239,9 +277,9 @@ const AccordionItem = class {
|
|
|
239
277
|
case "End":
|
|
240
278
|
this.calciteInternalAccordionItemKeyEvent.emit({
|
|
241
279
|
parent: this.parent,
|
|
242
|
-
item:
|
|
280
|
+
item: event
|
|
243
281
|
});
|
|
244
|
-
|
|
282
|
+
event.preventDefault();
|
|
245
283
|
break;
|
|
246
284
|
}
|
|
247
285
|
}
|
|
@@ -264,16 +302,13 @@ const AccordionItem = class {
|
|
|
264
302
|
switch (this.selectionMode) {
|
|
265
303
|
case "multi":
|
|
266
304
|
if (this.el === this.requestedAccordionItem) {
|
|
267
|
-
this.active = !this.active;
|
|
268
305
|
this.expanded = !this.expanded;
|
|
269
306
|
}
|
|
270
307
|
break;
|
|
271
308
|
case "single":
|
|
272
|
-
this.active = this.el === this.requestedAccordionItem ? !this.active : false;
|
|
273
309
|
this.expanded = this.el === this.requestedAccordionItem ? !this.expanded : false;
|
|
274
310
|
break;
|
|
275
311
|
case "single-persist":
|
|
276
|
-
this.active = this.el === this.requestedAccordionItem;
|
|
277
312
|
this.expanded = this.el === this.requestedAccordionItem;
|
|
278
313
|
break;
|
|
279
314
|
}
|
|
@@ -287,6 +322,10 @@ const AccordionItem = class {
|
|
|
287
322
|
return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"), this.el);
|
|
288
323
|
}
|
|
289
324
|
get el() { return getElement(this); }
|
|
325
|
+
static get watchers() { return {
|
|
326
|
+
"active": ["activeHandler"],
|
|
327
|
+
"expanded": ["expandedHandler"]
|
|
328
|
+
}; }
|
|
290
329
|
};
|
|
291
330
|
AccordionItem.style = accordionItemCss;
|
|
292
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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
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-a3160f12.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-9a766aef.js';
|
|
8
|
+
import { f as focusElement, g as getSlotted } from './dom-d90fe08d.js';
|
|
9
|
+
import { c as createObserver } from './observers-365eaca9.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-c6d33dce.js';
|
|
11
|
+
import { d as debounce } from './debounce-3e0197e5.js';
|
|
12
|
+
import './resources-5b92e29d.js';
|
|
13
|
+
import './resources-832f46ae.js';
|
|
14
|
+
import './guid-ac825a40.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-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
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-a3160f12.js';
|
|
7
|
+
import { S as SLOTS, I as ICONS, T as TEXT } from './resources-832f46ae.js';
|
|
8
|
+
import { g as getSlotted } from './dom-d90fe08d.js';
|
|
9
|
+
import { S as SLOTS$1 } from './resources-5b92e29d.js';
|
|
10
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-c6d33dce.js';
|
|
11
|
+
import './guid-ac825a40.js';
|
|
12
|
+
import './observers-365eaca9.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()));
|