@esri/calcite-components 1.0.0-beta.77 → 1.0.0-beta.80
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/bs.json +1 -1
- package/dist/calcite/assets/date-picker/nls/ca.json +1 -1
- package/dist/calcite/assets/date-picker/nls/cs.json +1 -1
- package/dist/calcite/assets/date-picker/nls/da.json +1 -1
- package/dist/calcite/assets/date-picker/nls/de.json +1 -1
- package/dist/calcite/assets/date-picker/nls/el.json +1 -1
- package/dist/calcite/assets/date-picker/nls/en-AU.json +1 -1
- package/dist/calcite/assets/date-picker/nls/es.json +1 -1
- package/dist/calcite/assets/date-picker/nls/et.json +1 -1
- package/dist/calcite/assets/date-picker/nls/fi.json +1 -1
- package/dist/calcite/assets/date-picker/nls/fr.json +1 -1
- package/dist/calcite/assets/date-picker/nls/hr.json +1 -1
- package/dist/calcite/assets/date-picker/nls/hu.json +1 -1
- package/dist/calcite/assets/date-picker/nls/it.json +1 -1
- package/dist/calcite/assets/date-picker/nls/lt.json +1 -1
- package/dist/calcite/assets/date-picker/nls/lv.json +1 -1
- package/dist/calcite/assets/date-picker/nls/mk.json +1 -1
- package/dist/calcite/assets/date-picker/nls/nb.json +1 -1
- package/dist/calcite/assets/date-picker/nls/nl.json +1 -1
- package/dist/calcite/assets/date-picker/nls/pl.json +1 -1
- package/dist/calcite/assets/date-picker/nls/ro.json +1 -1
- package/dist/calcite/assets/date-picker/nls/ru.json +1 -1
- package/dist/calcite/assets/date-picker/nls/sl.json +1 -1
- package/dist/calcite/assets/date-picker/nls/sr.json +1 -1
- package/dist/calcite/assets/date-picker/nls/sv.json +1 -1
- package/dist/calcite/assets/date-picker/nls/tr.json +1 -1
- package/dist/calcite/assets/date-picker/nls/uk.json +1 -1
- package/dist/calcite/assets/date-picker/nls/vi.json +1 -1
- package/dist/calcite/assets/icon/clockForward16.json +1 -0
- package/dist/calcite/assets/icon/clockForward24.json +1 -0
- package/dist/calcite/assets/icon/clockForward32.json +1 -0
- package/dist/calcite/assets/icon/contingentValues16.json +1 -0
- package/dist/calcite/assets/icon/contingentValues24.json +1 -0
- package/dist/calcite/assets/icon/contingentValues32.json +1 -0
- package/dist/calcite/assets/icon/creditCard16.json +1 -0
- package/dist/calcite/assets/icon/creditCard24.json +1 -0
- package/dist/calcite/assets/icon/creditCard32.json +1 -0
- package/dist/calcite/assets/icon/credits16.json +1 -1
- package/dist/calcite/assets/icon/credits24.json +1 -1
- package/dist/calcite/assets/icon/credits32.json +1 -1
- package/dist/calcite/assets/icon/keyboard16.json +1 -0
- package/dist/calcite/assets/icon/keyboard24.json +1 -0
- package/dist/calcite/assets/icon/keyboard32.json +1 -0
- package/dist/calcite/assets/icon/premiumContentUserCredit24.json +1 -1
- package/dist/calcite/assets/icon/premiumContentUserCredit32.json +1 -1
- package/dist/calcite/assets/icon/select16.json +1 -1
- package/dist/calcite/assets/icon/select24.json +1 -1
- package/dist/calcite/assets/icon/select32.json +1 -1
- package/dist/calcite/assets/icon/tiledImageryLayer16.json +1 -0
- package/dist/calcite/assets/icon/tiledImageryLayer24.json +1 -0
- package/dist/calcite/assets/icon/tiledImageryLayer32.json +1 -0
- package/dist/calcite/assets/icon/userDown16.json +1 -0
- package/dist/calcite/assets/icon/userDown24.json +1 -0
- package/dist/calcite/assets/icon/userDown32.json +1 -0
- package/dist/calcite/assets/icon/userKey16.json +1 -0
- package/dist/calcite/assets/icon/userKey24.json +1 -0
- package/dist/calcite/assets/icon/userKey32.json +1 -0
- package/dist/calcite/assets/icon/userMinus16.json +1 -0
- package/dist/calcite/assets/icon/userMinus24.json +1 -0
- package/dist/calcite/assets/icon/userMinus32.json +1 -0
- package/dist/calcite/assets/icon/userUp16.json +1 -0
- package/dist/calcite/assets/icon/userUp24.json +1 -0
- package/dist/calcite/assets/icon/userUp32.json +1 -0
- package/dist/calcite/assets/icon/userX16.json +1 -0
- package/dist/calcite/assets/icon/userX24.json +1 -0
- package/dist/calcite/assets/icon/userX32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkTrace32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-b78f6de5.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
- package/dist/calcite/p-03c92ad2.entry.js +5 -0
- package/dist/calcite/{p-b1a43a5f.system.entry.js → p-052ba882.system.entry.js} +1 -1
- package/dist/calcite/p-07f1f162.system.entry.js +5 -0
- package/dist/calcite/p-1263bcc0.entry.js +5 -0
- package/dist/calcite/p-162604a0.entry.js +5 -0
- package/dist/calcite/p-18be4438.entry.js +5 -0
- package/dist/calcite/p-193749c1.entry.js +5 -0
- package/dist/calcite/{p-fda73553.system.entry.js → p-1aded388.system.entry.js} +1 -1
- package/dist/calcite/p-1aeca42a.system.entry.js +5 -0
- package/dist/calcite/{p-c11cbced.system.entry.js → p-1fc943d5.system.entry.js} +1 -1
- package/dist/calcite/p-23145377.entry.js +5 -0
- package/dist/calcite/p-28c333d0.entry.js +5 -0
- package/dist/calcite/p-2bcaed33.entry.js +5 -0
- package/dist/calcite/p-2dd22e8c.system.entry.js +5 -0
- package/dist/calcite/p-2fae8516.system.entry.js +5 -0
- package/dist/calcite/p-3119ffce.system.js +5 -0
- package/dist/calcite/p-31c58f25.entry.js +5 -0
- package/dist/calcite/p-32d6b962.entry.js +5 -0
- package/dist/calcite/{p-a8ac1295.system.entry.js → p-32efc4cd.system.entry.js} +1 -1
- package/dist/calcite/p-34730e94.entry.js +5 -0
- package/dist/calcite/p-364db271.entry.js +5 -0
- package/dist/calcite/p-364f0abe.system.entry.js +5 -0
- package/dist/calcite/p-3915705c.entry.js +5 -0
- package/dist/calcite/p-3b4662a5.entry.js +5 -0
- package/dist/calcite/p-3e149640.system.entry.js +5 -0
- package/dist/calcite/p-3e9d96c6.system.entry.js +5 -0
- package/dist/calcite/p-42227a04.entry.js +5 -0
- package/dist/calcite/p-426f011a.entry.js +5 -0
- package/dist/calcite/p-4570cf6c.js +5 -0
- package/dist/calcite/p-46071f17.entry.js +5 -0
- package/dist/calcite/p-47d38839.entry.js +5 -0
- package/dist/calcite/p-482885ae.system.entry.js +5 -0
- package/dist/calcite/{p-04bf9bca.system.entry.js → p-48637359.system.entry.js} +1 -1
- package/dist/calcite/p-4905189e.system.entry.js +5 -0
- package/dist/calcite/p-496e907a.system.entry.js +5 -0
- package/dist/calcite/p-4aecbaef.entry.js +5 -0
- package/dist/calcite/p-4afb5a1b.system.entry.js +5 -0
- package/dist/calcite/p-4eae61c5.entry.js +5 -0
- package/dist/calcite/p-5394666a.entry.js +5 -0
- package/dist/calcite/p-54c49493.entry.js +5 -0
- package/dist/calcite/{p-5c2545f0.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
- package/dist/calcite/{p-e39100e6.system.entry.js → p-569150ab.system.entry.js} +1 -1
- package/dist/calcite/p-5802a565.entry.js +5 -0
- package/dist/calcite/{p-ab14b0a2.system.js → p-588bfa74.system.js} +1 -1
- package/dist/calcite/p-5a8829cd.entry.js +5 -0
- package/dist/calcite/p-5bb4d012.entry.js +5 -0
- package/dist/calcite/p-5c637131.entry.js +5 -0
- package/dist/calcite/p-5f6e35f3.entry.js +5 -0
- package/dist/calcite/p-614d8925.js +5 -0
- package/dist/calcite/p-6261469d.entry.js +5 -0
- package/dist/calcite/p-653bd7bf.entry.js +5 -0
- package/dist/calcite/p-65dbbfb5.system.js +5 -0
- package/dist/calcite/p-69d2d9cf.system.entry.js +5 -0
- package/dist/calcite/p-6ab3e489.entry.js +5 -0
- package/dist/calcite/p-6b7b23d0.js +5 -0
- package/dist/calcite/p-6c4a7041.system.entry.js +5 -0
- package/dist/calcite/p-6e0103f5.system.entry.js +5 -0
- package/dist/calcite/{p-7f1ff224.system.entry.js → p-6ed27595.system.entry.js} +1 -1
- package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
- package/dist/calcite/{p-0a8635a5.system.entry.js → p-7247b667.system.entry.js} +1 -1
- package/dist/calcite/p-7260c869.system.entry.js +5 -0
- package/dist/calcite/p-7432e5ef.system.entry.js +5 -0
- package/dist/calcite/p-765c9bef.entry.js +5 -0
- package/dist/calcite/p-78bc502f.entry.js +5 -0
- package/dist/calcite/{p-30f0e22d.system.entry.js → p-7bee4942.system.entry.js} +1 -1
- package/dist/calcite/p-7c88d545.js +5 -0
- package/dist/calcite/p-824da4be.entry.js +5 -0
- package/dist/calcite/p-867f7b7a.system.entry.js +5 -0
- package/dist/calcite/p-872e82a6.system.entry.js +5 -0
- package/dist/calcite/p-87888359.entry.js +5 -0
- package/dist/calcite/p-895d22f3.entry.js +5 -0
- package/dist/calcite/p-8a7596e3.entry.js +5 -0
- package/dist/calcite/{p-c1d5aac6.js → p-8ab345f2.js} +1 -1
- package/dist/calcite/p-8b982f91.entry.js +5 -0
- package/dist/calcite/{p-3dd50bac.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
- package/dist/calcite/{p-de274791.system.js → p-9385e4b4.system.js} +1 -1
- package/dist/calcite/p-963e9aec.system.entry.js +5 -0
- package/dist/calcite/p-97904e9a.entry.js +5 -0
- package/dist/calcite/p-9940b82a.system.entry.js +5 -0
- package/dist/calcite/p-9ac86d6a.entry.js +5 -0
- package/dist/calcite/p-9ad8c7c5.system.entry.js +5 -0
- package/dist/calcite/p-9c913e3a.entry.js +5 -0
- package/dist/calcite/p-9e61d89d.entry.js +5 -0
- package/dist/calcite/p-a117af56.system.js +1 -1
- package/dist/calcite/{p-f3a85d19.system.entry.js → p-a11ee541.system.entry.js} +1 -1
- package/dist/calcite/{p-fe3fff79.entry.js → p-a7770d75.entry.js} +1 -1
- package/dist/calcite/p-a9b3ef39.js +5 -0
- package/dist/calcite/p-a9ea7f4f.entry.js +5 -0
- package/dist/calcite/p-aaa21a84.system.entry.js +5 -0
- package/dist/calcite/p-aad14a5d.system.entry.js +5 -0
- package/dist/calcite/p-afe59546.entry.js +5 -0
- package/dist/calcite/p-b0827b8c.system.entry.js +5 -0
- package/dist/calcite/p-b10af2b4.entry.js +5 -0
- package/dist/calcite/p-b2493735.entry.js +5 -0
- package/dist/calcite/p-b2b6f712.js +5 -0
- package/dist/calcite/p-b3c5247b.system.entry.js +5 -0
- package/dist/calcite/p-b47dc903.system.entry.js +5 -0
- package/dist/calcite/p-b765d197.system.js +5 -0
- package/dist/calcite/{p-f894bab4.system.entry.js → p-b9a38a28.system.entry.js} +2 -2
- package/dist/calcite/p-bccbf58a.entry.js +5 -0
- package/dist/calcite/p-bd38ff21.js +5 -0
- package/dist/calcite/{p-2e351904.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
- package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
- package/dist/calcite/{p-7b5207ea.system.entry.js → p-c228a1da.system.entry.js} +1 -1
- package/dist/calcite/p-c2adeae4.entry.js +5 -0
- package/dist/calcite/p-c2caeb2a.system.entry.js +5 -0
- package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
- package/dist/calcite/p-c51699d3.system.js +5 -0
- package/dist/calcite/{p-513bc44f.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
- package/dist/calcite/p-cafd98e8.entry.js +5 -0
- package/dist/calcite/{p-ada75056.system.js → p-cb57638c.system.js} +1 -1
- package/dist/calcite/p-cb847074.entry.js +5 -0
- package/dist/calcite/p-cbc6fee6.entry.js +5 -0
- package/dist/calcite/p-cc6e7726.entry.js +5 -0
- package/dist/calcite/{p-36e29ddc.js → p-cd5f5c8f.js} +1 -1
- package/dist/calcite/p-cd9226a1.system.entry.js +5 -0
- package/dist/calcite/p-daf5f04c.system.js +5 -0
- package/dist/calcite/p-dcf33bb2.js +5 -0
- package/dist/calcite/p-e22ab8fa.entry.js +5 -0
- package/dist/calcite/p-e3280a36.system.entry.js +5 -0
- package/dist/calcite/p-e43605c5.entry.js +5 -0
- package/dist/calcite/p-e4d1651b.system.entry.js +5 -0
- package/dist/calcite/p-e55c5bb4.entry.js +5 -0
- package/dist/calcite/p-e66a8ca1.system.entry.js +5 -0
- package/dist/calcite/p-ea4119b1.system.entry.js +5 -0
- package/dist/calcite/{p-68aab44a.system.entry.js → p-eb3c084f.system.entry.js} +1 -1
- package/dist/calcite/p-ec9bab33.system.js +2 -2
- package/dist/calcite/p-ecc31b40.system.entry.js +5 -0
- package/dist/calcite/p-edf1e815.system.entry.js +5 -0
- package/dist/calcite/p-ee522afa.system.entry.js +5 -0
- package/dist/calcite/p-ef17447d.system.entry.js +5 -0
- package/dist/calcite/p-f09e27b0.system.js +5 -0
- package/dist/calcite/p-f344e163.entry.js +5 -0
- package/dist/calcite/p-f68725d7.entry.js +5 -0
- package/dist/calcite/p-fa922721.system.js +5 -0
- package/dist/calcite/p-fe9380a0.system.js +5 -0
- package/dist/cjs/{ExpandToggle-ef5d508c.js → ExpandToggle-f7682a15.js} +2 -2
- package/dist/cjs/{Heading-ef16f5df.js → Heading-ec707493.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +19 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-pad.cjs.entry.js +7 -17
- package/dist/cjs/calcite-action.cjs.entry.js +9 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_2.cjs.entry.js +34 -17
- package/dist/cjs/calcite-button.cjs.entry.js +14 -16
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -5
- package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +41 -37
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +16 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +60 -38
- package/dist/cjs/calcite-fab.cjs.entry.js +12 -3
- package/dist/cjs/calcite-filter.cjs.entry.js +38 -5
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +34 -32
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +34 -14
- package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +55 -10
- package/dist/cjs/calcite-input.cjs.entry.js +11 -7
- package/dist/cjs/calcite-label.cjs.entry.js +17 -4
- package/dist/cjs/calcite-link.cjs.entry.js +10 -16
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
- package/dist/cjs/calcite-option_3.cjs.entry.js +11 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +16 -7
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +21 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +14 -9
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -5
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -3
- package/dist/cjs/calcite-split-button.cjs.entry.js +27 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +13 -10
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +20 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -4
- package/dist/cjs/calcite-tip_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +63 -59
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-92505fba.js → conditionalSlot-64f9bfd3.js} +1 -1
- package/dist/cjs/{form-237cf392.js → form-0ef859c8.js} +1 -1
- package/dist/cjs/{index-6b5d2de5.js → index-1af0efd3.js} +27 -1
- package/dist/cjs/interactive-87406231.js +44 -0
- package/dist/cjs/{label-6b18ca08.js → label-980508de.js} +40 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-13a2bb46.js → popper-64d89ef7.js} +17 -2
- package/dist/cjs/{resources-8a9f4e9c.js → resources-7811eb2c.js} +1 -1
- package/dist/cjs/{resources-4850fd7c.js → resources-e43fc9f3.js} +48 -10
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.css +7 -6
- package/dist/collection/components/accordion/accordion.js +2 -1
- package/dist/collection/components/accordion-item/accordion-item.js +13 -3
- package/dist/collection/components/action/action.css +9 -0
- package/dist/collection/components/action/action.js +6 -1
- package/dist/collection/components/action-bar/action-bar.js +4 -11
- package/dist/collection/components/action-menu/action-menu.js +7 -7
- package/dist/collection/components/action-pad/action-pad.js +3 -15
- package/dist/collection/components/block/block.css +13 -9
- package/dist/collection/components/block/block.js +20 -6
- package/dist/collection/components/block-section/block-section.js +12 -7
- package/dist/collection/components/button/button.css +15 -2
- package/dist/collection/components/button/button.js +10 -15
- package/dist/collection/components/checkbox/checkbox.css +7 -0
- package/dist/collection/components/checkbox/checkbox.js +4 -0
- package/dist/collection/components/color-picker/color-picker.css +13 -0
- package/dist/collection/components/color-picker/color-picker.js +34 -3
- package/dist/collection/components/combobox/combobox.css +9 -7
- package/dist/collection/components/combobox/combobox.js +54 -32
- package/dist/collection/components/combobox/resources.js +0 -1
- package/dist/collection/components/combobox-item/combobox-item.css +13 -0
- package/dist/collection/components/combobox-item/combobox-item.js +4 -0
- package/dist/collection/components/date-picker/assets/date-picker/nls/bs.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ca.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/cs.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/da.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/de.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/el.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/en-AU.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/es.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/et.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/fi.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/fr.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/hr.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/hu.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/it.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/lt.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/lv.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/mk.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/nb.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/nl.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/pl.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ro.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/sl.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/sr.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/sv.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/tr.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/uk.json +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/vi.json +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
- package/dist/collection/components/dropdown/dropdown.css +8 -0
- package/dist/collection/components/dropdown/dropdown.js +71 -32
- package/dist/collection/components/dropdown/resources.js +0 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +11 -5
- package/dist/collection/components/fab/fab.css +13 -0
- package/dist/collection/components/fab/fab.js +9 -0
- package/dist/collection/components/filter/filter.css +13 -0
- package/dist/collection/components/filter/filter.js +41 -7
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/icon/assets/icon/clockForward16.json +1 -0
- package/dist/collection/components/icon/assets/icon/clockForward24.json +1 -0
- package/dist/collection/components/icon/assets/icon/clockForward32.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues16.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues24.json +1 -0
- package/dist/collection/components/icon/assets/icon/contingentValues32.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard16.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard24.json +1 -0
- package/dist/collection/components/icon/assets/icon/creditCard32.json +1 -0
- package/dist/collection/components/icon/assets/icon/credits16.json +1 -1
- package/dist/collection/components/icon/assets/icon/credits24.json +1 -1
- package/dist/collection/components/icon/assets/icon/credits32.json +1 -1
- package/dist/collection/components/icon/assets/icon/keyboard16.json +1 -0
- package/dist/collection/components/icon/assets/icon/keyboard24.json +1 -0
- package/dist/collection/components/icon/assets/icon/keyboard32.json +1 -0
- package/dist/collection/components/icon/assets/icon/premiumContentUserCredit24.json +1 -1
- package/dist/collection/components/icon/assets/icon/premiumContentUserCredit32.json +1 -1
- package/dist/collection/components/icon/assets/icon/select16.json +1 -1
- package/dist/collection/components/icon/assets/icon/select24.json +1 -1
- package/dist/collection/components/icon/assets/icon/select32.json +1 -1
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/tiledImageryLayer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userDown16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userDown24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userDown32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userKey32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userMinus32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userUp32.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX16.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX24.json +1 -0
- package/dist/collection/components/icon/assets/icon/userX32.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace16.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace24.json +1 -0
- package/dist/collection/components/icon/assets/icon/utilityNetworkTrace32.json +1 -0
- package/dist/collection/components/inline-editable/inline-editable.css +12 -0
- package/dist/collection/components/inline-editable/inline-editable.js +9 -7
- package/dist/collection/components/input/input.css +8 -7
- package/dist/collection/components/input/input.js +6 -2
- package/dist/collection/components/input-date-picker/input-date-picker.css +68 -26
- package/dist/collection/components/input-date-picker/input-date-picker.js +51 -9
- package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
- package/dist/collection/components/label/label.css +12 -0
- package/dist/collection/components/label/label.js +16 -2
- package/dist/collection/components/link/link.css +13 -8
- package/dist/collection/components/link/link.js +8 -18
- package/dist/collection/components/list/list.css +13 -0
- package/dist/collection/components/list/list.js +38 -0
- package/dist/collection/components/list-item/list-item.css +8 -0
- package/dist/collection/components/list-item/list-item.js +9 -0
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/panel/panel.css +13 -0
- package/dist/collection/components/panel/panel.js +11 -2
- package/dist/collection/components/pick-list/pick-list.css +13 -0
- package/dist/collection/components/pick-list/pick-list.js +4 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +32 -7
- package/dist/collection/components/pick-list/shared-list-render.js +2 -2
- package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +6 -5
- package/dist/collection/components/popover/popover.css +5 -0
- package/dist/collection/components/popover/popover.js +13 -9
- package/dist/collection/components/popover/resources.js +1 -0
- package/dist/collection/components/popover-manager/popover-manager.css +1 -0
- package/dist/collection/components/radio-button/radio-button.css +10 -1
- package/dist/collection/components/radio-button/radio-button.js +4 -0
- package/dist/collection/components/radio-group/radio-group.css +13 -5
- package/dist/collection/components/radio-group/radio-group.js +5 -1
- package/dist/collection/components/rating/rating.css +13 -5
- package/dist/collection/components/rating/rating.js +9 -3
- package/dist/collection/components/select/select.css +13 -7
- package/dist/collection/components/select/select.js +4 -0
- package/dist/collection/components/slider/slider.css +8 -0
- package/dist/collection/components/slider/slider.js +29 -27
- package/dist/collection/components/sortable-list/sortable-list.css +13 -0
- package/dist/collection/components/sortable-list/sortable-list.js +4 -0
- package/dist/collection/components/split-button/split-button.css +12 -0
- package/dist/collection/components/split-button/split-button.js +29 -3
- package/dist/collection/components/stepper-item/stepper-item.css +8 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -2
- package/dist/collection/components/switch/switch.css +7 -0
- package/dist/collection/components/switch/switch.js +5 -13
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +9 -0
- package/dist/collection/components/tab-title/tab-title.js +8 -5
- package/dist/collection/components/tile/tile.css +17 -1
- package/dist/collection/components/tile/tile.js +4 -0
- package/dist/collection/components/tile-select/tile-select.css +9 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -0
- package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
- package/dist/collection/components/time-picker/resources.js +2 -1
- package/dist/collection/components/time-picker/time-picker.css +3 -0
- package/dist/collection/components/time-picker/time-picker.js +17 -2
- package/dist/collection/components/tooltip/tooltip.css +5 -0
- package/dist/collection/components/tooltip/tooltip.js +6 -2
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -0
- package/dist/collection/components/tree/tree.js +67 -4
- package/dist/collection/components/tree-item/tree-item.js +0 -53
- package/dist/collection/components/value-list/value-list.css +13 -0
- package/dist/collection/components/value-list/value-list.js +15 -5
- package/dist/collection/components/value-list-item/value-list-item.css +13 -0
- package/dist/collection/components/value-list-item/value-list-item.js +6 -2
- package/dist/collection/utils/interactive.js +42 -0
- package/dist/collection/utils/label.js +38 -6
- package/dist/collection/utils/popper.js +66 -0
- package/dist/collection/utils/time.js +13 -0
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/action-group.js +3 -4
- package/dist/components/action-menu.js +5 -6
- package/dist/components/action.js +10 -6
- package/dist/components/button.js +14 -18
- package/dist/components/calcite-accordion-item.js +16 -7
- package/dist/components/calcite-accordion.js +6 -6
- package/dist/components/calcite-action-bar.js +7 -15
- package/dist/components/calcite-action-pad.js +6 -17
- package/dist/components/calcite-alert.js +3 -4
- package/dist/components/calcite-avatar.js +3 -4
- package/dist/components/calcite-block-section.js +12 -8
- package/dist/components/calcite-block.js +24 -11
- package/dist/components/calcite-card.js +3 -4
- package/dist/components/calcite-color-picker.js +19 -6
- package/dist/components/calcite-combobox-item-group.js +4 -5
- package/dist/components/calcite-combobox-item.js +9 -6
- package/dist/components/calcite-combobox.js +35 -35
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +14 -9
- package/dist/components/calcite-fab.js +13 -5
- package/dist/components/calcite-flow.js +3 -4
- package/dist/components/calcite-inline-editable.js +13 -12
- package/dist/components/calcite-input-date-picker.js +33 -13
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +21 -6
- package/dist/components/calcite-list-item-group.js +3 -4
- package/dist/components/calcite-list-item.js +13 -5
- package/dist/components/calcite-list.js +23 -5
- package/dist/components/calcite-modal.js +3 -4
- package/dist/components/calcite-notice.js +3 -4
- package/dist/components/calcite-option-group.js +3 -4
- package/dist/components/calcite-option.js +3 -4
- package/dist/components/calcite-pagination.js +3 -4
- package/dist/components/calcite-panel.js +15 -7
- package/dist/components/calcite-pick-list-group.js +4 -14
- package/dist/components/calcite-pick-list.js +8 -5
- package/dist/components/calcite-popover-manager.js +4 -5
- package/dist/components/calcite-radio-button-group.js +3 -4
- package/dist/components/calcite-radio-button.js +8 -5
- package/dist/components/calcite-radio-group-item.js +3 -4
- package/dist/components/calcite-radio-group.js +9 -6
- package/dist/components/calcite-rating.js +13 -8
- package/dist/components/calcite-select.js +8 -5
- package/dist/components/calcite-shell-center-row.js +3 -4
- package/dist/components/calcite-shell-panel.js +3 -4
- package/dist/components/calcite-shell.js +3 -4
- package/dist/components/calcite-slider.js +32 -31
- package/dist/components/calcite-sortable-list.js +8 -5
- package/dist/components/calcite-split-button.js +29 -7
- package/dist/components/calcite-stepper-item.js +10 -7
- package/dist/components/calcite-stepper.js +3 -4
- package/dist/components/calcite-tile-select-group.js +17 -5
- package/dist/components/calcite-tile-select.js +8 -5
- package/dist/components/calcite-tip-group.js +3 -4
- package/dist/components/calcite-tip-manager.js +4 -5
- package/dist/components/calcite-tip.js +4 -5
- package/dist/components/calcite-tooltip.js +9 -6
- package/dist/components/calcite-tree-item.js +3 -57
- package/dist/components/calcite-tree.js +63 -7
- package/dist/components/calcite-value-list-item.js +8 -5
- package/dist/components/calcite-value-list.js +14 -11
- package/dist/components/checkbox.js +8 -5
- package/dist/components/chip.js +3 -4
- package/dist/components/color-picker-hex-input.js +3 -4
- package/dist/components/color-picker-swatch.js +3 -4
- package/dist/components/date-picker-day.js +12 -6
- package/dist/components/date-picker-month-header.js +3 -4
- package/dist/components/date-picker-month.js +3 -4
- package/dist/components/date-picker.js +3 -4
- package/dist/components/dropdown.js +49 -33
- package/dist/components/filter.js +45 -25
- package/dist/components/graph.js +3 -4
- package/dist/components/handle.js +3 -4
- package/dist/components/icon.js +3 -4
- package/dist/components/input.js +10 -7
- package/dist/components/interactive.js +42 -0
- package/dist/components/label.js +39 -7
- package/dist/components/label2.js +16 -6
- package/dist/components/link.js +11 -19
- package/dist/components/loader.js +4 -5
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +11 -8
- package/dist/components/popper.js +16 -3
- package/dist/components/progress.js +3 -4
- package/dist/components/resources.js +2 -1
- package/dist/components/resources4.js +5 -22
- package/dist/components/resources5.js +32 -0
- package/dist/components/scrim.js +3 -4
- package/dist/components/shared-list-render.js +37 -12
- package/dist/components/switch.js +8 -13
- package/dist/components/tab-nav.js +3 -4
- package/dist/components/tab-title.js +10 -8
- package/dist/components/tab.js +4 -5
- package/dist/components/tabs.js +3 -4
- package/dist/components/tile.js +8 -5
- package/dist/components/time-picker.js +35 -7
- package/dist/components/tooltip-manager.js +4 -5
- package/dist/components/utils2.js +1 -2
- package/dist/custom-elements/index.js +818 -433
- package/dist/esm/{ExpandToggle-66a802f1.js → ExpandToggle-af224c1e.js} +2 -2
- package/dist/esm/{Heading-0793af93.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +19 -9
- package/dist/esm/calcite-action-bar.entry.js +8 -15
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu.entry.js +5 -5
- package/dist/esm/calcite-action-pad.entry.js +7 -17
- package/dist/esm/calcite-action.entry.js +9 -4
- package/dist/esm/calcite-alert.entry.js +2 -2
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block_2.entry.js +34 -17
- package/dist/esm/calcite-button.entry.js +14 -16
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +9 -5
- package/dist/esm/calcite-chip.entry.js +3 -3
- package/dist/esm/calcite-color-picker_3.entry.js +19 -6
- package/dist/esm/calcite-combobox_3.entry.js +41 -37
- package/dist/esm/calcite-date-picker_4.entry.js +16 -9
- package/dist/esm/calcite-dropdown_3.entry.js +60 -38
- package/dist/esm/calcite-fab.entry.js +12 -3
- package/dist/esm/calcite-filter.entry.js +38 -5
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +34 -32
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +13 -11
- package/dist/esm/calcite-input-date-picker.entry.js +34 -14
- package/dist/esm/calcite-input-message.entry.js +2 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +55 -10
- package/dist/esm/calcite-input.entry.js +11 -7
- package/dist/esm/calcite-label.entry.js +17 -4
- package/dist/esm/calcite-link.entry.js +10 -16
- package/dist/esm/calcite-list_3.entry.js +34 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +3 -3
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +11 -7
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +16 -7
- package/dist/esm/calcite-pick-list_3.entry.js +16 -22
- package/dist/esm/calcite-popover_2.entry.js +14 -9
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +9 -5
- package/dist/esm/calcite-radio-group_2.entry.js +11 -7
- package/dist/esm/calcite-rating.entry.js +14 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +7 -3
- package/dist/esm/calcite-split-button.entry.js +27 -4
- package/dist/esm/calcite-stepper_2.entry.js +9 -5
- package/dist/esm/calcite-switch.entry.js +9 -12
- package/dist/esm/calcite-tab_4.entry.js +13 -10
- package/dist/esm/calcite-tile-select_2.entry.js +20 -5
- package/dist/esm/calcite-tile.entry.js +8 -4
- package/dist/esm/calcite-tip_3.entry.js +6 -6
- package/dist/esm/calcite-tooltip_2.entry.js +11 -7
- package/dist/esm/calcite-tree_2.entry.js +63 -59
- package/dist/esm/calcite-value-list_2.entry.js +19 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-9e7d8609.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm/{form-f90706b4.js → form-5e4609eb.js} +1 -1
- package/dist/esm/{index-9de00868.js → index-bd94948c.js} +27 -1
- package/dist/esm/interactive-48b5cc0f.js +42 -0
- package/dist/esm/{label-2bffc9f4.js → label-68f22660.js} +39 -7
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-ae231554.js → popper-da45ec93.js} +16 -3
- package/dist/esm/{resources-d6b3fa76.js → resources-73dac782.js} +1 -1
- package/dist/esm/{resources-e171d56b.js → resources-b5c3d9a7.js} +45 -11
- package/dist/esm-es5/{ExpandToggle-66a802f1.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm-es5/{Heading-0793af93.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{conditionalSlot-9e7d8609.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm-es5/dom-e7fa77b9.js +2 -2
- package/dist/esm-es5/{form-f90706b4.js → form-5e4609eb.js} +1 -1
- package/dist/esm-es5/index-bd94948c.js +5 -0
- package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
- package/dist/esm-es5/label-68f22660.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-da45ec93.js +5 -0
- package/dist/esm-es5/resources-73dac782.js +5 -0
- package/dist/esm-es5/resources-b5c3d9a7.js +5 -0
- package/dist/esm-es5/utils-e84055a3.js +1 -1
- package/dist/extras/docs-json.json +150 -47
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
- package/dist/types/components/action/action.d.ts +3 -1
- package/dist/types/components/action-bar/action-bar.d.ts +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +2 -3
- package/dist/types/components/action-pad/action-pad.d.ts +0 -1
- package/dist/types/components/block/block.d.ts +4 -1
- package/dist/types/components/block-section/block-section.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +3 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +9 -1
- package/dist/types/components/combobox/combobox.d.ts +9 -5
- package/dist/types/components/combobox/resources.d.ts +0 -1
- package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
- package/dist/types/components/dropdown/dropdown.d.ts +11 -4
- package/dist/types/components/dropdown/interfaces.d.ts +0 -2
- package/dist/types/components/dropdown/resources.d.ts +0 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -0
- package/dist/types/components/fab/fab.d.ts +3 -1
- package/dist/types/components/filter/filter.d.ts +5 -2
- package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
- package/dist/types/components/input/input.d.ts +3 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
- package/dist/types/components/label/label.d.ts +7 -1
- package/dist/types/components/link/link.d.ts +3 -5
- package/dist/types/components/list/list.d.ts +7 -1
- package/dist/types/components/list-item/list-item.d.ts +3 -1
- package/dist/types/components/panel/panel.d.ts +3 -1
- package/dist/types/components/pick-list/pick-list.d.ts +3 -1
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
- package/dist/types/components/popover/popover.d.ts +3 -3
- package/dist/types/components/popover/resources.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +3 -1
- package/dist/types/components/radio-group/radio-group.d.ts +3 -1
- package/dist/types/components/rating/rating.d.ts +3 -1
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components/slider/slider.d.ts +4 -3
- package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
- package/dist/types/components/split-button/split-button.d.ts +5 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
- package/dist/types/components/switch/switch.d.ts +3 -4
- package/dist/types/components/tab-title/tab-title.d.ts +3 -1
- package/dist/types/components/tile/tile.d.ts +3 -1
- package/dist/types/components/tile-select/tile-select.d.ts +3 -1
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
- package/dist/types/components/time-picker/resources.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +2 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/value-list/value-list.d.ts +4 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
- package/dist/types/components.d.ts +86 -37
- package/dist/types/preact.d.ts +90 -90
- package/dist/types/utils/interactive.d.ts +28 -0
- package/dist/types/utils/label.d.ts +3 -1
- package/dist/types/utils/popper.d.ts +8 -1
- package/dist/types/utils/time.d.ts +1 -0
- package/hydrate/index.js +746 -346
- package/package.json +29 -30
- package/readme.md +2 -2
- package/dist/calcite/p-0119b1c4.entry.js +0 -5
- package/dist/calcite/p-04bf684c.entry.js +0 -5
- package/dist/calcite/p-050a406e.entry.js +0 -5
- package/dist/calcite/p-0db51b2f.entry.js +0 -5
- package/dist/calcite/p-10b1b39a.system.entry.js +0 -5
- package/dist/calcite/p-13cbacc6.system.entry.js +0 -5
- package/dist/calcite/p-141c978b.system.entry.js +0 -5
- package/dist/calcite/p-14bac901.system.entry.js +0 -5
- package/dist/calcite/p-153af136.entry.js +0 -5
- package/dist/calcite/p-1a1dd9b6.system.entry.js +0 -5
- package/dist/calcite/p-1a3a366d.system.js +0 -5
- package/dist/calcite/p-1c0b4e1a.system.entry.js +0 -5
- package/dist/calcite/p-2218fef5.entry.js +0 -5
- package/dist/calcite/p-22ad05e8.entry.js +0 -5
- package/dist/calcite/p-26aea1cb.system.js +0 -5
- package/dist/calcite/p-288bc438.system.js +0 -5
- package/dist/calcite/p-2aea5398.entry.js +0 -5
- package/dist/calcite/p-2e29554c.js +0 -5
- package/dist/calcite/p-301ee662.system.entry.js +0 -5
- package/dist/calcite/p-307c74d9.system.entry.js +0 -5
- package/dist/calcite/p-374c3c70.entry.js +0 -5
- package/dist/calcite/p-3970879d.system.entry.js +0 -5
- package/dist/calcite/p-39f8d232.entry.js +0 -5
- package/dist/calcite/p-40c3d7a6.system.entry.js +0 -5
- package/dist/calcite/p-444e31b1.entry.js +0 -5
- package/dist/calcite/p-448ee714.entry.js +0 -5
- package/dist/calcite/p-44aa1db4.system.js +0 -5
- package/dist/calcite/p-46b6888c.entry.js +0 -5
- package/dist/calcite/p-479f8f07.entry.js +0 -5
- package/dist/calcite/p-49782820.entry.js +0 -5
- package/dist/calcite/p-49992d49.entry.js +0 -5
- package/dist/calcite/p-5007d2f5.entry.js +0 -5
- package/dist/calcite/p-52f03db0.entry.js +0 -5
- package/dist/calcite/p-53220585.system.entry.js +0 -5
- package/dist/calcite/p-570074bd.entry.js +0 -5
- package/dist/calcite/p-5a77fd17.entry.js +0 -5
- package/dist/calcite/p-5ac1f5fb.system.entry.js +0 -5
- package/dist/calcite/p-5f41045a.entry.js +0 -5
- package/dist/calcite/p-631e416a.system.js +0 -5
- package/dist/calcite/p-655c4dfd.entry.js +0 -5
- package/dist/calcite/p-65c30ccd.entry.js +0 -5
- package/dist/calcite/p-668c5e70.js +0 -5
- package/dist/calcite/p-66ca7309.entry.js +0 -5
- package/dist/calcite/p-6a2ac09a.system.entry.js +0 -5
- package/dist/calcite/p-6a9e2249.system.entry.js +0 -5
- package/dist/calcite/p-6eb1302b.entry.js +0 -5
- package/dist/calcite/p-7415264e.system.entry.js +0 -5
- package/dist/calcite/p-786b8250.entry.js +0 -5
- package/dist/calcite/p-7d4316a1.system.entry.js +0 -5
- package/dist/calcite/p-82d85d32.system.entry.js +0 -5
- package/dist/calcite/p-838a07fc.system.entry.js +0 -5
- package/dist/calcite/p-8456e717.system.entry.js +0 -5
- package/dist/calcite/p-869eb8f9.entry.js +0 -5
- package/dist/calcite/p-86b63ebb.system.entry.js +0 -5
- package/dist/calcite/p-89cb9df8.system.entry.js +0 -5
- package/dist/calcite/p-916a0f28.system.js +0 -5
- package/dist/calcite/p-9a7c4812.js +0 -5
- package/dist/calcite/p-9aaeb1df.entry.js +0 -5
- package/dist/calcite/p-9ae39d7f.entry.js +0 -5
- package/dist/calcite/p-9c7544ce.entry.js +0 -5
- package/dist/calcite/p-9ca6c750.system.entry.js +0 -5
- package/dist/calcite/p-9eb4062a.entry.js +0 -5
- package/dist/calcite/p-a5b366e8.entry.js +0 -5
- package/dist/calcite/p-a5e0e140.entry.js +0 -5
- package/dist/calcite/p-a61df17c.entry.js +0 -5
- package/dist/calcite/p-a85634a1.system.entry.js +0 -5
- package/dist/calcite/p-aceeb62f.entry.js +0 -5
- package/dist/calcite/p-b4a23fdf.entry.js +0 -5
- package/dist/calcite/p-bde80af8.entry.js +0 -5
- package/dist/calcite/p-be231b84.entry.js +0 -5
- package/dist/calcite/p-be265e63.entry.js +0 -5
- package/dist/calcite/p-be87f022.system.entry.js +0 -5
- package/dist/calcite/p-c1c37da9.entry.js +0 -5
- package/dist/calcite/p-c27e520c.entry.js +0 -5
- package/dist/calcite/p-c5463268.system.entry.js +0 -5
- package/dist/calcite/p-caad6f3c.entry.js +0 -5
- package/dist/calcite/p-cb33659b.system.entry.js +0 -5
- package/dist/calcite/p-cb3a8861.entry.js +0 -5
- package/dist/calcite/p-cfcb2161.entry.js +0 -5
- package/dist/calcite/p-d2bcb3ae.entry.js +0 -5
- package/dist/calcite/p-d6f6b6c1.entry.js +0 -5
- package/dist/calcite/p-d86f287b.entry.js +0 -5
- package/dist/calcite/p-d9499121.system.entry.js +0 -5
- package/dist/calcite/p-dcfb3261.system.entry.js +0 -5
- package/dist/calcite/p-dd8b6d4f.system.entry.js +0 -5
- package/dist/calcite/p-e2047621.system.js +0 -5
- package/dist/calcite/p-e3e09c27.entry.js +0 -5
- package/dist/calcite/p-e3f19c5f.system.entry.js +0 -5
- package/dist/calcite/p-e469c1bc.entry.js +0 -5
- package/dist/calcite/p-e5420c67.entry.js +0 -5
- package/dist/calcite/p-e5e29b32.system.entry.js +0 -5
- package/dist/calcite/p-e66c335c.entry.js +0 -5
- package/dist/calcite/p-e7779d97.js +0 -5
- package/dist/calcite/p-e83a5fe4.system.entry.js +0 -5
- package/dist/calcite/p-e8e0f3b7.js +0 -5
- package/dist/calcite/p-ea510477.js +0 -5
- package/dist/calcite/p-ee124c9a.system.entry.js +0 -5
- package/dist/calcite/p-eeb91710.js +0 -5
- package/dist/calcite/p-f01b987c.entry.js +0 -5
- package/dist/calcite/p-f4d9c369.system.entry.js +0 -5
- package/dist/calcite/p-f5739197.entry.js +0 -5
- package/dist/calcite/p-f6b0747a.system.entry.js +0 -5
- package/dist/calcite/p-f763b1e7.system.entry.js +0 -5
- package/dist/calcite/p-f908d72a.system.entry.js +0 -5
- package/dist/calcite/p-f974ab2f.entry.js +0 -5
- package/dist/calcite/p-fb948ef5.system.entry.js +0 -5
- package/dist/calcite/p-fc122064.entry.js +0 -5
- package/dist/calcite/p-fdd3ea5e.entry.js +0 -5
- package/dist/calcite/p-fee9511c.system.entry.js +0 -5
- package/dist/esm-es5/index-9de00868.js +0 -5
- package/dist/esm-es5/label-2bffc9f4.js +0 -5
- package/dist/esm-es5/popper-ae231554.js +0 -5
- package/dist/esm-es5/resources-d6b3fa76.js +0 -5
- package/dist/esm-es5/resources-e171d56b.js +0 -5
|
@@ -6,6 +6,7 @@ import { Component, Event, h, Listen, Element, Prop, Watch, Host, Build, Method
|
|
|
6
6
|
import { getElementDir } from "../../utils/dom";
|
|
7
7
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
8
8
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
9
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
10
|
/**
|
|
10
11
|
* @slot - A slot for adding `calcite-radio-group-item`s.
|
|
11
12
|
*/
|
|
@@ -90,8 +91,11 @@ export class RadioGroup {
|
|
|
90
91
|
disconnectLabel(this);
|
|
91
92
|
disconnectForm(this);
|
|
92
93
|
}
|
|
94
|
+
componentDidRender() {
|
|
95
|
+
updateHostInteraction(this);
|
|
96
|
+
}
|
|
93
97
|
render() {
|
|
94
|
-
return (h(Host, { onClick: this.handleClick, role: "radiogroup"
|
|
98
|
+
return (h(Host, { onClick: this.handleClick, role: "radiogroup" },
|
|
95
99
|
h("slot", null),
|
|
96
100
|
h(HiddenFormInputSlot, { component: this })));
|
|
97
101
|
}
|
|
@@ -93,6 +93,19 @@
|
|
|
93
93
|
width: fit-content;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
:host([disabled]) {
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
cursor: default;
|
|
99
|
+
-webkit-user-select: none;
|
|
100
|
+
user-select: none;
|
|
101
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
102
|
+
}
|
|
103
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
104
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
105
|
+
/* prevent opacity stacking */
|
|
106
|
+
opacity: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
96
109
|
:host([scale=s]) {
|
|
97
110
|
height: 1.5rem;
|
|
98
111
|
--calcite-rating-spacing-unit: 0.25rem;
|
|
@@ -108,11 +121,6 @@
|
|
|
108
121
|
--calcite-rating-spacing-unit: 0.75rem;
|
|
109
122
|
}
|
|
110
123
|
|
|
111
|
-
:host([disabled]) {
|
|
112
|
-
pointer-events: none;
|
|
113
|
-
opacity: 0.5;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
124
|
:host([read-only]) {
|
|
117
125
|
pointer-events: none;
|
|
118
126
|
}
|
|
@@ -7,6 +7,7 @@ import { guid } from "../../utils/guid";
|
|
|
7
7
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
8
8
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
9
9
|
import { TEXT } from "./resources";
|
|
10
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
10
11
|
export class Rating {
|
|
11
12
|
constructor() {
|
|
12
13
|
// --------------------------------------------------------------------------
|
|
@@ -53,6 +54,9 @@ export class Rating {
|
|
|
53
54
|
disconnectLabel(this);
|
|
54
55
|
disconnectForm(this);
|
|
55
56
|
}
|
|
57
|
+
componentDidRender() {
|
|
58
|
+
updateHostInteraction(this);
|
|
59
|
+
}
|
|
56
60
|
//--------------------------------------------------------------------------
|
|
57
61
|
//
|
|
58
62
|
// Event Listeners
|
|
@@ -82,16 +86,18 @@ export class Rating {
|
|
|
82
86
|
partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } },
|
|
83
87
|
h("calcite-icon", { icon: "star-f", scale: this.scale }))),
|
|
84
88
|
h("span", { class: "visually-hidden" }, this.intlStars.replace("${num}", `${i}`))),
|
|
85
|
-
h("input", { checked: i === this.value, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: `${this.guid}-${i}`, name: this.guid, onChange: () => this.updateValue(i),
|
|
89
|
+
h("input", { checked: i === this.value, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: `${this.guid}-${i}`, name: this.guid, onChange: () => this.updateValue(i), onClick: (event) =>
|
|
90
|
+
// click is fired from the the component's label, so we treat this as an internal event
|
|
91
|
+
event.stopPropagation(), onFocus: () => {
|
|
86
92
|
this.hasFocus = true;
|
|
87
93
|
this.focusValue = i;
|
|
88
94
|
}, ref: (el) => (i === 1 || i === this.value) && (this.inputFocusRef = el), type: "radio", value: i })));
|
|
89
95
|
});
|
|
90
96
|
}
|
|
91
97
|
render() {
|
|
92
|
-
const { intlRating, showChip, scale, count, average } = this;
|
|
98
|
+
const { disabled, intlRating, showChip, scale, count, average } = this;
|
|
93
99
|
return (h(Fragment, null,
|
|
94
|
-
h("fieldset", { class: "fieldset", onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) },
|
|
100
|
+
h("fieldset", { class: "fieldset", disabled: disabled, onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) },
|
|
95
101
|
h("legend", { class: "visually-hidden" }, intlRating),
|
|
96
102
|
this.renderStars()),
|
|
97
103
|
(count || average) && showChip ? (h("calcite-chip", { scale: scale, value: count === null || count === void 0 ? void 0 : count.toString() },
|
|
@@ -109,6 +109,19 @@
|
|
|
109
109
|
width: var(--select-width);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
:host([disabled]) {
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
cursor: default;
|
|
115
|
+
-webkit-user-select: none;
|
|
116
|
+
user-select: none;
|
|
117
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
118
|
+
}
|
|
119
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
120
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
121
|
+
/* prevent opacity stacking */
|
|
122
|
+
opacity: 1;
|
|
123
|
+
}
|
|
124
|
+
|
|
112
125
|
:host([scale=s]) {
|
|
113
126
|
height: 1.5rem;
|
|
114
127
|
--calcite-select-font-size: var(--calcite-font-size--2);
|
|
@@ -188,13 +201,6 @@ select:disabled {
|
|
|
188
201
|
--tw-bg-opacity: 1;
|
|
189
202
|
}
|
|
190
203
|
|
|
191
|
-
:host([disabled]) {
|
|
192
|
-
pointer-events: none;
|
|
193
|
-
-webkit-user-select: none;
|
|
194
|
-
user-select: none;
|
|
195
|
-
opacity: var(--calcite-ui-opacity-disabled);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
204
|
.icon-container {
|
|
199
205
|
pointer-events: none;
|
|
200
206
|
position: absolute;
|
|
@@ -8,6 +8,7 @@ import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
|
8
8
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
9
9
|
import { CSS } from "./resources";
|
|
10
10
|
import { createObserver } from "../../utils/observers";
|
|
11
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
11
12
|
function isOption(optionOrGroup) {
|
|
12
13
|
return optionOrGroup.tagName === "CALCITE-OPTION";
|
|
13
14
|
}
|
|
@@ -98,6 +99,9 @@ export class Select {
|
|
|
98
99
|
var _a, _b;
|
|
99
100
|
afterConnectDefaultValueSet(this, (_b = (_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "");
|
|
100
101
|
}
|
|
102
|
+
componentDidRender() {
|
|
103
|
+
updateHostInteraction(this);
|
|
104
|
+
}
|
|
101
105
|
//--------------------------------------------------------------------------
|
|
102
106
|
//
|
|
103
107
|
// Public Methods
|
|
@@ -128,12 +128,20 @@
|
|
|
128
128
|
|
|
129
129
|
:host([disabled]){
|
|
130
130
|
pointer-events: none;
|
|
131
|
+
cursor: default;
|
|
132
|
+
-webkit-user-select: none;
|
|
133
|
+
user-select: none;
|
|
131
134
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
132
135
|
}
|
|
133
136
|
:host([disabled]) .track__range,
|
|
134
137
|
:host([disabled]) .tick--active {
|
|
135
138
|
background-color: var(--calcite-ui-text-3);
|
|
136
139
|
}
|
|
140
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
141
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
142
|
+
/* prevent opacity stacking */
|
|
143
|
+
opacity: 1;
|
|
144
|
+
}
|
|
137
145
|
|
|
138
146
|
.scale--s .thumb:not(.thumb--precise) {
|
|
139
147
|
--calcite-slider-thumb-y-offset: -6px;
|
|
@@ -8,6 +8,7 @@ import { intersects } from "../../utils/dom";
|
|
|
8
8
|
import { clamp, decimalPlaces } from "../../utils/math";
|
|
9
9
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
10
10
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
11
12
|
export class Slider {
|
|
12
13
|
constructor() {
|
|
13
14
|
//--------------------------------------------------------------------------
|
|
@@ -143,6 +144,7 @@ export class Slider {
|
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
146
|
this.hideObscuredBoundingTickLabels();
|
|
147
|
+
updateHostInteraction(this);
|
|
146
148
|
}
|
|
147
149
|
render() {
|
|
148
150
|
const id = this.el.id || this.guid;
|
|
@@ -156,106 +158,106 @@ export class Slider {
|
|
|
156
158
|
const mirror = this.shouldMirror();
|
|
157
159
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
158
160
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
159
|
-
const handle = (h("
|
|
161
|
+
const handle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
160
162
|
thumb: true,
|
|
161
163
|
"thumb--value": true,
|
|
162
164
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
163
|
-
},
|
|
165
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
164
166
|
h("div", { class: "handle" })));
|
|
165
|
-
const labeledHandle = (h("
|
|
167
|
+
const labeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
166
168
|
thumb: true,
|
|
167
169
|
"thumb--value": true,
|
|
168
170
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
169
|
-
},
|
|
171
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
170
172
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value" }, value ? value.toLocaleString() : value),
|
|
171
173
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
172
174
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value),
|
|
173
175
|
h("div", { class: "handle" })));
|
|
174
|
-
const histogramLabeledHandle = (h("
|
|
176
|
+
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
175
177
|
thumb: true,
|
|
176
178
|
"thumb--value": true,
|
|
177
179
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
178
|
-
},
|
|
180
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
179
181
|
h("div", { class: "handle" }),
|
|
180
182
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value" }, value ? value.toLocaleString() : value),
|
|
181
183
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
182
184
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value)));
|
|
183
|
-
const preciseHandle = (h("
|
|
185
|
+
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
184
186
|
thumb: true,
|
|
185
187
|
"thumb--value": true,
|
|
186
188
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
187
189
|
"thumb--precise": true
|
|
188
|
-
},
|
|
190
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
189
191
|
h("div", { class: "handle" }),
|
|
190
192
|
h("div", { class: "handle-extension" })));
|
|
191
|
-
const histogramPreciseHandle = (h("
|
|
193
|
+
const histogramPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
192
194
|
thumb: true,
|
|
193
195
|
"thumb--value": true,
|
|
194
196
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
195
197
|
"thumb--precise": true
|
|
196
|
-
},
|
|
198
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
197
199
|
h("div", { class: "handle-extension" }),
|
|
198
200
|
h("div", { class: "handle" })));
|
|
199
|
-
const labeledPreciseHandle = (h("
|
|
201
|
+
const labeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
200
202
|
thumb: true,
|
|
201
203
|
"thumb--value": true,
|
|
202
204
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
203
205
|
"thumb--precise": true
|
|
204
|
-
},
|
|
206
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
205
207
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value" }, value ? value.toLocaleString() : value),
|
|
206
208
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
207
209
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value),
|
|
208
210
|
h("div", { class: "handle" }),
|
|
209
211
|
h("div", { class: "handle-extension" })));
|
|
210
|
-
const histogramLabeledPreciseHandle = (h("
|
|
212
|
+
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.isRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
211
213
|
thumb: true,
|
|
212
214
|
"thumb--value": true,
|
|
213
215
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
214
216
|
"thumb--precise": true
|
|
215
|
-
},
|
|
217
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.dragStart(maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 },
|
|
216
218
|
h("div", { class: "handle-extension" }),
|
|
217
219
|
h("div", { class: "handle" }),
|
|
218
220
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value" }, value ? value.toLocaleString() : value),
|
|
219
221
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value static" }, value ? value.toLocaleString() : value),
|
|
220
222
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--value transformed" }, value ? value.toLocaleString() : value)));
|
|
221
|
-
const minHandle = (h("
|
|
223
|
+
const minHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
222
224
|
thumb: true,
|
|
223
225
|
"thumb--minValue": true,
|
|
224
226
|
"thumb--active": this.dragProp === "minValue"
|
|
225
|
-
},
|
|
227
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 },
|
|
226
228
|
h("div", { class: "handle" })));
|
|
227
|
-
const minLabeledHandle = (h("
|
|
229
|
+
const minLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
228
230
|
thumb: true,
|
|
229
231
|
"thumb--minValue": true,
|
|
230
232
|
"thumb--active": this.dragProp === "minValue"
|
|
231
|
-
},
|
|
233
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 },
|
|
232
234
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue" }, this.minValue && this.minValue.toLocaleString()),
|
|
233
235
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue static" }, this.minValue && this.minValue.toLocaleString()),
|
|
234
236
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue transformed" }, this.minValue && this.minValue.toLocaleString()),
|
|
235
237
|
h("div", { class: "handle" })));
|
|
236
|
-
const minHistogramLabeledHandle = (h("
|
|
238
|
+
const minHistogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
237
239
|
thumb: true,
|
|
238
240
|
"thumb--minValue": true,
|
|
239
241
|
"thumb--active": this.dragProp === "minValue"
|
|
240
|
-
},
|
|
242
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 },
|
|
241
243
|
h("div", { class: "handle" }),
|
|
242
244
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue" }, this.minValue && this.minValue.toLocaleString()),
|
|
243
245
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue static" }, this.minValue && this.minValue.toLocaleString()),
|
|
244
246
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue transformed" }, this.minValue && this.minValue.toLocaleString())));
|
|
245
|
-
const minPreciseHandle = (h("
|
|
247
|
+
const minPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
246
248
|
thumb: true,
|
|
247
249
|
"thumb--minValue": true,
|
|
248
250
|
"thumb--active": this.dragProp === "minValue",
|
|
249
251
|
"thumb--precise": true
|
|
250
|
-
},
|
|
252
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 },
|
|
251
253
|
h("div", { class: "handle-extension" }),
|
|
252
254
|
h("div", { class: "handle" })));
|
|
253
|
-
const minLabeledPreciseHandle = (h("
|
|
255
|
+
const minLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
254
256
|
thumb: true,
|
|
255
257
|
"thumb--minValue": true,
|
|
256
258
|
"thumb--active": this.dragProp === "minValue",
|
|
257
259
|
"thumb--precise": true
|
|
258
|
-
},
|
|
260
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.dragStart("minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 },
|
|
259
261
|
h("div", { class: "handle-extension" }),
|
|
260
262
|
h("div", { class: "handle" }),
|
|
261
263
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue" }, this.minValue && this.minValue.toLocaleString()),
|
|
@@ -753,7 +755,7 @@ export class Slider {
|
|
|
753
755
|
return Math.max(rangeLabelOverlap, 0);
|
|
754
756
|
}
|
|
755
757
|
/**
|
|
756
|
-
* Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle
|
|
758
|
+
* Returns a boolean value representing if the minLabel span element is obscured (being overlapped) by the given handle div element.
|
|
757
759
|
* @param minLabel
|
|
758
760
|
* @param handle
|
|
759
761
|
*/
|
|
@@ -763,7 +765,7 @@ export class Slider {
|
|
|
763
765
|
return intersects(minLabelBounds, handleBounds);
|
|
764
766
|
}
|
|
765
767
|
/**
|
|
766
|
-
* Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle
|
|
768
|
+
* Returns a boolean value representing if the maxLabel span element is obscured (being overlapped) by the given handle div element.
|
|
767
769
|
* @param maxLabel
|
|
768
770
|
* @param handle
|
|
769
771
|
*/
|
|
@@ -835,7 +837,7 @@ export class Slider {
|
|
|
835
837
|
"docs": {
|
|
836
838
|
"tags": [{
|
|
837
839
|
"name": "see",
|
|
838
|
-
"text": "
|
|
840
|
+
"text": "[DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)"
|
|
839
841
|
}],
|
|
840
842
|
"text": "List of x,y coordinates within the slider's min and max, displays above the slider track."
|
|
841
843
|
}
|
|
@@ -82,6 +82,19 @@
|
|
|
82
82
|
display: flex;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
:host([disabled]) {
|
|
86
|
+
pointer-events: none;
|
|
87
|
+
cursor: default;
|
|
88
|
+
-webkit-user-select: none;
|
|
89
|
+
user-select: none;
|
|
90
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
91
|
+
}
|
|
92
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
93
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
94
|
+
/* prevent opacity stacking */
|
|
95
|
+
opacity: 1;
|
|
96
|
+
}
|
|
97
|
+
|
|
85
98
|
.container {
|
|
86
99
|
display: flex;
|
|
87
100
|
flex: 1 1 auto;
|
|
@@ -6,6 +6,7 @@ import Sortable from "sortablejs";
|
|
|
6
6
|
import { Component, Element, Event, Listen, Prop, State, h } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "../../utils/observers";
|
|
8
8
|
import { CSS } from "./resources";
|
|
9
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
10
|
/**
|
|
10
11
|
* @slot - A slot for adding sortable items.
|
|
11
12
|
*/
|
|
@@ -50,6 +51,9 @@ export class SortableList {
|
|
|
50
51
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
51
52
|
this.cleanUpDragAndDrop();
|
|
52
53
|
}
|
|
54
|
+
componentDidRender() {
|
|
55
|
+
updateHostInteraction(this);
|
|
56
|
+
}
|
|
53
57
|
calciteHandleNudgeHandler(event) {
|
|
54
58
|
var _a;
|
|
55
59
|
const sortItem = this.items.find((item) => {
|
|
@@ -206,9 +206,21 @@
|
|
|
206
206
|
background-color: var(--calcite-split-button-divider);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
+
:host([disabled]) {
|
|
210
|
+
pointer-events: none;
|
|
211
|
+
cursor: default;
|
|
212
|
+
-webkit-user-select: none;
|
|
213
|
+
user-select: none;
|
|
214
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
215
|
+
}
|
|
209
216
|
:host([disabled]) .split-button__divider-container {
|
|
210
217
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
211
218
|
}
|
|
212
219
|
:host([disabled]) calcite-dropdown > calcite-button {
|
|
213
220
|
pointer-events: none;
|
|
221
|
+
}
|
|
222
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
223
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
224
|
+
/* prevent opacity stacking */
|
|
225
|
+
opacity: 1;
|
|
214
226
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
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
4
|
*/
|
|
5
|
-
import { Component, Element, Event, h, Prop } from "@stencil/core";
|
|
5
|
+
import { Component, Element, Event, h, Prop, Watch } from "@stencil/core";
|
|
6
6
|
import { CSS } from "./resources";
|
|
7
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
7
8
|
/**
|
|
8
9
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
9
10
|
*/
|
|
@@ -34,6 +35,24 @@ export class SplitButton {
|
|
|
34
35
|
this.calciteSplitButtonPrimaryClickHandler = (e) => this.calciteSplitButtonPrimaryClick.emit(e);
|
|
35
36
|
this.calciteSplitButtonSecondaryClickHandler = (e) => this.calciteSplitButtonSecondaryClick.emit(e);
|
|
36
37
|
}
|
|
38
|
+
handleDisabledChange(value) {
|
|
39
|
+
if (!value) {
|
|
40
|
+
this.active = false;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
activeHandler() {
|
|
44
|
+
if (this.disabled) {
|
|
45
|
+
this.active = false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//--------------------------------------------------------------------------
|
|
49
|
+
//
|
|
50
|
+
// Lifecycle
|
|
51
|
+
//
|
|
52
|
+
//--------------------------------------------------------------------------
|
|
53
|
+
componentDidRender() {
|
|
54
|
+
updateHostInteraction(this);
|
|
55
|
+
}
|
|
37
56
|
render() {
|
|
38
57
|
const widthClasses = {
|
|
39
58
|
[CSS.container]: true,
|
|
@@ -46,7 +65,7 @@ export class SplitButton {
|
|
|
46
65
|
h("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText),
|
|
47
66
|
h("div", { class: CSS.dividerContainer },
|
|
48
67
|
h("div", { class: CSS.divider })),
|
|
49
|
-
h("calcite-dropdown", { active: this.active, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
68
|
+
h("calcite-dropdown", { active: this.active, disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
50
69
|
h("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary", type: "button" }),
|
|
51
70
|
h("slot", null))));
|
|
52
71
|
}
|
|
@@ -134,7 +153,7 @@ export class SplitButton {
|
|
|
134
153
|
},
|
|
135
154
|
"active": {
|
|
136
155
|
"type": "boolean",
|
|
137
|
-
"mutable":
|
|
156
|
+
"mutable": true,
|
|
138
157
|
"complexType": {
|
|
139
158
|
"original": "boolean",
|
|
140
159
|
"resolved": "boolean",
|
|
@@ -403,4 +422,11 @@ export class SplitButton {
|
|
|
403
422
|
}
|
|
404
423
|
}]; }
|
|
405
424
|
static get elementRef() { return "el"; }
|
|
425
|
+
static get watchers() { return [{
|
|
426
|
+
"propName": "disabled",
|
|
427
|
+
"methodName": "handleDisabledChange"
|
|
428
|
+
}, {
|
|
429
|
+
"propName": "active",
|
|
430
|
+
"methodName": "activeHandler"
|
|
431
|
+
}]; }
|
|
406
432
|
}
|
|
@@ -227,12 +227,16 @@
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
:host([disabled]) {
|
|
230
|
+
pointer-events: none;
|
|
231
|
+
cursor: default;
|
|
232
|
+
-webkit-user-select: none;
|
|
233
|
+
user-select: none;
|
|
230
234
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
231
235
|
}
|
|
232
|
-
|
|
233
|
-
:host([disabled])
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
237
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
238
|
+
/* prevent opacity stacking */
|
|
239
|
+
opacity: 1;
|
|
236
240
|
}
|
|
237
241
|
|
|
238
242
|
:host([complete]) .container {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Prop, Watch } from "@stencil/core";
|
|
6
6
|
import { getElementProp } from "../../utils/dom";
|
|
7
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
7
8
|
/**
|
|
8
9
|
* @slot - A slot for adding custom content.
|
|
9
10
|
*/
|
|
@@ -61,8 +62,11 @@ export class StepperItem {
|
|
|
61
62
|
this.emitRequestedItem();
|
|
62
63
|
}
|
|
63
64
|
}
|
|
65
|
+
componentDidRender() {
|
|
66
|
+
updateHostInteraction(this, true);
|
|
67
|
+
}
|
|
64
68
|
render() {
|
|
65
|
-
return (h(Host, { "aria-expanded": this.active.toString(), onClick: () => this.emitRequestedItem()
|
|
69
|
+
return (h(Host, { "aria-expanded": this.active.toString(), onClick: () => this.emitRequestedItem() },
|
|
66
70
|
h("div", { class: "container" },
|
|
67
71
|
h("div", { class: "stepper-item-header" },
|
|
68
72
|
this.icon ? this.renderIcon() : null,
|
|
@@ -228,7 +232,7 @@ export class StepperItem {
|
|
|
228
232
|
"text": "is the step disabled and not navigable to by a user"
|
|
229
233
|
},
|
|
230
234
|
"attribute": "disabled",
|
|
231
|
-
"reflect":
|
|
235
|
+
"reflect": true,
|
|
232
236
|
"defaultValue": "false"
|
|
233
237
|
},
|
|
234
238
|
"itemTitle": {
|
|
@@ -128,8 +128,15 @@
|
|
|
128
128
|
:host([disabled]) {
|
|
129
129
|
pointer-events: none;
|
|
130
130
|
cursor: default;
|
|
131
|
+
-webkit-user-select: none;
|
|
132
|
+
user-select: none;
|
|
131
133
|
opacity: var(--calcite-ui-opacity-disabled);
|
|
132
134
|
}
|
|
135
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
136
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
137
|
+
/* prevent opacity stacking */
|
|
138
|
+
opacity: 1;
|
|
139
|
+
}
|
|
133
140
|
|
|
134
141
|
:host {
|
|
135
142
|
width: auto;
|
|
@@ -2,10 +2,11 @@
|
|
|
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
4
|
*/
|
|
5
|
-
import { Component, Element, Event, h, Host, Method, Prop,
|
|
5
|
+
import { Component, Element, Event, h, Host, Method, Prop, Watch } from "@stencil/core";
|
|
6
6
|
import { focusElement } from "../../utils/dom";
|
|
7
7
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
8
8
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
9
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
9
10
|
export class Switch {
|
|
10
11
|
constructor() {
|
|
11
12
|
//--------------------------------------------------------------------------
|
|
@@ -41,9 +42,6 @@ export class Switch {
|
|
|
41
42
|
this.switchEl = el;
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
disabledWatcher(newDisabled) {
|
|
45
|
-
this.tabindex = newDisabled ? -1 : 0;
|
|
46
|
-
}
|
|
47
45
|
switchedWatcher(switched) {
|
|
48
46
|
this.checked = switched;
|
|
49
47
|
}
|
|
@@ -88,8 +86,8 @@ export class Switch {
|
|
|
88
86
|
disconnectLabel(this);
|
|
89
87
|
disconnectForm(this);
|
|
90
88
|
}
|
|
91
|
-
|
|
92
|
-
this
|
|
89
|
+
componentDidRender() {
|
|
90
|
+
updateHostInteraction(this);
|
|
93
91
|
}
|
|
94
92
|
// --------------------------------------------------------------------------
|
|
95
93
|
//
|
|
@@ -98,7 +96,7 @@ export class Switch {
|
|
|
98
96
|
// --------------------------------------------------------------------------
|
|
99
97
|
render() {
|
|
100
98
|
return (h(Host, { onKeyDown: this.keyDownHandler },
|
|
101
|
-
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: "container", onClick: this.clickHandler, ref: this.setSwitchEl, role: "switch",
|
|
99
|
+
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: "container", onClick: this.clickHandler, ref: this.setSwitchEl, role: "switch", tabIndex: 0 },
|
|
102
100
|
h("div", { class: "track" },
|
|
103
101
|
h("div", { class: "handle" })),
|
|
104
102
|
h(HiddenFormInputSlot, { component: this }))));
|
|
@@ -244,9 +242,6 @@ export class Switch {
|
|
|
244
242
|
"reflect": false
|
|
245
243
|
}
|
|
246
244
|
}; }
|
|
247
|
-
static get states() { return {
|
|
248
|
-
"tabindex": {}
|
|
249
|
-
}; }
|
|
250
245
|
static get events() { return [{
|
|
251
246
|
"method": "calciteSwitchChange",
|
|
252
247
|
"name": "calciteSwitchChange",
|
|
@@ -283,9 +278,6 @@ export class Switch {
|
|
|
283
278
|
}; }
|
|
284
279
|
static get elementRef() { return "el"; }
|
|
285
280
|
static get watchers() { return [{
|
|
286
|
-
"propName": "disabled",
|
|
287
|
-
"methodName": "disabledWatcher"
|
|
288
|
-
}, {
|
|
289
281
|
"propName": "switched",
|
|
290
282
|
"methodName": "switchedWatcher"
|
|
291
283
|
}]; }
|
|
@@ -60,7 +60,7 @@ export class Tab {
|
|
|
60
60
|
// to allow `<calcite-tabs>` to be nested we need to make sure this
|
|
61
61
|
// `calciteTabChange` event was actually fired from a title that is a
|
|
62
62
|
// child of the `<calcite-tabs>` that is the a parent of this tab.
|
|
63
|
-
if (event.
|
|
63
|
+
if (!event.composedPath().includes(this.el.closest("calcite-tabs"))) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
if (this.tab) {
|
|
@@ -371,7 +371,7 @@ export class TabNav {
|
|
|
371
371
|
"docs": {
|
|
372
372
|
"tags": [{
|
|
373
373
|
"name": "see",
|
|
374
|
-
"text": "
|
|
374
|
+
"text": "[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)"
|
|
375
375
|
}],
|
|
376
376
|
"text": "Emitted when the active tab changes"
|
|
377
377
|
},
|