@prokodo/ui 0.1.11 → 0.1.13

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.
Files changed (107) hide show
  1. package/README.md +6 -1
  2. package/dist/components/RTE/RTE.client.js +46 -5
  3. package/dist/components/RTE/RTE.css +226 -6
  4. package/dist/components/RTE/RTE.module.css +226 -6
  5. package/dist/components/RTE/RTE.module.scss.js +3 -0
  6. package/dist/components/RTE/RTE.utils.js +23 -1
  7. package/dist/components/accordion/Accordion.css +46 -0
  8. package/dist/components/accordion/Accordion.module.css +46 -0
  9. package/dist/components/accordion/Accordion.module.scss.js +4 -0
  10. package/dist/components/accordion/Accordion.view.js +25 -5
  11. package/dist/components/autocomplete/Autocomplete.client.js +132 -0
  12. package/dist/components/autocomplete/Autocomplete.css +317 -0
  13. package/dist/components/autocomplete/Autocomplete.js +12 -0
  14. package/dist/components/autocomplete/Autocomplete.lazy.js +12 -0
  15. package/dist/components/autocomplete/Autocomplete.module.css +317 -0
  16. package/dist/components/autocomplete/Autocomplete.module.scss.js +21 -0
  17. package/dist/components/autocomplete/Autocomplete.server.js +11 -0
  18. package/dist/components/autocomplete/Autocomplete.view.js +142 -0
  19. package/dist/components/autocomplete/index.js +4 -0
  20. package/dist/components/button/Button.css +1 -0
  21. package/dist/components/button/Button.module.css +1 -0
  22. package/dist/components/card/Card.css +9 -0
  23. package/dist/components/card/Card.module.css +9 -0
  24. package/dist/components/card/Card.module.scss.js +1 -0
  25. package/dist/components/dynamic-list/DynamicList.view.js +1 -1
  26. package/dist/components/input/Input.css +23 -4
  27. package/dist/components/input/Input.module.css +23 -4
  28. package/dist/components/pagination/Pagination.client.js +14 -0
  29. package/dist/components/pagination/Pagination.css +191 -0
  30. package/dist/components/pagination/Pagination.js +12 -0
  31. package/dist/components/pagination/Pagination.lazy.js +12 -0
  32. package/dist/components/pagination/Pagination.module.css +191 -0
  33. package/dist/components/pagination/Pagination.module.scss.js +12 -0
  34. package/dist/components/pagination/Pagination.server.js +11 -0
  35. package/dist/components/pagination/Pagination.utils.js +55 -0
  36. package/dist/components/pagination/Pagination.view.js +98 -0
  37. package/dist/components/pagination/index.js +4 -0
  38. package/dist/components/rich-text/RichText.css +0 -1
  39. package/dist/components/rich-text/RichText.module.css +0 -1
  40. package/dist/components/select/Select.client.js +230 -8
  41. package/dist/components/select/Select.css +47 -16
  42. package/dist/components/select/Select.module.css +47 -16
  43. package/dist/components/select/Select.module.scss.js +2 -0
  44. package/dist/components/select/Select.view.js +20 -57
  45. package/dist/components/switch/Switch.css +1 -1
  46. package/dist/components/switch/Switch.module.css +1 -1
  47. package/dist/components/switch/Switch.view.js +3 -1
  48. package/dist/components/tabs/Tabs.client.js +182 -0
  49. package/dist/components/tabs/Tabs.css +330 -0
  50. package/dist/components/tabs/Tabs.js +13 -0
  51. package/dist/components/tabs/Tabs.lazy.js +15 -0
  52. package/dist/components/tabs/Tabs.module.css +330 -0
  53. package/dist/components/tabs/Tabs.module.scss.js +19 -0
  54. package/dist/components/tabs/Tabs.server.js +11 -0
  55. package/dist/components/tabs/Tabs.view.js +157 -0
  56. package/dist/components/tabs/index.js +4 -0
  57. package/dist/components/tooltip/Tooltip.client.js +382 -0
  58. package/dist/components/tooltip/Tooltip.css +242 -0
  59. package/dist/components/tooltip/Tooltip.js +16 -0
  60. package/dist/components/tooltip/Tooltip.module.css +242 -0
  61. package/dist/components/tooltip/Tooltip.module.scss.js +15 -0
  62. package/dist/components/tooltip/Tooltip.server.js +12 -0
  63. package/dist/components/tooltip/Tooltip.view.js +127 -0
  64. package/dist/components/tooltip/index.js +4 -0
  65. package/dist/constants/project.js +1 -1
  66. package/dist/index.js +8 -0
  67. package/dist/theme.css +640 -22
  68. package/dist/tsconfig.build.tsbuildinfo +1 -1
  69. package/dist/types/components/RTE/RTE.utils.d.ts +1 -0
  70. package/dist/types/components/accordion/Accordion.d.ts +3 -0
  71. package/dist/types/components/accordion/Accordion.lazy.d.ts +3 -0
  72. package/dist/types/components/accordion/Accordion.model.d.ts +3 -0
  73. package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
  74. package/dist/types/components/autocomplete/Autocomplete.client.d.ts +5 -0
  75. package/dist/types/components/autocomplete/Autocomplete.d.ts +4 -0
  76. package/dist/types/components/autocomplete/Autocomplete.lazy.d.ts +5 -0
  77. package/dist/types/components/autocomplete/Autocomplete.model.d.ts +58 -0
  78. package/dist/types/components/autocomplete/Autocomplete.server.d.ts +3 -0
  79. package/dist/types/components/autocomplete/Autocomplete.view.d.ts +3 -0
  80. package/dist/types/components/autocomplete/index.d.ts +2 -0
  81. package/dist/types/components/card/Card.model.d.ts +1 -1
  82. package/dist/types/components/grid/Grid.model.d.ts +37 -7
  83. package/dist/types/components/pagination/Pagination.client.d.ts +5 -0
  84. package/dist/types/components/pagination/Pagination.d.ts +4 -0
  85. package/dist/types/components/pagination/Pagination.lazy.d.ts +5 -0
  86. package/dist/types/components/pagination/Pagination.model.d.ts +22 -0
  87. package/dist/types/components/pagination/Pagination.server.d.ts +3 -0
  88. package/dist/types/components/pagination/Pagination.utils.d.ts +13 -0
  89. package/dist/types/components/pagination/Pagination.view.d.ts +3 -0
  90. package/dist/types/components/pagination/index.d.ts +2 -0
  91. package/dist/types/components/select/Select.model.d.ts +16 -1
  92. package/dist/types/components/tabs/Tabs.client.d.ts +5 -0
  93. package/dist/types/components/tabs/Tabs.d.ts +4 -0
  94. package/dist/types/components/tabs/Tabs.lazy.d.ts +5 -0
  95. package/dist/types/components/tabs/Tabs.model.d.ts +43 -0
  96. package/dist/types/components/tabs/Tabs.server.d.ts +3 -0
  97. package/dist/types/components/tabs/Tabs.view.d.ts +3 -0
  98. package/dist/types/components/tabs/index.d.ts +2 -0
  99. package/dist/types/components/tooltip/Tooltip.client.d.ts +5 -0
  100. package/dist/types/components/tooltip/Tooltip.d.ts +4 -0
  101. package/dist/types/components/tooltip/Tooltip.lazy.d.ts +5 -0
  102. package/dist/types/components/tooltip/Tooltip.model.d.ts +47 -0
  103. package/dist/types/components/tooltip/Tooltip.server.d.ts +3 -0
  104. package/dist/types/components/tooltip/Tooltip.view.d.ts +3 -0
  105. package/dist/types/components/tooltip/index.d.ts +2 -0
  106. package/dist/types/index.d.ts +4 -0
  107. package/package.json +23 -2
package/dist/theme.css CHANGED
@@ -287,6 +287,9 @@
287
287
  display: flex;
288
288
  flex-direction: column;
289
289
  }
290
+ .prokodo-Accordion--panel {
291
+ gap: 0;
292
+ }
290
293
  .prokodo-Accordion__item {
291
294
  border: 1px solid var(--color-grey-200);
292
295
  border-radius: 0.75rem;
@@ -298,6 +301,12 @@
298
301
  .prokodo-Accordion__item--is-expanded {
299
302
  border-color: var(--color-primary-500);
300
303
  }
304
+ .prokodo-Accordion__item--panel {
305
+ border-radius: 0;
306
+ margin-bottom: 0;
307
+ box-shadow: none;
308
+ border: none;
309
+ }
301
310
  .prokodo-Accordion__header {
302
311
  display: flex;
303
312
  align-items: center;
@@ -358,6 +367,43 @@
358
367
  animation: none !important;
359
368
  box-shadow: var(--elevation-1);
360
369
  }
370
+ .prokodo-Accordion__header__wrapper--panel {
371
+ position: relative;
372
+ border: none;
373
+ border-bottom: 2px solid transparent;
374
+ background: linear-gradient(var(--header-bg, var(--color-white)), var(--header-bg, var(--color-white)));
375
+ border-radius: 0;
376
+ }
377
+ .prokodo-Accordion__header__wrapper--panel::after {
378
+ content: "";
379
+ position: absolute;
380
+ left: 0;
381
+ right: 0;
382
+ bottom: 0;
383
+ height: 2px;
384
+ background: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500), var(--color-primary-500));
385
+ background-size: 0% 100%;
386
+ background-position: 0 0;
387
+ background-repeat: no-repeat;
388
+ transition: background-size 0.35s ease;
389
+ }
390
+ .prokodo-Accordion__header__wrapper--panel:hover, .prokodo-Accordion__header__wrapper--panel:focus-visible {
391
+ animation: none;
392
+ }
393
+ .prokodo-Accordion__header__wrapper--panel:hover::after, .prokodo-Accordion__header__wrapper--panel:focus-visible::after {
394
+ background-size: 200% 100%;
395
+ animation: accordionBorderShift 2s linear;
396
+ }
397
+ .prokodo-Accordion__header__wrapper--panel--is-expanded {
398
+ border-radius: 0;
399
+ box-shadow: none;
400
+ animation: none !important;
401
+ }
402
+ .prokodo-Accordion__header__wrapper--panel--is-expanded::after {
403
+ background-size: 100% 100%;
404
+ background-position: 100% 0;
405
+ animation: none !important;
406
+ }
361
407
  .prokodo-Accordion__title {
362
408
  width: calc(100% - 20px);
363
409
  margin: 0;
@@ -473,6 +519,197 @@ html[data-theme=dark] .prokodo-Accordion__icon {
473
519
  transition: opacity 1500ms ease-out, transform 500ms ease-out, visibility 1500ms ease-out;
474
520
  }
475
521
 
522
+ @keyframes fade-in {
523
+ from {
524
+ opacity: 0;
525
+ transform: translateY(-4px);
526
+ }
527
+ to {
528
+ opacity: 1;
529
+ transform: translateY(0);
530
+ }
531
+ }
532
+ .prokodo-Autocomplete {
533
+ position: relative;
534
+ }
535
+ .prokodo-Autocomplete__inputWrap {
536
+ position: relative;
537
+ z-index: 41;
538
+ border-radius: 1.5rem;
539
+ }
540
+ .prokodo-Autocomplete__input {
541
+ width: 100%;
542
+ }
543
+ .prokodo-Autocomplete__input__inner--is-open, .prokodo-Autocomplete__input__node--is-open {
544
+ border-bottom-left-radius: 0 !important;
545
+ border-bottom-right-radius: 0 !important;
546
+ }
547
+ .prokodo-Autocomplete__input__inner--is-open {
548
+ background: var(--gradient-border-4);
549
+ }
550
+ .prokodo-Autocomplete__list {
551
+ position: absolute;
552
+ top: 100%;
553
+ left: 0;
554
+ width: calc(100% - 4px);
555
+ margin: 0;
556
+ padding: 0 2px 2px;
557
+ list-style: none;
558
+ transform: none;
559
+ border-bottom-left-radius: 1.5rem;
560
+ border-bottom-right-radius: 1.5rem;
561
+ border-top-left-radius: 0;
562
+ border-top-right-radius: 0;
563
+ background: var(--gradient-border-4);
564
+ margin-top: -2px;
565
+ box-shadow: var(--elevation-3);
566
+ max-height: 260px;
567
+ overflow: auto;
568
+ z-index: 50;
569
+ animation: fade-in 180ms ease-out;
570
+ scrollbar-width: none;
571
+ }
572
+ .prokodo-Autocomplete__list::-webkit-scrollbar {
573
+ display: none;
574
+ }
575
+ .prokodo-Autocomplete__state {
576
+ display: flex;
577
+ align-items: center;
578
+ gap: 0.5rem;
579
+ margin: 0;
580
+ padding: 0.5rem 1rem 1rem 1rem;
581
+ background: var(--color-white);
582
+ color: var(--color-grey-700);
583
+ border-bottom-left-radius: 1.5rem;
584
+ border-bottom-right-radius: 1.5rem;
585
+ font-weight: 400;
586
+ font-size: 1rem;
587
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
588
+ font-style: normal;
589
+ line-height: 1.45;
590
+ letter-spacing: 0.03em;
591
+ text-transform: none;
592
+ text-align: left;
593
+ text-decoration: none;
594
+ }
595
+ @media screen and (min-width: 480px) {
596
+ .prokodo-Autocomplete__state {
597
+ font-size: 0.875rem;
598
+ line-height: 1.4;
599
+ }
600
+ }
601
+ @media screen and (min-width: 960px) {
602
+ .prokodo-Autocomplete__state {
603
+ font-size: 0.875rem;
604
+ line-height: 1.4;
605
+ }
606
+ }
607
+ html[data-theme=dark] .prokodo-Autocomplete__state {
608
+ background: rgb(16, 19, 27);
609
+ color: var(--color-grey-500);
610
+ }
611
+ .prokodo-Autocomplete__itemRow {
612
+ list-style: none;
613
+ margin: 0;
614
+ padding: 0;
615
+ }
616
+ .prokodo-Autocomplete__itemRow--is-last {
617
+ border-bottom-left-radius: 1.5rem;
618
+ border-bottom-right-radius: 1.5rem;
619
+ }
620
+ .prokodo-Autocomplete__item {
621
+ width: 100%;
622
+ border: none;
623
+ background: var(--color-white);
624
+ color: inherit;
625
+ text-align: left;
626
+ display: grid;
627
+ grid-gap: 0.25rem;
628
+ gap: 0.25rem;
629
+ padding: 0.5rem 1rem;
630
+ cursor: pointer;
631
+ transition: background-color 120ms ease;
632
+ }
633
+ html[data-theme=dark] .prokodo-Autocomplete__item {
634
+ background: rgb(16, 19, 27);
635
+ }
636
+ .prokodo-Autocomplete__item:hover {
637
+ background: var(--color-primary-50);
638
+ }
639
+ html[data-theme=dark] .prokodo-Autocomplete__item:hover {
640
+ background: var(--color-primary-50);
641
+ }
642
+ .prokodo-Autocomplete__item:focus-visible {
643
+ outline: 0;
644
+ background: var(--color-primary-50);
645
+ }
646
+ html[data-theme=dark] .prokodo-Autocomplete__item:focus-visible {
647
+ background: var(--color-primary-50);
648
+ }
649
+ .prokodo-Autocomplete__item--is-first {
650
+ border-top-left-radius: 0;
651
+ border-top-right-radius: 0;
652
+ }
653
+ .prokodo-Autocomplete__item--is-last {
654
+ border-bottom-left-radius: 1.5rem;
655
+ border-bottom-right-radius: 1.5rem;
656
+ }
657
+ .prokodo-Autocomplete__item--is-active {
658
+ background: var(--color-primary-100);
659
+ }
660
+ html[data-theme=dark] .prokodo-Autocomplete__item--is-active {
661
+ background: var(--color-primary-100);
662
+ }
663
+ .prokodo-Autocomplete__itemLabel {
664
+ margin: 0;
665
+ color: var(--color-grey-900);
666
+ font-weight: 400;
667
+ font-size: 1rem;
668
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
669
+ font-style: normal;
670
+ line-height: 1.45;
671
+ letter-spacing: 0.03em;
672
+ text-transform: none;
673
+ text-align: left;
674
+ text-decoration: none;
675
+ }
676
+ @media screen and (min-width: 480px) {
677
+ .prokodo-Autocomplete__itemLabel {
678
+ font-size: 0.875rem;
679
+ line-height: 1.4;
680
+ }
681
+ }
682
+ @media screen and (min-width: 960px) {
683
+ .prokodo-Autocomplete__itemLabel {
684
+ font-size: 0.875rem;
685
+ line-height: 1.4;
686
+ }
687
+ }
688
+ .prokodo-Autocomplete__itemDescription {
689
+ margin: 0;
690
+ color: var(--color-grey-700);
691
+ font-weight: 400;
692
+ font-size: 1rem;
693
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
694
+ font-style: normal;
695
+ line-height: 1.45;
696
+ letter-spacing: 0.03em;
697
+ text-transform: none;
698
+ text-align: left;
699
+ text-decoration: none;
700
+ }
701
+ @media screen and (min-width: 480px) {
702
+ .prokodo-Autocomplete__itemDescription {
703
+ font-size: 0.875rem;
704
+ line-height: 1.4;
705
+ }
706
+ }
707
+ @media screen and (min-width: 960px) {
708
+ .prokodo-Autocomplete__itemDescription {
709
+ font-size: 0.875rem;
710
+ line-height: 1.4;
711
+ }
712
+ }
476
713
  .prokodo-Avatar {
477
714
  position: relative;
478
715
  display: flex;
@@ -667,6 +904,7 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
667
904
  background: none;
668
905
  }
669
906
  .prokodo-Button--has-image, .prokodo-Button--has-icon {
907
+ display: flex;
670
908
  align-items: center;
671
909
  }
672
910
  .prokodo-Button--icon-only {
@@ -763,6 +1001,15 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
763
1001
  html[data-theme=dark] .prokodo-Card--white {
764
1002
  background-color: transparent;
765
1003
  }
1004
+ .prokodo-Card--panel {
1005
+ background: rgba(255, 255, 255, 0.03);
1006
+ border: 1px solid rgba(255, 255, 255, 0.1);
1007
+ /* in light mode trotzdem lesbar */
1008
+ }
1009
+ html:not([data-theme=dark]) .prokodo-Card--panel {
1010
+ background: var(--color-white);
1011
+ border: 1px solid rgba(0, 0, 0, 0.08);
1012
+ }
766
1013
  .prokodo-Card__skeleton {
767
1014
  position: absolute;
768
1015
  z-index: 3;
@@ -2144,7 +2391,6 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2144
2391
  position: relative;
2145
2392
  display: flex;
2146
2393
  flex-direction: column;
2147
- justify-content: space-around;
2148
2394
  height: 100%;
2149
2395
  width: 100%;
2150
2396
  }
@@ -2176,6 +2422,9 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2176
2422
  background-color: var(--color-white);
2177
2423
  padding: 0 0.25rem;
2178
2424
  }
2425
+ html[data-theme=dark] .prokodo-Input__label--is-focused {
2426
+ background-color: rgb(16, 19, 27);
2427
+ }
2179
2428
  }
2180
2429
  .prokodo-Input__inner {
2181
2430
  position: relative;
@@ -2212,6 +2461,13 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2212
2461
  background-color: var(--color-white);
2213
2462
  color: var(--color-grey-900);
2214
2463
  }
2464
+ html[data-theme=dark] .prokodo-Input__input input:-webkit-autofill, html[data-theme=dark] .prokodo-Input__input textarea:-webkit-autofill {
2465
+ background-color: rgb(16, 19, 27);
2466
+ }
2467
+ html[data-theme=dark] .prokodo-Input__input input:autofill,
2468
+ html[data-theme=dark] .prokodo-Input__input textarea:autofill {
2469
+ background-color: rgb(16, 19, 27);
2470
+ }
2215
2471
  .prokodo-Input__input input:-webkit-autofill,
2216
2472
  .prokodo-Input__input input:-webkit-autofill:hover,
2217
2473
  .prokodo-Input__input input:-webkit-autofill:focus,
@@ -2232,6 +2488,10 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2232
2488
  background-color: var(--color-white);
2233
2489
  color: var(--color-grey-900);
2234
2490
  }
2491
+ html[data-theme=dark] .prokodo-Input__input input:-moz-autofill,
2492
+ html[data-theme=dark] .prokodo-Input__input textarea:-moz-autofill {
2493
+ background-color: rgb(16, 19, 27);
2494
+ }
2235
2495
  .prokodo-Input__input input:is(:-webkit-autofill, :-webkit-autofill), .prokodo-Input__input textarea:is(:-webkit-autofill, :-webkit-autofill) {
2236
2496
  border-color: none; /* adjust as needed */
2237
2497
  }
@@ -2266,8 +2526,8 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2266
2526
  background: var(--gradient-border-8);
2267
2527
  }
2268
2528
  .prokodo-Input__input__node {
2269
- width: calc(100% - 1.5rem - 1.5rem - 0.25rem);
2270
- padding: 0.875rem 1.5rem;
2529
+ width: calc(100% - 1rem - 1rem - 0.25rem);
2530
+ padding: 0.875rem 1rem;
2271
2531
  margin: 2px;
2272
2532
  border: none;
2273
2533
  outline: none;
@@ -2294,6 +2554,9 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2294
2554
  font-size: 1rem;
2295
2555
  }
2296
2556
  }
2557
+ html[data-theme=dark] .prokodo-Input__input__node {
2558
+ background-color: rgb(16, 19, 27);
2559
+ }
2297
2560
  .prokodo-Input__input__node {
2298
2561
  font-size: 1rem;
2299
2562
  }
@@ -2322,9 +2585,12 @@ html[data-theme=dark] .prokodo-DynamicList__helperText {
2322
2585
  pointer-events: none;
2323
2586
  }
2324
2587
  .prokodo-Input__input__node:disabled {
2325
- color: var(--color-grey-300);
2588
+ color: var(--color-grey-700);
2326
2589
  background: var(--color-white);
2327
2590
  }
2591
+ html[data-theme=dark] .prokodo-Input__input__node:disabled {
2592
+ background-color: rgb(16, 19, 27);
2593
+ }
2328
2594
  .prokodo-Input__input:focus {
2329
2595
  border-color: var(--color-primary-500);
2330
2596
  box-shadow: 0 0 5px var(--color-primary-500);
@@ -3636,7 +3902,6 @@ html[data-theme=dark] .prokodo-RichText__pre {
3636
3902
  .prokodo-RichText__ul, .prokodo-RichText__ol {
3637
3903
  padding: 0;
3638
3904
  list-style-type: none;
3639
- color: var(--color-grey-500);
3640
3905
  }
3641
3906
  .prokodo-RichText__li {
3642
3907
  display: flex;
@@ -3724,22 +3989,19 @@ html[data-theme=dark] .prokodo-RichText__pre {
3724
3989
 
3725
3990
  /* fade-in / out for the popup ------------------------------------------------ */
3726
3991
  @keyframes fade-in {
3727
- 0% {
3992
+ from {
3728
3993
  opacity: 0;
3729
- transform: scale(0.95, 0.8);
3730
3994
  }
3731
- 100% {
3995
+ to {
3732
3996
  opacity: 1;
3733
3997
  }
3734
3998
  }
3735
3999
  @keyframes fade-out {
3736
- 0% {
4000
+ from {
3737
4001
  opacity: 1;
3738
- transform: scale(1, 1);
3739
4002
  }
3740
- 100% {
4003
+ to {
3741
4004
  opacity: 0;
3742
- transform: scale(0.95, 0.8);
3743
4005
  }
3744
4006
  }
3745
4007
  .prokodo-Select {
@@ -3777,6 +4039,9 @@ html[data-theme=dark] .prokodo-RichText__pre {
3777
4039
  -webkit-box-orient: vertical;
3778
4040
  overflow: hidden;
3779
4041
  }
4042
+ html[data-theme=dark] .prokodo-Select__label {
4043
+ background-color: rgb(16, 19, 27);
4044
+ }
3780
4045
  }
3781
4046
  .prokodo-Select__field {
3782
4047
  position: relative;
@@ -3786,6 +4051,7 @@ html[data-theme=dark] .prokodo-RichText__pre {
3786
4051
  }
3787
4052
  .prokodo-Select__field--expanded {
3788
4053
  box-shadow: none;
4054
+ z-index: 100;
3789
4055
  }
3790
4056
  .prokodo-Select__button {
3791
4057
  box-sizing: border-box;
@@ -3816,7 +4082,7 @@ html[data-theme=dark] .prokodo-RichText__pre {
3816
4082
  background: var(--gradient-border-4);
3817
4083
  }
3818
4084
  .prokodo-Select__button:disabled {
3819
- color: var(--color-grey-300);
4085
+ color: var(--color-grey-700);
3820
4086
  cursor: default;
3821
4087
  background: var(--gradient-border-8);
3822
4088
  }
@@ -3848,9 +4114,8 @@ html[data-theme=dark] .prokodo-RichText__pre {
3848
4114
  align-items: center;
3849
4115
  padding: 0.875rem 1rem;
3850
4116
  margin: 2px;
3851
- background: var(--color-white);
3852
- border-radius: 1.5rem;
3853
4117
  background-color: var(--color-white);
4118
+ border-radius: 1.5rem;
3854
4119
  font-weight: 400;
3855
4120
  font-size: 1.125rem;
3856
4121
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -3871,6 +4136,9 @@ html[data-theme=dark] .prokodo-RichText__pre {
3871
4136
  font-size: 1rem;
3872
4137
  }
3873
4138
  }
4139
+ html[data-theme=dark] .prokodo-Select__button__inner {
4140
+ background-color: rgb(16, 19, 27);
4141
+ }
3874
4142
  .prokodo-Select__button__inner {
3875
4143
  font-size: 1rem;
3876
4144
  }
@@ -3884,10 +4152,9 @@ html[data-theme=dark] .prokodo-RichText__pre {
3884
4152
  color: var(--color-grey-500);
3885
4153
  }
3886
4154
  .prokodo-Select__button__inner--is-placeholder--disabled {
3887
- color: var(--color-grey-300);
4155
+ color: var(--color-grey-500);
3888
4156
  }
3889
4157
  .prokodo-Select__listbox {
3890
- position: absolute;
3891
4158
  box-sizing: border-box;
3892
4159
  padding: 2px;
3893
4160
  margin: -2px 0 0 0;
@@ -3901,7 +4168,7 @@ html[data-theme=dark] .prokodo-RichText__pre {
3901
4168
  background: var(--gradient-border-4);
3902
4169
  box-shadow: var(--elevation-3);
3903
4170
  scrollbar-width: none;
3904
- z-index: 10;
4171
+ z-index: 2147483647;
3905
4172
  /* animation – your JS toggles .is-open / .is-closed */
3906
4173
  }
3907
4174
  .prokodo-Select__listbox--is-open {
@@ -3932,6 +4199,8 @@ html[data-theme=dark] .prokodo-RichText__pre {
3932
4199
  text-decoration: none;
3933
4200
  /* hover / focus */
3934
4201
  /* selected */
4202
+ /* keyboard "active" option (aria-activedescendant) */
4203
+ /* if both selected + active, keep it clearly active */
3935
4204
  /* disabled (if you add aria-disabled) */
3936
4205
  }
3937
4206
  @media screen and (min-width: 480px) {
@@ -3944,6 +4213,9 @@ html[data-theme=dark] .prokodo-RichText__pre {
3944
4213
  font-size: 1rem;
3945
4214
  }
3946
4215
  }
4216
+ html[data-theme=dark] .prokodo-Select__item {
4217
+ background: rgb(16, 19, 27);
4218
+ }
3947
4219
  .prokodo-Select__item {
3948
4220
  font-size: 1rem;
3949
4221
  }
@@ -3952,14 +4224,35 @@ html[data-theme=dark] .prokodo-RichText__pre {
3952
4224
  border-bottom-right-radius: 1.5625rem;
3953
4225
  }
3954
4226
  .prokodo-Select__item:hover {
3955
- background-color: var(--color-grey-50);
4227
+ background: var(--color-primary-50);
4228
+ }
4229
+ html[data-theme=dark] .prokodo-Select__item:hover {
4230
+ background: var(--color-primary-50);
3956
4231
  }
3957
4232
  .prokodo-Select__item:focus-visible {
3958
4233
  outline: 0;
3959
- background: var(--color-primary-100);
4234
+ background: var(--color-primary-50);
4235
+ }
4236
+ html[data-theme=dark] .prokodo-Select__item:focus-visible {
4237
+ background: var(--color-primary-50);
3960
4238
  }
3961
4239
  .prokodo-Select__item--selected {
3962
- background-color: var(--color-primary-50);
4240
+ background: var(--color-primary-100);
4241
+ }
4242
+ html[data-theme=dark] .prokodo-Select__item--selected {
4243
+ background: var(--color-primary-100);
4244
+ }
4245
+ .prokodo-Select__item--active {
4246
+ background: var(--color-primary-100);
4247
+ }
4248
+ html[data-theme=dark] .prokodo-Select__item--active {
4249
+ background: var(--color-primary-100);
4250
+ }
4251
+ .prokodo-Select__item--selected--active {
4252
+ background: var(--color-primary-100);
4253
+ }
4254
+ html[data-theme=dark] .prokodo-Select__item--selected--active {
4255
+ background: var(--color-primary-100);
3963
4256
  }
3964
4257
  .prokodo-Select__item[aria-disabled=true] {
3965
4258
  color: var(--color-grey-400);
@@ -3989,6 +4282,9 @@ html[data-theme=dark] .prokodo-RichText__pre {
3989
4282
  inset: 2px;
3990
4283
  background: var(--color-white);
3991
4284
  }
4285
+ html[data-theme=dark] .prokodo-Select__checkbox:before {
4286
+ background-color: rgb(16, 19, 27);
4287
+ }
3992
4288
  .prokodo-Select__checkbox--checked { /* gradient + tick mark */
3993
4289
  background: var(--gradient-border-4);
3994
4290
  }
@@ -4852,7 +5148,7 @@ html[data-theme=dark] .prokodo-Skeleton::after {
4852
5148
  left: 5px;
4853
5149
  }
4854
5150
  .prokodo-Switch__thumb--disabled {
4855
- background-color: var(--color-grey-200);
5151
+ background-color: var(--color-grey-600);
4856
5152
  }
4857
5153
  .prokodo-Switch__thumb {
4858
5154
  /* Center child icon */
@@ -5030,6 +5326,211 @@ html[data-theme=dark] .prokodo-Skeleton::after {
5030
5326
  padding-bottom: 1rem;
5031
5327
  }
5032
5328
 
5329
+ .prokodo-Tabs {
5330
+ width: 100%;
5331
+ }
5332
+ .prokodo-Tabs--vertical {
5333
+ display: grid;
5334
+ grid-gap: 1rem;
5335
+ gap: 1rem;
5336
+ grid-template-columns: minmax(px-to-rem(180px), px-to-rem(260px)) 1fr;
5337
+ }
5338
+ .prokodo-Tabs__list {
5339
+ align-items: stretch;
5340
+ border-bottom: 1px solid var(--color-grey-200);
5341
+ display: flex;
5342
+ gap: 0;
5343
+ overflow-x: auto;
5344
+ padding: 0;
5345
+ position: relative;
5346
+ scrollbar-width: none;
5347
+ }
5348
+ html[data-theme=dark] .prokodo-Tabs__list {
5349
+ border-bottom-color: var(--color-grey-700);
5350
+ }
5351
+ .prokodo-Tabs__list--vertical {
5352
+ border-bottom: none;
5353
+ border-right: 1px solid var(--color-grey-200);
5354
+ flex-direction: column;
5355
+ overflow-x: visible;
5356
+ }
5357
+ html[data-theme=dark] .prokodo-Tabs__list--vertical {
5358
+ border-right-color: var(--color-grey-700);
5359
+ }
5360
+ .prokodo-Tabs__list--disabled {
5361
+ opacity: 0.7;
5362
+ }
5363
+ .prokodo-Tabs__tab {
5364
+ align-items: center;
5365
+ background: transparent;
5366
+ border: none;
5367
+ border-top-left-radius: 1.5rem;
5368
+ border-top-right-radius: 1.5rem;
5369
+ box-shadow: none;
5370
+ color: var(--color-grey-700);
5371
+ cursor: pointer;
5372
+ display: inline-flex;
5373
+ gap: 0.5rem;
5374
+ justify-content: center;
5375
+ min-height: px-to-rem(44px);
5376
+ padding: 0.75rem 1rem;
5377
+ position: relative;
5378
+ transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
5379
+ font-weight: 400;
5380
+ font-size: 1.125rem;
5381
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5382
+ font-style: normal;
5383
+ line-height: 1.55;
5384
+ letter-spacing: 0.03em;
5385
+ text-transform: none;
5386
+ text-align: left;
5387
+ text-decoration: none;
5388
+ }
5389
+ @media screen and (min-width: 480px) {
5390
+ .prokodo-Tabs__tab {
5391
+ font-size: 1rem;
5392
+ }
5393
+ }
5394
+ @media screen and (min-width: 960px) {
5395
+ .prokodo-Tabs__tab {
5396
+ font-size: 1rem;
5397
+ }
5398
+ }
5399
+ .prokodo-Tabs__tab--vertical {
5400
+ border-top-left-radius: 0;
5401
+ border-top-right-radius: 0;
5402
+ }
5403
+ .prokodo-Tabs__tab:hover {
5404
+ background: var(--color-primary-50);
5405
+ }
5406
+ .prokodo-Tabs__tab:focus-visible {
5407
+ outline: 0;
5408
+ background: var(--color-primary-50);
5409
+ }
5410
+ .prokodo-Tabs__tab::after {
5411
+ background: transparent;
5412
+ bottom: 0;
5413
+ content: "";
5414
+ height: 3px;
5415
+ left: 0;
5416
+ position: absolute;
5417
+ right: 0;
5418
+ transform: scaleX(0.35);
5419
+ transform-origin: center;
5420
+ transition: background-color 180ms ease, transform 180ms ease;
5421
+ }
5422
+ .prokodo-Tabs__tab--fullWidth {
5423
+ flex: 1 1;
5424
+ }
5425
+ .prokodo-Tabs__tab--selected {
5426
+ color: var(--color-primary-900);
5427
+ }
5428
+ .prokodo-Tabs__tab--selected::after {
5429
+ background: var(--gradient-border-4);
5430
+ transform: scaleX(1);
5431
+ }
5432
+ .prokodo-Tabs__tab--disabled {
5433
+ color: var(--color-grey-500);
5434
+ cursor: not-allowed;
5435
+ opacity: 0.58;
5436
+ }
5437
+ .prokodo-Tabs__tab--disabled:hover {
5438
+ background: transparent;
5439
+ }
5440
+ .prokodo-Tabs__tab--disabled::after {
5441
+ background: transparent;
5442
+ }
5443
+ .prokodo-Tabs__list--vertical .prokodo-Tabs__tab {
5444
+ justify-content: flex-start;
5445
+ text-align: left;
5446
+ }
5447
+ .prokodo-Tabs__list--vertical .prokodo-Tabs__tab::after {
5448
+ bottom: 0;
5449
+ height: auto;
5450
+ left: 0;
5451
+ right: auto;
5452
+ top: 0;
5453
+ transform: scaleY(0.35);
5454
+ transform-origin: center;
5455
+ width: 3px;
5456
+ }
5457
+ .prokodo-Tabs__list--vertical .prokodo-Tabs__tab--selected::after {
5458
+ transform: scaleY(1);
5459
+ }
5460
+ .prokodo-Tabs__tabLabel {
5461
+ display: -webkit-box;
5462
+ -webkit-line-clamp: 1;
5463
+ -webkit-box-orient: vertical;
5464
+ overflow: hidden;
5465
+ }
5466
+ .prokodo-Tabs__badge {
5467
+ align-items: center;
5468
+ background: var(--color-grey-200);
5469
+ border-radius: px-to-rem(999px);
5470
+ color: var(--color-grey-700);
5471
+ display: inline-flex;
5472
+ justify-content: center;
5473
+ min-width: px-to-rem(20px);
5474
+ padding: 0 0.25rem;
5475
+ font-size: px-to-rem(12px);
5476
+ font-weight: 400;
5477
+ font-size: 1.125rem;
5478
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5479
+ font-style: normal;
5480
+ line-height: 1.55;
5481
+ letter-spacing: 0.03em;
5482
+ text-transform: none;
5483
+ text-align: left;
5484
+ text-decoration: none;
5485
+ }
5486
+ @media screen and (min-width: 480px) {
5487
+ .prokodo-Tabs__badge {
5488
+ font-size: 1rem;
5489
+ }
5490
+ }
5491
+ @media screen and (min-width: 960px) {
5492
+ .prokodo-Tabs__badge {
5493
+ font-size: 1rem;
5494
+ }
5495
+ }
5496
+ .prokodo-Tabs__badgeChip {
5497
+ pointer-events: none;
5498
+ font-weight: 400;
5499
+ font-size: 1rem;
5500
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5501
+ font-style: normal;
5502
+ line-height: 1.45;
5503
+ letter-spacing: 0.03em;
5504
+ text-transform: none;
5505
+ text-align: left;
5506
+ text-decoration: none;
5507
+ }
5508
+ @media screen and (min-width: 480px) {
5509
+ .prokodo-Tabs__badgeChip {
5510
+ font-size: 0.875rem;
5511
+ line-height: 1.4;
5512
+ }
5513
+ }
5514
+ @media screen and (min-width: 960px) {
5515
+ .prokodo-Tabs__badgeChip {
5516
+ font-size: 0.875rem;
5517
+ line-height: 1.4;
5518
+ }
5519
+ }
5520
+ .prokodo-Tabs__panel {
5521
+ background: transparent;
5522
+ border-radius: 0;
5523
+ box-shadow: none;
5524
+ padding: 1rem;
5525
+ }
5526
+ .prokodo-Tabs__panel[hidden] {
5527
+ display: none !important;
5528
+ }
5529
+ .prokodo-Tabs__panel:focus-visible {
5530
+ outline: 0;
5531
+ background: var(--gradient-border-4);
5532
+ }
5533
+
5033
5534
  .prokodo-Teaser {
5034
5535
  overflow: hidden;
5035
5536
  }
@@ -5104,4 +5605,121 @@ html[data-theme=dark] .prokodo-Skeleton::after {
5104
5605
  }
5105
5606
  .prokodo-Teaser__link__icon {
5106
5607
  margin-right: 0.25rem;
5608
+ }
5609
+
5610
+ .prokodo-Tooltip {
5611
+ position: relative;
5612
+ display: inline-flex;
5613
+ align-items: center;
5614
+ /* Visually hidden described-by node (portal a11y). */
5615
+ /* CSS-only fallback (only works for inline mode). */
5616
+ }
5617
+ .prokodo-Tooltip--disabled {
5618
+ pointer-events: none;
5619
+ }
5620
+ .prokodo-Tooltip__sr {
5621
+ position: absolute;
5622
+ width: 1px;
5623
+ height: 1px;
5624
+ padding: 0;
5625
+ margin: -1px;
5626
+ overflow: hidden;
5627
+ clip: rect(0, 0, 0, 0);
5628
+ border: 0;
5629
+ white-space: nowrap;
5630
+ }
5631
+ .prokodo-Tooltip__trigger {
5632
+ width: -moz-max-content !important;
5633
+ width: max-content !important;
5634
+ flex: 0 0 auto !important;
5635
+ }
5636
+ .prokodo-Tooltip__bubble {
5637
+ /* Make sizing measurable and stable. */
5638
+ display: block;
5639
+ position: fixed;
5640
+ left: 0;
5641
+ top: 0;
5642
+ /* Position via CSS vars, but NO animated transform/scale */
5643
+ transform: translate3d(var(--pk-tt-x, 0px), var(--pk-tt-y, 0px), 0);
5644
+ /* Only opacity changes for animation */
5645
+ will-change: opacity;
5646
+ z-index: var(--pk-tt-z, 2147483647);
5647
+ max-width: min(360px, 100vw - 16px);
5648
+ white-space: normal;
5649
+ overflow-wrap: anywhere;
5650
+ padding: 0.25rem 0.5rem;
5651
+ border-radius: 10px;
5652
+ box-shadow: var(--elevation-2);
5653
+ background: var(--color-grey-900);
5654
+ color: var(--color-white);
5655
+ opacity: 0;
5656
+ visibility: hidden;
5657
+ pointer-events: none;
5658
+ /* fade only */
5659
+ transition: opacity 120ms ease, visibility 120ms ease;
5660
+ font-weight: 400;
5661
+ font-size: 1rem;
5662
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5663
+ font-style: normal;
5664
+ line-height: 1.45;
5665
+ letter-spacing: 0.03em;
5666
+ text-transform: none;
5667
+ text-align: left;
5668
+ text-decoration: none;
5669
+ }
5670
+ @media screen and (min-width: 480px) {
5671
+ .prokodo-Tooltip__bubble {
5672
+ font-size: 0.875rem;
5673
+ line-height: 1.4;
5674
+ }
5675
+ }
5676
+ @media screen and (min-width: 960px) {
5677
+ .prokodo-Tooltip__bubble {
5678
+ font-size: 0.875rem;
5679
+ line-height: 1.4;
5680
+ }
5681
+ }
5682
+ .prokodo-Tooltip__bubble--open {
5683
+ opacity: 1;
5684
+ visibility: visible;
5685
+ pointer-events: auto;
5686
+ }
5687
+ .prokodo-Tooltip__bubble::after {
5688
+ content: "";
5689
+ position: absolute;
5690
+ width: 0;
5691
+ height: 0;
5692
+ border-style: solid;
5693
+ }
5694
+ .prokodo-Tooltip__bubble--top::after {
5695
+ left: var(--pk-tt-arrow-x, 50%);
5696
+ top: 100%;
5697
+ transform: translateX(-50%);
5698
+ border-width: 8px 8px 0 8px;
5699
+ border-color: var(--color-grey-900) transparent transparent transparent;
5700
+ }
5701
+ .prokodo-Tooltip__bubble--bottom::after {
5702
+ left: var(--pk-tt-arrow-x, 50%);
5703
+ bottom: 100%;
5704
+ transform: translateX(-50%);
5705
+ border-width: 0 8px 8px 8px;
5706
+ border-color: transparent transparent var(--color-grey-900) transparent;
5707
+ }
5708
+ .prokodo-Tooltip__bubble--left::after {
5709
+ top: var(--pk-tt-arrow-y, 50%);
5710
+ left: 100%;
5711
+ transform: translateY(-50%);
5712
+ border-width: 8px 0 8px 8px;
5713
+ border-color: transparent transparent transparent var(--color-grey-900);
5714
+ }
5715
+ .prokodo-Tooltip__bubble--right::after {
5716
+ top: var(--pk-tt-arrow-y, 50%);
5717
+ right: 100%;
5718
+ transform: translateY(-50%);
5719
+ border-width: 8px 8px 8px 0;
5720
+ border-color: transparent var(--color-grey-900) transparent transparent;
5721
+ }
5722
+ .prokodo-Tooltip:hover .prokodo-Tooltip__bubble, .prokodo-Tooltip:focus-within .prokodo-Tooltip__bubble {
5723
+ opacity: 1;
5724
+ visibility: visible;
5107
5725
  }