@esri/calcite-components 1.0.0-next.282 → 1.0.0-next.283
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/CHANGELOG.md +56 -6
- package/dist/calcite/assets/calcite-icon/beacon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
- package/dist/calcite/assets/calcite-icon/diamond16.json +1 -0
- package/dist/calcite/assets/calcite-icon/diamond24.json +1 -0
- package/dist/calcite/assets/calcite-icon/diamond32.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingDistance16.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingDistance24.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingDistance32.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingTime16.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingTime24.json +1 -0
- package/dist/calcite/assets/calcite-icon/drivingTime32.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
- package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
- package/dist/calcite/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
- package/dist/calcite/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/calcite/assets/calcite-icon/hideEmpty24.json +1 -1
- package/dist/calcite/assets/calcite-icon/hideEmpty32.json +1 -1
- package/dist/calcite/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/calcite/assets/calcite-icon/mobileVibrate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/mobileVibrate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/mobileVibrate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/calcite/assets/calcite-icon/package16.json +1 -0
- package/dist/calcite/assets/calcite-icon/package24.json +1 -0
- package/dist/calcite/assets/calcite-icon/package32.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingTime16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingTime24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ruralDrivingTime32.json +1 -0
- package/dist/calcite/assets/calcite-icon/search16.json +1 -1
- package/dist/calcite/assets/calcite-icon/search24.json +1 -1
- package/dist/calcite/assets/calcite-icon/search32.json +1 -1
- package/dist/calcite/assets/calcite-icon/sensor16.json +1 -0
- package/dist/calcite/assets/calcite-icon/sensor21.json +1 -0
- package/dist/calcite/assets/calcite-icon/sensor24.json +1 -0
- package/dist/calcite/assets/calcite-icon/sensor32.json +1 -0
- package/dist/calcite/assets/calcite-icon/sensor48.json +1 -0
- package/dist/calcite/assets/calcite-icon/sensor64.json +1 -0
- package/dist/calcite/assets/calcite-icon/showColumn16.json +1 -0
- package/dist/calcite/assets/calcite-icon/showColumn24.json +1 -0
- package/dist/calcite/assets/calcite-icon/showColumn32.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/calcite/assets/calcite-icon/thumbsDown16.json +1 -0
- package/dist/calcite/assets/calcite-icon/thumbsDown24.json +1 -0
- package/dist/calcite/assets/calcite-icon/thumbsDown32.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingDistance16.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingDistance24.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingDistance32.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingTime16.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingTime24.json +1 -0
- package/dist/calcite/assets/calcite-icon/truckingTime32.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingDistance16.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingDistance24.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingDistance32.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingTime16.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingTime24.json +1 -0
- package/dist/calcite/assets/calcite-icon/walkingTime32.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi16.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi24.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/p-00f2f64d.system.entry.js +1 -0
- package/dist/calcite/p-058f3354.system.entry.js +1 -0
- package/dist/calcite/p-088c0c7a.entry.js +1 -0
- package/dist/calcite/p-0b539bae.system.entry.js +1 -0
- package/dist/calcite/{p-e14d8072.entry.js → p-1436091f.entry.js} +1 -1
- package/dist/calcite/{p-6e2cc57d.system.entry.js → p-14893331.system.entry.js} +1 -1
- package/dist/calcite/p-15df41f1.entry.js +1 -0
- package/dist/calcite/{p-19029579.system.entry.js → p-170fb8e8.system.entry.js} +1 -1
- package/dist/calcite/p-17b48d4d.system.entry.js +1 -0
- package/dist/calcite/p-186faf42.system.entry.js +1 -0
- package/dist/calcite/{p-cda2cefc.system.entry.js → p-19d3b749.system.entry.js} +1 -1
- package/dist/calcite/p-1a53829b.system.entry.js +1 -0
- package/dist/calcite/p-1bf298c2.entry.js +1 -0
- package/dist/calcite/p-1c3f7bb2.entry.js +1 -0
- package/dist/calcite/p-1df0fd29.system.entry.js +1 -0
- package/dist/calcite/{p-5247249f.system.entry.js → p-23b87c6a.system.entry.js} +1 -1
- package/dist/calcite/{p-263e9c6f.js → p-30f1442b.js} +0 -0
- package/dist/calcite/{p-11e329ff.entry.js → p-31962890.entry.js} +1 -1
- package/dist/calcite/p-33f60ee2.entry.js +1 -0
- package/dist/calcite/{p-5c8268a5.system.entry.js → p-39b743d9.system.entry.js} +1 -1
- package/dist/calcite/p-3c0315f6.entry.js +1 -0
- package/dist/calcite/p-3c6b85d2.entry.js +1 -0
- package/dist/calcite/p-41ad9e5a.entry.js +1 -0
- package/dist/calcite/p-43a9faca.js +1 -0
- package/dist/calcite/p-44c0b088.entry.js +1 -0
- package/dist/calcite/p-46f1277f.entry.js +1 -0
- package/dist/calcite/p-484d449e.entry.js +1 -0
- package/dist/calcite/{p-ec7b5fc8.entry.js → p-4a41b489.entry.js} +1 -1
- package/dist/calcite/p-4ee7aac6.entry.js +1 -0
- package/dist/calcite/p-4f24139e.system.entry.js +1 -0
- package/dist/calcite/{p-5b7ef513.system.js → p-4fce2a7a.system.js} +1 -1
- package/dist/calcite/p-52ae0e4a.entry.js +1 -0
- package/dist/calcite/p-55379ee6.system.entry.js +1 -0
- package/dist/calcite/{p-531b9a81.system.entry.js → p-55f7adaa.system.entry.js} +1 -1
- package/dist/calcite/{p-728c556a.system.entry.js → p-59f7b582.system.entry.js} +1 -1
- package/dist/calcite/p-5b2e8494.entry.js +1 -0
- package/dist/calcite/{p-61ef4e27.entry.js → p-5d57b25e.entry.js} +1 -1
- package/dist/calcite/p-5f50d376.system.entry.js +1 -0
- package/dist/calcite/{p-f9775a9d.entry.js → p-61471d5c.entry.js} +1 -1
- package/dist/calcite/p-62977e6b.system.entry.js +1 -0
- package/dist/calcite/p-6350bcd3.system.js +1 -0
- package/dist/calcite/p-66798503.entry.js +1 -0
- package/dist/calcite/p-674bc090.system.js +1 -0
- package/dist/calcite/{p-b86463e6.system.entry.js → p-675364da.system.entry.js} +1 -1
- package/dist/calcite/p-68206a3f.entry.js +1 -0
- package/dist/calcite/{p-35808614.entry.js → p-6b82c386.entry.js} +1 -1
- package/dist/calcite/p-6d98d9dc.system.entry.js +1 -0
- package/dist/calcite/{p-7084ba72.system.entry.js → p-6edac967.system.entry.js} +1 -1
- package/dist/calcite/p-74d42e2c.entry.js +1 -0
- package/dist/calcite/p-7506e28d.entry.js +1 -0
- package/dist/calcite/p-7521b7ab.system.entry.js +1 -0
- package/dist/calcite/p-753db53b.entry.js +1 -0
- package/dist/calcite/{p-0143d80a.system.entry.js → p-771da7ed.system.entry.js} +1 -1
- package/dist/calcite/{p-526c2f38.entry.js → p-77a53b72.entry.js} +1 -1
- package/dist/calcite/{p-245028cc.entry.js → p-77f3da33.entry.js} +1 -1
- package/dist/calcite/{p-0bc4ed41.system.entry.js → p-79e0b61b.system.entry.js} +1 -1
- package/dist/calcite/p-7a241325.system.entry.js +1 -0
- package/dist/calcite/p-7b71e1d4.js +1 -0
- package/dist/calcite/{p-9705826b.system.entry.js → p-7b856f76.system.entry.js} +1 -1
- package/dist/calcite/p-7c5c2b30.js +1 -0
- package/dist/calcite/p-7d1978f4.entry.js +1 -0
- package/dist/calcite/p-7d61c919.entry.js +1 -0
- package/dist/calcite/{p-e5a03e6b.system.entry.js → p-7e4be59e.system.entry.js} +1 -1
- package/dist/calcite/p-7ec8ab00.entry.js +1 -0
- package/dist/calcite/{p-8782aa79.entry.js → p-82be2fac.entry.js} +1 -1
- package/dist/calcite/{p-3ebef7b9.system.entry.js → p-835b14f7.system.entry.js} +1 -1
- package/dist/calcite/p-8943850c.entry.js +1 -0
- package/dist/calcite/p-8958d1f6.system.js +1 -0
- package/dist/calcite/p-8a16620b.system.js +1 -0
- package/dist/calcite/{p-585030e9.entry.js → p-8bce0bbf.entry.js} +1 -1
- package/dist/calcite/p-8c9b39be.system.js +1 -0
- package/dist/calcite/p-8d57e974.entry.js +1 -0
- package/dist/calcite/p-8d5f5ebf.js +1 -0
- package/dist/calcite/{p-becd3d35.js → p-8dc31333.js} +1 -1
- package/dist/calcite/p-8ef1afae.system.entry.js +1 -0
- package/dist/calcite/p-8fb7b17f.system.entry.js +1 -0
- package/dist/calcite/p-90b88d97.system.entry.js +1 -0
- package/dist/calcite/p-93dffbbd.entry.js +1 -0
- package/dist/calcite/p-950bdd5b.system.entry.js +1 -0
- package/dist/calcite/{p-a460e3dc.entry.js → p-95550217.entry.js} +1 -1
- package/dist/calcite/p-987310d2.system.js +1 -0
- package/dist/calcite/{p-14928bee.entry.js → p-99ce9de6.entry.js} +1 -1
- package/dist/calcite/p-9c371694.system.entry.js +1 -0
- package/dist/calcite/p-a096738b.system.entry.js +1 -0
- package/dist/calcite/p-a4d3e67f.entry.js +1 -0
- package/dist/calcite/p-a54a11ee.system.entry.js +1 -0
- package/dist/calcite/p-ac44517b.system.entry.js +1 -0
- package/dist/calcite/{p-3780d211.system.entry.js → p-ad290529.system.entry.js} +1 -1
- package/dist/calcite/{p-58d7d786.entry.js → p-aec1c004.entry.js} +1 -1
- package/dist/calcite/p-b10d0018.system.entry.js +1 -0
- package/dist/calcite/p-b286e0a5.system.entry.js +1 -0
- package/dist/calcite/p-b2a79aa2.system.entry.js +1 -0
- package/dist/calcite/p-b4cc79dc.system.js +1 -0
- package/dist/calcite/p-ba77eb78.entry.js +1 -0
- package/dist/calcite/{p-87524717.entry.js → p-bbffc12a.entry.js} +1 -1
- package/dist/calcite/{p-5e040210.system.entry.js → p-c0ee1569.system.entry.js} +1 -1
- package/dist/calcite/p-c15a632e.system.entry.js +1 -0
- package/dist/calcite/{p-4eabe0d4.system.entry.js → p-c23bfaf9.system.entry.js} +1 -1
- package/dist/calcite/p-c2cd9c1d.system.entry.js +1 -0
- package/dist/calcite/{p-eaf3e528.entry.js → p-c3a502d6.entry.js} +1 -1
- package/dist/calcite/{p-7d11fed5.system.entry.js → p-c4953aa6.system.entry.js} +1 -1
- package/dist/calcite/p-c5216cf9.entry.js +1 -0
- package/dist/calcite/p-c59d3bb3.system.entry.js +1 -0
- package/dist/calcite/p-c79fd1e1.entry.js +1 -0
- package/dist/calcite/p-c7d85b95.system.entry.js +1 -0
- package/dist/calcite/p-cb603214.entry.js +1 -0
- package/dist/calcite/p-cc7664db.entry.js +1 -0
- package/dist/calcite/{p-fd59e605.system.entry.js → p-d164c2f2.system.entry.js} +1 -1
- package/dist/calcite/p-d63d1c19.entry.js +1 -0
- package/dist/calcite/p-d74caa31.system.entry.js +1 -0
- package/dist/calcite/p-d7e0ef91.system.entry.js +1 -0
- package/dist/calcite/{p-02c649a5.system.entry.js → p-d8a015cb.system.entry.js} +1 -1
- package/dist/calcite/{p-ed1489e0.entry.js → p-d99dc0c0.entry.js} +1 -1
- package/dist/calcite/{p-150bb224.entry.js → p-dc043b78.entry.js} +1 -1
- package/dist/calcite/{p-c47fe2f9.js → p-dc825c55.js} +1 -1
- package/dist/calcite/p-dcfa0bba.js +1 -0
- package/dist/calcite/{p-a177a64e.system.entry.js → p-dd3f7c73.system.entry.js} +1 -1
- package/dist/calcite/{p-92d12490.system.entry.js → p-ddf50685.system.entry.js} +1 -1
- package/dist/calcite/p-de9b7982.system.entry.js +1 -0
- package/dist/calcite/{p-ac49579e.entry.js → p-df949bcc.entry.js} +1 -1
- package/dist/calcite/{p-79783728.entry.js → p-e1392ddf.entry.js} +1 -1
- package/dist/calcite/p-e3781613.entry.js +1 -0
- package/dist/calcite/{p-3c9923f1.system.js → p-e87acd87.system.js} +0 -0
- package/dist/calcite/p-ed68dd02.entry.js +1 -0
- package/dist/calcite/p-eea35b03.entry.js +1 -0
- package/dist/calcite/p-ef0ea98b.system.entry.js +1 -0
- package/dist/calcite/p-ef38dee8.js +1 -0
- package/dist/calcite/p-efe6556c.system.entry.js +1 -0
- package/dist/calcite/p-f02d04ab.system.js +1 -0
- package/dist/calcite/p-f1eca44a.entry.js +1 -0
- package/dist/calcite/{p-0e11eed4.system.entry.js → p-f1eddb0f.system.entry.js} +1 -1
- package/dist/calcite/{p-706789ab.entry.js → p-faac0f15.entry.js} +1 -1
- package/dist/calcite/p-fbf4ad06.entry.js +1 -0
- package/dist/cjs/{CalciteExpandToggle-f2905eb5.js → CalciteExpandToggle-b5735fd2.js} +5 -3
- package/dist/cjs/{CalciteHeading-cf7944a6.js → CalciteHeading-177f59f2.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +40 -26
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -3
- package/dist/cjs/calcite-action.cjs.entry.js +10 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +3 -3
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite-button.cjs.entry.js +20 -10
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -29
- package/dist/cjs/calcite-chip.cjs.entry.js +5 -2
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -12
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -25
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -5
- package/dist/cjs/calcite-fab.cjs.entry.js +3 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +6 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +7 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +103 -69
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +11 -12
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +21 -15
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +77 -62
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -2
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +27 -41
- package/dist/cjs/calcite-input.cjs.entry.js +20 -6
- package/dist/cjs/calcite-label.cjs.entry.js +17 -75
- package/dist/cjs/calcite-link.cjs.entry.js +10 -2
- package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +21 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -3
- package/dist/cjs/calcite-option_3.cjs.entry.js +25 -21
- package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +6 -5
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -8
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -4
- 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 +33 -33
- package/dist/cjs/calcite-radio_2.cjs.entry.js +47 -24
- package/dist/cjs/calcite-rating.cjs.entry.js +23 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +31 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-switch.cjs.entry.js +41 -37
- package/dist/cjs/calcite-tab_4.cjs.entry.js +20 -19
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -4
- package/dist/cjs/calcite-tip_3.cjs.entry.js +17 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -3
- package/dist/cjs/calcite-tree_2.cjs.entry.js +49 -16
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -4
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{dom-57231db9.js → dom-c9cafa59.js} +6 -7
- package/dist/cjs/{index-98b8a879.js → index-105d9087.js} +7 -0
- package/dist/cjs/label-80f9023b.js +54 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/observers-88b3a2d4.js +18 -0
- package/dist/cjs/{popper-f5801759.js → popper-a103e375.js} +24 -14
- package/dist/cjs/{resources-76d0fe7f.js → resources-41daa7d4.js} +2 -7
- package/dist/cjs/{resources-c4efb8e1.js → resources-bbca3cea.js} +6 -4
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +3 -0
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +8 -8
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +6 -7
- package/dist/collection/components/calcite-action/calcite-action.css +1 -1
- package/dist/collection/components/calcite-action/calcite-action.js +9 -5
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +61 -27
- package/dist/collection/components/calcite-action-bar/utils.js +1 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -2
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -1
- package/dist/collection/components/calcite-alert/calcite-alert.js +2 -2
- package/dist/collection/components/calcite-block/calcite-block.css +10 -7
- package/dist/collection/components/calcite-block/calcite-block.js +2 -2
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +17 -22
- package/dist/collection/components/calcite-button/calcite-button.js +25 -14
- package/dist/collection/components/calcite-card/calcite-card.js +1 -1
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +1 -1
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +25 -41
- package/dist/collection/components/calcite-chip/calcite-chip.js +11 -6
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +17 -10
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +3 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +26 -24
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +3 -0
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +3 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +9 -4
- package/dist/collection/components/calcite-date-picker/utils.js +1 -6
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +18 -15
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +12 -6
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +3 -0
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +7 -3
- package/dist/collection/components/calcite-fab/calcite-fab.js +2 -1
- package/dist/collection/components/calcite-filter/calcite-filter.css +6 -1
- package/dist/collection/components/calcite-filter/calcite-filter.js +4 -8
- package/dist/collection/components/calcite-flow/calcite-flow.js +6 -3
- package/dist/collection/components/calcite-handle/calcite-handle.js +2 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataMagnifyingGlass32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/diamond32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingDistance32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/drivingTime32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass16.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass24.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fileMagnifyingGlass32.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty24.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/hideEmpty32.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/mobileVibrate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingDistance32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ruralDrivingTime32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/search16.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/search24.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/search32.json +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor21.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor48.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/sensor64.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/showColumn32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/thumbsDown32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingDistance32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/truckingTime32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingDistance32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/walkingTime32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.js +9 -11
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -21
- package/dist/collection/components/calcite-input/calcite-input.css +4 -0
- package/dist/collection/components/calcite-input/calcite-input.js +27 -10
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +96 -65
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +5 -1
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +15 -26
- package/dist/collection/components/calcite-label/calcite-label.css +11 -11
- package/dist/collection/components/calcite-label/calcite-label.js +31 -94
- package/dist/collection/components/calcite-label/resources.js +2 -2
- package/dist/collection/components/calcite-link/calcite-link.js +13 -4
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +3 -6
- package/dist/collection/components/calcite-loader/calcite-loader.js +5 -2
- package/dist/collection/components/calcite-modal/calcite-modal.js +35 -19
- package/dist/collection/components/calcite-notice/calcite-notice.js +3 -3
- package/dist/collection/components/calcite-option/calcite-option.js +6 -3
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +3 -0
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -4
- package/dist/collection/components/calcite-panel/calcite-panel.css +11 -11
- package/dist/collection/components/calcite-panel/calcite-panel.js +11 -9
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +6 -3
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -2
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +10 -7
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -3
- package/dist/collection/components/calcite-popover/calcite-popover.js +9 -3
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +7 -2
- package/dist/collection/components/calcite-radio/calcite-radio.js +5 -5
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +48 -31
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +5 -5
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +31 -39
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +12 -11
- package/dist/collection/components/calcite-rating/calcite-rating.js +23 -20
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +3 -0
- package/dist/collection/components/calcite-select/calcite-select.js +22 -23
- package/dist/collection/components/calcite-shell/calcite-shell.js +16 -4
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +1 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +1 -1
- package/dist/collection/components/calcite-slider/calcite-slider.css +7 -5
- package/dist/collection/components/calcite-slider/calcite-slider.js +130 -85
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +13 -0
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +48 -7
- package/dist/collection/components/calcite-sortable-list/resources.js +4 -1
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +17 -5
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +3 -0
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +7 -7
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -0
- package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
- package/dist/collection/components/calcite-switch/calcite-switch.js +83 -51
- package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
- package/dist/collection/components/calcite-tab/calcite-tab.js +3 -0
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +7 -7
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +17 -10
- package/dist/collection/components/calcite-tabs/calcite-tabs.js +3 -2
- package/dist/collection/components/calcite-tile/calcite-tile.css +9 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +12 -4
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +5 -1
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +3 -0
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +15 -25
- package/dist/collection/components/calcite-tip/calcite-tip.css +10 -7
- package/dist/collection/components/calcite-tip/calcite-tip.js +8 -2
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +3 -0
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +12 -8
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +10 -5
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +120 -223
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +39 -9
- package/dist/collection/components/calcite-tree-item/resources.js +9 -5
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +6 -3
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +7 -2
- package/dist/collection/components/functional/CalciteExpandToggle.js +2 -1
- package/dist/collection/utils/dom.js +0 -3
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/label.js +47 -0
- package/dist/collection/utils/observers.js +15 -0
- package/dist/collection/utils/resources.js +20 -3
- package/dist/custom-elements/bundles/pick-list.js +2 -2
- package/dist/custom-elements/bundles/value-list.js +2 -2
- package/dist/custom-elements/index.js +5794 -5548
- package/dist/custom-elements/index.mjs +5794 -5548
- package/dist/esm/{CalciteExpandToggle-476279ee.js → CalciteExpandToggle-a149fed4.js} +5 -4
- package/dist/esm/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +5 -9
- package/dist/esm/calcite-action-bar.entry.js +40 -26
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +5 -3
- package/dist/esm/calcite-action-pad.entry.js +4 -3
- package/dist/esm/calcite-action.entry.js +10 -6
- package/dist/esm/calcite-alert.entry.js +3 -3
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block_2.entry.js +19 -21
- package/dist/esm/calcite-button.entry.js +20 -10
- package/dist/esm/calcite-card.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +18 -29
- package/dist/esm/calcite-chip.entry.js +5 -2
- package/dist/esm/calcite-color-picker_3.entry.js +19 -12
- package/dist/esm/calcite-combobox_3.entry.js +24 -25
- package/dist/esm/calcite-date-picker_4.entry.js +19 -13
- package/dist/esm/calcite-dropdown_3.entry.js +10 -5
- package/dist/esm/calcite-fab.entry.js +3 -2
- package/dist/esm/calcite-filter.entry.js +6 -8
- package/dist/esm/calcite-flow.entry.js +7 -4
- package/dist/esm/calcite-graph_2.entry.js +103 -69
- package/dist/esm/calcite-handle.entry.js +2 -1
- package/dist/esm/calcite-icon.entry.js +11 -12
- package/dist/esm/calcite-inline-editable.entry.js +21 -15
- package/dist/esm/calcite-input-date-picker.entry.js +77 -62
- package/dist/esm/calcite-input-message.entry.js +3 -2
- package/dist/esm/calcite-input-time-picker_2.entry.js +27 -41
- package/dist/esm/calcite-input.entry.js +20 -6
- package/dist/esm/calcite-label.entry.js +17 -75
- package/dist/esm/calcite-link.entry.js +10 -2
- package/dist/esm/calcite-list_3.entry.js +3 -3
- package/dist/esm/calcite-loader.entry.js +3 -1
- package/dist/esm/calcite-modal.entry.js +21 -10
- package/dist/esm/calcite-notice.entry.js +3 -3
- package/dist/esm/calcite-option_3.entry.js +25 -21
- package/dist/esm/calcite-pagination.entry.js +4 -4
- package/dist/esm/calcite-panel.entry.js +6 -5
- package/dist/esm/calcite-pick-list_3.entry.js +12 -8
- package/dist/esm/calcite-popover_2.entry.js +11 -4
- 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 +33 -33
- package/dist/esm/calcite-radio_2.entry.js +47 -24
- package/dist/esm/calcite-rating.entry.js +23 -14
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +11 -2
- package/dist/esm/calcite-sortable-list.entry.js +31 -8
- package/dist/esm/calcite-split-button.entry.js +9 -2
- package/dist/esm/calcite-stepper_2.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +41 -37
- package/dist/esm/calcite-tab_4.entry.js +20 -19
- package/dist/esm/calcite-tile-select_2.entry.js +3 -2
- package/dist/esm/calcite-tile.entry.js +11 -4
- package/dist/esm/calcite-tip_3.entry.js +17 -8
- package/dist/esm/calcite-tooltip_2.entry.js +4 -3
- package/dist/esm/calcite-tree_2.entry.js +49 -16
- package/dist/esm/calcite-value-list_2.entry.js +12 -4
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{dom-0b02c0cf.js → dom-b369a031.js} +7 -7
- package/dist/esm/{index-1554a132.js → index-f8f0bea7.js} +7 -0
- package/dist/esm/label-7b249c54.js +50 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/observers-c93d4fe5.js +16 -0
- package/dist/esm/{popper-58fae6b8.js → popper-2757192a.js} +24 -14
- package/dist/esm/{resources-91bd199f.js → resources-28d71943.js} +3 -8
- package/dist/esm/{resources-1a6ba3ca.js → resources-c651d73a.js} +6 -4
- package/dist/esm-es5/CalciteExpandToggle-a149fed4.js +1 -0
- package/dist/esm-es5/{CalciteHeading-ea5ec96c.js → CalciteHeading-29855e9f.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/dom-b369a031.js +1 -0
- package/dist/esm-es5/{index-1554a132.js → index-f8f0bea7.js} +0 -0
- package/dist/esm-es5/label-7b249c54.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/observers-c93d4fe5.js +1 -0
- package/dist/esm-es5/popper-2757192a.js +1 -0
- package/dist/esm-es5/resources-28d71943.js +1 -0
- package/dist/esm-es5/resources-c651d73a.js +1 -0
- package/dist/extras/docs-json.json +679 -440
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +3 -0
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +4 -0
- package/dist/types/components/calcite-action/calcite-action.d.ts +3 -2
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +11 -6
- package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +1 -0
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +1 -0
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +1 -1
- package/dist/types/components/calcite-block/calcite-block.d.ts +1 -1
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +1 -3
- package/dist/types/components/calcite-button/calcite-button.d.ts +11 -7
- package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +11 -7
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +6 -3
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -0
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +11 -4
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -0
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +3 -0
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +2 -2
- package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +1 -0
- package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +3 -1
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +5 -2
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +3 -0
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +5 -1
- package/dist/types/components/calcite-fab/calcite-fab.d.ts +1 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +3 -5
- package/dist/types/components/calcite-flow/calcite-flow.d.ts +1 -1
- package/dist/types/components/calcite-handle/calcite-handle.d.ts +1 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +8 -3
- package/dist/types/components/calcite-input/calcite-input.d.ts +8 -5
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +13 -12
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +4 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +8 -6
- package/dist/types/components/calcite-label/calcite-label.d.ts +9 -6
- package/dist/types/components/calcite-label/resources.d.ts +3 -0
- package/dist/types/components/calcite-link/calcite-link.d.ts +3 -2
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +2 -2
- package/dist/types/components/calcite-loader/calcite-loader.d.ts +1 -1
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +5 -5
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +2 -2
- package/dist/types/components/calcite-option-group/calcite-option-group.d.ts +3 -0
- package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +2 -2
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +9 -7
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +3 -1
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +2 -1
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +6 -0
- package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +1 -1
- package/dist/types/components/calcite-radio/calcite-radio.d.ts +3 -3
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +10 -4
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +4 -1
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +11 -5
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +1 -2
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +7 -2
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +3 -0
- package/dist/types/components/calcite-select/calcite-select.d.ts +9 -4
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +3 -3
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +1 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +1 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +36 -9
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +7 -2
- package/dist/types/components/calcite-sortable-list/resources.d.ts +3 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +6 -3
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +3 -0
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +3 -0
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +19 -7
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +3 -0
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +4 -1
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +6 -3
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +3 -2
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +2 -2
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +4 -0
- package/dist/types/components/calcite-tile-select-group/calcite-tile-select-group.d.ts +3 -0
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +1 -0
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +2 -1
- package/dist/types/components/calcite-tip-group/calcite-tip-group.d.ts +3 -0
- package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +3 -1
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +4 -0
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-tree-item/resources.d.ts +4 -0
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +3 -1
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +5 -0
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components.d.ts +266 -115
- package/dist/types/preact.d.ts +4 -3
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/date.d.ts +5 -0
- package/dist/types/utils/dom.d.ts +0 -1
- package/dist/types/utils/label.d.ts +30 -0
- package/dist/types/utils/observers.d.ts +13 -0
- package/dist/types/utils/resources.d.ts +7 -0
- package/hydrate/index.js +6083 -5737
- package/package.json +31 -32
- package/readme.md +5 -3
- 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-00483db2.entry.js +0 -1
- package/dist/calcite/p-02d538d1.entry.js +0 -1
- package/dist/calcite/p-047a81a3.system.entry.js +0 -1
- package/dist/calcite/p-05b94f96.system.entry.js +0 -1
- package/dist/calcite/p-08c520ab.entry.js +0 -1
- package/dist/calcite/p-093611e5.system.entry.js +0 -1
- package/dist/calcite/p-0db1b60a.entry.js +0 -1
- package/dist/calcite/p-0fb670d4.entry.js +0 -1
- package/dist/calcite/p-10f7294b.entry.js +0 -1
- package/dist/calcite/p-13ef1b53.system.js +0 -1
- package/dist/calcite/p-16b4f190.entry.js +0 -1
- package/dist/calcite/p-1a106eeb.system.js +0 -1
- package/dist/calcite/p-203a6353.system.entry.js +0 -1
- package/dist/calcite/p-27c361d6.system.entry.js +0 -1
- package/dist/calcite/p-2b637119.entry.js +0 -1
- package/dist/calcite/p-2be18acb.system.entry.js +0 -1
- package/dist/calcite/p-2c7e7100.entry.js +0 -1
- package/dist/calcite/p-2ef13248.system.entry.js +0 -1
- package/dist/calcite/p-3201ae19.system.entry.js +0 -1
- package/dist/calcite/p-32a36f7a.system.entry.js +0 -1
- package/dist/calcite/p-34ca7837.entry.js +0 -1
- package/dist/calcite/p-34f29ea4.system.entry.js +0 -1
- package/dist/calcite/p-34fb1f25.entry.js +0 -1
- package/dist/calcite/p-3673cde7.system.entry.js +0 -1
- package/dist/calcite/p-3a65f811.entry.js +0 -1
- package/dist/calcite/p-3be4b9aa.entry.js +0 -1
- package/dist/calcite/p-42da7fef.entry.js +0 -1
- package/dist/calcite/p-43012e6b.entry.js +0 -1
- package/dist/calcite/p-4a26a904.entry.js +0 -1
- package/dist/calcite/p-4be58665.entry.js +0 -1
- package/dist/calcite/p-4f499010.system.entry.js +0 -1
- package/dist/calcite/p-4fbdd4ed.system.entry.js +0 -1
- package/dist/calcite/p-50e479d9.entry.js +0 -1
- package/dist/calcite/p-5239d659.entry.js +0 -1
- package/dist/calcite/p-5299b13b.entry.js +0 -1
- package/dist/calcite/p-5375184d.system.entry.js +0 -1
- package/dist/calcite/p-586505c4.system.entry.js +0 -1
- package/dist/calcite/p-5890d56b.system.js +0 -1
- package/dist/calcite/p-5923992e.js +0 -1
- package/dist/calcite/p-64f42357.system.js +0 -1
- package/dist/calcite/p-6653b14e.entry.js +0 -1
- package/dist/calcite/p-66c45300.entry.js +0 -1
- package/dist/calcite/p-69c1ee7c.system.entry.js +0 -1
- package/dist/calcite/p-6c65d998.entry.js +0 -1
- package/dist/calcite/p-6e967236.system.entry.js +0 -1
- package/dist/calcite/p-72d6bba0.entry.js +0 -1
- package/dist/calcite/p-74c79844.system.entry.js +0 -1
- package/dist/calcite/p-74f6edf8.system.entry.js +0 -1
- package/dist/calcite/p-83c7204d.system.entry.js +0 -1
- package/dist/calcite/p-96deb83e.entry.js +0 -1
- package/dist/calcite/p-9d316477.system.entry.js +0 -1
- package/dist/calcite/p-a17fdd4d.system.entry.js +0 -1
- package/dist/calcite/p-a77b1cd0.entry.js +0 -1
- package/dist/calcite/p-a7a7301d.system.js +0 -1
- package/dist/calcite/p-a9dc52c5.system.entry.js +0 -1
- package/dist/calcite/p-aac1ce8a.system.entry.js +0 -1
- package/dist/calcite/p-ae2a0fdc.entry.js +0 -1
- package/dist/calcite/p-b4c1be3b.system.entry.js +0 -1
- package/dist/calcite/p-bb8ace16.js +0 -1
- package/dist/calcite/p-bd9a1bcb.system.entry.js +0 -1
- package/dist/calcite/p-c1089d9c.system.entry.js +0 -1
- package/dist/calcite/p-cd5299e3.system.entry.js +0 -1
- package/dist/calcite/p-ce1adba4.entry.js +0 -1
- package/dist/calcite/p-d06342ab.entry.js +0 -1
- package/dist/calcite/p-d06530e0.js +0 -1
- package/dist/calcite/p-d0f23a93.entry.js +0 -1
- package/dist/calcite/p-d54b30f0.js +0 -1
- package/dist/calcite/p-d5bd3f04.entry.js +0 -1
- package/dist/calcite/p-d716f0ee.system.entry.js +0 -1
- package/dist/calcite/p-d7b7568e.entry.js +0 -1
- package/dist/calcite/p-d7cbb59a.system.entry.js +0 -1
- package/dist/calcite/p-d81e8789.system.entry.js +0 -1
- package/dist/calcite/p-dbf798b1.system.entry.js +0 -1
- package/dist/calcite/p-e220ebdc.system.js +0 -1
- package/dist/calcite/p-ea8a5460.entry.js +0 -1
- package/dist/calcite/p-eb33c37f.entry.js +0 -1
- package/dist/calcite/p-eeb197c7.entry.js +0 -1
- package/dist/calcite/p-eeb4e8f1.system.entry.js +0 -1
- package/dist/calcite/p-f6d07921.entry.js +0 -1
- package/dist/calcite/p-f9f26b76.system.entry.js +0 -1
- package/dist/calcite/p-ff47c7f0.entry.js +0 -1
- 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/components/calcite-test/interfaces.js +0 -1
- package/dist/collection/components/functional/CalciteContentArea.js +0 -54
- package/dist/collection/demos/_assets/createAlert.js +0 -16
- 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/toggleBodyTheme.js +0 -13
- package/dist/collection/demos/_assets/toggles.js +0 -50
- package/dist/collection/demos/_assets/validateInput.js +0 -111
- package/dist/esm-es5/CalciteExpandToggle-476279ee.js +0 -1
- package/dist/esm-es5/dom-0b02c0cf.js +0 -1
- package/dist/esm-es5/popper-58fae6b8.js +0 -1
- package/dist/esm-es5/resources-1a6ba3ca.js +0 -1
- package/dist/esm-es5/resources-91bd199f.js +0 -1
- package/dist/types/components/calcite-label/interfaces.d.ts +0 -5
- package/dist/types/components/functional/CalciteContentArea.d.ts +0 -15
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { d as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { d as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-2757192a.js';
|
|
3
3
|
import { g as guid } from './guid-09142681.js';
|
|
4
|
-
import { q as queryElementRoots, g as getElementDir, C as CSS_UTILITY,
|
|
5
|
-
import { C as CalciteHeading } from './CalciteHeading-
|
|
4
|
+
import { q as queryElementRoots, g as getElementDir, C as CSS_UTILITY, h as queryElementsRoots } from './dom-b369a031.js';
|
|
5
|
+
import { C as CalciteHeading } from './CalciteHeading-29855e9f.js';
|
|
6
6
|
|
|
7
7
|
const CSS = {
|
|
8
8
|
container: "container",
|
|
@@ -169,6 +169,7 @@ const CalcitePopover = class {
|
|
|
169
169
|
// Public Methods
|
|
170
170
|
//
|
|
171
171
|
// --------------------------------------------------------------------------
|
|
172
|
+
/** Updates the position of the component. */
|
|
172
173
|
async reposition() {
|
|
173
174
|
const { popper, el, placement } = this;
|
|
174
175
|
const modifiers = this.getModifiers();
|
|
@@ -181,6 +182,7 @@ const CalcitePopover = class {
|
|
|
181
182
|
})
|
|
182
183
|
: this.createPopper();
|
|
183
184
|
}
|
|
185
|
+
/** Sets focus on the component. */
|
|
184
186
|
async setFocus(focusId) {
|
|
185
187
|
var _a;
|
|
186
188
|
const { closeButtonEl } = this;
|
|
@@ -191,6 +193,7 @@ const CalcitePopover = class {
|
|
|
191
193
|
}
|
|
192
194
|
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
|
193
195
|
}
|
|
196
|
+
/** Toggles the popover's open property. */
|
|
194
197
|
async toggle(value = !this.open) {
|
|
195
198
|
this.open = value;
|
|
196
199
|
}
|
|
@@ -303,6 +306,10 @@ const CalcitePopoverManager = class {
|
|
|
303
306
|
* @default `[data-calcite-popover-reference]`
|
|
304
307
|
*/
|
|
305
308
|
this.selector = `[${POPOVER_REFERENCE}]`;
|
|
309
|
+
/**
|
|
310
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
311
|
+
*/
|
|
312
|
+
this.autoClose = false;
|
|
306
313
|
//--------------------------------------------------------------------------
|
|
307
314
|
//
|
|
308
315
|
// Private Methods
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-f8f0bea7.js';
|
|
2
2
|
|
|
3
3
|
const calciteProgressCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:block;width:100%}.track,.bar{position:absolute;top:0;height:2px}.track{z-index:0;width:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{background-color:var(--calcite-ui-brand);z-index:0}.indeterminate{width:20%;-webkit-animation:looping-progress-bar-ani 2200ms linear infinite;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-top:1rem;padding-bottom:0;padding-left:0;padding-right:0;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@-webkit-keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f8f0bea7.js';
|
|
2
2
|
|
|
3
3
|
const calciteRadioButtonGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;max-width:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){grid-gap:1rem;gap:1rem}:host([layout=horizontal][scale=m]){grid-gap:1.25rem;gap:1.25rem}:host([layout=horizontal][scale=l]){grid-gap:1.5rem;gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";
|
|
4
4
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { g as getElementDir, d as getElementProp } from './dom-b369a031.js';
|
|
3
3
|
import { g as getKey } from './key-ec82f942.js';
|
|
4
|
+
import { c as connectLabel, d as disconnectLabel } from './label-7b249c54.js';
|
|
5
|
+
import { c as createObserver } from './observers-c93d4fe5.js';
|
|
4
6
|
import './guid-09142681.js';
|
|
5
7
|
|
|
6
8
|
const calciteRadioGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){width:100%;min-width:-moz-fit-content;min-width:-webkit-fit-content;min-width:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(calcite-radio-group-item[checked]),::slotted(calcite-radio-group-item:focus){z-index:0}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}";
|
|
@@ -16,6 +18,8 @@ const CalciteRadioGroup = class {
|
|
|
16
18
|
//--------------------------------------------------------------------------
|
|
17
19
|
/** specify the appearance style of the radio group, defaults to solid. */
|
|
18
20
|
this.appearance = "solid";
|
|
21
|
+
/** is the radio group disabled */
|
|
22
|
+
this.disabled = false;
|
|
19
23
|
/** specify the layout of the radio group, defaults to horizontal */
|
|
20
24
|
this.layout = "horizontal";
|
|
21
25
|
/** The scale of the radio group */
|
|
@@ -24,15 +28,28 @@ const CalciteRadioGroup = class {
|
|
|
24
28
|
this.width = "auto";
|
|
25
29
|
//--------------------------------------------------------------------------
|
|
26
30
|
//
|
|
27
|
-
//
|
|
31
|
+
// Event Listeners
|
|
28
32
|
//
|
|
29
33
|
//--------------------------------------------------------------------------
|
|
34
|
+
this.handleClick = (event) => {
|
|
35
|
+
if (event.target.localName === "calcite-radio-group-item") {
|
|
36
|
+
this.selectItem(event.target);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
30
39
|
this.hiddenInput = (() => {
|
|
31
40
|
const input = document.createElement("input");
|
|
32
41
|
input.type = "hidden";
|
|
33
42
|
this.el.appendChild(input);
|
|
34
43
|
return input;
|
|
35
44
|
})();
|
|
45
|
+
//--------------------------------------------------------------------------
|
|
46
|
+
//
|
|
47
|
+
// Private Methods
|
|
48
|
+
//
|
|
49
|
+
//--------------------------------------------------------------------------
|
|
50
|
+
this.onLabelClick = () => {
|
|
51
|
+
this.setFocus();
|
|
52
|
+
};
|
|
36
53
|
}
|
|
37
54
|
handleNameChange(value) {
|
|
38
55
|
this.hiddenInput.name = value;
|
|
@@ -76,27 +93,16 @@ const CalciteRadioGroup = class {
|
|
|
76
93
|
if (lastChecked) {
|
|
77
94
|
hiddenInput.value = lastChecked.value;
|
|
78
95
|
}
|
|
96
|
+
connectLabel(this);
|
|
97
|
+
}
|
|
98
|
+
disconnectedCallback() {
|
|
99
|
+
disconnectLabel(this);
|
|
79
100
|
}
|
|
80
101
|
componentDidLoad() {
|
|
81
102
|
this.hasLoaded = true;
|
|
82
103
|
}
|
|
83
104
|
render() {
|
|
84
|
-
return (h(Host, { role: "radiogroup", tabIndex: this.disabled ? -1 : null }, h("slot", null)));
|
|
85
|
-
}
|
|
86
|
-
//--------------------------------------------------------------------------
|
|
87
|
-
//
|
|
88
|
-
// Event Listeners
|
|
89
|
-
//
|
|
90
|
-
//--------------------------------------------------------------------------
|
|
91
|
-
handleLabelFocus(e) {
|
|
92
|
-
if (hasLabel(e.detail.labelEl, this.el)) {
|
|
93
|
-
this.setFocus();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
handleClick(event) {
|
|
97
|
-
if (event.target.localName === "calcite-radio-group-item") {
|
|
98
|
-
this.selectItem(event.target);
|
|
99
|
-
}
|
|
105
|
+
return (h(Host, { onClick: this.handleClick, role: "radiogroup", tabIndex: this.disabled ? -1 : null }, h("slot", null)));
|
|
100
106
|
}
|
|
101
107
|
handleSelected(event) {
|
|
102
108
|
// only fire after initial setup to prevent semi-infinite loops
|
|
@@ -155,16 +161,11 @@ const CalciteRadioGroup = class {
|
|
|
155
161
|
// Methods
|
|
156
162
|
//
|
|
157
163
|
// --------------------------------------------------------------------------
|
|
158
|
-
/**
|
|
164
|
+
/** Sets focus on the component. */
|
|
159
165
|
async setFocus() {
|
|
160
166
|
var _a;
|
|
161
167
|
(_a = (this.selectedItem || this.getItems()[0])) === null || _a === void 0 ? void 0 : _a.focus();
|
|
162
168
|
}
|
|
163
|
-
//--------------------------------------------------------------------------
|
|
164
|
-
//
|
|
165
|
-
// Private Methods
|
|
166
|
-
//
|
|
167
|
-
//--------------------------------------------------------------------------
|
|
168
169
|
getItems() {
|
|
169
170
|
return this.el.querySelectorAll("calcite-radio-group-item");
|
|
170
171
|
}
|
|
@@ -221,9 +222,11 @@ const CalciteRadioGroupItem = class {
|
|
|
221
222
|
//--------------------------------------------------------------------------
|
|
222
223
|
/** Indicates whether the control is checked. */
|
|
223
224
|
this.checked = false;
|
|
225
|
+
/** flip the icon in rtl */
|
|
226
|
+
this.iconFlipRtl = false;
|
|
224
227
|
/** optionally used with icon, select where to position the icon */
|
|
225
228
|
this.iconPosition = "start";
|
|
226
|
-
this.mutationObserver = this.
|
|
229
|
+
this.mutationObserver = createObserver("mutation", () => this.syncFromExternalInput());
|
|
227
230
|
}
|
|
228
231
|
handleCheckedChange() {
|
|
229
232
|
this.calciteRadioGroupItemChange.emit();
|
|
@@ -235,18 +238,18 @@ const CalciteRadioGroupItem = class {
|
|
|
235
238
|
//
|
|
236
239
|
//--------------------------------------------------------------------------
|
|
237
240
|
connectedCallback() {
|
|
241
|
+
var _a;
|
|
238
242
|
const inputProxy = this.el.querySelector(`input[slot=${SLOTS.input}]`);
|
|
239
243
|
if (inputProxy) {
|
|
240
244
|
this.value = inputProxy.value;
|
|
241
245
|
this.checked = inputProxy.checked;
|
|
242
|
-
{
|
|
243
|
-
this.mutationObserver.observe(inputProxy, { attributes: true });
|
|
244
|
-
}
|
|
246
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(inputProxy, { attributes: true });
|
|
245
247
|
}
|
|
246
248
|
this.inputProxy = inputProxy;
|
|
247
249
|
}
|
|
248
250
|
disconnectedCallback() {
|
|
249
|
-
|
|
251
|
+
var _a;
|
|
252
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
250
253
|
}
|
|
251
254
|
componentWillLoad() {
|
|
252
255
|
// only use default slot content in browsers that support shadow dom
|
|
@@ -274,9 +277,6 @@ const CalciteRadioGroupItem = class {
|
|
|
274
277
|
// Private Methods
|
|
275
278
|
//
|
|
276
279
|
//--------------------------------------------------------------------------
|
|
277
|
-
getMutationObserver() {
|
|
278
|
-
return new MutationObserver(() => this.syncFromExternalInput());
|
|
279
|
-
}
|
|
280
280
|
syncFromExternalInput() {
|
|
281
281
|
if (this.inputProxy) {
|
|
282
282
|
this.value = this.inputProxy.value;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, c as createEvent, g as getElement } from './index-f8f0bea7.js';
|
|
2
2
|
import { g as guid } from './guid-09142681.js';
|
|
3
|
-
import { f as focusElement, c as closestElementCrossShadowBoundary } from './dom-
|
|
3
|
+
import { f as focusElement, c as closestElementCrossShadowBoundary } from './dom-b369a031.js';
|
|
4
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-7b249c54.js';
|
|
4
5
|
import { h as hiddenInputStyle } from './form-8aa0d95b.js';
|
|
5
6
|
|
|
6
7
|
const calciteRadioCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
|
|
@@ -19,14 +20,14 @@ const CalciteRadio = class {
|
|
|
19
20
|
this.disabled = false;
|
|
20
21
|
/**
|
|
21
22
|
* The focused state of the radio.
|
|
22
|
-
* @
|
|
23
|
+
* @internal
|
|
23
24
|
*/
|
|
24
25
|
this.focused = false;
|
|
25
26
|
/** The radio's hidden status. */
|
|
26
27
|
this.hidden = false;
|
|
27
28
|
/**
|
|
28
29
|
* The hovered state of the radio.
|
|
29
|
-
* @
|
|
30
|
+
* @internal
|
|
30
31
|
*/
|
|
31
32
|
this.hovered = false;
|
|
32
33
|
/** The scale (size) of the radio. */
|
|
@@ -66,20 +67,56 @@ const CalciteRadioButton = class {
|
|
|
66
67
|
this.disabled = false;
|
|
67
68
|
/**
|
|
68
69
|
* The focused state of the radio button.
|
|
69
|
-
* @
|
|
70
|
+
* @internal
|
|
70
71
|
*/
|
|
71
72
|
this.focused = false;
|
|
72
73
|
/** The radio button's hidden status. When a radio button is hidden it is not focusable or checkable. */
|
|
73
74
|
this.hidden = false;
|
|
74
75
|
/**
|
|
75
76
|
* The hovered state of the radio button.
|
|
76
|
-
* @
|
|
77
|
+
* @internal
|
|
77
78
|
*/
|
|
78
79
|
this.hovered = false;
|
|
79
80
|
/** Requires that a value is selected for the radio button group before the parent form will submit. */
|
|
80
81
|
this.required = false;
|
|
81
82
|
/** The scale (size) of the radio button. `scale` is passed as a property automatically from `calcite-radio-button-group`. */
|
|
82
83
|
this.scale = "m";
|
|
84
|
+
//--------------------------------------------------------------------------
|
|
85
|
+
//
|
|
86
|
+
// Private Methods
|
|
87
|
+
//
|
|
88
|
+
//--------------------------------------------------------------------------
|
|
89
|
+
this.selectItem = (items, selectedIndex) => {
|
|
90
|
+
items.forEach((item, index) => {
|
|
91
|
+
const selected = index === selectedIndex;
|
|
92
|
+
item.checked = selected;
|
|
93
|
+
item.focused = selected;
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
this.toggle = () => {
|
|
97
|
+
this.uncheckAllRadioButtonsInGroup();
|
|
98
|
+
this.checked = true;
|
|
99
|
+
this.focused = true;
|
|
100
|
+
this.calciteRadioButtonChange.emit();
|
|
101
|
+
};
|
|
102
|
+
this.clickHandler = () => {
|
|
103
|
+
this.toggle();
|
|
104
|
+
};
|
|
105
|
+
this.onLabelClick = (event) => {
|
|
106
|
+
if (!this.disabled && !this.hidden) {
|
|
107
|
+
this.uncheckOtherRadioButtonsInGroup();
|
|
108
|
+
const label = event.currentTarget;
|
|
109
|
+
const radioButton = label.for
|
|
110
|
+
? this.rootNode.querySelector(`calcite-radio-button[id="${label.for}"]`)
|
|
111
|
+
: label.querySelector(`calcite-radio-button[name="${this.name}"]`);
|
|
112
|
+
if (radioButton) {
|
|
113
|
+
radioButton.checked = true;
|
|
114
|
+
radioButton.focused = true;
|
|
115
|
+
}
|
|
116
|
+
this.calciteRadioButtonChange.emit();
|
|
117
|
+
this.setFocus();
|
|
118
|
+
}
|
|
119
|
+
};
|
|
83
120
|
this.setInputEl = (el) => {
|
|
84
121
|
this.inputEl = el;
|
|
85
122
|
};
|
|
@@ -147,14 +184,10 @@ const CalciteRadioButton = class {
|
|
|
147
184
|
// Public Methods
|
|
148
185
|
//
|
|
149
186
|
//--------------------------------------------------------------------------
|
|
187
|
+
/** Sets focus on the component. */
|
|
150
188
|
async setFocus() {
|
|
151
189
|
focusElement(this.inputEl);
|
|
152
190
|
}
|
|
153
|
-
//--------------------------------------------------------------------------
|
|
154
|
-
//
|
|
155
|
-
// Private Methods
|
|
156
|
-
//
|
|
157
|
-
//--------------------------------------------------------------------------
|
|
158
191
|
checkLastRadioButton() {
|
|
159
192
|
const radioButtons = Array.from(this.rootNode.querySelectorAll("calcite-radio-button")).filter((radioButton) => radioButton.name === this.name);
|
|
160
193
|
const checkedRadioButtons = radioButtons.filter((radioButton) => radioButton.checked);
|
|
@@ -195,18 +228,6 @@ const CalciteRadioButton = class {
|
|
|
195
228
|
// Event Listeners
|
|
196
229
|
//
|
|
197
230
|
//--------------------------------------------------------------------------
|
|
198
|
-
check(event) {
|
|
199
|
-
// Prevent parent label from clicking the first radio when calcite-radio-button is clicked
|
|
200
|
-
if (this.el.closest("label") && event.composedPath().includes(this.el)) {
|
|
201
|
-
event.preventDefault();
|
|
202
|
-
}
|
|
203
|
-
if (!this.disabled && !this.hidden) {
|
|
204
|
-
this.uncheckOtherRadioButtonsInGroup();
|
|
205
|
-
this.checked = true;
|
|
206
|
-
this.focused = true;
|
|
207
|
-
this.calciteRadioButtonChange.emit();
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
231
|
mouseenter() {
|
|
211
232
|
this.hovered = true;
|
|
212
233
|
}
|
|
@@ -229,6 +250,7 @@ const CalciteRadioButton = class {
|
|
|
229
250
|
if (form) {
|
|
230
251
|
form.addEventListener("reset", this.formResetHandler);
|
|
231
252
|
}
|
|
253
|
+
connectLabel(this);
|
|
232
254
|
}
|
|
233
255
|
componentDidLoad() {
|
|
234
256
|
this.hideInputEl();
|
|
@@ -241,6 +263,7 @@ const CalciteRadioButton = class {
|
|
|
241
263
|
if (form) {
|
|
242
264
|
form.removeEventListener("reset", this.formResetHandler);
|
|
243
265
|
}
|
|
266
|
+
disconnectLabel(this);
|
|
244
267
|
}
|
|
245
268
|
// --------------------------------------------------------------------------
|
|
246
269
|
//
|
|
@@ -250,7 +273,7 @@ const CalciteRadioButton = class {
|
|
|
250
273
|
render() {
|
|
251
274
|
var _a;
|
|
252
275
|
const value = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString();
|
|
253
|
-
return (h("div", { class: CSS.container }, h("input", { "aria-label": this
|
|
276
|
+
return (h("div", { class: CSS.container, onClick: this.clickHandler }, h("input", { "aria-label": getLabelText(this), checked: this.checked, disabled: this.disabled, hidden: this.hidden, id: `${this.guid}-input`, name: this.name, onBlur: this.onInputBlur, onFocus: this.onInputFocus, ref: this.setInputEl, required: this.required, type: "radio", value: value }), h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale })));
|
|
254
277
|
}
|
|
255
278
|
get el() { return getElement(this); }
|
|
256
279
|
static get watchers() { return {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { g as getElementDir, C as CSS_UTILITY } from './dom-b369a031.js';
|
|
3
3
|
import { g as guid } from './guid-09142681.js';
|
|
4
|
+
import { c as connectLabel, d as disconnectLabel } from './label-7b249c54.js';
|
|
4
5
|
|
|
5
6
|
const TEXT = {
|
|
6
7
|
rating: "Rating",
|
|
@@ -36,20 +37,32 @@ const CalciteRating = class {
|
|
|
36
37
|
* @default "Stars: ${num}"
|
|
37
38
|
*/
|
|
38
39
|
this.intlStars = TEXT.stars;
|
|
40
|
+
//--------------------------------------------------------------------------
|
|
41
|
+
//
|
|
42
|
+
// Private Methods
|
|
43
|
+
//
|
|
44
|
+
//--------------------------------------------------------------------------
|
|
45
|
+
this.onLabelClick = () => {
|
|
46
|
+
this.setFocus();
|
|
47
|
+
};
|
|
39
48
|
this.guid = `calcite-ratings-${guid()}`;
|
|
40
49
|
}
|
|
41
50
|
//--------------------------------------------------------------------------
|
|
42
51
|
//
|
|
43
|
-
//
|
|
52
|
+
// Lifecycle
|
|
44
53
|
//
|
|
45
54
|
//--------------------------------------------------------------------------
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
55
|
+
connectedCallback() {
|
|
56
|
+
connectLabel(this);
|
|
57
|
+
}
|
|
58
|
+
disconnectedCallback() {
|
|
59
|
+
disconnectLabel(this);
|
|
52
60
|
}
|
|
61
|
+
//--------------------------------------------------------------------------
|
|
62
|
+
//
|
|
63
|
+
// Event Listeners
|
|
64
|
+
//
|
|
65
|
+
//--------------------------------------------------------------------------
|
|
53
66
|
blurHandler() {
|
|
54
67
|
this.hasFocus = false;
|
|
55
68
|
}
|
|
@@ -80,11 +93,6 @@ const CalciteRating = class {
|
|
|
80
93
|
return (h(Fragment, null, h("fieldset", { class: { fieldset: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, h("legend", { class: "visually-hidden" }, intlRating), this.renderStars()), (count || average) && showChip ? (h("calcite-chip", { class: { [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir, scale: scale, value: count === null || count === void 0 ? void 0 : count.toString() }, !!average && h("span", { class: "number--average" }, average.toString()), !!count && h("span", { class: "number--count" }, "(", count === null || count === void 0 ? void 0 :
|
|
81
94
|
count.toString(), ")"))) : null));
|
|
82
95
|
}
|
|
83
|
-
//--------------------------------------------------------------------------
|
|
84
|
-
//
|
|
85
|
-
// Private Methods
|
|
86
|
-
//
|
|
87
|
-
//--------------------------------------------------------------------------
|
|
88
96
|
updateValue(value) {
|
|
89
97
|
this.value = value;
|
|
90
98
|
this.calciteRatingChange.emit({ value });
|
|
@@ -94,6 +102,7 @@ const CalciteRating = class {
|
|
|
94
102
|
// Public Methods
|
|
95
103
|
//
|
|
96
104
|
//--------------------------------------------------------------------------
|
|
105
|
+
/** Sets focus on the component. */
|
|
97
106
|
async setFocus() {
|
|
98
107
|
this.inputFocusRef.focus();
|
|
99
108
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, F as Fragment, g as getElement, c as createEvent } from './index-
|
|
2
|
-
import { a as getSlotted, g as getElementDir, C as CSS_UTILITY } from './dom-
|
|
1
|
+
import { r as registerInstance, h, F as Fragment, g as getElement, c as createEvent } from './index-f8f0bea7.js';
|
|
2
|
+
import { a as getSlotted, g as getElementDir, C as CSS_UTILITY } from './dom-b369a031.js';
|
|
3
3
|
import './guid-09142681.js';
|
|
4
4
|
|
|
5
5
|
const CSS$2 = {
|
|
@@ -22,6 +22,15 @@ const calciteShellCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@key
|
|
|
22
22
|
const CalciteShell = class {
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
registerInstance(this, hostRef);
|
|
25
|
+
// --------------------------------------------------------------------------
|
|
26
|
+
//
|
|
27
|
+
// Properties
|
|
28
|
+
//
|
|
29
|
+
// --------------------------------------------------------------------------
|
|
30
|
+
/**
|
|
31
|
+
* Positions the center content behind any calcite-shell-panels.
|
|
32
|
+
*/
|
|
33
|
+
this.contentBehind = false;
|
|
25
34
|
}
|
|
26
35
|
// --------------------------------------------------------------------------
|
|
27
36
|
//
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-f8f0bea7.js';
|
|
2
2
|
import { S as Sortable } from './sortable.esm-2f5354d3.js';
|
|
3
|
+
import { c as createObserver } from './observers-c93d4fe5.js';
|
|
3
4
|
|
|
4
|
-
const
|
|
5
|
+
const CSS = {
|
|
6
|
+
sortItem: "sort-item",
|
|
7
|
+
container: "container",
|
|
8
|
+
containerHorizontal: "container--horizontal",
|
|
9
|
+
containerVertical: "container--vertical"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const calciteSortableListCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";
|
|
5
13
|
|
|
6
14
|
const CalciteSortableList = class {
|
|
7
15
|
constructor(hostRef) {
|
|
@@ -11,6 +19,10 @@ const CalciteSortableList = class {
|
|
|
11
19
|
* The selector for the handle elements.
|
|
12
20
|
*/
|
|
13
21
|
this.handleSelector = "calcite-handle";
|
|
22
|
+
/**
|
|
23
|
+
* Indicates the horizontal or vertical orientation of the component.
|
|
24
|
+
*/
|
|
25
|
+
this.layout = "vertical";
|
|
14
26
|
/**
|
|
15
27
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
16
28
|
*/
|
|
@@ -21,7 +33,8 @@ const CalciteSortableList = class {
|
|
|
21
33
|
this.loading = false;
|
|
22
34
|
this.handleActivated = false;
|
|
23
35
|
this.items = [];
|
|
24
|
-
this.
|
|
36
|
+
this.mutationObserver = createObserver("mutation", () => {
|
|
37
|
+
this.cleanUpDragAndDrop();
|
|
25
38
|
this.items = Array.from(this.el.children);
|
|
26
39
|
this.setUpDragAndDrop();
|
|
27
40
|
});
|
|
@@ -37,10 +50,12 @@ const CalciteSortableList = class {
|
|
|
37
50
|
this.beginObserving();
|
|
38
51
|
}
|
|
39
52
|
disconnectedCallback() {
|
|
40
|
-
|
|
53
|
+
var _a;
|
|
54
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
41
55
|
this.cleanUpDragAndDrop();
|
|
42
56
|
}
|
|
43
57
|
calciteHandleNudgeHandler(event) {
|
|
58
|
+
var _a;
|
|
44
59
|
const sortItem = this.items.find((item) => {
|
|
45
60
|
return item.contains(event.detail.handle) || event.composedPath().includes(item);
|
|
46
61
|
});
|
|
@@ -73,7 +88,7 @@ const CalciteSortableList = class {
|
|
|
73
88
|
default:
|
|
74
89
|
return;
|
|
75
90
|
}
|
|
76
|
-
this.
|
|
91
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
77
92
|
if (appendInstead) {
|
|
78
93
|
sortItem.parentElement.appendChild(sortItem);
|
|
79
94
|
}
|
|
@@ -103,7 +118,8 @@ const CalciteSortableList = class {
|
|
|
103
118
|
},
|
|
104
119
|
// Element dragging started
|
|
105
120
|
onStart: () => {
|
|
106
|
-
|
|
121
|
+
var _a;
|
|
122
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
107
123
|
},
|
|
108
124
|
// Element dragging ended
|
|
109
125
|
onEnd: () => {
|
|
@@ -121,7 +137,8 @@ const CalciteSortableList = class {
|
|
|
121
137
|
this.sortable = null;
|
|
122
138
|
}
|
|
123
139
|
beginObserving() {
|
|
124
|
-
|
|
140
|
+
var _a;
|
|
141
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
125
142
|
}
|
|
126
143
|
// --------------------------------------------------------------------------
|
|
127
144
|
//
|
|
@@ -129,7 +146,13 @@ const CalciteSortableList = class {
|
|
|
129
146
|
//
|
|
130
147
|
// --------------------------------------------------------------------------
|
|
131
148
|
render() {
|
|
132
|
-
|
|
149
|
+
const { layout } = this;
|
|
150
|
+
const horizontal = layout === "horizontal" || false;
|
|
151
|
+
return (h("div", { class: {
|
|
152
|
+
[CSS.container]: true,
|
|
153
|
+
[CSS.containerVertical]: !horizontal,
|
|
154
|
+
[CSS.containerHorizontal]: horizontal
|
|
155
|
+
} }, h("slot", null)));
|
|
133
156
|
}
|
|
134
157
|
get el() { return getElement(this); }
|
|
135
158
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
2
|
-
import { g as getElementDir } from './dom-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { g as getElementDir } from './dom-b369a031.js';
|
|
3
3
|
import './guid-09142681.js';
|
|
4
4
|
|
|
5
5
|
const CSS = {
|
|
@@ -22,6 +22,13 @@ const CalciteSplitButton = class {
|
|
|
22
22
|
this.appearance = "solid";
|
|
23
23
|
/** specify the color of the control, defaults to blue */
|
|
24
24
|
this.color = "blue";
|
|
25
|
+
/** is the control disabled */
|
|
26
|
+
this.disabled = false;
|
|
27
|
+
/**
|
|
28
|
+
* Is the dropdown currently active or not
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
this.active = false;
|
|
25
32
|
/** specify the icon used for the dropdown menu, defaults to chevron */
|
|
26
33
|
this.dropdownIconType = "chevron";
|
|
27
34
|
/** optionally add a calcite-loader component to the control,
|