@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const toggleDir = () => {
|
|
2
|
+
document.dir = document.dir === "rtl" ? "ltr" : "rtl";
|
|
3
|
+
};
|
|
4
|
+
const toggleTheme = () => {
|
|
5
|
+
document.body.classList.toggle("calcite-theme-dark");
|
|
6
|
+
};
|
|
7
|
+
const toggleDom = (event) => {
|
|
8
|
+
const mover = document.querySelector("demo-dom-swapper");
|
|
9
|
+
const switchEl = event.currentTarget;
|
|
10
|
+
if (switchEl.checked) {
|
|
11
|
+
mover.moveTo("shadow");
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
mover.moveTo("light");
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const loadDemoToggles = () => {
|
|
18
|
+
document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
|
|
19
|
+
document.getElementById("demo-heading").textContent = document.title;
|
|
20
|
+
document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
|
|
21
|
+
document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
|
|
22
|
+
document.getElementById("toggle-dom").addEventListener("calciteSwitchChange", toggleDom);
|
|
23
|
+
};
|
|
24
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const DEMO_ROOT = "demos";
|
|
3
|
+
const ASSETS_PATH = "demos/_assets";
|
|
4
|
+
const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
|
|
5
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
6
|
+
const DISABLE_HEADER_URL_PARAM = "header-disabled";
|
|
7
|
+
const SCRIPTS = [
|
|
8
|
+
{
|
|
9
|
+
src: "build/calcite.esm.js",
|
|
10
|
+
type: "module"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
src: "demos/_assets/demo-dom-swapper.js"
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
const parseTemplate = (text) => {
|
|
17
|
+
const parser = new DOMParser();
|
|
18
|
+
const doc = parser.parseFromString(text, "text/html");
|
|
19
|
+
return doc.head.querySelector("template");
|
|
20
|
+
};
|
|
21
|
+
const loadHeader = async () => {
|
|
22
|
+
const root = window.location.pathname.split(DEMO_ROOT).shift();
|
|
23
|
+
const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
|
|
24
|
+
const text = await response.text();
|
|
25
|
+
const template = parseTemplate(text);
|
|
26
|
+
const firstChild = document.body.firstChild;
|
|
27
|
+
firstChild && document.body.insertBefore(template.content, firstChild);
|
|
28
|
+
};
|
|
29
|
+
if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
|
|
30
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
|
|
31
|
+
}
|
|
32
|
+
const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
|
|
33
|
+
function loadCss(url) {
|
|
34
|
+
const link = document.createElement("link");
|
|
35
|
+
link.rel = "stylesheet";
|
|
36
|
+
link.href = ROOT + url;
|
|
37
|
+
document.head.appendChild(link);
|
|
38
|
+
}
|
|
39
|
+
function loadScript(script) {
|
|
40
|
+
const scriptElement = document.createElement("script");
|
|
41
|
+
Object.keys(script).forEach((key) => {
|
|
42
|
+
scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
|
|
43
|
+
});
|
|
44
|
+
document.head.appendChild(scriptElement);
|
|
45
|
+
}
|
|
46
|
+
CSS.forEach(loadCss);
|
|
47
|
+
SCRIPTS.forEach(loadScript);
|
|
48
|
+
})();
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
const locales = [
|
|
2
|
+
{ name: "Afrikaans", locale: "af" },
|
|
3
|
+
{ name: "Albanian", locale: "sq" },
|
|
4
|
+
{ name: "Albanian (Albania)", locale: "sq-AL" },
|
|
5
|
+
{ name: "Amharic", locale: "am" },
|
|
6
|
+
{ name: "Arabic", locale: "ar", dir: "rtl" },
|
|
7
|
+
{ name: "Arabic (Algeria)", locale: "ar-DZ", dir: "rtl" },
|
|
8
|
+
{ name: "Arabic (Bahrain)", locale: "ar-BH", dir: "rtl" },
|
|
9
|
+
{ name: "Arabic (Egypt)", locale: "ar-EG", dir: "rtl" },
|
|
10
|
+
{ name: "Arabic (Iraq)", locale: "ar-IQ", dir: "rtl" },
|
|
11
|
+
{ name: "Arabic (Jordan)", locale: "ar-JO", dir: "rtl" },
|
|
12
|
+
{ name: "Arabic (Kuwait)", locale: "ar-KW", dir: "rtl" },
|
|
13
|
+
{ name: "Arabic (Lebanon)", locale: "ar-LB", dir: "rtl" },
|
|
14
|
+
{ name: "Arabic (Libya)", locale: "ar-LY", dir: "rtl" },
|
|
15
|
+
{ name: "Arabic (Morocco)", locale: "ar-MA", dir: "rtl" },
|
|
16
|
+
{ name: "Arabic (Oman)", locale: "ar-OM", dir: "rtl" },
|
|
17
|
+
{ name: "Arabic (Qatar)", locale: "ar-QA", dir: "rtl" },
|
|
18
|
+
{ name: "Arabic (Saudi Arabia)", locale: "ar-SA", dir: "rtl" },
|
|
19
|
+
{ name: "Arabic (Sudan)", locale: "ar-SD", dir: "rtl" },
|
|
20
|
+
{ name: "Arabic (Syria)", locale: "ar-SY", dir: "rtl" },
|
|
21
|
+
{ name: "Arabic (Tunisia)", locale: "ar-TN", dir: "rtl" },
|
|
22
|
+
{ name: "Arabic (United Arab Emirates)", locale: "ar-AE", dir: "rtl" },
|
|
23
|
+
{ name: "Arabic (Yemen)", locale: "ar-YE", dir: "rtl" },
|
|
24
|
+
{ name: "Armenian (Armenia)", locale: "hy-AM" },
|
|
25
|
+
{ name: "Assamese", locale: "as" },
|
|
26
|
+
{ name: "Azeri (Cyrillic)", locale: "az" },
|
|
27
|
+
{ name: "Azeri (Latin)", locale: "az" },
|
|
28
|
+
{ name: "Basque", locale: "eu" },
|
|
29
|
+
{ name: "Belarusian", locale: "be" },
|
|
30
|
+
{ name: "Belarusian (Belarus)", locale: "be-BY" },
|
|
31
|
+
{ name: "Bengali", locale: "bn" },
|
|
32
|
+
{ name: "Bengali (Bangladesh)", locale: "bn-BD" },
|
|
33
|
+
{ name: "Bengali (India)", locale: "bn-IN" },
|
|
34
|
+
{ name: "Bosnian", locale: "bs" },
|
|
35
|
+
{ name: "Bulgarian", locale: "bg" },
|
|
36
|
+
{ name: "Bulgarian (Bulgaria)", locale: "bg-BG" },
|
|
37
|
+
{ name: "Burmese", locale: "my" },
|
|
38
|
+
{ name: "Catalan", locale: "ca" },
|
|
39
|
+
{ name: "Catalan (Spain)", locale: "ca-ES" },
|
|
40
|
+
{ name: "Chinese", locale: "zh" },
|
|
41
|
+
{ name: "Chinese (China)", locale: "zh-CN" },
|
|
42
|
+
{ name: "Chinese (Hong Kong)", locale: "zh-HK" },
|
|
43
|
+
{ name: "Chinese (Macau SAR)", locale: "zh-MO" },
|
|
44
|
+
{ name: "Chinese (Singapore)", locale: "zh-SG" },
|
|
45
|
+
{ name: "Chinese (Taiwan)", locale: "zh-TW" },
|
|
46
|
+
{ name: "Croatian", locale: "hr" },
|
|
47
|
+
{ name: "Croatian (Croatia)", locale: "hr-HR" },
|
|
48
|
+
{ name: "Czech", locale: "cs" },
|
|
49
|
+
{ name: "Czech (Czech Republic)", locale: "cs-CZ" },
|
|
50
|
+
{ name: "Danish", locale: "da" },
|
|
51
|
+
{ name: "Danish (Denmark)", locale: "da-DK" },
|
|
52
|
+
{ name: "Divehi", locale: "dv" },
|
|
53
|
+
{ name: "Dutch", locale: "nl" },
|
|
54
|
+
{ name: "Dutch (Belgium)", locale: "nl-BE" },
|
|
55
|
+
{ name: "Dutch (Netherlands)", locale: "nl-NL" },
|
|
56
|
+
{ name: "English", locale: "en" },
|
|
57
|
+
{ name: "English (Australia)", locale: "en-AU" },
|
|
58
|
+
{ name: "English (Belize)", locale: "en-BZ" },
|
|
59
|
+
{ name: "English (Canada)", locale: "en-CA" },
|
|
60
|
+
{ name: "English (Caribbean)", locale: "en-CB" },
|
|
61
|
+
{ name: "English (Great Britain)", locale: "en-GB" },
|
|
62
|
+
{ name: "English (India)", locale: "en-IN" },
|
|
63
|
+
{ name: "English (Ireland)", locale: "en-IE" },
|
|
64
|
+
{ name: "English (Jamaica)", locale: "en-JM" },
|
|
65
|
+
{ name: "English (Malta)", locale: "en-MT" },
|
|
66
|
+
{ name: "English (New Zealand)", locale: "en-NZ" },
|
|
67
|
+
{ name: "English (Philippines)", locale: "en-PH" },
|
|
68
|
+
{ name: "English (South Africa)", locale: "en-ZA" },
|
|
69
|
+
{ name: "English (Singapore)", locale: "en-SG" },
|
|
70
|
+
{ name: "English (Trinidad)", locale: "en-TT" },
|
|
71
|
+
{ name: "English (United States)", locale: "en-US" },
|
|
72
|
+
{ name: "English (South Africa)", locale: "en-ZA" },
|
|
73
|
+
{ name: "Estonian", locale: "et" },
|
|
74
|
+
{ name: "Estonian (Estonia)", locale: "et-EE" },
|
|
75
|
+
{ name: "Faroese", locale: "fo" },
|
|
76
|
+
{ name: "Farsi (Persian)", locale: "fa" },
|
|
77
|
+
{ name: "Finnish", locale: "fi" },
|
|
78
|
+
{ name: "Finnish (Finland)", locale: "fi-FI" },
|
|
79
|
+
{ name: "French", locale: "fr" },
|
|
80
|
+
{ name: "French (Belgium)", locale: "fr-BE" },
|
|
81
|
+
{ name: "French (Canada)", locale: "fr-CA" },
|
|
82
|
+
{ name: "French (Switzerland)", locale: "fr-CH" },
|
|
83
|
+
{ name: "French (France)", locale: "fr-FR" },
|
|
84
|
+
{ name: "French (Luxembourg)", locale: "fr-LU" },
|
|
85
|
+
{ name: "Gaelic (Ireland)", locale: "gd-IE" },
|
|
86
|
+
{ name: "Gaelic (Scotland)", locale: "gd" },
|
|
87
|
+
{ name: "Galician", locale: "gl" },
|
|
88
|
+
{ name: "Georgian", locale: "ka" },
|
|
89
|
+
{ name: "German", locale: "de" },
|
|
90
|
+
{ name: "German (Austria)", locale: "de-AT" },
|
|
91
|
+
{ name: "German (Germany)", locale: "de-DE" },
|
|
92
|
+
{ name: "German (Liechtenstein)", locale: "de-LI" },
|
|
93
|
+
{ name: "German (Luxembourg)", locale: "de-LU" },
|
|
94
|
+
{ name: "German (Switzerland)", locale: "de-CH" },
|
|
95
|
+
{ name: "Greek", locale: "el" },
|
|
96
|
+
{ name: "Greek (Cyprus)", locale: "el-CY" },
|
|
97
|
+
{ name: "Greek (Greece)", locale: "el-GR" },
|
|
98
|
+
{ name: "Guarani (Paraguay)", locale: "gu" },
|
|
99
|
+
{ name: "Gujarati", locale: "gn" },
|
|
100
|
+
{ name: "Hebrew", locale: "iw" },
|
|
101
|
+
{ name: "Hebrew (Israel)", locale: "iw-IL" },
|
|
102
|
+
{ name: "Hindi (India)", locale: "hi-IN" },
|
|
103
|
+
{ name: "Hungarian", locale: "hu" },
|
|
104
|
+
{ name: "Hungarian (Hungary)", locale: "hu-HU" },
|
|
105
|
+
{ name: "Icelandic", locale: "is" },
|
|
106
|
+
{ name: "Icelandic (Iceland)", locale: "is-IS" },
|
|
107
|
+
{ name: "Indonesian (ISO 639)", locale: "in" },
|
|
108
|
+
{ name: "Indonesian (Indonesia) (ISO 639)", locale: "in-ID" },
|
|
109
|
+
{ name: "Indonesian (ISO 3166)", locale: "id" },
|
|
110
|
+
{ name: "Indonesian (Indonesia) (ISO 3166)", locale: "id-ID" },
|
|
111
|
+
{ name: "Irish", locale: "ga" },
|
|
112
|
+
{ name: "Irish (Ireland)", locale: "ga-IE" },
|
|
113
|
+
{ name: "Italian", locale: "it" },
|
|
114
|
+
{ name: "Italian (Italy)", locale: "it-IT" },
|
|
115
|
+
{ name: "Italian (Switzerland)", locale: "it-CH" },
|
|
116
|
+
{ name: "Japanese", locale: "ja" },
|
|
117
|
+
{ name: "Japanese (Japan)", locale: "ja-JP" },
|
|
118
|
+
{ name: "Kannada", locale: "kn" },
|
|
119
|
+
{ name: "Kashmiri", locale: "ks" },
|
|
120
|
+
{ name: "Kazakh", locale: "kk" },
|
|
121
|
+
{ name: "Khmer", locale: "km" },
|
|
122
|
+
{ name: "Korean", locale: "ko" },
|
|
123
|
+
{ name: "Korean (South Korea)", locale: "ko-KR" },
|
|
124
|
+
{ name: "Lao", locale: "lo" },
|
|
125
|
+
{ name: "Latin", locale: "la" },
|
|
126
|
+
{ name: "Latvian", locale: "lv" },
|
|
127
|
+
{ name: "Latvian (Latvia)", locale: "lv-LV" },
|
|
128
|
+
{ name: "Lithuanian", locale: "lt" },
|
|
129
|
+
{ name: "Lithuanian (Lithuania)", locale: "lt-LT" },
|
|
130
|
+
{ name: "Macedonian", locale: "mk" },
|
|
131
|
+
{ name: "Macedonian (Macedonia)", locale: "mk-MK" },
|
|
132
|
+
{ name: "Malay", locale: "ms" },
|
|
133
|
+
{ name: "Malay (Brunei)", locale: "ms-BN" },
|
|
134
|
+
{ name: "Malay (Malaysia)", locale: "ms-MY" },
|
|
135
|
+
{ name: "Malayalam", locale: "ml" },
|
|
136
|
+
{ name: "Maltese", locale: "mt" },
|
|
137
|
+
{ name: "Maltese (Malta)", locale: "mt-MT" },
|
|
138
|
+
{ name: "Maori", locale: "mi" },
|
|
139
|
+
{ name: "Marathi", locale: "mr" },
|
|
140
|
+
{ name: "Mongolian", locale: "mn" },
|
|
141
|
+
{ name: "Nepali", locale: "ne" },
|
|
142
|
+
{ name: "Norwegian", locale: "no" },
|
|
143
|
+
{ name: "Norwegian (Bokml)", locale: "nb" },
|
|
144
|
+
{ name: "Norwegian (Norway)", locale: "no-NO" },
|
|
145
|
+
{ name: "Norwegian (Norway, Nynorsk)", locale: "no-NY" },
|
|
146
|
+
{ name: "Oriya", locale: "or" },
|
|
147
|
+
{ name: "Polish", locale: "pl" },
|
|
148
|
+
{ name: "Polish (Poland)", locale: "pl-PL" },
|
|
149
|
+
{ name: "Portuguese", locale: "pt" },
|
|
150
|
+
{ name: "Portuguese (Brazil)", locale: "pt-BR" },
|
|
151
|
+
{ name: "Portuguese (Portugal)", locale: "pt-PT" },
|
|
152
|
+
{ name: "Punjabi", locale: "pa" },
|
|
153
|
+
{ name: "Raeto-Romance", locale: "rm" },
|
|
154
|
+
{ name: "Romanian", locale: "ro" },
|
|
155
|
+
{ name: "Romanian (Moldova)", locale: "ro-MO" },
|
|
156
|
+
{ name: "Romanian (Romania)", locale: "ro-RO" },
|
|
157
|
+
{ name: "Russian", locale: "ru" },
|
|
158
|
+
{ name: "Russian (Moldova)", locale: "ru-MO" },
|
|
159
|
+
{ name: "Russian (Russia)", locale: "ru-RU" },
|
|
160
|
+
{ name: "Sanskrit", locale: "sa" },
|
|
161
|
+
{ name: "Serbian", locale: "sr" },
|
|
162
|
+
{ name: "Serbian (Cyrillic, Latin)", locale: "sr-SP" },
|
|
163
|
+
{ name: "Serbian (Bosnia and Herzegovina)", locale: "sr-BA" },
|
|
164
|
+
{ name: "Serbian (Montenegro)", locale: "sr-ME" },
|
|
165
|
+
{ name: "Serbian (Serbia)", locale: "sr-RS" },
|
|
166
|
+
{ name: "Serbian (Serbia and Montenegro)", locale: "sr-CS" },
|
|
167
|
+
{ name: "Setsuana", locale: "tn" },
|
|
168
|
+
{ name: "Sindhi", locale: "sd" },
|
|
169
|
+
{ name: "Sinhala", locale: "si" },
|
|
170
|
+
{ name: "Slovak", locale: "sk" },
|
|
171
|
+
{ name: "Slovak (Slovakia)", locale: "sk-SK" },
|
|
172
|
+
{ name: "Slovenian", locale: "sl" },
|
|
173
|
+
{ name: "Slovenian (Slovenia)", locale: "sl-SI" },
|
|
174
|
+
{ name: "Somali", locale: "so" },
|
|
175
|
+
{ name: "Sorbian", locale: "sb" },
|
|
176
|
+
{ name: "Spanish", locale: "es" },
|
|
177
|
+
{ name: "Spanish (Argentina)", locale: "es-AR" },
|
|
178
|
+
{ name: "Spanish (Bolivia)", locale: "es-BO" },
|
|
179
|
+
{ name: "Spanish (Chile)", locale: "es-CL" },
|
|
180
|
+
{ name: "Spanish (Colombia)", locale: "es-CO" },
|
|
181
|
+
{ name: "Spanish (Costa Rica)", locale: "es-CR" },
|
|
182
|
+
{ name: "Spanish (Dominican Republic)", locale: "es-DO" },
|
|
183
|
+
{ name: "Spanish (Ecuador)", locale: "es-EC" },
|
|
184
|
+
{ name: "Spanish (El Salvador)", locale: "es-SV" },
|
|
185
|
+
{ name: "Spanish (Guatemala)", locale: "es-GT" },
|
|
186
|
+
{ name: "Spanish (Honduras)", locale: "es-HN" },
|
|
187
|
+
{ name: "Spanish (Mexico)", locale: "es-MX" },
|
|
188
|
+
{ name: "Spanish (Nicaragua)", locale: "es-NI" },
|
|
189
|
+
{ name: "Spanish (Panama)", locale: "es-PA" },
|
|
190
|
+
{ name: "Spanish (Paraguay)", locale: "es-PY" },
|
|
191
|
+
{ name: "Spanish (Peru)", locale: "es-PE" },
|
|
192
|
+
{ name: "Spanish (Puerto Rico)", locale: "es-PR" },
|
|
193
|
+
{ name: "Spanish (Spain)", locale: "es-ES" },
|
|
194
|
+
{ name: "Spanish (United States)", locale: "es-US" },
|
|
195
|
+
{ name: "Spanish (Uruguay)", locale: "es-UY" },
|
|
196
|
+
{ name: "Spanish (Venezuela)", locale: "es-VE" },
|
|
197
|
+
{ name: "Swahili", locale: "sw" },
|
|
198
|
+
{ name: "Swedish", locale: "sv" },
|
|
199
|
+
{ name: "Swedish (Finland)", locale: "sv-FI" },
|
|
200
|
+
{ name: "Swedish (Sweden)", locale: "sv-SE" },
|
|
201
|
+
{ name: "Tajik", locale: "tg" },
|
|
202
|
+
{ name: "Tamil", locale: "ta" },
|
|
203
|
+
{ name: "Tatar", locale: "tt" },
|
|
204
|
+
{ name: "Telugu", locale: "te" },
|
|
205
|
+
{ name: "Thai", locale: "th" },
|
|
206
|
+
{ name: "Thai (Thailand)", locale: "th-TH" },
|
|
207
|
+
{ name: "Thai (Thai Digits)", locale: "th-TH-u-nu-thai" },
|
|
208
|
+
{ name: "Tibetan", locale: "bo" },
|
|
209
|
+
{ name: "Tsonga", locale: "ts" },
|
|
210
|
+
{ name: "Turkish", locale: "tr" },
|
|
211
|
+
{ name: "Turkish (Turkey)", locale: "tr-TR" },
|
|
212
|
+
{ name: "Turkmen", locale: "tk" },
|
|
213
|
+
{ name: "Ukrainian", locale: "uk" },
|
|
214
|
+
{ name: "Ukrainian (Ukraine)", locale: "uk-UA" },
|
|
215
|
+
{ name: "Urdu", locale: "ur" },
|
|
216
|
+
{ name: "Uzbek (Cyrillic, Latin)", locale: "uz-UZ" },
|
|
217
|
+
{ name: "Vietnamese", locale: "vi" },
|
|
218
|
+
{ name: "Vietnamese (Vietnam)", locale: "vi-VN" },
|
|
219
|
+
{ name: "Welsh", locale: "cy" },
|
|
220
|
+
{ name: "Xhosa", locale: "xh" },
|
|
221
|
+
{ name: "Yiddish", locale: "yi" },
|
|
222
|
+
{ name: "Zulu", locale: "zu" }
|
|
223
|
+
];
|
|
@@ -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 function getRoundRobinIndex(index, total) {
|
|
7
7
|
return (index + total) % total;
|
|
@@ -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 { forceUpdate } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "./observers";
|
|
@@ -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 { CSS_UTILITY } from "./resources";
|
|
7
7
|
import { guid } from "./guid";
|
|
@@ -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 { escapeRegExp, forIn } from "lodash-es";
|
|
7
7
|
export const filter = (data, value) => {
|
|
@@ -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 { computePosition, arrow, flip, shift, hide, offset, autoPlacement, autoUpdate } from "@floating-ui/dom";
|
|
7
7
|
import { getElementDir } from "./dom";
|
|
@@ -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 { closestElementCrossShadowBoundary } from "./dom";
|
|
7
7
|
import { h } 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
|
import { createObserver } from "./observers";
|
|
7
7
|
const allowedGlobalAttributes = ["lang"];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
import { initThemeChangeEvent } from "./theme";
|
|
7
|
+
/**
|
|
8
|
+
* This file is imported in Stencil's `globalScript` config option.
|
|
9
|
+
*
|
|
10
|
+
* @see {@link https://stenciljs.com/docs/config#globalscript}
|
|
11
|
+
*/
|
|
12
|
+
export default function () {
|
|
13
|
+
if (isBrowser()) {
|
|
14
|
+
initThemeChangeEvent();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const isBrowser = new Function("try {return this===window;}catch(e){ return false;}");
|
|
@@ -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 function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -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 { closestElementCrossShadowBoundary, queryElementRoots } from "./dom";
|
|
7
7
|
/**
|
|
@@ -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 { sanitizeDecimalString, sanitizeExponentialNumberString, isValidNumber, BigDecimal } from "./number";
|
|
7
7
|
export const locales = [
|
|
@@ -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 clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
export const decimalPlaces = (value) => {
|
|
@@ -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 { numberKeys } from "./key";
|
|
7
7
|
import { createLocaleNumberFormatter, getDecimalSeparator, getMinusSign } from "./locale";
|
|
@@ -1,6 +1,49 @@
|
|
|
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
|
+
const componentToTransitionListeners = new WeakMap();
|
|
7
|
+
function transitionStart(event) {
|
|
8
|
+
if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {
|
|
9
|
+
this.open ? this.onBeforeOpen() : this.onBeforeClose();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function transitionEnd(event) {
|
|
13
|
+
if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {
|
|
14
|
+
this.open ? this.onOpen() : this.onClose();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Helper to keep track of transition listeners on setTransitionEl and connectedCallback on OpenCloseComponent components.
|
|
19
|
+
*
|
|
20
|
+
* @param component
|
|
21
|
+
*/
|
|
22
|
+
export function connectOpenCloseComponent(component) {
|
|
23
|
+
disconnectOpenCloseComponent(component);
|
|
24
|
+
if (component.transitionEl) {
|
|
25
|
+
const boundOnTransitionStart = transitionStart.bind(component);
|
|
26
|
+
const boundOnTransitionEnd = transitionEnd.bind(component);
|
|
27
|
+
componentToTransitionListeners.set(component, [
|
|
28
|
+
component.transitionEl,
|
|
29
|
+
boundOnTransitionStart,
|
|
30
|
+
boundOnTransitionEnd
|
|
31
|
+
]);
|
|
32
|
+
component.transitionEl.addEventListener("transitionstart", boundOnTransitionStart);
|
|
33
|
+
component.transitionEl.addEventListener("transitionend", boundOnTransitionEnd);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Helper to tear down transition listeners on disconnectedCallback on OpenCloseComponent components.
|
|
38
|
+
*
|
|
39
|
+
* @param component
|
|
40
|
+
*/
|
|
41
|
+
export function disconnectOpenCloseComponent(component) {
|
|
42
|
+
if (!componentToTransitionListeners.has(component)) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
const [transitionEl, start, end] = componentToTransitionListeners.get(component);
|
|
46
|
+
transitionEl.removeEventListener("transitionstart", start);
|
|
47
|
+
transitionEl.removeEventListener("transitionend", end);
|
|
48
|
+
componentToTransitionListeners.delete(component);
|
|
49
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { createPopper as setupPopper } from "@popperjs/core";
|
|
2
|
+
import { getElementDir } from "./dom";
|
|
3
|
+
export const popperPlacements = [
|
|
4
|
+
"auto",
|
|
5
|
+
"auto-start",
|
|
6
|
+
"auto-end",
|
|
7
|
+
"top",
|
|
8
|
+
"top-start",
|
|
9
|
+
"top-end",
|
|
10
|
+
"bottom",
|
|
11
|
+
"bottom-start",
|
|
12
|
+
"bottom-end",
|
|
13
|
+
"right",
|
|
14
|
+
"right-start",
|
|
15
|
+
"right-end",
|
|
16
|
+
"left",
|
|
17
|
+
"left-start",
|
|
18
|
+
"left-end",
|
|
19
|
+
"leading-start",
|
|
20
|
+
"leading",
|
|
21
|
+
"leading-end",
|
|
22
|
+
"trailing-end",
|
|
23
|
+
"trailing",
|
|
24
|
+
"trailing-start",
|
|
25
|
+
"leading-leading",
|
|
26
|
+
"leading-trailing",
|
|
27
|
+
"trailing-leading",
|
|
28
|
+
"trailing-trailing",
|
|
29
|
+
"top-leading",
|
|
30
|
+
"top-trailing",
|
|
31
|
+
"bottom-leading",
|
|
32
|
+
"bottom-trailing",
|
|
33
|
+
"right-leading",
|
|
34
|
+
"right-trailing",
|
|
35
|
+
"left-leading",
|
|
36
|
+
"left-trailing"
|
|
37
|
+
];
|
|
38
|
+
export const popperComputedPlacements = [
|
|
39
|
+
"top",
|
|
40
|
+
"bottom",
|
|
41
|
+
"right",
|
|
42
|
+
"left",
|
|
43
|
+
"top-start",
|
|
44
|
+
"top-end",
|
|
45
|
+
"bottom-start",
|
|
46
|
+
"bottom-end",
|
|
47
|
+
"right-start",
|
|
48
|
+
"right-end",
|
|
49
|
+
"left-start",
|
|
50
|
+
"left-end"
|
|
51
|
+
];
|
|
52
|
+
export const defaultMenuPlacement = "bottom-leading";
|
|
53
|
+
export const popperMenuPlacements = [
|
|
54
|
+
"top-start",
|
|
55
|
+
"top",
|
|
56
|
+
"top-end",
|
|
57
|
+
"bottom-start",
|
|
58
|
+
"bottom",
|
|
59
|
+
"bottom-end",
|
|
60
|
+
"top-leading",
|
|
61
|
+
"top-trailing",
|
|
62
|
+
"bottom-leading",
|
|
63
|
+
"bottom-trailing"
|
|
64
|
+
];
|
|
65
|
+
export const popperMenuComputedPlacements = [
|
|
66
|
+
"top-start",
|
|
67
|
+
"top",
|
|
68
|
+
"top-end",
|
|
69
|
+
"bottom-start",
|
|
70
|
+
"bottom",
|
|
71
|
+
"bottom-end"
|
|
72
|
+
];
|
|
73
|
+
export const CSS = {
|
|
74
|
+
animation: "calcite-popper-anim",
|
|
75
|
+
animationActive: "calcite-popper-anim--active"
|
|
76
|
+
};
|
|
77
|
+
export function filterComputedPlacements(placements, el) {
|
|
78
|
+
const filteredPlacements = placements.filter((placement) => popperComputedPlacements.includes(placement));
|
|
79
|
+
if (filteredPlacements.length !== placements.length) {
|
|
80
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${popperComputedPlacements
|
|
81
|
+
.map((placement) => `"${placement}"`)
|
|
82
|
+
.join(", ")
|
|
83
|
+
.trim()}`, { el });
|
|
84
|
+
}
|
|
85
|
+
return filteredPlacements;
|
|
86
|
+
}
|
|
87
|
+
export function getPlacement(el, placement) {
|
|
88
|
+
const placements = ["left", "right"];
|
|
89
|
+
const variations = ["start", "end"];
|
|
90
|
+
if (getElementDir(el) === "rtl") {
|
|
91
|
+
placements.reverse();
|
|
92
|
+
variations.reverse();
|
|
93
|
+
}
|
|
94
|
+
return placement
|
|
95
|
+
.replace(/-leading/gi, `-${variations[0]}`)
|
|
96
|
+
.replace(/-trailing/gi, `-${variations[1]}`)
|
|
97
|
+
.replace(/leading/gi, placements[0])
|
|
98
|
+
.replace(/trailing/gi, placements[1]);
|
|
99
|
+
}
|
|
100
|
+
export function createPopper({ referenceEl, el, placement, overlayPositioning = "absolute", modifiers }) {
|
|
101
|
+
if (!referenceEl) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
return setupPopper(referenceEl, el, {
|
|
105
|
+
strategy: overlayPositioning,
|
|
106
|
+
placement: getPlacement(el, placement),
|
|
107
|
+
modifiers
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
export async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
111
|
+
const placement = getPlacement(el, PopperPlacement);
|
|
112
|
+
await popper.setOptions({
|
|
113
|
+
modifiers,
|
|
114
|
+
placement
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export function hypotenuse(sideA, sideB) {
|
|
118
|
+
return Math.sqrt(Math.pow(sideA, 2) + Math.pow(sideB, 2));
|
|
119
|
+
}
|
|
120
|
+
const visiblePointerSize = 4;
|
|
121
|
+
export const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePointerSize));
|