@blateral/b.kit 2.0.0-beta.0 → 2.0.0-beta.1
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/components/base/icons/AngleRight.d.ts +7 -0
- package/lib/components/base/icons/AngleRight.d.ts.map +1 -0
- package/lib/components/base/icons/ExclamationMark.d.ts +7 -0
- package/lib/components/base/icons/ExclamationMark.d.ts.map +1 -0
- package/lib/components/base/icons/Play.d.ts.map +1 -1
- package/lib/components/blocks/Alert.d.ts +10 -0
- package/lib/components/blocks/Alert.d.ts.map +1 -0
- package/lib/components/blocks/IntroBlock.d.ts +6 -0
- package/lib/components/blocks/IntroBlock.d.ts.map +1 -1
- package/lib/components/blocks/NewsCard.d.ts +21 -4
- package/lib/components/blocks/NewsCard.d.ts.map +1 -1
- package/lib/components/blocks/Tag.d.ts +3 -0
- package/lib/components/blocks/Tag.d.ts.map +1 -1
- package/lib/components/blocks/Title.d.ts +11 -0
- package/lib/components/blocks/Title.d.ts.map +1 -1
- package/lib/components/sections/Accordion.d.ts +29 -0
- package/lib/components/sections/Accordion.d.ts.map +1 -1
- package/lib/components/sections/AlertList.d.ts +8 -0
- package/lib/components/sections/AlertList.d.ts.map +1 -0
- package/lib/components/sections/Article.d.ts +29 -0
- package/lib/components/sections/Article.d.ts.map +1 -1
- package/lib/components/sections/CallToAction.d.ts +29 -0
- package/lib/components/sections/CallToAction.d.ts.map +1 -1
- package/lib/components/sections/ComparisonSlider.d.ts +29 -0
- package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
- package/lib/components/sections/CrossPromotion.d.ts +29 -0
- package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
- package/lib/components/sections/DynamicForm.d.ts +29 -0
- package/lib/components/sections/DynamicForm.d.ts.map +1 -1
- package/lib/components/sections/FactGrid.d.ts +29 -0
- package/lib/components/sections/FactGrid.d.ts.map +1 -1
- package/lib/components/sections/FactList.d.ts +29 -0
- package/lib/components/sections/FactList.d.ts.map +1 -1
- package/lib/components/sections/FeatureList.d.ts +29 -0
- package/lib/components/sections/FeatureList.d.ts.map +1 -1
- package/lib/components/sections/Footer.d.ts +29 -0
- package/lib/components/sections/Footer.d.ts.map +1 -1
- package/lib/components/sections/Form.d.ts +29 -0
- package/lib/components/sections/Form.d.ts.map +1 -1
- package/lib/components/sections/Gallery.d.ts +29 -0
- package/lib/components/sections/Gallery.d.ts.map +1 -1
- package/lib/components/sections/IconList.d.ts +29 -0
- package/lib/components/sections/IconList.d.ts.map +1 -1
- package/lib/components/sections/Intro.d.ts +29 -0
- package/lib/components/sections/Intro.d.ts.map +1 -1
- package/lib/components/sections/Map.d.ts +29 -0
- package/lib/components/sections/Map.d.ts.map +1 -1
- package/lib/components/sections/NumberList.d.ts +29 -0
- package/lib/components/sections/NumberList.d.ts.map +1 -1
- package/lib/components/sections/Poster.d.ts +51 -4
- package/lib/components/sections/Poster.d.ts.map +1 -1
- package/lib/components/sections/PriceList.d.ts +37 -2
- package/lib/components/sections/PriceList.d.ts.map +1 -1
- package/lib/components/sections/PriceTable.d.ts +29 -0
- package/lib/components/sections/PriceTable.d.ts.map +1 -1
- package/lib/components/sections/Quicknav.d.ts +29 -0
- package/lib/components/sections/Quicknav.d.ts.map +1 -1
- package/lib/components/sections/Quote.d.ts +29 -0
- package/lib/components/sections/Quote.d.ts.map +1 -1
- package/lib/components/sections/SocialNav.d.ts +29 -0
- package/lib/components/sections/SocialNav.d.ts.map +1 -1
- package/lib/components/sections/SocialWall.d.ts +29 -0
- package/lib/components/sections/SocialWall.d.ts.map +1 -1
- package/lib/components/sections/Table.d.ts +29 -0
- package/lib/components/sections/Table.d.ts.map +1 -1
- package/lib/components/sections/Teaser.d.ts +29 -0
- package/lib/components/sections/Teaser.d.ts.map +1 -1
- package/lib/components/sections/TeaserWide.d.ts +29 -0
- package/lib/components/sections/TeaserWide.d.ts.map +1 -1
- package/lib/components/sections/Timeline.d.ts +29 -0
- package/lib/components/sections/Timeline.d.ts.map +1 -1
- package/lib/components/sections/Video.d.ts +31 -2
- package/lib/components/sections/Video.d.ts.map +1 -1
- package/lib/components/sections/carousel/FeatureCarousel.d.ts +29 -0
- package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/ImageCarousel.d.ts +29 -0
- package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/PromotionCarousel.d.ts +29 -0
- package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
- package/lib/components/sections/carousel/VideoCarousel.d.ts +29 -0
- package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
- package/lib/components/sections/header/Header.d.ts +29 -0
- package/lib/components/sections/header/Header.d.ts.map +1 -1
- package/lib/components/sections/navigation/remastered/NavBar.d.ts +6 -1
- package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +1 -1
- package/lib/components/sections/navigation/remastered/Navigation.d.ts +1 -0
- package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +1 -1
- package/lib/components/sections/news/NewsAuthorCard.d.ts +29 -0
- package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
- package/lib/components/sections/news/NewsFooter.d.ts +29 -0
- package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
- package/lib/components/sections/news/NewsImages.d.ts +29 -0
- package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
- package/lib/components/sections/news/NewsIntro.d.ts +29 -0
- package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
- package/lib/components/sections/news/NewsList.d.ts +31 -2
- package/lib/components/sections/news/NewsList.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +67 -8
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/news/NewsTable.d.ts +29 -0
- package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
- package/lib/components/sections/news/NewsText.d.ts +29 -0
- package/lib/components/sections/news/NewsText.d.ts.map +1 -1
- package/lib/components/sections/news/NewsVideo.d.ts +29 -0
- package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
- package/lib/components/typography/Copy.d.ts +1 -1
- package/lib/components/typography/Copy.d.ts.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/fontLoading.d.ts +14 -0
- package/lib/utils/fontLoading.d.ts.map +1 -0
- package/lib/utils/styles.d.ts +25 -5
- package/lib/utils/styles.d.ts.map +1 -1
- package/lib/utils/useMediaQuery.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface FontFallback {
|
|
3
|
+
name: string;
|
|
4
|
+
altFont: string;
|
|
5
|
+
sizeAdjust: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Font {
|
|
8
|
+
rootPath: string;
|
|
9
|
+
sourcePath: string;
|
|
10
|
+
fallbacks?: FontFallback[];
|
|
11
|
+
}
|
|
12
|
+
export declare const importFonts: (fonts: Font[]) => JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=fontLoading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontLoading.d.ts","sourceRoot":"","sources":["../../src/utils/fontLoading.tsx"],"names":[],"mappings":";AAEA,UAAU,YAAY;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,IAAI;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,UAAW,IAAI,EAAE,gBAsDxC,CAAC"}
|
package/lib/utils/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
-
export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge'
|
|
2
|
+
export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge';
|
|
3
3
|
export declare const mq: {
|
|
4
4
|
[key in Exclude<MediaQueryType, 'small'>]: string;
|
|
5
5
|
};
|
|
@@ -23,6 +23,8 @@ export declare const styleTextColor: (fallbackColor?: string | undefined, gradie
|
|
|
23
23
|
interface NewColorOptions {
|
|
24
24
|
default: string;
|
|
25
25
|
inverted: string;
|
|
26
|
+
hover: string;
|
|
27
|
+
invertedHover: string;
|
|
26
28
|
}
|
|
27
29
|
export declare type NewColorOptionsType = keyof NewColorOptions;
|
|
28
30
|
export interface NewColors {
|
|
@@ -108,18 +110,22 @@ export declare type FontType = keyof Fonts;
|
|
|
108
110
|
*/
|
|
109
111
|
export declare type FontBase = FontProps;
|
|
110
112
|
/***** Global Settings *****/
|
|
113
|
+
export declare type NavBarHeights = {
|
|
114
|
+
small: number;
|
|
115
|
+
large: number;
|
|
116
|
+
};
|
|
111
117
|
export interface GlobalSettings {
|
|
112
118
|
sections: {
|
|
113
119
|
/** Paddings and Margins for seperating each section */
|
|
114
120
|
seperation: {
|
|
115
121
|
forcePadding: boolean;
|
|
116
122
|
padding: {
|
|
117
|
-
default: [number, number];
|
|
118
|
-
stackable: [number, number];
|
|
123
|
+
default: [number, number?];
|
|
124
|
+
stackable: [number, number?];
|
|
119
125
|
};
|
|
120
126
|
margin: {
|
|
121
|
-
default: [number, number];
|
|
122
|
-
stackable: [number, number];
|
|
127
|
+
default: [number, number?];
|
|
128
|
+
stackable: [number, number?];
|
|
123
129
|
};
|
|
124
130
|
};
|
|
125
131
|
/** Radius of image and card edges */
|
|
@@ -139,6 +145,20 @@ export interface GlobalSettings {
|
|
|
139
145
|
datepickerLocaleKey: 'de' | 'en';
|
|
140
146
|
datepickerDateFormat: string;
|
|
141
147
|
};
|
|
148
|
+
navigation: {
|
|
149
|
+
/** Settings of top navigation bar */
|
|
150
|
+
navBar: {
|
|
151
|
+
isTopNavVisible: boolean;
|
|
152
|
+
topNavHeight: {
|
|
153
|
+
mobile: NavBarHeights;
|
|
154
|
+
desktop: NavBarHeights;
|
|
155
|
+
};
|
|
156
|
+
height: {
|
|
157
|
+
mobile: NavBarHeights;
|
|
158
|
+
desktop: NavBarHeights;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
142
162
|
}
|
|
143
163
|
/***** Theme Helper *****/
|
|
144
164
|
export declare const baseTheme: DefaultTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,oBAAY,cAAc,GACpB,OAAO,GACP,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,SAAS,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/utils/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,oBAAY,cAAc,GACpB,OAAO,GACP,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,SAAS,CAAC;AAEhB,eAAO,MAAM,EAAE,EAAE;KAAG,GAAG,IAAI,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,MAAM;CAMnE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,cAAc,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KAAG,MACiD,CAAC;AAE3G,eAAO,MAAM,SAAS,UAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,YAAY,MAAM,gEAmBnE,CA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OAAO,EAAE,aAAa,CAAC;aAC1B,CAAC;SACL,CAAC;KACL,CAAC;CACL;AA8DD,0BAA0B;AAC1B,eAAO,MAAM,SAAS,EAAE,YAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ,qEAEpB,CAAC;AAEF,eAAO,MAAM,SAAS,8CAErB,CAAC;AAEF,eAAO,MAAM,QAAQ,6CAIpB,CAAC;AAEF,eAAO,MAAM,UAAU,sDAEtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useMediaQuery.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAM,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,SAAS,SACqD,CAAC;AAa5E,eAAO,MAAM,aAAa,aAAc,cAAc,EAAE,KAAG,
|
|
1
|
+
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useMediaQuery.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAM,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,SAAS,SACqD,CAAC;AAa5E,eAAO,MAAM,aAAa,aAAc,cAAc,EAAE,KAAG,cAc1D,CAAC;AAEF,eAAO,MAAM,aAAa,oEAoBzB,CAAC"}
|