@esri/calcite-components 1.0.0-next.294 → 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/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-dc99bb00.system.entry.js → p-00716aa8.system.entry.js} +1 -1
- package/dist/calcite/{p-413b4857.system.entry.js → p-044d603d.system.entry.js} +1 -1
- package/dist/calcite/{p-6621aee1.entry.js → p-05da7439.entry.js} +1 -1
- package/dist/calcite/{p-7c37ca39.entry.js → p-08d707c4.entry.js} +1 -1
- package/dist/calcite/{p-fba65e4a.system.entry.js → p-10708f87.system.entry.js} +1 -1
- package/dist/calcite/p-109049e6.system.entry.js +5 -0
- package/dist/calcite/{p-58e98b2d.system.entry.js → p-127e3513.system.entry.js} +1 -1
- package/dist/calcite/p-1434e37e.entry.js +5 -0
- package/dist/calcite/{p-8007a0b4.system.entry.js → p-143cffd9.system.entry.js} +1 -1
- package/dist/calcite/{p-c8e4117c.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
- package/dist/calcite/{p-de3a04c2.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
- package/dist/calcite/{p-c99d8f9e.system.entry.js → p-16f2d814.system.entry.js} +1 -1
- package/dist/calcite/p-1942876c.js +5 -0
- package/dist/calcite/{p-cca94491.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
- package/dist/calcite/p-1a962bdd.js +5 -0
- package/dist/calcite/p-1aa89347.system.entry.js +5 -0
- package/dist/calcite/{p-a8569c55.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
- package/dist/calcite/{p-6988c6b7.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
- package/dist/calcite/{p-7a6c6382.entry.js → p-21c8ac06.entry.js} +1 -1
- package/dist/calcite/{p-6c8a562f.system.entry.js → p-243d95ab.system.entry.js} +1 -1
- package/dist/calcite/{p-3f1d1bad.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-4185db77.entry.js → p-289bc56f.entry.js} +1 -1
- package/dist/calcite/{p-9affee61.entry.js → p-29771742.entry.js} +1 -1
- package/dist/calcite/{p-8953f712.entry.js → p-2aa3007a.entry.js} +1 -1
- package/dist/calcite/p-2e29554c.js +5 -0
- package/dist/calcite/{p-3962cd38.entry.js → p-33802886.entry.js} +1 -1
- package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
- package/dist/calcite/p-3833285b.system.entry.js +5 -0
- package/dist/calcite/{p-e638ff0e.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-bf8b70a8.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-49d5ee42.system.entry.js → p-46285b9c.system.entry.js} +1 -1
- package/dist/calcite/{p-c9ecea64.entry.js → p-48f03121.entry.js} +1 -1
- package/dist/calcite/{p-83302e1c.entry.js → p-4acfb654.entry.js} +1 -1
- package/dist/calcite/{p-bf25e278.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
- package/dist/calcite/{p-b8d040e5.system.entry.js → p-4e16515a.system.entry.js} +1 -1
- package/dist/calcite/{p-c60e3a71.entry.js → p-4f1f83d2.entry.js} +1 -1
- package/dist/calcite/{p-1e875199.entry.js → p-502ea583.entry.js} +1 -1
- 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-ba1322e6.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
- package/dist/calcite/{p-36e5db45.entry.js → p-5f817b79.entry.js} +1 -1
- package/dist/calcite/p-63e60894.entry.js +5 -0
- package/dist/calcite/{p-daa110fe.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
- package/dist/calcite/{p-28261aae.entry.js → p-659898bf.entry.js} +1 -1
- package/dist/calcite/{p-d11ad046.system.js → p-6d44b7d9.system.js} +1 -1
- package/dist/calcite/p-6f1cca21.system.js +5 -0
- package/dist/calcite/{p-2418cceb.entry.js → p-70efa39d.entry.js} +1 -1
- package/dist/calcite/{p-e7819705.entry.js → p-714ae4f6.entry.js} +1 -1
- package/dist/calcite/{p-3bb30b44.system.entry.js → p-74f390e1.system.entry.js} +1 -1
- package/dist/calcite/{p-d4059426.entry.js → p-75264173.entry.js} +1 -1
- package/dist/calcite/{p-76ccd204.entry.js → p-765fb8ed.entry.js} +1 -1
- package/dist/calcite/{p-cacca548.entry.js → p-78d0db7b.entry.js} +1 -1
- package/dist/calcite/{p-98789055.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
- package/dist/calcite/{p-f281f1e9.entry.js → p-7bb94bfa.entry.js} +1 -1
- package/dist/calcite/{p-502736d8.system.entry.js → p-81538774.system.entry.js} +1 -1
- package/dist/calcite/p-81ab443c.entry.js +5 -0
- package/dist/calcite/p-82139130.entry.js +5 -0
- package/dist/calcite/{p-7b869bc5.entry.js → p-82c6cd9a.entry.js} +1 -1
- package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
- package/dist/calcite/{p-58716826.system.entry.js → p-840f2937.system.entry.js} +2 -2
- package/dist/calcite/p-85032edc.system.entry.js +5 -0
- package/dist/calcite/{p-b41deed0.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
- package/dist/calcite/p-8baa9ba4.entry.js +5 -0
- package/dist/calcite/{p-7ade2294.system.entry.js → p-8fef13ca.system.entry.js} +1 -1
- package/dist/calcite/{p-75f714c9.entry.js → p-9338b0bc.entry.js} +1 -1
- package/dist/calcite/p-9577dfd9.entry.js +5 -0
- package/dist/calcite/{p-c48b4b7e.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
- package/dist/calcite/p-968ea270.entry.js +5 -0
- package/dist/calcite/{p-83ccefba.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
- package/dist/calcite/p-9be6633a.entry.js +5 -0
- package/dist/calcite/{p-9fc0dc2c.system.entry.js → p-9f240615.system.entry.js} +1 -1
- package/dist/calcite/{p-f6f4648e.system.entry.js → p-a5269f14.system.entry.js} +1 -1
- package/dist/calcite/{p-684ccd4e.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
- package/dist/calcite/{p-0100aeb0.entry.js → p-ace12b8d.entry.js} +1 -1
- package/dist/calcite/{p-7dd5c4e4.entry.js → p-aced5f01.entry.js} +1 -1
- package/dist/calcite/{p-f32e61bb.system.entry.js → p-aec398f3.system.entry.js} +1 -1
- package/dist/calcite/{p-eed43a57.system.entry.js → p-b1351c3e.system.entry.js} +1 -1
- package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
- package/dist/calcite/{p-3cf93a58.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-a09634e2.entry.js → p-c3ba61ea.entry.js} +1 -1
- package/dist/calcite/{p-fe16f05e.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-527146c8.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
- package/dist/calcite/{p-a7ba0292.system.js → p-cbf6bb04.system.js} +1 -1
- package/dist/calcite/{p-507b2cc4.entry.js → p-cc788d2e.entry.js} +1 -1
- package/dist/calcite/p-cced5508.system.entry.js +5 -0
- package/dist/calcite/{p-dcf30b00.system.entry.js → p-cf03b144.system.entry.js} +1 -1
- package/dist/calcite/{p-b018fbbd.entry.js → p-d550ee4d.entry.js} +1 -1
- package/dist/calcite/{p-72fa390e.entry.js → p-d6e30c54.entry.js} +1 -1
- package/dist/calcite/{p-79cbbf2d.js → p-d6f20229.js} +1 -1
- package/dist/calcite/{p-3e438b5b.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
- package/dist/calcite/{p-9fa024e6.system.entry.js → p-dd464e44.system.entry.js} +1 -1
- package/dist/calcite/p-dd5ff164.entry.js +5 -0
- package/dist/calcite/{p-38ee7306.system.entry.js → p-deb36fde.system.entry.js} +1 -1
- package/dist/calcite/{p-b4e7b593.system.entry.js → p-defcee80.system.entry.js} +1 -1
- package/dist/calcite/{p-e35e7216.system.js → p-dff7dc90.system.js} +1 -1
- package/dist/calcite/{p-09da1c54.system.entry.js → p-e33fe285.system.entry.js} +1 -1
- package/dist/calcite/p-e52495d3.system.entry.js +5 -0
- package/dist/calcite/{p-9fa5e356.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-a5bfc29d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
- package/dist/calcite/{p-809ddb6a.js → p-e956e279.js} +1 -1
- package/dist/calcite/{p-c399cfce.entry.js → p-eada9cef.entry.js} +1 -1
- package/dist/calcite/{p-b244a00c.entry.js → p-ecc00ef0.entry.js} +1 -1
- package/dist/calcite/{p-f93a7fce.entry.js → p-ef39847e.entry.js} +1 -1
- package/dist/calcite/{p-cd41629f.entry.js → p-efb2169a.entry.js} +1 -1
- package/dist/calcite/{p-06646eed.system.entry.js → p-f0338acf.system.entry.js} +1 -1
- package/dist/calcite/{p-3383d9b4.entry.js → p-f1c5e7cf.entry.js} +1 -1
- package/dist/calcite/{p-58eca102.entry.js → p-f278dd53.entry.js} +1 -1
- package/dist/calcite/{p-5efd7297.entry.js → p-f9c46578.entry.js} +1 -1
- package/dist/calcite/{p-10de63d7.system.entry.js → p-fc47547f.system.entry.js} +1 -1
- package/dist/calcite/p-fc643963.entry.js +5 -0
- package/dist/calcite/{p-5322b333.system.entry.js → p-fcb6db39.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-5f60c98b.js} +1 -1
- package/dist/cjs/{CalciteHeading-363b0525.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 +2 -2
- package/dist/cjs/calcite-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-card.cjs.entry.js +1 -1
- 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 +81 -22
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +34 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -4
- 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 +68 -15
- 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 +75 -56
- 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 +1 -1
- 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 +3 -3
- 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 +25 -49
- 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 +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/form-a5b44a1f.js +179 -0
- package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
- package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resources-38563593.js → resources-3f7b51c8.js} +1 -1
- package/dist/cjs/{resources-f9c141d2.js → resources-cd25dbae.js} +1 -1
- package/dist/collection/components/calcite-button/calcite-button.css +20 -14
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +13 -10
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +11 -15
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +139 -19
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +45 -15
- package/dist/collection/components/calcite-filter/calcite-filter.js +79 -8
- 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 +43 -32
- 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 +104 -54
- 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 +163 -40
- 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-panel/calcite-panel.css +2 -2
- package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -84
- 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-rating/calcite-rating.css +15 -0
- package/dist/collection/components/calcite-rating/calcite-rating.js +49 -1
- package/dist/collection/components/calcite-select/calcite-select.css +15 -0
- package/dist/collection/components/calcite-select/calcite-select.js +89 -3
- 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 +15 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +45 -1
- package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
- package/dist/collection/components/calcite-switch/calcite-switch.js +28 -64
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +15 -8
- package/dist/collection/utils/form.js +167 -14
- package/dist/collection/utils/label.js +33 -4
- package/dist/components/calcite-button2.js +1 -1
- package/dist/components/calcite-checkbox2.js +37 -87
- package/dist/components/calcite-color-picker-hex-input2.js +11 -15
- package/dist/components/calcite-color-picker.js +13 -10
- package/dist/components/calcite-combobox.js +82 -20
- package/dist/components/calcite-date-picker2.js +25 -7
- package/dist/components/calcite-filter2.js +35 -7
- package/dist/components/calcite-inline-editable.js +52 -42
- package/dist/components/calcite-input-date-picker.js +68 -12
- package/dist/components/calcite-input-time-picker.js +12 -2
- package/dist/components/calcite-input2.js +79 -57
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-popover2.js +1 -1
- package/dist/components/calcite-radio-button.js +83 -76
- package/dist/components/calcite-radio-group.js +20 -22
- package/dist/components/calcite-rating.js +13 -2
- package/dist/components/calcite-select.js +32 -3
- package/dist/components/calcite-shell-panel.js +4 -3
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +12 -2
- package/dist/components/calcite-switch2.js +25 -51
- package/dist/components/calcite-tile-select.js +1 -3
- package/dist/components/calcite-tree-item.js +15 -8
- package/dist/components/form.js +169 -15
- package/dist/components/label.js +33 -4
- package/dist/custom-elements/index.js +785 -441
- package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
- package/dist/esm/{CalciteHeading-dea3bd05.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 +2 -2
- package/dist/esm/calcite-button.entry.js +3 -3
- package/dist/esm/calcite-card.entry.js +1 -1
- 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 +81 -22
- package/dist/esm/calcite-date-picker_4.entry.js +28 -10
- package/dist/esm/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +34 -8
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +12 -4
- 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 +68 -15
- 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 +76 -57
- 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 +1 -1
- 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 +3 -3
- 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 +26 -50
- 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 +1 -1
- package/dist/esm/calcite-tip_3.entry.js +2 -2
- package/dist/esm/calcite-tooltip_2.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/form-160b0fb5.js +174 -0
- package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
- package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
- package/dist/esm/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +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 +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 +1 -1
- 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/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
- package/dist/esm-es5/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
- package/dist/extras/docs-json.json +320 -59
- 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 +19 -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 +14 -8
- 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-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 +171 -18
- package/dist/types/utils/form.d.ts +112 -1
- package/dist/types/utils/label.d.ts +5 -0
- package/hydrate/index.js +811 -451
- package/package.json +8 -9
- package/readme.md +2 -2
- package/CHANGELOG.md +0 -1506
- package/dist/calcite/p-05107123.entry.js +0 -5
- package/dist/calcite/p-05d1dfc6.js +0 -5
- package/dist/calcite/p-0d4e82ab.system.entry.js +0 -5
- package/dist/calcite/p-10759c71.system.entry.js +0 -5
- package/dist/calcite/p-11113310.entry.js +0 -5
- package/dist/calcite/p-12e1c83f.system.entry.js +0 -5
- package/dist/calcite/p-1421e818.entry.js +0 -5
- package/dist/calcite/p-17e666d6.system.entry.js +0 -5
- package/dist/calcite/p-22ecf6df.entry.js +0 -5
- package/dist/calcite/p-2ba00b89.js +0 -5
- package/dist/calcite/p-2ecafa35.system.entry.js +0 -5
- package/dist/calcite/p-329e1831.system.entry.js +0 -5
- package/dist/calcite/p-3994ac99.system.entry.js +0 -5
- package/dist/calcite/p-42128a12.entry.js +0 -5
- package/dist/calcite/p-47313747.system.js +0 -5
- package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
- package/dist/calcite/p-4ecd0331.entry.js +0 -5
- package/dist/calcite/p-5e6d76dc.entry.js +0 -5
- package/dist/calcite/p-777c833f.system.entry.js +0 -5
- package/dist/calcite/p-8711a0ae.system.entry.js +0 -5
- package/dist/calcite/p-89cdfa96.system.js +0 -5
- package/dist/calcite/p-8bc3e126.entry.js +0 -5
- package/dist/calcite/p-948aca0d.system.entry.js +0 -5
- package/dist/calcite/p-99ff3a2f.entry.js +0 -5
- package/dist/calcite/p-9fe349b9.entry.js +0 -5
- package/dist/calcite/p-a2cc027e.entry.js +0 -5
- package/dist/calcite/p-b42d730f.entry.js +0 -5
- package/dist/calcite/p-b4960d06.system.js +0 -5
- package/dist/calcite/p-bbe2337b.system.entry.js +0 -5
- package/dist/calcite/p-bbedf98c.entry.js +0 -5
- package/dist/calcite/p-be52c734.entry.js +0 -5
- package/dist/calcite/p-cb7b6425.entry.js +0 -5
- package/dist/calcite/p-d35e423d.js +0 -5
- package/dist/calcite/p-df9b4b76.entry.js +0 -5
- package/dist/calcite/p-e24b6c4a.system.entry.js +0 -5
- package/dist/calcite/p-e382c4e9.entry.js +0 -5
- package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
- package/dist/calcite/p-e5805bf1.entry.js +0 -5
- package/dist/calcite/p-eccb140e.entry.js +0 -5
- package/dist/calcite/p-f5bb39bb.js +0 -5
- package/dist/calcite/p-fb1da0f5.system.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-66803519.js +0 -5
- package/dist/esm-es5/label-bb61bdef.js +0 -5
|
@@ -14,6 +14,12 @@ export class CalciteFilter {
|
|
|
14
14
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
15
15
|
*/
|
|
16
16
|
this.disabled = false;
|
|
17
|
+
/**
|
|
18
|
+
* The resulting items after filtering.
|
|
19
|
+
*
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
this.filteredItems = [];
|
|
17
23
|
// --------------------------------------------------------------------------
|
|
18
24
|
//
|
|
19
25
|
// Private Methods
|
|
@@ -21,10 +27,8 @@ export class CalciteFilter {
|
|
|
21
27
|
// --------------------------------------------------------------------------
|
|
22
28
|
this.filter = debounce((value) => {
|
|
23
29
|
const regex = new RegExp(value, "i");
|
|
24
|
-
if (this.
|
|
25
|
-
|
|
26
|
-
The data property expects an array of objects`);
|
|
27
|
-
this.calciteFilterChange.emit([]);
|
|
30
|
+
if (this.items.length === 0) {
|
|
31
|
+
this.updateFiltered([]);
|
|
28
32
|
return;
|
|
29
33
|
}
|
|
30
34
|
const find = (input, RE) => {
|
|
@@ -44,10 +48,10 @@ export class CalciteFilter {
|
|
|
44
48
|
});
|
|
45
49
|
return found;
|
|
46
50
|
};
|
|
47
|
-
const result = this.
|
|
51
|
+
const result = this.items.filter((item) => {
|
|
48
52
|
return find(item, regex);
|
|
49
53
|
});
|
|
50
|
-
this.
|
|
54
|
+
this.updateFiltered(result);
|
|
51
55
|
}, filterDebounceInMs);
|
|
52
56
|
this.inputHandler = (event) => {
|
|
53
57
|
const target = event.target;
|
|
@@ -60,13 +64,28 @@ export class CalciteFilter {
|
|
|
60
64
|
};
|
|
61
65
|
this.clear = () => {
|
|
62
66
|
this.value = "";
|
|
63
|
-
this.calciteFilterChange.emit(this.data);
|
|
64
67
|
this.setFocus();
|
|
65
68
|
};
|
|
66
69
|
}
|
|
70
|
+
watchDataHandler(value) {
|
|
71
|
+
this.items = value;
|
|
72
|
+
}
|
|
73
|
+
watchItemsHandler() {
|
|
74
|
+
this.filter(this.value);
|
|
75
|
+
}
|
|
67
76
|
valueHandler(value) {
|
|
68
77
|
this.filter(value);
|
|
69
78
|
}
|
|
79
|
+
//--------------------------------------------------------------------------
|
|
80
|
+
//
|
|
81
|
+
// Lifecycle
|
|
82
|
+
//
|
|
83
|
+
//--------------------------------------------------------------------------
|
|
84
|
+
connectedCallback() {
|
|
85
|
+
if (this.data && !this.items) {
|
|
86
|
+
this.items = this.data;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
70
89
|
// --------------------------------------------------------------------------
|
|
71
90
|
//
|
|
72
91
|
// Public Methods
|
|
@@ -76,6 +95,11 @@ export class CalciteFilter {
|
|
|
76
95
|
async setFocus() {
|
|
77
96
|
focusElement(this.textInput);
|
|
78
97
|
}
|
|
98
|
+
updateFiltered(filtered) {
|
|
99
|
+
this.filteredItems.length = 0;
|
|
100
|
+
this.filteredItems = this.filteredItems.concat(filtered);
|
|
101
|
+
this.calciteFilterChange.emit(filtered);
|
|
102
|
+
}
|
|
79
103
|
// --------------------------------------------------------------------------
|
|
80
104
|
//
|
|
81
105
|
// Render Methods
|
|
@@ -114,10 +138,28 @@ export class CalciteFilter {
|
|
|
114
138
|
"required": false,
|
|
115
139
|
"optional": false,
|
|
116
140
|
"docs": {
|
|
117
|
-
"tags": [
|
|
141
|
+
"tags": [{
|
|
142
|
+
"name": "deprecated",
|
|
143
|
+
"text": "use `items` instead."
|
|
144
|
+
}],
|
|
118
145
|
"text": "The input data. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search."
|
|
119
146
|
}
|
|
120
147
|
},
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "unknown",
|
|
150
|
+
"mutable": true,
|
|
151
|
+
"complexType": {
|
|
152
|
+
"original": "object[]",
|
|
153
|
+
"resolved": "object[]",
|
|
154
|
+
"references": {}
|
|
155
|
+
},
|
|
156
|
+
"required": false,
|
|
157
|
+
"optional": false,
|
|
158
|
+
"docs": {
|
|
159
|
+
"tags": [],
|
|
160
|
+
"text": "The items to filter through. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search.\n\nThis property is required."
|
|
161
|
+
}
|
|
162
|
+
},
|
|
121
163
|
"disabled": {
|
|
122
164
|
"type": "boolean",
|
|
123
165
|
"mutable": false,
|
|
@@ -136,6 +178,29 @@ export class CalciteFilter {
|
|
|
136
178
|
"reflect": true,
|
|
137
179
|
"defaultValue": "false"
|
|
138
180
|
},
|
|
181
|
+
"filteredItems": {
|
|
182
|
+
"type": "unknown",
|
|
183
|
+
"mutable": true,
|
|
184
|
+
"complexType": {
|
|
185
|
+
"original": "CalciteFilter[\"items\"]",
|
|
186
|
+
"resolved": "object[]",
|
|
187
|
+
"references": {
|
|
188
|
+
"CalciteFilter": {
|
|
189
|
+
"location": "global"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"required": false,
|
|
194
|
+
"optional": false,
|
|
195
|
+
"docs": {
|
|
196
|
+
"tags": [{
|
|
197
|
+
"name": "readonly",
|
|
198
|
+
"text": undefined
|
|
199
|
+
}],
|
|
200
|
+
"text": "The resulting items after filtering."
|
|
201
|
+
},
|
|
202
|
+
"defaultValue": "[]"
|
|
203
|
+
},
|
|
139
204
|
"intlClear": {
|
|
140
205
|
"type": "string",
|
|
141
206
|
"mutable": false,
|
|
@@ -241,6 +306,12 @@ export class CalciteFilter {
|
|
|
241
306
|
}; }
|
|
242
307
|
static get elementRef() { return "el"; }
|
|
243
308
|
static get watchers() { return [{
|
|
309
|
+
"propName": "data",
|
|
310
|
+
"methodName": "watchDataHandler"
|
|
311
|
+
}, {
|
|
312
|
+
"propName": "items",
|
|
313
|
+
"methodName": "watchItemsHandler"
|
|
314
|
+
}, {
|
|
244
315
|
"propName": "value",
|
|
245
316
|
"methodName": "valueHandler"
|
|
246
317
|
}]; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15 6h-1V2h-4V1h5zm-9 8H2v-4H1v5h5zm9-4h-1v4h-4v1h5zM2 2h4V1H1v5h1zm10.354 3.354l-.707-.707L6.5 9.793 4.354 7.646l-.707.707L6.5 11.207z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21 21v-5h1v6h-6v-1zM3 21v-5H2v6h6v-1zM8 3V2H2v6h1V3zm13 0v5h1V2h-6v1zm-2.646 5.354l-.707-.707-7.147 7.146-3.146-3.147-.707.707 3.853 3.854z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3 10V3h7v1H4v6zm26 0V3h-7v1h6v6zM10 28H4v-6H3v7h7zm12 1h7v-7h-1v6h-6zm2.233-17.526l-.707-.707L13.5 20.793l-3.218-3.218-.707.707 3.925 3.925z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15 3h-3.536L10.31 1H6.845l-2.31 2H2.227L.01 9l2.216.167L3 10.333V15l3.845-2h4.62l3.464-4-3.345-2.556zm-1.523 6.15L11.007 12H6.602L4 13.353V10.03L2.79 8.206 1.4 8.103 2.921 4h1.987l2.31-2h2.513l1.155 2H12.6l-2.528 2.548zM8.56 6.65l3.463 2.647L10.55 11H6.357L5 11.706V9.729L3.352 7.245l-.552-.04L3.617 5h1.665l2.31-2h1.563l1.114 1.93z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M17.605 9.778L22.285 5h-5.229l-1.65-3h-4.949L7.158 5h-3.12l-3.18 8.429 3.18.238L5 15.333V22l5.636-3h6.949l4.799-5.571zM17.126 18h-6.74L6 20.335v-5.27l-1.36-2.356-2.376-.178L4.73 6h2.816l3.3-3h3.97l1.65 3h3.441L16.1 9.886l4.834 3.693zm.67-4.148L15.886 16H9.87L8 16.943v-2.515l-2.275-3.643-.646-.049L6.112 8h2.207l3.298-3h2.015l1.527 2.778-2.328 2.28z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M30.4 7h-7.471l-2.31-4H13.69L9.071 7H5.53L1.6 18l3.93.717L7 20.933V29.8l7.306-3.8h8.476l7.182-7.6-6.055-4.856zm-1.908 11.502L22.352 25h-8.29L8 28.152v-7.52L6.127 17.81l-3.19-.582L6.235 8h3.21l4.62-4h5.978l2.31 4H28l-5.583 5.629zm-9.06-4.704l6.117 4.907L21.489 23h-7.917L10 24.858v-4.83l-2.677-4.034-1.71-.311L7.645 10h2.544l4.62-4h4.078l3.047 5.276z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M7.992 12l.268 1H6.845L3 15v-4.667l-.774-1.166L.01 9l2.216-6h2.31l2.31-2h3.464l1.154 2H15l-3.416 3.444 2.895 2.212-2.537-.68-1.87-1.428L12.6 4h-1.713L9.732 2H7.22L4.91 4H2.922L1.399 8.103l1.39.103L4 10.031v3.322L6.602 12zm-.23-4.237a1.715 1.715 0 0 1 1.654-.458L8.56 6.65l1.708-1.721L9.155 3H7.592l-2.31 2H3.617L2.8 7.204l.552.041L5 9.73v1.977L6.357 11h1.367L7.31 9.453a1.75 1.75 0 0 1 .453-1.69zM9 9l1.514 5.652a5.86 5.86 0 0 0 4.138-4.138z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12.528 18l.268 1h-2.16L5 22v-6.667l-.963-1.666-3.18-.238L4.037 5h3.121l3.3-3h4.948l1.65 3h5.23l-4.68 4.778 4.778 3.65-.192.223-1.792-.48-4.3-3.285L19.906 6h-3.441l-1.65-3h-3.97l-3.3 3H4.729l-2.465 6.531 2.375.178L6 15.064v5.271L10.387 18zm2.631-10.222L13.632 5h-2.015L8.32 8H6.112l-1.033 2.736.646.05L8 14.427v2.515L9.87 16h2.122l-.682-2.547a1.75 1.75 0 0 1 .26-1.461c.055-.078.482-.57 3.59-4.214zM13 13l2.524 9.42a9.768 9.768 0 0 0 6.896-6.896z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M17.332 25l.268 1h-3.294L7 29.8v-8.867l-1.47-2.216L1.6 18 5.53 7h3.54l4.62-4h6.928l2.31 4H30.4l-6.49 6.544 6.054 4.856-.197.209-1.714-.46-5.636-4.52L28 8h-5.648l-2.31-4h-5.979L9.444 8h-3.21l-3.297 9.228 3.19.582L8 20.632v7.52L14.062 25zm-1.57-9.237a1.75 1.75 0 0 1 1.69-.453l5.801 1.554-3.821-3.066 2.502-2.522L18.887 6h-4.078l-4.62 4H7.645l-2.032 5.683 1.71.311L10 20.028v4.83L13.572 23h3.224l-1.486-5.547a1.75 1.75 0 0 1 .453-1.69zM17 17l3.534 13.188a13.675 13.675 0 0 0 9.654-9.654z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8.468 12l.467 1h-2.09L3 15v-4.667l-.774-1.166L.01 9l2.216-6h2.31l2.31-2h3.464l1.154 2H15l-3.416 3.444L14.929 9l-1.086 1.254-.824-.577.458-.528-3.405-2.601L12.6 4h-1.713L9.732 2H7.22L4.91 4H2.922L1.399 8.103l1.39.103L4 10.031v3.322L6.602 12zm-.593-4.34a1.663 1.663 0 0 1 1.554-.345l-.868-.664 1.708-1.721L9.155 3H7.592l-2.31 2H3.617L2.8 7.204l.552.041L5 9.73v1.977L6.357 11h1.645l-.588-1.26a1.75 1.75 0 0 1 .461-2.08zM9 9l2.473 5.303a5.874 5.874 0 0 0 2.32-1.947z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M13.4 18l.467 1h-3.231L5 22v-6.667l-.963-1.666-3.18-.238L4.037 5h3.121l3.3-3h4.948l1.65 3h5.23l-4.68 4.778 4.778 3.65-2.152 2.5-.824-.577 1.526-1.772L16.1 9.886 19.906 6h-3.441l-1.65-3h-3.97l-3.3 3H4.729l-2.465 6.531 2.375.178L6 15.064v5.271L10.387 18zm1.76-10.222L13.631 5h-2.015L8.32 8H6.112l-1.033 2.736.646.05L8 14.427v2.515L9.87 16h2.598l-1.054-2.26a1.75 1.75 0 0 1 .244-1.864zM13 13l4.122 8.839a9.79 9.79 0 0 0 3.865-3.246z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M29.964 18.4l-2.98 3.154-.828-.58 2.336-2.472-6.075-4.873L28 8h-5.648l-2.31-4h-5.979L9.444 8h-3.21l-3.296 9.228 3.189.582L8 20.632v7.52L14.062 25h4.204l.466 1h-4.426L7 29.8v-8.867l-1.47-2.216L1.6 18 5.53 7h3.54l4.62-4h6.928l2.31 4H30.4l-6.49 6.544zm-15.089-3.74a1.751 1.751 0 0 1 2.129-.094l7.496 5.249 1.049-1.11-6.117-4.907 2.502-2.522L18.887 6h-4.078l-4.62 4H7.645l-2.032 5.683 1.71.311L10 20.028v4.83L13.572 23h3.761l-2.919-6.26a1.75 1.75 0 0 1 .461-2.08zM16 16l5.77 12.374a13.707 13.707 0 0 0 5.412-4.544z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M9.312 12l.635 1H6.845L3 15v-4.667l-.774-1.166L.01 9l2.216-6h2.31l2.31-2h3.464l1.154 2H15l-3.416 3.444.923.706H10.86l-.788-.602L12.6 4h-1.713L9.732 2H7.22L4.91 4H2.922L1.399 8.103l1.39.103L4 10.031v3.322L6.602 12zM8.15 10V9a1.932 1.932 0 0 1 1.23-1.722l-.82-.627 1.71-1.721L9.155 3H7.592l-2.31 2H3.617L2.8 7.204l.552.041L5 9.73v1.977L6.357 11h2.19a1.593 1.593 0 0 1-.397-1zM10 9v1h6V9zm4.414 2.013l-1.502 1.79-1.066-1.79h-1.088l1.461 2.302L9.8 16h1.033l1.854-2.153L13.967 16h1.097l-1.684-2.685 2.046-2.302z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 19h-1.364L5 22v-6.667l-.963-1.666-3.18-.238L4.037 5h3.121l3.3-3h4.948l1.65 3h5.23l-4.68 4.778 1.6 1.222h-1.648L16.1 9.886 19.906 6h-3.441l-1.65-3h-3.97l-3.3 3H4.729l-2.465 6.531 2.375.178L6 15.064v5.271L10.387 18H12zm1.632-14h-2.015L8.32 8H6.112l-1.033 2.736.646.05L8 14.427v2.515L9.87 16h2.235a3.745 3.745 0 0 1 .332-.767A1.981 1.981 0 0 1 12 14v-1a2 2 0 0 1 2-2h.064l-1.233-.942 2.328-2.28zM14 13v1h9v-1zm7.875 8.188a2.12 2.12 0 0 1-.229.95l-2.545-3.2 2.774-3.488V15h-.844L18.5 18.182 15.969 15h-.844S14.018 16.16 14 16.685V17h1.125v-.315a2.117 2.117 0 0 1 .228-.947l2.546 3.2-2.774 3.487v.45h.844l2.531-3.182 2.531 3.182h.844s1.107-1.16 1.125-1.685V21h-1.125z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M20.493 25l-.796 1h-5.391L7 29.8v-8.867l-1.47-2.216L1.6 18 5.53 7h3.54l4.62-4h6.928l2.31 4H30.4l-6.49 6.544L25.723 15h-1.598l-1.709-1.371L28 8h-5.648l-2.31-4h-5.979L9.444 8h-3.21l-3.296 9.228 3.189.582L8 20.632v7.52L14.062 25zm-4.403-2.818v-.776a3.556 3.556 0 0 1 .647-1.867A1.987 1.987 0 0 1 16 18v-1a2 2 0 0 1 2-2h2.93l-1.498-1.202 2.502-2.522L18.887 6h-4.078l-4.62 4H7.645l-2.032 5.683 1.71.311L10 20.028v4.83L13.572 23h2.697a1.985 1.985 0 0 1-.18-.818zM18 17v1h12v-1zm11 10.584a2.37 2.37 0 0 1-.444 1.334l-3.497-4.458 3.85-4.76v-.587h-1.12l-3.557 4.371-3.437-4.368h-1.123c-.015.016-1.509 1.588-1.532 2.281l-.05.603h1.496v-.603a2.312 2.312 0 0 1 .402-1.333l3.497 4.458-3.8 4.759v.619h1.07l3.556-4.402 3.438 4.402h1.138c.155-.166 1.495-1.66 1.517-2.315l.05-.585H29z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M0 13v3h3v-3zm2 2H1v-1h1zM3 1V0H0v3h1v7h4V9H2V3h1V2h6v3h1V1zM2 2H1V1h1zm13 11V6H6v9h7v1h3v-3zm-2 1H7V7h7v6h-1zm2 1h-1v-1h1zM13 0v3h3V0zm2 2h-1V1h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4 5h1V4h8v5h1V3H5V2H2v3h1v9h6v-1H4zM3 3h1v1H3zM2 22h3v-3H2zm1-2h1v1H3zM19 2v3h3V2zm2 2h-1V3h1zm0 6H10v11h9v1h3v-3h-1zm-2 10h-8v-9h9v8h-1zm2 1h-1v-1h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5 6h1V5h13v6h1V4H6V3H3v3h1v14h7v-1H5zM4 4h1v1H4zm22-1v3h3V3zm2 2h-1V4h1zM3 29h3v-3H3zm1-2h1v1H4zm24-15H12v16h14v1h3v-3h-1zm-2 15H13V13h14v13h-1zm2 1h-1v-1h1z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3 13h11V3H3zm10-1H9V8h4zM4 4h9v3H4zm0 4h4v4H4zm12-7v3h-1V2h-2V1zM2 4H1V1h3v1H2zm0 10h2v1H1v-3h1zm13-2h1v3h-3v-1h2z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4 20h17V5H4zm16-1h-7v-7h7zM5 6h15v5H5zm0 6h7v7H5zM2 6H1V2h4v1H2zm22-4v4h-1V3h-3V2zM2 22h3v1H1v-4h1zm21-3h1v4h-4v-1h3z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3 8H2V3h5v1H3zm23-5v1h4v4h1V3zm4 25h-4v1h5v-5h-1zM3 24H2v5h5v-1H3zM5 6h23v20H5zm22 9H17v10h10zM6 14h21V7H6zm0 11h10V15H6z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8.824 15.105a1.719 1.719 0 0 0 .311.603 7.796 7.796 0 1 1 4.38-13.223 7.68 7.68 0 0 1 2.195 6.637 1.741 1.741 0 0 0-.605-.298l-.35-.094a6.856 6.856 0 0 0 .042-.73A6.8 6.8 0 1 0 8 14.797a6.855 6.855 0 0 0 .73-.043zM8 4a4 4 0 0 0-.008 8l-.275-1.027a3 3 0 1 1 3.256-3.256l1.026.275A3.999 3.999 0 0 0 8 4zm6.652 6.514L9 9l1.514 5.652a5.86 5.86 0 0 0 4.138-4.138z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M13.511 21.668l.262.976a10.862 10.862 0 1 1 8.871-8.871l-.976-.262A9.878 9.878 0 0 0 21.795 12 9.8 9.8 0 1 0 12 21.795a9.878 9.878 0 0 0 1.511-.127zm1.883-13.062A4.8 4.8 0 1 0 12 16.8c.069 0 .133-.017.201-.02l-.264-.987a3.798 3.798 0 1 1 3.856-3.856l.987.264c.003-.068.02-.132.02-.201a4.785 4.785 0 0 0-1.406-3.394zM13 13l2.524 9.42a9.768 9.768 0 0 0 6.896-6.896z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M18.293 28.587l.26.971A13.937 13.937 0 0 1 16 29.8 13.8 13.8 0 0 1 6.242 6.242 13.8 13.8 0 0 1 29.8 16a13.938 13.938 0 0 1-.241 2.553l-.972-.26A12.93 12.93 0 0 0 28.8 16 12.8 12.8 0 0 0 6.95 6.95 12.8 12.8 0 0 0 16 28.8a12.927 12.927 0 0 0 2.293-.213zm2.516-17.396a6.81 6.81 0 1 0-4.079 11.564l-.268-1.003a5.8 5.8 0 1 1 5.291-5.29l1.001.268a6.79 6.79 0 0 0-1.945-5.539zM17 17l3.534 13.188a13.675 13.675 0 0 0 9.654-9.654z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M9.887 15.042a1.738 1.738 0 0 0 .304.44 7.816 7.816 0 1 1 4.914-4.276 1.747 1.747 0 0 0-.308-.284l-.505-.353a6.85 6.85 0 1 0-4.62 4.014zM8 4a4 4 0 0 0 0 8 3.934 3.934 0 0 0 .447-.045L8.002 11H8a3 3 0 1 1 3-3c0 .084-.018.164-.025.246l.918.643A3.973 3.973 0 0 0 8 4zm5.792 8.356L9 9l2.473 5.303a5.874 5.874 0 0 0 2.32-1.947z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M14.958 21.341l.425.91a10.825 10.825 0 1 1 6.234-5.354l-.832-.582a9.781 9.781 0 1 0-5.827 5.026zM12 7.2a4.8 4.8 0 1 0 .803 9.519l-.445-.955c-.12.011-.235.036-.358.036a3.8 3.8 0 1 1 3.721-3.031l.857.6A4.746 4.746 0 0 0 16.8 12 4.8 4.8 0 0 0 12 7.2zm1 5.8l4.122 8.839a9.79 9.79 0 0 0 3.865-3.246z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M20.185 29.113l.017.03a13.784 13.784 0 1 1 8.015-6.72l-.03-.027-.798-.558a12.765 12.765 0 1 0-7.614 6.397zm.624-17.922a6.808 6.808 0 1 0-3.62 11.498l-.45-.963a5.799 5.799 0 1 1 4.77-4.004l.87.608a6.805 6.805 0 0 0-1.57-7.139zm6.373 12.639L16 16l5.77 12.374a13.707 13.707 0 0 0 5.412-4.544z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8.5 14.828a1.74 1.74 0 0 0-.43.968c-.023 0-.046.004-.07.004a7.8 7.8 0 1 1 7.762-8.55h-1.006A6.799 6.799 0 1 0 8 14.8c.186 0 .369-.013.55-.028zM8 4a4 4 0 0 0 0 8 3.956 3.956 0 0 0 1.212-.207 1.88 1.88 0 0 1-.135-.312 1.768 1.768 0 0 1-.535-.536 2.998 2.998 0 1 1 2.352-3.695h1.03A3.997 3.997 0 0 0 8 4zm2 5v1h6V9zm4.414 2.013l-1.502 1.79-1.066-1.79h-1.088l1.461 2.302L9.8 16h1.033l1.854-2.153L13.967 16h1.097l-1.684-2.685 2.046-2.302z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M13.125 22.425v.316A10.925 10.925 0 0 1 12 22.8 10.8 10.8 0 1 1 22.75 11h-1a9.868 9.868 0 1 0-8.488 10.71 1.997 1.997 0 0 0-.137.715zM12 7.2a4.8 4.8 0 0 0 0 9.6v-.114a2.668 2.668 0 0 1 .183-.905c-.062.003-.12.019-.183.019a3.8 3.8 0 1 1 3.65-4.8h1.042A4.8 4.8 0 0 0 12 7.2zm2 6.8h9v-1h-9zm5.101 4.938l2.774-3.488V15h-.844L18.5 18.182 15.969 15h-.844S14.018 16.16 14 16.685V17h1.125v-.315a2.117 2.117 0 0 1 .228-.947l2.546 3.2-2.774 3.487v.45h.844l2.531-3.182 2.531 3.182h.844s1.107-1.16 1.125-1.685V21h-1.125v.189a2.12 2.12 0 0 1-.229.948z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M17.636 29.29v.404A13.993 13.993 0 0 1 16 29.8 13.8 13.8 0 0 1 6.242 6.242 13.786 13.786 0 0 1 29.752 15h-1A12.793 12.793 0 0 0 6.948 6.95 12.8 12.8 0 0 0 16 28.8a12.95 12.95 0 0 0 1.738-.13 1.998 1.998 0 0 0-.102.62zM11.19 11.191A6.797 6.797 0 0 0 16 22.797c.065 0 .129-.008.193-.01a1.978 1.978 0 0 1-.103-.605v-.394A5.802 5.802 0 1 1 21.702 15h1.013a6.786 6.786 0 0 0-11.524-3.809zM30 18v-1H18v1zm-1 9.584a2.37 2.37 0 0 1-.444 1.334l-3.497-4.458 3.85-4.76v-.587h-1.12l-3.557 4.371-3.437-4.368h-1.123c-.015.016-1.509 1.588-1.532 2.281l-.05.603h1.496v-.603a2.312 2.312 0 0 1 .402-1.333l3.497 4.458-3.8 4.759v.619h1.07l3.556-4.402 3.438 4.402h1.138c.155-.166 1.495-1.66 1.517-2.315l.05-.585H29z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M8 0v1H3V0H0v3h1v5H0v3h3v-1h2V9H3V8H2V3h1V2h5v1h1v2h1V3h1V0zM2 10H1V9h1zm0-8H1V1h1zm8 0H9V1h1zm6 6V5h-3v1H8V5H5v3h1v5H5v3h3v-1h5v1h3v-3h-1V8zM6 6h1v1H6zm1 9H6v-1h1zm6-1H8v-1H7V8h1V7h5v1h1v5h-1zm2 1h-1v-1h1zm-1-8V6h1v1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 2v1H5V2H2v3h1v7H2v3h3v-1h4v-1H5v-1H4V5h1V4h7v1h1v4h1V5h1V2zM4 14H3v-1h1zM4 4H3V3h1zm10 0h-1V3h1zm8 8V9h-3v1h-7V9H9v3h1v7H9v3h3v-1h7v1h3v-3h-1v-7zm-12-2h1v1h-1zm1 11h-1v-1h1zm8-1h-7v-1h-1v-7h1v-1h7v1h1v7h-1zm2 1h-1v-1h1zm-1-10v-1h1v1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11 19H6v-1H5V6h1V5h12v1h1v5h1V6h1V3h-3v1H6V3H3v3h1v12H3v3h3v-1h5zm8-15h1v1h-1zM4 4h1v1H4zm1 16H4v-1h1zm24-6v-3h-3v1H14v-1h-3v3h1v12h-1v3h3v-1h12v1h3v-3h-1V14zm-17-2h1v1h-1zm1 16h-1v-1h1zm13-1H14v-1h-1V14h1v-1h12v1h1v12h-1zm2 1h-1v-1h1zm-1-15v-1h1v1z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M2 2v5h13V2zm12 4H3V3h11zM2 14h6V8H2zm1-5h4v4H3zm6 5h6V8H9zm1-5h4v4h-4z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M2 3v7h20V3zm19 6H3V4h18zm-8 12h9v-9h-9zm1-8h7v7h-7zM2 21h9v-9H2zm1-8h7v7H3z"
|
package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3 5v9h26V5zm25 8H4V6h24zM3.041 27.958h11.917V16.042H3.042zm.917-11h10.083v10.084H3.96zm13.083 11h11.917V16.042H17.043zm.917-11h10.084v10.084H17.957z"
|
|
@@ -84,23 +84,23 @@
|
|
|
84
84
|
display: none;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
:host([scale=s]) .
|
|
87
|
+
:host([scale=s]) .controls-wrapper {
|
|
88
88
|
height: 1.5rem;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:host([scale=m]) .
|
|
91
|
+
:host([scale=m]) .controls-wrapper {
|
|
92
92
|
height: 2rem;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
:host([scale=l]) .
|
|
95
|
+
:host([scale=l]) .controls-wrapper {
|
|
96
96
|
height: 2.75rem;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
:host(:not([editing-enabled]):not([disabled])) .
|
|
99
|
+
:host(:not([editing-enabled]):not([disabled])) .wrapper:hover {
|
|
100
100
|
background-color: var(--calcite-ui-foreground-2);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
.wrapper {
|
|
104
104
|
box-sizing: border-box;
|
|
105
105
|
display: flex;
|
|
106
106
|
justify-content: space-between;
|
|
@@ -111,60 +111,14 @@
|
|
|
111
111
|
transition-delay: 0s;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.wrapper .input-wrapper {
|
|
115
115
|
flex: 1 1 0%;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.controls-wrapper {
|
|
119
119
|
display: flex;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
:host([disabled]) .
|
|
122
|
+
:host([disabled]) .cancel-editing-button-wrapper {
|
|
123
123
|
border-color: var(--calcite-ui-border-2);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
:host::slotted(*) .calcite-input__element-wrapper textarea,
|
|
127
|
-
:host::slotted(*) .calcite-input__element-wrapper input {
|
|
128
|
-
transition-property: all;
|
|
129
|
-
transition-duration: 150ms;
|
|
130
|
-
transition-timing-function: ease-in-out;
|
|
131
|
-
transition-delay: 0s;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
:host(:not([editing-enabled]))::slotted(*) .calcite-input__element-wrapper {
|
|
135
|
-
background-color: transparent;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
:host(:not([editing-enabled]))::slotted(*) .sc-calcite-input {
|
|
139
|
-
display: none;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
:host(:not([editing-enabled]))::slotted(*) .calcite-input__element-wrapper {
|
|
143
|
-
display: flex;
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
:host(:not([editing-enabled]))::slotted(*) .calcite-input__element-wrapper textarea,
|
|
148
|
-
:host(:not([editing-enabled]))::slotted(*) .calcite-input__element-wrapper input {
|
|
149
|
-
display: flex;
|
|
150
|
-
cursor: pointer;
|
|
151
|
-
padding-left: 0;
|
|
152
|
-
border-color: transparent;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
:host(:not([editing-enabled])):not([disabled]):hover::slotted(*) textarea,
|
|
156
|
-
:host(:not([editing-enabled])):not([disabled]):hover::slotted(*) input {
|
|
157
|
-
background-color: var(--calcite-ui-foreground-2);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
:host([dir=rtl]):not([editing-enabled])::slotted(*) .calcite-input__element-wrapper textarea,
|
|
161
|
-
:host([dir=rtl]):not([editing-enabled])::slotted(*) .calcite-input__element-wrapper input {
|
|
162
|
-
padding-left: unset;
|
|
163
|
-
padding-right: 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
[dir=rtl] :host:not([editing-enabled])::slotted(*) .calcite-input__element-wrapper textarea,
|
|
167
|
-
[dir=rtl] :host:not([editing-enabled])::slotted(*) .calcite-input__element-wrapper input {
|
|
168
|
-
padding-left: unset;
|
|
169
|
-
padding-right: 0;
|
|
170
124
|
}
|
|
@@ -36,39 +36,38 @@ export class CalciteInlineEditable {
|
|
|
36
36
|
* @default "Save"
|
|
37
37
|
*/
|
|
38
38
|
this.intlConfirmChanges = TEXT.intlConfirmChanges;
|
|
39
|
-
this.editingCancelTransitionProp = "border-top-color";
|
|
40
|
-
//--------------------------------------------------------------------------
|
|
41
|
-
//
|
|
42
|
-
// Private Methods
|
|
43
|
-
//
|
|
44
|
-
//--------------------------------------------------------------------------
|
|
45
39
|
this.transitionEnd = (event) => {
|
|
46
|
-
if (!this.editingEnabled &&
|
|
40
|
+
if (!this.editingEnabled && !!this.shouldEmitCancel) {
|
|
47
41
|
this.calciteInlineEditableEditingCancel.emit(event);
|
|
48
42
|
}
|
|
49
43
|
};
|
|
50
44
|
this.enableEditing = () => {
|
|
51
|
-
this.htmlInput.tabIndex = undefined;
|
|
52
45
|
this.valuePriorToEditing = this.inputElement.value;
|
|
53
46
|
this.editingEnabled = true;
|
|
54
47
|
this.inputElement.setFocus();
|
|
55
48
|
this.calciteInlineEditableEnableEditingChange.emit();
|
|
56
49
|
};
|
|
57
50
|
this.disableEditing = () => {
|
|
58
|
-
this.htmlInput.tabIndex = -1;
|
|
59
51
|
this.editingEnabled = false;
|
|
60
52
|
};
|
|
61
|
-
this.cancelEditingEnd = () => {
|
|
62
|
-
this.enableEditingButton.setFocus();
|
|
63
|
-
this.el.removeEventListener("calciteInlineEditableEditingCancel", this.cancelEditingEnd);
|
|
64
|
-
};
|
|
65
53
|
this.cancelEditing = () => {
|
|
66
54
|
this.inputElement.value = this.valuePriorToEditing;
|
|
67
|
-
this.el.addEventListener("calciteInlineEditableEditingCancel", this.cancelEditingEnd);
|
|
68
55
|
this.disableEditing();
|
|
56
|
+
this.enableEditingButton.setFocus();
|
|
69
57
|
};
|
|
70
58
|
this.escapeKeyHandler = async (e) => {
|
|
71
59
|
if (e.key !== "Escape") {
|
|
60
|
+
if (e.key === "Tab" && this.shouldShowControls) {
|
|
61
|
+
if (!e.shiftKey && e.target === this.inputElement) {
|
|
62
|
+
e.preventDefault();
|
|
63
|
+
this.cancelEditingButton.setFocus();
|
|
64
|
+
}
|
|
65
|
+
if (!!e.shiftKey && e.target === this.cancelEditingButton) {
|
|
66
|
+
e.preventDefault();
|
|
67
|
+
e.stopPropagation();
|
|
68
|
+
this.inputElement.setFocus();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
72
71
|
return;
|
|
73
72
|
}
|
|
74
73
|
this.cancelEditing();
|
|
@@ -97,6 +96,7 @@ export class CalciteInlineEditable {
|
|
|
97
96
|
this.loading = true;
|
|
98
97
|
await this.afterConfirm();
|
|
99
98
|
this.disableEditing();
|
|
99
|
+
this.enableEditingButton.setFocus();
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
catch (e) {
|
|
@@ -109,11 +109,23 @@ export class CalciteInlineEditable {
|
|
|
109
109
|
disabledWatcher(disabled) {
|
|
110
110
|
this.inputElement.disabled = disabled;
|
|
111
111
|
}
|
|
112
|
+
editingEnabledWatcher(newValue, oldValue) {
|
|
113
|
+
this.inputElement.editingEnabled = newValue;
|
|
114
|
+
if (!newValue && !!oldValue) {
|
|
115
|
+
this.shouldEmitCancel = true;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
112
118
|
//--------------------------------------------------------------------------
|
|
113
119
|
//
|
|
114
120
|
// Lifecycle
|
|
115
121
|
//
|
|
116
122
|
//--------------------------------------------------------------------------
|
|
123
|
+
connectedCallback() {
|
|
124
|
+
connectLabel(this);
|
|
125
|
+
}
|
|
126
|
+
disconnectedCallback() {
|
|
127
|
+
disconnectLabel(this);
|
|
128
|
+
}
|
|
117
129
|
componentWillLoad() {
|
|
118
130
|
this.inputElement = this.el.querySelector("calcite-input");
|
|
119
131
|
this.inputElement.disabled = this.disabled;
|
|
@@ -121,27 +133,18 @@ export class CalciteInlineEditable {
|
|
|
121
133
|
this.scale =
|
|
122
134
|
this.scale || this.inputElement.scale || getElementProp(this.el, "scale", undefined);
|
|
123
135
|
}
|
|
124
|
-
componentDidLoad() {
|
|
125
|
-
this.htmlInput = this.inputElement.querySelector("input");
|
|
126
|
-
if (!this.editingEnabled) {
|
|
127
|
-
this.htmlInput.tabIndex = -1;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
connectedCallback() {
|
|
131
|
-
connectLabel(this);
|
|
132
|
-
}
|
|
133
|
-
disconnectedCallback() {
|
|
134
|
-
disconnectLabel(this);
|
|
135
|
-
}
|
|
136
136
|
render() {
|
|
137
137
|
return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd },
|
|
138
138
|
h("div", { class: CSS.inputWrapper },
|
|
139
139
|
h("slot", null)),
|
|
140
140
|
h("div", { class: CSS.controlsWrapper },
|
|
141
|
-
|
|
141
|
+
h("calcite-button", { appearance: "transparent", class: CSS.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
142
|
+
opacity: this.editingEnabled ? "0" : "1",
|
|
143
|
+
width: this.editingEnabled ? "0" : "inherit"
|
|
144
|
+
} }),
|
|
142
145
|
this.shouldShowControls && [
|
|
143
146
|
h("div", { class: CSS.cancelEditingButtonWrapper },
|
|
144
|
-
h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, scale: this.scale })),
|
|
147
|
+
h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale })),
|
|
145
148
|
h("calcite-button", { appearance: "solid", class: CSS.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale })
|
|
146
149
|
])));
|
|
147
150
|
}
|
|
@@ -155,9 +158,6 @@ export class CalciteInlineEditable {
|
|
|
155
158
|
this.disableEditing();
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
|
-
onLabelClick() {
|
|
159
|
-
this.setFocus();
|
|
160
|
-
}
|
|
161
161
|
//--------------------------------------------------------------------------
|
|
162
162
|
//
|
|
163
163
|
// Public Methods
|
|
@@ -172,11 +172,19 @@ export class CalciteInlineEditable {
|
|
|
172
172
|
(_b = this.enableEditingButton) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
+
//--------------------------------------------------------------------------
|
|
176
|
+
//
|
|
177
|
+
// Private Methods
|
|
178
|
+
//
|
|
179
|
+
//--------------------------------------------------------------------------
|
|
180
|
+
onLabelClick() {
|
|
181
|
+
this.setFocus();
|
|
182
|
+
}
|
|
175
183
|
get shouldShowControls() {
|
|
176
184
|
return this.editingEnabled && this.controls;
|
|
177
185
|
}
|
|
178
186
|
static get is() { return "calcite-inline-editable"; }
|
|
179
|
-
static get encapsulation() { return "
|
|
187
|
+
static get encapsulation() { return "shadow"; }
|
|
180
188
|
static get originalStyleUrls() { return {
|
|
181
189
|
"$": ["calcite-inline-editable.scss"]
|
|
182
190
|
}; }
|
|
@@ -438,6 +446,9 @@ export class CalciteInlineEditable {
|
|
|
438
446
|
static get watchers() { return [{
|
|
439
447
|
"propName": "disabled",
|
|
440
448
|
"methodName": "disabledWatcher"
|
|
449
|
+
}, {
|
|
450
|
+
"propName": "editingEnabled",
|
|
451
|
+
"methodName": "editingEnabledWatcher"
|
|
441
452
|
}]; }
|
|
442
453
|
static get listeners() { return [{
|
|
443
454
|
"name": "calciteInputBlur",
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
export const CSS = {
|
|
6
|
-
wrapper: "
|
|
7
|
-
confirmChangesButton: "
|
|
8
|
-
cancelEditingButton: "
|
|
9
|
-
inputWrapper: "
|
|
10
|
-
cancelEditingButtonWrapper: "
|
|
11
|
-
enableEditingButton: "
|
|
12
|
-
controlsWrapper: "
|
|
6
|
+
wrapper: "wrapper",
|
|
7
|
+
confirmChangesButton: "confirm-changes-button",
|
|
8
|
+
cancelEditingButton: "cancel-editing-button",
|
|
9
|
+
inputWrapper: "input-wrapper",
|
|
10
|
+
cancelEditingButtonWrapper: "cancel-editing-button-wrapper",
|
|
11
|
+
enableEditingButton: "enable-editing-button",
|
|
12
|
+
controlsWrapper: "controls-wrapper"
|
|
13
13
|
};
|
|
14
14
|
export const TEXT = {
|
|
15
15
|
intlEnablingEditing: "Click to edit",
|