@esri/calcite-components 1.0.0-beta.87 → 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.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-14368daa.entry.js → p-05e6e44e.entry.js} +2 -2
- package/dist/calcite/{p-b7181609.entry.js → p-07dd470c.entry.js} +2 -2
- package/dist/calcite/{p-c6c191a4.system.entry.js → p-08d33cff.system.entry.js} +2 -2
- package/dist/calcite/p-0d787eb2.entry.js +6 -0
- package/dist/calcite/{p-59574854.system.js → p-0d8047a0.system.js} +2 -2
- package/dist/calcite/{p-9e8a8543.entry.js → p-0e005277.entry.js} +2 -2
- package/dist/calcite/{p-fbc834e7.system.entry.js → p-0e02d130.system.entry.js} +2 -2
- package/dist/calcite/{p-1647d422.js → p-0ee2d220.js} +2 -2
- package/dist/calcite/{p-9c216ae7.js → p-0fa03f2b.js} +2 -2
- package/dist/calcite/{p-f935181a.entry.js → p-123213d5.entry.js} +2 -2
- package/dist/calcite/{p-9d161fd1.system.entry.js → p-16eceb49.system.entry.js} +2 -2
- package/dist/calcite/{p-eb133e45.entry.js → p-187f9893.entry.js} +2 -2
- package/dist/calcite/{p-fb5b969f.system.entry.js → p-19403345.system.entry.js} +2 -2
- package/dist/calcite/{p-70df22f8.system.entry.js → p-1a31febb.system.entry.js} +2 -2
- package/dist/calcite/{p-2d6b5124.system.entry.js → p-1af1f3c4.system.entry.js} +2 -2
- package/dist/calcite/{p-db98f211.system.entry.js → p-1b89f988.system.entry.js} +3 -3
- package/dist/calcite/p-1c7df5d0.entry.js +6 -0
- package/dist/calcite/{p-5e5bb0fe.js → p-1f4f5c19.js} +2 -2
- package/dist/calcite/{p-bd8dabb4.system.entry.js → p-20c0dc2d.system.entry.js} +2 -2
- package/dist/calcite/{p-29610c9f.entry.js → p-21c25c2d.entry.js} +2 -2
- package/dist/calcite/{p-0b966e54.entry.js → p-2234a2fa.entry.js} +2 -2
- package/dist/calcite/{p-a64c38ea.system.entry.js → p-27859709.system.entry.js} +2 -2
- package/dist/calcite/{p-d913deb7.system.entry.js → p-2a0b7910.system.entry.js} +2 -2
- package/dist/calcite/{p-f7481a5b.system.entry.js → p-2a743b41.system.entry.js} +2 -2
- package/dist/calcite/{p-f200ceb7.system.entry.js → p-2dee422c.system.entry.js} +2 -2
- package/dist/calcite/{p-271b3555.system.entry.js → p-328830de.system.entry.js} +2 -2
- package/dist/calcite/{p-e0ab7e38.entry.js → p-32b753c4.entry.js} +2 -2
- package/dist/calcite/{p-88633a5f.system.entry.js → p-33845d5b.system.entry.js} +2 -2
- package/dist/calcite/{p-d9b2646c.system.entry.js → p-33ee66c9.system.entry.js} +2 -2
- package/dist/calcite/{p-8270f683.system.js → p-35b01278.system.js} +3 -3
- package/dist/calcite/{p-db7068cb.js → p-37711534.js} +1 -1
- package/dist/calcite/{p-5b1c8598.system.entry.js → p-3789d49d.system.entry.js} +2 -2
- package/dist/calcite/{p-fcb2ff51.js → p-38d46205.js} +1 -1
- package/dist/calcite/p-3b9eeea0.system.js +6 -0
- package/dist/calcite/{p-90bb8af7.system.entry.js → p-3d9d8cc2.system.entry.js} +2 -2
- package/dist/calcite/{p-204cda47.entry.js → p-3ef08257.entry.js} +2 -2
- package/dist/calcite/{p-cd41f4a3.entry.js → p-404c5ccb.entry.js} +2 -2
- package/dist/calcite/{p-95e23b85.entry.js → p-437d9469.entry.js} +2 -2
- package/dist/calcite/{p-149f567e.entry.js → p-438e073a.entry.js} +2 -2
- package/dist/calcite/{p-e0f3d151.entry.js → p-45157ebd.entry.js} +2 -2
- package/dist/calcite/{p-151ef522.system.js → p-47e17bfe.system.js} +1 -1
- package/dist/calcite/{p-57b6f7fb.system.entry.js → p-480110aa.system.entry.js} +3 -3
- package/dist/calcite/{p-84f563f6.js → p-49228240.js} +1 -1
- package/dist/calcite/{p-c44fe786.js → p-499e3e8e.js} +1 -1
- package/dist/calcite/{p-53a423d9.system.entry.js → p-4b7bc432.system.entry.js} +2 -2
- package/dist/calcite/{p-23a52c67.entry.js → p-4b7d8730.entry.js} +2 -2
- package/dist/calcite/{p-00b8ff95.system.entry.js → p-4bc6cf58.system.entry.js} +2 -2
- package/dist/calcite/{p-a2fb1d9c.system.js → p-4cc55c6b.system.js} +1 -1
- package/dist/calcite/{p-24daa1f0.entry.js → p-4d6c3948.entry.js} +2 -2
- package/dist/calcite/{p-c8a4f49a.entry.js → p-4ff43ccd.entry.js} +2 -2
- package/dist/calcite/{p-b330e520.system.entry.js → p-56f528e7.system.entry.js} +2 -2
- package/dist/calcite/{p-2ed8b011.system.js → p-576c6d90.system.js} +1 -1
- package/dist/calcite/{p-a7798679.entry.js → p-580abf04.entry.js} +2 -2
- package/dist/calcite/{p-6d315566.system.entry.js → p-59f13078.system.entry.js} +2 -2
- package/dist/calcite/{p-abb072bc.js → p-5b999a6c.js} +1 -1
- package/dist/calcite/{p-635720f4.system.js → p-5bcb3550.system.js} +2 -2
- package/dist/calcite/{p-b451a135.entry.js → p-5bf1d9dd.entry.js} +2 -2
- package/dist/calcite/{p-3b28ce55.system.entry.js → p-5c848d3b.system.entry.js} +2 -2
- package/dist/calcite/{p-add9d199.system.entry.js → p-5d4ed662.system.entry.js} +2 -2
- package/dist/calcite/{p-938ee739.system.entry.js → p-60ed92d7.system.entry.js} +2 -2
- package/dist/calcite/{p-9a7290b9.system.entry.js → p-61d0aee5.system.entry.js} +2 -2
- package/dist/calcite/{p-f1e819d0.js → p-63f9e247.js} +2 -2
- package/dist/calcite/{p-95d58e86.system.entry.js → p-668c6c3f.system.entry.js} +2 -2
- package/dist/calcite/{p-8c18de14.system.entry.js → p-693b6420.system.entry.js} +3 -3
- package/dist/calcite/{p-031fe642.system.js → p-6c6dcd8d.system.js} +1 -1
- package/dist/calcite/{p-27db08bc.entry.js → p-72a89fd7.entry.js} +2 -2
- package/dist/calcite/{p-e2087090.js → p-72b4a0ba.js} +2 -2
- package/dist/calcite/{p-8a4187a1.system.entry.js → p-733efb75.system.entry.js} +2 -2
- package/dist/calcite/{p-b9a92e2a.system.entry.js → p-748fa3dd.system.entry.js} +3 -3
- package/dist/calcite/{p-fe2ddf18.system.entry.js → p-74b61b36.system.entry.js} +2 -2
- package/dist/calcite/{p-8666e681.system.entry.js → p-754f723b.system.entry.js} +3 -3
- package/dist/calcite/{p-584cb04b.system.js → p-7792e0a6.system.js} +1 -1
- package/dist/calcite/{p-4db1c603.system.entry.js → p-78dc480f.system.entry.js} +2 -2
- package/dist/calcite/{p-996d8919.entry.js → p-7b4c1ad2.entry.js} +2 -2
- package/dist/calcite/{p-3c9f7afb.entry.js → p-7bf92781.entry.js} +2 -2
- package/dist/calcite/{p-34ff2c2f.system.js → p-7c185bac.system.js} +1 -1
- package/dist/calcite/{p-efd107ed.entry.js → p-7c8e376b.entry.js} +2 -2
- package/dist/calcite/{p-1087f996.system.js → p-7def66ec.system.js} +1 -1
- package/dist/calcite/{p-49d40985.system.entry.js → p-7e9cc96c.system.entry.js} +2 -2
- package/dist/calcite/p-83666d45.js +6 -0
- package/dist/calcite/p-8434e35e.system.js +6 -0
- package/dist/calcite/{p-d0043d6d.system.js → p-84382537.system.js} +1 -1
- package/dist/calcite/{p-f5ef4bdb.system.js → p-864d818a.system.js} +2 -2
- package/dist/calcite/{p-09d4e789.system.js → p-86c1da3b.system.js} +1 -1
- package/dist/calcite/{p-62e5d329.entry.js → p-8a72d959.entry.js} +2 -2
- package/dist/calcite/{p-98f5945a.system.js → p-8f1ef9e3.system.js} +2 -2
- package/dist/calcite/{p-4a0d41e4.js → p-904f11d1.js} +1 -1
- package/dist/calcite/{p-292b7dab.js → p-912b88e8.js} +1 -1
- package/dist/calcite/{p-878cfb6b.entry.js → p-96941e56.entry.js} +2 -2
- package/dist/calcite/{p-76d5c5ab.entry.js → p-9cdc7258.entry.js} +2 -2
- package/dist/calcite/p-9eadec21.system.entry.js +6 -0
- package/dist/calcite/{p-3fc47895.entry.js → p-9f224e5a.entry.js} +2 -2
- package/dist/calcite/{p-61653e5f.entry.js → p-a019237b.entry.js} +2 -2
- package/dist/calcite/{p-3a1beee3.system.js → p-a0fed957.system.js} +2 -2
- package/dist/calcite/{p-3b02f6a7.entry.js → p-a105b7a9.entry.js} +2 -2
- package/dist/calcite/{p-26803235.entry.js → p-a1aa7ee6.entry.js} +2 -2
- package/dist/calcite/{p-389bfb3f.js → p-a32cac6b.js} +2 -2
- package/dist/calcite/{p-dfce3d62.system.entry.js → p-a3789d06.system.entry.js} +2 -2
- package/dist/calcite/{p-017caeef.entry.js → p-a4d9aa0a.entry.js} +2 -2
- package/dist/calcite/{p-01225516.entry.js → p-a4ea532b.entry.js} +2 -2
- package/dist/calcite/{p-e85df792.system.entry.js → p-a540ae2e.system.entry.js} +2 -2
- package/dist/calcite/p-a5684301.entry.js +6 -0
- package/dist/calcite/{p-afd70310.js → p-a60d4cb7.js} +1 -1
- package/dist/calcite/p-a8b2237b.js +6 -0
- package/dist/calcite/{p-dca64758.system.entry.js → p-aa416cb5.system.entry.js} +2 -2
- package/dist/calcite/{p-27dd1893.entry.js → p-aa8fc73f.entry.js} +2 -2
- package/dist/calcite/{p-87b06a4a.js → p-abd4e5a8.js} +1 -1
- package/dist/calcite/{p-c11c8810.system.entry.js → p-ac8db979.system.entry.js} +2 -2
- package/dist/calcite/{p-325c25e7.entry.js → p-adab454f.entry.js} +2 -2
- package/dist/calcite/{p-58c76aff.entry.js → p-adeecd96.entry.js} +2 -2
- package/dist/calcite/{p-25116f74.system.entry.js → p-ae90837b.system.entry.js} +2 -2
- package/dist/calcite/{p-9ac11a5a.system.entry.js → p-afa91b41.system.entry.js} +2 -2
- package/dist/calcite/{p-89151794.system.entry.js → p-b05e7ca1.system.entry.js} +2 -2
- package/dist/calcite/{p-20bd3399.system.entry.js → p-b0aeacc3.system.entry.js} +2 -2
- package/dist/calcite/{p-fc45579a.entry.js → p-b1c5f13a.entry.js} +2 -2
- package/dist/calcite/{p-f934284b.system.entry.js → p-b2dd4d80.system.entry.js} +2 -2
- package/dist/calcite/{p-d91d56df.entry.js → p-b4195586.entry.js} +2 -2
- package/dist/calcite/{p-489e9825.system.entry.js → p-b496305b.system.entry.js} +3 -3
- package/dist/calcite/{p-ed90ef39.entry.js → p-b52a5633.entry.js} +2 -2
- package/dist/calcite/p-b850c351.entry.js +6 -0
- package/dist/calcite/{p-fe8a9479.system.js → p-b87c3776.system.js} +2 -2
- package/dist/calcite/{p-1534218b.system.js → p-bbab7f59.system.js} +1 -1
- package/dist/calcite/{p-f4b01f6e.js → p-bbe16621.js} +1 -1
- package/dist/calcite/{p-a65a2b93.system.js → p-bc258f16.system.js} +1 -1
- package/dist/calcite/{p-0d4fb8ca.entry.js → p-bf548bd9.entry.js} +2 -2
- package/dist/calcite/{p-288354f0.system.js → p-c093135e.system.js} +2 -2
- package/dist/calcite/{p-c8e7775c.system.entry.js → p-c117dcf5.system.entry.js} +2 -2
- package/dist/calcite/{p-6ab55ea8.entry.js → p-c1b32a3d.entry.js} +2 -2
- package/dist/calcite/{p-39c28eb7.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-8fed02c7.js → p-c6f1b820.js} +1 -1
- package/dist/calcite/{p-fc321a74.system.entry.js → p-c74e6ff5.system.entry.js} +2 -2
- package/dist/calcite/{p-6b815a3f.system.js → p-c8c7e371.system.js} +2 -2
- package/dist/calcite/{p-cf2ff728.system.entry.js → p-c9df277f.system.entry.js} +2 -2
- package/dist/calcite/{p-9416a65c.entry.js → p-ca63fb4e.entry.js} +2 -2
- package/dist/calcite/{p-afaa2b92.entry.js → p-ccd64eb0.entry.js} +2 -2
- package/dist/calcite/{p-5544e264.entry.js → p-ccdbf308.entry.js} +2 -2
- package/dist/calcite/{p-d9cf3438.system.entry.js → p-cd0cfb2f.system.entry.js} +2 -2
- package/dist/calcite/{p-70f9bfcf.system.entry.js → p-ce8b973f.system.entry.js} +2 -2
- package/dist/calcite/{p-fb374b42.entry.js → p-d270b62c.entry.js} +2 -2
- package/dist/calcite/{p-e8b42645.js → p-d281f769.js} +1 -1
- package/dist/calcite/{p-deefbe33.system.js → p-d2ab4bdc.system.js} +1 -1
- package/dist/calcite/{p-61379359.js → p-d3040412.js} +2 -2
- package/dist/calcite/{p-42a122ab.entry.js → p-d38ba3ff.entry.js} +2 -2
- package/dist/calcite/{p-be70e32c.entry.js → p-d5f69973.entry.js} +2 -2
- package/dist/calcite/{p-b4ed3310.system.entry.js → p-d6831fe3.system.entry.js} +2 -2
- package/dist/calcite/{p-1774ae47.js → p-d741852a.js} +2 -2
- package/dist/calcite/{p-99834ee5.system.js → p-d941f3d7.system.js} +1 -1
- package/dist/calcite/p-e0541094.system.entry.js +6 -0
- package/dist/calcite/{p-a6c2e6e3.entry.js → p-e22b4af5.entry.js} +2 -2
- package/dist/calcite/{p-9a6b21d8.entry.js → p-e7ed03fe.entry.js} +2 -2
- package/dist/calcite/p-e828a3b7.system.entry.js +6 -0
- package/dist/calcite/{p-140247a4.entry.js → p-ea2143ca.entry.js} +2 -2
- package/dist/calcite/{p-b65a82b9.system.js → p-ec28cc42.system.js} +1 -1
- package/dist/calcite/{p-221e3f32.system.entry.js → p-f5da0db4.system.entry.js} +2 -2
- package/dist/calcite/{p-c49a8303.system.entry.js → p-f5fddea4.system.entry.js} +2 -2
- package/dist/calcite/{p-d522d0d3.entry.js → p-f668746f.entry.js} +2 -2
- package/dist/calcite/{p-0296d6e5.js → p-f6f30d24.js} +2 -2
- package/dist/calcite/{p-ad9ce24b.system.entry.js → p-f810e95d.system.entry.js} +2 -2
- package/dist/calcite/{p-18679417.js → p-f89e6de1.js} +1 -1
- package/dist/calcite/{p-80362407.entry.js → p-f9b4f2b0.entry.js} +2 -2
- package/dist/calcite/{p-874248a5.entry.js → p-fba03004.entry.js} +2 -2
- package/dist/calcite/{p-c82c15ee.system.entry.js → p-fbde199c.system.entry.js} +2 -2
- package/dist/calcite/{p-12f67a05.entry.js → p-fc0b8a95.entry.js} +2 -2
- package/dist/calcite/{p-3daaf28f.system.entry.js → p-fccd5648.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-34dbe39b.js → ExpandToggle-603be21c.js} +21 -10
- package/dist/cjs/{Heading-12d798ce.js → Heading-e26750e9.js} +2 -2
- package/dist/cjs/{array-e582a132.js → array-181cd592.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +29 -21
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +37 -36
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-352bec3d.js → conditionalSlot-02fc5606.js} +3 -3
- package/dist/cjs/{debounce-6cd1535e.js → debounce-e4dd028c.js} +1 -1
- package/dist/cjs/{dom-ed822c13.js → dom-e0f73c63.js} +2 -2
- package/dist/cjs/{floating-ui-ddaf1746.js → floating-ui-7f8ad32d.js} +2 -2
- package/dist/cjs/{forIn-9c2acd4a.js → forIn-36af86fa.js} +2 -2
- package/dist/cjs/{form-e3be7149.js → form-59d6059f.js} +3 -3
- package/dist/cjs/{guid-c86839da.js → guid-955076f7.js} +1 -1
- package/dist/cjs/{index-33f65b26.js → index-305cfbf8.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a3821d41.js → interactive-300a5a8c.js} +1 -1
- package/dist/cjs/{interfaces-0d6f4796.js → interfaces-f4ba9171.js} +1 -1
- package/dist/cjs/{key-a2e96b2d.js → key-47458bff.js} +1 -1
- package/dist/cjs/{label-bd9a47bd.js → label-71cc342a.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-48e984a4.js → locale-197adffa.js} +2 -2
- package/dist/cjs/{math-b4d12de8.js → math-0d3c02ac.js} +1 -1
- package/dist/cjs/{observers-11defbec.js → observers-338f5a0e.js} +1 -1
- package/dist/cjs/{resources-1388772a.js → resources-375506a4.js} +1 -1
- package/dist/cjs/{resources-826e04f0.js → resources-377246d0.js} +3 -3
- package/dist/cjs/{resources-ca50aa50.js → resources-3aa3e75b.js} +5 -5
- package/dist/cjs/{resources-0b605ada.js → resources-e62b43d8.js} +1 -1
- package/dist/cjs/{sortable.esm-67fdfa55.js → sortable.esm-cd2f8082.js} +1 -1
- package/dist/cjs/{utils-1a470335.js → utils-5f59cc7c.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +31 -5
- package/dist/collection/components/action-bar/action-bar.js +46 -12
- 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.js +3 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +11 -7
- package/dist/collection/components/action-pad/action-pad.js +3 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +34 -32
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +2 -2
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/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 +1 -1
- package/dist/components/ExpandToggle.js +17 -7
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +22 -13
- 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 +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +31 -29
- package/dist/components/filter.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +71 -52
- package/dist/esm/{ExpandToggle-8ad8aac0.js → ExpandToggle-9a766aef.js} +21 -11
- package/dist/esm/{Heading-4d9f4f89.js → Heading-1d8ac13b.js} +2 -2
- package/dist/esm/{array-c38e9698.js → array-01c0fc97.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +29 -21
- package/dist/esm/calcite-action-group.entry.js +10 -10
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +12 -12
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +37 -36
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-e49df07c.js → conditionalSlot-c6d33dce.js} +3 -3
- package/dist/esm/{debounce-76a1065a.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm/{dom-19ab3d2f.js → dom-d90fe08d.js} +2 -2
- package/dist/esm/{floating-ui-4afc064e.js → floating-ui-46c5b613.js} +2 -2
- package/dist/esm/{forIn-1c3a0d8e.js → forIn-47801022.js} +2 -2
- package/dist/esm/{form-ecbc6fec.js → form-3b0e9050.js} +3 -3
- package/dist/esm/{guid-ba74e5d4.js → guid-ac825a40.js} +1 -1
- package/dist/esm/{index-5048a317.js → index-a3160f12.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-71744e3e.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm/{interfaces-e771f6c8.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm/{key-af81a004.js → key-95b5c356.js} +1 -1
- package/dist/esm/{label-dfcfa9e0.js → label-78d76445.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-ab6b5afc.js → locale-855e3c53.js} +2 -2
- package/dist/esm/{math-a5e24a73.js → math-4579adc8.js} +1 -1
- package/dist/esm/{observers-61a2bb4f.js → observers-365eaca9.js} +1 -1
- package/dist/esm/{resources-c995bb5e.js → resources-4b4a5920.js} +3 -3
- package/dist/esm/{resources-9348154b.js → resources-5b92e29d.js} +1 -1
- package/dist/esm/{resources-e1d5ca1c.js → resources-832f46ae.js} +1 -1
- package/dist/esm/{resources-566ead7b.js → resources-994e0a78.js} +5 -5
- package/dist/esm/{sortable.esm-d0f38173.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm/{utils-531de8fa.js → utils-21e6f8f9.js} +1 -1
- package/dist/esm-es5/ExpandToggle-9a766aef.js +6 -0
- package/dist/esm-es5/{Heading-4d9f4f89.js → Heading-1d8ac13b.js} +2 -2
- package/dist/esm-es5/{array-c38e9698.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 +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-e49df07c.js → conditionalSlot-c6d33dce.js} +2 -2
- package/dist/esm-es5/{debounce-76a1065a.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm-es5/{dom-19ab3d2f.js → dom-d90fe08d.js} +2 -2
- package/dist/esm-es5/{floating-ui-4afc064e.js → floating-ui-46c5b613.js} +2 -2
- package/dist/esm-es5/{forIn-1c3a0d8e.js → forIn-47801022.js} +2 -2
- package/dist/esm-es5/{form-ecbc6fec.js → form-3b0e9050.js} +2 -2
- package/dist/esm-es5/{guid-ba74e5d4.js → guid-ac825a40.js} +1 -1
- package/dist/esm-es5/{index-5048a317.js → index-a3160f12.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-71744e3e.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm-es5/{interfaces-e771f6c8.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm-es5/{key-af81a004.js → key-95b5c356.js} +1 -1
- package/dist/esm-es5/{label-dfcfa9e0.js → label-78d76445.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-ab6b5afc.js → locale-855e3c53.js} +2 -2
- package/dist/esm-es5/{math-a5e24a73.js → math-4579adc8.js} +1 -1
- package/dist/esm-es5/{observers-61a2bb4f.js → observers-365eaca9.js} +1 -1
- package/dist/esm-es5/{resources-c995bb5e.js → resources-4b4a5920.js} +2 -2
- package/dist/esm-es5/{resources-9348154b.js → resources-5b92e29d.js} +1 -1
- package/dist/esm-es5/{resources-e1d5ca1c.js → resources-832f46ae.js} +1 -1
- package/dist/esm-es5/{resources-566ead7b.js → resources-994e0a78.js} +2 -2
- package/dist/esm-es5/{sortable.esm-d0f38173.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm-es5/{utils-531de8fa.js → utils-21e6f8f9.js} +1 -1
- package/dist/extras/docs-json.json +37 -3
- 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/action-bar/action-bar.d.ts +9 -2
- package/dist/types/components/action-bar/utils.d.ts +9 -1
- package/dist/types/components/dropdown/dropdown.d.ts +3 -2
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +72 -52
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-1d97eff4.entry.js +0 -6
- package/dist/calcite/p-23f02457.system.js +0 -6
- package/dist/calcite/p-2a7e2957.system.js +0 -6
- package/dist/calcite/p-2b1db9be.js +0 -6
- package/dist/calcite/p-50513c03.entry.js +0 -6
- package/dist/calcite/p-516a5c68.system.entry.js +0 -6
- package/dist/calcite/p-9267c232.system.entry.js +0 -6
- package/dist/calcite/p-9ac7eaf9.entry.js +0 -6
- package/dist/calcite/p-b2fd8207.system.js +0 -6
- package/dist/calcite/p-ced28d9d.system.entry.js +0 -6
- package/dist/calcite/p-e64aaaff.entry.js +0 -6
- package/dist/calcite/p-eb357ea6.entry.js +0 -6
- package/dist/calcite/p-ec6c73c0.js +0 -6
- package/dist/esm-es5/ExpandToggle-8ad8aac0.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -782,12 +782,22 @@ const ICONS$e = {
|
|
|
782
782
|
};
|
|
783
783
|
|
|
784
784
|
const overflowActionsDebounceInMs = 150;
|
|
785
|
-
const
|
|
786
|
-
const
|
|
787
|
-
|
|
785
|
+
const groupBufferPx = 2;
|
|
786
|
+
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
787
|
+
const geActionDimensions = (actions) => {
|
|
788
|
+
const actionLen = actions === null || actions === void 0 ? void 0 : actions.length;
|
|
789
|
+
return {
|
|
790
|
+
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
791
|
+
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount }) => {
|
|
795
|
+
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
796
|
+
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
797
|
+
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
788
798
|
};
|
|
789
|
-
const getOverflowCount = ({ actionCount, actionHeight, height, groupCount }) => {
|
|
790
|
-
return Math.max(actionCount - getMaxActionCount({ height, actionHeight, groupCount }), 0);
|
|
799
|
+
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount }) => {
|
|
800
|
+
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
791
801
|
};
|
|
792
802
|
const queryActions = (el) => {
|
|
793
803
|
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$q.trigger : true);
|
|
@@ -2135,7 +2145,7 @@ function throttle$1(func, wait, options) {
|
|
|
2135
2145
|
});
|
|
2136
2146
|
}
|
|
2137
2147
|
|
|
2138
|
-
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-direction:column;flex-direction:column
|
|
2148
|
+
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}";
|
|
2139
2149
|
|
|
2140
2150
|
const ActionBar = class extends HTMLElement$1 {
|
|
2141
2151
|
constructor() {
|
|
@@ -2156,6 +2166,10 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2156
2166
|
* When true, the component is expanded.
|
|
2157
2167
|
*/
|
|
2158
2168
|
this.expanded = false;
|
|
2169
|
+
/**
|
|
2170
|
+
* The layout direction of the actions.
|
|
2171
|
+
*/
|
|
2172
|
+
this.layout = "vertical";
|
|
2159
2173
|
/**
|
|
2160
2174
|
* Disables automatically overflowing `calcite-action`s that won't fit into menus.
|
|
2161
2175
|
*/
|
|
@@ -2185,13 +2199,12 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2185
2199
|
entries.forEach(this.resizeHandler);
|
|
2186
2200
|
};
|
|
2187
2201
|
this.resizeHandler = (entry) => {
|
|
2188
|
-
const { height } = entry.contentRect;
|
|
2189
|
-
this.resize(height);
|
|
2202
|
+
const { width, height } = entry.contentRect;
|
|
2203
|
+
this.resize({ width, height });
|
|
2190
2204
|
};
|
|
2191
|
-
this.resize = debounce((height) => {
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
if (!height) {
|
|
2205
|
+
this.resize = debounce(({ width, height }) => {
|
|
2206
|
+
const { el, expanded, expandDisabled, layout } = this;
|
|
2207
|
+
if ((layout === "vertical" && !height) || (layout === "horizontal" && !width)) {
|
|
2195
2208
|
return;
|
|
2196
2209
|
}
|
|
2197
2210
|
const actions = queryActions(el);
|
|
@@ -2200,10 +2213,14 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2200
2213
|
const groupCount = getSlotted(el, SLOTS$o.bottomActions) || !expandDisabled
|
|
2201
2214
|
? actionGroups.length + 1
|
|
2202
2215
|
: actionGroups.length;
|
|
2216
|
+
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
2203
2217
|
const overflowCount = getOverflowCount({
|
|
2218
|
+
layout,
|
|
2204
2219
|
actionCount,
|
|
2205
|
-
actionHeight
|
|
2220
|
+
actionHeight,
|
|
2221
|
+
actionWidth,
|
|
2206
2222
|
height,
|
|
2223
|
+
width,
|
|
2207
2224
|
groupCount
|
|
2208
2225
|
});
|
|
2209
2226
|
overflowActions({
|
|
@@ -2230,6 +2247,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2230
2247
|
}
|
|
2231
2248
|
expandedHandler(expanded) {
|
|
2232
2249
|
toggleChildActionText({ parent: this.el, expanded });
|
|
2250
|
+
this.conditionallyOverflowActions();
|
|
2233
2251
|
}
|
|
2234
2252
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
2235
2253
|
overflowActionsDisabled
|
|
@@ -2272,7 +2290,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2272
2290
|
* @internal
|
|
2273
2291
|
*/
|
|
2274
2292
|
async overflowActions() {
|
|
2275
|
-
this.resize(this.el.clientHeight);
|
|
2293
|
+
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
|
2276
2294
|
}
|
|
2277
2295
|
/**
|
|
2278
2296
|
* Sets focus on the component.
|
|
@@ -2293,12 +2311,12 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2293
2311
|
//
|
|
2294
2312
|
// --------------------------------------------------------------------------
|
|
2295
2313
|
renderBottomActionGroup() {
|
|
2296
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2314
|
+
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
2297
2315
|
const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
|
|
2298
2316
|
const expandLabel = intlExpand || TEXT$q.expand;
|
|
2299
2317
|
const collapseLabel = intlCollapse || TEXT$q.collapse;
|
|
2300
2318
|
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;
|
|
2301
|
-
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$O.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$o.bottomActions }), h("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
2319
|
+
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$O.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$o.bottomActions }), h("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
2302
2320
|
}
|
|
2303
2321
|
render() {
|
|
2304
2322
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
|
@@ -2370,9 +2388,9 @@ const ActionGroup = class extends HTMLElement$1 {
|
|
|
2370
2388
|
return hasTooltip ? h("slot", { name: SLOTS$p.menuTooltip, slot: SLOTS$q.tooltip }) : null;
|
|
2371
2389
|
}
|
|
2372
2390
|
renderMenu() {
|
|
2373
|
-
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
2391
|
+
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
2374
2392
|
const hasMenuItems = getSlotted(el, SLOTS$p.menuActions);
|
|
2375
|
-
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), h("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
|
|
2393
|
+
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), h("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
|
|
2376
2394
|
}
|
|
2377
2395
|
render() {
|
|
2378
2396
|
return (h(Fragment, null, h("slot", null), this.renderMenu()));
|
|
@@ -2665,7 +2683,7 @@ const SLOTS$n = {
|
|
|
2665
2683
|
expandTooltip: "expand-tooltip"
|
|
2666
2684
|
};
|
|
2667
2685
|
|
|
2668
|
-
const actionPadCss = "@-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:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem}:host([expanded]){max-inline-size:
|
|
2686
|
+
const actionPadCss = "@-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:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-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);padding-block:0px}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.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}:host([layout=horizontal]) .container{-ms-flex-direction:row;flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";
|
|
2669
2687
|
|
|
2670
2688
|
const ActionPad = class extends HTMLElement$1 {
|
|
2671
2689
|
constructor() {
|
|
@@ -2755,12 +2773,12 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2755
2773
|
//
|
|
2756
2774
|
// --------------------------------------------------------------------------
|
|
2757
2775
|
renderBottomActionGroup() {
|
|
2758
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2776
|
+
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
2759
2777
|
const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
|
|
2760
2778
|
const expandLabel = intlExpand || TEXT$p.expand;
|
|
2761
2779
|
const collapseLabel = intlCollapse || TEXT$p.collapse;
|
|
2762
2780
|
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;
|
|
2763
|
-
return expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
2781
|
+
return expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
2764
2782
|
}
|
|
2765
2783
|
render() {
|
|
2766
2784
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$N.container }, h("slot", null), this.renderBottomActionGroup())));
|
|
@@ -11863,15 +11881,22 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11863
11881
|
/** specify whether the dropdown is opened by hover or click of a trigger element */
|
|
11864
11882
|
this.type = "click";
|
|
11865
11883
|
this.items = [];
|
|
11866
|
-
this.groups = [];
|
|
11867
11884
|
this.activeTransitionProp = "visibility";
|
|
11868
11885
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
11869
11886
|
this.resizeObserver = createObserver("resize", (entries) => this.resizeObserverCallback(entries));
|
|
11887
|
+
this.guid = `calcite-dropdown-${guid()}`;
|
|
11888
|
+
this.defaultAssignedElements = [];
|
|
11870
11889
|
//--------------------------------------------------------------------------
|
|
11871
11890
|
//
|
|
11872
11891
|
// Private Methods
|
|
11873
11892
|
//
|
|
11874
11893
|
//--------------------------------------------------------------------------
|
|
11894
|
+
this.slotChangeHandler = (event) => {
|
|
11895
|
+
this.defaultAssignedElements = event.target.assignedElements({
|
|
11896
|
+
flatten: true
|
|
11897
|
+
});
|
|
11898
|
+
this.updateItems();
|
|
11899
|
+
};
|
|
11875
11900
|
this.setFilteredPlacements = () => {
|
|
11876
11901
|
const { el, flipPlacements } = this;
|
|
11877
11902
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -11885,19 +11910,15 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11885
11910
|
this.reposition();
|
|
11886
11911
|
};
|
|
11887
11912
|
this.updateItems = () => {
|
|
11888
|
-
|
|
11889
|
-
|
|
11913
|
+
const { defaultAssignedElements } = this;
|
|
11914
|
+
this.items = defaultAssignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group, calcite-dropdown-item"))
|
|
11915
|
+
.map((el) => el.matches("calcite-dropdown-group")
|
|
11916
|
+
? Array.from(el.querySelectorAll("calcite-dropdown-item"))
|
|
11917
|
+
: [el])
|
|
11890
11918
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
11891
11919
|
this.updateSelectedItems();
|
|
11892
11920
|
this.reposition();
|
|
11893
11921
|
};
|
|
11894
|
-
this.updateGroups = (event) => {
|
|
11895
|
-
const groups = event.target
|
|
11896
|
-
.assignedElements({ flatten: true })
|
|
11897
|
-
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
|
|
11898
|
-
this.groups = groups;
|
|
11899
|
-
this.updateItems();
|
|
11900
|
-
};
|
|
11901
11922
|
this.resizeObserverCallback = (entries) => {
|
|
11902
11923
|
entries.forEach((entry) => {
|
|
11903
11924
|
const { target } = entry;
|
|
@@ -12038,12 +12059,12 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12038
12059
|
(_c = this.scrollerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
12039
12060
|
}
|
|
12040
12061
|
render() {
|
|
12041
|
-
const { active, open } = this;
|
|
12042
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "
|
|
12062
|
+
const { active, open, guid } = this;
|
|
12063
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "menu", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, h("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
12043
12064
|
["calcite-dropdown-content"]: true,
|
|
12044
12065
|
[FloatingCSS.animation]: true,
|
|
12045
12066
|
[FloatingCSS.animationActive]: active || open
|
|
12046
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.
|
|
12067
|
+
}, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.slotChangeHandler }))))));
|
|
12047
12068
|
}
|
|
12048
12069
|
//--------------------------------------------------------------------------
|
|
12049
12070
|
//
|
|
@@ -12156,22 +12177,20 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12156
12177
|
let itemsToProcess = 0;
|
|
12157
12178
|
let maxScrollerHeight = 0;
|
|
12158
12179
|
let groupHeaderHeight;
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
if (
|
|
12163
|
-
|
|
12164
|
-
groupHeaderHeight = item.offsetTop;
|
|
12165
|
-
}
|
|
12166
|
-
maxScrollerHeight += groupHeaderHeight;
|
|
12167
|
-
}
|
|
12168
|
-
if (itemsToProcess < maxItems) {
|
|
12169
|
-
maxScrollerHeight += item.offsetHeight;
|
|
12170
|
-
itemsToProcess += 1;
|
|
12180
|
+
if (maxItems > 0 && itemsToProcess < maxItems) {
|
|
12181
|
+
this.items.forEach((item) => {
|
|
12182
|
+
if (item.matches("calcite-dropdown-group calcite-dropdown-item:first-child")) {
|
|
12183
|
+
if (isNaN(groupHeaderHeight)) {
|
|
12184
|
+
groupHeaderHeight = item.offsetTop;
|
|
12171
12185
|
}
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12186
|
+
maxScrollerHeight += groupHeaderHeight;
|
|
12187
|
+
}
|
|
12188
|
+
if (itemsToProcess < maxItems) {
|
|
12189
|
+
maxScrollerHeight += item.offsetHeight;
|
|
12190
|
+
itemsToProcess += 1;
|
|
12191
|
+
}
|
|
12192
|
+
});
|
|
12193
|
+
}
|
|
12175
12194
|
return maxScrollerHeight;
|
|
12176
12195
|
}
|
|
12177
12196
|
closeCalciteDropdown(focusTrigger = true) {
|
|
@@ -12256,7 +12275,7 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12256
12275
|
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
12257
12276
|
const groupTitle = this.groupTitle ? (h("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
12258
12277
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
12259
|
-
return (h(Host, { role: "
|
|
12278
|
+
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
|
12260
12279
|
container: true,
|
|
12261
12280
|
[CSS$C.containerSmall]: scale === "s",
|
|
12262
12281
|
[CSS$C.containerMedium]: scale === "m",
|
|
@@ -27522,7 +27541,7 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
27522
27541
|
const CalciteAccordion = /*@__PURE__*/proxyCustomElement(Accordion, [1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemKeyEvent","calciteInternalAccordionItemKeyEvent"],[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]);
|
|
27523
27542
|
const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"expanded":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
|
|
27524
27543
|
const CalciteAction = /*@__PURE__*/proxyCustomElement(Action, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
27525
|
-
const CalciteActionBar = /*@__PURE__*/proxyCustomElement(ActionBar, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
|
|
27544
|
+
const CalciteActionBar = /*@__PURE__*/proxyCustomElement(ActionBar, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"layout":[513],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
|
|
27526
27545
|
const CalciteActionGroup = /*@__PURE__*/proxyCustomElement(ActionGroup, [1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]);
|
|
27527
27546
|
const CalciteActionMenu = /*@__PURE__*/proxyCustomElement(ActionMenu, [1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32]},[[8,"click","closeCalciteActionMenuOnClick"]]]);
|
|
27528
27547
|
const CalciteActionPad = /*@__PURE__*/proxyCustomElement(ActionPad, [1,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"position":[513],"scale":[513]}]);
|
|
@@ -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,13 @@
|
|
|
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, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './observers-
|
|
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';
|
|
11
11
|
|
|
12
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)}";
|
|
13
13
|
|
|
@@ -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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column
|
|
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,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-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
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
|
|
|
@@ -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()));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { C as CSS, I as ICONS, S as SLOTS } from './resources-
|
|
8
|
-
import { g as getSlotted, t as toAriaBoolean, f as focusElement } from './dom-
|
|
9
|
-
import { g as getRoundRobinIndex } from './array-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import { c as createObserver } from './observers-
|
|
12
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-a3160f12.js';
|
|
7
|
+
import { C as CSS, I as ICONS, S as SLOTS } from './resources-5b92e29d.js';
|
|
8
|
+
import { g as getSlotted, t as toAriaBoolean, f as focusElement } from './dom-d90fe08d.js';
|
|
9
|
+
import { g as getRoundRobinIndex } from './array-01c0fc97.js';
|
|
10
|
+
import { g as guid } from './guid-ac825a40.js';
|
|
11
|
+
import { c as createObserver } from './observers-365eaca9.js';
|
|
12
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-c6d33dce.js';
|
|
13
13
|
|
|
14
14
|
const actionMenuCss = "@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
|
|
15
15
|
|