@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.
- package/lib/.DS_Store +0 -0
- package/lib/components/.DS_Store +0 -0
- package/lib/components/fields/SelectDropdown.d.ts.map +1 -1
- package/lib/components/sections/Accordion.d.ts +337 -4
- package/lib/components/sections/Accordion.d.ts.map +1 -1
- package/lib/components/sections/Article.d.ts +348 -12
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CallToAction.d.ts +371 -1
- package/lib/components/sections/CallToAction.d.ts.map +1 -1
- package/lib/components/sections/ComparisonSlider.d.ts +348 -12
- package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
- package/lib/components/sections/CrossPromotion.d.ts +348 -12
- package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
- package/lib/components/sections/DynamicForm.d.ts +361 -17
- package/lib/components/sections/DynamicForm.d.ts.map +1 -1
- package/lib/components/sections/FactGrid.d.ts +337 -7
- package/lib/components/sections/FactGrid.d.ts.map +1 -1
- package/lib/components/sections/FactList.d.ts +343 -8
- package/lib/components/sections/FactList.d.ts.map +1 -1
- package/lib/components/sections/FeatureList.d.ts +334 -5
- package/lib/components/sections/FeatureList.d.ts.map +1 -1
- package/lib/components/sections/Footer.d.ts +371 -22
- package/lib/components/sections/Footer.d.ts.map +1 -1
- package/lib/components/sections/Form.d.ts +366 -13
- package/lib/components/sections/Form.d.ts.map +1 -1
- package/lib/components/sections/Gallery.d.ts +335 -6
- package/lib/components/sections/Gallery.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts +346 -9
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +353 -14
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Map.d.ts +375 -20
- package/lib/components/sections/Map.d.ts.map +1 -1
- package/lib/components/sections/NumberList.d.ts +327 -2
- package/lib/components/sections/NumberList.d.ts.map +1 -1
- package/lib/components/sections/ParallaxBackground.d.ts +9 -0
- package/lib/components/sections/ParallaxBackground.d.ts.map +1 -0
- package/lib/components/sections/Poster.d.ts +346 -11
- package/lib/components/sections/Poster.d.ts.map +1 -1
- package/lib/components/sections/Quicknav.d.ts +338 -5
- package/lib/components/sections/Quicknav.d.ts.map +1 -1
- package/lib/components/sections/SocialNav.d.ts +335 -4
- package/lib/components/sections/SocialNav.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts +351 -0
- package/lib/components/sections/SocialWall.d.ts.map +1 -0
- package/lib/components/sections/Table.d.ts +331 -3
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts +357 -17
- package/lib/components/sections/Teaser.d.ts.map +1 -1
- package/lib/components/sections/TeaserWide.d.ts +357 -17
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/components/sections/Timeline.d.ts +339 -6
- package/lib/components/sections/Timeline.d.ts.map +1 -1
- package/lib/components/sections/Video.d.ts +334 -4
- package/lib/components/sections/Video.d.ts.map +1 -1
- package/lib/components/sections/carousel/FeatureCarousel.d.ts +333 -5
- package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/ImageCarousel.d.ts +333 -5
- package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts +333 -5
- package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts +333 -5
- package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
- package/lib/components/sections/header/Header.d.ts +365 -19
- package/lib/components/sections/header/Header.d.ts.map +1 -1
- package/lib/components/sections/navigation/Navigation.d.ts +2 -0
- package/lib/components/sections/navigation/Navigation.d.ts.map +1 -1
- package/lib/components/sections/news/NewsAuthorCard.d.ts +340 -7
- package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/lib/components/sections/news/NewsFooter.d.ts +335 -5
- package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/lib/components/sections/news/NewsImages.d.ts +338 -7
- package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
- package/lib/components/sections/news/NewsIntro.d.ts +347 -11
- package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/lib/components/sections/news/NewsList.d.ts +336 -6
- package/lib/components/sections/news/NewsList.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +341 -8
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/news/NewsTable.d.ts +335 -5
- package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
- package/lib/components/sections/news/NewsText.d.ts +335 -5
- package/lib/components/sections/news/NewsText.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +340 -8
- package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +2 -2
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/LibThemeProvider.d.ts +12 -2
- package/lib/utils/LibThemeProvider.d.ts.map +1 -1
- 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
|
|
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,
|
|
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.
|
|
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.
|
|
44
|
-
"@storybook/react": "
|
|
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
|
}
|