@prokodo/ui 0.1.15 → 1.0.0
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/LICENSE +187 -26
- package/NOTICE +24 -0
- package/README.md +32 -302
- package/dist/components/RTE/RTE.css +180 -68
- package/dist/components/RTE/RTE.module.css +180 -68
- package/dist/components/RTE/RTE.module.scss.js +10 -0
- package/dist/components/RTE/RTE.view.js +5 -1
- package/dist/components/accordion/Accordion.css +120 -67
- package/dist/components/accordion/Accordion.module.css +120 -67
- package/dist/components/accordion/Accordion.module.scss.js +12 -5
- package/dist/components/accordion/Accordion.view.js +3 -3
- package/dist/components/autocomplete/Autocomplete.css +111 -95
- package/dist/components/autocomplete/Autocomplete.module.css +111 -95
- package/dist/components/autocomplete/Autocomplete.module.scss.js +11 -4
- package/dist/components/autocomplete/Autocomplete.view.js +3 -1
- package/dist/components/avatar/Avatar.css +11 -8
- package/dist/components/avatar/Avatar.module.css +11 -8
- package/dist/components/avatar/Avatar.module.scss.js +1 -0
- package/dist/components/avatar/Avatar.view.js +5 -5
- package/dist/components/button/Button.client.js +12 -16
- package/dist/components/button/Button.css +85 -137
- package/dist/components/button/Button.module.css +85 -137
- package/dist/components/button/Button.module.scss.js +15 -19
- package/dist/components/button/Button.view.js +6 -2
- package/dist/components/calendly/Calendly.css +132 -0
- package/dist/components/calendly/Calendly.module.css +132 -0
- package/dist/components/calendly/Calendly.module.scss.js +6 -0
- package/dist/components/calendly/Calendly.view.js +12 -6
- package/dist/components/card/Card.client.js +6 -1
- package/dist/components/card/Card.css +67 -32
- package/dist/components/card/Card.module.css +67 -32
- package/dist/components/card/Card.module.scss.js +8 -2
- package/dist/components/card/Card.view.js +3 -3
- package/dist/components/carousel/Carousel.client.js +2 -4
- package/dist/components/carousel/Carousel.css +8 -4
- package/dist/components/carousel/Carousel.module.css +8 -4
- package/dist/components/checkbox/Checkbox.css +100 -79
- package/dist/components/checkbox/Checkbox.module.css +100 -79
- package/dist/components/checkbox/Checkbox.module.scss.js +11 -4
- package/dist/components/checkbox/Checkbox.view.js +3 -1
- package/dist/components/checkbox-group/CheckboxGroup.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.module.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +8 -0
- package/dist/components/checkbox-group/CheckboxGroup.view.js +3 -1
- package/dist/components/chip/Chip.css +185 -61
- package/dist/components/chip/Chip.module.css +185 -61
- package/dist/components/chip/Chip.module.scss.js +13 -17
- package/dist/components/chip/Chip.view.js +3 -4
- package/dist/components/datePicker/DatePicker.client.js +211 -66
- package/dist/components/datePicker/DatePicker.css +940 -0
- package/dist/components/datePicker/DatePicker.module.css +940 -0
- package/dist/components/datePicker/DatePicker.module.scss.js +62 -0
- package/dist/components/datePicker/DatePicker.server.js +31 -1
- package/dist/components/datePicker/DatePicker.utils.js +103 -0
- package/dist/components/datePicker/DatePicker.view.js +113 -41
- package/dist/components/datePicker/DatePickerDialog.view.js +291 -0
- package/dist/components/dialog/Dialog.css +107 -132
- package/dist/components/dialog/Dialog.module.css +107 -132
- package/dist/components/dialog/Dialog.module.scss.js +13 -8
- package/dist/components/drawer/Drawer.css +8 -8
- package/dist/components/drawer/Drawer.module.css +8 -8
- package/dist/components/dynamic-list/DynamicList.css +20 -12
- package/dist/components/dynamic-list/DynamicList.module.css +20 -12
- package/dist/components/dynamic-list/DynamicList.module.scss.js +1 -0
- package/dist/components/dynamic-list/DynamicList.view.js +78 -46
- package/dist/components/form/Form.view.js +3 -3
- package/dist/components/form/FormField.client.js +51 -2
- package/dist/components/form/FormField.server.js +10 -4
- package/dist/components/form/FormResponse.js +2 -2
- package/dist/components/grid/Grid.css +1 -1
- package/dist/components/grid/Grid.module.css +1 -1
- package/dist/components/headline/Headline.css +16 -16
- package/dist/components/headline/Headline.js +5 -6
- package/dist/components/headline/Headline.module.css +16 -16
- package/dist/components/headline/Headline.module.scss.js +1 -1
- package/dist/components/headline/Headline.variants.js +4 -1
- package/dist/components/icon/Icon.css +14 -14
- package/dist/components/icon/Icon.module.css +14 -14
- package/dist/components/image/Image.css +4 -3
- package/dist/components/image/Image.module.css +4 -3
- package/dist/components/image-text/ImageText.css +43 -14
- package/dist/components/image-text/ImageText.js +61 -53
- package/dist/components/image-text/ImageText.module.css +43 -14
- package/dist/components/image-text/ImageText.module.scss.js +11 -2
- package/dist/components/input/Input.css +197 -115
- package/dist/components/input/Input.module.css +197 -115
- package/dist/components/input/Input.module.scss.js +19 -3
- package/dist/components/input/Input.view.js +87 -57
- package/dist/components/inputOTP/InputOTP.client.js +165 -0
- package/dist/components/inputOTP/InputOTP.css +155 -7
- package/dist/components/inputOTP/InputOTP.js +10 -195
- package/dist/components/inputOTP/InputOTP.lazy.js +12 -0
- package/dist/components/inputOTP/InputOTP.module.css +155 -7
- package/dist/components/inputOTP/InputOTP.module.scss.js +14 -0
- package/dist/components/inputOTP/InputOTP.server.js +32 -0
- package/dist/components/inputOTP/InputOTP.view.js +117 -0
- package/dist/components/label/Label.css +33 -14
- package/dist/components/label/Label.js +37 -35
- package/dist/components/label/Label.module.css +33 -14
- package/dist/components/label/Label.module.scss.js +9 -2
- package/dist/components/link/Link.css +13 -13
- package/dist/components/link/Link.module.css +13 -13
- package/dist/components/link/Link.view.js +14 -12
- package/dist/components/list/List.css +71 -32
- package/dist/components/list/List.js +25 -8
- package/dist/components/list/List.module.css +71 -32
- package/dist/components/list/List.module.scss.js +1 -1
- package/dist/components/loading/Loading.view.js +22 -2
- package/dist/components/lottie/Lottie.css +16 -0
- package/dist/components/lottie/Lottie.module.css +16 -0
- package/dist/components/lottie/Lottie.module.scss.js +6 -2
- package/dist/components/map/Map.css +130 -0
- package/dist/components/map/Map.js +5 -2
- package/dist/components/map/Map.module.css +130 -0
- package/dist/components/map/Map.module.scss.js +6 -0
- package/dist/components/pagination/Pagination.css +127 -11
- package/dist/components/pagination/Pagination.module.css +127 -11
- package/dist/components/pagination/Pagination.module.scss.js +12 -4
- package/dist/components/pagination/Pagination.view.js +13 -1
- package/dist/components/post-item/PostItem.css +16 -16
- package/dist/components/post-item/PostItem.module.css +16 -16
- package/dist/components/post-item/PostItem.view.js +14 -5
- package/dist/components/post-teaser/PostTeaser.css +13 -13
- package/dist/components/post-teaser/PostTeaser.module.css +13 -13
- package/dist/components/post-teaser/PostTeaser.view.js +10 -3
- package/dist/components/post-widget/PostWidget.css +6 -8
- package/dist/components/post-widget/PostWidget.module.css +6 -8
- package/dist/components/post-widget/PostWidget.view.js +12 -5
- package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +30 -13
- package/dist/components/progressBar/ProgressBar.css +4 -4
- package/dist/components/progressBar/ProgressBar.module.css +4 -4
- package/dist/components/progressBar/ProgressBar.view.js +2 -2
- package/dist/components/quote/Quote.css +21 -6
- package/dist/components/quote/Quote.js +5 -5
- package/dist/components/quote/Quote.module.css +21 -6
- package/dist/components/quote/Quote.module.scss.js +5 -0
- package/dist/components/rating/Rating.css +34 -21
- package/dist/components/rating/Rating.module.css +34 -21
- package/dist/components/rating/Rating.module.scss.js +8 -0
- package/dist/components/rating/Rating.view.js +4 -2
- package/dist/components/rich-text/RichText.client.js +3 -3
- package/dist/components/rich-text/RichText.css +47 -31
- package/dist/components/rich-text/RichText.module.css +47 -31
- package/dist/components/rich-text/RichText.server.js +1 -1
- package/dist/components/select/Select.client.js +154 -1
- package/dist/components/select/Select.css +542 -221
- package/dist/components/select/Select.module.css +542 -221
- package/dist/components/select/Select.module.scss.js +57 -14
- package/dist/components/select/Select.view.js +40 -14
- package/dist/components/sidenav/SideNav.client.js +24 -1
- package/dist/components/sidenav/SideNav.css +89 -21
- package/dist/components/sidenav/SideNav.module.css +89 -21
- package/dist/components/sidenav/SideNav.module.scss.js +6 -1
- package/dist/components/sidenav/SideNav.view.js +69 -14
- package/dist/components/skeleton/Skeleton.css +7 -7
- package/dist/components/skeleton/Skeleton.module.css +7 -7
- package/dist/components/slider/Slider.css +177 -112
- package/dist/components/slider/Slider.module.css +177 -112
- package/dist/components/slider/Slider.module.scss.js +11 -2
- package/dist/components/slider/Slider.view.js +113 -101
- package/dist/components/snackbar/Snackbar.css +125 -64
- package/dist/components/snackbar/Snackbar.module.css +125 -64
- package/dist/components/snackbar/Snackbar.module.scss.js +11 -13
- package/dist/components/snackbar/Snackbar.view.js +2 -2
- package/dist/components/stepper/Stepper.client.js +21 -6
- package/dist/components/stepper/Stepper.css +46 -11
- package/dist/components/stepper/Stepper.module.css +46 -11
- package/dist/components/stepper/Stepper.module.scss.js +7 -0
- package/dist/components/stepper/Stepper.server.js +2 -0
- package/dist/components/stepper/Stepper.view.js +6 -1
- package/dist/components/switch/Switch.css +108 -84
- package/dist/components/switch/Switch.module.css +108 -84
- package/dist/components/switch/Switch.module.scss.js +14 -12
- package/dist/components/switch/Switch.view.js +9 -8
- package/dist/components/table/Table.css +19 -14
- package/dist/components/table/Table.module.css +19 -14
- package/dist/components/tabs/Tabs.css +53 -27
- package/dist/components/tabs/Tabs.module.css +53 -27
- package/dist/components/tabs/Tabs.module.scss.js +7 -2
- package/dist/components/tabs/Tabs.view.js +4 -2
- package/dist/components/teaser/Teaser.css +5 -5
- package/dist/components/teaser/Teaser.js +4 -4
- package/dist/components/teaser/Teaser.module.css +5 -5
- package/dist/components/tooltip/Tooltip.client.js +14 -4
- package/dist/components/tooltip/Tooltip.css +46 -9
- package/dist/components/tooltip/Tooltip.module.css +46 -9
- package/dist/components/tooltip/Tooltip.module.scss.js +5 -1
- package/dist/components/tooltip/Tooltip.view.js +6 -1
- package/dist/constants/project.js +1 -1
- package/dist/theme.css +3269 -1588
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/RTE/RTE.d.ts +5 -0
- package/dist/types/components/RTE/RTE.lazy.d.ts +5 -0
- package/dist/types/components/RTE/RTE.view.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
- package/dist/types/components/autocomplete/Autocomplete.model.d.ts +2 -0
- package/dist/types/components/autocomplete/Autocomplete.view.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.lazy.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.model.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
- package/dist/types/components/calendly/Calendly.view.d.ts +1 -1
- package/dist/types/components/card/Card.model.d.ts +1 -1
- package/dist/types/components/card/Card.view.d.ts +1 -1
- package/dist/types/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.lazy.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.model.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.view.d.ts +1 -1
- package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +2 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +1 -1
- package/dist/types/components/datePicker/DatePicker.model.d.ts +70 -1
- package/dist/types/components/datePicker/DatePicker.utils.d.ts +10 -0
- package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -4
- package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +4 -0
- package/dist/types/components/dynamic-list/DynamicList.model.d.ts +2 -0
- package/dist/types/components/dynamic-list/DynamicList.view.d.ts +1 -1
- package/dist/types/components/form/Form.d.ts +1 -1
- package/dist/types/components/form/Form.lazy.d.ts +1 -1
- package/dist/types/components/form/Form.model.d.ts +19 -4
- package/dist/types/components/form/FormField.client.d.ts +2 -2
- package/dist/types/components/form/FormField.d.ts +1 -1
- package/dist/types/components/form/FormField.lazy.d.ts +1 -1
- package/dist/types/components/form/FormField.server.d.ts +2 -2
- package/dist/types/components/headline/Headline.model.d.ts +1 -1
- package/dist/types/components/input/Input.model.d.ts +8 -1
- package/dist/types/components/input/Input.view.d.ts +1 -1
- package/dist/types/components/inputOTP/InputOTP.client.d.ts +4 -0
- package/dist/types/components/inputOTP/InputOTP.d.ts +10 -3
- package/dist/types/components/inputOTP/InputOTP.lazy.d.ts +11 -0
- package/dist/types/components/inputOTP/InputOTP.model.d.ts +10 -0
- package/dist/types/components/inputOTP/InputOTP.server.d.ts +3 -0
- package/dist/types/components/inputOTP/InputOTP.view.d.ts +3 -0
- package/dist/types/components/inputOTP/index.d.ts +1 -1
- package/dist/types/components/label/Label.model.d.ts +2 -0
- package/dist/types/components/link/Link.model.d.ts +1 -1
- package/dist/types/components/link/Link.view.d.ts +1 -1
- package/dist/types/components/list/List.d.ts +1 -1
- package/dist/types/components/list/List.model.d.ts +14 -5
- package/dist/types/components/list/index.d.ts +1 -1
- package/dist/types/components/loading/Loading.model.d.ts +2 -0
- package/dist/types/components/loading/index.d.ts +1 -1
- package/dist/types/components/pagination/Pagination.model.d.ts +2 -0
- package/dist/types/components/pagination/Pagination.view.d.ts +1 -1
- package/dist/types/components/post-item/PostItem.model.d.ts +2 -1
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +2 -1
- package/dist/types/components/post-widget/PostWidget.view.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.model.d.ts +3 -2
- package/dist/types/components/progressBar/ProgressBar.view.d.ts +1 -1
- package/dist/types/components/progressBar/index.d.ts +1 -1
- package/dist/types/components/quote/Quote.model.d.ts +1 -1
- package/dist/types/components/rating/Rating.model.d.ts +2 -0
- package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.lazy.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.model.d.ts +1 -1
- package/dist/types/components/select/Select.model.d.ts +2 -0
- package/dist/types/components/select/Select.view.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.model.d.ts +16 -2
- package/dist/types/components/sidenav/SideNav.view.d.ts +1 -1
- package/dist/types/components/slider/Slider.model.d.ts +2 -0
- package/dist/types/components/snackbar/Snackbar.model.d.ts +3 -2
- package/dist/types/components/snackbar/Snackbar.view.d.ts +3 -2
- package/dist/types/components/snackbar/index.d.ts +1 -1
- package/dist/types/components/stepper/Stepper.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.lazy.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.server.d.ts +1 -1
- package/dist/types/components/switch/Switch.d.ts +2 -2
- package/dist/types/components/switch/Switch.lazy.d.ts +2 -2
- package/dist/types/components/switch/Switch.model.d.ts +3 -4
- package/dist/types/components/tabs/Tabs.model.d.ts +2 -0
- package/dist/types/components/tabs/Tabs.view.d.ts +1 -1
- package/dist/types/components/teaser/Teaser.model.d.ts +1 -1
- package/dist/types/components/tooltip/Tooltip.model.d.ts +2 -0
- package/package.json +37 -22
|
@@ -127,43 +127,37 @@
|
|
|
127
127
|
*/
|
|
128
128
|
.prokodo-Headline {
|
|
129
129
|
margin: 0;
|
|
130
|
-
/*
|
|
131
|
-
/* Highlight-Grundlage */
|
|
130
|
+
/* Color variants (mapped to semantic design tokens) */
|
|
132
131
|
/* Varianten mit Highlight (mit Gradients/Shadow) */
|
|
133
132
|
/* Größen */
|
|
134
133
|
/* Alignment */
|
|
135
134
|
}
|
|
136
135
|
.prokodo-Headline--inherit {
|
|
137
|
-
color: var(--color-
|
|
136
|
+
color: var(--pk-color-fg);
|
|
138
137
|
}
|
|
139
138
|
.prokodo-Headline--primary {
|
|
140
|
-
color: var(--color-
|
|
139
|
+
color: var(--pk-color-brand);
|
|
141
140
|
}
|
|
142
141
|
.prokodo-Headline--secondary {
|
|
143
|
-
color: var(--color-
|
|
142
|
+
color: var(--pk-color-accent);
|
|
144
143
|
}
|
|
145
144
|
.prokodo-Headline--success {
|
|
146
|
-
color: var(--color-success);
|
|
145
|
+
color: var(--pk-color-success);
|
|
147
146
|
}
|
|
148
147
|
.prokodo-Headline--info {
|
|
149
|
-
color: var(--color-
|
|
148
|
+
color: var(--pk-color-muted);
|
|
150
149
|
}
|
|
151
150
|
.prokodo-Headline--warning {
|
|
152
|
-
color: var(--color-warning);
|
|
151
|
+
color: var(--pk-color-warning);
|
|
153
152
|
}
|
|
154
153
|
.prokodo-Headline--error {
|
|
155
|
-
color: var(--color-error);
|
|
154
|
+
color: var(--pk-color-error);
|
|
156
155
|
}
|
|
157
156
|
.prokodo-Headline--white {
|
|
158
|
-
color:
|
|
157
|
+
color: var(--pk-palette-white);
|
|
159
158
|
}
|
|
160
159
|
.prokodo-Headline--black {
|
|
161
|
-
color: var(--
|
|
162
|
-
}
|
|
163
|
-
.prokodo-Headline--is-highlighted {
|
|
164
|
-
background-clip: text;
|
|
165
|
-
-webkit-background-clip: text;
|
|
166
|
-
-webkit-text-fill-color: transparent;
|
|
160
|
+
color: var(--pk-palette-black);
|
|
167
161
|
}
|
|
168
162
|
.prokodo-Headline--inherit--highlighted {
|
|
169
163
|
background-image: var(--gradient-text-grey);
|
|
@@ -206,6 +200,12 @@
|
|
|
206
200
|
-webkit-text-fill-color: transparent;
|
|
207
201
|
filter: drop-shadow(var(--elevation-1--text));
|
|
208
202
|
}
|
|
203
|
+
.prokodo-Headline--info--highlighted {
|
|
204
|
+
background-image: var(--gradient-text-grey);
|
|
205
|
+
-webkit-background-clip: text;
|
|
206
|
+
background-clip: text;
|
|
207
|
+
-webkit-text-fill-color: transparent;
|
|
208
|
+
}
|
|
209
209
|
.prokodo-Headline--xs {
|
|
210
210
|
font-weight: 400;
|
|
211
211
|
font-size: 1rem;
|
|
@@ -9,13 +9,13 @@ const styles = {
|
|
|
9
9
|
"prokodo-Headline--error": "prokodo-Headline--error",
|
|
10
10
|
"prokodo-Headline--white": "prokodo-Headline--white",
|
|
11
11
|
"prokodo-Headline--black": "prokodo-Headline--black",
|
|
12
|
-
"prokodo-Headline--is-highlighted": "prokodo-Headline--is-highlighted",
|
|
13
12
|
"prokodo-Headline--inherit--highlighted": "prokodo-Headline--inherit--highlighted",
|
|
14
13
|
"prokodo-Headline--primary--highlighted": "prokodo-Headline--primary--highlighted",
|
|
15
14
|
"prokodo-Headline--secondary--highlighted": "prokodo-Headline--secondary--highlighted",
|
|
16
15
|
"prokodo-Headline--success--highlighted": "prokodo-Headline--success--highlighted",
|
|
17
16
|
"prokodo-Headline--warning--highlighted": "prokodo-Headline--warning--highlighted",
|
|
18
17
|
"prokodo-Headline--error--highlighted": "prokodo-Headline--error--highlighted",
|
|
18
|
+
"prokodo-Headline--info--highlighted": "prokodo-Headline--info--highlighted",
|
|
19
19
|
"prokodo-Headline--xs": "prokodo-Headline--xs",
|
|
20
20
|
"prokodo-Headline--sm": "prokodo-Headline--sm",
|
|
21
21
|
"prokodo-Headline--md": "prokodo-Headline--md",
|
|
@@ -138,44 +138,44 @@
|
|
|
138
138
|
--webkit-mask-position: center;
|
|
139
139
|
}
|
|
140
140
|
.prokodo-Icon--primary {
|
|
141
|
-
color: var(--color-
|
|
141
|
+
color: var(--pk-color-brand);
|
|
142
142
|
}
|
|
143
143
|
.prokodo-Icon--primary:hover {
|
|
144
|
-
color: var(--color-
|
|
144
|
+
color: var(--pk-color-brand);
|
|
145
145
|
}
|
|
146
146
|
.prokodo-Icon--secondary {
|
|
147
|
-
color: var(--color-
|
|
147
|
+
color: var(--pk-color-accent);
|
|
148
148
|
}
|
|
149
149
|
.prokodo-Icon--secondary:hover {
|
|
150
|
-
color: var(--color-
|
|
150
|
+
color: var(--pk-color-accent);
|
|
151
151
|
}
|
|
152
152
|
.prokodo-Icon--info {
|
|
153
|
-
color: var(--color-
|
|
153
|
+
color: var(--pk-color-muted);
|
|
154
154
|
}
|
|
155
155
|
.prokodo-Icon--info:hover {
|
|
156
|
-
color: var(--color-
|
|
156
|
+
color: var(--pk-color-muted);
|
|
157
157
|
}
|
|
158
158
|
.prokodo-Icon--success {
|
|
159
|
-
color: var(--color-success);
|
|
159
|
+
color: var(--pk-color-success);
|
|
160
160
|
}
|
|
161
161
|
.prokodo-Icon--success:hover {
|
|
162
|
-
color: var(--color-success);
|
|
162
|
+
color: var(--pk-color-success);
|
|
163
163
|
}
|
|
164
164
|
.prokodo-Icon--warning {
|
|
165
|
-
color: var(--color-warning);
|
|
165
|
+
color: var(--pk-color-warning);
|
|
166
166
|
}
|
|
167
167
|
.prokodo-Icon--warning:hover {
|
|
168
|
-
color: var(--color-warning);
|
|
168
|
+
color: var(--pk-color-warning);
|
|
169
169
|
}
|
|
170
170
|
.prokodo-Icon--error {
|
|
171
|
-
color: var(--color-error);
|
|
171
|
+
color: var(--pk-color-error);
|
|
172
172
|
}
|
|
173
173
|
.prokodo-Icon--error:hover {
|
|
174
|
-
color: var(--color-error);
|
|
174
|
+
color: var(--pk-color-error);
|
|
175
175
|
}
|
|
176
176
|
.prokodo-Icon--white {
|
|
177
|
-
color:
|
|
177
|
+
color: var(--pk-palette-white);
|
|
178
178
|
}
|
|
179
179
|
.prokodo-Icon--white:hover {
|
|
180
|
-
color:
|
|
180
|
+
color: var(--pk-palette-white);
|
|
181
181
|
}
|
|
@@ -138,44 +138,44 @@
|
|
|
138
138
|
--webkit-mask-position: center;
|
|
139
139
|
}
|
|
140
140
|
.prokodo-Icon--primary {
|
|
141
|
-
color: var(--color-
|
|
141
|
+
color: var(--pk-color-brand);
|
|
142
142
|
}
|
|
143
143
|
.prokodo-Icon--primary:hover {
|
|
144
|
-
color: var(--color-
|
|
144
|
+
color: var(--pk-color-brand);
|
|
145
145
|
}
|
|
146
146
|
.prokodo-Icon--secondary {
|
|
147
|
-
color: var(--color-
|
|
147
|
+
color: var(--pk-color-accent);
|
|
148
148
|
}
|
|
149
149
|
.prokodo-Icon--secondary:hover {
|
|
150
|
-
color: var(--color-
|
|
150
|
+
color: var(--pk-color-accent);
|
|
151
151
|
}
|
|
152
152
|
.prokodo-Icon--info {
|
|
153
|
-
color: var(--color-
|
|
153
|
+
color: var(--pk-color-muted);
|
|
154
154
|
}
|
|
155
155
|
.prokodo-Icon--info:hover {
|
|
156
|
-
color: var(--color-
|
|
156
|
+
color: var(--pk-color-muted);
|
|
157
157
|
}
|
|
158
158
|
.prokodo-Icon--success {
|
|
159
|
-
color: var(--color-success);
|
|
159
|
+
color: var(--pk-color-success);
|
|
160
160
|
}
|
|
161
161
|
.prokodo-Icon--success:hover {
|
|
162
|
-
color: var(--color-success);
|
|
162
|
+
color: var(--pk-color-success);
|
|
163
163
|
}
|
|
164
164
|
.prokodo-Icon--warning {
|
|
165
|
-
color: var(--color-warning);
|
|
165
|
+
color: var(--pk-color-warning);
|
|
166
166
|
}
|
|
167
167
|
.prokodo-Icon--warning:hover {
|
|
168
|
-
color: var(--color-warning);
|
|
168
|
+
color: var(--pk-color-warning);
|
|
169
169
|
}
|
|
170
170
|
.prokodo-Icon--error {
|
|
171
|
-
color: var(--color-error);
|
|
171
|
+
color: var(--pk-color-error);
|
|
172
172
|
}
|
|
173
173
|
.prokodo-Icon--error:hover {
|
|
174
|
-
color: var(--color-error);
|
|
174
|
+
color: var(--pk-color-error);
|
|
175
175
|
}
|
|
176
176
|
.prokodo-Icon--white {
|
|
177
|
-
color:
|
|
177
|
+
color: var(--pk-palette-white);
|
|
178
178
|
}
|
|
179
179
|
.prokodo-Icon--white:hover {
|
|
180
|
-
color:
|
|
180
|
+
color: var(--pk-palette-white);
|
|
181
181
|
}
|
|
@@ -132,14 +132,15 @@
|
|
|
132
132
|
width: 100%;
|
|
133
133
|
height: 100%;
|
|
134
134
|
margin: 0;
|
|
135
|
-
padding-bottom:
|
|
135
|
+
padding-bottom: var(--pk-space-lg);
|
|
136
136
|
}
|
|
137
137
|
.prokodo-Image__caption {
|
|
138
138
|
position: absolute;
|
|
139
139
|
width: 100%;
|
|
140
|
-
bottom: -
|
|
140
|
+
bottom: calc(-1 * var(--pk-space-lg));
|
|
141
141
|
left: 0;
|
|
142
|
-
opacity: 0.
|
|
142
|
+
opacity: 0.6;
|
|
143
|
+
color: var(--pk-color-fg);
|
|
143
144
|
font-weight: 400;
|
|
144
145
|
font-size: 1rem;
|
|
145
146
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -132,14 +132,15 @@
|
|
|
132
132
|
width: 100%;
|
|
133
133
|
height: 100%;
|
|
134
134
|
margin: 0;
|
|
135
|
-
padding-bottom:
|
|
135
|
+
padding-bottom: var(--pk-space-lg);
|
|
136
136
|
}
|
|
137
137
|
.prokodo-Image__caption {
|
|
138
138
|
position: absolute;
|
|
139
139
|
width: 100%;
|
|
140
|
-
bottom: -
|
|
140
|
+
bottom: calc(-1 * var(--pk-space-lg));
|
|
141
141
|
left: 0;
|
|
142
|
-
opacity: 0.
|
|
142
|
+
opacity: 0.6;
|
|
143
|
+
color: var(--pk-color-fg);
|
|
143
144
|
font-weight: 400;
|
|
144
145
|
font-size: 1rem;
|
|
145
146
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -124,23 +124,25 @@
|
|
|
124
124
|
* This mixin specifies basic text-styles for components that render a richtext
|
|
125
125
|
* content.
|
|
126
126
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
flex-direction: row !important;
|
|
127
|
+
@keyframes ImageText_borderFlowDown {
|
|
128
|
+
from {
|
|
129
|
+
background-position: 0 -100%;
|
|
130
|
+
}
|
|
131
|
+
to {
|
|
132
|
+
background-position: 0 100%;
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
@keyframes ImageText_borderFlowUp {
|
|
136
|
+
from {
|
|
137
|
+
background-position: 0 100%;
|
|
138
|
+
}
|
|
139
|
+
to {
|
|
140
|
+
background-position: 0 -100%;
|
|
142
141
|
}
|
|
143
142
|
}
|
|
143
|
+
.prokodo-ImageText__grid {
|
|
144
|
+
position: relative;
|
|
145
|
+
}
|
|
144
146
|
.prokodo-ImageText__sub__headline {
|
|
145
147
|
text-transform: uppercase;
|
|
146
148
|
}
|
|
@@ -174,7 +176,7 @@
|
|
|
174
176
|
}
|
|
175
177
|
}
|
|
176
178
|
.prokodo-ImageText__content__paragraph {
|
|
177
|
-
color: var(--
|
|
179
|
+
color: var(--pk-image-text-content-color);
|
|
178
180
|
}
|
|
179
181
|
.prokodo-ImageText__animated__container {
|
|
180
182
|
width: 100%;
|
|
@@ -189,6 +191,33 @@
|
|
|
189
191
|
align-items: center;
|
|
190
192
|
align-self: end;
|
|
191
193
|
}
|
|
194
|
+
@media screen and (min-width: 960px) {
|
|
195
|
+
.prokodo-ImageText__image {
|
|
196
|
+
order: -1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
@media screen and (min-width: 960px) {
|
|
200
|
+
.prokodo-ImageText__image--is-reverse {
|
|
201
|
+
order: 1;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
192
204
|
.prokodo-ImageText__image__src {
|
|
193
205
|
width: 100%;
|
|
206
|
+
}
|
|
207
|
+
.prokodo-ImageText__animated-border {
|
|
208
|
+
display: flex;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
align-items: stretch;
|
|
211
|
+
padding: var(--pk-space-xl) 0;
|
|
212
|
+
}
|
|
213
|
+
.prokodo-ImageText__animated-border__line {
|
|
214
|
+
width: 3px;
|
|
215
|
+
border-radius: var(--pk-radius-pill);
|
|
216
|
+
background: linear-gradient(to bottom, transparent 0%, var(--pk-color-brand) 40%, var(--pk-color-accent) 60%, transparent 100%);
|
|
217
|
+
background-size: 100% 200%;
|
|
218
|
+
background-position: 0 -100%;
|
|
219
|
+
animation: ImageText_borderFlowDown 2.5s ease-in-out infinite;
|
|
220
|
+
}
|
|
221
|
+
.prokodo-ImageText__animated-border__line--bottom-to-top {
|
|
222
|
+
animation: ImageText_borderFlowUp 2.5s ease-in-out infinite;
|
|
194
223
|
}
|
|
@@ -26,57 +26,57 @@ const ImageText = /* @__PURE__ */ __name(({
|
|
|
26
26
|
button
|
|
27
27
|
}) => {
|
|
28
28
|
const leftColumnMd = image ? animatedBorder ? 4 : 6 : animatedBorder ? 10 : 12;
|
|
29
|
-
return /* @__PURE__ */ jsx("div", { className: bem(), children: /* @__PURE__ */ jsxs(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
...subTitleProps,
|
|
45
|
-
className: bem(
|
|
46
|
-
"sub__headline",
|
|
47
|
-
void 0,
|
|
48
|
-
/* istanbul ignore next */
|
|
49
|
-
subTitleProps == null ? void 0 : subTitleProps.className
|
|
50
|
-
),
|
|
51
|
-
children: subTitle
|
|
52
|
-
}
|
|
29
|
+
return /* @__PURE__ */ jsx("div", { className: bem(), children: /* @__PURE__ */ jsxs(Grid, { className: bem("grid"), children: [
|
|
30
|
+
/* @__PURE__ */ jsx(GridRow, { className: bem("content"), md: leftColumnMd, xs: 10, children: /* @__PURE__ */ jsxs(Animated, { children: [
|
|
31
|
+
isString(subTitle) && /* @__PURE__ */ jsx(
|
|
32
|
+
Headline,
|
|
33
|
+
{
|
|
34
|
+
highlight: true,
|
|
35
|
+
color: "primary",
|
|
36
|
+
size: "sm",
|
|
37
|
+
type: "h3",
|
|
38
|
+
...subTitleProps,
|
|
39
|
+
className: bem(
|
|
40
|
+
"sub__headline",
|
|
41
|
+
void 0,
|
|
42
|
+
/* istanbul ignore next */
|
|
43
|
+
subTitleProps == null ? void 0 : subTitleProps.className
|
|
53
44
|
),
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
45
|
+
children: subTitle
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ jsx(
|
|
49
|
+
Headline,
|
|
50
|
+
{
|
|
51
|
+
size: "lg",
|
|
52
|
+
type: "h2",
|
|
53
|
+
...titleProps,
|
|
54
|
+
className: bem(
|
|
55
|
+
"headline",
|
|
56
|
+
void 0,
|
|
57
|
+
/* istanbul ignore next */
|
|
58
|
+
titleProps == null ? void 0 : titleProps.className
|
|
68
59
|
),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
60
|
+
children: title
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
isString(content) && /* @__PURE__ */ jsx(RichText, { className: bem("content__paragraph"), children: content }),
|
|
64
|
+
button && /* @__PURE__ */ jsx(
|
|
65
|
+
Button,
|
|
66
|
+
{
|
|
67
|
+
variant: "outlined",
|
|
68
|
+
...button,
|
|
69
|
+
className: bem("button", void 0, button == null ? void 0 : button.className)
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
] }) }),
|
|
73
|
+
image && /* @__PURE__ */ jsx(
|
|
74
|
+
GridRow,
|
|
75
|
+
{
|
|
76
|
+
className: bem("image", { "is-reverse": Boolean(reverse) }),
|
|
77
|
+
md: 6,
|
|
78
|
+
xs: 10,
|
|
79
|
+
children: /* @__PURE__ */ jsx(Animated, {
|
|
80
80
|
className: bem("animated__container"),
|
|
81
81
|
/* istanbul ignore next */
|
|
82
82
|
children: isString(animation) ? /* @__PURE__ */ jsx(
|
|
@@ -86,10 +86,18 @@ const ImageText = /* @__PURE__ */ __name(({
|
|
|
86
86
|
className: bem("animation")
|
|
87
87
|
}
|
|
88
88
|
) : /* @__PURE__ */ jsx(Image, { className: bem("image__src"), ...image })
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
),
|
|
92
|
+
animatedBorder && /* @__PURE__ */ jsx(GridRow, { className: bem("animated-border"), md: 2, xs: 12, children: /* @__PURE__ */ jsx(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: bem("animated-border__line", {
|
|
96
|
+
"bottom-to-top": animatedBorder.direction === "bottom-to-top"
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
) })
|
|
100
|
+
] }) });
|
|
93
101
|
}, "ImageText");
|
|
94
102
|
export {
|
|
95
103
|
ImageText
|
|
@@ -124,23 +124,25 @@
|
|
|
124
124
|
* This mixin specifies basic text-styles for components that render a richtext
|
|
125
125
|
* content.
|
|
126
126
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
flex-direction: row !important;
|
|
127
|
+
@keyframes ImageText_borderFlowDown {
|
|
128
|
+
from {
|
|
129
|
+
background-position: 0 -100%;
|
|
130
|
+
}
|
|
131
|
+
to {
|
|
132
|
+
background-position: 0 100%;
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
@keyframes ImageText_borderFlowUp {
|
|
136
|
+
from {
|
|
137
|
+
background-position: 0 100%;
|
|
138
|
+
}
|
|
139
|
+
to {
|
|
140
|
+
background-position: 0 -100%;
|
|
142
141
|
}
|
|
143
142
|
}
|
|
143
|
+
.prokodo-ImageText__grid {
|
|
144
|
+
position: relative;
|
|
145
|
+
}
|
|
144
146
|
.prokodo-ImageText__sub__headline {
|
|
145
147
|
text-transform: uppercase;
|
|
146
148
|
}
|
|
@@ -174,7 +176,7 @@
|
|
|
174
176
|
}
|
|
175
177
|
}
|
|
176
178
|
.prokodo-ImageText__content__paragraph {
|
|
177
|
-
color: var(--
|
|
179
|
+
color: var(--pk-image-text-content-color);
|
|
178
180
|
}
|
|
179
181
|
.prokodo-ImageText__animated__container {
|
|
180
182
|
width: 100%;
|
|
@@ -189,6 +191,33 @@
|
|
|
189
191
|
align-items: center;
|
|
190
192
|
align-self: end;
|
|
191
193
|
}
|
|
194
|
+
@media screen and (min-width: 960px) {
|
|
195
|
+
.prokodo-ImageText__image {
|
|
196
|
+
order: -1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
@media screen and (min-width: 960px) {
|
|
200
|
+
.prokodo-ImageText__image--is-reverse {
|
|
201
|
+
order: 1;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
192
204
|
.prokodo-ImageText__image__src {
|
|
193
205
|
width: 100%;
|
|
206
|
+
}
|
|
207
|
+
.prokodo-ImageText__animated-border {
|
|
208
|
+
display: flex;
|
|
209
|
+
justify-content: center;
|
|
210
|
+
align-items: stretch;
|
|
211
|
+
padding: var(--pk-space-xl) 0;
|
|
212
|
+
}
|
|
213
|
+
.prokodo-ImageText__animated-border__line {
|
|
214
|
+
width: 3px;
|
|
215
|
+
border-radius: var(--pk-radius-pill);
|
|
216
|
+
background: linear-gradient(to bottom, transparent 0%, var(--pk-color-brand) 40%, var(--pk-color-accent) 60%, transparent 100%);
|
|
217
|
+
background-size: 100% 200%;
|
|
218
|
+
background-position: 0 -100%;
|
|
219
|
+
animation: ImageText_borderFlowDown 2.5s ease-in-out infinite;
|
|
220
|
+
}
|
|
221
|
+
.prokodo-ImageText__animated-border__line--bottom-to-top {
|
|
222
|
+
animation: ImageText_borderFlowUp 2.5s ease-in-out infinite;
|
|
194
223
|
}
|
|
@@ -1,14 +1,23 @@
|
|
|
1
|
+
const ImageText_borderFlowDown = "ImageText_borderFlowDown";
|
|
2
|
+
const ImageText_borderFlowUp = "ImageText_borderFlowUp";
|
|
1
3
|
const styles = {
|
|
2
4
|
"prokodo-ImageText__grid": "prokodo-ImageText__grid",
|
|
3
|
-
"prokodo-ImageText__grid--is-reverse": "prokodo-ImageText__grid--is-reverse",
|
|
4
5
|
"prokodo-ImageText__sub__headline": "prokodo-ImageText__sub__headline",
|
|
5
6
|
"prokodo-ImageText__content": "prokodo-ImageText__content",
|
|
6
7
|
"prokodo-ImageText__content__paragraph": "prokodo-ImageText__content__paragraph",
|
|
7
8
|
"prokodo-ImageText__animated__container": "prokodo-ImageText__animated__container",
|
|
8
9
|
"prokodo-ImageText__animation": "prokodo-ImageText__animation",
|
|
9
10
|
"prokodo-ImageText__image": "prokodo-ImageText__image",
|
|
10
|
-
"prokodo-
|
|
11
|
+
"prokodo-ImageText__image--is-reverse": "prokodo-ImageText__image--is-reverse",
|
|
12
|
+
"prokodo-ImageText__image__src": "prokodo-ImageText__image__src",
|
|
13
|
+
"prokodo-ImageText__animated-border": "prokodo-ImageText__animated-border",
|
|
14
|
+
"prokodo-ImageText__animated-border__line": "prokodo-ImageText__animated-border__line",
|
|
15
|
+
ImageText_borderFlowDown,
|
|
16
|
+
"prokodo-ImageText__animated-border__line--bottom-to-top": "prokodo-ImageText__animated-border__line--bottom-to-top",
|
|
17
|
+
ImageText_borderFlowUp
|
|
11
18
|
};
|
|
12
19
|
export {
|
|
20
|
+
ImageText_borderFlowDown,
|
|
21
|
+
ImageText_borderFlowUp,
|
|
13
22
|
styles as default
|
|
14
23
|
};
|