@seed-design/rootage-artifacts 0.0.0 → 0.0.2

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 (63) hide show
  1. package/README.md +10 -0
  2. package/color.yaml +438 -366
  3. package/components/action-button.yaml +415 -205
  4. package/components/action-chip.yaml +139 -67
  5. package/components/action-sheet-close-button.yaml +45 -0
  6. package/components/action-sheet-item.yaml +52 -0
  7. package/components/action-sheet.yaml +115 -0
  8. package/components/avatar-stack.yaml +74 -0
  9. package/components/avatar.yaml +110 -47
  10. package/components/badge.yaml +153 -130
  11. package/components/bottom-sheet-close-button.yaml +38 -0
  12. package/components/bottom-sheet.yaml +143 -0
  13. package/components/callout.yaml +169 -129
  14. package/components/checkbox.yaml +139 -116
  15. package/components/chip-tab.yaml +82 -59
  16. package/components/chip-tablist.yaml +20 -11
  17. package/components/chip.yaml +314 -0
  18. package/components/contextual-floating-button.yaml +155 -0
  19. package/components/control-chip.yaml +157 -88
  20. package/components/dialog.yaml +119 -18
  21. package/components/divider.yaml +17 -0
  22. package/components/extended-action-sheet-close-button.yaml +50 -0
  23. package/components/extended-action-sheet-item.yaml +67 -0
  24. package/components/extended-action-sheet.yaml +134 -0
  25. package/components/extended-fab.yaml +102 -0
  26. package/components/fab.yaml +38 -20
  27. package/components/floating-action-button.yaml +99 -0
  28. package/components/help-bubble.yaml +121 -32
  29. package/components/identity-placeholder.yaml +23 -0
  30. package/components/inline-banner.yaml +188 -141
  31. package/components/link-content.yaml +60 -0
  32. package/components/manner-temp-badge.yaml +78 -0
  33. package/components/manner-temp.yaml +61 -0
  34. package/components/menu-sheet-close-button.yaml +49 -0
  35. package/components/menu-sheet-item.yaml +70 -0
  36. package/components/menu-sheet.yaml +133 -0
  37. package/components/notification-badge.yaml +67 -0
  38. package/components/progress-circle.yaml +83 -40
  39. package/components/radio.yaml +67 -71
  40. package/components/reaction-button.yaml +159 -0
  41. package/components/segmented-control-item.yaml +54 -0
  42. package/components/segmented-control.yaml +41 -30
  43. package/components/select-box.yaml +152 -0
  44. package/components/skeleton.yaml +56 -0
  45. package/components/snackbar.yaml +125 -0
  46. package/components/switch.yaml +98 -46
  47. package/components/tab.yaml +49 -31
  48. package/components/tablist.yaml +56 -15
  49. package/components/text-button.yaml +41 -57
  50. package/components/text-field.yaml +361 -0
  51. package/components/toggle-button.yaml +196 -0
  52. package/components/top-navigation.yaml +100 -0
  53. package/components/typography.yaml +167 -138
  54. package/dimension.yaml +88 -0
  55. package/duration.yaml +25 -0
  56. package/font-size.yaml +9 -0
  57. package/gradient.yaml +168 -0
  58. package/line-height.yaml +4 -4
  59. package/package.json +5 -2
  60. package/radius.yaml +10 -10
  61. package/timing-function.yaml +37 -0
  62. package/components/expand-button.yaml +0 -34
  63. package/unit.yaml +0 -70
@@ -0,0 +1,102 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: extended-fab
5
+ name: Extended Fab
6
+ deprecated: Use contextual-floating-button instead.
7
+ data:
8
+ schema:
9
+ slots:
10
+ root:
11
+ properties:
12
+ cornerRadius:
13
+ type: dimension
14
+ shadow:
15
+ type: shadow
16
+ color:
17
+ type: color
18
+ minHeight:
19
+ type: dimension
20
+ gap:
21
+ type: dimension
22
+ paddingX:
23
+ type: dimension
24
+ paddingY:
25
+ type: dimension
26
+ label:
27
+ properties:
28
+ color:
29
+ type: color
30
+ fontSize:
31
+ type: dimension
32
+ lineHeight:
33
+ type: dimension
34
+ fontWeight:
35
+ type: number
36
+ prefixIcon:
37
+ properties:
38
+ color:
39
+ type: color
40
+ size:
41
+ type: dimension
42
+ definitions:
43
+ base:
44
+ enabled:
45
+ root:
46
+ cornerRadius: $radius.full
47
+ shadow:
48
+ type: shadow
49
+ value:
50
+ - offsetX: 0px
51
+ offsetY: 2px
52
+ blur: 6px
53
+ spread: 0px
54
+ color: "#00000026"
55
+ variant=neutralSolid:
56
+ enabled:
57
+ root:
58
+ color: $color.bg.neutral-inverted
59
+ label:
60
+ color: $color.fg.neutral-inverted
61
+ prefixIcon:
62
+ color: $color.fg.neutral-inverted
63
+ pressed:
64
+ root:
65
+ color: $color.bg.neutral-inverted-pressed
66
+ variant=layerFloating:
67
+ enabled:
68
+ root:
69
+ color: $color.bg.layer-floating
70
+ label:
71
+ color: $color.fg.neutral
72
+ prefixIcon:
73
+ color: $color.fg.neutral
74
+ pressed:
75
+ root:
76
+ color: $color.bg.layer-floating-pressed
77
+ size=small:
78
+ enabled:
79
+ root:
80
+ minHeight: 40px
81
+ gap: $dimension.x1
82
+ paddingX: $dimension.x3_5
83
+ paddingY: $dimension.x2_5
84
+ prefixIcon:
85
+ size: 16px
86
+ label:
87
+ fontSize: $font-size.t4
88
+ lineHeight: $line-height.t4
89
+ fontWeight: $font-weight.medium
90
+ size=medium:
91
+ enabled:
92
+ root:
93
+ minHeight: 48px
94
+ gap: $dimension.x1
95
+ paddingX: $dimension.x4
96
+ paddingY: $dimension.x3
97
+ prefixIcon:
98
+ size: 16px
99
+ label:
100
+ fontSize: $font-size.t5
101
+ lineHeight: $line-height.t5
102
+ fontWeight: $font-weight.bold
@@ -3,26 +3,44 @@ kind: ComponentSpec
3
3
  metadata:
4
4
  id: fab
5
5
  name: Fab
6
+ deprecated: Use contextual-floating-button instead.
6
7
  data:
7
- base:
8
- enabled:
8
+ schema:
9
+ slots:
9
10
  root:
10
- color: $color.bg.layer-floating
11
- borderRadius: $radius.full
11
+ properties:
12
+ color:
13
+ type: color
14
+ cornerRadius:
15
+ type: dimension
16
+ size:
17
+ type: dimension
18
+ shadow:
19
+ type: shadow
12
20
  icon:
13
- color: $color.fg.neutral
14
- pressed:
15
- root:
16
- color: $color.bg.layer-floating-pressed
17
- size=small:
18
- enabled:
19
- root:
20
- size: $unit.x10
21
- icon:
22
- size: $unit.x5
23
- size=medium:
24
- enabled:
25
- root:
26
- size: $unit.x12
27
- icon:
28
- size: $unit.x6
21
+ properties:
22
+ color:
23
+ type: color
24
+ size:
25
+ type: dimension
26
+ definitions:
27
+ base:
28
+ enabled:
29
+ root:
30
+ color: $color.bg.layer-floating
31
+ cornerRadius: $radius.full
32
+ size: 44px
33
+ shadow:
34
+ type: shadow
35
+ value:
36
+ - offsetX: 0px
37
+ offsetY: 2px
38
+ blur: 6px
39
+ spread: 0px
40
+ color: "#00000026"
41
+ icon:
42
+ color: $color.fg.neutral
43
+ size: 22px
44
+ pressed:
45
+ root:
46
+ color: $color.bg.layer-floating-pressed
@@ -0,0 +1,99 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: floating-action-button
5
+ name: Floating Action Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ cornerRadius:
14
+ type: dimension
15
+ shadow:
16
+ type: shadow
17
+ colorDuration:
18
+ type: duration
19
+ colorTimingFunction:
20
+ type: cubicBezier
21
+ layoutDuration:
22
+ type: duration
23
+ layoutTimingFunction:
24
+ type: cubicBezier
25
+ gap:
26
+ type: dimension
27
+ paddingX:
28
+ type: dimension
29
+ paddingY:
30
+ type: dimension
31
+ minHeight:
32
+ type: dimension
33
+ size:
34
+ type: dimension
35
+ icon:
36
+ properties:
37
+ color:
38
+ type: color
39
+ sizeDuration:
40
+ type: duration
41
+ sizeTimingFunction:
42
+ type: cubicBezier
43
+ size:
44
+ type: dimension
45
+ label:
46
+ properties:
47
+ color:
48
+ type: color
49
+ fontSize:
50
+ type: dimension
51
+ lineHeight:
52
+ type: dimension
53
+ fontWeight:
54
+ type: number
55
+ definitions:
56
+ base:
57
+ enabled:
58
+ root:
59
+ color: $color.bg.brand-solid
60
+ cornerRadius: $radius.full
61
+ shadow:
62
+ type: shadow
63
+ value:
64
+ - offsetX: 0px
65
+ offsetY: 2px
66
+ blur: 6px
67
+ spread: 0px
68
+ color: "#00000026"
69
+ colorDuration: $duration.d4
70
+ colorTimingFunction: $timing-function.easing
71
+ layoutDuration: $duration.d4
72
+ layoutTimingFunction: $timing-function.easing
73
+ icon:
74
+ color: $color.palette.static-white
75
+ sizeDuration: $duration.d4
76
+ sizeTimingFunction: $timing-function.easing
77
+ pressed:
78
+ root:
79
+ color: $color.bg.brand-solid-pressed
80
+ extended=true:
81
+ enabled:
82
+ root:
83
+ gap: $dimension.x1
84
+ paddingX: $dimension.x4_5
85
+ paddingY: $dimension.x3
86
+ minHeight: 48px
87
+ icon:
88
+ size: $dimension.x5
89
+ label:
90
+ color: $color.palette.static-white
91
+ fontSize: $font-size.t5
92
+ lineHeight: $line-height.t5
93
+ fontWeight: $font-weight.bold
94
+ extended=false:
95
+ enabled:
96
+ root:
97
+ size: 56px
98
+ icon:
99
+ size: $dimension.x6
@@ -4,39 +4,128 @@ metadata:
4
4
  id: help-bubble
5
5
  name: Help Bubble
6
6
  data:
7
- base:
8
- enabled:
7
+ schema:
8
+ slots:
9
9
  root:
10
- cornerRadius: $radius.x1_5
11
- paddingX: $unit.x3
12
- paddingY: $unit.x2
10
+ properties:
11
+ color:
12
+ type: color
13
+ cornerRadius:
14
+ type: dimension
15
+ paddingX:
16
+ type: dimension
17
+ paddingY:
18
+ type: dimension
19
+ shadow:
20
+ type: shadow
21
+ enterScale:
22
+ type: number
23
+ enterOpacity:
24
+ type: number
25
+ enterDuration:
26
+ type: duration
27
+ enterTimingFunction:
28
+ type: cubicBezier
29
+ exitScale:
30
+ type: number
31
+ exitOpacity:
32
+ type: number
33
+ exitDuration:
34
+ type: duration
35
+ exitTimingFunction:
36
+ type: cubicBezier
13
37
  arrow:
14
- size: $unit.x2_5
38
+ properties:
39
+ color:
40
+ type: color
41
+ width:
42
+ type: dimension
43
+ height:
44
+ type: dimension
45
+ cornerRadius:
46
+ type: dimension
47
+ gutter:
48
+ type: dimension
49
+ description: arrow와 타겟 요소 사이의 거리를 정의합니다.
50
+ padding:
51
+ type: dimension
52
+ description: arrow와 root의 경계 사이의 최소 간격을 정의합니다.
15
53
  title:
16
- fontSize: $font-size.t3
17
- fontWeight: $font-weight.bold
54
+ properties:
55
+ color:
56
+ type: color
57
+ fontSize:
58
+ type: dimension
59
+ fontWeight:
60
+ type: number
61
+ lineHeight:
62
+ type: dimension
18
63
  description:
19
- fontSize: $font-size.t3
20
- fontWeight: $font-weight.regular
21
- variant=non-modal:
22
- enabled:
23
- root:
24
- color: $color.bg.neutral-solid
25
- arrow:
26
- color: $color.bg.neutral-solid
27
- title:
28
- color: $color.fg.neutral-inverted
29
- description:
30
- color: $color.fg.neutral-inverted
31
- variant=modal:
32
- enabled:
33
- root:
34
- color: $color.bg.static-white
35
- arrow:
36
- color: $color.bg.static-white
37
- title:
38
- color: $color.fg.static-black
39
- description:
40
- color: $color.fg.static-black
41
- backdrop:
42
- color: $color.bg.overlay
64
+ properties:
65
+ color:
66
+ type: color
67
+ fontSize:
68
+ type: dimension
69
+ fontWeight:
70
+ type: number
71
+ lineHeight:
72
+ type: dimension
73
+ closeButton:
74
+ properties:
75
+ color:
76
+ type: color
77
+ fromRight:
78
+ type: dimension
79
+ fromTop:
80
+ type: dimension
81
+ size:
82
+ type: dimension
83
+ targetSize:
84
+ type: dimension
85
+ definitions:
86
+ base:
87
+ enabled:
88
+ root:
89
+ color: $color.bg.neutral-solid
90
+ cornerRadius: $radius.r3
91
+ paddingX: $dimension.x3
92
+ paddingY: $dimension.x2_5
93
+ shadow:
94
+ type: shadow
95
+ value:
96
+ - color: "#00000029"
97
+ blur: 24px
98
+ offsetX: 0px
99
+ offsetY: 8px
100
+ spread: 0px
101
+ enterScale: 0.9
102
+ enterOpacity: 0
103
+ enterDuration: $duration.d4
104
+ enterTimingFunction: $timing-function.enter
105
+ exitScale: 1
106
+ exitOpacity: 0
107
+ exitDuration: $duration.d4
108
+ exitTimingFunction: $timing-function.easing
109
+ arrow:
110
+ color: $color.bg.neutral-solid
111
+ width: 12px
112
+ height: 8px
113
+ cornerRadius: 2px
114
+ gutter: 4px
115
+ padding: 14px
116
+ title:
117
+ color: $color.palette.static-white
118
+ fontSize: $font-size.t3
119
+ fontWeight: $font-weight.bold
120
+ lineHeight: $line-height.t3
121
+ description:
122
+ color: $color.palette.static-white
123
+ fontSize: $font-size.t3
124
+ fontWeight: $font-weight.regular
125
+ lineHeight: $line-height.t3
126
+ closeButton:
127
+ color: $color.palette.static-white
128
+ fromRight: 12px
129
+ fromTop: 12px
130
+ size: 14px
131
+ targetSize: 32px
@@ -0,0 +1,23 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: identity-placeholder
5
+ name: Identity Placeholder
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ image:
14
+ properties:
15
+ color:
16
+ type: color
17
+ definitions:
18
+ base:
19
+ enabled:
20
+ root:
21
+ color: $color.palette.gray-400
22
+ image:
23
+ color: "#f7f8fa"