@skodaflow/web-library 2.1.0

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.
Files changed (224) hide show
  1. package/README.md +107 -0
  2. package/build/README.md +107 -0
  3. package/build/components/accordion/accordion.d.ts +71 -0
  4. package/build/components/accordion/index.d.ts +1 -0
  5. package/build/components/backdrop/backdrop.d.ts +42 -0
  6. package/build/components/backdrop/index.d.ts +1 -0
  7. package/build/components/banner/banner.d.ts +57 -0
  8. package/build/components/banner/index.d.ts +1 -0
  9. package/build/components/button/button.d.ts +51 -0
  10. package/build/components/button/index.d.ts +1 -0
  11. package/build/components/cardContainer/cardContainer.d.ts +21 -0
  12. package/build/components/cardContainer/index.d.ts +1 -0
  13. package/build/components/cardMenu/cardMenu.d.ts +85 -0
  14. package/build/components/cardMenu/hooks/useCardMenu.d.ts +7 -0
  15. package/build/components/cardMenu/index.d.ts +1 -0
  16. package/build/components/cardMenu/styled/drawerStyled.d.ts +6 -0
  17. package/build/components/cardMenu/styled/menuListStyled.d.ts +23 -0
  18. package/build/components/cardMenu/styled/popperStyled.d.ts +7 -0
  19. package/build/components/checkbox/checkbox.d.ts +54 -0
  20. package/build/components/checkbox/index.d.ts +1 -0
  21. package/build/components/chip/chipDropdownChildren/chipDropdownChildren.d.ts +31 -0
  22. package/build/components/chip/chipFocusVisibleStyled.d.ts +9 -0
  23. package/build/components/chip/chipImage/chipImage.d.ts +43 -0
  24. package/build/components/chip/chipMultiselect/multiSelectChip.d.ts +36 -0
  25. package/build/components/chip/index.d.ts +4 -0
  26. package/build/components/chip/regular/chip.d.ts +39 -0
  27. package/build/components/common/helperText.d.ts +29 -0
  28. package/build/components/common/hook/backdrop.d.ts +9 -0
  29. package/build/components/common/hook/useWindowSize.d.ts +5 -0
  30. package/build/components/common/imageComponent.d.ts +17 -0
  31. package/build/components/common/interface/textInputInterface.d.ts +96 -0
  32. package/build/components/common/menuContainer.d.ts +20 -0
  33. package/build/components/common/menuEmpty.d.ts +16 -0
  34. package/build/components/common/resizableSliderInput.d.ts +17 -0
  35. package/build/components/common/styled/buttonFocusVisibleStyled.d.ts +10 -0
  36. package/build/components/common/styled/formControlLabelStyled.d.ts +8 -0
  37. package/build/components/common/styled/helperTextContainerStyled.d.ts +11 -0
  38. package/build/components/common/styled/sliderValuesStyled.d.ts +9 -0
  39. package/build/components/common/styled/textFieldStyled.d.ts +29 -0
  40. package/build/components/common/textInputHelperText.d.ts +30 -0
  41. package/build/components/common/type/ButtonVariant.d.ts +1 -0
  42. package/build/components/container/container.d.ts +44 -0
  43. package/build/components/container/index.d.ts +1 -0
  44. package/build/components/controls/controls.d.ts +37 -0
  45. package/build/components/controls/index.d.ts +1 -0
  46. package/build/components/divider/divider.d.ts +27 -0
  47. package/build/components/divider/index.d.ts +1 -0
  48. package/build/components/drawer/drawer.d.ts +66 -0
  49. package/build/components/drawer/index.d.ts +1 -0
  50. package/build/components/flag/availableFLags.d.ts +1 -0
  51. package/build/components/flag/flag.d.ts +28 -0
  52. package/build/components/flag/index.d.ts +1 -0
  53. package/build/components/grid/grid.d.ts +116 -0
  54. package/build/components/grid/index.d.ts +1 -0
  55. package/build/components/icon/availableIcons.d.ts +1 -0
  56. package/build/components/icon/icon.d.ts +28 -0
  57. package/build/components/icon/index.d.ts +1 -0
  58. package/build/components/indicator/index.d.ts +1 -0
  59. package/build/components/indicator/indicator.d.ts +22 -0
  60. package/build/components/label/index.d.ts +1 -0
  61. package/build/components/label/label.d.ts +18 -0
  62. package/build/components/labelCO2/index.d.ts +1 -0
  63. package/build/components/labelCO2/labelCO2.d.ts +6 -0
  64. package/build/components/labelFeature/index.d.ts +1 -0
  65. package/build/components/labelFeature/labelFeature.d.ts +19 -0
  66. package/build/components/labelPromotional/index.d.ts +1 -0
  67. package/build/components/labelPromotional/labelPromotional.d.ts +26 -0
  68. package/build/components/labelStatus/index.d.ts +1 -0
  69. package/build/components/labelStatus/labelStatus.d.ts +19 -0
  70. package/build/components/menu/index.d.ts +1 -0
  71. package/build/components/menu/menu.d.ts +61 -0
  72. package/build/components/menuItem/index.d.ts +1 -0
  73. package/build/components/menuItem/menuItem.d.ts +29 -0
  74. package/build/components/modal/contentDiv.d.ts +14 -0
  75. package/build/components/modal/index.d.ts +1 -0
  76. package/build/components/modal/modal.d.ts +67 -0
  77. package/build/components/numbering/index.d.ts +1 -0
  78. package/build/components/numbering/numbering.d.ts +16 -0
  79. package/build/components/pagination/index.d.ts +1 -0
  80. package/build/components/pagination/pagination.d.ts +76 -0
  81. package/build/components/progressBar/components/loader.d.ts +28 -0
  82. package/build/components/progressBar/components/spinner.d.ts +28 -0
  83. package/build/components/progressBar/components/styledProgressBarMessage.d.ts +5 -0
  84. package/build/components/progressBar/index.d.ts +1 -0
  85. package/build/components/progressBar/progressBar.d.ts +10 -0
  86. package/build/components/radioButton/index.d.ts +1 -0
  87. package/build/components/radioButton/radioButton.d.ts +47 -0
  88. package/build/components/selectInput/formControlSelectStyled.d.ts +27 -0
  89. package/build/components/selectInput/hook/useSelectInput.d.ts +5 -0
  90. package/build/components/selectInput/index.d.ts +1 -0
  91. package/build/components/selectInput/inputLabelSelect.d.ts +8 -0
  92. package/build/components/selectInput/selectInput.d.ts +83 -0
  93. package/build/components/slider/containerStyled.d.ts +13 -0
  94. package/build/components/slider/index.d.ts +1 -0
  95. package/build/components/slider/slider.d.ts +139 -0
  96. package/build/components/snackbar/index.d.ts +1 -0
  97. package/build/components/snackbar/snackbar.d.ts +82 -0
  98. package/build/components/snackbar/snackbarMessage.d.ts +29 -0
  99. package/build/components/tab/hook/useTabs.d.ts +9 -0
  100. package/build/components/tab/index.d.ts +3 -0
  101. package/build/components/tab/menuTab.d.ts +36 -0
  102. package/build/components/tab/secondaryNavigation/secondaryNavigationTabs.d.ts +29 -0
  103. package/build/components/tab/secondaryNavigation/secondaryTabStyled.d.ts +13 -0
  104. package/build/components/tab/tab.d.ts +48 -0
  105. package/build/components/tab/tabPanel.d.ts +20 -0
  106. package/build/components/tab/tabStyled.d.ts +43 -0
  107. package/build/components/tab/tabs.d.ts +52 -0
  108. package/build/components/textArea/hook/useTextAreaEffect.d.ts +1 -0
  109. package/build/components/textArea/index.d.ts +1 -0
  110. package/build/components/textArea/textArea.d.ts +3 -0
  111. package/build/components/textInput/hook/useTextInput.d.ts +7 -0
  112. package/build/components/textInput/hook/useTextInputEffect.d.ts +1 -0
  113. package/build/components/textInput/index.d.ts +1 -0
  114. package/build/components/textInput/textInput.d.ts +9 -0
  115. package/build/components/toggleSwitch/index.d.ts +1 -0
  116. package/build/components/toggleSwitch/toggleSwitch.d.ts +46 -0
  117. package/build/components/tooltip/index.d.ts +1 -0
  118. package/build/components/tooltip/tooltip.d.ts +32 -0
  119. package/build/design/skoda/components/theme.accordion.d.ts +2 -0
  120. package/build/design/skoda/components/theme.backdrop.d.ts +2 -0
  121. package/build/design/skoda/components/theme.breakpoints.d.ts +9 -0
  122. package/build/design/skoda/components/theme.button.d.ts +40 -0
  123. package/build/design/skoda/components/theme.checkbox.d.ts +2 -0
  124. package/build/design/skoda/components/theme.chip.d.ts +11 -0
  125. package/build/design/skoda/components/theme.container.d.ts +3 -0
  126. package/build/design/skoda/components/theme.divider.d.ts +2 -0
  127. package/build/design/skoda/components/theme.drawer.d.ts +2 -0
  128. package/build/design/skoda/components/theme.formControlLabel.d.ts +2 -0
  129. package/build/design/skoda/components/theme.grid.d.ts +3 -0
  130. package/build/design/skoda/components/theme.icon.d.ts +10 -0
  131. package/build/design/skoda/components/theme.menu.d.ts +2 -0
  132. package/build/design/skoda/components/theme.menuItem.d.ts +2 -0
  133. package/build/design/skoda/components/theme.modal.d.ts +2 -0
  134. package/build/design/skoda/components/theme.pagination.d.ts +2 -0
  135. package/build/design/skoda/components/theme.radio.d.ts +2 -0
  136. package/build/design/skoda/components/theme.select.d.ts +2 -0
  137. package/build/design/skoda/components/theme.slider.d.ts +2 -0
  138. package/build/design/skoda/components/theme.snackbar.d.ts +2 -0
  139. package/build/design/skoda/components/theme.switch.d.ts +7 -0
  140. package/build/design/skoda/components/theme.tab.d.ts +2 -0
  141. package/build/design/skoda/components/theme.textField.d.ts +2 -0
  142. package/build/design/skoda/components/theme.tooltip.d.ts +2 -0
  143. package/build/design/skoda/index.d.ts +8 -0
  144. package/build/design/skoda/organisms/theme.card.d.ts +3 -0
  145. package/build/design/skoda/theme.baseline.d.ts +5 -0
  146. package/build/design/skoda/theme.breakpoints.d.ts +5 -0
  147. package/build/design/skoda/theme.constants.d.ts +7 -0
  148. package/build/design/skoda/theme.palette.d.ts +14 -0
  149. package/build/design/skoda/theme.typography.d.ts +22 -0
  150. package/build/index.d.ts +45 -0
  151. package/build/index.es.js +30 -0
  152. package/build/index.es.js.map +1 -0
  153. package/build/index.js +16 -0
  154. package/build/index.js.map +1 -0
  155. package/build/organisms/cardOwnedVehicle/cardOwnedVehicle.d.ts +118 -0
  156. package/build/organisms/cardOwnedVehicle/cardOwnedVehicleComponent.d.ts +4 -0
  157. package/build/organisms/cardOwnedVehicle/index.d.ts +1 -0
  158. package/build/organisms/cardPhotoAdjustable/cardPhotoAdjustable.d.ts +89 -0
  159. package/build/organisms/cardPhotoAdjustable/cardPhotoAdjustableComponent.d.ts +4 -0
  160. package/build/organisms/cardPhotoAdjustable/index.d.ts +1 -0
  161. package/build/organisms/cardPhotoFixed/cardPhotoFixed.d.ts +124 -0
  162. package/build/organisms/cardPhotoFixed/cardPhotoFixedComponent.d.ts +4 -0
  163. package/build/organisms/cardPhotoFixed/index.d.ts +1 -0
  164. package/build/organisms/cardPromoVehicle/cardPromoVehicle.d.ts +132 -0
  165. package/build/organisms/cardPromoVehicle/cardPromoVehicleComponent.d.ts +4 -0
  166. package/build/organisms/cardPromoVehicle/index.d.ts +1 -0
  167. package/build/organisms/cardTypeOnly/cardTypeOnly.d.ts +59 -0
  168. package/build/organisms/cardTypeOnly/cardTypeOnlyComponent.d.ts +4 -0
  169. package/build/organisms/cardTypeOnly/index.d.ts +1 -0
  170. package/build/organisms/carousel/carousel.d.ts +134 -0
  171. package/build/organisms/carousel/carouselButton.d.ts +11 -0
  172. package/build/organisms/carousel/carouselTemplate.d.ts +8 -0
  173. package/build/organisms/carousel/index.d.ts +1 -0
  174. package/build/organisms/carousel/styledComponents/styledCarouselHorizontal.d.ts +12 -0
  175. package/build/organisms/carousel/styledComponents/styledCarouselVertical.d.ts +8 -0
  176. package/build/organisms/common/buttonCardComponent/buttonCardComponent.d.ts +19 -0
  177. package/build/organisms/common/cardOpacitylayer/cardOpacityTyping.d.ts +2 -0
  178. package/build/organisms/common/infoTextCardComponent/infoTextCardComponent.d.ts +21 -0
  179. package/build/organisms/common/menuCardComponent/menuCardComponent.d.ts +47 -0
  180. package/build/organisms/common/styled/cardStandardWrapperStyled.d.ts +11 -0
  181. package/build/organisms/heroImageCard/heroImageCard.d.ts +100 -0
  182. package/build/organisms/heroImageCard/heroImageCardComponent.d.ts +4 -0
  183. package/build/organisms/heroImageCard/index.d.ts +1 -0
  184. package/build/organisms/heroImageCard/videoCardController.d.ts +12 -0
  185. package/build/organisms/maps/hook/useMap.d.ts +7 -0
  186. package/build/organisms/maps/index.d.ts +1 -0
  187. package/build/organisms/maps/mapComponents/infoWindowConfig.d.ts +5 -0
  188. package/build/organisms/maps/mapComponents/mapComponent.d.ts +16 -0
  189. package/build/organisms/maps/mapComponents/mapStyled.d.ts +9 -0
  190. package/build/organisms/maps/mapComponents/markerComponent.d.ts +22 -0
  191. package/build/organisms/maps/maps.d.ts +84 -0
  192. package/build/organisms/maps/utils/mapConfig.d.ts +29 -0
  193. package/build/organisms/maps/utils/mapIcons.d.ts +9 -0
  194. package/build/organisms/maps/utils/style.d.ts +19 -0
  195. package/build/organisms/shortcutLink/index.d.ts +1 -0
  196. package/build/organisms/shortcutLink/shortcutLink.d.ts +11 -0
  197. package/build/organisms/textCta/index.d.ts +1 -0
  198. package/build/organisms/textCta/textCta.d.ts +82 -0
  199. package/build/organisms/tile/index.d.ts +1 -0
  200. package/build/organisms/tile/tile.d.ts +85 -0
  201. package/build/utils/enum.d.ts +25 -0
  202. package/build/utils/icons.d.ts +1 -0
  203. package/build/utils/types.d.ts +5 -0
  204. package/build/utils/utilities.d.ts +11 -0
  205. package/package.json +114 -0
  206. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf +0 -0
  207. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff +0 -0
  208. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 +0 -0
  209. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf +0 -0
  210. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff +0 -0
  211. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 +0 -0
  212. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf +0 -0
  213. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff +0 -0
  214. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 +0 -0
  215. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf +0 -0
  216. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff +0 -0
  217. package/theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 +0 -0
  218. package/theme/skoda/fonts/SKODANextIcons-Filled.eot +0 -0
  219. package/theme/skoda/fonts/SKODANextIcons-Filled.woff +0 -0
  220. package/theme/skoda/fonts/SKODANextIcons-Regular.eot +0 -0
  221. package/theme/skoda/fonts/SKODANextIcons-Regular.woff +0 -0
  222. package/theme/skoda/fonts.css +1 -0
  223. package/theme/skoda/globals.css +1 -0
  224. package/theme/skoda/icons.css +1 -0
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const PopperStyled: import("@emotion/styled").StyledComponent<Pick<Pick<import("@mui/base").PopperUnstyledProps, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition">, "slot" | "style" | "title" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "anchorEl" | "container" | "disablePortal" | "keepMounted" | "modifiers" | "open" | "placement" | "popperOptions" | "popperRef" | "transition"> & import("react").RefAttributes<HTMLDivElement> & {
3
+ theme?: import("@emotion/react").Theme;
4
+ } & {
5
+ theme?: any;
6
+ isMobile?: boolean;
7
+ }, {}, {}>;
@@ -0,0 +1,54 @@
1
+ import React, { ReactNode } from 'react';
2
+ /**
3
+ * @interface CheckboxProps
4
+ * @description Base definition of SkodaFlow Checkbox independent on core implementation.
5
+ * Properties are inherited from HTML Button element
6
+ */
7
+ export interface CheckboxProps extends Omit<React.HTMLAttributes<HTMLButtonElement>, 'onChange' | 'color'> {
8
+ /**
9
+ * Indeterminate state of checkbox, half checked.
10
+ */
11
+ indeterminate?: boolean;
12
+ /**
13
+ * Disabled state, not changeable.
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Uncontrolled component. Set initial value. Do not use with "checked" together.
18
+ */
19
+ defaultChecked?: boolean;
20
+ /**
21
+ * Controlled component. Set current value. Do not use with "defaultChecked" together.
22
+ */
23
+ checked?: boolean;
24
+ /**
25
+ * Error state of checkbox.
26
+ */
27
+ error?: boolean;
28
+ /**
29
+ * Is checkbox required field in form?
30
+ */
31
+ required?: boolean;
32
+ /**
33
+ * The value referenced with checkbox element
34
+ */
35
+ value?: string;
36
+ /**
37
+ * The value referenced with checkbox element
38
+ */
39
+ label?: string | ReactNode;
40
+ customNode?: ReactNode;
41
+ /**
42
+ * @description Triggered when element is changed.
43
+ * @param e React original event object
44
+ * @param value Current changed value
45
+ */
46
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>, value: boolean) => void;
47
+ }
48
+ /**
49
+ * @description SkodaFlow Checkbox component.
50
+ * Properties are inherited from HTML Button element.
51
+ * @param props CheckboxProps
52
+ * @returns React Functional Component
53
+ */
54
+ export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1 @@
1
+ export * from './checkbox';
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ /**
3
+ * @interface ChipProps
4
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
5
+ * Properties are inherited from HTML div element
6
+ */
7
+ export interface ChipDropdownChildrenProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ /**
9
+ * The label referenced to the text field
10
+ */
11
+ label?: string;
12
+ /**
13
+ * Disabled, not clickable chip
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Icon name. For example "check". If no prefix is defined, default SKODA icon font is used
18
+ */
19
+ icon?: string;
20
+ /**
21
+ * Variant of chip defines different look and style
22
+ */
23
+ variant?: 'solid' | 'transparent' | 'shadow';
24
+ }
25
+ /**
26
+ * @description SkodaFlow Chip component.
27
+ * Properties are inherited from HTML Div element.
28
+ * @param props ChipProps
29
+ * @returns React Functional Component
30
+ */
31
+ export declare const ChipDropdownChildren: React.ForwardRefExoticComponent<ChipDropdownChildrenProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const ChipFocusVisibleStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: import("react").ElementType<any>;
5
+ } & {
6
+ focusVisible: boolean;
7
+ variant: any;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export default ChipFocusVisibleStyled;
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ /**
3
+ * @interface ChipProps
4
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
5
+ * Properties are inherited from HTML div element
6
+ */
7
+ export interface ChipImageProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ /**
9
+ * The label referenced to the text field.
10
+ */
11
+ label?: string;
12
+ /**
13
+ * Disabled, not clickable chip.
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Image of a chip to display.
18
+ */
19
+ component?: any;
20
+ /**
21
+ * Variant of a chip.
22
+ */
23
+ variant?: 'image' | 'multiselect';
24
+ /**
25
+ * The url of the image.
26
+ */
27
+ imageUrl: string;
28
+ /**
29
+ * The alt attribute of the image.
30
+ */
31
+ imageAlt: string;
32
+ /**
33
+ * Default state of the chip image. If true the chip image is checked.
34
+ */
35
+ isChecked?: boolean;
36
+ }
37
+ /**
38
+ * @description SkodaFlow Chip component.
39
+ * Properties are inherited from HTML Div element.
40
+ * @param props ChipProps
41
+ * @returns React Functional Component
42
+ */
43
+ export declare const ChipImage: React.ForwardRefExoticComponent<ChipImageProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import { PaperProps } from '../../menu';
3
+ /**
4
+ * @interface ChipProps
5
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
6
+ * Properties are inherited from HTML div element
7
+ */
8
+ export interface MultiSelectChipProps extends React.HTMLAttributes<HTMLDivElement>, PaperProps {
9
+ /**
10
+ * The label referenced to the text field
11
+ */
12
+ label?: string;
13
+ /**
14
+ * Disabled, not clickable chip
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * Icon name. For example "check". If no prefix is defined, default SKODA icon font is used
19
+ */
20
+ icon?: string;
21
+ /**
22
+ * Variant of chip defines different look and style
23
+ */
24
+ variant?: 'solid' | 'transparent' | 'shadow';
25
+ /**
26
+ * The toggle label displayed when groupToggleSelection is true. Default is "Select All".
27
+ */
28
+ toggleLabel?: string;
29
+ }
30
+ /**
31
+ * @description SkodaFlow Chip component.
32
+ * Properties are inherited from HTML Div element.
33
+ * @param props ChipProps
34
+ * @returns React Functional Component
35
+ */
36
+ export declare const MultiSelectChip: React.ForwardRefExoticComponent<MultiSelectChipProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export * from './chipImage/chipImage';
2
+ export * from './regular/chip';
3
+ export * from './chipMultiselect/multiSelectChip';
4
+ export * from './chipDropdownChildren/chipDropdownChildren';
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ /**
3
+ * @interface ChipProps
4
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
5
+ * Properties are inherited from HTML div element
6
+ */
7
+ export interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ /**
9
+ * The label referenced to the text field
10
+ */
11
+ label?: string;
12
+ /**
13
+ * Disabled, not clickable chip
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Boolean to display icon
18
+ */
19
+ icon?: string;
20
+ /**
21
+ * Variant of chip defines different look and style
22
+ */
23
+ variant?: 'solid' | 'transparent' | 'shadow';
24
+ /**
25
+ * if true chips is checked
26
+ */
27
+ isSelected?: boolean;
28
+ /**
29
+ * onClick callback to handle the chip state
30
+ */
31
+ onClickCallback?: (e: React.MouseEvent<HTMLDivElement>, selected: boolean) => void;
32
+ }
33
+ /**
34
+ * @description SkodaFlow Chip component.
35
+ * Properties are inherited from HTML Div element.
36
+ * @param props ChipProps
37
+ * @returns React Functional Component
38
+ */
39
+ export declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ export interface HelperTextProps {
3
+ /**
4
+ * Disabled, not clickable
5
+ */
6
+ disabled?: boolean;
7
+ /**
8
+ * The value of the helper text
9
+ */
10
+ helpText?: string;
11
+ /**
12
+ * The max number of chars available in the text area. Max chars will be disabled when type = 'number'.
13
+ */
14
+ maxChars?: number;
15
+ /**
16
+ *Boolean to check if the input returns an error or not
17
+ */
18
+ hasError?: boolean;
19
+ /**
20
+ * Current value of the helper text.
21
+ */
22
+ currentValue: string;
23
+ /**
24
+ * Type of the input element. It should be 'text' or 'number'. Default is 'text'.
25
+ */
26
+ type?: 'number' | 'text';
27
+ }
28
+ declare const HelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type }: HelperTextProps) => JSX.Element;
29
+ export default HelperText;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const useBackdrop: () => {
3
+ openBackdrop: boolean;
4
+ setOpenBackdrop: import("react").Dispatch<import("react").SetStateAction<boolean>>;
5
+ handleCloseBackdrop: () => void;
6
+ handleOpenBackdrop: () => void;
7
+ handleToggleBackdrop: () => void;
8
+ };
9
+ export default useBackdrop;
@@ -0,0 +1,5 @@
1
+ export default function useWindowSize(): {
2
+ width: number;
3
+ height: number;
4
+ isMobile: boolean;
5
+ };
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ interface ImageComponentProps {
3
+ /**
4
+ * The source of the image.
5
+ */
6
+ image: string;
7
+ /**
8
+ * The alt description of the image.
9
+ */
10
+ alt?: string;
11
+ /**
12
+ * The source of the onError image.
13
+ */
14
+ fallbackImage?: string;
15
+ }
16
+ declare const ImageComponent: ({ image, alt, fallbackImage }: ImageComponentProps) => JSX.Element;
17
+ export default ImageComponent;
@@ -0,0 +1,96 @@
1
+ import React from 'react';
2
+ /**
3
+ * @interface TextInputProps
4
+ * @description Base definition of SkodaFlow TextArea and TextInput independent on core implementation.
5
+ * Properties are inherited from HTML input element
6
+ * @returns React Functional Component
7
+ */
8
+ export interface TextInputProps {
9
+ /**
10
+ * The label referenced to the text area field
11
+ */
12
+ label?: string;
13
+ /**
14
+ * The placeholder referenced with TextField element
15
+ */
16
+ placeholder?: string;
17
+ /**
18
+ * Show the "white" background or not
19
+ */
20
+ hideBg?: boolean;
21
+ /**
22
+ * The value referenced with the text area element
23
+ */
24
+ value?: string;
25
+ /**
26
+ * Disabled, not clickable
27
+ */
28
+ disabled?: boolean;
29
+ /**
30
+ * If TextArea required field in form
31
+ */
32
+ required?: boolean;
33
+ /**
34
+ * The value of the helper text
35
+ */
36
+ helpText?: string;
37
+ /**
38
+ * The max number of chars available in the text area. Max chars will be disabled when type = 'number'.
39
+ */
40
+ maxChars?: number;
41
+ /**
42
+ * Icon name. For example "check". If no prefix is defined, default SKODA icon font is used
43
+ */
44
+ icon?: string;
45
+ /**
46
+ *Boolean to check if the input returns an error or not
47
+ */
48
+ hasError?: boolean;
49
+ /**
50
+ *name of the input element
51
+ */
52
+ name?: string;
53
+ /**
54
+ *id of the input element
55
+ */
56
+ id?: string;
57
+ /**
58
+ *classes for FormControl component
59
+ */
60
+ classes?: {};
61
+ /**
62
+ *Props for the Input element
63
+ */
64
+ InputProps?: any;
65
+ /**
66
+ *Textarea HTML element height.
67
+ */
68
+ textAreaHeight?: number;
69
+ /**
70
+ *set the full width for the select input
71
+ */
72
+ fullWidth?: boolean;
73
+ /**
74
+ * Type of the input element. It should be 'text' or 'number'. Default is 'text'.
75
+ */
76
+ type?: 'number' | 'text';
77
+ /**
78
+ * @description Triggered when element is changed.
79
+ * @param e React original event object
80
+ * @param value Current changed value
81
+ */
82
+ onChange?: (event?: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
83
+ /**
84
+ * Callback fired when the component is blurred.
85
+ */
86
+ onBlur?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
87
+ /**
88
+ * Callback fired when the component get focussed.
89
+ */
90
+ onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
91
+ /**
92
+ * list of chars that wont be accepted as input values.
93
+ */
94
+ excludeChars?: string[];
95
+ onKeyDownCallback?: (event?: any) => void;
96
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { MenuReactUseStateHook, MenuItems } from '../menu';
3
+ export interface MenuContainerProps {
4
+ disabled?: boolean;
5
+ items?: MenuItems;
6
+ hasIcon?: boolean;
7
+ multipleSelection?: boolean;
8
+ groupLabel?: string;
9
+ reactHook?: MenuReactUseStateHook;
10
+ groupToggleSelection?: boolean;
11
+ isOpen?: boolean;
12
+ marginTop?: number;
13
+ width?: number;
14
+ fullWidth?: boolean;
15
+ setIsOpen?: React.Dispatch<React.SetStateAction<boolean>>;
16
+ isEmptyMenu?: boolean;
17
+ toggleLabel?: string;
18
+ }
19
+ declare const MenuContainer: React.FC<MenuContainerProps>;
20
+ export default MenuContainer;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ /**
3
+ * @interface MenuEmtpyProps
4
+ * @description Base definition of SkodaFlow Menu independent on core implementation.
5
+ * Properties are inherited from HTML Div element
6
+ */
7
+ export interface MenuEmptyProps extends React.HTMLAttributes<HTMLDivElement> {
8
+ }
9
+ /**
10
+ * @description SkodaFlow Menu component.
11
+ * Properties are inherited from HTML Div element.
12
+ * @param props PaperProps
13
+ * @returns React Functional Component
14
+ */
15
+ export declare const MenuEmpty: React.ForwardRefExoticComponent<MenuEmptyProps & React.RefAttributes<HTMLDivElement>>;
16
+ export default MenuEmpty;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export interface ResizableSliderInputInterface {
3
+ value: string | number;
4
+ onChange: (e: React.ChangeEvent<HTMLInputElement>, thumb?: number) => void;
5
+ id?: string;
6
+ disabled?: boolean;
7
+ textDescription?: string;
8
+ labelText?: string;
9
+ className?: string;
10
+ thumb?: number;
11
+ isCurrencyInFront?: boolean;
12
+ thousandsSeparator?: '.' | ',';
13
+ decimalSeparator?: '.' | ',';
14
+ hiddenDecimalSeparator?: boolean;
15
+ }
16
+ declare const ResizableSliderInput: ({ value: values, onChange, isCurrencyInFront, textDescription, labelText, className, id, thumb, disabled, thousandsSeparator, decimalSeparator, hiddenDecimalSeparator, }: ResizableSliderInputInterface) => JSX.Element;
17
+ export default ResizableSliderInput;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const ButtonFocusVisibleStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: import("react").ElementType<any>;
5
+ } & {
6
+ focusVisible: boolean;
7
+ isNavigationVariant: boolean;
8
+ fullWidth?: boolean;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export default ButtonFocusVisibleStyled;
@@ -0,0 +1,8 @@
1
+ import { FormControlLabelProps as MuiFormControlLabelProps } from '@mui/material/FormControlLabel';
2
+ declare const FormControlLabelStyled: import("@emotion/styled").StyledComponent<MuiFormControlLabelProps & {
3
+ theme?: import("@emotion/react").Theme;
4
+ } & {
5
+ error?: boolean;
6
+ theme?: any;
7
+ }, {}, {}>;
8
+ export default FormControlLabelStyled;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare const HelperTextContainerStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: import("react").ElementType<any>;
5
+ } & {
6
+ theme?: any;
7
+ disabled?: boolean;
8
+ hasError?: boolean;
9
+ maxChars?: number;
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export default HelperTextContainerStyled;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const SliderValuesStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: import("react").ElementType<any>;
5
+ } & {
6
+ theme?: any;
7
+ disabled?: boolean;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export default SliderValuesStyled;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @description TextInput styling definition based on props
3
+ */
4
+ declare const TextFieldStyled: import("@emotion/styled").StyledComponent<(import("@mui/material/TextField").StandardTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
+ isSelect?: boolean;
6
+ disabled?: boolean;
7
+ hasError?: boolean;
8
+ hideBg?: boolean;
9
+ icon?: string;
10
+ focused?: boolean;
11
+ hovered?: boolean;
12
+ }) | (import("@mui/material/TextField").FilledTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
13
+ isSelect?: boolean;
14
+ disabled?: boolean;
15
+ hasError?: boolean;
16
+ hideBg?: boolean;
17
+ icon?: string;
18
+ focused?: boolean;
19
+ hovered?: boolean;
20
+ }) | (import("@mui/material/TextField").OutlinedTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
21
+ isSelect?: boolean;
22
+ disabled?: boolean;
23
+ hasError?: boolean;
24
+ hideBg?: boolean;
25
+ icon?: string;
26
+ focused?: boolean;
27
+ hovered?: boolean;
28
+ }), {}, {}>;
29
+ export default TextFieldStyled;
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ export interface HelperTextProps {
3
+ /**
4
+ * Disabled, not clickable
5
+ */
6
+ disabled?: boolean;
7
+ /**
8
+ * The value of the helper text
9
+ */
10
+ helpText?: string;
11
+ /**
12
+ * The max number of chars available in the text area. Max chars will be disabled when type = 'number'.
13
+ */
14
+ maxChars?: number;
15
+ /**
16
+ *Boolean to check if the input returns an error or not
17
+ */
18
+ hasError?: boolean;
19
+ /**
20
+ * Current value of the helper text.
21
+ */
22
+ currentValue: string;
23
+ /**
24
+ * Type of the input element. It should be 'text' or 'number'. Default is 'text'.
25
+ */
26
+ type?: 'number' | 'text';
27
+ width?: string;
28
+ }
29
+ declare const TextInputHelperText: ({ disabled, hasError, helpText, maxChars, currentValue, type, width }: HelperTextProps) => JSX.Element;
30
+ export default TextInputHelperText;
@@ -0,0 +1 @@
1
+ export declare type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'tertiary' | 'navigation';
@@ -0,0 +1,44 @@
1
+ import React, { ReactNode } from 'react';
2
+ /**
3
+ * @interface ContainerProps
4
+ * @description Base definition of SkodaFlow Container independent on core implementation.
5
+ * Properties are inherited from HTML Container element
6
+ */
7
+ export interface ContainerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'size'> {
8
+ /**
9
+ * Override or extend the styles applied to the component. See CSS API below for more details.
10
+ */
11
+ classes?: object;
12
+ /**
13
+ * The component used for the root node. Either a string to use a HTML element or a component.
14
+ */
15
+ component?: string | ReactNode;
16
+ /**
17
+ * If true, the left and right padding is removed.
18
+ */
19
+ disableGutters: boolean;
20
+ /**
21
+ * Determine the max-width of the container. The container width grows with the size of the screen.
22
+ * Set to false to disable maxWidth.
23
+ */
24
+ fixed: boolean;
25
+ /**
26
+ * Determine if grid is narrow
27
+ */
28
+ narrow: boolean;
29
+ /**
30
+ * If true, the left and right padding is removed.
31
+ */
32
+ maxWidth: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | false | string;
33
+ /**
34
+ * The system prop that allows defining system overrides as well as additional CSS styles. See the `sx` page for more details.
35
+ */
36
+ sx: Array<Function | object> | Function | object;
37
+ }
38
+ /**
39
+ * @description SkodaFlow Container component.
40
+ * Properties are inherited from HTML Container element.
41
+ * @param props ContainerProps
42
+ * @returns React Functional Component
43
+ */
44
+ export declare const Container: (props: any) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './container';