@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
|
@@ -170,6 +170,10 @@ export namespace Components {
|
|
|
170
170
|
* Specifies the label of the expand icon when the component is collapsed.
|
|
171
171
|
*/
|
|
172
172
|
"intlExpand"?: string;
|
|
173
|
+
/**
|
|
174
|
+
* The layout direction of the actions.
|
|
175
|
+
*/
|
|
176
|
+
"layout": Extract<"horizontal" | "vertical", Layout>;
|
|
173
177
|
/**
|
|
174
178
|
* Overflows actions that won't fit into menus.
|
|
175
179
|
*/
|
|
@@ -4906,6 +4910,10 @@ declare namespace LocalJSX {
|
|
|
4906
4910
|
* Specifies the label of the expand icon when the component is collapsed.
|
|
4907
4911
|
*/
|
|
4908
4912
|
"intlExpand"?: string;
|
|
4913
|
+
/**
|
|
4914
|
+
* The layout direction of the actions.
|
|
4915
|
+
*/
|
|
4916
|
+
"layout"?: Extract<"horizontal" | "vertical", Layout>;
|
|
4909
4917
|
/**
|
|
4910
4918
|
* Emits when the `expanded` property is toggled.
|
|
4911
4919
|
*/
|
package/hydrate/index.js
CHANGED
|
@@ -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
|
'use strict';
|
|
7
7
|
|
|
@@ -6387,12 +6387,22 @@ const ICONS$e = {
|
|
|
6387
6387
|
};
|
|
6388
6388
|
|
|
6389
6389
|
const overflowActionsDebounceInMs = 150;
|
|
6390
|
-
const
|
|
6391
|
-
const
|
|
6392
|
-
|
|
6390
|
+
const groupBufferPx = 2;
|
|
6391
|
+
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
6392
|
+
const geActionDimensions = (actions) => {
|
|
6393
|
+
const actionLen = actions === null || actions === void 0 ? void 0 : actions.length;
|
|
6394
|
+
return {
|
|
6395
|
+
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
6396
|
+
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
6397
|
+
};
|
|
6393
6398
|
};
|
|
6394
|
-
const
|
|
6395
|
-
|
|
6399
|
+
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount }) => {
|
|
6400
|
+
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
6401
|
+
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
6402
|
+
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
6403
|
+
};
|
|
6404
|
+
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount }) => {
|
|
6405
|
+
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
6396
6406
|
};
|
|
6397
6407
|
const queryActions = (el) => {
|
|
6398
6408
|
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$q.trigger : true);
|
|
@@ -7740,7 +7750,7 @@ function throttle$1(func, wait, options) {
|
|
|
7740
7750
|
});
|
|
7741
7751
|
}
|
|
7742
7752
|
|
|
7743
|
-
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*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column
|
|
7753
|
+
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*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{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])*/[layout=vertical].sc-calcite-action-bar-h{-ms-flex-direction:column;flex-direction:column}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-action-bar-h{-ms-flex-direction:row;flex-direction:row}/*!@:host([layout=vertical][overflow-actions-disabled])*/[layout=vertical][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([layout=horizontal][overflow-actions-disabled])*/[layout=horizontal][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-x:auto}/*!@:host([layout=vertical][expanded])*/[layout=vertical][expanded].sc-calcite-action-bar-h{max-inline-size:var(--calcite-action-bar-expanded-max-width)}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>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)*/.sc-calcite-action-bar-h[layout=horizontal] .sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-inline-end-width:1px;border-style:solid}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-block-end-width:0px;border-inline-end-width:0px}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{-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}";
|
|
7744
7754
|
|
|
7745
7755
|
/**
|
|
7746
7756
|
* @slot - A slot for adding `calcite-action`s that will appear at the top of the action bar.
|
|
@@ -7764,6 +7774,10 @@ class ActionBar {
|
|
|
7764
7774
|
* When true, the component is expanded.
|
|
7765
7775
|
*/
|
|
7766
7776
|
this.expanded = false;
|
|
7777
|
+
/**
|
|
7778
|
+
* The layout direction of the actions.
|
|
7779
|
+
*/
|
|
7780
|
+
this.layout = "vertical";
|
|
7767
7781
|
/**
|
|
7768
7782
|
* Disables automatically overflowing `calcite-action`s that won't fit into menus.
|
|
7769
7783
|
*/
|
|
@@ -7789,13 +7803,12 @@ class ActionBar {
|
|
|
7789
7803
|
entries.forEach(this.resizeHandler);
|
|
7790
7804
|
};
|
|
7791
7805
|
this.resizeHandler = (entry) => {
|
|
7792
|
-
const { height } = entry.contentRect;
|
|
7793
|
-
this.resize(height);
|
|
7806
|
+
const { width, height } = entry.contentRect;
|
|
7807
|
+
this.resize({ width, height });
|
|
7794
7808
|
};
|
|
7795
|
-
this.resize = debounce((height) => {
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
if (!height) {
|
|
7809
|
+
this.resize = debounce(({ width, height }) => {
|
|
7810
|
+
const { el, expanded, expandDisabled, layout } = this;
|
|
7811
|
+
if ((layout === "vertical" && !height) || (layout === "horizontal" && !width)) {
|
|
7799
7812
|
return;
|
|
7800
7813
|
}
|
|
7801
7814
|
const actions = queryActions(el);
|
|
@@ -7804,10 +7817,14 @@ class ActionBar {
|
|
|
7804
7817
|
const groupCount = getSlotted(el, SLOTS$o.bottomActions) || !expandDisabled
|
|
7805
7818
|
? actionGroups.length + 1
|
|
7806
7819
|
: actionGroups.length;
|
|
7820
|
+
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
7807
7821
|
const overflowCount = getOverflowCount({
|
|
7822
|
+
layout,
|
|
7808
7823
|
actionCount,
|
|
7809
|
-
actionHeight
|
|
7824
|
+
actionHeight,
|
|
7825
|
+
actionWidth,
|
|
7810
7826
|
height,
|
|
7827
|
+
width,
|
|
7811
7828
|
groupCount
|
|
7812
7829
|
});
|
|
7813
7830
|
overflowActions({
|
|
@@ -7834,6 +7851,7 @@ class ActionBar {
|
|
|
7834
7851
|
}
|
|
7835
7852
|
expandedHandler(expanded) {
|
|
7836
7853
|
toggleChildActionText({ parent: this.el, expanded });
|
|
7854
|
+
this.conditionallyOverflowActions();
|
|
7837
7855
|
}
|
|
7838
7856
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
7839
7857
|
overflowActionsDisabled
|
|
@@ -7876,7 +7894,7 @@ class ActionBar {
|
|
|
7876
7894
|
* @internal
|
|
7877
7895
|
*/
|
|
7878
7896
|
async overflowActions() {
|
|
7879
|
-
this.resize(this.el.clientHeight);
|
|
7897
|
+
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
|
7880
7898
|
}
|
|
7881
7899
|
/**
|
|
7882
7900
|
* Sets focus on the component.
|
|
@@ -7897,12 +7915,12 @@ class ActionBar {
|
|
|
7897
7915
|
//
|
|
7898
7916
|
// --------------------------------------------------------------------------
|
|
7899
7917
|
renderBottomActionGroup() {
|
|
7900
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
7918
|
+
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
7901
7919
|
const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
|
|
7902
7920
|
const expandLabel = intlExpand || TEXT$q.expand;
|
|
7903
7921
|
const collapseLabel = intlCollapse || TEXT$q.collapse;
|
|
7904
7922
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
7905
|
-
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$o.bottomActions }), hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
7923
|
+
return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$o.bottomActions }), hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
7906
7924
|
}
|
|
7907
7925
|
render() {
|
|
7908
7926
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -7922,6 +7940,7 @@ class ActionBar {
|
|
|
7922
7940
|
"expanded": [1540],
|
|
7923
7941
|
"intlExpand": [1, "intl-expand"],
|
|
7924
7942
|
"intlCollapse": [1, "intl-collapse"],
|
|
7943
|
+
"layout": [513],
|
|
7925
7944
|
"overflowActionsDisabled": [4, "overflow-actions-disabled"],
|
|
7926
7945
|
"position": [513],
|
|
7927
7946
|
"scale": [513],
|
|
@@ -7930,7 +7949,7 @@ class ActionBar {
|
|
|
7930
7949
|
},
|
|
7931
7950
|
"$listeners$": undefined,
|
|
7932
7951
|
"$lazyBundleId$": "-",
|
|
7933
|
-
"$attrsToReflect$": [["expandDisabled", "expand-disabled"], ["expanded", "expanded"], ["position", "position"], ["scale", "scale"]]
|
|
7952
|
+
"$attrsToReflect$": [["expandDisabled", "expand-disabled"], ["expanded", "expanded"], ["layout", "layout"], ["position", "position"], ["scale", "scale"]]
|
|
7934
7953
|
}; }
|
|
7935
7954
|
}
|
|
7936
7955
|
|
|
@@ -7995,9 +8014,9 @@ class ActionGroup {
|
|
|
7995
8014
|
return hasTooltip ? hAsync("slot", { name: SLOTS$p.menuTooltip, slot: SLOTS$q.tooltip }) : null;
|
|
7996
8015
|
}
|
|
7997
8016
|
renderMenu() {
|
|
7998
|
-
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
8017
|
+
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
7999
8018
|
const hasMenuItems = getSlotted(el, SLOTS$p.menuActions);
|
|
8000
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
|
|
8019
|
+
return hasMenuItems ? (hAsync("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 }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
|
|
8001
8020
|
}
|
|
8002
8021
|
render() {
|
|
8003
8022
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -8326,7 +8345,7 @@ const SLOTS$n = {
|
|
|
8326
8345
|
expandTooltip: "expand-tooltip"
|
|
8327
8346
|
};
|
|
8328
8347
|
|
|
8329
|
-
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*/.sc-calcite-action-pad:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-pad{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-pad{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-pad{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-pad{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-pad{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-pad-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-pad-h *.sc-calcite-action-pad{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-pad:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-pad-h{display:none}/*!@:host*/.sc-calcite-action-pad-h{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@:host*/.sc-calcite-action-pad-h{-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])*/[expanded].sc-calcite-action-pad-h{max-inline-size:
|
|
8348
|
+
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*/.sc-calcite-action-pad:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-pad{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-pad{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-pad{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-pad{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-pad{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-pad-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-pad-h *.sc-calcite-action-pad{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-pad:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-pad-h{display:none}/*!@:host*/.sc-calcite-action-pad-h{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@:host*/.sc-calcite-action-pad-h{-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*/[expanded][layout=vertical].sc-calcite-action-pad-h .container.sc-calcite-action-pad{max-inline-size:var(--calcite-action-pad-expanded-max-width)}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-pad-s>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*/.container.sc-calcite-action-pad{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*/.action-group--bottom.sc-calcite-action-pad{-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*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad{-ms-flex-direction:row;flex-direction:row}/*!@:host([layout=horizontal]) .container .action-group--bottom*/[layout=horizontal].sc-calcite-action-pad-h .container.sc-calcite-action-pad .action-group--bottom.sc-calcite-action-pad{padding:0px}/*!@:host([layout=horizontal]) .container ::slotted(calcite-action-group)*/.sc-calcite-action-pad-h[layout=horizontal] .container .sc-calcite-action-pad-s>calcite-action-group{border-width:0px;padding:0px;border-inline-end-width:1px}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-pad-s>calcite-action-group:last-child{border-block-end-width:0px}";
|
|
8330
8349
|
|
|
8331
8350
|
/**
|
|
8332
8351
|
* @slot - A slot for adding `calcite-action`s to the component.
|
|
@@ -8418,12 +8437,12 @@ class ActionPad {
|
|
|
8418
8437
|
//
|
|
8419
8438
|
// --------------------------------------------------------------------------
|
|
8420
8439
|
renderBottomActionGroup() {
|
|
8421
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
8440
|
+
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
8422
8441
|
const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
|
|
8423
8442
|
const expandLabel = intlExpand || TEXT$p.expand;
|
|
8424
8443
|
const collapseLabel = intlCollapse || TEXT$p.collapse;
|
|
8425
8444
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8426
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
8445
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$N.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
8427
8446
|
}
|
|
8428
8447
|
render() {
|
|
8429
8448
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$N.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
@@ -17846,15 +17865,22 @@ class Dropdown {
|
|
|
17846
17865
|
/** specify whether the dropdown is opened by hover or click of a trigger element */
|
|
17847
17866
|
this.type = "click";
|
|
17848
17867
|
this.items = [];
|
|
17849
|
-
this.groups = [];
|
|
17850
17868
|
this.activeTransitionProp = "visibility";
|
|
17851
17869
|
this.mutationObserver = createObserver();
|
|
17852
17870
|
this.resizeObserver = createObserver();
|
|
17871
|
+
this.guid = `calcite-dropdown-${guid()}`;
|
|
17872
|
+
this.defaultAssignedElements = [];
|
|
17853
17873
|
//--------------------------------------------------------------------------
|
|
17854
17874
|
//
|
|
17855
17875
|
// Private Methods
|
|
17856
17876
|
//
|
|
17857
17877
|
//--------------------------------------------------------------------------
|
|
17878
|
+
this.slotChangeHandler = (event) => {
|
|
17879
|
+
this.defaultAssignedElements = event.target.assignedElements({
|
|
17880
|
+
flatten: true
|
|
17881
|
+
});
|
|
17882
|
+
this.updateItems();
|
|
17883
|
+
};
|
|
17858
17884
|
this.setFilteredPlacements = () => {
|
|
17859
17885
|
const { el, flipPlacements } = this;
|
|
17860
17886
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -17868,19 +17894,15 @@ class Dropdown {
|
|
|
17868
17894
|
this.reposition();
|
|
17869
17895
|
};
|
|
17870
17896
|
this.updateItems = () => {
|
|
17871
|
-
|
|
17872
|
-
|
|
17897
|
+
const { defaultAssignedElements } = this;
|
|
17898
|
+
this.items = defaultAssignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group, calcite-dropdown-item"))
|
|
17899
|
+
.map((el) => el.matches("calcite-dropdown-group")
|
|
17900
|
+
? Array.from(el.querySelectorAll("calcite-dropdown-item"))
|
|
17901
|
+
: [el])
|
|
17873
17902
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
17874
17903
|
this.updateSelectedItems();
|
|
17875
17904
|
this.reposition();
|
|
17876
17905
|
};
|
|
17877
|
-
this.updateGroups = (event) => {
|
|
17878
|
-
const groups = event.target
|
|
17879
|
-
.assignedElements({ flatten: true })
|
|
17880
|
-
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
|
|
17881
|
-
this.groups = groups;
|
|
17882
|
-
this.updateItems();
|
|
17883
|
-
};
|
|
17884
17906
|
this.resizeObserverCallback = (entries) => {
|
|
17885
17907
|
entries.forEach((entry) => {
|
|
17886
17908
|
const { target } = entry;
|
|
@@ -18021,12 +18043,12 @@ class Dropdown {
|
|
|
18021
18043
|
(_c = this.scrollerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
18022
18044
|
}
|
|
18023
18045
|
render() {
|
|
18024
|
-
const { active, open } = this;
|
|
18025
|
-
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "
|
|
18046
|
+
const { active, open, guid } = this;
|
|
18047
|
+
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "menu", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
18026
18048
|
["calcite-dropdown-content"]: true,
|
|
18027
18049
|
[FloatingCSS.animation]: true,
|
|
18028
18050
|
[FloatingCSS.animationActive]: active || open
|
|
18029
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.
|
|
18051
|
+
}, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.slotChangeHandler }))))));
|
|
18030
18052
|
}
|
|
18031
18053
|
//--------------------------------------------------------------------------
|
|
18032
18054
|
//
|
|
@@ -18139,22 +18161,20 @@ class Dropdown {
|
|
|
18139
18161
|
let itemsToProcess = 0;
|
|
18140
18162
|
let maxScrollerHeight = 0;
|
|
18141
18163
|
let groupHeaderHeight;
|
|
18142
|
-
|
|
18143
|
-
|
|
18144
|
-
|
|
18145
|
-
if (
|
|
18146
|
-
|
|
18147
|
-
groupHeaderHeight = item.offsetTop;
|
|
18148
|
-
}
|
|
18149
|
-
maxScrollerHeight += groupHeaderHeight;
|
|
18150
|
-
}
|
|
18151
|
-
if (itemsToProcess < maxItems) {
|
|
18152
|
-
maxScrollerHeight += item.offsetHeight;
|
|
18153
|
-
itemsToProcess += 1;
|
|
18164
|
+
if (maxItems > 0 && itemsToProcess < maxItems) {
|
|
18165
|
+
this.items.forEach((item) => {
|
|
18166
|
+
if (item.matches("calcite-dropdown-group calcite-dropdown-item:first-child")) {
|
|
18167
|
+
if (isNaN(groupHeaderHeight)) {
|
|
18168
|
+
groupHeaderHeight = item.offsetTop;
|
|
18154
18169
|
}
|
|
18155
|
-
|
|
18156
|
-
|
|
18157
|
-
|
|
18170
|
+
maxScrollerHeight += groupHeaderHeight;
|
|
18171
|
+
}
|
|
18172
|
+
if (itemsToProcess < maxItems) {
|
|
18173
|
+
maxScrollerHeight += item.offsetHeight;
|
|
18174
|
+
itemsToProcess += 1;
|
|
18175
|
+
}
|
|
18176
|
+
});
|
|
18177
|
+
}
|
|
18158
18178
|
return maxScrollerHeight;
|
|
18159
18179
|
}
|
|
18160
18180
|
closeCalciteDropdown(focusTrigger = true) {
|
|
@@ -18262,7 +18282,7 @@ class DropdownGroup {
|
|
|
18262
18282
|
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
18263
18283
|
const groupTitle = this.groupTitle ? (hAsync("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
18264
18284
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
18265
|
-
return (hAsync(Host, { role: "
|
|
18285
|
+
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
18266
18286
|
container: true,
|
|
18267
18287
|
[CSS$C.containerSmall]: scale === "s",
|
|
18268
18288
|
[CSS$C.containerMedium]: scale === "m",
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -12,12 +12,12 @@ The most common approach for loading Calcite Components is to use the version ho
|
|
|
12
12
|
```html
|
|
13
13
|
<script
|
|
14
14
|
type="module"
|
|
15
|
-
src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.
|
|
15
|
+
src="https://unpkg.com/@esri/calcite-components@1.0.0-beta.88/dist/calcite/calcite.esm.js"
|
|
16
16
|
></script>
|
|
17
17
|
<link
|
|
18
18
|
rel="stylesheet"
|
|
19
19
|
type="text/css"
|
|
20
|
-
href="https://unpkg.com/@esri/calcite-components@1.0.0-beta.
|
|
20
|
+
href="https://unpkg.com/@esri/calcite-components@1.0.0-beta.88/dist/calcite/calcite.css"
|
|
21
21
|
/>
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.87
|
|
5
|
-
*/
|
|
6
|
-
import{r as a,h as t,F as i,g as n}from"./p-c44fe786.js";import{S as e,I as o,T as r}from"./p-4a0d41e4.js";import{g as c}from"./p-5e5bb0fe.js";import{S as s}from"./p-afd70310.js";import{c as l,d as m}from"./p-2b1db9be.js";import"./p-292b7dab.js";import"./p-84f563f6.js";const p=class{constructor(t){a(this,t),this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.setMenuOpen=a=>{this.menuOpen=!!a.detail}}expandedHandler(){this.menuOpen=!1}connectedCallback(){l(this)}disconnectedCallback(){m(this)}renderTooltip(){const{el:a}=this;return c(a,e.menuTooltip)?t("slot",{name:e.menuTooltip,slot:s.tooltip}):null}renderMenu(){const{el:a,expanded:i,intlMore:n,menuOpen:l,scale:m}=this;return c(a,e.menuActions)?t("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||r.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:l,placement:"leading-start",scale:m},t("calcite-action",{icon:o.menu,scale:m,slot:s.trigger,text:n||r.more,textEnabled:i}),t("slot",{name:e.menuActions}),this.renderTooltip()):null}render(){return t(i,null,t("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};p.style='@-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)}';export{p as calcite_action_group}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.87
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-09d4e789.system.js","./p-98f5945a.system.js","./p-a2fb1d9c.system.js","./p-031fe642.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var c=t("o",150);var a=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*a)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var c=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(c>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){c--}}return c<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(t){return t.expanded=n}))}var d=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,c=t.toggle,a=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(a)==="rtl";var g=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,a)==="end";var E=x?m[1]:m[0];var y=x?m[0]:m[1];var A=n("calcite-action",{icon:e?E:y,onClick:c,ref:function(t){return d({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:g,textEnabled:e});return A}))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.87
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-09d4e789.system.js","./p-deefbe33.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var s;var c={childList:true};function i(e){if(!s){s=n("mutation",f)}s.observe(e.el,c)}function o(e){r.delete(e.el);f(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function f(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.87
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-c44fe786.js";import{c as o}from"./p-84f563f6.js";const f=new Set;let n;const c={childList:!0};function s(t){n||(n=o("mutation",r)),n.observe(t.el,c)}function i(t){f.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of f.entries())n.observe(t,c)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.87
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as a,h as i,H as n,g as e}from"./p-c44fe786.js";import{t as o,o as s,q as r,a as l,E as c,g as d}from"./p-ec6c73c0.js";import{f as m,g as p}from"./p-5e5bb0fe.js";import{c as f}from"./p-84f563f6.js";import{c as b,d as h}from"./p-2b1db9be.js";import{d as x}from"./p-fcb2ff51.js";import"./p-afd70310.js";import"./p-4a0d41e4.js";import"./p-292b7dab.js";const u=class{constructor(i){t(this,i),this.calciteActionBarToggle=a(this,"calciteActionBarToggle",7),this.expandDisabled=!1,this.expanded=!1,this.overflowActionsDisabled=!1,this.mutationObserver=f("mutation",(()=>{const{el:t,expanded:a}=this;o({parent:t,expanded:a}),this.conditionallyOverflowActions()})),this.resizeObserver=f("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenChangeHandler=t=>{if(t.detail){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{height:a}=t.contentRect;this.resize(a)},this.resize=x((t=>{var a;const{el:i,expanded:n,expandDisabled:e}=this;if(!t)return;const o=r(i),s=e?o.length:o.length+1,c=Array.from(i.querySelectorAll("calcite-action-group")),m=p(i,"bottom-actions")||!e?c.length+1:c.length,f=d({actionCount:s,actionHeight:null===(a=o[0])||void 0===a?void 0:a.clientHeight,height:t,groupCount:m});l({actionGroups:c,expanded:n,overflowCount:f})}),s),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t}}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){o({parent:this.el,expanded:t})}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}componentDidLoad(){this.conditionallyOverflowActions()}connectedCallback(){var t,a;const{el:i,expanded:n}=this;o({parent:i,expanded:n}),null===(t=this.mutationObserver)||void 0===t||t.observe(i,{childList:!0,subtree:!0}),this.overflowActionsDisabled||null===(a=this.resizeObserver)||void 0===a||a.observe(i),this.conditionallyOverflowActions(),b(this)}disconnectedCallback(){var t,a;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(a=this.resizeObserver)||void 0===a||a.disconnect(),h(this)}async overflowActions(){this.resize(this.el.clientHeight)}async setFocus(t){var a;"expand-toggle"!==t?null===(a=this.el)||void 0===a||a.focus():await m(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,intlExpand:n,intlCollapse:e,el:o,position:s,toggleExpand:r,scale:l}=this,d=p(o,"expand-tooltip"),m=a?null:i(c,{el:o,expanded:t,intlCollapse:e||"Collapse",intlExpand:n||"Expand",position:s,ref:this.setExpandToggleRef,scale:l,toggle:r,tooltip:d});return p(o,"bottom-actions")||m?i("calcite-action-group",{class:"action-group--bottom",scale:l},i("slot",{name:"bottom-actions"}),i("slot",{name:"expand-tooltip"}),m):null}render(){return i(n,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}}};u.style="@-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;-ms-flex-item-align:stretch;align-self:stretch;max-inline-size:15vw;background:transparent}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-inline-size:20vw}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-block-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}";export{u as calcite_action_bar}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):a(t.value).then(r,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,a=e.length,o;n<a;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.87
|
|
6
|
-
*/System.register(["./p-09d4e789.system.js","./p-98f5945a.system.js","./p-288354f0.system.js","./p-deefbe33.system.js","./p-b65a82b9.system.js","./p-151ef522.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c,l,d,p,m,f,u,h,w;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g},function(t){r=t.t;s=t.f;c=t.d},function(t){l=t.d;d=t.f;p=t.c;m=t.a;f=t.F;u=t.p},function(t){h=t.c},function(t){w=t.u},function(){}],execute:function(){var b={dropdownTrigger:"dropdown-trigger"};var v="@-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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-block-size:90vh;inline-size:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var g=t("calcite_dropdown",function(){function t(t){var n=this;e(this,t);this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7);this.calciteDropdownBeforeClose=i(this,"calciteDropdownBeforeClose",7);this.calciteDropdownClose=i(this,"calciteDropdownClose",7);this.calciteDropdownBeforeOpen=i(this,"calciteDropdownBeforeOpen",7);this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7);this.active=false;this.open=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=l;this.scale="m";this.selectedItems=[];this.type="click";this.items=[];this.groups=[];this.activeTransitionProp="visibility";this.mutationObserver=h("mutation",(function(){return n.updateItems()}));this.resizeObserver=h("resize",(function(t){return n.resizeObserverCallback(t)}));this.setFilteredPlacements=function(){var t=n,e=t.el,i=t.flipPlacements;n.filteredFlipPlacements=i?d(i,e):null};this.updateTriggers=function(t){n.triggers=t.target.assignedElements({flatten:true});n.reposition()};this.updateItems=function(){n.items=n.groups.map((function(t){return Array.from(t===null||t===void 0?void 0:t.querySelectorAll("calcite-dropdown-item"))})).reduce((function(t,e){return __spreadArray(__spreadArray([],t,true),e,true)}),[]);n.updateSelectedItems();n.reposition()};this.updateGroups=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-dropdown-group")}));n.groups=e;n.updateItems()};this.resizeObserverCallback=function(t){t.forEach((function(t){var e=t.target;if(e===n.referenceEl){n.setDropdownWidth()}else if(e===n.scrollerEl){n.setMaxScrollerHeight()}}))};this.setDropdownWidth=function(){var t=n,e=t.referenceEl,i=t.scrollerEl;var a=e===null||e===void 0?void 0:e.clientWidth;if(!a||!i){return}i.style.minWidth="".concat(a,"px")};this.setMaxScrollerHeight=function(){var t=n,e=t.active,i=t.scrollerEl,a=t.open;var o=!(e||a);if(!i||o){return}n.reposition();var r=n.getMaxScrollerHeight();i.style.maxHeight=r>0?"".concat(r,"px"):"";n.reposition()};this.setScrollerEl=function(t){n.resizeObserver.observe(t);n.scrollerEl=t;n.scrollerEl.addEventListener("transitionstart",n.transitionStartHandler)};this.transitionEnd=function(t){if(t.propertyName===n.activeTransitionProp&&t.target===n.scrollerEl){n.open||n.active?n.onOpen():n.onClose()}};this.transitionStartHandler=function(t){if(t.propertyName===n.activeTransitionProp&&t.target===n.scrollerEl){n.open||n.active?n.onBeforeOpen():n.onBeforeClose()}};this.setReferenceEl=function(t){n.referenceEl=t;p(n,n.referenceEl,n.floatingEl);n.resizeObserver.observe(t)};this.setFloatingEl=function(t){n.floatingEl=t;p(n,n.referenceEl,n.floatingEl)};this.keyDownHandler=function(t){var e=t.target;if(e!==n.referenceEl){return}var i=t.key;if((n.open||n.active)&&(i==="Escape"||t.shiftKey&&i==="Tab")){n.closeCalciteDropdown();return}switch(i){case" ":case"Enter":n.openCalciteDropdown();break;case"Escape":n.closeCalciteDropdown();break}};this.focusOnFirstActiveOrFirstItem=function(){n.getFocusableElement(n.items.find((function(t){return t.active}))||n.items[0])};this.toggleOpenEnd=function(){n.focusOnFirstActiveOrFirstItem();n.el.removeEventListener("calciteDropdownOpen",n.toggleOpenEnd)};this.openCalciteDropdown=function(){n.active=!n.active;n.open=!n.open;if(n.active||n.open){n.el.addEventListener("calciteDropdownOpen",n.toggleOpenEnd)}}}t.prototype.activeHandler=function(){if(!this.disabled){this.reposition();return}this.active=false;this.open=false};t.prototype.handleDisabledChange=function(t){if(!t){this.active=false;this.open=false}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.overlayPositioningHandler=function(){this.reposition()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.setFilteredPlacements();this.reposition()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.componentDidRender=function(){w(this)};t.prototype.disconnectedCallback=function(){var t,e,i;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();m(this,this.referenceEl,this.floatingEl);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();(i=this.scrollerEl)===null||i===void 0?void 0:i.removeEventListener("transitionstart",this.transitionStartHandler)};t.prototype.render=function(){var t;var e=this,i=e.active,o=e.open;return n(a,null,n("div",{class:"calcite-dropdown-trigger-container",onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},n("slot",{"aria-expanded":r(i||o),"aria-haspopup":"true",name:b.dropdownTrigger,onSlotchange:this.updateTriggers})),n("div",{"aria-hidden":r(!(i||o)),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},n("div",{class:(t={},t["calcite-dropdown-content"]=true,t[f.animation]=true,t[f.animationActive]=i||o,t),onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},n("div",{hidden:!(o||i)},n("slot",{onSlotchange:this.updateGroups})))))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a;return __generator(this,(function(o){t=this,e=t.floatingEl,i=t.referenceEl,n=t.placement,a=t.overlayPositioning;return[2,u({floatingEl:e,referenceEl:i,overlayPositioning:a,placement:n,type:"menu"})]}))}))};t.prototype.closeCalciteDropdownOnClick=function(t){var e=!(this.open||this.active);if(e||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};t.prototype.closeCalciteDropdownOnEvent=function(t){this.closeCalciteDropdown();t.stopPropagation()};t.prototype.closeCalciteDropdownOnOpenEvent=function(t){if(t.composedPath().includes(this.el)){return}this.active=false;this.open=false};t.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};t.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};t.prototype.calciteInternalDropdownItemKeyEvent=function(t){var e=t.detail.keyboardEvent;var i=e.target;var n=i.nodeName!=="A"?i:i.parentNode;var a=this.itemIndex(n)===0;var o=this.itemIndex(n)===this.items.length-1;switch(e.key){case"Tab":if(o&&!e.shiftKey){this.closeCalciteDropdown()}else if(a&&e.shiftKey){this.closeCalciteDropdown()}else if(e.shiftKey){this.focusPrevItem(n)}else{this.focusNextItem(n)}break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}t.stopPropagation()};t.prototype.handleItemSelect=function(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.disableCloseOnSelect||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()};t.prototype.onBeforeOpen=function(){this.calciteDropdownBeforeOpen.emit()};t.prototype.onOpen=function(){this.calciteDropdownOpen.emit()};t.prototype.onBeforeClose=function(){this.calciteDropdownBeforeClose.emit()};t.prototype.onClose=function(){this.calciteDropdownClose.emit()};t.prototype.updateSelectedItems=function(){this.selectedItems=this.items.filter((function(t){return t.active}))};t.prototype.getMaxScrollerHeight=function(){var t=this.maxItems;var e=0;var i=0;var n;this.groups.forEach((function(a){if(t>0&&e<t){Array.from(a.children).forEach((function(a,o){if(o===0){if(isNaN(n)){n=a.offsetTop}i+=n}if(e<t){i+=a.offsetHeight;e+=1}}))}}));return i};t.prototype.closeCalciteDropdown=function(t){if(t===void 0){t=true}this.active=false;this.open=false;if(t){s(this.triggers[0])}};t.prototype.focusFirstItem=function(){var t=this.items[0];this.getFocusableElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.getFocusableElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.items[e+1]||this.items[0];this.getFocusableElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.items[e-1]||this.items[this.items.length-1];this.getFocusableElement(i)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.getFocusableElement=function(t){if(!t){return}var e=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;s(e)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["activeHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return t}());g.style=v;var y={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var k="@-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{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";var D=t("calcite_dropdown_group",function(){function t(t){e(this,t);this.calciteInternalDropdownItemChange=i(this,"calciteInternalDropdownItemChange",7);this.selectionMode="single"}t.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};t.prototype.render=function(){var t;var e=this.scale||c(this.el,"scale","m");var i=this.groupTitle?n("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var o=this.groupPosition>0?n("div",{class:"dropdown-separator",role:"separator"}):null;return n(a,{role:"menu"},n("div",{class:(t={container:true},t[y.containerSmall]=e==="s",t[y.containerMedium]=e==="m",t[y.containerLarge]=e==="l",t),title:this.groupTitle},o,i,n("slot",null)))};t.prototype.updateActiveItemOnChange=function(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};t.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());D.style=k;var x={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var E="@-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}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";var I=t("calcite_dropdown_item",function(){function t(t){e(this,t);this.calciteInternalDropdownItemSelect=i(this,"calciteInternalDropdownItemSelect",7);this.calciteInternalDropdownItemKeyEvent=i(this,"calciteInternalDropdownItemKeyEvent",7);this.calciteInternalDropdownCloseRequest=i(this,"calciteInternalDropdownCloseRequest",7);this.active=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.el)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.componentWillLoad=function(){this.initialize()};t.prototype.connectedCallback=function(){this.initialize()};t.prototype.render=function(){var t;var e=this;var i=c(this.el,"scale","m");var o=n("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var s=n("span",{class:"dropdown-item-content"},n("slot",null));var l=n("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var d=this.iconStart&&this.iconEnd?[o,s,l]:this.iconStart?[o,n("slot",null)]:this.iconEnd?[s,l]:s;var p=!this.href?d:n("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(t){return e.childLink=t},rel:this.rel,target:this.target},d);var m=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var f=this.selectionMode!=="none"?r(this.active):null;return n(a,{"aria-checked":f,role:m,tabindex:"0"},n("div",{class:(t={container:true},t[x.containerLink]=!!this.href,t[x.containerSmall]=i==="s",t[x.containerMedium]=i==="m",t[x.containerLarge]=i==="l",t[x.containerMulti]=this.selectionMode==="multi",t[x.containerSingle]=this.selectionMode==="single",t[x.containerNone]=this.selectionMode==="none",t)},this.selectionMode!=="none"?n("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,p))};t.prototype.onClick=function(){this.emitRequestedItem()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(this.href){this.childLink.click()}t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit();t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault();this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break}};t.prototype.updateActiveItemOnChange=function(t){var e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()};t.prototype.initialize=function(){this.selectionMode=c(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.active=false}};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.active=!this.active}break;case"single":if(this.el===this.requestedDropdownItem){this.active=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.active=false}break;case"none":this.active=false;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());I.style=E}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function l(t){try{s(i["throw"](t))}catch(t){o(t)}}function s(t){t.done?n(t.value):a(t.value).then(r,l)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return s([t,e])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.87
|
|
6
|
-
*/System.register(["./p-09d4e789.system.js","./p-23f02457.system.js","./p-98f5945a.system.js","./p-deefbe33.system.js","./p-2a7e2957.system.js","./p-99834ee5.system.js","./p-a2fb1d9c.system.js","./p-031fe642.system.js","./p-151ef522.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,s,c,d,f,u,p,m,b,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.H;o=t.g},function(t){r=t.t;l=t.o;s=t.q;c=t.a;d=t.E;f=t.g},function(t){u=t.f;p=t.g},function(t){m=t.c},function(t){b=t.c;h=t.d},function(t){v=t.d},function(){},function(){},function(){}],execute:function(){var x={actionGroupBottom:"action-group--bottom"};var y={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var g={expand:"Expand",collapse:"Collapse"};var w="@-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;-ms-flex-item-align:stretch;align-self:stretch;max-inline-size:15vw;background:transparent}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-inline-size:20vw}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-block-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}";var k=t("calcite_action_bar",function(){function t(t){var i=this;e(this,t);this.calciteActionBarToggle=n(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=m("mutation",(function(){var t=i,e=t.el,n=t.expanded;r({parent:e,expanded:n});i.conditionallyOverflowActions()}));this.resizeObserver=m("resize",(function(t){return i.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var e=t.composedPath();Array.from(i.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(i.resizeHandler)};this.resizeHandler=function(t){var e=t.contentRect.height;i.resize(e)};this.resize=v((function(t){var e;var n=i,a=n.el,o=n.expanded,r=n.expandDisabled;if(!t){return}var l=s(a);var d=r?l.length:l.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var m=p(a,y.bottomActions)||!r?u.length+1:u.length;var b=f({actionCount:d,actionHeight:(e=l[0])===null||e===void 0?void 0:e.clientHeight,height:t,groupCount:m});c({actionGroups:u,expanded:o,overflowCount:b})}),l);this.conditionallyOverflowActions=function(){if(!i.overflowActionsDisabled){i.overflowActions()}};this.toggleExpand=function(){i.expanded=!i.expanded;i.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){i.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){r({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,i=n.el,a=n.expanded;r({parent:i,expanded:a});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(i)}this.conditionallyOverflowActions();b(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();h(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,u(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,a=t.intlExpand,o=t.intlCollapse,r=t.el,l=t.position,s=t.toggleExpand,c=t.scale;var f=p(r,y.expandTooltip);var u=a||g.expand;var m=o||g.collapse;var b=!n?i(d,{el:r,expanded:e,intlCollapse:m,intlExpand:u,position:l,ref:this.setExpandToggleRef,scale:c,toggle:s,tooltip:f}):null;return p(r,y.bottomActions)||b?i("calcite-action-group",{class:x.actionGroupBottom,scale:c},i("slot",{name:y.bottomActions}),i("slot",{name:y.expandTooltip}),b):null};t.prototype.render=function(){return i(a,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}());k.style=w}}}));
|