@prokodo/ui 0.1.15 → 1.0.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/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
|
@@ -125,12 +125,16 @@
|
|
|
125
125
|
* content.
|
|
126
126
|
*/
|
|
127
127
|
.prokodo-Button {
|
|
128
|
-
display: inline-
|
|
129
|
-
|
|
128
|
+
display: inline-flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
gap: var(--pk-space-sm);
|
|
132
|
+
border-radius: var(--pk-button-radius);
|
|
130
133
|
border-width: 0;
|
|
131
|
-
padding:
|
|
132
|
-
background-color: var(--color-
|
|
133
|
-
|
|
134
|
+
padding: var(--pk-button-padding-y) var(--pk-button-padding-x);
|
|
135
|
+
background-color: var(--pk-button-bg, var(--pk-color-brand, #1E90FF));
|
|
136
|
+
color: var(--pk-button-fg, var(--pk-color-fg, #111));
|
|
137
|
+
box-shadow: var(--pk-button-shadow);
|
|
134
138
|
cursor: pointer;
|
|
135
139
|
background: var(--gradient-background-inherit);
|
|
136
140
|
font-weight: 400 !important;
|
|
@@ -143,9 +147,6 @@
|
|
|
143
147
|
text-align: left !important;
|
|
144
148
|
text-decoration: none !important;
|
|
145
149
|
}
|
|
146
|
-
html[data-theme=dark] .prokodo-Button {
|
|
147
|
-
background-color: var(--color-grey-100);
|
|
148
|
-
}
|
|
149
150
|
.prokodo-Button:hover {
|
|
150
151
|
box-shadow: none;
|
|
151
152
|
}
|
|
@@ -153,126 +154,117 @@ html[data-theme=dark] .prokodo-Button {
|
|
|
153
154
|
outline: 3px solid #1E90FF;
|
|
154
155
|
outline-offset: 4px;
|
|
155
156
|
border-radius: 1.5rem;
|
|
156
|
-
border-radius:
|
|
157
|
-
}
|
|
158
|
-
.prokodo-Button--has-bg-primary, .prokodo-Button--has-bg-secondary, .prokodo-Button--has-bg-success, .prokodo-Button--has-bg-warning {
|
|
159
|
-
color: #000000;
|
|
157
|
+
border-radius: var(--pk-button-radius);
|
|
160
158
|
}
|
|
161
159
|
.prokodo-Button--has-bg-info, .prokodo-Button--has-bg-error {
|
|
162
|
-
color:
|
|
160
|
+
color: var(--pk-palette-white);
|
|
163
161
|
}
|
|
164
162
|
.prokodo-Button--has-bg-primary {
|
|
165
163
|
background: var(--gradient-background-primary);
|
|
166
|
-
color: #000000;
|
|
167
164
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
html[data-theme=dark] .prokodo-Button--has-bg-inherit {
|
|
172
|
-
color: var(--color-grey-900);
|
|
173
|
-
background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
|
|
174
|
-
background-color: var(--color-grey-300);
|
|
165
|
+
.prokodo-Button--has-bg-inherit {
|
|
166
|
+
background: linear-gradient(112deg, var(--pk-color-surface-raised) 0%, var(--pk-color-border) 100%);
|
|
167
|
+
background-color: var(--pk-color-surface-raised);
|
|
175
168
|
}
|
|
176
169
|
.prokodo-Button--has-bg-secondary {
|
|
177
170
|
background: var(--gradient-background-secondary);
|
|
178
|
-
color: #000000;
|
|
179
|
-
}
|
|
180
|
-
html[data-theme=dark] .prokodo-Button--has-bg-secondary {
|
|
181
|
-
color: #FFFFFF;
|
|
182
171
|
}
|
|
183
|
-
.prokodo-Button--
|
|
172
|
+
.prokodo-Button--has-bg-info {
|
|
184
173
|
background: var(--gradient-background-info);
|
|
185
|
-
color:
|
|
186
|
-
}
|
|
187
|
-
html[data-theme=dark] .prokodo-Button--is-disabled, html[data-theme=dark] .prokodo-Button--has-bg-info {
|
|
188
|
-
color: var(--color-grey-700);
|
|
174
|
+
color: var(--pk-palette-white);
|
|
189
175
|
}
|
|
190
176
|
.prokodo-Button--has-bg-success {
|
|
191
177
|
background: var(--gradient-background-success);
|
|
192
|
-
color: #000000;
|
|
193
|
-
}
|
|
194
|
-
html[data-theme=dark] .prokodo-Button--has-bg-success {
|
|
195
|
-
color: #000000;
|
|
196
178
|
}
|
|
197
179
|
.prokodo-Button--has-bg-warning {
|
|
198
180
|
background: var(--gradient-background-warning);
|
|
199
|
-
color: #000000;
|
|
200
|
-
}
|
|
201
|
-
html[data-theme=dark] .prokodo-Button--has-bg-warning {
|
|
202
|
-
color: #000000;
|
|
203
181
|
}
|
|
204
182
|
.prokodo-Button--has-bg-error {
|
|
205
183
|
background: var(--gradient-background-error);
|
|
206
|
-
color:
|
|
184
|
+
color: var(--pk-palette-white);
|
|
185
|
+
}
|
|
186
|
+
.prokodo-Button--has-bg-primary, .prokodo-Button--has-text-primary, .prokodo-Button--has-variant-outlined--has-outline-primary {
|
|
187
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-brand) 18%, transparent);
|
|
207
188
|
}
|
|
208
|
-
|
|
209
|
-
|
|
189
|
+
.prokodo-Button--has-bg-secondary, .prokodo-Button--has-text-secondary, .prokodo-Button--has-variant-outlined--has-outline-secondary {
|
|
190
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-accent) 18%, transparent);
|
|
191
|
+
}
|
|
192
|
+
.prokodo-Button--has-bg-success, .prokodo-Button--has-text-success, .prokodo-Button--has-variant-outlined--has-outline-success {
|
|
193
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-success) 18%, transparent);
|
|
194
|
+
}
|
|
195
|
+
.prokodo-Button--has-bg-warning, .prokodo-Button--has-text-warning, .prokodo-Button--has-variant-outlined--has-outline-warning {
|
|
196
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-warning) 18%, transparent);
|
|
197
|
+
}
|
|
198
|
+
.prokodo-Button--has-bg-error, .prokodo-Button--has-text-error, .prokodo-Button--has-variant-outlined--has-outline-error {
|
|
199
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-error) 18%, transparent);
|
|
200
|
+
}
|
|
201
|
+
.prokodo-Button--has-bg-info, .prokodo-Button--has-text-info, .prokodo-Button--has-variant-outlined--has-outline-info, .prokodo-Button--has-bg-inherit, .prokodo-Button--has-text-inherit, .prokodo-Button--has-variant-outlined--has-outline-inherit {
|
|
202
|
+
box-shadow: 0 4px 20px color-mix(in srgb, var(--pk-color-fg) 10%, transparent);
|
|
210
203
|
}
|
|
211
204
|
.prokodo-Button--has-text-inherit, .prokodo-Button--has-text-primary, .prokodo-Button--has-text-secondary, .prokodo-Button--has-text-info, .prokodo-Button--has-text-success, .prokodo-Button--has-text-warning, .prokodo-Button--has-text-error {
|
|
212
205
|
background: none;
|
|
213
|
-
background-color:
|
|
214
|
-
padding:
|
|
215
|
-
transition: background-color
|
|
206
|
+
background-color: color-mix(in srgb, currentColor 8%, transparent);
|
|
207
|
+
padding: var(--pk-space-md) var(--pk-space-lg);
|
|
208
|
+
transition: background-color var(--pk-timing-normal) ease-in-out, color var(--pk-timing-fast) ease-in-out;
|
|
216
209
|
}
|
|
217
210
|
.prokodo-Button--has-text-inherit:hover, .prokodo-Button--has-text-primary:hover, .prokodo-Button--has-text-secondary:hover, .prokodo-Button--has-text-info:hover, .prokodo-Button--has-text-success:hover, .prokodo-Button--has-text-warning:hover, .prokodo-Button--has-text-error:hover {
|
|
218
|
-
color:
|
|
211
|
+
color: var(--pk-palette-white);
|
|
219
212
|
}
|
|
220
213
|
.prokodo-Button--has-text-inherit {
|
|
221
|
-
color: var(--color-
|
|
214
|
+
color: var(--pk-color-fg);
|
|
222
215
|
}
|
|
223
216
|
.prokodo-Button--has-text-inherit:hover {
|
|
224
|
-
background-color: var(--color-
|
|
217
|
+
background-color: var(--pk-color-muted);
|
|
225
218
|
}
|
|
226
219
|
.prokodo-Button--has-text-primary {
|
|
227
|
-
color: var(--color-
|
|
220
|
+
color: var(--pk-color-brand);
|
|
228
221
|
}
|
|
229
222
|
.prokodo-Button--has-text-primary:hover {
|
|
230
|
-
background-color: var(--color-
|
|
223
|
+
background-color: var(--pk-color-brand);
|
|
231
224
|
}
|
|
232
225
|
.prokodo-Button--has-text-secondary {
|
|
233
|
-
color: var(--color-
|
|
226
|
+
color: var(--pk-color-accent);
|
|
234
227
|
}
|
|
235
228
|
.prokodo-Button--has-text-secondary:hover {
|
|
236
|
-
background-color: var(--color-
|
|
229
|
+
background-color: var(--pk-color-accent);
|
|
230
|
+
color: var(--pk-palette-black);
|
|
237
231
|
}
|
|
238
|
-
.prokodo-Button--
|
|
239
|
-
color: var(--color-
|
|
232
|
+
.prokodo-Button--has-text-info {
|
|
233
|
+
color: var(--pk-color-fg);
|
|
240
234
|
}
|
|
241
|
-
.prokodo-Button--
|
|
242
|
-
background-color: var(--color-
|
|
235
|
+
.prokodo-Button--has-text-info:hover {
|
|
236
|
+
background-color: var(--pk-color-muted);
|
|
243
237
|
}
|
|
244
238
|
.prokodo-Button--has-text-success {
|
|
245
|
-
color: var(--color-success);
|
|
239
|
+
color: var(--pk-color-success);
|
|
246
240
|
}
|
|
247
241
|
.prokodo-Button--has-text-success:hover {
|
|
248
|
-
background-color: var(--color-success);
|
|
242
|
+
background-color: var(--pk-color-success);
|
|
249
243
|
}
|
|
250
244
|
.prokodo-Button--has-text-warning {
|
|
251
|
-
color: var(--color-warning);
|
|
245
|
+
color: var(--pk-color-warning);
|
|
252
246
|
}
|
|
253
247
|
.prokodo-Button--has-text-warning:hover {
|
|
254
|
-
background-color: var(--color-warning);
|
|
248
|
+
background-color: var(--pk-color-warning);
|
|
249
|
+
color: var(--pk-palette-black);
|
|
255
250
|
}
|
|
256
251
|
.prokodo-Button--has-text-error {
|
|
257
|
-
color: var(--color-error);
|
|
252
|
+
color: var(--pk-color-error);
|
|
258
253
|
}
|
|
259
254
|
.prokodo-Button--has-text-error:hover {
|
|
260
|
-
background-color: var(--color-error);
|
|
255
|
+
background-color: var(--pk-color-error);
|
|
261
256
|
}
|
|
262
257
|
.prokodo-Button--has-variant-outlined {
|
|
263
258
|
position: relative;
|
|
264
259
|
background: none;
|
|
265
|
-
color: var(--color-
|
|
260
|
+
color: var(--pk-color-fg);
|
|
266
261
|
}
|
|
267
262
|
.prokodo-Button--has-variant-outlined::before {
|
|
268
263
|
content: "";
|
|
269
264
|
position: absolute;
|
|
270
|
-
|
|
271
|
-
left: 0;
|
|
272
|
-
right: 0;
|
|
273
|
-
bottom: 0;
|
|
265
|
+
inset: 0;
|
|
274
266
|
border-radius: inherit;
|
|
275
|
-
padding:
|
|
267
|
+
padding: var(--pk-border-width);
|
|
276
268
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
277
269
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
278
270
|
-webkit-mask-composite: xor;
|
|
@@ -280,124 +272,86 @@ html[data-theme=dark] .prokodo-Button--has-bg-error {
|
|
|
280
272
|
z-index: 0;
|
|
281
273
|
background: var(--gradient-border-4);
|
|
282
274
|
}
|
|
283
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined {
|
|
284
|
-
background: none;
|
|
285
|
-
}
|
|
286
275
|
.prokodo-Button--has-variant-outlined--has-outline-inherit {
|
|
287
|
-
color: var(--color-
|
|
276
|
+
color: var(--pk-color-fg);
|
|
288
277
|
}
|
|
289
278
|
.prokodo-Button--has-variant-outlined--has-outline-inherit::before {
|
|
290
279
|
background: var(--gradient-border-8);
|
|
291
280
|
}
|
|
292
281
|
.prokodo-Button--has-variant-outlined--has-outline-primary {
|
|
293
|
-
color: var(--color-
|
|
282
|
+
color: var(--pk-color-fg);
|
|
294
283
|
}
|
|
295
284
|
.prokodo-Button--has-variant-outlined--has-outline-primary::before {
|
|
296
285
|
background: var(--gradient-border-4);
|
|
297
286
|
}
|
|
298
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-primary {
|
|
299
|
-
color: var(--color-primary-500);
|
|
300
|
-
}
|
|
301
287
|
.prokodo-Button--has-variant-outlined--has-outline-secondary {
|
|
302
|
-
color: var(--color-
|
|
288
|
+
color: var(--pk-color-fg);
|
|
303
289
|
}
|
|
304
290
|
.prokodo-Button--has-variant-outlined--has-outline-secondary::before {
|
|
305
291
|
background: var(--gradient-border-2);
|
|
306
292
|
}
|
|
307
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-secondary {
|
|
308
|
-
color: var(--color-secondary-500);
|
|
309
|
-
}
|
|
310
293
|
.prokodo-Button--has-variant-outlined--has-outline-info {
|
|
311
|
-
color: var(--color-
|
|
294
|
+
color: var(--pk-color-fg);
|
|
312
295
|
}
|
|
313
296
|
.prokodo-Button--has-variant-outlined--has-outline-info::before {
|
|
314
297
|
background: var(--gradient-border-info);
|
|
315
298
|
}
|
|
316
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-info {
|
|
317
|
-
color: #FFFFFF;
|
|
318
|
-
}
|
|
319
299
|
.prokodo-Button--has-variant-outlined--has-outline-success {
|
|
320
|
-
color: var(--color-
|
|
300
|
+
color: var(--pk-color-fg);
|
|
321
301
|
}
|
|
322
302
|
.prokodo-Button--has-variant-outlined--has-outline-success::before {
|
|
323
303
|
background: var(--gradient-border-success);
|
|
324
304
|
}
|
|
325
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-success {
|
|
326
|
-
color: var(--color-success);
|
|
327
|
-
}
|
|
328
305
|
.prokodo-Button--has-variant-outlined--has-outline-warning {
|
|
329
|
-
color: var(--color-
|
|
306
|
+
color: var(--pk-color-fg);
|
|
330
307
|
}
|
|
331
308
|
.prokodo-Button--has-variant-outlined--has-outline-warning::before {
|
|
332
309
|
background: var(--gradient-border-warning);
|
|
333
310
|
}
|
|
334
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-warning {
|
|
335
|
-
color: var(--color-warning);
|
|
336
|
-
}
|
|
337
311
|
.prokodo-Button--has-variant-outlined--has-outline-error {
|
|
338
|
-
color: var(--color-
|
|
312
|
+
color: var(--pk-color-fg);
|
|
339
313
|
}
|
|
340
314
|
.prokodo-Button--has-variant-outlined--has-outline-error::before {
|
|
341
315
|
background: var(--gradient-border-error);
|
|
342
316
|
}
|
|
343
|
-
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-error {
|
|
344
|
-
color: var(--color-error);
|
|
345
|
-
}
|
|
346
|
-
.prokodo-Button--has-image, .prokodo-Button--has-icon {
|
|
347
|
-
display: flex;
|
|
348
|
-
align-items: center;
|
|
349
|
-
}
|
|
350
317
|
.prokodo-Button--icon-only {
|
|
351
|
-
display: flex;
|
|
352
|
-
justify-content: center;
|
|
353
|
-
align-items: center;
|
|
354
318
|
border-radius: 10000px;
|
|
355
|
-
padding:
|
|
319
|
+
padding: var(--pk-space-md);
|
|
356
320
|
}
|
|
357
321
|
.prokodo-Button--has-fullWidth {
|
|
358
|
-
display: flex;
|
|
359
|
-
justify-content: center;
|
|
360
322
|
width: 100%;
|
|
361
323
|
}
|
|
324
|
+
.prokodo-Button--is-loading {
|
|
325
|
+
cursor: progress;
|
|
326
|
+
pointer-events: none;
|
|
327
|
+
}
|
|
362
328
|
.prokodo-Button--is-disabled {
|
|
363
329
|
cursor: default;
|
|
364
330
|
box-shadow: none;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
background-color: var(--color-grey-100);
|
|
368
|
-
}
|
|
369
|
-
.prokodo-Button--is-disabled::before {
|
|
370
|
-
background: var(--gradient-border-8);
|
|
371
|
-
}
|
|
372
|
-
.prokodo-Button--is-disabled:hover {
|
|
373
|
-
color: var(--color-grey-500);
|
|
374
|
-
background: var(--color-grey-100);
|
|
375
|
-
background-color: var(--color-grey-100);
|
|
376
|
-
}
|
|
377
|
-
html[data-theme=dark] .prokodo-Button--is-disabled {
|
|
378
|
-
color: var(--color-grey-600);
|
|
379
|
-
background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
|
|
380
|
-
background-color: var(--color-grey-300);
|
|
381
|
-
}
|
|
382
|
-
html[data-theme=dark] .prokodo-Button--is-disabled::before {
|
|
383
|
-
background: linear-gradient(112deg, var(--color-grey-300) 0%, var(--color-grey-500) 100%);
|
|
331
|
+
opacity: 0.45;
|
|
332
|
+
pointer-events: none;
|
|
384
333
|
}
|
|
385
334
|
.prokodo-Button__title {
|
|
386
335
|
display: flex;
|
|
387
336
|
flex-direction: row;
|
|
388
337
|
align-items: center;
|
|
338
|
+
gap: var(--pk-space-xs);
|
|
389
339
|
}
|
|
390
340
|
.prokodo-Button__image {
|
|
391
|
-
|
|
341
|
+
display: flex;
|
|
342
|
+
align-items: center;
|
|
343
|
+
flex-shrink: 0;
|
|
392
344
|
}
|
|
393
345
|
.prokodo-Button__icon {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
margin-right: 0;
|
|
346
|
+
display: flex;
|
|
347
|
+
align-items: center;
|
|
348
|
+
flex-shrink: 0;
|
|
398
349
|
}
|
|
399
350
|
.prokodo-Button__link {
|
|
400
|
-
display:
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
justify-content: center;
|
|
354
|
+
gap: inherit;
|
|
401
355
|
width: 100%;
|
|
402
356
|
color: inherit;
|
|
403
357
|
font-weight: 400;
|
|
@@ -410,9 +364,6 @@ html[data-theme=dark] .prokodo-Button--is-disabled::before {
|
|
|
410
364
|
text-align: left;
|
|
411
365
|
text-decoration: none;
|
|
412
366
|
}
|
|
413
|
-
.prokodo-Button__link--icon-only {
|
|
414
|
-
display: contents;
|
|
415
|
-
}
|
|
416
367
|
.prokodo-Button__link:hover {
|
|
417
368
|
text-decoration: none;
|
|
418
369
|
}
|
|
@@ -420,9 +371,6 @@ html[data-theme=dark] .prokodo-Button--is-disabled::before {
|
|
|
420
371
|
display: flex;
|
|
421
372
|
justify-content: center;
|
|
422
373
|
align-items: center;
|
|
423
|
-
|
|
374
|
+
gap: var(--pk-space-sm);
|
|
424
375
|
width: 100%;
|
|
425
|
-
}
|
|
426
|
-
.prokodo-Button__content--icon-only {
|
|
427
|
-
border-radius: 2000rem;
|
|
428
376
|
}
|
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
const styles = {
|
|
2
2
|
"prokodo-Button": "prokodo-Button",
|
|
3
|
+
"prokodo-Button--has-bg-info": "prokodo-Button--has-bg-info",
|
|
4
|
+
"prokodo-Button--has-bg-error": "prokodo-Button--has-bg-error",
|
|
3
5
|
"prokodo-Button--has-bg-primary": "prokodo-Button--has-bg-primary",
|
|
6
|
+
"prokodo-Button--has-bg-inherit": "prokodo-Button--has-bg-inherit",
|
|
4
7
|
"prokodo-Button--has-bg-secondary": "prokodo-Button--has-bg-secondary",
|
|
5
8
|
"prokodo-Button--has-bg-success": "prokodo-Button--has-bg-success",
|
|
6
9
|
"prokodo-Button--has-bg-warning": "prokodo-Button--has-bg-warning",
|
|
7
|
-
"prokodo-Button--has-bg-info": "prokodo-Button--has-bg-info",
|
|
8
|
-
"prokodo-Button--has-bg-error": "prokodo-Button--has-bg-error",
|
|
9
|
-
"prokodo-Button--has-bg-inherit": "prokodo-Button--has-bg-inherit",
|
|
10
|
-
"prokodo-Button--is-disabled": "prokodo-Button--is-disabled",
|
|
11
|
-
"prokodo-Button--has-text-inherit": "prokodo-Button--has-text-inherit",
|
|
12
10
|
"prokodo-Button--has-text-primary": "prokodo-Button--has-text-primary",
|
|
13
|
-
"prokodo-Button--has-text-secondary": "prokodo-Button--has-text-secondary",
|
|
14
|
-
"prokodo-Button--has-text-info": "prokodo-Button--has-text-info",
|
|
15
|
-
"prokodo-Button--has-text-success": "prokodo-Button--has-text-success",
|
|
16
|
-
"prokodo-Button--has-text-warning": "prokodo-Button--has-text-warning",
|
|
17
|
-
"prokodo-Button--has-text-error": "prokodo-Button--has-text-error",
|
|
18
|
-
"prokodo-Button--has-variant-outlined": "prokodo-Button--has-variant-outlined",
|
|
19
|
-
"prokodo-Button--has-variant-outlined--has-outline-inherit": "prokodo-Button--has-variant-outlined--has-outline-inherit",
|
|
20
11
|
"prokodo-Button--has-variant-outlined--has-outline-primary": "prokodo-Button--has-variant-outlined--has-outline-primary",
|
|
12
|
+
"prokodo-Button--has-text-secondary": "prokodo-Button--has-text-secondary",
|
|
21
13
|
"prokodo-Button--has-variant-outlined--has-outline-secondary": "prokodo-Button--has-variant-outlined--has-outline-secondary",
|
|
22
|
-
"prokodo-Button--has-
|
|
14
|
+
"prokodo-Button--has-text-success": "prokodo-Button--has-text-success",
|
|
23
15
|
"prokodo-Button--has-variant-outlined--has-outline-success": "prokodo-Button--has-variant-outlined--has-outline-success",
|
|
16
|
+
"prokodo-Button--has-text-warning": "prokodo-Button--has-text-warning",
|
|
24
17
|
"prokodo-Button--has-variant-outlined--has-outline-warning": "prokodo-Button--has-variant-outlined--has-outline-warning",
|
|
18
|
+
"prokodo-Button--has-text-error": "prokodo-Button--has-text-error",
|
|
25
19
|
"prokodo-Button--has-variant-outlined--has-outline-error": "prokodo-Button--has-variant-outlined--has-outline-error",
|
|
26
|
-
"prokodo-Button--has-
|
|
27
|
-
"prokodo-Button--has-
|
|
20
|
+
"prokodo-Button--has-text-info": "prokodo-Button--has-text-info",
|
|
21
|
+
"prokodo-Button--has-variant-outlined--has-outline-info": "prokodo-Button--has-variant-outlined--has-outline-info",
|
|
22
|
+
"prokodo-Button--has-text-inherit": "prokodo-Button--has-text-inherit",
|
|
23
|
+
"prokodo-Button--has-variant-outlined--has-outline-inherit": "prokodo-Button--has-variant-outlined--has-outline-inherit",
|
|
24
|
+
"prokodo-Button--has-variant-outlined": "prokodo-Button--has-variant-outlined",
|
|
28
25
|
"prokodo-Button--icon-only": "prokodo-Button--icon-only",
|
|
29
26
|
"prokodo-Button--has-fullWidth": "prokodo-Button--has-fullWidth",
|
|
27
|
+
"prokodo-Button--is-loading": "prokodo-Button--is-loading",
|
|
28
|
+
"prokodo-Button--is-disabled": "prokodo-Button--is-disabled",
|
|
30
29
|
"prokodo-Button__title": "prokodo-Button__title",
|
|
31
30
|
"prokodo-Button__image": "prokodo-Button__image",
|
|
32
31
|
"prokodo-Button__icon": "prokodo-Button__icon",
|
|
33
|
-
"prokodo-Button__icon--icon-only": "prokodo-Button__icon--icon-only",
|
|
34
32
|
"prokodo-Button__link": "prokodo-Button__link",
|
|
35
|
-
"prokodo-
|
|
36
|
-
"prokodo-Button__content": "prokodo-Button__content",
|
|
37
|
-
"prokodo-Button__content--icon-only": "prokodo-Button__content--icon-only"
|
|
33
|
+
"prokodo-Button__content": "prokodo-Button__content"
|
|
38
34
|
};
|
|
39
35
|
export {
|
|
40
36
|
styles as default
|
|
@@ -6,6 +6,7 @@ import { isString } from "../../helpers/validations.js";
|
|
|
6
6
|
import styles from "./Button.module.scss.js";
|
|
7
7
|
import { Image } from "../image/Image.js";
|
|
8
8
|
import { Icon } from "../icon/Icon.js";
|
|
9
|
+
import { Loading } from "../loading/Loading.js";
|
|
9
10
|
const bem = create(styles, "Button");
|
|
10
11
|
const ButtonView = /* @__PURE__ */ __name(({
|
|
11
12
|
buttonRef,
|
|
@@ -27,8 +28,9 @@ const ButtonView = /* @__PURE__ */ __name(({
|
|
|
27
28
|
const iconName = iconProps == null ? void 0 : iconProps.name;
|
|
28
29
|
const iconMod = { "icon-only": isIconOnly };
|
|
29
30
|
const { title } = rest;
|
|
31
|
+
const spinnerColor = variant !== "contained" ? color : void 0;
|
|
30
32
|
const inner = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
31
|
-
(image == null ? void 0 : image.src) !== void 0 && /* istanbul ignore next */
|
|
33
|
+
!loading && (image == null ? void 0 : image.src) !== void 0 && /* istanbul ignore next */
|
|
32
34
|
/* @__PURE__ */ jsx(
|
|
33
35
|
Image,
|
|
34
36
|
{
|
|
@@ -38,7 +40,8 @@ const ButtonView = /* @__PURE__ */ __name(({
|
|
|
38
40
|
className: bem("image", void 0, image == null ? void 0 : image.className)
|
|
39
41
|
}
|
|
40
42
|
),
|
|
41
|
-
iconName && /* @__PURE__ */ jsx(Icon, { className: bem("icon", iconMod), ...iconProps }),
|
|
43
|
+
!loading && iconName && /* @__PURE__ */ jsx(Icon, { className: bem("icon", iconMod), ...iconProps }),
|
|
44
|
+
loading && /* @__PURE__ */ jsx(Loading, { ariaLabel: "Loading", color: spinnerColor, size: "xs" }),
|
|
42
45
|
title
|
|
43
46
|
] });
|
|
44
47
|
const variantNode = isOutlined ? /* @__PURE__ */ jsx("div", { className: bem("content", iconMod, contentClassName), children: inner }) : inner;
|
|
@@ -57,6 +60,7 @@ const ButtonView = /* @__PURE__ */ __name(({
|
|
|
57
60
|
[`has-variant-${variant}--has-outline-${color}`]: variant === "outlined",
|
|
58
61
|
[`has-text-${color}`]: variant === "text",
|
|
59
62
|
"is-disabled": Boolean(disabled),
|
|
63
|
+
"is-loading": Boolean(loading),
|
|
60
64
|
...iconMod
|
|
61
65
|
},
|
|
62
66
|
className
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* stylelint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* Calculates a rem-based value by a given pixel size.
|
|
4
|
+
*/
|
|
5
|
+
/* stylelint-disable */
|
|
6
|
+
/**
|
|
7
|
+
* Applies flex-column and gap.
|
|
8
|
+
*/
|
|
9
|
+
/*
|
|
10
|
+
As example (light, primary)
|
|
11
|
+
See defined modes in designsystem/config/gradients
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Mixin that renders a media query that target screens that are larger than the
|
|
15
|
+
* given size.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Mixin that renders a media query that target screens that are smaller than the
|
|
19
|
+
* given size.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Mixin that renders a media query that target screens in between the given range.
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Mixin that renders a media query that target screens that have height larger than the
|
|
26
|
+
* given size.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Mixin that renders a media query that target screens that have height smaller than the
|
|
30
|
+
* given size.
|
|
31
|
+
*/
|
|
32
|
+
/* stylelint-disable */
|
|
33
|
+
/* M3/Elevation Light/1 */
|
|
34
|
+
/* M3/Elevation Light/2 */
|
|
35
|
+
/* M3/Elevation/5 */
|
|
36
|
+
/* M3/Elevation/1 Text */
|
|
37
|
+
/* Inner elevations */
|
|
38
|
+
/* stylelint-disable */
|
|
39
|
+
/**
|
|
40
|
+
* Visually hides an element but not removes them for screen readers.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* The inverse of the `hidden` helper to reset a previously hidden element to be
|
|
44
|
+
* visible for users.
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Creates a selector for :hover effects depending on the current user input
|
|
48
|
+
* device. If the input device is a mouse, this hover effect will appear.
|
|
49
|
+
* Keyboard and touch inputs are ignored.
|
|
50
|
+
*
|
|
51
|
+
* Example usage:
|
|
52
|
+
* .link {
|
|
53
|
+
* color: blue;
|
|
54
|
+
*
|
|
55
|
+
* @include when-hovered() {
|
|
56
|
+
* color: green;
|
|
57
|
+
* }
|
|
58
|
+
* }
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Creates a selector for :active effects depending on the current user input
|
|
62
|
+
* device. The state applies when the input device is a mouse or keyboard. Touch
|
|
63
|
+
* devices will not show a pressed state.
|
|
64
|
+
*
|
|
65
|
+
* Example usage:
|
|
66
|
+
* .link {
|
|
67
|
+
* box-shadow: none;
|
|
68
|
+
*
|
|
69
|
+
* @include when-pressed() {
|
|
70
|
+
* box-shadow: inset 0 2px 4px grey;
|
|
71
|
+
* }
|
|
72
|
+
* }
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Creates a selector for :focus effects depending on the current user input
|
|
76
|
+
* device. When the user navigates using a keyboard, the focus effect defined in
|
|
77
|
+
* here is applied. For other input devices they don't show up.
|
|
78
|
+
*
|
|
79
|
+
* Example usage:
|
|
80
|
+
* .link {
|
|
81
|
+
* text-decoration: none;
|
|
82
|
+
*
|
|
83
|
+
* @include when-focused() {
|
|
84
|
+
* text-decoration: underline;
|
|
85
|
+
* }
|
|
86
|
+
* }
|
|
87
|
+
*/
|
|
88
|
+
/**
|
|
89
|
+
* Creates a selector for :focus-within effects depending on the current user
|
|
90
|
+
* input device. When the user navigates using a keyboard, the focus effect
|
|
91
|
+
* defined in here is applied. For other input devices they don't show up.
|
|
92
|
+
*
|
|
93
|
+
* Example usage:
|
|
94
|
+
* .link {
|
|
95
|
+
* img {
|
|
96
|
+
* opacity: 0.75;
|
|
97
|
+
*
|
|
98
|
+
* @include when-focused-within() {
|
|
99
|
+
* opacity: 1;
|
|
100
|
+
* }
|
|
101
|
+
* }
|
|
102
|
+
* }
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* Wrapper for media query "prefers-reduced-motion".
|
|
106
|
+
*/
|
|
107
|
+
/**
|
|
108
|
+
* This helper hides the outline but still makes it visible for
|
|
109
|
+
* Windows high-contrast users. Use this instead of `outline: 0;`.
|
|
110
|
+
*/
|
|
111
|
+
/**
|
|
112
|
+
* This helper hides the outline but still makes it visible for
|
|
113
|
+
* Windows high-contrast users. Use this instead of `outline: 0;`.
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* Renders an alternative, but application consistent focus-ring.
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* Specifies the outer layout for all contents across breakpoints. Apply this
|
|
120
|
+
* mixin to the container element, to center the contents on the screen within
|
|
121
|
+
* the layout offsets.
|
|
122
|
+
*/
|
|
123
|
+
/**
|
|
124
|
+
* This mixin specifies basic text-styles for components that render a richtext
|
|
125
|
+
* content.
|
|
126
|
+
*/
|
|
127
|
+
.prokodo-Calendly__widget {
|
|
128
|
+
display: block;
|
|
129
|
+
min-width: 320px;
|
|
130
|
+
height: var(--pk-calendly-height, 700px);
|
|
131
|
+
width: 100%;
|
|
132
|
+
}
|