@esri/calcite-components 1.0.0-beta.81 → 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/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 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-0ba791df.entry.js → p-01386e9f.entry.js} +2 -2
- package/dist/calcite/p-01dc5605.entry.js +6 -0
- package/dist/calcite/p-0349dbb1.system.js +6 -0
- package/dist/calcite/{p-f5a00782.entry.js → p-03f1df01.entry.js} +2 -2
- package/dist/calcite/p-06320e6a.entry.js +6 -0
- package/dist/calcite/{p-4f04264f.system.entry.js → p-06d14664.system.entry.js} +2 -2
- 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-99520e50.js → p-0dbcb343.js} +1 -1
- package/dist/calcite/{p-5ed8397b.js → p-1094dab2.js} +1 -1
- package/dist/calcite/{p-117836c2.system.entry.js → p-11d0e13f.system.entry.js} +2 -2
- package/dist/calcite/{p-4275a429.system.js → p-164bea30.system.js} +2 -2
- package/dist/calcite/{p-a9630b98.js → p-18bcf729.js} +1 -1
- package/dist/calcite/{p-0f0713c7.entry.js → p-1af2a45c.entry.js} +2 -2
- package/dist/calcite/p-20f86b1d.entry.js +6 -0
- package/dist/calcite/p-21dbd253.system.js +6 -0
- package/dist/calcite/{p-769054e6.entry.js → p-23a643c6.entry.js} +2 -2
- package/dist/calcite/{p-8d9d8984.system.entry.js → p-23ab0d5a.system.entry.js} +2 -2
- package/dist/calcite/{p-7c32da09.entry.js → p-2681265e.entry.js} +2 -2
- package/dist/calcite/p-27de1d41.entry.js +6 -0
- package/dist/calcite/{p-40a15f4a.system.entry.js → p-28dc602c.system.entry.js} +2 -2
- package/dist/calcite/p-2e9f9de6.system.entry.js +6 -0
- package/dist/calcite/{p-4f443e21.system.entry.js → p-2f977a66.system.entry.js} +2 -2
- package/dist/calcite/{p-be0551f8.system.js → p-30dfc127.system.js} +1 -1
- package/dist/calcite/{p-23c9c6f9.js → p-33694839.js} +1 -1
- package/dist/calcite/{p-34cf7a42.entry.js → p-33d317d6.entry.js} +2 -2
- package/dist/calcite/p-358263ac.system.js +6 -0
- package/dist/calcite/{p-2f07bcb4.system.js → p-3819513d.system.js} +1 -1
- package/dist/calcite/p-3b01dd13.system.entry.js +6 -0
- package/dist/calcite/{p-045f28b2.entry.js → p-3c3ec245.entry.js} +2 -2
- 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-3119474f.entry.js → p-3e92df28.entry.js} +2 -2
- package/dist/calcite/p-410b7a2a.system.entry.js +6 -0
- package/dist/calcite/{p-ae4a167e.system.js → p-43d72920.system.js} +2 -2
- package/dist/calcite/{p-de040bc0.entry.js → p-44061788.entry.js} +2 -2
- package/dist/calcite/{p-cb3633ce.system.entry.js → p-446cb0a3.system.entry.js} +2 -2
- package/dist/calcite/{p-72ab20ed.system.entry.js → p-474380ed.system.entry.js} +2 -2
- package/dist/calcite/{p-cec925c5.system.entry.js → p-4a6fda6a.system.entry.js} +2 -2
- package/dist/calcite/{p-c62291e6.system.entry.js → p-4c3ce7bd.system.entry.js} +2 -2
- package/dist/calcite/{p-e3f1b697.system.entry.js → p-4cd8e82e.system.entry.js} +2 -2
- package/dist/calcite/{p-7e9cac29.system.entry.js → p-4f823472.system.entry.js} +2 -2
- package/dist/calcite/p-508a7e13.system.entry.js +6 -0
- package/dist/calcite/p-5234dd2e.system.entry.js +6 -0
- package/dist/calcite/{p-8117e07b.system.js → p-55057483.system.js} +1 -1
- package/dist/calcite/{p-2363fc48.system.entry.js → p-56096486.system.entry.js} +2 -2
- package/dist/calcite/p-5adf6e11.entry.js +6 -0
- package/dist/calcite/{p-22e1813c.entry.js → p-62e44703.entry.js} +2 -2
- package/dist/calcite/{p-329ade24.system.entry.js → p-64f15878.system.entry.js} +2 -2
- 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-7ebc956d.system.js → p-68277cce.system.js} +1 -1
- 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-fb726bdd.system.js → p-6ca6734d.system.js} +1 -1
- package/dist/calcite/p-6d1d2449.entry.js +6 -0
- package/dist/calcite/p-6e8677ae.entry.js +6 -0
- package/dist/calcite/{p-f8d2efa3.js → p-70f33b3e.js} +1 -1
- 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-89146101.entry.js → p-792fd998.entry.js} +2 -2
- package/dist/calcite/{p-4ff2f38c.entry.js → p-7ae35ad7.entry.js} +2 -2
- package/dist/calcite/p-7dcdfeac.entry.js +6 -0
- package/dist/calcite/{p-db2360e6.js → p-7f183647.js} +1 -1
- package/dist/calcite/{p-daf452fa.entry.js → p-7f556dbd.entry.js} +2 -2
- package/dist/calcite/p-80d62897.entry.js +6 -0
- package/dist/calcite/{p-c82c3a08.entry.js → p-80e8926a.entry.js} +2 -2
- package/dist/calcite/{p-c76d5a12.entry.js → p-82da0c62.entry.js} +2 -2
- package/dist/calcite/{p-d7f31cff.system.js → p-83192ea5.system.js} +1 -1
- package/dist/calcite/p-8319da8e.entry.js +6 -0
- package/dist/calcite/{p-1d3ba736.system.entry.js → p-83cc50f2.system.entry.js} +2 -2
- package/dist/calcite/p-84cd0598.system.entry.js +6 -0
- package/dist/calcite/{p-9b7b6b30.entry.js → p-8505461f.entry.js} +2 -2
- package/dist/calcite/p-86904d57.entry.js +6 -0
- package/dist/calcite/{p-55d64bae.system.entry.js → p-87698ac7.system.entry.js} +2 -2
- package/dist/calcite/{p-2a4bbfa2.system.entry.js → p-87aae2e3.system.entry.js} +2 -2
- package/dist/calcite/{p-5dd1e943.system.js → p-88147c4a.system.js} +1 -1
- package/dist/calcite/{p-5a3414c7.js → p-89b2f38d.js} +1 -1
- package/dist/calcite/p-8a87f2b7.system.entry.js +6 -0
- package/dist/calcite/{p-bef4c06f.system.js → p-8b0ea955.system.js} +1 -1
- 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-69fdc534.entry.js → p-9802e5ca.entry.js} +2 -2
- package/dist/calcite/p-9969deb4.system.entry.js +6 -0
- package/dist/calcite/{p-82c05795.js → p-997202fe.js} +2 -2
- package/dist/calcite/{p-609f05ef.entry.js → p-9987d5e9.entry.js} +2 -2
- package/dist/calcite/p-9d9629d5.system.entry.js +6 -0
- package/dist/calcite/p-9f50e2fe.system.entry.js +6 -0
- package/dist/calcite/{p-f839293b.system.js → p-a0f7fe5b.system.js} +2 -2
- package/dist/calcite/p-a1076e59.system.js +6 -0
- package/dist/calcite/p-a1f93b32.js +6 -0
- package/dist/calcite/{p-e131dae7.system.entry.js → p-a3074bb4.system.entry.js} +2 -2
- package/dist/calcite/{p-e837987d.system.js → p-a3d47df8.system.js} +1 -1
- package/dist/calcite/{p-26fc61bb.system.js → p-a4729c51.system.js} +2 -2
- package/dist/calcite/{p-ffc13e2d.entry.js → p-a56b2d66.entry.js} +2 -2
- package/dist/calcite/{p-8729fefb.entry.js → p-a66f170f.entry.js} +2 -2
- package/dist/calcite/{p-e4a047e7.system.entry.js → p-aaad5997.system.entry.js} +2 -2
- package/dist/calcite/p-aadce719.entry.js +6 -0
- package/dist/calcite/p-ad58c01e.system.js +6 -0
- package/dist/calcite/{p-948a5bba.system.entry.js → p-aea7886a.system.entry.js} +2 -2
- package/dist/calcite/p-aeaaccdf.entry.js +6 -0
- package/dist/calcite/{p-47913e44.system.entry.js → p-b2947a00.system.entry.js} +2 -2
- package/dist/calcite/p-b571cc54.system.entry.js +6 -0
- package/dist/calcite/p-b8132e75.system.entry.js +6 -0
- package/dist/calcite/{p-1b7e43a7.js → p-bf2fe8b0.js} +2 -2
- package/dist/calcite/p-c665108b.entry.js +6 -0
- package/dist/calcite/{p-1866c3d6.entry.js → p-c76d3ea1.entry.js} +2 -2
- 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-24db2b0a.system.js → p-ca9efa2d.system.js} +1 -1
- package/dist/calcite/p-cc1b5a8a.entry.js +6 -0
- package/dist/calcite/p-cc425495.entry.js +6 -0
- package/dist/calcite/{p-99bd5049.system.js → p-cca09bde.system.js} +1 -1
- package/dist/calcite/p-cfbb3f0f.system.entry.js +6 -0
- package/dist/calcite/{p-61021069.system.js → p-d04eb041.system.js} +1 -1
- package/dist/calcite/{p-c477a6ac.system.entry.js → p-d22143e9.system.entry.js} +2 -2
- package/dist/calcite/p-d2e3fa31.system.entry.js +6 -0
- package/dist/calcite/p-d38ffb30.js +6 -0
- package/dist/calcite/{p-aad21300.system.js → p-d40e595b.system.js} +2 -2
- package/dist/calcite/p-d484cd1b.system.entry.js +6 -0
- package/dist/calcite/{p-a3478523.js → p-d6381f74.js} +1 -1
- package/dist/calcite/p-d674d041.entry.js +6 -0
- package/dist/calcite/{p-e64fc8d7.entry.js → p-d76afd8f.entry.js} +2 -2
- package/dist/calcite/p-da7761d3.js +6 -0
- package/dist/calcite/{p-dfd0c1ce.js → p-dc14a2a0.js} +1 -1
- package/dist/calcite/{p-f3ba8a0a.entry.js → p-dc1d1b83.entry.js} +2 -2
- package/dist/calcite/{p-3ceba891.js → p-dd444456.js} +2 -2
- package/dist/calcite/p-df476c53.system.entry.js +6 -0
- package/dist/calcite/p-e086d5bc.entry.js +6 -0
- package/dist/calcite/{p-14ca50d9.entry.js → p-e0fb9338.entry.js} +2 -2
- package/dist/calcite/{p-21461822.entry.js → p-e2bc1677.entry.js} +2 -2
- package/dist/calcite/{p-ed535fb3.system.js → p-e3ee7868.system.js} +1 -1
- 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-3113528a.js → p-e9e1dee1.js} +1 -1
- 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-90660203.js → p-ee9b4197.js} +1 -1
- package/dist/calcite/{p-bddde234.system.entry.js → p-ef059155.system.entry.js} +2 -2
- package/dist/calcite/{p-2bcf0f54.js → p-f383e414.js} +2 -2
- package/dist/calcite/{p-44f00a2a.system.entry.js → p-f5394fa4.system.entry.js} +2 -2
- package/dist/calcite/p-f74193a3.js +6 -0
- package/dist/calcite/{p-3412c57d.system.js → p-f86fd5f9.system.js} +2 -2
- package/dist/calcite/p-f8d59d84.entry.js +6 -0
- package/dist/calcite/{p-a2b46564.entry.js → p-fa2ce2ae.entry.js} +2 -2
- package/dist/calcite/{p-52c9824d.system.entry.js → p-faeb976d.system.entry.js} +2 -2
- package/dist/calcite/p-fc2144e0.system.entry.js +6 -0
- package/dist/calcite/{p-e8698d9f.system.entry.js → p-fcac8f9c.system.entry.js} +2 -2
- package/dist/calcite/{p-ceae054a.system.entry.js → p-fd5d23d1.system.entry.js} +2 -2
- package/dist/calcite/{p-b15cde3f.js → p-fe972352.js} +1 -1
- package/dist/cjs/{ExpandToggle-e3bd3e9d.js → ExpandToggle-8c61677e.js} +6 -6
- package/dist/cjs/{Heading-b864aca1.js → Heading-0cb5902d.js} +2 -2
- package/dist/cjs/{array-00db7b4e.js → array-f1fe66d8.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +24 -22
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -5
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +20 -12
- package/dist/cjs/calcite-button.cjs.entry.js +11 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1306 -1312
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +23 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +29 -17
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +16 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +32 -14
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +29 -14
- package/dist/cjs/calcite-input.cjs.entry.js +59 -37
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +35 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover_2.cjs.entry.js +102 -45
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +112 -105
- package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -9
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +163 -134
- package/dist/cjs/calcite-tree_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +27 -27
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-8468d1b6.js → conditionalSlot-ba5cd797.js} +3 -3
- package/dist/cjs/{debounce-a29e2f71.js → debounce-94d2834e.js} +1 -1
- package/dist/cjs/{dom-66c5cb56.js → dom-9ac0341c.js} +13 -2
- package/dist/cjs/{forIn-d4941a7b.js → forIn-9f737b26.js} +2 -2
- package/dist/cjs/{form-cfcc3b12.js → form-11926121.js} +20 -3
- package/dist/cjs/{guid-364777e6.js → guid-8b6d6cb4.js} +1 -1
- package/dist/cjs/{index-ab066772.js → index-5c65e149.js} +1 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3808ad50.js → interactive-e294111f.js} +1 -1
- package/dist/cjs/{interfaces-597482d7.js → interfaces-083f4502.js} +1 -1
- package/dist/cjs/{label-e53e11ab.js → label-165fc611.js} +19 -19
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-2f9c939d.js → locale-f2ebe4fa.js} +22 -30
- package/dist/cjs/{math-b81c3249.js → math-9d6de52c.js} +1 -1
- package/dist/cjs/{number-99949cb0.js → number-364babbc.js} +1 -1
- package/dist/cjs/{observers-2dc895e1.js → observers-d9fdf006.js} +1 -1
- package/dist/cjs/{popper-5aeab272.js → popper-3f97eb01.js} +2 -2
- package/dist/cjs/{resources-ff2cae6a.js → resources-1a214670.js} +1 -1
- package/dist/cjs/{resources-7b0c6b5a.js → resources-247d05d5.js} +3 -3
- package/dist/cjs/{resources-39df6d9b.js → resources-5da94c46.js} +1 -1
- package/dist/cjs/{resources-9baed1da.js → resources-684ec2e5.js} +6 -6
- package/dist/cjs/{sortable.esm-6d0d59e8.js → sortable.esm-0005295a.js} +1 -1
- package/dist/cjs/{utils-9f674b6a.js → utils-51c079f6.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/action/action.js +3 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +18 -16
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +2 -6
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +19 -9
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +5 -4
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.css +21 -18
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +4 -3
- package/dist/collection/components/color-picker/color-picker.css +2 -9
- package/dist/collection/components/color-picker/color-picker.js +7 -2
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +7 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +13 -8
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +5 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +7 -3
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- 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 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +2 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +24 -12
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +9 -8
- package/dist/collection/components/filter/resources.js +2 -3
- package/dist/collection/components/flow/flow.css +1 -9
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -2
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -2
- package/dist/collection/components/handle/resources.js +1 -1
- 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/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 -3
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +5 -7
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +68 -32
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +4 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +26 -7
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +40 -9
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -37
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.js +47 -6
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -2
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- 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 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +64 -0
- package/dist/collection/components/popover/popover.js +31 -7
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +32 -45
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +3 -3
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- 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 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +2 -2
- package/dist/collection/components/shell-panel/shell-panel.js +5 -2
- package/dist/collection/components/slider/slider.css +29 -0
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +6 -0
- package/dist/collection/components/stepper/stepper.js +75 -55
- package/dist/collection/components/stepper-item/stepper-item.js +72 -74
- package/dist/collection/components/switch/switch.js +3 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -3
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -4
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +1 -0
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +1 -9
- package/dist/collection/components/tip-manager/tip-manager.js +23 -4
- package/dist/collection/components/tooltip/TooltipManager.js +157 -0
- package/dist/collection/components/tooltip/resources.js +1 -2
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- package/dist/collection/components/tooltip/tooltip.js +8 -12
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +5 -160
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +12 -12
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +18 -18
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +19 -19
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +22 -22
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +11 -1
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/form.js +16 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +18 -18
- package/dist/collection/utils/locale.js +22 -29
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +11 -17
- package/dist/components/action-menu.js +26 -30
- package/dist/components/action.js +3 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -5
- package/dist/components/calcite-accordion-item.js +3 -3
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +14 -20
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +14 -20
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +4 -4
- package/dist/components/calcite-avatar.js +3 -3
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +27 -25
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +8 -3
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +14 -9
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +3 -3
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +5 -7
- package/dist/components/calcite-input-date-picker.js +24 -5
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +25 -9
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +3 -3
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +41 -23
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +30 -38
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +3 -3
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +48 -59
- package/dist/components/calcite-stepper.js +63 -45
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -5
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +47 -2
- package/dist/components/calcite-tooltip.js +170 -17
- package/dist/components/calcite-tree-item.js +7 -7
- package/dist/components/calcite-tree.js +5 -5
- package/dist/components/calcite-value-list-item.js +11 -11
- package/dist/components/calcite-value-list.js +9 -9
- package/dist/components/checkbox.js +4 -3
- package/dist/components/chip.js +8 -7
- package/dist/components/color-picker-hex-input.js +7 -2
- package/dist/components/color-picker-swatch.js +1336 -1352
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +7 -3
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +12 -2
- package/dist/components/dropdown.js +23 -11
- package/dist/components/filter.js +10 -8
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +18 -3
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +53 -30
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +19 -19
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +22 -30
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +5 -5
- package/dist/components/popover.js +91 -7
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +11 -19
- package/dist/components/resources2.js +8 -6
- package/dist/components/resources3.js +25 -11
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +5 -5
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +3 -3
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +2278 -2064
- package/dist/esm/{ExpandToggle-847b61ba.js → ExpandToggle-1f6d84ba.js} +6 -6
- package/dist/esm/{Heading-f4ee0499.js → Heading-8d613e81.js} +2 -2
- package/dist/esm/{array-328a8961.js → array-1655bbf7.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +5 -5
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +24 -22
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -5
- package/dist/esm/calcite-alert.entry.js +7 -7
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +20 -12
- package/dist/esm/calcite-button.entry.js +11 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +13 -12
- package/dist/esm/calcite-color-picker_3.entry.js +1306 -1312
- package/dist/esm/calcite-combobox_3.entry.js +23 -19
- package/dist/esm/calcite-date-picker_4.entry.js +17 -13
- package/dist/esm/calcite-dropdown_3.entry.js +29 -17
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +16 -14
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +10 -10
- package/dist/esm/calcite-handle.entry.js +5 -3
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +11 -13
- package/dist/esm/calcite-input-date-picker.entry.js +32 -14
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +29 -14
- package/dist/esm/calcite-input.entry.js +60 -38
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +35 -12
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover_2.entry.js +102 -45
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +9 -9
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +112 -105
- package/dist/esm/calcite-switch.entry.js +8 -8
- package/dist/esm/calcite-tab_4.entry.js +9 -9
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -9
- package/dist/esm/calcite-tooltip_2.entry.js +163 -134
- package/dist/esm/calcite-tree_2.entry.js +15 -15
- package/dist/esm/calcite-value-list_2.entry.js +27 -27
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-a8a2c2f8.js → conditionalSlot-203be745.js} +3 -3
- package/dist/esm/{debounce-f689f579.js → debounce-c4df98cc.js} +1 -1
- package/dist/esm/{dom-0dcd3a1e.js → dom-da697a3f.js} +13 -3
- package/dist/esm/{forIn-8f588c7b.js → forIn-9b83dde4.js} +2 -2
- package/dist/esm/{form-2b88b33a.js → form-bca481e1.js} +19 -4
- package/dist/esm/{guid-174508ff.js → guid-b4461004.js} +1 -1
- package/dist/esm/{index-221092de.js → index-8ece2564.js} +1 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b11a6c05.js → interactive-cb5bf285.js} +1 -1
- package/dist/esm/{interfaces-2bc002ac.js → interfaces-f57a0946.js} +1 -1
- package/dist/esm/{label-2dac3c62.js → label-50132b90.js} +19 -19
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-9c18bf7f.js → locale-7ce850e5.js} +22 -30
- package/dist/esm/{math-4cd9449e.js → math-2e4483eb.js} +1 -1
- package/dist/esm/{number-a39356c7.js → number-237e74a9.js} +1 -1
- package/dist/esm/{observers-232c6ed6.js → observers-b198f831.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-66bcddc6.js → popper-0fd1fd89.js} +2 -2
- package/dist/esm/{resources-8ade5fae.js → resources-3c30f589.js} +1 -1
- package/dist/esm/{resources-762aa55a.js → resources-c4ee68b9.js} +6 -6
- package/dist/esm/{resources-df870d40.js → resources-e8f918f0.js} +1 -1
- package/dist/esm/{resources-886efb7e.js → resources-f170fbe8.js} +3 -3
- package/dist/esm/{sortable.esm-0891f88f.js → sortable.esm-34b12dd8.js} +1 -1
- package/dist/esm/{utils-79203b5b.js → utils-040a2a22.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-847b61ba.js → ExpandToggle-1f6d84ba.js} +2 -2
- package/dist/esm-es5/{Heading-f4ee0499.js → Heading-8d613e81.js} +2 -2
- package/dist/esm-es5/{array-328a8961.js → array-1655bbf7.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +3 -3
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-a8a2c2f8.js → conditionalSlot-203be745.js} +2 -2
- package/dist/esm-es5/{debounce-f689f579.js → debounce-c4df98cc.js} +1 -1
- package/dist/esm-es5/{dom-0dcd3a1e.js → dom-da697a3f.js} +2 -2
- package/dist/esm-es5/{forIn-8f588c7b.js → forIn-9b83dde4.js} +2 -2
- package/dist/esm-es5/form-bca481e1.js +6 -0
- package/dist/esm-es5/{guid-174508ff.js → guid-b4461004.js} +1 -1
- package/dist/esm-es5/{index-221092de.js → index-8ece2564.js} +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b11a6c05.js → interactive-cb5bf285.js} +1 -1
- package/dist/esm-es5/{interfaces-2bc002ac.js → interfaces-f57a0946.js} +1 -1
- package/dist/esm-es5/label-50132b90.js +6 -0
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-7ce850e5.js +6 -0
- package/dist/esm-es5/{math-4cd9449e.js → math-2e4483eb.js} +1 -1
- package/dist/esm-es5/{number-a39356c7.js → number-237e74a9.js} +1 -1
- package/dist/esm-es5/{observers-232c6ed6.js → observers-b198f831.js} +1 -1
- package/dist/esm-es5/{popper-66bcddc6.js → popper-0fd1fd89.js} +2 -2
- package/dist/esm-es5/{resources-8ade5fae.js → resources-3c30f589.js} +1 -1
- package/dist/esm-es5/resources-c4ee68b9.js +6 -0
- package/dist/esm-es5/{resources-df870d40.js → resources-e8f918f0.js} +1 -1
- package/dist/esm-es5/{resources-886efb7e.js → resources-f170fbe8.js} +2 -2
- package/dist/esm-es5/{sortable.esm-0891f88f.js → sortable.esm-34b12dd8.js} +1 -1
- package/dist/esm-es5/{utils-79203b5b.js → utils-040a2a22.js} +1 -1
- package/dist/extras/docs-json.json +152 -137
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +3 -2
- package/dist/types/components/block/block.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +2 -1
- package/dist/types/components/chip/resources.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +1 -0
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
- package/dist/types/components/combobox/resources.d.ts +4 -0
- package/dist/types/components/dropdown/dropdown.d.ts +4 -1
- package/dist/types/components/filter/filter.d.ts +1 -1
- package/dist/types/components/filter/resources.d.ts +0 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +0 -1
- package/dist/types/components/input/input.d.ts +10 -4
- package/dist/types/components/input/resources.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -0
- package/dist/types/components/panel/panel.d.ts +8 -0
- package/dist/types/components/popover/PopoverManager.d.ts +10 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +6 -2
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -0
- package/dist/types/components/stepper/interfaces.d.ts +10 -0
- package/dist/types/components/stepper/stepper.d.ts +13 -9
- package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
- package/dist/types/components/tab-title/tab-title.d.ts +1 -1
- package/dist/types/components/tip-manager/tip-manager.d.ts +5 -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 +0 -2
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -29
- package/dist/types/components/tree/tree.d.ts +7 -7
- package/dist/types/components/tree-item/tree-item.d.ts +11 -11
- package/dist/types/components/value-list/value-list.d.ts +13 -13
- package/dist/types/components/value-list-item/value-list-item.d.ts +12 -12
- package/dist/types/components.d.ts +85 -53
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/form.d.ts +20 -5
- package/hydrate/index.js +2301 -2073
- package/package.json +22 -23
- package/readme.md +4 -4
- package/dist/calcite/p-023a27d2.system.entry.js +0 -6
- package/dist/calcite/p-0a6b6898.system.entry.js +0 -6
- package/dist/calcite/p-0ee86cc3.js +0 -6
- package/dist/calcite/p-0f8c3ea0.entry.js +0 -6
- package/dist/calcite/p-1084cd40.entry.js +0 -6
- package/dist/calcite/p-14be4304.system.entry.js +0 -6
- package/dist/calcite/p-181bd093.entry.js +0 -6
- package/dist/calcite/p-19987cfa.system.entry.js +0 -6
- package/dist/calcite/p-1d0db848.system.entry.js +0 -6
- package/dist/calcite/p-2789e3e2.system.js +0 -6
- package/dist/calcite/p-2c0fdd49.entry.js +0 -6
- package/dist/calcite/p-2f42b00e.system.entry.js +0 -6
- package/dist/calcite/p-300c0203.system.entry.js +0 -6
- package/dist/calcite/p-33391f44.entry.js +0 -6
- package/dist/calcite/p-34a92432.system.entry.js +0 -6
- package/dist/calcite/p-3b38f3f5.system.entry.js +0 -6
- package/dist/calcite/p-3b6e600a.entry.js +0 -6
- package/dist/calcite/p-3c732519.entry.js +0 -6
- package/dist/calcite/p-3e5f8e93.system.entry.js +0 -6
- package/dist/calcite/p-3ebff946.system.entry.js +0 -6
- package/dist/calcite/p-40334853.system.js +0 -6
- package/dist/calcite/p-469490f8.js +0 -6
- package/dist/calcite/p-482956de.entry.js +0 -6
- package/dist/calcite/p-48aa73e5.entry.js +0 -6
- package/dist/calcite/p-4a543a6e.entry.js +0 -6
- package/dist/calcite/p-4b6a7167.entry.js +0 -6
- package/dist/calcite/p-50f49b13.system.entry.js +0 -6
- package/dist/calcite/p-5857c533.system.entry.js +0 -6
- package/dist/calcite/p-608aaf1d.js +0 -6
- package/dist/calcite/p-60f78917.system.entry.js +0 -6
- package/dist/calcite/p-6294787b.system.js +0 -6
- package/dist/calcite/p-62a93131.entry.js +0 -6
- package/dist/calcite/p-6750e68e.entry.js +0 -6
- package/dist/calcite/p-678e83fe.entry.js +0 -6
- package/dist/calcite/p-693cc0cd.system.entry.js +0 -6
- package/dist/calcite/p-6c9ab1d6.system.entry.js +0 -6
- package/dist/calcite/p-6ebbdae4.entry.js +0 -6
- package/dist/calcite/p-7225f4ed.js +0 -6
- package/dist/calcite/p-7463e93d.entry.js +0 -6
- package/dist/calcite/p-7549f33d.entry.js +0 -6
- package/dist/calcite/p-88f476f3.system.entry.js +0 -6
- package/dist/calcite/p-8d372581.entry.js +0 -6
- package/dist/calcite/p-941b8b06.js +0 -6
- package/dist/calcite/p-9d488536.entry.js +0 -6
- package/dist/calcite/p-9da64897.system.js +0 -6
- package/dist/calcite/p-a4b72090.system.entry.js +0 -6
- package/dist/calcite/p-af100a3b.entry.js +0 -6
- package/dist/calcite/p-b3d74df1.entry.js +0 -6
- package/dist/calcite/p-b50b0f92.system.entry.js +0 -6
- package/dist/calcite/p-b6dad672.system.entry.js +0 -6
- package/dist/calcite/p-bae3c0b1.entry.js +0 -6
- package/dist/calcite/p-bc873e26.system.js +0 -6
- package/dist/calcite/p-c0ab6c20.system.entry.js +0 -6
- package/dist/calcite/p-c22bd1df.system.entry.js +0 -6
- package/dist/calcite/p-c2770291.js +0 -6
- package/dist/calcite/p-c66cce4a.js +0 -6
- package/dist/calcite/p-c91e5ce6.system.entry.js +0 -6
- package/dist/calcite/p-cc881354.entry.js +0 -6
- package/dist/calcite/p-d0ae73bc.system.entry.js +0 -6
- package/dist/calcite/p-d2aad5f9.system.entry.js +0 -6
- package/dist/calcite/p-d441a36b.system.js +0 -6
- package/dist/calcite/p-d668cc57.entry.js +0 -6
- package/dist/calcite/p-d8c1d1bb.system.js +0 -6
- package/dist/calcite/p-d9669187.entry.js +0 -6
- package/dist/calcite/p-da5a9916.system.entry.js +0 -6
- package/dist/calcite/p-ddc498f5.entry.js +0 -6
- package/dist/calcite/p-e21b549b.js +0 -6
- package/dist/calcite/p-e6034e51.entry.js +0 -6
- package/dist/calcite/p-e6b83b93.entry.js +0 -6
- package/dist/calcite/p-ea09f02f.system.entry.js +0 -6
- package/dist/calcite/p-eaf8f62d.entry.js +0 -6
- package/dist/calcite/p-ec6942a8.system.entry.js +0 -6
- package/dist/calcite/p-ef8bcab3.entry.js +0 -6
- package/dist/calcite/p-f753e964.entry.js +0 -6
- package/dist/calcite/p-f89876d3.system.entry.js +0 -6
- package/dist/calcite/p-fc2aa57a.system.entry.js +0 -6
- package/dist/calcite/p-ffeda3eb.system.entry.js +0 -6
- package/dist/components/resources4.js +0 -16
- package/dist/components/resources5.js +0 -33
- package/dist/components/tooltip-manager.js +0 -172
- package/dist/esm-es5/form-2b88b33a.js +0 -6
- package/dist/esm-es5/label-2dac3c62.js +0 -6
- package/dist/esm-es5/locale-9c18bf7f.js +0 -6
- package/dist/esm-es5/resources-762aa55a.js +0 -6
package/dist/components/input.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import { T as TEXT, b as getSlotted, s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
7
|
+
import { T as TEXT$1, b as getSlotted, s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
8
8
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
|
|
9
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
10
10
|
import { d as delocalizeNumberString, g as getDecimalSeparator, l as localizeNumberString } from './locale.js';
|
|
11
11
|
import { i as isValidNumber, p as parseNumberString, s as sanitizeNumberString, n as numberKeys } from './number.js';
|
|
12
12
|
import { d as decimalPlaces } from './math.js';
|
|
@@ -42,6 +42,9 @@ const INPUT_TYPE_ICONS = {
|
|
|
42
42
|
const SLOTS = {
|
|
43
43
|
action: "action"
|
|
44
44
|
};
|
|
45
|
+
const TEXT = {
|
|
46
|
+
clear: "Clear value"
|
|
47
|
+
};
|
|
45
48
|
|
|
46
49
|
const inputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{height:auto;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{height:auto;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{height:auto;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0s;transition:var(--calcite-animation-timing), height 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;height:0px;width:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;inset-inline-end:0}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
47
50
|
|
|
@@ -77,7 +80,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
77
80
|
* string to override English loading text
|
|
78
81
|
* @default "Loading"
|
|
79
82
|
*/
|
|
80
|
-
this.intlLoading = TEXT.loading;
|
|
83
|
+
this.intlLoading = TEXT$1.loading;
|
|
81
84
|
/** flip the icon in rtl */
|
|
82
85
|
this.iconFlipRtl = false;
|
|
83
86
|
/** specify if the input is in loading state */
|
|
@@ -111,19 +114,15 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
111
114
|
this.value = "";
|
|
112
115
|
/** keep track of the rendered child type */
|
|
113
116
|
this.childElType = "input";
|
|
114
|
-
|
|
115
|
-
this.internalValueChange = false;
|
|
117
|
+
this.previousValueOrigin = "initial";
|
|
116
118
|
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
119
|
+
this.userChangedValue = false;
|
|
117
120
|
//--------------------------------------------------------------------------
|
|
118
121
|
//
|
|
119
122
|
// Private Methods
|
|
120
123
|
//
|
|
121
124
|
//--------------------------------------------------------------------------
|
|
122
125
|
this.keyDownHandler = (event) => {
|
|
123
|
-
/* prevent default behavior for input to move the cursor to the beginning of the input with every ArrowUp press */
|
|
124
|
-
if (event.key === "ArrowUp") {
|
|
125
|
-
event.preventDefault();
|
|
126
|
-
}
|
|
127
126
|
if (this.readOnly || this.disabled) {
|
|
128
127
|
return;
|
|
129
128
|
}
|
|
@@ -131,25 +130,30 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
131
130
|
this.clearInputValue(event);
|
|
132
131
|
event.preventDefault();
|
|
133
132
|
}
|
|
133
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
134
|
+
submitForm(this);
|
|
135
|
+
}
|
|
134
136
|
};
|
|
135
137
|
this.clearInputValue = (nativeEvent) => {
|
|
136
138
|
this.setValue({
|
|
137
139
|
committing: true,
|
|
138
140
|
nativeEvent,
|
|
141
|
+
origin: "user",
|
|
139
142
|
value: ""
|
|
140
143
|
});
|
|
141
144
|
};
|
|
142
|
-
this.
|
|
143
|
-
if (this.
|
|
144
|
-
this.
|
|
145
|
+
this.emitChangeIfUserModified = () => {
|
|
146
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
147
|
+
this.calciteInputChange.emit();
|
|
145
148
|
}
|
|
149
|
+
this.previousEmittedValue = this.value;
|
|
150
|
+
};
|
|
151
|
+
this.inputBlurHandler = () => {
|
|
146
152
|
this.calciteInputBlur.emit({
|
|
147
153
|
element: this.childEl,
|
|
148
154
|
value: this.value
|
|
149
155
|
});
|
|
150
|
-
|
|
151
|
-
this.calciteInputChange.emit();
|
|
152
|
-
}
|
|
156
|
+
this.emitChangeIfUserModified();
|
|
153
157
|
};
|
|
154
158
|
this.inputFocusHandler = (event) => {
|
|
155
159
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -160,7 +164,6 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
160
164
|
element: this.childEl,
|
|
161
165
|
value: this.value
|
|
162
166
|
});
|
|
163
|
-
this.preFocusValue = this.value;
|
|
164
167
|
};
|
|
165
168
|
this.inputInputHandler = (nativeEvent) => {
|
|
166
169
|
if (this.disabled || this.readOnly) {
|
|
@@ -168,6 +171,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
168
171
|
}
|
|
169
172
|
this.setValue({
|
|
170
173
|
nativeEvent,
|
|
174
|
+
origin: "user",
|
|
171
175
|
value: nativeEvent.target.value
|
|
172
176
|
});
|
|
173
177
|
};
|
|
@@ -176,7 +180,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
176
180
|
return;
|
|
177
181
|
}
|
|
178
182
|
if (event.key === "Enter") {
|
|
179
|
-
this.
|
|
183
|
+
this.emitChangeIfUserModified();
|
|
180
184
|
}
|
|
181
185
|
};
|
|
182
186
|
this.inputNumberInputHandler = (nativeEvent) => {
|
|
@@ -191,6 +195,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
191
195
|
}
|
|
192
196
|
this.setValue({
|
|
193
197
|
nativeEvent,
|
|
198
|
+
origin: "user",
|
|
194
199
|
value: parseNumberString(delocalizedValue)
|
|
195
200
|
});
|
|
196
201
|
this.childNumberEl.value = this.localizedValue;
|
|
@@ -198,6 +203,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
198
203
|
else {
|
|
199
204
|
this.setValue({
|
|
200
205
|
nativeEvent,
|
|
206
|
+
origin: "user",
|
|
201
207
|
value: delocalizedValue
|
|
202
208
|
});
|
|
203
209
|
}
|
|
@@ -207,6 +213,8 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
207
213
|
return;
|
|
208
214
|
}
|
|
209
215
|
if (event.key === "ArrowUp") {
|
|
216
|
+
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
217
|
+
event.preventDefault();
|
|
210
218
|
this.nudgeNumberValue("up", event);
|
|
211
219
|
return;
|
|
212
220
|
}
|
|
@@ -230,7 +238,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
230
238
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
231
239
|
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
232
240
|
if (event.key === "Enter") {
|
|
233
|
-
this.
|
|
241
|
+
this.emitChangeIfUserModified();
|
|
234
242
|
}
|
|
235
243
|
return;
|
|
236
244
|
}
|
|
@@ -304,6 +312,14 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
304
312
|
}
|
|
305
313
|
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
306
314
|
};
|
|
315
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
316
|
+
this.previousEmittedValue =
|
|
317
|
+
this.type === "number"
|
|
318
|
+
? isValidNumber(newPreviousEmittedValue)
|
|
319
|
+
? newPreviousEmittedValue
|
|
320
|
+
: ""
|
|
321
|
+
: newPreviousEmittedValue;
|
|
322
|
+
};
|
|
307
323
|
this.setPreviousValue = (newPreviousValue) => {
|
|
308
324
|
this.previousValue =
|
|
309
325
|
this.type === "number"
|
|
@@ -312,7 +328,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
312
328
|
: ""
|
|
313
329
|
: newPreviousValue;
|
|
314
330
|
};
|
|
315
|
-
this.setValue = ({ committing = false, nativeEvent, origin
|
|
331
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
316
332
|
const previousLocalizedValue = this.type === "number"
|
|
317
333
|
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
318
334
|
: "";
|
|
@@ -325,13 +341,14 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
325
341
|
const newLocalizedValue = this.type === "number"
|
|
326
342
|
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
327
343
|
: "";
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
344
|
+
this.setPreviousValue(previousValue || this.value);
|
|
345
|
+
this.previousValueOrigin = origin;
|
|
346
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
330
347
|
this.value = newValue;
|
|
331
348
|
if (this.type === "number") {
|
|
332
349
|
this.localizedValue = newLocalizedValue;
|
|
333
350
|
}
|
|
334
|
-
if (origin === "
|
|
351
|
+
if (origin === "direct") {
|
|
335
352
|
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
336
353
|
}
|
|
337
354
|
if (nativeEvent) {
|
|
@@ -345,7 +362,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
345
362
|
this.localizedValue = previousLocalizedValue;
|
|
346
363
|
}
|
|
347
364
|
else if (committing) {
|
|
348
|
-
this.
|
|
365
|
+
this.emitChangeIfUserModified();
|
|
349
366
|
}
|
|
350
367
|
}
|
|
351
368
|
};
|
|
@@ -366,10 +383,11 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
366
383
|
var _a;
|
|
367
384
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
368
385
|
}
|
|
369
|
-
valueWatcher(newValue) {
|
|
370
|
-
if (!this.
|
|
386
|
+
valueWatcher(newValue, previousValue) {
|
|
387
|
+
if (!this.userChangedValue) {
|
|
371
388
|
this.setValue({
|
|
372
|
-
origin: "
|
|
389
|
+
origin: "direct",
|
|
390
|
+
previousValue,
|
|
373
391
|
value: newValue == null || newValue == ""
|
|
374
392
|
? ""
|
|
375
393
|
: this.type === "number"
|
|
@@ -380,7 +398,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
380
398
|
});
|
|
381
399
|
this.warnAboutInvalidNumberValue(newValue);
|
|
382
400
|
}
|
|
383
|
-
this.
|
|
401
|
+
this.userChangedValue = false;
|
|
384
402
|
}
|
|
385
403
|
updateRequestedIcon() {
|
|
386
404
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -404,11 +422,12 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
404
422
|
if (this.inlineEditableEl) {
|
|
405
423
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
406
424
|
}
|
|
425
|
+
this.setPreviousEmittedValue(this.value);
|
|
407
426
|
this.setPreviousValue(this.value);
|
|
408
427
|
if (this.type === "number") {
|
|
409
428
|
this.warnAboutInvalidNumberValue(this.value);
|
|
410
429
|
this.setValue({
|
|
411
|
-
origin: "
|
|
430
|
+
origin: "connected",
|
|
412
431
|
value: isValidNumber(this.value) ? this.value : ""
|
|
413
432
|
});
|
|
414
433
|
}
|
|
@@ -433,6 +452,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
433
452
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
434
453
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
435
454
|
this.setValue({
|
|
455
|
+
origin: "reset",
|
|
436
456
|
value: oldValue
|
|
437
457
|
});
|
|
438
458
|
return false;
|
|
@@ -475,11 +495,13 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
475
495
|
this.setValue({
|
|
476
496
|
committing: true,
|
|
477
497
|
nativeEvent,
|
|
498
|
+
origin: "user",
|
|
478
499
|
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
479
500
|
});
|
|
480
501
|
}
|
|
481
502
|
onFormReset() {
|
|
482
503
|
this.setValue({
|
|
504
|
+
origin: "reset",
|
|
483
505
|
value: this.defaultValue
|
|
484
506
|
});
|
|
485
507
|
}
|
|
@@ -525,7 +547,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
525
547
|
render() {
|
|
526
548
|
const dir = getElementDir(this.el);
|
|
527
549
|
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
528
|
-
const inputClearButton = (h("button", { class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
550
|
+
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" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
529
551
|
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
530
552
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
531
553
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
@@ -575,6 +597,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
575
597
|
"groupSeparator": [4, "group-separator"],
|
|
576
598
|
"hidden": [4],
|
|
577
599
|
"icon": [520],
|
|
600
|
+
"intlClear": [1, "intl-clear"],
|
|
578
601
|
"intlLoading": [1, "intl-loading"],
|
|
579
602
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
580
603
|
"label": [1],
|
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
var TreeSelectionMode;
|
|
7
7
|
(function (TreeSelectionMode) {
|
package/dist/components/label.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { c as queryElementRoots, e as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Exported for testing purposes only
|
|
@@ -14,6 +14,8 @@ const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
|
14
14
|
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
15
15
|
const labelTagName = "calcite-label";
|
|
16
16
|
const onLabelClickMap = new WeakMap();
|
|
17
|
+
const onLabelConnectedMap = new WeakMap();
|
|
18
|
+
const onLabelDisconnectedMap = new WeakMap();
|
|
17
19
|
const unlabeledComponents = new Set();
|
|
18
20
|
const findLabelForComponent = (componentEl) => {
|
|
19
21
|
const { id } = componentEl;
|
|
@@ -50,37 +52,34 @@ function hasAncestorCustomElements(label, componentEl) {
|
|
|
50
52
|
*/
|
|
51
53
|
function connectLabel(component) {
|
|
52
54
|
const labelEl = findLabelForComponent(component.el);
|
|
53
|
-
if (onLabelClickMap.has(labelEl)) {
|
|
55
|
+
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
54
56
|
return;
|
|
55
57
|
}
|
|
56
|
-
const boundOnLabelConnected = onLabelConnected.bind(component);
|
|
57
58
|
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
58
59
|
if (labelEl) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
64
|
-
};
|
|
65
|
-
addClickEventListenerToComponentLabel();
|
|
60
|
+
component.labelEl = labelEl;
|
|
61
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
62
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
63
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
66
64
|
unlabeledComponents.delete(component);
|
|
67
|
-
document.removeEventListener(labelConnectedEvent,
|
|
65
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
66
|
+
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
68
67
|
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
69
68
|
}
|
|
70
|
-
else if (!
|
|
69
|
+
else if (!unlabeledComponents.has(component)) {
|
|
71
70
|
boundOnLabelDisconnected();
|
|
72
|
-
document.removeEventListener(labelDisconnectedEvent,
|
|
71
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
/**
|
|
76
75
|
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
77
76
|
*/
|
|
78
77
|
function disconnectLabel(component) {
|
|
79
|
-
const boundOnLabelConnected = onLabelConnected.bind(component);
|
|
80
|
-
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
81
78
|
unlabeledComponents.delete(component);
|
|
82
|
-
document.removeEventListener(labelConnectedEvent,
|
|
83
|
-
document.removeEventListener(labelDisconnectedEvent,
|
|
79
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
80
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
81
|
+
onLabelConnectedMap.delete(component);
|
|
82
|
+
onLabelDisconnectedMap.delete(component);
|
|
84
83
|
if (!component.labelEl) {
|
|
85
84
|
return;
|
|
86
85
|
}
|
|
@@ -112,7 +111,8 @@ function onLabelConnected() {
|
|
|
112
111
|
}
|
|
113
112
|
function onLabelDisconnected() {
|
|
114
113
|
unlabeledComponents.add(this);
|
|
115
|
-
const boundOnLabelConnected = onLabelConnected.bind(this);
|
|
114
|
+
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
115
|
+
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
116
116
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label.js';
|
package/dist/components/link.js
CHANGED
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';
|
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
|
-
import { a as sanitizeExponentialNumberString, b as sanitizeDecimalString } from './number.js';
|
|
6
|
+
import { a as sanitizeExponentialNumberString, i as isValidNumber, b as sanitizeDecimalString } from './number.js';
|
|
7
7
|
|
|
8
8
|
const locales = [
|
|
9
9
|
"ar",
|
|
@@ -56,6 +56,9 @@ const locales = [
|
|
|
56
56
|
"zh-HK",
|
|
57
57
|
"zh-TW"
|
|
58
58
|
];
|
|
59
|
+
const allDecimalsExceptLast = new RegExp(`[.](?=.*[.])`, "g");
|
|
60
|
+
const everythingExceptNumbersDecimalsAndMinusSigns = new RegExp("[^0-9-.]", "g");
|
|
61
|
+
const defaultGroupSeparator = new RegExp(",", "g");
|
|
59
62
|
function createLocaleNumberFormatter(locale) {
|
|
60
63
|
return new Intl.NumberFormat(locale, {
|
|
61
64
|
minimumFractionDigits: 0,
|
|
@@ -64,49 +67,36 @@ function createLocaleNumberFormatter(locale) {
|
|
|
64
67
|
}
|
|
65
68
|
function delocalizeNumberString(numberString, locale) {
|
|
66
69
|
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
.map((value, index) => {
|
|
75
|
-
if (value === groupSeparator || (value === decimalSeparator && index !== decimalIndex)) {
|
|
76
|
-
return "";
|
|
77
|
-
}
|
|
78
|
-
return value;
|
|
79
|
-
})
|
|
80
|
-
.reduce((string, part) => string + part)
|
|
81
|
-
.replace(decimalSeparator, ".")
|
|
82
|
-
.replace(minusSign, "-");
|
|
83
|
-
return isNaN(Number(delocalizedNumberString)) ? nonExpoNumString : delocalizedNumberString;
|
|
84
|
-
}
|
|
85
|
-
return nonExpoNumString;
|
|
70
|
+
const delocalizedNumberString = nonExpoNumString
|
|
71
|
+
.replace(getMinusSign(locale), "-")
|
|
72
|
+
.replace(getGroupSeparator(locale), "")
|
|
73
|
+
.replace(getDecimalSeparator(locale), ".")
|
|
74
|
+
.replace(allDecimalsExceptLast, "")
|
|
75
|
+
.replace(everythingExceptNumbersDecimalsAndMinusSigns, "");
|
|
76
|
+
return isValidNumber(delocalizedNumberString) ? delocalizedNumberString : nonExpoNumString;
|
|
86
77
|
});
|
|
87
78
|
}
|
|
88
79
|
function getGroupSeparator(locale) {
|
|
89
80
|
const formatter = createLocaleNumberFormatter(locale);
|
|
90
|
-
const parts = formatter.formatToParts(1234567
|
|
81
|
+
const parts = formatter.formatToParts(1234567);
|
|
91
82
|
const value = parts.find((part) => part.type === "group").value;
|
|
83
|
+
// change whitespace group characters that don't render correctly
|
|
92
84
|
return value.trim().length === 0 ? " " : value;
|
|
93
85
|
}
|
|
94
86
|
function getDecimalSeparator(locale) {
|
|
95
87
|
const formatter = createLocaleNumberFormatter(locale);
|
|
96
|
-
const parts = formatter.formatToParts(
|
|
97
|
-
|
|
98
|
-
return value.trim().length === 0 ? " " : value;
|
|
88
|
+
const parts = formatter.formatToParts(1.1);
|
|
89
|
+
return parts.find((part) => part.type === "decimal").value;
|
|
99
90
|
}
|
|
100
91
|
function getMinusSign(locale) {
|
|
101
92
|
const formatter = createLocaleNumberFormatter(locale);
|
|
102
|
-
const parts = formatter.formatToParts(-
|
|
103
|
-
|
|
104
|
-
return value.trim().length === 0 ? "-" : value;
|
|
93
|
+
const parts = formatter.formatToParts(-9);
|
|
94
|
+
return parts.find((part) => part.type === "minusSign").value;
|
|
105
95
|
}
|
|
106
96
|
function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
|
|
107
97
|
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
108
98
|
if (nonExpoNumString) {
|
|
109
|
-
const number = Number(sanitizeDecimalString(nonExpoNumString));
|
|
99
|
+
const number = Number(sanitizeDecimalString(nonExpoNumString.replace(defaultGroupSeparator, "")));
|
|
110
100
|
if (!isNaN(number)) {
|
|
111
101
|
const formatter = createLocaleNumberFormatter(locale);
|
|
112
102
|
const parts = formatter.formatToParts(number);
|
|
@@ -117,6 +107,8 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
|
|
|
117
107
|
return displayGroupSeparator ? getGroupSeparator(locale) : "";
|
|
118
108
|
case "decimal":
|
|
119
109
|
return getDecimalSeparator(locale);
|
|
110
|
+
case "minusSign":
|
|
111
|
+
return getMinusSign(locale);
|
|
120
112
|
default:
|
|
121
113
|
return value;
|
|
122
114
|
}
|
|
@@ -124,8 +116,8 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
|
|
|
124
116
|
.reduce((string, part) => string + part);
|
|
125
117
|
return localizedNumberString;
|
|
126
118
|
}
|
|
127
|
-
return nonExpoNumString;
|
|
128
119
|
}
|
|
120
|
+
return nonExpoNumString;
|
|
129
121
|
});
|
|
130
122
|
}
|
|
131
123
|
|
package/dist/components/math.js
CHANGED
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -1,7 +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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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.
|
|
4
|
+
* v1.0.0-beta.82
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
|
-
import { I as ICON_TYPES } from './
|
|
8
|
-
import { b as getSlotted } from './dom.js';
|
|
7
|
+
import { I as ICON_TYPES } from './resources.js';
|
|
8
|
+
import { b as getSlotted, t as toAriaBoolean } from './dom.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './action.js';
|
|
@@ -39,7 +39,7 @@ const TEXT = {
|
|
|
39
39
|
remove: "Remove"
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
const pickListItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;margin-bottom:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;width:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:\"•\"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word
|
|
42
|
+
const pickListItemCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{margin:0px;margin-bottom:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing);-webkit-animation:calcite-fade-in var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}.label{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;cursor:pointer;-ms-flex-align:center;align-items:center;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.label:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:-ms-flexbox;display:flex;width:1.5rem;-ms-flex-align:center;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:\"•\"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:hidden;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-top:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:end;justify-content:flex-end}.actions--start~.label{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
43
43
|
|
|
44
44
|
const PickListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
45
45
|
constructor() {
|
|
@@ -187,7 +187,7 @@ const PickListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
187
187
|
}
|
|
188
188
|
render() {
|
|
189
189
|
const { description, label } = this;
|
|
190
|
-
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": this.selected
|
|
190
|
+
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS.textContainer, role: "menuitemcheckbox" }, h("span", { class: CSS.title }, label), description ? h("span", { class: CSS.description }, description) : null)), this.renderActionsEnd()));
|
|
191
191
|
}
|
|
192
192
|
get el() { return this; }
|
|
193
193
|
static get watchers() { return {
|