@seed-design/rootage-artifacts 2.2.1 → 2.4.0

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 (246) hide show
  1. package/__generated__/collections.d.ts +65 -0
  2. package/__generated__/collections.mjs +2 -0
  3. package/__generated__/color.d.ts +2440 -0
  4. package/__generated__/color.mjs +2 -0
  5. package/__generated__/components/accordion-item.d.ts +502 -0
  6. package/__generated__/components/accordion-item.mjs +2 -0
  7. package/__generated__/components/accordion.d.ts +87 -0
  8. package/__generated__/components/accordion.mjs +2 -0
  9. package/__generated__/components/action-button.d.ts +1638 -0
  10. package/__generated__/components/action-button.mjs +2 -0
  11. package/__generated__/components/action-chip.d.ts +455 -0
  12. package/__generated__/components/action-chip.mjs +2 -0
  13. package/__generated__/components/action-sheet-close-button.d.ts +116 -0
  14. package/__generated__/components/action-sheet-close-button.mjs +2 -0
  15. package/__generated__/components/action-sheet-item.d.ts +160 -0
  16. package/__generated__/components/action-sheet-item.mjs +2 -0
  17. package/__generated__/components/action-sheet.d.ts +270 -0
  18. package/__generated__/components/action-sheet.mjs +2 -0
  19. package/__generated__/components/alert-dialog.d.ts +308 -0
  20. package/__generated__/components/alert-dialog.json +307 -0
  21. package/__generated__/components/alert-dialog.mjs +2 -0
  22. package/__generated__/components/attachment-input-dropzone.d.ts +146 -0
  23. package/__generated__/components/attachment-input-dropzone.mjs +2 -0
  24. package/__generated__/components/attachment-input-item-action-button.d.ts +150 -0
  25. package/__generated__/components/attachment-input-item-action-button.mjs +2 -0
  26. package/__generated__/components/attachment-input-item-remove-button.d.ts +128 -0
  27. package/__generated__/components/attachment-input-item-remove-button.mjs +2 -0
  28. package/__generated__/components/attachment-input-item.d.ts +449 -0
  29. package/__generated__/components/attachment-input-item.mjs +2 -0
  30. package/__generated__/components/attachment-input-trigger.d.ts +211 -0
  31. package/__generated__/components/attachment-input-trigger.mjs +2 -0
  32. package/__generated__/components/attachment-input.d.ts +59 -0
  33. package/__generated__/components/attachment-input.mjs +2 -0
  34. package/__generated__/components/avatar-stack.d.ts +397 -0
  35. package/__generated__/components/avatar-stack.mjs +2 -0
  36. package/__generated__/components/avatar.d.ts +699 -0
  37. package/__generated__/components/avatar.mjs +2 -0
  38. package/__generated__/components/badge.d.ts +760 -0
  39. package/__generated__/components/badge.mjs +2 -0
  40. package/__generated__/components/bottom-sheet-close-button.d.ts +107 -0
  41. package/__generated__/components/bottom-sheet-close-button.mjs +2 -0
  42. package/__generated__/components/bottom-sheet-handle.d.ts +137 -0
  43. package/__generated__/components/bottom-sheet-handle.mjs +2 -0
  44. package/__generated__/components/bottom-sheet.d.ts +436 -0
  45. package/__generated__/components/bottom-sheet.mjs +2 -0
  46. package/__generated__/components/callout.d.ts +614 -0
  47. package/__generated__/components/callout.mjs +2 -0
  48. package/__generated__/components/checkbox-group.d.ts +44 -0
  49. package/__generated__/components/checkbox-group.mjs +2 -0
  50. package/__generated__/components/checkbox.d.ts +197 -0
  51. package/__generated__/components/checkbox.mjs +2 -0
  52. package/__generated__/components/checkmark.d.ts +574 -0
  53. package/__generated__/components/checkmark.mjs +2 -0
  54. package/__generated__/components/chip-tablist.d.ts +108 -0
  55. package/__generated__/components/chip-tablist.mjs +2 -0
  56. package/__generated__/components/chip.d.ts +930 -0
  57. package/__generated__/components/chip.mjs +2 -0
  58. package/__generated__/components/content-placeholder.d.ts +172 -0
  59. package/__generated__/components/content-placeholder.mjs +2 -0
  60. package/__generated__/components/contextual-floating-button.d.ts +474 -0
  61. package/__generated__/components/contextual-floating-button.mjs +2 -0
  62. package/__generated__/components/control-chip.d.ts +525 -0
  63. package/__generated__/components/control-chip.mjs +2 -0
  64. package/__generated__/components/date-picker.d.ts +454 -0
  65. package/__generated__/components/date-picker.json +453 -0
  66. package/__generated__/components/date-picker.mjs +2 -0
  67. package/__generated__/components/dialog-close-button.d.ts +125 -0
  68. package/__generated__/components/dialog-close-button.json +124 -0
  69. package/__generated__/components/dialog-close-button.mjs +2 -0
  70. package/__generated__/components/dialog.d.ts +455 -0
  71. package/__generated__/components/dialog.json +175 -28
  72. package/__generated__/components/dialog.mjs +2 -0
  73. package/__generated__/components/divider.d.ts +47 -0
  74. package/__generated__/components/divider.mjs +2 -0
  75. package/__generated__/components/extended-action-sheet-close-button.d.ts +123 -0
  76. package/__generated__/components/extended-action-sheet-close-button.mjs +2 -0
  77. package/__generated__/components/extended-action-sheet-item.d.ts +198 -0
  78. package/__generated__/components/extended-action-sheet-item.mjs +2 -0
  79. package/__generated__/components/extended-action-sheet.d.ts +309 -0
  80. package/__generated__/components/extended-action-sheet.mjs +2 -0
  81. package/__generated__/components/extended-fab.d.ts +338 -0
  82. package/__generated__/components/extended-fab.mjs +2 -0
  83. package/__generated__/components/fab.d.ts +125 -0
  84. package/__generated__/components/fab.mjs +2 -0
  85. package/__generated__/components/field-label.d.ts +109 -0
  86. package/__generated__/components/field-label.mjs +2 -0
  87. package/__generated__/components/field.d.ts +382 -0
  88. package/__generated__/components/field.mjs +2 -0
  89. package/__generated__/components/floating-action-button.d.ts +260 -0
  90. package/__generated__/components/floating-action-button.mjs +2 -0
  91. package/__generated__/components/help-bubble.d.ts +311 -0
  92. package/__generated__/components/help-bubble.mjs +2 -0
  93. package/__generated__/components/identity-placeholder.d.ts +57 -0
  94. package/__generated__/components/identity-placeholder.mjs +2 -0
  95. package/__generated__/components/image-frame-floater.d.ts +48 -0
  96. package/__generated__/components/image-frame-floater.mjs +2 -0
  97. package/__generated__/components/image-frame-indicator.d.ts +100 -0
  98. package/__generated__/components/image-frame-indicator.mjs +2 -0
  99. package/__generated__/components/image-frame-reaction-button.d.ts +160 -0
  100. package/__generated__/components/image-frame-reaction-button.mjs +2 -0
  101. package/__generated__/components/image-frame.d.ts +98 -0
  102. package/__generated__/components/image-frame.mjs +2 -0
  103. package/__generated__/components/inline-banner.d.ts +582 -0
  104. package/__generated__/components/inline-banner.mjs +2 -0
  105. package/__generated__/components/input-button.d.ts +559 -0
  106. package/__generated__/components/input-button.mjs +2 -0
  107. package/__generated__/components/link-content.d.ts +211 -0
  108. package/__generated__/components/link-content.mjs +2 -0
  109. package/__generated__/components/list-header.d.ts +134 -0
  110. package/__generated__/components/list-header.mjs +2 -0
  111. package/__generated__/components/list-item.d.ts +402 -0
  112. package/__generated__/components/list-item.mjs +2 -0
  113. package/__generated__/components/manner-temp-badge.d.ts +374 -0
  114. package/__generated__/components/manner-temp-badge.mjs +2 -0
  115. package/__generated__/components/manner-temp.d.ts +310 -0
  116. package/__generated__/components/manner-temp.mjs +2 -0
  117. package/__generated__/components/menu-item.d.ts +449 -0
  118. package/__generated__/components/menu-item.mjs +2 -0
  119. package/__generated__/components/menu-sheet-close-button.d.ts +122 -0
  120. package/__generated__/components/menu-sheet-close-button.mjs +2 -0
  121. package/__generated__/components/menu-sheet-item.d.ts +285 -0
  122. package/__generated__/components/menu-sheet-item.mjs +2 -0
  123. package/__generated__/components/menu-sheet.d.ts +315 -0
  124. package/__generated__/components/menu-sheet.mjs +2 -0
  125. package/__generated__/components/menu.d.ts +320 -0
  126. package/__generated__/components/menu.mjs +2 -0
  127. package/__generated__/components/notification-badge.d.ts +233 -0
  128. package/__generated__/components/notification-badge.mjs +2 -0
  129. package/__generated__/components/page-banner.d.ts +957 -0
  130. package/__generated__/components/page-banner.mjs +2 -0
  131. package/__generated__/components/progress-circle.d.ts +319 -0
  132. package/__generated__/components/progress-circle.mjs +2 -0
  133. package/__generated__/components/quantity-picker-button.d.ts +301 -0
  134. package/__generated__/components/quantity-picker-button.json +300 -0
  135. package/__generated__/components/quantity-picker-button.mjs +2 -0
  136. package/__generated__/components/quantity-picker.d.ts +310 -0
  137. package/__generated__/components/quantity-picker.json +309 -0
  138. package/__generated__/components/quantity-picker.mjs +2 -0
  139. package/__generated__/components/radio-group.d.ts +44 -0
  140. package/__generated__/components/radio-group.mjs +2 -0
  141. package/__generated__/components/radio.d.ts +197 -0
  142. package/__generated__/components/radio.mjs +2 -0
  143. package/__generated__/components/radiomark.d.ts +400 -0
  144. package/__generated__/components/radiomark.mjs +2 -0
  145. package/__generated__/components/reaction-button.d.ts +505 -0
  146. package/__generated__/components/reaction-button.mjs +2 -0
  147. package/__generated__/components/scroll-fog.d.ts +61 -0
  148. package/__generated__/components/scroll-fog.mjs +2 -0
  149. package/__generated__/components/segmented-control-indicator.d.ts +108 -0
  150. package/__generated__/components/segmented-control-indicator.mjs +2 -0
  151. package/__generated__/components/segmented-control-item.d.ts +206 -0
  152. package/__generated__/components/segmented-control-item.mjs +2 -0
  153. package/__generated__/components/segmented-control.d.ts +58 -0
  154. package/__generated__/components/segmented-control.mjs +2 -0
  155. package/__generated__/components/select-box-checkmark.d.ts +150 -0
  156. package/__generated__/components/select-box-checkmark.mjs +2 -0
  157. package/__generated__/components/select-box-group.d.ts +51 -0
  158. package/__generated__/components/select-box-group.mjs +2 -0
  159. package/__generated__/components/select-box.d.ts +469 -0
  160. package/__generated__/components/select-box.mjs +2 -0
  161. package/__generated__/components/select-item.d.ts +363 -0
  162. package/__generated__/components/select-item.json +362 -0
  163. package/__generated__/components/select-item.mjs +2 -0
  164. package/__generated__/components/select-trigger.d.ts +452 -0
  165. package/__generated__/components/select-trigger.json +451 -0
  166. package/__generated__/components/select-trigger.mjs +2 -0
  167. package/__generated__/components/select.d.ts +299 -0
  168. package/__generated__/components/select.json +298 -0
  169. package/__generated__/components/select.mjs +2 -0
  170. package/__generated__/components/side-panel-close-button.d.ts +125 -0
  171. package/__generated__/components/side-panel-close-button.mjs +2 -0
  172. package/__generated__/components/side-panel.d.ts +453 -0
  173. package/__generated__/components/side-panel.mjs +2 -0
  174. package/__generated__/components/skeleton.d.ts +237 -0
  175. package/__generated__/components/skeleton.mjs +2 -0
  176. package/__generated__/components/slider-thumb.d.ts +115 -0
  177. package/__generated__/components/slider-thumb.mjs +2 -0
  178. package/__generated__/components/slider-tick.d.ts +98 -0
  179. package/__generated__/components/slider-tick.mjs +2 -0
  180. package/__generated__/components/slider.d.ts +402 -0
  181. package/__generated__/components/slider.mjs +2 -0
  182. package/__generated__/components/snackbar.d.ts +361 -0
  183. package/__generated__/components/snackbar.mjs +2 -0
  184. package/__generated__/components/switch.d.ts +208 -0
  185. package/__generated__/components/switch.mjs +2 -0
  186. package/__generated__/components/switchmark.d.ts +503 -0
  187. package/__generated__/components/switchmark.mjs +2 -0
  188. package/__generated__/components/tab.d.ts +190 -0
  189. package/__generated__/components/tab.mjs +2 -0
  190. package/__generated__/components/tablist.d.ts +226 -0
  191. package/__generated__/components/tablist.mjs +2 -0
  192. package/__generated__/components/tag-group-item.d.ts +403 -0
  193. package/__generated__/components/tag-group-item.mjs +2 -0
  194. package/__generated__/components/tag-group.d.ts +138 -0
  195. package/__generated__/components/tag-group.mjs +2 -0
  196. package/__generated__/components/text-button.d.ts +115 -0
  197. package/__generated__/components/text-button.mjs +2 -0
  198. package/__generated__/components/text-input.d.ts +887 -0
  199. package/__generated__/components/text-input.mjs +2 -0
  200. package/__generated__/components/time-picker.d.ts +141 -0
  201. package/__generated__/components/time-picker.json +140 -0
  202. package/__generated__/components/time-picker.mjs +2 -0
  203. package/__generated__/components/toggle-button.d.ts +642 -0
  204. package/__generated__/components/toggle-button.mjs +2 -0
  205. package/__generated__/components/top-navigation-icon-button.d.ts +140 -0
  206. package/__generated__/components/top-navigation-icon-button.mjs +2 -0
  207. package/__generated__/components/top-navigation-text-button.d.ts +226 -0
  208. package/__generated__/components/top-navigation-text-button.mjs +2 -0
  209. package/__generated__/components/top-navigation.d.ts +439 -0
  210. package/__generated__/components/top-navigation.mjs +2 -0
  211. package/__generated__/components/typography.d.ts +2675 -0
  212. package/__generated__/components/typography.mjs +2 -0
  213. package/__generated__/dimension.d.ts +276 -0
  214. package/__generated__/dimension.mjs +2 -0
  215. package/__generated__/duration.d.ts +96 -0
  216. package/__generated__/duration.mjs +2 -0
  217. package/__generated__/font-size.d.ts +339 -0
  218. package/__generated__/font-size.mjs +2 -0
  219. package/__generated__/font-weight.d.ts +37 -0
  220. package/__generated__/font-weight.mjs +2 -0
  221. package/__generated__/gradient.d.ts +248 -0
  222. package/__generated__/gradient.mjs +2 -0
  223. package/__generated__/index.d.ts +340 -0
  224. package/__generated__/index.json +28 -1
  225. package/__generated__/index.mjs +2 -0
  226. package/__generated__/line-height.d.ts +339 -0
  227. package/__generated__/line-height.mjs +2 -0
  228. package/__generated__/radius.d.ts +134 -0
  229. package/__generated__/radius.mjs +2 -0
  230. package/__generated__/scale.d.ts +49 -0
  231. package/__generated__/scale.mjs +2 -0
  232. package/__generated__/shadow.d.ts +171 -0
  233. package/__generated__/shadow.mjs +2 -0
  234. package/__generated__/timing-function.d.ts +104 -0
  235. package/__generated__/timing-function.mjs +2 -0
  236. package/components/alert-dialog.yaml +131 -0
  237. package/components/date-picker.yaml +184 -0
  238. package/components/dialog-close-button.yaml +47 -0
  239. package/components/dialog.yaml +68 -17
  240. package/components/quantity-picker-button.yaml +93 -0
  241. package/components/quantity-picker.yaml +101 -0
  242. package/components/select-item.yaml +141 -0
  243. package/components/select-trigger.yaml +175 -0
  244. package/components/select.yaml +118 -0
  245. package/components/time-picker.yaml +53 -0
  246. package/package.json +17 -3
@@ -0,0 +1,104 @@
1
+ declare const artifact: {
2
+ "kind": "Tokens";
3
+ "metadata": {
4
+ "id": "timing-function";
5
+ "name": "Timing Function";
6
+ };
7
+ "data": {
8
+ "collection": "global";
9
+ "tokens": {
10
+ "$timing-function.linear": {
11
+ "values": {
12
+ "default": {
13
+ "type": "cubicBezier";
14
+ "value": readonly [
15
+ 0,
16
+ 0,
17
+ 1,
18
+ 1,
19
+ ];
20
+ };
21
+ };
22
+ };
23
+ "$timing-function.easing": {
24
+ "values": {
25
+ "default": {
26
+ "type": "cubicBezier";
27
+ "value": readonly [
28
+ 0.35,
29
+ 0,
30
+ 0.35,
31
+ 1,
32
+ ];
33
+ };
34
+ };
35
+ };
36
+ "$timing-function.enter": {
37
+ "values": {
38
+ "default": {
39
+ "type": "cubicBezier";
40
+ "value": readonly [
41
+ 0,
42
+ 0,
43
+ 0.15,
44
+ 1,
45
+ ];
46
+ };
47
+ };
48
+ };
49
+ "$timing-function.exit": {
50
+ "values": {
51
+ "default": {
52
+ "type": "cubicBezier";
53
+ "value": readonly [
54
+ 0.35,
55
+ 0,
56
+ 1,
57
+ 1,
58
+ ];
59
+ };
60
+ };
61
+ };
62
+ "$timing-function.enter-expressive": {
63
+ "values": {
64
+ "default": {
65
+ "type": "cubicBezier";
66
+ "value": readonly [
67
+ 0.03,
68
+ 0.4,
69
+ 0.1,
70
+ 1,
71
+ ];
72
+ };
73
+ };
74
+ };
75
+ "$timing-function.exit-expressive": {
76
+ "values": {
77
+ "default": {
78
+ "type": "cubicBezier";
79
+ "value": readonly [
80
+ 0.35,
81
+ 0,
82
+ 0.95,
83
+ 0.55,
84
+ ];
85
+ };
86
+ };
87
+ };
88
+ "$timing-function.pressed-scale": {
89
+ "values": {
90
+ "default": {
91
+ "type": "cubicBezier";
92
+ "value": readonly [
93
+ 0,
94
+ 0,
95
+ 0.15,
96
+ 1,
97
+ ];
98
+ };
99
+ };
100
+ };
101
+ };
102
+ };
103
+ };
104
+ export default artifact;
@@ -0,0 +1,2 @@
1
+ import artifact from "./timing-function.json" with { type: "json" };
2
+ export default artifact;
@@ -0,0 +1,131 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: alert-dialog
5
+ name: Alert Dialog
6
+ data:
7
+ schema:
8
+ slots:
9
+ backdrop:
10
+ properties:
11
+ color:
12
+ type: color
13
+ enterDuration:
14
+ type: duration
15
+ enterTimingFunction:
16
+ type: cubicBezier
17
+ enterOpacity:
18
+ type: number
19
+ exitDuration:
20
+ type: duration
21
+ exitTimingFunction:
22
+ type: cubicBezier
23
+ exitOpacity:
24
+ type: number
25
+ content:
26
+ properties:
27
+ color:
28
+ type: color
29
+ cornerRadius:
30
+ type: dimension
31
+ marginX:
32
+ type: dimension
33
+ marginY:
34
+ type: dimension
35
+ maxWidth:
36
+ type: dimension
37
+ enterDuration:
38
+ type: duration
39
+ enterTimingFunction:
40
+ type: cubicBezier
41
+ enterOpacity:
42
+ type: number
43
+ enterScale:
44
+ type: number
45
+ exitDuration:
46
+ type: duration
47
+ exitTimingFunction:
48
+ type: cubicBezier
49
+ exitOpacity:
50
+ type: number
51
+ header:
52
+ properties:
53
+ gap:
54
+ type: dimension
55
+ paddingX:
56
+ type: dimension
57
+ paddingTop:
58
+ type: dimension
59
+ footer:
60
+ properties:
61
+ gap:
62
+ type: dimension
63
+ paddingX:
64
+ type: dimension
65
+ paddingTop:
66
+ type: dimension
67
+ paddingBottom:
68
+ type: dimension
69
+ title:
70
+ properties:
71
+ color:
72
+ type: color
73
+ fontSize:
74
+ type: dimension
75
+ lineHeight:
76
+ type: dimension
77
+ fontWeight:
78
+ type: number
79
+ description:
80
+ properties:
81
+ color:
82
+ type: color
83
+ fontSize:
84
+ type: dimension
85
+ lineHeight:
86
+ type: dimension
87
+ fontWeight:
88
+ type: number
89
+ definitions:
90
+ base:
91
+ enabled:
92
+ backdrop:
93
+ color: $color.bg.overlay
94
+ enterDuration: $duration.d2
95
+ enterTimingFunction: $timing-function.enter
96
+ enterOpacity: 0
97
+ exitDuration: $duration.d2
98
+ exitTimingFunction: $timing-function.exit
99
+ exitOpacity: 0
100
+ content:
101
+ color: $color.bg.layer-floating
102
+ cornerRadius: $radius.r5
103
+ marginX: $dimension.x8
104
+ marginY: $dimension.x16
105
+ maxWidth: 272px
106
+ enterDuration: $duration.d4
107
+ enterTimingFunction: $timing-function.enter-expressive
108
+ enterOpacity: 0
109
+ enterScale: 1.3
110
+ exitDuration: $duration.d2
111
+ exitTimingFunction: $timing-function.exit
112
+ exitOpacity: 0
113
+ header:
114
+ gap: $dimension.x1_5
115
+ paddingX: $dimension.x5
116
+ paddingTop: $dimension.x5
117
+ footer:
118
+ gap: $dimension.x2
119
+ paddingX: $dimension.x5
120
+ paddingTop: $dimension.x4
121
+ paddingBottom: $dimension.x5
122
+ title:
123
+ color: $color.fg.neutral
124
+ fontSize: $font-size.t7
125
+ lineHeight: $line-height.t7
126
+ fontWeight: $font-weight.bold
127
+ description:
128
+ color: $color.fg.neutral
129
+ fontSize: $font-size.t5
130
+ lineHeight: $line-height.t5
131
+ fontWeight: $font-weight.regular
@@ -0,0 +1,184 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: date-picker
5
+ name: Date Picker
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ header:
14
+ properties:
15
+ height:
16
+ type: dimension
17
+ headerLabel:
18
+ properties:
19
+ paddingX:
20
+ type: dimension
21
+ gap:
22
+ type: dimension
23
+ iconSize:
24
+ type: dimension
25
+ fontSize:
26
+ type: dimension
27
+ lineHeight:
28
+ type: dimension
29
+ fontWeight:
30
+ type: number
31
+ color:
32
+ type: color
33
+ months:
34
+ properties:
35
+ gap:
36
+ type: dimension
37
+ continuousScroll:
38
+ properties:
39
+ fogHeight:
40
+ type: dimension
41
+ weekday:
42
+ properties:
43
+ height:
44
+ type: dimension
45
+ fontSize:
46
+ type: dimension
47
+ lineHeight:
48
+ type: dimension
49
+ fontWeight:
50
+ type: number
51
+ color:
52
+ type: color
53
+ monthLabel:
54
+ properties:
55
+ height:
56
+ type: dimension
57
+ fontSize:
58
+ type: dimension
59
+ lineHeight:
60
+ type: dimension
61
+ fontWeight:
62
+ type: number
63
+ color:
64
+ type: color
65
+ dateCell:
66
+ properties:
67
+ minHeight:
68
+ type: dimension
69
+ dateVisual:
70
+ properties:
71
+ size:
72
+ type: dimension
73
+ cornerRadius:
74
+ type: dimension
75
+ color:
76
+ type: color
77
+ dateContent:
78
+ properties:
79
+ fontSize:
80
+ type: dimension
81
+ lineHeight:
82
+ type: dimension
83
+ fontWeight:
84
+ type: number
85
+ color:
86
+ type: color
87
+ rangeBackground:
88
+ properties:
89
+ color:
90
+ type: color
91
+ wheelSelectionIndicator:
92
+ properties:
93
+ cornerRadius:
94
+ type: dimension
95
+ color:
96
+ type: color
97
+ wheelContainer:
98
+ properties:
99
+ height:
100
+ type: dimension
101
+ wheelItem:
102
+ properties:
103
+ paddingX:
104
+ type: dimension
105
+ fontSize:
106
+ type: dimension
107
+ lineHeight:
108
+ type: dimension
109
+ fontWeight:
110
+ type: number
111
+ color:
112
+ type: color
113
+ definitions:
114
+ base:
115
+ enabled:
116
+ root:
117
+ color: $color.bg.layer-floating
118
+ header:
119
+ height: $dimension.x12
120
+ headerLabel:
121
+ paddingX: $dimension.x1
122
+ gap: $dimension.x1
123
+ iconSize: $dimension.x5
124
+ fontSize: $font-size.t5
125
+ lineHeight: $line-height.t5
126
+ fontWeight: $font-weight.bold
127
+ color: $color.fg.neutral
128
+ months:
129
+ gap: $dimension.x6
130
+ continuousScroll:
131
+ fogHeight: 96px
132
+ weekday:
133
+ height: $dimension.x12
134
+ fontSize: $font-size.t4
135
+ lineHeight: $line-height.t4
136
+ fontWeight: $font-weight.medium
137
+ color: $color.fg.neutral-subtle
138
+ monthLabel:
139
+ height: $dimension.x12
140
+ fontSize: $font-size.t5
141
+ lineHeight: $line-height.t5
142
+ fontWeight: $font-weight.bold
143
+ color: $color.fg.neutral
144
+ dateCell:
145
+ minHeight: $dimension.x12
146
+ dateVisual:
147
+ size: 42px
148
+ cornerRadius: $radius.full
149
+ color: $color.bg.transparent
150
+ dateContent:
151
+ fontSize: $font-size.t5
152
+ lineHeight: $line-height.t5
153
+ fontWeight: $font-weight.medium
154
+ color: $color.fg.neutral-muted
155
+ rangeBackground:
156
+ color: $color.bg.neutral-weak
157
+ wheelSelectionIndicator:
158
+ cornerRadius: $radius.r2
159
+ color: $color.bg.neutral-weak
160
+ wheelContainer:
161
+ # 44px × 7개 항목(308px)을 중앙 정렬하고 위아래 14px 여백을 둡니다.
162
+ height: 336px
163
+ wheelItem:
164
+ paddingX: $dimension.x4
165
+ fontSize: $font-size.t10-static
166
+ lineHeight: $line-height.t10-static
167
+ fontWeight: $font-weight.medium
168
+ color: $color.fg.disabled
169
+ pressed:
170
+ dateVisual:
171
+ color: $color.bg.transparent-pressed
172
+ today:
173
+ dateVisual:
174
+ color: $color.bg.neutral-weak
175
+ selected:
176
+ dateVisual:
177
+ color: $color.bg.neutral-inverted
178
+ dateContent:
179
+ color: $color.fg.neutral-inverted
180
+ wheelItem:
181
+ color: $color.fg.neutral
182
+ disabled:
183
+ dateContent:
184
+ color: $color.fg.disabled
@@ -0,0 +1,47 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: dialog-close-button
5
+ name: Dialog Close Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ cornerRadius:
14
+ type: dimension
15
+ size:
16
+ type: dimension
17
+ colorDuration:
18
+ type: duration
19
+ colorTimingFunction:
20
+ type: cubicBezier
21
+ icon:
22
+ properties:
23
+ color:
24
+ type: color
25
+ size:
26
+ type: dimension
27
+ colorDuration:
28
+ type: duration
29
+ colorTimingFunction:
30
+ type: cubicBezier
31
+ definitions:
32
+ base:
33
+ enabled:
34
+ root:
35
+ color: $color.bg.transparent
36
+ cornerRadius: $radius.r3
37
+ size: 52px
38
+ colorDuration: $duration.color-transition
39
+ colorTimingFunction: $timing-function.easing
40
+ icon:
41
+ color: $color.fg.neutral-subtle
42
+ size: 22px
43
+ colorDuration: $duration.color-transition
44
+ colorTimingFunction: $timing-function.easing
45
+ pressed:
46
+ root:
47
+ color: $color.bg.transparent-pressed
@@ -28,12 +28,16 @@ data:
28
28
  type: color
29
29
  cornerRadius:
30
30
  type: dimension
31
- marginX:
32
- type: dimension
33
- marginY:
34
- type: dimension
35
31
  maxWidth:
36
32
  type: dimension
33
+ widthFraction:
34
+ type: number
35
+ description: viewport width 또는 parent width에 대한 비율입니다. viewport `md` 미만에서 적용합니다.
36
+ maxHeightFraction:
37
+ type: number
38
+ description: viewport height 또는 parent height에 대한 최대 비율입니다.
39
+ marginX:
40
+ type: dimension
37
41
  enterDuration:
38
42
  type: duration
39
43
  enterTimingFunction:
@@ -56,10 +60,30 @@ data:
56
60
  type: dimension
57
61
  paddingTop:
58
62
  type: dimension
59
- footer:
63
+ paddingBottom:
64
+ type: dimension
65
+ closeButtonGap:
66
+ type: dimension
67
+ description: closeButton이 표시되는 경우 paddingRight에 추가되는 여백입니다.
68
+ body:
60
69
  properties:
61
- gap:
70
+ paddingX:
71
+ type: dimension
72
+ paddingBottom:
62
73
  type: dimension
74
+ description: body의 하단 padding이며, 동시에 하단 scroll fog 그라데이션의 높이로도 사용됩니다. 본문이 오버플로되어 스크롤 가능한 경우에만 적용됩니다.
75
+ strokeWidth:
76
+ type: dimension
77
+ description: 본문이 스크롤된(scrolled) 상태에서 body 상단에 나타나는 divider의 두께입니다.
78
+ strokeColor:
79
+ type: color
80
+ description: 본문이 스크롤된(scrolled) 상태에서 body 상단에 나타나는 divider의 색상입니다.
81
+ strokeDuration:
82
+ type: duration
83
+ strokeTimingFunction:
84
+ type: cubicBezier
85
+ footer:
86
+ properties:
63
87
  paddingX:
64
88
  type: dimension
65
89
  paddingTop:
@@ -86,6 +110,12 @@ data:
86
110
  type: dimension
87
111
  fontWeight:
88
112
  type: number
113
+ closeButton:
114
+ properties:
115
+ fromTop:
116
+ type: dimension
117
+ fromRight:
118
+ type: dimension
89
119
  definitions:
90
120
  base:
91
121
  enabled:
@@ -100,9 +130,9 @@ data:
100
130
  content:
101
131
  color: $color.bg.layer-floating
102
132
  cornerRadius: $radius.r5
103
- marginX: $dimension.x8
104
- marginY: $dimension.x16
105
- maxWidth: 272px
133
+ widthFraction: 0.9
134
+ maxHeightFraction: 0.8
135
+ marginX: $dimension.x5
106
136
  enterDuration: $duration.d4
107
137
  enterTimingFunction: $timing-function.enter-expressive
108
138
  enterOpacity: 0
@@ -112,20 +142,41 @@ data:
112
142
  exitOpacity: 0
113
143
  header:
114
144
  gap: $dimension.x1_5
115
- paddingX: $dimension.x5
116
- paddingTop: $dimension.x5
145
+ paddingX: $dimension.x6
146
+ paddingTop: $dimension.x6
147
+ paddingBottom: $dimension.x4
148
+ closeButtonGap: $dimension.x1_5
149
+ body:
150
+ paddingX: $dimension.x6
151
+ paddingBottom: $dimension.x12
152
+ strokeDuration: $duration.color-transition
153
+ strokeTimingFunction: $timing-function.easing
117
154
  footer:
118
- gap: $dimension.x2
119
- paddingX: $dimension.x5
155
+ paddingX: $dimension.x6
120
156
  paddingTop: $dimension.x4
121
- paddingBottom: $dimension.x5
157
+ paddingBottom: $dimension.x6
122
158
  title:
123
159
  color: $color.fg.neutral
124
- fontSize: $font-size.t7
125
- lineHeight: $line-height.t7
160
+ fontSize: $font-size.t8
161
+ lineHeight: $line-height.t8
126
162
  fontWeight: $font-weight.bold
127
163
  description:
128
- color: $color.fg.neutral
164
+ color: $color.fg.neutral-muted
129
165
  fontSize: $font-size.t5
130
166
  lineHeight: $line-height.t5
131
167
  fontWeight: $font-weight.regular
168
+ closeButton:
169
+ fromTop: $dimension.x7
170
+ fromRight: $dimension.x6
171
+ scrolled:
172
+ body:
173
+ strokeColor: $color.stroke.neutral-muted
174
+ strokeWidth: 1px
175
+ size=medium:
176
+ enabled:
177
+ content:
178
+ maxWidth: 480px
179
+ size=large:
180
+ enabled:
181
+ content:
182
+ maxWidth: 800px
@@ -0,0 +1,93 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: quantity-picker-button
5
+ name: Quantity Picker Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ size:
12
+ type: dimension
13
+ cornerRadius:
14
+ type: dimension
15
+ color:
16
+ type: color
17
+ colorDuration:
18
+ type: duration
19
+ colorTimingFunction:
20
+ type: cubicBezier
21
+ icon:
22
+ properties:
23
+ size:
24
+ type: dimension
25
+ color:
26
+ type: color
27
+ progressCircle:
28
+ properties:
29
+ trackColor:
30
+ type: color
31
+ rangeColor:
32
+ type: color
33
+ size:
34
+ type: dimension
35
+ thickness:
36
+ type: dimension
37
+ variants:
38
+ size:
39
+ values:
40
+ small: {}
41
+ medium: {}
42
+ large: {}
43
+ definitions:
44
+ base:
45
+ enabled:
46
+ root:
47
+ color: $color.bg.transparent
48
+ colorDuration: $duration.color-transition
49
+ colorTimingFunction: $timing-function.easing
50
+ icon:
51
+ color: $color.fg.neutral
52
+ progressCircle:
53
+ trackColor: $color.palette.gray-500
54
+ rangeColor: $color.fg.neutral
55
+ pressed:
56
+ root:
57
+ color: $color.bg.transparent-pressed
58
+ disabled:
59
+ icon:
60
+ color: $color.fg.disabled
61
+ loading:
62
+ root:
63
+ color: $color.bg.transparent-pressed
64
+ size=small:
65
+ enabled:
66
+ root:
67
+ size: $dimension.x9
68
+ cornerRadius: $radius.r2
69
+ icon:
70
+ size: 16px
71
+ progressCircle:
72
+ size: 16px
73
+ thickness: 2px
74
+ size=medium:
75
+ enabled:
76
+ root:
77
+ size: $dimension.x10
78
+ cornerRadius: $radius.r2
79
+ icon:
80
+ size: 18px
81
+ progressCircle:
82
+ size: 18px
83
+ thickness: 2px
84
+ size=large:
85
+ enabled:
86
+ root:
87
+ size: $dimension.x13
88
+ cornerRadius: $radius.r3
89
+ icon:
90
+ size: 22px
91
+ progressCircle:
92
+ size: 22px
93
+ thickness: 2px