@esri/calcite-components 1.0.0-beta.79 → 1.0.0-beta.82
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/compactness16.json +1 -0
- package/dist/calcite/assets/icon/compactness24.json +1 -0
- package/dist/calcite/assets/icon/compactness32.json +1 -0
- package/dist/calcite/assets/icon/configure16.json +1 -0
- package/dist/calcite/assets/icon/configure24.json +1 -0
- package/dist/calcite/assets/icon/configure32.json +1 -0
- package/dist/calcite/assets/icon/debugScript16.json +1 -0
- package/dist/calcite/assets/icon/debugScript24.json +1 -0
- package/dist/calcite/assets/icon/debugScript32.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures16.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures32.json +1 -0
- package/dist/calcite/assets/icon/distanceType16.json +1 -0
- package/dist/calcite/assets/icon/distanceType24.json +1 -0
- package/dist/calcite/assets/icon/distanceType32.json +1 -0
- package/dist/calcite/assets/icon/fileEcd16.json +1 -0
- package/dist/calcite/assets/icon/fileEcd24.json +1 -0
- package/dist/calcite/assets/icon/fileEcd32.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond16.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond24.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond32.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon16.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon24.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon32.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle16.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle24.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle32.json +1 -0
- package/dist/calcite/assets/icon/insets16.json +1 -0
- package/dist/calcite/assets/icon/insets24.json +1 -0
- package/dist/calcite/assets/icon/insets32.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance16.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance24.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance32.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters16.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters24.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters32.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories16.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories24.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories32.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures16.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures24.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures32.json +1 -0
- package/dist/calcite/assets/icon/profileVariables16.json +1 -0
- package/dist/calcite/assets/icon/profileVariables24.json +1 -0
- package/dist/calcite/assets/icon/profileVariables32.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis16.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -0
- package/dist/calcite/assets/icon/recurrence16.json +1 -0
- package/dist/calcite/assets/icon/recurrence24.json +1 -0
- package/dist/calcite/assets/icon/recurrence32.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures16.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures24.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures32.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance16.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance24.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance32.json +1 -0
- package/dist/calcite/assets/icon/testData16.json +1 -0
- package/dist/calcite/assets/icon/testData24.json +1 -0
- package/dist/calcite/assets/icon/testData32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -0
- package/dist/calcite/p-01386e9f.entry.js +6 -0
- package/dist/calcite/p-01dc5605.entry.js +6 -0
- package/dist/calcite/p-0349dbb1.system.js +6 -0
- package/dist/calcite/{p-cbc6fee6.entry.js → p-03f1df01.entry.js} +2 -1
- package/dist/calcite/p-06320e6a.entry.js +6 -0
- package/dist/calcite/p-06d14664.system.entry.js +6 -0
- package/dist/calcite/p-0985e4df.system.entry.js +6 -0
- package/dist/calcite/p-09c7a130.system.entry.js +6 -0
- package/dist/calcite/p-0c41044b.entry.js +6 -0
- package/dist/calcite/{p-079a3322.js → p-0dbcb343.js} +1 -0
- package/dist/calcite/{p-2d09cc25.js → p-1094dab2.js} +1 -0
- package/dist/calcite/{p-569150ab.system.entry.js → p-11d0e13f.system.entry.js} +2 -1
- package/dist/calcite/p-164bea30.system.js +6 -0
- package/dist/calcite/{p-63624a01.js → p-18bcf729.js} +1 -0
- package/dist/calcite/{p-97904e9a.entry.js → p-1af2a45c.entry.js} +2 -1
- package/dist/calcite/p-20f86b1d.entry.js +6 -0
- package/dist/calcite/p-21dbd253.system.js +6 -0
- package/dist/calcite/{p-b2493735.entry.js → p-23a643c6.entry.js} +2 -1
- package/dist/calcite/{p-496e907a.system.entry.js → p-23ab0d5a.system.entry.js} +2 -1
- package/dist/calcite/{p-78bc502f.entry.js → p-2681265e.entry.js} +2 -1
- package/dist/calcite/p-27de1d41.entry.js +6 -0
- package/dist/calcite/{p-1aded388.system.entry.js → p-28dc602c.system.entry.js} +2 -1
- package/dist/calcite/p-2e9f9de6.system.entry.js +6 -0
- package/dist/calcite/{p-6ed27595.system.entry.js → p-2f977a66.system.entry.js} +2 -1
- package/dist/calcite/{p-7b8707b2.system.js → p-30dfc127.system.js} +1 -0
- package/dist/calcite/p-33694839.js +12 -0
- package/dist/calcite/{p-31c58f25.entry.js → p-33d317d6.entry.js} +2 -1
- package/dist/calcite/p-358263ac.system.js +6 -0
- package/dist/calcite/{p-7ed4c551.system.js → p-3819513d.system.js} +1 -0
- package/dist/calcite/p-3b01dd13.system.entry.js +6 -0
- package/dist/calcite/{p-cafd98e8.entry.js → p-3c3ec245.entry.js} +2 -1
- package/dist/calcite/p-3c78a381.entry.js +6 -0
- package/dist/calcite/p-3de000e5.system.js +6 -0
- package/dist/calcite/p-3e21c354.entry.js +6 -0
- package/dist/calcite/{p-3b4662a5.entry.js → p-3e92df28.entry.js} +2 -1
- package/dist/calcite/p-410b7a2a.system.entry.js +6 -0
- package/dist/calcite/{p-588bfa74.system.js → p-43d72920.system.js} +2 -1
- package/dist/calcite/{p-4eae61c5.entry.js → p-44061788.entry.js} +2 -1
- package/dist/calcite/{p-ef17447d.system.entry.js → p-446cb0a3.system.entry.js} +2 -1
- package/dist/calcite/{p-3e9d96c6.system.entry.js → p-474380ed.system.entry.js} +2 -1
- package/dist/calcite/{p-ea4119b1.system.entry.js → p-4a6fda6a.system.entry.js} +2 -1
- package/dist/calcite/{p-bdcb43b1.system.entry.js → p-4c3ce7bd.system.entry.js} +2 -1
- package/dist/calcite/{p-3cdee187.system.entry.js → p-4cd8e82e.system.entry.js} +2 -1
- package/dist/calcite/{p-02d7cf64.system.entry.js → p-4f823472.system.entry.js} +2 -1
- package/dist/calcite/p-508a7e13.system.entry.js +6 -0
- package/dist/calcite/p-5234dd2e.system.entry.js +6 -0
- package/dist/calcite/{p-3c34f20d.system.js → p-55057483.system.js} +2 -1
- package/dist/calcite/{p-dd460534.system.entry.js → p-56096486.system.entry.js} +2 -1
- package/dist/calcite/p-5adf6e11.entry.js +6 -0
- package/dist/calcite/{p-765c9bef.entry.js → p-62e44703.entry.js} +2 -1
- package/dist/calcite/{p-8e0dd0af.system.entry.js → p-64f15878.system.entry.js} +2 -1
- package/dist/calcite/p-6592ebdb.system.entry.js +6 -0
- package/dist/calcite/p-66a7f499.system.entry.js +6 -0
- package/dist/calcite/p-676b5b1e.entry.js +6 -0
- package/dist/calcite/{p-3119ffce.system.js → p-68277cce.system.js} +1 -0
- package/dist/calcite/p-6945f08a.system.entry.js +6 -0
- package/dist/calcite/p-697ea587.system.entry.js +6 -0
- package/dist/calcite/p-6a27e2d9.entry.js +6 -0
- package/dist/calcite/p-6bf2e610.entry.js +6 -0
- package/dist/calcite/{p-ac4aec20.system.js → p-6ca6734d.system.js} +1 -0
- package/dist/calcite/p-6d1d2449.entry.js +6 -0
- package/dist/calcite/p-6e8677ae.entry.js +6 -0
- package/dist/calcite/{p-b06207bb.js → p-70f33b3e.js} +1 -0
- package/dist/calcite/p-7266932c.js +6 -0
- package/dist/calcite/p-73784058.js +6 -0
- package/dist/calcite/p-751b387d.system.entry.js +6 -0
- package/dist/calcite/p-76e2d427.system.js +6 -0
- package/dist/calcite/{p-18be4438.entry.js → p-792fd998.entry.js} +2 -1
- package/dist/calcite/{p-cc6e7726.entry.js → p-7ae35ad7.entry.js} +2 -1
- package/dist/calcite/p-7dcdfeac.entry.js +6 -0
- package/dist/calcite/{p-6b5776af.js → p-7f183647.js} +1 -0
- package/dist/calcite/{p-5bb4d012.entry.js → p-7f556dbd.entry.js} +2 -1
- package/dist/calcite/p-80d62897.entry.js +6 -0
- package/dist/calcite/{p-f344e163.entry.js → p-80e8926a.entry.js} +2 -1
- package/dist/calcite/p-82da0c62.entry.js +6 -0
- package/dist/calcite/p-83192ea5.system.js +12 -0
- package/dist/calcite/p-8319da8e.entry.js +6 -0
- package/dist/calcite/{p-963e9aec.system.entry.js → p-83cc50f2.system.entry.js} +2 -1
- package/dist/calcite/p-84cd0598.system.entry.js +6 -0
- package/dist/calcite/p-8505461f.entry.js +6 -0
- package/dist/calcite/p-86904d57.entry.js +6 -0
- package/dist/calcite/{p-2fae8516.system.entry.js → p-87698ac7.system.entry.js} +2 -1
- package/dist/calcite/{p-69d2d9cf.system.entry.js → p-87aae2e3.system.entry.js} +2 -1
- package/dist/calcite/{p-e095517f.system.js → p-88147c4a.system.js} +1 -0
- package/dist/calcite/{p-7fc69a9d.js → p-89b2f38d.js} +1 -0
- package/dist/calcite/p-8a87f2b7.system.entry.js +6 -0
- package/dist/calcite/{p-f78023f1.system.js → p-8b0ea955.system.js} +1 -0
- package/dist/calcite/p-8e0a0d74.system.entry.js +6 -0
- package/dist/calcite/p-9141d57e.entry.js +6 -0
- package/dist/calcite/p-954973e6.system.entry.js +6 -0
- package/dist/calcite/p-9802e5ca.entry.js +6 -0
- package/dist/calcite/p-9969deb4.system.entry.js +6 -0
- package/dist/calcite/{p-4570cf6c.js → p-997202fe.js} +2 -1
- package/dist/calcite/{p-03c92ad2.entry.js → p-9987d5e9.entry.js} +2 -1
- package/dist/calcite/p-9d9629d5.system.entry.js +6 -0
- package/dist/calcite/p-9f50e2fe.system.entry.js +6 -0
- package/dist/calcite/{p-c51699d3.system.js → p-a0f7fe5b.system.js} +3 -2
- package/dist/calcite/p-a1076e59.system.js +6 -0
- package/dist/calcite/p-a1f93b32.js +6 -0
- package/dist/calcite/{p-1fc943d5.system.entry.js → p-a3074bb4.system.entry.js} +2 -1
- package/dist/calcite/{p-4de6f4fd.system.js → p-a3d47df8.system.js} +1 -0
- package/dist/calcite/{p-65dbbfb5.system.js → p-a4729c51.system.js} +2 -1
- package/dist/calcite/{p-9ac86d6a.entry.js → p-a56b2d66.entry.js} +2 -1
- package/dist/calcite/{p-c2adeae4.entry.js → p-a66f170f.entry.js} +2 -1
- package/dist/calcite/{p-7bee4942.system.entry.js → p-aaad5997.system.entry.js} +2 -1
- package/dist/calcite/p-aadce719.entry.js +6 -0
- package/dist/calcite/p-ad58c01e.system.js +6 -0
- package/dist/calcite/{p-48637359.system.entry.js → p-aea7886a.system.entry.js} +2 -1
- package/dist/calcite/p-aeaaccdf.entry.js +6 -0
- package/dist/calcite/{p-7432e5ef.system.entry.js → p-b2947a00.system.entry.js} +2 -1
- package/dist/calcite/p-b571cc54.system.entry.js +6 -0
- package/dist/calcite/p-b8132e75.system.entry.js +6 -0
- package/dist/calcite/{p-05bf835f.js → p-bf2fe8b0.js} +2 -1
- package/dist/calcite/p-c665108b.entry.js +6 -0
- package/dist/calcite/{p-5394666a.entry.js → p-c76d3ea1.entry.js} +2 -1
- package/dist/calcite/p-c8919467.entry.js +6 -0
- package/dist/calcite/p-c9235ef4.entry.js +6 -0
- package/dist/calcite/p-c9f57b84.system.entry.js +6 -0
- package/dist/calcite/{p-a117af56.system.js → p-ca9efa2d.system.js} +1 -0
- package/dist/calcite/p-cc1b5a8a.entry.js +6 -0
- package/dist/calcite/p-cc425495.entry.js +6 -0
- package/dist/calcite/{p-5958acc8.system.js → p-cca09bde.system.js} +1 -0
- package/dist/calcite/p-cfbb3f0f.system.entry.js +6 -0
- package/dist/calcite/{p-e020662f.system.js → p-d04eb041.system.js} +1 -0
- package/dist/calcite/{p-482885ae.system.entry.js → p-d22143e9.system.entry.js} +2 -1
- package/dist/calcite/p-d2e3fa31.system.entry.js +6 -0
- package/dist/calcite/p-d38ffb30.js +6 -0
- package/dist/calcite/{p-cb57638c.system.js → p-d40e595b.system.js} +2 -1
- package/dist/calcite/p-d484cd1b.system.entry.js +6 -0
- package/dist/calcite/p-d6381f74.js +6 -0
- package/dist/calcite/p-d674d041.entry.js +6 -0
- package/dist/calcite/p-d76afd8f.entry.js +6 -0
- package/dist/calcite/p-da7761d3.js +6 -0
- package/dist/calcite/{p-8a63221d.js → p-dc14a2a0.js} +1 -0
- package/dist/calcite/p-dc1d1b83.entry.js +6 -0
- package/dist/calcite/{p-8ab345f2.js → p-dd444456.js} +2 -1
- package/dist/calcite/p-df476c53.system.entry.js +6 -0
- package/dist/calcite/p-e086d5bc.entry.js +6 -0
- package/dist/calcite/{p-a7770d75.entry.js → p-e0fb9338.entry.js} +2 -1
- package/dist/calcite/{p-34730e94.entry.js → p-e2bc1677.entry.js} +2 -1
- package/dist/calcite/{p-1d6404b5.system.js → p-e3ee7868.system.js} +1 -0
- package/dist/calcite/p-e45b2203.entry.js +6 -0
- package/dist/calcite/p-e575643a.js +6 -0
- package/dist/calcite/p-e68bfc88.system.entry.js +6 -0
- package/dist/calcite/p-e9357dcc.system.entry.js +6 -0
- package/dist/calcite/p-e95c755c.entry.js +6 -0
- package/dist/calcite/p-e9acab15.entry.js +6 -0
- package/dist/calcite/{p-0a5d059d.js → p-e9e1dee1.js} +1 -0
- package/dist/calcite/p-ed7aab50.system.entry.js +6 -0
- package/dist/calcite/p-edc5bf01.js +6 -0
- package/dist/calcite/p-ee5494db.system.entry.js +6 -0
- package/dist/calcite/{p-bd38ff21.js → p-ee9b4197.js} +1 -0
- package/dist/calcite/{p-052ba882.system.entry.js → p-ef059155.system.entry.js} +2 -1
- package/dist/calcite/p-f383e414.js +6 -0
- package/dist/calcite/{p-e66a8ca1.system.entry.js → p-f5394fa4.system.entry.js} +2 -1
- package/dist/calcite/p-f74193a3.js +6 -0
- package/dist/calcite/{p-6a541e77.system.js → p-f86fd5f9.system.js} +2 -1
- package/dist/calcite/p-f8d59d84.entry.js +6 -0
- package/dist/calcite/{p-8a7596e3.entry.js → p-fa2ce2ae.entry.js} +2 -1
- package/dist/calcite/p-faeb976d.system.entry.js +6 -0
- package/dist/calcite/p-fc2144e0.system.entry.js +6 -0
- package/dist/calcite/p-fcac8f9c.system.entry.js +6 -0
- package/dist/calcite/{p-a11ee541.system.entry.js → p-fd5d23d1.system.entry.js} +2 -1
- package/dist/calcite/p-fe972352.js +6 -0
- package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-8c61677e.js} +6 -5
- package/dist/cjs/{Heading-ec707493.js → Heading-0cb5902d.js} +2 -1
- package/dist/cjs/{array-a5dedf5a.js → array-f1fe66d8.js} +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -21
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-action-menu.cjs.entry.js +26 -23
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -22
- package/dist/cjs/calcite-action.cjs.entry.js +7 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +20 -11
- package/dist/cjs/calcite-button.cjs.entry.js +19 -17
- package/dist/cjs/calcite-card.cjs.entry.js +7 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1354 -1367
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +97 -55
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +44 -31
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +67 -45
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -4
- package/dist/cjs/calcite-filter.cjs.entry.js +27 -20
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +77 -47
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +59 -24
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +35 -20
- package/dist/cjs/calcite-input.cjs.entry.js +60 -37
- package/dist/cjs/calcite-label.cjs.entry.js +5 -4
- package/dist/cjs/calcite-link.cjs.entry.js +5 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +18 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -6
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +35 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +18 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +121 -49
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +114 -105
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +79 -62
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -3
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -9
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +163 -137
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -14
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +27 -26
- package/dist/cjs/calcite.cjs.js +4 -3
- package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-ba5cd797.js} +3 -2
- package/dist/cjs/{debounce-95979061.js → debounce-94d2834e.js} +1 -0
- package/dist/cjs/{dom-f3df220d.js → dom-9ac0341c.js} +20 -2
- package/dist/cjs/{forIn-a5d553af.js → forIn-9f737b26.js} +2 -1
- package/dist/cjs/{form-0ef859c8.js → form-11926121.js} +20 -2
- package/dist/cjs/{guid-b270f0db.js → guid-8b6d6cb4.js} +1 -0
- package/dist/cjs/{index-1af0efd3.js → index-5c65e149.js} +1 -3
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/{interactive-87406231.js → interactive-e294111f.js} +1 -0
- package/dist/cjs/{interfaces-7216af30.js → interfaces-083f4502.js} +1 -0
- package/dist/cjs/{label-980508de.js → label-165fc611.js} +19 -18
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{locale-02462821.js → locale-f2ebe4fa.js} +25 -24
- package/dist/cjs/{math-145c80e2.js → math-9d6de52c.js} +1 -0
- package/dist/cjs/{number-e813e801.js → number-364babbc.js} +2 -1
- package/dist/cjs/{observers-79bfb8bc.js → observers-d9fdf006.js} +1 -0
- package/dist/cjs/{popper-64d89ef7.js → popper-3f97eb01.js} +29 -3
- package/dist/cjs/{resources-ac80e82c.js → resources-1a214670.js} +1 -0
- package/dist/cjs/{resources-7811eb2c.js → resources-247d05d5.js} +3 -2
- package/dist/cjs/{resources-7d5449fb.js → resources-5da94c46.js} +1 -0
- package/dist/cjs/{resources-daf15d54.js → resources-684ec2e5.js} +20 -6
- package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-0005295a.js} +63 -54
- package/dist/cjs/{utils-6579522f.js → utils-51c079f6.js} +1 -0
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/accordion/accordion.js +1 -0
- package/dist/collection/components/accordion/interfaces.js +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js +3 -2
- package/dist/collection/components/action/action.js +3 -1
- package/dist/collection/components/action/resources.js +1 -0
- package/dist/collection/components/action-bar/action-bar.js +6 -12
- package/dist/collection/components/action-bar/resources.js +1 -0
- package/dist/collection/components/action-bar/utils.js +1 -0
- package/dist/collection/components/action-group/action-group.js +1 -0
- package/dist/collection/components/action-group/resources.js +1 -0
- package/dist/collection/components/action-menu/action-menu.js +24 -21
- package/dist/collection/components/action-menu/resources.js +1 -0
- package/dist/collection/components/action-pad/action-pad.js +5 -16
- package/dist/collection/components/action-pad/resources.js +1 -0
- package/dist/collection/components/alert/alert.css +2 -6
- package/dist/collection/components/alert/alert.js +3 -2
- package/dist/collection/components/alert/interfaces.js +1 -0
- package/dist/collection/components/alert/resources.js +1 -0
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -0
- package/dist/collection/components/avatar/utils.js +1 -0
- package/dist/collection/components/block/block.js +19 -8
- package/dist/collection/components/block/resources.js +1 -0
- package/dist/collection/components/block-section/block-section.js +3 -2
- package/dist/collection/components/block-section/interfaces.js +1 -0
- package/dist/collection/components/block-section/resources.js +1 -0
- package/dist/collection/components/button/button.js +16 -13
- package/dist/collection/components/button/interfaces.js +1 -0
- package/dist/collection/components/button/resources.js +1 -0
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/card/resources.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +5 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -1
- package/dist/collection/components/chip/chip.css +21 -18
- package/dist/collection/components/chip/chip.js +4 -3
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/chip/resources.js +4 -2
- package/dist/collection/components/color-picker/color-picker.css +2 -9
- package/dist/collection/components/color-picker/color-picker.js +19 -18
- package/dist/collection/components/color-picker/interfaces.js +1 -0
- package/dist/collection/components/color-picker/resources.js +1 -0
- package/dist/collection/components/color-picker/utils.js +1 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +45 -49
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
- package/dist/collection/components/color-picker-swatch/resources.js +1 -0
- package/dist/collection/components/combobox/combobox.js +89 -44
- package/dist/collection/components/combobox/interfaces.js +1 -0
- package/dist/collection/components/combobox/resources.js +5 -0
- package/dist/collection/components/combobox/utils.js +1 -0
- package/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -1
- package/dist/collection/components/combobox-item/resources.js +1 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +2 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -0
- package/dist/collection/components/date-picker/date-picker.js +7 -2
- package/dist/collection/components/date-picker/interfaces.js +1 -0
- package/dist/collection/components/date-picker/resources.js +1 -0
- package/dist/collection/components/date-picker/utils.js +1 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +0 -2
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -0
- package/dist/collection/components/date-picker-month/date-picker-month.js +2 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +28 -19
- package/dist/collection/components/dropdown/dropdown.js +54 -36
- package/dist/collection/components/dropdown/interfaces.js +1 -0
- package/dist/collection/components/dropdown/resources.js +1 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -0
- package/dist/collection/components/dropdown-group/interfaces.js +1 -0
- package/dist/collection/components/dropdown-group/resources.js +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +14 -7
- package/dist/collection/components/dropdown-item/resources.js +1 -0
- package/dist/collection/components/fab/fab.js +1 -0
- package/dist/collection/components/fab/resources.js +1 -0
- package/dist/collection/components/filter/filter.js +20 -15
- package/dist/collection/components/filter/resources.js +3 -2
- package/dist/collection/components/flow/flow.css +1 -9
- package/dist/collection/components/flow/flow.js +1 -0
- package/dist/collection/components/flow/interfaces.js +1 -0
- package/dist/collection/components/flow/resources.js +1 -0
- package/dist/collection/components/functional/ExpandToggle.js +2 -1
- package/dist/collection/components/functional/Heading.js +1 -0
- package/dist/collection/components/graph/graph.js +1 -0
- package/dist/collection/components/graph/interfaces.js +1 -0
- package/dist/collection/components/graph/util.js +1 -0
- package/dist/collection/components/handle/handle.js +3 -1
- package/dist/collection/components/handle/resources.js +1 -0
- package/dist/collection/components/icon/assets/icon/compactness16.json +1 -0
- package/dist/collection/components/icon/assets/icon/compactness24.json +1 -0
- package/dist/collection/components/icon/assets/icon/compactness32.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure16.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType16.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType24.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType32.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd16.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle32.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets16.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets24.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets32.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance16.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance24.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance32.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters16.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters24.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters32.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories16.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories24.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories32.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence16.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence24.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence32.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance16.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance24.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance32.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
- package/dist/collection/components/icon/icon.js +3 -2
- package/dist/collection/components/icon/resources.js +1 -0
- package/dist/collection/components/icon/utils.js +1 -0
- package/dist/collection/components/inline-editable/inline-editable.js +5 -6
- package/dist/collection/components/inline-editable/resources.js +1 -0
- package/dist/collection/components/input/input.js +69 -32
- package/dist/collection/components/input/interfaces.js +1 -0
- package/dist/collection/components/input/resources.js +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -0
- package/dist/collection/components/input-date-picker/input-date-picker.js +81 -17
- package/dist/collection/components/input-message/input-message.js +1 -0
- package/dist/collection/components/input-message/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +71 -8
- package/dist/collection/components/interfaces.js +1 -0
- package/dist/collection/components/label/label.js +1 -0
- package/dist/collection/components/label/resources.js +1 -0
- package/dist/collection/components/link/link.js +1 -0
- package/dist/collection/components/list/list.js +1 -0
- package/dist/collection/components/list/resources.js +1 -0
- package/dist/collection/components/list-item/list-item.css +17 -1
- package/dist/collection/components/list-item/list-item.js +8 -2
- package/dist/collection/components/list-item/resources.js +3 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -0
- package/dist/collection/components/list-item-group/resources.js +1 -0
- package/dist/collection/components/loader/loader.js +1 -0
- package/dist/collection/components/modal/interfaces.js +1 -0
- package/dist/collection/components/modal/modal.css +1 -37
- package/dist/collection/components/modal/modal.js +2 -1
- package/dist/collection/components/modal/resources.js +1 -0
- package/dist/collection/components/notice/notice.js +1 -0
- package/dist/collection/components/notice/resources.js +1 -0
- package/dist/collection/components/option/option.js +1 -0
- package/dist/collection/components/option-group/option-group.js +1 -0
- package/dist/collection/components/pagination/pagination.js +1 -0
- package/dist/collection/components/pagination/resources.js +1 -0
- package/dist/collection/components/panel/panel.css +1 -4
- package/dist/collection/components/panel/panel.js +47 -5
- package/dist/collection/components/panel/resources.js +1 -0
- package/dist/collection/components/pick-list/pick-list.js +1 -0
- package/dist/collection/components/pick-list/resources.js +1 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
- package/dist/collection/components/pick-list-group/resources.js +1 -0
- package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +3 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -0
- package/dist/collection/components/popover/PopoverManager.js +64 -0
- package/dist/collection/components/popover/popover.css +1 -1
- package/dist/collection/components/popover/popover.js +56 -16
- package/dist/collection/components/popover/resources.js +2 -1
- package/dist/collection/components/popover-manager/popover-manager.js +32 -44
- package/dist/collection/components/progress/progress.js +1 -0
- package/dist/collection/components/radio-button/radio-button.js +3 -2
- package/dist/collection/components/radio-button/resources.js +1 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
- package/dist/collection/components/radio-group/interfaces.js +1 -0
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -2
- package/dist/collection/components/radio-group-item/resources.js +1 -0
- package/dist/collection/components/rating/rating.js +1 -0
- package/dist/collection/components/rating/resources.js +1 -0
- package/dist/collection/components/scrim/resources.js +1 -0
- package/dist/collection/components/scrim/scrim.js +1 -0
- package/dist/collection/components/select/resources.js +1 -0
- package/dist/collection/components/select/select.js +3 -4
- package/dist/collection/components/shell/resources.js +1 -0
- package/dist/collection/components/shell/shell.js +1 -0
- package/dist/collection/components/shell-center-row/resources.js +1 -0
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -0
- package/dist/collection/components/shell-panel/resources.js +1 -0
- package/dist/collection/components/shell-panel/shell-panel.css +2 -2
- package/dist/collection/components/shell-panel/shell-panel.js +5 -1
- package/dist/collection/components/slider/slider.css +29 -0
- package/dist/collection/components/slider/slider.js +77 -41
- package/dist/collection/components/sortable-list/resources.js +1 -0
- package/dist/collection/components/sortable-list/sortable-list.js +1 -0
- package/dist/collection/components/split-button/resources.js +1 -0
- package/dist/collection/components/split-button/split-button.js +1 -0
- package/dist/{calcite/p-accdb0ce.js → collection/components/stepper/interfaces.js} +2 -1
- package/dist/collection/components/stepper/stepper.js +75 -54
- package/dist/collection/components/stepper-item/stepper-item.js +74 -74
- package/dist/collection/components/switch/switch.js +5 -3
- package/dist/collection/components/tab/interfaces.js +1 -0
- package/dist/collection/components/tab/tab.js +16 -17
- package/dist/collection/components/tab-nav/tab-nav.js +65 -26
- package/dist/collection/components/tab-title/tab-title.js +57 -25
- package/dist/collection/components/tabs/interfaces.js +1 -0
- package/dist/collection/components/tabs/resources.js +1 -0
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -3
- package/dist/collection/components/tile/resources.js +1 -0
- package/dist/collection/components/tile/tile.css +3 -2
- package/dist/collection/components/tile/tile.js +1 -0
- package/dist/collection/components/tile-select/interfaces.js +1 -0
- package/dist/collection/components/tile-select/resources.js +1 -0
- package/dist/collection/components/tile-select/tile-select.js +1 -0
- package/dist/collection/components/tile-select-group/interfaces.js +1 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -0
- package/dist/collection/components/time-picker/resources.js +1 -0
- package/dist/collection/components/time-picker/time-picker.js +1 -8
- package/dist/collection/components/tip/resources.js +1 -0
- package/dist/collection/components/tip/tip.js +1 -0
- package/dist/collection/components/tip-group/tip-group.js +1 -0
- package/dist/collection/components/tip-manager/resources.js +1 -0
- package/dist/collection/components/tip-manager/tip-manager.css +1 -9
- package/dist/collection/components/tip-manager/tip-manager.js +25 -5
- package/dist/collection/components/tooltip/TooltipManager.js +157 -0
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +8 -11
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +5 -163
- package/dist/collection/components/tree/interfaces.js +1 -0
- package/dist/collection/components/tree/tree.js +12 -11
- package/dist/collection/components/tree-item/interfaces.js +1 -0
- package/dist/collection/components/tree-item/resources.js +1 -0
- package/dist/collection/components/tree-item/tree-item.js +18 -17
- package/dist/collection/components/value-list/resources.js +1 -0
- package/dist/collection/components/value-list/value-list.js +19 -18
- package/dist/collection/components/value-list-item/resources.js +1 -0
- package/dist/collection/components/value-list-item/value-list-item.js +22 -21
- package/dist/collection/utils/array.js +1 -0
- package/dist/collection/utils/conditionalSlot.js +1 -0
- package/dist/collection/utils/date.js +1 -0
- package/dist/collection/utils/dom.js +18 -1
- package/dist/collection/utils/filter.js +2 -1
- package/dist/collection/utils/form.js +16 -0
- package/dist/collection/utils/globalAttributes.js +1 -0
- package/dist/collection/utils/guid.js +1 -0
- package/dist/collection/utils/interactive.js +1 -0
- package/dist/collection/utils/key.js +1 -0
- package/dist/collection/utils/label.js +18 -17
- package/dist/collection/utils/locale.js +25 -23
- package/dist/collection/utils/math.js +1 -0
- package/dist/collection/utils/number.js +2 -1
- package/dist/collection/utils/observers.js +1 -0
- package/dist/collection/utils/popper.js +17 -2
- package/dist/collection/utils/resources.js +1 -0
- package/dist/collection/utils/time.js +1 -0
- package/dist/components/ExpandToggle.js +2 -1
- package/dist/components/Heading.js +1 -0
- package/dist/components/action-group.js +11 -16
- package/dist/components/action-menu.js +28 -31
- package/dist/components/action.js +3 -1
- package/dist/components/array.js +1 -0
- package/dist/components/button.js +14 -12
- package/dist/components/calcite-accordion-item.js +3 -2
- package/dist/components/calcite-accordion.js +1 -0
- package/dist/components/calcite-action-bar.js +18 -30
- package/dist/components/calcite-action-group.js +1 -0
- package/dist/components/calcite-action-menu.js +1 -0
- package/dist/components/calcite-action-pad.js +17 -32
- package/dist/components/calcite-action.js +1 -0
- package/dist/components/calcite-alert.js +4 -3
- package/dist/components/calcite-avatar.js +3 -2
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-block.js +27 -24
- package/dist/components/calcite-button.js +1 -0
- package/dist/components/calcite-card.js +3 -2
- package/dist/components/calcite-checkbox.js +1 -0
- package/dist/components/calcite-chip.js +1 -0
- package/dist/components/calcite-color-picker-hex-input.js +1 -0
- package/dist/components/calcite-color-picker-swatch.js +1 -0
- package/dist/components/calcite-color-picker.js +20 -19
- package/dist/components/calcite-combobox-item-group.js +1 -0
- package/dist/components/calcite-combobox-item.js +2 -1
- package/dist/components/calcite-combobox.js +88 -45
- package/dist/components/calcite-date-picker-day.js +1 -0
- package/dist/components/calcite-date-picker-month-header.js +1 -0
- package/dist/components/calcite-date-picker-month.js +1 -0
- package/dist/components/calcite-date-picker.js +1 -0
- package/dist/components/calcite-dropdown-group.js +1 -0
- package/dist/components/calcite-dropdown-item.js +14 -7
- package/dist/components/calcite-dropdown.js +1 -0
- package/dist/components/calcite-fab.js +1 -0
- package/dist/components/calcite-filter.js +1 -0
- package/dist/components/calcite-flow.js +2 -1
- package/dist/components/calcite-graph.js +1 -0
- package/dist/components/calcite-handle.js +1 -0
- package/dist/components/calcite-icon.js +1 -0
- package/dist/components/calcite-inline-editable.js +5 -6
- package/dist/components/calcite-input-date-picker.js +53 -16
- package/dist/components/calcite-input-message.js +1 -0
- package/dist/components/calcite-input-time-picker.js +31 -8
- package/dist/components/calcite-input.js +1 -0
- package/dist/components/calcite-label.js +1 -0
- package/dist/components/calcite-link.js +1 -0
- package/dist/components/calcite-list-item-group.js +1 -0
- package/dist/components/calcite-list-item.js +11 -4
- package/dist/components/calcite-list.js +1 -0
- package/dist/components/calcite-loader.js +1 -0
- package/dist/components/calcite-modal.js +4 -3
- package/dist/components/calcite-notice.js +1 -0
- package/dist/components/calcite-option-group.js +1 -0
- package/dist/components/calcite-option.js +1 -0
- package/dist/components/calcite-pagination.js +1 -0
- package/dist/components/calcite-panel.js +41 -22
- package/dist/components/calcite-pick-list-group.js +2 -10
- package/dist/components/calcite-pick-list-item.js +1 -0
- package/dist/components/calcite-pick-list.js +2 -1
- package/dist/components/calcite-popover-manager.js +30 -37
- package/dist/components/calcite-popover.js +1 -0
- package/dist/components/calcite-progress.js +1 -0
- package/dist/components/calcite-radio-button-group.js +1 -0
- package/dist/components/calcite-radio-button.js +3 -2
- package/dist/components/calcite-radio-group-item.js +3 -2
- package/dist/components/calcite-radio-group.js +2 -1
- package/dist/components/calcite-rating.js +1 -0
- package/dist/components/calcite-scrim.js +1 -0
- package/dist/components/calcite-select.js +2 -1
- package/dist/components/calcite-shell-center-row.js +2 -1
- package/dist/components/calcite-shell-panel.js +2 -1
- package/dist/components/calcite-shell.js +1 -0
- package/dist/components/calcite-slider.js +69 -39
- package/dist/components/calcite-sortable-list.js +1 -0
- package/dist/components/calcite-split-button.js +1 -0
- package/dist/components/calcite-stepper-item.js +50 -59
- package/dist/components/calcite-stepper.js +63 -44
- package/dist/components/calcite-switch.js +1 -0
- package/dist/components/calcite-tab-nav.js +1 -0
- package/dist/components/calcite-tab-title.js +1 -0
- package/dist/components/calcite-tab.js +1 -0
- package/dist/components/calcite-tabs.js +1 -0
- package/dist/components/calcite-tile-select-group.js +1 -0
- package/dist/components/calcite-tile-select.js +1 -0
- package/dist/components/calcite-tile.js +1 -0
- package/dist/components/calcite-time-picker.js +1 -0
- package/dist/components/calcite-tip-group.js +1 -0
- package/dist/components/calcite-tip-manager.js +8 -5
- package/dist/components/calcite-tip.js +2 -1
- package/dist/components/calcite-tooltip-manager.js +47 -1
- package/dist/components/calcite-tooltip.js +170 -16
- package/dist/components/calcite-tree-item.js +7 -6
- package/dist/components/calcite-tree.js +5 -4
- package/dist/components/calcite-value-list-item.js +11 -10
- package/dist/components/calcite-value-list.js +9 -8
- package/dist/components/checkbox.js +4 -2
- package/dist/components/chip.js +8 -6
- package/dist/components/color-picker-hex-input.js +45 -49
- package/dist/components/color-picker-swatch.js +1337 -1345
- package/dist/components/conditionalSlot.js +1 -0
- package/dist/components/date-picker-day.js +2 -1
- package/dist/components/date-picker-month-header.js +28 -19
- package/dist/components/date-picker-month.js +2 -1
- package/dist/components/date-picker.js +7 -2
- package/dist/components/date.js +1 -0
- package/dist/components/debounce.js +1 -0
- package/dist/components/dom.js +19 -2
- package/dist/components/dropdown.js +51 -35
- package/dist/components/filter.js +21 -14
- package/dist/components/forIn.js +1 -0
- package/dist/components/form.js +18 -2
- package/dist/components/graph.js +1 -0
- package/dist/components/guid.js +1 -0
- package/dist/components/handle.js +3 -1
- package/dist/components/icon.js +3 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +54 -30
- package/dist/components/interactive.js +1 -0
- package/dist/components/interfaces.js +1 -0
- package/dist/components/interfaces2.js +1 -0
- package/dist/components/label.js +19 -18
- package/dist/components/label2.js +1 -0
- package/dist/components/link.js +1 -0
- package/dist/components/loader.js +1 -0
- package/dist/components/locale.js +25 -24
- package/dist/components/math.js +1 -0
- package/dist/components/number.js +2 -1
- package/dist/components/observers.js +1 -0
- package/dist/components/pick-list-item.js +5 -4
- package/dist/components/popover.js +110 -12
- package/dist/components/popper.js +27 -2
- package/dist/components/progress.js +1 -0
- package/dist/components/resources.js +11 -17
- package/dist/components/resources2.js +8 -5
- package/dist/components/resources3.js +25 -10
- package/dist/components/scrim.js +1 -0
- package/dist/components/shared-list-render.js +7 -5
- package/dist/components/sortable.esm.js +63 -54
- package/dist/components/switch.js +4 -2
- package/dist/components/tab-nav.js +37 -20
- package/dist/components/tab-title.js +30 -23
- package/dist/components/tab.js +15 -16
- package/dist/components/tabs.js +2 -4
- package/dist/components/tile.js +2 -1
- package/dist/components/time-picker.js +2 -7
- package/dist/components/utils.js +1 -0
- package/dist/components/utils2.js +1 -0
- package/dist/custom-elements/index.js +2806 -2434
- package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-1f6d84ba.js} +6 -5
- package/dist/esm/{Heading-d5f1710a.js → Heading-8d613e81.js} +2 -1
- package/dist/esm/{array-91a648e2.js → array-1655bbf7.js} +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +5 -4
- package/dist/esm/calcite-action-bar.entry.js +15 -21
- package/dist/esm/calcite-action-group.entry.js +8 -7
- package/dist/esm/calcite-action-menu.entry.js +26 -23
- package/dist/esm/calcite-action-pad.entry.js +13 -22
- package/dist/esm/calcite-action.entry.js +7 -4
- package/dist/esm/calcite-alert.entry.js +7 -6
- package/dist/esm/calcite-avatar.entry.js +6 -5
- package/dist/esm/calcite-block_2.entry.js +20 -11
- package/dist/esm/calcite-button.entry.js +19 -17
- package/dist/esm/calcite-card.entry.js +7 -6
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +13 -11
- package/dist/esm/calcite-color-picker_3.entry.js +1354 -1367
- package/dist/esm/calcite-combobox_3.entry.js +97 -55
- package/dist/esm/calcite-date-picker_4.entry.js +44 -31
- package/dist/esm/calcite-dropdown_3.entry.js +67 -45
- package/dist/esm/calcite-fab.entry.js +5 -4
- package/dist/esm/calcite-filter.entry.js +27 -20
- package/dist/esm/calcite-flow.entry.js +4 -3
- package/dist/esm/calcite-graph_2.entry.js +77 -47
- package/dist/esm/calcite-handle.entry.js +5 -2
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +11 -12
- package/dist/esm/calcite-input-date-picker.entry.js +59 -24
- package/dist/esm/calcite-input-message.entry.js +4 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +35 -20
- package/dist/esm/calcite-input.entry.js +61 -38
- package/dist/esm/calcite-label.entry.js +5 -4
- package/dist/esm/calcite-link.entry.js +5 -4
- package/dist/esm/calcite-list_3.entry.js +18 -11
- package/dist/esm/calcite-loader.entry.js +3 -2
- package/dist/esm/calcite-modal.entry.js +8 -7
- package/dist/esm/calcite-notice.entry.js +7 -6
- package/dist/esm/calcite-option_3.entry.js +8 -7
- package/dist/esm/calcite-pagination.entry.js +2 -1
- package/dist/esm/calcite-panel.entry.js +35 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -22
- package/dist/esm/calcite-popover_2.entry.js +121 -49
- package/dist/esm/calcite-progress.entry.js +2 -1
- package/dist/esm/calcite-radio-button-group.entry.js +3 -2
- package/dist/esm/calcite-radio-button.entry.js +9 -8
- package/dist/esm/calcite-radio-group_2.entry.js +8 -7
- package/dist/esm/calcite-rating.entry.js +7 -6
- package/dist/esm/calcite-scrim.entry.js +2 -1
- package/dist/esm/calcite-shell_3.entry.js +9 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -4
- package/dist/esm/calcite-split-button.entry.js +3 -2
- package/dist/esm/calcite-stepper_2.entry.js +114 -105
- package/dist/esm/calcite-switch.entry.js +9 -7
- package/dist/esm/calcite-tab_4.entry.js +79 -62
- package/dist/esm/calcite-tile-select_2.entry.js +4 -3
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +12 -9
- package/dist/esm/calcite-tooltip_2.entry.js +163 -137
- package/dist/esm/calcite-tree_2.entry.js +15 -14
- package/dist/esm/calcite-value-list_2.entry.js +27 -26
- package/dist/esm/calcite.js +4 -3
- package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-203be745.js} +3 -2
- package/dist/esm/{debounce-79648d42.js → debounce-c4df98cc.js} +1 -0
- package/dist/esm/{dom-e7fa77b9.js → dom-da697a3f.js} +20 -3
- package/dist/esm/{forIn-48d8fb84.js → forIn-9b83dde4.js} +2 -1
- package/dist/esm/{form-5e4609eb.js → form-bca481e1.js} +19 -3
- package/dist/esm/{guid-196bd5ea.js → guid-b4461004.js} +1 -0
- package/dist/esm/{index-bd94948c.js → index-8ece2564.js} +1 -3
- package/dist/esm/index.js +1 -0
- package/dist/esm/{interactive-48b5cc0f.js → interactive-cb5bf285.js} +1 -0
- package/dist/esm/{interfaces-0e5b954c.js → interfaces-f57a0946.js} +1 -0
- package/dist/esm/{label-68f22660.js → label-50132b90.js} +19 -18
- package/dist/esm/loader.js +4 -3
- package/dist/esm/{locale-fc850b7c.js → locale-7ce850e5.js} +25 -24
- package/dist/esm/{math-456207f5.js → math-2e4483eb.js} +1 -0
- package/dist/esm/{number-8779395f.js → number-237e74a9.js} +2 -1
- package/dist/esm/{observers-46118290.js → observers-b198f831.js} +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-da45ec93.js → popper-0fd1fd89.js} +28 -3
- package/dist/esm/{resources-027bd8f9.js → resources-3c30f589.js} +1 -0
- package/dist/esm/{resources-cbfcf4a3.js → resources-c4ee68b9.js} +18 -7
- package/dist/esm/{resources-34334875.js → resources-e8f918f0.js} +1 -0
- package/dist/esm/{resources-73dac782.js → resources-f170fbe8.js} +3 -2
- package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-34b12dd8.js} +63 -54
- package/dist/esm/{utils-e84055a3.js → utils-040a2a22.js} +1 -0
- package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-1f6d84ba.js} +2 -1
- package/dist/esm-es5/{Heading-d5f1710a.js → Heading-8d613e81.js} +2 -1
- package/dist/esm-es5/{array-91a648e2.js → array-1655bbf7.js} +1 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
- package/dist/esm-es5/calcite-action-group.entry.js +2 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -1
- package/dist/esm-es5/calcite-alert.entry.js +2 -1
- package/dist/esm-es5/calcite-avatar.entry.js +2 -1
- package/dist/esm-es5/calcite-block_2.entry.js +2 -1
- package/dist/esm-es5/calcite-button.entry.js +2 -1
- package/dist/esm-es5/calcite-card.entry.js +2 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -1
- package/dist/esm-es5/calcite-chip.entry.js +2 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -1
- package/dist/esm-es5/calcite-flow.entry.js +2 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
- package/dist/esm-es5/calcite-handle.entry.js +2 -1
- package/dist/esm-es5/calcite-icon.entry.js +2 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
- package/dist/esm-es5/calcite-input-message.entry.js +2 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -1
- package/dist/esm-es5/calcite-input.entry.js +2 -1
- package/dist/esm-es5/calcite-label.entry.js +2 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -1
- package/dist/esm-es5/calcite-list_3.entry.js +3 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -1
- package/dist/esm-es5/calcite-modal.entry.js +3 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -1
- package/dist/esm-es5/calcite-option_3.entry.js +2 -1
- package/dist/esm-es5/calcite-pagination.entry.js +2 -1
- package/dist/esm-es5/calcite-panel.entry.js +3 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -1
- package/dist/esm-es5/calcite-progress.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -1
- package/dist/esm-es5/calcite-scrim.entry.js +2 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
- package/dist/esm-es5/calcite-split-button.entry.js +2 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +3 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
- package/dist/esm-es5/calcite-tile.entry.js +2 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
- package/dist/esm-es5/calcite.js +2 -1
- package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-203be745.js} +2 -1
- package/dist/esm-es5/{debounce-79648d42.js → debounce-c4df98cc.js} +1 -0
- package/dist/esm-es5/{dom-e7fa77b9.js → dom-da697a3f.js} +2 -1
- package/dist/esm-es5/{forIn-48d8fb84.js → forIn-9b83dde4.js} +2 -1
- package/dist/esm-es5/form-bca481e1.js +6 -0
- package/dist/esm-es5/{guid-196bd5ea.js → guid-b4461004.js} +1 -0
- package/dist/esm-es5/{index-bd94948c.js → index-8ece2564.js} +2 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-cb5bf285.js} +1 -0
- package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-f57a0946.js} +1 -0
- package/dist/esm-es5/label-50132b90.js +6 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/locale-7ce850e5.js +6 -0
- package/dist/esm-es5/{math-456207f5.js → math-2e4483eb.js} +1 -0
- package/dist/esm-es5/number-237e74a9.js +6 -0
- package/dist/esm-es5/{observers-46118290.js → observers-b198f831.js} +1 -0
- package/dist/esm-es5/{popper-da45ec93.js → popper-0fd1fd89.js} +2 -1
- package/dist/esm-es5/{resources-027bd8f9.js → resources-3c30f589.js} +1 -0
- package/dist/esm-es5/resources-c4ee68b9.js +6 -0
- package/dist/esm-es5/{resources-34334875.js → resources-e8f918f0.js} +1 -0
- package/dist/esm-es5/{resources-73dac782.js → resources-f170fbe8.js} +3 -2
- package/dist/esm-es5/sortable.esm-34b12dd8.js +12 -0
- package/dist/esm-es5/{utils-e84055a3.js → utils-040a2a22.js} +1 -0
- package/dist/extras/docs-json.json +263 -160
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +42 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +54 -0
- package/dist/types/components/action/action.d.ts +75 -0
- package/dist/types/components/action-bar/action-bar.d.ts +69 -0
- package/dist/types/components/action-group/action-group.d.ts +42 -0
- package/dist/types/components/action-menu/action-menu.d.ts +83 -0
- package/dist/types/components/action-pad/action-pad.d.ts +54 -0
- package/dist/types/components/alert/alert.d.ts +83 -0
- package/dist/types/components/avatar/avatar.d.ts +26 -0
- package/dist/types/components/block/block.d.ts +79 -0
- package/dist/types/components/block-section/block-section.d.ts +44 -0
- package/dist/types/components/button/button.d.ts +81 -0
- package/dist/types/components/card/card.d.ts +46 -0
- package/dist/types/components/checkbox/checkbox.d.ts +75 -0
- package/dist/types/components/chip/chip.d.ts +40 -0
- package/dist/types/components/chip/resources.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +233 -0
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +53 -0
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +23 -0
- package/dist/types/components/combobox/combobox.d.ts +189 -0
- package/dist/types/components/combobox/interfaces.d.ts +6 -0
- package/dist/types/components/combobox/resources.d.ts +4 -0
- package/dist/types/components/combobox/utils.d.ts +6 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +48 -0
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +17 -0
- package/dist/types/components/date-picker/date-picker.d.ts +132 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +48 -0
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +97 -0
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +59 -0
- package/dist/types/components/dropdown/dropdown.d.ts +112 -0
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +32 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +54 -0
- package/dist/types/components/fab/fab.d.ts +49 -0
- package/dist/types/components/filter/filter.d.ts +59 -0
- package/dist/types/components/filter/resources.d.ts +1 -1
- package/dist/types/components/flow/flow.d.ts +22 -0
- package/dist/types/components/functional/ExpandToggle.d.ts +19 -0
- package/dist/types/components/graph/graph.d.ts +28 -0
- package/dist/types/components/handle/handle.d.ts +22 -0
- package/dist/types/components/icon/icon.d.ts +32 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +73 -0
- package/dist/types/components/input/input.d.ts +177 -0
- package/dist/types/components/input/resources.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +195 -0
- package/dist/types/components/input-message/input-message.d.ts +27 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +105 -0
- package/dist/types/components/label/label.d.ts +39 -0
- package/dist/types/components/link/link.d.ts +36 -0
- package/dist/types/components/list/list.d.ts +22 -0
- package/dist/types/components/list-item/list-item.d.ts +42 -0
- package/dist/types/components/list-item/resources.d.ts +1 -0
- package/dist/types/components/list-item-group/list-item-group.d.ts +18 -0
- package/dist/types/components/loader/loader.d.ts +27 -0
- package/dist/types/components/modal/modal.d.ts +89 -0
- package/dist/types/components/notice/notice.d.ts +51 -0
- package/dist/types/components/pagination/pagination.d.ts +51 -0
- package/dist/types/components/panel/panel.d.ts +140 -0
- package/dist/types/components/pick-list/pick-list.d.ts +77 -0
- package/dist/types/components/pick-list/shared-list-logic.d.ts +32 -0
- package/dist/types/components/pick-list/shared-list-render.d.ts +18 -0
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +21 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +108 -0
- package/dist/types/components/popover/PopoverManager.d.ts +10 -0
- package/dist/types/components/popover/popover.d.ts +115 -0
- package/dist/types/components/popover/resources.d.ts +1 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +23 -0
- package/dist/types/components/progress/progress.d.ts +15 -0
- package/dist/types/components/radio-button/radio-button.d.ts +94 -0
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +34 -0
- package/dist/types/components/radio-group/radio-group.d.ts +58 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +24 -0
- package/dist/types/components/rating/rating.d.ts +62 -0
- package/dist/types/components/scrim/scrim.d.ts +17 -0
- package/dist/types/components/select/select.d.ts +77 -0
- package/dist/types/components/shell/shell.d.ts +24 -0
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +25 -0
- package/dist/types/components/shell-panel/shell-panel.d.ts +70 -0
- package/dist/types/components/slider/slider.d.ts +197 -0
- package/dist/types/components/sortable-list/sortable-list.d.ts +52 -0
- package/dist/types/components/split-button/split-button.d.ts +56 -0
- package/dist/types/components/stepper/interfaces.d.ts +10 -0
- package/dist/types/components/stepper/stepper.d.ts +62 -0
- package/dist/types/components/stepper-item/stepper-item.d.ts +66 -0
- package/dist/types/components/switch/switch.d.ts +45 -0
- package/dist/types/components/tab/tab.d.ts +41 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +76 -0
- package/dist/types/components/tab-title/tab-title.d.ts +91 -0
- package/dist/types/components/tabs/tabs.d.ts +62 -0
- package/dist/types/components/tile/tile.d.ts +38 -0
- package/dist/types/components/tile-select/tile-select.d.ts +59 -0
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +15 -0
- package/dist/types/components/time-picker/time-picker.d.ts +136 -0
- package/dist/types/components/tip/tip.d.ts +47 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +70 -0
- package/dist/types/components/tooltip/TooltipManager.d.ts +27 -0
- package/dist/types/components/tooltip/resources.d.ts +0 -1
- package/dist/types/components/tooltip/tooltip.d.ts +58 -0
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +13 -0
- package/dist/types/components/tree/interfaces.d.ts +10 -0
- package/dist/types/components/tree/tree.d.ts +39 -0
- package/dist/types/components/tree-item/tree-item.d.ts +60 -0
- package/dist/types/components/value-list/value-list.d.ts +92 -0
- package/dist/types/components/value-list-item/value-list-item.d.ts +81 -0
- package/dist/types/components.d.ts +114 -63
- package/dist/types/preact.d.ts +8 -4
- package/dist/types/utils/dom.d.ts +10 -2
- package/dist/types/utils/form.d.ts +20 -5
- package/dist/types/utils/label.d.ts +41 -0
- package/dist/types/utils/locale.d.ts +1 -0
- package/dist/types/utils/popper.d.ts +3 -2
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +2825 -2439
- package/package.json +38 -39
- package/readme.md +4 -5
- package/dist/calcite/p-07f1f162.system.entry.js +0 -5
- package/dist/calcite/p-1263bcc0.entry.js +0 -5
- package/dist/calcite/p-184049cb.entry.js +0 -5
- package/dist/calcite/p-193749c1.entry.js +0 -5
- package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
- package/dist/calcite/p-1b1bca2d.entry.js +0 -5
- package/dist/calcite/p-23145377.entry.js +0 -5
- package/dist/calcite/p-28c333d0.entry.js +0 -5
- package/dist/calcite/p-2bcaed33.entry.js +0 -5
- package/dist/calcite/p-2dd22e8c.system.entry.js +0 -5
- package/dist/calcite/p-32d6b962.entry.js +0 -5
- package/dist/calcite/p-32efc4cd.system.entry.js +0 -5
- package/dist/calcite/p-364db271.entry.js +0 -5
- package/dist/calcite/p-3915705c.entry.js +0 -5
- package/dist/calcite/p-3b707a1c.system.entry.js +0 -5
- package/dist/calcite/p-3e149640.system.entry.js +0 -5
- package/dist/calcite/p-3ea157ba.system.entry.js +0 -5
- package/dist/calcite/p-42227a04.entry.js +0 -5
- package/dist/calcite/p-426f011a.entry.js +0 -5
- package/dist/calcite/p-4696e56f.entry.js +0 -5
- package/dist/calcite/p-4730df46.js +0 -5
- package/dist/calcite/p-47d38839.entry.js +0 -5
- package/dist/calcite/p-4aecbaef.entry.js +0 -5
- package/dist/calcite/p-4afb5a1b.system.entry.js +0 -5
- package/dist/calcite/p-54c49493.entry.js +0 -5
- package/dist/calcite/p-55e1a3a0.system.entry.js +0 -5
- package/dist/calcite/p-57e0428a.system.entry.js +0 -5
- package/dist/calcite/p-58adb34d.system.entry.js +0 -5
- package/dist/calcite/p-5a8829cd.entry.js +0 -5
- package/dist/calcite/p-614d8925.js +0 -5
- package/dist/calcite/p-6261469d.entry.js +0 -5
- package/dist/calcite/p-6ab3e489.entry.js +0 -5
- package/dist/calcite/p-6b7b23d0.js +0 -5
- package/dist/calcite/p-6c4a7041.system.entry.js +0 -5
- package/dist/calcite/p-6e0103f5.system.entry.js +0 -5
- package/dist/calcite/p-6fba3e1b.system.entry.js +0 -5
- package/dist/calcite/p-7247b667.system.entry.js +0 -5
- package/dist/calcite/p-7260c869.system.entry.js +0 -5
- package/dist/calcite/p-73d23656.entry.js +0 -5
- package/dist/calcite/p-7c88d545.js +0 -5
- package/dist/calcite/p-7dfd6480.system.entry.js +0 -5
- package/dist/calcite/p-824da4be.entry.js +0 -5
- package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
- package/dist/calcite/p-872e82a6.system.entry.js +0 -5
- package/dist/calcite/p-87888359.entry.js +0 -5
- package/dist/calcite/p-895d22f3.entry.js +0 -5
- package/dist/calcite/p-8f3a3e4e.js +0 -5
- package/dist/calcite/p-9385e4b4.system.js +0 -5
- package/dist/calcite/p-9940b82a.system.entry.js +0 -5
- package/dist/calcite/p-9ad8c7c5.system.entry.js +0 -5
- package/dist/calcite/p-9c913e3a.entry.js +0 -5
- package/dist/calcite/p-9e61d89d.entry.js +0 -5
- package/dist/calcite/p-a3527241.system.entry.js +0 -5
- package/dist/calcite/p-a38fe099.entry.js +0 -5
- package/dist/calcite/p-a9b3ef39.js +0 -5
- package/dist/calcite/p-a9ea7f4f.entry.js +0 -5
- package/dist/calcite/p-aaa21a84.system.entry.js +0 -5
- package/dist/calcite/p-aad14a5d.system.entry.js +0 -5
- package/dist/calcite/p-ac9607f2.system.js +0 -11
- package/dist/calcite/p-afe59546.entry.js +0 -5
- package/dist/calcite/p-b10af2b4.entry.js +0 -5
- package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
- package/dist/calcite/p-b47dc903.system.entry.js +0 -5
- package/dist/calcite/p-b765d197.system.js +0 -5
- package/dist/calcite/p-bb401f25.system.js +0 -5
- package/dist/calcite/p-bccbf58a.entry.js +0 -5
- package/dist/calcite/p-bcdc20c3.system.entry.js +0 -5
- package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
- package/dist/calcite/p-c228a1da.system.entry.js +0 -5
- package/dist/calcite/p-c33f47d5.system.js +0 -5
- package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
- package/dist/calcite/p-c5c42405.entry.js +0 -5
- package/dist/calcite/p-c5ec8d74.js +0 -11
- package/dist/calcite/p-c9fc13b9.system.entry.js +0 -5
- package/dist/calcite/p-cb847074.entry.js +0 -5
- package/dist/calcite/p-cd5f5c8f.js +0 -5
- package/dist/calcite/p-cd9226a1.system.entry.js +0 -5
- package/dist/calcite/p-da7c2542.entry.js +0 -5
- package/dist/calcite/p-daf5f04c.system.js +0 -5
- package/dist/calcite/p-dcf33bb2.js +0 -5
- package/dist/calcite/p-dd9f2e61.js +0 -5
- package/dist/calcite/p-e22ab8fa.entry.js +0 -5
- package/dist/calcite/p-e3280a36.system.entry.js +0 -5
- package/dist/calcite/p-e43605c5.entry.js +0 -5
- package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
- package/dist/calcite/p-e5a7ca2a.entry.js +0 -5
- package/dist/calcite/p-e65b6bfb.entry.js +0 -5
- package/dist/calcite/p-ec9bab33.system.js +0 -5
- package/dist/calcite/p-ef6b4184.js +0 -5
- package/dist/calcite/p-f09e27b0.system.js +0 -5
- package/dist/calcite/p-fe9380a0.system.js +0 -5
- package/dist/components/resources4.js +0 -32
- package/dist/components/tooltip-manager.js +0 -175
- package/dist/esm-es5/form-5e4609eb.js +0 -5
- package/dist/esm-es5/label-68f22660.js +0 -5
- package/dist/esm-es5/locale-fc850b7c.js +0 -5
- package/dist/esm-es5/number-8779395f.js +0 -5
- package/dist/esm-es5/resources-cbfcf4a3.js +0 -5
- package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, h, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
|
-
import { hexChar,
|
|
7
|
+
import { hexChar, isLonghandHex, isValidHex, normalizeHex, rgbToHex } from "../color-picker/utils";
|
|
7
8
|
import Color from "color";
|
|
8
9
|
import { CSS } from "./resources";
|
|
9
10
|
import { focusElement } from "../../utils/dom";
|
|
@@ -55,32 +56,13 @@ export class ColorPickerHexInput {
|
|
|
55
56
|
: this.formatForInternalInput(rgbToHex(this.internalColor.object()));
|
|
56
57
|
};
|
|
57
58
|
this.onInputChange = () => {
|
|
58
|
-
|
|
59
|
-
let value;
|
|
60
|
-
if (inputValue) {
|
|
61
|
-
const hex = inputValue;
|
|
62
|
-
const color = hexToRGB(`#${hex}`);
|
|
63
|
-
if (!color) {
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
value = normalizeHex(hex);
|
|
67
|
-
}
|
|
68
|
-
else if (this.allowEmpty) {
|
|
69
|
-
value = null;
|
|
70
|
-
}
|
|
71
|
-
this.value = value;
|
|
72
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
59
|
+
this.internalSetValue(this.inputNode.value, this.value);
|
|
73
60
|
};
|
|
74
61
|
/**
|
|
75
62
|
* The last valid/selected color. Used as a fallback if an invalid hex code is entered.
|
|
76
63
|
*/
|
|
77
64
|
this.internalColor = DEFAULT_COLOR;
|
|
78
65
|
this.previousNonNullValue = this.value;
|
|
79
|
-
//--------------------------------------------------------------------------
|
|
80
|
-
//
|
|
81
|
-
// Private Methods
|
|
82
|
-
//
|
|
83
|
-
//--------------------------------------------------------------------------
|
|
84
66
|
this.storeInputRef = (node) => {
|
|
85
67
|
this.inputNode = node;
|
|
86
68
|
};
|
|
@@ -95,38 +77,16 @@ export class ColorPickerHexInput {
|
|
|
95
77
|
if (value) {
|
|
96
78
|
const normalized = normalizeHex(value);
|
|
97
79
|
if (isValidHex(normalized)) {
|
|
98
|
-
this.
|
|
99
|
-
this.value = normalized;
|
|
80
|
+
this.internalSetValue(normalized, normalized, false);
|
|
100
81
|
}
|
|
101
82
|
return;
|
|
102
83
|
}
|
|
103
84
|
if (allowEmpty) {
|
|
104
|
-
this.
|
|
105
|
-
this.value = null;
|
|
85
|
+
this.internalSetValue(null, null, false);
|
|
106
86
|
}
|
|
107
87
|
}
|
|
108
88
|
handleValueChange(value, oldValue) {
|
|
109
|
-
|
|
110
|
-
const normalized = normalizeHex(value);
|
|
111
|
-
if (isValidHex(normalized)) {
|
|
112
|
-
const { internalColor } = this;
|
|
113
|
-
const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
|
|
114
|
-
this.internalColor = Color(normalized);
|
|
115
|
-
this.previousNonNullValue = normalized;
|
|
116
|
-
this.value = normalized;
|
|
117
|
-
if (changed) {
|
|
118
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
119
|
-
}
|
|
120
|
-
return;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
else if (this.allowEmpty) {
|
|
124
|
-
this.internalColor = null;
|
|
125
|
-
this.value = null;
|
|
126
|
-
this.calciteColorPickerHexInputChange.emit();
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
this.value = oldValue;
|
|
89
|
+
this.internalSetValue(value, oldValue, false);
|
|
130
90
|
}
|
|
131
91
|
// using @Listen as a workaround for VDOM listener not firing
|
|
132
92
|
onInputKeyDown(event) {
|
|
@@ -138,15 +98,16 @@ export class ColorPickerHexInput {
|
|
|
138
98
|
return;
|
|
139
99
|
}
|
|
140
100
|
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
101
|
+
const oldValue = this.value;
|
|
141
102
|
if (isNudgeKey) {
|
|
142
103
|
if (!value) {
|
|
143
|
-
this.
|
|
104
|
+
this.internalSetValue(this.previousNonNullValue, oldValue);
|
|
144
105
|
event.preventDefault();
|
|
145
106
|
return;
|
|
146
107
|
}
|
|
147
108
|
const direction = key === "ArrowUp" ? 1 : -1;
|
|
148
109
|
const bump = shiftKey ? 10 : 1;
|
|
149
|
-
this.
|
|
110
|
+
this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
|
|
150
111
|
event.preventDefault();
|
|
151
112
|
return;
|
|
152
113
|
}
|
|
@@ -166,7 +127,7 @@ export class ColorPickerHexInput {
|
|
|
166
127
|
const { intlHex, value } = this;
|
|
167
128
|
const hexInputValue = this.formatForInternalInput(value);
|
|
168
129
|
return (h("div", { class: CSS.container },
|
|
169
|
-
h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }),
|
|
130
|
+
h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }),
|
|
170
131
|
hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
171
132
|
}
|
|
172
133
|
//--------------------------------------------------------------------------
|
|
@@ -178,12 +139,47 @@ export class ColorPickerHexInput {
|
|
|
178
139
|
async setFocus() {
|
|
179
140
|
focusElement(this.inputNode);
|
|
180
141
|
}
|
|
142
|
+
//--------------------------------------------------------------------------
|
|
143
|
+
//
|
|
144
|
+
// Private Methods
|
|
145
|
+
//
|
|
146
|
+
//--------------------------------------------------------------------------
|
|
147
|
+
internalSetValue(value, oldValue, emit = true) {
|
|
148
|
+
if (value) {
|
|
149
|
+
const normalized = normalizeHex(value);
|
|
150
|
+
if (isValidHex(normalized)) {
|
|
151
|
+
const { internalColor } = this;
|
|
152
|
+
const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
|
|
153
|
+
this.internalColor = Color(normalized);
|
|
154
|
+
this.previousNonNullValue = normalized;
|
|
155
|
+
this.value = normalized;
|
|
156
|
+
if (changed && emit) {
|
|
157
|
+
this.calciteColorPickerHexInputChange.emit();
|
|
158
|
+
}
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else if (this.allowEmpty) {
|
|
163
|
+
this.internalColor = null;
|
|
164
|
+
this.value = null;
|
|
165
|
+
if (emit) {
|
|
166
|
+
this.calciteColorPickerHexInputChange.emit();
|
|
167
|
+
}
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
this.value = oldValue;
|
|
171
|
+
}
|
|
181
172
|
formatForInternalInput(hex) {
|
|
182
173
|
return hex ? hex.replace("#", "") : "";
|
|
183
174
|
}
|
|
184
175
|
nudgeRGBChannels(color, amount) {
|
|
185
176
|
return Color.rgb(color.array().map((channel) => channel + amount));
|
|
186
177
|
}
|
|
178
|
+
handleKeyDown(event) {
|
|
179
|
+
if (event.key === "Enter") {
|
|
180
|
+
event.preventDefault();
|
|
181
|
+
}
|
|
182
|
+
}
|
|
187
183
|
static get is() { return "calcite-color-picker-hex-input"; }
|
|
188
184
|
static get encapsulation() { return "shadow"; }
|
|
189
185
|
static get originalStyleUrls() { return {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, h, Prop, Watch } from "@stencil/core";
|
|
6
7
|
import Color from "color";
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, h, Prop, State, Listen, Event, Element, Method, Watch, Host } from "@stencil/core";
|
|
6
7
|
import { filter } from "../../utils/filter";
|
|
7
8
|
import { debounce } from "lodash-es";
|
|
8
|
-
import { createPopper, updatePopper, CSS as PopperCSS,
|
|
9
|
+
import { createPopper, updatePopper, CSS as PopperCSS, popperMenuComputedPlacements, defaultMenuPlacement, filterComputedPlacements } from "../../utils/popper";
|
|
9
10
|
import { guid } from "../../utils/guid";
|
|
10
11
|
import { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, TEXT } from "./resources";
|
|
11
12
|
import { getItemAncestors, getItemChildren, hasActiveChildren } from "./utils";
|
|
12
13
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
13
|
-
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
14
|
+
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
14
15
|
import { createObserver } from "../../utils/observers";
|
|
15
16
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
17
|
+
import { toAriaBoolean } from "../../utils/dom";
|
|
16
18
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
17
19
|
const itemUidPrefix = "combobox-item-";
|
|
18
20
|
const chipUidPrefix = "combobox-chip-";
|
|
@@ -57,11 +59,6 @@ export class Combobox {
|
|
|
57
59
|
* @default "Remove tag"
|
|
58
60
|
*/
|
|
59
61
|
this.intlRemoveTag = TEXT.removeTag;
|
|
60
|
-
//--------------------------------------------------------------------------
|
|
61
|
-
//
|
|
62
|
-
// Private State/Props
|
|
63
|
-
//
|
|
64
|
-
//--------------------------------------------------------------------------
|
|
65
62
|
this.internalValueChangeFlag = false;
|
|
66
63
|
this.items = [];
|
|
67
64
|
this.groupItems = [];
|
|
@@ -83,8 +80,14 @@ export class Combobox {
|
|
|
83
80
|
// Private Methods
|
|
84
81
|
//
|
|
85
82
|
// --------------------------------------------------------------------------
|
|
83
|
+
this.setFilteredPlacements = () => {
|
|
84
|
+
const { el, flipPlacements } = this;
|
|
85
|
+
this.filteredFlipPlacements = flipPlacements
|
|
86
|
+
? filterComputedPlacements(flipPlacements, el)
|
|
87
|
+
: null;
|
|
88
|
+
};
|
|
86
89
|
this.getValue = () => {
|
|
87
|
-
const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
|
|
90
|
+
const items = this.selectedItems.map((item) => { var _a; return (_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.toString(); });
|
|
88
91
|
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
|
89
92
|
};
|
|
90
93
|
this.onLabelClick = () => {
|
|
@@ -100,8 +103,9 @@ export class Combobox {
|
|
|
100
103
|
this.addCustomChip(this.text, true);
|
|
101
104
|
event.preventDefault();
|
|
102
105
|
}
|
|
103
|
-
else {
|
|
106
|
+
else if (this.active) {
|
|
104
107
|
this.active = false;
|
|
108
|
+
event.preventDefault();
|
|
105
109
|
}
|
|
106
110
|
break;
|
|
107
111
|
case "ArrowLeft":
|
|
@@ -111,22 +115,47 @@ export class Combobox {
|
|
|
111
115
|
this.nextChip();
|
|
112
116
|
break;
|
|
113
117
|
case "ArrowUp":
|
|
114
|
-
event.preventDefault();
|
|
115
|
-
this.active = true;
|
|
116
118
|
this.shiftActiveItemIndex(-1);
|
|
119
|
+
if (!this.comboboxInViewport()) {
|
|
120
|
+
this.el.scrollIntoView();
|
|
121
|
+
}
|
|
117
122
|
break;
|
|
118
123
|
case "ArrowDown":
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
if (!this.active) {
|
|
125
|
+
event.preventDefault();
|
|
126
|
+
this.active = true;
|
|
127
|
+
}
|
|
121
128
|
this.shiftActiveItemIndex(1);
|
|
129
|
+
if (!this.comboboxInViewport()) {
|
|
130
|
+
this.el.scrollIntoView();
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
case " ":
|
|
134
|
+
if (!this.textInput.value) {
|
|
135
|
+
event.preventDefault();
|
|
136
|
+
this.active = true;
|
|
137
|
+
this.shiftActiveItemIndex(1);
|
|
138
|
+
}
|
|
122
139
|
break;
|
|
123
140
|
case "Home":
|
|
124
|
-
this.active
|
|
141
|
+
if (this.active) {
|
|
142
|
+
event.preventDefault();
|
|
143
|
+
}
|
|
125
144
|
this.updateActiveItemIndex(0);
|
|
145
|
+
this.scrollToActiveItem();
|
|
146
|
+
if (!this.comboboxInViewport()) {
|
|
147
|
+
this.el.scrollIntoView();
|
|
148
|
+
}
|
|
126
149
|
break;
|
|
127
150
|
case "End":
|
|
128
|
-
this.active
|
|
151
|
+
if (this.active) {
|
|
152
|
+
event.preventDefault();
|
|
153
|
+
}
|
|
129
154
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
155
|
+
this.scrollToActiveItem();
|
|
156
|
+
if (!this.comboboxInViewport()) {
|
|
157
|
+
this.el.scrollIntoView();
|
|
158
|
+
}
|
|
130
159
|
break;
|
|
131
160
|
case "Escape":
|
|
132
161
|
this.active = false;
|
|
@@ -141,6 +170,9 @@ export class Combobox {
|
|
|
141
170
|
else if (this.allowCustomValues && this.text) {
|
|
142
171
|
this.addCustomChip(this.text, true);
|
|
143
172
|
}
|
|
173
|
+
else if (!event.defaultPrevented) {
|
|
174
|
+
submitForm(this);
|
|
175
|
+
}
|
|
144
176
|
break;
|
|
145
177
|
case "Delete":
|
|
146
178
|
case "Backspace":
|
|
@@ -151,11 +183,6 @@ export class Combobox {
|
|
|
151
183
|
this.removeLastChip();
|
|
152
184
|
}
|
|
153
185
|
break;
|
|
154
|
-
default:
|
|
155
|
-
if (!this.active) {
|
|
156
|
-
this.setFocus();
|
|
157
|
-
}
|
|
158
|
-
break;
|
|
159
186
|
}
|
|
160
187
|
};
|
|
161
188
|
this.toggleCloseEnd = () => {
|
|
@@ -189,10 +216,12 @@ export class Combobox {
|
|
|
189
216
|
}
|
|
190
217
|
this.calciteComboboxChipDismiss.emit(event.detail);
|
|
191
218
|
};
|
|
192
|
-
this.
|
|
219
|
+
this.clickHandler = (event) => {
|
|
193
220
|
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
194
221
|
return;
|
|
195
222
|
}
|
|
223
|
+
this.active = !this.active;
|
|
224
|
+
this.updateActiveItemIndex(0);
|
|
196
225
|
this.setFocus();
|
|
197
226
|
};
|
|
198
227
|
this.setInactiveIfNotContained = (event) => {
|
|
@@ -200,7 +229,7 @@ export class Combobox {
|
|
|
200
229
|
if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
201
230
|
return;
|
|
202
231
|
}
|
|
203
|
-
if (this.allowCustomValues && this.text) {
|
|
232
|
+
if (this.allowCustomValues && this.text.trim().length) {
|
|
204
233
|
this.addCustomChip(this.text);
|
|
205
234
|
}
|
|
206
235
|
if (this.selectionMode === "single") {
|
|
@@ -235,7 +264,7 @@ export class Combobox {
|
|
|
235
264
|
const find = (item, filteredData) => item &&
|
|
236
265
|
filteredData.some(({ label, value }) => {
|
|
237
266
|
if (isGroup(item)) {
|
|
238
|
-
return value === item.label
|
|
267
|
+
return value === item.label;
|
|
239
268
|
}
|
|
240
269
|
return (value === item.textLabel ||
|
|
241
270
|
value === item.value ||
|
|
@@ -280,9 +309,19 @@ export class Combobox {
|
|
|
280
309
|
this.setMaxScrollerHeight();
|
|
281
310
|
}
|
|
282
311
|
};
|
|
312
|
+
this.scrollToActiveItem = () => {
|
|
313
|
+
const activeItem = this.visibleItems[this.activeItemIndex];
|
|
314
|
+
const height = this.calculateSingleItemHeight(activeItem);
|
|
315
|
+
const { offsetHeight, scrollTop } = this.listContainerEl;
|
|
316
|
+
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
|
317
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
|
318
|
+
}
|
|
319
|
+
else if (activeItem.offsetTop < scrollTop) {
|
|
320
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
|
321
|
+
}
|
|
322
|
+
};
|
|
283
323
|
this.comboboxFocusHandler = () => {
|
|
284
324
|
var _a;
|
|
285
|
-
this.active = true;
|
|
286
325
|
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
287
326
|
};
|
|
288
327
|
this.comboboxBlurHandler = (event) => {
|
|
@@ -319,6 +358,9 @@ export class Combobox {
|
|
|
319
358
|
this.updateItems();
|
|
320
359
|
}
|
|
321
360
|
}
|
|
361
|
+
flipPlacementsHandler() {
|
|
362
|
+
this.setFilteredPlacements();
|
|
363
|
+
}
|
|
322
364
|
//--------------------------------------------------------------------------
|
|
323
365
|
//
|
|
324
366
|
// Event Listeners
|
|
@@ -332,6 +374,8 @@ export class Combobox {
|
|
|
332
374
|
return;
|
|
333
375
|
}
|
|
334
376
|
const target = event.target;
|
|
377
|
+
const newIndex = this.visibleItems.indexOf(target);
|
|
378
|
+
this.updateActiveItemIndex(newIndex);
|
|
335
379
|
this.toggleSelection(target, target.selected);
|
|
336
380
|
}
|
|
337
381
|
//--------------------------------------------------------------------------
|
|
@@ -355,7 +399,6 @@ export class Combobox {
|
|
|
355
399
|
/** Sets focus on the component. */
|
|
356
400
|
async setFocus() {
|
|
357
401
|
var _a;
|
|
358
|
-
this.active = true;
|
|
359
402
|
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
360
403
|
this.activeChipIndex = -1;
|
|
361
404
|
this.activeItemIndex = -1;
|
|
@@ -374,6 +417,7 @@ export class Combobox {
|
|
|
374
417
|
this.createPopper();
|
|
375
418
|
connectLabel(this);
|
|
376
419
|
connectForm(this);
|
|
420
|
+
this.setFilteredPlacements();
|
|
377
421
|
}
|
|
378
422
|
componentWillLoad() {
|
|
379
423
|
this.updateItems();
|
|
@@ -405,13 +449,20 @@ export class Combobox {
|
|
|
405
449
|
textHandler() {
|
|
406
450
|
this.updateActiveItemIndex(-1);
|
|
407
451
|
}
|
|
452
|
+
comboboxInViewport() {
|
|
453
|
+
const bounding = this.el.getBoundingClientRect();
|
|
454
|
+
return (bounding.top >= 0 &&
|
|
455
|
+
bounding.left >= 0 &&
|
|
456
|
+
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
|
457
|
+
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
|
458
|
+
}
|
|
408
459
|
getModifiers() {
|
|
409
460
|
const flipModifier = {
|
|
410
461
|
name: "flip",
|
|
411
462
|
enabled: true
|
|
412
463
|
};
|
|
413
464
|
flipModifier.options = {
|
|
414
|
-
fallbackPlacements: this.
|
|
465
|
+
fallbackPlacements: this.filteredFlipPlacements || popperMenuComputedPlacements
|
|
415
466
|
};
|
|
416
467
|
const eventListenerModifier = {
|
|
417
468
|
name: "eventListeners",
|
|
@@ -542,8 +593,7 @@ export class Combobox {
|
|
|
542
593
|
return this.items.map((item) => ({
|
|
543
594
|
constant: item.constant,
|
|
544
595
|
value: item.value,
|
|
545
|
-
label: item.textLabel
|
|
546
|
-
guid: item.guid
|
|
596
|
+
label: item.textLabel
|
|
547
597
|
}));
|
|
548
598
|
}
|
|
549
599
|
getNeedsIcon() {
|
|
@@ -629,19 +679,10 @@ export class Combobox {
|
|
|
629
679
|
chip === null || chip === void 0 ? void 0 : chip.setFocus();
|
|
630
680
|
}
|
|
631
681
|
shiftActiveItemIndex(delta) {
|
|
632
|
-
const length = this.visibleItems
|
|
682
|
+
const { length } = this.visibleItems;
|
|
633
683
|
const newIndex = (this.activeItemIndex + length + delta) % length;
|
|
634
684
|
this.updateActiveItemIndex(newIndex);
|
|
635
|
-
|
|
636
|
-
const activeItem = this.visibleItems[this.activeItemIndex];
|
|
637
|
-
const height = this.calculateSingleItemHeight(activeItem);
|
|
638
|
-
const { offsetHeight, scrollTop } = this.listContainerEl;
|
|
639
|
-
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
|
640
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
|
641
|
-
}
|
|
642
|
-
else if (activeItem.offsetTop < scrollTop) {
|
|
643
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
|
644
|
-
}
|
|
685
|
+
this.scrollToActiveItem();
|
|
645
686
|
}
|
|
646
687
|
updateActiveItemIndex(index) {
|
|
647
688
|
var _a;
|
|
@@ -695,7 +736,7 @@ export class Combobox {
|
|
|
695
736
|
showLabel && (h("span", { class: {
|
|
696
737
|
label: true,
|
|
697
738
|
"label--spaced": needsIcon
|
|
698
|
-
}, key: "label"
|
|
739
|
+
}, key: "label" }, selectedItem.textLabel)),
|
|
699
740
|
h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
700
741
|
input: true,
|
|
701
742
|
"input--single": true,
|
|
@@ -705,7 +746,7 @@ export class Combobox {
|
|
|
705
746
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
|
|
706
747
|
}
|
|
707
748
|
renderListBoxOptions() {
|
|
708
|
-
return this.visibleItems.map((item) => (h("li", { "aria-selected": (
|
|
749
|
+
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
709
750
|
}
|
|
710
751
|
renderPopperContainer() {
|
|
711
752
|
const { active, setMenuEl, setListContainerEl } = this;
|
|
@@ -726,18 +767,19 @@ export class Combobox {
|
|
|
726
767
|
needsIcon && (h("span", { class: "icon-start" }, (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) && (h("calcite-icon", { class: "selected-icon", icon: selectedItem.icon, scale: "s" })))));
|
|
727
768
|
}
|
|
728
769
|
renderIconEnd() {
|
|
770
|
+
const { active } = this;
|
|
729
771
|
return (h("span", { class: "icon-end" },
|
|
730
|
-
h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
772
|
+
h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
731
773
|
}
|
|
732
774
|
render() {
|
|
733
775
|
const { active, guid, label } = this;
|
|
734
776
|
const single = this.selectionMode === "single";
|
|
735
777
|
return (h(Host, { onKeyDown: this.keydownHandler },
|
|
736
|
-
h("div", { "aria-autocomplete": "list", "aria-expanded": active
|
|
778
|
+
h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
737
779
|
wrapper: true,
|
|
738
780
|
"wrapper--single": single || !this.selectedItems.length,
|
|
739
781
|
"wrapper--active": active
|
|
740
|
-
}, onClick: this.
|
|
782
|
+
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" },
|
|
741
783
|
h("div", { class: "grid-input" },
|
|
742
784
|
this.renderIconStart(),
|
|
743
785
|
!single && this.renderChips(),
|
|
@@ -1199,6 +1241,9 @@ export class Combobox {
|
|
|
1199
1241
|
}, {
|
|
1200
1242
|
"propName": "value",
|
|
1201
1243
|
"methodName": "valueHandler"
|
|
1244
|
+
}, {
|
|
1245
|
+
"propName": "flipPlacements",
|
|
1246
|
+
"methodName": "flipPlacementsHandler"
|
|
1202
1247
|
}, {
|
|
1203
1248
|
"propName": "selectedItems",
|
|
1204
1249
|
"methodName": "selectedItemsHandler"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
export const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
6
7
|
export const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -8,3 +9,7 @@ export const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
|
|
|
8
9
|
export const TEXT = {
|
|
9
10
|
removeTag: "Remove tag"
|
|
10
11
|
};
|
|
12
|
+
export const CSS = {
|
|
13
|
+
labelActive: "label--active",
|
|
14
|
+
labelSelected: "label--selected"
|
|
15
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { nodeListToArray } from "../../utils/dom";
|
|
6
7
|
import { ComboboxChildSelector } from "./resources";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, Host, Method, Prop, h, Watch } from "@stencil/core";
|
|
6
7
|
import { getElementProp, getSlotted } from "../../utils/dom";
|
|
@@ -188,7 +189,7 @@ export class ComboboxItem {
|
|
|
188
189
|
"mutable": true,
|
|
189
190
|
"complexType": {
|
|
190
191
|
"original": "ComboboxChildElement[]",
|
|
191
|
-
"resolved": "
|
|
192
|
+
"resolved": "ComboboxChildElement[]",
|
|
192
193
|
"references": {
|
|
193
194
|
"ComboboxChildElement": {
|
|
194
195
|
"location": "import",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Prop, h, Element } from "@stencil/core";
|
|
6
7
|
import { CSS } from "./resources";
|
|
@@ -51,7 +52,7 @@ export class ComboboxItemGroup {
|
|
|
51
52
|
"mutable": true,
|
|
52
53
|
"complexType": {
|
|
53
54
|
"original": "ComboboxChildElement[]",
|
|
54
|
-
"resolved": "
|
|
55
|
+
"resolved": "ComboboxChildElement[]",
|
|
55
56
|
"references": {
|
|
56
57
|
"ComboboxChildElement": {
|
|
57
58
|
"location": "import",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, h, Prop, Event, Element, Host, State, Watch, Build } from "@stencil/core";
|
|
6
7
|
import { getLocaleData } from "./utils";
|
|
@@ -227,10 +228,14 @@ export class DatePicker {
|
|
|
227
228
|
this.activeStartDate = startDate;
|
|
228
229
|
}
|
|
229
230
|
onMinChanged(min) {
|
|
230
|
-
|
|
231
|
+
if (min) {
|
|
232
|
+
this.minAsDate = dateFromISO(min);
|
|
233
|
+
}
|
|
231
234
|
}
|
|
232
235
|
onMaxChanged(max) {
|
|
233
|
-
|
|
236
|
+
if (max) {
|
|
237
|
+
this.maxAsDate = dateFromISO(max);
|
|
238
|
+
}
|
|
234
239
|
}
|
|
235
240
|
// --------------------------------------------------------------------------
|
|
236
241
|
//
|