@esri/calcite-components 1.0.0-beta.63 → 1.0.0-beta.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-icon/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/classifyObjects16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder32.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/dataRaster16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster32.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/distributeHeightEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.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/gridUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit32.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/horizontalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
- 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/newTraining16.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining32.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/retrain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain32.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/smartForm16.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm32.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/verticalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute32.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-010e5fb9.entry.js +1 -0
- package/dist/calcite/p-03b25bb5.entry.js +1 -0
- package/dist/calcite/p-058f3354.system.entry.js +1 -0
- package/dist/calcite/p-0671d67f.entry.js +1 -0
- package/dist/calcite/p-0a465f92.entry.js +1 -0
- package/dist/calcite/p-0aa3fc7e.entry.js +1 -0
- package/dist/calcite/p-0b539bae.system.entry.js +1 -0
- package/dist/calcite/p-0c356cca.entry.js +1 -0
- package/dist/calcite/p-1114dae7.entry.js +1 -0
- package/dist/calcite/{p-6e2cc57d.system.entry.js → p-14893331.system.entry.js} +1 -1
- package/dist/calcite/{p-19029579.system.entry.js → p-170fb8e8.system.entry.js} +1 -1
- package/dist/calcite/p-19a2021f.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-1c3c9e42.entry.js +1 -0
- package/dist/calcite/p-1df0fd29.system.entry.js +1 -0
- package/dist/calcite/p-203e04e5.entry.js +1 -0
- package/dist/calcite/{p-5247249f.system.entry.js → p-23b87c6a.system.entry.js} +1 -1
- package/dist/calcite/p-23edddc9.entry.js +1 -0
- package/dist/calcite/p-2e9e2b7c.entry.js +1 -0
- package/dist/calcite/{p-263e9c6f.js → p-30f1442b.js} +0 -0
- package/dist/calcite/p-32a0f498.entry.js +1 -0
- package/dist/calcite/p-340e1f88.entry.js +1 -0
- package/dist/calcite/p-38b3ff5f.system.entry.js +1 -0
- package/dist/calcite/{p-5c8268a5.system.entry.js → p-39b743d9.system.entry.js} +1 -1
- package/dist/calcite/p-3b55b390.entry.js +1 -0
- package/dist/calcite/p-3cdef0cd.entry.js +1 -0
- package/dist/calcite/p-43a9faca.js +1 -0
- package/dist/calcite/p-44810e63.entry.js +1 -0
- package/dist/calcite/p-4936ee1a.entry.js +1 -0
- package/dist/calcite/p-4a69f94f.entry.js +1 -0
- package/dist/calcite/p-4bb3e49c.entry.js +1 -0
- package/dist/calcite/p-4dc4c758.entry.js +1 -0
- package/dist/calcite/p-4e3dcb60.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-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-5eab55c1.entry.js +1 -0
- package/dist/calcite/p-5f50d376.system.entry.js +1 -0
- package/dist/calcite/p-62977e6b.system.entry.js +1 -0
- package/dist/calcite/p-6350bcd3.system.js +1 -0
- package/dist/calcite/p-65f4f1e9.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-69837b80.entry.js +1 -0
- package/dist/calcite/p-69e382de.entry.js +1 -0
- package/dist/calcite/p-6a7d2f7c.entry.js +1 -0
- package/dist/calcite/p-6cb2f24f.entry.js +1 -0
- 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-7521b7ab.system.entry.js +1 -0
- package/dist/calcite/{p-0143d80a.system.entry.js → p-771da7ed.system.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-7e4036a3.system.entry.js +1 -0
- package/dist/calcite/{p-e5a03e6b.system.entry.js → p-7e4be59e.system.entry.js} +1 -1
- package/dist/calcite/p-81371076.entry.js +1 -0
- package/dist/calcite/p-8242ef10.entry.js +1 -0
- package/dist/calcite/{p-3ebef7b9.system.entry.js → p-835b14f7.system.entry.js} +1 -1
- package/dist/calcite/p-875b172e.entry.js +1 -0
- package/dist/calcite/p-8958d1f6.system.js +1 -0
- package/dist/calcite/p-8975e7c8.entry.js +1 -0
- package/dist/calcite/p-8a16620b.system.js +1 -0
- package/dist/calcite/p-8cfab352.entry.js +1 -0
- package/dist/calcite/p-8d5f5ebf.js +1 -0
- package/dist/calcite/p-8d9bf455.entry.js +1 -0
- package/dist/calcite/{p-becd3d35.js → p-8dc31333.js} +1 -1
- package/dist/calcite/p-8e46c987.entry.js +1 -0
- 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-90ee6b48.entry.js +1 -0
- package/dist/calcite/p-93a7d961.system.entry.js +1 -0
- package/dist/calcite/p-950bdd5b.system.entry.js +1 -0
- package/dist/calcite/p-97b06cc3.entry.js +1 -0
- package/dist/calcite/p-987310d2.system.js +1 -0
- package/dist/calcite/p-9c371694.system.entry.js +1 -0
- package/dist/calcite/p-a096738b.system.entry.js +1 -0
- package/dist/calcite/p-a09cd797.entry.js +1 -0
- package/dist/calcite/p-a0d4c79d.entry.js +1 -0
- package/dist/calcite/p-a54a11ee.system.entry.js +1 -0
- package/dist/calcite/p-a75f07ae.entry.js +1 -0
- package/dist/calcite/p-a83557c6.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-b10d0018.system.entry.js +1 -0
- package/dist/calcite/p-b286e0a5.system.entry.js +1 -0
- package/dist/calcite/p-b2a6687b.system.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-bd291e00.entry.js +1 -0
- package/dist/calcite/p-be531ce4.system.entry.js +1 -0
- package/dist/calcite/p-be6b31d0.entry.js +1 -0
- package/dist/calcite/p-bfca7d51.entry.js +1 -0
- 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-7d11fed5.system.entry.js → p-c4953aa6.system.entry.js} +1 -1
- package/dist/calcite/p-c5257119.entry.js +1 -0
- package/dist/calcite/p-c59d3bb3.system.entry.js +1 -0
- package/dist/calcite/p-c95a18d4.entry.js +1 -0
- package/dist/calcite/p-cd8d0dda.entry.js +1 -0
- package/dist/calcite/p-cfdbd2e1.entry.js +1 -0
- package/dist/calcite/p-d2907af5.entry.js +1 -0
- package/dist/calcite/p-d2b9513d.entry.js +1 -0
- package/dist/calcite/p-d5e63242.entry.js +1 -0
- package/dist/calcite/p-d74caa31.system.entry.js +1 -0
- package/dist/calcite/p-d78a24bb.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-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-de00c01f.entry.js +1 -0
- package/dist/calcite/p-de9b7982.system.entry.js +1 -0
- package/dist/calcite/{p-3c9923f1.system.js → p-e87acd87.system.js} +0 -0
- package/dist/calcite/p-ebb0ef70.entry.js +1 -0
- package/dist/calcite/p-ec397dae.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-0e11eed4.system.entry.js → p-f1eddb0f.system.entry.js} +1 -1
- package/dist/calcite/p-f95c5864.entry.js +1 -0
- package/dist/calcite/p-fc725435.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 +9 -13
- package/dist/cjs/calcite-action-bar.cjs.entry.js +41 -27
- package/dist/cjs/calcite-action-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +6 -4
- package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -4
- package/dist/cjs/calcite-action.cjs.entry.js +11 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block_2.cjs.entry.js +22 -24
- package/dist/cjs/calcite-button.cjs.entry.js +21 -11
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +23 -33
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +22 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +27 -28
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +23 -17
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +18 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -3
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -9
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -5
- package/dist/cjs/calcite-graph_2.cjs.entry.js +105 -71
- package/dist/cjs/calcite-handle.cjs.entry.js +3 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +12 -13
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +22 -16
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +78 -63
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +29 -43
- package/dist/cjs/calcite-input.cjs.entry.js +21 -7
- package/dist/cjs/calcite-label.cjs.entry.js +19 -77
- package/dist/cjs/calcite-link.cjs.entry.js +11 -3
- package/dist/cjs/calcite-list_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +22 -11
- package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +28 -24
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +7 -6
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +13 -6
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +35 -35
- package/dist/cjs/calcite-radio_2.cjs.entry.js +56 -32
- package/dist/cjs/calcite-rating.cjs.entry.js +24 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +32 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +10 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +42 -38
- package/dist/cjs/calcite-tab_4.cjs.entry.js +24 -23
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +22 -8
- package/dist/cjs/calcite-tile.cjs.entry.js +12 -5
- package/dist/cjs/calcite-tip_3.cjs.entry.js +21 -12
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +51 -18
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -8
- 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 +8 -9
- package/dist/collection/components/calcite-action/calcite-action.css +39 -7
- 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 +11 -7
- package/dist/collection/components/calcite-block/calcite-block.js +2 -2
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +7 -14
- 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 +48 -46
- 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.css +0 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +16 -7
- package/dist/collection/components/calcite-dropdown/resources.js +3 -0
- 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/classifyObjects16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.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/dataRaster16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.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/distributeHeightEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.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/gridUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.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/horizontalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
- 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/newTraining16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.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/retrain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.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/smartForm16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.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/verticalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.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 +33 -96
- package/dist/collection/components/calcite-label/resources.js +3 -0
- 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 +9 -13
- 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 +21 -20
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +14 -13
- 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 +78 -42
- 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 +51 -13
- 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 +12 -6
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -1
- package/dist/collection/components/calcite-tree/calcite-tree.js +1 -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 +42 -8
- package/dist/collection/components/calcite-tree-item/resources.js +9 -5
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +7 -12
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +7 -4
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +8 -12
- 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 +5904 -5640
- package/dist/custom-elements/index.mjs +5904 -5640
- 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 +9 -13
- package/dist/esm/calcite-action-bar.entry.js +41 -27
- package/dist/esm/calcite-action-group.entry.js +3 -3
- package/dist/esm/calcite-action-menu.entry.js +6 -4
- package/dist/esm/calcite-action-pad.entry.js +5 -4
- package/dist/esm/calcite-action.entry.js +11 -7
- package/dist/esm/calcite-alert.entry.js +4 -4
- package/dist/esm/calcite-avatar.entry.js +3 -3
- package/dist/esm/calcite-block_2.entry.js +22 -24
- package/dist/esm/calcite-button.entry.js +21 -11
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +23 -33
- package/dist/esm/calcite-chip.entry.js +6 -3
- package/dist/esm/calcite-color-picker_3.entry.js +22 -15
- package/dist/esm/calcite-combobox_3.entry.js +27 -28
- package/dist/esm/calcite-date-picker_4.entry.js +23 -17
- package/dist/esm/calcite-dropdown_3.entry.js +18 -10
- package/dist/esm/calcite-fab.entry.js +4 -3
- package/dist/esm/calcite-filter.entry.js +7 -9
- package/dist/esm/calcite-flow.entry.js +8 -5
- package/dist/esm/calcite-graph_2.entry.js +105 -71
- package/dist/esm/calcite-handle.entry.js +3 -2
- package/dist/esm/calcite-icon.entry.js +12 -13
- package/dist/esm/calcite-inline-editable.entry.js +22 -16
- package/dist/esm/calcite-input-date-picker.entry.js +78 -63
- package/dist/esm/calcite-input-message.entry.js +4 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +29 -43
- package/dist/esm/calcite-input.entry.js +21 -7
- package/dist/esm/calcite-label.entry.js +19 -77
- package/dist/esm/calcite-link.entry.js +11 -3
- package/dist/esm/calcite-list_3.entry.js +6 -6
- package/dist/esm/calcite-loader.entry.js +4 -2
- package/dist/esm/calcite-modal.entry.js +22 -11
- package/dist/esm/calcite-notice.entry.js +4 -4
- package/dist/esm/calcite-option_3.entry.js +28 -24
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +7 -6
- package/dist/esm/calcite-pick-list_3.entry.js +16 -12
- package/dist/esm/calcite-popover_2.entry.js +13 -6
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-group_2.entry.js +35 -35
- package/dist/esm/calcite-radio_2.entry.js +56 -32
- package/dist/esm/calcite-rating.entry.js +24 -15
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +14 -5
- package/dist/esm/calcite-sortable-list.entry.js +32 -9
- package/dist/esm/calcite-split-button.entry.js +10 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +42 -38
- package/dist/esm/calcite-tab_4.entry.js +24 -23
- package/dist/esm/calcite-tile-select_2.entry.js +22 -8
- package/dist/esm/calcite-tile.entry.js +12 -5
- package/dist/esm/calcite-tip_3.entry.js +21 -12
- package/dist/esm/calcite-tooltip_2.entry.js +6 -5
- package/dist/esm/calcite-tree_2.entry.js +51 -18
- package/dist/esm/calcite-value-list_2.entry.js +16 -8
- 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 +753 -455
- package/dist/loader/index.d.ts +0 -1
- 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 +14 -7
- package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +19 -9
- 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 +7 -1
- package/dist/types/components/calcite-dropdown/resources.d.ts +3 -0
- 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 +10 -7
- 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 +18 -7
- 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 +14 -5
- 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/calcite-tree.d.ts +1 -1
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +6 -0
- package/dist/types/components/calcite-tree-item/resources.d.ts +4 -0
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +4 -2
- 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 +272 -117
- package/dist/types/preact.d.ts +14 -9
- 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 +6169 -5795
- package/package.json +32 -33
- package/readme.md +6 -4
- package/CHANGELOG.md +0 -1384
- 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-026e5d0c.system.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-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-14928bee.entry.js +0 -1
- package/dist/calcite/p-150bb224.entry.js +0 -1
- package/dist/calcite/p-16b4f190.entry.js +0 -1
- package/dist/calcite/p-1898df81.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-245028cc.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-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-33a9757a.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-35808614.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-3cafd8b4.system.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-44334c0c.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-526c2f38.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-585030e9.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-58d7d786.entry.js +0 -1
- package/dist/calcite/p-5923992e.js +0 -1
- package/dist/calcite/p-6105dfb5.system.entry.js +0 -1
- package/dist/calcite/p-61ef4e27.entry.js +0 -1
- package/dist/calcite/p-6386710d.entry.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-6c65d998.entry.js +0 -1
- package/dist/calcite/p-6e967236.system.entry.js +0 -1
- package/dist/calcite/p-706789ab.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-79783728.entry.js +0 -1
- package/dist/calcite/p-83c7204d.system.entry.js +0 -1
- package/dist/calcite/p-84febadc.system.entry.js +0 -1
- package/dist/calcite/p-87524717.entry.js +0 -1
- package/dist/calcite/p-8782aa79.entry.js +0 -1
- package/dist/calcite/p-8acc47be.system.entry.js +0 -1
- package/dist/calcite/p-94ab12bc.entry.js +0 -1
- package/dist/calcite/p-9533d655.entry.js +0 -1
- package/dist/calcite/p-96deb83e.entry.js +0 -1
- package/dist/calcite/p-9ba36e44.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-a460e3dc.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-ac49579e.entry.js +0 -1
- package/dist/calcite/p-ae2a0fdc.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-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-e14d8072.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-eaf3e528.entry.js +0 -1
- package/dist/calcite/p-ec7b5fc8.entry.js +0 -1
- package/dist/calcite/p-ed1489e0.entry.js +0 -1
- package/dist/calcite/p-eeb197c7.entry.js +0 -1
- package/dist/calcite/p-f31eea01.system.entry.js +0 -1
- package/dist/calcite/p-f6d07921.entry.js +0 -1
- package/dist/calcite/p-f9775a9d.entry.js +0 -1
- package/dist/calcite/p-f9f26b76.system.entry.js +0 -1
- package/dist/calcite/p-fd59e605.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-test/interfaces.js +0 -1
- package/dist/collection/components/functional/CalciteContentArea.js +0 -54
- package/dist/collection/demos/_assets/demo-form.js +0 -23
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -13
- package/dist/collection/demos/_assets/demoPageReloader.js +0 -10
- package/dist/collection/demos/_assets/head.js +0 -51
- package/dist/collection/demos/_assets/loadingButton.js +0 -5
- package/dist/collection/demos/_assets/locales.js +0 -50
- package/dist/collection/demos/_assets/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,5 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
2
|
-
import { d as getElementProp } from './dom-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { d as getElementProp } from './dom-b369a031.js';
|
|
3
|
+
import { c as connectLabel, d as disconnectLabel } from './label-7b249c54.js';
|
|
3
4
|
import './guid-09142681.js';
|
|
4
5
|
|
|
5
6
|
const CSS = {
|
|
@@ -19,7 +20,7 @@ const TEXT = {
|
|
|
19
20
|
|
|
20
21
|
const calciteInlineEditableCss = "@-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)}}.sc-calcite-inline-editable:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-inline-editable{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.sc-calcite-inline-editable{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-inline-editable{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-inline-editable{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-inline-editable{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-inline-editable:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-inline-editable-h{display:none}[scale=s].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:1.5rem}[scale=m].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:2rem}[scale=l].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:2.75rem}.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]) .calcite-inline-editable__wrapper.sc-calcite-inline-editable:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-inline-editable__wrapper.sc-calcite-inline-editable{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-inline-editable__wrapper.sc-calcite-inline-editable .calcite-inline-editable__input-wrapper.sc-calcite-inline-editable{-ms-flex:1 1 0%;flex:1 1 0%}.calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{display:-ms-flexbox;display:flex}[disabled].sc-calcite-inline-editable-h .calcite-inline-editable__cancel-editing-button-wrapper.sc-calcite-inline-editable{border-color:var(--calcite-ui-border-2)}.sc-calcite-inline-editable-h.sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h.sc-calcite-inline-editable-s .calcite-input__element-wrapper input{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper{background-color:transparent}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .sc-calcite-input{display:none}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper{display:-ms-flexbox;display:flex;cursor:pointer}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{display:-ms-flexbox;display:flex;cursor:pointer;padding-left:0;border-color:transparent}.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]):hover.sc-calcite-inline-editable-s textarea,.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]):hover.sc-calcite-inline-editable-s input{background-color:var(--calcite-ui-foreground-2)}.sc-calcite-inline-editable-h[dir=rtl]:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h[dir=rtl]:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{padding-left:unset;padding-right:0}[dir=rtl] .sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,[dir=rtl] .sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{padding-left:unset;padding-right:0}";
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
let CalciteInlineEditable = class {
|
|
23
24
|
constructor(hostRef) {
|
|
24
25
|
registerInstance(this, hostRef);
|
|
25
26
|
this.calciteInlineEditableEditingCancel = createEvent(this, "calciteInlineEditableEditingCancel", 7);
|
|
@@ -50,6 +51,9 @@ const CalciteInlineEditable = class {
|
|
|
50
51
|
* @default "Save"
|
|
51
52
|
*/
|
|
52
53
|
this.intlConfirmChanges = TEXT.intlConfirmChanges;
|
|
54
|
+
this.onLabelClick = () => {
|
|
55
|
+
this.setFocus();
|
|
56
|
+
};
|
|
53
57
|
this.editingCancelTransitionProp = "border-top-color";
|
|
54
58
|
//--------------------------------------------------------------------------
|
|
55
59
|
//
|
|
@@ -140,6 +144,12 @@ const CalciteInlineEditable = class {
|
|
|
140
144
|
this.htmlInput.tabIndex = -1;
|
|
141
145
|
}
|
|
142
146
|
}
|
|
147
|
+
connectedCallback() {
|
|
148
|
+
connectLabel(this);
|
|
149
|
+
}
|
|
150
|
+
disconnectedCallback() {
|
|
151
|
+
disconnectLabel(this);
|
|
152
|
+
}
|
|
143
153
|
render() {
|
|
144
154
|
return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd }, h("div", { class: CSS.inputWrapper }, h("slot", null)), h("div", { class: CSS.controlsWrapper }, !this.editingEnabled && (h("calcite-button", { appearance: "transparent", class: CSS.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale })), this.shouldShowControls && [
|
|
145
155
|
h("div", { class: CSS.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, scale: this.scale })),
|
|
@@ -156,22 +166,18 @@ const CalciteInlineEditable = class {
|
|
|
156
166
|
this.disableEditing();
|
|
157
167
|
}
|
|
158
168
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
e.preventDefault();
|
|
169
|
-
e.stopPropagation();
|
|
169
|
+
//--------------------------------------------------------------------------
|
|
170
|
+
//
|
|
171
|
+
// Public Methods
|
|
172
|
+
//
|
|
173
|
+
//--------------------------------------------------------------------------
|
|
174
|
+
async setFocus() {
|
|
175
|
+
var _a, _b;
|
|
170
176
|
if (this.editingEnabled) {
|
|
171
|
-
this.inputElement.setFocus();
|
|
177
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
172
178
|
}
|
|
173
179
|
else {
|
|
174
|
-
this.enableEditingButton.setFocus();
|
|
180
|
+
(_b = this.enableEditingButton) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
175
181
|
}
|
|
176
182
|
}
|
|
177
183
|
get shouldShowControls() {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { T as TEXT, d as
|
|
3
|
-
import { g as getElementDir } from './dom-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-28d71943.js';
|
|
3
|
+
import { g as getElementDir } from './dom-b369a031.js';
|
|
4
4
|
import { g as getKey } from './key-ec82f942.js';
|
|
5
|
-
import {
|
|
5
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-7b249c54.js';
|
|
6
|
+
import { u as updatePopper, C as CSS, c as createPopper } from './popper-2757192a.js';
|
|
6
7
|
import './locale-8436bbe1.js';
|
|
7
8
|
import './number-358ca1d4.js';
|
|
8
9
|
import './guid-09142681.js';
|
|
@@ -10,7 +11,7 @@ import './guid-09142681.js';
|
|
|
10
11
|
const calciteInputDatePickerCss = "@-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}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";
|
|
11
12
|
|
|
12
13
|
const DEFAULT_PLACEMENT = "bottom-leading";
|
|
13
|
-
|
|
14
|
+
let CalciteInputDatePicker = class {
|
|
14
15
|
constructor(hostRef) {
|
|
15
16
|
registerInstance(this, hostRef);
|
|
16
17
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
@@ -39,11 +40,6 @@ const CalciteInputDatePicker = class {
|
|
|
39
40
|
this.proximitySelectionDisabled = false;
|
|
40
41
|
/** Layout */
|
|
41
42
|
this.layout = "horizontal";
|
|
42
|
-
//--------------------------------------------------------------------------
|
|
43
|
-
//
|
|
44
|
-
// Private State/Props
|
|
45
|
-
//
|
|
46
|
-
//--------------------------------------------------------------------------
|
|
47
43
|
this.focusedInput = "start";
|
|
48
44
|
this.activeTransitionProp = "opacity";
|
|
49
45
|
//--------------------------------------------------------------------------
|
|
@@ -51,6 +47,9 @@ const CalciteInputDatePicker = class {
|
|
|
51
47
|
// Private Methods
|
|
52
48
|
//
|
|
53
49
|
//--------------------------------------------------------------------------
|
|
50
|
+
this.onLabelClick = () => {
|
|
51
|
+
this.setFocus();
|
|
52
|
+
};
|
|
54
53
|
this.transitionEnd = (event) => {
|
|
55
54
|
if (event.propertyName === this.activeTransitionProp) {
|
|
56
55
|
this.active
|
|
@@ -58,6 +57,9 @@ const CalciteInputDatePicker = class {
|
|
|
58
57
|
: this.calciteInputDatePickerClose.emit();
|
|
59
58
|
}
|
|
60
59
|
};
|
|
60
|
+
this.setStartInput = (el) => {
|
|
61
|
+
this.startInput = el;
|
|
62
|
+
};
|
|
61
63
|
this.setEndInput = (el) => {
|
|
62
64
|
this.endInput = el;
|
|
63
65
|
};
|
|
@@ -104,22 +106,21 @@ const CalciteInputDatePicker = class {
|
|
|
104
106
|
if (this.range) {
|
|
105
107
|
return;
|
|
106
108
|
}
|
|
107
|
-
this.
|
|
108
|
-
};
|
|
109
|
-
this.focusInputEnd = () => {
|
|
110
|
-
var _a;
|
|
111
|
-
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
112
|
-
this.el.removeEventListener("calciteInputDatePickerOpen", this.focusInputEnd);
|
|
109
|
+
this.value = dateToISO(event.detail);
|
|
113
110
|
};
|
|
114
111
|
this.handleDateRangeChange = (event) => {
|
|
112
|
+
var _a, _b;
|
|
115
113
|
if (!this.range || !event.detail) {
|
|
116
114
|
return;
|
|
117
115
|
}
|
|
118
116
|
const { startDate, endDate } = event.detail;
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
117
|
+
this.start = dateToISO(startDate);
|
|
118
|
+
this.end = dateToISO(endDate);
|
|
121
119
|
if (this.shouldFocusRangeEnd()) {
|
|
122
|
-
this.
|
|
120
|
+
(_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
121
|
+
}
|
|
122
|
+
else if (this.shouldFocusRangeStart()) {
|
|
123
|
+
(_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
123
124
|
}
|
|
124
125
|
};
|
|
125
126
|
}
|
|
@@ -132,16 +133,22 @@ const CalciteInputDatePicker = class {
|
|
|
132
133
|
//
|
|
133
134
|
//--------------------------------------------------------------------------
|
|
134
135
|
calciteDaySelectHandler() {
|
|
135
|
-
if (this.shouldFocusRangeEnd()) {
|
|
136
|
+
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
136
137
|
return;
|
|
137
138
|
}
|
|
138
139
|
this.active = false;
|
|
139
140
|
}
|
|
140
|
-
|
|
141
|
+
// --------------------------------------------------------------------------
|
|
141
142
|
//
|
|
142
143
|
// Public Methods
|
|
143
144
|
//
|
|
144
|
-
|
|
145
|
+
// --------------------------------------------------------------------------
|
|
146
|
+
/** Updates the position of the component. */
|
|
147
|
+
async setFocus() {
|
|
148
|
+
var _a;
|
|
149
|
+
(_a = this.startInput) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
150
|
+
}
|
|
151
|
+
/** Updates the position of the component. */
|
|
145
152
|
async reposition() {
|
|
146
153
|
const { popper, menuEl } = this;
|
|
147
154
|
const modifiers = this.getModifiers();
|
|
@@ -164,10 +171,10 @@ const CalciteInputDatePicker = class {
|
|
|
164
171
|
this.valueAsDate = dateFromISO(this.value);
|
|
165
172
|
}
|
|
166
173
|
if (this.start) {
|
|
167
|
-
this.
|
|
174
|
+
this.startAsDate = dateFromISO(this.start);
|
|
168
175
|
}
|
|
169
176
|
if (this.end) {
|
|
170
|
-
this.
|
|
177
|
+
this.endAsDate = dateFromISO(this.end);
|
|
171
178
|
}
|
|
172
179
|
if (this.min) {
|
|
173
180
|
this.minAsDate = dateFromISO(this.min);
|
|
@@ -176,12 +183,14 @@ const CalciteInputDatePicker = class {
|
|
|
176
183
|
this.maxAsDate = dateFromISO(this.max);
|
|
177
184
|
}
|
|
178
185
|
this.createPopper();
|
|
186
|
+
connectLabel(this);
|
|
179
187
|
}
|
|
180
188
|
async componentWillLoad() {
|
|
181
189
|
await this.loadLocaleData();
|
|
182
190
|
}
|
|
183
191
|
disconnectedCallback() {
|
|
184
192
|
this.destroyPopper();
|
|
193
|
+
disconnectLabel(this);
|
|
185
194
|
}
|
|
186
195
|
render() {
|
|
187
196
|
var _a, _b;
|
|
@@ -192,7 +201,7 @@ const CalciteInputDatePicker = class {
|
|
|
192
201
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
193
202
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
194
203
|
const dir = getElementDir(this.el);
|
|
195
|
-
return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", dir: dir, role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, icon: "calendar", "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl }, h("div", { class: {
|
|
204
|
+
return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", dir: dir, role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl }, h("div", { class: {
|
|
196
205
|
["calendar-picker-wrapper"]: true,
|
|
197
206
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
198
207
|
[CSS.animation]: true,
|
|
@@ -246,58 +255,58 @@ const CalciteInputDatePicker = class {
|
|
|
246
255
|
this.valueAsDate = dateFromISO(value);
|
|
247
256
|
}
|
|
248
257
|
startWatcher(start) {
|
|
249
|
-
this.
|
|
258
|
+
this.startAsDate = dateFromISO(start);
|
|
250
259
|
}
|
|
251
260
|
endWatcher(end) {
|
|
252
|
-
this.
|
|
261
|
+
this.endAsDate = dateFromISO(end);
|
|
253
262
|
}
|
|
254
263
|
async loadLocaleData() {
|
|
255
264
|
const { locale } = this;
|
|
256
265
|
this.localeData = await getLocaleData(locale);
|
|
257
266
|
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
clearCurrentValue() {
|
|
268
|
+
if (!this.range) {
|
|
269
|
+
this.value = undefined;
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
const { focusedInput } = this;
|
|
273
|
+
if (focusedInput === "start") {
|
|
274
|
+
this.start = undefined;
|
|
275
|
+
}
|
|
276
|
+
else if (focusedInput === "end") {
|
|
277
|
+
this.end = undefined;
|
|
278
|
+
}
|
|
269
279
|
}
|
|
270
280
|
/**
|
|
271
281
|
* If inputted string is a valid date, update value/active
|
|
272
282
|
*/
|
|
273
283
|
input(value) {
|
|
274
284
|
const date = this.getDateFromInput(value);
|
|
275
|
-
if (date) {
|
|
276
|
-
|
|
277
|
-
|
|
285
|
+
if (!date) {
|
|
286
|
+
this.clearCurrentValue();
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
if (!this.range) {
|
|
290
|
+
this.value = dateToISO(date);
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
const { focusedInput } = this;
|
|
294
|
+
if (focusedInput === "start") {
|
|
295
|
+
if (!this.startAsDate || !sameDate(date, this.startAsDate)) {
|
|
296
|
+
this.start = dateToISO(date);
|
|
297
|
+
this.calciteDatePickerRangeChange.emit({
|
|
298
|
+
startDate: date,
|
|
299
|
+
endDate: this.endAsDate
|
|
300
|
+
});
|
|
278
301
|
}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
endDate: this.endAsDate
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
else if (this.focusedInput === "end") {
|
|
292
|
-
changed = !this.endAsDate || !sameDate(date, this.endAsDate);
|
|
293
|
-
if (changed) {
|
|
294
|
-
this.endAsDate = date;
|
|
295
|
-
this.calciteDatePickerRangeChange.emit({
|
|
296
|
-
startDate: this.startAsDate,
|
|
297
|
-
endDate: date
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
}
|
|
302
|
+
}
|
|
303
|
+
else if (focusedInput === "end") {
|
|
304
|
+
if (!this.endAsDate || !sameDate(date, this.endAsDate)) {
|
|
305
|
+
this.end = dateToISO(date);
|
|
306
|
+
this.calciteDatePickerRangeChange.emit({
|
|
307
|
+
startDate: this.startAsDate,
|
|
308
|
+
endDate: date
|
|
309
|
+
});
|
|
301
310
|
}
|
|
302
311
|
}
|
|
303
312
|
}
|
|
@@ -319,6 +328,12 @@ const CalciteInputDatePicker = class {
|
|
|
319
328
|
}
|
|
320
329
|
}
|
|
321
330
|
}
|
|
331
|
+
shouldFocusRangeStart() {
|
|
332
|
+
return !!(this.endAsDate &&
|
|
333
|
+
!this.startAsDate &&
|
|
334
|
+
this.focusedInput === "end" &&
|
|
335
|
+
this.startInput);
|
|
336
|
+
}
|
|
322
337
|
shouldFocusRangeEnd() {
|
|
323
338
|
return !!(this.startAsDate &&
|
|
324
339
|
!this.endAsDate &&
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { s as setRequestedIcon, d as getElementProp, g as getElementDir, C as CSS_UTILITY } from './dom-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-f8f0bea7.js';
|
|
2
|
+
import { s as setRequestedIcon, d as getElementProp, g as getElementDir, C as CSS_UTILITY } from './dom-b369a031.js';
|
|
3
3
|
import './guid-09142681.js';
|
|
4
4
|
|
|
5
5
|
var StatusIconDefaults;
|
|
@@ -11,7 +11,7 @@ var StatusIconDefaults;
|
|
|
11
11
|
|
|
12
12
|
const calciteInputMessageCss = "@-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([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);visibility:hidden;height:0;pointer-events:none;opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){height:auto;visibility:visible;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;pointer-events:none;margin-right:0.5rem;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-input-message-icon.calcite--rtl{margin-left:0.5rem;margin-right:0}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem;margin-top:0.25rem}:host([status][active][scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem;margin-top:0.25rem}";
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
let CalciteInputMessage = class {
|
|
15
15
|
constructor(hostRef) {
|
|
16
16
|
registerInstance(this, hostRef);
|
|
17
17
|
//--------------------------------------------------------------------------
|
|
@@ -19,6 +19,7 @@ const CalciteInputMessage = class {
|
|
|
19
19
|
// Properties
|
|
20
20
|
//
|
|
21
21
|
//--------------------------------------------------------------------------
|
|
22
|
+
/** Indicates whether the message is displayed. */
|
|
22
23
|
this.active = false;
|
|
23
24
|
/** specify the scale of the input, defaults to m */
|
|
24
25
|
this.scale = "m";
|
|
@@ -1,7 +1,9 @@
|
|
|
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
|
import { g as guid } from './guid-09142681.js';
|
|
3
3
|
import { g as getKey, n as numberKeys, i as isActivationKey } from './key-ec82f942.js';
|
|
4
4
|
import { i as isValidNumber } from './number-358ca1d4.js';
|
|
5
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-7b249c54.js';
|
|
6
|
+
import './dom-b369a031.js';
|
|
5
7
|
|
|
6
8
|
const maxTenthForMinuteAndSecond = 5;
|
|
7
9
|
function getMeridiem(hour) {
|
|
@@ -60,7 +62,7 @@ function formatTimePart(number) {
|
|
|
60
62
|
|
|
61
63
|
const calciteInputTimePickerCss = "@-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:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}";
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
let CalciteInputTimePicker = class {
|
|
64
66
|
constructor(hostRef) {
|
|
65
67
|
registerInstance(this, hostRef);
|
|
66
68
|
this.calciteInputTimePickerChange = createEvent(this, "calciteInputTimePickerChange", 7);
|
|
@@ -108,12 +110,12 @@ const CalciteInputTimePicker = class {
|
|
|
108
110
|
// Private Methods
|
|
109
111
|
//
|
|
110
112
|
// --------------------------------------------------------------------------
|
|
113
|
+
this.onLabelClick = () => {
|
|
114
|
+
this.setFocus();
|
|
115
|
+
};
|
|
111
116
|
this.setCalciteInputEl = (el) => {
|
|
112
117
|
this.calciteInputEl = el;
|
|
113
118
|
};
|
|
114
|
-
this.setCalciteTimePickerEl = (el) => {
|
|
115
|
-
this.calciteTimePickerEl = el;
|
|
116
|
-
};
|
|
117
119
|
this.setInputValue = (newInputValue) => {
|
|
118
120
|
if (!this.calciteInputEl) {
|
|
119
121
|
return;
|
|
@@ -171,12 +173,6 @@ const CalciteInputTimePicker = class {
|
|
|
171
173
|
}
|
|
172
174
|
this.internalValueChange = false;
|
|
173
175
|
}
|
|
174
|
-
clickHandler(event) {
|
|
175
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
this.setFocus();
|
|
179
|
-
}
|
|
180
176
|
keyUpHandler(event) {
|
|
181
177
|
if (getKey(event.key) === "Escape" && this.active) {
|
|
182
178
|
this.active = false;
|
|
@@ -194,12 +190,7 @@ const CalciteInputTimePicker = class {
|
|
|
194
190
|
const { hour, minute, second } = event.detail;
|
|
195
191
|
let value;
|
|
196
192
|
if (hour && minute) {
|
|
197
|
-
|
|
198
|
-
value = `${hour}:${minute}:${second}`;
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
value = `${hour}:${minute}`;
|
|
202
|
-
}
|
|
193
|
+
value = second && this.step !== 60 ? `${hour}:${minute}:${second}` : `${hour}:${minute}`;
|
|
203
194
|
}
|
|
204
195
|
else {
|
|
205
196
|
value = "";
|
|
@@ -217,6 +208,7 @@ const CalciteInputTimePicker = class {
|
|
|
217
208
|
// Public Methods
|
|
218
209
|
//
|
|
219
210
|
// --------------------------------------------------------------------------
|
|
211
|
+
/** Sets focus on the component. */
|
|
220
212
|
async setFocus() {
|
|
221
213
|
this.calciteInputEl.setFocus();
|
|
222
214
|
}
|
|
@@ -229,12 +221,16 @@ const CalciteInputTimePicker = class {
|
|
|
229
221
|
if (this.value) {
|
|
230
222
|
this.setValue({ value: this.value, origin: "loading" });
|
|
231
223
|
}
|
|
224
|
+
connectLabel(this);
|
|
232
225
|
}
|
|
233
226
|
componentDidLoad() {
|
|
234
227
|
if (this.calciteInputEl.value !== this.value) {
|
|
235
228
|
this.setInputValue(this.value);
|
|
236
229
|
}
|
|
237
230
|
}
|
|
231
|
+
disconnectedCallback() {
|
|
232
|
+
disconnectLabel(this);
|
|
233
|
+
}
|
|
238
234
|
// --------------------------------------------------------------------------
|
|
239
235
|
//
|
|
240
236
|
// Render Methods
|
|
@@ -243,7 +239,7 @@ const CalciteInputTimePicker = class {
|
|
|
243
239
|
render() {
|
|
244
240
|
const { hour, minute, second } = parseTimeString(this.value);
|
|
245
241
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
246
|
-
return (h(Host, null, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", name: this.name, onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId }, h("calcite-time-picker", { hour: hour, "hour-display-format": this.hourDisplayFormat, intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, minute: minute,
|
|
242
|
+
return (h(Host, null, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), name: this.name, onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId }, h("calcite-time-picker", { hour: hour, "hour-display-format": this.hourDisplayFormat, intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, minute: minute, scale: this.scale, second: second, step: this.step }))));
|
|
247
243
|
}
|
|
248
244
|
get el() { return getElement(this); }
|
|
249
245
|
static get watchers() { return {
|
|
@@ -291,7 +287,7 @@ const TEXT = {
|
|
|
291
287
|
|
|
292
288
|
const calciteTimePickerCss = "@-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{color:var(--calcite-ui-text-1);display:inline-block;font-weight:var(--calcite-font-weight-medium);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.time-picker{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;border-radius:var(--calcite-border-radius)}span{-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}span.button{cursor:pointer}span.button:hover,span.button:focus{background-color:var(--calcite-ui-foreground-2)}span.button:focus{outline:2px solid transparent;outline-offset:2px}span.button:active{background-color:var(--calcite-ui-foreground-3)}span.button.top-left{border-top-left-radius:var(--calcite-border-radius)}span.button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}span.button.top-right{border-top-right-radius:var(--calcite-border-radius)}span.button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}span.button calcite-icon{color:var(--calcite-ui-text-3)}span.input{font-weight:var(--calcite-font-weight-medium);position:relative}span.input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}span.input:focus,span.input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([scale=s]){font-size:var(--calcite-font-size--1)}:host([scale=s]) span{height:24px;width:40px}:host([scale=s]) .delimiter{height:72px}:host([scale=s][hour-display-format=\"12\"]) .time-picker{width:124.2px}:host([scale=s][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:168px}:host([scale=s][hour-display-format=\"24\"]) .time-picker{width:84.2px}:host([scale=s][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:128.4px}:host([scale=m]){font-size:var(--calcite-font-size-0)}:host([scale=m]) span{height:32px;width:44px}:host([scale=m]) .delimiter{height:96px}:host([scale=m][hour-display-format=\"12\"]) .time-picker{width:136.8px}:host([scale=m][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:186px}:host([scale=m][hour-display-format=\"24\"]) .time-picker{width:92.8px}:host([scale=m][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:141.6px}:host([scale=l]){font-size:var(--calcite-font-size-1)}:host([scale=l]) span{height:48px;width:64px}:host([scale=l]) .delimiter{height:144px}:host([scale=l][hour-display-format=\"12\"]) .time-picker{width:198px}:host([scale=l][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:268px}:host([scale=l][hour-display-format=\"24\"]) .time-picker{width:134px}:host([scale=l][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:204px}";
|
|
293
289
|
|
|
294
|
-
|
|
290
|
+
let CalciteTimePicker = class {
|
|
295
291
|
constructor(hostRef) {
|
|
296
292
|
registerInstance(this, hostRef);
|
|
297
293
|
this.calciteTimePickerBlur = createEvent(this, "calciteTimePickerBlur", 7);
|
|
@@ -388,12 +384,7 @@ const CalciteTimePicker = class {
|
|
|
388
384
|
let newValue;
|
|
389
385
|
if (isValidNumber(this[key])) {
|
|
390
386
|
const valueAsNumber = parseInt(this[key]);
|
|
391
|
-
|
|
392
|
-
newValue = 59;
|
|
393
|
-
}
|
|
394
|
-
else {
|
|
395
|
-
newValue = valueAsNumber - 1;
|
|
396
|
-
}
|
|
387
|
+
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
397
388
|
}
|
|
398
389
|
else {
|
|
399
390
|
newValue = 59;
|
|
@@ -422,12 +413,10 @@ const CalciteTimePicker = class {
|
|
|
422
413
|
if (isValidNumber(this.hour)) {
|
|
423
414
|
switch (this.hourDisplayFormat) {
|
|
424
415
|
case "12":
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
newHour = keyAsNumber;
|
|
430
|
-
}
|
|
416
|
+
newHour =
|
|
417
|
+
this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
|
|
418
|
+
? `1${keyAsNumber}`
|
|
419
|
+
: keyAsNumber;
|
|
431
420
|
break;
|
|
432
421
|
case "24":
|
|
433
422
|
if (this.hour === "01") {
|
|
@@ -547,12 +536,10 @@ const CalciteTimePicker = class {
|
|
|
547
536
|
let newMinute;
|
|
548
537
|
if (isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
549
538
|
const minuteAsNumber = parseInt(this.minute);
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
newMinute = `${minuteAsNumber}${keyAsNumber}`;
|
|
555
|
-
}
|
|
539
|
+
newMinute =
|
|
540
|
+
minuteAsNumber > maxTenthForMinuteAndSecond
|
|
541
|
+
? keyAsNumber
|
|
542
|
+
: `${minuteAsNumber}${keyAsNumber}`;
|
|
556
543
|
}
|
|
557
544
|
else {
|
|
558
545
|
newMinute = keyAsNumber;
|
|
@@ -597,12 +584,10 @@ const CalciteTimePicker = class {
|
|
|
597
584
|
let newSecond;
|
|
598
585
|
if (isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
599
586
|
const secondAsNumber = parseInt(this.second);
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
newSecond = `${secondAsNumber}${keyAsNumber}`;
|
|
605
|
-
}
|
|
587
|
+
newSecond =
|
|
588
|
+
secondAsNumber > maxTenthForMinuteAndSecond
|
|
589
|
+
? keyAsNumber
|
|
590
|
+
: `${secondAsNumber}${keyAsNumber}`;
|
|
606
591
|
}
|
|
607
592
|
else {
|
|
608
593
|
newSecond = keyAsNumber;
|
|
@@ -755,6 +740,7 @@ const CalciteTimePicker = class {
|
|
|
755
740
|
// Public Methods
|
|
756
741
|
//
|
|
757
742
|
//--------------------------------------------------------------------------
|
|
743
|
+
/** Sets focus on the component. */
|
|
758
744
|
async setFocus(target) {
|
|
759
745
|
var _a;
|
|
760
746
|
(_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
|