@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,8 +2,8 @@
|
|
|
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 { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
6
|
-
import { g as getSlotted
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
+
import { g as getSlotted } from './dom-f24e866c.js';
|
|
7
7
|
import { g as guid } from './guid-196bd5ea.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
@@ -22,7 +22,7 @@ const ICONS = {
|
|
|
22
22
|
close: "x"
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
const calciteChipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .chip-image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .chip-image-container{height:1.5rem;width:1.5rem;padding-
|
|
25
|
+
const calciteChipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .chip-image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .chip-image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .chip-image-container{height:2rem;width:2rem;padding-left:0.25rem}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);cursor:default;border-radius:9999px;-webkit-box-sizing:border-box;box-sizing:border-box}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;height:100%;max-width:100%}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0;background-color:transparent;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-inline-flexbox;display:inline-flex;min-height:100%;max-height:100%;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;border-style:none;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;color:var(--calcite-ui-text-1);-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.chip-image-container{border-radius:50%;overflow:hidden;display:-ms-inline-flexbox;display:inline-flex}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;border-radius:50%;overflow:hidden}.calcite-chip--icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin-top:0;margin-bottom:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) calcite-icon{color:var(--calcite-ui-text-3)}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-info)}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-danger)}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-warning)}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-success)}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-text-3)}";
|
|
26
26
|
|
|
27
27
|
let CalciteChip = class {
|
|
28
28
|
constructor(hostRef) {
|
|
@@ -79,10 +79,9 @@ let CalciteChip = class {
|
|
|
79
79
|
return hasChipImage ? (h("div", { class: CSS.chipImageContainer }, h("slot", { name: SLOTS.image }))) : null;
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
const
|
|
83
|
-
const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, dir: dir, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
82
|
+
const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
84
83
|
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: ICONS.close, scale: "s" })));
|
|
85
|
-
return (h("div", { class:
|
|
84
|
+
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS.title, id: this.guid }, h("slot", null)), this.dismissible ? closeButton : null));
|
|
86
85
|
}
|
|
87
86
|
get el() { return getElement(this); }
|
|
88
87
|
};
|
|
@@ -2,11 +2,10 @@
|
|
|
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 { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
6
|
-
import { f as focusElement,
|
|
5
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
|
|
6
|
+
import { f as focusElement, b as getThemeName } from './dom-f24e866c.js';
|
|
7
7
|
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils-6beb0662.js';
|
|
8
|
-
import {
|
|
9
|
-
import { c as clamp } from './math-250d4476.js';
|
|
8
|
+
import { c as clamp } from './math-456207f5.js';
|
|
10
9
|
import { d as debounce, i as isObject } from './debounce-79648d42.js';
|
|
11
10
|
import './guid-196bd5ea.js';
|
|
12
11
|
|
|
@@ -285,12 +284,13 @@ var colorString = createCommonjsModule(function (module) {
|
|
|
285
284
|
/* MIT license */
|
|
286
285
|
|
|
287
286
|
|
|
287
|
+
var hasOwnProperty = Object.hasOwnProperty;
|
|
288
288
|
|
|
289
289
|
var reverseNames = {};
|
|
290
290
|
|
|
291
291
|
// create a list of reverse color names
|
|
292
292
|
for (var name in colorName$1) {
|
|
293
|
-
if (colorName$1
|
|
293
|
+
if (hasOwnProperty.call(colorName$1, name)) {
|
|
294
294
|
reverseNames[colorName$1[name]] = name;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -333,9 +333,9 @@ cs.get.rgb = function (string) {
|
|
|
333
333
|
|
|
334
334
|
var abbr = /^#([a-f0-9]{3,4})$/i;
|
|
335
335
|
var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
|
|
336
|
-
var rgba = /^rgba?\(\s*([+-]?\d+)\s
|
|
337
|
-
var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s
|
|
338
|
-
var keyword =
|
|
336
|
+
var rgba = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
337
|
+
var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
338
|
+
var keyword = /^(\w+)$/;
|
|
339
339
|
|
|
340
340
|
var rgb = [0, 0, 0, 1];
|
|
341
341
|
var match;
|
|
@@ -372,7 +372,11 @@ cs.get.rgb = function (string) {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
if (match[4]) {
|
|
375
|
-
|
|
375
|
+
if (match[5]) {
|
|
376
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
377
|
+
} else {
|
|
378
|
+
rgb[3] = parseFloat(match[4]);
|
|
379
|
+
}
|
|
376
380
|
}
|
|
377
381
|
} else if (match = string.match(per)) {
|
|
378
382
|
for (i = 0; i < 3; i++) {
|
|
@@ -380,19 +384,22 @@ cs.get.rgb = function (string) {
|
|
|
380
384
|
}
|
|
381
385
|
|
|
382
386
|
if (match[4]) {
|
|
383
|
-
|
|
387
|
+
if (match[5]) {
|
|
388
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
389
|
+
} else {
|
|
390
|
+
rgb[3] = parseFloat(match[4]);
|
|
391
|
+
}
|
|
384
392
|
}
|
|
385
393
|
} else if (match = string.match(keyword)) {
|
|
386
394
|
if (match[1] === 'transparent') {
|
|
387
395
|
return [0, 0, 0, 0];
|
|
388
396
|
}
|
|
389
397
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
if (!rgb) {
|
|
398
|
+
if (!hasOwnProperty.call(colorName$1, match[1])) {
|
|
393
399
|
return null;
|
|
394
400
|
}
|
|
395
401
|
|
|
402
|
+
rgb = colorName$1[match[1]];
|
|
396
403
|
rgb[3] = 1;
|
|
397
404
|
|
|
398
405
|
return rgb;
|
|
@@ -413,12 +420,12 @@ cs.get.hsl = function (string) {
|
|
|
413
420
|
return null;
|
|
414
421
|
}
|
|
415
422
|
|
|
416
|
-
var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?[\d
|
|
423
|
+
var hsl = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
|
|
417
424
|
var match = string.match(hsl);
|
|
418
425
|
|
|
419
426
|
if (match) {
|
|
420
427
|
var alpha = parseFloat(match[4]);
|
|
421
|
-
var h = (parseFloat(match[1]) + 360) % 360;
|
|
428
|
+
var h = ((parseFloat(match[1]) % 360) + 360) % 360;
|
|
422
429
|
var s = clamp(parseFloat(match[2]), 0, 100);
|
|
423
430
|
var l = clamp(parseFloat(match[3]), 0, 100);
|
|
424
431
|
var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
|
|
@@ -434,7 +441,7 @@ cs.get.hwb = function (string) {
|
|
|
434
441
|
return null;
|
|
435
442
|
}
|
|
436
443
|
|
|
437
|
-
var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d
|
|
444
|
+
var hwb = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;
|
|
438
445
|
var match = string.match(hwb);
|
|
439
446
|
|
|
440
447
|
if (match) {
|
|
@@ -513,7 +520,7 @@ function clamp(num, min, max) {
|
|
|
513
520
|
}
|
|
514
521
|
|
|
515
522
|
function hexDouble(num) {
|
|
516
|
-
var str = num.toString(16).toUpperCase();
|
|
523
|
+
var str = Math.round(num).toString(16).toUpperCase();
|
|
517
524
|
return (str.length < 2) ? '0' + str : str;
|
|
518
525
|
}
|
|
519
526
|
});
|
|
@@ -2272,7 +2279,7 @@ const DIMENSIONS = {
|
|
|
2272
2279
|
}
|
|
2273
2280
|
};
|
|
2274
2281
|
|
|
2275
|
-
const calciteColorPickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .
|
|
2282
|
+
const calciteColorPickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{-ms-flex-negative:1;flex-shrink:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}:host([scale=l]) .color-mode-container{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{font-size:var(--calcite-font-size--1);padding:0;margin-bottom:0;margin-right:0;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;width:0.5rem;height:0.5rem;position:absolute;pointer-events:none;margin-top:-0.25rem;margin-left:-0.25rem;outline-offset:10px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:12px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-ui-text-1);padding-bottom:0.25rem}.header--hex,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
|
|
2276
2283
|
|
|
2277
2284
|
const throttleFor60FpsInMs = 16;
|
|
2278
2285
|
const defaultValue = normalizeHex(DEFAULT_COLOR$1.hex());
|
|
@@ -2422,7 +2429,7 @@ let CalciteColorPicker = class {
|
|
|
2422
2429
|
this.updateChannelsFromColor(this.color);
|
|
2423
2430
|
};
|
|
2424
2431
|
this.handleColorFieldScopeKeyDown = (event) => {
|
|
2425
|
-
const key =
|
|
2432
|
+
const key = event.key;
|
|
2426
2433
|
const arrowKeyToXYOffset = {
|
|
2427
2434
|
ArrowUp: { x: 0, y: -10 },
|
|
2428
2435
|
ArrowRight: { x: 10, y: 0 },
|
|
@@ -2437,7 +2444,7 @@ let CalciteColorPicker = class {
|
|
|
2437
2444
|
};
|
|
2438
2445
|
this.handleHueScopeKeyDown = (event) => {
|
|
2439
2446
|
const modifier = event.shiftKey ? 10 : 1;
|
|
2440
|
-
const key =
|
|
2447
|
+
const key = event.key;
|
|
2441
2448
|
const arrowKeyToXOffset = {
|
|
2442
2449
|
ArrowUp: 1,
|
|
2443
2450
|
ArrowRight: 1,
|
|
@@ -2775,7 +2782,7 @@ let CalciteColorPicker = class {
|
|
|
2775
2782
|
// using @Listen as a workaround for VDOM listener not firing
|
|
2776
2783
|
handleChannelKeyUpOrDown(event) {
|
|
2777
2784
|
this.shiftKeyChannelAdjustment = 0;
|
|
2778
|
-
const key =
|
|
2785
|
+
const key = event.key;
|
|
2779
2786
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
2780
2787
|
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$2.channel); })) {
|
|
2781
2788
|
return;
|
|
@@ -2811,12 +2818,6 @@ let CalciteColorPicker = class {
|
|
|
2811
2818
|
//
|
|
2812
2819
|
//--------------------------------------------------------------------------
|
|
2813
2820
|
componentWillLoad() {
|
|
2814
|
-
const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
|
|
2815
|
-
if (this.storageId && localStorage.getItem(storageKey)) {
|
|
2816
|
-
this.savedColors = JSON.parse(localStorage.getItem(storageKey));
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
connectedCallback() {
|
|
2820
2821
|
const { allowEmpty, color: color$1, format, value } = this;
|
|
2821
2822
|
const willSetNoColor = allowEmpty && !value;
|
|
2822
2823
|
const parsedMode = parseMode(value);
|
|
@@ -2828,6 +2829,10 @@ let CalciteColorPicker = class {
|
|
|
2828
2829
|
this.setMode(format);
|
|
2829
2830
|
this.internalColorSet(initialColor, false, "initial");
|
|
2830
2831
|
this.updateDimensions(this.scale);
|
|
2832
|
+
const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
|
|
2833
|
+
if (this.storageId && localStorage.getItem(storageKey)) {
|
|
2834
|
+
this.savedColors = JSON.parse(localStorage.getItem(storageKey));
|
|
2835
|
+
}
|
|
2831
2836
|
}
|
|
2832
2837
|
disconnectedCallback() {
|
|
2833
2838
|
document.removeEventListener("mousemove", this.globalMouseMoveHandler);
|
|
@@ -2839,13 +2844,12 @@ let CalciteColorPicker = class {
|
|
|
2839
2844
|
//
|
|
2840
2845
|
//--------------------------------------------------------------------------
|
|
2841
2846
|
render() {
|
|
2842
|
-
const { allowEmpty, color, intlDeleteColor,
|
|
2847
|
+
const { allowEmpty, color, intlDeleteColor, hideHex, hideChannels, hideSaved, intlHex, intlSaved, intlSaveColor, savedColors, scale } = this;
|
|
2843
2848
|
const selectedColorInHex = color ? color.hex() : null;
|
|
2844
2849
|
const hexInputScale = scale === "l" ? "m" : "s";
|
|
2845
2850
|
const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;
|
|
2846
2851
|
const hueTop = hueScopeTop !== null && hueScopeTop !== void 0 ? hueScopeTop : sliderHeight / 2 + colorFieldHeight;
|
|
2847
2852
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
2848
|
-
const elementDir = getElementDir(el);
|
|
2849
2853
|
const noColor = color === null;
|
|
2850
2854
|
const vertical = scopeOrientation === "vertical";
|
|
2851
2855
|
return (h("div", { class: CSS$2.container }, h("div", { class: CSS$2.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
@@ -2853,15 +2857,14 @@ let CalciteColorPicker = class {
|
|
|
2853
2857
|
[CSS$2.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
2854
2858
|
}, onMouseDown: this.handleColorFieldAndSliderMouseDown, onMouseEnter: this.handleColorFieldAndSliderMouseEnterOrMove, onMouseLeave: this.handleColorFieldAndSliderMouseLeave, onMouseMove: this.handleColorFieldAndSliderMouseEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$2.scope]: true, [CSS$2.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), 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$1.round().hue(), class: { [CSS$2.scope]: true, [CSS$2.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
2855
2859
|
[CSS$2.controlSection]: true,
|
|
2856
|
-
[CSS$2.section]: true
|
|
2857
|
-
[CSS_UTILITY.rtl]: elementDir === "rtl"
|
|
2860
|
+
[CSS$2.section]: true
|
|
2858
2861
|
} }, hideHex ? null : (h("div", { class: CSS$2.hexOptions }, h("span", { class: {
|
|
2859
2862
|
[CSS$2.header]: true,
|
|
2860
2863
|
[CSS$2.headerHex]: true
|
|
2861
|
-
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$2.control,
|
|
2864
|
+
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$2.control, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
|
|
2862
2865
|
[CSS$2.colorModeContainer]: true,
|
|
2863
2866
|
[CSS$2.splitSection]: true
|
|
2864
|
-
},
|
|
2867
|
+
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$2.savedColorsSection]: true, [CSS$2.section]: true } }, h("div", { class: CSS$2.header }, h("label", null, intlSaved), h("div", { class: CSS$2.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$2.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale }), h("calcite-button", { appearance: "transparent", class: CSS$2.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale }))), savedColors.length > 0 ? (h("div", { class: CSS$2.savedColors }, [
|
|
2865
2868
|
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$2.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
2866
2869
|
])) : null))));
|
|
2867
2870
|
}
|
|
@@ -3046,7 +3049,7 @@ const CSS$1 = {
|
|
|
3046
3049
|
input: "input"
|
|
3047
3050
|
};
|
|
3048
3051
|
|
|
3049
|
-
const calciteColorPickerHexInputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{width:100%;display:inline-grid;-ms-flex-align:center;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:0.25rem;margin-right:0.25rem;z-index:1}.preview,.input{grid-row:1}.input{grid-column:1/3;text-transform:uppercase;width:100%}";
|
|
3052
|
+
const calciteColorPickerHexInputCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}.container{width:100%;display:inline-grid;-ms-flex-align:center;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:none;margin-top:0;margin-bottom:0;margin-left:0.25rem;margin-right:0.25rem;z-index:1}.preview,.input{grid-row:1}.input{grid-column:1/3;text-transform:uppercase;width:100%}";
|
|
3050
3053
|
|
|
3051
3054
|
const DEFAULT_COLOR = color();
|
|
3052
3055
|
let CalciteColorPickerHexInput = class {
|
|
@@ -3082,8 +3085,8 @@ let CalciteColorPickerHexInput = class {
|
|
|
3082
3085
|
* The hex value.
|
|
3083
3086
|
*/
|
|
3084
3087
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
3085
|
-
this.onCalciteInputBlur = (
|
|
3086
|
-
const node =
|
|
3088
|
+
this.onCalciteInputBlur = () => {
|
|
3089
|
+
const node = this.inputNode;
|
|
3087
3090
|
const inputValue = node.value;
|
|
3088
3091
|
const hex = `#${inputValue}`;
|
|
3089
3092
|
const willClearValue = this.allowEmpty && !inputValue;
|
|
@@ -3096,9 +3099,8 @@ let CalciteColorPickerHexInput = class {
|
|
|
3096
3099
|
? ""
|
|
3097
3100
|
: this.formatForInternalInput(rgbToHex(this.internalColor.object()));
|
|
3098
3101
|
};
|
|
3099
|
-
this.onInputChange = (
|
|
3100
|
-
const
|
|
3101
|
-
const inputValue = node.value;
|
|
3102
|
+
this.onInputChange = () => {
|
|
3103
|
+
const inputValue = this.inputNode.value;
|
|
3102
3104
|
let value;
|
|
3103
3105
|
if (inputValue) {
|
|
3104
3106
|
const hex = inputValue;
|
|
@@ -3174,8 +3176,12 @@ let CalciteColorPickerHexInput = class {
|
|
|
3174
3176
|
// using @Listen as a workaround for VDOM listener not firing
|
|
3175
3177
|
onInputKeyDown(event) {
|
|
3176
3178
|
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
|
3177
|
-
const {
|
|
3178
|
-
const key =
|
|
3179
|
+
const { internalColor, value } = this;
|
|
3180
|
+
const key = event.key;
|
|
3181
|
+
if (key === "Tab" || key === "Enter") {
|
|
3182
|
+
this.onInputChange();
|
|
3183
|
+
return;
|
|
3184
|
+
}
|
|
3179
3185
|
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
|
3180
3186
|
if (isNudgeKey) {
|
|
3181
3187
|
if (!value) {
|
|
@@ -3190,16 +3196,9 @@ let CalciteColorPickerHexInput = class {
|
|
|
3190
3196
|
return;
|
|
3191
3197
|
}
|
|
3192
3198
|
const withModifiers = altKey || ctrlKey || metaKey;
|
|
3193
|
-
const exceededHexLength = inputNode.value.length >= 6;
|
|
3194
|
-
const focusedElement = el.shadowRoot.activeElement;
|
|
3195
|
-
const hasTextSelection =
|
|
3196
|
-
// can't use window.getSelection() because of FF bug: https://bugzilla.mozilla.org/show_bug.cgi?id=85686
|
|
3197
|
-
focusedElement.selectionStart != focusedElement.selectionEnd;
|
|
3198
3199
|
const singleChar = key.length === 1;
|
|
3199
3200
|
const validHexChar = hexChar.test(key);
|
|
3200
|
-
if (singleChar &&
|
|
3201
|
-
!withModifiers &&
|
|
3202
|
-
(!validHexChar || (!hasTextSelection && exceededHexLength))) {
|
|
3201
|
+
if (singleChar && !withModifiers && !validHexChar) {
|
|
3203
3202
|
event.preventDefault();
|
|
3204
3203
|
}
|
|
3205
3204
|
}
|
|
@@ -3209,10 +3208,9 @@ let CalciteColorPickerHexInput = class {
|
|
|
3209
3208
|
//
|
|
3210
3209
|
//--------------------------------------------------------------------------
|
|
3211
3210
|
render() {
|
|
3212
|
-
const {
|
|
3211
|
+
const { intlHex, value } = this;
|
|
3213
3212
|
const hexInputValue = this.formatForInternalInput(value);
|
|
3214
|
-
|
|
3215
|
-
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, dir: elementDir, label: intlHex, onCalciteInputBlur: this.onCalciteInputBlur, onChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
3213
|
+
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
3216
3214
|
}
|
|
3217
3215
|
//--------------------------------------------------------------------------
|
|
3218
3216
|
//
|
|
@@ -3245,7 +3243,7 @@ const COLORS = {
|
|
|
3245
3243
|
borderDark: "rgba(255, 255, 255, 0.15)"
|
|
3246
3244
|
};
|
|
3247
3245
|
|
|
3248
|
-
const calciteColorPickerSwatchCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;position:relative}:host([scale=s]){height:1.25rem;width:1.25rem}:host([scale=m]){height:1.5rem;width:1.5rem}:host([scale=l]){height:2rem;width:2rem}.swatch{overflow:visible;height:inherit;width:inherit}.swatch rect{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.no-color-icon{height:100%;width:100%;top:0;right:0;bottom:0;left:0;position:absolute}";
|
|
3246
|
+
const calciteColorPickerSwatchCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;position:relative}:host([scale=s]){height:1.25rem;width:1.25rem}:host([scale=m]){height:1.5rem;width:1.5rem}:host([scale=l]){height:2rem;width:2rem}.swatch{overflow:visible;height:inherit;width:inherit}.swatch rect{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.no-color-icon{height:100%;width:100%;top:0;right:0;bottom:0;left:0;position:absolute}";
|
|
3249
3247
|
|
|
3250
3248
|
let CalciteColorPickerSwatch = class {
|
|
3251
3249
|
constructor(hostRef) {
|