@prokodo/ui 0.0.40 → 0.0.42

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 (100) hide show
  1. package/README.md +6 -13
  2. package/dist/components/accordion/Accordion.client.js +1 -1
  3. package/dist/components/animatedText/AnimatedText.client.js +4 -4
  4. package/dist/components/dialog/Dialog.client.js +6 -1
  5. package/dist/components/dialog/Dialog.module.scss.js +2 -0
  6. package/dist/components/dialog/Dialog.view.js +72 -57
  7. package/dist/components/dynamic-list/DynamicList.client.js +91 -0
  8. package/dist/components/dynamic-list/DynamicList.js +12 -0
  9. package/dist/components/dynamic-list/DynamicList.lazy.js +12 -0
  10. package/dist/components/dynamic-list/DynamicList.module.scss.js +20 -0
  11. package/dist/components/dynamic-list/DynamicList.server.js +15 -0
  12. package/dist/components/dynamic-list/DynamicList.view.js +128 -0
  13. package/dist/components/dynamic-list/index.js +4 -0
  14. package/dist/components/form/Form.client.js +4 -0
  15. package/dist/components/form/Form.server.js +2 -0
  16. package/dist/components/form/Form.view.js +2 -3
  17. package/dist/components/form/FormField.client.js +22 -1
  18. package/dist/components/form/FormField.server.js +3 -1
  19. package/dist/components/form/FormResponse.js +1 -0
  20. package/dist/components/label/Label.js +48 -38
  21. package/dist/components/list/List.js +11 -10
  22. package/dist/components/list/List.module.scss.js +1 -0
  23. package/dist/components/progressBar/ProgressBar.client.js +34 -0
  24. package/dist/components/progressBar/ProgressBar.js +13 -0
  25. package/dist/components/progressBar/ProgressBar.lazy.js +15 -0
  26. package/dist/components/progressBar/ProgressBar.module.scss.js +35 -0
  27. package/dist/components/progressBar/ProgressBar.server.js +11 -0
  28. package/dist/components/progressBar/ProgressBar.view.js +55 -0
  29. package/dist/components/progressBar/index.js +4 -0
  30. package/dist/components/select/Select.view.js +10 -1
  31. package/dist/components/sidenav/SideNav.client.js +22 -2
  32. package/dist/components/sidenav/SideNav.module.scss.js +1 -0
  33. package/dist/components/sidenav/SideNav.view.js +2 -2
  34. package/dist/components/snackbar/Snackbar.client.js +38 -0
  35. package/dist/components/snackbar/Snackbar.js +12 -0
  36. package/dist/components/snackbar/Snackbar.lazy.js +12 -0
  37. package/dist/components/snackbar/Snackbar.module.scss.js +30 -0
  38. package/dist/components/snackbar/Snackbar.server.js +12 -0
  39. package/dist/components/snackbar/Snackbar.view.js +55 -0
  40. package/dist/components/snackbar/SnackbarProvider.client.js +79 -0
  41. package/dist/components/snackbar/SnackbarProvider.context.js +11 -0
  42. package/dist/components/snackbar/SnackbarProvider.js +14 -0
  43. package/dist/components/snackbar/SnackbarProvider.lazy.js +15 -0
  44. package/dist/components/snackbar/index.js +10 -0
  45. package/dist/components/stepper/Stepper.view.js +5 -2
  46. package/dist/components/table/Table.js +9 -8
  47. package/dist/components/table/TableCell.js +4 -3
  48. package/dist/constants/project.js +1 -1
  49. package/dist/helpers/createIsland.js +8 -5
  50. package/dist/helpers/createLazyWrapper.js +13 -8
  51. package/dist/index.js +6 -0
  52. package/dist/tsconfig.build.tsbuildinfo +1 -1
  53. package/dist/types/components/accordion/Accordion.d.ts +1 -1
  54. package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
  55. package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
  56. package/dist/types/components/dialog/Dialog.d.ts +1 -1
  57. package/dist/types/components/dialog/Dialog.lazy.d.ts +1 -1
  58. package/dist/types/components/dialog/Dialog.model.d.ts +7 -3
  59. package/dist/types/components/dialog/Dialog.view.d.ts +1 -1
  60. package/dist/types/components/dynamic-list/DynamicList.client.d.ts +4 -0
  61. package/dist/types/components/dynamic-list/DynamicList.d.ts +4 -0
  62. package/dist/types/components/dynamic-list/DynamicList.lazy.d.ts +5 -0
  63. package/dist/types/components/dynamic-list/DynamicList.model.d.ts +32 -0
  64. package/dist/types/components/dynamic-list/DynamicList.server.d.ts +3 -0
  65. package/dist/types/components/dynamic-list/DynamicList.view.d.ts +12 -0
  66. package/dist/types/components/dynamic-list/index.d.ts +2 -0
  67. package/dist/types/components/form/Form.d.ts +1 -1
  68. package/dist/types/components/form/Form.lazy.d.ts +1 -1
  69. package/dist/types/components/form/Form.model.d.ts +9 -5
  70. package/dist/types/components/form/index.d.ts +1 -2
  71. package/dist/types/components/label/Label.model.d.ts +9 -2
  72. package/dist/types/components/link/Link.model.d.ts +2 -2
  73. package/dist/types/components/list/List.model.d.ts +11 -5
  74. package/dist/types/components/progressBar/ProgressBar.client.d.ts +3 -0
  75. package/dist/types/components/progressBar/ProgressBar.d.ts +12 -0
  76. package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +13 -0
  77. package/dist/types/components/progressBar/ProgressBar.model.d.ts +14 -0
  78. package/dist/types/components/progressBar/ProgressBar.server.d.ts +3 -0
  79. package/dist/types/components/progressBar/ProgressBar.view.d.ts +3 -0
  80. package/dist/types/components/progressBar/index.d.ts +2 -0
  81. package/dist/types/components/select/Select.model.d.ts +3 -2
  82. package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
  83. package/dist/types/components/sidenav/SideNav.model.d.ts +2 -0
  84. package/dist/types/components/snackbar/Snackbar.client.d.ts +5 -0
  85. package/dist/types/components/snackbar/Snackbar.d.ts +4 -0
  86. package/dist/types/components/snackbar/Snackbar.lazy.d.ts +5 -0
  87. package/dist/types/components/snackbar/Snackbar.model.d.ts +20 -0
  88. package/dist/types/components/snackbar/Snackbar.server.d.ts +3 -0
  89. package/dist/types/components/snackbar/Snackbar.view.d.ts +7 -0
  90. package/dist/types/components/snackbar/SnackbarProvider.client.d.ts +4 -0
  91. package/dist/types/components/snackbar/SnackbarProvider.context.d.ts +6 -0
  92. package/dist/types/components/snackbar/SnackbarProvider.d.ts +3 -0
  93. package/dist/types/components/snackbar/SnackbarProvider.lazy.d.ts +5 -0
  94. package/dist/types/components/snackbar/SnackbarProvider.model.d.ts +25 -0
  95. package/dist/types/components/snackbar/index.d.ts +6 -0
  96. package/dist/types/components/stepper/Stepper.model.d.ts +1 -1
  97. package/dist/types/components/table/Table.model.d.ts +3 -2
  98. package/dist/types/index.d.ts +3 -0
  99. package/dist/ui.css +745 -16
  100. package/package.json +14 -2
package/dist/ui.css CHANGED
@@ -1554,8 +1554,9 @@ html[data-theme=dark] .prokodo-Button--icon-only {
1554
1554
  background: none;
1555
1555
  }
1556
1556
  .prokodo-Button--has-fullWidth {
1557
- width: 100%;
1557
+ display: flex;
1558
1558
  justify-content: center;
1559
+ width: 100%;
1559
1560
  }
1560
1561
  .prokodo-Button--is-disabled {
1561
1562
  cursor: default;
@@ -3303,7 +3304,7 @@ html[data-theme=dark] .prokodo-Card__background {
3303
3304
  border-color: var(--color-grey-500);
3304
3305
  color: var(--color-black);
3305
3306
  font-weight: 500;
3306
- font-size: 1.5rem;
3307
+ font-size: 1.125rem;
3307
3308
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
3308
3309
  font-style: normal;
3309
3310
  line-height: 1.55;
@@ -3944,7 +3945,7 @@ html[data-theme=dark] .prokodo-Input__helperText {
3944
3945
  font-weight: 400;
3945
3946
  display: block;
3946
3947
  font-weight: 500;
3947
- font-size: 1.5rem;
3948
+ font-size: 1.125rem;
3948
3949
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
3949
3950
  font-style: normal;
3950
3951
  line-height: 1.55;
@@ -4209,6 +4210,43 @@ html[data-theme=dark] .prokodo-Label__text {
4209
4210
  justify-content: space-between;
4210
4211
  padding-bottom: 1rem;
4211
4212
  }
4213
+ .prokodo-Dialog__header__button {
4214
+ display: flex;
4215
+ align-items: center;
4216
+ border: none;
4217
+ background: none;
4218
+ color: var(--color-grey-900);
4219
+ cursor: pointer;
4220
+ font-weight: 400;
4221
+ font-size: 1rem;
4222
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
4223
+ font-style: normal;
4224
+ line-height: 1.45;
4225
+ letter-spacing: 0.03em;
4226
+ text-transform: none;
4227
+ text-align: left;
4228
+ text-decoration: none;
4229
+ }
4230
+ @media screen and (min-width: 480px) {
4231
+ .prokodo-Dialog__header__button {
4232
+ font-size: 0.875rem;
4233
+ line-height: 1.4;
4234
+ }
4235
+ }
4236
+ @media screen and (min-width: 960px) {
4237
+ .prokodo-Dialog__header__button {
4238
+ font-size: 0.875rem;
4239
+ line-height: 1.4;
4240
+ }
4241
+ }
4242
+ .prokodo-Dialog__header__button__icon {
4243
+ margin-right: 0.25rem;
4244
+ }
4245
+ .prokodo-Dialog__header__button:focus {
4246
+ outline: 3px solid #1E90FF;
4247
+ outline-offset: 4px;
4248
+ border-radius: 1.5rem;
4249
+ }
4212
4250
  .prokodo-Dialog__close {
4213
4251
  display: flex;
4214
4252
  align-items: center;
@@ -4632,6 +4670,223 @@ html[data-theme=dark] .prokodo-Label__text {
4632
4670
  padding: 1rem;
4633
4671
  overflow-y: auto;
4634
4672
  max-height: calc(100% - 3rem);
4673
+ }
4674
+ /* stylelint-disable */
4675
+ /**
4676
+ * Calculates a rem-based value by a given pixel size.
4677
+ */
4678
+ /* stylelint-disable */
4679
+ /**
4680
+ * Gradient move, mainly for text
4681
+ */
4682
+ @keyframes gradientMove {
4683
+ from {
4684
+ background-position: 0% 50%;
4685
+ }
4686
+ to {
4687
+ background-position: 100% 50%;
4688
+ }
4689
+ }
4690
+ /**
4691
+ * Fade in
4692
+ */
4693
+ @keyframes fadeInKeyframe {
4694
+ 0% {
4695
+ opacity: 0;
4696
+ }
4697
+ 100% {
4698
+ opacity: 1;
4699
+ }
4700
+ }
4701
+ /* stylelint-disable */
4702
+ /**
4703
+ * Applies flex-column and gap.
4704
+ */
4705
+ /*
4706
+ As example (light, primary)
4707
+ See defined modes in designsystem/config/gradients
4708
+ */
4709
+ /**
4710
+ * Mixin that renders a media query that target screens that are larger than the
4711
+ * given size.
4712
+ */
4713
+ /**
4714
+ * Mixin that renders a media query that target screens that are smaller than the
4715
+ * given size.
4716
+ */
4717
+ /**
4718
+ * Mixin that renders a media query that target screens in between the given range.
4719
+ */
4720
+ /**
4721
+ * Mixin that renders a media query that target screens that have height larger than the
4722
+ * given size.
4723
+ */
4724
+ /**
4725
+ * Mixin that renders a media query that target screens that have height smaller than the
4726
+ * given size.
4727
+ */
4728
+ /* stylelint-disable */
4729
+ /* M3/Elevation Light/1 */
4730
+ /* M3/Elevation Light/2 */
4731
+ /* M3/Elevation/5 */
4732
+ /* M3/Elevation/1 Text */
4733
+ /* Inner elevations */
4734
+ /* stylelint-disable */
4735
+ /**
4736
+ * Visually hides an element but not removes them for screen readers.
4737
+ */
4738
+ /**
4739
+ * The inverse of the `hidden` helper to reset a previously hidden element to be
4740
+ * visible for users.
4741
+ */
4742
+ /**
4743
+ * Creates a selector for :hover effects depending on the current user input
4744
+ * device. If the input device is a mouse, this hover effect will appear.
4745
+ * Keyboard and touch inputs are ignored.
4746
+ *
4747
+ * Example usage:
4748
+ * .link {
4749
+ * color: blue;
4750
+ *
4751
+ * @include when-hovered() {
4752
+ * color: green;
4753
+ * }
4754
+ * }
4755
+ */
4756
+ /**
4757
+ * Creates a selector for :active effects depending on the current user input
4758
+ * device. The state applies when the input device is a mouse or keyboard. Touch
4759
+ * devices will not show a pressed state.
4760
+ *
4761
+ * Example usage:
4762
+ * .link {
4763
+ * box-shadow: none;
4764
+ *
4765
+ * @include when-pressed() {
4766
+ * box-shadow: inset 0 2px 4px grey;
4767
+ * }
4768
+ * }
4769
+ */
4770
+ /**
4771
+ * Creates a selector for :focus effects depending on the current user input
4772
+ * device. When the user navigates using a keyboard, the focus effect defined in
4773
+ * here is applied. For other input devices they don't show up.
4774
+ *
4775
+ * Example usage:
4776
+ * .link {
4777
+ * text-decoration: none;
4778
+ *
4779
+ * @include when-focused() {
4780
+ * text-decoration: underline;
4781
+ * }
4782
+ * }
4783
+ */
4784
+ /**
4785
+ * Creates a selector for :focus-within effects depending on the current user
4786
+ * input device. When the user navigates using a keyboard, the focus effect
4787
+ * defined in here is applied. For other input devices they don't show up.
4788
+ *
4789
+ * Example usage:
4790
+ * .link {
4791
+ * img {
4792
+ * opacity: 0.75;
4793
+ *
4794
+ * @include when-focused-within() {
4795
+ * opacity: 1;
4796
+ * }
4797
+ * }
4798
+ * }
4799
+ */
4800
+ /**
4801
+ * Wrapper for media query "prefers-reduced-motion".
4802
+ */
4803
+ /**
4804
+ * This helper hides the outline but still makes it visible for
4805
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
4806
+ */
4807
+ /**
4808
+ * This helper hides the outline but still makes it visible for
4809
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
4810
+ */
4811
+ /**
4812
+ * Renders an alternative, but application consistent focus-ring.
4813
+ */
4814
+ /**
4815
+ * Specifies the outer layout for all contents across breakpoints. Apply this
4816
+ * mixin to the container element, to center the contents on the screen within
4817
+ * the layout offsets.
4818
+ */
4819
+ /**
4820
+ * This mixin specifies basic text-styles for components that render a richtext
4821
+ * content.
4822
+ */
4823
+ .prokodo-DynamicList {
4824
+ border: none;
4825
+ padding: 0;
4826
+ /* ───────────────── helper / error text */
4827
+ }
4828
+ .prokodo-DynamicList__list {
4829
+ display: flex;
4830
+ align-items: baseline;
4831
+ justify-content: space-between;
4832
+ gap: 1rem;
4833
+ list-style-type: none;
4834
+ padding: 0;
4835
+ }
4836
+ .prokodo-DynamicList__list__item {
4837
+ display: flex;
4838
+ align-items: center;
4839
+ flex-direction: column;
4840
+ width: 100%;
4841
+ }
4842
+ .prokodo-DynamicList__list__item--is-multi {
4843
+ align-items: flex-start;
4844
+ }
4845
+ .prokodo-DynamicList__field--is-multi {
4846
+ margin-bottom: 1rem;
4847
+ }
4848
+ .prokodo-DynamicList__field--is-multi:last-of-type {
4849
+ margin-bottom: 0;
4850
+ }
4851
+ .prokodo-DynamicList__delete__button--is-multi {
4852
+ margin-top: 0.5rem;
4853
+ }
4854
+ .prokodo-DynamicList__helperText {
4855
+ padding-left: 1.5rem;
4856
+ padding-top: 0.75rem;
4857
+ display: flex;
4858
+ color: var(--color-grey-300);
4859
+ width: 80%;
4860
+ font-weight: 400;
4861
+ font-size: 1rem;
4862
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
4863
+ font-style: normal;
4864
+ line-height: 1.45;
4865
+ letter-spacing: 0.03em;
4866
+ text-transform: none;
4867
+ text-align: left;
4868
+ text-decoration: none;
4869
+ }
4870
+ @media screen and (min-width: 480px) {
4871
+ .prokodo-DynamicList__helperText {
4872
+ font-size: 0.875rem;
4873
+ line-height: 1.4;
4874
+ }
4875
+ }
4876
+ @media screen and (min-width: 960px) {
4877
+ .prokodo-DynamicList__helperText {
4878
+ font-size: 0.875rem;
4879
+ line-height: 1.4;
4880
+ }
4881
+ }
4882
+ html[data-theme=dark] .prokodo-DynamicList__helperText {
4883
+ color: var(--color-grey-700);
4884
+ }
4885
+ .prokodo-DynamicList__helperText__content {
4886
+ width: 100%;
4887
+ }
4888
+ .prokodo-DynamicList__helperText__content--is-error {
4889
+ color: var(--color-error);
4635
4890
  }/* stylelint-disable */
4636
4891
  /**
4637
4892
  * Calculates a rem-based value by a given pixel size.
@@ -5906,6 +6161,7 @@ html[data-theme=dark] .prokodo-Select__helperText {
5906
6161
  position: relative;
5907
6162
  width: 42px;
5908
6163
  height: 26px;
6164
+ min-width: 42px;
5909
6165
  background-color: var(--color-grey-500);
5910
6166
  border-radius: 13px;
5911
6167
  transition: background-color 0.3s ease;
@@ -5950,6 +6206,7 @@ html[data-theme=dark] .prokodo-Select__helperText {
5950
6206
  }
5951
6207
  .prokodo-Switch__thumb--checked {
5952
6208
  transform: translateY(-50%) translateX(13px);
6209
+ left: 5px;
5953
6210
  }
5954
6211
  .prokodo-Switch__thumb--disabled {
5955
6212
  background-color: var(--color-grey-200);
@@ -6516,7 +6773,7 @@ html[data-theme=dark] .prokodo-Select__helperText {
6516
6773
  display: block;
6517
6774
  padding-bottom: 1rem;
6518
6775
  font-weight: 500;
6519
- font-size: 1.5rem;
6776
+ font-size: 1.125rem;
6520
6777
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
6521
6778
  font-style: normal;
6522
6779
  line-height: 1.55;
@@ -6710,6 +6967,9 @@ html[data-theme=dark] .prokodo-Select__helperText {
6710
6967
  text-align: left;
6711
6968
  text-decoration: none;
6712
6969
  }
6970
+ .prokodo-List__item--has-icon {
6971
+ flex-wrap: nowrap;
6972
+ }
6713
6973
  .prokodo-List__item__card {
6714
6974
  margin: 0.75rem 0;
6715
6975
  }
@@ -8028,7 +8288,7 @@ html[data-theme=dark] .prokodo-List__item__icon {
8028
8288
  padding-left: 0.75rem;
8029
8289
  color: var(--color-grey-500);
8030
8290
  font-weight: 500;
8031
- font-size: 1.5rem;
8291
+ font-size: 1.125rem;
8032
8292
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
8033
8293
  font-style: normal;
8034
8294
  line-height: 1.55;
@@ -8871,14 +9131,241 @@ html[data-theme=dark] .prokodo-List__item__icon {
8871
9131
  * This mixin specifies basic text-styles for components that render a richtext
8872
9132
  * content.
8873
9133
  */
8874
- .prokodo-Quote {
8875
- margin: 0;
8876
- }
8877
- .prokodo-Quote__headline {
8878
- padding-bottom: 1rem;
8879
- }
8880
- .prokodo-Quote__quote {
8881
- margin: 0;
9134
+ @keyframes gradientShift {
9135
+ 0% {
9136
+ background-position: 0 0;
9137
+ }
9138
+ 100% {
9139
+ background-position: -200% 0;
9140
+ }
9141
+ }
9142
+ @keyframes indeterminateMove {
9143
+ 0% {
9144
+ transform: translateX(-100%);
9145
+ }
9146
+ 100% {
9147
+ transform: translateX(400%);
9148
+ }
9149
+ }
9150
+ .prokodo-ProgressBar {
9151
+ width: 100%;
9152
+ display: flex;
9153
+ flex-direction: column;
9154
+ }
9155
+ .prokodo-ProgressBar__track {
9156
+ width: 100%;
9157
+ height: 1rem;
9158
+ border-radius: 0.75rem;
9159
+ background-color: var(--color-grey-100);
9160
+ overflow: hidden;
9161
+ box-shadow: var(--elevation-2);
9162
+ }
9163
+ .prokodo-ProgressBar__bar {
9164
+ height: 100%;
9165
+ width: 0%;
9166
+ background-image: inherit;
9167
+ background-size: 200% 100%;
9168
+ animation: gradientShift 2s linear;
9169
+ transition: width 0.4s ease-out;
9170
+ }
9171
+ .prokodo-ProgressBar__bar--primary {
9172
+ background-image: var(--gradient-background-primary-secondary);
9173
+ }
9174
+ .prokodo-ProgressBar__bar--secondary {
9175
+ background-image: var(--gradient-background-secondary);
9176
+ }
9177
+ .prokodo-ProgressBar__bar--info {
9178
+ background-image: var(--gradient-background-info);
9179
+ }
9180
+ .prokodo-ProgressBar__bar--success {
9181
+ background-image: var(--gradient-background-success);
9182
+ }
9183
+ .prokodo-ProgressBar__bar--warning {
9184
+ background-image: var(--gradient-background-warning);
9185
+ }
9186
+ .prokodo-ProgressBar__bar--error {
9187
+ background-image: var(--gradient-background-error);
9188
+ }
9189
+ .prokodo-ProgressBar__bar--infinity {
9190
+ animation: gradientShift 2s linear infinite;
9191
+ }
9192
+ .prokodo-ProgressBar__bar--indeterminate {
9193
+ width: 25%;
9194
+ animation: gradientShift 2s linear, indeterminateMove 2s ease-in-out;
9195
+ }
9196
+ .prokodo-ProgressBar__bar--indeterminate--infinity {
9197
+ animation: gradientShift 2s linear infinite, indeterminateMove 2s ease-in-out infinite;
9198
+ }
9199
+ .prokodo-ProgressBar__label {
9200
+ margin-top: 0.25rem;
9201
+ font-size: 0.875rem;
9202
+ text-align: center;
9203
+ -webkit-user-select: none;
9204
+ -moz-user-select: none;
9205
+ user-select: none;
9206
+ }
9207
+ .prokodo-ProgressBar--animated .ProgressBar__bar:not(.ProgressBar__bar--indeterminate) {
9208
+ animation: gradientShift 2s linear infinite;
9209
+ }
9210
+ .prokodo-ProgressBar--animated .ProgressBar__bar--indeterminate {
9211
+ animation: gradientShift 2s linear infinite, indeterminateMove 2s ease-in-out infinite;
9212
+ }/* stylelint-disable */
9213
+ /**
9214
+ * Calculates a rem-based value by a given pixel size.
9215
+ */
9216
+ /* stylelint-disable */
9217
+ /**
9218
+ * Gradient move, mainly for text
9219
+ */
9220
+ @keyframes gradientMove {
9221
+ from {
9222
+ background-position: 0% 50%;
9223
+ }
9224
+ to {
9225
+ background-position: 100% 50%;
9226
+ }
9227
+ }
9228
+ /**
9229
+ * Fade in
9230
+ */
9231
+ @keyframes fadeInKeyframe {
9232
+ 0% {
9233
+ opacity: 0;
9234
+ }
9235
+ 100% {
9236
+ opacity: 1;
9237
+ }
9238
+ }
9239
+ /* stylelint-disable */
9240
+ /**
9241
+ * Applies flex-column and gap.
9242
+ */
9243
+ /*
9244
+ As example (light, primary)
9245
+ See defined modes in designsystem/config/gradients
9246
+ */
9247
+ /**
9248
+ * Mixin that renders a media query that target screens that are larger than the
9249
+ * given size.
9250
+ */
9251
+ /**
9252
+ * Mixin that renders a media query that target screens that are smaller than the
9253
+ * given size.
9254
+ */
9255
+ /**
9256
+ * Mixin that renders a media query that target screens in between the given range.
9257
+ */
9258
+ /**
9259
+ * Mixin that renders a media query that target screens that have height larger than the
9260
+ * given size.
9261
+ */
9262
+ /**
9263
+ * Mixin that renders a media query that target screens that have height smaller than the
9264
+ * given size.
9265
+ */
9266
+ /* stylelint-disable */
9267
+ /* M3/Elevation Light/1 */
9268
+ /* M3/Elevation Light/2 */
9269
+ /* M3/Elevation/5 */
9270
+ /* M3/Elevation/1 Text */
9271
+ /* Inner elevations */
9272
+ /* stylelint-disable */
9273
+ /**
9274
+ * Visually hides an element but not removes them for screen readers.
9275
+ */
9276
+ /**
9277
+ * The inverse of the `hidden` helper to reset a previously hidden element to be
9278
+ * visible for users.
9279
+ */
9280
+ /**
9281
+ * Creates a selector for :hover effects depending on the current user input
9282
+ * device. If the input device is a mouse, this hover effect will appear.
9283
+ * Keyboard and touch inputs are ignored.
9284
+ *
9285
+ * Example usage:
9286
+ * .link {
9287
+ * color: blue;
9288
+ *
9289
+ * @include when-hovered() {
9290
+ * color: green;
9291
+ * }
9292
+ * }
9293
+ */
9294
+ /**
9295
+ * Creates a selector for :active effects depending on the current user input
9296
+ * device. The state applies when the input device is a mouse or keyboard. Touch
9297
+ * devices will not show a pressed state.
9298
+ *
9299
+ * Example usage:
9300
+ * .link {
9301
+ * box-shadow: none;
9302
+ *
9303
+ * @include when-pressed() {
9304
+ * box-shadow: inset 0 2px 4px grey;
9305
+ * }
9306
+ * }
9307
+ */
9308
+ /**
9309
+ * Creates a selector for :focus effects depending on the current user input
9310
+ * device. When the user navigates using a keyboard, the focus effect defined in
9311
+ * here is applied. For other input devices they don't show up.
9312
+ *
9313
+ * Example usage:
9314
+ * .link {
9315
+ * text-decoration: none;
9316
+ *
9317
+ * @include when-focused() {
9318
+ * text-decoration: underline;
9319
+ * }
9320
+ * }
9321
+ */
9322
+ /**
9323
+ * Creates a selector for :focus-within effects depending on the current user
9324
+ * input device. When the user navigates using a keyboard, the focus effect
9325
+ * defined in here is applied. For other input devices they don't show up.
9326
+ *
9327
+ * Example usage:
9328
+ * .link {
9329
+ * img {
9330
+ * opacity: 0.75;
9331
+ *
9332
+ * @include when-focused-within() {
9333
+ * opacity: 1;
9334
+ * }
9335
+ * }
9336
+ * }
9337
+ */
9338
+ /**
9339
+ * Wrapper for media query "prefers-reduced-motion".
9340
+ */
9341
+ /**
9342
+ * This helper hides the outline but still makes it visible for
9343
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
9344
+ */
9345
+ /**
9346
+ * This helper hides the outline but still makes it visible for
9347
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
9348
+ */
9349
+ /**
9350
+ * Renders an alternative, but application consistent focus-ring.
9351
+ */
9352
+ /**
9353
+ * Specifies the outer layout for all contents across breakpoints. Apply this
9354
+ * mixin to the container element, to center the contents on the screen within
9355
+ * the layout offsets.
9356
+ */
9357
+ /**
9358
+ * This mixin specifies basic text-styles for components that render a richtext
9359
+ * content.
9360
+ */
9361
+ .prokodo-Quote {
9362
+ margin: 0;
9363
+ }
9364
+ .prokodo-Quote__headline {
9365
+ padding-bottom: 1rem;
9366
+ }
9367
+ .prokodo-Quote__quote {
9368
+ margin: 0;
8882
9369
  }
8883
9370
  .prokodo-Quote__quote__content {
8884
9371
  margin: 0 0 1rem 0;
@@ -9207,14 +9694,14 @@ html[data-theme=dark] .prokodo-List__item__icon {
9207
9694
  border-radius: 0.25rem;
9208
9695
  transition: background-color 120ms;
9209
9696
  }
9210
- .prokodo-SideNav__link:hover {
9697
+ .prokodo-SideNav__link--is-active, .prokodo-SideNav__link:hover {
9211
9698
  text-decoration: none;
9212
9699
  background: var(--color-grey-50);
9213
9700
  }
9214
- .prokodo-SideNav__link:hover > div:first-of-type {
9701
+ .prokodo-SideNav__link--is-active > div:first-of-type, .prokodo-SideNav__link:hover > div:first-of-type {
9215
9702
  position: relative;
9216
9703
  }
9217
- .prokodo-SideNav__link:hover > div:first-of-type:before {
9704
+ .prokodo-SideNav__link--is-active > div:first-of-type:before, .prokodo-SideNav__link:hover > div:first-of-type:before {
9218
9705
  content: "";
9219
9706
  position: absolute;
9220
9707
  left: 0;
@@ -9323,6 +9810,248 @@ html[data-theme=dark] .prokodo-List__item__icon {
9323
9810
  /* M3/Elevation/1 Text */
9324
9811
  /* Inner elevations */
9325
9812
  /* stylelint-disable */
9813
+ /**
9814
+ * Visually hides an element but not removes them for screen readers.
9815
+ */
9816
+ /**
9817
+ * The inverse of the `hidden` helper to reset a previously hidden element to be
9818
+ * visible for users.
9819
+ */
9820
+ /**
9821
+ * Creates a selector for :hover effects depending on the current user input
9822
+ * device. If the input device is a mouse, this hover effect will appear.
9823
+ * Keyboard and touch inputs are ignored.
9824
+ *
9825
+ * Example usage:
9826
+ * .link {
9827
+ * color: blue;
9828
+ *
9829
+ * @include when-hovered() {
9830
+ * color: green;
9831
+ * }
9832
+ * }
9833
+ */
9834
+ /**
9835
+ * Creates a selector for :active effects depending on the current user input
9836
+ * device. The state applies when the input device is a mouse or keyboard. Touch
9837
+ * devices will not show a pressed state.
9838
+ *
9839
+ * Example usage:
9840
+ * .link {
9841
+ * box-shadow: none;
9842
+ *
9843
+ * @include when-pressed() {
9844
+ * box-shadow: inset 0 2px 4px grey;
9845
+ * }
9846
+ * }
9847
+ */
9848
+ /**
9849
+ * Creates a selector for :focus effects depending on the current user input
9850
+ * device. When the user navigates using a keyboard, the focus effect defined in
9851
+ * here is applied. For other input devices they don't show up.
9852
+ *
9853
+ * Example usage:
9854
+ * .link {
9855
+ * text-decoration: none;
9856
+ *
9857
+ * @include when-focused() {
9858
+ * text-decoration: underline;
9859
+ * }
9860
+ * }
9861
+ */
9862
+ /**
9863
+ * Creates a selector for :focus-within effects depending on the current user
9864
+ * input device. When the user navigates using a keyboard, the focus effect
9865
+ * defined in here is applied. For other input devices they don't show up.
9866
+ *
9867
+ * Example usage:
9868
+ * .link {
9869
+ * img {
9870
+ * opacity: 0.75;
9871
+ *
9872
+ * @include when-focused-within() {
9873
+ * opacity: 1;
9874
+ * }
9875
+ * }
9876
+ * }
9877
+ */
9878
+ /**
9879
+ * Wrapper for media query "prefers-reduced-motion".
9880
+ */
9881
+ /**
9882
+ * This helper hides the outline but still makes it visible for
9883
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
9884
+ */
9885
+ /**
9886
+ * This helper hides the outline but still makes it visible for
9887
+ * Windows high-contrast users. Use this instead of `outline: 0;`.
9888
+ */
9889
+ /**
9890
+ * Renders an alternative, but application consistent focus-ring.
9891
+ */
9892
+ /**
9893
+ * Specifies the outer layout for all contents across breakpoints. Apply this
9894
+ * mixin to the container element, to center the contents on the screen within
9895
+ * the layout offsets.
9896
+ */
9897
+ /**
9898
+ * This mixin specifies basic text-styles for components that render a richtext
9899
+ * content.
9900
+ */
9901
+ .prokodo-Snackbar {
9902
+ position: relative;
9903
+ display: flex;
9904
+ align-items: center;
9905
+ gap: 0.75rem;
9906
+ min-width: 288px;
9907
+ max-width: 430px;
9908
+ padding: 1rem 1.5rem;
9909
+ border-radius: 8px;
9910
+ box-shadow: var(--elevation-2);
9911
+ background-color: var(--color-grey-900);
9912
+ color: var(--color-white);
9913
+ }
9914
+ .prokodo-Snackbar--success {
9915
+ background-color: var(--color-success);
9916
+ }
9917
+ .prokodo-Snackbar--error {
9918
+ background-color: var(--color-error);
9919
+ }
9920
+ .prokodo-Snackbar--warning {
9921
+ background-color: var(--color-warning);
9922
+ }
9923
+ .prokodo-Snackbar--info {
9924
+ background-color: var(--color-info);
9925
+ }
9926
+ .prokodo-Snackbar__message {
9927
+ flex: 1 1;
9928
+ }
9929
+ .prokodo-Snackbar__action {
9930
+ margin-left: auto;
9931
+ }
9932
+ .prokodo-Snackbar__close {
9933
+ display: inline-flex;
9934
+ align-items: center;
9935
+ justify-content: center;
9936
+ width: 20px;
9937
+ height: 20px;
9938
+ padding: 0;
9939
+ border: none;
9940
+ background: transparent;
9941
+ color: inherit;
9942
+ cursor: pointer;
9943
+ }
9944
+ .prokodo-Snackbar__close:focus-visible {
9945
+ outline: 2px solid var(--color-primary-500);
9946
+ outline-offset: 2px;
9947
+ }
9948
+ .prokodo-Snackbar__close:hover {
9949
+ opacity: 0.8;
9950
+ }
9951
+ .prokodo-Snackbar--readonly {
9952
+ pointer-events: none;
9953
+ }
9954
+
9955
+ .prokodo-SnackbarProvider {
9956
+ position: "fixed";
9957
+ display: "flex";
9958
+ flex-direction: "column";
9959
+ gap: 8;
9960
+ z-index: 9000;
9961
+ pointer-events: "none";
9962
+ }
9963
+ .prokodo-SnackbarProvider--is-top {
9964
+ inset-block-start: 16px;
9965
+ inset-block-end: auto;
9966
+ }
9967
+ .prokodo-SnackbarProvider--is-bottom {
9968
+ inset-block-start: auto;
9969
+ inset-block-end: 16px;
9970
+ }
9971
+ .prokodo-SnackbarProvider--is-left {
9972
+ inset-inline-start: 16px;
9973
+ inset-inline-end: auto;
9974
+ }
9975
+ .prokodo-SnackbarProvider--is-right {
9976
+ inset-inline-start: auto;
9977
+ inset-inline-end: 16px;
9978
+ }
9979
+ .prokodo-SnackbarProvider__snackbar {
9980
+ pointer-events: auto;
9981
+ margin: 0 0 1rem 0;
9982
+ }
9983
+ .prokodo-SnackbarProvider__snackbar--is-top {
9984
+ margin-top: 1rem;
9985
+ }
9986
+ .prokodo-SnackbarProvider__snackbar--is-bottom {
9987
+ margin-bottom: 1rem;
9988
+ }
9989
+ .prokodo-SnackbarProvider__snackbar--is-left {
9990
+ margin-left: 1rem;
9991
+ }
9992
+ .prokodo-SnackbarProvider__snackbar--is-right {
9993
+ margin-right: 1rem;
9994
+ }/* stylelint-disable */
9995
+ /**
9996
+ * Calculates a rem-based value by a given pixel size.
9997
+ */
9998
+ /* stylelint-disable */
9999
+ /**
10000
+ * Gradient move, mainly for text
10001
+ */
10002
+ @keyframes gradientMove {
10003
+ from {
10004
+ background-position: 0% 50%;
10005
+ }
10006
+ to {
10007
+ background-position: 100% 50%;
10008
+ }
10009
+ }
10010
+ /**
10011
+ * Fade in
10012
+ */
10013
+ @keyframes fadeInKeyframe {
10014
+ 0% {
10015
+ opacity: 0;
10016
+ }
10017
+ 100% {
10018
+ opacity: 1;
10019
+ }
10020
+ }
10021
+ /* stylelint-disable */
10022
+ /**
10023
+ * Applies flex-column and gap.
10024
+ */
10025
+ /*
10026
+ As example (light, primary)
10027
+ See defined modes in designsystem/config/gradients
10028
+ */
10029
+ /**
10030
+ * Mixin that renders a media query that target screens that are larger than the
10031
+ * given size.
10032
+ */
10033
+ /**
10034
+ * Mixin that renders a media query that target screens that are smaller than the
10035
+ * given size.
10036
+ */
10037
+ /**
10038
+ * Mixin that renders a media query that target screens in between the given range.
10039
+ */
10040
+ /**
10041
+ * Mixin that renders a media query that target screens that have height larger than the
10042
+ * given size.
10043
+ */
10044
+ /**
10045
+ * Mixin that renders a media query that target screens that have height smaller than the
10046
+ * given size.
10047
+ */
10048
+ /* stylelint-disable */
10049
+ /* M3/Elevation Light/1 */
10050
+ /* M3/Elevation Light/2 */
10051
+ /* M3/Elevation/5 */
10052
+ /* M3/Elevation/1 Text */
10053
+ /* Inner elevations */
10054
+ /* stylelint-disable */
9326
10055
  /**
9327
10056
  * Visually hides an element but not removes them for screen readers.
9328
10057
  */