@blateral/b.kit 1.6.1 → 1.7.2

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 (94) hide show
  1. package/lib/.DS_Store +0 -0
  2. package/lib/components/.DS_Store +0 -0
  3. package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
  4. package/lib/components/sections/Accordion.d.ts +337 -4
  5. package/lib/components/sections/Accordion.d.ts.map +1 -1
  6. package/lib/components/sections/Article.d.ts +348 -12
  7. package/lib/components/sections/Article.d.ts.map +1 -1
  8. package/lib/components/sections/CallToAction.d.ts +371 -1
  9. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  10. package/lib/components/sections/ComparisonSlider.d.ts +348 -12
  11. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  12. package/lib/components/sections/CrossPromotion.d.ts +348 -12
  13. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  14. package/lib/components/sections/DynamicForm.d.ts +361 -17
  15. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  16. package/lib/components/sections/FactGrid.d.ts +337 -7
  17. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  18. package/lib/components/sections/FactList.d.ts +343 -8
  19. package/lib/components/sections/FactList.d.ts.map +1 -1
  20. package/lib/components/sections/FeatureList.d.ts +334 -5
  21. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  22. package/lib/components/sections/Footer.d.ts +371 -22
  23. package/lib/components/sections/Footer.d.ts.map +1 -1
  24. package/lib/components/sections/Form.d.ts +366 -13
  25. package/lib/components/sections/Form.d.ts.map +1 -1
  26. package/lib/components/sections/Gallery.d.ts +335 -6
  27. package/lib/components/sections/Gallery.d.ts.map +1 -1
  28. package/lib/components/sections/IconList.d.ts +346 -9
  29. package/lib/components/sections/IconList.d.ts.map +1 -1
  30. package/lib/components/sections/Intro.d.ts +353 -14
  31. package/lib/components/sections/Intro.d.ts.map +1 -1
  32. package/lib/components/sections/Map.d.ts +375 -20
  33. package/lib/components/sections/Map.d.ts.map +1 -1
  34. package/lib/components/sections/NumberList.d.ts +327 -2
  35. package/lib/components/sections/NumberList.d.ts.map +1 -1
  36. package/lib/components/sections/ParallaxBackground.d.ts +9 -0
  37. package/lib/components/sections/ParallaxBackground.d.ts.map +1 -0
  38. package/lib/components/sections/Poster.d.ts +346 -11
  39. package/lib/components/sections/Poster.d.ts.map +1 -1
  40. package/lib/components/sections/Quicknav.d.ts +338 -5
  41. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  42. package/lib/components/sections/SocialNav.d.ts +335 -4
  43. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  44. package/lib/components/sections/SocialWall.d.ts +351 -0
  45. package/lib/components/sections/SocialWall.d.ts.map +1 -0
  46. package/lib/components/sections/Table.d.ts +331 -3
  47. package/lib/components/sections/Table.d.ts.map +1 -1
  48. package/lib/components/sections/Teaser.d.ts +357 -17
  49. package/lib/components/sections/Teaser.d.ts.map +1 -1
  50. package/lib/components/sections/TeaserWide.d.ts +357 -17
  51. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  52. package/lib/components/sections/Timeline.d.ts +339 -6
  53. package/lib/components/sections/Timeline.d.ts.map +1 -1
  54. package/lib/components/sections/Video.d.ts +334 -4
  55. package/lib/components/sections/Video.d.ts.map +1 -1
  56. package/lib/components/sections/carousel/FeatureCarousel.d.ts +333 -5
  57. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  58. package/lib/components/sections/carousel/ImageCarousel.d.ts +333 -5
  59. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  60. package/lib/components/sections/carousel/PromotionCarousel.d.ts +333 -5
  61. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  62. package/lib/components/sections/carousel/VideoCarousel.d.ts +333 -5
  63. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  64. package/lib/components/sections/header/Header.d.ts +365 -19
  65. package/lib/components/sections/header/Header.d.ts.map +1 -1
  66. package/lib/components/sections/navigation/Navigation.d.ts +2 -0
  67. package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
  68. package/lib/components/sections/news/NewsAuthorCard.d.ts +340 -7
  69. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  70. package/lib/components/sections/news/NewsFooter.d.ts +335 -5
  71. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  72. package/lib/components/sections/news/NewsImages.d.ts +338 -7
  73. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  74. package/lib/components/sections/news/NewsIntro.d.ts +347 -11
  75. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  76. package/lib/components/sections/news/NewsList.d.ts +336 -6
  77. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  78. package/lib/components/sections/news/NewsOverview.d.ts +341 -8
  79. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  80. package/lib/components/sections/news/NewsTable.d.ts +335 -5
  81. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  82. package/lib/components/sections/news/NewsText.d.ts +335 -5
  83. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  84. package/lib/components/sections/news/NewsVideo.d.ts +340 -8
  85. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  86. package/lib/index.d.ts +3 -1
  87. package/lib/index.d.ts.map +1 -1
  88. package/lib/index.es.js +2 -2
  89. package/lib/index.es.js.map +1 -1
  90. package/lib/index.js +1 -1
  91. package/lib/index.js.map +1 -1
  92. package/lib/utils/LibThemeProvider.d.ts +12 -2
  93. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  94. package/package.json +7 -5
@@ -1,11 +1,21 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  import { DefaultTheme } from 'styled-components';
3
3
  declare type RecursivePartial<T> = {
4
4
  [P in keyof T]?: RecursivePartial<T[P]>;
5
5
  };
6
6
  export declare type Theme = RecursivePartial<DefaultTheme>;
7
+ /**
8
+ * Combining Theme objects
9
+ * @param target Result theme object
10
+ * @param source Theme object that should be assigned to target
11
+ */
12
+ export declare const assignTo: <T extends DefaultTheme | RecursivePartial<DefaultTheme>>(target: T, source?: RecursivePartial<DefaultTheme> | undefined) => T;
7
13
  export declare const LibThemeProvider: FC<{
8
- theme: Theme;
14
+ theme?: Theme;
15
+ }>;
16
+ export declare const modifyTheme: (activeTheme?: DefaultTheme | undefined, modifications?: RecursivePartial<DefaultTheme> | undefined) => DefaultTheme;
17
+ export declare const withLibTheme: <P extends Record<string, unknown>>(Component: React.ComponentType<P>) => React.FC<P & {
18
+ theme?: RecursivePartial<DefaultTheme> | undefined;
9
19
  }>;
10
20
  export {};
11
21
  //# sourceMappingURL=LibThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAiB,MAAM,mBAAmB,CAAC;AAIhE,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,KAAK,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AA2DnD,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;CAChB,CAIA,CAAC"}
1
+ {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAI9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,KAAK,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCnD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,YAAY;;EAexB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blateral/b.kit",
3
- "version": "1.6.1",
3
+ "version": "1.7.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -40,8 +40,8 @@
40
40
  "@rollup/plugin-babel": "^5.3.0",
41
41
  "@rollup/plugin-commonjs": "^17.0.0",
42
42
  "@rollup/plugin-node-resolve": "^11.0.0",
43
- "@storybook/addon-essentials": "^6.3.8",
44
- "@storybook/react": "^6.3.8",
43
+ "@storybook/addon-essentials": "^6.3.9",
44
+ "@storybook/react": "6.3.9",
45
45
  "@storybook/storybook-deployer": "^2.8.7",
46
46
  "@storybook/theming": "^6.3.8",
47
47
  "@types/react": "^17.0.0",
@@ -73,7 +73,8 @@
73
73
  "slick-carousel": "1.8.1",
74
74
  "styled-components": "^5.2.1",
75
75
  "ttypescript": "^1.5.12",
76
- "typescript": "^4.1.2"
76
+ "typescript": "^4.1.2",
77
+ "react-scroll-parallax": "2.4.0"
77
78
  },
78
79
  "peerDependencies": {
79
80
  "@types/react-datepicker": "^3.1.8",
@@ -85,6 +86,7 @@
85
86
  "react-dom": "^17.0.1",
86
87
  "react-slick": "0.27.1",
87
88
  "slick-carousel": "1.8.1",
88
- "styled-components": "^5.2.1"
89
+ "styled-components": "^5.2.1",
90
+ "react-scroll-parallax": "2.4.0"
89
91
  }
90
92
  }