@skodaflow/web-library 2.1.10 → 3.2.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 (168) hide show
  1. package/README.md +24 -10
  2. package/build/0.33dc9c4e7ff3674d9767.manager.bundle.js +2 -0
  3. package/build/0.33dc9c4e7ff3674d9767.manager.bundle.js.LICENSE.txt +8 -0
  4. package/build/0.502de414.iframe.bundle.js +3 -0
  5. package/build/0.502de414.iframe.bundle.js.LICENSE.txt +8 -0
  6. package/build/0.502de414.iframe.bundle.js.map +1 -0
  7. package/build/1.c40e71aa.iframe.bundle.js +1 -0
  8. package/build/1.df1e283b64c3b077d1d9.manager.bundle.js +1 -0
  9. package/build/2.cb77c95c.iframe.bundle.js +1 -0
  10. package/build/5.2eeada73a5a6c7b0cd1f.manager.bundle.js +2 -0
  11. package/build/5.2eeada73a5a6c7b0cd1f.manager.bundle.js.LICENSE.txt +31 -0
  12. package/build/6.2fa368d0.iframe.bundle.js +3 -0
  13. package/build/6.2fa368d0.iframe.bundle.js.LICENSE.txt +31 -0
  14. package/build/6.2fa368d0.iframe.bundle.js.map +1 -0
  15. package/build/6.a7507fca9c658216586f.manager.bundle.js +1 -0
  16. package/build/7.6a0a053da7ff8f1db3f2.manager.bundle.js +1 -0
  17. package/build/7.fee36cac.iframe.bundle.js +1 -0
  18. package/build/8.2d25d0a1.iframe.bundle.js +1 -0
  19. package/build/8.aa8ac6018b46273507aa.manager.bundle.js +2 -0
  20. package/build/8.aa8ac6018b46273507aa.manager.bundle.js.LICENSE.txt +12 -0
  21. package/build/9.204571e881c92f8a964c.manager.bundle.js +1 -0
  22. package/build/9.a687f48f.iframe.bundle.js +3 -0
  23. package/build/9.a687f48f.iframe.bundle.js.LICENSE.txt +12 -0
  24. package/build/9.a687f48f.iframe.bundle.js.map +1 -0
  25. package/build/README.md +24 -10
  26. package/build/components/accordion/accordion.d.ts +0 -1
  27. package/build/components/button/button.d.ts +7 -2
  28. package/build/components/cardContainer/cardContainer.d.ts +8 -0
  29. package/build/components/cardMenu/cardMenu.d.ts +1 -1
  30. package/build/components/cardMenu/styled/menuListStyled.d.ts +3 -3
  31. package/build/components/cardMenu/styled/popperStyled.d.ts +1 -3
  32. package/build/components/chip/chipMultiselect/multiSelectChip.d.ts +1 -1
  33. package/build/components/common/imageComponent.d.ts +9 -1
  34. package/build/components/common/index.d.ts +1 -0
  35. package/build/components/common/type/ButtonVariant.d.ts +1 -1
  36. package/build/components/flag/availableFLags.d.ts +1 -1
  37. package/build/components/icon/index.d.ts +1 -0
  38. package/build/components/index.d.ts +41 -0
  39. package/build/components/labelFeature/labelFeature.d.ts +3 -2
  40. package/build/components/menu/menu.d.ts +1 -1
  41. package/build/components/mobileStepper/index.d.ts +1 -0
  42. package/build/components/mobileStepper/mobileStepper.d.ts +41 -0
  43. package/build/components/modal/index.d.ts +1 -0
  44. package/build/components/modal/modal.d.ts +3 -3
  45. package/build/components/modal/modalTitle.d.ts +6 -0
  46. package/build/components/radioButton/radioButton.d.ts +1 -1
  47. package/build/components/selectInput/formControlSelectStyled.d.ts +3 -3
  48. package/build/components/slider/containerStyled.d.ts +1 -1
  49. package/build/components/slider/slider.d.ts +1 -1
  50. package/build/components/snackbar/snackbar.d.ts +1 -1
  51. package/build/components/snackbar/snackbarMessage.d.ts +1 -1
  52. package/build/components/stepper/index.d.ts +1 -0
  53. package/build/components/stepper/stepper.d.ts +42 -0
  54. package/build/components/tab/tab.d.ts +1 -1
  55. package/build/components/tab/tabStyled.d.ts +6 -6
  56. package/build/components/table/index.d.ts +1 -0
  57. package/build/components/table/table.d.ts +28 -0
  58. package/build/components/table/tableStyled.d.ts +13 -0
  59. package/build/design/index.d.ts +1 -0
  60. package/build/design/skoda/components/theme.button.d.ts +4 -0
  61. package/build/design/skoda/components/theme.mobileStepper.d.ts +2 -0
  62. package/build/design/skoda/components/theme.pagination.d.ts +1 -0
  63. package/build/design/skoda/components/theme.stepper.d.ts +2 -0
  64. package/build/design/skoda/components/theme.table.d.ts +2 -0
  65. package/build/design/skoda/index.d.ts +11 -0
  66. package/build/design/skoda/theme.palette-new-ci.d.ts +66 -0
  67. package/build/design/skoda/theme.palette.d.ts +0 -14
  68. package/build/design/skoda/theme.typography.d.ts +14 -0
  69. package/build/favicon.ico +0 -0
  70. package/build/iframe.html +364 -0
  71. package/build/index.d.ts +4 -47
  72. package/build/index.es.js +354 -16
  73. package/build/index.es.js.map +1 -1
  74. package/build/index.html +61 -0
  75. package/build/index.js +354 -2
  76. package/build/index.js.map +1 -1
  77. package/build/main.3840901df90dd083b4ea.manager.bundle.js +1 -0
  78. package/build/main.e45520f7.iframe.bundle.js +3 -0
  79. package/build/main.e45520f7.iframe.bundle.js.LICENSE.txt +44 -0
  80. package/build/main.e45520f7.iframe.bundle.js.map +1 -0
  81. package/build/organisms/carousel/carousel.d.ts +1 -1
  82. package/build/organisms/common/cardOpacitylayer/cardOpacityTyping.d.ts +2 -2
  83. package/build/organisms/common/styled/cardStandardWrapperStyled.d.ts +4 -4
  84. package/build/organisms/index.d.ts +11 -0
  85. package/build/organisms/maps/hook/useMap.d.ts +1 -1
  86. package/build/organisms/maps/mapComponents/markerComponent.d.ts +2 -0
  87. package/build/organisms/maps/maps.d.ts +2 -0
  88. package/build/organisms/maps/utils/mapConfig.d.ts +10 -6
  89. package/build/organisms/maps/utils/mapIcons.d.ts +7 -7
  90. package/build/organisms/maps/utils/style.d.ts +10 -6
  91. package/build/organisms/textCta/textCta.d.ts +1 -1
  92. package/build/project.json +1 -0
  93. package/build/runtime~main.ead85a8c1e113e6795fd.manager.bundle.js +1 -0
  94. package/build/runtime~main.fa5c0c92.iframe.bundle.js +1 -0
  95. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 → build/static/media/SKODANext-Black.5dadff19.woff2} +0 -0
  96. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff → build/static/media/SKODANext-Black.e4a12021.woff} +0 -0
  97. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf → build/static/media/SKODANext-Black.eb4d5073.ttf} +0 -0
  98. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf → build/static/media/SKODANext-Bold.1fc363da.ttf} +0 -0
  99. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 → build/static/media/SKODANext-Bold.5f6753f2.woff2} +0 -0
  100. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff → build/static/media/SKODANext-Bold.bacaaa7e.woff} +0 -0
  101. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff → build/static/media/SKODANext-Light.05c1f271.woff} +0 -0
  102. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf → build/static/media/SKODANext-Light.28f48bb5.ttf} +0 -0
  103. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 → build/static/media/SKODANext-Light.f27110cd.woff2} +0 -0
  104. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 → build/static/media/SKODANext-Regular.d40ad0e0.woff2} +0 -0
  105. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff → build/static/media/SKODANext-Regular.e53284b5.woff} +0 -0
  106. package/{theme/skoda/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf → build/static/media/SKODANext-Regular.f2887f81.ttf} +0 -0
  107. package/build/static/media/SKODANextIcons-Filled.0e492d79.eot +0 -0
  108. package/build/static/media/SKODANextIcons-Filled.7317ebb2.woff +0 -0
  109. package/build/static/media/SKODANextIcons-Regular.3b094ecb.eot +0 -0
  110. package/build/static/media/SKODANextIcons-Regular.559f49af.woff +0 -0
  111. package/build/static/media/appStoreBadge.259ec290.svg +34 -0
  112. package/build/static/media/background.dbb870d5.png +0 -0
  113. package/build/static/media/carImage.055bf136.png +0 -0
  114. package/build/static/media/card-1.bec96667.png +0 -0
  115. package/build/static/media/card-10.dde832b5.png +0 -0
  116. package/build/static/media/card-11.c7f2cdba.png +0 -0
  117. package/build/static/media/card-12.84bc54c5.png +0 -0
  118. package/build/static/media/card-2.3f1df52e.png +0 -0
  119. package/build/static/media/card-3.59fa00a9.png +0 -0
  120. package/build/static/media/card-4.e6cac270.png +0 -0
  121. package/build/static/media/card-5.0583bfb0.png +0 -0
  122. package/build/static/media/card-6.aa115fc9.png +0 -0
  123. package/build/static/media/card-7.c2ea3f44.png +0 -0
  124. package/build/static/media/card-8.0dac5bed.png +0 -0
  125. package/build/static/media/card-9.9394bd2d.png +0 -0
  126. package/build/static/media/card.56079c63.png +0 -0
  127. package/build/static/media/defaultEnabledPin.15e223e5.svg +17 -0
  128. package/build/static/media/defaultHoverPin.ba85496f.svg +17 -0
  129. package/build/static/media/fallbackCarImage.164dad5c.png +0 -0
  130. package/build/static/media/lib-schema.c537fb5f.png +0 -0
  131. package/build/static/media/render-19.9abeffa5.png +0 -0
  132. package/build/static/media/result_location_pin_small.4286754f.svg +4 -0
  133. package/build/static/media/selectedEnabledPin.bd1d7890.svg +18 -0
  134. package/build/static/media/selectedHoverPin.a83c18f1.svg +18 -0
  135. package/build/static/media/selected_location_pin_small.5c681811.svg +6 -0
  136. package/build/static/media/skodaflow.93fe4ba0.svg +14 -0
  137. package/build/static/media/tile-1-fallback.d99932a6.png +0 -0
  138. package/build/static/media/tile-1-hover.53f80ebf.png +0 -0
  139. package/build/static/media/tile-1.a7da97b7.png +0 -0
  140. package/build/static/media/tile-2.fc057eeb.png +0 -0
  141. package/build/static/media/tile-5.b03b7f80.png +0 -0
  142. package/build/static/media/tile-6.47954eba.png +0 -0
  143. package/build/static/media/tile-7.5d2c5a2f.png +0 -0
  144. package/build/utils/enum.d.ts +10 -0
  145. package/build/utils/index.d.ts +2 -0
  146. package/build/utils/types.d.ts +5 -5
  147. package/build/utils/useClosure.d.ts +12 -0
  148. package/build/utils/utilities.d.ts +3 -1
  149. package/build/vendors~main.44d81468.iframe.bundle.js +129 -0
  150. package/build/vendors~main.44d81468.iframe.bundle.js.LICENSE.txt +151 -0
  151. package/build/vendors~main.44d81468.iframe.bundle.js.map +1 -0
  152. package/build/vendors~main.e852c6caf159717e72f7.manager.bundle.js +2 -0
  153. package/build/vendors~main.e852c6caf159717e72f7.manager.bundle.js.LICENSE.txt +113 -0
  154. package/package.json +87 -96
  155. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.ttf +0 -0
  156. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff +0 -0
  157. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Black.woff2 +0 -0
  158. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.ttf +0 -0
  159. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff +0 -0
  160. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Bold.woff2 +0 -0
  161. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.ttf +0 -0
  162. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff +0 -0
  163. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Light.woff2 +0 -0
  164. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.ttf +0 -0
  165. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff +0 -0
  166. package/theme/skoda/_/_/assets/@skodaflow/web-tokens/src/fonts/SKODANext-Regular.woff2 +0 -0
  167. package/theme/skoda/fonts.css +1 -1
  168. package/theme/skoda/globals.css +7104 -1
@@ -23,3 +23,13 @@ export declare enum Placement {
23
23
  TOP_START = "top-start",
24
24
  TOP = "top"
25
25
  }
26
+ export declare enum VariantType {
27
+ PRIMARY = "primary",
28
+ SECONDARY = "secondary",
29
+ TERTIARY = "tertiary",
30
+ NEUTRAL = "neutral"
31
+ }
32
+ export declare enum ColourSheme {
33
+ DARK_MODE = "dark",
34
+ LIGHT_MODE = "white"
35
+ }
@@ -0,0 +1,2 @@
1
+ export * from './enum';
2
+ export * from './useClosure';
@@ -1,5 +1,5 @@
1
- export declare type DarkLightOptions = 'dark' | 'light';
2
- export declare type ControlVariant = 'standard' | 'outline';
3
- export declare type ControlsType = 'arrow-right' | 'arrow-left' | 'play-right' | 'pause';
4
- export declare type ControllerSize = 'small' | 'medium';
5
- export declare type IconsStyle = 'regular' | 'filled';
1
+ export type DarkLightOptions = 'dark' | 'light';
2
+ export type ControlVariant = 'standard' | 'outline';
3
+ export type ControlsType = 'arrow-right' | 'arrow-left' | 'play-right' | 'pause';
4
+ export type ControllerSize = 'small' | 'medium';
5
+ export type IconsStyle = 'regular' | 'filled';
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * @description This is custom hook that should simplify work with `isOpen` state and `toggle`, `open` and `close` actions. It can be used with components like Modals or Drawer. Using it will reduces boilerplate code needed for those operations.
4
+ * @param {boolean} initiallyOpen - default isOpen value
5
+ */
6
+ export declare const useClosure: (initiallyOpen?: boolean) => {
7
+ isOpen: boolean;
8
+ setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
+ onToggle: () => void;
10
+ onOpen: () => void;
11
+ onClose: () => void;
12
+ };
@@ -7,5 +7,7 @@
7
7
  */
8
8
  declare function handleMaxCharsInHTML(text: string, maxChar: number): JSX.Element | string;
9
9
  declare function handleMaxChars(text: string, maxChar: number): string;
10
- export { handleMaxChars, handleMaxCharsInHTML };
10
+ declare function opacityLayerSwitchLightStatement(property: any, returnProps: any): string;
11
+ declare function opacityLayerSwitchDarkStatement(property: any, returnProps: any): string;
12
+ export { handleMaxChars, handleMaxCharsInHTML, opacityLayerSwitchLightStatement, opacityLayerSwitchDarkStatement };
11
13
  export declare const ternaryCondition: (props: any, value: any, trueValue: any, falseValue: any) => any;