@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,118 @@
1
+ import React from 'react';
2
+ import { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';
3
+ import { ButtonVariants } from '../../components/button';
4
+ import { MenuCardComponentProps } from '../common/menuCardComponent/menuCardComponent';
5
+ /**
6
+ * @interface CardOwnedVehicleProps
7
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
8
+ * Properties are inherited from HTML div element
9
+ */
10
+ export interface CardOwnedVehicleProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Label text
13
+ */
14
+ label: string;
15
+ /**
16
+ * Variants of the label
17
+ */
18
+ labelVariant: 'general' | 'feature';
19
+ /**
20
+ * Vehicle name text
21
+ */
22
+ vehicleName?: string;
23
+ /**
24
+ * Vehicle equipment text
25
+ */
26
+ equipment?: string;
27
+ /**
28
+ * Vehicle status
29
+ */
30
+ vehicleStatus?: string;
31
+ /**
32
+ * Vehicle status variant
33
+ * As: Alert,Warning,Positive, Neutral, Custom
34
+ */
35
+ vehicleStatusVariant?: string;
36
+ /**
37
+ * An image of the component
38
+ */
39
+ image?: string;
40
+ /**
41
+ * The source of the onError image.
42
+ */
43
+ fallbackImage?: string;
44
+ /**
45
+ * Alternative description Image
46
+ */
47
+ altDescriptionImage?: string;
48
+ /**
49
+ * Mandatory button object. The button is displayed if the label text is present
50
+ */
51
+ mandatoryButtonObject?: {
52
+ label?: string;
53
+ variant?: ButtonVariants;
54
+ url?: string;
55
+ target?: string;
56
+ callback?: (payload?: any) => void;
57
+ callbackAnalytics?: (payload?: any) => void;
58
+ };
59
+ /**
60
+ * Optional button object. The button is displayed if the label text is present
61
+ */
62
+ optionalButtonObject?: {
63
+ label?: string;
64
+ variant?: ButtonVariants;
65
+ url?: string;
66
+ target?: string;
67
+ callback?: (payload?: any) => void;
68
+ callbackAnalytics?: (payload?: any) => void;
69
+ };
70
+ /**
71
+ * If true borderRadius was added to entire card
72
+ */
73
+ isBorderRadius?: boolean;
74
+ /**
75
+ * Set element's opacity.
76
+ */
77
+ darkOpacityLayer: DarkOpacity;
78
+ /**
79
+ * Set element's opacity.
80
+ */
81
+ lightOpacityLayer: LightOpacity;
82
+ /**
83
+ * If true, menu is showing
84
+ */
85
+ isMenuDropdown: boolean;
86
+ /**
87
+ * if true, vehicleSpecs section is showing
88
+ */
89
+ vehicleSpecs?: boolean;
90
+ /**
91
+ * vehicleSpecs information
92
+ */
93
+ vehicleSpecsObject?: [
94
+ {
95
+ subtitle: string;
96
+ value: string;
97
+ }
98
+ ];
99
+ /**
100
+ * Size of the component's height
101
+ */
102
+ size?: 'fixed' | 'adjustable';
103
+ /**
104
+ * Uses for setting button size based on screensize
105
+ */
106
+ isCompact?: boolean;
107
+ /**
108
+ * MenuCardComponent props.
109
+ */
110
+ menuCardComponentProps?: MenuCardComponentProps;
111
+ }
112
+ /**
113
+ * @description SkodaFlow Chip component.
114
+ * Properties are inherited from HTML Div element.
115
+ * @param props ChipProps
116
+ * @returns React Functional Component
117
+ */
118
+ export declare const CardOwnedVehicle: React.ForwardRefExoticComponent<CardOwnedVehicleProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardOwnedVehicleProps } from './cardOwnedVehicle';
3
+ export declare const CardOwnedVehicleComponent: React.ForwardRefExoticComponent<CardOwnedVehicleProps & React.RefAttributes<HTMLDivElement>>;
4
+ export default CardOwnedVehicleComponent;
@@ -0,0 +1 @@
1
+ export * from './cardOwnedVehicle';
@@ -0,0 +1,89 @@
1
+ import React from 'react';
2
+ import { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';
3
+ import { ButtonVariants } from '../..';
4
+ /**
5
+ * @interface ChipProps
6
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
7
+ * Properties are inherited from HTML div element
8
+ */
9
+ export interface CardPhotoAdjustableProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * Label text
12
+ */
13
+ labelText?: string;
14
+ /**
15
+ * If labelVariant is feature, it is possible to select a variant of the Feature Label
16
+ */
17
+ labelVariants?: 'primary' | 'neutral' | 'secondary';
18
+ /**
19
+ * Title text
20
+ */
21
+ title?: string;
22
+ /**
23
+ * Description text
24
+ */
25
+ subtitle?: string;
26
+ /**
27
+ * Mandatory Button link.
28
+ */
29
+ buttonLink?: string;
30
+ /**
31
+ * Mandatory Button label
32
+ */
33
+ buttonLabel?: string;
34
+ /**
35
+ * Mandatory Button variant.
36
+ */
37
+ buttonVariant?: ButtonVariants;
38
+ /**
39
+ * If true, button is showing
40
+ */
41
+ optionalButton?: boolean;
42
+ /**
43
+ * Optional Button label. Button displays only if it has a label text
44
+ */
45
+ optionalButtonLabel?: string;
46
+ /**
47
+ * Optional Button link.
48
+ */
49
+ optionalButtonLink?: string;
50
+ /**
51
+ * Optional Button variant.
52
+ */
53
+ optionalButtonVariant?: ButtonVariants;
54
+ /**
55
+ * Height of the component
56
+ */
57
+ heightSize?: 'small' | 'medium' | 'normal';
58
+ /**
59
+ * If true borderRadius was added to entire card
60
+ */
61
+ isBorderRadius?: boolean;
62
+ /**
63
+ * An image of the component
64
+ */
65
+ cardImage?: string;
66
+ /**
67
+ * alt HTML tag apply to the image
68
+ */
69
+ altImageDescription?: string;
70
+ /**
71
+ * A dark gradient layer was added
72
+ */
73
+ darkOpacity?: DarkOpacity;
74
+ /**
75
+ * A light gradient layer was added
76
+ */
77
+ lightOpacity?: LightOpacity;
78
+ /**
79
+ * Callback for analytics
80
+ */
81
+ analyticsCallback?: (payload?: any) => void;
82
+ }
83
+ /**
84
+ * @description SkodaFlow CardPhotoFixed component.
85
+ * Properties are inherited from HTML Div element.
86
+ * @param props CardPhotoFixedProps
87
+ * @returns React Functional Component
88
+ */
89
+ export declare const CardPhotoAdjustable: React.ForwardRefExoticComponent<CardPhotoAdjustableProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardPhotoAdjustableProps } from '.';
3
+ declare const CardPhotoFixedComponent: React.ForwardRefExoticComponent<CardPhotoAdjustableProps & React.RefAttributes<HTMLDivElement>>;
4
+ export default CardPhotoFixedComponent;
@@ -0,0 +1 @@
1
+ export * from './cardPhotoAdjustable';
@@ -0,0 +1,124 @@
1
+ import React from 'react';
2
+ import { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';
3
+ import { ButtonVariants } from '../..';
4
+ /**
5
+ * @interface CardPhotoFixedProps
6
+ * @description Properties are inherited from HTML div element
7
+ */
8
+ export interface CardPhotoFixedProps extends React.HTMLAttributes<HTMLDivElement> {
9
+ /**
10
+ * Label text
11
+ */
12
+ label?: string;
13
+ /**
14
+ * Title name text
15
+ */
16
+ title?: string;
17
+ /**
18
+ * Subtitle text
19
+ */
20
+ subTitle?: string;
21
+ /**
22
+ * Description text
23
+ */
24
+ description?: string;
25
+ /**
26
+ * if true, first label is showing
27
+ */
28
+ labelInfoFirst?: boolean;
29
+ /**
30
+ * First label information label text
31
+ */
32
+ labelInfoFirstText?: string;
33
+ /**
34
+ * First label variant
35
+ */
36
+ labelInfoFirstVariant?: 'primary' | 'neutral';
37
+ /**
38
+ * if true, second optional label is showing
39
+ */
40
+ labelInfoSecond?: boolean;
41
+ /**
42
+ * Second label text
43
+ */
44
+ labelInfoSecondText?: string;
45
+ /**
46
+ * Second label variant
47
+ */
48
+ labelInfoSecondVariant?: 'primary' | 'neutral';
49
+ /**
50
+ * An image of the component
51
+ */
52
+ cardImage?: string;
53
+ /**
54
+ * alt HTML tag apply to the image
55
+ */
56
+ altImageDescription?: string;
57
+ /**
58
+ * Mandatory Button link.
59
+ */
60
+ buttonLink?: string;
61
+ /**
62
+ * Mandatory Button label. Button displays only if it has a label text
63
+ */
64
+ buttonLabel?: string;
65
+ /**
66
+ * Mandatory Button variant.
67
+ */
68
+ buttonVariant?: ButtonVariants;
69
+ /**
70
+ * If true, button is showing
71
+ */
72
+ optionalButton?: boolean;
73
+ /**
74
+ * Optional Button label. Button displays only if it has a label text
75
+ */
76
+ optionalButtonLabel?: string;
77
+ /**
78
+ * Optional Button link.
79
+ */
80
+ optionalButtonLink?: string;
81
+ /**
82
+ * Mandatory Button variant.
83
+ */
84
+ optionalButtonVariant?: ButtonVariants;
85
+ /**
86
+ * If true borderRadius was added to entire card
87
+ */
88
+ isBorderRadius?: boolean;
89
+ /**
90
+ * Info text
91
+ */
92
+ infoText?: string;
93
+ /**
94
+ * Info text second position text
95
+ */
96
+ infoTextSecond?: string;
97
+ /**
98
+ * info text third position text
99
+ */
100
+ infoTextThird?: string;
101
+ /**
102
+ * A dark gradient layer was added
103
+ */
104
+ darkOpacity?: DarkOpacity;
105
+ /**
106
+ * A light gradient layer was added
107
+ */
108
+ lightOpacity?: LightOpacity;
109
+ /**
110
+ * Uses for setting button size based on screensize
111
+ */
112
+ isCompact?: boolean;
113
+ /**
114
+ * Callback for analytics
115
+ */
116
+ analyticsCallback?: (payload?: any) => void;
117
+ }
118
+ /**
119
+ * @description SkodaFlow CardPhotoFixed component.
120
+ * Properties are inherited from HTML Div element.
121
+ * @param props CardPhotoFixedProps
122
+ * @returns React Functional Component
123
+ */
124
+ export declare const CardPhotoFixed: React.ForwardRefExoticComponent<CardPhotoFixedProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardPhotoFixedProps } from '.';
3
+ declare const CardPhotoFixedComponent: React.ForwardRefExoticComponent<CardPhotoFixedProps & React.RefAttributes<HTMLDivElement>>;
4
+ export default CardPhotoFixedComponent;
@@ -0,0 +1 @@
1
+ export * from './cardPhotoFixed';
@@ -0,0 +1,132 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';
3
+ import { ButtonVariants } from '../../components/button';
4
+ import { MenuCardComponentProps } from '../common/menuCardComponent/menuCardComponent';
5
+ /**
6
+ * @interface ChipProps
7
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
8
+ * Properties are inherited from HTML div element
9
+ */
10
+ export interface CardPromoVehicleProps extends React.HTMLAttributes<HTMLDivElement> {
11
+ /**
12
+ * Label text
13
+ */
14
+ label: string;
15
+ /**
16
+ * Variants of the label
17
+ */
18
+ labelVariant: 'general' | 'feature';
19
+ /**
20
+ * Vehicle name text
21
+ */
22
+ vehicleName?: string;
23
+ /**
24
+ * Vehicle equipment text
25
+ */
26
+ equipment?: string;
27
+ /**
28
+ * Description text
29
+ */
30
+ description?: string;
31
+ /**
32
+ * First label information label text. If this prop is empty, the label isn't showing
33
+ */
34
+ labelInfoFirstText?: string;
35
+ /**
36
+ * First label variant
37
+ */
38
+ labelInfoFirstVariant?: 'primary' | 'neutral';
39
+ /**
40
+ * Second label text. If this prop is empty, the label isn't showing
41
+ */
42
+ labelInfoSecondText?: string;
43
+ /**
44
+ * Second label variant
45
+ */
46
+ labelInfoSecondVariant?: 'primary' | 'neutral';
47
+ /**
48
+ * If the main image is not found this image will be used.
49
+ */
50
+ image?: string;
51
+ /**
52
+ * The source of the onError image.
53
+ */
54
+ fallbackImage?: string;
55
+ /**
56
+ * Alternative description Image
57
+ */
58
+ altDescriptionImage?: string;
59
+ /**
60
+ * Mandatory button object. The button is displayed if the label text is present
61
+ */
62
+ mandatoryButtonObject?: {
63
+ label?: string;
64
+ variant?: ButtonVariants;
65
+ url?: string;
66
+ target?: string;
67
+ callback?: (payload?: any) => void;
68
+ callbackAnalytics?: (payload?: any) => void;
69
+ };
70
+ /**
71
+ * Optional button object. The button is displayed if the label text is present
72
+ */
73
+ optionalButtonObject?: {
74
+ label?: string;
75
+ variant?: ButtonVariants;
76
+ url?: string;
77
+ target?: string;
78
+ callback?: (payload?: any) => void;
79
+ callbackAnalytics?: (payload?: any) => void;
80
+ };
81
+ /**
82
+ * If true borderRadius was added to entire card
83
+ */
84
+ isBorderRadius?: boolean;
85
+ /**
86
+ * Set element's opacity.
87
+ */
88
+ darkOpacityLayer: DarkOpacity;
89
+ /**
90
+ * Set element's opacity.
91
+ */
92
+ lightOpacityLayer: LightOpacity;
93
+ /**
94
+ * if true, dropdownMenu is showing
95
+ */
96
+ isMenuDropdown: boolean;
97
+ /**
98
+ * Height size of the component
99
+ */
100
+ size?: 'fixed' | 'adjustable';
101
+ /**
102
+ * Info text
103
+ */
104
+ infoText?: string;
105
+ /**
106
+ * Info text second position text
107
+ */
108
+ infoTextSecond?: string;
109
+ /**
110
+ * info text third position text
111
+ */
112
+ infoTextThird?: string;
113
+ /**
114
+ * Custom Info accept react node element
115
+ */
116
+ customInfo?: ReactNode;
117
+ /**
118
+ * Uses for setting button size based on screensize
119
+ */
120
+ isCompact?: boolean;
121
+ /**
122
+ * MenuCardComponent props.
123
+ */
124
+ menuCardComponentProps?: MenuCardComponentProps;
125
+ }
126
+ /**
127
+ * @description SkodaFlow Chip component.
128
+ * Properties are inherited from HTML Div element.
129
+ * @param props ChipProps
130
+ * @returns React Functional Component
131
+ */
132
+ export declare const CardPromoVehicle: React.ForwardRefExoticComponent<CardPromoVehicleProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardPromoVehicleProps } from './cardPromoVehicle';
3
+ export declare const CardPromoVehicleComponent: React.ForwardRefExoticComponent<CardPromoVehicleProps & React.RefAttributes<HTMLDivElement>>;
4
+ export default CardPromoVehicleComponent;
@@ -0,0 +1 @@
1
+ export * from './cardPromoVehicle';
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import { DarkOpacity, LightOpacity } from '../common/cardOpacitylayer/cardOpacityTyping';
3
+ import { ButtonVariants } from '../..';
4
+ /**
5
+ * @interface ChipProps
6
+ * @description Base definition of SkodaFlow Chip independent on core implementation.
7
+ * Properties are inherited from HTML div element
8
+ */
9
+ export interface CardTypeOnlyProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * If true borderRadius was added to entire card
12
+ */
13
+ isBorderRadius?: boolean;
14
+ /**
15
+ * Text is showing if the card configurator is empty
16
+ */
17
+ cardTypeOnlyText?: string;
18
+ /**
19
+ * Mandatory button object. The button is displayed if the label text is present
20
+ */
21
+ mandatoryButtonObject?: {
22
+ label?: string;
23
+ variant?: ButtonVariants;
24
+ url?: string;
25
+ target?: string;
26
+ callback?: (payload?: any) => void;
27
+ callbackAnalytics?: (payload?: any) => void;
28
+ };
29
+ /**
30
+ * Optional button object. The button is displayed if the label text is present
31
+ */
32
+ optionalButtonObject?: {
33
+ label?: string;
34
+ variant?: ButtonVariants;
35
+ url?: string;
36
+ target?: string;
37
+ callback?: (payload?: any) => void;
38
+ callbackAnalytics?: (payload?: any) => void;
39
+ };
40
+ /**
41
+ * A dark gradient layer was added
42
+ */
43
+ darkOpacity?: DarkOpacity;
44
+ /**
45
+ * A light gradient layer was added
46
+ */
47
+ lightOpacity?: LightOpacity;
48
+ /**
49
+ * Uses for setting button size based on screensize
50
+ */
51
+ isCompact?: boolean;
52
+ }
53
+ /**
54
+ * @description SkodaFlow Chip component.
55
+ * Properties are inherited from HTML Div element.
56
+ * @param props ChipProps
57
+ * @returns React Functional Component
58
+ */
59
+ export declare const CardTypeOnly: React.ForwardRefExoticComponent<CardTypeOnlyProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CardTypeOnlyProps } from '.';
3
+ declare const CardTypeOnlyComponent: React.ForwardRefExoticComponent<CardTypeOnlyProps & React.RefAttributes<HTMLDivElement>>;
4
+ export default CardTypeOnlyComponent;
@@ -0,0 +1 @@
1
+ export * from './cardTypeOnly';