@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,11 +1,12 @@
|
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
6
7
|
import { c as color, d as defineCustomElement$a } from './color-picker-swatch.js';
|
|
7
8
|
import { D as DEFAULT_COLOR, T as TEXT, a as DIMENSIONS, H as HSV_LIMITS, C as CSS, d as defineCustomElement$b, b as DEFAULT_STORAGE_KEY_PREFIX, R as RGB_LIMITS } from './color-picker-hex-input.js';
|
|
8
|
-
import { f as focusElement } from './dom.js';
|
|
9
|
+
import { a as getElementDir, f as focusElement } from './dom.js';
|
|
9
10
|
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual } from './utils.js';
|
|
10
11
|
import { c as clamp } from './math.js';
|
|
11
12
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -85,7 +86,7 @@ function throttle(func, wait, options) {
|
|
|
85
86
|
});
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
const colorPickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;
|
|
89
|
+
const colorPickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;outline-offset:14px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:16px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:0.25rem;color:var(--calcite-ui-text-1)}.header--hex,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
|
|
89
90
|
|
|
90
91
|
const throttleFor60FpsInMs = 16;
|
|
91
92
|
const defaultValue = normalizeHex(DEFAULT_COLOR.hex());
|
|
@@ -484,9 +485,12 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
484
485
|
const channelAriaLabels = isRgb
|
|
485
486
|
? [intlRed, intlGreen, intlBlue]
|
|
486
487
|
: [intlHue, intlSaturation, intlValue];
|
|
487
|
-
|
|
488
|
+
const direction = getElementDir(this.el);
|
|
489
|
+
return (h("calcite-tab", { active: active, class: CSS.control, key: channelMode }, h("div", { class: CSS.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
490
|
+
/* the channel container is ltr, so we apply the host's direction */
|
|
491
|
+
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
488
492
|
};
|
|
489
|
-
this.renderChannel = (value, index, label, ariaLabel) => (h("calcite-input", { class: CSS.channel, "data-channel-index": index, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
493
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
490
494
|
this.deleteColor = () => {
|
|
491
495
|
const colorToDelete = this.color.hex();
|
|
492
496
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -541,14 +545,10 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
541
545
|
this.drawColorFieldAndSlider();
|
|
542
546
|
this.updateChannelsFromColor(color);
|
|
543
547
|
this.previousColor = oldColor;
|
|
544
|
-
if (this.internalColorUpdateContext) {
|
|
545
|
-
return;
|
|
546
|
-
}
|
|
547
|
-
this.value = this.toValue(color);
|
|
548
548
|
}
|
|
549
549
|
handleFormatChange(format) {
|
|
550
550
|
this.setMode(format);
|
|
551
|
-
this.
|
|
551
|
+
this.internalColorSet(this.color, false, "internal");
|
|
552
552
|
}
|
|
553
553
|
handleScaleChange(scale = "m") {
|
|
554
554
|
this.updateDimensions(scale);
|
|
@@ -568,10 +568,10 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
568
568
|
this.setMode(nextMode);
|
|
569
569
|
}
|
|
570
570
|
const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
|
|
571
|
-
if (this.internalColorUpdateContext) {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
571
|
+
if (this.internalColorUpdateContext === "initial") {
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
574
|
+
if (this.internalColorUpdateContext === "user-interaction") {
|
|
575
575
|
this.calciteColorPickerInput.emit();
|
|
576
576
|
if (!dragging) {
|
|
577
577
|
this.calciteColorPickerChange.emit();
|
|
@@ -581,11 +581,7 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
581
581
|
const color$1 = allowEmpty && !value ? null : color(value);
|
|
582
582
|
const colorChanged = !colorEqual(color$1, this.color);
|
|
583
583
|
if (modeChanged || colorChanged) {
|
|
584
|
-
this.color
|
|
585
|
-
this.calciteColorPickerInput.emit();
|
|
586
|
-
if (!dragging) {
|
|
587
|
-
this.calciteColorPickerChange.emit();
|
|
588
|
-
}
|
|
584
|
+
this.internalColorSet(color$1, true, "internal");
|
|
589
585
|
}
|
|
590
586
|
}
|
|
591
587
|
//--------------------------------------------------------------------------
|
|
@@ -693,6 +689,11 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
693
689
|
// Private Methods
|
|
694
690
|
//
|
|
695
691
|
//--------------------------------------------------------------------------
|
|
692
|
+
handleKeyDown(event) {
|
|
693
|
+
if (event.key === "Enter") {
|
|
694
|
+
event.preventDefault();
|
|
695
|
+
}
|
|
696
|
+
}
|
|
696
697
|
showIncompatibleColorWarning(value, format) {
|
|
697
698
|
console.warn(`ignoring color value (${value}) as it is not compatible with the current format (${format})`);
|
|
698
699
|
}
|
|
@@ -714,7 +715,7 @@ const ColorPicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
714
715
|
}
|
|
715
716
|
return "none";
|
|
716
717
|
}
|
|
717
|
-
internalColorSet(color, skipEqual = true, context = "
|
|
718
|
+
internalColorSet(color, skipEqual = true, context = "user-interaction") {
|
|
718
719
|
if (skipEqual && colorEqual(color, this.color)) {
|
|
719
720
|
return;
|
|
720
721
|
}
|
|
@@ -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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
6
7
|
import { d as getAncestors, e as getDepth } from './utils2.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
7
|
import { g as getElementProp, b as getSlotted } from './dom.js';
|
|
@@ -23,7 +24,7 @@ const CSS = {
|
|
|
23
24
|
textContainer: "text-container"
|
|
24
25
|
};
|
|
25
26
|
|
|
26
|
-
const comboboxItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
27
|
+
const comboboxItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
27
28
|
|
|
28
29
|
const ComboboxItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
29
30
|
constructor() {
|
|
@@ -1,17 +1,19 @@
|
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
7
|
import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
|
|
7
8
|
import { i as isArray, f as forIn } from './forIn.js';
|
|
8
|
-
import { u as updatePopper, c as createPopper, a as defaultMenuPlacement, p as
|
|
9
|
+
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, a as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS } from './popper.js';
|
|
9
10
|
import { g as guid } from './guid.js';
|
|
10
11
|
import { T as TEXT, C as ComboboxChildSelector, g as getItemAncestors, a as getItemChildren, h as hasActiveChildren, b as ComboboxItem, c as ComboboxItemGroup } from './utils2.js';
|
|
11
12
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
12
|
-
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
13
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
13
14
|
import { c as createObserver } from './observers.js';
|
|
14
15
|
import { u as updateHostInteraction } from './interactive.js';
|
|
16
|
+
import { t as toAriaBoolean } from './dom.js';
|
|
15
17
|
import { d as defineCustomElement$3 } from './chip.js';
|
|
16
18
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
17
19
|
|
|
@@ -134,7 +136,7 @@ const filter = (data, value) => {
|
|
|
134
136
|
}
|
|
135
137
|
let found = false;
|
|
136
138
|
forIn(input, (val) => {
|
|
137
|
-
if (typeof val === "function") {
|
|
139
|
+
if (typeof val === "function" || val == null /* intentional == to catch undefined */) {
|
|
138
140
|
return;
|
|
139
141
|
}
|
|
140
142
|
if (Array.isArray(val) || (typeof val === "object" && val !== null)) {
|
|
@@ -206,11 +208,6 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
206
208
|
* @default "Remove tag"
|
|
207
209
|
*/
|
|
208
210
|
this.intlRemoveTag = TEXT.removeTag;
|
|
209
|
-
//--------------------------------------------------------------------------
|
|
210
|
-
//
|
|
211
|
-
// Private State/Props
|
|
212
|
-
//
|
|
213
|
-
//--------------------------------------------------------------------------
|
|
214
211
|
this.internalValueChangeFlag = false;
|
|
215
212
|
this.items = [];
|
|
216
213
|
this.groupItems = [];
|
|
@@ -232,8 +229,14 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
232
229
|
// Private Methods
|
|
233
230
|
//
|
|
234
231
|
// --------------------------------------------------------------------------
|
|
232
|
+
this.setFilteredPlacements = () => {
|
|
233
|
+
const { el, flipPlacements } = this;
|
|
234
|
+
this.filteredFlipPlacements = flipPlacements
|
|
235
|
+
? filterComputedPlacements(flipPlacements, el)
|
|
236
|
+
: null;
|
|
237
|
+
};
|
|
235
238
|
this.getValue = () => {
|
|
236
|
-
const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
|
|
239
|
+
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(); });
|
|
237
240
|
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
|
238
241
|
};
|
|
239
242
|
this.onLabelClick = () => {
|
|
@@ -249,8 +252,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
249
252
|
this.addCustomChip(this.text, true);
|
|
250
253
|
event.preventDefault();
|
|
251
254
|
}
|
|
252
|
-
else {
|
|
255
|
+
else if (this.active) {
|
|
253
256
|
this.active = false;
|
|
257
|
+
event.preventDefault();
|
|
254
258
|
}
|
|
255
259
|
break;
|
|
256
260
|
case "ArrowLeft":
|
|
@@ -260,22 +264,47 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
260
264
|
this.nextChip();
|
|
261
265
|
break;
|
|
262
266
|
case "ArrowUp":
|
|
263
|
-
event.preventDefault();
|
|
264
|
-
this.active = true;
|
|
265
267
|
this.shiftActiveItemIndex(-1);
|
|
268
|
+
if (!this.comboboxInViewport()) {
|
|
269
|
+
this.el.scrollIntoView();
|
|
270
|
+
}
|
|
266
271
|
break;
|
|
267
272
|
case "ArrowDown":
|
|
268
|
-
|
|
269
|
-
|
|
273
|
+
if (!this.active) {
|
|
274
|
+
event.preventDefault();
|
|
275
|
+
this.active = true;
|
|
276
|
+
}
|
|
270
277
|
this.shiftActiveItemIndex(1);
|
|
278
|
+
if (!this.comboboxInViewport()) {
|
|
279
|
+
this.el.scrollIntoView();
|
|
280
|
+
}
|
|
281
|
+
break;
|
|
282
|
+
case " ":
|
|
283
|
+
if (!this.textInput.value) {
|
|
284
|
+
event.preventDefault();
|
|
285
|
+
this.active = true;
|
|
286
|
+
this.shiftActiveItemIndex(1);
|
|
287
|
+
}
|
|
271
288
|
break;
|
|
272
289
|
case "Home":
|
|
273
|
-
this.active
|
|
290
|
+
if (this.active) {
|
|
291
|
+
event.preventDefault();
|
|
292
|
+
}
|
|
274
293
|
this.updateActiveItemIndex(0);
|
|
294
|
+
this.scrollToActiveItem();
|
|
295
|
+
if (!this.comboboxInViewport()) {
|
|
296
|
+
this.el.scrollIntoView();
|
|
297
|
+
}
|
|
275
298
|
break;
|
|
276
299
|
case "End":
|
|
277
|
-
this.active
|
|
300
|
+
if (this.active) {
|
|
301
|
+
event.preventDefault();
|
|
302
|
+
}
|
|
278
303
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
304
|
+
this.scrollToActiveItem();
|
|
305
|
+
if (!this.comboboxInViewport()) {
|
|
306
|
+
this.el.scrollIntoView();
|
|
307
|
+
}
|
|
279
308
|
break;
|
|
280
309
|
case "Escape":
|
|
281
310
|
this.active = false;
|
|
@@ -290,6 +319,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
290
319
|
else if (this.allowCustomValues && this.text) {
|
|
291
320
|
this.addCustomChip(this.text, true);
|
|
292
321
|
}
|
|
322
|
+
else if (!event.defaultPrevented) {
|
|
323
|
+
submitForm(this);
|
|
324
|
+
}
|
|
293
325
|
break;
|
|
294
326
|
case "Delete":
|
|
295
327
|
case "Backspace":
|
|
@@ -300,11 +332,6 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
300
332
|
this.removeLastChip();
|
|
301
333
|
}
|
|
302
334
|
break;
|
|
303
|
-
default:
|
|
304
|
-
if (!this.active) {
|
|
305
|
-
this.setFocus();
|
|
306
|
-
}
|
|
307
|
-
break;
|
|
308
335
|
}
|
|
309
336
|
};
|
|
310
337
|
this.toggleCloseEnd = () => {
|
|
@@ -338,10 +365,12 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
338
365
|
}
|
|
339
366
|
this.calciteComboboxChipDismiss.emit(event.detail);
|
|
340
367
|
};
|
|
341
|
-
this.
|
|
368
|
+
this.clickHandler = (event) => {
|
|
342
369
|
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
343
370
|
return;
|
|
344
371
|
}
|
|
372
|
+
this.active = !this.active;
|
|
373
|
+
this.updateActiveItemIndex(0);
|
|
345
374
|
this.setFocus();
|
|
346
375
|
};
|
|
347
376
|
this.setInactiveIfNotContained = (event) => {
|
|
@@ -349,7 +378,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
349
378
|
if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
350
379
|
return;
|
|
351
380
|
}
|
|
352
|
-
if (this.allowCustomValues && this.text) {
|
|
381
|
+
if (this.allowCustomValues && this.text.trim().length) {
|
|
353
382
|
this.addCustomChip(this.text);
|
|
354
383
|
}
|
|
355
384
|
if (this.selectionMode === "single") {
|
|
@@ -384,7 +413,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
384
413
|
const find = (item, filteredData) => item &&
|
|
385
414
|
filteredData.some(({ label, value }) => {
|
|
386
415
|
if (isGroup(item)) {
|
|
387
|
-
return value === item.label
|
|
416
|
+
return value === item.label;
|
|
388
417
|
}
|
|
389
418
|
return (value === item.textLabel ||
|
|
390
419
|
value === item.value ||
|
|
@@ -429,9 +458,19 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
429
458
|
this.setMaxScrollerHeight();
|
|
430
459
|
}
|
|
431
460
|
};
|
|
461
|
+
this.scrollToActiveItem = () => {
|
|
462
|
+
const activeItem = this.visibleItems[this.activeItemIndex];
|
|
463
|
+
const height = this.calculateSingleItemHeight(activeItem);
|
|
464
|
+
const { offsetHeight, scrollTop } = this.listContainerEl;
|
|
465
|
+
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
|
466
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
|
467
|
+
}
|
|
468
|
+
else if (activeItem.offsetTop < scrollTop) {
|
|
469
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
|
470
|
+
}
|
|
471
|
+
};
|
|
432
472
|
this.comboboxFocusHandler = () => {
|
|
433
473
|
var _a;
|
|
434
|
-
this.active = true;
|
|
435
474
|
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
436
475
|
};
|
|
437
476
|
this.comboboxBlurHandler = (event) => {
|
|
@@ -468,6 +507,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
468
507
|
this.updateItems();
|
|
469
508
|
}
|
|
470
509
|
}
|
|
510
|
+
flipPlacementsHandler() {
|
|
511
|
+
this.setFilteredPlacements();
|
|
512
|
+
}
|
|
471
513
|
//--------------------------------------------------------------------------
|
|
472
514
|
//
|
|
473
515
|
// Event Listeners
|
|
@@ -481,6 +523,8 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
481
523
|
return;
|
|
482
524
|
}
|
|
483
525
|
const target = event.target;
|
|
526
|
+
const newIndex = this.visibleItems.indexOf(target);
|
|
527
|
+
this.updateActiveItemIndex(newIndex);
|
|
484
528
|
this.toggleSelection(target, target.selected);
|
|
485
529
|
}
|
|
486
530
|
//--------------------------------------------------------------------------
|
|
@@ -504,7 +548,6 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
504
548
|
/** Sets focus on the component. */
|
|
505
549
|
async setFocus() {
|
|
506
550
|
var _a;
|
|
507
|
-
this.active = true;
|
|
508
551
|
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
509
552
|
this.activeChipIndex = -1;
|
|
510
553
|
this.activeItemIndex = -1;
|
|
@@ -523,6 +566,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
523
566
|
this.createPopper();
|
|
524
567
|
connectLabel(this);
|
|
525
568
|
connectForm(this);
|
|
569
|
+
this.setFilteredPlacements();
|
|
526
570
|
}
|
|
527
571
|
componentWillLoad() {
|
|
528
572
|
this.updateItems();
|
|
@@ -554,13 +598,20 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
554
598
|
textHandler() {
|
|
555
599
|
this.updateActiveItemIndex(-1);
|
|
556
600
|
}
|
|
601
|
+
comboboxInViewport() {
|
|
602
|
+
const bounding = this.el.getBoundingClientRect();
|
|
603
|
+
return (bounding.top >= 0 &&
|
|
604
|
+
bounding.left >= 0 &&
|
|
605
|
+
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
|
606
|
+
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
|
607
|
+
}
|
|
557
608
|
getModifiers() {
|
|
558
609
|
const flipModifier = {
|
|
559
610
|
name: "flip",
|
|
560
611
|
enabled: true
|
|
561
612
|
};
|
|
562
613
|
flipModifier.options = {
|
|
563
|
-
fallbackPlacements: this.
|
|
614
|
+
fallbackPlacements: this.filteredFlipPlacements || popperMenuComputedPlacements
|
|
564
615
|
};
|
|
565
616
|
const eventListenerModifier = {
|
|
566
617
|
name: "eventListeners",
|
|
@@ -691,8 +742,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
691
742
|
return this.items.map((item) => ({
|
|
692
743
|
constant: item.constant,
|
|
693
744
|
value: item.value,
|
|
694
|
-
label: item.textLabel
|
|
695
|
-
guid: item.guid
|
|
745
|
+
label: item.textLabel
|
|
696
746
|
}));
|
|
697
747
|
}
|
|
698
748
|
getNeedsIcon() {
|
|
@@ -778,19 +828,10 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
778
828
|
chip === null || chip === void 0 ? void 0 : chip.setFocus();
|
|
779
829
|
}
|
|
780
830
|
shiftActiveItemIndex(delta) {
|
|
781
|
-
const length = this.visibleItems
|
|
831
|
+
const { length } = this.visibleItems;
|
|
782
832
|
const newIndex = (this.activeItemIndex + length + delta) % length;
|
|
783
833
|
this.updateActiveItemIndex(newIndex);
|
|
784
|
-
|
|
785
|
-
const activeItem = this.visibleItems[this.activeItemIndex];
|
|
786
|
-
const height = this.calculateSingleItemHeight(activeItem);
|
|
787
|
-
const { offsetHeight, scrollTop } = this.listContainerEl;
|
|
788
|
-
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
|
789
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
|
790
|
-
}
|
|
791
|
-
else if (activeItem.offsetTop < scrollTop) {
|
|
792
|
-
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
|
793
|
-
}
|
|
834
|
+
this.scrollToActiveItem();
|
|
794
835
|
}
|
|
795
836
|
updateActiveItemIndex(index) {
|
|
796
837
|
var _a;
|
|
@@ -843,7 +884,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
843
884
|
} }, showLabel && (h("span", { class: {
|
|
844
885
|
label: true,
|
|
845
886
|
"label--spaced": needsIcon
|
|
846
|
-
}, key: "label"
|
|
887
|
+
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
847
888
|
input: true,
|
|
848
889
|
"input--single": true,
|
|
849
890
|
"input--transparent": this.activeChipIndex > -1,
|
|
@@ -852,7 +893,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
852
893
|
}, 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" })));
|
|
853
894
|
}
|
|
854
895
|
renderListBoxOptions() {
|
|
855
|
-
return this.visibleItems.map((item) => (h("li", { "aria-selected": (
|
|
896
|
+
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)));
|
|
856
897
|
}
|
|
857
898
|
renderPopperContainer() {
|
|
858
899
|
const { active, setMenuEl, setListContainerEl } = this;
|
|
@@ -870,16 +911,17 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
870
911
|
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" })))));
|
|
871
912
|
}
|
|
872
913
|
renderIconEnd() {
|
|
873
|
-
|
|
914
|
+
const { active } = this;
|
|
915
|
+
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
874
916
|
}
|
|
875
917
|
render() {
|
|
876
918
|
const { active, guid, label } = this;
|
|
877
919
|
const single = this.selectionMode === "single";
|
|
878
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": active
|
|
920
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
879
921
|
wrapper: true,
|
|
880
922
|
"wrapper--single": single || !this.selectedItems.length,
|
|
881
923
|
"wrapper--active": active
|
|
882
|
-
}, onClick: this.
|
|
924
|
+
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
883
925
|
}
|
|
884
926
|
get el() { return this; }
|
|
885
927
|
static get watchers() { return {
|
|
@@ -887,6 +929,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
887
929
|
"disabled": ["handleDisabledChange"],
|
|
888
930
|
"maxItems": ["maxItemsHandler"],
|
|
889
931
|
"value": ["valueHandler"],
|
|
932
|
+
"flipPlacements": ["flipPlacementsHandler"],
|
|
890
933
|
"selectedItems": ["selectedItemsHandler"],
|
|
891
934
|
"text": ["textHandler"]
|
|
892
935
|
}; }
|
|
@@ -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 { D as DatePickerDay, d as defineCustomElement$1 } from './date-picker-day.js';
|
|
6
7
|
|
|
@@ -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 { D as DatePickerMonthHeader, d as defineCustomElement$1 } from './date-picker-month-header.js';
|
|
6
7
|
|
|
@@ -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 { D as DatePickerMonth, d as defineCustomElement$1 } from './date-picker-month.js';
|
|
6
7
|
|
|
@@ -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 { D as DatePicker, d as defineCustomElement$1 } from './date-picker.js';
|
|
6
7
|
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
7
|
import { g as getElementProp } from './dom.js';
|
|
@@ -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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
-
import { g as getElementProp } from './dom.js';
|
|
7
|
+
import { g as getElementProp, t as toAriaBoolean } from './dom.js';
|
|
7
8
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
8
9
|
|
|
9
10
|
const CSS = {
|
|
@@ -48,12 +49,11 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
48
49
|
// Lifecycle
|
|
49
50
|
//
|
|
50
51
|
//--------------------------------------------------------------------------
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
this.initialize();
|
|
54
|
+
}
|
|
51
55
|
connectedCallback() {
|
|
52
|
-
this.
|
|
53
|
-
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
54
|
-
if (this.selectionMode === "none") {
|
|
55
|
-
this.active = false;
|
|
56
|
-
}
|
|
56
|
+
this.initialize();
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const scale = getElementProp(this.el, "scale", "m");
|
|
@@ -75,7 +75,7 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
75
75
|
: this.selectionMode === "multi"
|
|
76
76
|
? "menuitemcheckbox"
|
|
77
77
|
: "menuitem";
|
|
78
|
-
const itemAria = this.selectionMode !== "none" ? this.active
|
|
78
|
+
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
|
|
79
79
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
|
80
80
|
container: true,
|
|
81
81
|
[CSS.containerLink]: !!this.href,
|
|
@@ -136,6 +136,13 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
136
136
|
// Private Methods
|
|
137
137
|
//
|
|
138
138
|
//--------------------------------------------------------------------------
|
|
139
|
+
initialize() {
|
|
140
|
+
this.selectionMode = getElementProp(this.el, "selection-mode", "single");
|
|
141
|
+
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
|
142
|
+
if (this.selectionMode === "none") {
|
|
143
|
+
this.active = false;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
139
146
|
determineActiveItem() {
|
|
140
147
|
switch (this.selectionMode) {
|
|
141
148
|
case "multi":
|
|
@@ -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 { D as Dropdown, d as defineCustomElement$1 } from './dropdown.js';
|
|
6
7
|
|
|
@@ -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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
6
7
|
import { f as focusElement } from './dom.js';
|
|
@@ -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 { F as Filter, d as defineCustomElement$1 } from './filter.js';
|
|
6
7
|
|