@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
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
import{f as t,g as i,a as s}from"./p-52cc870b.js";import{g as n}from"./p-accdb0ce.js";import{d as e}from"./p-b06207bb.js";import{h as a,H as o}from"./p-05d1dfc6.js";function c(){this.setUpItems(),this.setUpFilter()}const r=["ArrowUp","ArrowDown"];function l(){this.setUpItems(),this.setUpFilter(),this.emitCalciteListChange=e(b.bind(this),0)}function h(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}function u(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}function d(i){const{selectedValues:s}=this,{item:n,value:e,selected:a,shiftPressed:o}=i.detail;a?(this.multiple&&o&&this.selectSiblings(n),this.multiple||this.deselectSiblingItems(n),s.set(e,n)):(s.delete(e),this.multiple&&o&&this.selectSiblings(n,!0)),this.multiple||(g(n,a),a&&t(n)),this.lastSelectedItem=n,this.emitCalciteListChange()}function f(t){t.stopPropagation();const i=t.detail.oldValue,s=this.selectedValues;if(s.has(i)){const n=s.get(i);s.delete(i),s.set(t.detail.newValue,n)}}function m(t){const{el:i,items:s,multiple:n,selectedValues:e}=this;n||(i.contains(t.relatedTarget)?g(t.target,!1):s.forEach((i=>g(i,0===e.size?t.target===i:i.selected))))}function p(i){const{key:s,target:e}=i;if(!function(t){return!!r.find((i=>i===t))}(s))return;const{items:a,multiple:o,selectionFollowsFocus:c}=this,{length:l}=a,h=a.indexOf(e);if(!l||-1===h)return;i.preventDefault();const u=a[n(h+("ArrowUp"===s?-1:1),l)];a.forEach((t=>g(t,t===u))),!o&&c&&(u.selected=!0),t(u)}function b(){this.calciteListChange.emit(this.selectedValues)}function v(t){if(t.defaultPrevented)return;const i=t.target,s=this.selectedValues;"CALCITE-PICK-LIST-GROUP"===i.parentElement.tagName?(i.parentElement.remove(),Array.from(i.parentElement.children).forEach((t=>s.delete(t.value)))):(i.remove(),s.delete(i.value)),this.emitCalciteListChange()}function g(t,i){i?t.removeAttribute("tabindex"):t.setAttribute("tabindex","-1")}async function j(i){if(this.filterEnabled&&"filter"===i)return void await t(this.filterEl);const{items:s,multiple:n,selectionFollowsFocus:e}=this;if(0===s.length)return;if(n)return s[0].setFocus();const a=s.find((t=>t.selected))||s[0];return e&&(a.selected=!0),a.setFocus()}function F(t){this.items=Array.from(this.el.querySelectorAll(t));let i=!1;const{items:s}=this;s.forEach((t=>{t.icon=this.getIconType(),this.multiple||(t.disableDeselect=!0,g(t,!1)),t.selected&&(i=!0,g(t,!0),this.selectedValues.set(t.value,t))}));const[n]=s;!i&&n&&g(n,!0)}function w(t){this.items.forEach((i=>{i.value!==t.value&&(i.toggleSelected(!1),this.selectedValues.has(i.value)&&this.selectedValues.delete(i.value))}))}function y(t,i=!1){if(!this.lastSelectedItem)return;const{items:s}=this,n=s.findIndex((t=>t.value===this.lastSelectedItem.value)),e=s.findIndex((i=>i.value===t.value));s.slice(Math.min(n,e),Math.max(n,e)).forEach((t=>{t.toggleSelected(!i),i?this.selectedValues.delete(t.value):this.selectedValues.set(t.value,t)}))}let A;function C(t){const s=t.detail.map((t=>t.value));let n=!1;A||(A=new Set);const e=this.items.filter((t=>{const i=t.parentElement;i.matches("calcite-pick-list-group")&&A.add(i);const e=s.includes(t.value);return t.hidden=!e,n||(n=e&&t.selected),e}));A.forEach((t=>{const s=e.some((i=>t.contains(i)));if(t.hidden=!s,!s)return;const n=i(t,"parent-item");n&&(n.hidden=!1,e.includes(n)&&Array.from(t.children).forEach((t=>t.hidden=!1)))})),A.clear(),e.length>0&&!n&&!this.multiple&&g(e[0],!0)}function k(){return this.items.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})))}var x;!function(t){t.circle="circle",t.square="square",t.grip="grip"}(x||(x={}));const O=t=>{var{props:{disabled:i,loading:n,filterEnabled:e,dataForFilter:c,handleFilter:r,filterPlaceholder:l,el:h,setFilterEl:u}}=t,d=function(t,i){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0&&(s[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(n=Object.getOwnPropertySymbols(t);e<n.length;e++)i.indexOf(n[e])<0&&Object.prototype.propertyIsEnumerable.call(t,n[e])&&(s[n[e]]=t[n[e]])}return s}(t,["props"]);const f=a("slot",null);return a(o,Object.assign({"aria-busy":n.toString(),"aria-disabled":i.toString(),role:"menu"},d),a("section",null,a("header",{class:{sticky:!0}},e?a("calcite-filter",{"aria-label":l,data:c,dir:s(h),disabled:n||i,onCalciteFilterChange:r,placeholder:l,ref:u}):null,a("slot",{name:"menu-actions"})),n||i?a("calcite-scrim",{loading:n}):null,f))},E={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},S={checked:"check",remove:"x"},I={actionsEnd:"actions-end",actionsStart:"actions-start"},L={remove:"Remove"};export{E as C,x as I,O as L,I as S,L as T,h as a,d as b,u as c,w as d,f as e,F as f,k as g,C as h,l as i,j,p as k,m as l,c as m,S as n,v as r,y as s}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
System.register(["./p-89cdfa96.system.js","./p-6cc23c39.system.js","./p-378ffa38.system.js","./p-e020662f.system.js"],(function(t){"use strict";var a,e,i,n,r,s,o;return{setters:[function(t){a=t.r;e=t.h;i=t.g},function(t){n=t.a;r=t.b},function(t){s=t.h;o=t.i},function(){}],execute:function(){function c(t){var a=0;for(var e=0;e<t.length;e++){a=t.charCodeAt(e)+((a<<5)-a)}var i="#";for(var n=0;n<3;n++){var r=a>>n*8&255;i+=("00"+r.toString(16)).substr(-2)}return i}function l(t){var a=t.r,e=t.g,i=t.b;a/=255;e/=255;i/=255;var n=Math.max(a,e,i);var r=Math.min(a,e,i);var s=n-r;if(n===r){return 0}var o=(n+r)/2;switch(n){case a:o=(e-i)/s+(e<i?6:0);break;case e:o=(i-a)/s+2;break;case i:o=(a-e)/s+4;break}return Math.round(o*60)}function m(t){return l(s(t))}var f="@-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;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:50%;overflow:hidden}:host([scale=s]){width:1.5rem;height:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){width:2rem;height:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){width:2.75rem;height:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:-ms-flexbox;display:flex}.background{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-3)}.thumbnail{width:100%;height:100%;border-radius:50%}";var u=t("calcite_avatar",function(){function t(t){a(this,t);this.scale="m";this.error=false}t.prototype.render=function(){return this.determineContent()};t.prototype.determineContent=function(){var t=this;var a=n(this.el);if(this.thumbnail&&!this.error){return e("img",{alt:"",class:"thumbnail",dir:a,onError:function(){return t.error=true},src:this.thumbnail})}var i=this.generateInitials();var r=this.generateFillColor();return e("span",{class:"background",dir:a,style:{backgroundColor:r}},i?e("span",{"aria-hidden":"true",class:"initials"},i):e("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))};t.prototype.generateFillColor=function(){var t=this,a=t.userId,e=t.username,i=t.fullName,n=t.el;var s=r(n);var l=a&&"#"+a.substr(a.length-6);var f=e||i||"";var u=l&&o(l)?l:c(f);if(!a&&!f||!o(u)){return"var(--calcite-ui-foreground-2)"}var p=m(u);var h=s==="dark"?20:90;return"hsl("+p+", 60%, "+h+"%)"};t.prototype.generateInitials=function(){var t=this,a=t.fullName,e=t.username;if(a){return a.trim().split(" ").map((function(t){return t.substring(0,1)})).join("")}else if(e){return e.substring(0,2)}return false};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=f}}}));
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,c as a,h as i,H as o,g as e}from"./p-05d1dfc6.js";import{t as n,C as r}from"./p-79cbbf2d.js";import{f as s,g as l,a as c,C as d}from"./p-52cc870b.js";import"./p-26508b91.js";import"./p-f243b615.js";import"./p-8a63221d.js";let p=class{constructor(i){t(this,i),this.calciteActionPadToggle=a(this,"calciteActionPadToggle",7),this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.actionMenuOpenChangeHandler=t=>{if(t.detail){const a=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{a.includes(t)||(t.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded},this.setExpandToggleRef=t=>{this.expandToggleEl=t}}expandHandler(t){t||n({parent:this.el,expanded:this.expanded})}expandedHandler(t){this.expandDisabled||n({parent:this.el,expanded:t}),this.calciteActionPadToggle.emit()}componentWillLoad(){const{el:t,expandDisabled:a,expanded:i}=this;a||n({parent:t,expanded:i})}async setFocus(t){"expand-toggle"!==t?this.el.focus():await s(this.expandToggleEl)}renderBottomActionGroup(){const{expanded:t,expandDisabled:a,intlExpand:o,intlCollapse:e,el:n,position:s,toggleExpand:c,scale:d}=this,p=l(n,"expand-tooltip"),m=a?null:i(r,{el:n,expanded:t,intlCollapse:e||"Collapse",intlExpand:o||"Expand",position:s,ref:this.setExpandToggleRef,scale:d,toggle:c,tooltip:p});return m?i("calcite-action-group",{class:"action-group--bottom",scale:d},i("slot",{name:"expand-tooltip"}),m):null}render(){const t="rtl"===c(this.el);return i(o,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},i("div",{class:{container:!0,[d.rtl]:t}},i("slot",null),this.renderBottomActionGroup()))}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"]}}};p.style="@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out;border-radius:0.125rem}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;padding-bottom:0;padding-top:0}.container{-ms-flex-direction:column;flex-direction:column;display:-ms-inline-flexbox;display:inline-flex;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);max-width:15vw}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0}:host([layout=horizontal]) .container{-ms-flex-direction:row;flex-direction:row;max-width:unset}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0;border-right-width:1px;padding:0}:host([layout=horizontal]) .container.calcite--rtl ::slotted(calcite-action-group){border-width:0;border-left-width:1px}::slotted(calcite-action-group:last-child){border-bottom-width:0}";export{p as calcite_action_pad}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
System.register(["./p-89cdfa96.system.js","./p-caf7085a.system.js","./p-6cc23c39.system.js","./p-a0c02648.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,n,a,i,o,r,s,c,l;return{setters:[function(t){e=t.r;n=t.h;a=t.F;i=t.g},function(t){o=t.S;r=t.I;s=t.T},function(t){c=t.g},function(t){l=t.S},function(){}],execute:function(){var m='@-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}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){background-color:var(--calcite-ui-background);display:grid;grid-gap:1px;gap:1px;place-content:stretch;padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var p=t("calcite_action_group",function(){function t(t){var n=this;e(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.renderTooltip=function(){var t=this.el;var e=c(t,o.menuTooltip);return e?n("slot",{name:o.menuTooltip,slot:l.tooltip}):null};t.prototype.renderMenu=function(){var t=this,e=t.el,a=t.expanded,i=t.intlMore,m=t.menuOpen,p=t.scale;var u=c(e,o.menuActions);return u?n("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:i||s.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:m,placement:"leading-start",scale:p},n("calcite-action",{icon:r.menu,scale:p,slot:l.trigger,text:i||s.more,textEnabled:a}),n("slot",{name:o.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return n(a,null,n("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}());p.style=m}}}));
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
|
-
|
|
9
|
-
const index = require('./index-cee0daa9.js');
|
|
10
|
-
const guid = require('./guid-b270f0db.js');
|
|
11
|
-
const dom = require('./dom-19822169.js');
|
|
12
|
-
const label = require('./label-8e3552b2.js');
|
|
13
|
-
const form = require('./form-00fb301c.js');
|
|
14
|
-
|
|
15
|
-
const calciteRadioCss = "@-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}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-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);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
|
|
16
|
-
|
|
17
|
-
let CalciteRadio = class {
|
|
18
|
-
constructor(hostRef) {
|
|
19
|
-
index.registerInstance(this, hostRef);
|
|
20
|
-
//--------------------------------------------------------------------------
|
|
21
|
-
//
|
|
22
|
-
// Properties
|
|
23
|
-
//
|
|
24
|
-
//--------------------------------------------------------------------------
|
|
25
|
-
/** The checked state of the radio. */
|
|
26
|
-
this.checked = false;
|
|
27
|
-
/** The disabled state of the radio. */
|
|
28
|
-
this.disabled = false;
|
|
29
|
-
/**
|
|
30
|
-
* The focused state of the radio.
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
this.focused = false;
|
|
34
|
-
/** The radio's hidden status. */
|
|
35
|
-
this.hidden = false;
|
|
36
|
-
/**
|
|
37
|
-
* The hovered state of the radio.
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
this.hovered = false;
|
|
41
|
-
/** The scale (size) of the radio. */
|
|
42
|
-
this.scale = "m";
|
|
43
|
-
}
|
|
44
|
-
// --------------------------------------------------------------------------
|
|
45
|
-
//
|
|
46
|
-
// Render Methods
|
|
47
|
-
//
|
|
48
|
-
// --------------------------------------------------------------------------
|
|
49
|
-
render() {
|
|
50
|
-
return index.h("div", { class: "radio" });
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
CalciteRadio.style = calciteRadioCss;
|
|
54
|
-
|
|
55
|
-
const CSS = {
|
|
56
|
-
container: "calcite-radio-button__container"
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const calciteRadioButtonCss = "@-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)}}.sc-calcite-radio-button:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-radio-button{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.sc-calcite-radio-button{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-radio-button{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-radio-button{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-radio-button{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-radio-button:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-radio-button-h{display:none}.sc-calcite-radio-button-h{cursor:pointer;display:block}.sc-calcite-radio-button-h .calcite-radio-button__container.sc-calcite-radio-button{position:relative}[disabled].sc-calcite-radio-button-h{cursor:pointer}";
|
|
60
|
-
|
|
61
|
-
let CalciteRadioButton = class {
|
|
62
|
-
constructor(hostRef) {
|
|
63
|
-
index.registerInstance(this, hostRef);
|
|
64
|
-
this.calciteInternalRadioButtonBlur = index.createEvent(this, "calciteInternalRadioButtonBlur", 7);
|
|
65
|
-
this.calciteRadioButtonChange = index.createEvent(this, "calciteRadioButtonChange", 7);
|
|
66
|
-
this.calciteInternalRadioButtonCheckedChange = index.createEvent(this, "calciteInternalRadioButtonCheckedChange", 7);
|
|
67
|
-
this.calciteInternalRadioButtonFocus = index.createEvent(this, "calciteInternalRadioButtonFocus", 7);
|
|
68
|
-
//--------------------------------------------------------------------------
|
|
69
|
-
//
|
|
70
|
-
// Properties
|
|
71
|
-
//
|
|
72
|
-
//--------------------------------------------------------------------------
|
|
73
|
-
/** The checked state of the radio button. */
|
|
74
|
-
this.checked = false;
|
|
75
|
-
/** The disabled state of the radio button. */
|
|
76
|
-
this.disabled = false;
|
|
77
|
-
/**
|
|
78
|
-
* The focused state of the radio button.
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
this.focused = false;
|
|
82
|
-
/** The radio button's hidden status. When a radio button is hidden it is not focusable or checkable. */
|
|
83
|
-
this.hidden = false;
|
|
84
|
-
/**
|
|
85
|
-
* The hovered state of the radio button.
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
this.hovered = false;
|
|
89
|
-
/** Requires that a value is selected for the radio button group before the parent form will submit. */
|
|
90
|
-
this.required = false;
|
|
91
|
-
/** The scale (size) of the radio button. `scale` is passed as a property automatically from `calcite-radio-button-group`. */
|
|
92
|
-
this.scale = "m";
|
|
93
|
-
//--------------------------------------------------------------------------
|
|
94
|
-
//
|
|
95
|
-
// Private Methods
|
|
96
|
-
//
|
|
97
|
-
//--------------------------------------------------------------------------
|
|
98
|
-
this.selectItem = (items, selectedIndex) => {
|
|
99
|
-
items.forEach((item, index) => {
|
|
100
|
-
const selected = index === selectedIndex;
|
|
101
|
-
item.checked = selected;
|
|
102
|
-
item.focused = selected;
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
this.toggle = () => {
|
|
106
|
-
this.uncheckAllRadioButtonsInGroup();
|
|
107
|
-
this.checked = true;
|
|
108
|
-
this.focused = true;
|
|
109
|
-
this.calciteRadioButtonChange.emit();
|
|
110
|
-
};
|
|
111
|
-
this.clickHandler = () => {
|
|
112
|
-
this.toggle();
|
|
113
|
-
};
|
|
114
|
-
this.setInputEl = (el) => {
|
|
115
|
-
this.inputEl = el;
|
|
116
|
-
};
|
|
117
|
-
this.formResetHandler = () => {
|
|
118
|
-
var _a;
|
|
119
|
-
this.checked = this.initialChecked;
|
|
120
|
-
this.initialChecked && ((_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.setAttribute("checked", ""));
|
|
121
|
-
};
|
|
122
|
-
this.hideInputEl = () => {
|
|
123
|
-
this.inputEl.style.cssText = form.hiddenInputStyle;
|
|
124
|
-
};
|
|
125
|
-
this.onInputBlur = () => {
|
|
126
|
-
this.focused = false;
|
|
127
|
-
this.calciteInternalRadioButtonBlur.emit();
|
|
128
|
-
};
|
|
129
|
-
this.onInputFocus = () => {
|
|
130
|
-
this.focused = true;
|
|
131
|
-
this.calciteInternalRadioButtonFocus.emit();
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
checkedChanged(newChecked) {
|
|
135
|
-
if (newChecked) {
|
|
136
|
-
this.uncheckOtherRadioButtonsInGroup();
|
|
137
|
-
}
|
|
138
|
-
if (this.inputEl) {
|
|
139
|
-
this.inputEl.checked = newChecked;
|
|
140
|
-
}
|
|
141
|
-
this.calciteInternalRadioButtonCheckedChange.emit(newChecked);
|
|
142
|
-
}
|
|
143
|
-
disabledChanged(disabled) {
|
|
144
|
-
this.inputEl.disabled = disabled;
|
|
145
|
-
}
|
|
146
|
-
focusedChanged(focused) {
|
|
147
|
-
if (!this.inputEl) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (focused && !this.el.hasAttribute("hidden")) {
|
|
151
|
-
this.inputEl.focus();
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
this.inputEl.blur();
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
hiddenChanged(newHidden) {
|
|
158
|
-
this.inputEl.hidden = newHidden;
|
|
159
|
-
}
|
|
160
|
-
nameChanged(newName) {
|
|
161
|
-
if (this.name === newName) {
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
|
-
if (this.inputEl) {
|
|
165
|
-
this.inputEl.name = newName;
|
|
166
|
-
}
|
|
167
|
-
this.checkLastRadioButton();
|
|
168
|
-
const currentValue = this.rootNode.querySelector(`input[name="${this.name}"]:checked`);
|
|
169
|
-
if (!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.value)) {
|
|
170
|
-
this.uncheckAllRadioButtonsInGroup();
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
requiredChanged(required) {
|
|
174
|
-
this.inputEl.required = required;
|
|
175
|
-
}
|
|
176
|
-
//--------------------------------------------------------------------------
|
|
177
|
-
//
|
|
178
|
-
// Public Methods
|
|
179
|
-
//
|
|
180
|
-
//--------------------------------------------------------------------------
|
|
181
|
-
/** Sets focus on the component. */
|
|
182
|
-
async setFocus() {
|
|
183
|
-
dom.focusElement(this.inputEl);
|
|
184
|
-
}
|
|
185
|
-
onLabelClick(event) {
|
|
186
|
-
if (!this.disabled && !this.hidden) {
|
|
187
|
-
this.uncheckOtherRadioButtonsInGroup();
|
|
188
|
-
const label = event.currentTarget;
|
|
189
|
-
const radioButton = label.for
|
|
190
|
-
? this.rootNode.querySelector(`calcite-radio-button[id="${label.for}"]`)
|
|
191
|
-
: label.querySelector(`calcite-radio-button[name="${this.name}"]`);
|
|
192
|
-
if (radioButton) {
|
|
193
|
-
radioButton.checked = true;
|
|
194
|
-
radioButton.focused = true;
|
|
195
|
-
}
|
|
196
|
-
this.calciteRadioButtonChange.emit();
|
|
197
|
-
this.setFocus();
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
checkLastRadioButton() {
|
|
201
|
-
const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
|
|
202
|
-
const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
|
|
203
|
-
if ((checkedRadioButtons === null || checkedRadioButtons === void 0 ? void 0 : checkedRadioButtons.length) > 1) {
|
|
204
|
-
const lastCheckedRadioButton = checkedRadioButtons[checkedRadioButtons.length - 1];
|
|
205
|
-
checkedRadioButtons
|
|
206
|
-
.filter((checkedRadioButton) => checkedRadioButton !== lastCheckedRadioButton)
|
|
207
|
-
.forEach((checkedRadioButton) => {
|
|
208
|
-
checkedRadioButton.checked = false;
|
|
209
|
-
checkedRadioButton.emitCheckedChange();
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
/** @internal */
|
|
214
|
-
async emitCheckedChange() {
|
|
215
|
-
this.calciteInternalRadioButtonCheckedChange.emit();
|
|
216
|
-
}
|
|
217
|
-
uncheckAllRadioButtonsInGroup() {
|
|
218
|
-
const otherRadioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
|
|
219
|
-
otherRadioButtons.forEach((otherRadioButton) => {
|
|
220
|
-
if (otherRadioButton.checked) {
|
|
221
|
-
otherRadioButton.checked = false;
|
|
222
|
-
otherRadioButton.focused = false;
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
uncheckOtherRadioButtonsInGroup() {
|
|
227
|
-
const otherRadioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name && radioButton.guid !== this.guid);
|
|
228
|
-
otherRadioButtons.forEach((otherRadioButton) => {
|
|
229
|
-
if (otherRadioButton.checked) {
|
|
230
|
-
otherRadioButton.checked = false;
|
|
231
|
-
otherRadioButton.focused = false;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
//--------------------------------------------------------------------------
|
|
236
|
-
//
|
|
237
|
-
// Event Listeners
|
|
238
|
-
//
|
|
239
|
-
//--------------------------------------------------------------------------
|
|
240
|
-
mouseenter() {
|
|
241
|
-
this.hovered = true;
|
|
242
|
-
}
|
|
243
|
-
mouseleave() {
|
|
244
|
-
this.hovered = false;
|
|
245
|
-
}
|
|
246
|
-
//--------------------------------------------------------------------------
|
|
247
|
-
//
|
|
248
|
-
// Lifecycle
|
|
249
|
-
//
|
|
250
|
-
//--------------------------------------------------------------------------
|
|
251
|
-
connectedCallback() {
|
|
252
|
-
this.rootNode = this.el.getRootNode();
|
|
253
|
-
this.guid = this.el.id || `calcite-radio-button-${guid.guid()}`;
|
|
254
|
-
this.initialChecked = this.checked;
|
|
255
|
-
if (this.name) {
|
|
256
|
-
this.checkLastRadioButton();
|
|
257
|
-
}
|
|
258
|
-
const form = dom.closestElementCrossShadowBoundary(this.el, "form");
|
|
259
|
-
if (form) {
|
|
260
|
-
form.addEventListener("reset", this.formResetHandler);
|
|
261
|
-
}
|
|
262
|
-
label.connectLabel(this);
|
|
263
|
-
}
|
|
264
|
-
componentDidLoad() {
|
|
265
|
-
this.hideInputEl();
|
|
266
|
-
if (this.focused) {
|
|
267
|
-
this.inputEl.focus();
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
disconnectedCallback() {
|
|
271
|
-
const form = dom.closestElementCrossShadowBoundary(this.el, "form");
|
|
272
|
-
if (form) {
|
|
273
|
-
form.removeEventListener("reset", this.formResetHandler);
|
|
274
|
-
}
|
|
275
|
-
label.disconnectLabel(this);
|
|
276
|
-
}
|
|
277
|
-
// --------------------------------------------------------------------------
|
|
278
|
-
//
|
|
279
|
-
// Render Methods
|
|
280
|
-
//
|
|
281
|
-
// --------------------------------------------------------------------------
|
|
282
|
-
render() {
|
|
283
|
-
var _a;
|
|
284
|
-
const value = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString();
|
|
285
|
-
return (index.h(index.Host, { onClick: this.clickHandler }, index.h("div", { class: CSS.container }, index.h("input", { "aria-label": label.getLabelText(this), checked: this.checked, disabled: this.disabled, hidden: this.hidden, id: `${this.guid}-input`, name: this.name, onBlur: this.onInputBlur, onFocus: this.onInputFocus, ref: this.setInputEl, required: this.required, type: "radio", value: value }), index.h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale }))));
|
|
286
|
-
}
|
|
287
|
-
get el() { return index.getElement(this); }
|
|
288
|
-
static get watchers() { return {
|
|
289
|
-
"checked": ["checkedChanged"],
|
|
290
|
-
"disabled": ["disabledChanged"],
|
|
291
|
-
"focused": ["focusedChanged"],
|
|
292
|
-
"hidden": ["hiddenChanged"],
|
|
293
|
-
"name": ["nameChanged"],
|
|
294
|
-
"required": ["requiredChanged"]
|
|
295
|
-
}; }
|
|
296
|
-
};
|
|
297
|
-
CalciteRadioButton.style = calciteRadioButtonCss;
|
|
298
|
-
|
|
299
|
-
exports.calcite_radio = CalciteRadio;
|
|
300
|
-
exports.calcite_radio_button = CalciteRadioButton;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
const hiddenInputStyle = `
|
|
8
|
-
bottom: 0 !important;
|
|
9
|
-
left: 0 !important;
|
|
10
|
-
margin: 0 !important;
|
|
11
|
-
opacity: 0 !important;
|
|
12
|
-
outline: none !important;
|
|
13
|
-
padding: 0 !important;
|
|
14
|
-
position: absolute !important;
|
|
15
|
-
right: 0 !important;
|
|
16
|
-
top: 0 !important;
|
|
17
|
-
transform: none !important;
|
|
18
|
-
-webkit-appearance: none !important;
|
|
19
|
-
z-index: -1 !important;
|
|
20
|
-
`;
|
|
21
|
-
|
|
22
|
-
exports.hiddenInputStyle = hiddenInputStyle;
|
package/dist/cjs/key-8bfb93ec.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Standardize key property of keyboard event (mostly for ie11)
|
|
9
|
-
*/
|
|
10
|
-
function getKey(key, dir) {
|
|
11
|
-
const lookup = {
|
|
12
|
-
Up: "ArrowUp",
|
|
13
|
-
Down: "ArrowDown",
|
|
14
|
-
Left: "ArrowLeft",
|
|
15
|
-
Right: "ArrowRight",
|
|
16
|
-
Spacebar: " ",
|
|
17
|
-
Esc: "Escape"
|
|
18
|
-
};
|
|
19
|
-
const adjustedKey = lookup[key] || key;
|
|
20
|
-
const isRTL = dir === "rtl";
|
|
21
|
-
if (isRTL && adjustedKey === "ArrowLeft") {
|
|
22
|
-
return "ArrowRight";
|
|
23
|
-
}
|
|
24
|
-
if (isRTL && adjustedKey === "ArrowRight") {
|
|
25
|
-
return "ArrowLeft";
|
|
26
|
-
}
|
|
27
|
-
return adjustedKey;
|
|
28
|
-
}
|
|
29
|
-
function isActivationKey(key) {
|
|
30
|
-
key = getKey(key);
|
|
31
|
-
return key === "Enter" || key === " ";
|
|
32
|
-
}
|
|
33
|
-
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
34
|
-
|
|
35
|
-
exports.getKey = getKey;
|
|
36
|
-
exports.isActivationKey = isActivationKey;
|
|
37
|
-
exports.numberKeys = numberKeys;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
8
|
-
|
|
9
|
-
exports.clamp = clamp;
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/* mixins & extensions */
|
|
2
|
-
|
|
3
|
-
@keyframes in {
|
|
4
|
-
0% {
|
|
5
|
-
opacity: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
100% {
|
|
9
|
-
opacity: 1;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@keyframes in-down {
|
|
14
|
-
0% {
|
|
15
|
-
opacity: 0;
|
|
16
|
-
transform: translate3D(0, -5px, 0);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
100% {
|
|
20
|
-
opacity: 1;
|
|
21
|
-
transform: translate3D(0, 0, 0);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@keyframes in-up {
|
|
26
|
-
0% {
|
|
27
|
-
opacity: 0;
|
|
28
|
-
transform: translate3D(0, 5px, 0);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
100% {
|
|
32
|
-
opacity: 1;
|
|
33
|
-
transform: translate3D(0, 0, 0);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@keyframes in-scale {
|
|
38
|
-
0% {
|
|
39
|
-
opacity: 0;
|
|
40
|
-
transform: scale3D(0.95, 0.95, 1);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
100% {
|
|
44
|
-
opacity: 1;
|
|
45
|
-
transform: scale3D(1, 1, 1);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
:root {
|
|
50
|
-
--calcite-animation-timing: 300ms;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.calcite-animate {
|
|
54
|
-
opacity: 0;
|
|
55
|
-
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.calcite-animate__in {
|
|
60
|
-
animation-name: in;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.calcite-animate__in-down {
|
|
64
|
-
animation-name: in-down;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.calcite-animate__in-up {
|
|
68
|
-
animation-name: in-up;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.calcite-animate__in-scale {
|
|
72
|
-
animation-name: in-scale;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Currently only used in Checkbox.
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
:root {
|
|
80
|
-
--calcite-popper-transition: 150ms ease-in-out;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
:host([hidden]) {
|
|
84
|
-
display: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
:host {
|
|
88
|
-
display: block;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
:host .radio {
|
|
92
|
-
background-color: var(--calcite-ui-foreground-1);
|
|
93
|
-
border-radius: 9999px;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
transition-property: all;
|
|
96
|
-
transition-duration: 150ms;
|
|
97
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
98
|
-
box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
:host([hovered]) .radio,
|
|
102
|
-
:host(:not([checked])[focused]) .radio {
|
|
103
|
-
box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
:host([disabled]) .radio {
|
|
107
|
-
cursor: default;
|
|
108
|
-
opacity: var(--calcite-ui-opacity-disabled);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:host([hovered][disabled]) .radio {
|
|
112
|
-
box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
:host([scale=s]) {
|
|
116
|
-
--calcite-radio-size: var(--calcite-font-size--2);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
:host([scale=m]) {
|
|
120
|
-
--calcite-radio-size: var(--calcite-font-size--1);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
:host([scale=l]) {
|
|
124
|
-
--calcite-radio-size: var(--calcite-font-size-0);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.radio {
|
|
128
|
-
height: var(--calcite-radio-size);
|
|
129
|
-
max-width: var(--calcite-radio-size);
|
|
130
|
-
min-width: var(--calcite-radio-size);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
:host([scale=s][checked]) .radio,
|
|
134
|
-
:host([hovered][scale=s][checked][disabled]) .radio {
|
|
135
|
-
box-shadow: inset 0 0 0 4px var(--calcite-ui-brand);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
:host([scale=s][focused][checked]) .radio {
|
|
139
|
-
box-shadow: inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
:host([scale=m][checked]) .radio,
|
|
143
|
-
:host([hovered][scale=m][checked][disabled]) .radio {
|
|
144
|
-
box-shadow: inset 0 0 0 5px var(--calcite-ui-brand);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
:host([scale=m][focused][checked]) .radio {
|
|
148
|
-
box-shadow: inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
:host([scale=l][checked]) .radio,
|
|
152
|
-
:host([hovered][scale=l][checked][disabled]) .radio {
|
|
153
|
-
box-shadow: inset 0 0 0 6px var(--calcite-ui-brand);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
:host([scale=l][focused][checked]) .radio {
|
|
157
|
-
box-shadow: inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
:host([hidden]) {
|
|
161
|
-
display: none;
|
|
162
|
-
}
|