@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,11 +2,11 @@
|
|
|
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,
|
|
5
|
+
import { Component, Element, Event, h, Host, Method, Prop } from "@stencil/core";
|
|
6
6
|
import { guid } from "../../utils/guid";
|
|
7
|
-
import {
|
|
8
|
-
import { hiddenInputStyle } from "../../utils/form";
|
|
7
|
+
import { HiddenFormInputSlot } from "../../utils/form";
|
|
9
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
|
+
import { connectForm, disconnectForm } from "../../utils/form";
|
|
10
10
|
export class CalciteCheckbox {
|
|
11
11
|
constructor() {
|
|
12
12
|
//--------------------------------------------------------------------------
|
|
@@ -29,8 +29,12 @@ export class CalciteCheckbox {
|
|
|
29
29
|
* https://css-tricks.com/indeterminate-checkboxes/
|
|
30
30
|
* */
|
|
31
31
|
this.indeterminate = false;
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* When true, makes the component required for form-submission.
|
|
34
|
+
*
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
this.required = false;
|
|
34
38
|
/** specify the scale of the checkbox, defaults to m */
|
|
35
39
|
this.scale = "m";
|
|
36
40
|
//--------------------------------------------------------------------------
|
|
@@ -42,13 +46,6 @@ export class CalciteCheckbox {
|
|
|
42
46
|
this.indeterminatePath = "M13 8v1H3V8z";
|
|
43
47
|
//--------------------------------------------------------------------------
|
|
44
48
|
//
|
|
45
|
-
// State
|
|
46
|
-
//
|
|
47
|
-
//--------------------------------------------------------------------------
|
|
48
|
-
/** The focused state of the checkbox. */
|
|
49
|
-
this.focused = false;
|
|
50
|
-
//--------------------------------------------------------------------------
|
|
51
|
-
//
|
|
52
49
|
// Private Methods
|
|
53
50
|
//
|
|
54
51
|
//--------------------------------------------------------------------------
|
|
@@ -56,26 +53,34 @@ export class CalciteCheckbox {
|
|
|
56
53
|
this.toggle = () => {
|
|
57
54
|
if (!this.disabled) {
|
|
58
55
|
this.checked = !this.checked;
|
|
59
|
-
|
|
56
|
+
this.setFocus();
|
|
60
57
|
this.indeterminate = false;
|
|
61
58
|
this.calciteCheckboxChange.emit();
|
|
62
59
|
}
|
|
63
60
|
};
|
|
61
|
+
this.keyDownHandler = (event) => {
|
|
62
|
+
if (event.key === " " || event.key === "Enter") {
|
|
63
|
+
this.toggle();
|
|
64
|
+
event.preventDefault();
|
|
65
|
+
}
|
|
66
|
+
};
|
|
64
67
|
this.clickHandler = () => {
|
|
65
68
|
this.toggle();
|
|
66
69
|
};
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
//--------------------------------------------------------------------------
|
|
71
|
+
//
|
|
72
|
+
// Event Listeners
|
|
73
|
+
//
|
|
74
|
+
//--------------------------------------------------------------------------
|
|
75
|
+
this.onToggleBlur = () => {
|
|
76
|
+
this.calciteInternalCheckboxBlur.emit(false);
|
|
77
|
+
};
|
|
78
|
+
this.onToggleFocus = () => {
|
|
79
|
+
this.calciteInternalCheckboxFocus.emit(true);
|
|
80
|
+
};
|
|
81
|
+
this.onLabelClick = () => {
|
|
82
|
+
this.toggle();
|
|
69
83
|
};
|
|
70
|
-
}
|
|
71
|
-
checkedWatcher(newChecked) {
|
|
72
|
-
this.input.checked = newChecked;
|
|
73
|
-
}
|
|
74
|
-
disabledChanged(disabled) {
|
|
75
|
-
this.input.disabled = disabled;
|
|
76
|
-
}
|
|
77
|
-
nameChanged(newName) {
|
|
78
|
-
this.input.name = newName;
|
|
79
84
|
}
|
|
80
85
|
//--------------------------------------------------------------------------
|
|
81
86
|
//
|
|
@@ -84,29 +89,8 @@ export class CalciteCheckbox {
|
|
|
84
89
|
//--------------------------------------------------------------------------
|
|
85
90
|
/** Sets focus on the component. */
|
|
86
91
|
async setFocus() {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
//--------------------------------------------------------------------------
|
|
90
|
-
//
|
|
91
|
-
// Event Listeners
|
|
92
|
-
//
|
|
93
|
-
//--------------------------------------------------------------------------
|
|
94
|
-
mouseenter() {
|
|
95
|
-
this.hovered = true;
|
|
96
|
-
}
|
|
97
|
-
mouseleave() {
|
|
98
|
-
this.hovered = false;
|
|
99
|
-
}
|
|
100
|
-
onInputBlur() {
|
|
101
|
-
this.focused = false;
|
|
102
|
-
this.calciteInternalCheckboxBlur.emit(false);
|
|
103
|
-
}
|
|
104
|
-
onInputFocus() {
|
|
105
|
-
this.focused = true;
|
|
106
|
-
this.calciteInternalCheckboxFocus.emit(true);
|
|
107
|
-
}
|
|
108
|
-
onLabelClick() {
|
|
109
|
-
this.toggle();
|
|
92
|
+
var _a;
|
|
93
|
+
(_a = this.toggleEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
110
94
|
}
|
|
111
95
|
//--------------------------------------------------------------------------
|
|
112
96
|
//
|
|
@@ -115,52 +99,25 @@ export class CalciteCheckbox {
|
|
|
115
99
|
//--------------------------------------------------------------------------
|
|
116
100
|
connectedCallback() {
|
|
117
101
|
this.guid = this.el.id || `calcite-checkbox-${guid()}`;
|
|
118
|
-
this.initialChecked = this.checked;
|
|
119
|
-
this.renderHiddenCheckboxInput();
|
|
120
|
-
const form = closestElementCrossShadowBoundary(this.el, "form");
|
|
121
|
-
if (form) {
|
|
122
|
-
form.addEventListener("reset", this.formResetHandler);
|
|
123
|
-
}
|
|
124
102
|
connectLabel(this);
|
|
125
|
-
|
|
126
|
-
componentDidLoad() {
|
|
127
|
-
this.input.setAttribute("aria-label", getLabelText(this));
|
|
103
|
+
connectForm(this);
|
|
128
104
|
}
|
|
129
105
|
disconnectedCallback() {
|
|
130
|
-
this.input.parentNode.removeChild(this.input);
|
|
131
|
-
const form = closestElementCrossShadowBoundary(this.el, "form");
|
|
132
|
-
if (form) {
|
|
133
|
-
form.removeEventListener("reset", this.formResetHandler);
|
|
134
|
-
}
|
|
135
106
|
disconnectLabel(this);
|
|
107
|
+
disconnectForm(this);
|
|
136
108
|
}
|
|
137
109
|
// --------------------------------------------------------------------------
|
|
138
110
|
//
|
|
139
111
|
// Render Methods
|
|
140
112
|
//
|
|
141
113
|
// --------------------------------------------------------------------------
|
|
142
|
-
renderHiddenCheckboxInput() {
|
|
143
|
-
this.input = document.createElement("input");
|
|
144
|
-
this.checked && this.input.setAttribute("checked", "");
|
|
145
|
-
this.input.disabled = this.disabled;
|
|
146
|
-
this.input.id = `${this.guid}-input`;
|
|
147
|
-
this.input.name = this.name;
|
|
148
|
-
this.input.onblur = this.onInputBlur.bind(this);
|
|
149
|
-
this.input.onfocus = this.onInputFocus.bind(this);
|
|
150
|
-
this.input.style.cssText = hiddenInputStyle;
|
|
151
|
-
this.input.type = "checkbox";
|
|
152
|
-
this.input.setAttribute("aria-label", getLabelText(this));
|
|
153
|
-
if (this.value) {
|
|
154
|
-
this.input.value = this.value != null ? this.value.toString() : "";
|
|
155
|
-
}
|
|
156
|
-
this.el.appendChild(this.input);
|
|
157
|
-
}
|
|
158
114
|
render() {
|
|
159
|
-
return (h(Host, { onClick: this.clickHandler },
|
|
160
|
-
h("div", { class:
|
|
115
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler },
|
|
116
|
+
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, ref: (toggleEl) => (this.toggleEl = toggleEl), role: "checkbox", tabIndex: 0 },
|
|
161
117
|
h("svg", { class: "check-svg", viewBox: "0 0 16 16" },
|
|
162
118
|
h("path", { d: this.getPath() })),
|
|
163
|
-
h("slot", null))
|
|
119
|
+
h("slot", null)),
|
|
120
|
+
h(HiddenFormInputSlot, { component: this })));
|
|
164
121
|
}
|
|
165
122
|
static get is() { return "calcite-checkbox"; }
|
|
166
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -284,22 +241,42 @@ export class CalciteCheckbox {
|
|
|
284
241
|
"reflect": false
|
|
285
242
|
},
|
|
286
243
|
"name": {
|
|
287
|
-
"type": "
|
|
244
|
+
"type": "any",
|
|
288
245
|
"mutable": false,
|
|
289
246
|
"complexType": {
|
|
290
|
-
"original": "
|
|
291
|
-
"resolved": "
|
|
247
|
+
"original": "any",
|
|
248
|
+
"resolved": "any",
|
|
292
249
|
"references": {}
|
|
293
250
|
},
|
|
294
251
|
"required": false,
|
|
295
|
-
"optional":
|
|
252
|
+
"optional": false,
|
|
296
253
|
"docs": {
|
|
297
254
|
"tags": [],
|
|
298
255
|
"text": "The name of the checkbox input"
|
|
299
256
|
},
|
|
300
257
|
"attribute": "name",
|
|
258
|
+
"reflect": true
|
|
259
|
+
},
|
|
260
|
+
"required": {
|
|
261
|
+
"type": "boolean",
|
|
262
|
+
"mutable": false,
|
|
263
|
+
"complexType": {
|
|
264
|
+
"original": "boolean",
|
|
265
|
+
"resolved": "boolean",
|
|
266
|
+
"references": {}
|
|
267
|
+
},
|
|
268
|
+
"required": false,
|
|
269
|
+
"optional": false,
|
|
270
|
+
"docs": {
|
|
271
|
+
"tags": [{
|
|
272
|
+
"name": "internal",
|
|
273
|
+
"text": undefined
|
|
274
|
+
}],
|
|
275
|
+
"text": "When true, makes the component required for form-submission."
|
|
276
|
+
},
|
|
277
|
+
"attribute": "required",
|
|
301
278
|
"reflect": true,
|
|
302
|
-
"defaultValue": "
|
|
279
|
+
"defaultValue": "false"
|
|
303
280
|
},
|
|
304
281
|
"scale": {
|
|
305
282
|
"type": "string",
|
|
@@ -333,7 +310,7 @@ export class CalciteCheckbox {
|
|
|
333
310
|
"references": {}
|
|
334
311
|
},
|
|
335
312
|
"required": false,
|
|
336
|
-
"optional":
|
|
313
|
+
"optional": false,
|
|
337
314
|
"docs": {
|
|
338
315
|
"tags": [],
|
|
339
316
|
"text": "The value of the checkbox input"
|
|
@@ -342,9 +319,6 @@ export class CalciteCheckbox {
|
|
|
342
319
|
"reflect": false
|
|
343
320
|
}
|
|
344
321
|
}; }
|
|
345
|
-
static get states() { return {
|
|
346
|
-
"focused": {}
|
|
347
|
-
}; }
|
|
348
322
|
static get events() { return [{
|
|
349
323
|
"method": "calciteInternalCheckboxBlur",
|
|
350
324
|
"name": "calciteInternalCheckboxBlur",
|
|
@@ -416,27 +390,4 @@ export class CalciteCheckbox {
|
|
|
416
390
|
}
|
|
417
391
|
}; }
|
|
418
392
|
static get elementRef() { return "el"; }
|
|
419
|
-
static get watchers() { return [{
|
|
420
|
-
"propName": "checked",
|
|
421
|
-
"methodName": "checkedWatcher"
|
|
422
|
-
}, {
|
|
423
|
-
"propName": "disabled",
|
|
424
|
-
"methodName": "disabledChanged"
|
|
425
|
-
}, {
|
|
426
|
-
"propName": "name",
|
|
427
|
-
"methodName": "nameChanged"
|
|
428
|
-
}]; }
|
|
429
|
-
static get listeners() { return [{
|
|
430
|
-
"name": "mouseenter",
|
|
431
|
-
"method": "mouseenter",
|
|
432
|
-
"target": undefined,
|
|
433
|
-
"capture": false,
|
|
434
|
-
"passive": true
|
|
435
|
-
}, {
|
|
436
|
-
"name": "mouseleave",
|
|
437
|
-
"method": "mouseleave",
|
|
438
|
-
"target": undefined,
|
|
439
|
-
"capture": false,
|
|
440
|
-
"passive": true
|
|
441
|
-
}]; }
|
|
442
393
|
}
|
|
@@ -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 {
|
|
@@ -106,7 +110,7 @@
|
|
|
106
110
|
:host([scale=m]) .chip-image-container {
|
|
107
111
|
height: 1.5rem;
|
|
108
112
|
width: 1.5rem;
|
|
109
|
-
padding-
|
|
113
|
+
padding-inline-start: 0.25rem;
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
:host([scale=l]) {
|
|
@@ -122,16 +126,6 @@
|
|
|
122
126
|
padding-left: 0.25rem;
|
|
123
127
|
}
|
|
124
128
|
|
|
125
|
-
:host([scale=m]) .calcite--rtl .chip-image-container {
|
|
126
|
-
padding-left: 0;
|
|
127
|
-
padding-right: 0.25rem;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
:host([scale=l]) .calcite--rtl .chip-image-container {
|
|
131
|
-
padding-left: 0;
|
|
132
|
-
padding-right: 0.25rem;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
129
|
:host {
|
|
136
130
|
display: inline-flex;
|
|
137
131
|
align-items: center;
|
|
@@ -143,7 +137,6 @@
|
|
|
143
137
|
cursor: default;
|
|
144
138
|
border-radius: 9999px;
|
|
145
139
|
box-sizing: border-box;
|
|
146
|
-
--calcite-chip-button-border-radius: 0 50px 50px 0;
|
|
147
140
|
}
|
|
148
141
|
|
|
149
142
|
.container {
|
|
@@ -159,31 +152,18 @@
|
|
|
159
152
|
white-space: nowrap;
|
|
160
153
|
}
|
|
161
154
|
|
|
162
|
-
.calcite--rtl {
|
|
163
|
-
text-align: right;
|
|
164
|
-
--calcite-chip-button-border-radius: 50px 0 0 50px;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
155
|
:host span {
|
|
168
156
|
padding: 0 var(--calcite-chip-spacing-unit-l);
|
|
169
157
|
}
|
|
170
158
|
|
|
171
159
|
:host([dismissible]) span {
|
|
172
|
-
padding:
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
:host([dismissible]) .calcite--rtl span {
|
|
176
|
-
padding: 0 var(--calcite-chip-spacing-unit-l) 0 var(--calcite-chip-spacing-unit-s);
|
|
160
|
+
padding-inline: var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s);
|
|
177
161
|
}
|
|
178
162
|
|
|
179
163
|
:host([icon]:not([dismissible])) span {
|
|
180
164
|
padding: 0 var(--calcite-chip-spacing-unit-l);
|
|
181
165
|
}
|
|
182
166
|
|
|
183
|
-
:host([icon]:not([dismissible])) .calcite--rtl span {
|
|
184
|
-
padding: 0 var(--calcite-chip-spacing-unit-l);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
167
|
:host button {
|
|
188
168
|
margin: 0;
|
|
189
169
|
background-color: transparent;
|
|
@@ -198,12 +178,15 @@
|
|
|
198
178
|
border-style: none;
|
|
199
179
|
cursor: pointer;
|
|
200
180
|
transition-property: all;
|
|
201
|
-
transition-duration:
|
|
181
|
+
transition-duration: var(--calcite-animation-timing);
|
|
202
182
|
transition-timing-function: ease-in-out;
|
|
203
183
|
transition-delay: 0s;
|
|
204
184
|
color: var(--calcite-ui-text-1);
|
|
205
185
|
-webkit-appearance: none;
|
|
206
|
-
border-radius:
|
|
186
|
+
border-start-start-radius: 0;
|
|
187
|
+
border-start-end-radius: 50px;
|
|
188
|
+
border-end-end-radius: 50px;
|
|
189
|
+
border-end-start-radius: 0;
|
|
207
190
|
padding: 0 var(--calcite-chip-spacing-unit-s);
|
|
208
191
|
color: inherit;
|
|
209
192
|
--calcite-chip-transparent-hover: var(--calcite-button-transparent-hover);
|
|
@@ -243,18 +226,14 @@
|
|
|
243
226
|
position: relative;
|
|
244
227
|
margin-top: 0;
|
|
245
228
|
margin-bottom: 0;
|
|
246
|
-
margin-right: 0;
|
|
247
229
|
transition-duration: 150ms;
|
|
248
230
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
249
|
-
margin-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
margin-bottom: 0;
|
|
256
|
-
margin-left: 0;
|
|
257
|
-
margin-right: var(--calcite-chip-spacing-unit-l);
|
|
231
|
+
margin-inline-end: 0;
|
|
232
|
+
margin-inline-start: var(--calcite-chip-spacing-unit-l);
|
|
233
|
+
border-start-start-radius: 0;
|
|
234
|
+
border-start-end-radius: 50px;
|
|
235
|
+
border-end-end-radius: 50px;
|
|
236
|
+
border-end-start-radius: 0;
|
|
258
237
|
}
|
|
259
238
|
|
|
260
239
|
:host([color=blue][appearance=solid]) {
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, h, Prop, Event, Element, Method } from "@stencil/core";
|
|
6
|
-
import {
|
|
6
|
+
import { getSlotted } from "../../utils/dom";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
8
8
|
import { CSS, TEXT, SLOTS, ICONS } from "./resources";
|
|
9
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
10
9
|
/**
|
|
11
10
|
* @slot - A slot for adding text.
|
|
12
11
|
* @slot image - A slot for adding an image.
|
|
@@ -65,11 +64,10 @@ export class CalciteChip {
|
|
|
65
64
|
h("slot", { name: SLOTS.image }))) : null;
|
|
66
65
|
}
|
|
67
66
|
render() {
|
|
68
|
-
const
|
|
69
|
-
const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, dir: dir, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
67
|
+
const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
70
68
|
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) },
|
|
71
69
|
h("calcite-icon", { icon: ICONS.close, scale: "s" })));
|
|
72
|
-
return (h("div", { class:
|
|
70
|
+
return (h("div", { class: "container" },
|
|
73
71
|
this.renderChipImage(),
|
|
74
72
|
this.icon ? iconEl : null,
|
|
75
73
|
h("span", { class: CSS.title, id: this.guid },
|
|
@@ -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 {
|
|
@@ -116,11 +120,6 @@
|
|
|
116
120
|
width: 272px;
|
|
117
121
|
}
|
|
118
122
|
|
|
119
|
-
:host([scale=l]) .control-section.section.calcite--rtl > :nth-child(2) {
|
|
120
|
-
margin-left: 0;
|
|
121
|
-
margin-right: 12px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
123
|
:host([scale=l]) .header {
|
|
125
124
|
padding-bottom: 0;
|
|
126
125
|
}
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
:host([scale=l]) .control-section > :nth-child(2) {
|
|
161
|
-
margin-
|
|
160
|
+
margin-inline-start: 12px;
|
|
162
161
|
}
|
|
163
162
|
|
|
164
163
|
:host([scale=l]) .color-hex-options {
|
|
@@ -285,7 +284,7 @@
|
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
.saved-color:hover {
|
|
288
|
-
transition: outline-color
|
|
287
|
+
transition: outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;
|
|
289
288
|
outline: 2px solid var(--calcite-ui-border-2);
|
|
290
289
|
outline-offset: 2px;
|
|
291
290
|
}
|
|
@@ -5,12 +5,10 @@
|
|
|
5
5
|
import { Component, Element, Event, h, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
6
|
import Color from "color";
|
|
7
7
|
import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, RGB_LIMITS, TEXT } from "./resources";
|
|
8
|
-
import { focusElement
|
|
8
|
+
import { focusElement } from "../../utils/dom";
|
|
9
9
|
import { colorEqual, CSSColorMode, normalizeHex, parseMode } from "./utils";
|
|
10
10
|
import { throttle } from "lodash-es";
|
|
11
|
-
import { getKey } from "../../utils/key";
|
|
12
11
|
import { clamp } from "../../utils/math";
|
|
13
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
14
12
|
const throttleFor60FpsInMs = 16;
|
|
15
13
|
const defaultValue = normalizeHex(DEFAULT_COLOR.hex());
|
|
16
14
|
const defaultFormat = "auto";
|
|
@@ -156,7 +154,7 @@ export class CalciteColorPicker {
|
|
|
156
154
|
this.updateChannelsFromColor(this.color);
|
|
157
155
|
};
|
|
158
156
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
159
|
-
const key =
|
|
157
|
+
const key = event.key;
|
|
160
158
|
const arrowKeyToXYOffset = {
|
|
161
159
|
ArrowUp: { x: 0, y: -10 },
|
|
162
160
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -171,7 +169,7 @@ export class CalciteColorPicker {
|
|
|
171
169
|
};
|
|
172
170
|
this.handleHueScopeKeyDown = (event) => {
|
|
173
171
|
const modifier = event.shiftKey ? 10 : 1;
|
|
174
|
-
const key =
|
|
172
|
+
const key = event.key;
|
|
175
173
|
const arrowKeyToXOffset = {
|
|
176
174
|
ArrowUp: 1,
|
|
177
175
|
ArrowRight: 1,
|
|
@@ -510,7 +508,7 @@ export class CalciteColorPicker {
|
|
|
510
508
|
// using @Listen as a workaround for VDOM listener not firing
|
|
511
509
|
handleChannelKeyUpOrDown(event) {
|
|
512
510
|
this.shiftKeyChannelAdjustment = 0;
|
|
513
|
-
const key =
|
|
511
|
+
const key = event.key;
|
|
514
512
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
515
513
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS.channel); })) {
|
|
516
514
|
return;
|
|
@@ -546,12 +544,6 @@ export class CalciteColorPicker {
|
|
|
546
544
|
//
|
|
547
545
|
//--------------------------------------------------------------------------
|
|
548
546
|
componentWillLoad() {
|
|
549
|
-
const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
|
|
550
|
-
if (this.storageId && localStorage.getItem(storageKey)) {
|
|
551
|
-
this.savedColors = JSON.parse(localStorage.getItem(storageKey));
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
connectedCallback() {
|
|
555
547
|
const { allowEmpty, color, format, value } = this;
|
|
556
548
|
const willSetNoColor = allowEmpty && !value;
|
|
557
549
|
const parsedMode = parseMode(value);
|
|
@@ -563,6 +555,10 @@ export class CalciteColorPicker {
|
|
|
563
555
|
this.setMode(format);
|
|
564
556
|
this.internalColorSet(initialColor, false, "initial");
|
|
565
557
|
this.updateDimensions(this.scale);
|
|
558
|
+
const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
|
|
559
|
+
if (this.storageId && localStorage.getItem(storageKey)) {
|
|
560
|
+
this.savedColors = JSON.parse(localStorage.getItem(storageKey));
|
|
561
|
+
}
|
|
566
562
|
}
|
|
567
563
|
disconnectedCallback() {
|
|
568
564
|
document.removeEventListener("mousemove", this.globalMouseMoveHandler);
|
|
@@ -574,13 +570,12 @@ export class CalciteColorPicker {
|
|
|
574
570
|
//
|
|
575
571
|
//--------------------------------------------------------------------------
|
|
576
572
|
render() {
|
|
577
|
-
const { allowEmpty, color, intlDeleteColor,
|
|
573
|
+
const { allowEmpty, color, intlDeleteColor, hideHex, hideChannels, hideSaved, intlHex, intlSaved, intlSaveColor, savedColors, scale } = this;
|
|
578
574
|
const selectedColorInHex = color ? color.hex() : null;
|
|
579
575
|
const hexInputScale = scale === "l" ? "m" : "s";
|
|
580
576
|
const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;
|
|
581
577
|
const hueTop = hueScopeTop !== null && hueScopeTop !== void 0 ? hueScopeTop : sliderHeight / 2 + colorFieldHeight;
|
|
582
578
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;
|
|
583
|
-
const elementDir = getElementDir(el);
|
|
584
579
|
const noColor = color === null;
|
|
585
580
|
const vertical = scopeOrientation === "vertical";
|
|
586
581
|
return (h("div", { class: CSS.container },
|
|
@@ -593,19 +588,18 @@ export class CalciteColorPicker {
|
|
|
593
588
|
h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR.round().hue(), class: { [CSS.scope]: true, [CSS.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })),
|
|
594
589
|
hideHex && hideChannels ? null : (h("div", { class: {
|
|
595
590
|
[CSS.controlSection]: true,
|
|
596
|
-
[CSS.section]: true
|
|
597
|
-
[CSS_UTILITY.rtl]: elementDir === "rtl"
|
|
591
|
+
[CSS.section]: true
|
|
598
592
|
} },
|
|
599
593
|
hideHex ? null : (h("div", { class: CSS.hexOptions },
|
|
600
594
|
h("span", { class: {
|
|
601
595
|
[CSS.header]: true,
|
|
602
596
|
[CSS.headerHex]: true
|
|
603
597
|
} }, intlHex),
|
|
604
|
-
h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS.control,
|
|
598
|
+
h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS.control, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))),
|
|
605
599
|
hideChannels ? null : (h("calcite-tabs", { class: {
|
|
606
600
|
[CSS.colorModeContainer]: true,
|
|
607
601
|
[CSS.splitSection]: true
|
|
608
|
-
},
|
|
602
|
+
}, scale: hexInputScale },
|
|
609
603
|
h("calcite-tab-nav", { slot: "tab-nav" },
|
|
610
604
|
this.renderChannelsTabTitle("rgb"),
|
|
611
605
|
this.renderChannelsTabTitle("hsv")),
|
package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css
CHANGED
|
@@ -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 {
|
package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js
CHANGED
|
@@ -6,9 +6,8 @@ import { Component, Element, Event, h, Listen, Method, Prop, State, Watch } from
|
|
|
6
6
|
import { hexChar, hexToRGB, isLonghandHex, isValidHex, normalizeHex, rgbToHex } from "../calcite-color-picker/utils";
|
|
7
7
|
import Color from "color";
|
|
8
8
|
import { CSS } from "./resources";
|
|
9
|
-
import { focusElement
|
|
9
|
+
import { focusElement } from "../../utils/dom";
|
|
10
10
|
import { TEXT } from "../calcite-color-picker/resources";
|
|
11
|
-
import { getKey } from "../../utils/key";
|
|
12
11
|
const DEFAULT_COLOR = Color();
|
|
13
12
|
export class CalciteColorPickerHexInput {
|
|
14
13
|
constructor() {
|
|
@@ -41,8 +40,8 @@ export class CalciteColorPickerHexInput {
|
|
|
41
40
|
* The hex value.
|
|
42
41
|
*/
|
|
43
42
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
44
|
-
this.onCalciteInputBlur = (
|
|
45
|
-
const node =
|
|
43
|
+
this.onCalciteInputBlur = () => {
|
|
44
|
+
const node = this.inputNode;
|
|
46
45
|
const inputValue = node.value;
|
|
47
46
|
const hex = `#${inputValue}`;
|
|
48
47
|
const willClearValue = this.allowEmpty && !inputValue;
|
|
@@ -55,9 +54,8 @@ export class CalciteColorPickerHexInput {
|
|
|
55
54
|
? ""
|
|
56
55
|
: this.formatForInternalInput(rgbToHex(this.internalColor.object()));
|
|
57
56
|
};
|
|
58
|
-
this.onInputChange = (
|
|
59
|
-
const
|
|
60
|
-
const inputValue = node.value;
|
|
57
|
+
this.onInputChange = () => {
|
|
58
|
+
const inputValue = this.inputNode.value;
|
|
61
59
|
let value;
|
|
62
60
|
if (inputValue) {
|
|
63
61
|
const hex = inputValue;
|
|
@@ -133,8 +131,12 @@ export class CalciteColorPickerHexInput {
|
|
|
133
131
|
// using @Listen as a workaround for VDOM listener not firing
|
|
134
132
|
onInputKeyDown(event) {
|
|
135
133
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
136
|
-
const {
|
|
137
|
-
const key =
|
|
134
|
+
const { internalColor, value } = this;
|
|
135
|
+
const key = event.key;
|
|
136
|
+
if (key === "Tab" || key === "Enter") {
|
|
137
|
+
this.onInputChange();
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
138
140
|
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
139
141
|
if (isNudgeKey) {
|
|
140
142
|
if (!value) {
|
|
@@ -149,16 +151,9 @@ export class CalciteColorPickerHexInput {
|
|
|
149
151
|
return;
|
|
150
152
|
}
|
|
151
153
|
const withModifiers = altKey || ctrlKey || metaKey;
|
|
152
|
-
const exceededHexLength = inputNode.value.length >= 6;
|
|
153
|
-
const focusedElement = el.shadowRoot.activeElement;
|
|
154
|
-
const hasTextSelection =
|
|
155
|
-
// can't use window.getSelection() because of FF bug: https://bugzilla.mozilla.org/show_bug.cgi?id=85686
|
|
156
|
-
focusedElement.selectionStart != focusedElement.selectionEnd;
|
|
157
154
|
const singleChar = key.length === 1;
|
|
158
155
|
const validHexChar = hexChar.test(key);
|
|
159
|
-
if (singleChar &&
|
|
160
|
-
!withModifiers &&
|
|
161
|
-
(!validHexChar || (!hasTextSelection && exceededHexLength))) {
|
|
156
|
+
if (singleChar && !withModifiers && !validHexChar) {
|
|
162
157
|
event.preventDefault();
|
|
163
158
|
}
|
|
164
159
|
}
|
|
@@ -168,11 +163,10 @@ export class CalciteColorPickerHexInput {
|
|
|
168
163
|
//
|
|
169
164
|
//--------------------------------------------------------------------------
|
|
170
165
|
render() {
|
|
171
|
-
const {
|
|
166
|
+
const { intlHex, value } = this;
|
|
172
167
|
const hexInputValue = this.formatForInternalInput(value);
|
|
173
|
-
const elementDir = getElementDir(el);
|
|
174
168
|
return (h("div", { class: CSS.container },
|
|
175
|
-
h("calcite-input", { class: CSS.input,
|
|
169
|
+
h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }),
|
|
176
170
|
hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
177
171
|
}
|
|
178
172
|
//--------------------------------------------------------------------------
|
package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css
CHANGED
|
@@ -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 {
|