@prokodo/ui 1.0.4 → 1.0.6
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/dist/components/RTE/RTE.css +2 -0
- package/dist/components/accordion/Accordion.css +4 -0
- package/dist/components/animatedText/AnimatedText.server.js +2 -2
- package/dist/components/autocomplete/Autocomplete.css +2 -0
- package/dist/components/avatar/Avatar.css +3 -0
- package/dist/components/button/Button.css +4 -0
- package/dist/components/calendly/Calendly.css +2 -0
- package/dist/components/card/Card.client.js +0 -2
- package/dist/components/card/Card.css +7 -0
- package/dist/components/carousel/Carousel.client.js +14 -9
- package/dist/components/carousel/Carousel.css +2 -0
- package/dist/components/datePicker/DatePicker.client.js +36 -3
- package/dist/components/datePicker/DatePicker.css +4 -2
- package/dist/components/datePicker/DatePicker.module.css +2 -2
- package/dist/components/datePicker/DatePicker.view.js +3 -1
- package/dist/components/datePicker/DatePickerDialog.view.js +3 -1
- package/dist/components/dialog/Dialog.client.js +8 -0
- package/dist/components/dialog/Dialog.css +5 -5
- package/dist/components/dialog/Dialog.module.css +3 -5
- package/dist/components/dialog/Dialog.module.scss.js +1 -1
- package/dist/components/drawer/Drawer.css +3 -0
- package/dist/components/dynamic-list/DynamicList.css +5 -0
- package/dist/components/form/Form.css +184 -0
- package/dist/components/form/FormField.client.js +7 -5
- package/dist/components/headline/Headline.css +2 -0
- package/dist/components/image/Image.client.js +8 -4
- package/dist/components/image/Image.server.js +6 -3
- package/dist/components/image-text/ImageText.css +8 -0
- package/dist/components/input/Input.css +3 -1
- package/dist/components/input/Input.module.css +1 -1
- package/dist/components/input/Input.view.js +3 -3
- package/dist/components/inputOTP/InputOTP.css +2 -0
- package/dist/components/list/List.css +4 -3
- package/dist/components/list/List.module.css +0 -3
- package/dist/components/map/Map.css +2 -0
- package/dist/components/post-item/PostItem.css +165 -0
- package/dist/components/post-teaser/PostTeaser.css +8 -0
- package/dist/components/post-widget/PostWidget.css +5 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -0
- package/dist/components/quote/Quote.css +5 -0
- package/dist/components/rating/Rating.css +2 -0
- package/dist/components/rich-text/RichText.css +5 -0
- package/dist/components/select/Select.client.js +13 -3
- package/dist/components/select/Select.css +12 -27
- package/dist/components/select/Select.module.css +10 -27
- package/dist/components/sidenav/SideNav.css +4 -0
- package/dist/components/slider/Slider.css +2 -0
- package/dist/components/snackbar/Snackbar.css +38 -0
- package/dist/components/snackbar/Snackbar.module.css +36 -0
- package/dist/components/snackbar/Snackbar.module.scss.js +6 -0
- package/dist/components/stepper/Stepper.css +13 -31
- package/dist/components/stepper/Stepper.module.css +11 -31
- package/dist/components/switch/Switch.css +2 -0
- package/dist/components/table/Table.css +15 -0
- package/dist/components/table/Table.js +2 -1
- package/dist/components/table/Table.module.css +9 -0
- package/dist/components/table/Table.module.scss.js +2 -0
- package/dist/components/tabs/Tabs.css +2 -0
- package/dist/components/teaser/Teaser.css +8 -0
- package/dist/components/tooltip/Tooltip.client.js +6 -2
- package/dist/constants/project.js +1 -1
- package/dist/theme-tokens.css +723 -0
- package/dist/theme.css +75 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/datePicker/DatePicker.model.d.ts +2 -1
- package/dist/types/components/datePicker/DatePicker.view.d.ts +3 -2
- package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +1 -1
- package/dist/types/components/form/Form.model.d.ts +5 -0
- package/dist/types/components/input/Input.view.d.ts +1 -1
- package/dist/types/components/select/Select.model.d.ts +2 -0
- package/package.json +3 -2
package/dist/theme.css
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
--pk-color-surface: var(--pk-palette-white);
|
|
159
159
|
--pk-color-surface-raised: var(--pk-palette-grey-50);
|
|
160
160
|
--pk-color-border: var(--pk-palette-grey-200);
|
|
161
|
-
--pk-color-muted: var(--pk-palette-grey-
|
|
161
|
+
--pk-color-muted: var(--pk-palette-grey-500);
|
|
162
162
|
--pk-color-overlay-alpha: 0.5;
|
|
163
163
|
--pk-color-brand: var(--pk-palette-primary-500);
|
|
164
164
|
--pk-color-brand-hover: var(--pk-palette-primary-400);
|
|
@@ -195,6 +195,7 @@
|
|
|
195
195
|
--pk-z-dropdown: 998;
|
|
196
196
|
--pk-z-modal-backdrop: 1300;
|
|
197
197
|
--pk-z-modal: 1301;
|
|
198
|
+
--pk-z-popover: 1400;
|
|
198
199
|
--pk-button-bg: var(--pk-color-surface-raised);
|
|
199
200
|
--pk-button-fg: var(--pk-color-fg);
|
|
200
201
|
--pk-button-radius: var(--pk-radius-pill);
|
|
@@ -350,7 +351,7 @@
|
|
|
350
351
|
--pk-slider-fill-to: var(--pk-color-accent);
|
|
351
352
|
--pk-slider-label-fg: var(--pk-color-fg);
|
|
352
353
|
--pk-slider-mark-bg: var(--pk-palette-grey-400);
|
|
353
|
-
--pk-slider-mark-label-fg: var(--pk-
|
|
354
|
+
--pk-slider-mark-label-fg: var(--pk-input-helper-fg);
|
|
354
355
|
--pk-slider-thumb-size: 24px;
|
|
355
356
|
--pk-slider-thumb-border: var(--pk-color-surface);
|
|
356
357
|
--pk-slider-thumb-glow-rgb: var(--pk-palette-primary-500-rgb);
|
|
@@ -2622,7 +2623,7 @@ html[data-theme=dark] .prokodo-DatePicker--info, [data-theme=dark] .prokodo-Date
|
|
|
2622
2623
|
position: absolute;
|
|
2623
2624
|
top: calc(100% + var(--pk-space-xs));
|
|
2624
2625
|
left: 0;
|
|
2625
|
-
z-index:
|
|
2626
|
+
z-index: var(--pk-z-popover, 1400);
|
|
2626
2627
|
min-width: var(--pk-dp-dialog-min-width);
|
|
2627
2628
|
width: -moz-max-content;
|
|
2628
2629
|
width: max-content;
|
|
@@ -2682,7 +2683,7 @@ html[data-theme=dark] .prokodo-DatePicker__dialog, [data-theme=dark] .prokodo-Da
|
|
|
2682
2683
|
display: block;
|
|
2683
2684
|
position: fixed;
|
|
2684
2685
|
inset: 0;
|
|
2685
|
-
z-index:
|
|
2686
|
+
z-index: var(--pk-z-popover, 1400);
|
|
2686
2687
|
background: rgba(0, 0, 0, 0.5);
|
|
2687
2688
|
backdrop-filter: blur(4px);
|
|
2688
2689
|
-webkit-backdrop-filter: blur(4px);
|
|
@@ -3307,6 +3308,9 @@ html[data-theme=dark] .prokodo-DatePicker__dialog, [data-theme=dark] .prokodo-Da
|
|
|
3307
3308
|
align-items: center;
|
|
3308
3309
|
z-index: var(--pk-z-modal);
|
|
3309
3310
|
}
|
|
3311
|
+
.prokodo-Dialog--is-visible {
|
|
3312
|
+
display: flex;
|
|
3313
|
+
}
|
|
3310
3314
|
.prokodo-Dialog__backdrop {
|
|
3311
3315
|
display: none;
|
|
3312
3316
|
position: fixed;
|
|
@@ -3315,16 +3319,11 @@ html[data-theme=dark] .prokodo-DatePicker__dialog, [data-theme=dark] .prokodo-Da
|
|
|
3315
3319
|
align-items: center;
|
|
3316
3320
|
z-index: var(--pk-z-modal);
|
|
3317
3321
|
background-color: rgb(var(--pk-color-overlay-rgb)/var(--pk-color-overlay-alpha));
|
|
3318
|
-
}
|
|
3319
|
-
.prokodo-Dialog__backdrop {
|
|
3320
3322
|
animation: Dialog_backdropFadeIn var(--pk-timing-normal) ease;
|
|
3321
3323
|
}
|
|
3322
3324
|
.prokodo-Dialog__backdrop--is-visible {
|
|
3323
3325
|
display: flex;
|
|
3324
3326
|
}
|
|
3325
|
-
.prokodo-Dialog--is-visible {
|
|
3326
|
-
display: flex;
|
|
3327
|
-
}
|
|
3328
3327
|
.prokodo-Dialog__backdrop .prokodo-Dialog, .prokodo-Dialog__backdrop .prokodo-Dialog--is-visible {
|
|
3329
3328
|
position: static;
|
|
3330
3329
|
inset: auto;
|
|
@@ -4664,7 +4663,7 @@ html[data-theme=dark] .prokodo-Input--info, [data-theme=dark] .prokodo-Input--in
|
|
|
4664
4663
|
}
|
|
4665
4664
|
.prokodo-Input__counter {
|
|
4666
4665
|
padding-top: var(--pk-space-md);
|
|
4667
|
-
color: var(--pk-
|
|
4666
|
+
color: var(--pk-input-helper-fg);
|
|
4668
4667
|
font-weight: 400;
|
|
4669
4668
|
font-size: 1rem;
|
|
4670
4669
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -5093,9 +5092,6 @@ html[data-theme=dark] .prokodo-Label__highlighted, [data-theme=dark] .prokodo-La
|
|
|
5093
5092
|
border-radius: 1000rem;
|
|
5094
5093
|
background-color: var(--pk-color-surface-raised);
|
|
5095
5094
|
}
|
|
5096
|
-
html[data-theme=dark] .prokodo-List__item__icon {
|
|
5097
|
-
background-color: var(--pk-palette-grey-400);
|
|
5098
|
-
}
|
|
5099
5095
|
.prokodo-List__item__icon__wrapper {
|
|
5100
5096
|
display: flex;
|
|
5101
5097
|
align-items: center;
|
|
@@ -7343,7 +7339,7 @@ html[data-theme=dark] .prokodo-Select__listbox, [data-theme=dark] .prokodo-Selec
|
|
|
7343
7339
|
.prokodo-Select__sheet__backdrop {
|
|
7344
7340
|
position: fixed;
|
|
7345
7341
|
inset: 0;
|
|
7346
|
-
z-index:
|
|
7342
|
+
z-index: var(--pk-z-popover, 1400);
|
|
7347
7343
|
background: rgba(0, 0, 0, 0.5);
|
|
7348
7344
|
backdrop-filter: blur(4px);
|
|
7349
7345
|
-webkit-backdrop-filter: blur(4px);
|
|
@@ -7354,7 +7350,7 @@ html[data-theme=dark] .prokodo-Select__listbox, [data-theme=dark] .prokodo-Selec
|
|
|
7354
7350
|
bottom: 0;
|
|
7355
7351
|
left: 0;
|
|
7356
7352
|
right: 0;
|
|
7357
|
-
z-index:
|
|
7353
|
+
z-index: calc(var(--pk-z-popover, 1400) + 1);
|
|
7358
7354
|
box-sizing: border-box;
|
|
7359
7355
|
display: flex;
|
|
7360
7356
|
flex-direction: column;
|
|
@@ -7546,35 +7542,18 @@ html[data-theme=dark] .prokodo-Select__sheet, [data-theme=dark] .prokodo-Select_
|
|
|
7546
7542
|
}
|
|
7547
7543
|
.prokodo-Select__sheet__done {
|
|
7548
7544
|
width: 100%;
|
|
7549
|
-
|
|
7550
|
-
|
|
7545
|
+
height: 3rem;
|
|
7546
|
+
padding: var(--pk-space-xs, 0.25rem) var(--pk-space-sm, 0.5rem);
|
|
7547
|
+
border-radius: var(--pk-radius-lg, 12px);
|
|
7551
7548
|
border: none;
|
|
7552
7549
|
cursor: pointer;
|
|
7553
|
-
font-
|
|
7554
|
-
|
|
7550
|
+
font-size: 0.9375rem;
|
|
7551
|
+
font-weight: 600;
|
|
7552
|
+
text-align: center;
|
|
7553
|
+
background: linear-gradient(135deg, var(--pk-select-gradient-from), var(--pk-select-gradient-to));
|
|
7555
7554
|
color: #fff;
|
|
7555
|
+
box-shadow: 0 4px 16px color-mix(in srgb, var(--pk-select-gradient-from) 30%, transparent);
|
|
7556
7556
|
transition: opacity var(--pk-timing-fast) ease;
|
|
7557
|
-
font-weight: 700;
|
|
7558
|
-
font-size: 1.75rem;
|
|
7559
|
-
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
7560
|
-
font-style: normal;
|
|
7561
|
-
line-height: 1.6;
|
|
7562
|
-
letter-spacing: 0.03em;
|
|
7563
|
-
text-transform: none;
|
|
7564
|
-
text-align: left;
|
|
7565
|
-
text-decoration: none;
|
|
7566
|
-
}
|
|
7567
|
-
@media screen and (min-width: 480px) {
|
|
7568
|
-
.prokodo-Select__sheet__done {
|
|
7569
|
-
font-size: 1.5rem;
|
|
7570
|
-
line-height: 1.55;
|
|
7571
|
-
}
|
|
7572
|
-
}
|
|
7573
|
-
@media screen and (min-width: 960px) {
|
|
7574
|
-
.prokodo-Select__sheet__done {
|
|
7575
|
-
font-size: 1.5rem;
|
|
7576
|
-
line-height: 1.55;
|
|
7577
|
-
}
|
|
7578
7557
|
}
|
|
7579
7558
|
.prokodo-Select__sheet__done:hover {
|
|
7580
7559
|
opacity: 0.9;
|
|
@@ -8138,6 +8117,42 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8138
8117
|
transform: translate(-50%, -50%) scale(1.12);
|
|
8139
8118
|
}
|
|
8140
8119
|
|
|
8120
|
+
.prokodo-SnackbarProvider {
|
|
8121
|
+
position: fixed;
|
|
8122
|
+
z-index: 1400;
|
|
8123
|
+
display: flex;
|
|
8124
|
+
flex-direction: column;
|
|
8125
|
+
gap: var(--pk-space-sm);
|
|
8126
|
+
width: -moz-max-content;
|
|
8127
|
+
width: max-content;
|
|
8128
|
+
max-width: min(480px, 100vw - var(--pk-space-xl) * 2);
|
|
8129
|
+
pointer-events: none;
|
|
8130
|
+
}
|
|
8131
|
+
.prokodo-SnackbarProvider > * {
|
|
8132
|
+
pointer-events: auto;
|
|
8133
|
+
}
|
|
8134
|
+
.prokodo-SnackbarProvider--is-top {
|
|
8135
|
+
top: var(--pk-space-lg);
|
|
8136
|
+
bottom: auto;
|
|
8137
|
+
}
|
|
8138
|
+
.prokodo-SnackbarProvider--is-bottom {
|
|
8139
|
+
bottom: var(--pk-space-lg);
|
|
8140
|
+
top: auto;
|
|
8141
|
+
}
|
|
8142
|
+
.prokodo-SnackbarProvider--is-left {
|
|
8143
|
+
left: var(--pk-space-lg);
|
|
8144
|
+
right: auto;
|
|
8145
|
+
}
|
|
8146
|
+
.prokodo-SnackbarProvider--is-right {
|
|
8147
|
+
right: var(--pk-space-lg);
|
|
8148
|
+
left: auto;
|
|
8149
|
+
}
|
|
8150
|
+
.prokodo-SnackbarProvider--is-center {
|
|
8151
|
+
left: 50%;
|
|
8152
|
+
right: auto;
|
|
8153
|
+
transform: translateX(-50%);
|
|
8154
|
+
}
|
|
8155
|
+
|
|
8141
8156
|
@keyframes Snackbar_slideIn {
|
|
8142
8157
|
from {
|
|
8143
8158
|
opacity: 0;
|
|
@@ -8295,15 +8310,9 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8295
8310
|
.prokodo-Stepper {
|
|
8296
8311
|
display: flex;
|
|
8297
8312
|
justify-content: space-between;
|
|
8298
|
-
flex-direction:
|
|
8313
|
+
flex-direction: row;
|
|
8299
8314
|
padding: 0;
|
|
8300
|
-
|
|
8301
|
-
}
|
|
8302
|
-
@media screen and (min-width: 480px) {
|
|
8303
|
-
.prokodo-Stepper {
|
|
8304
|
-
width: 100%;
|
|
8305
|
-
flex-direction: row;
|
|
8306
|
-
}
|
|
8315
|
+
width: 100%;
|
|
8307
8316
|
}
|
|
8308
8317
|
.prokodo-Stepper--primary {
|
|
8309
8318
|
--gradient-border-1: linear-gradient(180deg, var(--pk-color-brand) 0%, var(--pk-color-accent) 100%);
|
|
@@ -8342,35 +8351,22 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8342
8351
|
}
|
|
8343
8352
|
.prokodo-Stepper__step {
|
|
8344
8353
|
position: relative;
|
|
8345
|
-
|
|
8354
|
+
width: 100%;
|
|
8346
8355
|
list-style-type: none;
|
|
8347
8356
|
cursor: pointer;
|
|
8348
8357
|
}
|
|
8349
8358
|
.prokodo-Stepper__step::after {
|
|
8350
8359
|
content: "";
|
|
8351
|
-
position:
|
|
8352
|
-
|
|
8353
|
-
margin:
|
|
8354
|
-
|
|
8355
|
-
|
|
8360
|
+
position: absolute;
|
|
8361
|
+
top: 1.25rem;
|
|
8362
|
+
margin: 0;
|
|
8363
|
+
left: auto;
|
|
8364
|
+
height: 3px;
|
|
8365
|
+
width: calc(100% - 80px);
|
|
8356
8366
|
background: var(--gradient-border-7);
|
|
8357
|
-
transform:
|
|
8367
|
+
transform: translateX(-50%);
|
|
8358
8368
|
opacity: 0.5;
|
|
8359
8369
|
}
|
|
8360
|
-
@media screen and (min-width: 480px) {
|
|
8361
|
-
.prokodo-Stepper__step {
|
|
8362
|
-
width: 100%;
|
|
8363
|
-
}
|
|
8364
|
-
.prokodo-Stepper__step::after {
|
|
8365
|
-
position: absolute;
|
|
8366
|
-
top: 1.25rem;
|
|
8367
|
-
margin: 0;
|
|
8368
|
-
left: auto;
|
|
8369
|
-
height: 3px;
|
|
8370
|
-
width: calc(100% - 80px);
|
|
8371
|
-
transform: translateX(-50%);
|
|
8372
|
-
}
|
|
8373
|
-
}
|
|
8374
8370
|
.prokodo-Stepper__step:first-child::after {
|
|
8375
8371
|
display: none;
|
|
8376
8372
|
}
|
|
@@ -8480,7 +8476,7 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8480
8476
|
}
|
|
8481
8477
|
.prokodo-Stepper__label {
|
|
8482
8478
|
text-align: center;
|
|
8483
|
-
align-items:
|
|
8479
|
+
align-items: center;
|
|
8484
8480
|
display: flex !important;
|
|
8485
8481
|
flex-direction: column;
|
|
8486
8482
|
justify-content: center;
|
|
@@ -8536,7 +8532,6 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8536
8532
|
}
|
|
8537
8533
|
@media screen and (min-width: 480px) {
|
|
8538
8534
|
.prokodo-Stepper__label {
|
|
8539
|
-
align-items: center;
|
|
8540
8535
|
font-weight: 400;
|
|
8541
8536
|
font-size: 1rem;
|
|
8542
8537
|
font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -8738,9 +8733,14 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8738
8733
|
.prokodo-Table__head__row {
|
|
8739
8734
|
border-bottom: var(--pk-border-width) solid var(--pk-table-border-color);
|
|
8740
8735
|
}
|
|
8736
|
+
.prokodo-Table__head__row--double {
|
|
8737
|
+
border-bottom-width: 3px;
|
|
8738
|
+
border-bottom-style: double;
|
|
8739
|
+
}
|
|
8741
8740
|
.prokodo-Table__head__cell {
|
|
8742
8741
|
padding: var(--pk-table-padding-y) var(--pk-table-padding-x);
|
|
8743
8742
|
font-weight: 500;
|
|
8743
|
+
color: var(--pk-table-cell-fg);
|
|
8744
8744
|
font-weight: 400;
|
|
8745
8745
|
font-size: 1.125rem;
|
|
8746
8746
|
font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -8761,6 +8761,10 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
8761
8761
|
.prokodo-Table__body__row {
|
|
8762
8762
|
border-bottom: var(--pk-border-width) solid var(--pk-table-border-color);
|
|
8763
8763
|
}
|
|
8764
|
+
.prokodo-Table__body__row--double {
|
|
8765
|
+
border-bottom-width: 3px;
|
|
8766
|
+
border-bottom-style: double;
|
|
8767
|
+
}
|
|
8764
8768
|
.prokodo-Table__body__row--has-link:hover {
|
|
8765
8769
|
background: var(--pk-table-row-hover-bg);
|
|
8766
8770
|
}
|