@esri/calcite-components 1.0.0-beta.85 → 1.0.0-beta.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-05e6e44e.entry.js +6 -0
- package/dist/calcite/{p-315644dd.entry.js → p-07dd470c.entry.js} +2 -2
- package/dist/calcite/{p-89967a2b.system.entry.js → p-08d33cff.system.entry.js} +2 -2
- package/dist/calcite/p-0d787eb2.entry.js +6 -0
- package/dist/calcite/{p-4e9df5b8.system.js → p-0d8047a0.system.js} +2 -2
- package/dist/calcite/p-0e005277.entry.js +6 -0
- package/dist/calcite/p-0e02d130.system.entry.js +6 -0
- package/dist/calcite/{p-338228cd.js → p-0ee2d220.js} +2 -2
- package/dist/calcite/{p-887d734a.js → p-0fa03f2b.js} +2 -2
- package/dist/calcite/p-123213d5.entry.js +6 -0
- package/dist/calcite/p-16eceb49.system.entry.js +6 -0
- package/dist/calcite/p-187f9893.entry.js +6 -0
- package/dist/calcite/p-19403345.system.entry.js +6 -0
- package/dist/calcite/p-1a31febb.system.entry.js +6 -0
- package/dist/calcite/p-1af1f3c4.system.entry.js +6 -0
- package/dist/calcite/p-1b89f988.system.entry.js +6 -0
- package/dist/calcite/p-1c7df5d0.entry.js +6 -0
- package/dist/calcite/{p-ecdd5df4.js → p-1f4f5c19.js} +2 -2
- package/dist/calcite/p-20c0dc2d.system.entry.js +6 -0
- package/dist/calcite/{p-9fc3c426.entry.js → p-21c25c2d.entry.js} +2 -2
- package/dist/calcite/p-2234a2fa.entry.js +6 -0
- package/dist/calcite/p-27859709.system.entry.js +6 -0
- package/dist/calcite/p-2a0b7910.system.entry.js +6 -0
- package/dist/calcite/p-2a743b41.system.entry.js +6 -0
- package/dist/calcite/p-2dee422c.system.entry.js +6 -0
- package/dist/calcite/{p-4b72075a.system.entry.js → p-328830de.system.entry.js} +2 -2
- package/dist/calcite/p-32b753c4.entry.js +6 -0
- package/dist/calcite/p-33845d5b.system.entry.js +6 -0
- package/dist/calcite/p-33ee66c9.system.entry.js +6 -0
- package/dist/calcite/p-35b01278.system.js +6 -0
- package/dist/calcite/{p-d67695ec.js → p-37711534.js} +1 -1
- package/dist/calcite/p-3789d49d.system.entry.js +6 -0
- package/dist/calcite/{p-d15c1632.js → p-38d46205.js} +1 -1
- package/dist/calcite/p-3b9eeea0.system.js +6 -0
- package/dist/calcite/p-3d9d8cc2.system.entry.js +6 -0
- package/dist/calcite/p-3ef08257.entry.js +6 -0
- package/dist/calcite/p-404c5ccb.entry.js +6 -0
- package/dist/calcite/p-437d9469.entry.js +6 -0
- package/dist/calcite/p-438e073a.entry.js +6 -0
- package/dist/calcite/{p-776fdea5.entry.js → p-45157ebd.entry.js} +2 -2
- package/dist/calcite/{p-398535e1.system.js → p-47e17bfe.system.js} +1 -1
- package/dist/calcite/p-480110aa.system.entry.js +6 -0
- package/dist/calcite/{p-46696d61.js → p-49228240.js} +1 -1
- package/dist/calcite/p-499e3e8e.js +7 -0
- package/dist/calcite/p-4b7bc432.system.entry.js +6 -0
- package/dist/calcite/{p-9487de4e.entry.js → p-4b7d8730.entry.js} +2 -2
- package/dist/calcite/p-4bc6cf58.system.entry.js +6 -0
- package/dist/calcite/{p-467704c7.system.js → p-4cc55c6b.system.js} +1 -1
- package/dist/calcite/p-4d6c3948.entry.js +6 -0
- package/dist/calcite/{p-03d40265.entry.js → p-4ff43ccd.entry.js} +2 -2
- package/dist/calcite/p-56f528e7.system.entry.js +6 -0
- package/dist/calcite/{p-07d77019.system.js → p-576c6d90.system.js} +1 -1
- package/dist/calcite/{p-43aac0ac.entry.js → p-580abf04.entry.js} +2 -2
- package/dist/calcite/p-59f13078.system.entry.js +6 -0
- package/dist/calcite/{p-03ef196e.js → p-5b999a6c.js} +1 -1
- package/dist/calcite/{p-1cea5244.system.js → p-5bcb3550.system.js} +2 -2
- package/dist/calcite/p-5bf1d9dd.entry.js +6 -0
- package/dist/calcite/{p-0223a366.system.entry.js → p-5c848d3b.system.entry.js} +2 -2
- package/dist/calcite/p-5d4ed662.system.entry.js +6 -0
- package/dist/calcite/{p-5e5cafb5.system.entry.js → p-60ed92d7.system.entry.js} +2 -2
- package/dist/calcite/p-61d0aee5.system.entry.js +6 -0
- package/dist/calcite/p-63f9e247.js +6 -0
- package/dist/calcite/p-668c6c3f.system.entry.js +6 -0
- package/dist/calcite/p-693b6420.system.entry.js +6 -0
- package/dist/calcite/{p-0212da73.system.js → p-6c6dcd8d.system.js} +1 -1
- package/dist/calcite/{p-b0f41839.entry.js → p-72a89fd7.entry.js} +2 -2
- package/dist/calcite/{p-2882a864.js → p-72b4a0ba.js} +2 -2
- package/dist/calcite/p-733efb75.system.entry.js +6 -0
- package/dist/calcite/p-748fa3dd.system.entry.js +6 -0
- package/dist/calcite/p-74b61b36.system.entry.js +6 -0
- package/dist/calcite/p-754f723b.system.entry.js +6 -0
- package/dist/calcite/{p-2b0bc91f.system.js → p-7792e0a6.system.js} +1 -1
- package/dist/calcite/{p-abe6d548.system.entry.js → p-78dc480f.system.entry.js} +2 -2
- package/dist/calcite/{p-170967b2.entry.js → p-7b4c1ad2.entry.js} +2 -2
- package/dist/calcite/p-7bf92781.entry.js +6 -0
- package/dist/calcite/{p-1c5c525b.system.js → p-7c185bac.system.js} +1 -1
- package/dist/calcite/p-7c8e376b.entry.js +6 -0
- package/dist/calcite/{p-584b85e0.system.js → p-7def66ec.system.js} +1 -1
- package/dist/calcite/p-7e9cc96c.system.entry.js +6 -0
- package/dist/calcite/p-83666d45.js +6 -0
- package/dist/calcite/p-8434e35e.system.js +6 -0
- package/dist/calcite/{p-243cd9e3.system.js → p-84382537.system.js} +1 -1
- package/dist/calcite/{p-9126f152.system.js → p-864d818a.system.js} +2 -2
- package/dist/calcite/p-86c1da3b.system.js +7 -0
- package/dist/calcite/p-8a72d959.entry.js +6 -0
- package/dist/calcite/{p-736cba68.system.js → p-8f1ef9e3.system.js} +2 -2
- package/dist/calcite/{p-149936bc.js → p-904f11d1.js} +1 -1
- package/dist/calcite/{p-850bd83f.js → p-912b88e8.js} +1 -1
- package/dist/calcite/{p-b95af5f3.entry.js → p-96941e56.entry.js} +2 -2
- package/dist/calcite/p-9cdc7258.entry.js +6 -0
- package/dist/calcite/p-9eadec21.system.entry.js +6 -0
- package/dist/calcite/{p-eacbae9a.entry.js → p-9f224e5a.entry.js} +2 -2
- package/dist/calcite/p-a019237b.entry.js +6 -0
- package/dist/calcite/{p-20ccf33e.system.js → p-a0fed957.system.js} +2 -2
- package/dist/calcite/p-a105b7a9.entry.js +6 -0
- package/dist/calcite/{p-2d888e2f.entry.js → p-a1aa7ee6.entry.js} +2 -2
- package/dist/calcite/{p-c2f04b4a.js → p-a32cac6b.js} +2 -2
- package/dist/calcite/p-a3789d06.system.entry.js +6 -0
- package/dist/calcite/p-a4d9aa0a.entry.js +6 -0
- package/dist/calcite/p-a4ea532b.entry.js +6 -0
- package/dist/calcite/p-a540ae2e.system.entry.js +6 -0
- package/dist/calcite/p-a5684301.entry.js +6 -0
- package/dist/calcite/{p-5d0e2da6.js → p-a60d4cb7.js} +1 -1
- package/dist/calcite/p-a8b2237b.js +6 -0
- package/dist/calcite/p-aa416cb5.system.entry.js +6 -0
- package/dist/calcite/p-aa8fc73f.entry.js +6 -0
- package/dist/calcite/{p-0913167b.js → p-abd4e5a8.js} +1 -1
- package/dist/calcite/{p-79ac98fc.system.entry.js → p-ac8db979.system.entry.js} +2 -2
- package/dist/calcite/p-adab454f.entry.js +6 -0
- package/dist/calcite/p-adeecd96.entry.js +6 -0
- package/dist/calcite/p-ae90837b.system.entry.js +6 -0
- package/dist/calcite/p-afa91b41.system.entry.js +6 -0
- package/dist/calcite/p-b05e7ca1.system.entry.js +6 -0
- package/dist/calcite/p-b0aeacc3.system.entry.js +6 -0
- package/dist/calcite/p-b1c5f13a.entry.js +6 -0
- package/dist/calcite/p-b2dd4d80.system.entry.js +6 -0
- package/dist/calcite/p-b4195586.entry.js +6 -0
- package/dist/calcite/p-b496305b.system.entry.js +6 -0
- package/dist/calcite/p-b52a5633.entry.js +6 -0
- package/dist/calcite/p-b850c351.entry.js +6 -0
- package/dist/calcite/{p-ac2ec96b.system.js → p-b87c3776.system.js} +2 -2
- package/dist/calcite/{p-37e5be23.system.js → p-bbab7f59.system.js} +1 -1
- package/dist/calcite/{p-a6e2dce3.js → p-bbe16621.js} +1 -1
- package/dist/calcite/{p-49ac0f0d.system.js → p-bc258f16.system.js} +1 -1
- package/dist/calcite/p-bf548bd9.entry.js +6 -0
- package/dist/calcite/p-c093135e.system.js +6 -0
- package/dist/calcite/p-c117dcf5.system.entry.js +6 -0
- package/dist/calcite/{p-95126dbe.entry.js → p-c1b32a3d.entry.js} +2 -2
- package/dist/calcite/{p-a22911bb.entry.js → p-c4814258.entry.js} +2 -2
- package/dist/calcite/p-c64bb5ab.entry.js +6 -0
- package/dist/calcite/p-c6ca0a3f.system.js +6 -0
- package/dist/calcite/{p-222220eb.js → p-c6f1b820.js} +1 -1
- package/dist/calcite/p-c74e6ff5.system.entry.js +6 -0
- package/dist/calcite/{p-072ba3d4.system.js → p-c8c7e371.system.js} +2 -2
- package/dist/calcite/p-c9df277f.system.entry.js +6 -0
- package/dist/calcite/p-ca63fb4e.entry.js +6 -0
- package/dist/calcite/p-ccd64eb0.entry.js +6 -0
- package/dist/calcite/p-ccdbf308.entry.js +6 -0
- package/dist/calcite/p-cd0cfb2f.system.entry.js +6 -0
- package/dist/calcite/p-ce8b973f.system.entry.js +6 -0
- package/dist/calcite/p-d270b62c.entry.js +6 -0
- package/dist/calcite/{p-2346e8b5.js → p-d281f769.js} +1 -1
- package/dist/calcite/{p-51534de9.system.js → p-d2ab4bdc.system.js} +1 -1
- package/dist/calcite/{p-ac5555ee.js → p-d3040412.js} +2 -2
- package/dist/calcite/p-d38ba3ff.entry.js +6 -0
- package/dist/calcite/{p-de06d5a7.entry.js → p-d5f69973.entry.js} +2 -2
- package/dist/calcite/p-d6831fe3.system.entry.js +6 -0
- package/dist/calcite/{p-e701122c.js → p-d741852a.js} +2 -2
- package/dist/calcite/{p-872dd7ba.system.js → p-d941f3d7.system.js} +1 -1
- package/dist/calcite/p-e0541094.system.entry.js +6 -0
- package/dist/calcite/{p-f411ee83.entry.js → p-e22b4af5.entry.js} +2 -2
- package/dist/calcite/p-e7ed03fe.entry.js +6 -0
- package/dist/calcite/p-e828a3b7.system.entry.js +6 -0
- package/dist/calcite/p-ea2143ca.entry.js +6 -0
- package/dist/calcite/{p-3c31971c.system.js → p-ec28cc42.system.js} +1 -1
- package/dist/calcite/p-f5da0db4.system.entry.js +6 -0
- package/dist/calcite/p-f5fddea4.system.entry.js +6 -0
- package/dist/calcite/p-f668746f.entry.js +6 -0
- package/dist/calcite/p-f6f30d24.js +6 -0
- package/dist/calcite/p-f810e95d.system.entry.js +6 -0
- package/dist/calcite/{p-1e18dd8f.js → p-f89e6de1.js} +1 -1
- package/dist/calcite/p-f9b4f2b0.entry.js +6 -0
- package/dist/calcite/p-fba03004.entry.js +6 -0
- package/dist/calcite/p-fbde199c.system.entry.js +6 -0
- package/dist/calcite/p-fc0b8a95.entry.js +6 -0
- package/dist/calcite/{p-8e404843.system.entry.js → p-fccd5648.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-cc8723f3.js → ExpandToggle-603be21c.js} +21 -10
- package/dist/cjs/{Heading-5e52526c.js → Heading-e26750e9.js} +2 -2
- package/dist/cjs/{array-57bcaf76.js → array-181cd592.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +83 -44
- package/dist/cjs/calcite-action-bar.cjs.entry.js +29 -21
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -32
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +31 -38
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -11
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +15 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +58 -83
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +65 -67
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +109 -142
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +100 -95
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -20
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -20
- package/dist/cjs/calcite-input.cjs.entry.js +14 -20
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +44 -16
- package/dist/cjs/calcite-notice.cjs.entry.js +37 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +54 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-popover_2.cjs.entry.js +72 -82
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +51 -84
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -13
- package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -61
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +31 -64
- package/dist/cjs/calcite-tree_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-e2c3d357.js → conditionalSlot-02fc5606.js} +3 -3
- package/dist/cjs/{debounce-e9a51e04.js → debounce-e4dd028c.js} +1 -1
- package/dist/cjs/{dom-1b4e0097.js → dom-e0f73c63.js} +2 -2
- package/dist/cjs/floating-ui-7f8ad32d.js +1620 -0
- package/dist/cjs/{forIn-6f2f1821.js → forIn-36af86fa.js} +2 -2
- package/dist/cjs/{form-09b0739e.js → form-59d6059f.js} +3 -3
- package/dist/cjs/{guid-f166e155.js → guid-955076f7.js} +1 -1
- package/dist/cjs/{index-341e1ec4.js → index-305cfbf8.js} +12 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-97aea507.js → interactive-300a5a8c.js} +1 -1
- package/dist/cjs/{interfaces-327e49ac.js → interfaces-f4ba9171.js} +1 -1
- package/dist/cjs/{key-7a6d198d.js → key-47458bff.js} +1 -1
- package/dist/cjs/{label-1b7bed3e.js → label-71cc342a.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-075bf13d.js → locale-197adffa.js} +2 -2
- package/dist/cjs/{math-da40a7f2.js → math-0d3c02ac.js} +1 -1
- package/dist/cjs/{observers-dea97623.js → observers-338f5a0e.js} +1 -1
- package/dist/cjs/{resources-7f821e18.js → resources-375506a4.js} +1 -1
- package/dist/cjs/{resources-f35c4b41.js → resources-377246d0.js} +3 -3
- package/dist/cjs/{resources-8e6a4847.js → resources-3aa3e75b.js} +5 -5
- package/dist/cjs/{resources-38083f60.js → resources-e62b43d8.js} +1 -1
- package/dist/cjs/{sortable.esm-1d891a3c.js → sortable.esm-cd2f8082.js} +1 -1
- package/dist/cjs/{utils-c2ab1f6b.js → utils-5f59cc7c.js} +1 -1
- package/dist/collection/components/accordion/accordion.css +3 -3
- package/dist/collection/components/accordion/accordion.js +25 -20
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +81 -63
- package/dist/collection/components/accordion-item/accordion-item.js +92 -48
- package/dist/collection/components/accordion-item/interfaces.js +6 -0
- package/dist/collection/components/accordion-item/resources.js +21 -0
- package/dist/collection/components/action/action.css +24 -22
- package/dist/collection/components/action/action.js +3 -3
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +35 -9
- package/dist/collection/components/action-bar/action-bar.js +48 -14
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +16 -6
- package/dist/collection/components/action-group/action-group.css +2 -2
- package/dist/collection/components/action-group/action-group.js +5 -5
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +3 -3
- package/dist/collection/components/action-menu/action-menu.js +25 -37
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +16 -13
- package/dist/collection/components/action-pad/action-pad.js +5 -5
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +41 -49
- package/dist/collection/components/alert/alert.js +52 -70
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +11 -11
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +15 -18
- package/dist/collection/components/block/block.js +12 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +11 -17
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +37 -37
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +23 -23
- package/dist/collection/components/card/card.js +6 -6
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +12 -14
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/chip/chip.css +27 -23
- package/dist/collection/components/chip/chip.js +39 -7
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +32 -29
- package/dist/collection/components/color-picker/color-picker.js +5 -5
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -7
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +12 -15
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +49 -45
- package/dist/collection/components/combobox/combobox.js +77 -111
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +21 -14
- package/dist/collection/components/combobox-item/combobox-item.js +9 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +13 -9
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.js +14 -14
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +23 -28
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -10
- package/dist/collection/components/date-picker-month/date-picker-month.css +14 -24
- package/dist/collection/components/date-picker-month/date-picker-month.js +41 -29
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +23 -33
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +20 -20
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +26 -18
- package/dist/collection/components/dropdown/dropdown.js +128 -174
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -4
- package/dist/collection/components/dropdown-group/dropdown-group.js +10 -5
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -17
- package/dist/collection/components/dropdown-item/dropdown-item.js +18 -13
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +7 -6
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +16 -18
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +4 -4
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +4 -4
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +3 -2
- package/dist/collection/components/handle/handle.js +9 -4
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +13 -13
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +12 -11
- package/dist/collection/components/inline-editable/inline-editable.js +19 -19
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +74 -96
- package/dist/collection/components/input/input.js +15 -16
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +70 -73
- package/dist/collection/components/input-date-picker/input-date-picker.js +162 -110
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +7 -7
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +47 -55
- package/dist/collection/components/input-number/input-number.js +15 -16
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +9 -11
- package/dist/collection/components/input-time-picker/input-time-picker.js +12 -20
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +15 -15
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +14 -13
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +8 -7
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +12 -15
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +2 -2
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +27 -31
- package/dist/collection/components/loader/loader.js +10 -3
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +77 -70
- package/dist/collection/components/modal/modal.js +78 -19
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +26 -34
- package/dist/collection/components/notice/notice.js +83 -12
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +3 -3
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +3 -3
- package/dist/collection/components/pagination/pagination.css +10 -14
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +39 -45
- package/dist/collection/components/panel/panel.js +105 -26
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +13 -12
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -7
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +15 -17
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +29 -34
- package/dist/collection/components/popover/popover.js +132 -91
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +9 -11
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +15 -17
- package/dist/collection/components/radio-button/radio-button.js +10 -10
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +2 -2
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -3
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +15 -17
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.css +7 -13
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +18 -20
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -11
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +22 -28
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +17 -24
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +11 -13
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +17 -20
- package/dist/collection/components/shell-panel/shell-panel.js +3 -3
- package/dist/collection/components/slider/slider.css +43 -44
- package/dist/collection/components/slider/slider.js +7 -7
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +6 -5
- package/dist/collection/components/sortable-list/sortable-list.js +3 -3
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +17 -18
- package/dist/collection/components/split-button/split-button.js +21 -11
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +6 -9
- package/dist/collection/components/stepper/stepper.js +26 -84
- package/dist/collection/components/stepper-item/stepper-item.css +103 -35
- package/dist/collection/components/stepper-item/stepper-item.js +41 -20
- package/dist/collection/components/switch/switch.css +28 -30
- package/dist/collection/components/switch/switch.js +12 -9
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +10 -13
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tab-nav/tab-nav.css +24 -25
- package/dist/collection/components/tab-nav/tab-nav.js +29 -29
- package/dist/collection/components/tab-title/tab-title.css +41 -50
- package/dist/collection/components/tab-title/tab-title.js +8 -8
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +21 -21
- package/dist/collection/components/tabs/tabs.js +20 -20
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +12 -11
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +14 -13
- package/dist/collection/components/tile-select/tile-select.js +3 -3
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +10 -9
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +11 -17
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +12 -15
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.css +2 -3
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +11 -16
- package/dist/collection/components/tip-manager/tip-manager.js +7 -7
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +25 -30
- package/dist/collection/components/tooltip/tooltip.js +35 -66
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +4 -1
- package/dist/collection/components/tree/tree.js +12 -12
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +18 -15
- package/dist/collection/components/tree-item/tree-item.js +10 -10
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +12 -11
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +12 -13
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +229 -0
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +2 -2
- package/dist/components/ExpandToggle.js +18 -8
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +5 -5
- package/dist/components/action-menu.js +9 -26
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +63 -26
- package/dist/components/calcite-accordion.js +18 -18
- package/dist/components/calcite-action-bar.js +23 -14
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +5 -5
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +28 -35
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +8 -4
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +6 -6
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +3 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +45 -70
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +3 -3
- package/dist/components/calcite-dropdown-item.js +9 -9
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +19 -19
- package/dist/components/calcite-input-date-picker.js +90 -84
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +5 -11
- package/dist/components/calcite-input-time-picker.js +9 -11
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +41 -13
- package/dist/components/calcite-notice.js +34 -7
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +50 -17
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +4 -4
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +5 -5
- package/dist/components/calcite-stepper-item.js +25 -21
- package/dist/components/calcite-stepper.js +26 -62
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +5 -5
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +26 -59
- package/dist/components/calcite-tree-item.js +12 -12
- package/dist/components/calcite-tree.js +13 -13
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +12 -5
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +6 -8
- package/dist/components/date-picker-month-header.js +21 -21
- package/dist/components/date-picker-month.js +19 -19
- package/dist/components/date-picker.js +15 -15
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +93 -125
- package/dist/components/filter.js +2 -2
- package/dist/components/floating-ui.js +1612 -0
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +5 -11
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +3 -3
- package/dist/components/loader.js +7 -3
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +64 -73
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -7
- package/dist/components/tab-nav.js +31 -31
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +21 -21
- package/dist/components/tile.js +3 -3
- package/dist/components/time-picker.js +3 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +2339 -2613
- package/dist/esm/{ExpandToggle-d1d9e1ba.js → ExpandToggle-9a766aef.js} +21 -11
- package/dist/esm/{Heading-383fa71b.js → Heading-1d8ac13b.js} +2 -2
- package/dist/esm/{array-d410a39a.js → array-01c0fc97.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +83 -44
- package/dist/esm/calcite-action-bar.entry.js +29 -21
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +15 -32
- package/dist/esm/calcite-action-pad.entry.js +12 -12
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +31 -38
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -11
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +15 -9
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +57 -82
- package/dist/esm/calcite-date-picker_4.entry.js +65 -67
- package/dist/esm/calcite-dropdown_3.entry.js +107 -140
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +11 -11
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker.entry.js +98 -93
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -20
- package/dist/esm/calcite-input-time-picker_2.entry.js +18 -20
- package/dist/esm/calcite-input.entry.js +14 -20
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +11 -11
- package/dist/esm/calcite-loader.entry.js +9 -5
- package/dist/esm/calcite-modal.entry.js +44 -16
- package/dist/esm/calcite-notice.entry.js +37 -12
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-panel.entry.js +54 -23
- package/dist/esm/calcite-pick-list_3.entry.js +14 -14
- package/dist/esm/calcite-popover_2.entry.js +70 -80
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +10 -10
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +7 -7
- package/dist/esm/calcite-stepper_2.entry.js +51 -84
- package/dist/esm/calcite-switch.entry.js +11 -13
- package/dist/esm/calcite-tab_4.entry.js +61 -61
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -12
- package/dist/esm/calcite-tooltip_2.entry.js +30 -63
- package/dist/esm/calcite-tree_2.entry.js +28 -28
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-ed64bd11.js → conditionalSlot-c6d33dce.js} +3 -3
- package/dist/esm/{debounce-8d38ec02.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm/{dom-56e9893d.js → dom-d90fe08d.js} +2 -2
- package/dist/esm/floating-ui-46c5b613.js +1612 -0
- package/dist/esm/{forIn-ef92de72.js → forIn-47801022.js} +2 -2
- package/dist/esm/{form-47a9f6d7.js → form-3b0e9050.js} +3 -3
- package/dist/esm/{guid-aa647a83.js → guid-ac825a40.js} +1 -1
- package/dist/esm/{index-b91be572.js → index-a3160f12.js} +12 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-44c800e7.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm/{interfaces-b0afabf7.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm/{key-fc19c8e8.js → key-95b5c356.js} +1 -1
- package/dist/esm/{label-e9cd6c74.js → label-78d76445.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-178bfaed.js → locale-855e3c53.js} +2 -2
- package/dist/esm/{math-c93b8397.js → math-4579adc8.js} +1 -1
- package/dist/esm/{observers-5d3efdea.js → observers-365eaca9.js} +1 -1
- package/dist/esm/{resources-0f20a53d.js → resources-4b4a5920.js} +3 -3
- package/dist/esm/{resources-3cebaf37.js → resources-5b92e29d.js} +1 -1
- package/dist/esm/{resources-fca4a472.js → resources-832f46ae.js} +1 -1
- package/dist/esm/{resources-5182df75.js → resources-994e0a78.js} +5 -5
- package/dist/esm/{sortable.esm-79d8d5b2.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm/{utils-24933089.js → utils-21e6f8f9.js} +1 -1
- package/dist/esm-es5/ExpandToggle-9a766aef.js +6 -0
- package/dist/esm-es5/Heading-1d8ac13b.js +6 -0
- package/dist/esm-es5/{array-d410a39a.js → array-01c0fc97.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +3 -3
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +3 -3
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-ed64bd11.js → conditionalSlot-c6d33dce.js} +2 -2
- package/dist/esm-es5/{debounce-8d38ec02.js → debounce-3e0197e5.js} +1 -1
- package/dist/esm-es5/{dom-56e9893d.js → dom-d90fe08d.js} +2 -2
- package/dist/esm-es5/floating-ui-46c5b613.js +6 -0
- package/dist/esm-es5/{forIn-ef92de72.js → forIn-47801022.js} +2 -2
- package/dist/esm-es5/{form-47a9f6d7.js → form-3b0e9050.js} +2 -2
- package/dist/esm-es5/{guid-aa647a83.js → guid-ac825a40.js} +1 -1
- package/dist/esm-es5/index-a3160f12.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-44c800e7.js → interactive-b44d43a3.js} +1 -1
- package/dist/esm-es5/{interfaces-b0afabf7.js → interfaces-3a88d705.js} +1 -1
- package/dist/esm-es5/{key-fc19c8e8.js → key-95b5c356.js} +1 -1
- package/dist/esm-es5/{label-e9cd6c74.js → label-78d76445.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-178bfaed.js → locale-855e3c53.js} +2 -2
- package/dist/esm-es5/{math-c93b8397.js → math-4579adc8.js} +1 -1
- package/dist/esm-es5/{observers-5d3efdea.js → observers-365eaca9.js} +1 -1
- package/dist/esm-es5/{resources-0f20a53d.js → resources-4b4a5920.js} +2 -2
- package/dist/esm-es5/{resources-3cebaf37.js → resources-5b92e29d.js} +1 -1
- package/dist/esm-es5/{resources-fca4a472.js → resources-832f46ae.js} +1 -1
- package/dist/esm-es5/{resources-5182df75.js → resources-994e0a78.js} +2 -2
- package/dist/esm-es5/{sortable.esm-79d8d5b2.js → sortable.esm-4ec6af7d.js} +1 -1
- package/dist/esm-es5/{utils-24933089.js → utils-21e6f8f9.js} +1 -1
- package/dist/extras/docs-json.json +442 -176
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +4 -4
- package/dist/types/components/accordion/interfaces.d.ts +3 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +13 -7
- package/dist/types/components/accordion-item/interfaces.d.ts +11 -0
- package/dist/types/components/accordion-item/resources.d.ts +16 -0
- package/dist/types/components/action/action.d.ts +1 -1
- package/dist/types/components/action-bar/action-bar.d.ts +10 -3
- package/dist/types/components/action-bar/utils.d.ts +9 -1
- package/dist/types/components/action-group/action-group.d.ts +2 -1
- package/dist/types/components/action-menu/action-menu.d.ts +8 -8
- package/dist/types/components/action-pad/action-pad.d.ts +1 -1
- package/dist/types/components/alert/alert.d.ts +20 -24
- package/dist/types/components/alert/interfaces.d.ts +3 -0
- package/dist/types/components/block/block.d.ts +6 -2
- package/dist/types/components/block-section/block-section.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/chip/chip.d.ts +14 -4
- package/dist/types/components/color-picker/color-picker.d.ts +2 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
- package/dist/types/components/combobox/combobox.d.ts +25 -28
- package/dist/types/components/combobox-item/combobox-item.d.ts +4 -2
- package/dist/types/components/date-picker/date-picker.d.ts +5 -5
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +3 -3
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +7 -7
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +30 -33
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +2 -2
- package/dist/types/components/dropdown-group/interfaces.d.ts +4 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -3
- package/dist/types/components/handle/handle.d.ts +4 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +6 -4
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +37 -26
- package/dist/types/components/input-number/input-number.d.ts +6 -4
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -5
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +5 -1
- package/dist/types/components/modal/modal.d.ts +23 -7
- package/dist/types/components/notice/notice.d.ts +22 -5
- package/dist/types/components/panel/panel.d.ts +20 -9
- package/dist/types/components/popover/PopoverManager.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +28 -15
- package/dist/types/components/radio-button/radio-button.d.ts +4 -4
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +1 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +3 -3
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +14 -6
- package/dist/types/components/stepper/interfaces.d.ts +0 -1
- package/dist/types/components/stepper/stepper.d.ts +4 -13
- package/dist/types/components/stepper-item/stepper-item.d.ts +2 -2
- package/dist/types/components/switch/switch.d.ts +5 -3
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +7 -7
- package/dist/types/components/tab-title/tab-title.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +8 -8
- package/dist/types/components/tile-select/tile-select.d.ts +1 -1
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/TooltipManager.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +6 -9
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree-item/tree-item.d.ts +2 -2
- package/dist/types/components.d.ts +263 -122
- package/dist/types/preact.d.ts +15 -9
- package/dist/types/utils/floating-ui.d.ts +109 -0
- package/hydrate/index.js +2344 -2610
- package/package.json +36 -32
- package/readme.md +2 -2
- package/dist/calcite/p-01bc4f23.system.entry.js +0 -6
- package/dist/calcite/p-03ab89b3.entry.js +0 -6
- package/dist/calcite/p-07fc31c0.entry.js +0 -6
- package/dist/calcite/p-0c5db9b8.entry.js +0 -6
- package/dist/calcite/p-0e40d02c.entry.js +0 -6
- package/dist/calcite/p-0f792340.system.entry.js +0 -6
- package/dist/calcite/p-1027d814.js +0 -6
- package/dist/calcite/p-119aebca.js +0 -6
- package/dist/calcite/p-1221c17a.system.entry.js +0 -6
- package/dist/calcite/p-167a2db7.system.entry.js +0 -6
- package/dist/calcite/p-16e47db7.entry.js +0 -6
- package/dist/calcite/p-181ee6d9.system.entry.js +0 -6
- package/dist/calcite/p-1c5b17ca.system.entry.js +0 -6
- package/dist/calcite/p-1fd12e92.system.entry.js +0 -6
- package/dist/calcite/p-202aa07d.entry.js +0 -6
- package/dist/calcite/p-2070ab78.system.entry.js +0 -6
- package/dist/calcite/p-24eaf308.system.entry.js +0 -6
- package/dist/calcite/p-27434c28.js +0 -6
- package/dist/calcite/p-27aa7d0a.entry.js +0 -6
- package/dist/calcite/p-2b38a81c.entry.js +0 -6
- package/dist/calcite/p-2d906cf6.system.entry.js +0 -6
- package/dist/calcite/p-2ff5a1cc.system.entry.js +0 -6
- package/dist/calcite/p-311ddd75.system.entry.js +0 -6
- package/dist/calcite/p-329709c2.system.entry.js +0 -6
- package/dist/calcite/p-3510aea1.entry.js +0 -6
- package/dist/calcite/p-35133da2.system.entry.js +0 -6
- package/dist/calcite/p-3ab2d1ea.system.entry.js +0 -6
- package/dist/calcite/p-3b70be07.system.entry.js +0 -6
- package/dist/calcite/p-3ebbb37d.system.js +0 -6
- package/dist/calcite/p-420a3057.js +0 -7
- package/dist/calcite/p-464affb7.system.entry.js +0 -6
- package/dist/calcite/p-47fced58.system.entry.js +0 -6
- package/dist/calcite/p-48f4e304.system.entry.js +0 -6
- package/dist/calcite/p-51f5e06e.system.entry.js +0 -6
- package/dist/calcite/p-522b5e9b.system.entry.js +0 -6
- package/dist/calcite/p-529c79b7.js +0 -6
- package/dist/calcite/p-53f28012.system.entry.js +0 -6
- package/dist/calcite/p-5a45c95e.entry.js +0 -6
- package/dist/calcite/p-5f2a1aeb.entry.js +0 -6
- package/dist/calcite/p-5fc629fa.entry.js +0 -6
- package/dist/calcite/p-618bd95d.system.entry.js +0 -6
- package/dist/calcite/p-6574a052.system.js +0 -6
- package/dist/calcite/p-6b2b5764.entry.js +0 -6
- package/dist/calcite/p-6da35717.entry.js +0 -6
- package/dist/calcite/p-6f11a56f.system.entry.js +0 -6
- package/dist/calcite/p-70d26d8a.entry.js +0 -6
- package/dist/calcite/p-729af11a.system.entry.js +0 -6
- package/dist/calcite/p-781a286e.system.js +0 -7
- package/dist/calcite/p-791b3dac.entry.js +0 -6
- package/dist/calcite/p-7c60287e.system.entry.js +0 -6
- package/dist/calcite/p-7d570799.system.js +0 -6
- package/dist/calcite/p-80d78601.system.entry.js +0 -6
- package/dist/calcite/p-86e69716.entry.js +0 -6
- package/dist/calcite/p-87f22854.entry.js +0 -6
- package/dist/calcite/p-88c828b4.entry.js +0 -6
- package/dist/calcite/p-8919c0b9.system.entry.js +0 -6
- package/dist/calcite/p-8a0b728e.entry.js +0 -6
- package/dist/calcite/p-8b11b14e.entry.js +0 -6
- package/dist/calcite/p-8c0d62c7.system.entry.js +0 -6
- package/dist/calcite/p-90e91f3f.entry.js +0 -6
- package/dist/calcite/p-92b62b73.entry.js +0 -6
- package/dist/calcite/p-9440f9a1.entry.js +0 -6
- package/dist/calcite/p-a0a60580.system.entry.js +0 -6
- package/dist/calcite/p-a1405997.entry.js +0 -6
- package/dist/calcite/p-a2fc3c01.system.entry.js +0 -6
- package/dist/calcite/p-a34e342b.entry.js +0 -6
- package/dist/calcite/p-a8a2f8d8.entry.js +0 -6
- package/dist/calcite/p-ad663d3e.system.entry.js +0 -6
- package/dist/calcite/p-ade94686.entry.js +0 -6
- package/dist/calcite/p-af8c886d.entry.js +0 -6
- package/dist/calcite/p-b15645e3.system.entry.js +0 -6
- package/dist/calcite/p-b1c2d29e.entry.js +0 -6
- package/dist/calcite/p-b765d1ce.entry.js +0 -6
- package/dist/calcite/p-b8ce9f3e.entry.js +0 -6
- package/dist/calcite/p-bb6b70d0.system.entry.js +0 -6
- package/dist/calcite/p-bc80710e.entry.js +0 -6
- package/dist/calcite/p-bcde536d.entry.js +0 -6
- package/dist/calcite/p-c03ca50d.system.entry.js +0 -6
- package/dist/calcite/p-c0612433.entry.js +0 -6
- package/dist/calcite/p-c0c270bf.entry.js +0 -6
- package/dist/calcite/p-c1131334.system.entry.js +0 -6
- package/dist/calcite/p-c6995296.system.entry.js +0 -6
- package/dist/calcite/p-c711143b.system.entry.js +0 -6
- package/dist/calcite/p-c9ee2385.entry.js +0 -6
- package/dist/calcite/p-cac75100.system.entry.js +0 -6
- package/dist/calcite/p-cb2a162f.system.entry.js +0 -6
- package/dist/calcite/p-cbe9b8f3.entry.js +0 -6
- package/dist/calcite/p-ce7d3daf.system.entry.js +0 -6
- package/dist/calcite/p-d00a839f.system.entry.js +0 -6
- package/dist/calcite/p-d0f6c70f.system.entry.js +0 -6
- package/dist/calcite/p-d37ad67f.system.entry.js +0 -6
- package/dist/calcite/p-d49fdd77.entry.js +0 -6
- package/dist/calcite/p-d54960f3.system.entry.js +0 -6
- package/dist/calcite/p-e2788410.system.entry.js +0 -6
- package/dist/calcite/p-e2da9506.entry.js +0 -6
- package/dist/calcite/p-e647dac1.system.entry.js +0 -6
- package/dist/calcite/p-ea95a1bc.entry.js +0 -6
- package/dist/calcite/p-ed126b82.system.entry.js +0 -6
- package/dist/calcite/p-ed372fd5.entry.js +0 -6
- package/dist/calcite/p-ee53e973.system.js +0 -6
- package/dist/calcite/p-f1134ced.entry.js +0 -6
- package/dist/calcite/p-f4d89bbe.system.js +0 -6
- package/dist/calcite/p-f80c1436.system.entry.js +0 -6
- package/dist/calcite/p-fb6c3b22.system.entry.js +0 -6
- package/dist/calcite/p-fe273bab.system.entry.js +0 -6
- package/dist/cjs/popper-ec16ae25.js +0 -1876
- package/dist/collection/utils/popper.js +0 -126
- package/dist/components/popper.js +0 -1868
- package/dist/esm/popper-e4716ebb.js +0 -1868
- package/dist/esm-es5/ExpandToggle-d1d9e1ba.js +0 -6
- package/dist/esm-es5/Heading-383fa71b.js +0 -6
- package/dist/esm-es5/index-b91be572.js +0 -7
- package/dist/esm-es5/popper-e4716ebb.js +0 -6
- package/dist/types/utils/popper.d.ts +0 -35
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const Heading = require('./Heading-
|
|
13
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
14
|
-
const observers = require('./observers-
|
|
15
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-305cfbf8.js');
|
|
11
|
+
const dom = require('./dom-e0f73c63.js');
|
|
12
|
+
const Heading = require('./Heading-e26750e9.js');
|
|
13
|
+
const conditionalSlot = require('./conditionalSlot-02fc5606.js');
|
|
14
|
+
const observers = require('./observers-338f5a0e.js');
|
|
15
|
+
require('./guid-955076f7.js');
|
|
16
16
|
|
|
17
17
|
const CSS$1 = {
|
|
18
18
|
header: "header",
|
|
@@ -61,7 +61,7 @@ const TEXT = {
|
|
|
61
61
|
};
|
|
62
62
|
const HEADING_LEVEL = (HEADING_LEVEL$1 + 1);
|
|
63
63
|
|
|
64
|
-
const tipCss = "@-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-
|
|
64
|
+
const tipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin:1rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-webkit-margin-after:0.5rem;margin-block-end:0.5rem}.header .heading{padding:0px;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:-ms-flexbox;display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){-webkit-margin-before:0px;margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";
|
|
65
65
|
|
|
66
66
|
const Tip = class {
|
|
67
67
|
constructor(hostRef) {
|
|
@@ -140,7 +140,7 @@ const Tip = class {
|
|
|
140
140
|
};
|
|
141
141
|
Tip.style = tipCss;
|
|
142
142
|
|
|
143
|
-
const tipGroupCss = "@-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-
|
|
143
|
+
const tipGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-block:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";
|
|
144
144
|
|
|
145
145
|
const TipGroup = class {
|
|
146
146
|
constructor(hostRef) {
|
|
@@ -152,7 +152,7 @@ const TipGroup = class {
|
|
|
152
152
|
};
|
|
153
153
|
TipGroup.style = tipGroupCss;
|
|
154
154
|
|
|
155
|
-
const tipManagerCss = "@-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-
|
|
155
|
+
const tipManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header h2.heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{-webkit-margin-before:1px;margin-block-start:1px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center;overflow:auto;outline-color:transparent;-webkit-animation-name:none;animation-name:none;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{-webkit-animation-name:tip-advance;animation-name:tip-advance}.tip-container--retreating{-webkit-animation-name:tip-retreat;animation-name:tip-retreat}.pagination{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@-webkit-keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-advance{0%{opacity:0;-webkit-transform:translate3d(50px, 0, 0) scale(0.99);transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@-webkit-keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;-webkit-transform:translate3d(-50px, 0, 0) scale(0.99);transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;-webkit-transform:translate3d(0, 0, 0) scale(1);transform:translate3d(0, 0, 0) scale(1)}}";
|
|
156
156
|
|
|
157
157
|
const TipManager = class {
|
|
158
158
|
constructor(hostRef) {
|
|
@@ -180,7 +180,7 @@ const TipManager = class {
|
|
|
180
180
|
this.nextClicked = () => {
|
|
181
181
|
this.nextTip();
|
|
182
182
|
};
|
|
183
|
-
this.
|
|
183
|
+
this.tipManagerKeyDownHandler = (event) => {
|
|
184
184
|
if (event.target !== this.container) {
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
@@ -297,7 +297,7 @@ const TipManager = class {
|
|
|
297
297
|
if (total === 0) {
|
|
298
298
|
return null;
|
|
299
299
|
}
|
|
300
|
-
return (index.h("section", { "aria-hidden": dom.toAriaBoolean(closed), class: CSS$1.container, hidden: closed,
|
|
300
|
+
return (index.h("section", { "aria-hidden": dom.toAriaBoolean(closed), class: CSS$1.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, ref: this.storeContainerRef, tabIndex: 0 }, index.h("header", { class: CSS$1.header }, index.h(Heading.Heading, { class: CSS$1.heading, level: headingLevel || HEADING_LEVEL$1 }, groupTitle), index.h("calcite-action", { class: CSS$1.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, index.h("calcite-icon", { icon: ICONS$1.close, scale: "m" }))), index.h("div", { class: {
|
|
301
301
|
[CSS$1.tipContainer]: true,
|
|
302
302
|
[CSS$1.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
303
303
|
[CSS$1.tipContainerRetreating]: !closed && direction === "retreating"
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const
|
|
13
|
-
const dom = require('./dom-
|
|
10
|
+
const index = require('./index-305cfbf8.js');
|
|
11
|
+
const guid = require('./guid-955076f7.js');
|
|
12
|
+
const floatingUi = require('./floating-ui-7f8ad32d.js');
|
|
13
|
+
const dom = require('./dom-e0f73c63.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
container: "container",
|
|
@@ -175,7 +175,7 @@ class TooltipManager$1 {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
const tooltipCss = "@-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-
|
|
178
|
+
const tooltipCss = "@-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;position:absolute;z-index:999;-webkit-transform:scale(0);transform:scale(0)}.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}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px 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);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}.container{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
179
179
|
|
|
180
180
|
const manager = new TooltipManager$1();
|
|
181
181
|
const Tooltip = class {
|
|
@@ -193,7 +193,7 @@ const Tooltip = class {
|
|
|
193
193
|
*
|
|
194
194
|
* @default 6
|
|
195
195
|
*/
|
|
196
|
-
this.offsetDistance =
|
|
196
|
+
this.offsetDistance = floatingUi.defaultOffsetDistance;
|
|
197
197
|
/**
|
|
198
198
|
* Offset the position of the component along the `referenceElement`.
|
|
199
199
|
*/
|
|
@@ -207,7 +207,7 @@ const Tooltip = class {
|
|
|
207
207
|
/**
|
|
208
208
|
* Determines where the component will be positioned relative to the `referenceElement`.
|
|
209
209
|
*
|
|
210
|
-
* @see [
|
|
210
|
+
* @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
|
|
211
211
|
*/
|
|
212
212
|
this.placement = "auto";
|
|
213
213
|
this.guid = `calcite-tooltip-${guid.guid()}`;
|
|
@@ -219,6 +219,7 @@ const Tooltip = class {
|
|
|
219
219
|
this.setUpReferenceElement = () => {
|
|
220
220
|
this.removeReferences();
|
|
221
221
|
this.effectiveReferenceElement = this.getReferenceElement();
|
|
222
|
+
floatingUi.connectFloatingUI(this, this.effectiveReferenceElement, this.el);
|
|
222
223
|
const { el, referenceElement, effectiveReferenceElement } = this;
|
|
223
224
|
if (referenceElement && !effectiveReferenceElement) {
|
|
224
225
|
console.warn(`${el.tagName}: reference-element id "${referenceElement}" was not found.`, {
|
|
@@ -226,7 +227,6 @@ const Tooltip = class {
|
|
|
226
227
|
});
|
|
227
228
|
}
|
|
228
229
|
this.addReferences();
|
|
229
|
-
this.createPopper();
|
|
230
230
|
};
|
|
231
231
|
this.getId = () => {
|
|
232
232
|
return this.el.id || this.guid;
|
|
@@ -262,6 +262,9 @@ const Tooltip = class {
|
|
|
262
262
|
openHandler() {
|
|
263
263
|
this.reposition();
|
|
264
264
|
}
|
|
265
|
+
overlayPositioningHandler() {
|
|
266
|
+
this.reposition();
|
|
267
|
+
}
|
|
265
268
|
placementHandler() {
|
|
266
269
|
this.reposition();
|
|
267
270
|
}
|
|
@@ -273,6 +276,9 @@ const Tooltip = class {
|
|
|
273
276
|
// Lifecycle
|
|
274
277
|
//
|
|
275
278
|
// --------------------------------------------------------------------------
|
|
279
|
+
connectedCallback() {
|
|
280
|
+
floatingUi.connectFloatingUI(this, this.effectiveReferenceElement, this.el);
|
|
281
|
+
}
|
|
276
282
|
componentWillLoad() {
|
|
277
283
|
this.setUpReferenceElement();
|
|
278
284
|
}
|
|
@@ -281,7 +287,7 @@ const Tooltip = class {
|
|
|
281
287
|
}
|
|
282
288
|
disconnectedCallback() {
|
|
283
289
|
this.removeReferences();
|
|
284
|
-
this.
|
|
290
|
+
floatingUi.disconnectFloatingUI(this, this.effectiveReferenceElement, this.el);
|
|
285
291
|
}
|
|
286
292
|
// --------------------------------------------------------------------------
|
|
287
293
|
//
|
|
@@ -290,16 +296,17 @@ const Tooltip = class {
|
|
|
290
296
|
// --------------------------------------------------------------------------
|
|
291
297
|
/** Updates the position of the component. */
|
|
292
298
|
async reposition() {
|
|
293
|
-
const {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
:
|
|
299
|
+
const { el, effectiveReferenceElement, placement, overlayPositioning, offsetDistance, offsetSkidding, arrowEl } = this;
|
|
300
|
+
return floatingUi.positionFloatingUI({
|
|
301
|
+
floatingEl: el,
|
|
302
|
+
referenceEl: effectiveReferenceElement,
|
|
303
|
+
overlayPositioning,
|
|
304
|
+
placement,
|
|
305
|
+
offsetDistance,
|
|
306
|
+
offsetSkidding,
|
|
307
|
+
arrowEl,
|
|
308
|
+
type: "tooltip"
|
|
309
|
+
});
|
|
303
310
|
}
|
|
304
311
|
getReferenceElement() {
|
|
305
312
|
const { referenceElement, el } = this;
|
|
@@ -307,47 +314,6 @@ const Tooltip = class {
|
|
|
307
314
|
? dom.queryElementRoots(el, { id: referenceElement })
|
|
308
315
|
: referenceElement) || null);
|
|
309
316
|
}
|
|
310
|
-
getModifiers() {
|
|
311
|
-
const { arrowEl, offsetDistance, offsetSkidding } = this;
|
|
312
|
-
const arrowModifier = {
|
|
313
|
-
name: "arrow",
|
|
314
|
-
enabled: true,
|
|
315
|
-
options: {
|
|
316
|
-
element: arrowEl
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
const offsetModifier = {
|
|
320
|
-
name: "offset",
|
|
321
|
-
enabled: true,
|
|
322
|
-
options: {
|
|
323
|
-
offset: [offsetSkidding, offsetDistance]
|
|
324
|
-
}
|
|
325
|
-
};
|
|
326
|
-
const eventListenerModifier = {
|
|
327
|
-
name: "eventListeners",
|
|
328
|
-
enabled: this.open
|
|
329
|
-
};
|
|
330
|
-
return [arrowModifier, offsetModifier, eventListenerModifier];
|
|
331
|
-
}
|
|
332
|
-
createPopper() {
|
|
333
|
-
this.destroyPopper();
|
|
334
|
-
const { el, placement, effectiveReferenceElement: referenceEl, overlayPositioning } = this;
|
|
335
|
-
const modifiers = this.getModifiers();
|
|
336
|
-
this.popper = popper.createPopper({
|
|
337
|
-
el,
|
|
338
|
-
modifiers,
|
|
339
|
-
placement,
|
|
340
|
-
overlayPositioning,
|
|
341
|
-
referenceEl
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
destroyPopper() {
|
|
345
|
-
const { popper } = this;
|
|
346
|
-
if (popper) {
|
|
347
|
-
popper.destroy();
|
|
348
|
-
}
|
|
349
|
-
this.popper = null;
|
|
350
|
-
}
|
|
351
317
|
// --------------------------------------------------------------------------
|
|
352
318
|
//
|
|
353
319
|
// Render Methods
|
|
@@ -358,8 +324,8 @@ const Tooltip = class {
|
|
|
358
324
|
const displayed = effectiveReferenceElement && open;
|
|
359
325
|
const hidden = !displayed;
|
|
360
326
|
return (index.h(index.Host, { "aria-hidden": dom.toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, index.h("div", { class: {
|
|
361
|
-
[
|
|
362
|
-
[
|
|
327
|
+
[floatingUi.FloatingCSS.animation]: true,
|
|
328
|
+
[floatingUi.FloatingCSS.animationActive]: displayed
|
|
363
329
|
} }, index.h("div", { class: CSS.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), index.h("div", { class: CSS.container }, index.h("slot", null)))));
|
|
364
330
|
}
|
|
365
331
|
get el() { return index.getElement(this); }
|
|
@@ -367,13 +333,14 @@ const Tooltip = class {
|
|
|
367
333
|
"offsetDistance": ["offsetDistanceOffsetHandler"],
|
|
368
334
|
"offsetSkidding": ["offsetSkiddingHandler"],
|
|
369
335
|
"open": ["openHandler"],
|
|
336
|
+
"overlayPositioning": ["overlayPositioningHandler"],
|
|
370
337
|
"placement": ["placementHandler"],
|
|
371
338
|
"referenceElement": ["referenceElementHandler"]
|
|
372
339
|
}; }
|
|
373
340
|
};
|
|
374
341
|
Tooltip.style = tooltipCss;
|
|
375
342
|
|
|
376
|
-
const tooltipManagerCss = "@-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-
|
|
343
|
+
const tooltipManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";
|
|
377
344
|
|
|
378
345
|
const TooltipManager = class {
|
|
379
346
|
constructor(hostRef) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.88
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
13
|
-
require('./guid-
|
|
14
|
-
require('./observers-
|
|
10
|
+
const index = require('./index-305cfbf8.js');
|
|
11
|
+
const dom = require('./dom-e0f73c63.js');
|
|
12
|
+
const conditionalSlot = require('./conditionalSlot-02fc5606.js');
|
|
13
|
+
require('./guid-955076f7.js');
|
|
14
|
+
require('./observers-338f5a0e.js');
|
|
15
15
|
|
|
16
16
|
var TreeSelectionMode;
|
|
17
17
|
(function (TreeSelectionMode) {
|
|
@@ -22,7 +22,7 @@ var TreeSelectionMode;
|
|
|
22
22
|
TreeSelectionMode["Ancestors"] = "ancestors";
|
|
23
23
|
})(TreeSelectionMode || (TreeSelectionMode = {}));
|
|
24
24
|
|
|
25
|
-
const treeCss = "@-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-
|
|
25
|
+
const treeCss = "@-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}:host(:focus){outline:2px solid transparent;outline-offset:2px}";
|
|
26
26
|
|
|
27
27
|
const Tree = class {
|
|
28
28
|
constructor(hostRef) {
|
|
@@ -94,18 +94,18 @@ const Tree = class {
|
|
|
94
94
|
this.el.tabIndex = this.getRootTabIndex();
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
onClick(
|
|
98
|
-
const target =
|
|
97
|
+
onClick(event) {
|
|
98
|
+
const target = event.target;
|
|
99
99
|
const childItems = dom.nodeListToArray(target.querySelectorAll("calcite-tree-item"));
|
|
100
100
|
if (this.child) {
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
103
|
if (!this.child) {
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
event.preventDefault();
|
|
105
|
+
event.stopPropagation();
|
|
106
106
|
}
|
|
107
107
|
if (this.selectionMode === TreeSelectionMode.Ancestors && !this.child) {
|
|
108
|
-
this.updateAncestorTree(
|
|
108
|
+
this.updateAncestorTree(event);
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
const shouldSelect = this.selectionMode !== null &&
|
|
@@ -113,7 +113,7 @@ const Tree = class {
|
|
|
113
113
|
(target.hasChildren &&
|
|
114
114
|
(this.selectionMode === TreeSelectionMode.Children ||
|
|
115
115
|
this.selectionMode === TreeSelectionMode.MultiChildren)));
|
|
116
|
-
const shouldModifyToCurrentSelection =
|
|
116
|
+
const shouldModifyToCurrentSelection = event.detail.modifyCurrentSelection &&
|
|
117
117
|
(this.selectionMode === TreeSelectionMode.Multi ||
|
|
118
118
|
this.selectionMode === TreeSelectionMode.MultiChildren);
|
|
119
119
|
const shouldSelectChildren = this.selectionMode === TreeSelectionMode.MultiChildren ||
|
|
@@ -144,14 +144,14 @@ const Tree = class {
|
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
if (shouldExpandTarget && !
|
|
147
|
+
if (shouldExpandTarget && !event.detail.forceToggle) {
|
|
148
148
|
target.expanded = true;
|
|
149
149
|
}
|
|
150
150
|
if (shouldModifyToCurrentSelection) {
|
|
151
151
|
window.getSelection().removeAllRanges();
|
|
152
152
|
}
|
|
153
153
|
if ((shouldModifyToCurrentSelection && target.selected) ||
|
|
154
|
-
(shouldSelectChildren &&
|
|
154
|
+
(shouldSelectChildren && event.detail.forceToggle)) {
|
|
155
155
|
targetItems.forEach((treeItem) => {
|
|
156
156
|
treeItem.selected = false;
|
|
157
157
|
});
|
|
@@ -165,7 +165,7 @@ const Tree = class {
|
|
|
165
165
|
this.calciteTreeSelect.emit({
|
|
166
166
|
selected: dom.nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected)
|
|
167
167
|
});
|
|
168
|
-
|
|
168
|
+
event.stopPropagation();
|
|
169
169
|
}
|
|
170
170
|
keyDownHandler(event) {
|
|
171
171
|
var _a;
|
|
@@ -222,8 +222,8 @@ const Tree = class {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
updateAncestorTree(
|
|
226
|
-
const item =
|
|
225
|
+
updateAncestorTree(event) {
|
|
226
|
+
const item = event.target;
|
|
227
227
|
const children = item.querySelectorAll("calcite-tree-item");
|
|
228
228
|
const ancestors = [];
|
|
229
229
|
let parent = item.parentElement.closest("calcite-tree-item");
|
|
@@ -287,7 +287,7 @@ const ICONS = {
|
|
|
287
287
|
chevronRight: "chevron-right"
|
|
288
288
|
};
|
|
289
289
|
|
|
290
|
-
const treeItemCss = "@-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-
|
|
290
|
+
const treeItemCss = "@-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;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;inline-size:1px;transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-property:color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:\"\";background-color:var(--calcite-ui-border-2);z-index:-1}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;-webkit-text-decoration-line:none;text-decoration-line:none}:host{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;-webkit-margin-start:1.25rem;margin-inline-start:1.25rem;-webkit-transform:scaleY(0);transform:scaleY(0);opacity:0;-webkit-transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;-webkit-transform-origin:top;transform-origin:top}:host([expanded])>.children-container{-webkit-transform:scaleY(1);transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus) .node-container .checkmark,:host(:focus) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.25rem;padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{-webkit-margin-start:0;margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;-ms-flex-item-align:center;align-self:center;color:var(--calcite-ui-text-3);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.calcite--rtl .chevron{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}";
|
|
291
291
|
|
|
292
292
|
const TreeItem = class {
|
|
293
293
|
constructor(hostRef) {
|
|
@@ -429,11 +429,11 @@ const TreeItem = class {
|
|
|
429
429
|
// Event Listeners
|
|
430
430
|
//
|
|
431
431
|
//--------------------------------------------------------------------------
|
|
432
|
-
onClick(
|
|
432
|
+
onClick(event) {
|
|
433
433
|
// Solve for if the item is clicked somewhere outside the slotted anchor.
|
|
434
434
|
// Anchor is triggered anywhere you click
|
|
435
435
|
const [link] = dom.filterDirectChildren(this.el, "a");
|
|
436
|
-
if (link &&
|
|
436
|
+
if (link && event.composedPath()[0].tagName.toLowerCase() !== "a") {
|
|
437
437
|
const target = link.target === "" ? "_self" : link.target;
|
|
438
438
|
window.open(link.href, target);
|
|
439
439
|
}
|
|
@@ -442,19 +442,19 @@ const TreeItem = class {
|
|
|
442
442
|
forceToggle: false
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
|
-
keyDownHandler(
|
|
445
|
+
keyDownHandler(event) {
|
|
446
446
|
let root;
|
|
447
|
-
switch (
|
|
447
|
+
switch (event.key) {
|
|
448
448
|
case " ":
|
|
449
449
|
this.calciteInternalTreeItemSelect.emit({
|
|
450
450
|
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
451
451
|
forceToggle: false
|
|
452
452
|
});
|
|
453
|
-
|
|
453
|
+
event.preventDefault();
|
|
454
454
|
break;
|
|
455
455
|
case "Enter":
|
|
456
456
|
// activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
|
|
457
|
-
const link = dom.nodeListToArray(this.el.children).find((
|
|
457
|
+
const link = dom.nodeListToArray(this.el.children).find((el) => el.matches("a"));
|
|
458
458
|
if (link) {
|
|
459
459
|
link.click();
|
|
460
460
|
this.selected = true;
|
|
@@ -465,7 +465,7 @@ const TreeItem = class {
|
|
|
465
465
|
forceToggle: false
|
|
466
466
|
});
|
|
467
467
|
}
|
|
468
|
-
|
|
468
|
+
event.preventDefault();
|
|
469
469
|
break;
|
|
470
470
|
case "Home":
|
|
471
471
|
root = this.el.closest("calcite-tree:not([child])");
|
|
@@ -475,10 +475,10 @@ const TreeItem = class {
|
|
|
475
475
|
case "End":
|
|
476
476
|
root = this.el.closest("calcite-tree:not([child])");
|
|
477
477
|
let currentNode = root.children[root.children.length - 1]; // last child
|
|
478
|
-
let currentTree = dom.nodeListToArray(currentNode.children).find((
|
|
478
|
+
let currentTree = dom.nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
|
|
479
479
|
while (currentTree) {
|
|
480
480
|
currentNode = currentTree.children[root.children.length - 1];
|
|
481
|
-
currentTree = dom.nodeListToArray(currentNode.children).find((
|
|
481
|
+
currentTree = dom.nodeListToArray(currentNode.children).find((el) => el.matches("calcite-tree"));
|
|
482
482
|
}
|
|
483
483
|
currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();
|
|
484
484
|
break;
|