@esri/calcite-components 1.0.0-beta.70 → 1.0.0-beta.74
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-icon/centerAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.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/fog16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/language16.json +1 -0
- package/dist/calcite/assets/calcite-icon/language24.json +1 -0
- package/dist/calcite/assets/calcite-icon/language32.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud32.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/rain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder32.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/ringsThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold32.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/selectVisible16.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF32.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-02589ad3.system.entry.js +5 -0
- package/dist/calcite/p-02856c5a.system.entry.js +5 -0
- package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
- package/dist/calcite/p-05dc6806.entry.js +5 -0
- package/dist/calcite/p-088a096d.system.entry.js +5 -0
- package/dist/calcite/p-0af820bf.entry.js +5 -0
- package/dist/calcite/p-0b0ce9b2.system.entry.js +5 -0
- package/dist/calcite/p-0cf878ed.system.entry.js +5 -0
- package/dist/calcite/p-10f1a096.system.entry.js +5 -0
- package/dist/calcite/p-132d55c2.entry.js +5 -0
- package/dist/calcite/p-141c978b.system.entry.js +5 -0
- package/dist/calcite/p-14ff4cbd.system.js +5 -0
- package/dist/calcite/p-16cfe8e8.entry.js +5 -0
- package/dist/calcite/p-1894562d.system.entry.js +5 -0
- package/dist/calcite/p-1a5dae4a.entry.js +5 -0
- package/dist/calcite/p-1b3a66ec.system.entry.js +5 -0
- package/dist/calcite/p-1d7a9909.system.entry.js +5 -0
- package/dist/calcite/{p-7bb94bfa.entry.js → p-209f2049.entry.js} +1 -1
- package/dist/calcite/p-20d2db84.entry.js +5 -0
- package/dist/calcite/p-21f26f77.entry.js +5 -0
- package/dist/calcite/p-244e0b95.entry.js +5 -0
- package/dist/calcite/p-253efee4.entry.js +5 -0
- package/dist/calcite/p-2618de8a.entry.js +5 -0
- package/dist/calcite/p-273cd5ab.entry.js +5 -0
- package/dist/calcite/p-28adfebc.entry.js +5 -0
- package/dist/calcite/{p-6d44b7d9.system.js → p-28dea60a.system.js} +1 -1
- package/dist/calcite/p-2a8938c7.system.entry.js +5 -0
- package/dist/calcite/p-2c954eaa.system.entry.js +5 -0
- package/dist/calcite/p-325fcd0d.entry.js +5 -0
- package/dist/calcite/p-32f6f7df.entry.js +5 -0
- package/dist/calcite/{p-e956e279.js → p-32f7eb32.js} +1 -1
- package/dist/calcite/p-37bddb73.system.entry.js +5 -0
- package/dist/calcite/p-38e64c6b.entry.js +5 -0
- package/dist/calcite/p-3a20f93d.system.js +5 -0
- package/dist/calcite/p-3ab992ff.system.entry.js +5 -0
- package/dist/calcite/p-3b73b785.system.entry.js +5 -0
- package/dist/calcite/p-3b8f5ab8.system.entry.js +5 -0
- package/dist/calcite/p-3c34f20d.system.js +5 -0
- package/dist/calcite/p-3d4c34e5.js +5 -0
- package/dist/calcite/p-3e9e4992.entry.js +5 -0
- package/dist/calcite/p-41894582.js +5 -0
- package/dist/calcite/p-41e2198b.js +5 -0
- package/dist/calcite/p-436d9f0e.system.entry.js +5 -0
- package/dist/calcite/p-45bfe5bf.system.entry.js +5 -0
- package/dist/calcite/p-4659df78.entry.js +5 -0
- package/dist/calcite/p-46b63d75.entry.js +5 -0
- package/dist/calcite/p-4d22b788.entry.js +5 -0
- package/dist/calcite/p-513bc44f.system.entry.js +5 -0
- package/dist/calcite/p-51550014.entry.js +5 -0
- package/dist/calcite/p-51a85436.entry.js +5 -0
- package/dist/calcite/{p-523bc291.system.js → p-52871e84.system.js} +1 -1
- package/dist/calcite/p-54e271c9.system.entry.js +5 -0
- package/dist/calcite/p-57558d4b.entry.js +5 -0
- package/dist/calcite/p-59133b9b.entry.js +5 -0
- package/dist/calcite/p-5c256f31.system.entry.js +5 -0
- package/dist/calcite/p-5c3b9524.system.entry.js +5 -0
- package/dist/calcite/{p-2451da5b.entry.js → p-5df1936f.entry.js} +1 -1
- package/dist/calcite/p-6515e0a5.entry.js +5 -0
- package/dist/calcite/p-66ca7309.entry.js +5 -0
- package/dist/calcite/p-698167ac.entry.js +5 -0
- package/dist/calcite/p-781ebed0.system.js +5 -0
- package/dist/calcite/p-799f0655.entry.js +5 -0
- package/dist/calcite/p-7a28e833.system.entry.js +5 -0
- package/dist/calcite/p-7d355abe.system.entry.js +5 -0
- package/dist/calcite/p-7f32a681.system.entry.js +5 -0
- package/dist/calcite/p-7f5bd070.system.entry.js +5 -0
- package/dist/calcite/p-8468ddb0.system.entry.js +5 -0
- package/dist/calcite/p-85fb7bc0.entry.js +5 -0
- package/dist/calcite/p-869eb8f9.entry.js +5 -0
- package/dist/calcite/p-897fc280.system.entry.js +5 -0
- package/dist/calcite/p-8b145872.system.entry.js +5 -0
- package/dist/calcite/p-8d36bc7c.entry.js +5 -0
- package/dist/calcite/p-8e1945e3.entry.js +5 -0
- package/dist/calcite/{p-1434e37e.entry.js → p-8eafaf3f.entry.js} +1 -1
- package/dist/calcite/p-8ebed170.system.entry.js +5 -0
- package/dist/calcite/p-8f4ea148.system.entry.js +5 -0
- package/dist/calcite/p-99d29b5c.system.entry.js +5 -0
- package/dist/calcite/p-99d32fc3.system.js +5 -0
- package/dist/calcite/p-9b05c3fd.js +5 -0
- package/dist/calcite/p-9d81d229.entry.js +5 -0
- package/dist/calcite/p-a0043c61.entry.js +5 -0
- package/dist/calcite/p-a1f65f6e.entry.js +5 -0
- package/dist/calcite/p-a348ffb1.system.entry.js +5 -0
- package/dist/calcite/p-a4dec1f6.system.entry.js +5 -0
- package/dist/calcite/p-a9c50960.system.entry.js +5 -0
- package/dist/calcite/p-aaed1677.entry.js +5 -0
- package/dist/calcite/p-ac778725.system.entry.js +5 -0
- package/dist/calcite/p-ac8cf248.entry.js +5 -0
- package/dist/calcite/p-b1a43a5f.system.entry.js +5 -0
- package/dist/calcite/p-b4990fa4.system.entry.js +5 -0
- package/dist/calcite/p-b4d3f1c1.entry.js +5 -0
- package/dist/calcite/p-b80ab9ba.entry.js +5 -0
- package/dist/calcite/p-bb401f25.system.js +5 -0
- package/dist/calcite/p-bb9fb183.system.entry.js +5 -0
- package/dist/calcite/p-bc85a791.entry.js +5 -0
- package/dist/calcite/p-bda51610.entry.js +5 -0
- package/dist/calcite/p-c0ed9eff.entry.js +5 -0
- package/dist/calcite/p-c56f495f.system.js +5 -0
- package/dist/calcite/p-c7b8a068.entry.js +5 -0
- package/dist/calcite/p-cb9cd28c.system.entry.js +5 -0
- package/dist/calcite/p-cfcb2161.entry.js +5 -0
- package/dist/calcite/p-d1794edd.entry.js +5 -0
- package/dist/calcite/p-d578e568.system.entry.js +5 -0
- package/dist/calcite/p-d5d91f34.system.entry.js +5 -0
- package/dist/calcite/p-dba7c714.system.entry.js +5 -0
- package/dist/calcite/p-dd9f2e61.js +5 -0
- package/dist/calcite/p-e0fa3b13.system.entry.js +5 -0
- package/dist/calcite/{p-d6f20229.js → p-e1944963.js} +1 -1
- package/dist/calcite/p-e2094dff.system.entry.js +5 -0
- package/dist/calcite/p-e2ebc089.system.entry.js +5 -0
- package/dist/calcite/p-e426746f.system.entry.js +5 -0
- package/dist/calcite/p-e564004a.system.entry.js +5 -0
- package/dist/calcite/p-e606e9ae.system.entry.js +5 -0
- package/dist/calcite/{p-714ae4f6.entry.js → p-e63f0806.entry.js} +1 -1
- package/dist/calcite/p-e690993e.system.entry.js +5 -0
- package/dist/calcite/p-e6d14bc5.system.entry.js +5 -0
- package/dist/calcite/p-e87980ac.entry.js +5 -0
- package/dist/calcite/p-eea18662.entry.js +5 -0
- package/dist/calcite/p-ef6b4184.js +5 -0
- package/dist/calcite/p-f09810e7.entry.js +5 -0
- package/dist/calcite/p-f26cad61.system.entry.js +5 -0
- package/dist/calcite/p-f5469b62.system.entry.js +5 -0
- package/dist/calcite/p-f5739197.entry.js +5 -0
- package/dist/calcite/p-f6fc151d.system.entry.js +5 -0
- package/dist/calcite/p-f73124d0.entry.js +5 -0
- package/dist/calcite/p-f763b1e7.system.entry.js +5 -0
- package/dist/calcite/p-f90b2e7f.entry.js +5 -0
- package/dist/calcite/p-f95fb85f.entry.js +5 -0
- package/dist/calcite/p-fbcaa23c.system.js +5 -0
- package/dist/calcite/p-fcd62e97.js +5 -0
- package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
- package/dist/calcite/p-fe3fff79.entry.js +5 -0
- package/dist/calcite/p-fee9511c.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-5f60c98b.js → CalciteExpandToggle-65468585.js} +2 -2
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +27 -3
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +26 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-button.cjs.entry.js +12 -7
- package/dist/cjs/calcite-card.cjs.entry.js +3 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +49 -45
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +16 -19
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +53 -41
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -29
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +35 -23
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +31 -14
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +378 -253
- package/dist/cjs/calcite-input.cjs.entry.js +58 -38
- package/dist/cjs/calcite-label.cjs.entry.js +2 -5
- package/dist/cjs/calcite-link.cjs.entry.js +3 -3
- package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -13
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +7 -8
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -9
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +26 -57
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +27 -82
- package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +170 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -12
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +38 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +4 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -6
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/{dom-19822169.js → dom-0de9fb18.js} +39 -9
- package/dist/cjs/{form-a5b44a1f.js → form-4b7c317e.js} +1 -1
- package/dist/cjs/{label-8e3552b2.js → label-1bca211b.js} +5 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-02462821.js +128 -0
- package/dist/cjs/number-e813e801.js +84 -0
- package/dist/cjs/{popper-87bf13e6.js → popper-09105f6f.js} +118 -73
- package/dist/cjs/{resources-cd25dbae.js → resources-405cc2c4.js} +17 -6
- package/dist/cjs/{resources-3f7b51c8.js → resources-9f0994fb.js} +3 -2
- package/dist/collection/collection-manifest.json +6 -8
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +8 -14
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -3
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +41 -84
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +2 -3
- package/dist/collection/components/calcite-action/calcite-action.css +51 -92
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +12 -19
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +10 -19
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +16 -24
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +33 -33
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
- package/dist/collection/components/calcite-alert/calcite-alert.css +110 -147
- package/dist/collection/components/calcite-alert/calcite-alert.js +50 -13
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +13 -21
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
- package/dist/collection/components/calcite-block/calcite-block.css +52 -65
- package/dist/collection/components/calcite-block/calcite-block.js +8 -4
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +32 -54
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +1 -2
- package/dist/collection/components/calcite-button/calcite-button.css +107 -284
- package/dist/collection/components/calcite-button/calcite-button.js +9 -6
- package/dist/collection/components/calcite-button/resources.js +3 -1
- package/dist/collection/components/calcite-card/calcite-card.css +55 -67
- package/dist/collection/components/calcite-card/calcite-card.js +2 -6
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +16 -25
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
- package/dist/collection/components/calcite-chip/calcite-chip.css +36 -80
- package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +18 -49
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -12
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +12 -18
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -6
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +12 -19
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +37 -60
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +7 -8
- package/dist/collection/components/calcite-combobox/interfaces.d.js +1 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +41 -55
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +1 -4
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +15 -38
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +2 -4
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +9 -15
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +55 -17
- package/dist/collection/components/calcite-date-picker/resources.js +2 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +64 -68
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +26 -32
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +39 -57
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +8 -48
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +18 -19
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +15 -21
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +89 -183
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
- package/dist/collection/components/calcite-fab/calcite-fab.css +15 -17
- package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
- package/dist/collection/components/calcite-filter/calcite-filter.css +28 -56
- package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
- package/dist/collection/components/calcite-flow/calcite-flow.css +27 -35
- package/dist/collection/components/calcite-graph/calcite-graph.css +8 -15
- package/dist/collection/components/calcite-handle/calcite-handle.css +9 -19
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.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/fog16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.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/rain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.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/ringsThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.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/selectVisible16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +17 -15
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +11 -14
- package/dist/collection/components/calcite-input/calcite-input.css +120 -268
- package/dist/collection/components/calcite-input/calcite-input.js +54 -33
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +33 -47
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +83 -10
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +21 -33
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +6 -12
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +84 -80
- package/dist/collection/components/calcite-label/calcite-label.css +28 -42
- package/dist/collection/components/calcite-label/calcite-label.js +1 -4
- package/dist/collection/components/calcite-label/interfaces.js +1 -0
- package/dist/collection/components/calcite-link/calcite-link.css +31 -51
- package/dist/collection/components/calcite-link/calcite-link.js +1 -1
- package/dist/collection/components/calcite-list/calcite-list.css +14 -17
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +28 -47
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +12 -18
- package/dist/collection/components/calcite-loader/calcite-loader.css +47 -73
- package/dist/collection/components/calcite-modal/calcite-modal.css +107 -124
- package/dist/collection/components/calcite-modal/calcite-modal.js +4 -7
- package/dist/collection/components/calcite-notice/calcite-notice.css +66 -114
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
- package/dist/collection/components/calcite-option/calcite-option.css +6 -12
- package/dist/collection/components/calcite-option/calcite-option.js +3 -1
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +6 -12
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +26 -56
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
- package/dist/collection/components/calcite-panel/calcite-panel.css +64 -105
- package/dist/collection/components/calcite-panel/calcite-panel.js +10 -14
- package/dist/collection/components/calcite-panel/resources.js +1 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +21 -27
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +12 -4
- package/dist/collection/components/calcite-pick-list/resources.js +1 -1
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +12 -2
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +20 -34
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +49 -67
- package/dist/collection/components/calcite-popover/calcite-popover.css +30 -39
- package/dist/collection/components/calcite-popover/calcite-popover.js +3 -6
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -12
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
- package/dist/collection/components/calcite-progress/calcite-progress.css +12 -21
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +84 -14
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +19 -10
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -15
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +8 -16
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +15 -18
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +24 -31
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -60
- package/dist/collection/components/calcite-rating/calcite-rating.css +18 -43
- package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +23 -31
- package/dist/collection/components/calcite-select/calcite-select.css +32 -61
- package/dist/collection/components/calcite-select/calcite-select.js +7 -8
- package/dist/collection/components/calcite-shell/calcite-shell.css +48 -44
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +34 -46
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +71 -42
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +204 -6
- package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
- package/dist/collection/components/calcite-slider/calcite-slider.css +167 -232
- package/dist/collection/components/calcite-slider/calcite-slider.js +65 -29
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -12
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +16 -29
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +29 -6
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +13 -19
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +56 -144
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
- package/dist/collection/components/calcite-switch/calcite-switch.css +31 -68
- package/dist/collection/components/calcite-switch/calcite-switch.js +3 -6
- package/dist/collection/components/calcite-tab/calcite-tab.css +15 -22
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +18 -26
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +56 -88
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +5 -9
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +8 -14
- package/dist/collection/components/calcite-tile/calcite-tile.css +57 -86
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +57 -100
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -5
- package/dist/collection/components/calcite-tile-select/resources.js +20 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -13
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +62 -125
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +263 -298
- package/dist/collection/components/calcite-time-picker/resources.js +15 -9
- package/dist/collection/components/calcite-tip/calcite-tip.css +25 -37
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +9 -15
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +41 -61
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +17 -21
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +1 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -12
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -3
- package/dist/collection/components/calcite-tree/calcite-tree.css +6 -12
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +31 -63
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +1 -3
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +22 -26
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +22 -8
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +27 -34
- package/dist/collection/components/functional/CalciteExpandToggle.js +1 -1
- package/dist/collection/demos/_assets/demo-form.js +23 -0
- package/dist/collection/demos/_assets/demo-template.js +13 -0
- package/dist/collection/demos/_assets/head.js +45 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/conditionalSlot.js +26 -0
- package/dist/collection/utils/dom.js +39 -9
- package/dist/collection/utils/interactive.js +20 -0
- package/dist/collection/utils/key.js +0 -23
- package/dist/collection/utils/label.js +4 -1
- package/dist/collection/utils/locale.js +43 -38
- package/dist/collection/utils/number.js +52 -19
- package/dist/collection/utils/time.js +144 -36
- package/dist/components/CalciteExpandToggle.js +1 -1
- package/dist/components/calcite-accordion-item.js +2 -3
- package/dist/components/calcite-accordion.js +2 -3
- package/dist/components/calcite-action-bar.js +26 -2
- package/dist/components/calcite-action-group2.js +1 -1
- package/dist/components/calcite-action-menu2.js +1 -1
- package/dist/components/calcite-action-pad.js +3 -8
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +27 -13
- package/dist/components/calcite-avatar.js +4 -5
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +7 -3
- package/dist/components/calcite-button2.js +11 -6
- package/dist/components/calcite-card.js +3 -6
- package/dist/components/calcite-checkbox2.js +2 -2
- package/dist/components/calcite-chip2.js +4 -5
- package/dist/components/calcite-color-picker-hex-input2.js +5 -7
- package/dist/components/calcite-color-picker-swatch2.js +23 -15
- package/dist/components/calcite-color-picker.js +9 -12
- package/dist/components/calcite-combobox-item-group.js +3 -4
- package/dist/components/calcite-combobox-item.js +2 -4
- package/dist/components/calcite-combobox.js +8 -9
- package/dist/components/calcite-date-picker-day2.js +2 -3
- package/dist/components/calcite-date-picker-month-header2.js +9 -11
- package/dist/components/calcite-date-picker-month2.js +7 -10
- package/dist/components/calcite-date-picker2.js +34 -19
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +5 -8
- package/dist/components/calcite-dropdown2.js +19 -19
- package/dist/components/calcite-fab.js +4 -5
- package/dist/components/calcite-filter2.js +4 -20
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph2.js +1 -1
- package/dist/components/calcite-handle2.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +28 -11
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +54 -52
- package/dist/components/calcite-input2.js +53 -33
- package/dist/components/calcite-label2.js +2 -4
- package/dist/components/calcite-link2.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader2.js +1 -1
- package/dist/components/calcite-modal.js +5 -7
- package/dist/components/calcite-notice.js +3 -4
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +4 -2
- package/dist/components/calcite-pagination.js +3 -5
- package/dist/components/calcite-panel.js +10 -13
- package/dist/components/calcite-pick-list-group.js +3 -5
- package/dist/components/calcite-pick-list-item2.js +1 -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 +4 -6
- package/dist/components/calcite-progress2.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +19 -15
- package/dist/components/calcite-radio-group-item.js +6 -59
- package/dist/components/calcite-radio-group.js +16 -19
- package/dist/components/calcite-rating.js +2 -4
- package/dist/components/calcite-scrim2.js +1 -1
- package/dist/components/calcite-select.js +7 -7
- package/dist/components/calcite-shell-center-row.js +4 -5
- package/dist/components/calcite-shell-panel.js +171 -8
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +24 -11
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +5 -4
- package/dist/components/calcite-stepper-item.js +4 -6
- package/dist/components/calcite-stepper.js +2 -3
- package/dist/components/calcite-switch2.js +4 -6
- package/dist/components/calcite-tab-nav2.js +1 -1
- package/dist/components/calcite-tab-title2.js +6 -9
- 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 -4
- package/dist/components/calcite-tile2.js +1 -1
- package/dist/components/calcite-time-picker2.js +328 -196
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager2.js +3 -4
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -4
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +11 -4
- package/dist/components/dom.js +39 -9
- package/dist/components/label.js +4 -1
- package/dist/components/locale.js +43 -38
- package/dist/components/number.js +57 -21
- package/dist/components/popper.js +117 -72
- package/dist/components/resources3.js +1 -1
- package/dist/components/shared-list-render.js +16 -6
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +1613 -1196
- package/dist/esm/{CalciteExpandToggle-677f2f8b.js → CalciteExpandToggle-48b6e955.js} +2 -2
- package/dist/esm/calcite-accordion_2.entry.js +5 -6
- package/dist/esm/calcite-action-bar.entry.js +28 -4
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +2 -2
- package/dist/esm/calcite-action-pad.entry.js +4 -9
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +26 -13
- package/dist/esm/calcite-avatar.entry.js +4 -5
- package/dist/esm/calcite-block_2.entry.js +10 -6
- package/dist/esm/calcite-button.entry.js +12 -7
- package/dist/esm/calcite-card.entry.js +3 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip.entry.js +4 -5
- package/dist/esm/calcite-color-picker_3.entry.js +36 -32
- package/dist/esm/calcite-combobox_3.entry.js +15 -18
- package/dist/esm/calcite-date-picker_4.entry.js +50 -38
- package/dist/esm/calcite-dropdown_3.entry.js +26 -29
- package/dist/esm/calcite-fab.entry.js +4 -5
- package/dist/esm/calcite-filter.entry.js +4 -19
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +27 -15
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +3 -3
- package/dist/esm/calcite-input-date-picker.entry.js +31 -14
- package/dist/esm/calcite-input-message.entry.js +3 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +363 -238
- package/dist/esm/calcite-input.entry.js +57 -37
- package/dist/esm/calcite-label.entry.js +2 -5
- package/dist/esm/calcite-link.entry.js +3 -3
- package/dist/esm/calcite-list_3.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +5 -7
- package/dist/esm/calcite-notice.entry.js +3 -4
- package/dist/esm/calcite-option_3.entry.js +14 -12
- package/dist/esm/calcite-pagination.entry.js +3 -6
- package/dist/esm/calcite-panel.entry.js +10 -13
- package/dist/esm/calcite-pick-list_3.entry.js +7 -8
- package/dist/esm/calcite-popover_2.entry.js +7 -9
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +23 -53
- package/dist/esm/calcite-radio-group_2.entry.js +23 -78
- package/dist/esm/calcite-rating.entry.js +5 -6
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +171 -12
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +4 -5
- package/dist/esm/calcite-stepper_2.entry.js +6 -8
- package/dist/esm/calcite-switch.entry.js +6 -8
- package/dist/esm/calcite-tab_4.entry.js +9 -12
- package/dist/esm/calcite-tile-select_2.entry.js +38 -5
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +4 -4
- package/dist/esm/calcite-tooltip_2.entry.js +7 -8
- package/dist/esm/calcite-tree_2.entry.js +4 -6
- package/dist/esm/calcite-value-list_2.entry.js +13 -6
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/{dom-f24e866c.js → dom-037dc374.js} +39 -9
- package/dist/esm/{form-160b0fb5.js → form-72369b73.js} +1 -1
- package/dist/esm/{label-5559055d.js → label-712646d2.js} +5 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-fc850b7c.js +123 -0
- package/dist/esm/number-8779395f.js +76 -0
- package/dist/esm/{popper-dc4b45cf.js → popper-7a7fd3b5.js} +118 -73
- package/dist/esm/{resources-16a2a25a.js → resources-03c0a433.js} +17 -7
- package/dist/esm/{resources-bece7a88.js → resources-90193940.js} +3 -2
- package/dist/esm-es5/CalciteExpandToggle-48b6e955.js +5 -0
- 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 +1 -1
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +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 +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- 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 +5 -0
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/dom-037dc374.js +5 -0
- package/dist/esm-es5/{form-160b0fb5.js → form-72369b73.js} +1 -1
- package/dist/esm-es5/label-712646d2.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/popper-7a7fd3b5.js +5 -0
- package/dist/esm-es5/resources-03c0a433.js +5 -0
- package/dist/esm-es5/{resources-bece7a88.js → resources-90193940.js} +1 -1
- package/dist/extras/docs-json.json +265 -251
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +1 -1
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +1 -1
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +2 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +8 -3
- package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +1 -0
- package/dist/types/components/calcite-button/resources.d.ts +2 -0
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +6 -0
- package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +3 -1
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +15 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +13 -5
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +1 -1
- package/dist/types/components/calcite-panel/resources.d.ts +1 -0
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +2 -1
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +2 -2
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +1 -2
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -8
- package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
- package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -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 +36 -24
- package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +4 -2
- package/dist/types/components.d.ts +103 -114
- package/dist/types/preact.d.ts +2 -3
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/conditionalSlot.d.ts +17 -0
- package/dist/types/utils/dom.d.ts +20 -3
- package/dist/types/utils/key.d.ts +0 -4
- package/dist/types/utils/label.d.ts +4 -0
- package/dist/types/utils/number.d.ts +4 -1
- package/dist/types/utils/time.d.ts +18 -5
- package/hydrate/index.js +1643 -1219
- package/package.json +37 -36
- package/readme.md +2 -2
- package/CHANGELOG.md +0 -1540
- package/dist/calcite/p-004460a0.system.entry.js +0 -5
- package/dist/calcite/p-044d603d.system.entry.js +0 -5
- package/dist/calcite/p-047e1000.system.entry.js +0 -5
- package/dist/calcite/p-05da7439.entry.js +0 -5
- package/dist/calcite/p-08d707c4.entry.js +0 -5
- package/dist/calcite/p-10708f87.system.entry.js +0 -5
- package/dist/calcite/p-109049e6.system.entry.js +0 -5
- package/dist/calcite/p-127e3513.system.entry.js +0 -5
- package/dist/calcite/p-15f3a0d7.system.entry.js +0 -5
- package/dist/calcite/p-16bb48f6.system.entry.js +0 -5
- package/dist/calcite/p-16f2d814.system.entry.js +0 -5
- package/dist/calcite/p-1942876c.js +0 -5
- package/dist/calcite/p-1a962bdd.js +0 -5
- package/dist/calcite/p-1aa89347.system.entry.js +0 -5
- package/dist/calcite/p-1c8fe17f.system.entry.js +0 -5
- package/dist/calcite/p-1dd440e6.system.entry.js +0 -5
- package/dist/calcite/p-243d95ab.system.entry.js +0 -5
- package/dist/calcite/p-289bc56f.entry.js +0 -5
- package/dist/calcite/p-29771742.entry.js +0 -5
- package/dist/calcite/p-2a714a22.entry.js +0 -5
- package/dist/calcite/p-2aa3007a.entry.js +0 -5
- package/dist/calcite/p-33226317.entry.js +0 -5
- package/dist/calcite/p-33802886.entry.js +0 -5
- package/dist/calcite/p-38bd222a.entry.js +0 -5
- package/dist/calcite/p-3a592bf3.system.entry.js +0 -5
- package/dist/calcite/p-3dae9da3.js +0 -5
- package/dist/calcite/p-3e6fcede.entry.js +0 -5
- package/dist/calcite/p-4035444d.system.js +0 -5
- package/dist/calcite/p-4778c5cf.system.entry.js +0 -5
- package/dist/calcite/p-4acfb654.entry.js +0 -5
- package/dist/calcite/p-4d11efdb.system.entry.js +0 -5
- package/dist/calcite/p-4e16515a.system.entry.js +0 -5
- package/dist/calcite/p-4f1f83d2.entry.js +0 -5
- package/dist/calcite/p-502ea583.entry.js +0 -5
- package/dist/calcite/p-52cc870b.js +0 -5
- package/dist/calcite/p-54394dfe.system.entry.js +0 -5
- package/dist/calcite/p-56b352bf.system.js +0 -5
- package/dist/calcite/p-578509a8.entry.js +0 -5
- package/dist/calcite/p-592da79d.system.entry.js +0 -5
- package/dist/calcite/p-59a285d8.system.entry.js +0 -5
- package/dist/calcite/p-5c0c29bc.entry.js +0 -5
- package/dist/calcite/p-5eee672a.system.entry.js +0 -5
- package/dist/calcite/p-5efd81e1.entry.js +0 -5
- package/dist/calcite/p-5f2a9710.system.entry.js +0 -5
- package/dist/calcite/p-5f817b79.entry.js +0 -5
- package/dist/calcite/p-6296644b.entry.js +0 -5
- package/dist/calcite/p-63da2e34.system.entry.js +0 -5
- package/dist/calcite/p-63e60894.entry.js +0 -5
- package/dist/calcite/p-6484ffb7.system.entry.js +0 -5
- package/dist/calcite/p-659898bf.entry.js +0 -5
- package/dist/calcite/p-6cc23c39.system.js +0 -5
- package/dist/calcite/p-72563742.js +0 -5
- package/dist/calcite/p-74f390e1.system.entry.js +0 -5
- package/dist/calcite/p-75264173.entry.js +0 -5
- package/dist/calcite/p-75955cef.entry.js +0 -5
- package/dist/calcite/p-765fb8ed.entry.js +0 -5
- package/dist/calcite/p-7ba971b5.system.entry.js +0 -5
- package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
- package/dist/calcite/p-81ab443c.entry.js +0 -5
- package/dist/calcite/p-82c6cd9a.entry.js +0 -5
- package/dist/calcite/p-840f2937.system.entry.js +0 -5
- package/dist/calcite/p-8445bc9c.system.entry.js +0 -5
- package/dist/calcite/p-85032edc.system.entry.js +0 -5
- package/dist/calcite/p-8603b2e1.entry.js +0 -5
- package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
- package/dist/calcite/p-8baa9ba4.entry.js +0 -5
- package/dist/calcite/p-8e252799.system.js +0 -5
- package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
- package/dist/calcite/p-91645bf7.system.js +0 -5
- package/dist/calcite/p-9338b0bc.entry.js +0 -5
- package/dist/calcite/p-9577dfd9.entry.js +0 -5
- package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
- package/dist/calcite/p-968ea270.entry.js +0 -5
- package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
- package/dist/calcite/p-9be6633a.entry.js +0 -5
- package/dist/calcite/p-a5269f14.system.entry.js +0 -5
- package/dist/calcite/p-a61d85db.system.entry.js +0 -5
- package/dist/calcite/p-a8dc2982.system.entry.js +0 -5
- package/dist/calcite/p-aa47308a.entry.js +0 -5
- package/dist/calcite/p-ace12b8d.entry.js +0 -5
- package/dist/calcite/p-aced5f01.entry.js +0 -5
- package/dist/calcite/p-aec398f3.system.entry.js +0 -5
- package/dist/calcite/p-b1351c3e.system.entry.js +0 -5
- package/dist/calcite/p-b1a96c72.system.entry.js +0 -5
- package/dist/calcite/p-b1f88d45.system.js +0 -5
- package/dist/calcite/p-b2ab0485.js +0 -5
- package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
- package/dist/calcite/p-b94bf8ac.system.entry.js +0 -5
- package/dist/calcite/p-c0e35328.entry.js +0 -5
- package/dist/calcite/p-c34c4414.system.js +0 -5
- package/dist/calcite/p-c3ba61ea.entry.js +0 -5
- package/dist/calcite/p-c4cb4fab.system.entry.js +0 -5
- package/dist/calcite/p-c61ebee9.entry.js +0 -5
- package/dist/calcite/p-c87c04a9.entry.js +0 -5
- package/dist/calcite/p-ca3bb147.entry.js +0 -5
- package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
- package/dist/calcite/p-cbf6bb04.system.js +0 -5
- package/dist/calcite/p-cc788d2e.entry.js +0 -5
- package/dist/calcite/p-cced5508.system.entry.js +0 -5
- package/dist/calcite/p-cf03b144.system.entry.js +0 -5
- package/dist/calcite/p-d53cc958.js +0 -5
- package/dist/calcite/p-d550ee4d.entry.js +0 -5
- package/dist/calcite/p-d6e30c54.entry.js +0 -5
- package/dist/calcite/p-dbe899c6.system.entry.js +0 -5
- package/dist/calcite/p-dd464e44.system.entry.js +0 -5
- package/dist/calcite/p-deb36fde.system.entry.js +0 -5
- package/dist/calcite/p-defcee80.system.entry.js +0 -5
- package/dist/calcite/p-dff7dc90.system.js +0 -5
- package/dist/calcite/p-e33fe285.system.entry.js +0 -5
- package/dist/calcite/p-e52495d3.system.entry.js +0 -5
- package/dist/calcite/p-e5e3b591.entry.js +0 -5
- package/dist/calcite/p-e616f9b5.entry.js +0 -5
- package/dist/calcite/p-e6d05ad6.system.entry.js +0 -5
- package/dist/calcite/p-e70cb594.system.entry.js +0 -5
- package/dist/calcite/p-eada9cef.entry.js +0 -5
- package/dist/calcite/p-ecc00ef0.entry.js +0 -5
- package/dist/calcite/p-ed15771f.system.entry.js +0 -5
- package/dist/calcite/p-ed453bfb.entry.js +0 -5
- package/dist/calcite/p-ef39847e.entry.js +0 -5
- package/dist/calcite/p-efb2169a.entry.js +0 -5
- package/dist/calcite/p-f0338acf.system.entry.js +0 -5
- package/dist/calcite/p-f07d3627.js +0 -5
- package/dist/calcite/p-f1c5e7cf.entry.js +0 -5
- package/dist/calcite/p-f278dd53.entry.js +0 -5
- package/dist/calcite/p-f9c46578.entry.js +0 -5
- package/dist/calcite/p-fc47547f.system.entry.js +0 -5
- package/dist/calcite/p-fc643963.entry.js +0 -5
- package/dist/cjs/key-8bfb93ec.js +0 -37
- package/dist/cjs/locale-69dc9583.js +0 -123
- package/dist/cjs/number-e6448e15.js +0 -45
- package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
- package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
- package/dist/components/calcite-radio.d.ts +0 -11
- package/dist/components/calcite-radio.js +0 -10
- package/dist/components/calcite-radio2.js +0 -71
- package/dist/components/key.js +0 -33
- package/dist/esm/key-69001a68.js +0 -33
- package/dist/esm/locale-6c1b85c7.js +0 -118
- package/dist/esm/number-e7393766.js +0 -40
- package/dist/esm-es5/CalciteExpandToggle-677f2f8b.js +0 -5
- package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
- package/dist/esm-es5/dom-f24e866c.js +0 -5
- package/dist/esm-es5/key-69001a68.js +0 -5
- package/dist/esm-es5/label-5559055d.js +0 -5
- package/dist/esm-es5/locale-6c1b85c7.js +0 -5
- package/dist/esm-es5/number-e7393766.js +0 -5
- package/dist/esm-es5/popper-dc4b45cf.js +0 -5
- package/dist/esm-es5/resources-16a2a25a.js +0 -5
- package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
6
|
import { getElementDir, getElementProp, setRequestedIcon } from "../../utils/dom";
|
|
7
|
-
import { getKey } from "../../utils/key";
|
|
8
7
|
import { CSS, INPUT_TYPE_ICONS, SLOTS } from "./resources";
|
|
9
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
10
9
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
@@ -71,6 +70,8 @@ export class CalciteInput {
|
|
|
71
70
|
* Note that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`
|
|
72
71
|
*/
|
|
73
72
|
this.type = "text";
|
|
73
|
+
/** input value */
|
|
74
|
+
this.value = "";
|
|
74
75
|
/** keep track of the rendered child type */
|
|
75
76
|
this.childElType = "input";
|
|
76
77
|
//--------------------------------------------------------------------------
|
|
@@ -86,13 +87,13 @@ export class CalciteInput {
|
|
|
86
87
|
if (this.readOnly || this.disabled) {
|
|
87
88
|
return;
|
|
88
89
|
}
|
|
89
|
-
if (this.isClearable &&
|
|
90
|
+
if (this.isClearable && event.key === "Escape") {
|
|
90
91
|
this.clearInputValue(event);
|
|
91
92
|
event.preventDefault();
|
|
92
93
|
}
|
|
93
94
|
};
|
|
94
95
|
this.clearInputValue = (nativeEvent) => {
|
|
95
|
-
this.setValue(
|
|
96
|
+
this.setValue("", nativeEvent, true);
|
|
96
97
|
};
|
|
97
98
|
this.inputBlurHandler = () => {
|
|
98
99
|
if (this.type === "number") {
|
|
@@ -167,8 +168,7 @@ export class CalciteInput {
|
|
|
167
168
|
"Delete",
|
|
168
169
|
"Enter",
|
|
169
170
|
"Escape",
|
|
170
|
-
"Tab"
|
|
171
|
-
"-"
|
|
171
|
+
"Tab"
|
|
172
172
|
];
|
|
173
173
|
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
174
174
|
return;
|
|
@@ -189,6 +189,22 @@ export class CalciteInput {
|
|
|
189
189
|
return;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
+
if (/[eE]/.test(event.key)) {
|
|
193
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
if (event.key === "-") {
|
|
201
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
192
208
|
event.preventDefault();
|
|
193
209
|
};
|
|
194
210
|
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
@@ -199,20 +215,19 @@ export class CalciteInput {
|
|
|
199
215
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
200
216
|
const valueNudgeDelayInMs = 100;
|
|
201
217
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
202
|
-
let
|
|
203
|
-
this.nudgeNumberValueIntervalId = setInterval(() => {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
218
|
+
let firstValueNudge = true;
|
|
219
|
+
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
220
|
+
if (firstValueNudge) {
|
|
221
|
+
firstValueNudge = false;
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
208
225
|
}, valueNudgeDelayInMs);
|
|
209
226
|
};
|
|
210
227
|
this.numberButtonMouseUpAndMouseOutHandler = () => {
|
|
211
|
-
clearInterval(this.nudgeNumberValueIntervalId);
|
|
228
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
212
229
|
};
|
|
213
230
|
this.numberButtonMouseDownHandler = (event) => {
|
|
214
|
-
// todo, when dropping ie11 support, refactor to use stepup/stepdown
|
|
215
|
-
// prevent blur and re-focus of input on mousedown
|
|
216
231
|
event.preventDefault();
|
|
217
232
|
const direction = event.target.dataset.adjustment;
|
|
218
233
|
this.nudgeNumberValue(direction, event);
|
|
@@ -228,18 +243,19 @@ export class CalciteInput {
|
|
|
228
243
|
};
|
|
229
244
|
this.setValue = (value, nativeEvent, committing = false) => {
|
|
230
245
|
const previousValue = this.value;
|
|
231
|
-
this.value = this.type === "number" ? sanitizeNumberString(value) : value;
|
|
232
246
|
if (this.type === "number") {
|
|
233
|
-
|
|
247
|
+
const sanitizedValue = sanitizeNumberString(value);
|
|
248
|
+
this.value = sanitizedValue;
|
|
249
|
+
this.setLocalizedValue(sanitizedValue);
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
this.value = value;
|
|
234
253
|
}
|
|
235
254
|
if (nativeEvent) {
|
|
236
|
-
if (this.type === "number" && (value === null || value === void 0 ? void 0 : value.endsWith("."))) {
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
255
|
const calciteInputInputEvent = this.calciteInputInput.emit({
|
|
240
256
|
element: this.childEl,
|
|
241
257
|
nativeEvent,
|
|
242
|
-
value
|
|
258
|
+
value: this.value
|
|
243
259
|
});
|
|
244
260
|
if (calciteInputInputEvent.defaultPrevented) {
|
|
245
261
|
this.value = previousValue;
|
|
@@ -251,7 +267,7 @@ export class CalciteInput {
|
|
|
251
267
|
}
|
|
252
268
|
};
|
|
253
269
|
this.inputKeyUpHandler = () => {
|
|
254
|
-
clearInterval(this.nudgeNumberValueIntervalId);
|
|
270
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
255
271
|
};
|
|
256
272
|
}
|
|
257
273
|
disabledWatcher() {
|
|
@@ -268,6 +284,10 @@ export class CalciteInput {
|
|
|
268
284
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
269
285
|
}
|
|
270
286
|
valueWatcher(newValue) {
|
|
287
|
+
if (newValue == null) {
|
|
288
|
+
this.value = "";
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
271
291
|
if (this.type === "number" &&
|
|
272
292
|
this.localizedValue !== localizeNumberString(newValue, this.locale)) {
|
|
273
293
|
this.setLocalizedValue(newValue);
|
|
@@ -280,8 +300,7 @@ export class CalciteInput {
|
|
|
280
300
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
281
301
|
}
|
|
282
302
|
get isClearable() {
|
|
283
|
-
|
|
284
|
-
return !this.isTextarea && (this.clearable || this.type === "search") && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
303
|
+
return !this.isTextarea && (this.clearable || this.type === "search") && this.value.length > 0;
|
|
285
304
|
}
|
|
286
305
|
get isTextarea() {
|
|
287
306
|
return this.childElType === "textarea";
|
|
@@ -292,17 +311,18 @@ export class CalciteInput {
|
|
|
292
311
|
//
|
|
293
312
|
//--------------------------------------------------------------------------
|
|
294
313
|
connectedCallback() {
|
|
295
|
-
var _a;
|
|
296
314
|
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
297
315
|
this.status = getElementProp(this.el, "status", this.status);
|
|
298
316
|
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
299
|
-
|
|
317
|
+
if (this.inlineEditableEl) {
|
|
318
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
319
|
+
}
|
|
300
320
|
if (this.type === "number" && this.value) {
|
|
301
321
|
if (isValidNumber(this.value)) {
|
|
302
322
|
this.localizedValue = localizeNumberString(this.value, this.locale, this.groupSeparator);
|
|
303
323
|
}
|
|
304
324
|
else {
|
|
305
|
-
this.value =
|
|
325
|
+
this.value = "";
|
|
306
326
|
}
|
|
307
327
|
}
|
|
308
328
|
connectLabel(this);
|
|
@@ -405,7 +425,7 @@ export class CalciteInput {
|
|
|
405
425
|
h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
406
426
|
const inputClearButton = (h("button", { class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" },
|
|
407
427
|
h("calcite-icon", { icon: "x", scale: "s" })));
|
|
408
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon,
|
|
428
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
409
429
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
410
430
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
411
431
|
[CSS.numberButtonItem]: true,
|
|
@@ -422,7 +442,7 @@ export class CalciteInput {
|
|
|
422
442
|
numberButtonsHorizontalDown));
|
|
423
443
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
424
444
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
425
|
-
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef,
|
|
445
|
+
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
426
446
|
const childEl = this.type !== "number"
|
|
427
447
|
? [
|
|
428
448
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
@@ -434,8 +454,8 @@ export class CalciteInput {
|
|
|
434
454
|
]
|
|
435
455
|
: null;
|
|
436
456
|
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler },
|
|
437
|
-
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }
|
|
438
|
-
this.type === "number" && this.numberButtonType === "horizontal"
|
|
457
|
+
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
|
|
458
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
439
459
|
? numberButtonsHorizontalDown
|
|
440
460
|
: null,
|
|
441
461
|
this.prefixText ? prefixText : null,
|
|
@@ -447,11 +467,11 @@ export class CalciteInput {
|
|
|
447
467
|
this.loading ? loader : null),
|
|
448
468
|
h("div", { class: CSS.actionWrapper },
|
|
449
469
|
h("slot", { name: SLOTS.action })),
|
|
450
|
-
this.type === "number" && this.numberButtonType === "vertical"
|
|
470
|
+
this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
451
471
|
? numberButtonsVertical
|
|
452
472
|
: null,
|
|
453
473
|
this.suffixText ? suffixText : null,
|
|
454
|
-
this.type === "number" && this.numberButtonType === "horizontal"
|
|
474
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
455
475
|
? numberButtonsHorizontalUp
|
|
456
476
|
: null,
|
|
457
477
|
h(HiddenFormInputSlot, { component: this }))));
|
|
@@ -1040,7 +1060,8 @@ export class CalciteInput {
|
|
|
1040
1060
|
"text": "input value"
|
|
1041
1061
|
},
|
|
1042
1062
|
"attribute": "value",
|
|
1043
|
-
"reflect": false
|
|
1063
|
+
"reflect": false,
|
|
1064
|
+
"defaultValue": "\"\""
|
|
1044
1065
|
}
|
|
1045
1066
|
}; }
|
|
1046
1067
|
static get states() { return {
|
|
@@ -1,53 +1,48 @@
|
|
|
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
|
-
--calcite-animation-timing:
|
|
41
|
+
--calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));
|
|
42
|
+
--calcite-internal-duration-factor: var(--calcite-duration-factor, 1);
|
|
43
|
+
--calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));
|
|
44
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));
|
|
45
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));
|
|
51
46
|
}
|
|
52
47
|
|
|
53
48
|
.calcite-animate {
|
|
@@ -75,7 +70,6 @@
|
|
|
75
70
|
/**
|
|
76
71
|
* Currently only used in Checkbox.
|
|
77
72
|
*/
|
|
78
|
-
|
|
79
73
|
:host {
|
|
80
74
|
/* Component spacing variables */
|
|
81
75
|
--calcite-icon-size: 1rem;
|
|
@@ -93,7 +87,7 @@
|
|
|
93
87
|
}
|
|
94
88
|
|
|
95
89
|
:root {
|
|
96
|
-
--calcite-popper-transition:
|
|
90
|
+
--calcite-popper-transition: var(--calcite-animation-timing);
|
|
97
91
|
}
|
|
98
92
|
|
|
99
93
|
:host([hidden]) {
|
|
@@ -101,14 +95,15 @@
|
|
|
101
95
|
}
|
|
102
96
|
|
|
103
97
|
:host {
|
|
104
|
-
|
|
98
|
+
position: relative;
|
|
105
99
|
display: inline-block;
|
|
106
|
-
vertical-align: top;
|
|
107
100
|
width: 100%;
|
|
108
|
-
position: relative;
|
|
109
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);
|
|
110
106
|
}
|
|
111
|
-
|
|
112
107
|
:host .menu-container .calcite-popper-anim {
|
|
113
108
|
position: relative;
|
|
114
109
|
z-index: 1;
|
|
@@ -119,23 +114,18 @@
|
|
|
119
114
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
120
115
|
border-radius: 0.25rem;
|
|
121
116
|
}
|
|
122
|
-
|
|
123
117
|
:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim {
|
|
124
118
|
transform: translateY(-5px);
|
|
125
119
|
}
|
|
126
|
-
|
|
127
120
|
:host .menu-container[data-popper-placement^=top] .calcite-popper-anim {
|
|
128
121
|
transform: translateY(5px);
|
|
129
122
|
}
|
|
130
|
-
|
|
131
123
|
:host .menu-container[data-popper-placement^=left] .calcite-popper-anim {
|
|
132
124
|
transform: translateX(5px);
|
|
133
125
|
}
|
|
134
|
-
|
|
135
126
|
:host .menu-container[data-popper-placement^=right] .calcite-popper-anim {
|
|
136
127
|
transform: translateX(-5px);
|
|
137
128
|
}
|
|
138
|
-
|
|
139
129
|
:host .menu-container[data-popper-placement] .calcite-popper-anim--active {
|
|
140
130
|
opacity: 1;
|
|
141
131
|
visibility: visible;
|
|
@@ -143,9 +133,11 @@
|
|
|
143
133
|
}
|
|
144
134
|
|
|
145
135
|
.calendar-picker-wrapper {
|
|
146
|
-
box-shadow: none;
|
|
147
136
|
position: static;
|
|
148
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);
|
|
149
141
|
transform: translate3d(0, 0, 0);
|
|
150
142
|
}
|
|
151
143
|
|
|
@@ -156,49 +148,44 @@
|
|
|
156
148
|
:host([range]) .input-container {
|
|
157
149
|
display: flex;
|
|
158
150
|
}
|
|
159
|
-
|
|
160
151
|
:host([range]) .input-wrapper {
|
|
161
152
|
flex: 1 1 auto;
|
|
162
153
|
}
|
|
163
|
-
|
|
164
154
|
:host([range]) .horizontal-arrow-container {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
padding-bottom: 0;
|
|
168
|
-
padding-left: 0.25rem;
|
|
169
|
-
padding-right: 0.25rem;
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
170
157
|
border-width: 1px;
|
|
158
|
+
border-left-width: 0px;
|
|
159
|
+
border-right-width: 0px;
|
|
171
160
|
border-style: solid;
|
|
172
161
|
border-color: var(--calcite-ui-border-input);
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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;
|
|
177
167
|
}
|
|
178
168
|
|
|
179
169
|
:host([range][layout=vertical]) .input-wrapper {
|
|
180
170
|
width: 100%;
|
|
181
171
|
}
|
|
182
|
-
|
|
183
172
|
:host([range][layout=vertical]) .input-container {
|
|
184
173
|
flex-direction: column;
|
|
185
174
|
align-items: flex-start;
|
|
186
175
|
}
|
|
187
|
-
|
|
188
176
|
:host([range][layout=vertical]) .calendar-picker-wrapper--end {
|
|
189
177
|
transform: translate3d(0, 0, 0);
|
|
190
178
|
}
|
|
191
|
-
|
|
192
179
|
:host([range][layout=vertical]) .vertical-arrow-container {
|
|
193
180
|
top: 1.5rem;
|
|
194
|
-
left: 0;
|
|
195
|
-
padding-left: 0.625rem;
|
|
196
|
-
padding-right: 0.625rem;
|
|
197
|
-
margin-left: 1px;
|
|
198
|
-
margin-right: 1px;
|
|
199
181
|
position: absolute;
|
|
182
|
+
left: 0px;
|
|
200
183
|
z-index: 10;
|
|
184
|
+
margin-left: 1px;
|
|
185
|
+
margin-right: 1px;
|
|
201
186
|
background-color: var(--calcite-ui-foreground-1);
|
|
187
|
+
padding-left: 0.625rem;
|
|
188
|
+
padding-right: 0.625rem;
|
|
202
189
|
}
|
|
203
190
|
|
|
204
191
|
:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper {
|
|
@@ -218,28 +205,27 @@
|
|
|
218
205
|
position: absolute;
|
|
219
206
|
z-index: 900;
|
|
220
207
|
transform: scale(0);
|
|
221
|
-
visibility: hidden;
|
|
222
208
|
pointer-events: none;
|
|
209
|
+
visibility: hidden;
|
|
223
210
|
}
|
|
224
211
|
|
|
225
212
|
:host([active]) .menu-container {
|
|
226
|
-
visibility: visible;
|
|
227
213
|
pointer-events: auto;
|
|
214
|
+
visibility: visible;
|
|
228
215
|
}
|
|
229
216
|
|
|
230
217
|
.input .calcite-input__wrapper {
|
|
231
|
-
margin-top:
|
|
218
|
+
margin-top: 0px;
|
|
232
219
|
}
|
|
233
220
|
|
|
234
221
|
:host([range][layout=vertical][scale=m]) .vertical-arrow-container {
|
|
235
222
|
top: 1.5rem;
|
|
236
223
|
padding-left: 0.75rem;
|
|
237
224
|
}
|
|
238
|
-
|
|
239
225
|
:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon {
|
|
240
|
-
width: 0.75rem;
|
|
241
226
|
height: 0.75rem;
|
|
242
|
-
|
|
227
|
+
width: 0.75rem;
|
|
228
|
+
min-width: 0px;
|
|
243
229
|
}
|
|
244
230
|
|
|
245
231
|
:host([range][layout=vertical][scale=l]) .vertical-arrow-container {
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, h, Prop, Element, Host, State, Listen, Watch, Method, Event, Build } from "@stencil/core";
|
|
6
6
|
import { getLocaleData } from "../calcite-date-picker/utils";
|
|
7
|
-
import { getElementDir } from "../../utils/dom";
|
|
8
7
|
import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDate } from "../../utils/date";
|
|
9
|
-
import { getKey } from "../../utils/key";
|
|
10
8
|
import { TEXT } from "../calcite-date-picker/resources";
|
|
11
9
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
12
10
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
@@ -33,6 +31,10 @@ export class CalciteInputDatePicker {
|
|
|
33
31
|
* @default "Next month"
|
|
34
32
|
*/
|
|
35
33
|
this.intlNextMonth = TEXT.nextMonth;
|
|
34
|
+
/** Localized string for "year" (used for aria label)
|
|
35
|
+
* @default "Year"
|
|
36
|
+
*/
|
|
37
|
+
this.intlYear = TEXT.year;
|
|
36
38
|
/** BCP 47 language tag for desired language and country format */
|
|
37
39
|
this.locale = document.documentElement.lang || "en";
|
|
38
40
|
/** specify the scale of the date picker */
|
|
@@ -70,7 +72,7 @@ export class CalciteInputDatePicker {
|
|
|
70
72
|
this.active = false;
|
|
71
73
|
};
|
|
72
74
|
this.keyUpHandler = (e) => {
|
|
73
|
-
if (
|
|
75
|
+
if (e.key === "Escape") {
|
|
74
76
|
this.active = false;
|
|
75
77
|
}
|
|
76
78
|
};
|
|
@@ -145,6 +147,12 @@ export class CalciteInputDatePicker {
|
|
|
145
147
|
this.end = undefined;
|
|
146
148
|
}
|
|
147
149
|
}
|
|
150
|
+
onMinChanged(min) {
|
|
151
|
+
this.minAsDate = dateFromISO(min);
|
|
152
|
+
}
|
|
153
|
+
onMaxChanged(max) {
|
|
154
|
+
this.maxAsDate = dateFromISO(max);
|
|
155
|
+
}
|
|
148
156
|
activeHandler() {
|
|
149
157
|
this.reposition();
|
|
150
158
|
}
|
|
@@ -153,6 +161,9 @@ export class CalciteInputDatePicker {
|
|
|
153
161
|
// Event Listeners
|
|
154
162
|
//
|
|
155
163
|
//--------------------------------------------------------------------------
|
|
164
|
+
handleDateOrRangeChange() {
|
|
165
|
+
this.calciteInputDatePickerChange.emit();
|
|
166
|
+
}
|
|
156
167
|
calciteDaySelectHandler() {
|
|
157
168
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
158
169
|
return;
|
|
@@ -216,6 +227,8 @@ export class CalciteInputDatePicker {
|
|
|
216
227
|
}
|
|
217
228
|
async componentWillLoad() {
|
|
218
229
|
await this.loadLocaleData();
|
|
230
|
+
this.onMinChanged(this.min);
|
|
231
|
+
this.onMaxChanged(this.max);
|
|
219
232
|
}
|
|
220
233
|
disconnectedCallback() {
|
|
221
234
|
this.destroyPopper();
|
|
@@ -231,9 +244,8 @@ export class CalciteInputDatePicker {
|
|
|
231
244
|
: null;
|
|
232
245
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
233
246
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
234
|
-
const dir = getElementDir(this.el);
|
|
235
247
|
return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" },
|
|
236
|
-
this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container",
|
|
248
|
+
this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", role: "application" },
|
|
237
249
|
h("div", { class: "input-wrapper", ref: this.setStartWrapper },
|
|
238
250
|
h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, 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 })),
|
|
239
251
|
h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl },
|
|
@@ -243,7 +255,7 @@ export class CalciteInputDatePicker {
|
|
|
243
255
|
[PopperCSS.animation]: true,
|
|
244
256
|
[PopperCSS.animationActive]: this.active
|
|
245
257
|
}, onTransitionEnd: this.transitionEnd },
|
|
246
|
-
h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))),
|
|
258
|
+
h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))),
|
|
247
259
|
this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" },
|
|
248
260
|
h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))),
|
|
249
261
|
this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" },
|
|
@@ -251,7 +263,7 @@ export class CalciteInputDatePicker {
|
|
|
251
263
|
this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper },
|
|
252
264
|
h("calcite-input", { class: {
|
|
253
265
|
input: true,
|
|
254
|
-
"border-
|
|
266
|
+
"border-top-color-one": this.layout === "vertical" && this.range
|
|
255
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 }))))),
|
|
256
268
|
h(HiddenFormInputSlot, { component: this })));
|
|
257
269
|
}
|
|
@@ -342,6 +354,7 @@ export class CalciteInputDatePicker {
|
|
|
342
354
|
}
|
|
343
355
|
if (!this.range) {
|
|
344
356
|
this.value = dateToISO(date);
|
|
357
|
+
this.calciteDatePickerChange.emit(date);
|
|
345
358
|
return;
|
|
346
359
|
}
|
|
347
360
|
const { focusedInput } = this;
|
|
@@ -600,7 +613,7 @@ export class CalciteInputDatePicker {
|
|
|
600
613
|
},
|
|
601
614
|
"min": {
|
|
602
615
|
"type": "string",
|
|
603
|
-
"mutable":
|
|
616
|
+
"mutable": true,
|
|
604
617
|
"complexType": {
|
|
605
618
|
"original": "string",
|
|
606
619
|
"resolved": "string",
|
|
@@ -617,7 +630,7 @@ export class CalciteInputDatePicker {
|
|
|
617
630
|
},
|
|
618
631
|
"max": {
|
|
619
632
|
"type": "string",
|
|
620
|
-
"mutable":
|
|
633
|
+
"mutable": true,
|
|
621
634
|
"complexType": {
|
|
622
635
|
"original": "string",
|
|
623
636
|
"resolved": "string",
|
|
@@ -709,6 +722,27 @@ export class CalciteInputDatePicker {
|
|
|
709
722
|
"reflect": false,
|
|
710
723
|
"defaultValue": "TEXT.nextMonth"
|
|
711
724
|
},
|
|
725
|
+
"intlYear": {
|
|
726
|
+
"type": "string",
|
|
727
|
+
"mutable": false,
|
|
728
|
+
"complexType": {
|
|
729
|
+
"original": "string",
|
|
730
|
+
"resolved": "string",
|
|
731
|
+
"references": {}
|
|
732
|
+
},
|
|
733
|
+
"required": false,
|
|
734
|
+
"optional": true,
|
|
735
|
+
"docs": {
|
|
736
|
+
"tags": [{
|
|
737
|
+
"name": "default",
|
|
738
|
+
"text": "\"Year\""
|
|
739
|
+
}],
|
|
740
|
+
"text": "Localized string for \"year\" (used for aria label)"
|
|
741
|
+
},
|
|
742
|
+
"attribute": "intl-year",
|
|
743
|
+
"reflect": false,
|
|
744
|
+
"defaultValue": "TEXT.year"
|
|
745
|
+
},
|
|
712
746
|
"locale": {
|
|
713
747
|
"type": "string",
|
|
714
748
|
"mutable": false,
|
|
@@ -895,7 +929,10 @@ export class CalciteInputDatePicker {
|
|
|
895
929
|
"cancelable": true,
|
|
896
930
|
"composed": true,
|
|
897
931
|
"docs": {
|
|
898
|
-
"tags": [
|
|
932
|
+
"tags": [{
|
|
933
|
+
"name": "deprecated",
|
|
934
|
+
"text": "use `calciteInputDatePickerChange` instead."
|
|
935
|
+
}],
|
|
899
936
|
"text": "Trigger calcite date change when a user changes the date."
|
|
900
937
|
},
|
|
901
938
|
"complexType": {
|
|
@@ -917,6 +954,9 @@ export class CalciteInputDatePicker {
|
|
|
917
954
|
"tags": [{
|
|
918
955
|
"name": "see",
|
|
919
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."
|
|
920
960
|
}],
|
|
921
961
|
"text": "Trigger calcite date change when a user changes the date range."
|
|
922
962
|
},
|
|
@@ -930,6 +970,21 @@ export class CalciteInputDatePicker {
|
|
|
930
970
|
}
|
|
931
971
|
}
|
|
932
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
|
+
}
|
|
933
988
|
}, {
|
|
934
989
|
"method": "calciteInputDatePickerOpen",
|
|
935
990
|
"name": "calciteInputDatePickerOpen",
|
|
@@ -1005,6 +1060,12 @@ export class CalciteInputDatePicker {
|
|
|
1005
1060
|
static get watchers() { return [{
|
|
1006
1061
|
"propName": "value",
|
|
1007
1062
|
"methodName": "valueHandler"
|
|
1063
|
+
}, {
|
|
1064
|
+
"propName": "min",
|
|
1065
|
+
"methodName": "onMinChanged"
|
|
1066
|
+
}, {
|
|
1067
|
+
"propName": "max",
|
|
1068
|
+
"methodName": "onMaxChanged"
|
|
1008
1069
|
}, {
|
|
1009
1070
|
"propName": "active",
|
|
1010
1071
|
"methodName": "activeHandler"
|
|
@@ -1025,6 +1086,18 @@ export class CalciteInputDatePicker {
|
|
|
1025
1086
|
"methodName": "loadLocaleData"
|
|
1026
1087
|
}]; }
|
|
1027
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
|
+
}, {
|
|
1028
1101
|
"name": "calciteDaySelect",
|
|
1029
1102
|
"method": "calciteDaySelectHandler",
|
|
1030
1103
|
"target": undefined,
|