@blateral/b.kit 2.0.0-beta.26.9 → 2.0.0-beta.27.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/README.md +51 -168
- package/lib/components/base/Grid.d.ts +6 -0
- package/lib/components/base/Grid.d.ts.map +1 -1
- package/lib/components/blocks/CookieConsent.d.ts.map +1 -1
- package/lib/components/blocks/EventBlock.d.ts.map +1 -1
- package/lib/components/sections/events/EventDetail.d.ts.map +1 -1
- package/lib/components/sections/events/EventOverview.d.ts +10 -4
- package/lib/components/sections/events/EventOverview.d.ts.map +1 -1
- package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -1
- package/lib/components/sections/news/NewsOverview.d.ts +10 -4
- package/lib/components/sections/news/NewsOverview.d.ts.map +1 -1
- package/lib/components/sections/pois/PointOfInterestDetail.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/hexRgbConverter.d.ts.map +1 -1
- package/lib/utils/urlParams.d.ts +1 -1
- package/lib/utils/urlParams.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,215 +2,92 @@
|
|
|
2
2
|
|
|
3
3
|
# b.kit - React component library to b.uild awesome websites
|
|
4
4
|
|
|
5
|
-
The b.kit library consists of a set of essential React components that can be implemented and modified in any React project.
|
|
5
|
+
The b.kit library consists of a set of essential React components that can be implemented and modified in any React project.
|
|
6
|
+
The goal is to reduce the need of rebuilding each component every time. Instead they are defined, tested and optimized in one library and can be reused in multiple projects.
|
|
6
7
|
|
|
7
8
|
See the up to date [Storybook stories](https://blateral.github.io/b.kit) of each b.kit component.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
<br />
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
- [Installation](#installation)
|
|
13
|
-
- [Imports](#imports)
|
|
14
|
-
- [Theming](#theming)
|
|
15
|
-
- [Theme settings](#theme-settings)
|
|
16
|
-
- [Colors](#colors)
|
|
17
|
-
- [Fonts](#fonts)
|
|
18
|
-
- [Using styles](#using-styles)
|
|
19
|
-
- [Optional packages](#optional-packages)
|
|
20
|
-
- [Carousels](#Carousels)
|
|
21
|
-
- [Developement](#developement)
|
|
22
|
-
- [Project architecture](#project-architecture)
|
|
23
|
-
- [Script commands](#script-commands)
|
|
24
|
-
- [Local library testing](#local-library-testing)
|
|
12
|
+
## Installation
|
|
25
13
|
|
|
26
|
-
|
|
14
|
+
Run
|
|
27
15
|
|
|
28
|
-
|
|
16
|
+
```
|
|
17
|
+
yarn add @blateral/b.kit
|
|
18
|
+
```
|
|
29
19
|
|
|
30
|
-
|
|
20
|
+
to install the component library. Because some packages like React, ReactDom and StyledComponents cannot run on multiple instances they are not included in the library.
|
|
31
21
|
|
|
32
22
|
> Therefore all peer dependencies must be installed seperately.
|
|
33
23
|
|
|
34
|
-
|
|
24
|
+
<br />
|
|
25
|
+
|
|
26
|
+
## Imports
|
|
35
27
|
|
|
36
28
|
The library exports all components as named exports so you can import and use them like:
|
|
37
29
|
|
|
38
30
|
```jsx
|
|
39
|
-
import {
|
|
31
|
+
import { Article } from '@blateral/b.kit';
|
|
40
32
|
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
<Article
|
|
34
|
+
title="Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
|
|
35
|
+
superTitle="Cum sociis natoque"
|
|
36
|
+
text="Lorem ipsum dolor sit amet..."
|
|
37
|
+
/>;
|
|
46
38
|
```
|
|
47
39
|
|
|
48
|
-
|
|
40
|
+
<br />
|
|
41
|
+
|
|
42
|
+
## Theming
|
|
49
43
|
|
|
50
|
-
Each component uses a default set of fallback styles that are bundled within the package. To override this styles the library uses the theme context of styled-components.
|
|
44
|
+
Each component uses a default set of fallback styles that are bundled within the package. To override this styles the library uses the theme context of styled-components.
|
|
45
|
+
To use a custom theme the component must be wrapped within the exported library provider HOC component. All project specific style overrides can be defined through a
|
|
46
|
+
theme object and passed to the provider's `theme` property.
|
|
51
47
|
|
|
52
|
-
> Values like `undefined`, `null` or empty
|
|
48
|
+
> Values like `undefined`, `null` or empty strings are ignored.
|
|
53
49
|
|
|
54
50
|
```jsx
|
|
55
|
-
import {
|
|
51
|
+
import { Article, LibThemeProvider } from '@blateral/b.kit';
|
|
56
52
|
|
|
57
53
|
const customTheme = {
|
|
58
54
|
colors: {
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
primary: {
|
|
56
|
+
default: '#2B4356',
|
|
57
|
+
hover: '#009FE3',
|
|
58
|
+
inverted: '#ffffff',
|
|
59
|
+
invertedHover: '#009FE3',
|
|
61
60
|
},
|
|
62
61
|
},
|
|
63
62
|
};
|
|
64
63
|
|
|
65
64
|
<LibThemeProvider theme={customTheme}>
|
|
66
|
-
<
|
|
65
|
+
<Article
|
|
66
|
+
title="Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
|
|
67
|
+
superTitle="Cum sociis natoque"
|
|
68
|
+
text="Lorem ipsum dolor sit amet..."
|
|
69
|
+
/>
|
|
67
70
|
</LibThemeProvider>;
|
|
68
71
|
```
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
The `DefaultTheme` can be configured by passing a custom theme object to the theme provider. It consists of two parts: `colors` and `fonts`. To override the default b.kit values it is not neccessary to replace all values or subobjects. Just define the values to want to replace and you good to go.
|
|
73
|
-
|
|
74
|
-
#### Colors
|
|
75
|
-
|
|
76
|
-
Each color is defined in the subobject `colors` of the `DefaultTheme`. In order not to be too specific to a project scenario, they are named with abstract names that do not refer to the actual colors assigned. As example the default b.kit values below:
|
|
77
|
-
|
|
78
|
-
```javascript
|
|
79
|
-
{
|
|
80
|
-
dark: '#000000',
|
|
81
|
-
light: '#ffffff',
|
|
82
|
-
mono: {
|
|
83
|
-
light: '#F0F0F0',
|
|
84
|
-
medium: '#C8C8C8',
|
|
85
|
-
dark: '#A5A5A5',
|
|
86
|
-
},
|
|
87
|
-
primary: {
|
|
88
|
-
light: '#DD8AA3',
|
|
89
|
-
medium: '#98012E',
|
|
90
|
-
dark: '#59011B',
|
|
91
|
-
},
|
|
92
|
-
secondary: {
|
|
93
|
-
light: '#5A7384',
|
|
94
|
-
medium: '#35444E',
|
|
95
|
-
dark: '#222A30',
|
|
96
|
-
},
|
|
97
|
-
tertiary: {
|
|
98
|
-
light: '#F2F5FA',
|
|
99
|
-
medium: '#C9CED7',
|
|
100
|
-
dark: '#A8ABB4',
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
#### Fonts
|
|
106
|
-
|
|
107
|
-
Font styles are seperated in multiple types like `copy`, `heading`, `super` (super title) and others. Some of them have different forms e.g. `copy-i` for copy italic or `copy-b` for copy bold.
|
|
108
|
-
|
|
109
|
-
```typescript
|
|
110
|
-
interface Fonts {
|
|
111
|
-
copy: FontOptions;
|
|
112
|
-
'copy-i': FontOptions;
|
|
113
|
-
'copy-b': FontOptions;
|
|
114
|
-
super: FontProps;
|
|
115
|
-
'heading-1': FontProps;
|
|
116
|
-
'heading-2': FontProps;
|
|
117
|
-
'heading-3': FontProps;
|
|
118
|
-
'heading-4': FontProps;
|
|
119
|
-
label: FontOptions;
|
|
120
|
-
callout: FontOptions;
|
|
121
|
-
}
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
While `FontProps` containing the style props needed for the CSS styling, `FontOptions` are a another way to seperate the font types into different sizes:
|
|
125
|
-
|
|
126
|
-
```typescript
|
|
127
|
-
interface FontOptions {
|
|
128
|
-
small: FontProps;
|
|
129
|
-
medium: FontProps;
|
|
130
|
-
big: FontProps;
|
|
131
|
-
}
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
#### Using styles
|
|
135
|
-
|
|
136
|
-
To use the styles that a generated by modifing the `DefaultTheme` context you need the Styled Components theme context reference.
|
|
73
|
+
<br />
|
|
137
74
|
|
|
138
|
-
|
|
75
|
+
## Connectors
|
|
139
76
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
Inside a Styled Component:
|
|
77
|
+
Connectors are used to connect b.kit components to data coming from a Content Management System (CMS). To date there two
|
|
78
|
+
connector packages available:
|
|
145
79
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
```
|
|
80
|
+
- [b.kit MODX](https://www.npmjs.com/package/@blateral/b.kit-modx) `yarn add @blateral/b.kit-modx`
|
|
81
|
+
- [b.kit PRISMIC](https://www.npmjs.com/package/@blateral/b.kit-prismic) `yarn add @blateral/b.kit-prismic` (not maintained anymore. Not compatible with B.KIT 2 versions and version 2 beta releases!)
|
|
149
82
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
```typescript
|
|
153
|
-
getColors(theme).dark;
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
```typescript
|
|
157
|
-
getFonts(theme).copy.small;
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Optional packages
|
|
161
|
-
|
|
162
|
-
#### Carousels
|
|
163
|
-
|
|
164
|
-
> Some components like the `ImageCarousel` using the external `slick-carousel` and `react-slick` packages. To use them properly its important to install all packages (also listed under peer dependenies) and import the related CSS files.
|
|
165
|
-
|
|
166
|
-
As imports (e.g. in Nextjs `_app.tsx`):
|
|
167
|
-
|
|
168
|
-
```jsx
|
|
169
|
-
import 'slick-carousel/slick/slick.css';
|
|
170
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
As CDN link (e.g. in Storybook `preview-head.html` or NextJs's `_document.tsx`):
|
|
174
|
-
|
|
175
|
-
```jsx
|
|
176
|
-
<link
|
|
177
|
-
rel="stylesheet"
|
|
178
|
-
type="text/css"
|
|
179
|
-
charset="UTF-8"
|
|
180
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"
|
|
181
|
-
/>
|
|
182
|
-
<link
|
|
183
|
-
rel="stylesheet"
|
|
184
|
-
type="text/css"
|
|
185
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"
|
|
186
|
-
/>
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
#### Map
|
|
190
|
-
|
|
191
|
-
> The Map component is made up with `leaflet`. Therefore the NPM Leaflet package must be installed to properly use all map features.
|
|
192
|
-
|
|
193
|
-
To diplaying the map in the right way you should also import the leaflet CSS styles:
|
|
194
|
-
|
|
195
|
-
As imports (e.g. in Nextjs `_app.tsx`):
|
|
196
|
-
|
|
197
|
-
```jsx
|
|
198
|
-
import 'leaflet/dist/leaflet.css';
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
As CDN link (e.g. in Storybook `preview-head.html` or NextJs's `_document.tsx`):
|
|
202
|
-
|
|
203
|
-
```jsx
|
|
204
|
-
<link
|
|
205
|
-
rel="stylesheet"
|
|
206
|
-
href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
|
|
207
|
-
/>
|
|
208
|
-
```
|
|
83
|
+
<br />
|
|
209
84
|
|
|
210
85
|
# Developement
|
|
211
86
|
|
|
212
87
|
The react component library is compiled with typescript and bundled with [Rollup](https://www.npmjs.com/package/rollup).
|
|
213
88
|
|
|
89
|
+
<br />
|
|
90
|
+
|
|
214
91
|
## Project architecture
|
|
215
92
|
|
|
216
93
|
The library project is splitted into three pieces.
|
|
@@ -219,6 +96,8 @@ The library project is splitted into three pieces.
|
|
|
219
96
|
- The Storybook folder `stories`
|
|
220
97
|
- The build folder `lib` (it contains the bundled library content that is shipped to npm)
|
|
221
98
|
|
|
99
|
+
<br />
|
|
100
|
+
|
|
222
101
|
## Script commands
|
|
223
102
|
|
|
224
103
|
To build and bundle the library with Rollup into the lib folder enter the script:
|
|
@@ -235,10 +114,14 @@ To publish all stories to Github Pages enter:
|
|
|
235
114
|
|
|
236
115
|
> Before each commit to Github the Husky package takes care of the Storybook stories and deploys them automatically to Github Pages.
|
|
237
116
|
|
|
117
|
+
<br />
|
|
118
|
+
|
|
238
119
|
## Local Testing
|
|
239
120
|
|
|
240
121
|
The bundled package can be tested locally with a npm package called [Yalc](https://github.com/wclr/yalc). `Yalc` acts as very simple local repository for locally developed packages to share them across a local environment.
|
|
241
122
|
|
|
123
|
+
<br />
|
|
124
|
+
|
|
242
125
|
### Workflow
|
|
243
126
|
|
|
244
127
|
Install yalc globally: `yarn global add yalc`.
|
|
@@ -4,7 +4,9 @@ export interface ColPropsSettings {
|
|
|
4
4
|
span?: number;
|
|
5
5
|
/** Normalisierte Werte zwischen -1 und 1: z.B. -12 von 28 Spalten (-12 / 28) */
|
|
6
6
|
move?: number;
|
|
7
|
+
/** Vertical alignment of column content */
|
|
7
8
|
valign?: VerticalAlign;
|
|
9
|
+
/** Text alignment of column content */
|
|
8
10
|
textAlign?: TextAlign;
|
|
9
11
|
}
|
|
10
12
|
declare type VerticalAlign = 'top' | 'center' | 'bottom';
|
|
@@ -15,6 +17,10 @@ interface ColProps extends ColPropsSettings {
|
|
|
15
17
|
semilarge?: ColPropsSettings;
|
|
16
18
|
large?: ColPropsSettings;
|
|
17
19
|
xlarge?: ColPropsSettings;
|
|
20
|
+
/** force column to the right */
|
|
21
|
+
toRight?: boolean;
|
|
22
|
+
/** force column to the left */
|
|
23
|
+
toLeft?: boolean;
|
|
18
24
|
}
|
|
19
25
|
export declare const gridSettings: {
|
|
20
26
|
cols: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/base/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,gBAAgB;IAC7B,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,SAAS,CAAC,EA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AO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,YAAY;;;;wEAiBxB,CAAC;AAgVF,UAAU,iBAAiB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,UAAU,SAAU,SAAQ,iBAAiB;IACzC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC9B;;;;;;;;;AA8ED,wBAGE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieConsent.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/CookieConsent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,EAA4C,MAAM,OAAO,CAAC;AAM5E,OAAyB,EACrB,WAAW,EAEd,oDAA8C;
|
|
1
|
+
{"version":3,"file":"CookieConsent.d.ts","sourceRoot":"","sources":["../../../src/components/blocks/CookieConsent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,EAA4C,MAAM,OAAO,CAAC;AAM5E,OAAyB,EACrB,WAAW,EAEd,oDAA8C;AAE/C,OAAO,EAEH,SAAS,EAEZ,qCAA+B;AAqEhC,aAAK,WAAW,GAAG;IACf,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,WAAW,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACpE,sBAAsB,EAAE;QACpB,CAAC,UAAU,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,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB,yCAAyC;IACzC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAE9D,yCAAyC;IACzC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE;QAChB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,EAAE,SAAS,CAAC;QAChB,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KACnE,KAAK,KAAK,CAAC,SAAS,CAAC;IAEtB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,KAAK,IAAI,CAAC;CACxC;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA4GpC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/events/EventDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"EventDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/events/EventDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,UAAU,EAAE,gCAAqC;AAK1D,OAAO,EAAE,SAAS,EAAE,8BAAmC;AAmFvD,oBAAY,gBAAgB,GAAG,IAAI,CAC/B,UAAU,EACV,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,CACrD,CAAC;AAEF,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACtB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IACjD,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AA0JD,eAAO,MAAM,oBAAoB;IAvJ7B,wDAAwD;;IAGxD,mCAAmC;WAC5B,gBAAgB,GAAG;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE;IAEjE,6BAA6B;;IAG7B,yBAAyB;;IAGzB,yCAAyC;yBACrB;QAChB,GAAG,EAAE,MAAM,GAAG,CAAC;QACf,MAAM,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,SAAS,CAAC;KACpB,KAAK,MAAM,SAAS;EAoIsB,CAAC;;IAvJ5C,wDAAwD;;IAGxD,mCAAmC;;;;;IAGnC,6BAA6B;;IAG7B,yBAAyB;;IAGzB,yCAAyC;;;;;;;;;;;AA4I7C,wBAAyC"}
|
|
@@ -13,8 +13,11 @@ export declare const EventOverviewComponent: React.FC<{
|
|
|
13
13
|
events?: EventItem[] | undefined;
|
|
14
14
|
/** Tags for events filtering */
|
|
15
15
|
tags?: string[] | undefined;
|
|
16
|
-
/** Initial
|
|
17
|
-
|
|
16
|
+
/** Initial data. If not defined the component tries to collect this from URL params */
|
|
17
|
+
initial?: {
|
|
18
|
+
activeTags?: string[] | undefined;
|
|
19
|
+
visibleRows?: number | undefined;
|
|
20
|
+
} | undefined;
|
|
18
21
|
/** Text for load more toggle. Only visible if browser doesn't support IntersectionObserver. */
|
|
19
22
|
showMoreText?: string | undefined;
|
|
20
23
|
/** Section background */
|
|
@@ -40,8 +43,11 @@ declare const _default: React.FC<{
|
|
|
40
43
|
events?: EventItem[] | undefined;
|
|
41
44
|
/** Tags for events filtering */
|
|
42
45
|
tags?: string[] | undefined;
|
|
43
|
-
/** Initial
|
|
44
|
-
|
|
46
|
+
/** Initial data. If not defined the component tries to collect this from URL params */
|
|
47
|
+
initial?: {
|
|
48
|
+
activeTags?: string[] | undefined;
|
|
49
|
+
visibleRows?: number | undefined;
|
|
50
|
+
} | undefined;
|
|
45
51
|
/** Text for load more toggle. Only visible if browser doesn't support IntersectionObserver. */
|
|
46
52
|
showMoreText?: string | undefined;
|
|
47
53
|
/** Section background */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventOverview.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/events/EventOverview.tsx"],"names":[],"mappings":"AAGA,OAAmB,EAAE,UAAU,EAAE,gCAAqC;AACtE,OAAY,EAAE,QAAQ,EAAE,yBAA8B;AAGtD,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"EventOverview.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/events/EventOverview.tsx"],"names":[],"mappings":"AAGA,OAAmB,EAAE,UAAU,EAAE,gCAAqC;AACtE,OAAY,EAAE,QAAQ,EAAE,yBAA8B;AAGtD,OAAO,KAA0C,MAAM,OAAO,CAAC;AAC/D,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AA0FzD,eAAO,MAAM,oBAAoB,QACxB,MAAM,SACJ,YAAY,SACb,MAAM,EAAE,WAiBjB,CAAC;AAEF,oBAAY,SAAS,GAAG,IAAI,CACxB,UAAU,EACV,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,CACrD,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CA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MAAM,CAAC;YAAC,GAAG,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QACvC,cAAc,CAAC,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAC/C,IAAI,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,YAAY,GAAG,QAAQ,CAAC,CAAC;KACnD,CAAC;IACF,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACpE,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,CACZ,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,YAAY,KAC7C,KAAK,CAAC,SAAS,CAAC;IACrB,eAAe,CAAC,EAAE,CACd,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,YAAY,KAC7C,KAAK,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,YAAY,CAAC;CAC3B,CAmEA,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -11,8 +11,11 @@ export declare const NewsOverviewComponent: React.FC<{
|
|
|
11
11
|
news?: NewsItem[] | undefined;
|
|
12
12
|
/** Tags for news filtering */
|
|
13
13
|
tags?: string[] | undefined;
|
|
14
|
-
/** Initial
|
|
15
|
-
|
|
14
|
+
/** Initial data. If not defined the component tries to collect this from URL params */
|
|
15
|
+
initial?: {
|
|
16
|
+
activeTags?: string[] | undefined;
|
|
17
|
+
visibleRows?: number | undefined;
|
|
18
|
+
} | undefined;
|
|
16
19
|
/** Text for load more toggle. Only visible if browser doesn't support IntersectionObserver. */
|
|
17
20
|
showMoreText?: string | undefined;
|
|
18
21
|
/** Section background */
|
|
@@ -38,8 +41,11 @@ declare const _default: React.FC<{
|
|
|
38
41
|
news?: NewsItem[] | undefined;
|
|
39
42
|
/** Tags for news filtering */
|
|
40
43
|
tags?: string[] | undefined;
|
|
41
|
-
/** Initial
|
|
42
|
-
|
|
44
|
+
/** Initial data. If not defined the component tries to collect this from URL params */
|
|
45
|
+
initial?: {
|
|
46
|
+
activeTags?: string[] | undefined;
|
|
47
|
+
visibleRows?: number | undefined;
|
|
48
|
+
} | undefined;
|
|
43
49
|
/** Text for load more toggle. Only visible if browser doesn't support IntersectionObserver. */
|
|
44
50
|
showMoreText?: string | undefined;
|
|
45
51
|
/** Section background */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewsOverview.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/news/NewsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKzD,OAAiB,EAAE,aAAa,EAAE,8BAAmC;AAGrE,OAAY,EAAE,QAAQ,EAAE,yBAA8B;
|
|
1
|
+
{"version":3,"file":"NewsOverview.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/news/NewsOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKzD,OAAiB,EAAE,aAAa,EAAE,8BAAmC;AAGrE,OAAY,EAAE,QAAQ,EAAE,yBAA8B;AAwFtD,eAAO,MAAM,mBAAmB,QACvB,MAAM,SACJ,YAAY,SACb,MAAM,EAAE,WAiBjB,CAAC;AAIF,oBAAY,QAAQ,GAAG,IAAI,CACvB,aAAa,EACb,WAAW,GAAG,YAAY,GAAG,YAAY,CAC5C,CAAC;AA+YF,eAAO,MAAM,qBAAqB;IA5Y9B,wDAAwD;;IAGxD,kCAAkC;;IAGlC,8BAA8B;;IAG9B,uFAAuF;;;;;IAMvF,+FAA+F;;IAG/F,yBAAyB;;IAGzB;;;SAGK;wBACc,QAAQ,uCAA2B,IAAI;IAE1D,yCAAyC;;aAEhC,MAAM,GAAG;cACR,MAAM;;;uFAG+C,IAAI;UAC7D,MAAM,SAAS;EA0WwB,CAAC;;IA5Y9C,wDAAwD;;IAGxD,kCAAkC;;IAGlC,8BAA8B;;IAG9B,uFAAuF;;;;;IAMvF,+FAA+F;;IAG/F,yBAAyB;;IAGzB;;;SAGK;;IAGL,yCAAyC;;;;;;;;;;;AAkX7C,wBAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointOfInterestDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/pois/PointOfInterestDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PointOfInterestDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/pois/PointOfInterestDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAc,EAAE,UAAU,EAAE,2BAAgC;AAM5D,OAAiB,EAAE,SAAS,EAAE,8BAAmC;AA2JjE,eAAO,MAAM,8BAA8B;IArHvC,wDAAwD;;IAGxD,gBAAgB;;IAGhB,gBAAgB;;IAGhB,qBAAqB;;IAGrB,0BAA0B;;IAG1B,yBAAyB;;IAGzB,2BAA2B;;IAG3B,yBAAyB;;IAGzB,6CAA6C;0BACxB;QACjB,GAAG,EAAE,MAAM,GAAG,CAAC;QACf,MAAM,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,OAAO,CAAC;KACxB,KAAK,MAAM,SAAS;EAwF0C,CAAC;;IArHhE,wDAAwD;;IAGxD,gBAAgB;;IAGhB,gBAAgB;;IAGhB,qBAAqB;;IAGrB,0BAA0B;;IAG1B,yBAAyB;;IAGzB,2BAA2B;;IAG3B,yBAAyB;;IAGzB,6CAA6C;;;;;;;;;AA8FjD,wBAAmD"}
|