@esri/calcite-components 1.0.0-beta.72 → 1.0.0-beta.76
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-date-picker/nls/bg.json +31 -0
- package/dist/calcite/assets/calcite-date-picker/nls/pt-BR.json +31 -0
- package/dist/calcite/assets/calcite-date-picker/nls/pt-PT.json +3 -3
- package/dist/calcite/assets/calcite-icon/clipboard16.json +1 -0
- package/dist/calcite/assets/calcite-icon/clipboard24.json +1 -0
- package/dist/calcite/assets/calcite-icon/clipboard32.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore16.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore24.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore32.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders16.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders24.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders32.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative16.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative24.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative32.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables16.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables24.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables32.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck16.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck24.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck32.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece16.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece24.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode16.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode24.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode32.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey16.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey24.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey32.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-010b6b91.system.entry.js +5 -0
- package/dist/calcite/p-015d6a24.entry.js +5 -0
- package/dist/calcite/p-0459ae3e.system.entry.js +5 -0
- package/dist/calcite/p-07603601.system.entry.js +5 -0
- package/dist/calcite/p-0926320c.system.entry.js +5 -0
- package/dist/calcite/{p-444ecda9.entry.js → p-09bd0204.entry.js} +1 -1
- package/dist/calcite/p-0a5d059d.js +5 -0
- package/dist/calcite/p-0c20a4e3.entry.js +5 -0
- package/dist/calcite/p-0d61e540.system.entry.js +5 -0
- package/dist/calcite/{p-0f2b51bf.system.js → p-10e3f599.system.js} +1 -1
- package/dist/calcite/p-1199ec78.entry.js +5 -0
- package/dist/calcite/p-13f9119c.js +5 -0
- package/dist/calcite/p-150e45ec.entry.js +5 -0
- package/dist/calcite/{p-a4a12ffb.system.entry.js → p-15eebdf8.system.entry.js} +2 -2
- package/dist/calcite/p-16a27151.entry.js +5 -0
- package/dist/calcite/p-18259377.entry.js +5 -0
- package/dist/calcite/p-1a3a366d.system.js +5 -0
- package/dist/calcite/p-1a907c90.entry.js +5 -0
- package/dist/calcite/p-1ce851da.js +5 -0
- package/dist/calcite/p-21e8e1e9.system.entry.js +5 -0
- package/dist/calcite/{p-66fda99e.entry.js → p-2328c2ec.entry.js} +1 -1
- package/dist/calcite/p-24765b5e.entry.js +5 -0
- package/dist/calcite/{p-a2a22cbc.entry.js → p-2718a51a.entry.js} +1 -1
- package/dist/calcite/{p-04cc8259.entry.js → p-2be7746c.entry.js} +1 -1
- package/dist/calcite/p-2d88c0ba.entry.js +5 -0
- package/dist/calcite/p-353015b6.system.entry.js +5 -0
- package/dist/calcite/p-385f6cb9.entry.js +5 -0
- package/dist/calcite/p-3c34f20d.system.js +5 -0
- package/dist/calcite/{p-d8039e8a.system.entry.js → p-3e59c8ef.system.entry.js} +1 -1
- package/dist/calcite/p-3f6a6851.system.entry.js +5 -0
- package/dist/calcite/p-3f792e3d.system.entry.js +5 -0
- package/dist/calcite/p-408408d6.entry.js +5 -0
- package/dist/calcite/p-42ac867a.entry.js +5 -0
- package/dist/calcite/p-4340f6ed.entry.js +5 -0
- package/dist/calcite/{p-523bc291.system.js → p-48fae9a9.system.js} +1 -1
- package/dist/calcite/{p-f1f65708.entry.js → p-4b7ff039.entry.js} +1 -1
- package/dist/calcite/{p-fc9025a2.entry.js → p-4edc43c1.entry.js} +1 -1
- package/dist/calcite/p-4fc8341b.system.entry.js +5 -0
- package/dist/calcite/p-510ef2b7.system.entry.js +5 -0
- package/dist/calcite/{p-8c4b6059.system.entry.js → p-5248d5fb.system.entry.js} +1 -1
- package/dist/calcite/p-54c3ea44.system.entry.js +5 -0
- package/dist/calcite/p-55c884ba.entry.js +5 -0
- package/dist/calcite/p-5660811e.entry.js +5 -0
- package/dist/calcite/p-5833a3af.entry.js +5 -0
- package/dist/calcite/p-59c6c9a0.entry.js +5 -0
- package/dist/calcite/p-5cd2ff4e.system.entry.js +5 -0
- package/dist/calcite/p-5f129d47.entry.js +5 -0
- package/dist/calcite/{p-e0b1e90c.entry.js → p-635594b8.entry.js} +1 -1
- package/dist/calcite/p-65ba6a8f.entry.js +5 -0
- package/dist/calcite/p-672ec03a.entry.js +5 -0
- package/dist/calcite/p-67cd9e12.system.entry.js +5 -0
- package/dist/calcite/p-6a5a4922.system.entry.js +5 -0
- package/dist/calcite/p-6a797e80.entry.js +5 -0
- package/dist/calcite/p-6b529df3.system.entry.js +5 -0
- package/dist/calcite/p-6c4eb127.system.entry.js +5 -0
- package/dist/calcite/p-6d5c2fce.system.entry.js +5 -0
- package/dist/calcite/{p-27d9be53.entry.js → p-6ee036b3.entry.js} +1 -1
- package/dist/calcite/p-71b6bc4c.system.entry.js +5 -0
- package/dist/calcite/p-7266c359.system.entry.js +5 -0
- package/dist/calcite/p-72951ce3.system.entry.js +5 -0
- package/dist/calcite/p-75cda5de.system.entry.js +5 -0
- package/dist/calcite/p-75df0e8f.entry.js +5 -0
- package/dist/calcite/p-79ba0ff5.js +5 -0
- package/dist/calcite/p-7b2f2117.system.entry.js +5 -0
- package/dist/calcite/{p-bca0b34f.entry.js → p-7b341154.entry.js} +1 -1
- package/dist/calcite/p-7e9189e8.system.entry.js +5 -0
- package/dist/calcite/p-80e56ba6.system.entry.js +5 -0
- package/dist/calcite/p-8124f6cc.system.entry.js +5 -0
- package/dist/calcite/p-81dc55fa.entry.js +5 -0
- package/dist/calcite/p-82e0b30e.entry.js +5 -0
- package/dist/calcite/p-8446d974.system.entry.js +5 -0
- package/dist/calcite/p-852a718f.entry.js +5 -0
- package/dist/calcite/p-8647d09e.entry.js +5 -0
- package/dist/calcite/p-888ce316.system.entry.js +5 -0
- package/dist/calcite/p-8bfa00bc.js +5 -0
- package/dist/calcite/p-8d1564c5.system.entry.js +5 -0
- package/dist/calcite/{p-fd255a24.entry.js → p-8d437ca2.entry.js} +1 -1
- package/dist/calcite/p-8f3a3e4e.js +5 -0
- package/dist/calcite/p-8f6aac19.entry.js +5 -0
- package/dist/calcite/p-903c016f.entry.js +5 -0
- package/dist/calcite/p-9217d4ef.system.js +5 -0
- package/dist/calcite/p-92901db9.entry.js +5 -0
- package/dist/calcite/{p-34e5baa7.system.js → p-94cfc34a.system.js} +1 -1
- package/dist/calcite/p-95810140.system.js +5 -0
- package/dist/calcite/p-95a3bcff.system.entry.js +5 -0
- package/dist/calcite/p-95b7c39a.system.entry.js +5 -0
- package/dist/calcite/p-983287ce.system.js +5 -0
- package/dist/calcite/p-9a7c4812.js +5 -0
- package/dist/calcite/p-9ef989e2.entry.js +5 -0
- package/dist/calcite/p-9f1c59ec.entry.js +5 -0
- package/dist/calcite/p-a37ecb59.entry.js +5 -0
- package/dist/calcite/p-a468d651.system.entry.js +5 -0
- package/dist/calcite/p-a77a8427.entry.js +5 -0
- package/dist/calcite/p-a7dfed2f.entry.js +5 -0
- package/dist/calcite/p-a809abbd.system.entry.js +5 -0
- package/dist/calcite/p-a859ccd4.system.js +5 -0
- package/dist/calcite/p-abf93e8f.system.js +5 -0
- package/dist/calcite/{p-db10485b.system.js → p-ac4aec20.system.js} +1 -1
- package/dist/calcite/p-ac8c0493.entry.js +5 -0
- package/dist/calcite/p-ad2fd769.system.entry.js +5 -0
- package/dist/calcite/p-af5e11c9.system.entry.js +5 -0
- package/dist/calcite/p-af75a72b.js +5 -0
- package/dist/calcite/p-b0ab09d3.system.entry.js +5 -0
- package/dist/calcite/p-b4a80f18.system.entry.js +5 -0
- package/dist/calcite/p-b519a98e.system.entry.js +5 -0
- package/dist/calcite/p-b5781bda.entry.js +5 -0
- package/dist/calcite/p-b8a670cc.entry.js +5 -0
- package/dist/calcite/p-ba6b0f09.entry.js +5 -0
- package/dist/calcite/p-bb401f25.system.js +5 -0
- package/dist/calcite/p-bd289892.entry.js +5 -0
- package/dist/calcite/p-c36161b9.system.entry.js +5 -0
- package/dist/calcite/p-c525d974.system.entry.js +5 -0
- package/dist/calcite/{p-d3db2b58.system.entry.js → p-c5e8d437.system.entry.js} +1 -1
- package/dist/calcite/p-cb02295b.system.entry.js +5 -0
- package/dist/calcite/p-d2931c8e.system.entry.js +5 -0
- package/dist/calcite/p-d2ebedc0.entry.js +5 -0
- package/dist/calcite/p-d3316626.system.entry.js +5 -0
- package/dist/calcite/p-da987587.system.entry.js +5 -0
- package/dist/calcite/p-dadb1104.system.entry.js +5 -0
- package/dist/calcite/p-dae2daf0.entry.js +5 -0
- package/dist/calcite/{p-f39dc5fd.entry.js → p-dc24f809.entry.js} +1 -1
- package/dist/calcite/p-dd9f2e61.js +5 -0
- package/dist/calcite/p-de10a37b.entry.js +5 -0
- package/dist/calcite/p-e2047621.system.js +5 -0
- package/dist/calcite/{p-06ddf228.entry.js → p-e54a3620.entry.js} +1 -1
- package/dist/calcite/p-e93a418e.system.entry.js +5 -0
- package/dist/calcite/p-ea2b09ba.entry.js +5 -0
- package/dist/calcite/{p-40e16f41.entry.js → p-ebd8eef3.entry.js} +1 -1
- package/dist/calcite/p-ec2d6c5f.system.entry.js +5 -0
- package/dist/calcite/p-ec9bab33.system.js +5 -0
- package/dist/calcite/p-eeb91710.js +5 -0
- package/dist/calcite/p-ef6b4184.js +5 -0
- package/dist/calcite/{p-87327c2f.system.entry.js → p-ef779e80.system.entry.js} +1 -1
- package/dist/calcite/p-f2508455.system.entry.js +5 -0
- package/dist/calcite/p-f45eae85.entry.js +5 -0
- package/dist/calcite/{p-2e29554c.js → p-fb3f5251.js} +1 -1
- package/dist/calcite/p-fbf74b6d.js +5 -0
- package/dist/calcite/p-fc04e52b.system.entry.js +5 -0
- package/dist/calcite/p-fc2f135e.system.entry.js +5 -0
- package/dist/calcite/p-fe28891b.system.entry.js +5 -0
- package/dist/calcite/p-feacdfdf.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-d654421a.js → CalciteExpandToggle-f1e05027.js} +2 -2
- package/dist/cjs/{CalciteHeading-112c19f9.js → CalciteHeading-d797719f.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -29
- package/dist/cjs/calcite-action-group.cjs.entry.js +16 -3
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -4
- package/dist/cjs/calcite-action.cjs.entry.js +3 -3
- package/dist/cjs/calcite-alert.cjs.entry.js +29 -22
- package/dist/cjs/calcite-avatar.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block_2.cjs.entry.js +19 -6
- package/dist/cjs/calcite-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-card.cjs.entry.js +19 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip.cjs.entry.js +17 -4
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -25
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -17
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +3 -3
- package/dist/cjs/calcite-filter.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -17
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +47 -22
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -10
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +135 -63
- package/dist/cjs/calcite-label.cjs.entry.js +6 -3
- package/dist/cjs/calcite-link.cjs.entry.js +16 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +19 -6
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +39 -17
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +32 -8
- package/dist/cjs/calcite-popover_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +15 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +21 -14
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +6 -51
- package/dist/cjs/calcite-rating.cjs.entry.js +5 -5
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +47 -16
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +39 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +16 -3
- package/dist/cjs/calcite-tip_3.cjs.entry.js +20 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +26 -13
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +27 -8
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/conditionalSlot-20745612.js +43 -0
- package/dist/cjs/{dom-19822169.js → dom-f3df220d.js} +44 -11
- package/dist/cjs/{form-a5b44a1f.js → form-55a71663.js} +2 -2
- package/dist/cjs/{index-6b5d2de5.js → index-8b0d388b.js} +0 -5
- package/dist/cjs/{label-8e3552b2.js → label-6b18ca08.js} +5 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-02462821.js +128 -0
- package/dist/cjs/number-e813e801.js +84 -0
- package/dist/cjs/{observers-41837607.js → observers-79bfb8bc.js} +5 -1
- package/dist/cjs/{popper-a7580aca.js → popper-13a2bb46.js} +29 -10
- package/dist/cjs/{resources-16974e48.js → resources-6af71952.js} +9 -5
- package/dist/cjs/{resources-6c4b32ef.js → resources-f6847c67.js} +14 -3
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/accordion/interfaces.js +1 -0
- package/dist/collection/components/alert/interfaces.js +7 -0
- package/dist/collection/components/block-section/interfaces.js +1 -0
- package/dist/collection/components/button/interfaces.js +1 -0
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +8 -18
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +6 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +33 -77
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +1 -1
- package/dist/collection/components/calcite-action/calcite-action.css +49 -91
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +7 -18
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +5 -18
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +11 -23
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +4 -4
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +26 -25
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
- package/dist/collection/components/calcite-alert/calcite-alert.css +81 -106
- package/dist/collection/components/calcite-alert/calcite-alert.js +54 -21
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +8 -20
- package/dist/collection/components/calcite-block/calcite-block.css +44 -53
- package/dist/collection/components/calcite-block/calcite-block.js +13 -1
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +25 -41
- package/dist/collection/components/calcite-button/calcite-button.css +83 -226
- package/dist/collection/components/calcite-card/calcite-card.css +49 -60
- package/dist/collection/components/calcite-card/calcite-card.js +15 -6
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +11 -24
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
- package/dist/collection/components/calcite-chip/calcite-chip.css +19 -41
- package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +11 -40
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +7 -17
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +7 -18
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +29 -48
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +46 -16
- package/dist/collection/components/calcite-combobox/resources.js +3 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +34 -41
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +10 -8
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +8 -19
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +1 -1
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-BR.json +31 -0
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-PT.json +3 -3
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +4 -14
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +9 -7
- package/dist/collection/components/calcite-date-picker/utils.js +7 -3
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +37 -58
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +21 -31
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +35 -56
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +5 -21
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +28 -21
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +10 -20
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +48 -59
- package/dist/collection/components/calcite-fab/calcite-fab.css +10 -16
- package/dist/collection/components/calcite-filter/calcite-filter.css +20 -34
- package/dist/collection/components/calcite-flow/calcite-flow.css +22 -34
- package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
- package/dist/collection/components/calcite-graph/calcite-graph.css +5 -18
- package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
- package/dist/collection/components/calcite-handle/calcite-handle.css +4 -18
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +12 -14
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +5 -12
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +54 -35
- package/dist/collection/components/calcite-input/calcite-input.css +94 -156
- package/dist/collection/components/calcite-input/calcite-input.js +129 -57
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +28 -46
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +39 -2
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +12 -23
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +1 -11
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
- package/dist/collection/components/calcite-label/calcite-label.css +19 -34
- package/dist/collection/components/calcite-label/calcite-label.js +8 -2
- package/dist/collection/components/calcite-link/calcite-link.css +16 -33
- package/dist/collection/components/calcite-link/calcite-link.js +31 -2
- package/dist/collection/components/calcite-list/calcite-list.css +9 -16
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +23 -46
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +7 -17
- package/dist/collection/components/calcite-loader/calcite-loader.css +37 -62
- package/dist/collection/components/calcite-modal/calcite-modal.css +95 -102
- package/dist/collection/components/calcite-modal/calcite-modal.js +6 -3
- package/dist/collection/components/calcite-notice/calcite-notice.css +43 -80
- package/dist/collection/components/calcite-notice/calcite-notice.js +11 -6
- package/dist/collection/components/calcite-option/calcite-option.css +1 -11
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +1 -11
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +20 -54
- package/dist/collection/components/calcite-panel/calcite-panel.css +51 -73
- package/dist/collection/components/calcite-panel/calcite-panel.js +60 -19
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +16 -26
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +13 -5
- package/dist/collection/components/calcite-pick-list/resources.js +1 -1
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +10 -0
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +14 -27
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +43 -60
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +13 -1
- package/dist/collection/components/calcite-popover/calcite-popover.css +24 -34
- package/dist/collection/components/calcite-popover/calcite-popover.js +1 -1
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +1 -11
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
- package/dist/collection/components/calcite-progress/calcite-progress.css +7 -20
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -21
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +16 -9
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +1 -14
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +13 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +3 -15
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -5
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +17 -28
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +0 -45
- package/dist/collection/components/calcite-rating/calcite-rating.css +10 -23
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +17 -29
- package/dist/collection/components/calcite-select/calcite-select.css +23 -39
- package/dist/collection/components/calcite-select/calcite-select.js +3 -5
- package/dist/collection/components/calcite-shell/calcite-shell.css +43 -43
- package/dist/collection/components/calcite-shell/calcite-shell.js +23 -9
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +26 -21
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +33 -52
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
- package/dist/collection/components/calcite-slider/calcite-slider.css +50 -93
- package/dist/collection/components/calcite-slider/calcite-slider.js +10 -7
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +1 -11
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +7 -27
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +8 -18
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +38 -72
- package/dist/collection/components/calcite-switch/calcite-switch.css +29 -47
- package/dist/collection/components/calcite-tab/calcite-tab.css +10 -20
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +14 -23
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +40 -65
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +3 -13
- package/dist/collection/components/calcite-tile/calcite-tile.css +52 -85
- package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +52 -87
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -2
- package/dist/collection/components/calcite-tile-select/resources.js +20 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +1 -12
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +15 -47
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +5 -5
- package/dist/collection/components/calcite-tip/calcite-tip.css +20 -36
- package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +4 -14
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +34 -49
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +12 -20
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +1 -11
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +1 -1
- package/dist/collection/components/calcite-tree/calcite-tree.css +1 -11
- package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +27 -58
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +21 -8
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +17 -25
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +23 -9
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +22 -32
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/color-picker/interfaces.js +1 -0
- package/dist/collection/components/color-picker/utils.js +107 -0
- package/dist/collection/components/combobox/interfaces.js +1 -0
- package/dist/collection/components/date-picker/interfaces.js +1 -0
- package/dist/collection/components/date-picker/utils.js +53 -0
- package/dist/collection/components/dropdown/interfaces.js +1 -0
- package/dist/collection/components/dropdown-group/interfaces.js +1 -0
- package/dist/collection/components/functional/Heading.js +9 -0
- package/dist/collection/components/graph/interfaces.js +1 -0
- package/dist/collection/components/input/interfaces.js +1 -0
- package/dist/collection/components/modal/interfaces.js +1 -0
- package/dist/collection/components/pagination/pagination.js +201 -0
- package/dist/collection/components/pagination/resources.js +14 -0
- package/dist/collection/components/pick-list/pick-list.js +192 -0
- package/dist/collection/components/pick-list/resources.js +15 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +269 -0
- package/dist/collection/components/pick-list/shared-list-render.js +25 -0
- package/dist/collection/components/radio-group/interfaces.js +1 -0
- package/dist/collection/components/tab/interfaces.js +1 -0
- package/dist/collection/components/tabs/interfaces.js +1 -0
- package/dist/collection/components/tile-select/interfaces.js +1 -0
- package/dist/collection/components/tile-select-group/interfaces.js +1 -0
- package/dist/collection/components/tree/interfaces.js +8 -0
- package/dist/collection/components/tree-item/interfaces.js +1 -0
- package/dist/collection/components/value-list/resources.js +11 -0
- package/dist/collection/components/value-list/value-list.js +266 -0
- package/dist/collection/utils/conditionalSlot.js +22 -11
- package/dist/collection/utils/dom.js +44 -11
- package/dist/collection/utils/globalAttributes.js +59 -0
- package/dist/collection/utils/label.js +4 -1
- package/dist/collection/utils/locale.js +43 -38
- package/dist/collection/utils/number.js +48 -23
- package/dist/collection/utils/observers.js +5 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +5 -2
- package/dist/components/calcite-action-bar.js +3 -24
- package/dist/components/calcite-action-group2.js +13 -1
- package/dist/components/calcite-action-menu2.js +5 -5
- package/dist/components/calcite-action-pad.js +8 -1
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +29 -21
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +14 -2
- package/dist/components/calcite-button2.js +1 -1
- package/dist/components/calcite-card.js +16 -7
- package/dist/components/calcite-checkbox2.js +2 -2
- package/dist/components/calcite-chip2.js +14 -2
- package/dist/components/calcite-color-picker-hex-input2.js +1 -1
- package/dist/components/calcite-color-picker-swatch2.js +17 -2
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +9 -7
- package/dist/components/calcite-combobox.js +23 -13
- package/dist/components/calcite-date-picker-day2.js +1 -1
- package/dist/components/calcite-date-picker-month-header2.js +1 -1
- package/dist/components/calcite-date-picker-month2.js +1 -1
- package/dist/components/calcite-date-picker2.js +17 -11
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown2.js +27 -21
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter2.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph2.js +14 -9
- package/dist/components/calcite-handle2.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-inline-editable.js +45 -20
- package/dist/components/calcite-input-date-picker.js +8 -3
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input2.js +130 -58
- package/dist/components/calcite-label2.js +5 -2
- package/dist/components/calcite-link2.js +15 -3
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +13 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader2.js +1 -1
- package/dist/components/calcite-modal.js +7 -4
- package/dist/components/calcite-notice.js +12 -7
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +37 -15
- package/dist/components/calcite-pick-list-group.js +13 -1
- package/dist/components/calcite-pick-list-item2.js +13 -1
- package/dist/components/calcite-pick-list.js +3 -2
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover2.js +2 -2
- package/dist/components/calcite-progress2.js +1 -1
- package/dist/components/calcite-radio-button-group.js +14 -1
- package/dist/components/calcite-radio-button.js +17 -10
- package/dist/components/calcite-radio-group-item.js +1 -46
- package/dist/components/calcite-radio-group.js +2 -2
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim2.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +14 -2
- package/dist/components/calcite-shell-panel.js +10 -5
- package/dist/components/calcite-shell.js +22 -7
- package/dist/components/calcite-slider.js +11 -7
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch2.js +1 -1
- package/dist/components/calcite-tab-nav2.js +1 -1
- package/dist/components/calcite-tab-title2.js +1 -1
- package/dist/components/calcite-tab2.js +1 -1
- package/dist/components/calcite-tabs2.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +37 -2
- package/dist/components/calcite-tile2.js +13 -1
- package/dist/components/calcite-time-picker2.js +5 -5
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +14 -2
- package/dist/components/calcite-tooltip-manager2.js +2 -2
- package/dist/components/calcite-tooltip.js +4 -4
- package/dist/components/calcite-tree-item.js +20 -9
- package/dist/components/calcite-tree.js +3 -2
- package/dist/components/calcite-value-list-item.js +13 -1
- package/dist/components/calcite-value-list.js +11 -4
- package/dist/components/conditionalSlot.js +40 -0
- package/dist/components/dom.js +44 -11
- package/dist/components/label.js +4 -1
- package/dist/components/locale.js +43 -38
- package/dist/components/number.js +49 -24
- package/dist/components/observers.js +5 -1
- package/dist/components/popper.js +28 -9
- package/dist/components/resources3.js +1 -1
- package/dist/components/shared-list-render.js +11 -1
- package/dist/components/utils2.js +4 -1
- package/dist/custom-elements/index.js +1236 -758
- package/dist/esm/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-3ebdb3a6.js} +2 -2
- package/dist/esm/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -5
- package/dist/esm/calcite-action-bar.entry.js +6 -27
- package/dist/esm/calcite-action-group.entry.js +16 -3
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +12 -4
- package/dist/esm/calcite-action.entry.js +3 -3
- package/dist/esm/calcite-alert.entry.js +29 -22
- package/dist/esm/calcite-avatar.entry.js +3 -3
- package/dist/esm/calcite-block_2.entry.js +19 -6
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +19 -8
- package/dist/esm/calcite-checkbox.entry.js +6 -6
- package/dist/esm/calcite-chip.entry.js +17 -4
- package/dist/esm/calcite-color-picker_3.entry.js +21 -6
- package/dist/esm/calcite-combobox_3.entry.js +39 -25
- package/dist/esm/calcite-date-picker_4.entry.js +19 -17
- package/dist/esm/calcite-dropdown_3.entry.js +32 -26
- package/dist/esm/calcite-fab.entry.js +3 -3
- package/dist/esm/calcite-filter.entry.js +3 -3
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +28 -17
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +4 -4
- package/dist/esm/calcite-inline-editable.entry.js +47 -22
- package/dist/esm/calcite-input-date-picker.entry.js +15 -10
- package/dist/esm/calcite-input-message.entry.js +3 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +135 -63
- package/dist/esm/calcite-label.entry.js +6 -3
- package/dist/esm/calcite-link.entry.js +16 -5
- package/dist/esm/calcite-list_3.entry.js +19 -6
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +10 -7
- package/dist/esm/calcite-notice.entry.js +15 -9
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +39 -17
- package/dist/esm/calcite-pick-list_3.entry.js +32 -8
- package/dist/esm/calcite-popover_2.entry.js +8 -8
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +15 -2
- package/dist/esm/calcite-radio-button.entry.js +21 -14
- package/dist/esm/calcite-radio-group_2.entry.js +6 -51
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +47 -16
- package/dist/esm/calcite-sortable-list.entry.js +3 -3
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper_2.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +39 -4
- package/dist/esm/calcite-tile.entry.js +16 -3
- package/dist/esm/calcite-tip_3.entry.js +20 -8
- package/dist/esm/calcite-tooltip_2.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +26 -13
- package/dist/esm/calcite-value-list_2.entry.js +27 -8
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/conditionalSlot-0e575a09.js +40 -0
- package/dist/esm/{dom-f24e866c.js → dom-e7fa77b9.js} +44 -11
- package/dist/esm/{form-160b0fb5.js → form-42bda668.js} +2 -2
- package/dist/esm/{index-9de00868.js → index-c4b90cce.js} +0 -5
- package/dist/esm/{label-5559055d.js → label-2bffc9f4.js} +5 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-fc850b7c.js +123 -0
- package/dist/esm/number-8779395f.js +76 -0
- package/dist/esm/{observers-8f0bc419.js → observers-46118290.js} +5 -1
- package/dist/esm/{popper-f5caedc4.js → popper-ae231554.js} +29 -10
- package/dist/esm/{resources-35c1823f.js → resources-3c05dd64.js} +14 -4
- package/dist/esm/{resources-b4eee1d4.js → resources-704f6b2d.js} +9 -5
- package/dist/esm-es5/{CalciteExpandToggle-c33bd6fd.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +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 +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- 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 +2 -2
- 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-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- 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/conditionalSlot-0e575a09.js +5 -0
- package/dist/esm-es5/dom-e7fa77b9.js +5 -0
- package/dist/esm-es5/{form-160b0fb5.js → form-42bda668.js} +1 -1
- package/dist/esm-es5/{index-9de00868.js → index-c4b90cce.js} +1 -1
- package/dist/esm-es5/label-2bffc9f4.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-fc850b7c.js +5 -0
- package/dist/esm-es5/number-8779395f.js +5 -0
- package/dist/esm-es5/{observers-8f0bc419.js → observers-46118290.js} +1 -1
- package/dist/esm-es5/popper-ae231554.js +5 -0
- package/dist/esm-es5/resources-3c05dd64.js +5 -0
- package/dist/esm-es5/resources-704f6b2d.js +5 -0
- package/dist/extras/docs-json.json +189 -73
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +42 -0
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +53 -0
- package/dist/types/components/calcite-action/calcite-action.d.ts +73 -0
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +69 -0
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +42 -0
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +83 -0
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +55 -0
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +83 -0
- package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
- package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +26 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +76 -0
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +43 -0
- package/dist/types/components/calcite-button/calcite-button.d.ts +81 -0
- package/dist/types/components/calcite-card/calcite-card.d.ts +46 -0
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +73 -0
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +40 -0
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +224 -0
- package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +51 -0
- package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +23 -0
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +181 -0
- package/dist/types/components/calcite-combobox/interfaces.d.ts +6 -0
- package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
- package/dist/types/components/calcite-combobox/utils.d.ts +6 -0
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +46 -0
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +17 -0
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +132 -0
- package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +45 -0
- package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +97 -0
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +57 -0
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +99 -0
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +32 -0
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +52 -0
- package/dist/types/components/calcite-fab/calcite-fab.d.ts +47 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +53 -0
- package/dist/types/components/calcite-flow/calcite-flow.d.ts +22 -0
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +28 -0
- package/dist/types/components/calcite-handle/calcite-handle.d.ts +22 -0
- package/dist/types/components/calcite-icon/calcite-icon.d.ts +32 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +71 -0
- package/dist/types/components/calcite-input/calcite-input.d.ts +168 -0
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +179 -0
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +27 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +90 -0
- package/dist/types/components/calcite-label/calcite-label.d.ts +33 -0
- package/dist/types/components/calcite-link/calcite-link.d.ts +38 -0
- package/dist/types/components/calcite-list/calcite-list.d.ts +16 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +40 -0
- package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +18 -0
- package/dist/types/components/calcite-loader/calcite-loader.d.ts +27 -0
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +89 -0
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +51 -0
- package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +51 -0
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +130 -0
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +75 -0
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +31 -0
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +18 -0
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +21 -0
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +106 -0
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +107 -0
- package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +19 -0
- package/dist/types/components/calcite-progress/calcite-progress.d.ts +15 -0
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +92 -0
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +34 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +56 -0
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +24 -0
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +60 -0
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +17 -0
- package/dist/types/components/calcite-select/calcite-select.d.ts +75 -0
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +24 -0
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +25 -0
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +69 -0
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +193 -0
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +50 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +52 -0
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +58 -0
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +65 -0
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +46 -0
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +42 -0
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +74 -0
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +92 -0
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +65 -0
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +36 -0
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +57 -0
- package/dist/types/components/calcite-tile-select/resources.d.ts +16 -0
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +135 -0
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +47 -0
- package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +65 -0
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +60 -0
- package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +41 -0
- package/dist/types/components/calcite-tree/calcite-tree.d.ts +38 -0
- package/dist/types/components/calcite-tree/interfaces.d.ts +10 -0
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +60 -0
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +89 -0
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +79 -0
- package/dist/types/components/functional/CalciteExpandToggle.d.ts +19 -0
- package/dist/types/components.d.ts +62 -32
- package/dist/types/preact.d.ts +5 -4
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/dom.d.ts +21 -3
- package/dist/types/utils/globalAttributes.d.ts +35 -0
- package/dist/types/utils/label.d.ts +39 -0
- package/dist/types/utils/number.d.ts +2 -1
- package/hydrate/index.js +1244 -759
- package/package.json +35 -32
- package/readme.md +2 -36
- package/dist/calcite/p-0229a408.js +0 -5
- package/dist/calcite/p-057197f8.entry.js +0 -5
- package/dist/calcite/p-05c10c53.entry.js +0 -5
- package/dist/calcite/p-05edaadf.system.entry.js +0 -5
- package/dist/calcite/p-0b45733b.entry.js +0 -5
- package/dist/calcite/p-112f20e6.system.entry.js +0 -5
- package/dist/calcite/p-11f01c0a.entry.js +0 -5
- package/dist/calcite/p-18d9a261.system.js +0 -5
- package/dist/calcite/p-1942876c.js +0 -5
- package/dist/calcite/p-2151c991.entry.js +0 -5
- package/dist/calcite/p-288899b9.entry.js +0 -5
- package/dist/calcite/p-288bc438.system.js +0 -5
- package/dist/calcite/p-2b294f8e.system.entry.js +0 -5
- package/dist/calcite/p-2be1e8ee.entry.js +0 -5
- package/dist/calcite/p-2d939f9e.system.entry.js +0 -5
- package/dist/calcite/p-2fbd50f3.system.entry.js +0 -5
- package/dist/calcite/p-30036f23.system.entry.js +0 -5
- package/dist/calcite/p-35a5c74c.system.js +0 -5
- package/dist/calcite/p-3739338a.system.entry.js +0 -5
- package/dist/calcite/p-3c25cb72.system.entry.js +0 -5
- package/dist/calcite/p-3d8ee39d.system.entry.js +0 -5
- package/dist/calcite/p-3dae9da3.js +0 -5
- package/dist/calcite/p-3e9c6068.entry.js +0 -5
- package/dist/calcite/p-3f8527a3.entry.js +0 -5
- package/dist/calcite/p-40991717.entry.js +0 -5
- package/dist/calcite/p-4278fb57.entry.js +0 -5
- package/dist/calcite/p-44cce7a3.system.entry.js +0 -5
- package/dist/calcite/p-4d02c6c0.system.entry.js +0 -5
- package/dist/calcite/p-4e9d072a.system.js +0 -5
- package/dist/calcite/p-4f1f716a.system.entry.js +0 -5
- package/dist/calcite/p-4f7ebefc.system.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-55f68e28.entry.js +0 -5
- package/dist/calcite/p-57169a74.entry.js +0 -5
- package/dist/calcite/p-5c9d89ce.system.entry.js +0 -5
- package/dist/calcite/p-62f3d4df.system.js +0 -5
- package/dist/calcite/p-63b9f804.entry.js +0 -5
- package/dist/calcite/p-689790cb.system.entry.js +0 -5
- package/dist/calcite/p-69bd1f5f.system.entry.js +0 -5
- package/dist/calcite/p-6a87d7b2.entry.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-6faaa8af.system.entry.js +0 -5
- package/dist/calcite/p-6fb63fc1.entry.js +0 -5
- package/dist/calcite/p-72a60528.system.entry.js +0 -5
- package/dist/calcite/p-763479d6.system.entry.js +0 -5
- package/dist/calcite/p-768018df.entry.js +0 -5
- package/dist/calcite/p-76eda40b.entry.js +0 -5
- package/dist/calcite/p-7ac9f860.entry.js +0 -5
- package/dist/calcite/p-7ff5e336.entry.js +0 -5
- package/dist/calcite/p-8340b572.js +0 -5
- package/dist/calcite/p-83744979.system.js +0 -5
- package/dist/calcite/p-88296be9.system.entry.js +0 -5
- package/dist/calcite/p-88b31760.system.entry.js +0 -5
- package/dist/calcite/p-8a8982ab.system.entry.js +0 -5
- package/dist/calcite/p-8ebc2d51.entry.js +0 -5
- package/dist/calcite/p-9180be05.system.entry.js +0 -5
- package/dist/calcite/p-93a189be.entry.js +0 -5
- package/dist/calcite/p-97117a5d.entry.js +0 -5
- package/dist/calcite/p-97efd284.system.entry.js +0 -5
- package/dist/calcite/p-998829cb.system.entry.js +0 -5
- package/dist/calcite/p-9a1ffbad.system.entry.js +0 -5
- package/dist/calcite/p-9a8f3883.entry.js +0 -5
- package/dist/calcite/p-9b979692.entry.js +0 -5
- package/dist/calcite/p-9fc14d49.entry.js +0 -5
- package/dist/calcite/p-9feb0f5a.system.entry.js +0 -5
- package/dist/calcite/p-a3c498de.entry.js +0 -5
- package/dist/calcite/p-a4784cf3.system.entry.js +0 -5
- package/dist/calcite/p-a6f99f79.entry.js +0 -5
- package/dist/calcite/p-a98344e2.system.entry.js +0 -5
- package/dist/calcite/p-a9f596be.system.entry.js +0 -5
- package/dist/calcite/p-adf4699d.system.entry.js +0 -5
- package/dist/calcite/p-b180d943.system.entry.js +0 -5
- package/dist/calcite/p-b2f0596f.entry.js +0 -5
- package/dist/calcite/p-b437a8eb.system.entry.js +0 -5
- package/dist/calcite/p-b43e699c.system.entry.js +0 -5
- package/dist/calcite/p-ba7c0f01.system.entry.js +0 -5
- package/dist/calcite/p-bd091b49.system.entry.js +0 -5
- package/dist/calcite/p-bdca5372.entry.js +0 -5
- package/dist/calcite/p-bfa6bd72.entry.js +0 -5
- package/dist/calcite/p-c00b1d26.js +0 -5
- package/dist/calcite/p-c2bfd7f9.system.entry.js +0 -5
- package/dist/calcite/p-c2fcf603.system.entry.js +0 -5
- package/dist/calcite/p-c34c4414.system.js +0 -5
- package/dist/calcite/p-c70bacc8.system.entry.js +0 -5
- package/dist/calcite/p-c8c6323c.entry.js +0 -5
- package/dist/calcite/p-cb660e54.entry.js +0 -5
- package/dist/calcite/p-cd5d5756.system.entry.js +0 -5
- package/dist/calcite/p-ce704ece.js +0 -5
- package/dist/calcite/p-cf499949.entry.js +0 -5
- package/dist/calcite/p-d17cfab3.entry.js +0 -5
- package/dist/calcite/p-d3bd900e.js +0 -5
- package/dist/calcite/p-d4d5665a.system.entry.js +0 -5
- package/dist/calcite/p-d9414082.system.entry.js +0 -5
- package/dist/calcite/p-dc7124e9.entry.js +0 -5
- package/dist/calcite/p-dc777403.system.entry.js +0 -5
- package/dist/calcite/p-dda22c7e.system.entry.js +0 -5
- package/dist/calcite/p-de67ba93.system.entry.js +0 -5
- package/dist/calcite/p-e09bac0d.system.entry.js +0 -5
- package/dist/calcite/p-e35b29f5.system.entry.js +0 -5
- package/dist/calcite/p-e4acb5a8.js +0 -5
- package/dist/calcite/p-e54784a8.system.entry.js +0 -5
- package/dist/calcite/p-e63c6a55.system.entry.js +0 -5
- package/dist/calcite/p-e697ab57.system.entry.js +0 -5
- package/dist/calcite/p-e7801f1d.entry.js +0 -5
- package/dist/calcite/p-e7f7b0f8.js +0 -5
- package/dist/calcite/p-eebd2bb0.entry.js +0 -5
- package/dist/calcite/p-f2340d02.system.entry.js +0 -5
- package/dist/calcite/p-f25f139a.entry.js +0 -5
- package/dist/calcite/p-f28d8e9e.system.entry.js +0 -5
- package/dist/calcite/p-f2f2ad57.entry.js +0 -5
- package/dist/calcite/p-f4a7fa43.entry.js +0 -5
- package/dist/calcite/p-f595d924.js +0 -5
- package/dist/calcite/p-f72c037c.entry.js +0 -5
- package/dist/calcite/p-f9e7371d.entry.js +0 -5
- package/dist/calcite/p-fc265aaf.entry.js +0 -5
- package/dist/calcite/p-fd94e88d.system.entry.js +0 -5
- package/dist/cjs/locale-33c458dc.js +0 -123
- package/dist/cjs/number-73f7b474.js +0 -58
- package/dist/esm/locale-4c38cf6d.js +0 -118
- package/dist/esm/number-06e8500e.js +0 -51
- package/dist/esm-es5/dom-f24e866c.js +0 -5
- package/dist/esm-es5/label-5559055d.js +0 -5
- package/dist/esm-es5/locale-4c38cf6d.js +0 -5
- package/dist/esm-es5/number-06e8500e.js +0 -5
- package/dist/esm-es5/popper-f5caedc4.js +0 -5
- package/dist/esm-es5/resources-35c1823f.js +0 -5
- package/dist/esm-es5/resources-b4eee1d4.js +0 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
|
-
import { getElementDir, getElementProp, setRequestedIcon } from "../../utils/dom";
|
|
6
|
+
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
7
7
|
import { CSS, INPUT_TYPE_ICONS, SLOTS } from "./resources";
|
|
8
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
9
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
@@ -12,6 +12,7 @@ import { numberKeys } from "../../utils/key";
|
|
|
12
12
|
import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
|
|
13
13
|
import { CSS_UTILITY, TEXT } from "../../utils/resources";
|
|
14
14
|
import { decimalPlaces } from "../../utils/math";
|
|
15
|
+
import { createObserver } from "../../utils/observers";
|
|
15
16
|
/**
|
|
16
17
|
* @slot action - A slot for positioning a button next to an input
|
|
17
18
|
*/
|
|
@@ -74,6 +75,9 @@ export class CalciteInput {
|
|
|
74
75
|
this.value = "";
|
|
75
76
|
/** keep track of the rendered child type */
|
|
76
77
|
this.childElType = "input";
|
|
78
|
+
/** whether the value of the input was changed as a result of user typing or not */
|
|
79
|
+
this.internalValueChange = false;
|
|
80
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
77
81
|
//--------------------------------------------------------------------------
|
|
78
82
|
//
|
|
79
83
|
// Private Methods
|
|
@@ -93,11 +97,15 @@ export class CalciteInput {
|
|
|
93
97
|
}
|
|
94
98
|
};
|
|
95
99
|
this.clearInputValue = (nativeEvent) => {
|
|
96
|
-
this.setValue(
|
|
100
|
+
this.setValue({
|
|
101
|
+
committing: true,
|
|
102
|
+
nativeEvent,
|
|
103
|
+
value: ""
|
|
104
|
+
});
|
|
97
105
|
};
|
|
98
106
|
this.inputBlurHandler = () => {
|
|
99
107
|
if (this.type === "number") {
|
|
100
|
-
this.
|
|
108
|
+
this.setValue({ value: this.value });
|
|
101
109
|
}
|
|
102
110
|
this.calciteInputBlur.emit({
|
|
103
111
|
element: this.childEl,
|
|
@@ -108,7 +116,8 @@ export class CalciteInput {
|
|
|
108
116
|
}
|
|
109
117
|
};
|
|
110
118
|
this.inputFocusHandler = (event) => {
|
|
111
|
-
|
|
119
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
120
|
+
if (event.target !== slottedActionEl) {
|
|
112
121
|
this.setFocus();
|
|
113
122
|
}
|
|
114
123
|
this.calciteInputFocus.emit({
|
|
@@ -121,7 +130,10 @@ export class CalciteInput {
|
|
|
121
130
|
if (this.disabled || this.readOnly) {
|
|
122
131
|
return;
|
|
123
132
|
}
|
|
124
|
-
this.setValue(
|
|
133
|
+
this.setValue({
|
|
134
|
+
nativeEvent,
|
|
135
|
+
value: nativeEvent.target.value
|
|
136
|
+
});
|
|
125
137
|
};
|
|
126
138
|
this.inputKeyDownHandler = (event) => {
|
|
127
139
|
if (this.disabled || this.readOnly) {
|
|
@@ -141,11 +153,17 @@ export class CalciteInput {
|
|
|
141
153
|
if (!isValidNumber(delocalizedValue)) {
|
|
142
154
|
nativeEvent.preventDefault();
|
|
143
155
|
}
|
|
144
|
-
this.setValue(
|
|
156
|
+
this.setValue({
|
|
157
|
+
nativeEvent,
|
|
158
|
+
value: parseNumberString(delocalizedValue)
|
|
159
|
+
});
|
|
145
160
|
this.childNumberEl.value = this.localizedValue;
|
|
146
161
|
}
|
|
147
162
|
else {
|
|
148
|
-
this.setValue(
|
|
163
|
+
this.setValue({
|
|
164
|
+
nativeEvent,
|
|
165
|
+
value: delocalizeNumberString(value, this.locale)
|
|
166
|
+
});
|
|
149
167
|
}
|
|
150
168
|
};
|
|
151
169
|
this.inputNumberKeyDownHandler = (event) => {
|
|
@@ -168,8 +186,7 @@ export class CalciteInput {
|
|
|
168
186
|
"Delete",
|
|
169
187
|
"Enter",
|
|
170
188
|
"Escape",
|
|
171
|
-
"Tab"
|
|
172
|
-
"-"
|
|
189
|
+
"Tab"
|
|
173
190
|
];
|
|
174
191
|
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
175
192
|
return;
|
|
@@ -190,6 +207,22 @@ export class CalciteInput {
|
|
|
190
207
|
return;
|
|
191
208
|
}
|
|
192
209
|
}
|
|
210
|
+
if (/[eE]/.test(event.key)) {
|
|
211
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
if (event.key === "-") {
|
|
219
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
193
226
|
event.preventDefault();
|
|
194
227
|
};
|
|
195
228
|
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
@@ -200,8 +233,11 @@ export class CalciteInput {
|
|
|
200
233
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
201
234
|
const valueNudgeDelayInMs = 100;
|
|
202
235
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
236
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
237
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
238
|
+
}
|
|
203
239
|
let firstValueNudge = true;
|
|
204
|
-
this.nudgeNumberValueIntervalId = setInterval(() => {
|
|
240
|
+
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
205
241
|
if (firstValueNudge) {
|
|
206
242
|
firstValueNudge = false;
|
|
207
243
|
return;
|
|
@@ -210,7 +246,7 @@ export class CalciteInput {
|
|
|
210
246
|
}, valueNudgeDelayInMs);
|
|
211
247
|
};
|
|
212
248
|
this.numberButtonMouseUpAndMouseOutHandler = () => {
|
|
213
|
-
clearInterval(this.nudgeNumberValueIntervalId);
|
|
249
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
214
250
|
};
|
|
215
251
|
this.numberButtonMouseDownHandler = (event) => {
|
|
216
252
|
event.preventDefault();
|
|
@@ -223,27 +259,54 @@ export class CalciteInput {
|
|
|
223
259
|
this.setChildNumberElRef = (el) => {
|
|
224
260
|
this.childNumberEl = el;
|
|
225
261
|
};
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
262
|
+
this.setInputValue = (newInputValue) => {
|
|
263
|
+
if (this.type === "text" && !this.childEl) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
if (this.type === "number" && !this.childNumberEl) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
270
|
+
};
|
|
271
|
+
this.setPreviousValue = (newPreviousValue) => {
|
|
272
|
+
this.previousValue =
|
|
273
|
+
this.type === "number"
|
|
274
|
+
? isValidNumber(newPreviousValue)
|
|
275
|
+
? newPreviousValue
|
|
276
|
+
: ""
|
|
277
|
+
: newPreviousValue;
|
|
228
278
|
};
|
|
229
|
-
this.setValue = (
|
|
230
|
-
const
|
|
231
|
-
|
|
279
|
+
this.setValue = ({ committing = false, nativeEvent, origin = "internal", value }) => {
|
|
280
|
+
const previousLocalizedValue = this.type === "number"
|
|
281
|
+
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
282
|
+
: "";
|
|
283
|
+
const sanitizedValue = this.type === "number" ? sanitizeNumberString(value) : value;
|
|
284
|
+
const newValue = this.type === "number" && value && !sanitizedValue
|
|
285
|
+
? isValidNumber(this.previousValue)
|
|
286
|
+
? this.previousValue
|
|
287
|
+
: ""
|
|
288
|
+
: sanitizedValue;
|
|
289
|
+
const newLocalizedValue = this.type === "number"
|
|
290
|
+
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
291
|
+
: "";
|
|
292
|
+
this.internalValueChange = origin === "internal";
|
|
293
|
+
this.setPreviousValue(this.value);
|
|
294
|
+
this.value = newValue;
|
|
232
295
|
if (this.type === "number") {
|
|
233
|
-
this.
|
|
296
|
+
this.localizedValue = newLocalizedValue;
|
|
297
|
+
}
|
|
298
|
+
if (origin === "external") {
|
|
299
|
+
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
234
300
|
}
|
|
235
301
|
if (nativeEvent) {
|
|
236
|
-
if (this.type === "number") {
|
|
237
|
-
value = sanitizeNumberString(value);
|
|
238
|
-
}
|
|
239
302
|
const calciteInputInputEvent = this.calciteInputInput.emit({
|
|
240
303
|
element: this.childEl,
|
|
241
304
|
nativeEvent,
|
|
242
|
-
value
|
|
305
|
+
value: this.value
|
|
243
306
|
});
|
|
244
307
|
if (calciteInputInputEvent.defaultPrevented) {
|
|
245
|
-
this.value = previousValue;
|
|
246
|
-
this.
|
|
308
|
+
this.value = this.previousValue;
|
|
309
|
+
this.localizedValue = previousLocalizedValue;
|
|
247
310
|
}
|
|
248
311
|
else if (committing) {
|
|
249
312
|
this.calciteInputChange.emit();
|
|
@@ -251,7 +314,7 @@ export class CalciteInput {
|
|
|
251
314
|
}
|
|
252
315
|
};
|
|
253
316
|
this.inputKeyUpHandler = () => {
|
|
254
|
-
clearInterval(this.nudgeNumberValueIntervalId);
|
|
317
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
255
318
|
};
|
|
256
319
|
}
|
|
257
320
|
disabledWatcher() {
|
|
@@ -268,17 +331,20 @@ export class CalciteInput {
|
|
|
268
331
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
269
332
|
}
|
|
270
333
|
valueWatcher(newValue) {
|
|
271
|
-
if (
|
|
272
|
-
this.
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
334
|
+
if (!this.internalValueChange) {
|
|
335
|
+
this.setValue({
|
|
336
|
+
origin: "external",
|
|
337
|
+
value: newValue == null
|
|
338
|
+
? ""
|
|
339
|
+
: this.type === "number"
|
|
340
|
+
? isValidNumber(newValue)
|
|
341
|
+
? newValue
|
|
342
|
+
: this.previousValue || ""
|
|
343
|
+
: newValue
|
|
344
|
+
});
|
|
345
|
+
this.warnAboutInvalidNumberValue(newValue);
|
|
281
346
|
}
|
|
347
|
+
this.internalValueChange = false;
|
|
282
348
|
}
|
|
283
349
|
updateRequestedIcon() {
|
|
284
350
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -299,21 +365,27 @@ export class CalciteInput {
|
|
|
299
365
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
300
366
|
this.status = getElementProp(this.el, "status", this.status);
|
|
301
367
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
368
|
+
if (this.inlineEditableEl) {
|
|
369
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
370
|
+
}
|
|
371
|
+
this.setPreviousValue(this.value);
|
|
372
|
+
if (this.type === "number") {
|
|
373
|
+
this.warnAboutInvalidNumberValue(this.value);
|
|
374
|
+
this.setValue({
|
|
375
|
+
origin: "loading",
|
|
376
|
+
value: isValidNumber(this.value) ? this.value : ""
|
|
377
|
+
});
|
|
310
378
|
}
|
|
311
379
|
connectLabel(this);
|
|
312
380
|
connectForm(this);
|
|
381
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
382
|
+
this.setDisabledAction();
|
|
313
383
|
}
|
|
314
384
|
disconnectedCallback() {
|
|
385
|
+
var _a;
|
|
315
386
|
disconnectLabel(this);
|
|
316
387
|
disconnectForm(this);
|
|
388
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
317
389
|
}
|
|
318
390
|
componentWillLoad() {
|
|
319
391
|
var _a, _b;
|
|
@@ -322,17 +394,6 @@ export class CalciteInput {
|
|
|
322
394
|
this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
|
|
323
395
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
324
396
|
}
|
|
325
|
-
componentDidLoad() {
|
|
326
|
-
this.slottedActionEl = this.el.querySelector("[slot=action]");
|
|
327
|
-
this.setDisabledAction();
|
|
328
|
-
}
|
|
329
|
-
componentShouldUpdate(newValue, oldValue, property) {
|
|
330
|
-
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
331
|
-
this.value = oldValue;
|
|
332
|
-
return false;
|
|
333
|
-
}
|
|
334
|
-
return true;
|
|
335
|
-
}
|
|
336
397
|
//--------------------------------------------------------------------------
|
|
337
398
|
//
|
|
338
399
|
// Public Methods
|
|
@@ -363,10 +424,16 @@ export class CalciteInput {
|
|
|
363
424
|
: nudgedValue;
|
|
364
425
|
const inputValPlaces = decimalPlaces(inputVal);
|
|
365
426
|
const inputStepPlaces = decimalPlaces(inputStep);
|
|
366
|
-
this.setValue(
|
|
427
|
+
this.setValue({
|
|
428
|
+
committing: true,
|
|
429
|
+
nativeEvent,
|
|
430
|
+
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
431
|
+
});
|
|
367
432
|
}
|
|
368
433
|
onFormReset() {
|
|
369
|
-
this.setValue(
|
|
434
|
+
this.setValue({
|
|
435
|
+
value: this.defaultValue
|
|
436
|
+
});
|
|
370
437
|
}
|
|
371
438
|
syncHiddenFormInput(input) {
|
|
372
439
|
var _a, _b, _c, _d;
|
|
@@ -389,14 +456,19 @@ export class CalciteInput {
|
|
|
389
456
|
}
|
|
390
457
|
}
|
|
391
458
|
setDisabledAction() {
|
|
392
|
-
|
|
459
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
460
|
+
if (!slottedActionEl) {
|
|
393
461
|
return;
|
|
394
462
|
}
|
|
395
|
-
const slottedActionEl = this.slottedActionEl;
|
|
396
463
|
this.disabled
|
|
397
464
|
? slottedActionEl.setAttribute("disabled", "")
|
|
398
465
|
: slottedActionEl.removeAttribute("disabled");
|
|
399
466
|
}
|
|
467
|
+
warnAboutInvalidNumberValue(value) {
|
|
468
|
+
if (this.type === "number" && value && !isValidNumber(value)) {
|
|
469
|
+
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
400
472
|
// --------------------------------------------------------------------------
|
|
401
473
|
//
|
|
402
474
|
// Render Methods
|
|
@@ -1,51 +1,42 @@
|
|
|
1
1
|
/* mixins & extensions */
|
|
2
|
-
|
|
3
2
|
@keyframes in {
|
|
4
3
|
0% {
|
|
5
4
|
opacity: 0;
|
|
6
5
|
}
|
|
7
|
-
|
|
8
6
|
100% {
|
|
9
7
|
opacity: 1;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
|
-
|
|
13
10
|
@keyframes in-down {
|
|
14
11
|
0% {
|
|
15
12
|
opacity: 0;
|
|
16
13
|
transform: translate3D(0, -5px, 0);
|
|
17
14
|
}
|
|
18
|
-
|
|
19
15
|
100% {
|
|
20
16
|
opacity: 1;
|
|
21
17
|
transform: translate3D(0, 0, 0);
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
|
-
|
|
25
20
|
@keyframes in-up {
|
|
26
21
|
0% {
|
|
27
22
|
opacity: 0;
|
|
28
23
|
transform: translate3D(0, 5px, 0);
|
|
29
24
|
}
|
|
30
|
-
|
|
31
25
|
100% {
|
|
32
26
|
opacity: 1;
|
|
33
27
|
transform: translate3D(0, 0, 0);
|
|
34
28
|
}
|
|
35
29
|
}
|
|
36
|
-
|
|
37
30
|
@keyframes in-scale {
|
|
38
31
|
0% {
|
|
39
32
|
opacity: 0;
|
|
40
33
|
transform: scale3D(0.95, 0.95, 1);
|
|
41
34
|
}
|
|
42
|
-
|
|
43
35
|
100% {
|
|
44
36
|
opacity: 1;
|
|
45
37
|
transform: scale3D(1, 1, 1);
|
|
46
38
|
}
|
|
47
39
|
}
|
|
48
|
-
|
|
49
40
|
:root {
|
|
50
41
|
--calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));
|
|
51
42
|
--calcite-internal-duration-factor: var(--calcite-duration-factor, 1);
|
|
@@ -79,7 +70,6 @@
|
|
|
79
70
|
/**
|
|
80
71
|
* Currently only used in Checkbox.
|
|
81
72
|
*/
|
|
82
|
-
|
|
83
73
|
:host {
|
|
84
74
|
/* Component spacing variables */
|
|
85
75
|
--calcite-icon-size: 1rem;
|
|
@@ -97,7 +87,7 @@
|
|
|
97
87
|
}
|
|
98
88
|
|
|
99
89
|
:root {
|
|
100
|
-
--calcite-popper-transition:
|
|
90
|
+
--calcite-popper-transition: var(--calcite-animation-timing);
|
|
101
91
|
}
|
|
102
92
|
|
|
103
93
|
:host([hidden]) {
|
|
@@ -105,14 +95,15 @@
|
|
|
105
95
|
}
|
|
106
96
|
|
|
107
97
|
:host {
|
|
108
|
-
|
|
98
|
+
position: relative;
|
|
109
99
|
display: inline-block;
|
|
110
|
-
vertical-align: top;
|
|
111
100
|
width: 100%;
|
|
112
|
-
position: relative;
|
|
113
101
|
overflow: visible;
|
|
102
|
+
vertical-align: top;
|
|
103
|
+
--tw-shadow: 0 0 #0000;
|
|
104
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
105
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
114
106
|
}
|
|
115
|
-
|
|
116
107
|
:host .menu-container .calcite-popper-anim {
|
|
117
108
|
position: relative;
|
|
118
109
|
z-index: 1;
|
|
@@ -123,23 +114,18 @@
|
|
|
123
114
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
124
115
|
border-radius: 0.25rem;
|
|
125
116
|
}
|
|
126
|
-
|
|
127
117
|
:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim {
|
|
128
118
|
transform: translateY(-5px);
|
|
129
119
|
}
|
|
130
|
-
|
|
131
120
|
:host .menu-container[data-popper-placement^=top] .calcite-popper-anim {
|
|
132
121
|
transform: translateY(5px);
|
|
133
122
|
}
|
|
134
|
-
|
|
135
123
|
:host .menu-container[data-popper-placement^=left] .calcite-popper-anim {
|
|
136
124
|
transform: translateX(5px);
|
|
137
125
|
}
|
|
138
|
-
|
|
139
126
|
:host .menu-container[data-popper-placement^=right] .calcite-popper-anim {
|
|
140
127
|
transform: translateX(-5px);
|
|
141
128
|
}
|
|
142
|
-
|
|
143
129
|
:host .menu-container[data-popper-placement] .calcite-popper-anim--active {
|
|
144
130
|
opacity: 1;
|
|
145
131
|
visibility: visible;
|
|
@@ -147,9 +133,11 @@
|
|
|
147
133
|
}
|
|
148
134
|
|
|
149
135
|
.calendar-picker-wrapper {
|
|
150
|
-
box-shadow: none;
|
|
151
136
|
position: static;
|
|
152
137
|
width: 100%;
|
|
138
|
+
--tw-shadow: 0 0 #0000;
|
|
139
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
140
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
153
141
|
transform: translate3d(0, 0, 0);
|
|
154
142
|
}
|
|
155
143
|
|
|
@@ -160,49 +148,44 @@
|
|
|
160
148
|
:host([range]) .input-container {
|
|
161
149
|
display: flex;
|
|
162
150
|
}
|
|
163
|
-
|
|
164
151
|
:host([range]) .input-wrapper {
|
|
165
152
|
flex: 1 1 auto;
|
|
166
153
|
}
|
|
167
|
-
|
|
168
154
|
:host([range]) .horizontal-arrow-container {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
padding-bottom: 0;
|
|
172
|
-
padding-left: 0.25rem;
|
|
173
|
-
padding-right: 0.25rem;
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
174
157
|
border-width: 1px;
|
|
158
|
+
border-left-width: 0px;
|
|
159
|
+
border-right-width: 0px;
|
|
175
160
|
border-style: solid;
|
|
176
161
|
border-color: var(--calcite-ui-border-input);
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
162
|
+
background-color: var(--calcite-ui-background);
|
|
163
|
+
padding-top: 0px;
|
|
164
|
+
padding-bottom: 0px;
|
|
165
|
+
padding-left: 0.25rem;
|
|
166
|
+
padding-right: 0.25rem;
|
|
181
167
|
}
|
|
182
168
|
|
|
183
169
|
:host([range][layout=vertical]) .input-wrapper {
|
|
184
170
|
width: 100%;
|
|
185
171
|
}
|
|
186
|
-
|
|
187
172
|
:host([range][layout=vertical]) .input-container {
|
|
188
173
|
flex-direction: column;
|
|
189
174
|
align-items: flex-start;
|
|
190
175
|
}
|
|
191
|
-
|
|
192
176
|
:host([range][layout=vertical]) .calendar-picker-wrapper--end {
|
|
193
177
|
transform: translate3d(0, 0, 0);
|
|
194
178
|
}
|
|
195
|
-
|
|
196
179
|
:host([range][layout=vertical]) .vertical-arrow-container {
|
|
197
180
|
top: 1.5rem;
|
|
198
|
-
left: 0;
|
|
199
|
-
padding-left: 0.625rem;
|
|
200
|
-
padding-right: 0.625rem;
|
|
201
|
-
margin-left: 1px;
|
|
202
|
-
margin-right: 1px;
|
|
203
181
|
position: absolute;
|
|
182
|
+
left: 0px;
|
|
204
183
|
z-index: 10;
|
|
184
|
+
margin-left: 1px;
|
|
185
|
+
margin-right: 1px;
|
|
205
186
|
background-color: var(--calcite-ui-foreground-1);
|
|
187
|
+
padding-left: 0.625rem;
|
|
188
|
+
padding-right: 0.625rem;
|
|
206
189
|
}
|
|
207
190
|
|
|
208
191
|
:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper {
|
|
@@ -222,28 +205,27 @@
|
|
|
222
205
|
position: absolute;
|
|
223
206
|
z-index: 900;
|
|
224
207
|
transform: scale(0);
|
|
225
|
-
visibility: hidden;
|
|
226
208
|
pointer-events: none;
|
|
209
|
+
visibility: hidden;
|
|
227
210
|
}
|
|
228
211
|
|
|
229
212
|
:host([active]) .menu-container {
|
|
230
|
-
visibility: visible;
|
|
231
213
|
pointer-events: auto;
|
|
214
|
+
visibility: visible;
|
|
232
215
|
}
|
|
233
216
|
|
|
234
217
|
.input .calcite-input__wrapper {
|
|
235
|
-
margin-top:
|
|
218
|
+
margin-top: 0px;
|
|
236
219
|
}
|
|
237
220
|
|
|
238
221
|
:host([range][layout=vertical][scale=m]) .vertical-arrow-container {
|
|
239
222
|
top: 1.5rem;
|
|
240
223
|
padding-left: 0.75rem;
|
|
241
224
|
}
|
|
242
|
-
|
|
243
225
|
:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon {
|
|
244
|
-
width: 0.75rem;
|
|
245
226
|
height: 0.75rem;
|
|
246
|
-
|
|
227
|
+
width: 0.75rem;
|
|
228
|
+
min-width: 0px;
|
|
247
229
|
}
|
|
248
230
|
|
|
249
231
|
:host([range][layout=vertical][scale=l]) .vertical-arrow-container {
|
|
@@ -161,6 +161,9 @@ export class CalciteInputDatePicker {
|
|
|
161
161
|
// Event Listeners
|
|
162
162
|
//
|
|
163
163
|
//--------------------------------------------------------------------------
|
|
164
|
+
handleDateOrRangeChange() {
|
|
165
|
+
this.calciteInputDatePickerChange.emit();
|
|
166
|
+
}
|
|
164
167
|
calciteDaySelectHandler() {
|
|
165
168
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
166
169
|
return;
|
|
@@ -260,7 +263,7 @@ export class CalciteInputDatePicker {
|
|
|
260
263
|
this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper },
|
|
261
264
|
h("calcite-input", { class: {
|
|
262
265
|
input: true,
|
|
263
|
-
"border-
|
|
266
|
+
"border-top-color-one": this.layout === "vertical" && this.range
|
|
264
267
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.endInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))),
|
|
265
268
|
h(HiddenFormInputSlot, { component: this })));
|
|
266
269
|
}
|
|
@@ -351,6 +354,7 @@ export class CalciteInputDatePicker {
|
|
|
351
354
|
}
|
|
352
355
|
if (!this.range) {
|
|
353
356
|
this.value = dateToISO(date);
|
|
357
|
+
this.calciteDatePickerChange.emit(date);
|
|
354
358
|
return;
|
|
355
359
|
}
|
|
356
360
|
const { focusedInput } = this;
|
|
@@ -925,7 +929,10 @@ export class CalciteInputDatePicker {
|
|
|
925
929
|
"cancelable": true,
|
|
926
930
|
"composed": true,
|
|
927
931
|
"docs": {
|
|
928
|
-
"tags": [
|
|
932
|
+
"tags": [{
|
|
933
|
+
"name": "deprecated",
|
|
934
|
+
"text": "use `calciteInputDatePickerChange` instead."
|
|
935
|
+
}],
|
|
929
936
|
"text": "Trigger calcite date change when a user changes the date."
|
|
930
937
|
},
|
|
931
938
|
"complexType": {
|
|
@@ -947,6 +954,9 @@ export class CalciteInputDatePicker {
|
|
|
947
954
|
"tags": [{
|
|
948
955
|
"name": "see",
|
|
949
956
|
"text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
|
|
957
|
+
}, {
|
|
958
|
+
"name": "deprecated",
|
|
959
|
+
"text": "use `calciteInputDatePickerChange` instead."
|
|
950
960
|
}],
|
|
951
961
|
"text": "Trigger calcite date change when a user changes the date range."
|
|
952
962
|
},
|
|
@@ -960,6 +970,21 @@ export class CalciteInputDatePicker {
|
|
|
960
970
|
}
|
|
961
971
|
}
|
|
962
972
|
}
|
|
973
|
+
}, {
|
|
974
|
+
"method": "calciteInputDatePickerChange",
|
|
975
|
+
"name": "calciteInputDatePickerChange",
|
|
976
|
+
"bubbles": true,
|
|
977
|
+
"cancelable": true,
|
|
978
|
+
"composed": true,
|
|
979
|
+
"docs": {
|
|
980
|
+
"tags": [],
|
|
981
|
+
"text": "This event fires when the input date picker value changes."
|
|
982
|
+
},
|
|
983
|
+
"complexType": {
|
|
984
|
+
"original": "void",
|
|
985
|
+
"resolved": "void",
|
|
986
|
+
"references": {}
|
|
987
|
+
}
|
|
963
988
|
}, {
|
|
964
989
|
"method": "calciteInputDatePickerOpen",
|
|
965
990
|
"name": "calciteInputDatePickerOpen",
|
|
@@ -1061,6 +1086,18 @@ export class CalciteInputDatePicker {
|
|
|
1061
1086
|
"methodName": "loadLocaleData"
|
|
1062
1087
|
}]; }
|
|
1063
1088
|
static get listeners() { return [{
|
|
1089
|
+
"name": "calciteDatePickerChange",
|
|
1090
|
+
"method": "handleDateOrRangeChange",
|
|
1091
|
+
"target": undefined,
|
|
1092
|
+
"capture": false,
|
|
1093
|
+
"passive": false
|
|
1094
|
+
}, {
|
|
1095
|
+
"name": "calciteDatePickerRangeChange",
|
|
1096
|
+
"method": "handleDateOrRangeChange",
|
|
1097
|
+
"target": undefined,
|
|
1098
|
+
"capture": false,
|
|
1099
|
+
"passive": false
|
|
1100
|
+
}, {
|
|
1064
1101
|
"name": "calciteDaySelect",
|
|
1065
1102
|
"method": "calciteDaySelectHandler",
|
|
1066
1103
|
"target": undefined,
|