jvetrau-ds 0.1.16 → 0.1.18

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 (281) hide show
  1. package/components/attach/attach.css +141 -0
  2. package/components/avatar/avatar.css +69 -0
  3. package/components/button/button.cjs +1 -1
  4. package/components/button/button.cjs.map +1 -1
  5. package/components/button/button.css +104 -0
  6. package/components/button/button.js +1 -1
  7. package/components/button/button.js.map +1 -1
  8. package/components/button-icon/button-icon.css +67 -0
  9. package/components/button-icon/button-icon.d.cts +1 -1
  10. package/components/button-icon/button-icon.d.ts +1 -1
  11. package/components/button-icon/index.d.cts +1 -1
  12. package/components/button-icon/index.d.ts +1 -1
  13. package/components/card/card.css +128 -0
  14. package/components/checkbox/checkbox.css +80 -0
  15. package/components/dropdown/dropdown.css +156 -0
  16. package/components/field/field.css +118 -0
  17. package/components/index.d.cts +1 -1
  18. package/components/index.d.ts +1 -1
  19. package/components/input/input.css +81 -0
  20. package/components/logo/logo.css +41 -0
  21. package/components/menu/menu.css +110 -0
  22. package/components/panel/panel.css +87 -0
  23. package/components/progressbar/progressbar.css +170 -0
  24. package/components/radio/radio.css +80 -0
  25. package/components/richedit/richedit.css +89 -0
  26. package/components/search/search.css +89 -0
  27. package/components/select/select.css +138 -0
  28. package/components/tabs/tabs.css +107 -0
  29. package/components/tag/tag.css +87 -0
  30. package/components/textarea/textarea.css +83 -0
  31. package/components/video/video.css +206 -0
  32. package/icons/assets/arrow-link.d.cts +1 -1
  33. package/icons/assets/arrow-link.d.ts +1 -1
  34. package/icons/assets/arrow-right.d.cts +1 -1
  35. package/icons/assets/arrow-right.d.ts +1 -1
  36. package/icons/assets/chevron-right.d.cts +1 -1
  37. package/icons/assets/chevron-right.d.ts +1 -1
  38. package/icons/assets/fullscreen.d.cts +1 -1
  39. package/icons/assets/fullscreen.d.ts +1 -1
  40. package/icons/assets/pause.d.cts +1 -1
  41. package/icons/assets/pause.d.ts +1 -1
  42. package/icons/assets/play.d.cts +1 -1
  43. package/icons/assets/play.d.ts +1 -1
  44. package/icons/assets/settings.d.cts +1 -1
  45. package/icons/assets/settings.d.ts +1 -1
  46. package/icons/assets/sound-off.d.cts +1 -1
  47. package/icons/assets/sound-off.d.ts +1 -1
  48. package/icons/assets/sound.d.cts +1 -1
  49. package/icons/assets/sound.d.ts +1 -1
  50. package/icons/icon.cjs +12 -4
  51. package/icons/icon.cjs.map +1 -1
  52. package/icons/icon.css +6 -0
  53. package/icons/icon.d.cts +1 -1
  54. package/icons/icon.d.ts +1 -1
  55. package/icons/icon.js +12 -4
  56. package/icons/icon.js.map +1 -1
  57. package/icons/index.d.cts +1 -1
  58. package/icons/index.d.ts +1 -1
  59. package/icons/manifest.d.cts +1 -1
  60. package/icons/manifest.d.ts +1 -1
  61. package/icons/public.d.cts +1 -1
  62. package/icons/public.d.ts +1 -1
  63. package/icons/registry.d.cts +1 -1
  64. package/icons/registry.d.ts +1 -1
  65. package/icons/types.d.cts +1 -1
  66. package/icons/types.d.ts +1 -1
  67. package/index.d.cts +1 -1
  68. package/index.d.ts +1 -1
  69. package/layouts/base/base.css +44 -0
  70. package/layouts/foundation/foundation.css +76 -0
  71. package/layouts/sidebar/sidebar.css +86 -0
  72. package/package.json +13 -13
  73. package/patterns/footer/footer.css +114 -0
  74. package/patterns/header/header.css +81 -0
  75. package/patterns/screen-header/screen-header.css +127 -0
  76. package/themes/base/desktop.css +2 -0
  77. package/themes/base/desktop.md +2 -0
  78. package/themes/base/desktop.scoped.css +2 -0
  79. package/themes/base/diagram.css +2 -0
  80. package/themes/base/diagram.md +2 -0
  81. package/themes/base/diagram.scoped.css +2 -0
  82. package/themes/base/mobile.css +2 -0
  83. package/themes/base/mobile.md +2 -0
  84. package/themes/base/mobile.scoped.css +2 -0
  85. package/themes/brandcopilot/desktop.css +2 -0
  86. package/themes/brandcopilot/desktop.md +2 -0
  87. package/themes/brandcopilot/desktop.scoped.css +2 -0
  88. package/themes/brandcopilot/diagram.css +2 -0
  89. package/themes/brandcopilot/diagram.md +2 -0
  90. package/themes/brandcopilot/diagram.scoped.css +2 -0
  91. package/themes/brandcopilot/mobile.css +2 -0
  92. package/themes/brandcopilot/mobile.md +2 -0
  93. package/themes/brandcopilot/mobile.scoped.css +2 -0
  94. package/themes/dmpatterns/desktop.css +2 -0
  95. package/themes/dmpatterns/desktop.md +2 -0
  96. package/themes/dmpatterns/desktop.scoped.css +2 -0
  97. package/themes/dmpatterns/diagram.css +2 -0
  98. package/themes/dmpatterns/diagram.md +2 -0
  99. package/themes/dmpatterns/diagram.scoped.css +2 -0
  100. package/themes/dmpatterns/mobile.css +2 -0
  101. package/themes/dmpatterns/mobile.md +2 -0
  102. package/themes/dmpatterns/mobile.scoped.css +2 -0
  103. package/themes/pdigest/desktop.css +2 -0
  104. package/themes/pdigest/desktop.md +2 -0
  105. package/themes/pdigest/desktop.scoped.css +2 -0
  106. package/themes/pdigest/diagram.css +2 -0
  107. package/themes/pdigest/diagram.md +2 -0
  108. package/themes/pdigest/diagram.scoped.css +2 -0
  109. package/themes/pdigest/mobile.css +2 -0
  110. package/themes/pdigest/mobile.md +2 -0
  111. package/themes/pdigest/mobile.scoped.css +2 -0
  112. package/themes/redesigntrack/desktop.css +2 -0
  113. package/themes/redesigntrack/desktop.md +2 -0
  114. package/themes/redesigntrack/desktop.scoped.css +2 -0
  115. package/themes/redesigntrack/diagram.css +2 -0
  116. package/themes/redesigntrack/diagram.md +2 -0
  117. package/themes/redesigntrack/diagram.scoped.css +2 -0
  118. package/themes/redesigntrack/mobile.css +2 -0
  119. package/themes/redesigntrack/mobile.md +2 -0
  120. package/themes/redesigntrack/mobile.scoped.css +2 -0
  121. package/{tokens.cjs → tokens/public.cjs} +2 -2
  122. package/tokens/public.cjs.map +1 -0
  123. package/tokens/public.d.cts +1 -0
  124. package/tokens/public.d.ts +1 -0
  125. package/{tokens.js → tokens/public.js} +2 -2
  126. package/tokens/public.js.map +1 -0
  127. package/tokens/runtime/_tokens.internal.runtime.cjs +173 -0
  128. package/tokens/runtime/_tokens.internal.runtime.cjs.map +1 -0
  129. package/tokens/runtime/_tokens.internal.runtime.d.cts +169 -0
  130. package/tokens/runtime/_tokens.internal.runtime.d.ts +169 -0
  131. package/tokens/runtime/_tokens.internal.runtime.js +171 -0
  132. package/tokens/runtime/_tokens.internal.runtime.js.map +1 -0
  133. package/tokens/runtime/index.cjs +14 -0
  134. package/tokens/runtime/index.cjs.map +1 -0
  135. package/tokens/runtime/index.d.cts +1 -0
  136. package/tokens/runtime/index.d.ts +1 -0
  137. package/tokens/runtime/index.js +3 -0
  138. package/tokens/runtime/index.js.map +1 -0
  139. package/tokens/runtime/tokens.base.desktop.runtime.cjs +164 -0
  140. package/tokens/runtime/tokens.base.desktop.runtime.cjs.map +1 -0
  141. package/tokens/runtime/tokens.base.desktop.runtime.d.cts +159 -0
  142. package/tokens/runtime/tokens.base.desktop.runtime.d.ts +159 -0
  143. package/tokens/runtime/tokens.base.desktop.runtime.js +160 -0
  144. package/tokens/runtime/tokens.base.desktop.runtime.js.map +1 -0
  145. package/tokens/runtime/tokens.base.diagram.runtime.cjs +164 -0
  146. package/tokens/runtime/tokens.base.diagram.runtime.cjs.map +1 -0
  147. package/tokens/runtime/tokens.base.diagram.runtime.d.cts +159 -0
  148. package/tokens/runtime/tokens.base.diagram.runtime.d.ts +159 -0
  149. package/tokens/runtime/tokens.base.diagram.runtime.js +160 -0
  150. package/tokens/runtime/tokens.base.diagram.runtime.js.map +1 -0
  151. package/tokens/runtime/tokens.base.mobile.runtime.cjs +164 -0
  152. package/tokens/runtime/tokens.base.mobile.runtime.cjs.map +1 -0
  153. package/tokens/runtime/tokens.base.mobile.runtime.d.cts +159 -0
  154. package/tokens/runtime/tokens.base.mobile.runtime.d.ts +159 -0
  155. package/tokens/runtime/tokens.base.mobile.runtime.js +160 -0
  156. package/tokens/runtime/tokens.base.mobile.runtime.js.map +1 -0
  157. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.cjs +164 -0
  158. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.cjs.map +1 -0
  159. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.d.cts +159 -0
  160. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.d.ts +159 -0
  161. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.js +160 -0
  162. package/tokens/runtime/tokens.brandcopilot.desktop.runtime.js.map +1 -0
  163. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.cjs +164 -0
  164. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.cjs.map +1 -0
  165. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.d.cts +159 -0
  166. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.d.ts +159 -0
  167. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.js +160 -0
  168. package/tokens/runtime/tokens.brandcopilot.diagram.runtime.js.map +1 -0
  169. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.cjs +164 -0
  170. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.cjs.map +1 -0
  171. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.d.cts +159 -0
  172. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.d.ts +159 -0
  173. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.js +160 -0
  174. package/tokens/runtime/tokens.brandcopilot.mobile.runtime.js.map +1 -0
  175. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.cjs +164 -0
  176. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.cjs.map +1 -0
  177. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.d.cts +159 -0
  178. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.d.ts +159 -0
  179. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.js +160 -0
  180. package/tokens/runtime/tokens.dmpatterns.desktop.runtime.js.map +1 -0
  181. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.cjs +164 -0
  182. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.cjs.map +1 -0
  183. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.d.cts +159 -0
  184. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.d.ts +159 -0
  185. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.js +160 -0
  186. package/tokens/runtime/tokens.dmpatterns.diagram.runtime.js.map +1 -0
  187. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.cjs +164 -0
  188. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.cjs.map +1 -0
  189. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.d.cts +159 -0
  190. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.d.ts +159 -0
  191. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.js +160 -0
  192. package/tokens/runtime/tokens.dmpatterns.mobile.runtime.js.map +1 -0
  193. package/tokens/runtime/tokens.pdigest.desktop.runtime.cjs +164 -0
  194. package/tokens/runtime/tokens.pdigest.desktop.runtime.cjs.map +1 -0
  195. package/tokens/runtime/tokens.pdigest.desktop.runtime.d.cts +159 -0
  196. package/tokens/runtime/tokens.pdigest.desktop.runtime.d.ts +159 -0
  197. package/tokens/runtime/tokens.pdigest.desktop.runtime.js +160 -0
  198. package/tokens/runtime/tokens.pdigest.desktop.runtime.js.map +1 -0
  199. package/tokens/runtime/tokens.pdigest.diagram.runtime.cjs +164 -0
  200. package/tokens/runtime/tokens.pdigest.diagram.runtime.cjs.map +1 -0
  201. package/tokens/runtime/tokens.pdigest.diagram.runtime.d.cts +159 -0
  202. package/tokens/runtime/tokens.pdigest.diagram.runtime.d.ts +159 -0
  203. package/tokens/runtime/tokens.pdigest.diagram.runtime.js +160 -0
  204. package/tokens/runtime/tokens.pdigest.diagram.runtime.js.map +1 -0
  205. package/tokens/runtime/tokens.pdigest.mobile.runtime.cjs +164 -0
  206. package/tokens/runtime/tokens.pdigest.mobile.runtime.cjs.map +1 -0
  207. package/tokens/runtime/tokens.pdigest.mobile.runtime.d.cts +159 -0
  208. package/tokens/runtime/tokens.pdigest.mobile.runtime.d.ts +159 -0
  209. package/tokens/runtime/tokens.pdigest.mobile.runtime.js +160 -0
  210. package/tokens/runtime/tokens.pdigest.mobile.runtime.js.map +1 -0
  211. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.cjs +164 -0
  212. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.cjs.map +1 -0
  213. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.d.cts +159 -0
  214. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.d.ts +159 -0
  215. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.js +160 -0
  216. package/tokens/runtime/tokens.redesigntrack.desktop.runtime.js.map +1 -0
  217. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.cjs +164 -0
  218. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.cjs.map +1 -0
  219. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.d.cts +159 -0
  220. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.d.ts +159 -0
  221. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.js +160 -0
  222. package/tokens/runtime/tokens.redesigntrack.diagram.runtime.js.map +1 -0
  223. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.cjs +164 -0
  224. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.cjs.map +1 -0
  225. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.d.cts +159 -0
  226. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.d.ts +159 -0
  227. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.js +160 -0
  228. package/tokens/runtime/tokens.redesigntrack.mobile.runtime.js.map +1 -0
  229. package/tokens/runtime/tokens.runtime.cjs +20 -0
  230. package/{tokens.js.map → tokens/runtime/tokens.runtime.cjs.map} +1 -1
  231. package/tokens/runtime/tokens.runtime.d.cts +1 -0
  232. package/tokens/runtime/tokens.runtime.d.ts +1 -0
  233. package/tokens/runtime/tokens.runtime.js +3 -0
  234. package/{tokens.cjs.map → tokens/runtime/tokens.runtime.js.map} +1 -1
  235. package/tokens/themes/base/dist/desktop.json +1218 -0
  236. package/tokens/themes/base/dist/diagram.json +1218 -0
  237. package/tokens/themes/base/dist/mobile.json +1218 -0
  238. package/tokens/themes/brandcopilot/dist/desktop.json +1218 -0
  239. package/tokens/themes/brandcopilot/dist/diagram.json +1218 -0
  240. package/tokens/themes/brandcopilot/dist/mobile.json +1218 -0
  241. package/tokens/themes/dmpatterns/dist/desktop.json +1218 -0
  242. package/tokens/themes/dmpatterns/dist/diagram.json +1218 -0
  243. package/tokens/themes/dmpatterns/dist/mobile.json +1218 -0
  244. package/tokens/themes/pdigest/dist/desktop.json +1218 -0
  245. package/tokens/themes/pdigest/dist/diagram.json +1218 -0
  246. package/tokens/themes/pdigest/dist/mobile.json +1218 -0
  247. package/tokens/themes/redesigntrack/dist/desktop.json +1218 -0
  248. package/tokens/themes/redesigntrack/dist/diagram.json +1218 -0
  249. package/tokens/themes/redesigntrack/dist/mobile.json +1218 -0
  250. package/tokens/themes/registry-dist.cjs +79 -0
  251. package/tokens/themes/registry-dist.cjs.map +1 -0
  252. package/{tokens.d.cts → tokens/themes/registry-dist.d.cts} +2 -1
  253. package/{tokens.d.ts → tokens/themes/registry-dist.d.ts} +2 -1
  254. package/tokens/themes/registry-dist.js +58 -0
  255. package/tokens/themes/registry-dist.js.map +1 -0
  256. package/{types-PU1522Kr.d.cts → types-DboVOY__.d.cts} +4 -3
  257. package/{types-PU1522Kr.d.ts → types-DboVOY__.d.ts} +4 -3
  258. package/icon-types.cjs +0 -4
  259. package/icon-types.cjs.map +0 -1
  260. package/icon-types.d.cts +0 -2
  261. package/icon-types.d.ts +0 -2
  262. package/icon-types.js +0 -3
  263. package/icon-types.js.map +0 -1
  264. package/icons.cjs +0 -16
  265. package/icons.cjs.map +0 -1
  266. package/icons.d.cts +0 -3
  267. package/icons.d.ts +0 -3
  268. package/icons.js +0 -3
  269. package/icons.js.map +0 -1
  270. package/layouts.cjs +0 -28
  271. package/layouts.cjs.map +0 -1
  272. package/layouts.d.cts +0 -4
  273. package/layouts.d.ts +0 -4
  274. package/layouts.js +0 -5
  275. package/layouts.js.map +0 -1
  276. package/patterns.cjs +0 -28
  277. package/patterns.cjs.map +0 -1
  278. package/patterns.d.cts +0 -4
  279. package/patterns.d.ts +0 -4
  280. package/patterns.js +0 -5
  281. package/patterns.js.map +0 -1
@@ -0,0 +1,141 @@
1
+ .attach {
2
+ /* color */
3
+ --attachment-color: var(--color-text);
4
+ --attachment-item-bg: var(--color-control);
5
+ --attachment-border-color: var(--color-line);
6
+ --attachment-size-color: var(--color-text-note);
7
+
8
+ color: var(--attachment-color);
9
+
10
+ /* typography */
11
+ --attachment-font-family: var(--font-control-family);
12
+ --attachment-font-size: var(--font-control);
13
+ --attachment-font-weight: var(--font-control-weight);
14
+ --attachment-line-height: var(--font-control-line);
15
+ --attachment-letter-spacing: var(--font-control-letter-spacing);
16
+
17
+ font-family: var(--attachment-font-family);
18
+ font-size: var(--attachment-font-size);
19
+ font-weight: var(--attachment-font-weight);
20
+ line-height: var(--attachment-line-height);
21
+ letter-spacing: var(--attachment-letter-spacing);
22
+
23
+ /* size */
24
+ --attachment-gap: var(--margin-control);
25
+ --attachment-item-gap: var(--margin-icon);
26
+ --attachment-item-padding: var(--padding-control-vert);
27
+ --attachment-preview-max-width: 240px;
28
+ --attachment-preview-max-height: 180px;
29
+
30
+ /* border */
31
+ --attachment-radius: var(--radius-control);
32
+ --attachment-border-width: var(--size-border-width-base);
33
+
34
+ /* depth */
35
+
36
+ /* motion */
37
+ }
38
+
39
+ .attach__list {
40
+ /* size */
41
+ display: flex;
42
+ flex-direction: column;
43
+ gap: var(--attachment-gap);
44
+ margin: 0;
45
+ padding: 0;
46
+
47
+ /* border */
48
+ list-style: none;
49
+ }
50
+
51
+ .attach__item {
52
+ /* color */
53
+ background: var(--attachment-item-bg);
54
+
55
+ /* size */
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: space-between;
59
+ gap: var(--attachment-item-gap);
60
+ padding: var(--attachment-item-padding);
61
+
62
+ /* border */
63
+ border:
64
+ var(--attachment-border-width)
65
+ solid
66
+ var(--attachment-border-color);
67
+ border-radius: var(--attachment-radius);
68
+ }
69
+
70
+ .attach__link {
71
+ /* color */
72
+ color: inherit;
73
+
74
+ /* size */
75
+ min-width: 0;
76
+
77
+ /* typography */
78
+ text-decoration: none;
79
+ }
80
+
81
+ .attach__link:hover .attach__name {
82
+ text-decoration: underline;
83
+ }
84
+
85
+ .attach__preview {
86
+ /* size */
87
+ display: block;
88
+ max-width: var(--attachment-preview-max-width);
89
+ max-height: var(--attachment-preview-max-height);
90
+ object-fit: contain;
91
+
92
+ /* border */
93
+ border-radius: var(--attachment-radius);
94
+ }
95
+
96
+ .attach__file {
97
+ /* size */
98
+ display: flex;
99
+ flex-direction: column;
100
+ min-width: 0;
101
+ }
102
+
103
+ .attach__name {
104
+ /* size */
105
+ overflow: hidden;
106
+
107
+ /* typography */
108
+ text-overflow: ellipsis;
109
+ white-space: nowrap;
110
+ }
111
+
112
+ .attach__size {
113
+ /* color */
114
+ color: var(--attachment-size-color);
115
+
116
+ /* typography */
117
+ font-size: 0.85em;
118
+ }
119
+
120
+ .attach__remove {
121
+ /* color */
122
+ background: transparent;
123
+ color: inherit;
124
+
125
+ /* typography */
126
+ font: inherit;
127
+
128
+ /* size */
129
+ flex-shrink: 0;
130
+ padding: 0;
131
+
132
+ /* border */
133
+ border: 0;
134
+
135
+ /* motion */
136
+ cursor: pointer;
137
+ }
138
+
139
+ .attach__remove:hover {
140
+ text-decoration: underline;
141
+ }
@@ -0,0 +1,69 @@
1
+ .avatar {
2
+ /* color */
3
+ --avatar-bg: var(--color-control);
4
+ --avatar-color: var(--color-text-control);
5
+
6
+ background: var(--avatar-bg);
7
+ color: var(--avatar-color);
8
+
9
+ /* typography */
10
+ --avatar-font-family: var(--font-control-family);
11
+ --avatar-font-size: var(--font-control);
12
+ --avatar-font-weight: var(--font-control-weight);
13
+ --avatar-line-height: var(--font-control-line);
14
+ --avatar-letter-spacing: var(--font-control-letter-spacing);
15
+
16
+ font-family: var(--avatar-font-family);
17
+ font-size: var(--avatar-font-size);
18
+ font-weight: var(--avatar-font-weight);
19
+ line-height: var(--avatar-line-height);
20
+ letter-spacing: var(--avatar-letter-spacing);
21
+
22
+ /* size */
23
+ --avatar-size: 48px;
24
+
25
+ display: inline-flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ width: var(--avatar-size);
29
+ height: var(--avatar-size);
30
+ overflow: hidden;
31
+
32
+ /* border */
33
+ --avatar-radius: 50%;
34
+
35
+ border-radius: var(--avatar-radius);
36
+
37
+ /* depth */
38
+
39
+ /* motion */
40
+ }
41
+
42
+ .avatar--button {
43
+ /* color */
44
+
45
+ /* typography */
46
+ font: inherit;
47
+
48
+ /* size */
49
+ padding: 0;
50
+
51
+ /* border */
52
+ border: 0;
53
+
54
+ /* motion */
55
+ cursor: pointer;
56
+ }
57
+
58
+ .avatar__image {
59
+ /* size */
60
+ display: block;
61
+ width: 100%;
62
+ height: 100%;
63
+ object-fit: cover;
64
+ }
65
+
66
+ .avatar__initials {
67
+ /* typography */
68
+ text-transform: uppercase;
69
+ }
@@ -28,7 +28,7 @@ const Button = ({
28
28
  if (react.isValidElement(icon) && icon.type === Icon__default.default) {
29
29
  const iconElement = icon;
30
30
  resolvedIcon = react.cloneElement(iconElement, {
31
- size: iconElement.props.size ?? "s",
31
+ size: iconElement.props.size ?? "base",
32
32
  className: classnames.classnames("button__icon", iconElement.props.className),
33
33
  "aria-hidden": iconElement.props["aria-hidden"] ?? true,
34
34
  focusable: iconElement.props.focusable ?? false
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/button/button.tsx"],"names":["classnames","isValidElement","Icon","cloneElement","jsxs"],"mappings":";;;;;;;;;;;;AAeA,MAAM,SAAgC,CAAC;AAAA,EACrC,KAAA,GAAQ,SAAA;AAAA,EACR,IAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,QAAA,GAAW,KAAA;AAAA,EACX,QAAA;AAAA,EACA,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,UAAA,GAAa,CAAC,CAAC,IAAA,IAAQ,CAAC,QAAA;AAE9B,EAAA,MAAM,OAAA,GAAUA,qBAAA,CAAW,QAAA,EAAU,SAAA,EAAW;AAAA,IAC9C,mBAAmB,KAAA,KAAU,SAAA;AAAA,IAC7B,kBAAA,EAAoB,QAAA;AAAA,IACpB,mBAAA,EAAqB;AAAA,GACtB,CAAA;AAED,EAAA,IAAI,YAAA,GAAe,IAAA;AAEnB,EAAA,IAAIC,oBAAA,CAAe,IAAI,CAAA,IAAK,IAAA,CAAK,SAASC,qBAAA,EAAM;AAC9C,IAAA,MAAM,WAAA,GAAc,IAAA;AAEpB,IAAA,YAAA,GAAeC,mBAAa,WAAA,EAAa;AAAA,MACvC,IAAA,EAAM,WAAA,CAAY,KAAA,CAAM,IAAA,IAAQ,GAAA;AAAA,MAChC,SAAA,EAAWH,qBAAA,CAAW,cAAA,EAAgB,WAAA,CAAY,MAAM,SAAS,CAAA;AAAA,MACjE,aAAA,EAAe,WAAA,CAAY,KAAA,CAAM,aAAa,CAAA,IAAK,IAAA;AAAA,MACnD,SAAA,EAAW,WAAA,CAAY,KAAA,CAAM,SAAA,IAAa;AAAA,KAC3C,CAAA;AAAA,EACH;AAEA,EAAA,uBACEI,eAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,QAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,YAAA;AAAA,QACA;AAAA;AAAA;AAAA,GACH;AAEJ,CAAA;AAEA,IAAO,cAAA,GAAQ","file":"button.cjs","sourcesContent":["import React, {\n cloneElement,\n isValidElement,\n type ReactElement,\n} from 'react';\nimport './button.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon, { type IconProps } from '../../icons/icon';\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n state?: 'default' | 'primary';\n icon?: React.ReactNode;\n}\n\nconst Button: React.FC<ButtonProps> = ({\n state = 'default',\n icon,\n className = '',\n disabled = false,\n children,\n ...props\n}) => {\n const isIconOnly = !!icon && !children;\n\n const classes = classnames('button', className, {\n 'button--primary': state === 'primary',\n 'button--disabled': disabled,\n 'button--icon-only': isIconOnly,\n });\n\n let resolvedIcon = icon;\n\n if (isValidElement(icon) && icon.type === Icon) {\n const iconElement = icon as ReactElement<IconProps>;\n\n resolvedIcon = cloneElement(iconElement, {\n size: iconElement.props.size ?? 's',\n className: classnames('button__icon', iconElement.props.className),\n 'aria-hidden': iconElement.props['aria-hidden'] ?? true,\n focusable: iconElement.props.focusable ?? false,\n });\n }\n\n return (\n <button\n className={classes}\n disabled={disabled}\n {...props}\n >\n {resolvedIcon}\n {children}\n </button>\n );\n};\n\nexport default Button;"]}
1
+ {"version":3,"sources":["../../../src/components/button/button.tsx"],"names":["classnames","isValidElement","Icon","cloneElement","jsxs"],"mappings":";;;;;;;;;;;;AAeA,MAAM,SAAgC,CAAC;AAAA,EACrC,KAAA,GAAQ,SAAA;AAAA,EACR,IAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,QAAA,GAAW,KAAA;AAAA,EACX,QAAA;AAAA,EACA,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,UAAA,GAAa,CAAC,CAAC,IAAA,IAAQ,CAAC,QAAA;AAE9B,EAAA,MAAM,OAAA,GAAUA,qBAAA,CAAW,QAAA,EAAU,SAAA,EAAW;AAAA,IAC9C,mBAAmB,KAAA,KAAU,SAAA;AAAA,IAC7B,kBAAA,EAAoB,QAAA;AAAA,IACpB,mBAAA,EAAqB;AAAA,GACtB,CAAA;AAED,EAAA,IAAI,YAAA,GAAe,IAAA;AAEnB,EAAA,IAAIC,oBAAA,CAAe,IAAI,CAAA,IAAK,IAAA,CAAK,SAASC,qBAAA,EAAM;AAC9C,IAAA,MAAM,WAAA,GAAc,IAAA;AAEpB,IAAA,YAAA,GAAeC,mBAAa,WAAA,EAAa;AAAA,MACvC,IAAA,EAAM,WAAA,CAAY,KAAA,CAAM,IAAA,IAAQ,MAAA;AAAA,MAChC,SAAA,EAAWH,qBAAA,CAAW,cAAA,EAAgB,WAAA,CAAY,MAAM,SAAS,CAAA;AAAA,MACjE,aAAA,EAAe,WAAA,CAAY,KAAA,CAAM,aAAa,CAAA,IAAK,IAAA;AAAA,MACnD,SAAA,EAAW,WAAA,CAAY,KAAA,CAAM,SAAA,IAAa;AAAA,KAC3C,CAAA;AAAA,EACH;AAEA,EAAA,uBACEI,eAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,QAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,YAAA;AAAA,QACA;AAAA;AAAA;AAAA,GACH;AAEJ,CAAA;AAEA,IAAO,cAAA,GAAQ","file":"button.cjs","sourcesContent":["import React, {\n cloneElement,\n isValidElement,\n type ReactElement,\n} from 'react';\nimport './button.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon, { type IconProps } from '../../icons/icon';\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n state?: 'default' | 'primary';\n icon?: React.ReactNode;\n}\n\nconst Button: React.FC<ButtonProps> = ({\n state = 'default',\n icon,\n className = '',\n disabled = false,\n children,\n ...props\n}) => {\n const isIconOnly = !!icon && !children;\n\n const classes = classnames('button', className, {\n 'button--primary': state === 'primary',\n 'button--disabled': disabled,\n 'button--icon-only': isIconOnly,\n });\n\n let resolvedIcon = icon;\n\n if (isValidElement(icon) && icon.type === Icon) {\n const iconElement = icon as ReactElement<IconProps>;\n\n resolvedIcon = cloneElement(iconElement, {\n size: iconElement.props.size ?? 'base',\n className: classnames('button__icon', iconElement.props.className),\n 'aria-hidden': iconElement.props['aria-hidden'] ?? true,\n focusable: iconElement.props.focusable ?? false,\n });\n }\n\n return (\n <button\n className={classes}\n disabled={disabled}\n {...props}\n >\n {resolvedIcon}\n {children}\n </button>\n );\n};\n\nexport default Button;"]}
@@ -0,0 +1,104 @@
1
+ .button {
2
+ /* color */
3
+ --button-bg: var(--color-primary-2);
4
+ --button-color: var(--color-text-primary-2);
5
+ --button-bg-disabled: var(--color-bg-disabled);
6
+ --button-color-disabled: var(--color-text-disabled, var(--color-text-control));
7
+
8
+ background: var(--button-bg);
9
+ color: var(--button-color);
10
+
11
+ /* typography */
12
+ --button-font-family: var(--font-control-family);
13
+ --button-font-weight: var(--font-control-weight);
14
+ --button-font-size: var(--font-control);
15
+ --button-line-height: var(--font-control-line);
16
+ --button-letter-spacing: var(--font-control-letter-spacing);
17
+
18
+ font-family: var(--button-font-family);
19
+ font-size: var(--button-font-size);
20
+ font-weight: var(--button-font-weight);
21
+ line-height: var(--button-line-height);
22
+ letter-spacing: var(--button-letter-spacing);
23
+
24
+ /* size */
25
+ --button-gap: var(--margin-icon);
26
+ --button-height: var(--size-control-height);
27
+ --button-padding-x: var(--padding-control-button-horz);
28
+ --button-padding-icon-only: var(--padding-control-button-icon-horz);
29
+
30
+ display: inline-flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ gap: var(--button-gap);
34
+ min-height: var(--button-height);
35
+ padding-inline: var(--button-padding-x);
36
+
37
+ /* border */
38
+ --button-radius: var(--radius-control-button);
39
+ --button-focus-width: var(--size-border-width-base);
40
+ --button-focus-offset: var(--size-border-width-base);
41
+
42
+ border: 0;
43
+ border-radius: var(--button-radius);
44
+
45
+ /* depth */
46
+
47
+ /* motion */
48
+ --button-opacity-hover: 0.8;
49
+ --button-opacity-active: 0.6;
50
+ --button-opacity-disabled: 0.6;
51
+ --button-transition-duration: 0.2s;
52
+
53
+ cursor: pointer;
54
+ user-select: none;
55
+ transition: opacity var(--button-transition-duration) ease;
56
+ }
57
+
58
+ .button__icon {
59
+ /* color */
60
+
61
+ /* typography */
62
+ line-height: 0;
63
+
64
+ /* size */
65
+ display: inline-flex;
66
+ align-items: center;
67
+ flex-shrink: 0;
68
+
69
+ /* border */
70
+
71
+ /* depth */
72
+
73
+ /* motion */
74
+ }
75
+
76
+ .button:hover {
77
+ opacity: var(--button-opacity-hover);
78
+ }
79
+
80
+ .button:focus-visible {
81
+ outline: var(--button-focus-width) solid var(--button-bg);
82
+ outline-offset: var(--button-focus-offset);
83
+ }
84
+
85
+ .button:active {
86
+ opacity: var(--button-opacity-active);
87
+ }
88
+
89
+ .button:disabled,
90
+ .button--disabled {
91
+ background: var(--button-bg-disabled);
92
+ color: var(--button-color-disabled);
93
+ opacity: var(--button-opacity-disabled);
94
+ cursor: not-allowed;
95
+ }
96
+
97
+ .button--primary {
98
+ --button-bg: var(--color-primary-2);
99
+ --button-color: var(--color-text-primary-2);
100
+ }
101
+
102
+ .button--icon-only {
103
+ padding-inline: var(--button-padding-icon-only);
104
+ }
@@ -22,7 +22,7 @@ const Button = ({
22
22
  if (isValidElement(icon) && icon.type === Icon) {
23
23
  const iconElement = icon;
24
24
  resolvedIcon = cloneElement(iconElement, {
25
- size: iconElement.props.size ?? "s",
25
+ size: iconElement.props.size ?? "base",
26
26
  className: classnames("button__icon", iconElement.props.className),
27
27
  "aria-hidden": iconElement.props["aria-hidden"] ?? true,
28
28
  focusable: iconElement.props.focusable ?? false
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":";;;;;;AAeA,MAAM,SAAgC,CAAC;AAAA,EACrC,KAAA,GAAQ,SAAA;AAAA,EACR,IAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,QAAA,GAAW,KAAA;AAAA,EACX,QAAA;AAAA,EACA,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,UAAA,GAAa,CAAC,CAAC,IAAA,IAAQ,CAAC,QAAA;AAE9B,EAAA,MAAM,OAAA,GAAU,UAAA,CAAW,QAAA,EAAU,SAAA,EAAW;AAAA,IAC9C,mBAAmB,KAAA,KAAU,SAAA;AAAA,IAC7B,kBAAA,EAAoB,QAAA;AAAA,IACpB,mBAAA,EAAqB;AAAA,GACtB,CAAA;AAED,EAAA,IAAI,YAAA,GAAe,IAAA;AAEnB,EAAA,IAAI,cAAA,CAAe,IAAI,CAAA,IAAK,IAAA,CAAK,SAAS,IAAA,EAAM;AAC9C,IAAA,MAAM,WAAA,GAAc,IAAA;AAEpB,IAAA,YAAA,GAAe,aAAa,WAAA,EAAa;AAAA,MACvC,IAAA,EAAM,WAAA,CAAY,KAAA,CAAM,IAAA,IAAQ,GAAA;AAAA,MAChC,SAAA,EAAW,UAAA,CAAW,cAAA,EAAgB,WAAA,CAAY,MAAM,SAAS,CAAA;AAAA,MACjE,aAAA,EAAe,WAAA,CAAY,KAAA,CAAM,aAAa,CAAA,IAAK,IAAA;AAAA,MACnD,SAAA,EAAW,WAAA,CAAY,KAAA,CAAM,SAAA,IAAa;AAAA,KAC3C,CAAA;AAAA,EACH;AAEA,EAAA,uBACE,IAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,QAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,YAAA;AAAA,QACA;AAAA;AAAA;AAAA,GACH;AAEJ,CAAA;AAEA,IAAO,cAAA,GAAQ","file":"button.js","sourcesContent":["import React, {\n cloneElement,\n isValidElement,\n type ReactElement,\n} from 'react';\nimport './button.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon, { type IconProps } from '../../icons/icon';\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n state?: 'default' | 'primary';\n icon?: React.ReactNode;\n}\n\nconst Button: React.FC<ButtonProps> = ({\n state = 'default',\n icon,\n className = '',\n disabled = false,\n children,\n ...props\n}) => {\n const isIconOnly = !!icon && !children;\n\n const classes = classnames('button', className, {\n 'button--primary': state === 'primary',\n 'button--disabled': disabled,\n 'button--icon-only': isIconOnly,\n });\n\n let resolvedIcon = icon;\n\n if (isValidElement(icon) && icon.type === Icon) {\n const iconElement = icon as ReactElement<IconProps>;\n\n resolvedIcon = cloneElement(iconElement, {\n size: iconElement.props.size ?? 's',\n className: classnames('button__icon', iconElement.props.className),\n 'aria-hidden': iconElement.props['aria-hidden'] ?? true,\n focusable: iconElement.props.focusable ?? false,\n });\n }\n\n return (\n <button\n className={classes}\n disabled={disabled}\n {...props}\n >\n {resolvedIcon}\n {children}\n </button>\n );\n};\n\nexport default Button;"]}
1
+ {"version":3,"sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":";;;;;;AAeA,MAAM,SAAgC,CAAC;AAAA,EACrC,KAAA,GAAQ,SAAA;AAAA,EACR,IAAA;AAAA,EACA,SAAA,GAAY,EAAA;AAAA,EACZ,QAAA,GAAW,KAAA;AAAA,EACX,QAAA;AAAA,EACA,GAAG;AACL,CAAA,KAAM;AACJ,EAAA,MAAM,UAAA,GAAa,CAAC,CAAC,IAAA,IAAQ,CAAC,QAAA;AAE9B,EAAA,MAAM,OAAA,GAAU,UAAA,CAAW,QAAA,EAAU,SAAA,EAAW;AAAA,IAC9C,mBAAmB,KAAA,KAAU,SAAA;AAAA,IAC7B,kBAAA,EAAoB,QAAA;AAAA,IACpB,mBAAA,EAAqB;AAAA,GACtB,CAAA;AAED,EAAA,IAAI,YAAA,GAAe,IAAA;AAEnB,EAAA,IAAI,cAAA,CAAe,IAAI,CAAA,IAAK,IAAA,CAAK,SAAS,IAAA,EAAM;AAC9C,IAAA,MAAM,WAAA,GAAc,IAAA;AAEpB,IAAA,YAAA,GAAe,aAAa,WAAA,EAAa;AAAA,MACvC,IAAA,EAAM,WAAA,CAAY,KAAA,CAAM,IAAA,IAAQ,MAAA;AAAA,MAChC,SAAA,EAAW,UAAA,CAAW,cAAA,EAAgB,WAAA,CAAY,MAAM,SAAS,CAAA;AAAA,MACjE,aAAA,EAAe,WAAA,CAAY,KAAA,CAAM,aAAa,CAAA,IAAK,IAAA;AAAA,MACnD,SAAA,EAAW,WAAA,CAAY,KAAA,CAAM,SAAA,IAAa;AAAA,KAC3C,CAAA;AAAA,EACH;AAEA,EAAA,uBACE,IAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAW,OAAA;AAAA,MACX,QAAA;AAAA,MACC,GAAG,KAAA;AAAA,MAEH,QAAA,EAAA;AAAA,QAAA,YAAA;AAAA,QACA;AAAA;AAAA;AAAA,GACH;AAEJ,CAAA;AAEA,IAAO,cAAA,GAAQ","file":"button.js","sourcesContent":["import React, {\n cloneElement,\n isValidElement,\n type ReactElement,\n} from 'react';\nimport './button.css';\nimport { classnames } from '../helpers/classnames';\nimport Icon, { type IconProps } from '../../icons/icon';\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n state?: 'default' | 'primary';\n icon?: React.ReactNode;\n}\n\nconst Button: React.FC<ButtonProps> = ({\n state = 'default',\n icon,\n className = '',\n disabled = false,\n children,\n ...props\n}) => {\n const isIconOnly = !!icon && !children;\n\n const classes = classnames('button', className, {\n 'button--primary': state === 'primary',\n 'button--disabled': disabled,\n 'button--icon-only': isIconOnly,\n });\n\n let resolvedIcon = icon;\n\n if (isValidElement(icon) && icon.type === Icon) {\n const iconElement = icon as ReactElement<IconProps>;\n\n resolvedIcon = cloneElement(iconElement, {\n size: iconElement.props.size ?? 'base',\n className: classnames('button__icon', iconElement.props.className),\n 'aria-hidden': iconElement.props['aria-hidden'] ?? true,\n focusable: iconElement.props.focusable ?? false,\n });\n }\n\n return (\n <button\n className={classes}\n disabled={disabled}\n {...props}\n >\n {resolvedIcon}\n {children}\n </button>\n );\n};\n\nexport default Button;"]}
@@ -0,0 +1,67 @@
1
+ .button-icon {
2
+ /* color */
3
+ --button-icon-bg: transparent;
4
+ --button-icon-color: var(--color-text);
5
+ --button-icon-bg-disabled: transparent;
6
+ --button-icon-color-disabled: var(--color-text-disabled);
7
+
8
+ background: var(--button-icon-bg);
9
+ color: var(--button-icon-color);
10
+
11
+ /* typography */
12
+
13
+ /* size */
14
+ --button-icon-size: 32px;
15
+
16
+ display: inline-flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ width: var(--button-icon-size);
20
+ height: var(--button-icon-size);
21
+ padding: 0;
22
+
23
+ /* border */
24
+ --button-icon-radius: var(--radius-control);
25
+ --button-icon-focus-width: var(--size-border-width-min);
26
+ --button-icon-focus-offset: 2px;
27
+
28
+ border: 0;
29
+ border-radius: var(--button-icon-radius);
30
+
31
+ /* depth */
32
+
33
+ /* motion */
34
+ --button-icon-transition-duration: var(--motion-duration1);
35
+ --button-icon-opacity-hover: 0.8;
36
+ --button-icon-opacity-active: 0.7;
37
+
38
+ cursor: pointer;
39
+ user-select: none;
40
+ transition: opacity var(--button-icon-transition-duration);
41
+ }
42
+
43
+ .button-icon__icon {
44
+ /* size */
45
+ flex-shrink: 0;
46
+ }
47
+
48
+ .button-icon:hover {
49
+ opacity: var(--button-icon-opacity-hover);
50
+ }
51
+
52
+ .button-icon:focus-visible {
53
+ outline: var(--button-icon-focus-width) solid currentColor;
54
+ outline-offset: var(--button-icon-focus-offset);
55
+ }
56
+
57
+ .button-icon:active {
58
+ opacity: var(--button-icon-opacity-active);
59
+ }
60
+
61
+ .button-icon:disabled,
62
+ .button-icon--disabled {
63
+ background: var(--button-icon-bg-disabled);
64
+ color: var(--button-icon-color-disabled);
65
+ cursor: not-allowed;
66
+ opacity: 1;
67
+ }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { a as IconName } from '../../types-PU1522Kr.cjs';
2
+ import { a as IconName } from '../../types-DboVOY__.cjs';
3
3
 
4
4
  interface ButtonIconProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
5
  icon: IconName;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { a as IconName } from '../../types-PU1522Kr.js';
2
+ import { a as IconName } from '../../types-DboVOY__.js';
3
3
 
4
4
  interface ButtonIconProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
5
  icon: IconName;
@@ -1,3 +1,3 @@
1
1
  export { ButtonIconProps, default } from './button-icon.cjs';
2
2
  import 'react';
3
- import '../../types-PU1522Kr.cjs';
3
+ import '../../types-DboVOY__.cjs';
@@ -1,3 +1,3 @@
1
1
  export { ButtonIconProps, default } from './button-icon.js';
2
2
  import 'react';
3
- import '../../types-PU1522Kr.js';
3
+ import '../../types-DboVOY__.js';
@@ -0,0 +1,128 @@
1
+ .card {
2
+ /* color */
3
+ --card-bg: var(--color-bg-container);
4
+ --card-color: var(--color-text-container);
5
+
6
+ background: var(--card-bg);
7
+ color: var(--card-color);
8
+
9
+ /* typography */
10
+
11
+ /* size */
12
+ --card-width: 100%;
13
+ --card-padding: var(--padding-container);
14
+ --card-gap: var(--margin-container-item);
15
+ --card-title-gap: var(--font-h2-margin);
16
+ --card-content-min-height: 200px;
17
+
18
+ display: flex;
19
+ flex-direction: column;
20
+ align-items: stretch;
21
+ justify-content: center;
22
+ gap: var(--card-gap);
23
+ width: var(--card-width);
24
+ padding: var(--card-padding);
25
+
26
+ /* border */
27
+ --card-radius: var(--radius-container);
28
+
29
+ border-radius: var(--card-radius);
30
+
31
+ /* depth */
32
+
33
+ /* motion */
34
+ }
35
+
36
+ .card__header {
37
+ /* color */
38
+
39
+ /* typography */
40
+
41
+ /* size */
42
+ display: flex;
43
+ flex-direction: column;
44
+ gap: var(--card-title-gap);
45
+ width: 100%;
46
+
47
+ /* border */
48
+
49
+ /* depth */
50
+
51
+ /* motion */
52
+ }
53
+
54
+ .card__title {
55
+ /* color */
56
+ color: inherit;
57
+
58
+ /* typography */
59
+ font-family: var(--font-h2-family);
60
+ font-size: var(--font-h2);
61
+ font-weight: var(--font-h2-weight);
62
+ line-height: var(--font-h2-line);
63
+ letter-spacing: var(--font-h2-letter-spacing);
64
+
65
+ /* size */
66
+ margin: 0;
67
+
68
+ /* border */
69
+
70
+ /* depth */
71
+
72
+ /* motion */
73
+ }
74
+
75
+ .card__description {
76
+ /* color */
77
+ color: inherit;
78
+
79
+ /* typography */
80
+ font-family: var(--font-lead-family);
81
+ font-size: var(--font-lead);
82
+ font-weight: var(--font-lead-weight);
83
+ line-height: var(--font-lead-line);
84
+ letter-spacing: var(--font-lead-letter-spacing);
85
+
86
+ /* size */
87
+ margin: 0;
88
+
89
+ /* border */
90
+
91
+ /* depth */
92
+
93
+ /* motion */
94
+ }
95
+
96
+ .card__content {
97
+ /* color */
98
+
99
+ /* typography */
100
+
101
+ /* size */
102
+ min-height: var(--card-content-min-height);
103
+ width: 100%;
104
+
105
+ /* border */
106
+
107
+ /* depth */
108
+
109
+ /* motion */
110
+ }
111
+
112
+ .card__actions {
113
+ /* color */
114
+
115
+ /* typography */
116
+
117
+ /* size */
118
+ display: flex;
119
+ align-items: center;
120
+ gap: var(--margin-control);
121
+ width: 100%;
122
+
123
+ /* border */
124
+
125
+ /* depth */
126
+
127
+ /* motion */
128
+ }
@@ -0,0 +1,80 @@
1
+ .checkbox {
2
+ /* color */
3
+ --checkbox-label-color: var(--color-text);
4
+
5
+ color: var(--checkbox-label-color);
6
+
7
+ /* typography */
8
+ --checkbox-font-family: var(--font-body-family);
9
+ --checkbox-font-weight: var(--font-body-weight);
10
+ --checkbox-font-size: var(--font-body);
11
+ --checkbox-line-height: var(--font-body-line);
12
+ --checkbox-letter-spacing: var(--font-body-letter-spacing);
13
+
14
+ font-family: var(--checkbox-font-family);
15
+ font-size: var(--checkbox-font-size);
16
+ font-weight: var(--checkbox-font-weight);
17
+ line-height: var(--checkbox-line-height);
18
+ letter-spacing: var(--checkbox-letter-spacing);
19
+
20
+ /* size */
21
+ --checkbox-gap: var(--margin-choice);
22
+
23
+ display: inline-flex;
24
+ align-items: center;
25
+ gap: var(--checkbox-gap);
26
+
27
+ /* border */
28
+
29
+ /* depth */
30
+
31
+ /* motion */
32
+ --checkbox-opacity-disabled: 0.6;
33
+ }
34
+
35
+ .checkbox__input {
36
+ /* color */
37
+
38
+ /* typography */
39
+
40
+ /* size */
41
+ width: var(--size-control-checkbox);
42
+ height: var(--size-control-checkbox);
43
+ margin: 0;
44
+ flex-shrink: 0;
45
+
46
+ /* border */
47
+ --сheckbox-radius: var(--radius-control);
48
+ --сheckbox-focus-width: var(--size-border-width-base);
49
+ --сheckbox-focus-offset: var(--size-border-width-base);
50
+
51
+ border: var(--сheckbox-border-width) solid var(--сheckbox-border-color);
52
+ border-radius: var(--сheckbox-radius);
53
+
54
+ /* depth */
55
+
56
+ /* motion */
57
+ }
58
+
59
+ .checkbox__label {
60
+ /* color */
61
+
62
+ /* typography */
63
+
64
+ /* size */
65
+
66
+ /* border */
67
+
68
+ /* depth */
69
+
70
+ /* motion */
71
+ }
72
+
73
+ .checkbox--disabled {
74
+ opacity: var(--checkbox-opacity-disabled);
75
+ cursor: not-allowed;
76
+ }
77
+
78
+ .checkbox__input:disabled {
79
+ cursor: not-allowed;
80
+ }