@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,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
7
|
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
7
|
-
import { CSS, INPUT_TYPE_ICONS, SLOTS } from "./resources";
|
|
8
|
+
import { CSS, INPUT_TYPE_ICONS, SLOTS, TEXT } from "./resources";
|
|
8
9
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
10
11
|
import { getDecimalSeparator, delocalizeNumberString, localizeNumberString } from "../../utils/locale";
|
|
11
12
|
import { numberKeys } from "../../utils/key";
|
|
12
13
|
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
13
|
-
import { CSS_UTILITY, TEXT } from "../../utils/resources";
|
|
14
|
+
import { CSS_UTILITY, TEXT as COMMON_TEXT } from "../../utils/resources";
|
|
14
15
|
import { decimalPlaces } from "../../utils/math";
|
|
15
16
|
import { createObserver } from "../../utils/observers";
|
|
16
17
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -42,7 +43,7 @@ export class Input {
|
|
|
42
43
|
* string to override English loading text
|
|
43
44
|
* @default "Loading"
|
|
44
45
|
*/
|
|
45
|
-
this.intlLoading =
|
|
46
|
+
this.intlLoading = COMMON_TEXT.loading;
|
|
46
47
|
/** flip the icon in rtl */
|
|
47
48
|
this.iconFlipRtl = false;
|
|
48
49
|
/** specify if the input is in loading state */
|
|
@@ -76,19 +77,15 @@ export class Input {
|
|
|
76
77
|
this.value = "";
|
|
77
78
|
/** keep track of the rendered child type */
|
|
78
79
|
this.childElType = "input";
|
|
79
|
-
|
|
80
|
-
this.internalValueChange = false;
|
|
80
|
+
this.previousValueOrigin = "initial";
|
|
81
81
|
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
82
|
+
this.userChangedValue = false;
|
|
82
83
|
//--------------------------------------------------------------------------
|
|
83
84
|
//
|
|
84
85
|
// Private Methods
|
|
85
86
|
//
|
|
86
87
|
//--------------------------------------------------------------------------
|
|
87
88
|
this.keyDownHandler = (event) => {
|
|
88
|
-
/* prevent default behavior for input to move the cursor to the beginning of the input with every ArrowUp press */
|
|
89
|
-
if (event.key === "ArrowUp") {
|
|
90
|
-
event.preventDefault();
|
|
91
|
-
}
|
|
92
89
|
if (this.readOnly || this.disabled) {
|
|
93
90
|
return;
|
|
94
91
|
}
|
|
@@ -96,25 +93,30 @@ export class Input {
|
|
|
96
93
|
this.clearInputValue(event);
|
|
97
94
|
event.preventDefault();
|
|
98
95
|
}
|
|
96
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
97
|
+
submitForm(this);
|
|
98
|
+
}
|
|
99
99
|
};
|
|
100
100
|
this.clearInputValue = (nativeEvent) => {
|
|
101
101
|
this.setValue({
|
|
102
102
|
committing: true,
|
|
103
103
|
nativeEvent,
|
|
104
|
+
origin: "user",
|
|
104
105
|
value: ""
|
|
105
106
|
});
|
|
106
107
|
};
|
|
107
|
-
this.
|
|
108
|
-
if (this.
|
|
109
|
-
this.
|
|
108
|
+
this.emitChangeIfUserModified = () => {
|
|
109
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
110
|
+
this.calciteInputChange.emit();
|
|
110
111
|
}
|
|
112
|
+
this.previousEmittedValue = this.value;
|
|
113
|
+
};
|
|
114
|
+
this.inputBlurHandler = () => {
|
|
111
115
|
this.calciteInputBlur.emit({
|
|
112
116
|
element: this.childEl,
|
|
113
117
|
value: this.value
|
|
114
118
|
});
|
|
115
|
-
|
|
116
|
-
this.calciteInputChange.emit();
|
|
117
|
-
}
|
|
119
|
+
this.emitChangeIfUserModified();
|
|
118
120
|
};
|
|
119
121
|
this.inputFocusHandler = (event) => {
|
|
120
122
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -125,7 +127,6 @@ export class Input {
|
|
|
125
127
|
element: this.childEl,
|
|
126
128
|
value: this.value
|
|
127
129
|
});
|
|
128
|
-
this.preFocusValue = this.value;
|
|
129
130
|
};
|
|
130
131
|
this.inputInputHandler = (nativeEvent) => {
|
|
131
132
|
if (this.disabled || this.readOnly) {
|
|
@@ -133,6 +134,7 @@ export class Input {
|
|
|
133
134
|
}
|
|
134
135
|
this.setValue({
|
|
135
136
|
nativeEvent,
|
|
137
|
+
origin: "user",
|
|
136
138
|
value: nativeEvent.target.value
|
|
137
139
|
});
|
|
138
140
|
};
|
|
@@ -141,7 +143,7 @@ export class Input {
|
|
|
141
143
|
return;
|
|
142
144
|
}
|
|
143
145
|
if (event.key === "Enter") {
|
|
144
|
-
this.
|
|
146
|
+
this.emitChangeIfUserModified();
|
|
145
147
|
}
|
|
146
148
|
};
|
|
147
149
|
this.inputNumberInputHandler = (nativeEvent) => {
|
|
@@ -156,6 +158,7 @@ export class Input {
|
|
|
156
158
|
}
|
|
157
159
|
this.setValue({
|
|
158
160
|
nativeEvent,
|
|
161
|
+
origin: "user",
|
|
159
162
|
value: parseNumberString(delocalizedValue)
|
|
160
163
|
});
|
|
161
164
|
this.childNumberEl.value = this.localizedValue;
|
|
@@ -163,7 +166,8 @@ export class Input {
|
|
|
163
166
|
else {
|
|
164
167
|
this.setValue({
|
|
165
168
|
nativeEvent,
|
|
166
|
-
|
|
169
|
+
origin: "user",
|
|
170
|
+
value: delocalizedValue
|
|
167
171
|
});
|
|
168
172
|
}
|
|
169
173
|
};
|
|
@@ -172,6 +176,8 @@ export class Input {
|
|
|
172
176
|
return;
|
|
173
177
|
}
|
|
174
178
|
if (event.key === "ArrowUp") {
|
|
179
|
+
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
180
|
+
event.preventDefault();
|
|
175
181
|
this.nudgeNumberValue("up", event);
|
|
176
182
|
return;
|
|
177
183
|
}
|
|
@@ -195,7 +201,7 @@ export class Input {
|
|
|
195
201
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
196
202
|
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
197
203
|
if (event.key === "Enter") {
|
|
198
|
-
this.
|
|
204
|
+
this.emitChangeIfUserModified();
|
|
199
205
|
}
|
|
200
206
|
return;
|
|
201
207
|
}
|
|
@@ -269,6 +275,14 @@ export class Input {
|
|
|
269
275
|
}
|
|
270
276
|
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
271
277
|
};
|
|
278
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
279
|
+
this.previousEmittedValue =
|
|
280
|
+
this.type === "number"
|
|
281
|
+
? isValidNumber(newPreviousEmittedValue)
|
|
282
|
+
? newPreviousEmittedValue
|
|
283
|
+
: ""
|
|
284
|
+
: newPreviousEmittedValue;
|
|
285
|
+
};
|
|
272
286
|
this.setPreviousValue = (newPreviousValue) => {
|
|
273
287
|
this.previousValue =
|
|
274
288
|
this.type === "number"
|
|
@@ -277,7 +291,7 @@ export class Input {
|
|
|
277
291
|
: ""
|
|
278
292
|
: newPreviousValue;
|
|
279
293
|
};
|
|
280
|
-
this.setValue = ({ committing = false, nativeEvent, origin
|
|
294
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
281
295
|
const previousLocalizedValue = this.type === "number"
|
|
282
296
|
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
283
297
|
: "";
|
|
@@ -290,13 +304,14 @@ export class Input {
|
|
|
290
304
|
const newLocalizedValue = this.type === "number"
|
|
291
305
|
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
292
306
|
: "";
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
307
|
+
this.setPreviousValue(previousValue || this.value);
|
|
308
|
+
this.previousValueOrigin = origin;
|
|
309
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
295
310
|
this.value = newValue;
|
|
296
311
|
if (this.type === "number") {
|
|
297
312
|
this.localizedValue = newLocalizedValue;
|
|
298
313
|
}
|
|
299
|
-
if (origin === "
|
|
314
|
+
if (origin === "direct") {
|
|
300
315
|
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
301
316
|
}
|
|
302
317
|
if (nativeEvent) {
|
|
@@ -310,7 +325,7 @@ export class Input {
|
|
|
310
325
|
this.localizedValue = previousLocalizedValue;
|
|
311
326
|
}
|
|
312
327
|
else if (committing) {
|
|
313
|
-
this.
|
|
328
|
+
this.emitChangeIfUserModified();
|
|
314
329
|
}
|
|
315
330
|
}
|
|
316
331
|
};
|
|
@@ -331,10 +346,11 @@ export class Input {
|
|
|
331
346
|
var _a;
|
|
332
347
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
333
348
|
}
|
|
334
|
-
valueWatcher(newValue) {
|
|
335
|
-
if (!this.
|
|
349
|
+
valueWatcher(newValue, previousValue) {
|
|
350
|
+
if (!this.userChangedValue) {
|
|
336
351
|
this.setValue({
|
|
337
|
-
origin: "
|
|
352
|
+
origin: "direct",
|
|
353
|
+
previousValue,
|
|
338
354
|
value: newValue == null || newValue == ""
|
|
339
355
|
? ""
|
|
340
356
|
: this.type === "number"
|
|
@@ -345,7 +361,7 @@ export class Input {
|
|
|
345
361
|
});
|
|
346
362
|
this.warnAboutInvalidNumberValue(newValue);
|
|
347
363
|
}
|
|
348
|
-
this.
|
|
364
|
+
this.userChangedValue = false;
|
|
349
365
|
}
|
|
350
366
|
updateRequestedIcon() {
|
|
351
367
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -369,11 +385,12 @@ export class Input {
|
|
|
369
385
|
if (this.inlineEditableEl) {
|
|
370
386
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
371
387
|
}
|
|
388
|
+
this.setPreviousEmittedValue(this.value);
|
|
372
389
|
this.setPreviousValue(this.value);
|
|
373
390
|
if (this.type === "number") {
|
|
374
391
|
this.warnAboutInvalidNumberValue(this.value);
|
|
375
392
|
this.setValue({
|
|
376
|
-
origin: "
|
|
393
|
+
origin: "connected",
|
|
377
394
|
value: isValidNumber(this.value) ? this.value : ""
|
|
378
395
|
});
|
|
379
396
|
}
|
|
@@ -398,6 +415,7 @@ export class Input {
|
|
|
398
415
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
399
416
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
400
417
|
this.setValue({
|
|
418
|
+
origin: "reset",
|
|
401
419
|
value: oldValue
|
|
402
420
|
});
|
|
403
421
|
return false;
|
|
@@ -440,11 +458,13 @@ export class Input {
|
|
|
440
458
|
this.setValue({
|
|
441
459
|
committing: true,
|
|
442
460
|
nativeEvent,
|
|
461
|
+
origin: "user",
|
|
443
462
|
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
444
463
|
});
|
|
445
464
|
}
|
|
446
465
|
onFormReset() {
|
|
447
466
|
this.setValue({
|
|
467
|
+
origin: "reset",
|
|
448
468
|
value: this.defaultValue
|
|
449
469
|
});
|
|
450
470
|
}
|
|
@@ -491,7 +511,7 @@ export class Input {
|
|
|
491
511
|
const dir = getElementDir(this.el);
|
|
492
512
|
const loader = (h("div", { class: CSS.loader },
|
|
493
513
|
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
494
|
-
const inputClearButton = (h("button", { class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
514
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
495
515
|
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
496
516
|
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
497
517
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
@@ -683,6 +703,23 @@ export class Input {
|
|
|
683
703
|
"attribute": "icon",
|
|
684
704
|
"reflect": true
|
|
685
705
|
},
|
|
706
|
+
"intlClear": {
|
|
707
|
+
"type": "string",
|
|
708
|
+
"mutable": false,
|
|
709
|
+
"complexType": {
|
|
710
|
+
"original": "string",
|
|
711
|
+
"resolved": "string",
|
|
712
|
+
"references": {}
|
|
713
|
+
},
|
|
714
|
+
"required": false,
|
|
715
|
+
"optional": true,
|
|
716
|
+
"docs": {
|
|
717
|
+
"tags": [],
|
|
718
|
+
"text": "A text label that will appear on the clear button for screen readers."
|
|
719
|
+
},
|
|
720
|
+
"attribute": "intl-clear",
|
|
721
|
+
"reflect": false
|
|
722
|
+
},
|
|
686
723
|
"intlLoading": {
|
|
687
724
|
"type": "string",
|
|
688
725
|
"mutable": false,
|
|
@@ -702,7 +739,7 @@ export class Input {
|
|
|
702
739
|
},
|
|
703
740
|
"attribute": "intl-loading",
|
|
704
741
|
"reflect": false,
|
|
705
|
-
"defaultValue": "
|
|
742
|
+
"defaultValue": "COMMON_TEXT.loading"
|
|
706
743
|
},
|
|
707
744
|
"iconFlipRtl": {
|
|
708
745
|
"type": "boolean",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
export const CSS = {
|
|
6
7
|
loader: "loader",
|
|
@@ -29,3 +30,6 @@ export const INPUT_TYPE_ICONS = {
|
|
|
29
30
|
export const SLOTS = {
|
|
30
31
|
action: "action"
|
|
31
32
|
};
|
|
33
|
+
export const TEXT = {
|
|
34
|
+
clear: "Clear value"
|
|
35
|
+
};
|
|
@@ -223,6 +223,11 @@
|
|
|
223
223
|
transform: translate(0);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
:host([active]) .menu-container {
|
|
227
|
+
pointer-events: initial;
|
|
228
|
+
visibility: visible;
|
|
229
|
+
}
|
|
230
|
+
|
|
226
231
|
.menu-container--active .menu-container .calcite-popper-anim {
|
|
227
232
|
position: relative;
|
|
228
233
|
z-index: 1;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, h, Prop, Element, Host, State, Listen, Watch, Method, Event, Build } from "@stencil/core";
|
|
6
7
|
import { getLocaleData } from "../date-picker/utils";
|
|
7
8
|
import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDate } from "../../utils/date";
|
|
8
9
|
import { TEXT } from "../date-picker/resources";
|
|
9
10
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
-
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
|
-
import { createPopper, updatePopper, CSS as PopperCSS,
|
|
11
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
12
|
+
import { createPopper, updatePopper, CSS as PopperCSS, popperMenuComputedPlacements, defaultMenuPlacement, filterComputedPlacements } from "../../utils/popper";
|
|
12
13
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
14
|
+
import { toAriaBoolean } from "../../utils/dom";
|
|
13
15
|
export class InputDatePicker {
|
|
14
16
|
constructor() {
|
|
15
17
|
//--------------------------------------------------------------------------
|
|
@@ -39,6 +41,11 @@ export class InputDatePicker {
|
|
|
39
41
|
this.locale = document.documentElement.lang || "en";
|
|
40
42
|
/** specify the scale of the date picker */
|
|
41
43
|
this.scale = "m";
|
|
44
|
+
/**
|
|
45
|
+
* Determines where the date-picker component will be positioned relative to the input.
|
|
46
|
+
* @default "bottom-leading"
|
|
47
|
+
*/
|
|
48
|
+
this.placement = defaultMenuPlacement;
|
|
42
49
|
/** Range mode activation */
|
|
43
50
|
this.range = false;
|
|
44
51
|
/**
|
|
@@ -55,6 +62,17 @@ export class InputDatePicker {
|
|
|
55
62
|
this.layout = "horizontal";
|
|
56
63
|
this.focusedInput = "start";
|
|
57
64
|
this.activeTransitionProp = "opacity";
|
|
65
|
+
//--------------------------------------------------------------------------
|
|
66
|
+
//
|
|
67
|
+
// Private Methods
|
|
68
|
+
//
|
|
69
|
+
//--------------------------------------------------------------------------
|
|
70
|
+
this.setFilteredPlacements = () => {
|
|
71
|
+
const { el, flipPlacements } = this;
|
|
72
|
+
this.filteredFlipPlacements = flipPlacements
|
|
73
|
+
? filterComputedPlacements(flipPlacements, el)
|
|
74
|
+
: null;
|
|
75
|
+
};
|
|
58
76
|
this.transitionEnd = (event) => {
|
|
59
77
|
if (event.propertyName === this.activeTransitionProp) {
|
|
60
78
|
this.active
|
|
@@ -71,6 +89,11 @@ export class InputDatePicker {
|
|
|
71
89
|
this.deactivate = () => {
|
|
72
90
|
this.active = false;
|
|
73
91
|
};
|
|
92
|
+
this.keyDownHandler = (event) => {
|
|
93
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
94
|
+
submitForm(this);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
74
97
|
this.keyUpHandler = (e) => {
|
|
75
98
|
if (e.key === "Escape") {
|
|
76
99
|
this.active = false;
|
|
@@ -152,11 +175,18 @@ export class InputDatePicker {
|
|
|
152
175
|
this.end = undefined;
|
|
153
176
|
}
|
|
154
177
|
}
|
|
178
|
+
flipPlacementsHandler() {
|
|
179
|
+
this.setFilteredPlacements();
|
|
180
|
+
}
|
|
155
181
|
onMinChanged(min) {
|
|
156
|
-
|
|
182
|
+
if (min) {
|
|
183
|
+
this.minAsDate = dateFromISO(min);
|
|
184
|
+
}
|
|
157
185
|
}
|
|
158
186
|
onMaxChanged(max) {
|
|
159
|
-
|
|
187
|
+
if (max) {
|
|
188
|
+
this.maxAsDate = dateFromISO(max);
|
|
189
|
+
}
|
|
160
190
|
}
|
|
161
191
|
activeHandler() {
|
|
162
192
|
if (!this.disabled) {
|
|
@@ -191,13 +221,13 @@ export class InputDatePicker {
|
|
|
191
221
|
}
|
|
192
222
|
/** Updates the position of the component. */
|
|
193
223
|
async reposition() {
|
|
194
|
-
const { popper, menuEl } = this;
|
|
224
|
+
const { placement, popper, menuEl } = this;
|
|
195
225
|
const modifiers = this.getModifiers();
|
|
196
226
|
popper
|
|
197
227
|
? await updatePopper({
|
|
198
228
|
el: menuEl,
|
|
199
229
|
modifiers,
|
|
200
|
-
placement
|
|
230
|
+
placement,
|
|
201
231
|
popper
|
|
202
232
|
})
|
|
203
233
|
: this.createPopper();
|
|
@@ -233,6 +263,7 @@ export class InputDatePicker {
|
|
|
233
263
|
this.createPopper();
|
|
234
264
|
connectLabel(this);
|
|
235
265
|
connectForm(this);
|
|
266
|
+
this.setFilteredPlacements();
|
|
236
267
|
}
|
|
237
268
|
async componentWillLoad() {
|
|
238
269
|
await this.loadLocaleData();
|
|
@@ -256,11 +287,11 @@ export class InputDatePicker {
|
|
|
256
287
|
: null;
|
|
257
288
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
258
289
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
259
|
-
return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" },
|
|
260
|
-
this.localeData && (h("div", { "aria-expanded": this.active
|
|
290
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" },
|
|
291
|
+
this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" },
|
|
261
292
|
h("div", { class: "input-wrapper", ref: this.setStartWrapper },
|
|
262
293
|
h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })),
|
|
263
|
-
h("div", { "aria-hidden": (!this.active)
|
|
294
|
+
h("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
264
295
|
"menu-container": true,
|
|
265
296
|
"menu-container--active": this.active
|
|
266
297
|
}, ref: this.setMenuEl },
|
|
@@ -290,11 +321,6 @@ export class InputDatePicker {
|
|
|
290
321
|
: startWrapper || endWrapper;
|
|
291
322
|
this.createPopper();
|
|
292
323
|
}
|
|
293
|
-
//--------------------------------------------------------------------------
|
|
294
|
-
//
|
|
295
|
-
// Private Methods
|
|
296
|
-
//
|
|
297
|
-
//--------------------------------------------------------------------------
|
|
298
324
|
onLabelClick() {
|
|
299
325
|
this.setFocus();
|
|
300
326
|
}
|
|
@@ -304,7 +330,7 @@ export class InputDatePicker {
|
|
|
304
330
|
enabled: true
|
|
305
331
|
};
|
|
306
332
|
flipModifier.options = {
|
|
307
|
-
fallbackPlacements: this.
|
|
333
|
+
fallbackPlacements: this.filteredFlipPlacements || popperMenuComputedPlacements
|
|
308
334
|
};
|
|
309
335
|
const eventListenerModifier = {
|
|
310
336
|
name: "eventListeners",
|
|
@@ -314,7 +340,7 @@ export class InputDatePicker {
|
|
|
314
340
|
}
|
|
315
341
|
createPopper() {
|
|
316
342
|
this.destroyPopper();
|
|
317
|
-
const { menuEl, referenceEl, overlayPositioning } = this;
|
|
343
|
+
const { menuEl, placement, referenceEl, overlayPositioning } = this;
|
|
318
344
|
if (!menuEl || !referenceEl) {
|
|
319
345
|
return;
|
|
320
346
|
}
|
|
@@ -323,7 +349,7 @@ export class InputDatePicker {
|
|
|
323
349
|
el: menuEl,
|
|
324
350
|
modifiers,
|
|
325
351
|
overlayPositioning,
|
|
326
|
-
placement
|
|
352
|
+
placement,
|
|
327
353
|
referenceEl
|
|
328
354
|
});
|
|
329
355
|
}
|
|
@@ -349,15 +375,24 @@ export class InputDatePicker {
|
|
|
349
375
|
}
|
|
350
376
|
clearCurrentValue() {
|
|
351
377
|
if (!this.range) {
|
|
378
|
+
if (typeof this.value === "string" && this.value) {
|
|
379
|
+
this.calciteDatePickerChange.emit();
|
|
380
|
+
}
|
|
352
381
|
this.value = "";
|
|
353
382
|
return;
|
|
354
383
|
}
|
|
355
384
|
const { focusedInput } = this;
|
|
356
385
|
if (focusedInput === "start") {
|
|
386
|
+
if (this.start) {
|
|
387
|
+
this.calciteDatePickerRangeChange.emit();
|
|
388
|
+
}
|
|
357
389
|
this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
|
|
358
390
|
this.start = undefined;
|
|
359
391
|
}
|
|
360
392
|
else if (focusedInput === "end") {
|
|
393
|
+
if (this.end) {
|
|
394
|
+
this.calciteDatePickerRangeChange.emit();
|
|
395
|
+
}
|
|
361
396
|
this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
|
|
362
397
|
this.end = undefined;
|
|
363
398
|
}
|
|
@@ -818,6 +853,32 @@ export class InputDatePicker {
|
|
|
818
853
|
"reflect": true,
|
|
819
854
|
"defaultValue": "\"m\""
|
|
820
855
|
},
|
|
856
|
+
"placement": {
|
|
857
|
+
"type": "string",
|
|
858
|
+
"mutable": false,
|
|
859
|
+
"complexType": {
|
|
860
|
+
"original": "MenuPlacement",
|
|
861
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
|
|
862
|
+
"references": {
|
|
863
|
+
"MenuPlacement": {
|
|
864
|
+
"location": "import",
|
|
865
|
+
"path": "../../utils/popper"
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"required": false,
|
|
870
|
+
"optional": false,
|
|
871
|
+
"docs": {
|
|
872
|
+
"tags": [{
|
|
873
|
+
"name": "default",
|
|
874
|
+
"text": "\"bottom-leading\""
|
|
875
|
+
}],
|
|
876
|
+
"text": "Determines where the date-picker component will be positioned relative to the input."
|
|
877
|
+
},
|
|
878
|
+
"attribute": "placement",
|
|
879
|
+
"reflect": true,
|
|
880
|
+
"defaultValue": "defaultMenuPlacement"
|
|
881
|
+
},
|
|
821
882
|
"range": {
|
|
822
883
|
"type": "boolean",
|
|
823
884
|
"mutable": false,
|
|
@@ -1102,6 +1163,9 @@ export class InputDatePicker {
|
|
|
1102
1163
|
}, {
|
|
1103
1164
|
"propName": "value",
|
|
1104
1165
|
"methodName": "valueHandler"
|
|
1166
|
+
}, {
|
|
1167
|
+
"propName": "flipPlacements",
|
|
1168
|
+
"methodName": "flipPlacementsHandler"
|
|
1105
1169
|
}, {
|
|
1106
1170
|
"propName": "min",
|
|
1107
1171
|
"methodName": "onMinChanged"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.82
|
|
4
5
|
*/
|
|
5
6
|
import { Component, Element, Host, h, Prop, Watch } from "@stencil/core";
|
|
6
7
|
import { getElementProp, setRequestedIcon } from "../../utils/dom";
|