@esri/calcite-components 1.0.0-beta.86 → 1.0.0-beta.89
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-645da33b.entry.js → p-025d7d38.entry.js} +2 -2
- package/dist/calcite/p-02ea3541.entry.js +6 -0
- package/dist/calcite/{p-64abac3a.system.js → p-056f3ea3.system.js} +1 -1
- package/dist/calcite/p-06bfa7f4.js +6 -0
- package/dist/calcite/{p-ae579245.js → p-06fc9fd6.js} +2 -2
- package/dist/calcite/p-07ac44fd.system.entry.js +6 -0
- package/dist/calcite/{p-8e962e28.system.js → p-0b38cf5e.system.js} +1 -1
- package/dist/calcite/{p-b4afbab0.js → p-1003dcd4.js} +1 -1
- package/dist/calcite/p-106d714c.entry.js +6 -0
- package/dist/calcite/p-119c7d93.js +6 -0
- package/dist/calcite/p-1483d257.system.entry.js +6 -0
- package/dist/calcite/{p-8d7bcbbe.system.js → p-19974612.system.js} +1 -1
- package/dist/calcite/p-1d27e1b2.system.entry.js +6 -0
- package/dist/calcite/{p-f1b829e3.system.entry.js → p-1d528e3a.system.entry.js} +2 -2
- package/dist/calcite/{p-aa40e505.entry.js → p-1dd3c731.entry.js} +2 -2
- package/dist/calcite/p-1fca19bd.entry.js +6 -0
- package/dist/calcite/p-21263865.system.entry.js +6 -0
- package/dist/calcite/p-2172c393.entry.js +6 -0
- package/dist/calcite/p-224b93e9.entry.js +6 -0
- package/dist/calcite/p-251b6d61.js +6 -0
- package/dist/calcite/p-25287fea.entry.js +6 -0
- package/dist/calcite/p-25b0526d.entry.js +6 -0
- package/dist/calcite/p-2806e475.system.entry.js +6 -0
- package/dist/calcite/p-2a7f48fa.entry.js +6 -0
- package/dist/calcite/{p-bc9c9c9b.js → p-2ac8bf37.js} +2 -2
- package/dist/calcite/p-2c07319a.system.entry.js +6 -0
- package/dist/calcite/{p-336d62ab.js → p-2cb5dffe.js} +1 -1
- package/dist/calcite/p-2d1a1a9b.entry.js +6 -0
- package/dist/calcite/{p-694231fe.system.js → p-2d439f5c.system.js} +1 -1
- package/dist/calcite/p-2d63dd1d.system.entry.js +6 -0
- package/dist/calcite/p-2f430a5b.system.entry.js +6 -0
- package/dist/calcite/{p-4c3e960e.js → p-313ff745.js} +2 -2
- package/dist/calcite/{p-786ca76b.system.js → p-317e13b4.system.js} +1 -1
- package/dist/calcite/p-325d5fc2.system.entry.js +6 -0
- package/dist/calcite/p-3278a041.entry.js +6 -0
- package/dist/calcite/p-34dc627d.system.entry.js +6 -0
- package/dist/calcite/p-355c3b49.entry.js +6 -0
- package/dist/calcite/{p-bbbf6fcb.system.entry.js → p-36d43f5d.system.entry.js} +2 -2
- package/dist/calcite/{p-12bca4f1.system.js → p-376901f2.system.js} +1 -1
- package/dist/calcite/p-395d5d81.system.entry.js +6 -0
- package/dist/calcite/p-3a02a16e.system.entry.js +6 -0
- package/dist/calcite/p-3afd8219.js +6 -0
- package/dist/calcite/{p-4c62aae1.system.js → p-3f0fb908.system.js} +2 -2
- package/dist/calcite/p-40ef7538.system.entry.js +6 -0
- package/dist/calcite/p-44a164a5.system.entry.js +6 -0
- package/dist/calcite/p-44c827f6.entry.js +6 -0
- package/dist/calcite/p-44fa20c3.system.entry.js +6 -0
- package/dist/calcite/p-46fcc80b.system.js +6 -0
- package/dist/calcite/{p-4a1a8fac.entry.js → p-4dbd7d99.entry.js} +2 -2
- package/dist/calcite/p-4dfe59ba.entry.js +6 -0
- package/dist/calcite/{p-f8798ee9.system.js → p-4e7eccae.system.js} +2 -2
- package/dist/calcite/p-4ed94b0c.entry.js +6 -0
- package/dist/calcite/p-4f77ab07.system.entry.js +6 -0
- package/dist/calcite/{p-97fef747.system.entry.js → p-51b5c16b.system.entry.js} +2 -2
- package/dist/calcite/p-52a9c9ac.system.entry.js +6 -0
- package/dist/calcite/{p-7624aeb6.system.entry.js → p-5548019b.system.entry.js} +2 -2
- package/dist/calcite/p-5986be6a.system.entry.js +6 -0
- package/dist/calcite/p-5d19ba12.system.entry.js +6 -0
- package/dist/calcite/p-5e00d81b.entry.js +6 -0
- package/dist/calcite/p-5e67de08.system.entry.js +6 -0
- package/dist/calcite/{p-29c3c079.system.js → p-5f640381.system.js} +1 -1
- package/dist/calcite/{p-da045e5a.system.js → p-5fc1eb80.system.js} +2 -2
- package/dist/calcite/{p-85fab359.entry.js → p-61ac6255.entry.js} +2 -2
- package/dist/calcite/{p-cfbd1180.entry.js → p-65714f09.entry.js} +2 -2
- package/dist/calcite/{p-4178c522.system.entry.js → p-66031b70.system.entry.js} +2 -2
- package/dist/calcite/{p-8f789b45.js → p-662dc451.js} +1 -1
- package/dist/calcite/{p-4f206065.system.js → p-66f20a2d.system.js} +2 -2
- package/dist/calcite/p-68c2e792.system.entry.js +6 -0
- package/dist/calcite/p-696189d3.entry.js +6 -0
- package/dist/calcite/p-698aa1c5.system.entry.js +6 -0
- package/dist/calcite/p-6bc01f5f.system.entry.js +6 -0
- package/dist/calcite/{p-29c6691b.js → p-6c22ae2a.js} +1 -1
- package/dist/calcite/p-6f870d52.entry.js +6 -0
- package/dist/calcite/p-6ff70b1f.system.entry.js +6 -0
- package/dist/calcite/{p-e6ad54a7.js → p-71484298.js} +1 -1
- package/dist/calcite/p-738f23ab.system.entry.js +6 -0
- package/dist/calcite/p-75052b74.entry.js +6 -0
- package/dist/calcite/p-758a0313.entry.js +6 -0
- package/dist/calcite/{p-7f519a6f.js → p-76369b99.js} +2 -2
- package/dist/calcite/p-76dcc963.entry.js +6 -0
- package/dist/calcite/{p-8a1593db.system.js → p-794ef1c9.system.js} +1 -1
- package/dist/calcite/p-7a6d2cfd.js +6 -0
- package/dist/calcite/p-7a6e0092.entry.js +6 -0
- package/dist/calcite/p-7dbc88f0.system.entry.js +6 -0
- package/dist/calcite/p-7f536f37.system.entry.js +6 -0
- package/dist/calcite/p-7f5a9744.system.js +6 -0
- package/dist/calcite/p-7f7a2070.entry.js +6 -0
- package/dist/calcite/{p-6c4c7404.system.entry.js → p-81c838da.system.entry.js} +2 -2
- package/dist/calcite/{p-078aa8cf.system.js → p-83b7daee.system.js} +1 -1
- package/dist/calcite/p-85b04b39.system.entry.js +6 -0
- package/dist/calcite/{p-1f289404.entry.js → p-85c94bde.entry.js} +2 -2
- package/dist/calcite/p-85cfc2a7.system.js +6 -0
- package/dist/calcite/{p-741a874b.js → p-868413c4.js} +1 -1
- package/dist/calcite/{p-2ce0209d.system.js → p-8785912e.system.js} +1 -1
- package/dist/calcite/p-8871b3b2.system.entry.js +6 -0
- package/dist/calcite/p-89dcad49.entry.js +6 -0
- package/dist/calcite/p-8bfecbf1.system.entry.js +6 -0
- package/dist/calcite/p-8dfb2a49.system.entry.js +6 -0
- package/dist/calcite/{p-f00b1294.entry.js → p-8e262d98.entry.js} +2 -2
- package/dist/calcite/p-90124757.system.entry.js +6 -0
- package/dist/calcite/{p-2c78140e.js → p-902f9dfe.js} +1 -1
- package/dist/calcite/p-90413eb8.entry.js +6 -0
- package/dist/calcite/p-9279086f.entry.js +6 -0
- package/dist/calcite/{p-f70b3399.js → p-92d33ef8.js} +1 -1
- package/dist/calcite/p-93581d65.entry.js +6 -0
- package/dist/calcite/p-93e2c809.entry.js +6 -0
- package/dist/calcite/{p-660b54aa.system.js → p-94556892.system.js} +2 -2
- package/dist/calcite/{p-2efde396.js → p-948ed6bd.js} +2 -2
- package/dist/calcite/{p-17bb1d46.system.js → p-957ac2e6.system.js} +1 -1
- package/dist/calcite/p-995b06cf.entry.js +6 -0
- package/dist/calcite/p-9c682b55.system.entry.js +6 -0
- package/dist/calcite/p-9cff8f59.entry.js +6 -0
- package/dist/calcite/{p-9d82f6ba.system.js → p-9d398103.system.js} +2 -2
- package/dist/calcite/p-a15628f9.system.entry.js +6 -0
- package/dist/calcite/{p-e2a9bc3c.js → p-a1847f2c.js} +1 -1
- package/dist/calcite/{p-36183756.system.entry.js → p-a24254c4.system.entry.js} +2 -2
- package/dist/calcite/{p-bdbeb0b8.system.js → p-a5ff2716.system.js} +3 -3
- package/dist/calcite/{p-72ac5927.entry.js → p-a944dd17.entry.js} +2 -2
- package/dist/calcite/p-a9ec85ad.system.entry.js +6 -0
- package/dist/calcite/p-ab4d5eba.system.entry.js +6 -0
- package/dist/calcite/p-ac1d3121.entry.js +6 -0
- package/dist/calcite/p-acca3644.system.entry.js +6 -0
- package/dist/calcite/p-ad73fc52.system.entry.js +6 -0
- package/dist/calcite/p-ad85b30b.system.entry.js +6 -0
- package/dist/calcite/p-adb90152.system.entry.js +6 -0
- package/dist/calcite/{p-ba04d4a6.system.js → p-b1593fd6.system.js} +1 -1
- package/dist/calcite/p-b2d2e857.entry.js +6 -0
- package/dist/calcite/p-b4d58ff4.entry.js +6 -0
- package/dist/calcite/{p-9c3e33db.system.entry.js → p-b55e89ba.system.entry.js} +2 -2
- package/dist/calcite/p-b8ba96b7.system.entry.js +6 -0
- package/dist/calcite/p-b95e4b20.entry.js +6 -0
- package/dist/calcite/{p-9191aae7.system.js → p-ba1168ae.system.js} +1 -1
- package/dist/calcite/{p-52474c34.entry.js → p-ba4637e7.entry.js} +2 -2
- package/dist/calcite/p-bab1f14e.entry.js +6 -0
- package/dist/calcite/p-bd2be3f5.entry.js +6 -0
- package/dist/calcite/p-bd2e7fe8.system.entry.js +6 -0
- package/dist/calcite/{p-d313af3b.entry.js → p-be08dcbd.entry.js} +2 -2
- package/dist/calcite/{p-6e59222f.entry.js → p-c027aef8.entry.js} +2 -2
- package/dist/calcite/p-c190d30c.entry.js +6 -0
- package/dist/calcite/p-c92c4d1b.entry.js +6 -0
- package/dist/calcite/p-caa785ff.entry.js +6 -0
- package/dist/calcite/p-cbe1acb3.system.entry.js +6 -0
- package/dist/calcite/{p-a5318c00.entry.js → p-ce3424f9.entry.js} +2 -2
- package/dist/calcite/p-cf730667.entry.js +6 -0
- package/dist/calcite/{p-8e5b28c2.js → p-d0819cad.js} +1 -1
- package/dist/calcite/p-d1c1035b.system.entry.js +6 -0
- package/dist/calcite/p-d4542664.system.entry.js +6 -0
- package/dist/calcite/p-d59fd4ca.entry.js +6 -0
- package/dist/calcite/p-da136364.system.js +6 -0
- package/dist/calcite/p-dd30f3b3.system.entry.js +6 -0
- package/dist/calcite/p-dfe2dca8.system.entry.js +6 -0
- package/dist/calcite/{p-d713b734.system.js → p-e2759901.system.js} +1 -1
- package/dist/calcite/{p-33e02930.entry.js → p-e5211d71.entry.js} +2 -2
- package/dist/calcite/{p-94e059ed.system.js → p-e5403660.system.js} +2 -2
- package/dist/calcite/{p-038a1a34.js → p-e6c4aa14.js} +1 -1
- package/dist/calcite/{p-a2b65dca.entry.js → p-e6f222af.entry.js} +2 -2
- package/dist/calcite/{p-99306484.entry.js → p-e8128e9a.entry.js} +2 -2
- package/dist/calcite/p-e86b7099.entry.js +6 -0
- package/dist/calcite/{p-f54622d6.js → p-edf40370.js} +1 -1
- package/dist/calcite/{p-7bdab3f4.js → p-ee94abb7.js} +1 -1
- package/dist/calcite/p-efc7d73b.entry.js +6 -0
- package/dist/calcite/p-f29b59a6.entry.js +6 -0
- package/dist/calcite/{p-2f717afb.js → p-f33e8b92.js} +2 -2
- package/dist/calcite/{p-2f906310.system.entry.js → p-f5111eb8.system.entry.js} +2 -2
- package/dist/calcite/p-f6525305.system.entry.js +6 -0
- package/dist/calcite/p-ff119586.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-62479ccb.js → ExpandToggle-20d1925e.js} +21 -10
- package/dist/cjs/{Heading-f792c5a6.js → Heading-855fbab6.js} +2 -2
- package/dist/cjs/{array-b72d7dd3.js → array-8cba1b68.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 +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +57 -82
- 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 +29 -10
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +44 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-popover_2.cjs.entry.js +66 -80
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +13 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +57 -91
- 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-d1eb82ce.js → conditionalSlot-d7d41e5e.js} +3 -3
- package/dist/cjs/{debounce-d2139fc6.js → debounce-c6535474.js} +1 -1
- package/dist/cjs/{dom-99c1b44d.js → dom-63f7a393.js} +2 -2
- package/dist/cjs/floating-ui-1e2c4828.js +1620 -0
- package/dist/cjs/{forIn-9ac96598.js → forIn-31c5151b.js} +2 -2
- package/dist/cjs/{form-4d1ef8c2.js → form-2fb0263d.js} +3 -3
- package/dist/cjs/{guid-609f1c0d.js → guid-bfda150b.js} +1 -1
- package/dist/cjs/{index-68ddfe8e.js → index-aa58cebb.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-d1ef280c.js → interactive-c148950b.js} +1 -1
- package/dist/cjs/{interfaces-a3bdc804.js → interfaces-78d94377.js} +1 -1
- package/dist/cjs/{key-017aa5b0.js → key-790c3a9c.js} +1 -1
- package/dist/cjs/{label-e24023c6.js → label-b3ded17f.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-2d8feb15.js → locale-20b4a0d8.js} +2 -2
- package/dist/cjs/{math-7fe3e64d.js → math-9fec6f1e.js} +1 -1
- package/dist/cjs/{observers-aa7367df.js → observers-b52c783e.js} +1 -1
- package/dist/cjs/{resources-0c0019fb.js → resources-03c28605.js} +5 -5
- package/dist/cjs/{resources-b4ed54b9.js → resources-14e7a312.js} +1 -1
- package/dist/cjs/{resources-9aaa6e0a.js → resources-76621c8a.js} +3 -3
- package/dist/cjs/{resources-a7f0af25.js → resources-c0beb775.js} +1 -1
- package/dist/cjs/{sortable.esm-6dc17794.js → sortable.esm-87003d53.js} +1 -1
- package/dist/cjs/{utils-53d98078.js → utils-32566c58.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 +69 -66
- 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 +22 -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 +23 -21
- package/dist/collection/components/chip/chip.js +9 -4
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +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 +44 -46
- package/dist/collection/components/combobox/combobox.js +76 -110
- 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 +17 -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 +9 -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 +19 -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 +7 -13
- 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 +52 -8
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +3 -3
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +3 -3
- package/dist/collection/components/pagination/pagination.css +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 +51 -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 +104 -88
- 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 +3 -1
- package/dist/collection/components/shell/shell.css +21 -24
- package/dist/collection/components/shell/shell.js +7 -3
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +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 +51 -31
- 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 +1 -1
- package/dist/collection/components/tree/tree.js +12 -12
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +12 -11
- 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 +44 -69
- 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 +25 -5
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +39 -18
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +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 +6 -4
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +5 -5
- package/dist/components/calcite-stepper-item.js +31 -28
- 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 +3 -3
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +6 -8
- package/dist/components/date-picker-month-header.js +21 -21
- package/dist/components/date-picker-month.js +19 -19
- package/dist/components/date-picker.js +15 -15
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +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 +57 -71
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -7
- package/dist/components/tab-nav.js +31 -31
- package/dist/components/tab-title.js +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 +2314 -2613
- package/dist/esm/{ExpandToggle-7076d600.js → ExpandToggle-131c7dcb.js} +21 -11
- package/dist/esm/{Heading-5ccb3b17.js → Heading-93ced199.js} +2 -2
- package/dist/esm/{array-48f23287.js → array-5d7e7abd.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 +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +56 -81
- 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 +29 -10
- package/dist/esm/calcite-option_3.entry.js +11 -11
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-panel.entry.js +44 -23
- package/dist/esm/calcite-pick-list_3.entry.js +14 -14
- package/dist/esm/calcite-popover_2.entry.js +64 -78
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +13 -11
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +7 -7
- package/dist/esm/calcite-stepper_2.entry.js +57 -91
- 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-13c69fa9.js → conditionalSlot-b78ec702.js} +3 -3
- package/dist/esm/{debounce-bef6fc2c.js → debounce-7b337e34.js} +1 -1
- package/dist/esm/{dom-6c1f7204.js → dom-773d1009.js} +2 -2
- package/dist/esm/floating-ui-9b7dcf5f.js +1612 -0
- package/dist/esm/{forIn-566610cc.js → forIn-f0ad73ff.js} +2 -2
- package/dist/esm/{form-115e3241.js → form-2cfa20ec.js} +3 -3
- package/dist/esm/{guid-9ee41ac6.js → guid-41992570.js} +1 -1
- package/dist/esm/{index-dfcf10d7.js → index-e2035750.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-2a03c362.js → interactive-52c414ad.js} +1 -1
- package/dist/esm/{interfaces-02cee59d.js → interfaces-2163b1eb.js} +1 -1
- package/dist/esm/{key-1219c482.js → key-7208494a.js} +1 -1
- package/dist/esm/{label-b30a7cde.js → label-dd1d4ebf.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-98144f51.js → locale-66830132.js} +2 -2
- package/dist/esm/{math-7409ae0d.js → math-d77047f4.js} +1 -1
- package/dist/esm/{observers-fa0db945.js → observers-ebdbf52f.js} +1 -1
- package/dist/esm/{resources-7198828a.js → resources-1b220b88.js} +1 -1
- package/dist/esm/{resources-3b67e62a.js → resources-4e2c9912.js} +1 -1
- package/dist/esm/{resources-ccd18bbb.js → resources-9afaaa17.js} +5 -5
- package/dist/esm/{resources-3157143b.js → resources-9e1ec649.js} +3 -3
- package/dist/esm/{sortable.esm-e7918a0d.js → sortable.esm-9a2fbede.js} +1 -1
- package/dist/esm/{utils-06a51b70.js → utils-011f57d8.js} +1 -1
- package/dist/esm-es5/ExpandToggle-131c7dcb.js +6 -0
- package/dist/esm-es5/Heading-93ced199.js +6 -0
- package/dist/esm-es5/{array-48f23287.js → array-5d7e7abd.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 +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +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-13c69fa9.js → conditionalSlot-b78ec702.js} +2 -2
- package/dist/esm-es5/{debounce-bef6fc2c.js → debounce-7b337e34.js} +1 -1
- package/dist/esm-es5/{dom-6c1f7204.js → dom-773d1009.js} +2 -2
- package/dist/esm-es5/floating-ui-9b7dcf5f.js +6 -0
- package/dist/esm-es5/{forIn-566610cc.js → forIn-f0ad73ff.js} +2 -2
- package/dist/esm-es5/{form-115e3241.js → form-2cfa20ec.js} +2 -2
- package/dist/esm-es5/{guid-9ee41ac6.js → guid-41992570.js} +1 -1
- package/dist/esm-es5/{index-dfcf10d7.js → index-e2035750.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-2a03c362.js → interactive-52c414ad.js} +1 -1
- package/dist/esm-es5/{interfaces-02cee59d.js → interfaces-2163b1eb.js} +1 -1
- package/dist/esm-es5/{key-1219c482.js → key-7208494a.js} +1 -1
- package/dist/esm-es5/{label-b30a7cde.js → label-dd1d4ebf.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-98144f51.js → locale-66830132.js} +2 -2
- package/dist/esm-es5/{math-7409ae0d.js → math-d77047f4.js} +1 -1
- package/dist/esm-es5/{observers-fa0db945.js → observers-ebdbf52f.js} +1 -1
- package/dist/esm-es5/{resources-7198828a.js → resources-1b220b88.js} +1 -1
- package/dist/esm-es5/{resources-3b67e62a.js → resources-4e2c9912.js} +1 -1
- package/dist/esm-es5/{resources-ccd18bbb.js → resources-9afaaa17.js} +2 -2
- package/dist/esm-es5/{resources-3157143b.js → resources-9e1ec649.js} +2 -2
- package/dist/esm-es5/{sortable.esm-e7918a0d.js → sortable.esm-9a2fbede.js} +1 -1
- package/dist/esm-es5/{utils-06a51b70.js → utils-011f57d8.js} +1 -1
- package/dist/extras/docs-json.json +345 -178
- 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 +7 -3
- package/dist/types/components/color-picker/color-picker.d.ts +2 -2
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -1
- package/dist/types/components/combobox/combobox.d.ts +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 +11 -3
- package/dist/types/components/panel/panel.d.ts +12 -9
- package/dist/types/components/popover/PopoverManager.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +24 -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/resources.d.ts +2 -0
- package/dist/types/components/shell/shell.d.ts +4 -2
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +3 -3
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +14 -6
- package/dist/types/components/stepper/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 -3
- 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 +211 -120
- package/dist/types/preact.d.ts +15 -9
- package/dist/types/utils/floating-ui.d.ts +109 -0
- package/hydrate/index.js +2318 -2612
- package/package.json +30 -26
- package/readme.md +2 -2
- package/dist/calcite/p-03005912.system.entry.js +0 -6
- package/dist/calcite/p-05acf942.system.entry.js +0 -6
- package/dist/calcite/p-098bf101.entry.js +0 -6
- package/dist/calcite/p-0ac22887.js +0 -6
- package/dist/calcite/p-0d0ab1c5.system.entry.js +0 -6
- package/dist/calcite/p-15a9e209.system.entry.js +0 -6
- package/dist/calcite/p-17c8a622.system.entry.js +0 -6
- package/dist/calcite/p-1b79a3a3.entry.js +0 -6
- package/dist/calcite/p-1b939beb.system.entry.js +0 -6
- package/dist/calcite/p-1e7d3d02.system.entry.js +0 -6
- package/dist/calcite/p-1e9d27fe.system.entry.js +0 -6
- package/dist/calcite/p-1ef82cc5.system.entry.js +0 -6
- package/dist/calcite/p-1f0bf183.system.entry.js +0 -6
- package/dist/calcite/p-22217b06.entry.js +0 -6
- package/dist/calcite/p-247f1abc.entry.js +0 -6
- package/dist/calcite/p-27f31e04.js +0 -6
- package/dist/calcite/p-283ed748.entry.js +0 -6
- package/dist/calcite/p-29122323.system.entry.js +0 -6
- package/dist/calcite/p-2d556f94.system.entry.js +0 -6
- package/dist/calcite/p-2d7b7215.system.entry.js +0 -6
- package/dist/calcite/p-36ee6a02.entry.js +0 -6
- package/dist/calcite/p-37f621e1.entry.js +0 -6
- package/dist/calcite/p-386d256d.entry.js +0 -6
- package/dist/calcite/p-39201c6f.entry.js +0 -6
- package/dist/calcite/p-40825758.entry.js +0 -6
- package/dist/calcite/p-40ddce6a.system.entry.js +0 -6
- package/dist/calcite/p-451e4a81.entry.js +0 -6
- package/dist/calcite/p-498af5d7.system.entry.js +0 -6
- package/dist/calcite/p-55b9c3d8.system.entry.js +0 -6
- package/dist/calcite/p-58ba388d.entry.js +0 -6
- package/dist/calcite/p-62f31a5a.system.entry.js +0 -6
- package/dist/calcite/p-661fe743.system.js +0 -6
- package/dist/calcite/p-667c6be1.entry.js +0 -6
- package/dist/calcite/p-670df541.system.entry.js +0 -6
- package/dist/calcite/p-6abdcefa.system.entry.js +0 -6
- package/dist/calcite/p-6f3fad62.system.entry.js +0 -6
- package/dist/calcite/p-705dcfd0.system.entry.js +0 -6
- package/dist/calcite/p-7124aeac.entry.js +0 -6
- package/dist/calcite/p-718bec4c.entry.js +0 -6
- package/dist/calcite/p-71df706c.system.entry.js +0 -6
- package/dist/calcite/p-7285074f.entry.js +0 -6
- package/dist/calcite/p-72d06cc6.entry.js +0 -6
- package/dist/calcite/p-78f82837.system.entry.js +0 -6
- package/dist/calcite/p-81460471.entry.js +0 -6
- package/dist/calcite/p-822445af.entry.js +0 -6
- package/dist/calcite/p-82655fe7.entry.js +0 -6
- package/dist/calcite/p-82c99865.entry.js +0 -6
- package/dist/calcite/p-8381e935.system.entry.js +0 -6
- package/dist/calcite/p-869ceaf2.system.entry.js +0 -6
- package/dist/calcite/p-8701d6ec.js +0 -6
- package/dist/calcite/p-881346ec.system.entry.js +0 -6
- package/dist/calcite/p-8b8580be.system.entry.js +0 -6
- package/dist/calcite/p-8d90241c.system.entry.js +0 -6
- package/dist/calcite/p-8e8279db.system.entry.js +0 -6
- package/dist/calcite/p-8f8f1f3c.entry.js +0 -6
- package/dist/calcite/p-92c0a612.entry.js +0 -6
- package/dist/calcite/p-93fb8320.js +0 -6
- package/dist/calcite/p-97f24602.entry.js +0 -6
- package/dist/calcite/p-9e7c867f.entry.js +0 -6
- package/dist/calcite/p-a1dec328.system.entry.js +0 -6
- package/dist/calcite/p-a574d688.entry.js +0 -6
- package/dist/calcite/p-a6da6fa9.entry.js +0 -6
- package/dist/calcite/p-a6ec6d30.system.entry.js +0 -6
- package/dist/calcite/p-a792b4d4.system.entry.js +0 -6
- package/dist/calcite/p-a8d26072.entry.js +0 -6
- package/dist/calcite/p-a8e86b7c.system.js +0 -6
- package/dist/calcite/p-a930b4c7.system.entry.js +0 -6
- package/dist/calcite/p-ad42a290.system.entry.js +0 -6
- package/dist/calcite/p-afa96d7b.entry.js +0 -6
- package/dist/calcite/p-b3b7d99f.entry.js +0 -6
- package/dist/calcite/p-b3c08277.system.entry.js +0 -6
- package/dist/calcite/p-bae5371e.entry.js +0 -6
- package/dist/calcite/p-bbad2c78.entry.js +0 -6
- package/dist/calcite/p-bbc195d0.system.entry.js +0 -6
- package/dist/calcite/p-be0b7ae8.entry.js +0 -6
- package/dist/calcite/p-bed13ccd.system.entry.js +0 -6
- package/dist/calcite/p-c075111b.system.entry.js +0 -6
- package/dist/calcite/p-c09197e1.system.entry.js +0 -6
- package/dist/calcite/p-c3200434.system.entry.js +0 -6
- package/dist/calcite/p-c7e8f753.js +0 -6
- package/dist/calcite/p-cda3843c.entry.js +0 -6
- package/dist/calcite/p-d1fef3a5.entry.js +0 -6
- package/dist/calcite/p-d69560ee.system.entry.js +0 -6
- package/dist/calcite/p-d7614205.entry.js +0 -6
- package/dist/calcite/p-d8cca171.system.entry.js +0 -6
- package/dist/calcite/p-d8d3ee29.entry.js +0 -6
- package/dist/calcite/p-d91ab8b3.system.entry.js +0 -6
- package/dist/calcite/p-da603fb6.system.js +0 -6
- package/dist/calcite/p-dc5681bd.system.entry.js +0 -6
- package/dist/calcite/p-dda6305e.system.entry.js +0 -6
- package/dist/calcite/p-dfd66185.entry.js +0 -6
- package/dist/calcite/p-e4a9f3a3.entry.js +0 -6
- package/dist/calcite/p-e5100a68.system.entry.js +0 -6
- package/dist/calcite/p-e55af056.entry.js +0 -6
- package/dist/calcite/p-ec0ff216.entry.js +0 -6
- package/dist/calcite/p-ee4221f2.entry.js +0 -6
- package/dist/calcite/p-ef596bf4.system.js +0 -6
- package/dist/calcite/p-f29e929e.system.entry.js +0 -6
- package/dist/calcite/p-fcbb3104.entry.js +0 -6
- package/dist/calcite/p-fe758da5.system.entry.js +0 -6
- package/dist/calcite/p-ffc4d4f5.system.entry.js +0 -6
- package/dist/cjs/popper-f29f9a3b.js +0 -1876
- package/dist/collection/utils/popper.js +0 -126
- package/dist/components/popper.js +0 -1868
- package/dist/esm/popper-f38ba1ab.js +0 -1868
- package/dist/esm-es5/ExpandToggle-7076d600.js +0 -6
- package/dist/esm-es5/Heading-5ccb3b17.js +0 -6
- package/dist/esm-es5/popper-f38ba1ab.js +0 -6
- package/dist/types/utils/popper.d.ts +0 -35
|
@@ -1,29 +1,29 @@
|
|
|
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.89
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, f as focusElement, d as getElementProp } from './dom-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements,
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e2035750.js';
|
|
7
|
+
import { t as toAriaBoolean, f as focusElement, d as getElementProp } from './dom-773d1009.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, F as FloatingCSS, p as positionFloatingUI } from './floating-ui-9b7dcf5f.js';
|
|
9
|
+
import { c as createObserver } from './observers-ebdbf52f.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-52c414ad.js';
|
|
11
|
+
import { g as guid } from './guid-41992570.js';
|
|
12
12
|
|
|
13
13
|
const SLOTS = {
|
|
14
14
|
dropdownTrigger: "dropdown-trigger"
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const dropdownCss = "@-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-
|
|
17
|
+
const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-block-size:90vh;inline-size:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
18
18
|
|
|
19
19
|
const Dropdown = class {
|
|
20
20
|
constructor(hostRef) {
|
|
21
21
|
registerInstance(this, hostRef);
|
|
22
22
|
this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 7);
|
|
23
|
-
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 7);
|
|
24
|
-
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 7);
|
|
25
23
|
this.calciteDropdownBeforeClose = createEvent(this, "calciteDropdownBeforeClose", 7);
|
|
26
24
|
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 7);
|
|
25
|
+
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 7);
|
|
26
|
+
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 7);
|
|
27
27
|
//--------------------------------------------------------------------------
|
|
28
28
|
//
|
|
29
29
|
// Public Properties
|
|
@@ -54,7 +54,7 @@ const Dropdown = class {
|
|
|
54
54
|
/**
|
|
55
55
|
* Determines where the dropdown will be positioned relative to the button.
|
|
56
56
|
*
|
|
57
|
-
* @default "bottom-
|
|
57
|
+
* @default "bottom-start"
|
|
58
58
|
*/
|
|
59
59
|
this.placement = defaultMenuPlacement;
|
|
60
60
|
/** specify the scale of dropdown, defaults to m */
|
|
@@ -68,15 +68,22 @@ const Dropdown = class {
|
|
|
68
68
|
/** specify whether the dropdown is opened by hover or click of a trigger element */
|
|
69
69
|
this.type = "click";
|
|
70
70
|
this.items = [];
|
|
71
|
-
this.groups = [];
|
|
72
71
|
this.activeTransitionProp = "visibility";
|
|
73
72
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
74
73
|
this.resizeObserver = createObserver("resize", (entries) => this.resizeObserverCallback(entries));
|
|
74
|
+
this.guid = `calcite-dropdown-${guid()}`;
|
|
75
|
+
this.defaultAssignedElements = [];
|
|
75
76
|
//--------------------------------------------------------------------------
|
|
76
77
|
//
|
|
77
78
|
// Private Methods
|
|
78
79
|
//
|
|
79
80
|
//--------------------------------------------------------------------------
|
|
81
|
+
this.slotChangeHandler = (event) => {
|
|
82
|
+
this.defaultAssignedElements = event.target.assignedElements({
|
|
83
|
+
flatten: true
|
|
84
|
+
});
|
|
85
|
+
this.updateItems();
|
|
86
|
+
};
|
|
80
87
|
this.setFilteredPlacements = () => {
|
|
81
88
|
const { el, flipPlacements } = this;
|
|
82
89
|
this.filteredFlipPlacements = flipPlacements
|
|
@@ -90,19 +97,15 @@ const Dropdown = class {
|
|
|
90
97
|
this.reposition();
|
|
91
98
|
};
|
|
92
99
|
this.updateItems = () => {
|
|
93
|
-
|
|
94
|
-
|
|
100
|
+
const { defaultAssignedElements } = this;
|
|
101
|
+
this.items = defaultAssignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group, calcite-dropdown-item"))
|
|
102
|
+
.map((el) => el.matches("calcite-dropdown-group")
|
|
103
|
+
? Array.from(el.querySelectorAll("calcite-dropdown-item"))
|
|
104
|
+
: [el])
|
|
95
105
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
96
106
|
this.updateSelectedItems();
|
|
97
107
|
this.reposition();
|
|
98
108
|
};
|
|
99
|
-
this.updateGroups = (event) => {
|
|
100
|
-
const groups = event.target
|
|
101
|
-
.assignedElements({ flatten: true })
|
|
102
|
-
.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
|
|
103
|
-
this.groups = groups;
|
|
104
|
-
this.updateItems();
|
|
105
|
-
};
|
|
106
109
|
this.resizeObserverCallback = (entries) => {
|
|
107
110
|
entries.forEach((entry) => {
|
|
108
111
|
const { target } = entry;
|
|
@@ -136,34 +139,34 @@ const Dropdown = class {
|
|
|
136
139
|
this.setScrollerEl = (scrollerEl) => {
|
|
137
140
|
this.resizeObserver.observe(scrollerEl);
|
|
138
141
|
this.scrollerEl = scrollerEl;
|
|
139
|
-
this.scrollerEl.addEventListener("
|
|
142
|
+
this.scrollerEl.addEventListener("transitionstart", this.transitionStartHandler);
|
|
140
143
|
};
|
|
141
144
|
this.transitionEnd = (event) => {
|
|
142
|
-
if (event.propertyName === this.activeTransitionProp) {
|
|
143
|
-
this.open || this.active ? this.
|
|
145
|
+
if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
|
|
146
|
+
this.open || this.active ? this.onOpen() : this.onClose();
|
|
144
147
|
}
|
|
145
148
|
};
|
|
146
|
-
this.
|
|
147
|
-
if (event.propertyName === this.activeTransitionProp) {
|
|
148
|
-
this.
|
|
149
|
-
? this.emitOpenCloseEvent("beforeOpen")
|
|
150
|
-
: this.emitOpenCloseEvent("beforeClose");
|
|
149
|
+
this.transitionStartHandler = (event) => {
|
|
150
|
+
if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
|
|
151
|
+
this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
151
152
|
}
|
|
152
153
|
};
|
|
153
154
|
this.setReferenceEl = (el) => {
|
|
154
155
|
this.referenceEl = el;
|
|
156
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
155
157
|
this.resizeObserver.observe(el);
|
|
156
158
|
};
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
+
this.setFloatingEl = (el) => {
|
|
160
|
+
this.floatingEl = el;
|
|
161
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
159
162
|
};
|
|
160
|
-
this.keyDownHandler = (
|
|
161
|
-
const target =
|
|
163
|
+
this.keyDownHandler = (event) => {
|
|
164
|
+
const target = event.target;
|
|
162
165
|
if (target !== this.referenceEl) {
|
|
163
166
|
return;
|
|
164
167
|
}
|
|
165
|
-
const key =
|
|
166
|
-
if ((this.open || this.active) && (key === "Escape" || (
|
|
168
|
+
const key = event.key;
|
|
169
|
+
if ((this.open || this.active) && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
|
|
167
170
|
this.closeCalciteDropdown();
|
|
168
171
|
return;
|
|
169
172
|
}
|
|
@@ -212,6 +215,9 @@ const Dropdown = class {
|
|
|
212
215
|
maxItemsHandler() {
|
|
213
216
|
this.setMaxScrollerHeight();
|
|
214
217
|
}
|
|
218
|
+
overlayPositioningHandler() {
|
|
219
|
+
this.reposition();
|
|
220
|
+
}
|
|
215
221
|
placementHandler() {
|
|
216
222
|
this.reposition();
|
|
217
223
|
}
|
|
@@ -223,8 +229,8 @@ const Dropdown = class {
|
|
|
223
229
|
connectedCallback() {
|
|
224
230
|
var _a;
|
|
225
231
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
226
|
-
this.createPopper();
|
|
227
232
|
this.setFilteredPlacements();
|
|
233
|
+
this.reposition();
|
|
228
234
|
}
|
|
229
235
|
componentDidLoad() {
|
|
230
236
|
this.reposition();
|
|
@@ -233,21 +239,19 @@ const Dropdown = class {
|
|
|
233
239
|
updateHostInteraction(this);
|
|
234
240
|
}
|
|
235
241
|
disconnectedCallback() {
|
|
236
|
-
var _a, _b;
|
|
242
|
+
var _a, _b, _c;
|
|
237
243
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
244
|
+
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
238
245
|
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
239
|
-
this.
|
|
240
|
-
if (this.scrollerEl) {
|
|
241
|
-
this.scrollerEl.removeEventListener("transitionrun", this.transitionRunHandler);
|
|
242
|
-
}
|
|
246
|
+
(_c = this.scrollerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener("transitionstart", this.transitionStartHandler);
|
|
243
247
|
}
|
|
244
248
|
render() {
|
|
245
|
-
const { active, open } = this;
|
|
246
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "
|
|
249
|
+
const { active, open, guid } = this;
|
|
250
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "menu", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, h("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
247
251
|
["calcite-dropdown-content"]: true,
|
|
248
|
-
[
|
|
249
|
-
[
|
|
250
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.
|
|
252
|
+
[FloatingCSS.animation]: true,
|
|
253
|
+
[FloatingCSS.animationActive]: active || open
|
|
254
|
+
}, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.slotChangeHandler }))))));
|
|
251
255
|
}
|
|
252
256
|
//--------------------------------------------------------------------------
|
|
253
257
|
//
|
|
@@ -256,30 +260,28 @@ const Dropdown = class {
|
|
|
256
260
|
//--------------------------------------------------------------------------
|
|
257
261
|
/** Updates the position of the component. */
|
|
258
262
|
async reposition() {
|
|
259
|
-
const {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
}
|
|
270
|
-
closeCalciteDropdownOnClick(e) {
|
|
263
|
+
const { floatingEl, referenceEl, placement, overlayPositioning } = this;
|
|
264
|
+
return positionFloatingUI({
|
|
265
|
+
floatingEl,
|
|
266
|
+
referenceEl,
|
|
267
|
+
overlayPositioning,
|
|
268
|
+
placement,
|
|
269
|
+
type: "menu"
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
closeCalciteDropdownOnClick(event) {
|
|
271
273
|
const isOpen = !(this.open || this.active);
|
|
272
|
-
if (isOpen ||
|
|
274
|
+
if (isOpen || event.composedPath().includes(this.el)) {
|
|
273
275
|
return;
|
|
274
276
|
}
|
|
275
277
|
this.closeCalciteDropdown(false);
|
|
276
278
|
}
|
|
277
|
-
closeCalciteDropdownOnEvent(
|
|
279
|
+
closeCalciteDropdownOnEvent(event) {
|
|
278
280
|
this.closeCalciteDropdown();
|
|
279
|
-
|
|
281
|
+
event.stopPropagation();
|
|
280
282
|
}
|
|
281
|
-
closeCalciteDropdownOnOpenEvent(
|
|
282
|
-
if (
|
|
283
|
+
closeCalciteDropdownOnOpenEvent(event) {
|
|
284
|
+
if (event.composedPath().includes(this.el)) {
|
|
283
285
|
return;
|
|
284
286
|
}
|
|
285
287
|
this.active = false;
|
|
@@ -295,8 +297,8 @@ const Dropdown = class {
|
|
|
295
297
|
this.closeCalciteDropdown();
|
|
296
298
|
}
|
|
297
299
|
}
|
|
298
|
-
calciteInternalDropdownItemKeyEvent(
|
|
299
|
-
const { keyboardEvent } =
|
|
300
|
+
calciteInternalDropdownItemKeyEvent(event) {
|
|
301
|
+
const { keyboardEvent } = event.detail;
|
|
300
302
|
// handle edge
|
|
301
303
|
const target = keyboardEvent.target;
|
|
302
304
|
const itemToFocus = target.nodeName !== "A" ? target : target.parentNode;
|
|
@@ -330,7 +332,7 @@ const Dropdown = class {
|
|
|
330
332
|
this.focusLastItem();
|
|
331
333
|
break;
|
|
332
334
|
}
|
|
333
|
-
|
|
335
|
+
event.stopPropagation();
|
|
334
336
|
}
|
|
335
337
|
handleItemSelect(event) {
|
|
336
338
|
this.updateSelectedItems();
|
|
@@ -342,51 +344,17 @@ const Dropdown = class {
|
|
|
342
344
|
}
|
|
343
345
|
event.stopPropagation();
|
|
344
346
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
el: this.el
|
|
348
|
-
};
|
|
349
|
-
const emitComponentState = {
|
|
350
|
-
beforeOpen: () => this.calciteDropdownBeforeOpen.emit(payload),
|
|
351
|
-
open: () => this.calciteDropdownOpen.emit(payload),
|
|
352
|
-
beforeClose: () => this.calciteDropdownBeforeClose.emit(payload),
|
|
353
|
-
close: () => this.calciteDropdownClose.emit(payload)
|
|
354
|
-
};
|
|
355
|
-
(emitComponentState[componentVisibilityState] ||
|
|
356
|
-
emitComponentState["The component state is unknown."])();
|
|
347
|
+
onBeforeOpen() {
|
|
348
|
+
this.calciteDropdownBeforeOpen.emit();
|
|
357
349
|
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
name: "flip",
|
|
361
|
-
enabled: true
|
|
362
|
-
};
|
|
363
|
-
flipModifier.options = {
|
|
364
|
-
fallbackPlacements: this.filteredFlipPlacements || popperMenuComputedPlacements
|
|
365
|
-
};
|
|
366
|
-
const eventListenerModifier = {
|
|
367
|
-
name: "eventListeners",
|
|
368
|
-
enabled: this.open || this.active
|
|
369
|
-
};
|
|
370
|
-
return [flipModifier, eventListenerModifier];
|
|
371
|
-
}
|
|
372
|
-
createPopper() {
|
|
373
|
-
this.destroyPopper();
|
|
374
|
-
const { menuEl, referenceEl, placement, overlayPositioning } = this;
|
|
375
|
-
const modifiers = this.getModifiers();
|
|
376
|
-
this.popper = createPopper({
|
|
377
|
-
el: menuEl,
|
|
378
|
-
modifiers,
|
|
379
|
-
overlayPositioning,
|
|
380
|
-
placement,
|
|
381
|
-
referenceEl
|
|
382
|
-
});
|
|
350
|
+
onOpen() {
|
|
351
|
+
this.calciteDropdownOpen.emit();
|
|
383
352
|
}
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
this.popper = null;
|
|
353
|
+
onBeforeClose() {
|
|
354
|
+
this.calciteDropdownBeforeClose.emit();
|
|
355
|
+
}
|
|
356
|
+
onClose() {
|
|
357
|
+
this.calciteDropdownClose.emit();
|
|
390
358
|
}
|
|
391
359
|
updateSelectedItems() {
|
|
392
360
|
this.selectedItems = this.items.filter((item) => item.active);
|
|
@@ -396,22 +364,20 @@ const Dropdown = class {
|
|
|
396
364
|
let itemsToProcess = 0;
|
|
397
365
|
let maxScrollerHeight = 0;
|
|
398
366
|
let groupHeaderHeight;
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
if (
|
|
403
|
-
|
|
404
|
-
groupHeaderHeight = item.offsetTop;
|
|
405
|
-
}
|
|
406
|
-
maxScrollerHeight += groupHeaderHeight;
|
|
407
|
-
}
|
|
408
|
-
if (itemsToProcess < maxItems) {
|
|
409
|
-
maxScrollerHeight += item.offsetHeight;
|
|
410
|
-
itemsToProcess += 1;
|
|
367
|
+
if (maxItems > 0 && itemsToProcess < maxItems) {
|
|
368
|
+
this.items.forEach((item) => {
|
|
369
|
+
if (item.matches("calcite-dropdown-group calcite-dropdown-item:first-child")) {
|
|
370
|
+
if (isNaN(groupHeaderHeight)) {
|
|
371
|
+
groupHeaderHeight = item.offsetTop;
|
|
411
372
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
373
|
+
maxScrollerHeight += groupHeaderHeight;
|
|
374
|
+
}
|
|
375
|
+
if (itemsToProcess < maxItems) {
|
|
376
|
+
maxScrollerHeight += item.offsetHeight;
|
|
377
|
+
itemsToProcess += 1;
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
}
|
|
415
381
|
return maxScrollerHeight;
|
|
416
382
|
}
|
|
417
383
|
closeCalciteDropdown(focusTrigger = true) {
|
|
@@ -429,18 +395,18 @@ const Dropdown = class {
|
|
|
429
395
|
const lastItem = this.items[this.items.length - 1];
|
|
430
396
|
this.getFocusableElement(lastItem);
|
|
431
397
|
}
|
|
432
|
-
focusNextItem(
|
|
433
|
-
const index = this.itemIndex(
|
|
398
|
+
focusNextItem(el) {
|
|
399
|
+
const index = this.itemIndex(el);
|
|
434
400
|
const nextItem = this.items[index + 1] || this.items[0];
|
|
435
401
|
this.getFocusableElement(nextItem);
|
|
436
402
|
}
|
|
437
|
-
focusPrevItem(
|
|
438
|
-
const index = this.itemIndex(
|
|
403
|
+
focusPrevItem(el) {
|
|
404
|
+
const index = this.itemIndex(el);
|
|
439
405
|
const prevItem = this.items[index - 1] || this.items[this.items.length - 1];
|
|
440
406
|
this.getFocusableElement(prevItem);
|
|
441
407
|
}
|
|
442
|
-
itemIndex(
|
|
443
|
-
return this.items.indexOf(
|
|
408
|
+
itemIndex(el) {
|
|
409
|
+
return this.items.indexOf(el);
|
|
444
410
|
}
|
|
445
411
|
getFocusableElement(item) {
|
|
446
412
|
if (!item) {
|
|
@@ -458,6 +424,7 @@ const Dropdown = class {
|
|
|
458
424
|
"disabled": ["handleDisabledChange"],
|
|
459
425
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
460
426
|
"maxItems": ["maxItemsHandler"],
|
|
427
|
+
"overlayPositioning": ["overlayPositioningHandler"],
|
|
461
428
|
"placement": ["placementHandler"]
|
|
462
429
|
}; }
|
|
463
430
|
};
|
|
@@ -469,7 +436,7 @@ const CSS$1 = {
|
|
|
469
436
|
containerLarge: "container--l"
|
|
470
437
|
};
|
|
471
438
|
|
|
472
|
-
const dropdownGroupCss = "@-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-
|
|
439
|
+
const dropdownGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";
|
|
473
440
|
|
|
474
441
|
const DropdownGroup = class {
|
|
475
442
|
constructor(hostRef) {
|
|
@@ -493,7 +460,7 @@ const DropdownGroup = class {
|
|
|
493
460
|
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
494
461
|
const groupTitle = this.groupTitle ? (h("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
495
462
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
496
|
-
return (h(Host, { role: "
|
|
463
|
+
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
|
497
464
|
container: true,
|
|
498
465
|
[CSS$1.containerSmall]: scale === "s",
|
|
499
466
|
[CSS$1.containerMedium]: scale === "m",
|
|
@@ -535,7 +502,7 @@ const CSS = {
|
|
|
535
502
|
containerNone: "container--none-selection"
|
|
536
503
|
};
|
|
537
504
|
|
|
538
|
-
const dropdownItemCss = "@-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-
|
|
505
|
+
const dropdownItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
539
506
|
|
|
540
507
|
const DropdownItem = class {
|
|
541
508
|
constructor(hostRef) {
|
|
@@ -612,29 +579,29 @@ const DropdownItem = class {
|
|
|
612
579
|
onClick() {
|
|
613
580
|
this.emitRequestedItem();
|
|
614
581
|
}
|
|
615
|
-
keyDownHandler(
|
|
616
|
-
switch (
|
|
582
|
+
keyDownHandler(event) {
|
|
583
|
+
switch (event.key) {
|
|
617
584
|
case " ":
|
|
618
585
|
case "Enter":
|
|
619
586
|
this.emitRequestedItem();
|
|
620
587
|
if (this.href) {
|
|
621
588
|
this.childLink.click();
|
|
622
589
|
}
|
|
623
|
-
|
|
590
|
+
event.preventDefault();
|
|
624
591
|
break;
|
|
625
592
|
case "Escape":
|
|
626
593
|
this.calciteInternalDropdownCloseRequest.emit();
|
|
627
|
-
|
|
594
|
+
event.preventDefault();
|
|
628
595
|
break;
|
|
629
596
|
case "Tab":
|
|
630
|
-
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent:
|
|
597
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
|
|
631
598
|
break;
|
|
632
599
|
case "ArrowUp":
|
|
633
600
|
case "ArrowDown":
|
|
634
601
|
case "Home":
|
|
635
602
|
case "End":
|
|
636
|
-
|
|
637
|
-
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent:
|
|
603
|
+
event.preventDefault();
|
|
604
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
|
|
638
605
|
break;
|
|
639
606
|
}
|
|
640
607
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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.89
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-e2035750.js';
|
|
7
|
+
import { f as focusElement } from './dom-773d1009.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-52c414ad.js';
|
|
9
|
+
import './guid-41992570.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
button: "button"
|
|
@@ -15,7 +15,7 @@ const ICONS = {
|
|
|
15
15
|
plus: "plus"
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
const fabCss = "@-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-
|
|
18
|
+
const fabCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 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)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
|
19
19
|
|
|
20
20
|
const Fab = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -1,14 +1,14 @@
|
|
|
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.89
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import { d as debounce } from './debounce-
|
|
10
|
-
import { f as forIn } from './forIn-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-e2035750.js';
|
|
7
|
+
import { f as focusElement } from './dom-773d1009.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-52c414ad.js';
|
|
9
|
+
import { d as debounce } from './debounce-7b337e34.js';
|
|
10
|
+
import { f as forIn } from './forIn-f0ad73ff.js';
|
|
11
|
+
import './guid-41992570.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
container: "container",
|
|
@@ -24,7 +24,7 @@ const ICONS = {
|
|
|
24
24
|
};
|
|
25
25
|
const DEBOUNCE_TIMEOUT = 250;
|
|
26
26
|
|
|
27
|
-
const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-
|
|
27
|
+
const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
|
|
28
28
|
|
|
29
29
|
const Filter = class {
|
|
30
30
|
constructor(hostRef) {
|