react-minolith 0.0.11 → 0.0.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 (80) hide show
  1. package/dist/DialogueAvatar.module-DZkzrwXx.js +37 -0
  2. package/dist/DialogueAvatar.module-DZkzrwXx.js.map +1 -0
  3. package/dist/assets/Badge.css +1 -1
  4. package/dist/assets/Button.css +1 -1
  5. package/dist/assets/Columns.css +1 -1
  6. package/dist/assets/Container.css +1 -1
  7. package/dist/assets/DialogueAvatar.css +1 -1
  8. package/dist/assets/Hamburger.css +1 -1
  9. package/dist/assets/Minolith.css +1 -1
  10. package/dist/assets/MinolithCssVariableStylesProvider.css +1 -1
  11. package/dist/base/MinolithStatic/MinolithStatic.stories.d.ts.map +1 -1
  12. package/dist/common/models/ComponentsCssVariable.d.ts +24 -0
  13. package/dist/common/models/ComponentsCssVariable.d.ts.map +1 -0
  14. package/dist/common/models/ComponentsCssVariable.js +2 -0
  15. package/dist/common/models/ComponentsCssVariable.js.map +1 -0
  16. package/dist/common/models/MinolithCssVariable.d.ts +2 -0
  17. package/dist/common/models/MinolithCssVariable.d.ts.map +1 -1
  18. package/dist/components/Badge/Badge.js +22 -22
  19. package/dist/components/Button/Button.js +23 -23
  20. package/dist/components/Dialogue/Dialogue.d.ts.map +1 -1
  21. package/dist/components/Dialogue/Dialogue.js +40 -29
  22. package/dist/components/Dialogue/Dialogue.js.map +1 -1
  23. package/dist/components/Dialogue/Dialogue.stories.d.ts +1 -2
  24. package/dist/components/Dialogue/Dialogue.stories.d.ts.map +1 -1
  25. package/dist/components/Dialogue/DialogueAvatar.d.ts.map +1 -1
  26. package/dist/components/Dialogue/DialogueAvatar.js +8 -8
  27. package/dist/components/Dialogue/DialogueAvatar.js.map +1 -1
  28. package/dist/components/Dialogue/DialogueAvatarContainer.js +1 -1
  29. package/dist/components/Dialogue/DialogueAvatarProps.d.ts +0 -1
  30. package/dist/components/Dialogue/DialogueAvatarProps.d.ts.map +1 -1
  31. package/dist/components/Dialogue/DialogueContentContainer.js +39 -28
  32. package/dist/components/Dialogue/DialogueContentContainer.js.map +1 -1
  33. package/dist/components/Dialogue/DialogueMessage.js +39 -28
  34. package/dist/components/Dialogue/DialogueMessage.js.map +1 -1
  35. package/dist/components/Dialogue/DialogueMessageInner.d.ts +3 -0
  36. package/dist/components/Dialogue/DialogueMessageInner.d.ts.map +1 -0
  37. package/dist/components/Dialogue/DialogueMessageInner.js +45 -0
  38. package/dist/components/Dialogue/DialogueMessageInner.js.map +1 -0
  39. package/dist/components/Dialogue/DialogueMessageInnerProps.d.ts +7 -0
  40. package/dist/components/Dialogue/DialogueMessageInnerProps.d.ts.map +1 -0
  41. package/dist/components/Dialogue/DialogueMessageInnerProps.js +2 -0
  42. package/dist/components/Dialogue/DialogueMessageInnerProps.js.map +1 -0
  43. package/dist/components/Dialogue/DialogueName.js +39 -28
  44. package/dist/components/Dialogue/DialogueName.js.map +1 -1
  45. package/dist/components/Dialogue/DialogueProps.d.ts +6 -2
  46. package/dist/components/Dialogue/DialogueProps.d.ts.map +1 -1
  47. package/dist/components/Dialogue/index.d.ts +2 -0
  48. package/dist/components/Dialogue/index.d.ts.map +1 -1
  49. package/dist/components/Dialogue/index.js +8 -6
  50. package/dist/components/Dialogue/index.js.map +1 -1
  51. package/dist/components/Hamburger/Hamburger.js +31 -31
  52. package/dist/components/Modal/Modal.d.ts.map +1 -1
  53. package/dist/components/Modal/Modal.js +7 -7
  54. package/dist/components/Modal/Modal.js.map +1 -1
  55. package/dist/components/Modal/ModalProps.d.ts +2 -0
  56. package/dist/components/Modal/ModalProps.d.ts.map +1 -1
  57. package/dist/layouts/Columns/Column.js +279 -216
  58. package/dist/layouts/Columns/Column.js.map +1 -1
  59. package/dist/layouts/Columns/Columns.d.ts.map +1 -1
  60. package/dist/layouts/Columns/Columns.js +302 -239
  61. package/dist/layouts/Columns/Columns.js.map +1 -1
  62. package/dist/layouts/Columns/Columns.stories.d.ts +2 -0
  63. package/dist/layouts/Columns/Columns.stories.d.ts.map +1 -1
  64. package/dist/layouts/Columns/ColumnsProps.d.ts +4 -0
  65. package/dist/layouts/Columns/ColumnsProps.d.ts.map +1 -1
  66. package/dist/layouts/Container/Container.d.ts.map +1 -1
  67. package/dist/layouts/Container/Container.js +74 -10
  68. package/dist/layouts/Container/Container.js.map +1 -1
  69. package/dist/layouts/Container/Container.stories.d.ts +3 -0
  70. package/dist/layouts/Container/Container.stories.d.ts.map +1 -1
  71. package/dist/layouts/Container/ContainerProps.d.ts +5 -0
  72. package/dist/layouts/Container/ContainerProps.d.ts.map +1 -1
  73. package/dist/react-minolith.js +72 -70
  74. package/dist/react-minolith.js.map +1 -1
  75. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.d.ts.map +1 -1
  76. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js +199 -86
  77. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js.map +1 -1
  78. package/package.json +2 -2
  79. package/dist/DialogueAvatar.module-uqGI3dA2.js +0 -26
  80. package/dist/DialogueAvatar.module-uqGI3dA2.js.map +0 -1
@@ -1,94 +1,124 @@
1
1
  const l = "minolith-";
2
- function f(h, s, i, t) {
3
- const o = [];
4
- return s && (s.fore && o.push(
5
- `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-fore: ${s.fore.startsWith("--") ? `var(${s.fore});` : `${s.fore};`}`
6
- ), s.back && o.push(
7
- `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-back: ${s.back.startsWith("--") ? `var(${s.back});` : `${s.back};`}`
8
- ), s.border && o.push(
9
- `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-border: ${s.border.startsWith("--") ? `var(${s.border});` : `${s.border};`}`
10
- ), s.shadow && o.push(
11
- `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-shadow: ${s.shadow.startsWith("--") ? `var(${s.shadow});` : `${s.shadow};`}`
12
- ), s.placeholder && o.push(
13
- `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-placeholder: ${s.placeholder.startsWith("--") ? `var(${s.placeholder});` : `${s.placeholder};`}`
14
- )), o;
2
+ function h(a, s, i, t) {
3
+ const e = [];
4
+ return s && (s.fore && e.push(
5
+ `--${l}color-${a}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-fore: ${s.fore.startsWith("--") ? `var(${s.fore});` : `${s.fore};`}`
6
+ ), s.back && e.push(
7
+ `--${l}color-${a}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-back: ${s.back.startsWith("--") ? `var(${s.back});` : `${s.back};`}`
8
+ ), s.border && e.push(
9
+ `--${l}color-${a}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-border: ${s.border.startsWith("--") ? `var(${s.border});` : `${s.border};`}`
10
+ ), s.shadow && e.push(
11
+ `--${l}color-${a}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-shadow: ${s.shadow.startsWith("--") ? `var(${s.shadow});` : `${s.shadow};`}`
12
+ ), s.placeholder && e.push(
13
+ `--${l}color-${a}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-placeholder: ${s.placeholder.startsWith("--") ? `var(${s.placeholder});` : `${s.placeholder};`}`
14
+ )), e;
15
15
  }
16
- function n(h, s, i) {
16
+ function n(a, s, i) {
17
17
  const t = [];
18
18
  if (s.default) {
19
- const o = f(
20
- h,
19
+ const e = h(
20
+ a,
21
21
  s.default,
22
22
  void 0,
23
23
  i
24
24
  );
25
- o.length > 0 && t.push(...o);
25
+ e.length > 0 && t.push(...e);
26
26
  }
27
27
  if (s.hover) {
28
- const o = f(
29
- h,
28
+ const e = h(
29
+ a,
30
30
  s.hover,
31
31
  "hover",
32
32
  i
33
33
  );
34
- o.length > 0 && t.push(...o);
34
+ e.length > 0 && t.push(...e);
35
35
  }
36
36
  if (s.focus) {
37
- const o = f(
38
- h,
37
+ const e = h(
38
+ a,
39
39
  s.focus,
40
40
  "focus",
41
41
  i
42
42
  );
43
- o.length > 0 && t.push(...o);
43
+ e.length > 0 && t.push(...e);
44
44
  }
45
45
  if (s.active) {
46
- const o = f(
47
- h,
46
+ const e = h(
47
+ a,
48
48
  s.active,
49
49
  "active",
50
50
  i
51
51
  );
52
- o.length > 0 && t.push(...o);
52
+ e.length > 0 && t.push(...e);
53
53
  }
54
54
  if (s.disabled) {
55
- const o = f(
56
- h,
55
+ const e = h(
56
+ a,
57
57
  s.disabled,
58
58
  "disabled",
59
59
  i
60
60
  );
61
- o.length > 0 && t.push(...o);
61
+ e.length > 0 && t.push(...e);
62
62
  }
63
63
  return t;
64
64
  }
65
- function $(h) {
66
- const s = [], i = u(h), t = d(h), o = g(h);
65
+ function $(a) {
66
+ const s = [], i = d(a), t = u(a), e = g(a);
67
67
  return i.length > 0 && s.push(`:root{${i.join("")}}`), t.length > 0 && s.push(`:root{${t.join("")}}`), t.length > 0 && s.push(
68
68
  `[data-color-scheme="light"]{${t.join("")}}`
69
- ), o.length > 0 && s.push(
70
- `[data-color-scheme="dark"]{${o.join("")}}`
69
+ ), e.length > 0 && s.push(
70
+ `[data-color-scheme="dark"]{${e.join("")}}`
71
71
  ), s;
72
72
  }
73
- function u(h) {
73
+ function d(a) {
74
74
  const s = [];
75
- if (h) {
76
- if (h.animation) {
77
- const i = h.animation;
78
- i.speedHeavey && s.push(`--${l}animation-speed-heavy: ${i.speedHeavey};`), i.speedSlower && s.push(`--${l}animation-speed-slower: ${i.speedSlower};`), i.speedSlow && s.push(`--${l}animation-speed-slow: ${i.speedSlow};`), i.speedNormal && s.push(`--${l}animation-speed-normal: ${i.speedNormal};`), i.speedfFast && s.push(`--${l}animation-speed-fast: ${i.speedfFast};`), i.speedfFaster && s.push(`--${l}animation-speed-faster: ${i.speedfFaster};`), i.speedfFlash && s.push(`--${l}animation-speed-flash: ${i.speedfFlash};`);
75
+ if (a) {
76
+ if (a.animation) {
77
+ const i = a.animation;
78
+ i.speedHeavey && s.push(
79
+ `--${l}animation-speed-heavy: ${i.speedHeavey};`
80
+ ), i.speedSlower && s.push(
81
+ `--${l}animation-speed-slower: ${i.speedSlower};`
82
+ ), i.speedSlow && s.push(
83
+ `--${l}animation-speed-slow: ${i.speedSlow};`
84
+ ), i.speedNormal && s.push(
85
+ `--${l}animation-speed-normal: ${i.speedNormal};`
86
+ ), i.speedfFast && s.push(
87
+ `--${l}animation-speed-fast: ${i.speedfFast};`
88
+ ), i.speedfFaster && s.push(
89
+ `--${l}animation-speed-faster: ${i.speedfFaster};`
90
+ ), i.speedfFlash && s.push(
91
+ `--${l}animation-speed-flash: ${i.speedfFlash};`
92
+ );
79
93
  }
80
- if (h.border) {
81
- const i = h.border;
82
- i.borderWidthXThin && s.push(`--${l}border-width-xthin: ${i.borderWidthXThin};`), i.borderWidthThin && s.push(`--${l}border-width-thin: ${i.borderWidthThin};`), i.borderWidthMedium && s.push(`--${l}border-width-medium: ${i.borderWidthMedium};`), i.borderWidthThick && s.push(`--${l}border-width-thick: ${i.borderWidthThick};`), i.borderWidthXThick && s.push(`--${l}border-width-xthick: ${i.borderWidthXThick};`), i.borderRadiusSmall && s.push(`--${l}border-radius-small: ${i.borderRadiusSmall};`), i.borderRadiusMedium && s.push(`--${l}border-radius-medium: ${i.borderRadiusMedium};`), i.borderRadiusLarge && s.push(`--${l}border-radius-large: ${i.borderRadiusLarge};`);
94
+ if (a.border) {
95
+ const i = a.border;
96
+ i.borderWidthXThin && s.push(
97
+ `--${l}border-width-xthin: ${i.borderWidthXThin};`
98
+ ), i.borderWidthThin && s.push(
99
+ `--${l}border-width-thin: ${i.borderWidthThin};`
100
+ ), i.borderWidthMedium && s.push(
101
+ `--${l}border-width-medium: ${i.borderWidthMedium};`
102
+ ), i.borderWidthThick && s.push(
103
+ `--${l}border-width-thick: ${i.borderWidthThick};`
104
+ ), i.borderWidthXThick && s.push(
105
+ `--${l}border-width-xthick: ${i.borderWidthXThick};`
106
+ ), i.borderRadiusSmall && s.push(
107
+ `--${l}border-radius-small: ${i.borderRadiusSmall};`
108
+ ), i.borderRadiusMedium && s.push(
109
+ `--${l}border-radius-medium: ${i.borderRadiusMedium};`
110
+ ), i.borderRadiusLarge && s.push(
111
+ `--${l}border-radius-large: ${i.borderRadiusLarge};`
112
+ );
83
113
  }
84
- if (h.color) {
85
- const i = h.color, t = (o, e, r) => {
86
- if (r) {
87
- const a = `${r.lightness}% ${r.chroma} ${r.hue}`;
114
+ if (a.color) {
115
+ const i = a.color, t = (e, o, f) => {
116
+ if (f) {
117
+ const r = `${f.lightness}% ${f.chroma} ${f.hue}`;
88
118
  s.push(
89
- `--${l}color-${o}-${e}-oklch: ${a};`
119
+ `--${l}color-${e}-${o}-oklch: ${r};`
90
120
  ), s.push(
91
- `--${l}color-${o}-${e}: oklch(${a});`
121
+ `--${l}color-${e}-${o}: oklch(${r});`
92
122
  );
93
123
  }
94
124
  };
@@ -96,64 +126,108 @@ function u(h) {
96
126
  if (typeof i.white == "string")
97
127
  s.push(`--${l}color-white: ${i.white};`);
98
128
  else {
99
- const o = `${i.white.lightness}% ${i.white.chroma} ${i.white.hue}`;
129
+ const e = `${i.white.lightness}% ${i.white.chroma} ${i.white.hue}`;
100
130
  s.push(
101
- `--${l}color-white-oklch: ${o};`
102
- ), s.push(`--${l}color-white: oklch(${o});`);
131
+ `--${l}color-white-oklch: ${e};`
132
+ ), s.push(
133
+ `--${l}color-white: oklch(${e});`
134
+ );
103
135
  }
104
136
  if (i.black)
105
137
  if (typeof i.black == "string")
106
138
  s.push(`--${l}color-black: ${i.black};`);
107
139
  else {
108
- const o = `${i.black.lightness}% ${i.black.chroma} ${i.black.hue}`;
140
+ const e = `${i.black.lightness}% ${i.black.chroma} ${i.black.hue}`;
109
141
  s.push(
110
- `--${l}color-black-oklch: ${o};`
111
- ), s.push(`--${l}color-black: oklch(${o});`);
142
+ `--${l}color-black-oklch: ${e};`
143
+ ), s.push(
144
+ `--${l}color-black: oklch(${e});`
145
+ );
112
146
  }
113
147
  if (i.gray) {
114
- const o = i.gray, e = "gray";
115
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
148
+ const e = i.gray, o = "gray";
149
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
116
150
  }
117
151
  if (i.red) {
118
- const o = i.red, e = "red";
119
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
152
+ const e = i.red, o = "red";
153
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
120
154
  }
121
155
  if (i.orange) {
122
- const o = i.orange, e = "orange";
123
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
156
+ const e = i.orange, o = "orange";
157
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
124
158
  }
125
159
  if (i.yellow) {
126
- const o = i.yellow, e = "yellow";
127
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
160
+ const e = i.yellow, o = "yellow";
161
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
128
162
  }
129
163
  if (i.green) {
130
- const o = i.green, e = "green";
131
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
164
+ const e = i.green, o = "green";
165
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
132
166
  }
133
167
  if (i.cyan) {
134
- const o = i.cyan, e = "cyan";
135
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
168
+ const e = i.cyan, o = "cyan";
169
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
136
170
  }
137
171
  if (i.blue) {
138
- const o = i.blue, e = "blue";
139
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
172
+ const e = i.blue, o = "blue";
173
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
140
174
  }
141
175
  if (i.violet) {
142
- const o = i.violet, e = "violet";
143
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
176
+ const e = i.violet, o = "violet";
177
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
144
178
  }
145
179
  if (i.magenta) {
146
- const o = i.magenta, e = "magenta";
147
- t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
180
+ const e = i.magenta, o = "magenta";
181
+ t(o, "95", e[95]), t(o, "90", e[90]), t(o, "85", e[85]), t(o, "80", e[80]), t(o, "75", e[75]), t(o, "70", e[70]), t(o, "65", e[65]), t(o, "60", e[60]), t(o, "55", e[55]), t(o, "50", e[50]), t(o, "45", e[45]), t(o, "40", e[40]), t(o, "35", e[35]), t(o, "30", e[30]), t(o, "25", e[25]), t(o, "20", e[20]), t(o, "15", e[15]), t(o, "10", e[10]), t(o, "05", e[5]);
148
182
  }
149
183
  }
150
- if (h.miscellaneous) {
151
- const i = h.miscellaneous;
152
- i.zIndexTabula && s.push(`--${l}z-index-tabula: ${i.zIndexTabula};`), i.zIndexModal && s.push(`--${l}z-index-modal: ${i.zIndexModal};`), i.zIndexModalContent && s.push(`--${l}z-index-tabula-content: ${i.zIndexModalContent};`), i.zIndexHeaderIsSticky && s.push(`--${l}z-index-header-is-sticky: ${i.zIndexHeaderIsSticky};`);
184
+ if (a.miscellaneous) {
185
+ const i = a.miscellaneous;
186
+ i.zIndexTabula && s.push(
187
+ `--${l}z-index-tabula: ${i.zIndexTabula};`
188
+ ), i.zIndexModal && s.push(
189
+ `--${l}z-index-modal: ${i.zIndexModal};`
190
+ ), i.zIndexModalContent && s.push(
191
+ `--${l}z-index-tabula-content: ${i.zIndexModalContent};`
192
+ ), i.zIndexHeaderIsSticky && s.push(
193
+ `--${l}z-index-header-is-sticky: ${i.zIndexHeaderIsSticky};`
194
+ );
153
195
  }
154
- if (h.typography) {
155
- const i = h.typography;
156
- i.fontFamily && (i.fontFamily.sansSerif && s.push(`--${l}font-family-sans-serif: ${i.fontFamily.sansSerif};`), i.fontFamily.serif && s.push(`--${l}font-family-serif: ${i.fontFamily.serif};`), i.fontFamily.monospace && s.push(`--${l}font-family-monospace: ${i.fontFamily.monospace};`), i.fontFamily.main && s.push(`--${l}font-family-main: ${i.fontFamily.main};`), i.fontFamily.heading && s.push(`--${l}font-family-heading: ${i.fontFamily.heading};`), i.fontFamily.code && s.push(`--${l}font-family-code: ${i.fontFamily.code};`)), i.fontSize && (i.fontSize.xsmall && s.push(`--${l}font-size-xsmall: ${i.fontSize.xsmall};`), i.fontSize.small && s.push(`--${l}font-size-small: ${i.fontSize.small};`), i.fontSize.normal && s.push(`--${l}font-size-normal: ${i.fontSize.normal};`), i.fontSize.medium && s.push(`--${l}font-size-medium: ${i.fontSize.medium};`), i.fontSize.large && s.push(`--${l}font-size-large: ${i.fontSize.large};`), i.fontSize.xlarge && s.push(`--${l}font-size-xlarge: ${i.fontSize.xlarge};`), i.fontSize.xxlarge && s.push(`--${l}font-size-xxlarge: ${i.fontSize.xxlarge};`), i.fontSize.xxxlarge && s.push(`--${l}font-size-xxxlarge: ${i.fontSize.xxxlarge};`), i.fontSize.xxxxlarge && s.push(`--${l}font-size-xxxxlarge: ${i.fontSize.xxxxlarge};`), i.fontSize.xxxxxlarge && s.push(`--${l}font-size-xxxxxlarge: ${i.fontSize.xxxxxlarge};`)), i.fontWeight && (i.fontWeight.light && s.push(
196
+ if (a.typography) {
197
+ const i = a.typography;
198
+ i.fontFamily && (i.fontFamily.sansSerif && s.push(
199
+ `--${l}font-family-sans-serif: ${i.fontFamily.sansSerif};`
200
+ ), i.fontFamily.serif && s.push(
201
+ `--${l}font-family-serif: ${i.fontFamily.serif};`
202
+ ), i.fontFamily.monospace && s.push(
203
+ `--${l}font-family-monospace: ${i.fontFamily.monospace};`
204
+ ), i.fontFamily.main && s.push(
205
+ `--${l}font-family-main: ${i.fontFamily.main};`
206
+ ), i.fontFamily.heading && s.push(
207
+ `--${l}font-family-heading: ${i.fontFamily.heading};`
208
+ ), i.fontFamily.code && s.push(
209
+ `--${l}font-family-code: ${i.fontFamily.code};`
210
+ )), i.fontSize && (i.fontSize.xsmall && s.push(
211
+ `--${l}font-size-xsmall: ${i.fontSize.xsmall};`
212
+ ), i.fontSize.small && s.push(
213
+ `--${l}font-size-small: ${i.fontSize.small};`
214
+ ), i.fontSize.normal && s.push(
215
+ `--${l}font-size-normal: ${i.fontSize.normal};`
216
+ ), i.fontSize.medium && s.push(
217
+ `--${l}font-size-medium: ${i.fontSize.medium};`
218
+ ), i.fontSize.large && s.push(
219
+ `--${l}font-size-large: ${i.fontSize.large};`
220
+ ), i.fontSize.xlarge && s.push(
221
+ `--${l}font-size-xlarge: ${i.fontSize.xlarge};`
222
+ ), i.fontSize.xxlarge && s.push(
223
+ `--${l}font-size-xxlarge: ${i.fontSize.xxlarge};`
224
+ ), i.fontSize.xxxlarge && s.push(
225
+ `--${l}font-size-xxxlarge: ${i.fontSize.xxxlarge};`
226
+ ), i.fontSize.xxxxlarge && s.push(
227
+ `--${l}font-size-xxxxlarge: ${i.fontSize.xxxxlarge};`
228
+ ), i.fontSize.xxxxxlarge && s.push(
229
+ `--${l}font-size-xxxxxlarge: ${i.fontSize.xxxxxlarge};`
230
+ )), i.fontWeight && (i.fontWeight.light && s.push(
157
231
  `--${l}font-weight-light: ${i.fontWeight.light};`
158
232
  ), i.fontWeight.normal && s.push(
159
233
  `--${l}font-weight-normal: ${i.fontWeight.normal};`
@@ -161,15 +235,54 @@ function u(h) {
161
235
  `--${l}font-weight-medium: ${i.fontWeight.medium};`
162
236
  ), i.fontWeight.semibold && s.push(
163
237
  `--${l}font-weight-semibold: ${i.fontWeight.semibold};`
164
- ), i.fontWeight.bold && s.push(`--${l}font-weight-bold: ${i.fontWeight.bold};`));
238
+ ), i.fontWeight.bold && s.push(
239
+ `--${l}font-weight-bold: ${i.fontWeight.bold};`
240
+ ));
241
+ }
242
+ if (a.components) {
243
+ const i = a.components;
244
+ if (i.button) {
245
+ const t = i.button;
246
+ t.paddingX && s.push(
247
+ `--${l}button-padding-x: ${t.paddingX};`
248
+ ), t.paddingY && s.push(
249
+ `--${l}button-padding-y: ${t.paddingY};`
250
+ );
251
+ }
252
+ if (i.dialogue) {
253
+ const t = i.dialogue;
254
+ t.avatarSizeDefault && s.push(
255
+ `--${l}dialogue-avatar-size-default: ${t.avatarSizeDefault};`
256
+ ), t.avatarSizeSmall && s.push(
257
+ `--${l}dialogue-avatar-size-small: ${t.avatarSizeSmall};`
258
+ ), t.avatarSizeLarge && s.push(
259
+ `--${l}dialogue-avatar-size-large: ${t.avatarSizeLarge};`
260
+ ), t.avatarTopOffset && s.push(
261
+ `--${l}dialogue-avatar-top-offset: ${t.avatarTopOffset};`
262
+ ), t.nameFontSize && (t.nameFontSize.includes("rem"), s.push(
263
+ `--${l}dialogue-name-font-size: ${t.nameFontSize};`
264
+ )), t.namePaddingX && s.push(
265
+ `--${l}dialogue-name-padding-x: ${t.namePaddingX};`
266
+ ), t.namePaddingY && s.push(
267
+ `--${l}dialogue-name-padding-y: ${t.namePaddingY};`
268
+ ), t.messageArrowHeight && s.push(
269
+ `--${l}dialogue-messege-arrow-height: ${t.messageArrowHeight};`
270
+ ), t.messageArrowWidth && s.push(
271
+ `--${l}dialogue-messege-arrow-width: ${t.messageArrowWidth};`
272
+ ), t.messageInnerPaddingX && s.push(
273
+ `--${l}dialogue-message-inner-padding-x: ${t.messageInnerPaddingX};`
274
+ ), t.messageInnerPaddingY && s.push(
275
+ `--${l}dialogue-message-inner-padding-y: ${t.messageInnerPaddingY};`
276
+ );
277
+ }
165
278
  }
166
279
  }
167
280
  return s;
168
281
  }
169
- function d(h) {
282
+ function u(a) {
170
283
  const s = [];
171
- if (h && h.color) {
172
- const i = h.color;
284
+ if (a && a.color) {
285
+ const i = a.color;
173
286
  if (i.light) {
174
287
  if (i.light.default) {
175
288
  const t = n("default", i.light.default);
@@ -293,10 +406,10 @@ function d(h) {
293
406
  }
294
407
  return s;
295
408
  }
296
- function g(h) {
409
+ function g(a) {
297
410
  const s = [];
298
- if (h && h.color) {
299
- const i = h.color;
411
+ if (a && a.color) {
412
+ const i = a.color;
300
413
  if (i.dark) {
301
414
  if (i.dark.default) {
302
415
  const t = n("default", i.dark.default);
@@ -426,8 +539,8 @@ function g(h) {
426
539
  }
427
540
  const c = {
428
541
  getMinolithCssVariableStyles: $,
429
- getRootStyles: u,
430
- getLightSchemeStyles: d,
542
+ getRootStyles: d,
543
+ getLightSchemeStyles: u,
431
544
  getDarkSchemeStyles: g
432
545
  };
433
546
  export {