@esri/calcite-components 1.0.0-beta.89 → 1.0.0-beta.91
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/assets/date-picker/nls/pt-PT.json +1 -0
- 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-5fc1eb80.system.js → p-009b9bcf.system.js} +2 -2
- package/dist/calcite/p-0214df92.system.entry.js +6 -0
- package/dist/calcite/p-0242e56a.entry.js +6 -0
- package/dist/calcite/p-02c2ce31.js +6 -0
- package/dist/calcite/p-02eea8e8.entry.js +6 -0
- package/dist/calcite/p-03ec4fdc.system.entry.js +6 -0
- package/dist/calcite/p-05282d96.entry.js +6 -0
- package/dist/calcite/p-08ae1bba.entry.js +6 -0
- package/dist/calcite/p-093b8180.entry.js +6 -0
- package/dist/calcite/p-0bf91224.system.entry.js +6 -0
- package/dist/calcite/{p-06fc9fd6.js → p-0c2e3108.js} +2 -2
- package/dist/calcite/p-0c545eab.system.entry.js +6 -0
- package/dist/calcite/p-0e2b3ba0.system.entry.js +6 -0
- package/dist/calcite/p-1486a22e.system.entry.js +6 -0
- package/dist/calcite/{p-119c7d93.js → p-16619b68.js} +2 -2
- package/dist/calcite/{p-2cb5dffe.js → p-18e6c277.js} +1 -1
- package/dist/calcite/p-19c2f634.system.js +6 -0
- package/dist/calcite/p-1b54481c.entry.js +6 -0
- package/dist/calcite/p-1cf78741.system.entry.js +6 -0
- package/dist/calcite/p-20cc09d3.entry.js +6 -0
- package/dist/calcite/p-212092fa.entry.js +6 -0
- package/dist/calcite/{p-902f9dfe.js → p-21632661.js} +1 -1
- package/dist/calcite/p-21c39562.system.entry.js +6 -0
- package/dist/calcite/p-233d5760.entry.js +6 -0
- package/dist/calcite/p-23887d7a.entry.js +6 -0
- package/dist/calcite/p-23e60c37.system.js +6 -0
- package/dist/calcite/{p-4e7eccae.system.js → p-25133c26.system.js} +2 -2
- package/dist/calcite/p-29823f6a.system.entry.js +6 -0
- package/dist/calcite/{p-66f20a2d.system.js → p-29b5e936.system.js} +2 -2
- package/dist/calcite/{p-662dc451.js → p-29eff4fc.js} +1 -1
- package/dist/calcite/p-2b6410d0.js +6 -0
- package/dist/calcite/p-2cc54080.js +6 -0
- package/dist/calcite/p-2d556abb.system.entry.js +6 -0
- package/dist/calcite/{p-1003dcd4.js → p-2da1cc68.js} +1 -1
- package/dist/calcite/{p-e6c4aa14.js → p-3022c39d.js} +1 -1
- package/dist/calcite/{p-66031b70.system.entry.js → p-30fad726.system.entry.js} +2 -2
- package/dist/calcite/{p-a944dd17.entry.js → p-31a5871e.entry.js} +2 -2
- package/dist/calcite/p-336043a1.system.entry.js +6 -0
- package/dist/calcite/p-35089404.system.entry.js +6 -0
- package/dist/calcite/{p-e6f222af.entry.js → p-35502d0b.entry.js} +2 -2
- package/dist/calcite/p-39ee1af5.js +6 -0
- package/dist/calcite/{p-e5211d71.entry.js → p-44b68820.entry.js} +2 -2
- package/dist/calcite/{p-0b38cf5e.system.js → p-46e3b866.system.js} +1 -1
- package/dist/calcite/p-47663fe0.system.entry.js +6 -0
- package/dist/calcite/{p-ba1168ae.system.js → p-4a1c8d49.system.js} +1 -1
- package/dist/calcite/{p-7f5a9744.system.js → p-4a411a96.system.js} +2 -2
- package/dist/calcite/p-4b1b97e7.entry.js +6 -0
- package/dist/calcite/{p-8785912e.system.js → p-5066e91f.system.js} +1 -1
- package/dist/calcite/{p-b55e89ba.system.entry.js → p-526248dc.system.entry.js} +2 -2
- package/dist/calcite/p-55b95ba4.system.entry.js +6 -0
- package/dist/calcite/{p-edf40370.js → p-57479f6c.js} +1 -1
- package/dist/calcite/{p-ce3424f9.entry.js → p-583a420c.entry.js} +2 -2
- package/dist/calcite/p-5844bc8a.entry.js +6 -0
- package/dist/calcite/{p-76369b99.js → p-59a5da8a.js} +2 -2
- package/dist/calcite/{p-85c94bde.entry.js → p-5a7d55d2.entry.js} +2 -2
- package/dist/calcite/p-5a912061.system.entry.js +6 -0
- package/dist/calcite/{p-f5111eb8.system.entry.js → p-5cc65795.system.entry.js} +2 -2
- package/dist/calcite/{p-317e13b4.system.js → p-5d7bc59a.system.js} +1 -1
- package/dist/calcite/{p-92d33ef8.js → p-5eb7bb03.js} +1 -1
- package/dist/calcite/{p-025d7d38.entry.js → p-5fc28756.entry.js} +2 -2
- package/dist/calcite/{p-e2759901.system.js → p-60dcdade.system.js} +1 -1
- package/dist/calcite/p-62f91e27.entry.js +6 -0
- package/dist/calcite/p-63d75714.entry.js +6 -0
- package/dist/calcite/p-63ea489c.system.entry.js +6 -0
- package/dist/calcite/p-63f4d615.entry.js +6 -0
- package/dist/calcite/p-667e9955.entry.js +6 -0
- package/dist/calcite/p-6870deed.entry.js +6 -0
- package/dist/calcite/p-68dbaea4.entry.js +6 -0
- package/dist/calcite/p-6a1e2062.system.entry.js +6 -0
- package/dist/calcite/{p-ba4637e7.entry.js → p-6c4ad87d.entry.js} +2 -2
- package/dist/calcite/p-6d51e117.system.entry.js +6 -0
- package/dist/calcite/p-7023b360.system.entry.js +6 -0
- package/dist/calcite/p-71ff8569.entry.js +6 -0
- package/dist/calcite/{p-376901f2.system.js → p-72222c1c.system.js} +1 -1
- package/dist/calcite/{p-6c22ae2a.js → p-72de7bac.js} +1 -1
- package/dist/calcite/p-753dde2f.entry.js +6 -0
- package/dist/calcite/p-7eecec41.system.entry.js +6 -0
- package/dist/calcite/p-7f71caec.entry.js +6 -0
- package/dist/calcite/p-81b35d5d.system.entry.js +6 -0
- package/dist/calcite/p-825ca4fa.system.entry.js +6 -0
- package/dist/calcite/{p-a5ff2716.system.js → p-82d6141a.system.js} +3 -3
- package/dist/calcite/p-839a73f1.system.js +6 -0
- package/dist/calcite/p-844d8c0a.entry.js +6 -0
- package/dist/calcite/p-85500e4f.system.entry.js +6 -0
- package/dist/calcite/{p-36d43f5d.system.entry.js → p-85554d49.system.entry.js} +2 -2
- package/dist/calcite/p-85d5be2b.entry.js +6 -0
- package/dist/calcite/p-8b31fe23.system.entry.js +6 -0
- package/dist/calcite/p-8bcafc96.entry.js +6 -0
- package/dist/calcite/p-8f407d84.entry.js +6 -0
- package/dist/calcite/p-8f72f530.system.entry.js +6 -0
- package/dist/calcite/p-8fdb7f97.entry.js +6 -0
- package/dist/calcite/p-907836fa.entry.js +6 -0
- package/dist/calcite/p-93640639.system.entry.js +6 -0
- package/dist/calcite/p-939c385e.entry.js +6 -0
- package/dist/calcite/p-9406e3b5.system.entry.js +6 -0
- package/dist/calcite/{p-b1593fd6.system.js → p-94765679.system.js} +1 -1
- package/dist/calcite/p-95580555.system.entry.js +6 -0
- package/dist/calcite/p-95c5ce43.entry.js +6 -0
- package/dist/calcite/{p-7a6d2cfd.js → p-96e80eb0.js} +2 -2
- package/dist/calcite/{p-71484298.js → p-978e1777.js} +1 -1
- package/dist/calcite/p-979aee7e.system.entry.js +6 -0
- package/dist/calcite/p-99f6128c.entry.js +6 -0
- package/dist/calcite/p-9b116c59.entry.js +6 -0
- package/dist/calcite/p-9c07b0c0.entry.js +6 -0
- package/dist/calcite/p-9dd62973.system.entry.js +6 -0
- package/dist/calcite/p-9efbf067.entry.js +6 -0
- package/dist/calcite/p-9f226088.system.entry.js +6 -0
- package/dist/calcite/{p-e5403660.system.js → p-9f7bc627.system.js} +2 -2
- package/dist/calcite/p-a0bb13ee.system.entry.js +6 -0
- package/dist/calcite/{p-d0819cad.js → p-a189654d.js} +1 -1
- package/dist/calcite/p-a1efd872.system.entry.js +6 -0
- package/dist/calcite/p-a276c702.system.entry.js +6 -0
- package/dist/calcite/{p-794ef1c9.system.js → p-a2e46a80.system.js} +1 -1
- package/dist/calcite/p-a467545a.entry.js +6 -0
- package/dist/calcite/p-a48fd27e.entry.js +6 -0
- package/dist/calcite/{p-94556892.system.js → p-a75a3ac9.system.js} +2 -2
- package/dist/calcite/p-a7f3ac6a.entry.js +6 -0
- package/dist/calcite/p-aa39ce70.entry.js +6 -0
- package/dist/calcite/p-ac070b26.system.entry.js +6 -0
- package/dist/calcite/p-ac517465.system.entry.js +6 -0
- package/dist/calcite/p-ad7f17d7.system.js +6 -0
- package/dist/calcite/{p-83b7daee.system.js → p-af58a18b.system.js} +1 -1
- package/dist/calcite/{p-2d439f5c.system.js → p-af6a258a.system.js} +1 -1
- package/dist/calcite/p-b25d9fc8.entry.js +6 -0
- package/dist/calcite/p-b271b38a.entry.js +6 -0
- package/dist/calcite/{p-ee94abb7.js → p-b4e139fe.js} +1 -1
- package/dist/calcite/p-b512ea80.system.entry.js +6 -0
- package/dist/calcite/p-b863cb3d.system.entry.js +6 -0
- package/dist/calcite/{p-85cfc2a7.system.js → p-b9bb8ebd.system.js} +2 -2
- package/dist/calcite/p-bb45b137.js +6 -0
- package/dist/calcite/p-bb90fb2e.system.entry.js +6 -0
- package/dist/calcite/p-bb939247.system.entry.js +6 -0
- package/dist/calcite/{p-868413c4.js → p-bc72ddf5.js} +1 -1
- package/dist/calcite/{p-a1847f2c.js → p-be00e22e.js} +1 -1
- package/dist/calcite/p-bf6d2fae.system.entry.js +6 -0
- package/dist/calcite/{p-19974612.system.js → p-c1839811.system.js} +1 -1
- package/dist/calcite/p-c1fa9cc8.js +6 -0
- package/dist/calcite/p-c3450caf.entry.js +6 -0
- package/dist/calcite/p-c3c0f25c.system.entry.js +6 -0
- package/dist/calcite/p-c3ee55e7.system.entry.js +6 -0
- package/dist/calcite/p-c50f4ad9.system.entry.js +6 -0
- package/dist/calcite/p-c573bfe4.js +6 -0
- package/dist/calcite/p-c7c7b8b7.system.entry.js +6 -0
- package/dist/calcite/p-c8221748.entry.js +6 -0
- package/dist/calcite/p-c868004f.system.entry.js +6 -0
- package/dist/calcite/p-cb8d104a.js +6 -0
- package/dist/calcite/p-cc84f8f7.entry.js +6 -0
- package/dist/calcite/p-cf54ca51.entry.js +6 -0
- package/dist/calcite/p-d2de5df6.system.entry.js +6 -0
- package/dist/calcite/p-d44b8c96.entry.js +6 -0
- package/dist/calcite/p-d5d9bdfe.system.entry.js +6 -0
- package/dist/calcite/p-d691fdb9.entry.js +6 -0
- package/dist/calcite/p-dae6da1a.system.entry.js +6 -0
- package/dist/calcite/p-e2515012.system.entry.js +6 -0
- package/dist/calcite/p-e28fc860.system.js +6 -0
- package/dist/calcite/p-e32ec068.system.js +6 -0
- package/dist/calcite/p-e486c551.system.entry.js +6 -0
- package/dist/calcite/{p-f33e8b92.js → p-e59a4adc.js} +2 -2
- package/dist/calcite/p-e5b91c54.entry.js +6 -0
- package/dist/calcite/{p-957ac2e6.system.js → p-e6f99510.system.js} +1 -1
- package/dist/calcite/p-e8276ff5.entry.js +6 -0
- package/dist/calcite/p-e86fd005.entry.js +6 -0
- package/dist/calcite/p-e9cb190e.entry.js +6 -0
- package/dist/calcite/{p-5f640381.system.js → p-e9e89c12.system.js} +1 -1
- package/dist/calcite/{p-948ed6bd.js → p-eccc7c09.js} +2 -2
- package/dist/calcite/p-ee38ed28.system.entry.js +6 -0
- package/dist/calcite/p-ee654d44.entry.js +6 -0
- package/dist/calcite/p-f2fc0881.system.js +6 -0
- package/dist/calcite/p-f343928c.system.entry.js +6 -0
- package/dist/calcite/p-f3d82c23.entry.js +6 -0
- package/dist/calcite/p-f417a37e.system.entry.js +6 -0
- package/dist/calcite/p-f450b40d.system.entry.js +6 -0
- package/dist/calcite/{p-056f3ea3.system.js → p-f5490b0d.system.js} +1 -1
- package/dist/calcite/p-f947bed5.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-20d1925e.js → ExpandToggle-6ae0950b.js} +5 -5
- package/dist/cjs/{Heading-855fbab6.js → Heading-e857efa5.js} +2 -2
- package/dist/cjs/app-globals-19aed09c.js +50 -0
- package/dist/cjs/{array-8cba1b68.js → array-e8d3902b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js +13 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +58 -45
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -11
- package/dist/cjs/calcite-action.cjs.entry.js +9 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +50 -43
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -13
- package/dist/cjs/calcite-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-card.cjs.entry.js +9 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +26 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -19
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +67 -203
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +30 -29
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +86 -75
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +11 -37
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +27 -27
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +34 -37
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +18 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +331 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -23
- package/dist/cjs/calcite-input.cjs.entry.js +18 -17
- package/dist/cjs/calcite-label.cjs.entry.js +8 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +58 -45
- package/dist/cjs/calcite-notice.cjs.entry.js +26 -11
- package/dist/cjs/calcite-option_3.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -18
- package/dist/cjs/calcite-popover_2.cjs.entry.js +47 -35
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +22 -21
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -19
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +12 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +76 -30
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite.cjs.js +6 -3
- package/dist/cjs/{conditionalSlot-d7d41e5e.js → conditionalSlot-d648ba7c.js} +3 -3
- package/dist/cjs/{debounce-c6535474.js → debounce-2bc47bea.js} +1 -1
- package/dist/cjs/{dom-63f7a393.js → dom-49495bbc.js} +5 -18
- package/dist/cjs/{forIn-31c5151b.js → filter-2d8f8a74.js} +142 -4
- package/dist/cjs/{floating-ui-1e2c4828.js → floating-ui-84200b42.js} +59 -10
- package/dist/cjs/{form-2fb0263d.js → form-db085655.js} +3 -3
- package/dist/cjs/{guid-bfda150b.js → guid-cd0069ab.js} +1 -1
- package/dist/cjs/{index-aa58cebb.js → index-67d2d0a2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-c148950b.js → interactive-a0570d10.js} +1 -1
- package/dist/cjs/{interfaces-78d94377.js → interfaces-b89b43c0.js} +1 -1
- package/dist/cjs/{key-790c3a9c.js → key-1a866191.js} +1 -1
- package/dist/cjs/{label-b3ded17f.js → label-1afd9205.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-20b4a0d8.js → locale-8f5384e9.js} +2 -2
- package/dist/cjs/{math-9fec6f1e.js → math-b3864fb0.js} +1 -1
- package/dist/cjs/{observers-b52c783e.js → observers-6189af7e.js} +1 -1
- package/dist/cjs/openCloseComponent-724719be.js +54 -0
- package/dist/cjs/{resources-76621c8a.js → resources-10bab689.js} +3 -3
- package/dist/cjs/{resources-c0beb775.js → resources-3d1862b2.js} +1 -1
- package/dist/cjs/{resources-14e7a312.js → resources-98da4ef3.js} +1 -1
- package/dist/cjs/resources-b34cfae7.js +24 -0
- package/dist/cjs/{resources-03c28605.js → resources-e2944684.js} +5 -5
- package/dist/cjs/{sortable.esm-87003d53.js → sortable.esm-2edfb432.js} +1 -1
- package/dist/cjs/{utils-32566c58.js → utils-7583fe05.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/accordion/accordion.js +3 -3
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +5 -5
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -2
- package/dist/collection/components/action/action.js +2 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -2
- package/dist/collection/components/action-menu/action-menu.js +50 -37
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -8
- package/dist/collection/components/alert/alert.js +69 -40
- 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 +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +1 -22
- package/dist/collection/components/block/block.js +2 -2
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +1 -1
- package/dist/collection/components/block-section/block-section.js +4 -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 +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +3 -3
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +6 -5
- package/dist/collection/components/chip/chip.css +1 -3
- package/dist/collection/components/chip/chip.js +23 -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 +1 -1
- package/dist/collection/components/color-picker/color-picker.js +8 -7
- 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 +1 -2
- 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 +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +3 -4
- package/dist/collection/components/combobox/combobox.js +54 -52
- 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 +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/collection/components/date-picker/date-picker.css +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- 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 +1 -4
- package/dist/collection/components/date-picker-day/date-picker-day.js +6 -5
- package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +7 -6
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +4 -6
- package/dist/collection/components/dropdown/dropdown.js +88 -73
- 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 +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +3 -3
- 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 +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +4 -4
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +1 -1
- package/dist/collection/components/filter/filter.js +7 -33
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -3
- package/dist/collection/components/input/input.js +4 -4
- 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 +4 -4
- package/dist/collection/components/input-date-picker/input-date-picker.js +23 -27
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -3
- package/dist/collection/components/input-number/input-number.js +4 -4
- 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-text/input-text.css +398 -0
- package/dist/collection/components/input-text/input-text.js +899 -0
- package/dist/collection/components/input-text/resources.js +24 -0
- package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +23 -19
- package/dist/collection/components/modal/modal.js +44 -39
- package/dist/collection/components/modal/resources.js +9 -2
- package/dist/collection/components/notice/notice.css +1 -1
- package/dist/collection/components/notice/notice.js +22 -4
- 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 +2 -2
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +3 -31
- package/dist/collection/components/panel/panel.js +5 -5
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/collection/components/pick-list/pick-list.js +2 -2
- 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 +4 -23
- 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 +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +6 -6
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.css +2 -2
- package/dist/collection/components/popover/popover.js +43 -29
- 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 +3 -3
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +24 -24
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +14 -14
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +1 -6
- package/dist/collection/components/radio-group/radio-group.js +20 -20
- package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +10 -10
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +2 -2
- package/dist/collection/components/rating/rating.js +23 -23
- 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 +2 -2
- 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 +1 -1
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +3 -3
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +1 -2
- package/dist/collection/components/shell-panel/shell-panel.js +2 -2
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +8 -15
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +2 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +1 -1
- package/dist/collection/components/split-button/split-button.js +10 -5
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +3 -2
- package/dist/collection/components/stepper/stepper.js +3 -3
- package/dist/collection/components/stepper-item/stepper-item.css +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +5 -5
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/switch/switch.js +5 -4
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +3 -3
- package/dist/collection/components/tab/tab.js +56 -10
- package/dist/collection/components/tab-nav/tab-nav.css +5 -1
- package/dist/collection/components/tab-nav/tab-nav.js +3 -3
- package/dist/collection/components/tab-title/tab-title.css +32 -44
- package/dist/collection/components/tab-title/tab-title.js +64 -17
- 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 +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +1 -9
- package/dist/collection/components/tile-select/tile-select.js +2 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +1 -1
- package/dist/collection/components/time-picker/time-picker.js +9 -13
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +3 -22
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -23
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- 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 +2 -2
- package/dist/collection/components/tooltip/tooltip.js +8 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/collection/components/tree-item/tree-item.js +2 -2
- 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 +2 -2
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- package/dist/collection/demos/_assets/demo-form.js +22 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- 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 +45 -2
- package/dist/collection/utils/popper.js +121 -0
- package/dist/collection/utils/resources.js +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +48 -35
- package/dist/components/action.js +3 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +8 -7
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +46 -39
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +5 -4
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- 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 +9 -8
- 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 +54 -191
- 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 +5 -5
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- 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 +5 -5
- package/dist/components/calcite-input-date-picker.js +23 -27
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +7 -6
- package/dist/components/calcite-input-text.d.ts +11 -0
- package/dist/components/calcite-input-text.js +383 -0
- package/dist/components/calcite-input-time-picker.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +52 -40
- package/dist/components/calcite-notice.js +19 -5
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +4 -4
- package/dist/components/calcite-panel.js +6 -6
- 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 +5 -5
- 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 +8 -8
- package/dist/components/calcite-radio-button.js +14 -14
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +11 -11
- package/dist/components/calcite-rating.js +12 -12
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +10 -11
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +10 -5
- package/dist/components/calcite-stepper-item.js +6 -6
- package/dist/components/calcite-stepper.js +4 -4
- 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 +3 -3
- 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 +4 -4
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +8 -3
- package/dist/components/calcite-tree-item.js +5 -4
- package/dist/components/calcite-tree.js +5 -5
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +5 -5
- package/dist/components/checkbox.js +7 -6
- package/dist/components/chip.js +20 -4
- package/dist/components/color-picker-hex-input.js +4 -4
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +9 -7
- package/dist/components/date-picker-month-header.js +8 -7
- package/dist/components/date-picker-month.js +6 -6
- package/dist/components/date-picker.js +4 -4
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -15
- package/dist/components/dropdown.js +74 -64
- package/dist/components/filter.js +741 -195
- package/dist/components/filter2.js +186 -0
- package/dist/components/floating-ui.js +58 -9
- 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 +3 -3
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +44 -1
- package/dist/components/input.js +7 -6
- 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 +3 -3
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +51 -0
- package/dist/components/pick-list-item.js +6 -6
- package/dist/components/popover.js +41 -30
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -5
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +41 -16
- package/dist/components/tab.js +29 -7
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +10 -14
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +1518 -972
- package/dist/esm/{ExpandToggle-131c7dcb.js → ExpandToggle-0b0a550d.js} +5 -5
- package/dist/esm/{Heading-93ced199.js → Heading-53f20654.js} +2 -2
- package/dist/esm/app-globals-0eb51a63.js +48 -0
- package/dist/esm/{array-5d7e7abd.js → array-bfb963a8.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +15 -14
- package/dist/esm/calcite-action-bar.entry.js +13 -12
- package/dist/esm/calcite-action-group.entry.js +10 -9
- package/dist/esm/calcite-action-menu.entry.js +51 -38
- package/dist/esm/calcite-action-pad.entry.js +12 -11
- package/dist/esm/calcite-action.entry.js +9 -8
- package/dist/esm/calcite-alert.entry.js +50 -43
- package/dist/esm/calcite-avatar.entry.js +7 -6
- package/dist/esm/calcite-block_2.entry.js +15 -13
- package/dist/esm/calcite-button.entry.js +10 -9
- package/dist/esm/calcite-card.entry.js +9 -8
- package/dist/esm/calcite-checkbox.entry.js +14 -12
- package/dist/esm/calcite-chip.entry.js +26 -9
- package/dist/esm/calcite-color-picker_3.entry.js +21 -19
- package/dist/esm/calcite-combobox_3.entry.js +66 -202
- package/dist/esm/calcite-date-picker_4.entry.js +29 -28
- package/dist/esm/calcite-dropdown_3.entry.js +86 -75
- package/dist/esm/calcite-fab.entry.js +7 -6
- package/dist/esm/calcite-filter.entry.js +11 -37
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +19 -19
- package/dist/esm/calcite-handle.entry.js +7 -6
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -11
- package/dist/esm/calcite-input-date-picker.entry.js +34 -37
- package/dist/esm/calcite-input-message.entry.js +6 -5
- package/dist/esm/calcite-input-number.entry.js +16 -15
- package/dist/esm/calcite-input-text.entry.js +327 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -23
- package/dist/esm/calcite-input.entry.js +16 -15
- package/dist/esm/calcite-label.entry.js +8 -7
- package/dist/esm/calcite-link.entry.js +7 -6
- package/dist/esm/calcite-list_3.entry.js +12 -11
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +58 -45
- package/dist/esm/calcite-notice.entry.js +26 -11
- package/dist/esm/calcite-option_3.entry.js +15 -14
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +15 -14
- package/dist/esm/calcite-pick-list_3.entry.js +19 -18
- package/dist/esm/calcite-popover_2.entry.js +47 -35
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +10 -10
- package/dist/esm/calcite-radio-button.entry.js +22 -21
- package/dist/esm/calcite-radio-group_2.entry.js +23 -22
- package/dist/esm/calcite-rating.entry.js +20 -19
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +12 -11
- package/dist/esm/calcite-sortable-list.entry.js +7 -7
- package/dist/esm/calcite-split-button.entry.js +12 -7
- package/dist/esm/calcite-stepper_2.entry.js +14 -13
- package/dist/esm/calcite-switch.entry.js +13 -11
- package/dist/esm/calcite-tab_4.entry.js +76 -30
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +9 -8
- package/dist/esm/calcite-tip_3.entry.js +14 -13
- package/dist/esm/calcite-tooltip_2.entry.js +14 -8
- package/dist/esm/calcite-tree_2.entry.js +12 -11
- package/dist/esm/calcite-value-list_2.entry.js +16 -15
- package/dist/esm/calcite.js +6 -3
- package/dist/esm/{conditionalSlot-b78ec702.js → conditionalSlot-3c2e3da6.js} +3 -3
- package/dist/esm/{debounce-7b337e34.js → debounce-6c1fb2e1.js} +1 -1
- package/dist/esm/{dom-773d1009.js → dom-b00b63fe.js} +4 -16
- package/dist/{components/forIn.js → esm/filter-1b9ea22a.js} +142 -3
- package/dist/esm/{floating-ui-9b7dcf5f.js → floating-ui-4af4d0ec.js} +59 -10
- package/dist/esm/{form-2cfa20ec.js → form-b162c519.js} +3 -3
- package/dist/esm/{guid-41992570.js → guid-4eb9b69b.js} +1 -1
- package/dist/esm/{index-e2035750.js → index-2980b14c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-52c414ad.js → interactive-6c201311.js} +1 -1
- package/dist/esm/{interfaces-2163b1eb.js → interfaces-a1af0701.js} +1 -1
- package/dist/esm/{key-7208494a.js → key-f8db6ac0.js} +1 -1
- package/dist/esm/{label-dd1d4ebf.js → label-7607bbd1.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-66830132.js → locale-9f7b3bc6.js} +2 -2
- package/dist/esm/{math-d77047f4.js → math-4da02f6f.js} +1 -1
- package/dist/esm/{observers-ebdbf52f.js → observers-dc6401d4.js} +1 -1
- package/dist/esm/openCloseComponent-36a012f7.js +51 -0
- package/dist/esm/{resources-9afaaa17.js → resources-1d846ef4.js} +5 -5
- package/dist/esm/{resources-4e2c9912.js → resources-3c798fda.js} +1 -1
- package/dist/esm/{resources-9e1ec649.js → resources-7b1070b6.js} +3 -3
- package/dist/esm/resources-d3714ef2.js +19 -0
- package/dist/esm/{resources-1b220b88.js → resources-d7d605e6.js} +1 -1
- package/dist/esm/{sortable.esm-9a2fbede.js → sortable.esm-28f07dcf.js} +1 -1
- package/dist/esm/{utils-011f57d8.js → utils-62a98b74.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-131c7dcb.js → ExpandToggle-0b0a550d.js} +2 -2
- package/dist/esm-es5/Heading-53f20654.js +6 -0
- package/dist/esm-es5/app-globals-0eb51a63.js +6 -0
- package/dist/esm-es5/{array-5d7e7abd.js → array-bfb963a8.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- 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 +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +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 +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +6 -0
- 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 +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-b78ec702.js → conditionalSlot-3c2e3da6.js} +2 -2
- package/dist/esm-es5/{debounce-7b337e34.js → debounce-6c1fb2e1.js} +1 -1
- package/dist/esm-es5/dom-b00b63fe.js +6 -0
- package/dist/esm-es5/filter-1b9ea22a.js +6 -0
- package/dist/esm-es5/floating-ui-4af4d0ec.js +6 -0
- package/dist/esm-es5/{form-2cfa20ec.js → form-b162c519.js} +2 -2
- package/dist/esm-es5/{guid-41992570.js → guid-4eb9b69b.js} +1 -1
- package/dist/esm-es5/{index-e2035750.js → index-2980b14c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-52c414ad.js → interactive-6c201311.js} +1 -1
- package/dist/esm-es5/{interfaces-2163b1eb.js → interfaces-a1af0701.js} +1 -1
- package/dist/esm-es5/{key-7208494a.js → key-f8db6ac0.js} +1 -1
- package/dist/esm-es5/{label-dd1d4ebf.js → label-7607bbd1.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-66830132.js → locale-9f7b3bc6.js} +2 -2
- package/dist/esm-es5/{math-d77047f4.js → math-4da02f6f.js} +1 -1
- package/dist/esm-es5/{observers-ebdbf52f.js → observers-dc6401d4.js} +1 -1
- package/dist/esm-es5/openCloseComponent-36a012f7.js +6 -0
- package/dist/esm-es5/{resources-9afaaa17.js → resources-1d846ef4.js} +2 -2
- package/dist/esm-es5/{resources-4e2c9912.js → resources-3c798fda.js} +1 -1
- package/dist/esm-es5/{resources-9e1ec649.js → resources-7b1070b6.js} +2 -2
- package/dist/esm-es5/resources-d3714ef2.js +6 -0
- package/dist/esm-es5/{resources-1b220b88.js → resources-d7d605e6.js} +1 -1
- package/dist/esm-es5/{sortable.esm-9a2fbede.js → sortable.esm-28f07dcf.js} +1 -1
- package/dist/esm-es5/{utils-011f57d8.js → utils-62a98b74.js} +1 -1
- package/dist/extras/docs-json.json +890 -303
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +10 -7
- package/dist/types/components/alert/alert.d.ts +12 -7
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +11 -6
- package/dist/types/components/dropdown/dropdown.d.ts +19 -11
- package/dist/types/components/dropdown/interfaces.d.ts +6 -0
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -6
- package/dist/types/components/input-text/input-text.d.ts +170 -0
- package/dist/types/components/input-text/resources.d.ts +19 -0
- package/dist/types/components/modal/modal.d.ts +5 -6
- package/dist/types/components/modal/resources.d.ts +5 -0
- package/dist/types/components/notice/notice.d.ts +2 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +11 -6
- package/dist/types/components/radio-button/radio-button.d.ts +13 -13
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components/slider/slider.d.ts +0 -1
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +8 -0
- package/dist/types/components/tab-title/tab-title.d.ts +11 -2
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +366 -102
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/utils/form.d.ts +1 -1
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/openCloseComponent.d.ts +24 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +1441 -858
- package/package.json +18 -17
- package/readme.md +2 -2
- package/dist/calcite/p-02ea3541.entry.js +0 -6
- package/dist/calcite/p-06bfa7f4.js +0 -6
- package/dist/calcite/p-07ac44fd.system.entry.js +0 -6
- package/dist/calcite/p-106d714c.entry.js +0 -6
- package/dist/calcite/p-1483d257.system.entry.js +0 -6
- package/dist/calcite/p-1d27e1b2.system.entry.js +0 -6
- package/dist/calcite/p-1d528e3a.system.entry.js +0 -6
- package/dist/calcite/p-1dd3c731.entry.js +0 -6
- package/dist/calcite/p-1fca19bd.entry.js +0 -6
- package/dist/calcite/p-21263865.system.entry.js +0 -6
- package/dist/calcite/p-2172c393.entry.js +0 -6
- package/dist/calcite/p-224b93e9.entry.js +0 -6
- package/dist/calcite/p-251b6d61.js +0 -6
- package/dist/calcite/p-25287fea.entry.js +0 -6
- package/dist/calcite/p-25b0526d.entry.js +0 -6
- package/dist/calcite/p-2806e475.system.entry.js +0 -6
- package/dist/calcite/p-2a7f48fa.entry.js +0 -6
- package/dist/calcite/p-2ac8bf37.js +0 -6
- package/dist/calcite/p-2c07319a.system.entry.js +0 -6
- package/dist/calcite/p-2d1a1a9b.entry.js +0 -6
- package/dist/calcite/p-2d63dd1d.system.entry.js +0 -6
- package/dist/calcite/p-2f430a5b.system.entry.js +0 -6
- package/dist/calcite/p-313ff745.js +0 -6
- package/dist/calcite/p-325d5fc2.system.entry.js +0 -6
- package/dist/calcite/p-3278a041.entry.js +0 -6
- package/dist/calcite/p-34dc627d.system.entry.js +0 -6
- package/dist/calcite/p-355c3b49.entry.js +0 -6
- package/dist/calcite/p-395d5d81.system.entry.js +0 -6
- package/dist/calcite/p-3a02a16e.system.entry.js +0 -6
- package/dist/calcite/p-3afd8219.js +0 -6
- package/dist/calcite/p-3f0fb908.system.js +0 -6
- package/dist/calcite/p-40ef7538.system.entry.js +0 -6
- package/dist/calcite/p-44a164a5.system.entry.js +0 -6
- package/dist/calcite/p-44c827f6.entry.js +0 -6
- package/dist/calcite/p-44fa20c3.system.entry.js +0 -6
- package/dist/calcite/p-46fcc80b.system.js +0 -6
- package/dist/calcite/p-4dbd7d99.entry.js +0 -6
- package/dist/calcite/p-4dfe59ba.entry.js +0 -6
- package/dist/calcite/p-4ed94b0c.entry.js +0 -6
- package/dist/calcite/p-4f77ab07.system.entry.js +0 -6
- package/dist/calcite/p-51b5c16b.system.entry.js +0 -6
- package/dist/calcite/p-52a9c9ac.system.entry.js +0 -6
- package/dist/calcite/p-5548019b.system.entry.js +0 -6
- package/dist/calcite/p-5986be6a.system.entry.js +0 -6
- package/dist/calcite/p-5d19ba12.system.entry.js +0 -6
- package/dist/calcite/p-5e00d81b.entry.js +0 -6
- package/dist/calcite/p-5e67de08.system.entry.js +0 -6
- package/dist/calcite/p-61ac6255.entry.js +0 -6
- package/dist/calcite/p-65714f09.entry.js +0 -6
- package/dist/calcite/p-68c2e792.system.entry.js +0 -6
- package/dist/calcite/p-696189d3.entry.js +0 -6
- package/dist/calcite/p-698aa1c5.system.entry.js +0 -6
- package/dist/calcite/p-6bc01f5f.system.entry.js +0 -6
- package/dist/calcite/p-6f870d52.entry.js +0 -6
- package/dist/calcite/p-6ff70b1f.system.entry.js +0 -6
- package/dist/calcite/p-738f23ab.system.entry.js +0 -6
- package/dist/calcite/p-75052b74.entry.js +0 -6
- package/dist/calcite/p-758a0313.entry.js +0 -6
- package/dist/calcite/p-76dcc963.entry.js +0 -6
- package/dist/calcite/p-7a6e0092.entry.js +0 -6
- package/dist/calcite/p-7dbc88f0.system.entry.js +0 -6
- package/dist/calcite/p-7f536f37.system.entry.js +0 -6
- package/dist/calcite/p-7f7a2070.entry.js +0 -6
- package/dist/calcite/p-81c838da.system.entry.js +0 -6
- package/dist/calcite/p-85b04b39.system.entry.js +0 -6
- package/dist/calcite/p-8871b3b2.system.entry.js +0 -6
- package/dist/calcite/p-89dcad49.entry.js +0 -6
- package/dist/calcite/p-8bfecbf1.system.entry.js +0 -6
- package/dist/calcite/p-8dfb2a49.system.entry.js +0 -6
- package/dist/calcite/p-8e262d98.entry.js +0 -6
- package/dist/calcite/p-90124757.system.entry.js +0 -6
- package/dist/calcite/p-90413eb8.entry.js +0 -6
- package/dist/calcite/p-9279086f.entry.js +0 -6
- package/dist/calcite/p-93581d65.entry.js +0 -6
- package/dist/calcite/p-93e2c809.entry.js +0 -6
- package/dist/calcite/p-995b06cf.entry.js +0 -6
- package/dist/calcite/p-9c682b55.system.entry.js +0 -6
- package/dist/calcite/p-9cff8f59.entry.js +0 -6
- package/dist/calcite/p-9d398103.system.js +0 -6
- package/dist/calcite/p-a15628f9.system.entry.js +0 -6
- package/dist/calcite/p-a24254c4.system.entry.js +0 -6
- package/dist/calcite/p-a9ec85ad.system.entry.js +0 -6
- package/dist/calcite/p-ab4d5eba.system.entry.js +0 -6
- package/dist/calcite/p-ac1d3121.entry.js +0 -6
- package/dist/calcite/p-acca3644.system.entry.js +0 -6
- package/dist/calcite/p-ad73fc52.system.entry.js +0 -6
- package/dist/calcite/p-ad85b30b.system.entry.js +0 -6
- package/dist/calcite/p-adb90152.system.entry.js +0 -6
- package/dist/calcite/p-b2d2e857.entry.js +0 -6
- package/dist/calcite/p-b4d58ff4.entry.js +0 -6
- package/dist/calcite/p-b8ba96b7.system.entry.js +0 -6
- package/dist/calcite/p-b95e4b20.entry.js +0 -6
- package/dist/calcite/p-bab1f14e.entry.js +0 -6
- package/dist/calcite/p-bd2be3f5.entry.js +0 -6
- package/dist/calcite/p-bd2e7fe8.system.entry.js +0 -6
- package/dist/calcite/p-be08dcbd.entry.js +0 -6
- package/dist/calcite/p-c027aef8.entry.js +0 -6
- package/dist/calcite/p-c190d30c.entry.js +0 -6
- package/dist/calcite/p-c92c4d1b.entry.js +0 -6
- package/dist/calcite/p-caa785ff.entry.js +0 -6
- package/dist/calcite/p-cbe1acb3.system.entry.js +0 -6
- package/dist/calcite/p-cf730667.entry.js +0 -6
- package/dist/calcite/p-d1c1035b.system.entry.js +0 -6
- package/dist/calcite/p-d4542664.system.entry.js +0 -6
- package/dist/calcite/p-d59fd4ca.entry.js +0 -6
- package/dist/calcite/p-da136364.system.js +0 -6
- package/dist/calcite/p-dd30f3b3.system.entry.js +0 -6
- package/dist/calcite/p-dfe2dca8.system.entry.js +0 -6
- package/dist/calcite/p-e8128e9a.entry.js +0 -6
- package/dist/calcite/p-e86b7099.entry.js +0 -6
- package/dist/calcite/p-efc7d73b.entry.js +0 -6
- package/dist/calcite/p-f29b59a6.entry.js +0 -6
- package/dist/calcite/p-f6525305.system.entry.js +0 -6
- package/dist/calcite/p-ff119586.system.entry.js +0 -6
- package/dist/esm/forIn-f0ad73ff.js +0 -620
- package/dist/esm-es5/Heading-93ced199.js +0 -6
- package/dist/esm-es5/dom-773d1009.js +0 -6
- package/dist/esm-es5/floating-ui-9b7dcf5f.js +0 -6
- package/dist/esm-es5/forIn-f0ad73ff.js +0 -6
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
7
7
|
import { getSlotted, setRequestedIcon, toAriaBoolean } from "../../utils/dom";
|
|
8
8
|
import { DURATIONS, SLOTS, TEXT } from "./resources";
|
|
9
9
|
import { StatusIcons } from "./interfaces";
|
|
10
|
+
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
10
11
|
/**
|
|
11
12
|
* Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
|
|
12
13
|
* at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.
|
|
@@ -23,8 +24,14 @@ export class Alert {
|
|
|
23
24
|
// Properties
|
|
24
25
|
//
|
|
25
26
|
//---------------------------------------------------------------------------
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* When true, opens the combobox
|
|
29
|
+
*
|
|
30
|
+
* @deprecated use open instead
|
|
31
|
+
*/
|
|
27
32
|
this.active = false;
|
|
33
|
+
/** When true, opens the dropdown */
|
|
34
|
+
this.open = false;
|
|
28
35
|
/** When true, the component closes automatically (recommended for passive, non-blocking alerts). */
|
|
29
36
|
this.autoDismiss = false;
|
|
30
37
|
/** Specifies the duration before the component automatically closes (only use with `autoDismiss`). */
|
|
@@ -52,40 +59,40 @@ export class Alert {
|
|
|
52
59
|
this.queueLength = 0;
|
|
53
60
|
/** is the alert queued */
|
|
54
61
|
this.queued = false;
|
|
55
|
-
this.setContainerEl = (el) => {
|
|
56
|
-
this.containerEl = el;
|
|
57
|
-
this.containerEl.addEventListener("transitionstart", this.transitionStartHandler);
|
|
58
|
-
};
|
|
59
62
|
this.autoDismissTimeoutId = null;
|
|
60
63
|
this.trackTimer = Date.now();
|
|
61
|
-
this.
|
|
64
|
+
this.openTransitionProp = "opacity";
|
|
65
|
+
//--------------------------------------------------------------------------
|
|
66
|
+
//
|
|
67
|
+
// Private Methods
|
|
68
|
+
//
|
|
69
|
+
//--------------------------------------------------------------------------
|
|
70
|
+
this.setTransitionEl = (el) => {
|
|
71
|
+
this.transitionEl = el;
|
|
72
|
+
connectOpenCloseComponent(this);
|
|
73
|
+
};
|
|
62
74
|
/** close and emit calciteInternalAlertSync event with the updated queue payload */
|
|
63
75
|
this.closeAlert = () => {
|
|
64
76
|
this.autoDismissTimeoutId = null;
|
|
65
77
|
this.queued = false;
|
|
66
|
-
this.
|
|
78
|
+
this.open = false;
|
|
67
79
|
this.queue = this.queue.filter((el) => el !== this.el);
|
|
68
80
|
this.determineActiveAlert();
|
|
69
81
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
70
82
|
};
|
|
71
|
-
this.transitionStartHandler = (event) => {
|
|
72
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
73
|
-
this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
this.transitionEnd = (event) => {
|
|
77
|
-
if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
|
|
78
|
-
this.active ? this.onOpen() : this.onClose();
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
83
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
activeHandler(value) {
|
|
85
|
+
this.open = value;
|
|
86
|
+
}
|
|
87
|
+
openHandler(value) {
|
|
88
|
+
if (this.open && !this.queued) {
|
|
84
89
|
this.calciteInternalAlertRegister.emit();
|
|
90
|
+
this.active = value;
|
|
85
91
|
}
|
|
86
|
-
if (!this.
|
|
92
|
+
if (!this.open) {
|
|
87
93
|
this.queue = this.queue.filter((el) => el !== this.el);
|
|
88
94
|
this.calciteInternalAlertSync.emit({ queue: this.queue });
|
|
95
|
+
this.active = false;
|
|
89
96
|
}
|
|
90
97
|
}
|
|
91
98
|
updateRequestedIcon() {
|
|
@@ -103,17 +110,20 @@ export class Alert {
|
|
|
103
110
|
//
|
|
104
111
|
//--------------------------------------------------------------------------
|
|
105
112
|
connectedCallback() {
|
|
106
|
-
|
|
113
|
+
const open = this.open || this.active;
|
|
114
|
+
if (open && !this.queued) {
|
|
115
|
+
this.activeHandler(open);
|
|
116
|
+
this.openHandler(open);
|
|
107
117
|
this.calciteInternalAlertRegister.emit();
|
|
108
118
|
}
|
|
119
|
+
connectOpenCloseComponent(this);
|
|
109
120
|
}
|
|
110
121
|
componentWillLoad() {
|
|
111
122
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
112
123
|
}
|
|
113
124
|
disconnectedCallback() {
|
|
114
|
-
var _a;
|
|
115
125
|
window.clearTimeout(this.autoDismissTimeoutId);
|
|
116
|
-
(
|
|
126
|
+
disconnectOpenCloseComponent(this);
|
|
117
127
|
}
|
|
118
128
|
render() {
|
|
119
129
|
const closeButton = (h("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" },
|
|
@@ -129,7 +139,7 @@ export class Alert {
|
|
|
129
139
|
container: true,
|
|
130
140
|
queued,
|
|
131
141
|
[placement]: true
|
|
132
|
-
},
|
|
142
|
+
}, ref: this.setTransitionEl },
|
|
133
143
|
requestedIcon ? (h("div", { class: "alert-icon" },
|
|
134
144
|
h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null,
|
|
135
145
|
h("div", { class: "alert-content" },
|
|
@@ -151,7 +161,7 @@ export class Alert {
|
|
|
151
161
|
}
|
|
152
162
|
// when an alert is first registered, trigger a queue sync
|
|
153
163
|
alertRegister() {
|
|
154
|
-
if (this.
|
|
164
|
+
if (this.open && !this.queue.includes(this.el)) {
|
|
155
165
|
this.queued = true;
|
|
156
166
|
this.queue.push(this.el);
|
|
157
167
|
}
|
|
@@ -176,11 +186,6 @@ export class Alert {
|
|
|
176
186
|
this.closeButton.focus();
|
|
177
187
|
}
|
|
178
188
|
}
|
|
179
|
-
//--------------------------------------------------------------------------
|
|
180
|
-
//
|
|
181
|
-
// Private Methods
|
|
182
|
-
//
|
|
183
|
-
//--------------------------------------------------------------------------
|
|
184
189
|
/** determine which alert is active */
|
|
185
190
|
determineActiveAlert() {
|
|
186
191
|
var _a;
|
|
@@ -232,13 +237,34 @@ export class Alert {
|
|
|
232
237
|
"required": false,
|
|
233
238
|
"optional": false,
|
|
234
239
|
"docs": {
|
|
235
|
-
"tags": [
|
|
236
|
-
|
|
240
|
+
"tags": [{
|
|
241
|
+
"name": "deprecated",
|
|
242
|
+
"text": "use open instead"
|
|
243
|
+
}],
|
|
244
|
+
"text": "When true, opens the combobox"
|
|
237
245
|
},
|
|
238
246
|
"attribute": "active",
|
|
239
247
|
"reflect": true,
|
|
240
248
|
"defaultValue": "false"
|
|
241
249
|
},
|
|
250
|
+
"open": {
|
|
251
|
+
"type": "boolean",
|
|
252
|
+
"mutable": true,
|
|
253
|
+
"complexType": {
|
|
254
|
+
"original": "boolean",
|
|
255
|
+
"resolved": "boolean",
|
|
256
|
+
"references": {}
|
|
257
|
+
},
|
|
258
|
+
"required": false,
|
|
259
|
+
"optional": false,
|
|
260
|
+
"docs": {
|
|
261
|
+
"tags": [],
|
|
262
|
+
"text": "When true, opens the dropdown"
|
|
263
|
+
},
|
|
264
|
+
"attribute": "open",
|
|
265
|
+
"reflect": true,
|
|
266
|
+
"defaultValue": "false"
|
|
267
|
+
},
|
|
242
268
|
"autoDismiss": {
|
|
243
269
|
"type": "boolean",
|
|
244
270
|
"mutable": false,
|
|
@@ -415,7 +441,7 @@ export class Alert {
|
|
|
415
441
|
"method": "calciteAlertBeforeClose",
|
|
416
442
|
"name": "calciteAlertBeforeClose",
|
|
417
443
|
"bubbles": true,
|
|
418
|
-
"cancelable":
|
|
444
|
+
"cancelable": false,
|
|
419
445
|
"composed": true,
|
|
420
446
|
"docs": {
|
|
421
447
|
"tags": [],
|
|
@@ -430,7 +456,7 @@ export class Alert {
|
|
|
430
456
|
"method": "calciteAlertClose",
|
|
431
457
|
"name": "calciteAlertClose",
|
|
432
458
|
"bubbles": true,
|
|
433
|
-
"cancelable":
|
|
459
|
+
"cancelable": false,
|
|
434
460
|
"composed": true,
|
|
435
461
|
"docs": {
|
|
436
462
|
"tags": [],
|
|
@@ -445,7 +471,7 @@ export class Alert {
|
|
|
445
471
|
"method": "calciteAlertBeforeOpen",
|
|
446
472
|
"name": "calciteAlertBeforeOpen",
|
|
447
473
|
"bubbles": true,
|
|
448
|
-
"cancelable":
|
|
474
|
+
"cancelable": false,
|
|
449
475
|
"composed": true,
|
|
450
476
|
"docs": {
|
|
451
477
|
"tags": [],
|
|
@@ -460,7 +486,7 @@ export class Alert {
|
|
|
460
486
|
"method": "calciteAlertOpen",
|
|
461
487
|
"name": "calciteAlertOpen",
|
|
462
488
|
"bubbles": true,
|
|
463
|
-
"cancelable":
|
|
489
|
+
"cancelable": false,
|
|
464
490
|
"composed": true,
|
|
465
491
|
"docs": {
|
|
466
492
|
"tags": [],
|
|
@@ -475,7 +501,7 @@ export class Alert {
|
|
|
475
501
|
"method": "calciteInternalAlertSync",
|
|
476
502
|
"name": "calciteInternalAlertSync",
|
|
477
503
|
"bubbles": true,
|
|
478
|
-
"cancelable":
|
|
504
|
+
"cancelable": false,
|
|
479
505
|
"composed": true,
|
|
480
506
|
"docs": {
|
|
481
507
|
"tags": [{
|
|
@@ -498,7 +524,7 @@ export class Alert {
|
|
|
498
524
|
"method": "calciteInternalAlertRegister",
|
|
499
525
|
"name": "calciteInternalAlertRegister",
|
|
500
526
|
"bubbles": true,
|
|
501
|
-
"cancelable":
|
|
527
|
+
"cancelable": false,
|
|
502
528
|
"composed": true,
|
|
503
529
|
"docs": {
|
|
504
530
|
"tags": [{
|
|
@@ -537,7 +563,10 @@ export class Alert {
|
|
|
537
563
|
static get elementRef() { return "el"; }
|
|
538
564
|
static get watchers() { return [{
|
|
539
565
|
"propName": "active",
|
|
540
|
-
"methodName": "
|
|
566
|
+
"methodName": "activeHandler"
|
|
567
|
+
}, {
|
|
568
|
+
"propName": "open",
|
|
569
|
+
"methodName": "openHandler"
|
|
541
570
|
}, {
|
|
542
571
|
"propName": "icon",
|
|
543
572
|
"methodName": "updateRequestedIcon"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
export var StatusIcons;
|
|
7
7
|
(function (StatusIcons) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, h, Prop, State } from "@stencil/core";
|
|
7
7
|
import { isValidHex } from "../color-picker/utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { hexToRGB } from "../color-picker/utils";
|
|
7
7
|
/**
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
:host([hidden]) {
|
|
105
|
-
display: none;
|
|
105
|
+
display: none !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:host([disabled]) {
|
|
@@ -157,27 +157,6 @@
|
|
|
157
157
|
padding: 0.5rem;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
h1.heading {
|
|
161
|
-
font-size: var(--calcite-font-size-2);
|
|
162
|
-
line-height: 1.5rem;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
h2.heading {
|
|
166
|
-
font-size: var(--calcite-font-size-1);
|
|
167
|
-
line-height: 1.5rem;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
h3.heading {
|
|
171
|
-
font-size: var(--calcite-font-size-0);
|
|
172
|
-
line-height: 1.25rem;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
h4.heading,
|
|
176
|
-
h5.heading {
|
|
177
|
-
font-size: var(--calcite-font-size--1);
|
|
178
|
-
line-height: 1rem;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
160
|
.header {
|
|
182
161
|
justify-content: flex-start;
|
|
183
162
|
padding: 0px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Prop } from "@stencil/core";
|
|
7
7
|
import { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from "./resources";
|
|
@@ -470,7 +470,7 @@ export class Block {
|
|
|
470
470
|
"method": "calciteBlockToggle",
|
|
471
471
|
"name": "calciteBlockToggle",
|
|
472
472
|
"bubbles": true,
|
|
473
|
-
"cancelable":
|
|
473
|
+
"cancelable": false,
|
|
474
474
|
"composed": true,
|
|
475
475
|
"docs": {
|
|
476
476
|
"tags": [],
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, Prop, h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, toAriaBoolean } from "../../utils/dom";
|
|
8
8
|
import { CSS, ICONS, TEXT } from "./resources";
|
|
9
9
|
import { guid } from "../../utils/guid";
|
|
10
|
+
import { isActivationKey } from "../../utils/key";
|
|
10
11
|
/**
|
|
11
12
|
* @slot - A slot for adding content to the block section.
|
|
12
13
|
*/
|
|
@@ -29,7 +30,7 @@ export class BlockSection {
|
|
|
29
30
|
//
|
|
30
31
|
// --------------------------------------------------------------------------
|
|
31
32
|
this.handleHeaderKeyDown = (event) => {
|
|
32
|
-
if (event.key
|
|
33
|
+
if (isActivationKey(event.key)) {
|
|
33
34
|
this.toggleSection();
|
|
34
35
|
event.preventDefault();
|
|
35
36
|
event.stopPropagation();
|
|
@@ -215,7 +216,7 @@ export class BlockSection {
|
|
|
215
216
|
"method": "calciteBlockSectionToggle",
|
|
216
217
|
"name": "calciteBlockSectionToggle",
|
|
217
218
|
"bubbles": true,
|
|
218
|
-
"cancelable":
|
|
219
|
+
"cancelable": false,
|
|
219
220
|
"composed": true,
|
|
220
221
|
"docs": {
|
|
221
222
|
"tags": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import "form-request-submit-polyfill/form-request-submit-polyfill";
|
|
7
7
|
import { Component, Element, h, Method, Prop, Build, State, Watch } from "@stencil/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
buttonLoader: "calcite-button--loader",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:host([hidden]) {
|
|
78
|
-
display: none;
|
|
78
|
+
display: none !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
:host {
|
|
@@ -102,17 +102,17 @@
|
|
|
102
102
|
border-radius: var(--calcite-border-radius-base);
|
|
103
103
|
}
|
|
104
104
|
:host .calcite-card-container:hover {
|
|
105
|
+
z-index: 1;
|
|
105
106
|
--tw-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);
|
|
106
107
|
--tw-shadow-colored: 0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);
|
|
107
108
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
108
|
-
z-index: 1;
|
|
109
109
|
}
|
|
110
110
|
:host .calcite-card-container:active {
|
|
111
|
+
z-index: 1;
|
|
111
112
|
--tw-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
|
|
112
113
|
--tw-shadow-colored: 0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
113
114
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
114
115
|
transition-duration: 75ms;
|
|
115
|
-
z-index: 1;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.container {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Prop } from "@stencil/core";
|
|
7
7
|
import { getSlotted, toAriaBoolean } from "../../utils/dom";
|
|
@@ -285,7 +285,7 @@ export class Card {
|
|
|
285
285
|
"method": "calciteCardSelect",
|
|
286
286
|
"name": "calciteCardSelect",
|
|
287
287
|
"bubbles": true,
|
|
288
|
-
"cancelable":
|
|
288
|
+
"cancelable": false,
|
|
289
289
|
"composed": true,
|
|
290
290
|
"docs": {
|
|
291
291
|
"tags": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
import { Component, Element, Event, h, Host, Method, Prop } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -10,6 +10,7 @@ import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
|
10
10
|
import { connectForm, disconnectForm } from "../../utils/form";
|
|
11
11
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
12
12
|
import { toAriaBoolean } from "../../utils/dom";
|
|
13
|
+
import { isActivationKey } from "../../utils/key";
|
|
13
14
|
export class Checkbox {
|
|
14
15
|
constructor() {
|
|
15
16
|
//--------------------------------------------------------------------------
|
|
@@ -63,7 +64,7 @@ export class Checkbox {
|
|
|
63
64
|
}
|
|
64
65
|
};
|
|
65
66
|
this.keyDownHandler = (event) => {
|
|
66
|
-
if (event.key
|
|
67
|
+
if (isActivationKey(event.key)) {
|
|
67
68
|
this.toggle();
|
|
68
69
|
event.preventDefault();
|
|
69
70
|
}
|
|
@@ -330,7 +331,7 @@ export class Checkbox {
|
|
|
330
331
|
"method": "calciteInternalCheckboxBlur",
|
|
331
332
|
"name": "calciteInternalCheckboxBlur",
|
|
332
333
|
"bubbles": true,
|
|
333
|
-
"cancelable":
|
|
334
|
+
"cancelable": false,
|
|
334
335
|
"composed": true,
|
|
335
336
|
"docs": {
|
|
336
337
|
"tags": [{
|
|
@@ -348,7 +349,7 @@ export class Checkbox {
|
|
|
348
349
|
"method": "calciteCheckboxChange",
|
|
349
350
|
"name": "calciteCheckboxChange",
|
|
350
351
|
"bubbles": true,
|
|
351
|
-
"cancelable":
|
|
352
|
+
"cancelable": false,
|
|
352
353
|
"composed": true,
|
|
353
354
|
"docs": {
|
|
354
355
|
"tags": [],
|
|
@@ -363,7 +364,7 @@ export class Checkbox {
|
|
|
363
364
|
"method": "calciteInternalCheckboxFocus",
|
|
364
365
|
"name": "calciteInternalCheckboxFocus",
|
|
365
366
|
"bubbles": true,
|
|
366
|
-
"cancelable":
|
|
367
|
+
"cancelable": false,
|
|
367
368
|
"composed": true,
|
|
368
369
|
"docs": {
|
|
369
370
|
"tags": [{
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:host([hidden]) {
|
|
78
|
-
display: none;
|
|
78
|
+
display: none !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
:host([scale=s]) {
|
|
@@ -144,12 +144,10 @@
|
|
|
144
144
|
padding-inline: var(--calcite-chip-spacing-unit-l);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
:host([dismissible]) span,
|
|
148
147
|
:host([closable]) span {
|
|
149
148
|
padding-inline: var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s);
|
|
150
149
|
}
|
|
151
150
|
|
|
152
|
-
:host([icon]:not([dismissible])) span,
|
|
153
151
|
:host([icon]:not([closable])) span {
|
|
154
152
|
padding-block: 0;
|
|
155
153
|
padding-inline: var(--calcite-chip-spacing-unit-l);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
|
-
import { Component, h, Prop, Event, Element, Method } from "@stencil/core";
|
|
6
|
+
import { Component, h, Prop, Event, Element, Method, Watch } from "@stencil/core";
|
|
7
7
|
import { getSlotted } from "../../utils/dom";
|
|
8
8
|
import { guid } from "../../utils/guid";
|
|
9
9
|
import { CSS, TEXT, SLOTS, ICONS } from "./resources";
|
|
@@ -55,6 +55,12 @@ export class Chip {
|
|
|
55
55
|
};
|
|
56
56
|
this.guid = guid();
|
|
57
57
|
}
|
|
58
|
+
handleDismissible(value) {
|
|
59
|
+
this.closable = value;
|
|
60
|
+
}
|
|
61
|
+
handleClosable(value) {
|
|
62
|
+
this.dismissible = value;
|
|
63
|
+
}
|
|
58
64
|
// --------------------------------------------------------------------------
|
|
59
65
|
//
|
|
60
66
|
// Lifecycle
|
|
@@ -62,6 +68,12 @@ export class Chip {
|
|
|
62
68
|
// --------------------------------------------------------------------------
|
|
63
69
|
connectedCallback() {
|
|
64
70
|
connectConditionalSlotComponent(this);
|
|
71
|
+
if (this.dismissible) {
|
|
72
|
+
this.handleDismissible(this.dismissible);
|
|
73
|
+
}
|
|
74
|
+
if (this.closable) {
|
|
75
|
+
this.handleClosable(this.closable);
|
|
76
|
+
}
|
|
65
77
|
}
|
|
66
78
|
disconnectedCallback() {
|
|
67
79
|
disconnectConditionalSlotComponent(this);
|
|
@@ -96,7 +108,7 @@ export class Chip {
|
|
|
96
108
|
this.icon ? iconEl : null,
|
|
97
109
|
h("span", { class: CSS.title, id: this.guid },
|
|
98
110
|
h("slot", null)),
|
|
99
|
-
this.closable
|
|
111
|
+
this.closable ? closeButton : null));
|
|
100
112
|
}
|
|
101
113
|
static get is() { return "calcite-chip"; }
|
|
102
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -314,7 +326,7 @@ export class Chip {
|
|
|
314
326
|
"method": "calciteChipDismiss",
|
|
315
327
|
"name": "calciteChipDismiss",
|
|
316
328
|
"bubbles": true,
|
|
317
|
-
"cancelable":
|
|
329
|
+
"cancelable": false,
|
|
318
330
|
"composed": true,
|
|
319
331
|
"docs": {
|
|
320
332
|
"tags": [],
|
|
@@ -350,4 +362,11 @@ export class Chip {
|
|
|
350
362
|
}
|
|
351
363
|
}; }
|
|
352
364
|
static get elementRef() { return "el"; }
|
|
365
|
+
static get watchers() { return [{
|
|
366
|
+
"propName": "dismissible",
|
|
367
|
+
"methodName": "handleDismissible"
|
|
368
|
+
}, {
|
|
369
|
+
"propName": "closable",
|
|
370
|
+
"methodName": "handleClosable"
|
|
371
|
+
}]; }
|
|
353
372
|
}
|