@blateral/b.kit 2.0.0-beta.2 → 2.0.0-beta.2.3

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 (162) hide show
  1. package/lib/components/base/Section.d.ts +2 -0
  2. package/lib/components/base/Section.d.ts.map +1 -1
  3. package/lib/components/base/icons/AngleRight.d.ts.map +1 -1
  4. package/lib/components/base/icons/ArrowDown.d.ts +7 -0
  5. package/lib/components/base/icons/ArrowDown.d.ts.map +1 -0
  6. package/lib/components/blocks/Actions.d.ts +2 -0
  7. package/lib/components/blocks/Actions.d.ts.map +1 -1
  8. package/lib/components/blocks/Alert.d.ts +3 -6
  9. package/lib/components/blocks/Alert.d.ts.map +1 -1
  10. package/lib/components/blocks/CookieConsent.d.ts +1 -0
  11. package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
  12. package/lib/components/blocks/EventBlock.d.ts +34 -0
  13. package/lib/components/blocks/EventBlock.d.ts.map +1 -0
  14. package/lib/components/blocks/LanguageSwitcher.d.ts +13 -0
  15. package/lib/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  16. package/lib/components/blocks/NavBlock.d.ts.map +1 -1
  17. package/lib/components/blocks/NewsCard.d.ts +1 -3
  18. package/lib/components/blocks/NewsCard.d.ts.map +1 -1
  19. package/lib/components/buttons/Pointer.d.ts.map +1 -1
  20. package/lib/components/sections/Accordion.d.ts +5 -356
  21. package/lib/components/sections/Accordion.d.ts.map +1 -1
  22. package/lib/components/sections/AlertList.d.ts +5 -364
  23. package/lib/components/sections/AlertList.d.ts.map +1 -1
  24. package/lib/components/sections/Article.d.ts +5 -356
  25. package/lib/components/sections/Article.d.ts.map +1 -1
  26. package/lib/components/sections/CallToAction.d.ts +7 -356
  27. package/lib/components/sections/CallToAction.d.ts.map +1 -1
  28. package/lib/components/sections/CardList.d.ts +45 -0
  29. package/lib/components/sections/CardList.d.ts.map +1 -0
  30. package/lib/components/sections/ComparisonSlider.d.ts +5 -356
  31. package/lib/components/sections/ComparisonSlider.d.ts.map +1 -1
  32. package/lib/components/sections/CrossPromotion.d.ts +5 -356
  33. package/lib/components/sections/CrossPromotion.d.ts.map +1 -1
  34. package/lib/components/sections/DynamicForm.d.ts +5 -356
  35. package/lib/components/sections/DynamicForm.d.ts.map +1 -1
  36. package/lib/components/sections/EventList.d.ts +23 -0
  37. package/lib/components/sections/EventList.d.ts.map +1 -0
  38. package/lib/components/sections/FactGrid.d.ts +5 -356
  39. package/lib/components/sections/FactGrid.d.ts.map +1 -1
  40. package/lib/components/sections/FactList.d.ts +5 -356
  41. package/lib/components/sections/FactList.d.ts.map +1 -1
  42. package/lib/components/sections/FeatureList.d.ts +5 -356
  43. package/lib/components/sections/FeatureList.d.ts.map +1 -1
  44. package/lib/components/sections/Footer.d.ts +1 -356
  45. package/lib/components/sections/Footer.d.ts.map +1 -1
  46. package/lib/components/sections/Form.d.ts +1 -356
  47. package/lib/components/sections/Form.d.ts.map +1 -1
  48. package/lib/components/sections/Gallery.d.ts +5 -356
  49. package/lib/components/sections/Gallery.d.ts.map +1 -1
  50. package/lib/components/sections/IconList.d.ts +5 -356
  51. package/lib/components/sections/IconList.d.ts.map +1 -1
  52. package/lib/components/sections/IndexList.d.ts +34 -0
  53. package/lib/components/sections/IndexList.d.ts.map +1 -0
  54. package/lib/components/sections/Intro.d.ts +5 -356
  55. package/lib/components/sections/Intro.d.ts.map +1 -1
  56. package/lib/components/sections/Map.d.ts +5 -356
  57. package/lib/components/sections/Map.d.ts.map +1 -1
  58. package/lib/components/sections/NavList.d.ts +5 -356
  59. package/lib/components/sections/NavList.d.ts.map +1 -1
  60. package/lib/components/sections/NumberList.d.ts +22 -364
  61. package/lib/components/sections/NumberList.d.ts.map +1 -1
  62. package/lib/components/sections/Poster.d.ts +5 -356
  63. package/lib/components/sections/Poster.d.ts.map +1 -1
  64. package/lib/components/sections/PriceList.d.ts +5 -356
  65. package/lib/components/sections/PriceList.d.ts.map +1 -1
  66. package/lib/components/sections/PriceTable.d.ts +5 -356
  67. package/lib/components/sections/PriceTable.d.ts.map +1 -1
  68. package/lib/components/sections/Quicknav.d.ts +5 -356
  69. package/lib/components/sections/Quicknav.d.ts.map +1 -1
  70. package/lib/components/sections/Quote.d.ts +5 -356
  71. package/lib/components/sections/Quote.d.ts.map +1 -1
  72. package/lib/components/sections/SimpleImage.d.ts +2 -0
  73. package/lib/components/sections/SimpleImage.d.ts.map +1 -1
  74. package/lib/components/sections/SocialNav.d.ts +5 -356
  75. package/lib/components/sections/SocialNav.d.ts.map +1 -1
  76. package/lib/components/sections/SocialWall.d.ts +5 -356
  77. package/lib/components/sections/SocialWall.d.ts.map +1 -1
  78. package/lib/components/sections/Table.d.ts +5 -356
  79. package/lib/components/sections/Table.d.ts.map +1 -1
  80. package/lib/components/sections/Teaser.d.ts +5 -356
  81. package/lib/components/sections/Teaser.d.ts.map +1 -1
  82. package/lib/components/sections/TeaserWide.d.ts +5 -356
  83. package/lib/components/sections/TeaserWide.d.ts.map +1 -1
  84. package/lib/components/sections/Timeline.d.ts +5 -356
  85. package/lib/components/sections/Timeline.d.ts.map +1 -1
  86. package/lib/components/sections/Video.d.ts +5 -356
  87. package/lib/components/sections/Video.d.ts.map +1 -1
  88. package/lib/components/sections/carousel/FeatureCarousel.d.ts +3 -356
  89. package/lib/components/sections/carousel/FeatureCarousel.d.ts.map +1 -1
  90. package/lib/components/sections/carousel/ImageCarousel.d.ts +3 -356
  91. package/lib/components/sections/carousel/ImageCarousel.d.ts.map +1 -1
  92. package/lib/components/sections/carousel/PromotionCarousel.d.ts +3 -356
  93. package/lib/components/sections/carousel/PromotionCarousel.d.ts.map +1 -1
  94. package/lib/components/sections/carousel/VideoCarousel.d.ts +3 -356
  95. package/lib/components/sections/carousel/VideoCarousel.d.ts.map +1 -1
  96. package/lib/components/sections/header/Header.d.ts +1 -356
  97. package/lib/components/sections/header/Header.d.ts.map +1 -1
  98. package/lib/components/sections/navigation/remastered/NavBar.d.ts +26 -5
  99. package/lib/components/sections/navigation/remastered/NavBar.d.ts.map +1 -1
  100. package/lib/components/sections/navigation/remastered/Navigation.d.ts +39 -7
  101. package/lib/components/sections/navigation/remastered/Navigation.d.ts.map +1 -1
  102. package/lib/components/sections/navigation/remastered/menu/Menu.d.ts +39 -0
  103. package/lib/components/sections/navigation/remastered/menu/Menu.d.ts.map +1 -0
  104. package/lib/components/sections/navigation/remastered/menu/variations/MenuFlyout.d.ts +8 -0
  105. package/lib/components/sections/navigation/remastered/menu/variations/MenuFlyout.d.ts.map +1 -0
  106. package/lib/components/sections/navigation/remastered/menu/variations/MenuLarge.d.ts +9 -0
  107. package/lib/components/sections/navigation/remastered/menu/variations/MenuLarge.d.ts.map +1 -0
  108. package/lib/components/sections/navigation/remastered/partials/NavBarBottom.d.ts +9 -0
  109. package/lib/components/sections/navigation/remastered/partials/NavBarBottom.d.ts.map +1 -0
  110. package/lib/components/sections/navigation/remastered/partials/NavBarMain.d.ts +35 -0
  111. package/lib/components/sections/navigation/remastered/partials/NavBarMain.d.ts.map +1 -0
  112. package/lib/components/sections/navigation/remastered/partials/NavBarTop.d.ts +11 -0
  113. package/lib/components/sections/navigation/remastered/partials/NavBarTop.d.ts.map +1 -0
  114. package/lib/components/sections/navigation/remastered/skeletons/BarBreadCrumbs.d.ts +13 -0
  115. package/lib/components/sections/navigation/remastered/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  116. package/lib/components/sections/navigation/remastered/skeletons/BarColumn.d.ts +7 -0
  117. package/lib/components/sections/navigation/remastered/skeletons/BarColumn.d.ts.map +1 -0
  118. package/lib/components/sections/navigation/remastered/skeletons/BarLogo.d.ts +14 -0
  119. package/lib/components/sections/navigation/remastered/skeletons/BarLogo.d.ts.map +1 -0
  120. package/lib/components/sections/navigation/remastered/skeletons/BarMenuToggle.d.ts +9 -0
  121. package/lib/components/sections/navigation/remastered/skeletons/BarMenuToggle.d.ts.map +1 -0
  122. package/lib/components/sections/navigation/remastered/skeletons/BarNavList.d.ts +14 -0
  123. package/lib/components/sections/navigation/remastered/skeletons/BarNavList.d.ts.map +1 -0
  124. package/lib/components/sections/navigation/remastered/skeletons/Skeletons.d.ts +35 -0
  125. package/lib/components/sections/navigation/remastered/skeletons/Skeletons.d.ts.map +1 -0
  126. package/lib/components/sections/news/NewsAuthorCard.d.ts +1 -356
  127. package/lib/components/sections/news/NewsAuthorCard.d.ts.map +1 -1
  128. package/lib/components/sections/news/NewsFooter.d.ts +1 -356
  129. package/lib/components/sections/news/NewsFooter.d.ts.map +1 -1
  130. package/lib/components/sections/news/NewsImages.d.ts +1 -356
  131. package/lib/components/sections/news/NewsImages.d.ts.map +1 -1
  132. package/lib/components/sections/news/NewsIntro.d.ts +1 -356
  133. package/lib/components/sections/news/NewsIntro.d.ts.map +1 -1
  134. package/lib/components/sections/news/NewsList.d.ts +5 -356
  135. package/lib/components/sections/news/NewsList.d.ts.map +1 -1
  136. package/lib/components/sections/news/NewsOverview.d.ts +5 -356
  137. package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
  138. package/lib/components/sections/news/NewsTable.d.ts +1 -356
  139. package/lib/components/sections/news/NewsTable.d.ts.map +1 -1
  140. package/lib/components/sections/news/NewsText.d.ts +1 -356
  141. package/lib/components/sections/news/NewsText.d.ts.map +1 -1
  142. package/lib/components/sections/news/NewsVideo.d.ts +1 -356
  143. package/lib/components/sections/news/NewsVideo.d.ts.map +1 -1
  144. package/lib/components/typography/Copy.d.ts.map +1 -1
  145. package/lib/components/typography/Heading.d.ts.map +1 -1
  146. package/lib/components/typography/Link.d.ts +3 -0
  147. package/lib/components/typography/Link.d.ts.map +1 -1
  148. package/lib/index.d.ts +34 -27
  149. package/lib/index.d.ts.map +1 -1
  150. package/lib/index.es.js +2 -2
  151. package/lib/index.es.js.map +1 -1
  152. package/lib/index.js +1 -1
  153. package/lib/index.js.map +1 -1
  154. package/lib/utils/LibThemeProvider.d.ts +2 -2
  155. package/lib/utils/LibThemeProvider.d.ts.map +1 -1
  156. package/lib/utils/styles.d.ts +45 -7
  157. package/lib/utils/styles.d.ts.map +1 -1
  158. package/lib/utils/useEqualSheetHeight.d.ts +2 -2
  159. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -1
  160. package/lib/utils/useMediaQuery.d.ts +16 -0
  161. package/lib/utils/useMediaQuery.d.ts.map +1 -1
  162. package/package.json +2 -1
@@ -1,6 +1,6 @@
1
1
  import React, { FC } from 'react';
2
2
  import { DefaultTheme } from 'styled-components';
3
- declare type RecursivePartial<T> = {
3
+ export declare type RecursivePartial<T> = {
4
4
  [P in keyof T]?: RecursivePartial<T[P]>;
5
5
  };
6
6
  export declare type ThemeMods = RecursivePartial<DefaultTheme>;
@@ -18,10 +18,10 @@ export declare const useLibTheme: () => {
18
18
  colors: import("./styles").Colors;
19
19
  fonts: import("./styles").Fonts;
20
20
  globals: import("./styles").GlobalSettings;
21
+ theme: DefaultTheme;
21
22
  };
22
23
  export declare const withLibTheme: <P extends Record<string, unknown>>(Component: React.ComponentType<P>) => React.FC<P & {
23
24
  /** Component specific theme properties that overrides global theme settings */
24
25
  theme?: RecursivePartial<DefaultTheme> | undefined;
25
26
  }>;
26
- export {};
27
27
  //# sourceMappingURL=LibThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAU9E,aAAK,gBAAgB,CAAC,CAAC,IAAI;KACtB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAQvB,CAAC;AAEF,eAAO,MAAM,YAAY;IAKb,+EAA+E;;EAatF,CAAC"}
1
+ {"version":3,"file":"LibThemeProvider.d.ts","sourceRoot":"","sources":["../../src/utils/LibThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAU9E,oBAAY,gBAAgB,CAAC,CAAC,IAAI;KAC7B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF,oBAAY,SAAS,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAsCvD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,gIA8BpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAUA,CAAC;AAMF,eAAO,MAAM,WAAW,sHAuBvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;CASvB,CAAC;AAEF,eAAO,MAAM,YAAY;IAKb,+EAA+E;;EAatF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { DefaultTheme } from 'styled-components';
2
3
  export declare type MediaQueryType = 'small' | 'medium' | 'semilarge' | 'large' | 'xlarge' | 'xxlarge';
3
4
  export declare const mq: {
@@ -103,6 +104,14 @@ export interface Fonts {
103
104
  'heading-3': FontProps;
104
105
  'heading-4': FontProps;
105
106
  callout: FontOptions;
107
+ link: {
108
+ color: string;
109
+ colorInverted: string;
110
+ colorHover: string;
111
+ colorHoverInverted: string;
112
+ textTransform?: string;
113
+ textDecoration?: string;
114
+ };
106
115
  }
107
116
  export declare type FontType = keyof Fonts;
108
117
  /**
@@ -114,6 +123,11 @@ export declare type NavBarHeights = {
114
123
  small: number;
115
124
  large: number;
116
125
  };
126
+ export interface LinkIcon {
127
+ icon: React.ReactNode;
128
+ /** Patterns of Href value to show this icon (e.g. .svg, .png) */
129
+ patterns?: string[];
130
+ }
117
131
  export interface GlobalSettings {
118
132
  sections: {
119
133
  /** Paddings and Margins for seperating each section */
@@ -141,6 +155,10 @@ export interface GlobalSettings {
141
155
  newsDateFormat: string;
142
156
  newsTimeFormat: string;
143
157
  newsLocaleKey: 'de' | 'en';
158
+ /** Date and Time Formats for all event sections */
159
+ eventDateFormat: string;
160
+ eventTimeFormat: string;
161
+ eventLocaleKey: 'de' | 'en';
144
162
  /** Date and Time Formats for Datepickers */
145
163
  datepickerLocaleKey: 'de' | 'en';
146
164
  datepickerDateFormat: string;
@@ -148,17 +166,37 @@ export interface GlobalSettings {
148
166
  navigation: {
149
167
  /** Settings of top navigation bar */
150
168
  navBar: {
151
- isTopNavVisible: boolean;
152
- topNavHeight: {
153
- mobile: NavBarHeights;
154
- desktop: NavBarHeights;
169
+ /**
170
+ * Heights of top bar.
171
+ * Array values are like: [mobile, desktop]
172
+ * Top navbar is hidden if value equal 0
173
+ */
174
+ topHeight: {
175
+ small: [number, number?];
176
+ large: [number, number?];
155
177
  };
156
- height: {
157
- mobile: NavBarHeights;
158
- desktop: NavBarHeights;
178
+ /**
179
+ * Heights of main bar.
180
+ * Array values are like: [mobile, desktop]
181
+ */
182
+ mainHeight: {
183
+ small: [number, number?];
184
+ large: [number, number?];
185
+ };
186
+ /**
187
+ * Heights of bottom bar.
188
+ * Array values are like: [mobile, desktop]
189
+ */
190
+ bottomHeight: {
191
+ small: [number, number?];
192
+ large: [number, number?];
159
193
  };
160
194
  };
161
195
  };
196
+ icons: {
197
+ /** Icon setup for link/download lists */
198
+ linkIcons: Array<LinkIcon>;
199
+ };
162
200
  }
163
201
  /***** Theme Helper *****/
164
202
  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,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,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,+HAkB1B,CAAC;AAEF,6BAA6B;AAC7B,UAAU,eAAe;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,oBAAY,mBAAmB,GAAG,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,SAAS,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,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IvB,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"}
@@ -6,12 +6,12 @@ interface ItemsPerRow {
6
6
  large?: number;
7
7
  xlarge?: number;
8
8
  }
9
- export declare const useEqualSheetHeight: (props: {
9
+ export declare const useEqualSheetHeight: <T extends HTMLElement>(props: {
10
10
  listLength: number;
11
11
  identifiers: string[];
12
12
  responsive?: ItemsPerRow;
13
13
  }) => {
14
- sheetRefs: MutableRefObject<HTMLDivElement>[];
14
+ sheetRefs: MutableRefObject<T>[];
15
15
  triggerCalculation: () => void;
16
16
  };
17
17
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useEqualSheetHeight.d.ts","sourceRoot":"","sources":["../../src/utils/useEqualSheetHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAGnB,MAAM,OAAO,CAAC;AAIf,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD,eAAO,MAAM,mBAAmB,UAAW;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;;;CAsIA,CAAC"}
1
+ {"version":3,"file":"useEqualSheetHeight.d.ts","sourceRoot":"","sources":["../../src/utils/useEqualSheetHeight.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,gBAAgB,EAGnB,MAAM,OAAO,CAAC;AAIf,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD,eAAO,MAAM,mBAAmB,iCAAkC;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;;;CAoIA,CAAC"}
@@ -1,5 +1,21 @@
1
1
  import { MediaQueryType } from './styles';
2
2
  export declare const isBrowser: boolean;
3
3
  export declare const getMediaQuery: (checkMqs: MediaQueryType[]) => MediaQueryType;
4
+ export declare const getMediaQueries: () => {
5
+ small: boolean;
6
+ medium: boolean;
7
+ semilarge: boolean;
8
+ large: boolean;
9
+ xlarge: boolean;
10
+ xxlarge: boolean;
11
+ };
12
+ export declare const useMediaQueries: () => {
13
+ small: boolean;
14
+ medium: boolean;
15
+ semilarge: boolean;
16
+ large: boolean;
17
+ xlarge: boolean;
18
+ xxlarge: boolean;
19
+ };
4
20
  export declare const useMediaQuery: (mqs?: MediaQueryType[] | undefined) => MediaQueryType | undefined;
5
21
  //# sourceMappingURL=useMediaQuery.d.ts.map
@@ -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,cAc1D,CAAC;AAEF,eAAO,MAAM,aAAa,oEAoBzB,CAAC"}
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,eAAe;;;;;;;CAS3B,CAAC;AAkBF,eAAO,MAAM,eAAe;;;;;;;CA6B3B,CAAC;AAEF,eAAO,MAAM,aAAa,oEAoBzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blateral/b.kit",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.2.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -19,6 +19,7 @@
19
19
  "check-publish": "yarn pack && tar -xvzf *.tgz && rm -rf package *.tgz",
20
20
  "deploy": "yarn tc && yarn build && yarn publish",
21
21
  "deploy-patch": "yarn tc && yarn build && yarn publish --tag patch",
22
+ "deploy-beta": "yarn tc && yarn build && yarn publish --tag beta",
22
23
  "prepare": "npx husky install && npx yalc --version"
23
24
  },
24
25
  "repository": {