@esri/calcite-components 1.0.0-next.291 → 1.0.0-next.295
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-243d95ab.system.entry.js +5 -0
- package/dist/calcite/{p-49bddf59.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-e693758c.entry.js → p-396efb80.entry.js} +1 -1
- 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-5cb26137.system.entry.js → p-46285b9c.system.entry.js} +1 -1
- 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-af9172a5.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
- package/dist/calcite/p-5f817b79.entry.js +5 -0
- 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-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 +5 -3
- 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 +2 -2
- 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 +32 -19
- 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 +2 -2
- 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 +6 -4
- package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
- 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 +35 -20
- 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-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 +6 -4
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action2.js +2 -2
- package/dist/components/calcite-alert.js +3 -3
- 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 +31 -18
- 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 +2 -2
- 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 +976 -589
- 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 +5 -3
- 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 +2 -2
- 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 +32 -19
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +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 +1 -1
- 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-dropdown/calcite-dropdown.d.ts +4 -3
- 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 +920 -514
- package/package.json +21 -22
- package/readme.md +5 -5
- package/CHANGELOG.md +0 -1490
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/calcite/p-005e2e7e.entry.js +0 -5
- 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-4e0bc406.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-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-960fd368.system.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-b3197425.system.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-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/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/collection/components/calcite-label/interfaces.js +0 -1
- package/dist/collection/demos/_assets/demo-form.js +0 -23
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -13
- package/dist/collection/demos/_assets/demoPageReloader.js +0 -10
- package/dist/collection/demos/_assets/head.js +0 -51
- package/dist/collection/demos/_assets/loadingButton.js +0 -5
- package/dist/collection/demos/_assets/locales.js +0 -50
- package/dist/collection/demos/_assets/validateInput.js +0 -111
- 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
|
@@ -12,6 +12,7 @@ import { guid } from "../../utils/guid";
|
|
|
12
12
|
import { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, ComboboxDefaultPlacement } from "./resources";
|
|
13
13
|
import { getItemAncestors, getItemChildren, hasActiveChildren } from "./utils";
|
|
14
14
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
15
|
+
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
15
16
|
import { createObserver } from "../../utils/observers";
|
|
16
17
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
17
18
|
/**
|
|
@@ -32,6 +33,12 @@ export class CalciteCombobox {
|
|
|
32
33
|
this.maxItems = 0;
|
|
33
34
|
/** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
|
|
34
35
|
this.overlayPositioning = "absolute";
|
|
36
|
+
/**
|
|
37
|
+
* When true, makes the component required for form-submission.
|
|
38
|
+
*
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
this.required = false;
|
|
35
42
|
/** specify the selection mode
|
|
36
43
|
* - multi: allow any number of selected items (default)
|
|
37
44
|
* - single: only one selection)
|
|
@@ -40,6 +47,14 @@ export class CalciteCombobox {
|
|
|
40
47
|
this.selectionMode = "multi";
|
|
41
48
|
/** Specify the scale of the combobox, defaults to m */
|
|
42
49
|
this.scale = "m";
|
|
50
|
+
/** The value(s) of the selectedItem(s) */
|
|
51
|
+
this.value = null;
|
|
52
|
+
//--------------------------------------------------------------------------
|
|
53
|
+
//
|
|
54
|
+
// Private State/Props
|
|
55
|
+
//
|
|
56
|
+
//--------------------------------------------------------------------------
|
|
57
|
+
this.internalValueChangeFlag = false;
|
|
43
58
|
this.items = [];
|
|
44
59
|
this.groupItems = [];
|
|
45
60
|
this.selectedItems = [];
|
|
@@ -58,6 +73,18 @@ export class CalciteCombobox {
|
|
|
58
73
|
this.inputHeight = 0;
|
|
59
74
|
this.ignoreSelectedEventsFlag = false;
|
|
60
75
|
this.activeTransitionProp = "opacity";
|
|
76
|
+
// --------------------------------------------------------------------------
|
|
77
|
+
//
|
|
78
|
+
// Private Methods
|
|
79
|
+
//
|
|
80
|
+
// --------------------------------------------------------------------------
|
|
81
|
+
this.getValue = () => {
|
|
82
|
+
const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
|
|
83
|
+
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
|
84
|
+
};
|
|
85
|
+
this.onLabelClick = () => {
|
|
86
|
+
this.setFocus();
|
|
87
|
+
};
|
|
61
88
|
this.keydownHandler = (event) => {
|
|
62
89
|
const key = getKey(event.key, getElementDir(this.el));
|
|
63
90
|
switch (key) {
|
|
@@ -152,7 +179,10 @@ export class CalciteCombobox {
|
|
|
152
179
|
}
|
|
153
180
|
this.calciteComboboxChipDismiss.emit(event.detail);
|
|
154
181
|
};
|
|
155
|
-
this.setFocusClick = () => {
|
|
182
|
+
this.setFocusClick = (event) => {
|
|
183
|
+
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
156
186
|
this.setFocus();
|
|
157
187
|
};
|
|
158
188
|
this.setInactiveIfNotContained = (event) => {
|
|
@@ -240,8 +270,9 @@ export class CalciteCombobox {
|
|
|
240
270
|
}
|
|
241
271
|
};
|
|
242
272
|
this.comboboxFocusHandler = () => {
|
|
273
|
+
var _a;
|
|
243
274
|
this.active = true;
|
|
244
|
-
this.textInput.focus();
|
|
275
|
+
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
245
276
|
};
|
|
246
277
|
this.comboboxBlurHandler = (event) => {
|
|
247
278
|
this.setInactiveIfNotContained(event);
|
|
@@ -268,6 +299,21 @@ export class CalciteCombobox {
|
|
|
268
299
|
maxItemsHandler() {
|
|
269
300
|
this.setMaxScrollerHeight();
|
|
270
301
|
}
|
|
302
|
+
valueHandler(value) {
|
|
303
|
+
if (!this.internalValueChangeFlag) {
|
|
304
|
+
const items = this.getItems();
|
|
305
|
+
if (Array.isArray(value)) {
|
|
306
|
+
items.forEach((item) => (item.selected = value.includes(item.value)));
|
|
307
|
+
}
|
|
308
|
+
else if (value) {
|
|
309
|
+
items.forEach((item) => (item.selected = value === item.value));
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
items.forEach((item) => (item.selected = false));
|
|
313
|
+
}
|
|
314
|
+
this.updateItems();
|
|
315
|
+
}
|
|
316
|
+
}
|
|
271
317
|
//--------------------------------------------------------------------------
|
|
272
318
|
//
|
|
273
319
|
// Event Listeners
|
|
@@ -293,7 +339,7 @@ export class CalciteCombobox {
|
|
|
293
339
|
const { popper, menuEl } = this;
|
|
294
340
|
const modifiers = this.getModifiers();
|
|
295
341
|
popper
|
|
296
|
-
? updatePopper({
|
|
342
|
+
? await updatePopper({
|
|
297
343
|
el: menuEl,
|
|
298
344
|
modifiers,
|
|
299
345
|
placement: ComboboxDefaultPlacement,
|
|
@@ -316,13 +362,20 @@ export class CalciteCombobox {
|
|
|
316
362
|
// --------------------------------------------------------------------------
|
|
317
363
|
connectedCallback() {
|
|
318
364
|
var _a;
|
|
365
|
+
this.internalValueChangeFlag = true;
|
|
366
|
+
this.value = this.getValue();
|
|
367
|
+
this.internalValueChangeFlag = false;
|
|
319
368
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
320
369
|
this.createPopper();
|
|
321
370
|
connectLabel(this);
|
|
371
|
+
connectForm(this);
|
|
322
372
|
}
|
|
323
373
|
componentWillLoad() {
|
|
324
374
|
this.updateItems();
|
|
325
375
|
}
|
|
376
|
+
componentDidLoad() {
|
|
377
|
+
afterConnectDefaultValueSet(this, this.getValue());
|
|
378
|
+
}
|
|
326
379
|
componentDidRender() {
|
|
327
380
|
if (this.el.offsetHeight !== this.inputHeight) {
|
|
328
381
|
this.reposition();
|
|
@@ -334,19 +387,17 @@ export class CalciteCombobox {
|
|
|
334
387
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
335
388
|
this.destroyPopper();
|
|
336
389
|
disconnectLabel(this);
|
|
390
|
+
disconnectForm(this);
|
|
391
|
+
}
|
|
392
|
+
selectedItemsHandler() {
|
|
393
|
+
this.internalValueChangeFlag = true;
|
|
394
|
+
this.value = this.getValue();
|
|
395
|
+
this.internalValueChangeFlag = false;
|
|
337
396
|
}
|
|
338
397
|
/** when search text is cleared, reset active to */
|
|
339
398
|
textHandler() {
|
|
340
399
|
this.updateActiveItemIndex(-1);
|
|
341
400
|
}
|
|
342
|
-
// --------------------------------------------------------------------------
|
|
343
|
-
//
|
|
344
|
-
// Private Methods
|
|
345
|
-
//
|
|
346
|
-
// --------------------------------------------------------------------------
|
|
347
|
-
onLabelClick() {
|
|
348
|
-
this.setFocus();
|
|
349
|
-
}
|
|
350
401
|
getModifiers() {
|
|
351
402
|
const flipModifier = {
|
|
352
403
|
name: "flip",
|
|
@@ -394,9 +445,11 @@ export class CalciteCombobox {
|
|
|
394
445
|
calculateSingleItemHeight(item) {
|
|
395
446
|
let height = item.offsetHeight;
|
|
396
447
|
// if item has children items, don't count their height twice
|
|
397
|
-
const children = item.querySelectorAll(ComboboxChildSelector);
|
|
398
|
-
children
|
|
399
|
-
|
|
448
|
+
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
|
449
|
+
children
|
|
450
|
+
.map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)
|
|
451
|
+
.forEach((offsetHeight) => {
|
|
452
|
+
height -= offsetHeight;
|
|
400
453
|
});
|
|
401
454
|
return height;
|
|
402
455
|
}
|
|
@@ -414,16 +467,17 @@ export class CalciteCombobox {
|
|
|
414
467
|
this.emitCalciteLookupChange();
|
|
415
468
|
this.emitComboboxChange();
|
|
416
469
|
this.resetText();
|
|
417
|
-
this.textInput.focus();
|
|
418
470
|
this.filterItems("");
|
|
419
471
|
}
|
|
420
472
|
else {
|
|
421
473
|
this.ignoreSelectedEventsFlag = true;
|
|
422
|
-
this.items.forEach((el) => (el.selected = el === item));
|
|
474
|
+
this.items.forEach((el) => (el.selected = el === item ? value : false));
|
|
423
475
|
this.ignoreSelectedEventsFlag = false;
|
|
424
476
|
this.selectedItems = this.getSelectedItems();
|
|
425
477
|
this.emitComboboxChange();
|
|
426
|
-
this.textInput
|
|
478
|
+
if (this.textInput) {
|
|
479
|
+
this.textInput.value = item.textLabel;
|
|
480
|
+
}
|
|
427
481
|
this.active = false;
|
|
428
482
|
this.updateActiveItemIndex(-1);
|
|
429
483
|
this.resetText();
|
|
@@ -480,7 +534,9 @@ export class CalciteCombobox {
|
|
|
480
534
|
return this.selectionMode === "single" && this.items.some((item) => item.icon);
|
|
481
535
|
}
|
|
482
536
|
resetText() {
|
|
483
|
-
this.textInput
|
|
537
|
+
if (this.textInput) {
|
|
538
|
+
this.textInput.value = "";
|
|
539
|
+
}
|
|
484
540
|
this.text = "";
|
|
485
541
|
}
|
|
486
542
|
getItems() {
|
|
@@ -568,6 +624,7 @@ export class CalciteCombobox {
|
|
|
568
624
|
}
|
|
569
625
|
}
|
|
570
626
|
updateActiveItemIndex(index) {
|
|
627
|
+
var _a;
|
|
571
628
|
this.activeItemIndex = index;
|
|
572
629
|
let activeDescendant = null;
|
|
573
630
|
this.visibleItems.forEach((el, i) => {
|
|
@@ -582,7 +639,7 @@ export class CalciteCombobox {
|
|
|
582
639
|
this.activeDescendant = activeDescendant;
|
|
583
640
|
if (this.activeItemIndex > -1) {
|
|
584
641
|
this.activeChipIndex = -1;
|
|
585
|
-
this.textInput.focus();
|
|
642
|
+
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
586
643
|
}
|
|
587
644
|
}
|
|
588
645
|
isMulti() {
|
|
@@ -674,7 +731,8 @@ export class CalciteCombobox {
|
|
|
674
731
|
this.renderInput()),
|
|
675
732
|
this.renderIconEnd()),
|
|
676
733
|
h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()),
|
|
677
|
-
this.renderPopperContainer()
|
|
734
|
+
this.renderPopperContainer(),
|
|
735
|
+
h(HiddenFormInputSlot, { component: this })));
|
|
678
736
|
}
|
|
679
737
|
static get is() { return "calcite-combobox"; }
|
|
680
738
|
static get encapsulation() { return "shadow"; }
|
|
@@ -773,6 +831,23 @@ export class CalciteCombobox {
|
|
|
773
831
|
"reflect": false,
|
|
774
832
|
"defaultValue": "0"
|
|
775
833
|
},
|
|
834
|
+
"name": {
|
|
835
|
+
"type": "string",
|
|
836
|
+
"mutable": false,
|
|
837
|
+
"complexType": {
|
|
838
|
+
"original": "string",
|
|
839
|
+
"resolved": "string",
|
|
840
|
+
"references": {}
|
|
841
|
+
},
|
|
842
|
+
"required": false,
|
|
843
|
+
"optional": false,
|
|
844
|
+
"docs": {
|
|
845
|
+
"tags": [],
|
|
846
|
+
"text": "The name of the switch input"
|
|
847
|
+
},
|
|
848
|
+
"attribute": "name",
|
|
849
|
+
"reflect": true
|
|
850
|
+
},
|
|
776
851
|
"allowCustomValues": {
|
|
777
852
|
"type": "boolean",
|
|
778
853
|
"mutable": false,
|
|
@@ -813,6 +888,27 @@ export class CalciteCombobox {
|
|
|
813
888
|
"reflect": false,
|
|
814
889
|
"defaultValue": "\"absolute\""
|
|
815
890
|
},
|
|
891
|
+
"required": {
|
|
892
|
+
"type": "boolean",
|
|
893
|
+
"mutable": false,
|
|
894
|
+
"complexType": {
|
|
895
|
+
"original": "boolean",
|
|
896
|
+
"resolved": "boolean",
|
|
897
|
+
"references": {}
|
|
898
|
+
},
|
|
899
|
+
"required": false,
|
|
900
|
+
"optional": false,
|
|
901
|
+
"docs": {
|
|
902
|
+
"tags": [{
|
|
903
|
+
"name": "internal",
|
|
904
|
+
"text": undefined
|
|
905
|
+
}],
|
|
906
|
+
"text": "When true, makes the component required for form-submission."
|
|
907
|
+
},
|
|
908
|
+
"attribute": "required",
|
|
909
|
+
"reflect": false,
|
|
910
|
+
"defaultValue": "false"
|
|
911
|
+
},
|
|
816
912
|
"selectionMode": {
|
|
817
913
|
"type": "string",
|
|
818
914
|
"mutable": false,
|
|
@@ -858,6 +954,24 @@ export class CalciteCombobox {
|
|
|
858
954
|
"attribute": "scale",
|
|
859
955
|
"reflect": true,
|
|
860
956
|
"defaultValue": "\"m\""
|
|
957
|
+
},
|
|
958
|
+
"value": {
|
|
959
|
+
"type": "string",
|
|
960
|
+
"mutable": true,
|
|
961
|
+
"complexType": {
|
|
962
|
+
"original": "string | string[]",
|
|
963
|
+
"resolved": "string | string[]",
|
|
964
|
+
"references": {}
|
|
965
|
+
},
|
|
966
|
+
"required": false,
|
|
967
|
+
"optional": false,
|
|
968
|
+
"docs": {
|
|
969
|
+
"tags": [],
|
|
970
|
+
"text": "The value(s) of the selectedItem(s)"
|
|
971
|
+
},
|
|
972
|
+
"attribute": "value",
|
|
973
|
+
"reflect": false,
|
|
974
|
+
"defaultValue": "null"
|
|
861
975
|
}
|
|
862
976
|
}; }
|
|
863
977
|
static get states() { return {
|
|
@@ -882,8 +996,8 @@ export class CalciteCombobox {
|
|
|
882
996
|
"composed": true,
|
|
883
997
|
"docs": {
|
|
884
998
|
"tags": [{
|
|
885
|
-
"
|
|
886
|
-
"
|
|
999
|
+
"name": "deprecated",
|
|
1000
|
+
"text": "use calciteComboboxChange instead"
|
|
887
1001
|
}],
|
|
888
1002
|
"text": "Called when the selected items set changes"
|
|
889
1003
|
},
|
|
@@ -957,8 +1071,8 @@ export class CalciteCombobox {
|
|
|
957
1071
|
"composed": true,
|
|
958
1072
|
"docs": {
|
|
959
1073
|
"tags": [{
|
|
960
|
-
"
|
|
961
|
-
"
|
|
1074
|
+
"name": "internal",
|
|
1075
|
+
"text": undefined
|
|
962
1076
|
}],
|
|
963
1077
|
"text": "Fired when the combobox is opened"
|
|
964
1078
|
},
|
|
@@ -975,8 +1089,8 @@ export class CalciteCombobox {
|
|
|
975
1089
|
"composed": true,
|
|
976
1090
|
"docs": {
|
|
977
1091
|
"tags": [{
|
|
978
|
-
"
|
|
979
|
-
"
|
|
1092
|
+
"name": "internal",
|
|
1093
|
+
"text": undefined
|
|
980
1094
|
}],
|
|
981
1095
|
"text": "Fired when the combobox is closed"
|
|
982
1096
|
},
|
|
@@ -1027,6 +1141,12 @@ export class CalciteCombobox {
|
|
|
1027
1141
|
}, {
|
|
1028
1142
|
"propName": "maxItems",
|
|
1029
1143
|
"methodName": "maxItemsHandler"
|
|
1144
|
+
}, {
|
|
1145
|
+
"propName": "value",
|
|
1146
|
+
"methodName": "valueHandler"
|
|
1147
|
+
}, {
|
|
1148
|
+
"propName": "selectedItems",
|
|
1149
|
+
"methodName": "selectedItemsHandler"
|
|
1030
1150
|
}, {
|
|
1031
1151
|
"propName": "text",
|
|
1032
1152
|
"methodName": "textHandler"
|
|
@@ -141,7 +141,9 @@ export class CalciteDatePicker {
|
|
|
141
141
|
*/
|
|
142
142
|
this.reset = () => {
|
|
143
143
|
var _a, _b, _c, _d, _e, _f;
|
|
144
|
-
if (
|
|
144
|
+
if (!Array.isArray(this.valueAsDate) &&
|
|
145
|
+
this.valueAsDate &&
|
|
146
|
+
((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {
|
|
145
147
|
this.activeDate = new Date(this.valueAsDate);
|
|
146
148
|
}
|
|
147
149
|
if (this.startAsDate && ((_c = this.startAsDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = this.activeStartDate) === null || _d === void 0 ? void 0 : _d.getTime())) {
|
|
@@ -210,8 +212,10 @@ export class CalciteDatePicker {
|
|
|
210
212
|
};
|
|
211
213
|
}
|
|
212
214
|
handleValueAsDate(date) {
|
|
213
|
-
this.activeDate
|
|
214
|
-
|
|
215
|
+
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
216
|
+
this.activeDate = date;
|
|
217
|
+
this.calciteDatePickerChange.emit(date);
|
|
218
|
+
}
|
|
215
219
|
}
|
|
216
220
|
handleRangeChange() {
|
|
217
221
|
const { startAsDate: startDate, endAsDate: endDate } = this;
|
|
@@ -224,7 +228,12 @@ export class CalciteDatePicker {
|
|
|
224
228
|
//
|
|
225
229
|
// --------------------------------------------------------------------------
|
|
226
230
|
connectedCallback() {
|
|
227
|
-
if (this.value) {
|
|
231
|
+
if (Array.isArray(this.value)) {
|
|
232
|
+
this.valueAsDate = this.value.map((v) => dateFromISO(v));
|
|
233
|
+
this.start = this.value[0];
|
|
234
|
+
this.end = this.value[1];
|
|
235
|
+
}
|
|
236
|
+
else if (this.value) {
|
|
228
237
|
this.valueAsDate = dateFromISO(this.value);
|
|
229
238
|
}
|
|
230
239
|
if (this.start) {
|
|
@@ -275,8 +284,17 @@ export class CalciteDatePicker {
|
|
|
275
284
|
const dir = getElementDir(this.el);
|
|
276
285
|
return (h(Host, { onBlur: this.reset, onKeyUp: this.keyUpHandler, role: "application" }, this.renderCalendar(activeDate, dir, maxDate, minDate, date, endDate)));
|
|
277
286
|
}
|
|
278
|
-
|
|
279
|
-
|
|
287
|
+
valueHandler(value) {
|
|
288
|
+
if (Array.isArray(value)) {
|
|
289
|
+
this.valueAsDate = value.map((v) => dateFromISO(v));
|
|
290
|
+
this.start = value[0];
|
|
291
|
+
this.end = value[1];
|
|
292
|
+
}
|
|
293
|
+
else if (value) {
|
|
294
|
+
this.valueAsDate = dateFromISO(value);
|
|
295
|
+
this.start = "";
|
|
296
|
+
this.end = "";
|
|
297
|
+
}
|
|
280
298
|
}
|
|
281
299
|
startWatcher(start) {
|
|
282
300
|
this.setStartAsDate(dateFromISO(start));
|
|
@@ -379,8 +397,8 @@ export class CalciteDatePicker {
|
|
|
379
397
|
"type": "string",
|
|
380
398
|
"mutable": true,
|
|
381
399
|
"complexType": {
|
|
382
|
-
"original": "string",
|
|
383
|
-
"resolved": "string",
|
|
400
|
+
"original": "string | string[]",
|
|
401
|
+
"resolved": "string | string[]",
|
|
384
402
|
"references": {}
|
|
385
403
|
},
|
|
386
404
|
"required": false,
|
|
@@ -418,8 +436,8 @@ export class CalciteDatePicker {
|
|
|
418
436
|
"type": "unknown",
|
|
419
437
|
"mutable": true,
|
|
420
438
|
"complexType": {
|
|
421
|
-
"original": "Date",
|
|
422
|
-
"resolved": "Date",
|
|
439
|
+
"original": "Date | Date[]",
|
|
440
|
+
"resolved": "Date | Date[]",
|
|
423
441
|
"references": {
|
|
424
442
|
"Date": {
|
|
425
443
|
"location": "global"
|
|
@@ -448,7 +466,10 @@ export class CalciteDatePicker {
|
|
|
448
466
|
"required": false,
|
|
449
467
|
"optional": true,
|
|
450
468
|
"docs": {
|
|
451
|
-
"tags": [
|
|
469
|
+
"tags": [{
|
|
470
|
+
"name": "deprecated",
|
|
471
|
+
"text": "use valueAsDate instead"
|
|
472
|
+
}],
|
|
452
473
|
"text": "Selected start date as full date object"
|
|
453
474
|
}
|
|
454
475
|
},
|
|
@@ -467,7 +488,10 @@ export class CalciteDatePicker {
|
|
|
467
488
|
"required": false,
|
|
468
489
|
"optional": true,
|
|
469
490
|
"docs": {
|
|
470
|
-
"tags": [
|
|
491
|
+
"tags": [{
|
|
492
|
+
"name": "deprecated",
|
|
493
|
+
"text": "use valueAsDate instead"
|
|
494
|
+
}],
|
|
471
495
|
"text": "Selected end date as full date object"
|
|
472
496
|
}
|
|
473
497
|
},
|
|
@@ -555,8 +579,8 @@ export class CalciteDatePicker {
|
|
|
555
579
|
"optional": true,
|
|
556
580
|
"docs": {
|
|
557
581
|
"tags": [{
|
|
558
|
-
"
|
|
559
|
-
"
|
|
582
|
+
"name": "default",
|
|
583
|
+
"text": "\"Previous month\""
|
|
560
584
|
}],
|
|
561
585
|
"text": "Localized string for \"previous month\" (used for aria label)"
|
|
562
586
|
},
|
|
@@ -576,8 +600,8 @@ export class CalciteDatePicker {
|
|
|
576
600
|
"optional": true,
|
|
577
601
|
"docs": {
|
|
578
602
|
"tags": [{
|
|
579
|
-
"
|
|
580
|
-
"
|
|
603
|
+
"name": "default",
|
|
604
|
+
"text": "\"Next month\""
|
|
581
605
|
}],
|
|
582
606
|
"text": "Localized string for \"next month\" (used for aria label)"
|
|
583
607
|
},
|
|
@@ -650,7 +674,10 @@ export class CalciteDatePicker {
|
|
|
650
674
|
"required": false,
|
|
651
675
|
"optional": true,
|
|
652
676
|
"docs": {
|
|
653
|
-
"tags": [
|
|
677
|
+
"tags": [{
|
|
678
|
+
"name": "deprecated",
|
|
679
|
+
"text": "use value instead"
|
|
680
|
+
}],
|
|
654
681
|
"text": "Selected start date"
|
|
655
682
|
},
|
|
656
683
|
"attribute": "start",
|
|
@@ -667,7 +694,10 @@ export class CalciteDatePicker {
|
|
|
667
694
|
"required": false,
|
|
668
695
|
"optional": true,
|
|
669
696
|
"docs": {
|
|
670
|
-
"tags": [
|
|
697
|
+
"tags": [{
|
|
698
|
+
"name": "deprecated",
|
|
699
|
+
"text": "use value instead"
|
|
700
|
+
}],
|
|
671
701
|
"text": "Selected end date"
|
|
672
702
|
},
|
|
673
703
|
"attribute": "end",
|
|
@@ -726,8 +756,8 @@ export class CalciteDatePicker {
|
|
|
726
756
|
"composed": true,
|
|
727
757
|
"docs": {
|
|
728
758
|
"tags": [{
|
|
729
|
-
"
|
|
730
|
-
"
|
|
759
|
+
"name": "see",
|
|
760
|
+
"text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
|
|
731
761
|
}],
|
|
732
762
|
"text": "Trigger calcite date change when a user changes the date range."
|
|
733
763
|
},
|
|
@@ -754,7 +784,7 @@ export class CalciteDatePicker {
|
|
|
754
784
|
"methodName": "handleRangeChange"
|
|
755
785
|
}, {
|
|
756
786
|
"propName": "value",
|
|
757
|
-
"methodName": "
|
|
787
|
+
"methodName": "valueHandler"
|
|
758
788
|
}, {
|
|
759
789
|
"propName": "start",
|
|
760
790
|
"methodName": "startWatcher"
|
|
@@ -434,8 +434,8 @@ export class CalciteDatePickerMonth {
|
|
|
434
434
|
"optional": false,
|
|
435
435
|
"docs": {
|
|
436
436
|
"tags": [{
|
|
437
|
-
"
|
|
438
|
-
"
|
|
437
|
+
"name": "internal",
|
|
438
|
+
"text": undefined
|
|
439
439
|
}],
|
|
440
440
|
"text": "CLDR locale data for current locale"
|
|
441
441
|
}
|
|
@@ -484,8 +484,8 @@ export class CalciteDatePickerMonth {
|
|
|
484
484
|
"composed": true,
|
|
485
485
|
"docs": {
|
|
486
486
|
"tags": [{
|
|
487
|
-
"
|
|
488
|
-
"
|
|
487
|
+
"name": "internal",
|
|
488
|
+
"text": undefined
|
|
489
489
|
}],
|
|
490
490
|
"text": "Event emitted when user hovers the date."
|
|
491
491
|
},
|
|
@@ -517,8 +517,8 @@ export class CalciteDatePickerMonth {
|
|
|
517
517
|
"composed": true,
|
|
518
518
|
"docs": {
|
|
519
519
|
"tags": [{
|
|
520
|
-
"
|
|
521
|
-
"
|
|
520
|
+
"name": "internal",
|
|
521
|
+
"text": undefined
|
|
522
522
|
}],
|
|
523
523
|
"text": ""
|
|
524
524
|
},
|
|
@@ -8,6 +8,7 @@ import { focusElement, getElementDir } from "../../utils/dom";
|
|
|
8
8
|
import { createPopper, CSS as PopperCSS, updatePopper } from "../../utils/popper";
|
|
9
9
|
import { DefaultDropdownPlacement, SLOTS } from "./resources";
|
|
10
10
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
11
|
+
import { createObserver } from "../../utils/observers";
|
|
11
12
|
/**
|
|
12
13
|
* @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
|
|
13
14
|
* @slot dropdown-trigger - A slot for the element that triggers the dropdown.
|
|
@@ -58,14 +59,26 @@ export class CalciteDropdown {
|
|
|
58
59
|
//
|
|
59
60
|
//--------------------------------------------------------------------------
|
|
60
61
|
this.items = [];
|
|
61
|
-
/** specifies the item wrapper height; it is updated when maxItems is > 0 **/
|
|
62
|
-
this.maxScrollerHeight = 0;
|
|
63
62
|
this.activeTransitionProp = "opacity";
|
|
63
|
+
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
64
64
|
//--------------------------------------------------------------------------
|
|
65
65
|
//
|
|
66
66
|
// Private Methods
|
|
67
67
|
//
|
|
68
68
|
//--------------------------------------------------------------------------
|
|
69
|
+
this.updateItems = () => {
|
|
70
|
+
this.updateSelectedItems();
|
|
71
|
+
this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
|
|
72
|
+
this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
73
|
+
this.reposition();
|
|
74
|
+
};
|
|
75
|
+
this.setMaxScrollerHeight = () => {
|
|
76
|
+
const { scrollerEl } = this;
|
|
77
|
+
if (scrollerEl) {
|
|
78
|
+
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
79
|
+
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
80
|
+
}
|
|
81
|
+
};
|
|
69
82
|
this.setScrollerEl = (scrollerEl) => {
|
|
70
83
|
this.scrollerEl = scrollerEl;
|
|
71
84
|
};
|
|
@@ -118,6 +131,9 @@ export class CalciteDropdown {
|
|
|
118
131
|
activeHandler() {
|
|
119
132
|
this.reposition();
|
|
120
133
|
}
|
|
134
|
+
maxItemsHandler() {
|
|
135
|
+
this.reposition();
|
|
136
|
+
}
|
|
121
137
|
placementHandler() {
|
|
122
138
|
this.reposition();
|
|
123
139
|
}
|
|
@@ -127,20 +143,17 @@ export class CalciteDropdown {
|
|
|
127
143
|
//
|
|
128
144
|
//--------------------------------------------------------------------------
|
|
129
145
|
connectedCallback() {
|
|
146
|
+
var _a;
|
|
147
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
130
148
|
this.createPopper();
|
|
131
|
-
|
|
132
|
-
componentWillLoad() {
|
|
133
|
-
// get initially selected items
|
|
134
|
-
this.updateSelectedItems();
|
|
149
|
+
this.updateItems();
|
|
135
150
|
}
|
|
136
151
|
componentDidLoad() {
|
|
137
|
-
this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
|
|
138
|
-
const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
|
|
139
|
-
this.maxScrollerHeight = this.getMaxScrollerHeight(groups);
|
|
140
|
-
this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
141
152
|
this.reposition();
|
|
142
153
|
}
|
|
143
154
|
disconnectedCallback() {
|
|
155
|
+
var _a;
|
|
156
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
144
157
|
this.destroyPopper();
|
|
145
158
|
}
|
|
146
159
|
render() {
|
|
@@ -164,13 +177,11 @@ export class CalciteDropdown {
|
|
|
164
177
|
//--------------------------------------------------------------------------
|
|
165
178
|
/** Updates the position of the component. */
|
|
166
179
|
async reposition() {
|
|
167
|
-
const { popper, menuEl, placement
|
|
168
|
-
|
|
169
|
-
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
170
|
-
}
|
|
180
|
+
const { popper, menuEl, placement } = this;
|
|
181
|
+
this.setMaxScrollerHeight();
|
|
171
182
|
const modifiers = this.getModifiers();
|
|
172
183
|
popper
|
|
173
|
-
? updatePopper({
|
|
184
|
+
? await updatePopper({
|
|
174
185
|
el: menuEl,
|
|
175
186
|
modifiers,
|
|
176
187
|
placement,
|
|
@@ -282,7 +293,8 @@ export class CalciteDropdown {
|
|
|
282
293
|
const items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
|
|
283
294
|
this.selectedItems = items.filter((item) => item.active);
|
|
284
295
|
}
|
|
285
|
-
getMaxScrollerHeight(
|
|
296
|
+
getMaxScrollerHeight() {
|
|
297
|
+
const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
|
|
286
298
|
const { maxItems } = this;
|
|
287
299
|
let itemsToProcess = 0;
|
|
288
300
|
let maxScrollerHeight = 0;
|
|
@@ -460,8 +472,8 @@ export class CalciteDropdown {
|
|
|
460
472
|
"optional": false,
|
|
461
473
|
"docs": {
|
|
462
474
|
"tags": [{
|
|
463
|
-
"
|
|
464
|
-
"
|
|
475
|
+
"name": "default",
|
|
476
|
+
"text": "\"bottom-leading\""
|
|
465
477
|
}],
|
|
466
478
|
"text": "Determines where the dropdown will be positioned relative to the button."
|
|
467
479
|
},
|
|
@@ -508,8 +520,8 @@ export class CalciteDropdown {
|
|
|
508
520
|
"optional": false,
|
|
509
521
|
"docs": {
|
|
510
522
|
"tags": [{
|
|
511
|
-
"
|
|
512
|
-
"
|
|
523
|
+
"name": "readonly",
|
|
524
|
+
"text": undefined
|
|
513
525
|
}],
|
|
514
526
|
"text": "**read-only** The currently selected items"
|
|
515
527
|
},
|
|
@@ -625,6 +637,9 @@ export class CalciteDropdown {
|
|
|
625
637
|
static get watchers() { return [{
|
|
626
638
|
"propName": "active",
|
|
627
639
|
"methodName": "activeHandler"
|
|
640
|
+
}, {
|
|
641
|
+
"propName": "maxItems",
|
|
642
|
+
"methodName": "maxItemsHandler"
|
|
628
643
|
}, {
|
|
629
644
|
"propName": "placement",
|
|
630
645
|
"methodName": "placementHandler"
|