@esri/calcite-components 1.0.0-beta.69 → 1.0.0-beta.72
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/calcite-icon/centerAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
- package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/language16.json +1 -0
- package/dist/calcite/assets/calcite-icon/language24.json +1 -0
- package/dist/calcite/assets/calcite-icon/language32.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/p-0229a408.js +5 -0
- package/dist/calcite/p-04cc8259.entry.js +5 -0
- package/dist/calcite/p-057197f8.entry.js +5 -0
- package/dist/calcite/p-05c10c53.entry.js +5 -0
- package/dist/calcite/p-05edaadf.system.entry.js +5 -0
- package/dist/calcite/p-06ddf228.entry.js +5 -0
- package/dist/calcite/p-0b45733b.entry.js +5 -0
- package/dist/calcite/{p-d11ad046.system.js → p-0f2b51bf.system.js} +1 -1
- package/dist/calcite/p-112f20e6.system.entry.js +5 -0
- package/dist/calcite/p-11f01c0a.entry.js +5 -0
- package/dist/calcite/p-18d9a261.system.js +5 -0
- package/dist/calcite/p-1942876c.js +5 -0
- package/dist/calcite/{p-3f1d1bad.entry.js → p-2151c991.entry.js} +1 -1
- package/dist/calcite/{p-f281f1e9.entry.js → p-27d9be53.entry.js} +1 -1
- package/dist/calcite/p-288899b9.entry.js +5 -0
- package/dist/calcite/p-288bc438.system.js +5 -0
- package/dist/calcite/p-2b294f8e.system.entry.js +5 -0
- package/dist/calcite/{p-c60e3a71.entry.js → p-2be1e8ee.entry.js} +1 -1
- package/dist/calcite/p-2d09cc25.js +5 -0
- package/dist/calcite/p-2d939f9e.system.entry.js +5 -0
- package/dist/calcite/p-2e29554c.js +5 -0
- package/dist/calcite/p-2fbd50f3.system.entry.js +5 -0
- package/dist/calcite/p-30036f23.system.entry.js +5 -0
- package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
- package/dist/calcite/p-35a5c74c.system.js +5 -0
- package/dist/calcite/p-3739338a.system.entry.js +5 -0
- package/dist/calcite/p-3c25cb72.system.entry.js +5 -0
- package/dist/calcite/p-3d8ee39d.system.entry.js +5 -0
- package/dist/calcite/p-3e9c6068.entry.js +5 -0
- package/dist/calcite/p-3f8527a3.entry.js +5 -0
- package/dist/calcite/p-40991717.entry.js +5 -0
- package/dist/calcite/p-40e16f41.entry.js +5 -0
- package/dist/calcite/p-4278fb57.entry.js +5 -0
- package/dist/calcite/p-444ecda9.entry.js +5 -0
- package/dist/calcite/p-44cce7a3.system.entry.js +5 -0
- package/dist/calcite/p-4d02c6c0.system.entry.js +5 -0
- package/dist/calcite/{p-4035444d.system.js → p-4e9d072a.system.js} +1 -1
- package/dist/calcite/p-4f1f716a.system.entry.js +5 -0
- package/dist/calcite/p-4f7ebefc.system.js +5 -0
- package/dist/calcite/p-523bc291.system.js +5 -0
- package/dist/calcite/p-55f68e28.entry.js +5 -0
- package/dist/calcite/p-57169a74.entry.js +5 -0
- package/dist/calcite/p-5c9d89ce.system.entry.js +5 -0
- package/dist/calcite/p-62f3d4df.system.js +5 -0
- package/dist/calcite/p-63b9f804.entry.js +5 -0
- package/dist/calcite/p-66fda99e.entry.js +5 -0
- package/dist/calcite/p-689790cb.system.entry.js +5 -0
- package/dist/calcite/p-69bd1f5f.system.entry.js +5 -0
- package/dist/calcite/p-6a87d7b2.entry.js +5 -0
- package/dist/calcite/p-6faaa8af.system.entry.js +5 -0
- package/dist/calcite/p-6fb63fc1.entry.js +5 -0
- package/dist/calcite/p-72a60528.system.entry.js +5 -0
- package/dist/calcite/p-763479d6.system.entry.js +5 -0
- package/dist/calcite/p-768018df.entry.js +5 -0
- package/dist/calcite/p-76eda40b.entry.js +5 -0
- package/dist/calcite/p-7ac9f860.entry.js +5 -0
- package/dist/calcite/p-7ff5e336.entry.js +5 -0
- package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
- package/dist/calcite/p-83744979.system.js +5 -0
- package/dist/calcite/p-87327c2f.system.entry.js +5 -0
- package/dist/calcite/p-88296be9.system.entry.js +5 -0
- package/dist/calcite/p-88b31760.system.entry.js +5 -0
- package/dist/calcite/p-8a8982ab.system.entry.js +5 -0
- package/dist/calcite/p-8c4b6059.system.entry.js +5 -0
- package/dist/calcite/p-8ebc2d51.entry.js +5 -0
- package/dist/calcite/p-9180be05.system.entry.js +5 -0
- package/dist/calcite/p-93a189be.entry.js +5 -0
- package/dist/calcite/p-97117a5d.entry.js +5 -0
- package/dist/calcite/p-97efd284.system.entry.js +5 -0
- package/dist/calcite/p-998829cb.system.entry.js +5 -0
- package/dist/calcite/p-9a1ffbad.system.entry.js +5 -0
- package/dist/calcite/p-9a8f3883.entry.js +5 -0
- package/dist/calcite/p-9b979692.entry.js +5 -0
- package/dist/calcite/p-9fc14d49.entry.js +5 -0
- package/dist/calcite/p-9feb0f5a.system.entry.js +5 -0
- package/dist/calcite/p-a2a22cbc.entry.js +5 -0
- package/dist/calcite/p-a3c498de.entry.js +5 -0
- package/dist/calcite/p-a4784cf3.system.entry.js +5 -0
- package/dist/calcite/p-a4a12ffb.system.entry.js +5 -0
- package/dist/calcite/p-a6f99f79.entry.js +5 -0
- package/dist/calcite/p-a98344e2.system.entry.js +5 -0
- package/dist/calcite/p-a9f596be.system.entry.js +5 -0
- package/dist/calcite/p-adf4699d.system.entry.js +5 -0
- package/dist/calcite/p-b180d943.system.entry.js +5 -0
- package/dist/calcite/p-b2f0596f.entry.js +5 -0
- package/dist/calcite/p-b437a8eb.system.entry.js +5 -0
- package/dist/calcite/p-b43e699c.system.entry.js +5 -0
- package/dist/calcite/p-ba7c0f01.system.entry.js +5 -0
- package/dist/calcite/p-bca0b34f.entry.js +5 -0
- package/dist/calcite/p-bd091b49.system.entry.js +5 -0
- package/dist/calcite/p-bdca5372.entry.js +5 -0
- package/dist/calcite/p-bfa6bd72.entry.js +5 -0
- package/dist/calcite/p-c00b1d26.js +5 -0
- package/dist/calcite/p-c2bfd7f9.system.entry.js +5 -0
- package/dist/calcite/p-c2fcf603.system.entry.js +5 -0
- package/dist/calcite/p-c70bacc8.system.entry.js +5 -0
- package/dist/calcite/p-c8c6323c.entry.js +5 -0
- package/dist/calcite/p-cb660e54.entry.js +5 -0
- package/dist/calcite/p-cd5d5756.system.entry.js +5 -0
- package/dist/calcite/p-ce704ece.js +5 -0
- package/dist/calcite/p-cf499949.entry.js +5 -0
- package/dist/calcite/p-d17cfab3.entry.js +5 -0
- package/dist/calcite/{p-809ddb6a.js → p-d3bd900e.js} +1 -1
- package/dist/calcite/p-d3db2b58.system.entry.js +5 -0
- package/dist/calcite/p-d4d5665a.system.entry.js +5 -0
- package/dist/calcite/p-d8039e8a.system.entry.js +5 -0
- package/dist/calcite/p-d9414082.system.entry.js +5 -0
- package/dist/calcite/p-dc7124e9.entry.js +5 -0
- package/dist/calcite/p-dc777403.system.entry.js +5 -0
- package/dist/calcite/p-dda22c7e.system.entry.js +5 -0
- package/dist/calcite/p-de67ba93.system.entry.js +5 -0
- package/dist/calcite/{p-aad45edf.system.js → p-e095517f.system.js} +1 -1
- package/dist/calcite/p-e09bac0d.system.entry.js +5 -0
- package/dist/calcite/p-e0b1e90c.entry.js +5 -0
- package/dist/calcite/p-e35b29f5.system.entry.js +5 -0
- package/dist/calcite/p-e54784a8.system.entry.js +5 -0
- package/dist/calcite/p-e63c6a55.system.entry.js +5 -0
- package/dist/calcite/p-e697ab57.system.entry.js +5 -0
- package/dist/calcite/{p-5efd7297.entry.js → p-e7801f1d.entry.js} +1 -1
- package/dist/calcite/{p-f07d3627.js → p-e7f7b0f8.js} +1 -1
- package/dist/calcite/p-eebd2bb0.entry.js +5 -0
- package/dist/calcite/p-f1f65708.entry.js +5 -0
- package/dist/calcite/p-f2340d02.system.entry.js +5 -0
- package/dist/calcite/p-f25f139a.entry.js +5 -0
- package/dist/calcite/p-f28d8e9e.system.entry.js +5 -0
- package/dist/calcite/p-f2f2ad57.entry.js +5 -0
- package/dist/calcite/p-f39dc5fd.entry.js +5 -0
- package/dist/calcite/p-f4a7fa43.entry.js +5 -0
- package/dist/calcite/p-f595d924.js +5 -0
- package/dist/calcite/{p-e7819705.entry.js → p-f72c037c.entry.js} +1 -1
- package/dist/calcite/p-f9e7371d.entry.js +5 -0
- package/dist/calcite/p-fc265aaf.entry.js +5 -0
- package/dist/calcite/p-fc9025a2.entry.js +5 -0
- package/dist/calcite/p-fd255a24.entry.js +5 -0
- package/dist/calcite/p-fd94e88d.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-d654421a.js} +2 -2
- package/dist/cjs/{CalciteHeading-363b0525.js → CalciteHeading-112c19f9.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +27 -3
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
- package/dist/cjs/calcite-action.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +21 -11
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -10
- package/dist/cjs/calcite-button.cjs.entry.js +11 -6
- package/dist/cjs/calcite-card.cjs.entry.js +4 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +35 -84
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -64
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +89 -35
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +70 -42
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -20
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +63 -35
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +50 -41
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +87 -22
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +384 -250
- package/dist/cjs/calcite-input.cjs.entry.js +109 -77
- package/dist/cjs/calcite-label.cjs.entry.js +3 -6
- package/dist/cjs/calcite-link.cjs.entry.js +3 -3
- package/dist/cjs/calcite-list_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +39 -11
- package/dist/cjs/calcite-pagination.cjs.entry.js +4 -7
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +7 -9
- package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -8
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +260 -0
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +42 -56
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +172 -12
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +24 -50
- package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -12
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -10
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -5
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/form-a5b44a1f.js +179 -0
- package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-69dc9583.js → locale-33c458dc.js} +1 -1
- package/dist/cjs/math-145c80e2.js +21 -0
- package/dist/cjs/{number-e6448e15.js → number-73f7b474.js} +17 -4
- package/dist/cjs/{popper-87bf13e6.js → popper-a7580aca.js} +90 -64
- package/dist/cjs/{resources-38563593.js → resources-16974e48.js} +4 -3
- package/dist/cjs/{resources-f9c141d2.js → resources-6c4b32ef.js} +5 -5
- package/dist/collection/collection-manifest.json +9 -11
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -1
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +1 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +10 -23
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +4 -2
- package/dist/collection/components/calcite-action/calcite-action.css +5 -1
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +5 -1
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -1
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +5 -1
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +7 -8
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
- package/dist/collection/components/calcite-alert/calcite-alert.css +29 -40
- package/dist/collection/components/calcite-alert/calcite-alert.js +21 -10
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +5 -1
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
- package/dist/collection/components/calcite-block/calcite-block.css +17 -35
- package/dist/collection/components/calcite-block/calcite-block.js +10 -9
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +7 -13
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +1 -2
- package/dist/collection/components/calcite-button/calcite-button.css +44 -72
- package/dist/collection/components/calcite-button/calcite-button.js +9 -6
- package/dist/collection/components/calcite-button/resources.js +3 -1
- package/dist/collection/components/calcite-card/calcite-card.css +6 -7
- package/dist/collection/components/calcite-card/calcite-card.js +2 -6
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +27 -12
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
- package/dist/collection/components/calcite-chip/calcite-chip.css +18 -39
- package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +7 -8
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +12 -18
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +5 -1
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +14 -20
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +5 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +24 -13
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +145 -28
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +7 -14
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +2 -5
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +7 -19
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -5
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +5 -1
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +91 -25
- package/dist/collection/components/calcite-date-picker/resources.js +2 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +27 -9
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +5 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +5 -1
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +5 -28
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +6 -9
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +5 -1
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +41 -124
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
- package/dist/collection/components/calcite-fab/calcite-fab.css +5 -1
- package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
- package/dist/collection/components/calcite-filter/calcite-filter.css +8 -22
- package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
- package/dist/collection/components/calcite-flow/calcite-flow.css +5 -1
- package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
- package/dist/collection/components/calcite-graph/calcite-graph.css +5 -1
- package/dist/collection/components/calcite-graph/calcite-graph.js +2 -2
- package/dist/collection/components/calcite-handle/calcite-handle.css +5 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +5 -1
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +14 -56
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +43 -32
- package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
- package/dist/collection/components/calcite-input/calcite-input.css +119 -171
- package/dist/collection/components/calcite-input/calcite-input.js +143 -82
- package/dist/collection/components/calcite-input/resources.js +14 -12
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +20 -1
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +205 -46
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +9 -10
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +20 -1
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +117 -82
- package/dist/collection/components/calcite-label/calcite-label.css +9 -8
- package/dist/collection/components/calcite-label/calcite-label.js +1 -4
- package/dist/collection/components/calcite-link/calcite-link.css +15 -18
- package/dist/collection/components/calcite-link/calcite-link.js +1 -1
- package/dist/collection/components/calcite-list/calcite-list.css +5 -1
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +12 -1
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +5 -1
- package/dist/collection/components/calcite-loader/calcite-loader.css +10 -11
- package/dist/collection/components/calcite-modal/calcite-modal.css +16 -26
- package/dist/collection/components/calcite-modal/calcite-modal.js +4 -7
- package/dist/collection/components/calcite-notice/calcite-notice.css +23 -33
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
- package/dist/collection/components/calcite-option/calcite-option.css +5 -1
- package/dist/collection/components/calcite-option/calcite-option.js +3 -1
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +5 -1
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +6 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
- package/dist/collection/components/calcite-panel/calcite-panel.css +24 -36
- package/dist/collection/components/calcite-panel/calcite-panel.js +12 -15
- package/dist/collection/components/calcite-panel/resources.js +2 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +5 -1
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +1 -1
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +2 -2
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +6 -7
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +6 -7
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +1 -1
- package/dist/collection/components/calcite-popover/calcite-popover.css +7 -5
- package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +5 -1
- package/dist/collection/components/calcite-progress/calcite-progress.css +5 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +92 -2
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -90
- package/dist/collection/components/calcite-radio-button/resources.js +1 -1
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +5 -1
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +20 -1
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +78 -43
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +7 -3
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
- package/dist/collection/components/calcite-rating/calcite-rating.css +23 -19
- package/dist/collection/components/calcite-rating/calcite-rating.js +51 -6
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
- package/dist/collection/components/calcite-select/calcite-select.css +27 -25
- package/dist/collection/components/calcite-select/calcite-select.js +100 -13
- package/dist/collection/components/calcite-shell/calcite-shell.css +17 -13
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +8 -25
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +87 -22
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +205 -7
- package/dist/collection/components/calcite-shell-panel/resources.js +6 -1
- package/dist/collection/components/calcite-slider/calcite-slider.css +164 -165
- package/dist/collection/components/calcite-slider/calcite-slider.js +134 -41
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +5 -1
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +9 -2
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +29 -6
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +5 -1
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +19 -73
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
- package/dist/collection/components/calcite-switch/calcite-switch.css +22 -21
- package/dist/collection/components/calcite-switch/calcite-switch.js +28 -67
- package/dist/collection/components/calcite-tab/calcite-tab.css +10 -2
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +5 -3
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +16 -23
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +5 -9
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +5 -1
- package/dist/collection/components/calcite-tile/calcite-tile.css +5 -1
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +7 -15
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -15
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +5 -1
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +61 -92
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +261 -296
- package/dist/collection/components/calcite-time-picker/resources.js +15 -9
- package/dist/collection/components/calcite-tip/calcite-tip.css +5 -1
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +5 -1
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +8 -13
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +5 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +5 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -2
- package/dist/collection/components/calcite-tree/calcite-tree.css +5 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +55 -73
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -2
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +5 -1
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +1 -1
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +5 -1
- package/dist/collection/components/functional/CalciteExpandToggle.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +26 -0
- package/dist/collection/utils/form.js +167 -14
- package/dist/collection/utils/key.js +0 -23
- package/dist/collection/utils/math.js +11 -0
- package/dist/collection/utils/number.js +9 -1
- package/dist/collection/utils/time.js +144 -36
- package/dist/components/CalciteExpandToggle.js +1 -1
- package/dist/components/calcite-accordion-item.js +9 -4
- package/dist/components/calcite-accordion.js +6 -4
- package/dist/components/calcite-action-bar.js +29 -2
- package/dist/components/calcite-action-group2.js +5 -2
- package/dist/components/calcite-action-menu2.js +5 -2
- package/dist/components/calcite-action-pad.js +7 -9
- package/dist/components/calcite-action2.js +5 -2
- package/dist/components/calcite-alert.js +25 -12
- package/dist/components/calcite-avatar.js +8 -6
- package/dist/components/calcite-block-section.js +7 -4
- package/dist/components/calcite-block.js +13 -8
- package/dist/components/calcite-button2.js +16 -8
- package/dist/components/calcite-card.js +7 -7
- package/dist/components/calcite-checkbox2.js +41 -88
- package/dist/components/calcite-chip2.js +8 -6
- package/dist/components/calcite-color-picker-hex-input2.js +19 -22
- package/dist/components/calcite-color-picker-swatch2.js +26 -15
- package/dist/components/calcite-color-picker.js +17 -19
- package/dist/components/calcite-combobox-item-group.js +7 -5
- package/dist/components/calcite-combobox-item.js +6 -5
- package/dist/components/calcite-combobox.js +89 -27
- package/dist/components/calcite-date-picker-day2.js +6 -4
- package/dist/components/calcite-date-picker-month-header2.js +13 -12
- package/dist/components/calcite-date-picker-month2.js +11 -11
- package/dist/components/calcite-date-picker2.js +54 -20
- package/dist/components/calcite-dropdown-group.js +7 -5
- package/dist/components/calcite-dropdown-item.js +9 -9
- package/dist/components/calcite-dropdown2.js +10 -9
- package/dist/components/calcite-fab.js +8 -6
- package/dist/components/calcite-filter2.js +8 -21
- package/dist/components/calcite-flow.js +5 -2
- package/dist/components/calcite-graph2.js +7 -4
- package/dist/components/calcite-handle2.js +5 -2
- package/dist/components/calcite-icon2.js +5 -2
- package/dist/components/calcite-inline-editable.js +56 -43
- package/dist/components/calcite-input-date-picker.js +91 -20
- package/dist/components/calcite-input-message.js +7 -5
- package/dist/components/calcite-input-time-picker.js +68 -53
- package/dist/components/calcite-input2.js +116 -78
- package/dist/components/calcite-label2.js +6 -5
- package/dist/components/calcite-link2.js +6 -3
- package/dist/components/calcite-list-item-group.js +5 -2
- package/dist/components/calcite-list-item.js +5 -2
- package/dist/components/calcite-list.js +5 -2
- package/dist/components/calcite-loader2.js +5 -2
- package/dist/components/calcite-modal.js +9 -8
- package/dist/components/calcite-notice.js +7 -5
- package/dist/components/calcite-option-group.js +5 -2
- package/dist/components/calcite-option.js +8 -3
- package/dist/components/calcite-pagination.js +7 -6
- package/dist/components/calcite-panel.js +15 -14
- package/dist/components/calcite-pick-list-group.js +7 -6
- package/dist/components/calcite-pick-list-item2.js +5 -2
- package/dist/components/calcite-pick-list.js +5 -2
- package/dist/components/calcite-popover-manager.js +5 -2
- package/dist/components/calcite-popover2.js +7 -6
- package/dist/components/calcite-progress2.js +5 -2
- package/dist/components/calcite-radio-button-group.js +5 -2
- package/dist/components/calcite-radio-button.js +89 -90
- package/dist/components/calcite-radio-group-item.js +10 -15
- package/dist/components/calcite-radio-group.js +40 -42
- package/dist/components/calcite-rating.js +18 -6
- package/dist/components/calcite-scrim2.js +5 -2
- package/dist/components/calcite-select.js +42 -10
- package/dist/components/calcite-shell-center-row.js +8 -6
- package/dist/components/calcite-shell-panel.js +176 -9
- package/dist/components/calcite-shell.js +5 -2
- package/dist/components/calcite-slider.js +57 -23
- package/dist/components/calcite-sortable-list.js +5 -2
- package/dist/components/calcite-split-button.js +9 -5
- package/dist/components/calcite-stepper-item.js +8 -7
- package/dist/components/calcite-stepper.js +6 -4
- package/dist/components/calcite-switch2.js +29 -54
- package/dist/components/calcite-tab-nav2.js +5 -2
- package/dist/components/calcite-tab-title2.js +10 -10
- package/dist/components/calcite-tab2.js +5 -2
- package/dist/components/calcite-tabs2.js +5 -2
- package/dist/components/calcite-tile-select-group.js +5 -2
- package/dist/components/calcite-tile-select.js +10 -11
- package/dist/components/calcite-tile2.js +5 -2
- package/dist/components/calcite-time-picker2.js +330 -195
- package/dist/components/calcite-tip-group.js +5 -2
- package/dist/components/calcite-tip-manager.js +5 -2
- package/dist/components/calcite-tip.js +5 -2
- package/dist/components/calcite-tooltip-manager2.js +6 -4
- package/dist/components/calcite-tooltip.js +5 -2
- package/dist/components/calcite-tree-item.js +6 -4
- package/dist/components/calcite-tree.js +5 -2
- package/dist/components/calcite-value-list-item.js +5 -2
- package/dist/components/calcite-value-list.js +5 -2
- package/dist/components/form.js +169 -15
- package/dist/components/math.js +12 -1
- package/dist/components/number.js +14 -3
- package/dist/components/popper.js +90 -64
- package/dist/components/shared-list-render.js +5 -5
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +1904 -1316
- package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-c33bd6fd.js} +2 -2
- package/dist/esm/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -6
- package/dist/esm/calcite-action-bar.entry.js +27 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +2 -2
- package/dist/esm/calcite-action-pad.entry.js +5 -10
- package/dist/esm/calcite-action.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +22 -12
- package/dist/esm/calcite-avatar.entry.js +5 -6
- package/dist/esm/calcite-block_2.entry.js +13 -11
- package/dist/esm/calcite-button.entry.js +12 -7
- package/dist/esm/calcite-card.entry.js +4 -8
- package/dist/esm/calcite-checkbox.entry.js +36 -85
- package/dist/esm/calcite-chip.entry.js +5 -6
- package/dist/esm/calcite-color-picker_3.entry.js +51 -53
- package/dist/esm/calcite-combobox_3.entry.js +88 -34
- package/dist/esm/calcite-date-picker_4.entry.js +67 -39
- package/dist/esm/calcite-dropdown_3.entry.js +14 -19
- package/dist/esm/calcite-fab.entry.js +5 -6
- package/dist/esm/calcite-filter.entry.js +5 -20
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +54 -26
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +51 -42
- package/dist/esm/calcite-input-date-picker.entry.js +87 -22
- package/dist/esm/calcite-input-message.entry.js +4 -5
- package/dist/esm/calcite-input-time-picker_2.entry.js +369 -235
- package/dist/esm/calcite-input.entry.js +109 -77
- package/dist/esm/calcite-label.entry.js +3 -6
- package/dist/esm/calcite-link.entry.js +3 -3
- package/dist/esm/calcite-list_3.entry.js +5 -5
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +6 -8
- package/dist/esm/calcite-notice.entry.js +4 -5
- package/dist/esm/calcite-option_3.entry.js +40 -12
- package/dist/esm/calcite-pagination.entry.js +4 -7
- package/dist/esm/calcite-panel.entry.js +13 -15
- package/dist/esm/calcite-pick-list_3.entry.js +8 -10
- package/dist/esm/calcite-popover_2.entry.js +7 -9
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +256 -0
- package/dist/esm/calcite-radio-group_2.entry.js +38 -52
- package/dist/esm/calcite-rating.entry.js +14 -6
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +173 -13
- package/dist/esm/calcite-sortable-list.entry.js +2 -2
- package/dist/esm/calcite-split-button.entry.js +5 -6
- package/dist/esm/calcite-stepper_2.entry.js +7 -9
- package/dist/esm/calcite-switch.entry.js +25 -51
- package/dist/esm/calcite-tab_4.entry.js +10 -13
- package/dist/esm/calcite-tile-select_2.entry.js +6 -10
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +5 -5
- package/dist/esm/calcite-tooltip_2.entry.js +5 -6
- package/dist/esm/calcite-tree_2.entry.js +4 -5
- package/dist/esm/calcite-value-list_2.entry.js +4 -4
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/form-160b0fb5.js +174 -0
- package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
- package/dist/esm/math-456207f5.js +18 -0
- package/dist/esm/{number-e7393766.js → number-06e8500e.js} +14 -3
- package/dist/esm/{popper-dc4b45cf.js → popper-f5caedc4.js} +90 -64
- package/dist/esm/{resources-8dd80c84.js → resources-35c1823f.js} +6 -6
- package/dist/esm/{resources-c59a1a15.js → resources-b4eee1d4.js} +4 -3
- package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
- package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- 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 +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
- 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 +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/form-160b0fb5.js +5 -0
- package/dist/esm-es5/index-9de00868.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-6c1b85c7.js → locale-4c38cf6d.js} +1 -1
- package/dist/esm-es5/math-456207f5.js +5 -0
- package/dist/esm-es5/number-06e8500e.js +5 -0
- package/dist/esm-es5/popper-f5caedc4.js +5 -0
- package/dist/esm-es5/resources-35c1823f.js +5 -0
- package/dist/esm-es5/{resources-c59a1a15.js → resources-b4eee1d4.js} +1 -1
- package/dist/extras/docs-json.json +503 -317
- package/dist/types/components/calcite-button/resources.d.ts +2 -0
- package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
- package/dist/types/components/calcite-input/resources.d.ts +2 -0
- package/dist/types/components/calcite-panel/resources.d.ts +2 -0
- package/dist/types/components/calcite-shell-panel/resources.d.ts +5 -0
- package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
- package/dist/types/components.d.ts +241 -127
- package/dist/types/preact.d.ts +0 -2
- package/dist/types/utils/conditionalSlot.d.ts +17 -0
- package/dist/types/utils/form.d.ts +112 -1
- package/dist/types/utils/key.d.ts +0 -4
- package/dist/types/utils/math.d.ts +1 -0
- package/dist/types/utils/number.d.ts +2 -0
- package/dist/types/utils/time.d.ts +18 -5
- package/hydrate/index.js +1877 -1268
- package/package.json +35 -34
- package/readme.md +2 -2
- package/CHANGELOG.md +0 -1509
- package/dist/calcite/p-0100aeb0.entry.js +0 -5
- package/dist/calcite/p-03706508.system.entry.js +0 -5
- package/dist/calcite/p-05d1dfc6.js +0 -5
- package/dist/calcite/p-06646eed.system.entry.js +0 -5
- package/dist/calcite/p-0797f73c.system.entry.js +0 -5
- package/dist/calcite/p-09e3fcfc.system.entry.js +0 -5
- package/dist/calcite/p-0ba6ede9.entry.js +0 -5
- package/dist/calcite/p-0ecd0204.system.entry.js +0 -5
- package/dist/calcite/p-0f3d73e3.system.entry.js +0 -5
- package/dist/calcite/p-10759c71.system.entry.js +0 -5
- package/dist/calcite/p-10de63d7.system.entry.js +0 -5
- package/dist/calcite/p-157d05ce.js +0 -5
- package/dist/calcite/p-15a45778.system.entry.js +0 -5
- package/dist/calcite/p-1e875199.entry.js +0 -5
- package/dist/calcite/p-1f7130a9.entry.js +0 -5
- package/dist/calcite/p-2418cceb.entry.js +0 -5
- package/dist/calcite/p-28261aae.entry.js +0 -5
- package/dist/calcite/p-3383d9b4.entry.js +0 -5
- package/dist/calcite/p-36e5db45.entry.js +0 -5
- package/dist/calcite/p-37859236.entry.js +0 -5
- package/dist/calcite/p-38ee7306.system.entry.js +0 -5
- package/dist/calcite/p-38f09842.entry.js +0 -5
- package/dist/calcite/p-3962cd38.entry.js +0 -5
- package/dist/calcite/p-3bb30b44.system.entry.js +0 -5
- package/dist/calcite/p-3cf93a58.system.entry.js +0 -5
- package/dist/calcite/p-3e438b5b.system.entry.js +0 -5
- package/dist/calcite/p-413b4857.system.entry.js +0 -5
- package/dist/calcite/p-4185db77.entry.js +0 -5
- package/dist/calcite/p-47313747.system.js +0 -5
- package/dist/calcite/p-49d5ee42.system.entry.js +0 -5
- package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
- package/dist/calcite/p-502736d8.system.entry.js +0 -5
- package/dist/calcite/p-507b2cc4.entry.js +0 -5
- package/dist/calcite/p-51bc5466.entry.js +0 -5
- package/dist/calcite/p-527146c8.system.entry.js +0 -5
- package/dist/calcite/p-530b28e1.system.entry.js +0 -5
- package/dist/calcite/p-5322b333.system.entry.js +0 -5
- package/dist/calcite/p-56b352bf.system.js +0 -5
- package/dist/calcite/p-58e98b2d.system.entry.js +0 -5
- package/dist/calcite/p-58eca102.entry.js +0 -5
- package/dist/calcite/p-5ce47e9f.entry.js +0 -5
- package/dist/calcite/p-6621aee1.entry.js +0 -5
- package/dist/calcite/p-684ccd4e.system.entry.js +0 -5
- package/dist/calcite/p-6988c6b7.system.entry.js +0 -5
- package/dist/calcite/p-6c8a562f.system.entry.js +0 -5
- package/dist/calcite/p-70cd1387.system.entry.js +0 -5
- package/dist/calcite/p-71ea4a6f.system.entry.js +0 -5
- package/dist/calcite/p-72563742.js +0 -5
- package/dist/calcite/p-72fa390e.entry.js +0 -5
- package/dist/calcite/p-75f714c9.entry.js +0 -5
- package/dist/calcite/p-76ccd204.entry.js +0 -5
- package/dist/calcite/p-79cbbf2d.js +0 -5
- package/dist/calcite/p-7a6c6382.entry.js +0 -5
- package/dist/calcite/p-7ade2294.system.entry.js +0 -5
- package/dist/calcite/p-7b869bc5.entry.js +0 -5
- package/dist/calcite/p-7b89726e.system.entry.js +0 -5
- package/dist/calcite/p-7c161518.system.entry.js +0 -5
- package/dist/calcite/p-7c37ca39.entry.js +0 -5
- package/dist/calcite/p-7dd5c4e4.entry.js +0 -5
- package/dist/calcite/p-83302e1c.entry.js +0 -5
- package/dist/calcite/p-83ccefba.system.entry.js +0 -5
- package/dist/calcite/p-86af9de1.entry.js +0 -5
- package/dist/calcite/p-8953f712.entry.js +0 -5
- package/dist/calcite/p-89cdfa96.system.js +0 -5
- package/dist/calcite/p-8bc3e126.entry.js +0 -5
- package/dist/calcite/p-91645bf7.system.js +0 -5
- package/dist/calcite/p-91f046a2.entry.js +0 -5
- package/dist/calcite/p-98789055.system.entry.js +0 -5
- package/dist/calcite/p-98a632a4.system.entry.js +0 -5
- package/dist/calcite/p-9affee61.entry.js +0 -5
- package/dist/calcite/p-9f92ae58.system.entry.js +0 -5
- package/dist/calcite/p-9fa024e6.system.entry.js +0 -5
- package/dist/calcite/p-9fa5e356.entry.js +0 -5
- package/dist/calcite/p-9fa67508.entry.js +0 -5
- package/dist/calcite/p-9fc0dc2c.system.entry.js +0 -5
- package/dist/calcite/p-a09634e2.entry.js +0 -5
- package/dist/calcite/p-a5bfc29d.system.entry.js +0 -5
- package/dist/calcite/p-a677e52e.entry.js +0 -5
- package/dist/calcite/p-a7ba0292.system.js +0 -5
- package/dist/calcite/p-a8569c55.system.entry.js +0 -5
- package/dist/calcite/p-ac6b615b.entry.js +0 -5
- package/dist/calcite/p-b018fbbd.entry.js +0 -5
- package/dist/calcite/p-b1f88d45.system.js +0 -5
- package/dist/calcite/p-b244a00c.entry.js +0 -5
- package/dist/calcite/p-b2ab0485.js +0 -5
- package/dist/calcite/p-b3d6ab12.system.entry.js +0 -5
- package/dist/calcite/p-b41deed0.system.entry.js +0 -5
- package/dist/calcite/p-b42d730f.entry.js +0 -5
- package/dist/calcite/p-b4960d06.system.js +0 -5
- package/dist/calcite/p-b4e7b593.system.entry.js +0 -5
- package/dist/calcite/p-b8d040e5.system.entry.js +0 -5
- package/dist/calcite/p-ba1322e6.system.entry.js +0 -5
- package/dist/calcite/p-bf25e278.system.entry.js +0 -5
- package/dist/calcite/p-bf8b70a8.entry.js +0 -5
- package/dist/calcite/p-c399cfce.entry.js +0 -5
- package/dist/calcite/p-c4294f70.entry.js +0 -5
- package/dist/calcite/p-c48b4b7e.system.entry.js +0 -5
- package/dist/calcite/p-c8e4117c.system.entry.js +0 -5
- package/dist/calcite/p-c99d8f9e.system.entry.js +0 -5
- package/dist/calcite/p-c9ecea64.entry.js +0 -5
- package/dist/calcite/p-ca79fabf.system.entry.js +0 -5
- package/dist/calcite/p-cacca548.entry.js +0 -5
- package/dist/calcite/p-cc4aeb6f.entry.js +0 -5
- package/dist/calcite/p-cca94491.system.entry.js +0 -5
- package/dist/calcite/p-cd41629f.entry.js +0 -5
- package/dist/calcite/p-d35e423d.js +0 -5
- package/dist/calcite/p-d4059426.entry.js +0 -5
- package/dist/calcite/p-d53cc958.js +0 -5
- package/dist/calcite/p-d6048152.system.entry.js +0 -5
- package/dist/calcite/p-daa110fe.system.entry.js +0 -5
- package/dist/calcite/p-dc6aef8b.entry.js +0 -5
- package/dist/calcite/p-dcf30b00.system.entry.js +0 -5
- package/dist/calcite/p-de3a04c2.system.entry.js +0 -5
- package/dist/calcite/p-e35e7216.system.js +0 -5
- package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
- package/dist/calcite/p-e638ff0e.entry.js +0 -5
- package/dist/calcite/p-eccb140e.entry.js +0 -5
- package/dist/calcite/p-edf0f4f8.entry.js +0 -5
- package/dist/calcite/p-eed43a57.system.entry.js +0 -5
- package/dist/calcite/p-f0228763.entry.js +0 -5
- package/dist/calcite/p-f32e61bb.system.entry.js +0 -5
- package/dist/calcite/p-f5bb39bb.js +0 -5
- package/dist/calcite/p-f6f4648e.system.entry.js +0 -5
- package/dist/calcite/p-f93a7fce.entry.js +0 -5
- package/dist/calcite/p-fba65e4a.system.entry.js +0 -5
- package/dist/cjs/calcite-radio_2.cjs.entry.js +0 -300
- package/dist/cjs/form-00fb301c.js +0 -22
- package/dist/cjs/key-8bfb93ec.js +0 -37
- package/dist/cjs/math-9d44163f.js +0 -9
- package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
- package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
- package/dist/components/calcite-radio.d.ts +0 -11
- package/dist/components/calcite-radio.js +0 -10
- package/dist/components/calcite-radio2.js +0 -68
- package/dist/components/key.js +0 -33
- package/dist/esm/calcite-radio_2.entry.js +0 -295
- package/dist/esm/form-cee9f632.js +0 -20
- package/dist/esm/key-69001a68.js +0 -33
- package/dist/esm/math-250d4476.js +0 -7
- package/dist/esm-es5/CalciteExpandToggle-235a6bfd.js +0 -5
- package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
- package/dist/esm-es5/form-cee9f632.js +0 -5
- package/dist/esm-es5/index-66803519.js +0 -5
- package/dist/esm-es5/key-69001a68.js +0 -5
- package/dist/esm-es5/math-250d4476.js +0 -5
- package/dist/esm-es5/number-e7393766.js +0 -5
- package/dist/esm-es5/popper-dc4b45cf.js +0 -5
- package/dist/esm-es5/resources-8dd80c84.js +0 -5
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +0 -42
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +0 -53
- package/dist/types/components/calcite-action/calcite-action.d.ts +0 -73
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +0 -68
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +0 -39
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +0 -82
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +0 -52
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -79
- package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +0 -26
- package/dist/types/components/calcite-block/calcite-block.d.ts +0 -72
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +0 -43
- package/dist/types/components/calcite-button/calcite-button.d.ts +0 -81
- package/dist/types/components/calcite-card/calcite-card.d.ts +0 -43
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +0 -74
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +0 -37
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -225
- package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +0 -51
- package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +0 -23
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +0 -159
- package/dist/types/components/calcite-combobox/interfaces.d.ts +0 -6
- package/dist/types/components/calcite-combobox/utils.d.ts +0 -6
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +0 -46
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +0 -17
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +0 -114
- package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +0 -45
- package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +0 -97
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +0 -55
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +0 -98
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +0 -32
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +0 -52
- package/dist/types/components/calcite-fab/calcite-fab.d.ts +0 -47
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +0 -62
- package/dist/types/components/calcite-flow/calcite-flow.d.ts +0 -22
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +0 -29
- package/dist/types/components/calcite-handle/calcite-handle.d.ts +0 -22
- package/dist/types/components/calcite-icon/calcite-icon.d.ts +0 -32
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +0 -70
- package/dist/types/components/calcite-input/calcite-input.d.ts +0 -161
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +0 -135
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +0 -27
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +0 -73
- package/dist/types/components/calcite-label/calcite-label.d.ts +0 -30
- package/dist/types/components/calcite-link/calcite-link.d.ts +0 -33
- package/dist/types/components/calcite-list/calcite-list.d.ts +0 -16
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +0 -37
- package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +0 -18
- package/dist/types/components/calcite-loader/calcite-loader.d.ts +0 -27
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +0 -88
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -51
- package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +0 -51
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +0 -119
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +0 -74
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +0 -30
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +0 -18
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +0 -18
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +0 -103
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +0 -107
- package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +0 -19
- package/dist/types/components/calcite-progress/calcite-progress.d.ts +0 -15
- package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +0 -92
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +0 -32
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +0 -48
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -32
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +0 -49
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +0 -17
- package/dist/types/components/calcite-select/calcite-select.d.ts +0 -58
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +0 -21
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +0 -22
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +0 -36
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +0 -173
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +0 -50
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +0 -49
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +0 -58
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +0 -65
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +0 -45
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +0 -42
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +0 -74
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +0 -92
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +0 -65
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +0 -33
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +0 -57
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +0 -123
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +0 -44
- package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +0 -65
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +0 -60
- package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +0 -41
- package/dist/types/components/calcite-tree/calcite-tree.d.ts +0 -38
- package/dist/types/components/calcite-tree/interfaces.d.ts +0 -10
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +0 -56
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +0 -87
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +0 -76
- package/dist/types/components/functional/CalciteExpandToggle.d.ts +0 -19
- package/dist/types/utils/label.d.ts +0 -35
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import { Component, Element, Event, h, Host,
|
|
6
|
-
import { getElementDir, getElementProp, setRequestedIcon
|
|
7
|
-
import { getKey } from "../../utils/key";
|
|
5
|
+
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
|
+
import { getElementDir, getElementProp, setRequestedIcon } from "../../utils/dom";
|
|
8
7
|
import { CSS, INPUT_TYPE_ICONS, SLOTS } from "./resources";
|
|
9
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
10
10
|
import { getDecimalSeparator, delocalizeNumberString, localizeNumberString } from "../../utils/locale";
|
|
11
11
|
import { numberKeys } from "../../utils/key";
|
|
12
|
-
import { hiddenInputStyle } from "../../utils/form";
|
|
13
12
|
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
14
13
|
import { CSS_UTILITY, TEXT } from "../../utils/resources";
|
|
14
|
+
import { decimalPlaces } from "../../utils/math";
|
|
15
15
|
/**
|
|
16
16
|
* @slot action - A slot for positioning a button next to an input
|
|
17
17
|
*/
|
|
@@ -34,6 +34,8 @@ export class CalciteInput {
|
|
|
34
34
|
this.disabled = false;
|
|
35
35
|
/** for number values, displays the locale's group separator */
|
|
36
36
|
this.groupSeparator = false;
|
|
37
|
+
/** when true, the component will not be visible */
|
|
38
|
+
this.hidden = false;
|
|
37
39
|
/**
|
|
38
40
|
* string to override English loading text
|
|
39
41
|
* @default "Loading"
|
|
@@ -60,16 +62,38 @@ export class CalciteInput {
|
|
|
60
62
|
this.scale = "m";
|
|
61
63
|
/** specify the status of the input field, determines message and icons */
|
|
62
64
|
this.status = "idle";
|
|
65
|
+
/** @internal adds inline styles for text input when slotted in calcite-inline-editable */
|
|
66
|
+
this.editingEnabled = false;
|
|
63
67
|
/**
|
|
64
68
|
* specify the input type
|
|
65
69
|
*
|
|
66
70
|
* Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
|
|
67
71
|
*/
|
|
68
72
|
this.type = "text";
|
|
73
|
+
/** input value */
|
|
74
|
+
this.value = "";
|
|
69
75
|
/** keep track of the rendered child type */
|
|
70
76
|
this.childElType = "input";
|
|
77
|
+
//--------------------------------------------------------------------------
|
|
78
|
+
//
|
|
79
|
+
// Private Methods
|
|
80
|
+
//
|
|
81
|
+
//--------------------------------------------------------------------------
|
|
82
|
+
this.keyDownHandler = (event) => {
|
|
83
|
+
/* prevent default behavior for input to move the cursor to the beginning of the input with every ArrowUp press */
|
|
84
|
+
if (event.key === "ArrowUp") {
|
|
85
|
+
event.preventDefault();
|
|
86
|
+
}
|
|
87
|
+
if (this.readOnly || this.disabled) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (this.isClearable && event.key === "Escape") {
|
|
91
|
+
this.clearInputValue(event);
|
|
92
|
+
event.preventDefault();
|
|
93
|
+
}
|
|
94
|
+
};
|
|
71
95
|
this.clearInputValue = (nativeEvent) => {
|
|
72
|
-
this.setValue(
|
|
96
|
+
this.setValue("", nativeEvent, true);
|
|
73
97
|
};
|
|
74
98
|
this.inputBlurHandler = () => {
|
|
75
99
|
if (this.type === "number") {
|
|
@@ -174,9 +198,14 @@ export class CalciteInput {
|
|
|
174
198
|
}
|
|
175
199
|
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
176
200
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
177
|
-
const valueNudgeDelayInMs =
|
|
201
|
+
const valueNudgeDelayInMs = 100;
|
|
178
202
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
203
|
+
let firstValueNudge = true;
|
|
179
204
|
this.nudgeNumberValueIntervalId = setInterval(() => {
|
|
205
|
+
if (firstValueNudge) {
|
|
206
|
+
firstValueNudge = false;
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
180
209
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
181
210
|
}, valueNudgeDelayInMs);
|
|
182
211
|
};
|
|
@@ -184,18 +213,10 @@ export class CalciteInput {
|
|
|
184
213
|
clearInterval(this.nudgeNumberValueIntervalId);
|
|
185
214
|
};
|
|
186
215
|
this.numberButtonMouseDownHandler = (event) => {
|
|
187
|
-
// todo, when dropping ie11 support, refactor to use stepup/stepdown
|
|
188
|
-
// prevent blur and re-focus of input on mousedown
|
|
189
216
|
event.preventDefault();
|
|
190
217
|
const direction = event.target.dataset.adjustment;
|
|
191
218
|
this.nudgeNumberValue(direction, event);
|
|
192
219
|
};
|
|
193
|
-
this.reset = (nativeEvent) => {
|
|
194
|
-
if (this.type === "number") {
|
|
195
|
-
nativeEvent.preventDefault();
|
|
196
|
-
}
|
|
197
|
-
this.setValue(this.defaultValue, nativeEvent);
|
|
198
|
-
};
|
|
199
220
|
this.setChildElRef = (el) => {
|
|
200
221
|
this.childEl = el;
|
|
201
222
|
};
|
|
@@ -212,8 +233,8 @@ export class CalciteInput {
|
|
|
212
233
|
this.setLocalizedValue(this.value);
|
|
213
234
|
}
|
|
214
235
|
if (nativeEvent) {
|
|
215
|
-
if (this.type === "number"
|
|
216
|
-
|
|
236
|
+
if (this.type === "number") {
|
|
237
|
+
value = sanitizeNumberString(value);
|
|
217
238
|
}
|
|
218
239
|
const calciteInputInputEvent = this.calciteInputInput.emit({
|
|
219
240
|
element: this.childEl,
|
|
@@ -247,6 +268,10 @@ export class CalciteInput {
|
|
|
247
268
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
248
269
|
}
|
|
249
270
|
valueWatcher(newValue) {
|
|
271
|
+
if (newValue == null) {
|
|
272
|
+
this.value = "";
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
250
275
|
if (this.type === "number" &&
|
|
251
276
|
this.localizedValue !== localizeNumberString(newValue, this.locale)) {
|
|
252
277
|
this.setLocalizedValue(newValue);
|
|
@@ -259,8 +284,7 @@ export class CalciteInput {
|
|
|
259
284
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
260
285
|
}
|
|
261
286
|
get isClearable() {
|
|
262
|
-
|
|
263
|
-
return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
287
|
+
return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
|
|
264
288
|
}
|
|
265
289
|
get isTextarea() {
|
|
266
290
|
return this.childElType === "textarea";
|
|
@@ -272,10 +296,10 @@ export class CalciteInput {
|
|
|
272
296
|
//--------------------------------------------------------------------------
|
|
273
297
|
connectedCallback() {
|
|
274
298
|
var _a;
|
|
275
|
-
this.form = closestElementCrossShadowBoundary(this.el, "form");
|
|
276
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.addEventListener("reset", this.reset);
|
|
277
299
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
278
300
|
this.status = getElementProp(this.el, "status", this.status);
|
|
301
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
302
|
+
this.editingEnabled = (_a = this.inlineEditableEl) === null || _a === void 0 ? void 0 : _a.editingEnabled;
|
|
279
303
|
if (this.type === "number" && this.value) {
|
|
280
304
|
if (isValidNumber(this.value)) {
|
|
281
305
|
this.localizedValue = localizeNumberString(this.value, this.locale, this.groupSeparator);
|
|
@@ -285,16 +309,15 @@ export class CalciteInput {
|
|
|
285
309
|
}
|
|
286
310
|
}
|
|
287
311
|
connectLabel(this);
|
|
312
|
+
connectForm(this);
|
|
288
313
|
}
|
|
289
314
|
disconnectedCallback() {
|
|
290
|
-
var _a;
|
|
291
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.removeEventListener("reset", this.reset);
|
|
292
315
|
disconnectLabel(this);
|
|
316
|
+
disconnectForm(this);
|
|
293
317
|
}
|
|
294
318
|
componentWillLoad() {
|
|
295
319
|
var _a, _b;
|
|
296
320
|
this.childElType = this.type === "textarea" ? "textarea" : "input";
|
|
297
|
-
this.defaultValue = this.value;
|
|
298
321
|
this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
|
|
299
322
|
this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
|
|
300
323
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -302,9 +325,6 @@ export class CalciteInput {
|
|
|
302
325
|
componentDidLoad() {
|
|
303
326
|
this.slottedActionEl = this.el.querySelector("[slot=action]");
|
|
304
327
|
this.setDisabledAction();
|
|
305
|
-
if (this.type === "number" && this.childEl) {
|
|
306
|
-
this.childEl.style.cssText = hiddenInputStyle;
|
|
307
|
-
}
|
|
308
328
|
}
|
|
309
329
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
310
330
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
@@ -315,20 +335,6 @@ export class CalciteInput {
|
|
|
315
335
|
}
|
|
316
336
|
//--------------------------------------------------------------------------
|
|
317
337
|
//
|
|
318
|
-
// Event Listeners
|
|
319
|
-
//
|
|
320
|
-
//--------------------------------------------------------------------------
|
|
321
|
-
keyDownHandler(event) {
|
|
322
|
-
if (this.readOnly || this.disabled) {
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
if (this.isClearable && getKey(event.key) === "Escape") {
|
|
326
|
-
this.clearInputValue(event);
|
|
327
|
-
event.preventDefault();
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
//--------------------------------------------------------------------------
|
|
331
|
-
//
|
|
332
338
|
// Public Methods
|
|
333
339
|
//
|
|
334
340
|
//--------------------------------------------------------------------------
|
|
@@ -342,26 +348,45 @@ export class CalciteInput {
|
|
|
342
348
|
(_b = this.childEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
343
349
|
}
|
|
344
350
|
}
|
|
345
|
-
//--------------------------------------------------------------------------
|
|
346
|
-
//
|
|
347
|
-
// Private Methods
|
|
348
|
-
//
|
|
349
|
-
//--------------------------------------------------------------------------
|
|
350
351
|
onLabelClick() {
|
|
351
352
|
this.setFocus();
|
|
352
353
|
}
|
|
353
354
|
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
354
|
-
const value = this
|
|
355
|
+
const { value } = this;
|
|
355
356
|
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
356
357
|
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
const adjustment = direction === "up" ? 1 : -1;
|
|
359
|
+
const nudgedValue = inputVal + inputStep * adjustment;
|
|
360
|
+
const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
|
|
361
|
+
(typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
|
|
362
|
+
? inputVal
|
|
363
|
+
: nudgedValue;
|
|
364
|
+
const inputValPlaces = decimalPlaces(inputVal);
|
|
365
|
+
const inputStepPlaces = decimalPlaces(inputStep);
|
|
366
|
+
this.setValue(finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces)), nativeEvent, true);
|
|
367
|
+
}
|
|
368
|
+
onFormReset() {
|
|
369
|
+
this.setValue(this.defaultValue);
|
|
370
|
+
}
|
|
371
|
+
syncHiddenFormInput(input) {
|
|
372
|
+
var _a, _b, _c, _d;
|
|
373
|
+
if (this.type === "number") {
|
|
374
|
+
input.type = "number";
|
|
375
|
+
input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
|
|
376
|
+
input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
|
|
360
377
|
}
|
|
361
|
-
if (
|
|
362
|
-
|
|
378
|
+
else if (this.type === "text") {
|
|
379
|
+
input.type = "text";
|
|
380
|
+
if (this.minLength != null) {
|
|
381
|
+
input.minLength = this.minLength;
|
|
382
|
+
}
|
|
383
|
+
if (this.maxLength != null) {
|
|
384
|
+
input.maxLength = this.maxLength;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
else if (this.type === "password") {
|
|
388
|
+
input.type = "password";
|
|
363
389
|
}
|
|
364
|
-
this.setValue(newValue, nativeEvent, true);
|
|
365
390
|
}
|
|
366
391
|
setDisabledAction() {
|
|
367
392
|
if (!this.slottedActionEl) {
|
|
@@ -383,7 +408,7 @@ export class CalciteInput {
|
|
|
383
408
|
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
384
409
|
const inputClearButton = (h("button", { class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
385
410
|
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
386
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon,
|
|
411
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
387
412
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
388
413
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
389
414
|
[CSS.numberButtonItem]: true,
|
|
@@ -400,15 +425,20 @@ export class CalciteInput {
|
|
|
400
425
|
numberButtonsHorizontalDown));
|
|
401
426
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
402
427
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
403
|
-
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef,
|
|
404
|
-
const childEl =
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
428
|
+
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
429
|
+
const childEl = this.type !== "number"
|
|
430
|
+
? [
|
|
431
|
+
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
432
|
+
[CSS.editingEnabled]: this.editingEnabled,
|
|
433
|
+
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
434
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
435
|
+
this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper },
|
|
436
|
+
h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
437
|
+
]
|
|
438
|
+
: null;
|
|
439
|
+
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler },
|
|
440
|
+
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
441
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
412
442
|
? numberButtonsHorizontalDown
|
|
413
443
|
: null,
|
|
414
444
|
this.prefixText ? prefixText : null,
|
|
@@ -420,16 +450,17 @@ export class CalciteInput {
|
|
|
420
450
|
this.loading ? loader : null),
|
|
421
451
|
h("div", { class: CSS.actionWrapper },
|
|
422
452
|
h("slot", { name: SLOTS.action })),
|
|
423
|
-
this.type === "number" && this.numberButtonType === "vertical"
|
|
453
|
+
this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
424
454
|
? numberButtonsVertical
|
|
425
455
|
: null,
|
|
426
456
|
this.suffixText ? suffixText : null,
|
|
427
|
-
this.type === "number" && this.numberButtonType === "horizontal"
|
|
457
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
428
458
|
? numberButtonsHorizontalUp
|
|
429
|
-
: null
|
|
459
|
+
: null,
|
|
460
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
430
461
|
}
|
|
431
462
|
static get is() { return "calcite-input"; }
|
|
432
|
-
static get encapsulation() { return "
|
|
463
|
+
static get encapsulation() { return "shadow"; }
|
|
433
464
|
static get originalStyleUrls() { return {
|
|
434
465
|
"$": ["calcite-input.scss"]
|
|
435
466
|
}; }
|
|
@@ -532,6 +563,24 @@ export class CalciteInput {
|
|
|
532
563
|
"reflect": false,
|
|
533
564
|
"defaultValue": "false"
|
|
534
565
|
},
|
|
566
|
+
"hidden": {
|
|
567
|
+
"type": "boolean",
|
|
568
|
+
"mutable": false,
|
|
569
|
+
"complexType": {
|
|
570
|
+
"original": "boolean",
|
|
571
|
+
"resolved": "boolean",
|
|
572
|
+
"references": {}
|
|
573
|
+
},
|
|
574
|
+
"required": false,
|
|
575
|
+
"optional": false,
|
|
576
|
+
"docs": {
|
|
577
|
+
"tags": [],
|
|
578
|
+
"text": "when true, the component will not be visible"
|
|
579
|
+
},
|
|
580
|
+
"attribute": "hidden",
|
|
581
|
+
"reflect": false,
|
|
582
|
+
"defaultValue": "false"
|
|
583
|
+
},
|
|
535
584
|
"icon": {
|
|
536
585
|
"type": "any",
|
|
537
586
|
"mutable": false,
|
|
@@ -759,7 +808,7 @@ export class CalciteInput {
|
|
|
759
808
|
"references": {}
|
|
760
809
|
},
|
|
761
810
|
"required": false,
|
|
762
|
-
"optional":
|
|
811
|
+
"optional": false,
|
|
763
812
|
"docs": {
|
|
764
813
|
"tags": [],
|
|
765
814
|
"text": "The name of the input"
|
|
@@ -940,6 +989,27 @@ export class CalciteInput {
|
|
|
940
989
|
"attribute": "suffix-text",
|
|
941
990
|
"reflect": false
|
|
942
991
|
},
|
|
992
|
+
"editingEnabled": {
|
|
993
|
+
"type": "boolean",
|
|
994
|
+
"mutable": true,
|
|
995
|
+
"complexType": {
|
|
996
|
+
"original": "boolean",
|
|
997
|
+
"resolved": "boolean",
|
|
998
|
+
"references": {}
|
|
999
|
+
},
|
|
1000
|
+
"required": false,
|
|
1001
|
+
"optional": false,
|
|
1002
|
+
"docs": {
|
|
1003
|
+
"tags": [{
|
|
1004
|
+
"name": "internal",
|
|
1005
|
+
"text": "adds inline styles for text input when slotted in calcite-inline-editable"
|
|
1006
|
+
}],
|
|
1007
|
+
"text": ""
|
|
1008
|
+
},
|
|
1009
|
+
"attribute": "editing-enabled",
|
|
1010
|
+
"reflect": true,
|
|
1011
|
+
"defaultValue": "false"
|
|
1012
|
+
},
|
|
943
1013
|
"type": {
|
|
944
1014
|
"type": "string",
|
|
945
1015
|
"mutable": false,
|
|
@@ -967,13 +1037,14 @@ export class CalciteInput {
|
|
|
967
1037
|
"references": {}
|
|
968
1038
|
},
|
|
969
1039
|
"required": false,
|
|
970
|
-
"optional":
|
|
1040
|
+
"optional": false,
|
|
971
1041
|
"docs": {
|
|
972
1042
|
"tags": [],
|
|
973
1043
|
"text": "input value"
|
|
974
1044
|
},
|
|
975
1045
|
"attribute": "value",
|
|
976
|
-
"reflect": false
|
|
1046
|
+
"reflect": false,
|
|
1047
|
+
"defaultValue": "\"\""
|
|
977
1048
|
}
|
|
978
1049
|
}; }
|
|
979
1050
|
static get states() { return {
|
|
@@ -1037,15 +1108,12 @@ export class CalciteInput {
|
|
|
1037
1108
|
"cancelable": true,
|
|
1038
1109
|
"composed": true,
|
|
1039
1110
|
"docs": {
|
|
1040
|
-
"tags": [
|
|
1041
|
-
"name": "internal",
|
|
1042
|
-
"text": undefined
|
|
1043
|
-
}],
|
|
1111
|
+
"tags": [],
|
|
1044
1112
|
"text": "This event fires each time a new value is typed and committed."
|
|
1045
1113
|
},
|
|
1046
1114
|
"complexType": {
|
|
1047
|
-
"original": "
|
|
1048
|
-
"resolved": "
|
|
1115
|
+
"original": "void",
|
|
1116
|
+
"resolved": "void",
|
|
1049
1117
|
"references": {}
|
|
1050
1118
|
}
|
|
1051
1119
|
}]; }
|
|
@@ -1087,11 +1155,4 @@ export class CalciteInput {
|
|
|
1087
1155
|
"propName": "type",
|
|
1088
1156
|
"methodName": "updateRequestedIcon"
|
|
1089
1157
|
}]; }
|
|
1090
|
-
static get listeners() { return [{
|
|
1091
|
-
"name": "keydown",
|
|
1092
|
-
"method": "keyDownHandler",
|
|
1093
|
-
"target": undefined,
|
|
1094
|
-
"capture": false,
|
|
1095
|
-
"passive": false
|
|
1096
|
-
}]; }
|
|
1097
1158
|
}
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
export const CSS = {
|
|
6
|
-
loader: "
|
|
7
|
-
clearButton: "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
loader: "loader",
|
|
7
|
+
clearButton: "clear-button",
|
|
8
|
+
editingEnabled: "editing-enabled",
|
|
9
|
+
inlineChild: "inline-child",
|
|
10
|
+
inputIcon: "icon",
|
|
11
|
+
prefix: "prefix",
|
|
12
|
+
suffix: "suffix",
|
|
13
|
+
numberButtonWrapper: "number-button-wrapper",
|
|
14
|
+
buttonItemHorizontal: "number-button-item--horizontal",
|
|
15
|
+
wrapper: "element-wrapper",
|
|
16
|
+
inputWrapper: "wrapper",
|
|
17
|
+
actionWrapper: "action-wrapper",
|
|
18
|
+
resizeIconWrapper: "resize-icon-wrapper",
|
|
19
|
+
numberButtonItem: "number-button-item"
|
|
18
20
|
};
|
|
19
21
|
export const INPUT_TYPE_ICONS = {
|
|
20
22
|
tel: "phone",
|
|
@@ -47,7 +47,11 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));
|
|
51
|
+
--calcite-internal-duration-factor: var(--calcite-duration-factor, 1);
|
|
52
|
+
--calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
@@ -250,4 +254,19 @@
|
|
|
250
254
|
|
|
251
255
|
:host([range][layout=vertical][active]) .vertical-arrow-container {
|
|
252
256
|
display: none;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
::slotted(input[slot=hidden-form-input]) {
|
|
260
|
+
bottom: 0 !important;
|
|
261
|
+
left: 0 !important;
|
|
262
|
+
margin: 0 !important;
|
|
263
|
+
opacity: 0 !important;
|
|
264
|
+
outline: none !important;
|
|
265
|
+
padding: 0 !important;
|
|
266
|
+
position: absolute !important;
|
|
267
|
+
right: 0 !important;
|
|
268
|
+
top: 0 !important;
|
|
269
|
+
transform: none !important;
|
|
270
|
+
-webkit-appearance: none !important;
|
|
271
|
+
z-index: -1 !important;
|
|
253
272
|
}
|