@esri/calcite-components 1.0.0-next.292 → 1.0.0-next.296
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/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/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/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/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/penMark16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus32.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/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/subscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript32.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.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-fc4846f0.system.entry.js → p-00716aa8.system.entry.js} +1 -1
- package/dist/calcite/{p-69548a7d.system.entry.js → p-044d603d.system.entry.js} +1 -1
- package/dist/calcite/{p-37cee0ea.entry.js → p-05da7439.entry.js} +1 -1
- package/dist/calcite/{p-f4299b95.entry.js → p-08d707c4.entry.js} +1 -1
- package/dist/calcite/{p-e33a2dd2.system.entry.js → p-10708f87.system.entry.js} +1 -1
- package/dist/calcite/p-109049e6.system.entry.js +5 -0
- package/dist/calcite/{p-d7e5b807.system.entry.js → p-127e3513.system.entry.js} +1 -1
- package/dist/calcite/p-1434e37e.entry.js +5 -0
- package/dist/calcite/{p-01c3783e.system.entry.js → p-143cffd9.system.entry.js} +1 -1
- package/dist/calcite/{p-050dc7e6.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
- package/dist/calcite/{p-c20278e8.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
- package/dist/calcite/{p-3ba8024a.system.entry.js → p-16f2d814.system.entry.js} +1 -1
- package/dist/calcite/p-1942876c.js +5 -0
- package/dist/calcite/{p-f8d975a1.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
- package/dist/calcite/{p-61038b30.js → p-1a962bdd.js} +1 -1
- package/dist/calcite/p-1aa89347.system.entry.js +5 -0
- package/dist/calcite/{p-7c0debe0.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
- package/dist/calcite/{p-473cfb74.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
- package/dist/calcite/p-21c8ac06.entry.js +5 -0
- package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-243d95ab.system.entry.js} +1 -1
- package/dist/calcite/{p-2920aa02.entry.js → p-2451da5b.entry.js} +1 -1
- package/dist/calcite/p-26efaed7.entry.js +5 -0
- package/dist/calcite/p-288bc438.system.js +5 -0
- package/dist/calcite/{p-da9603a3.entry.js → p-289bc56f.entry.js} +1 -1
- package/dist/calcite/{p-10ccc21d.entry.js → p-29771742.entry.js} +1 -1
- package/dist/calcite/{p-c0dd929a.entry.js → p-2aa3007a.entry.js} +1 -1
- package/dist/calcite/p-2e29554c.js +5 -0
- package/dist/calcite/{p-8efb43fc.entry.js → p-33802886.entry.js} +1 -1
- package/dist/calcite/{p-32fbf8cd.system.js → p-34e5baa7.system.js} +1 -1
- package/dist/calcite/p-3833285b.system.entry.js +5 -0
- package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
- package/dist/calcite/p-3dae9da3.js +5 -0
- package/dist/calcite/{p-fff0a881.entry.js → p-3e6fcede.entry.js} +1 -1
- package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
- package/dist/calcite/p-41023be5.system.entry.js +5 -0
- package/dist/calcite/{p-00d72f16.entry.js → p-48f03121.entry.js} +1 -1
- package/dist/calcite/{p-22ad79b1.entry.js → p-4acfb654.entry.js} +1 -1
- package/dist/calcite/{p-3929447c.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
- package/dist/calcite/{p-0fc8b24c.system.entry.js → p-4e16515a.system.entry.js} +1 -1
- package/dist/calcite/p-4f1f83d2.entry.js +5 -0
- package/dist/calcite/p-502ea583.entry.js +5 -0
- package/dist/calcite/p-523bc291.system.js +5 -0
- package/dist/calcite/p-54394dfe.system.entry.js +5 -0
- package/dist/calcite/p-578509a8.entry.js +5 -0
- package/dist/calcite/p-592da79d.system.entry.js +5 -0
- package/dist/calcite/p-5c0c29bc.entry.js +5 -0
- package/dist/calcite/p-5eee672a.system.entry.js +5 -0
- package/dist/calcite/{p-175764f3.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
- package/dist/calcite/{p-87b93729.entry.js → p-5f817b79.entry.js} +1 -1
- package/dist/calcite/{p-e693758c.entry.js → p-6296644b.entry.js} +1 -1
- package/dist/calcite/p-63e60894.entry.js +5 -0
- package/dist/calcite/{p-acaad99b.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
- package/dist/calcite/{p-8655c0a1.entry.js → p-659898bf.entry.js} +1 -1
- package/dist/calcite/{p-7cdfec27.system.js → p-6d44b7d9.system.js} +1 -1
- package/dist/calcite/p-6f1cca21.system.js +5 -0
- package/dist/calcite/{p-72ffc6d7.entry.js → p-70efa39d.entry.js} +1 -1
- package/dist/calcite/{p-7839d1c9.entry.js → p-714ae4f6.entry.js} +1 -1
- package/dist/calcite/{p-9d83f268.system.entry.js → p-74f390e1.system.entry.js} +1 -1
- package/dist/calcite/p-75264173.entry.js +5 -0
- package/dist/calcite/{p-41e9b889.entry.js → p-765fb8ed.entry.js} +1 -1
- package/dist/calcite/{p-be3b0fee.entry.js → p-78d0db7b.entry.js} +1 -1
- package/dist/calcite/{p-9e4f2697.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
- package/dist/calcite/{p-c57f8690.entry.js → p-7bb94bfa.entry.js} +1 -1
- package/dist/calcite/p-81538774.system.entry.js +5 -0
- package/dist/calcite/p-81ab443c.entry.js +5 -0
- package/dist/calcite/p-82139130.entry.js +5 -0
- package/dist/calcite/{p-20042561.entry.js → p-82c6cd9a.entry.js} +1 -1
- package/dist/calcite/p-8340b572.js +5 -0
- package/dist/calcite/{p-a93678c6.system.entry.js → p-840f2937.system.entry.js} +2 -2
- package/dist/calcite/p-85032edc.system.entry.js +5 -0
- package/dist/calcite/{p-57f5866d.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
- package/dist/calcite/p-8baa9ba4.entry.js +5 -0
- package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
- package/dist/calcite/{p-1aaf7f83.entry.js → p-9338b0bc.entry.js} +1 -1
- package/dist/calcite/p-9577dfd9.entry.js +5 -0
- package/dist/calcite/{p-c3922ef7.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
- package/dist/calcite/p-968ea270.entry.js +5 -0
- package/dist/calcite/{p-9358deb1.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
- package/dist/calcite/p-9be6633a.entry.js +5 -0
- package/dist/calcite/{p-021d44b7.system.entry.js → p-9f240615.system.entry.js} +1 -1
- package/dist/calcite/{p-e3a30266.system.entry.js → p-a5269f14.system.entry.js} +1 -1
- package/dist/calcite/{p-31c4a271.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
- package/dist/calcite/{p-75793454.entry.js → p-ace12b8d.entry.js} +1 -1
- package/dist/calcite/{p-1b2c1f55.entry.js → p-aced5f01.entry.js} +1 -1
- package/dist/calcite/{p-85a2bf7c.system.entry.js → p-aec398f3.system.entry.js} +1 -1
- package/dist/calcite/p-b1351c3e.system.entry.js +5 -0
- package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
- package/dist/calcite/p-b1f88d45.system.js +5 -0
- package/dist/calcite/{p-bb916828.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
- package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
- package/dist/calcite/p-b9fa225e.entry.js +5 -0
- package/dist/calcite/p-c0e35328.entry.js +5 -0
- package/dist/calcite/p-c34c4414.system.js +5 -0
- package/dist/calcite/{p-0e30afe6.entry.js → p-c3ba61ea.entry.js} +1 -1
- package/dist/calcite/{p-cd8f7781.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
- package/dist/calcite/p-c87c04a9.entry.js +5 -0
- package/dist/calcite/p-ca3bb147.entry.js +5 -0
- package/dist/calcite/{p-34a6550f.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
- package/dist/calcite/{p-64d90b14.system.js → p-cbf6bb04.system.js} +1 -1
- package/dist/calcite/{p-ac3d8784.entry.js → p-cc788d2e.entry.js} +1 -1
- package/dist/calcite/p-cced5508.system.entry.js +5 -0
- package/dist/calcite/{p-45d123be.system.entry.js → p-cf03b144.system.entry.js} +1 -1
- package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
- package/dist/calcite/p-d550ee4d.entry.js +5 -0
- package/dist/calcite/{p-18078190.entry.js → p-d6e30c54.entry.js} +1 -1
- package/dist/calcite/{p-7b01fe89.js → p-d6f20229.js} +1 -1
- package/dist/calcite/{p-ff04f827.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
- package/dist/calcite/{p-99da965d.system.entry.js → p-dd464e44.system.entry.js} +1 -1
- package/dist/calcite/p-dd5ff164.entry.js +5 -0
- package/dist/calcite/{p-bd555b2e.system.entry.js → p-deb36fde.system.entry.js} +1 -1
- package/dist/calcite/{p-ba9b4f62.system.entry.js → p-defcee80.system.entry.js} +1 -1
- package/dist/calcite/{p-3b17d8d0.system.js → p-dff7dc90.system.js} +1 -1
- package/dist/calcite/{p-318e95d7.system.entry.js → p-e33fe285.system.entry.js} +1 -1
- package/dist/calcite/p-e52495d3.system.entry.js +5 -0
- package/dist/calcite/{p-7b600760.entry.js → p-e5e3b591.entry.js} +1 -1
- package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
- package/dist/calcite/p-e6c84e63.entry.js +5 -0
- package/dist/calcite/{p-87e83c0d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
- package/dist/calcite/{p-5cb26137.system.entry.js → p-e70cb594.system.entry.js} +1 -1
- package/dist/calcite/{p-a20df95c.js → p-e956e279.js} +1 -1
- package/dist/calcite/p-eada9cef.entry.js +5 -0
- package/dist/calcite/{p-eb3ee207.entry.js → p-ecc00ef0.entry.js} +1 -1
- package/dist/calcite/{p-51cb078a.entry.js → p-ef39847e.entry.js} +1 -1
- package/dist/calcite/{p-f141da0f.entry.js → p-efb2169a.entry.js} +1 -1
- package/dist/calcite/{p-a8cd5cde.system.entry.js → p-f0338acf.system.entry.js} +1 -1
- package/dist/calcite/{p-95a3a0ce.entry.js → p-f1c5e7cf.entry.js} +1 -1
- package/dist/calcite/{p-1f99b038.entry.js → p-f278dd53.entry.js} +1 -1
- package/dist/calcite/{p-9dbb69f7.entry.js → p-f9c46578.entry.js} +1 -1
- package/dist/calcite/{p-32faf98b.system.entry.js → p-fc47547f.system.entry.js} +1 -1
- package/dist/calcite/p-fc643963.entry.js +5 -0
- package/dist/calcite/{p-f37563ac.system.entry.js → p-fcb6db39.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-5f60c98b.js} +1 -1
- package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-112c19f9.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +83 -24
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
- package/dist/cjs/calcite-input.cjs.entry.js +103 -71
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
- package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +29 -48
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/form-a5b44a1f.js +179 -0
- package/dist/cjs/{index-1987a382.js → index-6b5d2de5.js} +81 -429
- package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
- package/dist/cjs/{resources-7dcd68d1.js → resources-3f7b51c8.js} +1 -1
- package/dist/cjs/{resources-d0619f6a.js → resources-cd25dbae.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
- package/dist/collection/components/calcite-action/calcite-action.js +4 -4
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
- package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
- package/dist/collection/components/calcite-block/calcite-block.css +2 -2
- package/dist/collection/components/calcite-block/calcite-block.js +4 -4
- package/dist/collection/components/calcite-button/calcite-button.css +20 -14
- package/dist/collection/components/calcite-button/calcite-button.js +4 -4
- package/dist/collection/components/calcite-card/calcite-card.js +8 -8
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +71 -120
- package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +15 -19
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +18 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +146 -26
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +51 -21
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
- package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
- package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
- package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
- package/dist/collection/components/calcite-graph/util.js +1 -1
- package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
- 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/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/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/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/penMark16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.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/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/subscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.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-inline-editable/calcite-inline-editable.css +8 -54
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +55 -44
- package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
- package/dist/collection/components/calcite-input/calcite-input.css +102 -68
- package/dist/collection/components/calcite-input/calcite-input.js +144 -81
- package/dist/collection/components/calcite-input/resources.js +14 -12
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +174 -51
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
- package/dist/collection/components/calcite-label/calcite-label.js +2 -2
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
- package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
- package/dist/collection/components/calcite-option/calcite-option.js +2 -2
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
- package/dist/collection/components/calcite-panel/calcite-panel.css +8 -4
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
- package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
- package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +95 -96
- package/dist/collection/components/calcite-radio-button/resources.js +1 -1
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
- package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
- package/dist/collection/components/calcite-rating/calcite-rating.js +53 -5
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
- package/dist/collection/components/calcite-select/calcite-select.css +15 -0
- package/dist/collection/components/calcite-select/calcite-select.js +91 -5
- package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
- package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
- package/dist/collection/components/calcite-slider/calcite-slider.css +17 -4
- package/dist/collection/components/calcite-slider/calcite-slider.js +48 -4
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
- package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
- package/dist/collection/components/calcite-switch/calcite-switch.js +35 -66
- package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
- package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
- package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
- package/dist/collection/utils/form.js +167 -14
- package/dist/collection/utils/label.js +33 -4
- package/dist/collection/utils/popper.js +2 -2
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- package/dist/components/calcite-action-group2.js +2 -2
- package/dist/components/calcite-action-menu2.js +2 -2
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action2.js +2 -2
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button2.js +3 -3
- package/dist/components/calcite-card.js +11 -5
- package/dist/components/calcite-checkbox2.js +39 -89
- package/dist/components/calcite-chip2.js +2 -2
- package/dist/components/calcite-color-picker-hex-input2.js +13 -17
- package/dist/components/calcite-color-picker-swatch2.js +2 -2
- package/dist/components/calcite-color-picker.js +15 -12
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +85 -23
- package/dist/components/calcite-date-picker-day2.js +2 -2
- package/dist/components/calcite-date-picker-month-header2.js +2 -2
- package/dist/components/calcite-date-picker-month2.js +2 -2
- package/dist/components/calcite-date-picker2.js +27 -9
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +3 -3
- package/dist/components/calcite-dropdown2.js +3 -3
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter2.js +47 -16
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph2.js +20 -10
- package/dist/components/calcite-handle2.js +2 -2
- package/dist/components/calcite-icon2.js +2 -2
- package/dist/components/calcite-inline-editable.js +52 -42
- package/dist/components/calcite-input-date-picker.js +71 -15
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-time-picker.js +14 -4
- package/dist/components/calcite-input2.js +107 -72
- package/dist/components/calcite-label.js +1 -75
- package/dist/components/calcite-label2.js +81 -0
- package/dist/components/calcite-link2.js +2 -2
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader2.js +3 -3
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +3 -3
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item2.js +2 -2
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover2.js +4 -4
- package/dist/components/calcite-progress2.js +2 -2
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +83 -76
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +22 -24
- package/dist/components/calcite-radio2.js +2 -2
- package/dist/components/calcite-rating.js +15 -4
- package/dist/components/calcite-scrim2.js +2 -2
- package/dist/components/calcite-select.js +34 -5
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +5 -4
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +15 -5
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch2.js +32 -53
- package/dist/components/calcite-tab-nav2.js +2 -2
- package/dist/components/calcite-tab-title2.js +2 -2
- package/dist/components/calcite-tab2.js +2 -2
- package/dist/components/calcite-tabs2.js +2 -2
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +3 -5
- package/dist/components/calcite-tile2.js +3 -3
- package/dist/components/calcite-time-picker2.js +2 -2
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager2.js +2 -2
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +17 -10
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/form.js +169 -15
- package/dist/components/label.js +33 -4
- package/dist/components/popper.js +2 -2
- package/dist/custom-elements/index.js +945 -572
- package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
- package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +3 -3
- package/dist/esm/calcite-button.entry.js +3 -3
- package/dist/esm/calcite-card.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +36 -85
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +25 -26
- package/dist/esm/calcite-combobox_3.entry.js +83 -24
- package/dist/esm/calcite-date-picker_4.entry.js +28 -10
- package/dist/esm/calcite-dropdown_3.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +43 -14
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +28 -12
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +51 -42
- package/dist/esm/calcite-input-date-picker.entry.js +70 -17
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
- package/dist/esm/calcite-input.entry.js +104 -72
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +3 -3
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +31 -5
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +3 -3
- package/dist/esm/calcite-pick-list_3.entry.js +3 -3
- package/dist/esm/calcite-popover_2.entry.js +5 -5
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-group_2.entry.js +20 -24
- package/dist/esm/calcite-radio_2.entry.js +82 -76
- package/dist/esm/calcite-rating.entry.js +13 -4
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +5 -4
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +30 -49
- package/dist/esm/calcite-tab_4.entry.js +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +1 -3
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +2 -2
- package/dist/esm/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm/calcite-tree_2.entry.js +16 -9
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/form-160b0fb5.js +174 -0
- package/dist/esm/{index-d653c37f.js → index-9de00868.js} +81 -429
- package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
- package/dist/esm/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
- package/dist/esm/{resources-3b481489.js → resources-bece7a88.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1735f17a.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 +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- 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-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- 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 +1 -1
- 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/label-5559055d.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-dc4b45cf.js +5 -0
- package/dist/esm-es5/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
- package/dist/esm-es5/{resources-3b481489.js → resources-bece7a88.js} +1 -1
- package/dist/extras/docs-json.json +797 -480
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
- package/dist/types/components/calcite-input/calcite-input.d.ts +21 -9
- package/dist/types/components/calcite-input/resources.d.ts +2 -0
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
- package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
- package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
- package/dist/types/components.d.ts +199 -22
- package/dist/types/utils/form.d.ts +112 -1
- package/dist/types/utils/label.d.ts +5 -0
- package/dist/types/utils/popper.d.ts +1 -1
- package/hydrate/index.js +889 -497
- package/package.json +20 -21
- package/readme.md +5 -5
- package/CHANGELOG.md +0 -1492
- package/dist/calcite/p-07ba39b6.js +0 -5
- package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
- package/dist/calcite/p-0fd333ff.entry.js +0 -5
- package/dist/calcite/p-18574b32.entry.js +0 -5
- package/dist/calcite/p-24b86e03.entry.js +0 -5
- package/dist/calcite/p-26045881.entry.js +0 -5
- package/dist/calcite/p-29b110b2.entry.js +0 -5
- package/dist/calcite/p-2ba00b89.js +0 -5
- package/dist/calcite/p-3331d93d.system.entry.js +0 -5
- package/dist/calcite/p-349333f8.system.entry.js +0 -5
- package/dist/calcite/p-34a1c944.entry.js +0 -5
- package/dist/calcite/p-361ddbb6.entry.js +0 -5
- package/dist/calcite/p-43494684.entry.js +0 -5
- package/dist/calcite/p-47313747.system.js +0 -5
- package/dist/calcite/p-485062f4.system.entry.js +0 -5
- package/dist/calcite/p-4e06a168.entry.js +0 -5
- package/dist/calcite/p-530584ff.system.entry.js +0 -5
- package/dist/calcite/p-568ed3d6.system.entry.js +0 -5
- package/dist/calcite/p-5c221c33.system.entry.js +0 -5
- package/dist/calcite/p-67fd79db.entry.js +0 -5
- package/dist/calcite/p-693a4d5f.entry.js +0 -5
- package/dist/calcite/p-727c8f36.system.entry.js +0 -5
- package/dist/calcite/p-728501db.system.js +0 -5
- package/dist/calcite/p-745e41ea.entry.js +0 -5
- package/dist/calcite/p-7a544774.system.entry.js +0 -5
- package/dist/calcite/p-7f4a5f8e.system.entry.js +0 -5
- package/dist/calcite/p-81a82d01.system.entry.js +0 -5
- package/dist/calcite/p-93d8a7d5.entry.js +0 -5
- package/dist/calcite/p-9965ea81.system.js +0 -5
- package/dist/calcite/p-9ac1fa0b.system.entry.js +0 -5
- package/dist/calcite/p-9caae570.entry.js +0 -5
- package/dist/calcite/p-9d3ee5cf.system.entry.js +0 -5
- package/dist/calcite/p-a7521c0d.entry.js +0 -5
- package/dist/calcite/p-b701101e.entry.js +0 -5
- package/dist/calcite/p-ba255377.entry.js +0 -5
- package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
- package/dist/calcite/p-bfc162ee.system.entry.js +0 -5
- package/dist/calcite/p-c1995144.system.entry.js +0 -5
- package/dist/calcite/p-c31243c5.entry.js +0 -5
- package/dist/calcite/p-c74fc589.system.js +0 -5
- package/dist/calcite/p-cb228ac0.entry.js +0 -5
- package/dist/calcite/p-cbdf0e6c.js +0 -5
- package/dist/calcite/p-d35e423d.js +0 -5
- package/dist/calcite/p-d5d62977.entry.js +0 -5
- package/dist/calcite/p-d7a7a544.system.entry.js +0 -5
- package/dist/calcite/p-de0f4633.entry.js +0 -5
- package/dist/calcite/p-e9044cc1.entry.js +0 -5
- package/dist/calcite/p-eedb78db.entry.js +0 -5
- package/dist/calcite/p-f5d25746.system.entry.js +0 -5
- package/dist/calcite/p-fb1da0f5.system.js +0 -5
- package/dist/calcite/p-fe52131d.entry.js +0 -5
- package/dist/cjs/form-00fb301c.js +0 -22
- package/dist/esm/form-cee9f632.js +0 -20
- package/dist/esm-es5/form-cee9f632.js +0 -5
- package/dist/esm-es5/index-d653c37f.js +0 -5
- package/dist/esm-es5/label-bb61bdef.js +0 -5
- package/dist/esm-es5/popper-7499ea4f.js +0 -5
|
@@ -152,8 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.thumb .handle__label {
|
|
155
|
-
font-size:
|
|
156
|
-
line-height: 1.5;
|
|
155
|
+
font-size: var(--calcite-font-size--2);
|
|
157
156
|
font-weight: 500;
|
|
158
157
|
line-height: 1;
|
|
159
158
|
color: var(--calcite-ui-text-2);
|
|
@@ -368,8 +367,7 @@
|
|
|
368
367
|
|
|
369
368
|
.tick__label {
|
|
370
369
|
position: absolute;
|
|
371
|
-
font-size:
|
|
372
|
-
line-height: 1.5;
|
|
370
|
+
font-size: var(--calcite-font-size--2);
|
|
373
371
|
font-weight: 500;
|
|
374
372
|
color: var(--calcite-ui-text-2);
|
|
375
373
|
width: 4em;
|
|
@@ -422,4 +420,19 @@
|
|
|
422
420
|
right: unset;
|
|
423
421
|
left: 0;
|
|
424
422
|
text-align: left;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
::slotted(input[slot=hidden-form-input]) {
|
|
426
|
+
bottom: 0 !important;
|
|
427
|
+
left: 0 !important;
|
|
428
|
+
margin: 0 !important;
|
|
429
|
+
opacity: 0 !important;
|
|
430
|
+
outline: none !important;
|
|
431
|
+
padding: 0 !important;
|
|
432
|
+
position: absolute !important;
|
|
433
|
+
right: 0 !important;
|
|
434
|
+
top: 0 !important;
|
|
435
|
+
transform: none !important;
|
|
436
|
+
-webkit-appearance: none !important;
|
|
437
|
+
z-index: -1 !important;
|
|
425
438
|
}
|
|
@@ -8,6 +8,7 @@ import { getKey } from "../../utils/key";
|
|
|
8
8
|
import { intersects } from "../../utils/dom";
|
|
9
9
|
import { clamp } from "../../utils/math";
|
|
10
10
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
11
|
+
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
12
|
export class CalciteSlider {
|
|
12
13
|
constructor() {
|
|
13
14
|
//--------------------------------------------------------------------------
|
|
@@ -35,6 +36,10 @@ export class CalciteSlider {
|
|
|
35
36
|
this.mirrored = false;
|
|
36
37
|
/** Use finer point for handles */
|
|
37
38
|
this.precise = false;
|
|
39
|
+
/**
|
|
40
|
+
* When true, makes the component required for form-submission.
|
|
41
|
+
*/
|
|
42
|
+
this.required = false;
|
|
38
43
|
/** When true, enables snap selection along the step interval */
|
|
39
44
|
this.snap = false;
|
|
40
45
|
/** Interval to move on up/down keys */
|
|
@@ -107,14 +112,17 @@ export class CalciteSlider {
|
|
|
107
112
|
//--------------------------------------------------------------------------
|
|
108
113
|
connectedCallback() {
|
|
109
114
|
connectLabel(this);
|
|
115
|
+
connectForm(this);
|
|
110
116
|
}
|
|
111
117
|
disconnectedCallback() {
|
|
112
118
|
disconnectLabel(this);
|
|
119
|
+
disconnectForm(this);
|
|
113
120
|
}
|
|
114
121
|
componentWillLoad() {
|
|
115
122
|
this.isRange = !!(this.maxValue || this.maxValue === 0);
|
|
116
123
|
this.tickValues = this.generateTickValues();
|
|
117
124
|
this.value = this.clamp(this.value);
|
|
125
|
+
afterConnectDefaultValueSet(this, this.value);
|
|
118
126
|
if (this.snap) {
|
|
119
127
|
this.value = this.getClosestStep(this.value);
|
|
120
128
|
}
|
|
@@ -292,11 +300,12 @@ export class CalciteSlider {
|
|
|
292
300
|
this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle,
|
|
293
301
|
!this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle,
|
|
294
302
|
this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle,
|
|
295
|
-
this.hasHistogram && this.precise && this.labelHandles && histogramLabeledPreciseHandle
|
|
303
|
+
this.hasHistogram && this.precise && this.labelHandles && histogramLabeledPreciseHandle,
|
|
304
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
296
305
|
}
|
|
297
306
|
renderGraph() {
|
|
298
307
|
return this.histogram ? (h("div", { class: "graph" },
|
|
299
|
-
h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, width: 300 }))) : null;
|
|
308
|
+
h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
|
|
300
309
|
}
|
|
301
310
|
renderTickLabel(tick) {
|
|
302
311
|
const isMinTickLabel = tick === this.min;
|
|
@@ -980,6 +989,23 @@ export class CalciteSlider {
|
|
|
980
989
|
"reflect": true,
|
|
981
990
|
"defaultValue": "false"
|
|
982
991
|
},
|
|
992
|
+
"name": {
|
|
993
|
+
"type": "string",
|
|
994
|
+
"mutable": false,
|
|
995
|
+
"complexType": {
|
|
996
|
+
"original": "string",
|
|
997
|
+
"resolved": "string",
|
|
998
|
+
"references": {}
|
|
999
|
+
},
|
|
1000
|
+
"required": false,
|
|
1001
|
+
"optional": false,
|
|
1002
|
+
"docs": {
|
|
1003
|
+
"tags": [],
|
|
1004
|
+
"text": "The name of the slider"
|
|
1005
|
+
},
|
|
1006
|
+
"attribute": "name",
|
|
1007
|
+
"reflect": true
|
|
1008
|
+
},
|
|
983
1009
|
"pageStep": {
|
|
984
1010
|
"type": "number",
|
|
985
1011
|
"mutable": false,
|
|
@@ -1015,6 +1041,24 @@ export class CalciteSlider {
|
|
|
1015
1041
|
"reflect": false,
|
|
1016
1042
|
"defaultValue": "false"
|
|
1017
1043
|
},
|
|
1044
|
+
"required": {
|
|
1045
|
+
"type": "boolean",
|
|
1046
|
+
"mutable": false,
|
|
1047
|
+
"complexType": {
|
|
1048
|
+
"original": "boolean",
|
|
1049
|
+
"resolved": "boolean",
|
|
1050
|
+
"references": {}
|
|
1051
|
+
},
|
|
1052
|
+
"required": false,
|
|
1053
|
+
"optional": false,
|
|
1054
|
+
"docs": {
|
|
1055
|
+
"tags": [],
|
|
1056
|
+
"text": "When true, makes the component required for form-submission."
|
|
1057
|
+
},
|
|
1058
|
+
"attribute": "required",
|
|
1059
|
+
"reflect": true,
|
|
1060
|
+
"defaultValue": "false"
|
|
1061
|
+
},
|
|
1018
1062
|
"snap": {
|
|
1019
1063
|
"type": "boolean",
|
|
1020
1064
|
"mutable": false,
|
|
@@ -1132,8 +1176,8 @@ export class CalciteSlider {
|
|
|
1132
1176
|
"composed": true,
|
|
1133
1177
|
"docs": {
|
|
1134
1178
|
"tags": [{
|
|
1135
|
-
"
|
|
1136
|
-
"
|
|
1179
|
+
"name": "deprecated",
|
|
1180
|
+
"text": "use calciteSliderInput instead"
|
|
1137
1181
|
}],
|
|
1138
1182
|
"text": "Fires on all updates to the slider.\n:warning: Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
|
|
1139
1183
|
},
|
|
@@ -317,8 +317,8 @@ export class CalciteStepper {
|
|
|
317
317
|
"optional": false,
|
|
318
318
|
"docs": {
|
|
319
319
|
"tags": [{
|
|
320
|
-
"
|
|
321
|
-
"
|
|
320
|
+
"name": "internal",
|
|
321
|
+
"text": undefined
|
|
322
322
|
}],
|
|
323
323
|
"text": ""
|
|
324
324
|
}
|
|
@@ -332,8 +332,8 @@ export class CalciteStepper {
|
|
|
332
332
|
"composed": true,
|
|
333
333
|
"docs": {
|
|
334
334
|
"tags": [{
|
|
335
|
-
"
|
|
336
|
-
"
|
|
335
|
+
"name": "internal",
|
|
336
|
+
"text": undefined
|
|
337
337
|
}],
|
|
338
338
|
"text": "This event fires when the active stepper item has changed."
|
|
339
339
|
},
|
|
@@ -280,8 +280,8 @@ export class CalciteStepperItem {
|
|
|
280
280
|
"optional": true,
|
|
281
281
|
"docs": {
|
|
282
282
|
"tags": [{
|
|
283
|
-
"
|
|
284
|
-
"
|
|
283
|
+
"name": "internal",
|
|
284
|
+
"text": undefined
|
|
285
285
|
}],
|
|
286
286
|
"text": ""
|
|
287
287
|
},
|
|
@@ -300,8 +300,8 @@ export class CalciteStepperItem {
|
|
|
300
300
|
"optional": false,
|
|
301
301
|
"docs": {
|
|
302
302
|
"tags": [{
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"name": "internal",
|
|
304
|
+
"text": undefined
|
|
305
305
|
}],
|
|
306
306
|
"text": ""
|
|
307
307
|
},
|
|
@@ -321,8 +321,8 @@ export class CalciteStepperItem {
|
|
|
321
321
|
"optional": false,
|
|
322
322
|
"docs": {
|
|
323
323
|
"tags": [{
|
|
324
|
-
"
|
|
325
|
-
"
|
|
324
|
+
"name": "internal",
|
|
325
|
+
"text": undefined
|
|
326
326
|
}],
|
|
327
327
|
"text": ""
|
|
328
328
|
},
|
|
@@ -347,8 +347,8 @@ export class CalciteStepperItem {
|
|
|
347
347
|
"optional": false,
|
|
348
348
|
"docs": {
|
|
349
349
|
"tags": [{
|
|
350
|
-
"
|
|
351
|
-
"
|
|
350
|
+
"name": "internal",
|
|
351
|
+
"text": undefined
|
|
352
352
|
}],
|
|
353
353
|
"text": ""
|
|
354
354
|
},
|
|
@@ -365,8 +365,8 @@ export class CalciteStepperItem {
|
|
|
365
365
|
"composed": true,
|
|
366
366
|
"docs": {
|
|
367
367
|
"tags": [{
|
|
368
|
-
"
|
|
369
|
-
"
|
|
368
|
+
"name": "internal",
|
|
369
|
+
"text": undefined
|
|
370
370
|
}],
|
|
371
371
|
"text": ""
|
|
372
372
|
},
|
|
@@ -383,8 +383,8 @@ export class CalciteStepperItem {
|
|
|
383
383
|
"composed": true,
|
|
384
384
|
"docs": {
|
|
385
385
|
"tags": [{
|
|
386
|
-
"
|
|
387
|
-
"
|
|
386
|
+
"name": "internal",
|
|
387
|
+
"text": undefined
|
|
388
388
|
}],
|
|
389
389
|
"text": ""
|
|
390
390
|
},
|
|
@@ -401,8 +401,8 @@ export class CalciteStepperItem {
|
|
|
401
401
|
"composed": true,
|
|
402
402
|
"docs": {
|
|
403
403
|
"tags": [{
|
|
404
|
-
"
|
|
405
|
-
"
|
|
404
|
+
"name": "internal",
|
|
405
|
+
"text": undefined
|
|
406
406
|
}],
|
|
407
407
|
"text": ""
|
|
408
408
|
},
|
|
@@ -233,4 +233,19 @@
|
|
|
233
233
|
:host([checked]:focus) .calcite--rtl .handle {
|
|
234
234
|
right: auto;
|
|
235
235
|
left: -1px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
::slotted(input[slot=hidden-form-input]) {
|
|
239
|
+
bottom: 0 !important;
|
|
240
|
+
left: 0 !important;
|
|
241
|
+
margin: 0 !important;
|
|
242
|
+
opacity: 0 !important;
|
|
243
|
+
outline: none !important;
|
|
244
|
+
padding: 0 !important;
|
|
245
|
+
position: absolute !important;
|
|
246
|
+
right: 0 !important;
|
|
247
|
+
top: 0 !important;
|
|
248
|
+
transform: none !important;
|
|
249
|
+
-webkit-appearance: none !important;
|
|
250
|
+
z-index: -1 !important;
|
|
236
251
|
}
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import { Component, Element, Event, h, Host,
|
|
6
|
-
import { getElementDir } from "../../utils/dom";
|
|
7
|
-
import { hiddenInputStyle } from "../../utils/form";
|
|
8
|
-
import { guid } from "../../utils/guid";
|
|
5
|
+
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
|
+
import { focusElement, getElementDir } from "../../utils/dom";
|
|
9
7
|
import { getKey } from "../../utils/key";
|
|
10
8
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
11
9
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
|
+
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
12
11
|
export class CalciteSwitch {
|
|
13
12
|
constructor() {
|
|
14
13
|
//--------------------------------------------------------------------------
|
|
@@ -26,24 +25,30 @@ export class CalciteSwitch {
|
|
|
26
25
|
this.switched = false;
|
|
27
26
|
/** True if the switch is initially on */
|
|
28
27
|
this.checked = false;
|
|
29
|
-
|
|
28
|
+
//--------------------------------------------------------------------------
|
|
29
|
+
//
|
|
30
|
+
// Private Methods
|
|
31
|
+
//
|
|
32
|
+
//--------------------------------------------------------------------------
|
|
33
|
+
this.keyDownHandler = (e) => {
|
|
34
|
+
const key = getKey(e.key);
|
|
35
|
+
if (!this.disabled && (key === " " || key === "Enter")) {
|
|
36
|
+
this.toggle();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
30
39
|
this.clickHandler = () => {
|
|
31
40
|
this.toggle();
|
|
32
41
|
};
|
|
42
|
+
this.setSwitchEl = (el) => {
|
|
43
|
+
this.switchEl = el;
|
|
44
|
+
};
|
|
33
45
|
}
|
|
34
46
|
disabledWatcher(newDisabled) {
|
|
35
|
-
this.inputEl.disabled = newDisabled;
|
|
36
47
|
this.tabindex = newDisabled ? -1 : 0;
|
|
37
48
|
}
|
|
38
|
-
nameChanged(newName) {
|
|
39
|
-
this.inputEl.name = newName;
|
|
40
|
-
}
|
|
41
49
|
switchedWatcher(switched) {
|
|
42
50
|
this.checked = switched;
|
|
43
51
|
}
|
|
44
|
-
checkedWatcher(checked) {
|
|
45
|
-
this.inputEl.checked = checked;
|
|
46
|
-
}
|
|
47
52
|
//--------------------------------------------------------------------------
|
|
48
53
|
//
|
|
49
54
|
// Public Methods
|
|
@@ -51,31 +56,14 @@ export class CalciteSwitch {
|
|
|
51
56
|
//--------------------------------------------------------------------------
|
|
52
57
|
/** Sets focus on the component. */
|
|
53
58
|
async setFocus() {
|
|
54
|
-
this.
|
|
59
|
+
focusElement(this.switchEl);
|
|
55
60
|
}
|
|
56
|
-
//--------------------------------------------------------------------------
|
|
57
|
-
//
|
|
58
|
-
// Private Methods
|
|
59
|
-
//
|
|
60
|
-
//--------------------------------------------------------------------------
|
|
61
61
|
onLabelClick() {
|
|
62
62
|
if (!this.disabled) {
|
|
63
63
|
this.toggle();
|
|
64
64
|
this.setFocus();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
setupInput() {
|
|
68
|
-
this.checked && this.inputEl.setAttribute("checked", "");
|
|
69
|
-
this.inputEl.disabled = this.disabled;
|
|
70
|
-
this.inputEl.id = `${this.guid}-input`;
|
|
71
|
-
this.inputEl.name = this.name;
|
|
72
|
-
this.inputEl.style.cssText = hiddenInputStyle;
|
|
73
|
-
this.inputEl.type = "checkbox";
|
|
74
|
-
if (this.value) {
|
|
75
|
-
this.inputEl.value = this.value != null ? this.value.toString() : "";
|
|
76
|
-
}
|
|
77
|
-
this.el.appendChild(this.inputEl);
|
|
78
|
-
}
|
|
79
67
|
toggle() {
|
|
80
68
|
this.checked = !this.checked;
|
|
81
69
|
this.calciteSwitchChange.emit({
|
|
@@ -86,30 +74,24 @@ export class CalciteSwitch {
|
|
|
86
74
|
}
|
|
87
75
|
//--------------------------------------------------------------------------
|
|
88
76
|
//
|
|
89
|
-
// Event Listeners
|
|
90
|
-
//
|
|
91
|
-
//--------------------------------------------------------------------------
|
|
92
|
-
keyDownHandler(e) {
|
|
93
|
-
const key = getKey(e.key);
|
|
94
|
-
if (!this.disabled && (key === " " || key === "Enter")) {
|
|
95
|
-
this.toggle();
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
//--------------------------------------------------------------------------
|
|
99
|
-
//
|
|
100
77
|
// Lifecycle
|
|
101
78
|
//
|
|
102
79
|
//--------------------------------------------------------------------------
|
|
103
80
|
connectedCallback() {
|
|
81
|
+
const initiallyChecked = this.checked || this.switched;
|
|
82
|
+
if (initiallyChecked) {
|
|
83
|
+
// if either prop is set, we ensure both are synced initially
|
|
84
|
+
this.switched = this.checked = initiallyChecked;
|
|
85
|
+
}
|
|
104
86
|
connectLabel(this);
|
|
87
|
+
connectForm(this);
|
|
105
88
|
}
|
|
106
89
|
disconnectedCallback() {
|
|
107
90
|
disconnectLabel(this);
|
|
91
|
+
disconnectForm(this);
|
|
108
92
|
}
|
|
109
93
|
componentWillLoad() {
|
|
110
|
-
this.guid = this.el.id || `calcite-switch-${guid()}`;
|
|
111
94
|
this.tabindex = this.el.getAttribute("tabindex") || this.disabled ? -1 : 0;
|
|
112
|
-
this.setupInput();
|
|
113
95
|
}
|
|
114
96
|
// --------------------------------------------------------------------------
|
|
115
97
|
//
|
|
@@ -118,10 +100,11 @@ export class CalciteSwitch {
|
|
|
118
100
|
// --------------------------------------------------------------------------
|
|
119
101
|
render() {
|
|
120
102
|
const dir = getElementDir(this.el);
|
|
121
|
-
return (h(Host, {
|
|
122
|
-
h("div", { class: { container: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
103
|
+
return (h(Host, { onKeyDown: this.keyDownHandler },
|
|
104
|
+
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: { container: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onClick: this.clickHandler, ref: this.setSwitchEl, role: "switch", tabindex: this.tabindex },
|
|
123
105
|
h("div", { class: "track" },
|
|
124
|
-
h("div", { class: "handle" }))
|
|
106
|
+
h("div", { class: "handle" })),
|
|
107
|
+
h(HiddenFormInputSlot, { component: this }))));
|
|
125
108
|
}
|
|
126
109
|
static get is() { return "calcite-switch"; }
|
|
127
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -176,7 +159,7 @@ export class CalciteSwitch {
|
|
|
176
159
|
"references": {}
|
|
177
160
|
},
|
|
178
161
|
"required": false,
|
|
179
|
-
"optional":
|
|
162
|
+
"optional": false,
|
|
180
163
|
"docs": {
|
|
181
164
|
"tags": [],
|
|
182
165
|
"text": "The name of the switch input"
|
|
@@ -209,7 +192,7 @@ export class CalciteSwitch {
|
|
|
209
192
|
},
|
|
210
193
|
"switched": {
|
|
211
194
|
"type": "boolean",
|
|
212
|
-
"mutable":
|
|
195
|
+
"mutable": true,
|
|
213
196
|
"complexType": {
|
|
214
197
|
"original": "boolean",
|
|
215
198
|
"resolved": "boolean",
|
|
@@ -219,8 +202,8 @@ export class CalciteSwitch {
|
|
|
219
202
|
"optional": false,
|
|
220
203
|
"docs": {
|
|
221
204
|
"tags": [{
|
|
222
|
-
"
|
|
223
|
-
"
|
|
205
|
+
"name": "deprecated",
|
|
206
|
+
"text": "use 'checked' instead."
|
|
224
207
|
}],
|
|
225
208
|
"text": "True if the switch is initially on"
|
|
226
209
|
},
|
|
@@ -255,17 +238,16 @@ export class CalciteSwitch {
|
|
|
255
238
|
"references": {}
|
|
256
239
|
},
|
|
257
240
|
"required": false,
|
|
258
|
-
"optional":
|
|
241
|
+
"optional": false,
|
|
259
242
|
"docs": {
|
|
260
243
|
"tags": [],
|
|
261
244
|
"text": "The value of the switch input"
|
|
262
245
|
},
|
|
263
246
|
"attribute": "value",
|
|
264
|
-
"reflect":
|
|
247
|
+
"reflect": false
|
|
265
248
|
}
|
|
266
249
|
}; }
|
|
267
250
|
static get states() { return {
|
|
268
|
-
"guid": {},
|
|
269
251
|
"tabindex": {}
|
|
270
252
|
}; }
|
|
271
253
|
static get events() { return [{
|
|
@@ -306,21 +288,8 @@ export class CalciteSwitch {
|
|
|
306
288
|
static get watchers() { return [{
|
|
307
289
|
"propName": "disabled",
|
|
308
290
|
"methodName": "disabledWatcher"
|
|
309
|
-
}, {
|
|
310
|
-
"propName": "name",
|
|
311
|
-
"methodName": "nameChanged"
|
|
312
291
|
}, {
|
|
313
292
|
"propName": "switched",
|
|
314
293
|
"methodName": "switchedWatcher"
|
|
315
|
-
}, {
|
|
316
|
-
"propName": "checked",
|
|
317
|
-
"methodName": "checkedWatcher"
|
|
318
|
-
}]; }
|
|
319
|
-
static get listeners() { return [{
|
|
320
|
-
"name": "keydown",
|
|
321
|
-
"method": "keyDownHandler",
|
|
322
|
-
"target": undefined,
|
|
323
|
-
"capture": false,
|
|
324
|
-
"passive": false
|
|
325
294
|
}]; }
|
|
326
295
|
}
|
|
@@ -155,8 +155,8 @@ export class CalciteTab {
|
|
|
155
155
|
"optional": false,
|
|
156
156
|
"docs": {
|
|
157
157
|
"tags": [{
|
|
158
|
-
"
|
|
159
|
-
"
|
|
158
|
+
"name": "internal",
|
|
159
|
+
"text": "Parent tabs component scale value"
|
|
160
160
|
}],
|
|
161
161
|
"text": ""
|
|
162
162
|
},
|
|
@@ -176,8 +176,8 @@ export class CalciteTab {
|
|
|
176
176
|
"composed": true,
|
|
177
177
|
"docs": {
|
|
178
178
|
"tags": [{
|
|
179
|
-
"
|
|
180
|
-
"
|
|
179
|
+
"name": "internal",
|
|
180
|
+
"text": undefined
|
|
181
181
|
}],
|
|
182
182
|
"text": ""
|
|
183
183
|
},
|
|
@@ -235,8 +235,8 @@ export class CalciteTabNav {
|
|
|
235
235
|
"optional": false,
|
|
236
236
|
"docs": {
|
|
237
237
|
"tags": [{
|
|
238
|
-
"
|
|
239
|
-
"
|
|
238
|
+
"name": "internal",
|
|
239
|
+
"text": "Parent tabs component scale value"
|
|
240
240
|
}],
|
|
241
241
|
"text": ""
|
|
242
242
|
},
|
|
@@ -261,8 +261,8 @@ export class CalciteTabNav {
|
|
|
261
261
|
"optional": false,
|
|
262
262
|
"docs": {
|
|
263
263
|
"tags": [{
|
|
264
|
-
"
|
|
265
|
-
"
|
|
264
|
+
"name": "internal",
|
|
265
|
+
"text": "Parent tabs component layout value"
|
|
266
266
|
}],
|
|
267
267
|
"text": ""
|
|
268
268
|
},
|
|
@@ -287,8 +287,8 @@ export class CalciteTabNav {
|
|
|
287
287
|
"optional": false,
|
|
288
288
|
"docs": {
|
|
289
289
|
"tags": [{
|
|
290
|
-
"
|
|
291
|
-
"
|
|
290
|
+
"name": "internal",
|
|
291
|
+
"text": "Parent tabs component position value"
|
|
292
292
|
}],
|
|
293
293
|
"text": ""
|
|
294
294
|
},
|
|
@@ -308,8 +308,8 @@ export class CalciteTabNav {
|
|
|
308
308
|
"optional": false,
|
|
309
309
|
"docs": {
|
|
310
310
|
"tags": [{
|
|
311
|
-
"
|
|
312
|
-
"
|
|
311
|
+
"name": "internal",
|
|
312
|
+
"text": "Parent tabs component bordered value when layout is \"inline\""
|
|
313
313
|
}],
|
|
314
314
|
"text": ""
|
|
315
315
|
},
|
|
@@ -329,8 +329,8 @@ export class CalciteTabNav {
|
|
|
329
329
|
"optional": false,
|
|
330
330
|
"docs": {
|
|
331
331
|
"tags": [{
|
|
332
|
-
"
|
|
333
|
-
"
|
|
332
|
+
"name": "internal",
|
|
333
|
+
"text": undefined
|
|
334
334
|
}],
|
|
335
335
|
"text": ""
|
|
336
336
|
},
|
|
@@ -349,8 +349,8 @@ export class CalciteTabNav {
|
|
|
349
349
|
"optional": false,
|
|
350
350
|
"docs": {
|
|
351
351
|
"tags": [{
|
|
352
|
-
"
|
|
353
|
-
"
|
|
352
|
+
"name": "internal",
|
|
353
|
+
"text": undefined
|
|
354
354
|
}],
|
|
355
355
|
"text": ""
|
|
356
356
|
},
|
|
@@ -370,8 +370,8 @@ export class CalciteTabNav {
|
|
|
370
370
|
"composed": true,
|
|
371
371
|
"docs": {
|
|
372
372
|
"tags": [{
|
|
373
|
-
"
|
|
374
|
-
"
|
|
373
|
+
"name": "see",
|
|
374
|
+
"text": " [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tab/interfaces.ts#L1)"
|
|
375
375
|
}],
|
|
376
376
|
"text": "Emitted when the active tab changes"
|
|
377
377
|
},
|
|
@@ -302,8 +302,8 @@ export class CalciteTabTitle {
|
|
|
302
302
|
"optional": false,
|
|
303
303
|
"docs": {
|
|
304
304
|
"tags": [{
|
|
305
|
-
"
|
|
306
|
-
"
|
|
305
|
+
"name": "internal",
|
|
306
|
+
"text": "Parent tabs component layout value"
|
|
307
307
|
}],
|
|
308
308
|
"text": ""
|
|
309
309
|
},
|
|
@@ -327,8 +327,8 @@ export class CalciteTabTitle {
|
|
|
327
327
|
"optional": false,
|
|
328
328
|
"docs": {
|
|
329
329
|
"tags": [{
|
|
330
|
-
"
|
|
331
|
-
"
|
|
330
|
+
"name": "internal",
|
|
331
|
+
"text": "Parent tabs component or parent tab-nav component's position"
|
|
332
332
|
}],
|
|
333
333
|
"text": ""
|
|
334
334
|
},
|
|
@@ -352,8 +352,8 @@ export class CalciteTabTitle {
|
|
|
352
352
|
"optional": false,
|
|
353
353
|
"docs": {
|
|
354
354
|
"tags": [{
|
|
355
|
-
"
|
|
356
|
-
"
|
|
355
|
+
"name": "internal",
|
|
356
|
+
"text": "Parent tabs component or parent tab-nav component's scale"
|
|
357
357
|
}],
|
|
358
358
|
"text": ""
|
|
359
359
|
},
|
|
@@ -372,8 +372,8 @@ export class CalciteTabTitle {
|
|
|
372
372
|
"optional": false,
|
|
373
373
|
"docs": {
|
|
374
374
|
"tags": [{
|
|
375
|
-
"
|
|
376
|
-
"
|
|
375
|
+
"name": "internal",
|
|
376
|
+
"text": "Parent tabs component bordered value"
|
|
377
377
|
}],
|
|
378
378
|
"text": ""
|
|
379
379
|
},
|
|
@@ -411,8 +411,8 @@ export class CalciteTabTitle {
|
|
|
411
411
|
"composed": true,
|
|
412
412
|
"docs": {
|
|
413
413
|
"tags": [{
|
|
414
|
-
"
|
|
415
|
-
"
|
|
414
|
+
"name": "see",
|
|
415
|
+
"text": " [TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-tab/interfaces.ts#L1)"
|
|
416
416
|
}],
|
|
417
417
|
"text": "Fires when a specific tab is activated (`event.details`)"
|
|
418
418
|
},
|
|
@@ -434,8 +434,8 @@ export class CalciteTabTitle {
|
|
|
434
434
|
"composed": true,
|
|
435
435
|
"docs": {
|
|
436
436
|
"tags": [{
|
|
437
|
-
"
|
|
438
|
-
"
|
|
437
|
+
"name": "internal",
|
|
438
|
+
"text": undefined
|
|
439
439
|
}],
|
|
440
440
|
"text": ""
|
|
441
441
|
},
|
|
@@ -452,8 +452,8 @@ export class CalciteTabTitle {
|
|
|
452
452
|
"composed": true,
|
|
453
453
|
"docs": {
|
|
454
454
|
"tags": [{
|
|
455
|
-
"
|
|
456
|
-
"
|
|
455
|
+
"name": "internal",
|
|
456
|
+
"text": undefined
|
|
457
457
|
}],
|
|
458
458
|
"text": ""
|
|
459
459
|
},
|
|
@@ -470,8 +470,8 @@ export class CalciteTabTitle {
|
|
|
470
470
|
"composed": true,
|
|
471
471
|
"docs": {
|
|
472
472
|
"tags": [{
|
|
473
|
-
"
|
|
474
|
-
"
|
|
473
|
+
"name": "internal",
|
|
474
|
+
"text": undefined
|
|
475
475
|
}],
|
|
476
476
|
"text": ""
|
|
477
477
|
},
|