@esri/calcite-components 1.0.0-beta.78 → 1.0.0-beta.79
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/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/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-02854dce.system.entry.js → p-02d7cf64.system.entry.js} +1 -1
- package/dist/calcite/p-03c92ad2.entry.js +5 -0
- package/dist/calcite/{p-847fc3a4.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-184049cb.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-129954f1.system.entry.js → p-1aded388.system.entry.js} +1 -1
- package/dist/calcite/p-1aeca42a.system.entry.js +5 -0
- package/dist/calcite/p-1b1bca2d.entry.js +5 -0
- package/dist/calcite/{p-3c773436.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-475869c9.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-3915705c.entry.js +5 -0
- package/dist/calcite/p-3b4662a5.entry.js +5 -0
- package/dist/calcite/p-3b707a1c.system.entry.js +5 -0
- package/dist/calcite/{p-41806a13.system.entry.js → p-3cdee187.system.entry.js} +1 -1
- package/dist/calcite/{p-296c1d5a.system.entry.js → p-3e149640.system.entry.js} +1 -1
- package/dist/calcite/p-3e9d96c6.system.entry.js +5 -0
- package/dist/calcite/{p-f5e91588.system.entry.js → p-3ea157ba.system.entry.js} +1 -1
- 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-4696e56f.entry.js +5 -0
- package/dist/calcite/p-4730df46.js +5 -0
- package/dist/calcite/p-47d38839.entry.js +5 -0
- package/dist/calcite/{p-aa336fc3.system.entry.js → p-482885ae.system.entry.js} +1 -1
- package/dist/calcite/{p-df3775ba.system.entry.js → p-48637359.system.entry.js} +1 -1
- 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-0bd5bb31.system.entry.js → p-55e1a3a0.system.entry.js} +1 -1
- package/dist/calcite/{p-3543ddfe.system.entry.js → p-569150ab.system.entry.js} +1 -1
- package/dist/calcite/p-57e0428a.system.entry.js +5 -0
- package/dist/calcite/{p-9d071e3c.system.js → p-588bfa74.system.js} +1 -1
- package/dist/calcite/{p-a7e2bf9b.system.entry.js → p-58adb34d.system.entry.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-614d8925.js +5 -0
- package/dist/calcite/p-6261469d.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-579d1f1a.system.entry.js → p-6ed27595.system.entry.js} +1 -1
- package/dist/calcite/p-6fba3e1b.system.entry.js +5 -0
- package/dist/calcite/{p-2eb067c8.system.entry.js → p-7247b667.system.entry.js} +1 -1
- package/dist/calcite/p-7260c869.system.entry.js +5 -0
- package/dist/calcite/p-73d23656.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-ee88180e.system.entry.js → p-7bee4942.system.entry.js} +1 -1
- package/dist/calcite/{p-c0e695bd.js → p-7c88d545.js} +1 -1
- package/dist/calcite/p-7dfd6480.system.entry.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-ba2c5e07.js → p-8ab345f2.js} +1 -1
- package/dist/calcite/{p-4ff0e3a9.system.entry.js → p-8e0dd0af.system.entry.js} +1 -1
- package/dist/calcite/{p-e4c317a4.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-1f82294e.system.entry.js → p-a11ee541.system.entry.js} +1 -1
- package/dist/calcite/p-a3527241.system.entry.js +5 -0
- package/dist/calcite/p-a38fe099.entry.js +5 -0
- package/dist/calcite/{p-7d937b47.entry.js → p-a7770d75.entry.js} +1 -1
- package/dist/calcite/{p-f56ce7ea.js → p-a9b3ef39.js} +1 -1
- 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-b10af2b4.entry.js +5 -0
- package/dist/calcite/p-b2493735.entry.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-c9f280c1.system.js → p-b765d197.system.js} +1 -1
- package/dist/calcite/p-bccbf58a.entry.js +5 -0
- package/dist/calcite/{p-993a9701.system.entry.js → p-bcdc20c3.system.entry.js} +1 -1
- package/dist/calcite/p-bd38ff21.js +5 -0
- package/dist/calcite/{p-cd406e29.system.entry.js → p-bdcb43b1.system.entry.js} +1 -1
- package/dist/calcite/p-bffb4da3.system.entry.js +5 -0
- package/dist/calcite/{p-d1060fb1.system.entry.js → p-c228a1da.system.entry.js} +1 -1
- package/dist/calcite/p-c2adeae4.entry.js +5 -0
- package/dist/calcite/p-c33f47d5.system.js +5 -0
- package/dist/calcite/p-c4cb35ba.system.entry.js +5 -0
- package/dist/calcite/{p-5d52246b.system.js → p-c51699d3.system.js} +1 -1
- package/dist/calcite/p-c5c42405.entry.js +5 -0
- package/dist/calcite/{p-a4cc864a.system.entry.js → p-c9fc13b9.system.entry.js} +1 -1
- package/dist/calcite/p-cafd98e8.entry.js +5 -0
- package/dist/calcite/{p-08c58589.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-2277b440.js → p-cd5f5c8f.js} +1 -1
- package/dist/calcite/{p-1d345756.system.entry.js → p-cd9226a1.system.entry.js} +1 -1
- package/dist/calcite/p-da7c2542.entry.js +5 -0
- package/dist/calcite/p-daf5f04c.system.js +5 -0
- package/dist/calcite/{p-fedbc6e6.js → p-dcf33bb2.js} +1 -1
- package/dist/calcite/{p-36fa8b0f.system.entry.js → p-dd460534.system.entry.js} +1 -1
- 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-e5a7ca2a.entry.js +5 -0
- package/dist/calcite/p-e65b6bfb.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-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-fe9380a0.system.js +5 -0
- package/dist/cjs/{ExpandToggle-dbdede53.js → ExpandToggle-f7682a15.js} +1 -1
- package/dist/cjs/{Heading-1870bc0e.js → Heading-ec707493.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action.cjs.entry.js +7 -3
- 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 +19 -10
- package/dist/cjs/calcite-button.cjs.entry.js +8 -4
- 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 +34 -15
- 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 +23 -7
- package/dist/cjs/calcite-input.cjs.entry.js +9 -5
- package/dist/cjs/calcite-label.cjs.entry.js +17 -4
- package/dist/cjs/calcite-link.cjs.entry.js +8 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- 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 +16 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -6
- 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 +11 -8
- 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 +9 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +59 -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-2917212e.js → conditionalSlot-64f9bfd3.js} +1 -1
- package/dist/cjs/{form-d540f0cb.js → form-0ef859c8.js} +1 -1
- package/dist/cjs/{index-8760acaf.js → index-1af0efd3.js} +4 -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-1e94d43c.js → resources-7811eb2c.js} +1 -1
- package/dist/cjs/{resources-00f23831.js → resources-daf15d54.js} +34 -10
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/action/action.css +9 -0
- package/dist/collection/components/action/action.js +4 -0
- package/dist/collection/components/block/block.css +13 -9
- package/dist/collection/components/block/block.js +13 -4
- package/dist/collection/components/button/button.css +15 -2
- package/dist/collection/components/button/button.js +4 -0
- 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 +32 -1
- package/dist/collection/components/combobox/combobox.css +7 -1
- 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 +5 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.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 +56 -14
- package/dist/collection/components/dropdown/resources.js +0 -1
- 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/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/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 +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
- package/dist/collection/components/input-date-picker/input-date-picker.js +50 -8
- 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 +5 -1
- 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/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 +30 -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 +5 -4
- package/dist/collection/components/popover/popover.js +5 -1
- 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 +9 -3
- 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 +8 -2
- package/dist/collection/components/slider/slider.css +8 -0
- package/dist/collection/components/slider/slider.js +28 -26
- 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-title/tab-title.css +9 -0
- package/dist/collection/components/tab-title/tab-title.js +6 -3
- 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/tooltip/tooltip.js +5 -1
- package/dist/collection/components/tree/tree.js +61 -0
- package/dist/collection/components/tree-item/tree-item.js +0 -55
- 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 +5 -1
- 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/components/action-group.js +3 -4
- package/dist/components/action-menu.js +3 -4
- package/dist/components/action.js +8 -5
- package/dist/components/button.js +8 -5
- package/dist/components/calcite-accordion-item.js +3 -4
- package/dist/components/calcite-accordion.js +3 -4
- package/dist/components/calcite-action-bar.js +3 -4
- package/dist/components/calcite-action-pad.js +3 -4
- package/dist/components/calcite-alert.js +3 -4
- package/dist/components/calcite-avatar.js +3 -4
- package/dist/components/calcite-block-section.js +3 -4
- package/dist/components/calcite-block.js +17 -9
- 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 +3 -4
- 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 +3 -4
- package/dist/components/calcite-pick-list.js +8 -5
- package/dist/components/calcite-popover-manager.js +3 -4
- 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 +10 -7
- package/dist/components/calcite-rating.js +13 -8
- package/dist/components/calcite-select.js +9 -6
- 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 +3 -4
- package/dist/components/calcite-tip.js +3 -4
- package/dist/components/calcite-tooltip.js +8 -5
- package/dist/components/calcite-tree-item.js +3 -59
- package/dist/components/calcite-tree.js +59 -5
- 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 +34 -15
- 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 +8 -5
- 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 +9 -6
- package/dist/components/loader.js +3 -4
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +8 -5
- package/dist/components/popper.js +16 -3
- package/dist/components/progress.js +3 -4
- package/dist/components/scrim.js +3 -4
- package/dist/components/shared-list-render.js +33 -10
- package/dist/components/switch.js +8 -13
- package/dist/components/tab-nav.js +3 -4
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -4
- package/dist/components/tabs.js +3 -4
- package/dist/components/tile.js +8 -5
- package/dist/components/time-picker.js +3 -4
- package/dist/components/tooltip-manager.js +3 -4
- package/dist/components/utils2.js +1 -2
- package/dist/custom-elements/index.js +685 -324
- package/dist/esm/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm/{Heading-8289fa96.js → Heading-d5f1710a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +4 -4
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu.entry.js +3 -3
- package/dist/esm/calcite-action-pad.entry.js +4 -4
- package/dist/esm/calcite-action.entry.js +7 -3
- 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 +19 -10
- package/dist/esm/calcite-button.entry.js +8 -4
- 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 +34 -15
- 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 +23 -7
- package/dist/esm/calcite-input.entry.js +9 -5
- package/dist/esm/calcite-label.entry.js +17 -4
- package/dist/esm/calcite-link.entry.js +8 -4
- package/dist/esm/calcite-list_3.entry.js +34 -8
- package/dist/esm/calcite-loader.entry.js +2 -2
- 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 -12
- package/dist/esm/calcite-popover_2.entry.js +10 -6
- 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 +11 -8
- 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 +9 -5
- package/dist/esm/calcite-tree_2.entry.js +59 -59
- package/dist/esm/calcite-value-list_2.entry.js +19 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm/{index-0fefddd1.js → index-bd94948c.js} +4 -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/{popper-ae231554.js → popper-da45ec93.js} +16 -3
- package/dist/esm/{resources-431fa051.js → resources-73dac782.js} +1 -1
- package/dist/esm/{resources-966bb21a.js → resources-cbfcf4a3.js} +34 -11
- package/dist/esm-es5/{ExpandToggle-ed0ae55a.js → ExpandToggle-af224c1e.js} +1 -1
- package/dist/esm-es5/{Heading-8289fa96.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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{conditionalSlot-c4b6c8b1.js → conditionalSlot-67f579ff.js} +1 -1
- package/dist/esm-es5/{form-d07b2414.js → form-5e4609eb.js} +1 -1
- package/dist/esm-es5/{index-0fefddd1.js → index-bd94948c.js} +1 -1
- 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-431fa051.js → resources-73dac782.js} +2 -2
- package/dist/esm-es5/resources-cbfcf4a3.js +5 -0
- package/dist/extras/docs-json.json +135 -30
- package/dist/types/components/combobox/resources.d.ts +0 -1
- package/dist/types/components/dropdown/interfaces.d.ts +0 -2
- package/dist/types/components/dropdown/resources.d.ts +0 -1
- package/dist/types/components.d.ts +58 -8
- package/dist/types/preact.d.ts +90 -90
- package/dist/types/utils/interactive.d.ts +28 -0
- package/dist/types/utils/popper.d.ts +8 -1
- package/hydrate/index.js +602 -236
- package/package.json +17 -18
- package/readme.md +2 -2
- package/dist/calcite/p-00d4b36e.entry.js +0 -5
- package/dist/calcite/p-02a3ad67.entry.js +0 -5
- package/dist/calcite/p-02b4bcec.entry.js +0 -5
- package/dist/calcite/p-02cc50b9.entry.js +0 -5
- package/dist/calcite/p-03a6680c.entry.js +0 -5
- package/dist/calcite/p-11413626.system.entry.js +0 -5
- package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
- package/dist/calcite/p-1370cabf.entry.js +0 -5
- package/dist/calcite/p-13e36552.system.entry.js +0 -5
- package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
- package/dist/calcite/p-1a3a366d.system.js +0 -5
- package/dist/calcite/p-1fe5a777.entry.js +0 -5
- package/dist/calcite/p-26bcdb22.entry.js +0 -5
- package/dist/calcite/p-2a3d08b7.entry.js +0 -5
- package/dist/calcite/p-2c293ed2.entry.js +0 -5
- package/dist/calcite/p-2fbc2a9b.system.entry.js +0 -5
- package/dist/calcite/p-313fa6fa.system.entry.js +0 -5
- package/dist/calcite/p-33cff2d9.js +0 -5
- package/dist/calcite/p-35461165.system.entry.js +0 -5
- package/dist/calcite/p-362522e5.js +0 -5
- package/dist/calcite/p-383b48a0.system.entry.js +0 -5
- package/dist/calcite/p-38c4fbab.system.entry.js +0 -5
- package/dist/calcite/p-3955bdff.entry.js +0 -5
- package/dist/calcite/p-3a7606c8.entry.js +0 -5
- package/dist/calcite/p-3e522dbe.entry.js +0 -5
- package/dist/calcite/p-417c7d5d.entry.js +0 -5
- package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
- package/dist/calcite/p-44dcac16.entry.js +0 -5
- package/dist/calcite/p-458933db.system.entry.js +0 -5
- package/dist/calcite/p-55fa7908.entry.js +0 -5
- package/dist/calcite/p-5a4b0056.system.entry.js +0 -5
- package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
- package/dist/calcite/p-5c425028.entry.js +0 -5
- package/dist/calcite/p-5ea8668d.entry.js +0 -5
- package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
- package/dist/calcite/p-633a2c7f.entry.js +0 -5
- package/dist/calcite/p-673a3cd9.entry.js +0 -5
- package/dist/calcite/p-6a3357f9.system.js +0 -5
- package/dist/calcite/p-71d1bfb2.entry.js +0 -5
- package/dist/calcite/p-743597e4.entry.js +0 -5
- package/dist/calcite/p-75d8fd87.system.entry.js +0 -5
- package/dist/calcite/p-783bfba1.entry.js +0 -5
- package/dist/calcite/p-7863deb5.entry.js +0 -5
- package/dist/calcite/p-793659d0.entry.js +0 -5
- package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
- package/dist/calcite/p-7ccf6273.entry.js +0 -5
- package/dist/calcite/p-7d9f20b8.entry.js +0 -5
- package/dist/calcite/p-7dfe915f.entry.js +0 -5
- package/dist/calcite/p-80ab216e.entry.js +0 -5
- package/dist/calcite/p-818b3ac7.entry.js +0 -5
- package/dist/calcite/p-81a3de30.system.entry.js +0 -5
- package/dist/calcite/p-81f7b919.entry.js +0 -5
- package/dist/calcite/p-82c142d8.entry.js +0 -5
- package/dist/calcite/p-84f8db8e.entry.js +0 -5
- package/dist/calcite/p-874ac36f.entry.js +0 -5
- package/dist/calcite/p-8f93be14.system.js +0 -5
- package/dist/calcite/p-93bf2f70.entry.js +0 -5
- package/dist/calcite/p-99da584e.system.entry.js +0 -5
- package/dist/calcite/p-9a7c4812.js +0 -5
- package/dist/calcite/p-9c86f528.entry.js +0 -5
- package/dist/calcite/p-9cfa3928.entry.js +0 -5
- package/dist/calcite/p-9d102b23.system.entry.js +0 -5
- package/dist/calcite/p-9f2e3d1e.entry.js +0 -5
- package/dist/calcite/p-a5397c9d.entry.js +0 -5
- package/dist/calcite/p-a5e8d728.entry.js +0 -5
- package/dist/calcite/p-b03b03d5.entry.js +0 -5
- package/dist/calcite/p-b55643f5.entry.js +0 -5
- package/dist/calcite/p-b58cdaca.entry.js +0 -5
- package/dist/calcite/p-b76ee102.system.entry.js +0 -5
- package/dist/calcite/p-b85064fc.entry.js +0 -5
- package/dist/calcite/p-bac18793.system.entry.js +0 -5
- package/dist/calcite/p-bfaed65e.entry.js +0 -5
- package/dist/calcite/p-c6851d0b.system.entry.js +0 -5
- package/dist/calcite/p-cc894f09.entry.js +0 -5
- package/dist/calcite/p-d08d1450.entry.js +0 -5
- package/dist/calcite/p-d359def7.system.entry.js +0 -5
- package/dist/calcite/p-d44165c7.entry.js +0 -5
- package/dist/calcite/p-d4ba6e66.entry.js +0 -5
- package/dist/calcite/p-d648a677.entry.js +0 -5
- package/dist/calcite/p-d7395b71.system.entry.js +0 -5
- package/dist/calcite/p-da78fbb6.system.entry.js +0 -5
- package/dist/calcite/p-daf1d0cf.system.js +0 -5
- package/dist/calcite/p-dc9ff95e.system.entry.js +0 -5
- package/dist/calcite/p-dcf17450.system.entry.js +0 -5
- package/dist/calcite/p-e2047621.system.js +0 -5
- package/dist/calcite/p-e23de208.entry.js +0 -5
- package/dist/calcite/p-e5c3f4f6.system.entry.js +0 -5
- package/dist/calcite/p-e7dd0a9f.entry.js +0 -5
- package/dist/calcite/p-e88fd904.system.entry.js +0 -5
- package/dist/calcite/p-eeb91710.js +0 -5
- package/dist/calcite/p-efb21590.system.entry.js +0 -5
- package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
- package/dist/calcite/p-f31de031.system.entry.js +0 -5
- package/dist/calcite/p-f542ba26.entry.js +0 -5
- package/dist/calcite/p-f681fbba.entry.js +0 -5
- package/dist/calcite/p-f6d994ff.entry.js +0 -5
- package/dist/calcite/p-f9d1a58e.entry.js +0 -5
- package/dist/calcite/p-fd0d5d44.system.entry.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-966bb21a.js +0 -5
- package/dist/types/components/accordion/accordion.d.ts +0 -42
- package/dist/types/components/accordion-item/accordion-item.d.ts +0 -54
- package/dist/types/components/action/action.d.ts +0 -73
- package/dist/types/components/action-bar/action-bar.d.ts +0 -69
- package/dist/types/components/action-group/action-group.d.ts +0 -42
- package/dist/types/components/action-menu/action-menu.d.ts +0 -83
- package/dist/types/components/action-pad/action-pad.d.ts +0 -55
- package/dist/types/components/alert/alert.d.ts +0 -83
- package/dist/types/components/avatar/avatar.d.ts +0 -26
- package/dist/types/components/block/block.d.ts +0 -77
- package/dist/types/components/block-section/block-section.d.ts +0 -44
- package/dist/types/components/button/button.d.ts +0 -78
- package/dist/types/components/card/card.d.ts +0 -46
- package/dist/types/components/checkbox/checkbox.d.ts +0 -73
- package/dist/types/components/chip/chip.d.ts +0 -40
- package/dist/types/components/color-picker/color-picker.d.ts +0 -224
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +0 -51
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +0 -23
- package/dist/types/components/combobox/combobox.d.ts +0 -180
- package/dist/types/components/combobox/interfaces.d.ts +0 -6
- package/dist/types/components/combobox/utils.d.ts +0 -6
- package/dist/types/components/combobox-item/combobox-item.d.ts +0 -46
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +0 -17
- package/dist/types/components/date-picker/date-picker.d.ts +0 -132
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -45
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +0 -97
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +0 -57
- package/dist/types/components/dropdown/dropdown.d.ts +0 -99
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +0 -32
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -52
- package/dist/types/components/fab/fab.d.ts +0 -47
- package/dist/types/components/filter/filter.d.ts +0 -56
- package/dist/types/components/flow/flow.d.ts +0 -22
- package/dist/types/components/functional/ExpandToggle.d.ts +0 -19
- package/dist/types/components/graph/graph.d.ts +0 -28
- package/dist/types/components/handle/handle.d.ts +0 -22
- package/dist/types/components/icon/icon.d.ts +0 -32
- package/dist/types/components/inline-editable/inline-editable.d.ts +0 -71
- package/dist/types/components/input/input.d.ts +0 -169
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -179
- package/dist/types/components/input-message/input-message.d.ts +0 -27
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +0 -90
- package/dist/types/components/label/label.d.ts +0 -33
- package/dist/types/components/link/link.d.ts +0 -34
- package/dist/types/components/list/list.d.ts +0 -16
- package/dist/types/components/list-item/list-item.d.ts +0 -40
- package/dist/types/components/list-item-group/list-item-group.d.ts +0 -18
- package/dist/types/components/loader/loader.d.ts +0 -27
- package/dist/types/components/modal/modal.d.ts +0 -89
- package/dist/types/components/notice/notice.d.ts +0 -51
- package/dist/types/components/pagination/pagination.d.ts +0 -51
- package/dist/types/components/panel/panel.d.ts +0 -130
- package/dist/types/components/pick-list/pick-list.d.ts +0 -75
- package/dist/types/components/pick-list/shared-list-logic.d.ts +0 -31
- package/dist/types/components/pick-list/shared-list-render.d.ts +0 -18
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +0 -21
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +0 -106
- package/dist/types/components/popover/popover.d.ts +0 -107
- package/dist/types/components/popover-manager/popover-manager.d.ts +0 -19
- package/dist/types/components/progress/progress.d.ts +0 -15
- package/dist/types/components/radio-button/radio-button.d.ts +0 -92
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +0 -34
- package/dist/types/components/radio-group/radio-group.d.ts +0 -56
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +0 -24
- package/dist/types/components/rating/rating.d.ts +0 -60
- package/dist/types/components/scrim/scrim.d.ts +0 -17
- package/dist/types/components/select/select.d.ts +0 -75
- package/dist/types/components/shell/shell.d.ts +0 -24
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +0 -25
- package/dist/types/components/shell-panel/shell-panel.d.ts +0 -69
- package/dist/types/components/slider/slider.d.ts +0 -193
- package/dist/types/components/sortable-list/sortable-list.d.ts +0 -50
- package/dist/types/components/split-button/split-button.d.ts +0 -52
- package/dist/types/components/stepper/stepper.d.ts +0 -58
- package/dist/types/components/stepper-item/stepper-item.d.ts +0 -65
- package/dist/types/components/switch/switch.d.ts +0 -46
- package/dist/types/components/tab/tab.d.ts +0 -42
- package/dist/types/components/tab-nav/tab-nav.d.ts +0 -74
- package/dist/types/components/tab-title/tab-title.d.ts +0 -92
- package/dist/types/components/tabs/tabs.d.ts +0 -65
- package/dist/types/components/tile/tile.d.ts +0 -36
- package/dist/types/components/tile-select/tile-select.d.ts +0 -57
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +0 -10
- package/dist/types/components/time-picker/time-picker.d.ts +0 -137
- package/dist/types/components/tip/tip.d.ts +0 -47
- package/dist/types/components/tip-manager/tip-manager.d.ts +0 -65
- package/dist/types/components/tooltip/tooltip.d.ts +0 -60
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +0 -41
- package/dist/types/components/tree/interfaces.d.ts +0 -10
- package/dist/types/components/tree/tree.d.ts +0 -38
- package/dist/types/components/tree-item/tree-item.d.ts +0 -60
- package/dist/types/components/value-list/value-list.d.ts +0 -89
- package/dist/types/components/value-list-item/value-list-item.d.ts +0 -79
- package/dist/types/utils/label.d.ts +0 -39
|
@@ -2,7 +2,8 @@
|
|
|
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, h, Prop } from "@stencil/core";
|
|
5
|
+
import { Component, h, Prop, Element } from "@stencil/core";
|
|
6
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
6
7
|
/**
|
|
7
8
|
* @slot - A slot for adding `calcite-tile-select`s.
|
|
8
9
|
*/
|
|
@@ -13,9 +14,19 @@ export class TileSelectGroup {
|
|
|
13
14
|
// Properties
|
|
14
15
|
//
|
|
15
16
|
//--------------------------------------------------------------------------
|
|
17
|
+
/** The disabled state of the tile select. */
|
|
18
|
+
this.disabled = false;
|
|
16
19
|
/** Tiles by default move horizontally, stacking with each row, vertical allows single-column layouts */
|
|
17
20
|
this.layout = "horizontal";
|
|
18
21
|
}
|
|
22
|
+
//--------------------------------------------------------------------------
|
|
23
|
+
//
|
|
24
|
+
// Lifecycle
|
|
25
|
+
//
|
|
26
|
+
//--------------------------------------------------------------------------
|
|
27
|
+
componentDidRender() {
|
|
28
|
+
updateHostInteraction(this);
|
|
29
|
+
}
|
|
19
30
|
render() {
|
|
20
31
|
return h("slot", null);
|
|
21
32
|
}
|
|
@@ -28,6 +39,24 @@ export class TileSelectGroup {
|
|
|
28
39
|
"$": ["tile-select-group.css"]
|
|
29
40
|
}; }
|
|
30
41
|
static get properties() { return {
|
|
42
|
+
"disabled": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "boolean",
|
|
47
|
+
"resolved": "boolean",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": false,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": "The disabled state of the tile select."
|
|
55
|
+
},
|
|
56
|
+
"attribute": "disabled",
|
|
57
|
+
"reflect": true,
|
|
58
|
+
"defaultValue": "false"
|
|
59
|
+
},
|
|
31
60
|
"layout": {
|
|
32
61
|
"type": "string",
|
|
33
62
|
"mutable": false,
|
|
@@ -52,4 +81,5 @@ export class TileSelectGroup {
|
|
|
52
81
|
"defaultValue": "\"horizontal\""
|
|
53
82
|
}
|
|
54
83
|
}; }
|
|
84
|
+
static get elementRef() { return "el"; }
|
|
55
85
|
}
|
|
@@ -147,7 +147,11 @@ export class Tooltip {
|
|
|
147
147
|
offset: [offsetSkidding, offsetDistance]
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
|
|
150
|
+
const eventListenerModifier = {
|
|
151
|
+
name: "eventListeners",
|
|
152
|
+
enabled: this.open
|
|
153
|
+
};
|
|
154
|
+
return [arrowModifier, offsetModifier, eventListenerModifier];
|
|
151
155
|
}
|
|
152
156
|
createPopper() {
|
|
153
157
|
this.destroyPopper();
|
|
@@ -145,6 +145,61 @@ export class Tree {
|
|
|
145
145
|
selected: nodeListToArray(this.el.querySelectorAll("calcite-tree-item")).filter((i) => i.selected)
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
+
keyDownHandler(event) {
|
|
149
|
+
var _a;
|
|
150
|
+
const root = this.el.closest("calcite-tree:not([child])");
|
|
151
|
+
const target = event.target;
|
|
152
|
+
if (root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target)) {
|
|
153
|
+
switch (event.key) {
|
|
154
|
+
case "ArrowDown":
|
|
155
|
+
const next = target.nextElementSibling;
|
|
156
|
+
if (next && next.matches("calcite-tree-item")) {
|
|
157
|
+
next.focus();
|
|
158
|
+
event.preventDefault();
|
|
159
|
+
}
|
|
160
|
+
break;
|
|
161
|
+
case "ArrowLeft":
|
|
162
|
+
// When focus is on an open node, closes the node.
|
|
163
|
+
if (target.hasChildren && target.expanded) {
|
|
164
|
+
target.expanded = false;
|
|
165
|
+
event.preventDefault();
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
// When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
|
|
169
|
+
const parentItem = target.parentElement.closest("calcite-tree-item");
|
|
170
|
+
if (parentItem && (!target.hasChildren || target.expanded === false)) {
|
|
171
|
+
parentItem.focus();
|
|
172
|
+
event.preventDefault();
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
// When focus is on a root node that is also either an end node or a closed node, does nothing.
|
|
176
|
+
break;
|
|
177
|
+
case "ArrowRight":
|
|
178
|
+
if (!target.hasChildren) {
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
if (target.expanded && document.activeElement === target) {
|
|
182
|
+
// When focus is on an open node, moves focus to the first child node.
|
|
183
|
+
(_a = target.querySelector("calcite-tree-item")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
184
|
+
event.preventDefault();
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
// When focus is on a closed node, opens the node; focus does not move.
|
|
188
|
+
target.expanded = true;
|
|
189
|
+
event.preventDefault();
|
|
190
|
+
}
|
|
191
|
+
// When focus is on an end node, does nothing.
|
|
192
|
+
break;
|
|
193
|
+
case "ArrowUp":
|
|
194
|
+
const previous = target.previousElementSibling;
|
|
195
|
+
if (previous && previous.matches("calcite-tree-item")) {
|
|
196
|
+
previous.focus();
|
|
197
|
+
event.preventDefault();
|
|
198
|
+
}
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
148
203
|
updateAncestorTree(e) {
|
|
149
204
|
const item = e.target;
|
|
150
205
|
const children = item.querySelectorAll("calcite-tree-item");
|
|
@@ -358,5 +413,11 @@ export class Tree {
|
|
|
358
413
|
"target": undefined,
|
|
359
414
|
"capture": false,
|
|
360
415
|
"passive": false
|
|
416
|
+
}, {
|
|
417
|
+
"name": "keydown",
|
|
418
|
+
"method": "keyDownHandler",
|
|
419
|
+
"target": undefined,
|
|
420
|
+
"capture": false,
|
|
421
|
+
"passive": false
|
|
361
422
|
}]; }
|
|
362
423
|
}
|
|
@@ -32,12 +32,6 @@ export class TreeItem {
|
|
|
32
32
|
this.iconClickHandler = (event) => {
|
|
33
33
|
event.stopPropagation();
|
|
34
34
|
this.expanded = !this.expanded;
|
|
35
|
-
if (this.selectionMode !== TreeSelectionMode.Ancestors) {
|
|
36
|
-
this.calciteTreeItemSelect.emit({
|
|
37
|
-
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
38
|
-
forceToggle: true
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
35
|
};
|
|
42
36
|
this.childrenClickHandler = (event) => event.stopPropagation();
|
|
43
37
|
//--------------------------------------------------------------------------
|
|
@@ -172,7 +166,6 @@ export class TreeItem {
|
|
|
172
166
|
});
|
|
173
167
|
}
|
|
174
168
|
keyDownHandler(e) {
|
|
175
|
-
var _a;
|
|
176
169
|
let root;
|
|
177
170
|
switch (e.key) {
|
|
178
171
|
case " ":
|
|
@@ -181,7 +174,6 @@ export class TreeItem {
|
|
|
181
174
|
forceToggle: false
|
|
182
175
|
});
|
|
183
176
|
e.preventDefault();
|
|
184
|
-
e.stopPropagation();
|
|
185
177
|
break;
|
|
186
178
|
case "Enter":
|
|
187
179
|
// activates a node, i.e., performs its default action. For parent nodes, one possible default action is to open or close the node. In single-select trees where selection does not follow focus (see note below), the default action is typically to select the focused node.
|
|
@@ -197,53 +189,6 @@ export class TreeItem {
|
|
|
197
189
|
});
|
|
198
190
|
}
|
|
199
191
|
e.preventDefault();
|
|
200
|
-
e.stopPropagation();
|
|
201
|
-
break;
|
|
202
|
-
case "ArrowLeft":
|
|
203
|
-
// When focus is on an open node, closes the node.
|
|
204
|
-
if (this.hasChildren && this.expanded) {
|
|
205
|
-
this.expanded = false;
|
|
206
|
-
e.preventDefault();
|
|
207
|
-
e.stopPropagation();
|
|
208
|
-
break;
|
|
209
|
-
}
|
|
210
|
-
// When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
|
|
211
|
-
const parentItem = this.parentTreeItem;
|
|
212
|
-
if (parentItem && (!this.hasChildren || this.expanded === false)) {
|
|
213
|
-
parentItem.focus();
|
|
214
|
-
e.preventDefault();
|
|
215
|
-
e.stopPropagation();
|
|
216
|
-
break;
|
|
217
|
-
}
|
|
218
|
-
// When focus is on a root node that is also either an end node or a closed node, does nothing.
|
|
219
|
-
break;
|
|
220
|
-
case "ArrowRight":
|
|
221
|
-
// When focus is on a closed node, opens the node; focus does not move.
|
|
222
|
-
if (this.hasChildren && this.expanded === false) {
|
|
223
|
-
this.expanded = true;
|
|
224
|
-
e.preventDefault();
|
|
225
|
-
e.stopPropagation();
|
|
226
|
-
break;
|
|
227
|
-
}
|
|
228
|
-
// When focus is on a open node, moves focus to the first child node.
|
|
229
|
-
if (this.hasChildren && this.expanded) {
|
|
230
|
-
(_a = this.el.querySelector("calcite-tree-item")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
231
|
-
e.stopPropagation();
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
// When focus is on an end node, does nothing.
|
|
235
|
-
break;
|
|
236
|
-
case "ArrowUp":
|
|
237
|
-
const previous = this.el.previousElementSibling;
|
|
238
|
-
if (previous && previous.matches("calcite-tree-item")) {
|
|
239
|
-
previous.focus();
|
|
240
|
-
}
|
|
241
|
-
break;
|
|
242
|
-
case "ArrowDown":
|
|
243
|
-
const next = this.el.nextElementSibling;
|
|
244
|
-
if (next && next.matches("calcite-tree-item")) {
|
|
245
|
-
next.focus();
|
|
246
|
-
}
|
|
247
192
|
break;
|
|
248
193
|
case "Home":
|
|
249
194
|
root = this.el.closest("calcite-tree:not([child])");
|
|
@@ -94,6 +94,19 @@
|
|
|
94
94
|
box-sizing: border-box;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
:host([disabled]) {
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
cursor: default;
|
|
100
|
+
-webkit-user-select: none;
|
|
101
|
+
user-select: none;
|
|
102
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
103
|
+
}
|
|
104
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
105
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
106
|
+
/* prevent opacity stacking */
|
|
107
|
+
opacity: 1;
|
|
108
|
+
}
|
|
109
|
+
|
|
97
110
|
calcite-value-list-item:last-of-type {
|
|
98
111
|
--tw-shadow: 0 0 #0000;
|
|
99
112
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
import Sortable from "sortablejs";
|
|
6
6
|
import { Component, Element, Event, h, Listen, Method, Prop, State } from "@stencil/core";
|
|
7
7
|
import { CSS, ICON_TYPES } from "./resources";
|
|
8
|
-
import { calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, initialize, initializeObserver, keyDownHandler, mutationObserverCallback, removeItem, selectSiblings, setFocus, setUpItems } from "../pick-list/shared-list-logic";
|
|
8
|
+
import { calciteListFocusOutHandler, calciteListItemChangeHandler, calciteListItemValueChangeHandler, cleanUpObserver, deselectSiblingItems, deselectRemovedItems, getItemData, handleFilter, initialize, initializeObserver, keyDownHandler, mutationObserverCallback, removeItem, selectSiblings, setFocus, setUpItems, moveItemIndex } from "../pick-list/shared-list-logic";
|
|
9
9
|
import List from "../pick-list/shared-list-render";
|
|
10
|
-
import { getRoundRobinIndex } from "../../utils/array";
|
|
11
10
|
import { createObserver } from "../../utils/observers";
|
|
11
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
12
12
|
/**
|
|
13
13
|
* @slot - A slot for adding `calcite-value-list-item` elements. Items are displayed as a vertical list.
|
|
14
14
|
* @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
|
|
@@ -82,9 +82,7 @@ export class ValueList {
|
|
|
82
82
|
}
|
|
83
83
|
event.preventDefault();
|
|
84
84
|
const { el } = this;
|
|
85
|
-
const
|
|
86
|
-
const currentIndex = items.indexOf(item);
|
|
87
|
-
const nextIndex = getRoundRobinIndex(currentIndex + moveOffset, items.length);
|
|
85
|
+
const nextIndex = moveItemIndex(this, item, event.key === "ArrowUp" ? "up" : "down");
|
|
88
86
|
if (nextIndex === items.length - 1) {
|
|
89
87
|
el.appendChild(item);
|
|
90
88
|
}
|
|
@@ -113,10 +111,16 @@ export class ValueList {
|
|
|
113
111
|
componentDidLoad() {
|
|
114
112
|
this.setUpDragAndDrop();
|
|
115
113
|
}
|
|
114
|
+
componentDidRender() {
|
|
115
|
+
updateHostInteraction(this);
|
|
116
|
+
}
|
|
116
117
|
disconnectedCallback() {
|
|
117
118
|
cleanUpObserver.call(this);
|
|
118
119
|
this.cleanUpDragAndDrop();
|
|
119
120
|
}
|
|
121
|
+
calciteListFocusOutHandler(event) {
|
|
122
|
+
calciteListFocusOutHandler.call(this, event);
|
|
123
|
+
}
|
|
120
124
|
calciteListItemRemoveHandler(event) {
|
|
121
125
|
removeItem.call(this, event);
|
|
122
126
|
}
|
|
@@ -439,6 +443,12 @@ export class ValueList {
|
|
|
439
443
|
}; }
|
|
440
444
|
static get elementRef() { return "el"; }
|
|
441
445
|
static get listeners() { return [{
|
|
446
|
+
"name": "focusout",
|
|
447
|
+
"method": "calciteListFocusOutHandler",
|
|
448
|
+
"target": undefined,
|
|
449
|
+
"capture": false,
|
|
450
|
+
"passive": false
|
|
451
|
+
}, {
|
|
442
452
|
"name": "calciteListItemRemove",
|
|
443
453
|
"method": "calciteListItemRemoveHandler",
|
|
444
454
|
"target": undefined,
|
|
@@ -140,4 +140,17 @@ calcite-pick-list-item {
|
|
|
140
140
|
}
|
|
141
141
|
.handle calcite-icon {
|
|
142
142
|
color: inherit;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:host([disabled]) {
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
cursor: default;
|
|
148
|
+
-webkit-user-select: none;
|
|
149
|
+
user-select: none;
|
|
150
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
151
|
+
}
|
|
152
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
|
153
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
|
154
|
+
/* prevent opacity stacking */
|
|
155
|
+
opacity: 1;
|
|
143
156
|
}
|
|
@@ -10,6 +10,7 @@ import { ICONS, SLOTS } from "./resources";
|
|
|
10
10
|
import { SLOTS as PICK_LIST_SLOTS } from "../pick-list-item/resources";
|
|
11
11
|
import { getSlotted } from "../../utils/dom";
|
|
12
12
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
13
|
+
import { updateHostInteraction } from "../../utils/interactive";
|
|
13
14
|
/**
|
|
14
15
|
* @slot actions-end - A slot for adding actions or content to the end side of the item.
|
|
15
16
|
* @slot actions-start - A slot for adding actions or content to the start side of the item.
|
|
@@ -76,6 +77,9 @@ export class ValueListItem {
|
|
|
76
77
|
disconnectedCallback() {
|
|
77
78
|
disconnectConditionalSlotComponent(this);
|
|
78
79
|
}
|
|
80
|
+
componentDidRender() {
|
|
81
|
+
updateHostInteraction(this, this.el.closest("calcite-value-list") ? "managed" : false);
|
|
82
|
+
}
|
|
79
83
|
// --------------------------------------------------------------------------
|
|
80
84
|
//
|
|
81
85
|
// Public Methods
|
|
@@ -164,7 +168,7 @@ export class ValueListItem {
|
|
|
164
168
|
"references": {}
|
|
165
169
|
},
|
|
166
170
|
"required": false,
|
|
167
|
-
"optional":
|
|
171
|
+
"optional": false,
|
|
168
172
|
"docs": {
|
|
169
173
|
"tags": [],
|
|
170
174
|
"text": "When true, the item cannot be clicked and is visually muted"
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
*/
|
|
5
|
+
function noopClick() {
|
|
6
|
+
/** noop **/
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* This helper updates the host element to prevent keyboard interaction on its subtree and sets the appropriate aria attribute for accessibility.
|
|
10
|
+
*
|
|
11
|
+
* This should be used in the `componentDidRender` lifecycle hook.
|
|
12
|
+
*
|
|
13
|
+
* **Notes**
|
|
14
|
+
*
|
|
15
|
+
* * this util is not needed for simple components whose root element or elements are an interactive component (custom element or native control). For those cases, set the `disabled` props on the root components instead.
|
|
16
|
+
* * technically, users can override `tabindex` and restore keyboard navigation, but this will be considered user error
|
|
17
|
+
*/
|
|
18
|
+
export function updateHostInteraction(component, hostIsTabbable = false) {
|
|
19
|
+
if (component.disabled) {
|
|
20
|
+
component.el.setAttribute("tabindex", "-1");
|
|
21
|
+
component.el.setAttribute("aria-disabled", "true");
|
|
22
|
+
if (component.el.contains(document.activeElement)) {
|
|
23
|
+
document.activeElement.blur();
|
|
24
|
+
}
|
|
25
|
+
component.el.click = noopClick;
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
component.el.click = HTMLElement.prototype.click;
|
|
29
|
+
if (typeof hostIsTabbable === "function") {
|
|
30
|
+
component.el.setAttribute("tabindex", hostIsTabbable.call(component) ? "0" : "-1");
|
|
31
|
+
}
|
|
32
|
+
else if (hostIsTabbable === true) {
|
|
33
|
+
component.el.setAttribute("tabindex", "0");
|
|
34
|
+
}
|
|
35
|
+
else if (hostIsTabbable === false) {
|
|
36
|
+
component.el.removeAttribute("tabindex");
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
// noop for "managed" as owning component will manage its tab index
|
|
40
|
+
}
|
|
41
|
+
component.el.removeAttribute("aria-disabled");
|
|
42
|
+
}
|
|
@@ -8,8 +8,11 @@ import { closestElementCrossShadowBoundary, queryElementRoots } from "./dom";
|
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
10
|
export const labelClickEvent = "calciteInternalLabelClick";
|
|
11
|
+
export const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
12
|
+
export const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
11
13
|
const labelTagName = "calcite-label";
|
|
12
14
|
const onLabelClickMap = new WeakMap();
|
|
15
|
+
const unlabeledComponents = new Set();
|
|
13
16
|
const findLabelForComponent = (componentEl) => {
|
|
14
17
|
const { id } = componentEl;
|
|
15
18
|
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
@@ -45,18 +48,37 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
45
48
|
*/
|
|
46
49
|
export function connectLabel(component) {
|
|
47
50
|
const labelEl = findLabelForComponent(component.el);
|
|
48
|
-
if (
|
|
51
|
+
if (onLabelClickMap.has(labelEl)) {
|
|
49
52
|
return;
|
|
50
53
|
}
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
const boundOnLabelConnected = onLabelConnected.bind(component);
|
|
55
|
+
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
56
|
+
if (labelEl) {
|
|
57
|
+
const addClickEventListenerToComponentLabel = () => {
|
|
58
|
+
component.labelEl = labelEl;
|
|
59
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
60
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
61
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
62
|
+
};
|
|
63
|
+
addClickEventListenerToComponentLabel();
|
|
64
|
+
unlabeledComponents.delete(component);
|
|
65
|
+
document.removeEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
66
|
+
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
67
|
+
}
|
|
68
|
+
else if (!labelEl && !unlabeledComponents.has(component)) {
|
|
69
|
+
boundOnLabelDisconnected();
|
|
70
|
+
document.removeEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
71
|
+
}
|
|
55
72
|
}
|
|
56
73
|
/**
|
|
57
|
-
* Helper to tear down label interactions on disconnectedCallback.
|
|
74
|
+
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
58
75
|
*/
|
|
59
76
|
export function disconnectLabel(component) {
|
|
77
|
+
const boundOnLabelConnected = onLabelConnected.bind(component);
|
|
78
|
+
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
79
|
+
unlabeledComponents.delete(component);
|
|
80
|
+
document.removeEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
81
|
+
document.removeEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
60
82
|
if (!component.labelEl) {
|
|
61
83
|
return;
|
|
62
84
|
}
|
|
@@ -81,3 +103,13 @@ function onLabelClick(event) {
|
|
|
81
103
|
}
|
|
82
104
|
this.onLabelClick(event);
|
|
83
105
|
}
|
|
106
|
+
function onLabelConnected() {
|
|
107
|
+
if (unlabeledComponents.has(this)) {
|
|
108
|
+
connectLabel(this);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function onLabelDisconnected() {
|
|
112
|
+
unlabeledComponents.add(this);
|
|
113
|
+
const boundOnLabelConnected = onLabelConnected.bind(this);
|
|
114
|
+
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
115
|
+
}
|
|
@@ -4,6 +4,72 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { createPopper as setupPopper } from "@popperjs/core";
|
|
6
6
|
import { getElementDir } from "./dom";
|
|
7
|
+
export const popperPlacements = [
|
|
8
|
+
"auto",
|
|
9
|
+
"auto-start",
|
|
10
|
+
"auto-end",
|
|
11
|
+
"top-start",
|
|
12
|
+
"top-end",
|
|
13
|
+
"bottom-start",
|
|
14
|
+
"bottom-end",
|
|
15
|
+
"right-start",
|
|
16
|
+
"right-end",
|
|
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 popperFlipPlacements = [
|
|
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 popperMenuFlipPlacements = [
|
|
66
|
+
"top-start",
|
|
67
|
+
"top",
|
|
68
|
+
"top-end",
|
|
69
|
+
"bottom-start",
|
|
70
|
+
"bottom",
|
|
71
|
+
"bottom-end"
|
|
72
|
+
];
|
|
7
73
|
export const CSS = {
|
|
8
74
|
animation: "calcite-popper-anim",
|
|
9
75
|
animationActive: "calcite-popper-anim--active"
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { HTMLElement, h, Fragment
|
|
5
|
+
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
6
6
|
import { b as getSlotted } from './dom.js';
|
|
7
7
|
import { S as SLOTS$1, d as defineCustomElement$5 } from './action-menu.js';
|
|
8
8
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
@@ -25,7 +25,7 @@ const ICONS = {
|
|
|
25
25
|
|
|
26
26
|
const actionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
const ActionGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
29
|
constructor() {
|
|
30
30
|
super();
|
|
31
31
|
this.__registerHost();
|
|
@@ -93,8 +93,7 @@ let ActionGroup = class extends HTMLElement {
|
|
|
93
93
|
"expanded": ["expandedHandler"]
|
|
94
94
|
}; }
|
|
95
95
|
static get style() { return actionGroupCss; }
|
|
96
|
-
}
|
|
97
|
-
ActionGroup = /*@__PURE__*/ proxyCustomElement(ActionGroup, [1, "calcite-action-group", {
|
|
96
|
+
}, [1, "calcite-action-group", {
|
|
98
97
|
"expanded": [516],
|
|
99
98
|
"layout": [513],
|
|
100
99
|
"columns": [514],
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { HTMLElement, createEvent, h, Fragment
|
|
5
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
6
6
|
import { b as getSlotted, f as focusElement } from './dom.js';
|
|
7
7
|
import { g as getRoundRobinIndex } from './array.js';
|
|
8
8
|
import { g as guid } from './guid.js';
|
|
@@ -30,7 +30,7 @@ const actionMenuCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyfr
|
|
|
30
30
|
|
|
31
31
|
const SUPPORTED_BUTTON_NAV_KEYS = ["ArrowUp", "ArrowDown"];
|
|
32
32
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
33
|
-
|
|
33
|
+
const ActionMenu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
34
34
|
constructor() {
|
|
35
35
|
super();
|
|
36
36
|
this.__registerHost();
|
|
@@ -302,8 +302,7 @@ let ActionMenu = class extends HTMLElement {
|
|
|
302
302
|
"activeMenuItemIndex": ["activeMenuItemIndexHandler"]
|
|
303
303
|
}; }
|
|
304
304
|
static get style() { return actionMenuCss; }
|
|
305
|
-
}
|
|
306
|
-
ActionMenu = /*@__PURE__*/ proxyCustomElement(ActionMenu, [1, "calcite-action-menu", {
|
|
305
|
+
}, [1, "calcite-action-menu", {
|
|
307
306
|
"expanded": [516],
|
|
308
307
|
"flipPlacements": [16],
|
|
309
308
|
"label": [1],
|