@seed-design/rootage-artifacts 3.5.0 → 3.6.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.
@@ -0,0 +1,152 @@
1
+ declare const artifact: {
2
+ "kind": "Tokens";
3
+ "metadata": {
4
+ "id": "haptic";
5
+ "name": "Haptic";
6
+ };
7
+ "data": {
8
+ "collection": "global";
9
+ "tokens": {
10
+ "$haptic.primitive.soft-weak": {
11
+ "values": {
12
+ "default": {
13
+ "type": "haptic";
14
+ "value": {
15
+ "sharpness": 0.15;
16
+ "intensity": 0.3;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ "$haptic.primitive.soft-medium": {
22
+ "values": {
23
+ "default": {
24
+ "type": "haptic";
25
+ "value": {
26
+ "sharpness": 0.15;
27
+ "intensity": 0.6;
28
+ };
29
+ };
30
+ };
31
+ };
32
+ "$haptic.primitive.soft-strong": {
33
+ "values": {
34
+ "default": {
35
+ "type": "haptic";
36
+ "value": {
37
+ "sharpness": 0.15;
38
+ "intensity": 1;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ "$haptic.primitive.regular-weak": {
44
+ "values": {
45
+ "default": {
46
+ "type": "haptic";
47
+ "value": {
48
+ "sharpness": 0.5;
49
+ "intensity": 0.3;
50
+ };
51
+ };
52
+ };
53
+ };
54
+ "$haptic.primitive.regular-medium": {
55
+ "values": {
56
+ "default": {
57
+ "type": "haptic";
58
+ "value": {
59
+ "sharpness": 0.5;
60
+ "intensity": 0.6;
61
+ };
62
+ };
63
+ };
64
+ };
65
+ "$haptic.primitive.regular-strong": {
66
+ "values": {
67
+ "default": {
68
+ "type": "haptic";
69
+ "value": {
70
+ "sharpness": 0.5;
71
+ "intensity": 1;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ "$haptic.primitive.sharp-weak": {
77
+ "values": {
78
+ "default": {
79
+ "type": "haptic";
80
+ "value": {
81
+ "sharpness": 0.9;
82
+ "intensity": 0.3;
83
+ };
84
+ };
85
+ };
86
+ };
87
+ "$haptic.primitive.sharp-medium": {
88
+ "values": {
89
+ "default": {
90
+ "type": "haptic";
91
+ "value": {
92
+ "sharpness": 0.9;
93
+ "intensity": 0.6;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ "$haptic.primitive.sharp-strong": {
99
+ "values": {
100
+ "default": {
101
+ "type": "haptic";
102
+ "value": {
103
+ "sharpness": 0.9;
104
+ "intensity": 1;
105
+ };
106
+ };
107
+ };
108
+ };
109
+ "$haptic.preset.select": {
110
+ "values": {
111
+ "default": {
112
+ "type": "haptic";
113
+ "value": {
114
+ "system": "select";
115
+ };
116
+ };
117
+ };
118
+ };
119
+ "$haptic.preset.light-feedback": {
120
+ "values": {
121
+ "default": {
122
+ "type": "haptic";
123
+ "value": {
124
+ "system": "lightFeedback";
125
+ };
126
+ };
127
+ };
128
+ };
129
+ "$haptic.preset.success": {
130
+ "values": {
131
+ "default": {
132
+ "type": "haptic";
133
+ "value": {
134
+ "system": "success";
135
+ };
136
+ };
137
+ };
138
+ };
139
+ "$haptic.preset.error": {
140
+ "values": {
141
+ "default": {
142
+ "type": "haptic";
143
+ "value": {
144
+ "system": "error";
145
+ };
146
+ };
147
+ };
148
+ };
149
+ };
150
+ };
151
+ };
152
+ export default artifact;
@@ -0,0 +1,151 @@
1
+ {
2
+ "kind": "Tokens",
3
+ "metadata": {
4
+ "id": "haptic",
5
+ "name": "Haptic"
6
+ },
7
+ "data": {
8
+ "collection": "global",
9
+ "tokens": {
10
+ "$haptic.primitive.soft-weak": {
11
+ "values": {
12
+ "default": {
13
+ "type": "haptic",
14
+ "value": {
15
+ "sharpness": 0.15,
16
+ "intensity": 0.3
17
+ }
18
+ }
19
+ }
20
+ },
21
+ "$haptic.primitive.soft-medium": {
22
+ "values": {
23
+ "default": {
24
+ "type": "haptic",
25
+ "value": {
26
+ "sharpness": 0.15,
27
+ "intensity": 0.6
28
+ }
29
+ }
30
+ }
31
+ },
32
+ "$haptic.primitive.soft-strong": {
33
+ "values": {
34
+ "default": {
35
+ "type": "haptic",
36
+ "value": {
37
+ "sharpness": 0.15,
38
+ "intensity": 1
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "$haptic.primitive.regular-weak": {
44
+ "values": {
45
+ "default": {
46
+ "type": "haptic",
47
+ "value": {
48
+ "sharpness": 0.5,
49
+ "intensity": 0.3
50
+ }
51
+ }
52
+ }
53
+ },
54
+ "$haptic.primitive.regular-medium": {
55
+ "values": {
56
+ "default": {
57
+ "type": "haptic",
58
+ "value": {
59
+ "sharpness": 0.5,
60
+ "intensity": 0.6
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "$haptic.primitive.regular-strong": {
66
+ "values": {
67
+ "default": {
68
+ "type": "haptic",
69
+ "value": {
70
+ "sharpness": 0.5,
71
+ "intensity": 1
72
+ }
73
+ }
74
+ }
75
+ },
76
+ "$haptic.primitive.sharp-weak": {
77
+ "values": {
78
+ "default": {
79
+ "type": "haptic",
80
+ "value": {
81
+ "sharpness": 0.9,
82
+ "intensity": 0.3
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "$haptic.primitive.sharp-medium": {
88
+ "values": {
89
+ "default": {
90
+ "type": "haptic",
91
+ "value": {
92
+ "sharpness": 0.9,
93
+ "intensity": 0.6
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "$haptic.primitive.sharp-strong": {
99
+ "values": {
100
+ "default": {
101
+ "type": "haptic",
102
+ "value": {
103
+ "sharpness": 0.9,
104
+ "intensity": 1
105
+ }
106
+ }
107
+ }
108
+ },
109
+ "$haptic.preset.select": {
110
+ "values": {
111
+ "default": {
112
+ "type": "haptic",
113
+ "value": {
114
+ "system": "select"
115
+ }
116
+ }
117
+ }
118
+ },
119
+ "$haptic.preset.light-feedback": {
120
+ "values": {
121
+ "default": {
122
+ "type": "haptic",
123
+ "value": {
124
+ "system": "lightFeedback"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ "$haptic.preset.success": {
130
+ "values": {
131
+ "default": {
132
+ "type": "haptic",
133
+ "value": {
134
+ "system": "success"
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "$haptic.preset.error": {
140
+ "values": {
141
+ "default": {
142
+ "type": "haptic",
143
+ "value": {
144
+ "system": "error"
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
@@ -0,0 +1,2 @@
1
+ import artifact from "./haptic.json" with { type: "json" };
2
+ export default artifact;
@@ -1,6 +1,6 @@
1
1
  declare const artifact: {
2
2
  "name": "Rootage";
3
- "version": "3.5.0";
3
+ "version": "3.6.0";
4
4
  "resources": readonly [
5
5
  {
6
6
  "path": "/collections.json";
@@ -341,6 +341,9 @@ declare const artifact: {
341
341
  {
342
342
  "path": "/gradient.json";
343
343
  },
344
+ {
345
+ "path": "/haptic.json";
346
+ },
344
347
  {
345
348
  "path": "/line-height.json";
346
349
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Rootage",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "resources": [
5
5
  {
6
6
  "path": "/collections.json"
@@ -341,6 +341,9 @@
341
341
  {
342
342
  "path": "/gradient.json"
343
343
  },
344
+ {
345
+ "path": "/haptic.json"
346
+ },
344
347
  {
345
348
  "path": "/line-height.json"
346
349
  },
package/haptic.yaml ADDED
@@ -0,0 +1,72 @@
1
+ kind: Tokens
2
+ metadata:
3
+ id: haptic
4
+ name: Haptic
5
+ data:
6
+ collection: global
7
+ tokens:
8
+ $haptic.primitive.soft-weak:
9
+ values:
10
+ default:
11
+ type: haptic
12
+ value: { sharpness: 0.15, intensity: 0.30 }
13
+ $haptic.primitive.soft-medium:
14
+ values:
15
+ default:
16
+ type: haptic
17
+ value: { sharpness: 0.15, intensity: 0.60 }
18
+ $haptic.primitive.soft-strong:
19
+ values:
20
+ default:
21
+ type: haptic
22
+ value: { sharpness: 0.15, intensity: 1.00 }
23
+ $haptic.primitive.regular-weak:
24
+ values:
25
+ default:
26
+ type: haptic
27
+ value: { sharpness: 0.50, intensity: 0.30 }
28
+ $haptic.primitive.regular-medium:
29
+ values:
30
+ default:
31
+ type: haptic
32
+ value: { sharpness: 0.50, intensity: 0.60 }
33
+ $haptic.primitive.regular-strong:
34
+ values:
35
+ default:
36
+ type: haptic
37
+ value: { sharpness: 0.50, intensity: 1.00 }
38
+ $haptic.primitive.sharp-weak:
39
+ values:
40
+ default:
41
+ type: haptic
42
+ value: { sharpness: 0.90, intensity: 0.30 }
43
+ $haptic.primitive.sharp-medium:
44
+ values:
45
+ default:
46
+ type: haptic
47
+ value: { sharpness: 0.90, intensity: 0.60 }
48
+ $haptic.primitive.sharp-strong:
49
+ values:
50
+ default:
51
+ type: haptic
52
+ value: { sharpness: 0.90, intensity: 1.00 }
53
+ $haptic.preset.select:
54
+ values:
55
+ default:
56
+ type: haptic
57
+ value: { system: select }
58
+ $haptic.preset.light-feedback:
59
+ values:
60
+ default:
61
+ type: haptic
62
+ value: { system: lightFeedback }
63
+ $haptic.preset.success:
64
+ values:
65
+ default:
66
+ type: haptic
67
+ value: { system: success }
68
+ $haptic.preset.error:
69
+ values:
70
+ default:
71
+ type: haptic
72
+ value: { system: error }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",