@toski-labs/ds 0.4.2 → 0.5.1

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 (42) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/build/css/themes/koti.css +35 -0
  3. package/build/css/themes/pethealth.css +32 -0
  4. package/build/json/app-tokens.koti.json +458 -0
  5. package/build/json/app-tokens.pethealth.json +484 -0
  6. package/build/json/web.koti.json +328 -0
  7. package/build/json/web.pethealth.json +354 -0
  8. package/build/swift/ToskiThemeKoti.swift +93 -0
  9. package/build/swift/ToskiThemePetHealth.swift +90 -0
  10. package/dist/components/ProductArt.d.ts +40 -0
  11. package/dist/generated/products.d.ts +23 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +159 -77
  14. package/dist/index.js.map +1 -1
  15. package/package.json +10 -1
  16. package/products/koti/icon/koti-icon-dark-1024.png +0 -0
  17. package/products/koti/icon/koti-icon-dark.svg +7 -0
  18. package/products/koti/icon/koti-icon-light-1024.png +0 -0
  19. package/products/koti/icon/koti-icon-light.svg +7 -0
  20. package/products/koti/icon/koti-icon-tinted-1024.png +0 -0
  21. package/products/koti/icon/koti-icon-tinted.svg +7 -0
  22. package/products/koti/logo/koti-logo-paper.svg +5 -0
  23. package/products/koti/logo/koti-logo-plum.svg +5 -0
  24. package/products/pethealth/icon/pethealth-icon-dark-1024.png +0 -0
  25. package/products/pethealth/icon/pethealth-icon-dark.svg +1 -0
  26. package/products/pethealth/icon/pethealth-icon-light-1024.png +0 -0
  27. package/products/pethealth/icon/pethealth-icon-light.svg +1 -0
  28. package/products/pethealth/icon/pethealth-icon-tinted-1024.png +0 -0
  29. package/products/pethealth/icon/pethealth-icon-tinted.svg +1 -0
  30. package/products/pethealth/icon-layers/1-background.svg +1 -0
  31. package/products/pethealth/icon-layers/2-dog.svg +1 -0
  32. package/products/pethealth/icon-layers/3-cat.svg +1 -0
  33. package/products/pethealth/icon-layers/4-heart.svg +1 -0
  34. package/products/pethealth/mascots/ball-indigo-dark.svg +1 -0
  35. package/products/pethealth/mascots/ball-indigo-light.svg +1 -0
  36. package/products/pethealth/mascots/pair-base-dark.svg +1 -0
  37. package/products/pethealth/mascots/pair-base-light.svg +1 -0
  38. package/products/pethealth/mascots/pair-dark.svg +1 -0
  39. package/products/pethealth/mascots/pair-error-dark.svg +1 -0
  40. package/products/pethealth/mascots/pair-error-light.svg +1 -0
  41. package/products/pethealth/mascots/pair-light.svg +1 -0
  42. package/styles/tailwind.css +19 -0
@@ -0,0 +1,328 @@
1
+ {
2
+ "$description": "Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. Plataforma: web, tema Koti.",
3
+ "brand": {
4
+ "caramelo": "#DB9A5B",
5
+ "ferrugem": "#A9541F",
6
+ "creme": "#F4E4CC",
7
+ "papel": "#F7F1E8",
8
+ "carvao": "#231B17"
9
+ },
10
+ "light": {
11
+ "background": "#F7F1E8",
12
+ "surface": "#FFFFFF",
13
+ "tint": "#F0E1EC",
14
+ "hero": "#E8D2E1",
15
+ "ink": "#231B17",
16
+ "muted": "#6B5648",
17
+ "line": "#E6D8C4",
18
+ "accent": "#7A3F6E",
19
+ "accent-hover": "#5E2F55",
20
+ "on-accent": "#FFF8EE",
21
+ "critical": "#A3341A",
22
+ "critical-bg": "#F8E0D4",
23
+ "critical-line": "#EBC0AA",
24
+ "success": "#3F6E3B",
25
+ "success-bg": "#E4EEDC",
26
+ "segment": "#FFFFFF",
27
+ "tabbar": "#FFFDF9",
28
+ "tab-idle": "#7D6858",
29
+ "mascot-outline": "transparent",
30
+ "mascot-nose": "#231B17",
31
+ "accent-text": "#7A3F6E",
32
+ "link": "#5E2F55",
33
+ "ball-outline": "#EFDCC2",
34
+ "phone-ring": "transparent",
35
+ "footer": "#231B17",
36
+ "footer-ink": "#F7F1E8",
37
+ "footer-muted": "#C2AE98",
38
+ "footer-line": "#43352B"
39
+ },
40
+ "dark": {
41
+ "background": "#231B17",
42
+ "surface": "#2E241D",
43
+ "tint": "#3A2436",
44
+ "hero": "#46293F",
45
+ "ink": "#F7F1E8",
46
+ "muted": "#C2AE98",
47
+ "line": "#43352B",
48
+ "accent": "#D9A6CC",
49
+ "accent-hover": "#E8C2DD",
50
+ "on-accent": "#231B17",
51
+ "critical": "#F09A78",
52
+ "critical-bg": "#45261A",
53
+ "critical-line": "#6A3A26",
54
+ "success": "#9CC48F",
55
+ "success-bg": "#2C3A27",
56
+ "segment": "#4A3A2E",
57
+ "tabbar": "#1B1511",
58
+ "tab-idle": "#A08B78",
59
+ "mascot-outline": "#F4E4CC",
60
+ "mascot-nose": "#100C0A",
61
+ "accent-text": "#D9A6CC",
62
+ "link": "#E8C2DD",
63
+ "ball-outline": "#F4E4CC",
64
+ "phone-ring": "#43352B",
65
+ "footer": "#1B1511",
66
+ "footer-ink": "#F7F1E8",
67
+ "footer-muted": "#C2AE98",
68
+ "footer-line": "#43352B"
69
+ },
70
+ "font": {
71
+ "family": "Outfit",
72
+ "stack": [
73
+ "Outfit Variable",
74
+ "Outfit",
75
+ "system-ui",
76
+ "sans-serif"
77
+ ],
78
+ "weights": {
79
+ "regular": 400,
80
+ "medium": 500,
81
+ "semibold": 600,
82
+ "bold": 700
83
+ }
84
+ },
85
+ "radius": {
86
+ "icon": 12,
87
+ "button": 14,
88
+ "card": 18,
89
+ "panel": 28,
90
+ "focus": 6
91
+ },
92
+ "layout": {
93
+ "container": 1168,
94
+ "gutter": 24
95
+ },
96
+ "motion": {
97
+ "curve": {
98
+ "easeInOut": [
99
+ 0.42,
100
+ 0,
101
+ 0.58,
102
+ 1
103
+ ],
104
+ "easeOut": [
105
+ 0,
106
+ 0,
107
+ 0.58,
108
+ 1
109
+ ]
110
+ },
111
+ "ball": {
112
+ "keyframes": [
113
+ 0,
114
+ 0.45,
115
+ 0.6,
116
+ 1
117
+ ],
118
+ "viewBoxWidth": 222,
119
+ "slow": {
120
+ "duration": 1.8,
121
+ "rise": 14
122
+ },
123
+ "fast": {
124
+ "duration": 1.2,
125
+ "rise": 16
126
+ }
127
+ },
128
+ "dots": {
129
+ "duration": 1.2,
130
+ "delays": [
131
+ 0,
132
+ 0.2,
133
+ 0.4
134
+ ],
135
+ "keyframes": [
136
+ 0,
137
+ 0.4,
138
+ 0.8,
139
+ 1
140
+ ],
141
+ "low": 0.25,
142
+ "high": 1
143
+ },
144
+ "spinner": {
145
+ "duration": 0.9
146
+ },
147
+ "panel": {
148
+ "duration": 0.3,
149
+ "reducedDuration": 0.2,
150
+ "dragReturnDuration": 0.2
151
+ },
152
+ "toast": {
153
+ "enterDuration": 0.25,
154
+ "curve": "easeOut",
155
+ "slide": 16,
156
+ "reducedDuration": 0.2,
157
+ "visible": {
158
+ "withoutAction": 4,
159
+ "withAction": 6,
160
+ "voiceOver": 10
161
+ }
162
+ },
163
+ "interaction": {
164
+ "pressedOpacity": 0.7,
165
+ "disabledOpacity": 0.5
166
+ }
167
+ },
168
+ "icons": [
169
+ "help",
170
+ "settings",
171
+ "alert",
172
+ "archive",
173
+ "download",
174
+ "bath",
175
+ "bug",
176
+ "search",
177
+ "dog",
178
+ "lock",
179
+ "calendar-export",
180
+ "calendar-dot",
181
+ "calendar",
182
+ "camera",
183
+ "phone",
184
+ "check",
185
+ "chevron-down",
186
+ "chevron-right",
187
+ "chevron-left",
188
+ "microchip",
189
+ "share",
190
+ "contact",
191
+ "copy",
192
+ "heart",
193
+ "document-lines",
194
+ "document-off",
195
+ "document",
196
+ "edit",
197
+ "star",
198
+ "close",
199
+ "filter",
200
+ "cat",
201
+ "globe",
202
+ "info",
203
+ "home",
204
+ "bell-off",
205
+ "bell",
206
+ "external-link",
207
+ "location",
208
+ "more",
209
+ "plus",
210
+ "message",
211
+ "snow",
212
+ "weight",
213
+ "people",
214
+ "paw",
215
+ "plan",
216
+ "next",
217
+ "food",
218
+ "receipt",
219
+ "clock",
220
+ "medicine",
221
+ "repeat",
222
+ "spinner",
223
+ "theme",
224
+ "grooming",
225
+ "vaccine",
226
+ "vet",
227
+ "arrow-down",
228
+ "arrow-up",
229
+ "arrow-right",
230
+ "flask",
231
+ "list",
232
+ "mail"
233
+ ],
234
+ "product": {
235
+ "id": "koti",
236
+ "name": "Koti",
237
+ "scheme": "ameixa",
238
+ "brand": {
239
+ "ameixa": "#7A3F6E",
240
+ "ameixa-claro": "#D9A6CC"
241
+ },
242
+ "members": {
243
+ "ameixa-claro": {
244
+ "name": "Ameixa claro",
245
+ "avatar": "#D9A6CC",
246
+ "mark": {
247
+ "light": "#B6549D",
248
+ "dark": "#D9A6CC"
249
+ }
250
+ },
251
+ "caramelo": {
252
+ "name": "Caramelo",
253
+ "avatar": "#DB9A5B",
254
+ "mark": {
255
+ "light": "#AD6826",
256
+ "dark": "#DB9A5B"
257
+ }
258
+ },
259
+ "salvia": {
260
+ "name": "Sálvia",
261
+ "avatar": "#8FA876",
262
+ "mark": {
263
+ "light": "#698051",
264
+ "dark": "#8FA876"
265
+ }
266
+ },
267
+ "azulejo": {
268
+ "name": "Azulejo",
269
+ "avatar": "#7CC6C4",
270
+ "mark": {
271
+ "light": "#398482",
272
+ "dark": "#7CC6C4"
273
+ }
274
+ },
275
+ "coral": {
276
+ "name": "Coral",
277
+ "avatar": "#E08A7A",
278
+ "mark": {
279
+ "light": "#C2526A",
280
+ "dark": "#E08A7A"
281
+ }
282
+ }
283
+ },
284
+ "assets": [
285
+ {
286
+ "name": "koti-icon-light",
287
+ "file": "products/koti/icon/koti-icon-light.svg",
288
+ "kind": "icon"
289
+ },
290
+ {
291
+ "name": "koti-icon-light-1024",
292
+ "file": "products/koti/icon/koti-icon-light-1024.png",
293
+ "kind": "icon-png"
294
+ },
295
+ {
296
+ "name": "koti-icon-dark",
297
+ "file": "products/koti/icon/koti-icon-dark.svg",
298
+ "kind": "icon"
299
+ },
300
+ {
301
+ "name": "koti-icon-dark-1024",
302
+ "file": "products/koti/icon/koti-icon-dark-1024.png",
303
+ "kind": "icon-png"
304
+ },
305
+ {
306
+ "name": "koti-icon-tinted",
307
+ "file": "products/koti/icon/koti-icon-tinted.svg",
308
+ "kind": "icon"
309
+ },
310
+ {
311
+ "name": "koti-icon-tinted-1024",
312
+ "file": "products/koti/icon/koti-icon-tinted-1024.png",
313
+ "kind": "icon-png"
314
+ },
315
+ {
316
+ "name": "koti-logo-plum",
317
+ "file": "products/koti/logo/koti-logo-plum.svg",
318
+ "kind": "logo"
319
+ },
320
+ {
321
+ "name": "koti-logo-paper",
322
+ "file": "products/koti/logo/koti-logo-paper.svg",
323
+ "kind": "logo"
324
+ }
325
+ ],
326
+ "pending": []
327
+ }
328
+ }
@@ -0,0 +1,354 @@
1
+ {
2
+ "$description": "Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão. Plataforma: web, tema PetHealthTracker.",
3
+ "brand": {
4
+ "caramelo": "#DB9A5B",
5
+ "ferrugem": "#A9541F",
6
+ "creme": "#F4E4CC",
7
+ "papel": "#F7F1E8",
8
+ "carvao": "#231B17"
9
+ },
10
+ "light": {
11
+ "background": "#F7F1E8",
12
+ "surface": "#FFFFFF",
13
+ "tint": "#F3E4CF",
14
+ "hero": "#E3E6F5",
15
+ "ink": "#231B17",
16
+ "muted": "#6B5648",
17
+ "line": "#E6D8C4",
18
+ "accent": "#3E4C8A",
19
+ "accent-hover": "#2C376A",
20
+ "on-accent": "#FFF8EE",
21
+ "critical": "#A3341A",
22
+ "critical-bg": "#F8E0D4",
23
+ "critical-line": "#EBC0AA",
24
+ "success": "#3F6E3B",
25
+ "success-bg": "#E4EEDC",
26
+ "segment": "#FFFFFF",
27
+ "tabbar": "#FFFDF9",
28
+ "tab-idle": "#7D6858",
29
+ "mascot-outline": "transparent",
30
+ "mascot-nose": "#231B17",
31
+ "accent-text": "#3E4C8A",
32
+ "link": "#2C376A",
33
+ "ball-outline": "#EFDCC2",
34
+ "phone-ring": "transparent",
35
+ "footer": "#231B17",
36
+ "footer-ink": "#F7F1E8",
37
+ "footer-muted": "#C2AE98",
38
+ "footer-line": "#43352B"
39
+ },
40
+ "dark": {
41
+ "background": "#231B17",
42
+ "surface": "#2E241D",
43
+ "tint": "#3A2D23",
44
+ "hero": "#2A2E45",
45
+ "ink": "#F7F1E8",
46
+ "muted": "#C2AE98",
47
+ "line": "#43352B",
48
+ "accent": "#A9B4E8",
49
+ "accent-hover": "#C9D0F2",
50
+ "on-accent": "#231B17",
51
+ "critical": "#F09A78",
52
+ "critical-bg": "#45261A",
53
+ "critical-line": "#6A3A26",
54
+ "success": "#9CC48F",
55
+ "success-bg": "#2C3A27",
56
+ "segment": "#4A3A2E",
57
+ "tabbar": "#1B1511",
58
+ "tab-idle": "#A08B78",
59
+ "mascot-outline": "#F4E4CC",
60
+ "mascot-nose": "#100C0A",
61
+ "accent-text": "#A9B4E8",
62
+ "link": "#C9D0F2",
63
+ "ball-outline": "#F4E4CC",
64
+ "phone-ring": "#43352B",
65
+ "footer": "#1B1511",
66
+ "footer-ink": "#F7F1E8",
67
+ "footer-muted": "#C2AE98",
68
+ "footer-line": "#43352B"
69
+ },
70
+ "font": {
71
+ "family": "Outfit",
72
+ "stack": [
73
+ "Outfit Variable",
74
+ "Outfit",
75
+ "system-ui",
76
+ "sans-serif"
77
+ ],
78
+ "weights": {
79
+ "regular": 400,
80
+ "medium": 500,
81
+ "semibold": 600,
82
+ "bold": 700
83
+ }
84
+ },
85
+ "radius": {
86
+ "icon": 12,
87
+ "button": 14,
88
+ "card": 18,
89
+ "panel": 28,
90
+ "focus": 6
91
+ },
92
+ "layout": {
93
+ "container": 1168,
94
+ "gutter": 24
95
+ },
96
+ "motion": {
97
+ "curve": {
98
+ "easeInOut": [
99
+ 0.42,
100
+ 0,
101
+ 0.58,
102
+ 1
103
+ ],
104
+ "easeOut": [
105
+ 0,
106
+ 0,
107
+ 0.58,
108
+ 1
109
+ ]
110
+ },
111
+ "ball": {
112
+ "keyframes": [
113
+ 0,
114
+ 0.45,
115
+ 0.6,
116
+ 1
117
+ ],
118
+ "viewBoxWidth": 222,
119
+ "slow": {
120
+ "duration": 1.8,
121
+ "rise": 14
122
+ },
123
+ "fast": {
124
+ "duration": 1.2,
125
+ "rise": 16
126
+ }
127
+ },
128
+ "dots": {
129
+ "duration": 1.2,
130
+ "delays": [
131
+ 0,
132
+ 0.2,
133
+ 0.4
134
+ ],
135
+ "keyframes": [
136
+ 0,
137
+ 0.4,
138
+ 0.8,
139
+ 1
140
+ ],
141
+ "low": 0.25,
142
+ "high": 1
143
+ },
144
+ "spinner": {
145
+ "duration": 0.9
146
+ },
147
+ "panel": {
148
+ "duration": 0.3,
149
+ "reducedDuration": 0.2,
150
+ "dragReturnDuration": 0.2
151
+ },
152
+ "toast": {
153
+ "enterDuration": 0.25,
154
+ "curve": "easeOut",
155
+ "slide": 16,
156
+ "reducedDuration": 0.2,
157
+ "visible": {
158
+ "withoutAction": 4,
159
+ "withAction": 6,
160
+ "voiceOver": 10
161
+ }
162
+ },
163
+ "interaction": {
164
+ "pressedOpacity": 0.7,
165
+ "disabledOpacity": 0.5
166
+ }
167
+ },
168
+ "icons": [
169
+ "help",
170
+ "settings",
171
+ "alert",
172
+ "archive",
173
+ "download",
174
+ "bath",
175
+ "bug",
176
+ "search",
177
+ "dog",
178
+ "lock",
179
+ "calendar-export",
180
+ "calendar-dot",
181
+ "calendar",
182
+ "camera",
183
+ "phone",
184
+ "check",
185
+ "chevron-down",
186
+ "chevron-right",
187
+ "chevron-left",
188
+ "microchip",
189
+ "share",
190
+ "contact",
191
+ "copy",
192
+ "heart",
193
+ "document-lines",
194
+ "document-off",
195
+ "document",
196
+ "edit",
197
+ "star",
198
+ "close",
199
+ "filter",
200
+ "cat",
201
+ "globe",
202
+ "info",
203
+ "home",
204
+ "bell-off",
205
+ "bell",
206
+ "external-link",
207
+ "location",
208
+ "more",
209
+ "plus",
210
+ "message",
211
+ "snow",
212
+ "weight",
213
+ "people",
214
+ "paw",
215
+ "plan",
216
+ "next",
217
+ "food",
218
+ "receipt",
219
+ "clock",
220
+ "medicine",
221
+ "repeat",
222
+ "spinner",
223
+ "theme",
224
+ "grooming",
225
+ "vaccine",
226
+ "vet",
227
+ "arrow-down",
228
+ "arrow-up",
229
+ "arrow-right",
230
+ "flask",
231
+ "list",
232
+ "mail"
233
+ ],
234
+ "product": {
235
+ "id": "pethealth",
236
+ "name": "PetHealthTracker",
237
+ "scheme": "indigo",
238
+ "brand": {
239
+ "indigo": "#3E4C8A",
240
+ "lilas": "#A9B4E8",
241
+ "lilas-claro": "#E3E6F5",
242
+ "circulo-icone": "#5C69A4"
243
+ },
244
+ "mascots": {
245
+ "dog": "#B88250",
246
+ "dogEar": "#6E4529",
247
+ "cat": "#7C8199",
248
+ "catEarInner": "#E8B4B0",
249
+ "catNose": "#D98C8C",
250
+ "outline": {
251
+ "light": "#231B17",
252
+ "dark": "#F4E4CC"
253
+ },
254
+ "eye": {
255
+ "light": "#231B17",
256
+ "dark": "#100C0A"
257
+ },
258
+ "description": "Contorno na cor oposta ao fundo; olhos e focinho escuros."
259
+ },
260
+ "assets": [
261
+ {
262
+ "name": "pethealth-icon-light",
263
+ "file": "products/pethealth/icon/pethealth-icon-light.svg",
264
+ "kind": "icon"
265
+ },
266
+ {
267
+ "name": "pethealth-icon-light-1024",
268
+ "file": "products/pethealth/icon/pethealth-icon-light-1024.png",
269
+ "kind": "icon-png"
270
+ },
271
+ {
272
+ "name": "pethealth-icon-dark",
273
+ "file": "products/pethealth/icon/pethealth-icon-dark.svg",
274
+ "kind": "icon"
275
+ },
276
+ {
277
+ "name": "pethealth-icon-dark-1024",
278
+ "file": "products/pethealth/icon/pethealth-icon-dark-1024.png",
279
+ "kind": "icon-png"
280
+ },
281
+ {
282
+ "name": "pethealth-icon-tinted",
283
+ "file": "products/pethealth/icon/pethealth-icon-tinted.svg",
284
+ "kind": "icon"
285
+ },
286
+ {
287
+ "name": "pethealth-icon-tinted-1024",
288
+ "file": "products/pethealth/icon/pethealth-icon-tinted-1024.png",
289
+ "kind": "icon-png"
290
+ },
291
+ {
292
+ "name": "icon-layer-1-background",
293
+ "file": "products/pethealth/icon-layers/1-background.svg",
294
+ "kind": "icon-layer"
295
+ },
296
+ {
297
+ "name": "icon-layer-2-dog",
298
+ "file": "products/pethealth/icon-layers/2-dog.svg",
299
+ "kind": "icon-layer"
300
+ },
301
+ {
302
+ "name": "icon-layer-3-cat",
303
+ "file": "products/pethealth/icon-layers/3-cat.svg",
304
+ "kind": "icon-layer"
305
+ },
306
+ {
307
+ "name": "icon-layer-4-heart",
308
+ "file": "products/pethealth/icon-layers/4-heart.svg",
309
+ "kind": "icon-layer"
310
+ },
311
+ {
312
+ "name": "pair-light",
313
+ "file": "products/pethealth/mascots/pair-light.svg",
314
+ "kind": "mascot"
315
+ },
316
+ {
317
+ "name": "pair-dark",
318
+ "file": "products/pethealth/mascots/pair-dark.svg",
319
+ "kind": "mascot"
320
+ },
321
+ {
322
+ "name": "pair-base-light",
323
+ "file": "products/pethealth/mascots/pair-base-light.svg",
324
+ "kind": "mascot"
325
+ },
326
+ {
327
+ "name": "pair-base-dark",
328
+ "file": "products/pethealth/mascots/pair-base-dark.svg",
329
+ "kind": "mascot"
330
+ },
331
+ {
332
+ "name": "pair-error-light",
333
+ "file": "products/pethealth/mascots/pair-error-light.svg",
334
+ "kind": "mascot"
335
+ },
336
+ {
337
+ "name": "pair-error-dark",
338
+ "file": "products/pethealth/mascots/pair-error-dark.svg",
339
+ "kind": "mascot"
340
+ },
341
+ {
342
+ "name": "ball-indigo-light",
343
+ "file": "products/pethealth/mascots/ball-indigo-light.svg",
344
+ "kind": "mascot"
345
+ },
346
+ {
347
+ "name": "ball-indigo-dark",
348
+ "file": "products/pethealth/mascots/ball-indigo-dark.svg",
349
+ "kind": "mascot"
350
+ }
351
+ ],
352
+ "pending": []
353
+ }
354
+ }