@esri/calcite-components 1.0.0-next.293 → 1.0.0-next.297
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/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/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-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-ed15771f.system.entry.js +5 -0
- package/dist/calcite/p-ed453bfb.entry.js +5 -0
- 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/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 +5 -4
- 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 +15 -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/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/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 +16 -6
- package/dist/collection/components/calcite-panel/calcite-panel.js +3 -2
- package/dist/collection/components/calcite-panel/resources.js +1 -0
- 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 +5 -4
- 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 +947 -573
- 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 +5 -4
- 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 +2 -2
- 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-panel/resources.d.ts +1 -0
- 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 +891 -498
- package/package.json +15 -16
- package/readme.md +2 -2
- package/CHANGELOG.md +0 -1493
- 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-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-378b83de.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-72ffc6d7.entry.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-bc02d9ef.system.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-f37563ac.system.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
|
@@ -232,8 +232,8 @@ export class CalcitePagination {
|
|
|
232
232
|
"optional": false,
|
|
233
233
|
"docs": {
|
|
234
234
|
"tags": [{
|
|
235
|
-
"
|
|
236
|
-
"
|
|
235
|
+
"name": "default",
|
|
236
|
+
"text": "\"Next\""
|
|
237
237
|
}],
|
|
238
238
|
"text": "Used as an accessible label (aria-label) for the next button"
|
|
239
239
|
},
|
|
@@ -253,8 +253,8 @@ export class CalcitePagination {
|
|
|
253
253
|
"optional": false,
|
|
254
254
|
"docs": {
|
|
255
255
|
"tags": [{
|
|
256
|
-
"
|
|
257
|
-
"
|
|
256
|
+
"name": "default",
|
|
257
|
+
"text": "\"Previous\""
|
|
258
258
|
}],
|
|
259
259
|
"text": "Used as an accessible label (aria-label) of the previous button"
|
|
260
260
|
},
|
|
@@ -294,8 +294,8 @@ export class CalcitePagination {
|
|
|
294
294
|
"composed": true,
|
|
295
295
|
"docs": {
|
|
296
296
|
"tags": [{
|
|
297
|
-
"
|
|
298
|
-
"
|
|
297
|
+
"name": "deprecated",
|
|
298
|
+
"text": "use calcitePaginationChange instead"
|
|
299
299
|
}],
|
|
300
300
|
"text": "Emitted whenever the selected page changes."
|
|
301
301
|
},
|
|
@@ -316,8 +316,8 @@ export class CalcitePagination {
|
|
|
316
316
|
"composed": true,
|
|
317
317
|
"docs": {
|
|
318
318
|
"tags": [{
|
|
319
|
-
"
|
|
320
|
-
"
|
|
319
|
+
"name": "see",
|
|
320
|
+
"text": " [CalcitePaginationDetail](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pagination/calcite-pagination.tsx#L18)"
|
|
321
321
|
}],
|
|
322
322
|
"text": "Emitted whenever the selected page changes."
|
|
323
323
|
},
|
|
@@ -225,7 +225,7 @@ h5.heading {
|
|
|
225
225
|
justify-content: flex-start;
|
|
226
226
|
position: sticky;
|
|
227
227
|
top: 0;
|
|
228
|
-
border-bottom-color: var(--calcite-ui-border-
|
|
228
|
+
border-bottom-color: var(--calcite-ui-border-3);
|
|
229
229
|
width: 100%;
|
|
230
230
|
flex: 0 0 auto;
|
|
231
231
|
min-height: 3rem;
|
|
@@ -233,10 +233,14 @@ h5.heading {
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
.header-content {
|
|
236
|
-
display: block;
|
|
237
236
|
overflow: hidden;
|
|
238
237
|
margin-right: auto;
|
|
239
|
-
padding:
|
|
238
|
+
padding-left: 0.75rem;
|
|
239
|
+
padding-right: 0.75rem;
|
|
240
|
+
padding-top: 1rem;
|
|
241
|
+
padding-bottom: 1rem;
|
|
242
|
+
display: flex;
|
|
243
|
+
flex-direction: column;
|
|
240
244
|
}
|
|
241
245
|
|
|
242
246
|
.header-content .heading,
|
|
@@ -270,7 +274,7 @@ h5.heading {
|
|
|
270
274
|
}
|
|
271
275
|
|
|
272
276
|
.back-button {
|
|
273
|
-
border-color: var(--calcite-ui-border-
|
|
277
|
+
border-color: var(--calcite-ui-border-3);
|
|
274
278
|
border-style: solid;
|
|
275
279
|
border-width: 0;
|
|
276
280
|
border-right-width: 1px;
|
|
@@ -308,12 +312,16 @@ h5.heading {
|
|
|
308
312
|
flex-flow: column nowrap;
|
|
309
313
|
}
|
|
310
314
|
|
|
315
|
+
.content-wrapper {
|
|
316
|
+
height: 100%;
|
|
317
|
+
overflow: auto;
|
|
318
|
+
}
|
|
319
|
+
|
|
311
320
|
.content-container {
|
|
312
321
|
align-items: stretch;
|
|
313
322
|
background-color: var(--calcite-ui-background);
|
|
314
323
|
display: flex;
|
|
315
324
|
flex: 1 1 auto;
|
|
316
|
-
overflow: auto;
|
|
317
325
|
flex-wrap: nowrap;
|
|
318
326
|
flex-direction: column;
|
|
319
327
|
}
|
|
@@ -348,7 +356,7 @@ h5.heading {
|
|
|
348
356
|
}
|
|
349
357
|
|
|
350
358
|
.fab-container {
|
|
351
|
-
display:
|
|
359
|
+
display: block;
|
|
352
360
|
position: sticky;
|
|
353
361
|
margin-top: 0;
|
|
354
362
|
margin-bottom: 0;
|
|
@@ -358,5 +366,7 @@ h5.heading {
|
|
|
358
366
|
bottom: 0;
|
|
359
367
|
left: 0;
|
|
360
368
|
right: 0;
|
|
369
|
+
width: -moz-fit-content;
|
|
370
|
+
width: fit-content;
|
|
361
371
|
z-index: 1;
|
|
362
372
|
}
|
|
@@ -187,8 +187,9 @@ export class CalcitePanel {
|
|
|
187
187
|
h("slot", { name: SLOTS.footerActions }))) : null;
|
|
188
188
|
}
|
|
189
189
|
renderContent() {
|
|
190
|
-
return (h("
|
|
191
|
-
h("
|
|
190
|
+
return (h("div", { class: CSS.contentWrapper, onScroll: this.panelScrollHandler, tabIndex: 0 },
|
|
191
|
+
h("section", { class: CSS.contentContainer },
|
|
192
|
+
h("slot", null)),
|
|
192
193
|
this.renderFab()));
|
|
193
194
|
}
|
|
194
195
|
renderFab() {
|
|
@@ -12,6 +12,7 @@ export const CSS = {
|
|
|
12
12
|
headerActions: "header-actions",
|
|
13
13
|
headerActionsEnd: "header-actions--end",
|
|
14
14
|
headerActionsStart: "header-actions--start",
|
|
15
|
+
contentWrapper: "content-wrapper",
|
|
15
16
|
contentContainer: "content-container",
|
|
16
17
|
fabContainer: "fab-container",
|
|
17
18
|
footer: "footer",
|
|
@@ -224,8 +224,8 @@ export class CalcitePickListItem {
|
|
|
224
224
|
"optional": false,
|
|
225
225
|
"docs": {
|
|
226
226
|
"tags": [{
|
|
227
|
-
"
|
|
228
|
-
"
|
|
227
|
+
"name": "internal",
|
|
228
|
+
"text": "When true, the item cannot be selected by user interaction."
|
|
229
229
|
}],
|
|
230
230
|
"text": ""
|
|
231
231
|
},
|
|
@@ -250,8 +250,8 @@ export class CalcitePickListItem {
|
|
|
250
250
|
"optional": true,
|
|
251
251
|
"docs": {
|
|
252
252
|
"tags": [{
|
|
253
|
-
"
|
|
254
|
-
"
|
|
253
|
+
"name": "see",
|
|
254
|
+
"text": " [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pick-list/resources.ts#L5)"
|
|
255
255
|
}],
|
|
256
256
|
"text": "Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null."
|
|
257
257
|
},
|
|
@@ -343,8 +343,8 @@ export class CalcitePickListItem {
|
|
|
343
343
|
"optional": false,
|
|
344
344
|
"docs": {
|
|
345
345
|
"tags": [{
|
|
346
|
-
"
|
|
347
|
-
"
|
|
346
|
+
"name": "default",
|
|
347
|
+
"text": "\"Remove\""
|
|
348
348
|
}],
|
|
349
349
|
"text": "Used as an accessible label (aria-label) for the \"remove item\" action. Only applicable if removable is true."
|
|
350
350
|
},
|
|
@@ -412,8 +412,8 @@ export class CalcitePickListItem {
|
|
|
412
412
|
"composed": true,
|
|
413
413
|
"docs": {
|
|
414
414
|
"tags": [{
|
|
415
|
-
"
|
|
416
|
-
"
|
|
415
|
+
"name": "internal",
|
|
416
|
+
"text": undefined
|
|
417
417
|
}],
|
|
418
418
|
"text": "Emitted whenever the the item's label, description, value or metadata properties are modified."
|
|
419
419
|
},
|
|
@@ -430,8 +430,8 @@ export class CalcitePickListItem {
|
|
|
430
430
|
"composed": true,
|
|
431
431
|
"docs": {
|
|
432
432
|
"tags": [{
|
|
433
|
-
"
|
|
434
|
-
"
|
|
433
|
+
"name": "internal",
|
|
434
|
+
"text": undefined
|
|
435
435
|
}],
|
|
436
436
|
"text": "Emitted whenever the the item's value property is modified."
|
|
437
437
|
},
|
|
@@ -158,7 +158,7 @@ export class CalcitePopover {
|
|
|
158
158
|
const { popper, el, placement } = this;
|
|
159
159
|
const modifiers = this.getModifiers();
|
|
160
160
|
popper
|
|
161
|
-
? updatePopper({
|
|
161
|
+
? await updatePopper({
|
|
162
162
|
el,
|
|
163
163
|
modifiers,
|
|
164
164
|
placement,
|
|
@@ -295,8 +295,8 @@ export class CalcitePopover {
|
|
|
295
295
|
"optional": false,
|
|
296
296
|
"docs": {
|
|
297
297
|
"tags": [{
|
|
298
|
-
"
|
|
299
|
-
"
|
|
298
|
+
"name": "deprecated",
|
|
299
|
+
"text": "use dismissible instead."
|
|
300
300
|
}],
|
|
301
301
|
"text": "Display a close button within the Popover."
|
|
302
302
|
},
|
|
@@ -446,8 +446,8 @@ export class CalcitePopover {
|
|
|
446
446
|
"optional": false,
|
|
447
447
|
"docs": {
|
|
448
448
|
"tags": [{
|
|
449
|
-
"
|
|
450
|
-
"
|
|
449
|
+
"name": "default",
|
|
450
|
+
"text": "6"
|
|
451
451
|
}],
|
|
452
452
|
"text": "Offset the position of the popover away from the reference element."
|
|
453
453
|
},
|
|
@@ -531,8 +531,8 @@ export class CalcitePopover {
|
|
|
531
531
|
"optional": false,
|
|
532
532
|
"docs": {
|
|
533
533
|
"tags": [{
|
|
534
|
-
"
|
|
535
|
-
"
|
|
534
|
+
"name": "see",
|
|
535
|
+
"text": " [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)"
|
|
536
536
|
}],
|
|
537
537
|
"text": "Determines where the component will be positioned relative to the referenceElement."
|
|
538
538
|
},
|
|
@@ -573,8 +573,8 @@ export class CalcitePopover {
|
|
|
573
573
|
"optional": false,
|
|
574
574
|
"docs": {
|
|
575
575
|
"tags": [{
|
|
576
|
-
"
|
|
577
|
-
"
|
|
576
|
+
"name": "default",
|
|
577
|
+
"text": "\"Close\""
|
|
578
578
|
}],
|
|
579
579
|
"text": "Text for close button."
|
|
580
580
|
},
|
|
@@ -86,8 +86,8 @@ export class CalcitePopoverManager {
|
|
|
86
86
|
"optional": false,
|
|
87
87
|
"docs": {
|
|
88
88
|
"tags": [{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"name": "default",
|
|
90
|
+
"text": "`[data-calcite-popover-reference]`"
|
|
91
91
|
}],
|
|
92
92
|
"text": "CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover."
|
|
93
93
|
},
|
|
@@ -94,8 +94,8 @@ export class CalciteRadio {
|
|
|
94
94
|
"optional": false,
|
|
95
95
|
"docs": {
|
|
96
96
|
"tags": [{
|
|
97
|
-
"
|
|
98
|
-
"
|
|
97
|
+
"name": "internal",
|
|
98
|
+
"text": undefined
|
|
99
99
|
}],
|
|
100
100
|
"text": "The focused state of the radio."
|
|
101
101
|
},
|
|
@@ -133,8 +133,8 @@ export class CalciteRadio {
|
|
|
133
133
|
"optional": false,
|
|
134
134
|
"docs": {
|
|
135
135
|
"tags": [{
|
|
136
|
-
"
|
|
137
|
-
"
|
|
136
|
+
"name": "internal",
|
|
137
|
+
"text": undefined
|
|
138
138
|
}],
|
|
139
139
|
"text": "The hovered state of the radio."
|
|
140
140
|
},
|
|
@@ -89,10 +89,27 @@
|
|
|
89
89
|
display: block;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
:host .
|
|
92
|
+
:host .container {
|
|
93
93
|
position: relative;
|
|
94
|
+
outline: 2px solid transparent;
|
|
95
|
+
outline-offset: 2px;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
:host([disabled]) {
|
|
97
99
|
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
::slotted(input[slot=hidden-form-input]) {
|
|
103
|
+
bottom: 0 !important;
|
|
104
|
+
left: 0 !important;
|
|
105
|
+
margin: 0 !important;
|
|
106
|
+
opacity: 0 !important;
|
|
107
|
+
outline: none !important;
|
|
108
|
+
padding: 0 !important;
|
|
109
|
+
position: absolute !important;
|
|
110
|
+
right: 0 !important;
|
|
111
|
+
top: 0 !important;
|
|
112
|
+
transform: none !important;
|
|
113
|
+
-webkit-appearance: none !important;
|
|
114
|
+
z-index: -1 !important;
|
|
98
115
|
}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
6
6
|
import { guid } from "../../utils/guid";
|
|
7
|
-
import {
|
|
7
|
+
import { focusElement } from "../../utils/dom";
|
|
8
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
|
-
import {
|
|
9
|
+
import { HiddenFormInputSlot, connectForm, disconnectForm } from "../../utils/form";
|
|
10
10
|
import { CSS } from "./resources";
|
|
11
|
+
import { getKey } from "../../utils/key";
|
|
12
|
+
import { getElementDir } from "../../utils/dom";
|
|
13
|
+
import { getRoundRobinIndex } from "../../utils/array";
|
|
11
14
|
export class CalciteRadioButton {
|
|
12
15
|
constructor() {
|
|
13
16
|
//--------------------------------------------------------------------------
|
|
@@ -47,31 +50,77 @@ export class CalciteRadioButton {
|
|
|
47
50
|
item.focused = selected;
|
|
48
51
|
});
|
|
49
52
|
};
|
|
50
|
-
this.
|
|
53
|
+
this.queryButtons = () => {
|
|
54
|
+
return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((radioButton) => radioButton.name === this.name);
|
|
55
|
+
};
|
|
56
|
+
this.isDefaultSelectable = () => {
|
|
57
|
+
const radioButtons = this.queryButtons();
|
|
58
|
+
return !radioButtons.some((radioButton) => radioButton.checked) && radioButtons[0] === this.el;
|
|
59
|
+
};
|
|
60
|
+
this.check = () => {
|
|
61
|
+
if (this.disabled) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
51
64
|
this.uncheckAllRadioButtonsInGroup();
|
|
52
65
|
this.checked = true;
|
|
53
66
|
this.focused = true;
|
|
54
67
|
this.calciteRadioButtonChange.emit();
|
|
55
68
|
};
|
|
56
69
|
this.clickHandler = () => {
|
|
57
|
-
this.
|
|
70
|
+
this.check();
|
|
58
71
|
};
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
72
|
+
this.setContainerEl = (el) => {
|
|
73
|
+
this.containerEl = el;
|
|
61
74
|
};
|
|
62
|
-
this.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
75
|
+
this.handleKeyDown = (event) => {
|
|
76
|
+
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
77
|
+
const key = getKey(event.key);
|
|
78
|
+
const { el } = this;
|
|
79
|
+
if (keys.indexOf(key) === -1) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
if (key === " ") {
|
|
83
|
+
this.check();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
let adjustedKey = key;
|
|
87
|
+
if (getElementDir(el) === "rtl") {
|
|
88
|
+
if (key === "ArrowRight") {
|
|
89
|
+
adjustedKey = "ArrowLeft";
|
|
90
|
+
}
|
|
91
|
+
if (key === "ArrowLeft") {
|
|
92
|
+
adjustedKey = "ArrowRight";
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((radioButton) => radioButton.name === this.name);
|
|
96
|
+
let currentIndex = 0;
|
|
97
|
+
const radioButtonsLength = radioButtons.length;
|
|
98
|
+
radioButtons.some((item, index) => {
|
|
99
|
+
if (item.checked) {
|
|
100
|
+
currentIndex = index;
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
switch (adjustedKey) {
|
|
105
|
+
case "ArrowLeft":
|
|
106
|
+
case "ArrowUp":
|
|
107
|
+
event.preventDefault();
|
|
108
|
+
this.selectItem(radioButtons, getRoundRobinIndex(Math.max(currentIndex - 1, -1), radioButtonsLength));
|
|
109
|
+
return;
|
|
110
|
+
case "ArrowRight":
|
|
111
|
+
case "ArrowDown":
|
|
112
|
+
event.preventDefault();
|
|
113
|
+
this.selectItem(radioButtons, getRoundRobinIndex(currentIndex + 1, radioButtonsLength));
|
|
114
|
+
return;
|
|
115
|
+
default:
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
69
118
|
};
|
|
70
|
-
this.
|
|
119
|
+
this.onContainerBlur = () => {
|
|
71
120
|
this.focused = false;
|
|
72
121
|
this.calciteInternalRadioButtonBlur.emit();
|
|
73
122
|
};
|
|
74
|
-
this.
|
|
123
|
+
this.onContainerFocus = () => {
|
|
75
124
|
this.focused = true;
|
|
76
125
|
this.calciteInternalRadioButtonFocus.emit();
|
|
77
126
|
};
|
|
@@ -80,44 +129,15 @@ export class CalciteRadioButton {
|
|
|
80
129
|
if (newChecked) {
|
|
81
130
|
this.uncheckOtherRadioButtonsInGroup();
|
|
82
131
|
}
|
|
83
|
-
if (this.inputEl) {
|
|
84
|
-
this.inputEl.checked = newChecked;
|
|
85
|
-
}
|
|
86
132
|
this.calciteInternalRadioButtonCheckedChange.emit(newChecked);
|
|
87
133
|
}
|
|
88
|
-
|
|
89
|
-
this.inputEl.disabled = disabled;
|
|
90
|
-
}
|
|
91
|
-
focusedChanged(focused) {
|
|
92
|
-
if (!this.inputEl) {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
if (focused && !this.el.hasAttribute("hidden")) {
|
|
96
|
-
this.inputEl.focus();
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
this.inputEl.blur();
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
hiddenChanged(newHidden) {
|
|
103
|
-
this.inputEl.hidden = newHidden;
|
|
104
|
-
}
|
|
105
|
-
nameChanged(newName) {
|
|
106
|
-
if (this.name === newName) {
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
if (this.inputEl) {
|
|
110
|
-
this.inputEl.name = newName;
|
|
111
|
-
}
|
|
134
|
+
nameChanged() {
|
|
112
135
|
this.checkLastRadioButton();
|
|
113
136
|
const currentValue = this.rootNode.querySelector(`input[name="${this.name}"]:checked`);
|
|
114
137
|
if (!(currentValue === null || currentValue === void 0 ? void 0 : currentValue.value)) {
|
|
115
138
|
this.uncheckAllRadioButtonsInGroup();
|
|
116
139
|
}
|
|
117
140
|
}
|
|
118
|
-
requiredChanged(required) {
|
|
119
|
-
this.inputEl.required = required;
|
|
120
|
-
}
|
|
121
141
|
//--------------------------------------------------------------------------
|
|
122
142
|
//
|
|
123
143
|
// Public Methods
|
|
@@ -125,7 +145,7 @@ export class CalciteRadioButton {
|
|
|
125
145
|
//--------------------------------------------------------------------------
|
|
126
146
|
/** Sets focus on the component. */
|
|
127
147
|
async setFocus() {
|
|
128
|
-
focusElement(this.
|
|
148
|
+
focusElement(this.containerEl);
|
|
129
149
|
}
|
|
130
150
|
onLabelClick(event) {
|
|
131
151
|
if (!this.disabled && !this.hidden) {
|
|
@@ -143,7 +163,7 @@ export class CalciteRadioButton {
|
|
|
143
163
|
}
|
|
144
164
|
}
|
|
145
165
|
checkLastRadioButton() {
|
|
146
|
-
const radioButtons =
|
|
166
|
+
const radioButtons = this.queryButtons();
|
|
147
167
|
const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
|
|
148
168
|
if ((checkedRadioButtons === null || checkedRadioButtons === void 0 ? void 0 : checkedRadioButtons.length) > 1) {
|
|
149
169
|
const lastCheckedRadioButton = checkedRadioButtons[checkedRadioButtons.length - 1];
|
|
@@ -160,16 +180,17 @@ export class CalciteRadioButton {
|
|
|
160
180
|
this.calciteInternalRadioButtonCheckedChange.emit();
|
|
161
181
|
}
|
|
162
182
|
uncheckAllRadioButtonsInGroup() {
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
if (
|
|
166
|
-
|
|
167
|
-
|
|
183
|
+
const radioButtons = this.queryButtons();
|
|
184
|
+
radioButtons.forEach((radioButton) => {
|
|
185
|
+
if (radioButton.checked) {
|
|
186
|
+
radioButton.checked = false;
|
|
187
|
+
radioButton.focused = false;
|
|
168
188
|
}
|
|
169
189
|
});
|
|
170
190
|
}
|
|
171
191
|
uncheckOtherRadioButtonsInGroup() {
|
|
172
|
-
const
|
|
192
|
+
const radioButtons = this.queryButtons();
|
|
193
|
+
const otherRadioButtons = radioButtons.filter((radioButton) => radioButton.guid !== this.guid);
|
|
173
194
|
otherRadioButtons.forEach((otherRadioButton) => {
|
|
174
195
|
if (otherRadioButton.checked) {
|
|
175
196
|
otherRadioButton.checked = false;
|
|
@@ -196,28 +217,20 @@ export class CalciteRadioButton {
|
|
|
196
217
|
connectedCallback() {
|
|
197
218
|
this.rootNode = this.el.getRootNode();
|
|
198
219
|
this.guid = this.el.id || `calcite-radio-button-${guid()}`;
|
|
199
|
-
this.initialChecked = this.checked;
|
|
200
220
|
if (this.name) {
|
|
201
221
|
this.checkLastRadioButton();
|
|
202
222
|
}
|
|
203
|
-
const form = closestElementCrossShadowBoundary(this.el, "form");
|
|
204
|
-
if (form) {
|
|
205
|
-
form.addEventListener("reset", this.formResetHandler);
|
|
206
|
-
}
|
|
207
223
|
connectLabel(this);
|
|
224
|
+
connectForm(this);
|
|
208
225
|
}
|
|
209
226
|
componentDidLoad() {
|
|
210
|
-
this.hideInputEl();
|
|
211
227
|
if (this.focused) {
|
|
212
|
-
this.
|
|
228
|
+
this.containerEl.focus();
|
|
213
229
|
}
|
|
214
230
|
}
|
|
215
231
|
disconnectedCallback() {
|
|
216
|
-
const form = closestElementCrossShadowBoundary(this.el, "form");
|
|
217
|
-
if (form) {
|
|
218
|
-
form.removeEventListener("reset", this.formResetHandler);
|
|
219
|
-
}
|
|
220
232
|
disconnectLabel(this);
|
|
233
|
+
disconnectForm(this);
|
|
221
234
|
}
|
|
222
235
|
// --------------------------------------------------------------------------
|
|
223
236
|
//
|
|
@@ -225,15 +238,13 @@ export class CalciteRadioButton {
|
|
|
225
238
|
//
|
|
226
239
|
// --------------------------------------------------------------------------
|
|
227
240
|
render() {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
h(
|
|
232
|
-
h("input", { "aria-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 }),
|
|
233
|
-
h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale }))));
|
|
241
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown },
|
|
242
|
+
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: CSS.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: this.checked || this.isDefaultSelectable() ? 0 : -1 },
|
|
243
|
+
h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale })),
|
|
244
|
+
h(HiddenFormInputSlot, { component: this })));
|
|
234
245
|
}
|
|
235
246
|
static get is() { return "calcite-radio-button"; }
|
|
236
|
-
static get encapsulation() { return "
|
|
247
|
+
static get encapsulation() { return "shadow"; }
|
|
237
248
|
static get originalStyleUrls() { return {
|
|
238
249
|
"$": ["calcite-radio-button.scss"]
|
|
239
250
|
}; }
|
|
@@ -289,8 +300,8 @@ export class CalciteRadioButton {
|
|
|
289
300
|
"optional": false,
|
|
290
301
|
"docs": {
|
|
291
302
|
"tags": [{
|
|
292
|
-
"
|
|
293
|
-
"
|
|
303
|
+
"name": "internal",
|
|
304
|
+
"text": undefined
|
|
294
305
|
}],
|
|
295
306
|
"text": "The focused state of the radio button."
|
|
296
307
|
},
|
|
@@ -345,8 +356,8 @@ export class CalciteRadioButton {
|
|
|
345
356
|
"optional": false,
|
|
346
357
|
"docs": {
|
|
347
358
|
"tags": [{
|
|
348
|
-
"
|
|
349
|
-
"
|
|
359
|
+
"name": "internal",
|
|
360
|
+
"text": undefined
|
|
350
361
|
}],
|
|
351
362
|
"text": "The hovered state of the radio button."
|
|
352
363
|
},
|
|
@@ -366,8 +377,8 @@ export class CalciteRadioButton {
|
|
|
366
377
|
"optional": true,
|
|
367
378
|
"docs": {
|
|
368
379
|
"tags": [{
|
|
369
|
-
"
|
|
370
|
-
"
|
|
380
|
+
"name": "internal",
|
|
381
|
+
"text": undefined
|
|
371
382
|
}],
|
|
372
383
|
"text": "The label of the radio input"
|
|
373
384
|
},
|
|
@@ -434,7 +445,7 @@ export class CalciteRadioButton {
|
|
|
434
445
|
},
|
|
435
446
|
"value": {
|
|
436
447
|
"type": "any",
|
|
437
|
-
"mutable":
|
|
448
|
+
"mutable": true,
|
|
438
449
|
"complexType": {
|
|
439
450
|
"original": "any",
|
|
440
451
|
"resolved": "any",
|
|
@@ -458,8 +469,8 @@ export class CalciteRadioButton {
|
|
|
458
469
|
"composed": true,
|
|
459
470
|
"docs": {
|
|
460
471
|
"tags": [{
|
|
461
|
-
"
|
|
462
|
-
"
|
|
472
|
+
"name": "internal",
|
|
473
|
+
"text": undefined
|
|
463
474
|
}],
|
|
464
475
|
"text": "Fires when the radio button is blurred."
|
|
465
476
|
},
|
|
@@ -491,8 +502,8 @@ export class CalciteRadioButton {
|
|
|
491
502
|
"composed": true,
|
|
492
503
|
"docs": {
|
|
493
504
|
"tags": [{
|
|
494
|
-
"
|
|
495
|
-
"
|
|
505
|
+
"name": "internal",
|
|
506
|
+
"text": undefined
|
|
496
507
|
}],
|
|
497
508
|
"text": "Fires when the checked property changes. This is an internal event used for styling purposes only.\nUse calciteRadioButtonChange or calciteRadioButtonGroupChange for responding to changes in the checked value for forms."
|
|
498
509
|
},
|
|
@@ -509,8 +520,8 @@ export class CalciteRadioButton {
|
|
|
509
520
|
"composed": true,
|
|
510
521
|
"docs": {
|
|
511
522
|
"tags": [{
|
|
512
|
-
"
|
|
513
|
-
"
|
|
523
|
+
"name": "internal",
|
|
524
|
+
"text": undefined
|
|
514
525
|
}],
|
|
515
526
|
"text": "Fires when the radio button is focused."
|
|
516
527
|
},
|
|
@@ -561,21 +572,9 @@ export class CalciteRadioButton {
|
|
|
561
572
|
static get watchers() { return [{
|
|
562
573
|
"propName": "checked",
|
|
563
574
|
"methodName": "checkedChanged"
|
|
564
|
-
}, {
|
|
565
|
-
"propName": "disabled",
|
|
566
|
-
"methodName": "disabledChanged"
|
|
567
|
-
}, {
|
|
568
|
-
"propName": "focused",
|
|
569
|
-
"methodName": "focusedChanged"
|
|
570
|
-
}, {
|
|
571
|
-
"propName": "hidden",
|
|
572
|
-
"methodName": "hiddenChanged"
|
|
573
575
|
}, {
|
|
574
576
|
"propName": "name",
|
|
575
577
|
"methodName": "nameChanged"
|
|
576
|
-
}, {
|
|
577
|
-
"propName": "required",
|
|
578
|
-
"methodName": "requiredChanged"
|
|
579
578
|
}]; }
|
|
580
579
|
static get listeners() { return [{
|
|
581
580
|
"name": "mouseenter",
|