@prokodo/ui 0.1.13 → 0.1.14

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 (48) hide show
  1. package/README.md +2 -0
  2. package/dist/components/button/Button.css +114 -6
  3. package/dist/components/button/Button.module.css +114 -6
  4. package/dist/components/button/Button.module.scss.js +10 -2
  5. package/dist/components/button/Button.view.js +1 -0
  6. package/dist/components/checkbox/Checkbox.client.js +42 -0
  7. package/dist/components/checkbox/Checkbox.css +312 -0
  8. package/dist/components/checkbox/Checkbox.js +12 -0
  9. package/dist/components/checkbox/Checkbox.lazy.js +12 -0
  10. package/dist/components/checkbox/Checkbox.module.css +312 -0
  11. package/dist/components/checkbox/Checkbox.module.scss.js +20 -0
  12. package/dist/components/checkbox/Checkbox.server.js +20 -0
  13. package/dist/components/checkbox/Checkbox.view.js +86 -0
  14. package/dist/components/checkbox/index.js +4 -0
  15. package/dist/components/checkbox-group/CheckboxGroup.client.js +57 -0
  16. package/dist/components/checkbox-group/CheckboxGroup.css +238 -0
  17. package/dist/components/checkbox-group/CheckboxGroup.js +13 -0
  18. package/dist/components/checkbox-group/CheckboxGroup.lazy.js +12 -0
  19. package/dist/components/checkbox-group/CheckboxGroup.module.css +238 -0
  20. package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +15 -0
  21. package/dist/components/checkbox-group/CheckboxGroup.server.js +25 -0
  22. package/dist/components/checkbox-group/CheckboxGroup.view.js +97 -0
  23. package/dist/components/checkbox-group/index.js +4 -0
  24. package/dist/components/dialog/Dialog.view.js +2 -1
  25. package/dist/components/snackbar/Snackbar.css +5 -1
  26. package/dist/components/snackbar/Snackbar.module.css +5 -1
  27. package/dist/constants/project.js +1 -1
  28. package/dist/index.js +4 -0
  29. package/dist/theme.css +430 -9
  30. package/dist/tsconfig.build.tsbuildinfo +1 -1
  31. package/dist/types/components/checkbox/Checkbox.client.d.ts +4 -0
  32. package/dist/types/components/checkbox/Checkbox.d.ts +18 -0
  33. package/dist/types/components/checkbox/Checkbox.lazy.d.ts +19 -0
  34. package/dist/types/components/checkbox/Checkbox.model.d.ts +23 -0
  35. package/dist/types/components/checkbox/Checkbox.server.d.ts +3 -0
  36. package/dist/types/components/checkbox/Checkbox.view.d.ts +3 -0
  37. package/dist/types/components/checkbox/index.d.ts +2 -0
  38. package/dist/types/components/checkbox-group/CheckboxGroup.client.d.ts +4 -0
  39. package/dist/types/components/checkbox-group/CheckboxGroup.d.ts +4 -0
  40. package/dist/types/components/checkbox-group/CheckboxGroup.lazy.d.ts +5 -0
  41. package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +38 -0
  42. package/dist/types/components/checkbox-group/CheckboxGroup.server.d.ts +3 -0
  43. package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +3 -0
  44. package/dist/types/components/checkbox-group/index.d.ts +2 -0
  45. package/dist/types/components/dialog/Dialog.model.d.ts +1 -0
  46. package/dist/types/components/dialog/Dialog.view.d.ts +1 -1
  47. package/dist/types/index.d.ts +2 -0
  48. package/package.json +11 -1
@@ -0,0 +1,97 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { jsxs, jsx } from "react/jsx-runtime";
4
+ import { create } from "../../helpers/bem.js";
5
+ import styles from "./CheckboxGroup.module.scss.js";
6
+ import { Checkbox } from "../checkbox/Checkbox.js";
7
+ const bem = create(styles, "CheckboxGroup");
8
+ function CheckboxGroupView({
9
+ ariaLabel,
10
+ legend,
11
+ hideLegend,
12
+ legendProps,
13
+ name,
14
+ disabled,
15
+ required,
16
+ options,
17
+ selectedValues,
18
+ hiddenInputName,
19
+ layout = "stack",
20
+ variant = "plain",
21
+ translations: t,
22
+ isChecked,
23
+ onToggle
24
+ }) {
25
+ if (!(options == null ? void 0 : options.length)) return null;
26
+ const label = ariaLabel ?? (t == null ? void 0 : t.ariaLabel) ?? "Options";
27
+ const isGroupRequiredActive = Boolean(required) && selectedValues.length === 0;
28
+ return /* @__PURE__ */ jsxs(
29
+ "fieldset",
30
+ {
31
+ "aria-label": label,
32
+ "aria-required": required || void 0,
33
+ className: bem(),
34
+ children: [
35
+ legend ? /* @__PURE__ */ jsxs(
36
+ "legend",
37
+ {
38
+ ...legendProps,
39
+ className: bem(
40
+ "legend",
41
+ {
42
+ "is-hidden": Boolean(hideLegend)
43
+ },
44
+ legendProps == null ? void 0 : legendProps.className
45
+ ),
46
+ children: [
47
+ /* @__PURE__ */ jsx("span", { className: bem("legendLabel"), children: legend }),
48
+ required ? /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: bem("legendRequiredMark"), children: "*" }) : null
49
+ ]
50
+ }
51
+ ) : null,
52
+ hiddenInputName ? /* @__PURE__ */ jsx(
53
+ "input",
54
+ {
55
+ name: hiddenInputName,
56
+ type: "hidden",
57
+ value: selectedValues.join(",")
58
+ }
59
+ ) : null,
60
+ /* @__PURE__ */ jsx("div", { className: bem("list", { [layout]: true, [variant]: true }), children: options.map((opt) => {
61
+ const checked = isChecked(opt.value);
62
+ const itemDisabled = Boolean(disabled) || Boolean(opt.disabled);
63
+ return /* @__PURE__ */ jsx(
64
+ "div",
65
+ {
66
+ className: bem("item", {
67
+ disabled: itemDisabled
68
+ }),
69
+ children: /* @__PURE__ */ jsx(
70
+ Checkbox,
71
+ {
72
+ checked,
73
+ description: opt.description,
74
+ disabled: itemDisabled,
75
+ icon: opt.icon,
76
+ iconLabel: opt.iconLabel,
77
+ name,
78
+ required: Boolean(opt.required) || isGroupRequiredActive,
79
+ showRequiredMark: Boolean(opt.required),
80
+ title: opt.title,
81
+ value: opt.value,
82
+ variant,
83
+ onChange: /* @__PURE__ */ __name(() => onToggle == null ? void 0 : onToggle(opt.value), "onChange")
84
+ }
85
+ )
86
+ },
87
+ opt.value
88
+ );
89
+ }) })
90
+ ]
91
+ }
92
+ );
93
+ }
94
+ __name(CheckboxGroupView, "CheckboxGroupView");
95
+ export {
96
+ CheckboxGroupView
97
+ };
@@ -0,0 +1,4 @@
1
+ import { CheckboxGroup } from "./CheckboxGroup.js";
2
+ export {
3
+ CheckboxGroup
4
+ };
@@ -22,6 +22,7 @@ function DialogView({
22
22
  containerChildren,
23
23
  className,
24
24
  classNameHeader,
25
+ actionsClassName,
25
26
  height,
26
27
  scroll = "paper",
27
28
  fullScreen = false,
@@ -126,7 +127,7 @@ function DialogView({
126
127
  children
127
128
  }
128
129
  ),
129
- actions.length > 0 && /* @__PURE__ */ jsxs("div", { className: bem("actions"), children: [
130
+ actions.length > 0 && /* @__PURE__ */ jsxs("div", { className: bem("actions", void 0, actionsClassName), children: [
130
131
  /* @__PURE__ */ jsx("div", { "aria-hidden": "true", tabIndex: 0 }),
131
132
  actions.map((action) => /* @__PURE__ */ jsx(Button, { ...action, title: (action == null ? void 0 : action.title) ?? "" }, action.id)),
132
133
  /* @__PURE__ */ jsx("div", { "aria-hidden": "true", tabIndex: 0 })
@@ -148,7 +148,11 @@
148
148
  color: var(--color-black);
149
149
  }
150
150
  .prokodo-Snackbar--info {
151
- background-color: var(--color-info);
151
+ background-color: var(--color-grey-500);
152
+ }
153
+ html[data-theme=dark] .prokodo-Snackbar--info {
154
+ background-color: var(--color-grey-300);
155
+ color: var(--color-grey-900);
152
156
  }
153
157
  .prokodo-Snackbar__message {
154
158
  flex: 1 1;
@@ -148,7 +148,11 @@
148
148
  color: var(--color-black);
149
149
  }
150
150
  .prokodo-Snackbar--info {
151
- background-color: var(--color-info);
151
+ background-color: var(--color-grey-500);
152
+ }
153
+ html[data-theme=dark] .prokodo-Snackbar--info {
154
+ background-color: var(--color-grey-300);
155
+ color: var(--color-grey-900);
152
156
  }
153
157
  .prokodo-Snackbar__message {
154
158
  flex: 1 1;
@@ -1,4 +1,4 @@
1
- const PROKODO_UI_VERSION = "0.1.13";
1
+ const PROKODO_UI_VERSION = "0.1.14";
2
2
  export {
3
3
  PROKODO_UI_VERSION
4
4
  };
package/dist/index.js CHANGED
@@ -9,6 +9,8 @@ import { Button } from "./components/button/Button.js";
9
9
  import { Calendly } from "./components/calendly/Calendly.js";
10
10
  import { Card } from "./components/card/Card.js";
11
11
  import { Carousel } from "./components/carousel/Carousel.js";
12
+ import { Checkbox } from "./components/checkbox/Checkbox.js";
13
+ import { CheckboxGroup } from "./components/checkbox-group/CheckboxGroup.js";
12
14
  import { Chip } from "./components/chip/Chip.js";
13
15
  import { DatePicker } from "./components/datePicker/DatePicker.js";
14
16
  import { Dialog } from "./components/dialog/Dialog.js";
@@ -62,6 +64,8 @@ export {
62
64
  Calendly,
63
65
  Card,
64
66
  Carousel,
67
+ Checkbox,
68
+ CheckboxGroup,
65
69
  Chip,
66
70
  DatePicker,
67
71
  Dialog,
package/dist/theme.css CHANGED
@@ -160,7 +160,7 @@
160
160
  --color-secondary-700: #2393a2;
161
161
  --color-secondary-800: #236c77;
162
162
  --color-secondary-900: #1e484e;
163
- --color-success: #2e7d32;
163
+ --color-success: #20E381;
164
164
  --color-warning: #f7b529;
165
165
  --color-error: #f0453a;
166
166
  --elevation-1: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
@@ -192,6 +192,10 @@
192
192
  --gradient-border-6: linear-gradient(90deg, var(--color-secondary-500) 4.63%, var(--color-primary-500) 100%);
193
193
  --gradient-border-7: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500), var(--color-primary-500));
194
194
  --gradient-border-8: linear-gradient(90deg, var(--color-grey-100) 4.63%, var(--color-grey-300) 100%);
195
+ --gradient-border-info: linear-gradient(112deg, var(--color-grey-100) 0%, var(--color-grey-300) 100%);
196
+ --gradient-border-success: linear-gradient(112deg, #20E381 0%, #10CCB8 100%);
197
+ --gradient-border-warning: linear-gradient(112deg, #FFCC00 0%, #CCA300 100%);
198
+ --gradient-border-error: linear-gradient(112deg, #EB5550 0%, #FF4444 100%);
195
199
  --gradient-text-primary-secondary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-primary-800) 50%, var(--color-secondary-500) 100%);
196
200
  --gradient-text-primary-secondary-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-secondary-500) 50%, var(--color-primary-500) 100%);
197
201
  --gradient-text-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-grey-400) 100%);
@@ -236,7 +240,7 @@
236
240
  --color-secondary-700: #AFF3FF;
237
241
  --color-secondary-800: #CCF7FF;
238
242
  --color-secondary-900: #E6FBFF;
239
- --color-success: #2e7d32;
243
+ --color-success: #20E381;
240
244
  --color-warning: #f7b529;
241
245
  --color-error: #f0453a;
242
246
  --elevation-1: 0 4px 6px rgba(255, 255, 255, 0.1), 0 1px 3px rgba(255, 255, 255, 0.08);
@@ -266,6 +270,11 @@
266
270
  --gradient-border-4: linear-gradient(112.34deg, var(--color-primary-500) 0%, var(--color-secondary-500) 100%);
267
271
  --gradient-border-5: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-secondary-500) 100%);
268
272
  --gradient-border-7: linear-gradient(180deg, var(--color-grey-400) 0%, var(--color-grey-600) 100%);
273
+ --gradient-border-8: linear-gradient(90deg, var(--color-grey-100) 4.63%, var(--color-grey-300) 100%);
274
+ --gradient-border-info: linear-gradient(112deg, var(--color-grey-100) 0%, var(--color-grey-300) 100%);
275
+ --gradient-border-success: linear-gradient(112deg, #20E381 0%, #10CCB8 100%);
276
+ --gradient-border-warning: linear-gradient(112deg, #FFCC00 0%, #CCA300 100%);
277
+ --gradient-border-error: linear-gradient(112deg, #EB5550 0%, #FF4444 100%);
269
278
  --gradient-text-primary-secondary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-primary-800) 50%, var(--color-secondary-500) 100%);
270
279
  --gradient-text-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-grey-700) 100%);
271
280
  --gradient-text-grey: linear-gradient(90deg, var(--color-grey-700) 0%, var(--color-grey-900) 100%);
@@ -804,29 +813,58 @@ html[data-theme=dark] .prokodo-Button {
804
813
  border-radius: 1.5rem;
805
814
  border-radius: 1.5rem;
806
815
  }
807
- .prokodo-Button--has-bg-primary, .prokodo-Button--has-bg-secondary, .prokodo-Button--has-bg-info, .prokodo-Button--has-bg-error {
808
- color: #FFFFFF !important;
816
+ .prokodo-Button--has-bg-primary, .prokodo-Button--has-bg-secondary, .prokodo-Button--has-bg-success, .prokodo-Button--has-bg-warning {
817
+ color: #000000;
809
818
  }
810
- .prokodo-Button--has-bg-success, .prokodo-Button--has-bg-warning {
811
- color: var(--color-black);
819
+ .prokodo-Button--has-bg-info, .prokodo-Button--has-bg-error {
820
+ color: #FFFFFF;
812
821
  }
813
822
  .prokodo-Button--has-bg-primary {
814
823
  background: var(--gradient-background-primary);
824
+ color: #000000;
825
+ }
826
+ html[data-theme=dark] .prokodo-Button--has-bg-primary {
827
+ color: #FFFFFF;
828
+ }
829
+ html[data-theme=dark] .prokodo-Button--has-bg-inherit {
830
+ color: var(--color-grey-900);
831
+ background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
832
+ background-color: var(--color-grey-300);
815
833
  }
816
834
  .prokodo-Button--has-bg-secondary {
817
835
  background: var(--gradient-background-secondary);
836
+ color: #000000;
837
+ }
838
+ html[data-theme=dark] .prokodo-Button--has-bg-secondary {
839
+ color: #FFFFFF;
818
840
  }
819
841
  .prokodo-Button--is-disabled, .prokodo-Button--has-bg-info {
820
842
  background: var(--gradient-background-info);
843
+ color: #FFFFFF;
844
+ }
845
+ html[data-theme=dark] .prokodo-Button--is-disabled, html[data-theme=dark] .prokodo-Button--has-bg-info {
846
+ color: var(--color-grey-700);
821
847
  }
822
848
  .prokodo-Button--has-bg-success {
823
849
  background: var(--gradient-background-success);
850
+ color: #000000;
851
+ }
852
+ html[data-theme=dark] .prokodo-Button--has-bg-success {
853
+ color: #000000;
824
854
  }
825
855
  .prokodo-Button--has-bg-warning {
826
856
  background: var(--gradient-background-warning);
857
+ color: #000000;
858
+ }
859
+ html[data-theme=dark] .prokodo-Button--has-bg-warning {
860
+ color: #000000;
827
861
  }
828
862
  .prokodo-Button--has-bg-error {
829
863
  background: var(--gradient-background-error);
864
+ color: #FFFFFF;
865
+ }
866
+ html[data-theme=dark] .prokodo-Button--has-bg-error {
867
+ color: #FFFFFF;
830
868
  }
831
869
  .prokodo-Button--has-text-inherit, .prokodo-Button--has-text-primary, .prokodo-Button--has-text-secondary, .prokodo-Button--has-text-info, .prokodo-Button--has-text-success, .prokodo-Button--has-text-warning, .prokodo-Button--has-text-error {
832
870
  background: none;
@@ -882,7 +920,7 @@ html[data-theme=dark] .prokodo-Button {
882
920
  .prokodo-Button--has-variant-outlined {
883
921
  position: relative;
884
922
  background: none;
885
- color: var(--color-black) !important;
923
+ color: var(--color-black);
886
924
  }
887
925
  .prokodo-Button--has-variant-outlined::before {
888
926
  content: "";
@@ -903,6 +941,66 @@ html[data-theme=dark] .prokodo-Button {
903
941
  html[data-theme=dark] .prokodo-Button--has-variant-outlined {
904
942
  background: none;
905
943
  }
944
+ .prokodo-Button--has-variant-outlined--has-outline-inherit {
945
+ color: var(--color-black);
946
+ }
947
+ .prokodo-Button--has-variant-outlined--has-outline-inherit::before {
948
+ background: var(--gradient-border-8);
949
+ }
950
+ .prokodo-Button--has-variant-outlined--has-outline-primary {
951
+ color: var(--color-black);
952
+ }
953
+ .prokodo-Button--has-variant-outlined--has-outline-primary::before {
954
+ background: var(--gradient-border-4);
955
+ }
956
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-primary {
957
+ color: var(--color-primary-500);
958
+ }
959
+ .prokodo-Button--has-variant-outlined--has-outline-secondary {
960
+ color: var(--color-black);
961
+ }
962
+ .prokodo-Button--has-variant-outlined--has-outline-secondary::before {
963
+ background: var(--gradient-border-2);
964
+ }
965
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-secondary {
966
+ color: var(--color-secondary-500);
967
+ }
968
+ .prokodo-Button--has-variant-outlined--has-outline-info {
969
+ color: var(--color-black);
970
+ }
971
+ .prokodo-Button--has-variant-outlined--has-outline-info::before {
972
+ background: var(--gradient-border-info);
973
+ }
974
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-info {
975
+ color: #FFFFFF;
976
+ }
977
+ .prokodo-Button--has-variant-outlined--has-outline-success {
978
+ color: var(--color-black);
979
+ }
980
+ .prokodo-Button--has-variant-outlined--has-outline-success::before {
981
+ background: var(--gradient-border-success);
982
+ }
983
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-success {
984
+ color: var(--color-success);
985
+ }
986
+ .prokodo-Button--has-variant-outlined--has-outline-warning {
987
+ color: var(--color-black);
988
+ }
989
+ .prokodo-Button--has-variant-outlined--has-outline-warning::before {
990
+ background: var(--gradient-border-warning);
991
+ }
992
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-warning {
993
+ color: var(--color-warning);
994
+ }
995
+ .prokodo-Button--has-variant-outlined--has-outline-error {
996
+ color: var(--color-black);
997
+ }
998
+ .prokodo-Button--has-variant-outlined--has-outline-error::before {
999
+ background: var(--gradient-border-error);
1000
+ }
1001
+ html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-error {
1002
+ color: var(--color-error);
1003
+ }
906
1004
  .prokodo-Button--has-image, .prokodo-Button--has-icon {
907
1005
  display: flex;
908
1006
  align-items: center;
@@ -921,6 +1019,26 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
921
1019
  }
922
1020
  .prokodo-Button--is-disabled {
923
1021
  cursor: default;
1022
+ box-shadow: none;
1023
+ color: var(--color-grey-500);
1024
+ background: var(--color-grey-100);
1025
+ background-color: var(--color-grey-100);
1026
+ }
1027
+ .prokodo-Button--is-disabled::before {
1028
+ background: var(--gradient-border-8);
1029
+ }
1030
+ .prokodo-Button--is-disabled:hover {
1031
+ color: var(--color-grey-500);
1032
+ background: var(--color-grey-100);
1033
+ background-color: var(--color-grey-100);
1034
+ }
1035
+ html[data-theme=dark] .prokodo-Button--is-disabled {
1036
+ color: var(--color-grey-600);
1037
+ background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
1038
+ background-color: var(--color-grey-300);
1039
+ }
1040
+ html[data-theme=dark] .prokodo-Button--is-disabled::before {
1041
+ background: linear-gradient(112deg, var(--color-grey-300) 0%, var(--color-grey-500) 100%);
924
1042
  }
925
1043
  .prokodo-Button__title {
926
1044
  display: flex;
@@ -964,7 +1082,6 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
964
1082
  width: 100%;
965
1083
  }
966
1084
  .prokodo-Button__content--icon-only {
967
- padding: 0.5rem;
968
1085
  border-radius: 2000rem;
969
1086
  }
970
1087
 
@@ -1228,6 +1345,306 @@ html[data-theme=dark] .prokodo-Card__background {
1228
1345
  }
1229
1346
  }
1230
1347
 
1348
+ .prokodo-Checkbox {
1349
+ display: grid;
1350
+ grid-template-columns: auto 1fr auto;
1351
+ align-items: center;
1352
+ grid-gap: 0.75rem;
1353
+ gap: 0.75rem;
1354
+ padding: 0.5rem 0;
1355
+ border-radius: 12px;
1356
+ background: transparent;
1357
+ border: 1px solid transparent;
1358
+ box-shadow: none;
1359
+ cursor: pointer;
1360
+ -webkit-user-select: none;
1361
+ -moz-user-select: none;
1362
+ user-select: none;
1363
+ }
1364
+ .prokodo-Checkbox--disabled {
1365
+ opacity: 0.55;
1366
+ cursor: not-allowed;
1367
+ }
1368
+ .prokodo-Checkbox:focus-within {
1369
+ outline: 3px solid #1E90FF;
1370
+ outline-offset: 4px;
1371
+ border-radius: 1.5rem;
1372
+ }
1373
+ .prokodo-Checkbox--card {
1374
+ padding: 0.5rem 0;
1375
+ border-radius: 12px;
1376
+ background: transparent;
1377
+ border: 1px solid transparent;
1378
+ box-shadow: none;
1379
+ }
1380
+ .prokodo-Checkbox__left {
1381
+ display: inline-flex;
1382
+ align-items: center;
1383
+ }
1384
+ .prokodo-Checkbox__input {
1385
+ position: absolute;
1386
+ opacity: 0;
1387
+ width: 1px;
1388
+ height: 1px;
1389
+ margin: 0;
1390
+ padding: 0;
1391
+ pointer-events: none;
1392
+ }
1393
+ .prokodo-Checkbox__control {
1394
+ width: 18px;
1395
+ height: 18px;
1396
+ border-radius: 6px;
1397
+ position: relative;
1398
+ border: 2px solid rgba(255, 255, 255, 0.18);
1399
+ background: rgba(255, 255, 255, 0.02);
1400
+ box-shadow: var(--inner-elevation-1);
1401
+ display: inline-flex;
1402
+ align-items: center;
1403
+ justify-content: center;
1404
+ transition: border-color 140ms ease, background 140ms ease;
1405
+ }
1406
+ .prokodo-Checkbox__control::after {
1407
+ content: "";
1408
+ width: 9px;
1409
+ height: 5px;
1410
+ border-left: 2px solid var(--color-primary-500, #2f6bff);
1411
+ border-bottom: 2px solid var(--color-primary-500, #2f6bff);
1412
+ position: absolute;
1413
+ top: 50%;
1414
+ left: 50%;
1415
+ transform: translate(-50%, -50%) rotate(-45deg) scale(0.6);
1416
+ opacity: 0;
1417
+ transition: transform 140ms ease, opacity 140ms ease;
1418
+ }
1419
+ .prokodo-Checkbox__control--checked {
1420
+ border-color: rgba(255, 255, 255, 0.32);
1421
+ }
1422
+ .prokodo-Checkbox__control--checked::after {
1423
+ opacity: 1;
1424
+ transform: translate(-50%, -50%) rotate(-45deg) scale(1);
1425
+ }
1426
+ .prokodo-Checkbox__control--card {
1427
+ box-shadow: var(--inner-elevation-1);
1428
+ }
1429
+ .prokodo-Checkbox__control--card.prokodo-Checkbox__control--checked {
1430
+ background: rgba(255, 255, 255, 0.1);
1431
+ }
1432
+ .prokodo-Checkbox__body {
1433
+ min-width: 0;
1434
+ display: flex;
1435
+ flex-direction: column;
1436
+ gap: 0.25rem;
1437
+ }
1438
+ .prokodo-Checkbox__row {
1439
+ display: inline-flex;
1440
+ align-items: center;
1441
+ gap: 0.5rem;
1442
+ min-width: 0;
1443
+ }
1444
+ .prokodo-Checkbox__title {
1445
+ white-space: nowrap;
1446
+ overflow: hidden;
1447
+ text-overflow: ellipsis;
1448
+ color: var(--color-grey-900);
1449
+ margin: 0;
1450
+ font-weight: 400;
1451
+ font-size: 1.125rem;
1452
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1453
+ font-style: normal;
1454
+ line-height: 1.55;
1455
+ letter-spacing: 0.03em;
1456
+ text-transform: none;
1457
+ text-align: left;
1458
+ text-decoration: none;
1459
+ }
1460
+ @media screen and (min-width: 480px) {
1461
+ .prokodo-Checkbox__title {
1462
+ font-size: 1rem;
1463
+ }
1464
+ }
1465
+ @media screen and (min-width: 960px) {
1466
+ .prokodo-Checkbox__title {
1467
+ font-size: 1rem;
1468
+ }
1469
+ }
1470
+ .prokodo-Checkbox__requiredMark {
1471
+ color: var(--color-error);
1472
+ line-height: 1;
1473
+ font-weight: 400;
1474
+ font-size: 1.125rem;
1475
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1476
+ font-style: normal;
1477
+ line-height: 1.55;
1478
+ letter-spacing: 0.03em;
1479
+ text-transform: none;
1480
+ text-align: left;
1481
+ text-decoration: none;
1482
+ }
1483
+ @media screen and (min-width: 480px) {
1484
+ .prokodo-Checkbox__requiredMark {
1485
+ font-size: 1rem;
1486
+ }
1487
+ }
1488
+ @media screen and (min-width: 960px) {
1489
+ .prokodo-Checkbox__requiredMark {
1490
+ font-size: 1rem;
1491
+ }
1492
+ }
1493
+ .prokodo-Checkbox__desc {
1494
+ color: var(--color-grey-700);
1495
+ opacity: 0.82;
1496
+ overflow: hidden;
1497
+ text-overflow: ellipsis;
1498
+ display: -webkit-box;
1499
+ line-clamp: 2;
1500
+ -webkit-box-orient: vertical;
1501
+ font-weight: 400;
1502
+ font-size: 1rem;
1503
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1504
+ font-style: normal;
1505
+ line-height: 1.45;
1506
+ letter-spacing: 0.03em;
1507
+ text-transform: none;
1508
+ text-align: left;
1509
+ text-decoration: none;
1510
+ }
1511
+ @media screen and (min-width: 480px) {
1512
+ .prokodo-Checkbox__desc {
1513
+ font-size: 0.875rem;
1514
+ line-height: 1.4;
1515
+ }
1516
+ }
1517
+ @media screen and (min-width: 960px) {
1518
+ .prokodo-Checkbox__desc {
1519
+ font-size: 0.875rem;
1520
+ line-height: 1.4;
1521
+ }
1522
+ }
1523
+ .prokodo-Checkbox__right {
1524
+ justify-self: end;
1525
+ display: inline-flex;
1526
+ align-items: center;
1527
+ align-self: start;
1528
+ margin-top: 2px;
1529
+ }
1530
+ .prokodo-Checkbox__rightIcon {
1531
+ color: var(--color-grey-700);
1532
+ opacity: 0.9;
1533
+ }
1534
+
1535
+ .prokodo-CheckboxGroup {
1536
+ margin: 0;
1537
+ padding: 0;
1538
+ border: 0;
1539
+ min-width: 0;
1540
+ }
1541
+ .prokodo-CheckboxGroup__legend {
1542
+ margin: 0 0 0.5rem 0;
1543
+ padding: 0;
1544
+ opacity: 0.82;
1545
+ display: inline-flex;
1546
+ align-items: center;
1547
+ gap: 0.25rem;
1548
+ font-weight: 400;
1549
+ font-size: 1rem;
1550
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1551
+ font-style: normal;
1552
+ line-height: 1.45;
1553
+ letter-spacing: 0.03em;
1554
+ text-transform: none;
1555
+ text-align: left;
1556
+ text-decoration: none;
1557
+ }
1558
+ @media screen and (min-width: 480px) {
1559
+ .prokodo-CheckboxGroup__legend {
1560
+ font-size: 0.875rem;
1561
+ line-height: 1.4;
1562
+ }
1563
+ }
1564
+ @media screen and (min-width: 960px) {
1565
+ .prokodo-CheckboxGroup__legend {
1566
+ font-size: 0.875rem;
1567
+ line-height: 1.4;
1568
+ }
1569
+ }
1570
+ .prokodo-CheckboxGroup__legend--is-hidden {
1571
+ position: absolute;
1572
+ top: auto;
1573
+ left: -99999px;
1574
+ width: 0;
1575
+ height: 0;
1576
+ text-indent: -99999px;
1577
+ }
1578
+ .prokodo-CheckboxGroup__legendLabel {
1579
+ color: var(--color-grey-900);
1580
+ font-weight: 400;
1581
+ font-size: 1rem;
1582
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1583
+ font-style: normal;
1584
+ line-height: 1.45;
1585
+ letter-spacing: 0.03em;
1586
+ text-transform: none;
1587
+ text-align: left;
1588
+ text-decoration: none;
1589
+ }
1590
+ @media screen and (min-width: 480px) {
1591
+ .prokodo-CheckboxGroup__legendLabel {
1592
+ font-size: 0.875rem;
1593
+ line-height: 1.4;
1594
+ }
1595
+ }
1596
+ @media screen and (min-width: 960px) {
1597
+ .prokodo-CheckboxGroup__legendLabel {
1598
+ font-size: 0.875rem;
1599
+ line-height: 1.4;
1600
+ }
1601
+ }
1602
+ .prokodo-CheckboxGroup__legendRequiredMark {
1603
+ color: var(--color-error);
1604
+ line-height: 1;
1605
+ font-weight: 400;
1606
+ font-size: 1rem;
1607
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
1608
+ font-style: normal;
1609
+ line-height: 1.45;
1610
+ letter-spacing: 0.03em;
1611
+ text-transform: none;
1612
+ text-align: left;
1613
+ text-decoration: none;
1614
+ }
1615
+ @media screen and (min-width: 480px) {
1616
+ .prokodo-CheckboxGroup__legendRequiredMark {
1617
+ font-size: 0.875rem;
1618
+ line-height: 1.4;
1619
+ }
1620
+ }
1621
+ @media screen and (min-width: 960px) {
1622
+ .prokodo-CheckboxGroup__legendRequiredMark {
1623
+ font-size: 0.875rem;
1624
+ line-height: 1.4;
1625
+ }
1626
+ }
1627
+ .prokodo-CheckboxGroup__list {
1628
+ display: flex;
1629
+ flex-direction: column;
1630
+ gap: 0.5rem;
1631
+ min-width: 0;
1632
+ }
1633
+ .prokodo-CheckboxGroup__list--plain {
1634
+ gap: 0;
1635
+ }
1636
+ .prokodo-CheckboxGroup__list--grid {
1637
+ display: grid;
1638
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
1639
+ }
1640
+ .prokodo-CheckboxGroup__item {
1641
+ min-width: 0;
1642
+ }
1643
+ .prokodo-CheckboxGroup__item--disabled {
1644
+ opacity: 0.55;
1645
+ cursor: not-allowed;
1646
+ }
1647
+
1231
1648
  .prokodo-Chip {
1232
1649
  display: inline-flex;
1233
1650
  align-items: center;
@@ -4783,7 +5200,11 @@ html[data-theme=dark] .prokodo-Skeleton::after {
4783
5200
  color: var(--color-black);
4784
5201
  }
4785
5202
  .prokodo-Snackbar--info {
4786
- background-color: var(--color-info);
5203
+ background-color: var(--color-grey-500);
5204
+ }
5205
+ html[data-theme=dark] .prokodo-Snackbar--info {
5206
+ background-color: var(--color-grey-300);
5207
+ color: var(--color-grey-900);
4787
5208
  }
4788
5209
  .prokodo-Snackbar__message {
4789
5210
  flex: 1 1;