@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
|
@@ -134,32 +134,71 @@
|
|
|
134
134
|
width: calc(100% - 4px);
|
|
135
135
|
padding: 0;
|
|
136
136
|
overflow: hidden;
|
|
137
|
-
background-color: var(--
|
|
137
|
+
background-color: var(--pk-rte-bg);
|
|
138
138
|
}
|
|
139
139
|
.prokodo-RTE__surface::after {
|
|
140
140
|
content: none;
|
|
141
141
|
}
|
|
142
|
-
.prokodo-
|
|
142
|
+
.prokodo-RTE__surface .ql-toolbar,
|
|
143
|
+
.prokodo-RTE__surface .ql-container {
|
|
143
144
|
border: none !important;
|
|
144
|
-
|
|
145
|
+
}
|
|
146
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow button:hover .ql-stroke,
|
|
147
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow button.ql-active .ql-stroke {
|
|
148
|
+
stroke: var(--pk-rte-accent) !important;
|
|
149
|
+
}
|
|
150
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow button:hover .ql-fill,
|
|
151
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow button.ql-active .ql-fill {
|
|
152
|
+
fill: var(--pk-rte-accent) !important;
|
|
153
|
+
}
|
|
154
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow .ql-picker-label:hover,
|
|
155
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {
|
|
156
|
+
color: var(--pk-rte-accent) !important;
|
|
157
|
+
}
|
|
158
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,
|
|
159
|
+
.prokodo-RTE__surface .ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {
|
|
160
|
+
stroke: var(--pk-rte-accent) !important;
|
|
161
|
+
}
|
|
162
|
+
.prokodo-RTE__surface .ql-toolbar .ql-picker-options {
|
|
163
|
+
background: var(--pk-rte-picker-bg) !important;
|
|
164
|
+
border: var(--pk-border-width) solid color-mix(in srgb, var(--pk-rte-accent) 20%, var(--pk-color-border)) !important;
|
|
165
|
+
border-radius: var(--pk-rte-radius-lg) !important;
|
|
166
|
+
box-shadow: var(--pk-rte-picker-shadow) !important;
|
|
167
|
+
padding: var(--pk-space-xs) !important;
|
|
168
|
+
margin-top: var(--pk-space-xs) !important;
|
|
169
|
+
min-width: 200px !important;
|
|
170
|
+
}
|
|
171
|
+
.prokodo-RTE__toolbar {
|
|
172
|
+
border: none;
|
|
173
|
+
background-color: var(--pk-rte-toolbar-bg);
|
|
145
174
|
}
|
|
146
175
|
.prokodo-RTE__toolbar__icon__part__stroke, .prokodo-RTE__toolbar__icon__part__stroke__miter {
|
|
147
|
-
stroke: var(--
|
|
148
|
-
opacity:
|
|
176
|
+
stroke: var(--pk-rte-icon-color);
|
|
177
|
+
opacity: var(--pk-rte-icon-opacity);
|
|
178
|
+
transition: stroke var(--pk-timing-fast) ease, opacity var(--pk-timing-fast) ease;
|
|
149
179
|
}
|
|
150
180
|
.prokodo-RTE__toolbar__icon__part__fill {
|
|
151
|
-
fill: var(--
|
|
152
|
-
opacity:
|
|
181
|
+
fill: var(--pk-rte-icon-color);
|
|
182
|
+
opacity: var(--pk-rte-icon-opacity);
|
|
183
|
+
transition: fill var(--pk-timing-fast) ease, opacity var(--pk-timing-fast) ease;
|
|
184
|
+
}
|
|
185
|
+
.prokodo-RTE__toolbar__button:hover .prokodo-RTE__toolbar__icon__part__stroke, .prokodo-RTE__toolbar__button:hover .prokodo-RTE__toolbar__icon__part__stroke__miter, .prokodo-RTE__toolbar__button.ql-active .prokodo-RTE__toolbar__icon__part__stroke, .prokodo-RTE__toolbar__button.ql-active .prokodo-RTE__toolbar__icon__part__stroke__miter {
|
|
186
|
+
stroke: var(--pk-rte-accent);
|
|
187
|
+
opacity: 1;
|
|
188
|
+
}
|
|
189
|
+
.prokodo-RTE__toolbar__button:hover .prokodo-RTE__toolbar__icon__part__fill, .prokodo-RTE__toolbar__button.ql-active .prokodo-RTE__toolbar__icon__part__fill {
|
|
190
|
+
fill: var(--pk-rte-accent);
|
|
191
|
+
opacity: 1;
|
|
153
192
|
}
|
|
154
193
|
.prokodo-RTE__toolbar__picker__label {
|
|
155
194
|
position: relative;
|
|
156
|
-
padding-right: calc(
|
|
195
|
+
padding-right: calc(var(--pk-space-sm) + 18px);
|
|
157
196
|
}
|
|
158
197
|
.prokodo-RTE__toolbar__picker__label::before {
|
|
159
198
|
content: "Normal";
|
|
160
|
-
color: var(--
|
|
199
|
+
color: var(--pk-rte-icon-color);
|
|
161
200
|
opacity: 0.85;
|
|
162
|
-
margin-right:
|
|
201
|
+
margin-right: var(--pk-space-xs);
|
|
163
202
|
white-space: nowrap;
|
|
164
203
|
font-weight: 400;
|
|
165
204
|
font-size: 1rem;
|
|
@@ -183,6 +222,9 @@
|
|
|
183
222
|
line-height: 1.4;
|
|
184
223
|
}
|
|
185
224
|
}
|
|
225
|
+
.prokodo-RTE__toolbar__picker__label[data-value="1"]::before {
|
|
226
|
+
content: "H1";
|
|
227
|
+
}
|
|
186
228
|
.prokodo-RTE__toolbar__picker__label[data-value="2"]::before {
|
|
187
229
|
content: "H2";
|
|
188
230
|
}
|
|
@@ -190,77 +232,99 @@
|
|
|
190
232
|
content: "H3";
|
|
191
233
|
}
|
|
192
234
|
.prokodo-RTE__toolbar__picker__options {
|
|
193
|
-
margin-top:
|
|
194
|
-
padding:
|
|
195
|
-
border-radius:
|
|
196
|
-
background: var(--
|
|
197
|
-
border
|
|
198
|
-
box-shadow:
|
|
235
|
+
margin-top: var(--pk-space-xs);
|
|
236
|
+
padding: var(--pk-space-xs);
|
|
237
|
+
border-radius: var(--pk-rte-radius-lg);
|
|
238
|
+
background: var(--pk-rte-picker-bg);
|
|
239
|
+
border: var(--pk-border-width) solid color-mix(in srgb, var(--pk-rte-accent) 20%, var(--pk-color-border)) !important;
|
|
240
|
+
box-shadow: var(--pk-rte-picker-shadow);
|
|
199
241
|
overflow: hidden;
|
|
200
|
-
min-width:
|
|
201
|
-
z-index:
|
|
242
|
+
min-width: 200px;
|
|
243
|
+
z-index: var(--pk-z-dropdown);
|
|
202
244
|
}
|
|
203
245
|
.prokodo-RTE__toolbar__picker__item {
|
|
204
|
-
border-radius:
|
|
205
|
-
padding:
|
|
246
|
+
border-radius: var(--pk-rte-radius);
|
|
247
|
+
padding: var(--pk-space-sm) var(--pk-space-md);
|
|
206
248
|
display: flex;
|
|
207
249
|
align-items: center;
|
|
250
|
+
gap: var(--pk-space-sm);
|
|
208
251
|
cursor: pointer;
|
|
252
|
+
transition: background var(--pk-timing-fast) ease, transform var(--pk-timing-fast) ease;
|
|
253
|
+
position: relative;
|
|
254
|
+
}
|
|
255
|
+
.prokodo-RTE__toolbar__picker__item::after {
|
|
256
|
+
content: "";
|
|
257
|
+
position: absolute;
|
|
258
|
+
left: 0;
|
|
259
|
+
top: 20%;
|
|
260
|
+
bottom: 20%;
|
|
261
|
+
width: 3px;
|
|
262
|
+
border-radius: 3px;
|
|
263
|
+
background: linear-gradient(to bottom, var(--pk-rte-accent), color-mix(in srgb, var(--pk-rte-accent) 60%, var(--pk-color-accent)));
|
|
264
|
+
opacity: 0;
|
|
265
|
+
transition: opacity var(--pk-timing-fast) ease;
|
|
209
266
|
}
|
|
210
267
|
.prokodo-RTE__toolbar__picker__item::before {
|
|
211
268
|
content: "Normal";
|
|
212
|
-
color: var(--
|
|
213
|
-
opacity: 0.85;
|
|
269
|
+
color: var(--pk-rte-icon-color);
|
|
214
270
|
font-weight: 400;
|
|
215
|
-
font-size:
|
|
216
|
-
|
|
217
|
-
font-style: normal;
|
|
218
|
-
line-height: 1.45;
|
|
219
|
-
letter-spacing: 0.03em;
|
|
220
|
-
text-transform: none;
|
|
221
|
-
text-align: left;
|
|
222
|
-
text-decoration: none;
|
|
271
|
+
font-size: 0.875rem;
|
|
272
|
+
line-height: 1.2;
|
|
223
273
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
274
|
+
.prokodo-RTE__toolbar__picker__item:not([data-value])::before, .prokodo-RTE__toolbar__picker__item[data-value=""]::before {
|
|
275
|
+
content: "Normal";
|
|
276
|
+
font-size: 0.875rem;
|
|
277
|
+
font-weight: 400;
|
|
278
|
+
opacity: 0.75;
|
|
229
279
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
280
|
+
.prokodo-RTE__toolbar__picker__item[data-value="1"]::before {
|
|
281
|
+
content: "Heading 1";
|
|
282
|
+
font-size: 1.375rem;
|
|
283
|
+
font-weight: 700;
|
|
284
|
+
letter-spacing: -0.02em;
|
|
235
285
|
}
|
|
236
286
|
.prokodo-RTE__toolbar__picker__item[data-value="2"]::before {
|
|
237
|
-
content: "
|
|
287
|
+
content: "Heading 2";
|
|
288
|
+
font-size: 1.125rem;
|
|
289
|
+
font-weight: 700;
|
|
290
|
+
letter-spacing: -0.01em;
|
|
238
291
|
}
|
|
239
292
|
.prokodo-RTE__toolbar__picker__item[data-value="3"]::before {
|
|
240
|
-
content: "
|
|
293
|
+
content: "Heading 3";
|
|
294
|
+
font-size: 1rem;
|
|
295
|
+
font-weight: 600;
|
|
241
296
|
}
|
|
242
297
|
.prokodo-RTE__toolbar__picker__item:hover {
|
|
243
|
-
background: var(--
|
|
298
|
+
background: var(--pk-rte-picker-hover-bg);
|
|
299
|
+
transform: translateX(2px);
|
|
244
300
|
}
|
|
245
301
|
.prokodo-RTE__toolbar__picker__item[data-selected=true] {
|
|
246
|
-
background: var(--
|
|
302
|
+
background: var(--pk-rte-picker-active-bg);
|
|
303
|
+
padding-left: calc(var(--pk-space-md) + 6px);
|
|
304
|
+
}
|
|
305
|
+
.prokodo-RTE__toolbar__picker__item[data-selected=true]::after {
|
|
306
|
+
opacity: 1;
|
|
307
|
+
}
|
|
308
|
+
.prokodo-RTE__toolbar__picker__item[data-selected=true]::before {
|
|
309
|
+
color: var(--pk-rte-accent);
|
|
310
|
+
opacity: 1;
|
|
247
311
|
}
|
|
248
312
|
.prokodo-RTE__toolbar__picker__item:focus-visible {
|
|
249
|
-
outline:
|
|
250
|
-
outline-offset:
|
|
313
|
+
outline: var(--pk-focus-ring-width) solid var(--pk-focus-ring-color);
|
|
314
|
+
outline-offset: var(--pk-focus-ring-offset);
|
|
251
315
|
}
|
|
252
316
|
.prokodo-RTE__resize {
|
|
253
317
|
position: absolute;
|
|
254
|
-
right:
|
|
255
|
-
bottom:
|
|
318
|
+
right: var(--pk-space-sm);
|
|
319
|
+
bottom: var(--pk-space-sm);
|
|
256
320
|
width: 18px;
|
|
257
321
|
height: 18px;
|
|
258
322
|
padding: 0;
|
|
259
323
|
border: none;
|
|
260
324
|
background: transparent;
|
|
261
|
-
color: var(--
|
|
325
|
+
color: var(--pk-rte-resize-color);
|
|
262
326
|
cursor: ns-resize;
|
|
263
|
-
opacity:
|
|
327
|
+
opacity: var(--pk-rte-resize-opacity);
|
|
264
328
|
}
|
|
265
329
|
.prokodo-RTE__mount {
|
|
266
330
|
position: relative;
|
|
@@ -268,21 +332,20 @@
|
|
|
268
332
|
border: none;
|
|
269
333
|
background: transparent;
|
|
270
334
|
width: 100%;
|
|
271
|
-
border: none !important;
|
|
272
335
|
}
|
|
273
336
|
.prokodo-RTE__mount--disabled {
|
|
274
337
|
cursor: not-allowed;
|
|
275
338
|
opacity: 0.85;
|
|
276
339
|
}
|
|
277
340
|
.prokodo-RTE__tooltip {
|
|
278
|
-
max-width: calc(100% -
|
|
341
|
+
max-width: calc(100% - var(--pk-space-md) * 2);
|
|
279
342
|
box-sizing: border-box;
|
|
280
|
-
border-radius:
|
|
343
|
+
border-radius: var(--pk-rte-radius-lg);
|
|
281
344
|
overflow: hidden;
|
|
282
345
|
}
|
|
283
346
|
.prokodo-RTE__editor {
|
|
284
347
|
height: 100%;
|
|
285
|
-
padding:
|
|
348
|
+
padding: var(--pk-space-md);
|
|
286
349
|
outline: none;
|
|
287
350
|
overflow-y: auto;
|
|
288
351
|
font-weight: 400;
|
|
@@ -306,34 +369,34 @@
|
|
|
306
369
|
}
|
|
307
370
|
}
|
|
308
371
|
.prokodo-RTE__editor p {
|
|
309
|
-
margin:
|
|
372
|
+
margin: var(--pk-space-md) 0;
|
|
310
373
|
}
|
|
311
374
|
.prokodo-RTE__editor p:last-child {
|
|
312
|
-
margin-bottom: 0
|
|
375
|
+
margin-bottom: 0;
|
|
313
376
|
}
|
|
314
377
|
.prokodo-RTE__editor ul,
|
|
315
378
|
.prokodo-RTE__editor ol {
|
|
316
|
-
margin: 0 0
|
|
317
|
-
padding: 0
|
|
379
|
+
margin: 0 0 var(--pk-space-sm) 1.25rem;
|
|
380
|
+
padding: 0;
|
|
318
381
|
}
|
|
319
382
|
.prokodo-RTE__editor pre {
|
|
320
|
-
margin:
|
|
321
|
-
padding:
|
|
322
|
-
border-radius:
|
|
383
|
+
margin: var(--pk-space-sm) 0;
|
|
384
|
+
padding: var(--pk-space-sm);
|
|
385
|
+
border-radius: var(--pk-rte-radius-lg);
|
|
323
386
|
overflow: auto;
|
|
324
|
-
background:
|
|
387
|
+
background: var(--pk-rte-code-bg);
|
|
325
388
|
}
|
|
326
389
|
.prokodo-RTE__editor code {
|
|
327
|
-
background:
|
|
328
|
-
padding: 0 6px
|
|
390
|
+
background: var(--pk-rte-code-bg);
|
|
391
|
+
padding: 0 6px;
|
|
329
392
|
border-radius: 8px;
|
|
330
393
|
}
|
|
331
394
|
.prokodo-RTE__editor img {
|
|
332
395
|
max-width: 100%;
|
|
333
396
|
height: auto;
|
|
334
|
-
border-radius:
|
|
397
|
+
border-radius: var(--pk-rte-radius-lg);
|
|
335
398
|
display: block;
|
|
336
|
-
margin:
|
|
399
|
+
margin: var(--pk-space-sm) 0;
|
|
337
400
|
}
|
|
338
401
|
.prokodo-RTE__editor h1,
|
|
339
402
|
.prokodo-RTE__editor h2,
|
|
@@ -341,7 +404,7 @@
|
|
|
341
404
|
.prokodo-RTE__editor h4,
|
|
342
405
|
.prokodo-RTE__editor h5,
|
|
343
406
|
.prokodo-RTE__editor h6 {
|
|
344
|
-
margin:
|
|
407
|
+
margin: var(--pk-space-lg) 0 var(--pk-space-sm) 0;
|
|
345
408
|
}
|
|
346
409
|
.prokodo-RTE__editor > h1:first-child,
|
|
347
410
|
.prokodo-RTE__editor > h2:first-child,
|
|
@@ -349,7 +412,7 @@
|
|
|
349
412
|
.prokodo-RTE__editor > h4:first-child,
|
|
350
413
|
.prokodo-RTE__editor > h5:first-child,
|
|
351
414
|
.prokodo-RTE__editor > h6:first-child {
|
|
352
|
-
margin-top: 0
|
|
415
|
+
margin-top: 0;
|
|
353
416
|
}
|
|
354
417
|
.prokodo-RTE__editor h1 {
|
|
355
418
|
font-weight: 900;
|
|
@@ -457,6 +520,55 @@
|
|
|
457
520
|
text-align: left;
|
|
458
521
|
text-decoration: none;
|
|
459
522
|
}
|
|
523
|
+
[data-theme="dark"] .prokodo-RTE, .pk-theme-dark .prokodo-RTE {
|
|
524
|
+
--pk-rte-toolbar-bg: color-mix(in srgb, var(--pk-color-brand) 14%, var(--pk-palette-slate-950));
|
|
525
|
+
--pk-rte-icon-color: var(--pk-palette-white);
|
|
526
|
+
--pk-rte-picker-bg: var(--pk-palette-slate-950);
|
|
527
|
+
--pk-rte-picker-shadow: 0 10px 40px rgba(0, 0, 0, 0.7),
|
|
528
|
+
0 2px 12px rgba(0, 0, 0, 0.4);
|
|
529
|
+
}
|
|
530
|
+
[data-theme="dark"] .prokodo-RTE .ql-snow .ql-stroke, .pk-theme-dark .prokodo-RTE .ql-snow .ql-stroke {
|
|
531
|
+
stroke: var(--pk-palette-white) !important;
|
|
532
|
+
}
|
|
533
|
+
[data-theme="dark"] .prokodo-RTE .ql-snow .ql-fill,
|
|
534
|
+
[data-theme="dark"] .prokodo-RTE .ql-snow .ql-stroke.ql-fill, .pk-theme-dark .prokodo-RTE .ql-snow .ql-fill,
|
|
535
|
+
.pk-theme-dark .prokodo-RTE .ql-snow .ql-stroke.ql-fill {
|
|
536
|
+
fill: var(--pk-palette-white) !important;
|
|
537
|
+
}
|
|
538
|
+
[data-theme="dark"] .prokodo-RTE .ql-snow .ql-picker, .pk-theme-dark .prokodo-RTE .ql-snow .ql-picker {
|
|
539
|
+
color: var(--pk-palette-white) !important;
|
|
540
|
+
}
|
|
541
|
+
[data-theme="dark"] .prokodo-RTE .ql-snow .ql-picker-label::before, .pk-theme-dark .prokodo-RTE .ql-snow .ql-picker-label::before {
|
|
542
|
+
color: var(--pk-palette-white) !important;
|
|
543
|
+
}
|
|
544
|
+
[data-theme="dark"] .prokodo-RTE .ql-toolbar .ql-picker-options, .pk-theme-dark .prokodo-RTE .ql-toolbar .ql-picker-options {
|
|
545
|
+
background: var(--pk-palette-slate-950) !important;
|
|
546
|
+
border-color: color-mix(in srgb, var(--pk-color-brand) 30%, transparent) !important;
|
|
547
|
+
}
|
|
548
|
+
[data-theme="dark"] .prokodo-RTE .ql-toolbar .ql-picker-item, .pk-theme-dark .prokodo-RTE .ql-toolbar .ql-picker-item {
|
|
549
|
+
color: var(--pk-palette-white) !important;
|
|
550
|
+
}
|
|
551
|
+
.prokodo-RTE--primary {
|
|
552
|
+
--pk-rte-accent: var(--pk-color-brand);
|
|
553
|
+
}
|
|
554
|
+
.prokodo-RTE--secondary {
|
|
555
|
+
--pk-rte-accent: var(--pk-color-accent);
|
|
556
|
+
}
|
|
557
|
+
.prokodo-RTE--success {
|
|
558
|
+
--pk-rte-accent: var(--pk-color-success);
|
|
559
|
+
}
|
|
560
|
+
.prokodo-RTE--warning {
|
|
561
|
+
--pk-rte-accent: var(--pk-color-warning);
|
|
562
|
+
}
|
|
563
|
+
.prokodo-RTE--error {
|
|
564
|
+
--pk-rte-accent: var(--pk-color-error);
|
|
565
|
+
}
|
|
566
|
+
.prokodo-RTE--info, .prokodo-RTE--inherit, .prokodo-RTE--white {
|
|
567
|
+
--pk-rte-accent: var(--pk-color-muted);
|
|
568
|
+
}
|
|
569
|
+
[data-theme="dark"] .prokodo-RTE--info, [data-theme="dark"] .prokodo-RTE--inherit, [data-theme="dark"] .prokodo-RTE--white, .pk-theme-dark .prokodo-RTE--info, .pk-theme-dark .prokodo-RTE--inherit, .pk-theme-dark .prokodo-RTE--white {
|
|
570
|
+
--pk-rte-accent: var(--pk-palette-grey-200);
|
|
571
|
+
}
|
|
460
572
|
.prokodo-RTE--disabled {
|
|
461
573
|
opacity: 0.9;
|
|
462
574
|
}
|