@toski-labs/ds 0.3.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 (107) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/LICENSE +21 -0
  3. package/README.en.md +92 -0
  4. package/README.md +105 -0
  5. package/assets/bolinha-claro.svg +5 -0
  6. package/assets/bolinha-escuro.svg +5 -0
  7. package/assets/icone-caramelo-colorido.svg +12 -0
  8. package/assets/icone-caramelo-escuro.svg +12 -0
  9. package/assets/icone-caramelo.svg +12 -0
  10. package/assets/icone-focinho.svg +12 -0
  11. package/assets/icone-papel.svg +12 -0
  12. package/assets/pacoca-bolinha-chao-claro.svg +13 -0
  13. package/assets/pacoca-bolinha-chao-escuro.svg +13 -0
  14. package/assets/pacoca-bolinha-claro.svg +13 -0
  15. package/assets/pacoca-bolinha-escuro.svg +13 -0
  16. package/assets/pacoca-sem-bolinha-claro.svg +7 -0
  17. package/assets/pacoca-sem-bolinha-escuro.svg +7 -0
  18. package/build/css/theme.css +56 -0
  19. package/build/css/tokens.css +139 -0
  20. package/build/json/app-tokens.json +364 -0
  21. package/build/json/mobile.json +500 -0
  22. package/build/json/web.json +233 -0
  23. package/build/swift/ToskiColors.swift +272 -0
  24. package/build/swift/ToskiTokens.swift +192 -0
  25. package/dist/components/AppIcon.d.ts +11 -0
  26. package/dist/components/Button.d.ts +24 -0
  27. package/dist/components/Card.d.ts +10 -0
  28. package/dist/components/CheckList.d.ts +10 -0
  29. package/dist/components/Icon.d.ts +19 -0
  30. package/dist/components/IconBox.d.ts +14 -0
  31. package/dist/components/Kicker.d.ts +7 -0
  32. package/dist/components/Mascot.d.ts +21 -0
  33. package/dist/components/Pill.d.ts +11 -0
  34. package/dist/components/SectionHeading.d.ts +12 -0
  35. package/dist/generated/icons.d.ts +652 -0
  36. package/dist/generated/tokens.d.ts +140 -0
  37. package/dist/index.d.ts +11 -0
  38. package/dist/index.js +1019 -0
  39. package/dist/index.js.map +1 -0
  40. package/dist/utils/cx.d.ts +2 -0
  41. package/icons/icons.json +253 -0
  42. package/icons/svg/ajuda.svg +3 -0
  43. package/icons/svg/ajustes.svg +3 -0
  44. package/icons/svg/alerta.svg +3 -0
  45. package/icons/svg/arquivo.svg +3 -0
  46. package/icons/svg/arrow-down.svg +3 -0
  47. package/icons/svg/arrow-right.svg +3 -0
  48. package/icons/svg/arrow-up.svg +3 -0
  49. package/icons/svg/baixar.svg +3 -0
  50. package/icons/svg/banho.svg +3 -0
  51. package/icons/svg/bug.svg +3 -0
  52. package/icons/svg/busca.svg +3 -0
  53. package/icons/svg/cachorro.svg +3 -0
  54. package/icons/svg/cadeado.svg +3 -0
  55. package/icons/svg/calendario-exportar.svg +3 -0
  56. package/icons/svg/calendario-ponto.svg +3 -0
  57. package/icons/svg/calendario.svg +3 -0
  58. package/icons/svg/camera.svg +3 -0
  59. package/icons/svg/celular.svg +3 -0
  60. package/icons/svg/check.svg +3 -0
  61. package/icons/svg/chevron-baixo.svg +3 -0
  62. package/icons/svg/chevron-direita.svg +3 -0
  63. package/icons/svg/chevron-esquerda.svg +3 -0
  64. package/icons/svg/chip.svg +3 -0
  65. package/icons/svg/compartilhar.svg +3 -0
  66. package/icons/svg/contato.svg +3 -0
  67. package/icons/svg/copiar.svg +3 -0
  68. package/icons/svg/coracao.svg +3 -0
  69. package/icons/svg/documento-linhas.svg +3 -0
  70. package/icons/svg/documento-riscado.svg +3 -0
  71. package/icons/svg/documento.svg +3 -0
  72. package/icons/svg/editar.svg +3 -0
  73. package/icons/svg/estrela.svg +3 -0
  74. package/icons/svg/fechar.svg +3 -0
  75. package/icons/svg/filtro.svg +3 -0
  76. package/icons/svg/flask.svg +3 -0
  77. package/icons/svg/gato.svg +3 -0
  78. package/icons/svg/globo.svg +3 -0
  79. package/icons/svg/info.svg +3 -0
  80. package/icons/svg/inicio.svg +3 -0
  81. package/icons/svg/lembrete-desligado.svg +3 -0
  82. package/icons/svg/lembrete.svg +3 -0
  83. package/icons/svg/link-externo.svg +3 -0
  84. package/icons/svg/list.svg +3 -0
  85. package/icons/svg/local.svg +3 -0
  86. package/icons/svg/mail.svg +3 -0
  87. package/icons/svg/mais-opcoes.svg +5 -0
  88. package/icons/svg/mais.svg +3 -0
  89. package/icons/svg/mensagem.svg +3 -0
  90. package/icons/svg/neve.svg +3 -0
  91. package/icons/svg/peso.svg +3 -0
  92. package/icons/svg/pessoas.svg +3 -0
  93. package/icons/svg/pets.svg +3 -0
  94. package/icons/svg/plano.svg +3 -0
  95. package/icons/svg/proximo.svg +3 -0
  96. package/icons/svg/racao.svg +3 -0
  97. package/icons/svg/recibo.svg +3 -0
  98. package/icons/svg/relogio.svg +3 -0
  99. package/icons/svg/remedio.svg +3 -0
  100. package/icons/svg/repetir.svg +3 -0
  101. package/icons/svg/spinner.svg +3 -0
  102. package/icons/svg/tema.svg +3 -0
  103. package/icons/svg/tosa.svg +3 -0
  104. package/icons/svg/vacina.svg +3 -0
  105. package/icons/svg/vet.svg +3 -0
  106. package/package.json +104 -0
  107. package/styles/tailwind.css +72 -0
package/dist/index.js ADDED
@@ -0,0 +1,1019 @@
1
+ import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
2
+ //#region src/utils/cx.ts
3
+ function r(...e) {
4
+ return e.filter(Boolean).join(" ");
5
+ }
6
+ //#endregion
7
+ //#region src/generated/icons.ts
8
+ var i = {
9
+ help: {
10
+ mobile: "ajuda",
11
+ size: 16,
12
+ stroke: 2,
13
+ filled: !1,
14
+ linejoin: "round",
15
+ shapes: [{ d: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6 M12 17h.01" }]
16
+ },
17
+ settings: {
18
+ mobile: "ajustes",
19
+ size: 24,
20
+ stroke: 2,
21
+ filled: !1,
22
+ linejoin: "round",
23
+ shapes: [{ d: "M4 7h9 M17 7h3 M4 17h3 M11 17h9 M15 5v4 M9 15v4" }]
24
+ },
25
+ alert: {
26
+ mobile: "alerta",
27
+ size: 14,
28
+ stroke: 2.2,
29
+ filled: !1,
30
+ linejoin: "round",
31
+ shapes: [{ d: "M12 8v5 M12 16.5v.5 M10.3 3.9L2 18a2 2 0 0 0 1.7 3h16.6a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z" }]
32
+ },
33
+ archive: {
34
+ mobile: "arquivo",
35
+ size: 16,
36
+ stroke: 2,
37
+ filled: !1,
38
+ linejoin: "round",
39
+ shapes: [{ d: "M4 5h16v4H4z M5 9v10h14V9 M10 13h4" }]
40
+ },
41
+ download: {
42
+ mobile: "baixar",
43
+ size: 18,
44
+ stroke: 2.2,
45
+ filled: !1,
46
+ linejoin: "round",
47
+ shapes: [{ d: "M12 3v12 M8 11l4 4 4-4 M5 20h14" }]
48
+ },
49
+ bath: {
50
+ mobile: "banho",
51
+ size: 20,
52
+ stroke: 1.9,
53
+ filled: !1,
54
+ linejoin: "round",
55
+ shapes: [{ d: "M12 3c3 4 6 7.5 6 11a6 6 0 0 1-12 0c0-3.5 3-7 6-11z" }]
56
+ },
57
+ bug: {
58
+ mobile: "bug",
59
+ size: 22,
60
+ stroke: 2,
61
+ filled: !1,
62
+ linejoin: "round",
63
+ shapes: [{ d: "M8 8V6a4 4 0 0 1 8 0v2 M6 8h12v5a6 6 0 0 1-12 0z M12 13v3 M3 12h3 M18 12h3" }]
64
+ },
65
+ search: {
66
+ mobile: "busca",
67
+ size: 18,
68
+ stroke: 2.2,
69
+ filled: !1,
70
+ linejoin: null,
71
+ shapes: [{ d: "M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14z M20 20l-4-4" }]
72
+ },
73
+ dog: {
74
+ mobile: "cachorro",
75
+ size: 30,
76
+ stroke: 1.7,
77
+ filled: !1,
78
+ linejoin: "round",
79
+ shapes: [{ d: "M5 8l-2 4 3 1v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-5l3-1-2-4-4-2H9z M10 12h.01 M14 12h.01 M11 15.5h2" }]
80
+ },
81
+ lock: {
82
+ mobile: "cadeado",
83
+ size: 16,
84
+ stroke: 2,
85
+ filled: !1,
86
+ linejoin: "round",
87
+ shapes: [{ d: "M6 11h12v9H6z M8.5 11V8a3.5 3.5 0 0 1 7 0v3" }]
88
+ },
89
+ "calendar-export": {
90
+ mobile: "calendario-exportar",
91
+ size: 20,
92
+ stroke: 2,
93
+ filled: !1,
94
+ linejoin: "round",
95
+ shapes: [{ d: "M20 12v8H4V6h8 M4 10h8 M8 3v4 M15 3h6v6 M21 3l-8 8" }]
96
+ },
97
+ "calendar-dot": {
98
+ mobile: "calendario-ponto",
99
+ size: 20,
100
+ stroke: 2,
101
+ filled: !1,
102
+ linejoin: "round",
103
+ shapes: [{ d: "M4 6h16v14H4z M4 10h16 M8 3v4 M16 3v4 M10 15h4" }]
104
+ },
105
+ calendar: {
106
+ mobile: "calendario",
107
+ size: 24,
108
+ stroke: 2,
109
+ filled: !1,
110
+ linejoin: "round",
111
+ shapes: [{ d: "M4 6h16v14H4z M4 10h16 M8 3v4 M16 3v4" }]
112
+ },
113
+ camera: {
114
+ mobile: "camera",
115
+ size: 16,
116
+ stroke: 2,
117
+ filled: !1,
118
+ linejoin: "round",
119
+ shapes: [{ d: "M4 8h3l2-3h6l2 3h3v11H4z M12 17a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z" }]
120
+ },
121
+ phone: {
122
+ mobile: "celular",
123
+ size: 20,
124
+ stroke: 1.9,
125
+ filled: !1,
126
+ linejoin: "round",
127
+ shapes: [{ d: "M7 3h10a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z M10 18h4" }]
128
+ },
129
+ check: {
130
+ mobile: "check",
131
+ size: 14,
132
+ stroke: 2.6,
133
+ filled: !1,
134
+ linejoin: "round",
135
+ shapes: [{ d: "M5 12l4 4 10-10" }]
136
+ },
137
+ "chevron-down": {
138
+ mobile: "chevron-baixo",
139
+ size: 14,
140
+ stroke: 2.2,
141
+ filled: !1,
142
+ linejoin: "round",
143
+ shapes: [{ d: "M6 9l6 6 6-6" }]
144
+ },
145
+ "chevron-right": {
146
+ mobile: "chevron-direita",
147
+ size: 16,
148
+ stroke: 2.2,
149
+ filled: !1,
150
+ linejoin: null,
151
+ shapes: [{ d: "M9 6l6 6-6 6" }]
152
+ },
153
+ "chevron-left": {
154
+ mobile: "chevron-esquerda",
155
+ size: 22,
156
+ stroke: 2.2,
157
+ filled: !1,
158
+ linejoin: "round",
159
+ shapes: [{ d: "M15 6l-6 6 6 6" }]
160
+ },
161
+ microchip: {
162
+ mobile: "chip",
163
+ size: 20,
164
+ stroke: 1.9,
165
+ filled: !1,
166
+ linejoin: "round",
167
+ shapes: [{ d: "M6 6h12v12H6z M9 9h6v6H9z M9 3v3 M15 3v3 M9 18v3 M15 18v3 M3 9h3 M3 15h3 M18 9h3 M18 15h3" }]
168
+ },
169
+ share: {
170
+ mobile: "compartilhar",
171
+ size: 20,
172
+ stroke: 2.2,
173
+ filled: !1,
174
+ linejoin: "round",
175
+ shapes: [{ d: "M12 3v12 M8 7l4-4 4 4 M5 12v8h14v-8" }]
176
+ },
177
+ contact: {
178
+ mobile: "contato",
179
+ size: 18,
180
+ stroke: 2,
181
+ filled: !1,
182
+ linejoin: "round",
183
+ shapes: [{ d: "M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z" }]
184
+ },
185
+ copy: {
186
+ mobile: "copiar",
187
+ size: 20,
188
+ stroke: 2,
189
+ filled: !1,
190
+ linejoin: "round",
191
+ shapes: [{ d: "M9 9h11v11H9z M5 15H4V4h11v1" }]
192
+ },
193
+ heart: {
194
+ mobile: "coracao",
195
+ size: 18,
196
+ stroke: 2,
197
+ filled: !1,
198
+ linejoin: "round",
199
+ shapes: [{ d: "M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.5-7 10-7 10z" }]
200
+ },
201
+ "document-lines": {
202
+ mobile: "documento-linhas",
203
+ size: 15,
204
+ stroke: 2.4,
205
+ filled: !1,
206
+ linejoin: "round",
207
+ shapes: [{ d: "M7 3h7l5 5v13H7z M14 3v5h5 M10 13h6 M10 17h6" }]
208
+ },
209
+ "document-off": {
210
+ mobile: "documento-riscado",
211
+ size: 18,
212
+ stroke: 2,
213
+ filled: !1,
214
+ linejoin: "round",
215
+ shapes: [{ d: "M7 3h7l5 5v13H7z M14 3v5h5 M4 4l16 16" }]
216
+ },
217
+ document: {
218
+ mobile: "documento",
219
+ size: 22,
220
+ stroke: 1.8,
221
+ filled: !1,
222
+ linejoin: "round",
223
+ shapes: [{ d: "M7 3h7l5 5v13H7z M14 3v5h5" }]
224
+ },
225
+ edit: {
226
+ mobile: "editar",
227
+ size: 20,
228
+ stroke: 2,
229
+ filled: !1,
230
+ linejoin: "round",
231
+ shapes: [{ d: "M4 20h4L19 9l-4-4L4 16z M13.5 6.5l4 4" }]
232
+ },
233
+ star: {
234
+ mobile: "estrela",
235
+ size: 22,
236
+ stroke: 2,
237
+ filled: !1,
238
+ linejoin: "round",
239
+ shapes: [{ d: "M12 3l2.6 5.6 6 .7-4.5 4.1 1.2 6L12 16.4 6.7 19.4l1.2-6L3.4 9.3l6-.7z" }]
240
+ },
241
+ close: {
242
+ mobile: "fechar",
243
+ size: 18,
244
+ stroke: 2.4,
245
+ filled: !1,
246
+ linejoin: null,
247
+ shapes: [{ d: "M6 6l12 12 M18 6L6 18" }]
248
+ },
249
+ filter: {
250
+ mobile: "filtro",
251
+ size: 17,
252
+ stroke: 2.1,
253
+ filled: !1,
254
+ linejoin: "round",
255
+ shapes: [{ d: "M3 5h18l-7 8v6l-4 2v-8z" }]
256
+ },
257
+ cat: {
258
+ mobile: "gato",
259
+ size: 30,
260
+ stroke: 1.7,
261
+ filled: !1,
262
+ linejoin: "round",
263
+ shapes: [{ d: "M5 4l3 4h8l3-4v10a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6z M10 12h.01 M14 12h.01 M11 15.5h2" }]
264
+ },
265
+ globe: {
266
+ mobile: "globo",
267
+ size: 20,
268
+ stroke: 1.9,
269
+ filled: !1,
270
+ linejoin: "round",
271
+ shapes: [{ d: "M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18z M3 12h18 M12 3c2.5 2.5 3.8 5.5 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.5-3.8-9S9.5 5.5 12 3z" }]
272
+ },
273
+ info: {
274
+ mobile: "info",
275
+ size: 16,
276
+ stroke: 2,
277
+ filled: !1,
278
+ linejoin: "round",
279
+ shapes: [{ d: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z M12 11v6 M12 7.5v.5" }]
280
+ },
281
+ home: {
282
+ mobile: "inicio",
283
+ size: 24,
284
+ stroke: 2,
285
+ filled: !1,
286
+ linejoin: "round",
287
+ shapes: [{ d: "M3 11l9-7 9 7 M5.5 9.5V20h13V9.5 M10 20v-5h4v5" }]
288
+ },
289
+ "bell-off": {
290
+ mobile: "lembrete-desligado",
291
+ size: 18,
292
+ stroke: 2.2,
293
+ filled: !1,
294
+ linejoin: "round",
295
+ shapes: [{ d: "M6 16v-5a6 6 0 0 1 9.5-4.9 M18 11v5l2 2H8 M10 21h4 M3 3l18 18" }]
296
+ },
297
+ bell: {
298
+ mobile: "lembrete",
299
+ size: 19,
300
+ stroke: 1.9,
301
+ filled: !1,
302
+ linejoin: "round",
303
+ shapes: [{ d: "M6 16v-5a6 6 0 0 1 12 0v5l2 2H4z M10 21h4" }]
304
+ },
305
+ "external-link": {
306
+ mobile: "link-externo",
307
+ size: 14,
308
+ stroke: 2.2,
309
+ filled: !1,
310
+ linejoin: "round",
311
+ shapes: [{ d: "M14 4h6v6 M20 4l-9 9 M18 14v6H4V6h6" }]
312
+ },
313
+ location: {
314
+ mobile: "local",
315
+ size: 18,
316
+ stroke: 2,
317
+ filled: !1,
318
+ linejoin: "round",
319
+ shapes: [{ d: "M12 21s-6-5.5-6-11a6 6 0 0 1 12 0c0 5.5-6 11-6 11z M12 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z" }]
320
+ },
321
+ more: {
322
+ mobile: "mais-opcoes",
323
+ size: 20,
324
+ stroke: 2,
325
+ filled: !0,
326
+ linejoin: null,
327
+ shapes: [
328
+ {
329
+ cx: 5,
330
+ cy: 12,
331
+ r: 1.8
332
+ },
333
+ {
334
+ cx: 12,
335
+ cy: 12,
336
+ r: 1.8
337
+ },
338
+ {
339
+ cx: 19,
340
+ cy: 12,
341
+ r: 1.8
342
+ }
343
+ ]
344
+ },
345
+ plus: {
346
+ mobile: "mais",
347
+ size: 22,
348
+ stroke: 2.2,
349
+ filled: !1,
350
+ linejoin: null,
351
+ shapes: [{ d: "M12 5v14 M5 12h14" }]
352
+ },
353
+ message: {
354
+ mobile: "mensagem",
355
+ size: 22,
356
+ stroke: 2,
357
+ filled: !1,
358
+ linejoin: "round",
359
+ shapes: [{ d: "M4 5h16v11H9l-5 4z" }]
360
+ },
361
+ snow: {
362
+ mobile: "neve",
363
+ size: 18,
364
+ stroke: 2.2,
365
+ filled: !1,
366
+ linejoin: "round",
367
+ shapes: [{ d: "M12 2v20 M4.5 6.5l15 11 M19.5 6.5l-15 11 M9 4l3 2 3-2 M9 20l3-2 3 2" }]
368
+ },
369
+ weight: {
370
+ mobile: "peso",
371
+ size: 15,
372
+ stroke: 2.4,
373
+ filled: !1,
374
+ linejoin: "round",
375
+ shapes: [{ d: "M5 20h14l-1.6-11H6.6z M9 9a3 3 0 0 1 6 0 M12 13.5l1.6-2.2" }]
376
+ },
377
+ people: {
378
+ mobile: "pessoas",
379
+ size: 16,
380
+ stroke: 2,
381
+ filled: !1,
382
+ linejoin: "round",
383
+ shapes: [{ d: "M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6 M16 4.5a3.5 3.5 0 0 1 0 6.5 M18 14c2 .8 3 2.8 3 6" }]
384
+ },
385
+ paw: {
386
+ mobile: "pets",
387
+ size: 24,
388
+ stroke: 2,
389
+ filled: !1,
390
+ linejoin: "round",
391
+ shapes: [{ d: "M12 13c-3 0-5.5 3.5-5.5 5.5 0 1.4 1.2 2 2.3 2 1.2 0 2-.6 3.2-.6s2 .6 3.2.6c1.1 0 2.3-.6 2.3-2 0-2-2.5-5.5-5.5-5.5z M6 8.5a1.8 2.2 0 1 0 0.01 0z M10 4.5a1.8 2.2 0 1 0 0.01 0z M14 4.5a1.8 2.2 0 1 0 0.01 0z M18 8.5a1.8 2.2 0 1 0 0.01 0z" }]
392
+ },
393
+ plan: {
394
+ mobile: "plano",
395
+ size: 15,
396
+ stroke: 2.4,
397
+ filled: !1,
398
+ linejoin: "round",
399
+ shapes: [{ d: "M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z M9 12l2 2 4-4" }]
400
+ },
401
+ next: {
402
+ mobile: "proximo",
403
+ size: 20,
404
+ stroke: 2,
405
+ filled: !1,
406
+ linejoin: "round",
407
+ shapes: [{ d: "M5 5l9 7-9 7z M18 5v14" }]
408
+ },
409
+ food: {
410
+ mobile: "racao",
411
+ size: 20,
412
+ stroke: 1.9,
413
+ filled: !1,
414
+ linejoin: "round",
415
+ shapes: [{ d: "M3 11h18a9 9 0 0 1-18 0z M8 7c.8-1 2.2-1 3 0 M13 5c.8-1 2.2-1 3 0" }]
416
+ },
417
+ receipt: {
418
+ mobile: "recibo",
419
+ size: 18,
420
+ stroke: 2,
421
+ filled: !1,
422
+ linejoin: "round",
423
+ shapes: [{ d: "M4 5h16v14H4z M8 9h8 M8 13h5" }]
424
+ },
425
+ clock: {
426
+ mobile: "relogio",
427
+ size: 18,
428
+ stroke: 2.2,
429
+ filled: !1,
430
+ linejoin: "round",
431
+ shapes: [{ d: "M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z M12 7v5l3 2" }]
432
+ },
433
+ medicine: {
434
+ mobile: "remedio",
435
+ size: 20,
436
+ stroke: 1.9,
437
+ filled: !1,
438
+ linejoin: "round",
439
+ shapes: [{ d: "M10.5 20.5a5 5 0 0 1-7-7l7-7a5 5 0 0 1 7 7z M8.5 8.5l7 7" }]
440
+ },
441
+ repeat: {
442
+ mobile: "repetir",
443
+ size: 13,
444
+ stroke: 2.2,
445
+ filled: !1,
446
+ linejoin: "round",
447
+ shapes: [{ d: "M17 2l4 4-4 4 M3 11V9a3 3 0 0 1 3-3h15 M7 22l-4-4 4-4 M21 13v2a3 3 0 0 1-3 3H3" }]
448
+ },
449
+ spinner: {
450
+ mobile: "spinner",
451
+ size: 22,
452
+ stroke: 2.6,
453
+ filled: !1,
454
+ linejoin: null,
455
+ shapes: [{ d: "M21 12a9 9 0 1 1-6.2-8.6" }]
456
+ },
457
+ theme: {
458
+ mobile: "tema",
459
+ size: 16,
460
+ stroke: 2,
461
+ filled: !1,
462
+ linejoin: "round",
463
+ shapes: [{ d: "M12 3a9 9 0 1 0 9 9 7 7 0 0 1-9-9z" }]
464
+ },
465
+ grooming: {
466
+ mobile: "tosa",
467
+ size: 20,
468
+ stroke: 1.9,
469
+ filled: !1,
470
+ linejoin: "round",
471
+ shapes: [{ d: "M6 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z M20 4L8.1 15.9 M14.5 14.5L20 20 M8.1 8.1L12 12" }]
472
+ },
473
+ vaccine: {
474
+ mobile: "vacina",
475
+ size: 20,
476
+ stroke: 1.9,
477
+ filled: !1,
478
+ linejoin: "round",
479
+ shapes: [{ d: "M18 2l4 4 M17 7l3-3 M19 9l-8.5 8.5-4-4L15 5z M9 11l4 4 M6.5 17.5L2 22" }]
480
+ },
481
+ vet: {
482
+ mobile: "vet",
483
+ size: 20,
484
+ stroke: 1.9,
485
+ filled: !1,
486
+ linejoin: "round",
487
+ shapes: [{ d: "M6 3v6a4 4 0 0 0 8 0V3 M10 13v2a5 5 0 0 0 10 0v-2 M20 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" }]
488
+ },
489
+ "arrow-down": {
490
+ mobile: null,
491
+ size: 24,
492
+ stroke: 1.8,
493
+ filled: !1,
494
+ linejoin: "round",
495
+ shapes: [{ d: "M12 5v14M5 12l7 7 7-7" }]
496
+ },
497
+ "arrow-up": {
498
+ mobile: null,
499
+ size: 24,
500
+ stroke: 1.8,
501
+ filled: !1,
502
+ linejoin: "round",
503
+ shapes: [{ d: "M12 19V5M5 12l7-7 7 7" }]
504
+ },
505
+ "arrow-right": {
506
+ mobile: null,
507
+ size: 24,
508
+ stroke: 1.8,
509
+ filled: !1,
510
+ linejoin: "round",
511
+ shapes: [{ d: "M5 12h14M12 5l7 7-7 7" }]
512
+ },
513
+ flask: {
514
+ mobile: null,
515
+ size: 24,
516
+ stroke: 1.8,
517
+ filled: !1,
518
+ linejoin: "round",
519
+ shapes: [{ d: "M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4a2 2 0 0 0 1.8-3l-5-9V3M7.5 15h9" }]
520
+ },
521
+ list: {
522
+ mobile: null,
523
+ size: 24,
524
+ stroke: 1.8,
525
+ filled: !1,
526
+ linejoin: "round",
527
+ shapes: [{ d: "M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01" }]
528
+ },
529
+ mail: {
530
+ mobile: null,
531
+ size: 24,
532
+ stroke: 1.8,
533
+ filled: !1,
534
+ linejoin: "round",
535
+ shapes: [{ d: "M5.5 5h13A2.5 2.5 0 0 1 21 7.5v9a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 16.5v-9A2.5 2.5 0 0 1 5.5 5ZM4 7l8 6 8-6" }]
536
+ }
537
+ }, a = Object.keys(i);
538
+ function o({ name: e, size: n = 24, stroke: a = 1.8, label: o, className: s, ...c }) {
539
+ let l = i[e], u = o ? {
540
+ role: "img",
541
+ "aria-label": o
542
+ } : { "aria-hidden": !0 }, d = l.filled ? {
543
+ fill: "currentColor",
544
+ stroke: "none"
545
+ } : {
546
+ fill: "none",
547
+ stroke: "currentColor",
548
+ strokeWidth: a,
549
+ strokeLinecap: "round",
550
+ strokeLinejoin: l.linejoin ?? void 0
551
+ };
552
+ return /* @__PURE__ */ t("svg", {
553
+ width: n,
554
+ height: n,
555
+ viewBox: "0 0 24 24",
556
+ focusable: "false",
557
+ className: r("shrink-0", s),
558
+ ...d,
559
+ ...u,
560
+ ...c,
561
+ children: l.shapes.map((e, n) => e.d ? /* @__PURE__ */ t("path", { d: e.d }, n) : /* @__PURE__ */ t("circle", {
562
+ cx: e.cx,
563
+ cy: e.cy,
564
+ r: e.r
565
+ }, n))
566
+ });
567
+ }
568
+ //#endregion
569
+ //#region src/components/Button.tsx
570
+ var s = {
571
+ primary: "bg-accent text-on-accent font-semibold hover:bg-accent-hover",
572
+ secondary: "bg-surface text-ink font-medium border-[1.5px] border-line hover:border-accent",
573
+ light: "bg-surface text-ink font-medium hover:bg-tint"
574
+ }, c = {
575
+ lg: "h-[54px] px-6 text-[17px]",
576
+ md: "h-12 px-5 text-base"
577
+ };
578
+ function l(e = "primary", t = "lg", n) {
579
+ return r("inline-flex min-w-11 items-center justify-center gap-2.5 rounded-button no-underline select-none", "transition-colors duration-150 motion-reduce:transition-none", "focus-visible:outline-2 focus-visible:outline-offset-3 focus-visible:outline-accent", "disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50", s[e], c[t], n);
580
+ }
581
+ function u(r) {
582
+ let { variant: i = "primary", size: a = "lg", icon: s, children: c, className: u, ...d } = r, f = /* @__PURE__ */ n(e, { children: [c, s && /* @__PURE__ */ t(o, {
583
+ name: s,
584
+ size: 18,
585
+ stroke: 2.2
586
+ })] }), p = l(i, a, u);
587
+ if (typeof d.href == "string") return /* @__PURE__ */ t("a", {
588
+ className: p,
589
+ ...d,
590
+ children: f
591
+ });
592
+ let { type: m = "button", ...h } = d;
593
+ return /* @__PURE__ */ t("button", {
594
+ type: m,
595
+ className: p,
596
+ ...h,
597
+ children: f
598
+ });
599
+ }
600
+ //#endregion
601
+ //#region src/components/Pill.tsx
602
+ var d = {
603
+ status: "h-8 gap-2 rounded-full bg-tint px-3.5 text-sm font-medium text-ink",
604
+ outline: "h-8 rounded-full border border-line px-3.5 text-sm font-medium text-muted",
605
+ tag: "h-8 rounded-[10px] bg-background px-3 text-sm text-ink",
606
+ plus: "h-[26px] rounded-full bg-accent px-2.5 text-xs font-semibold tracking-[0.04em] text-on-accent"
607
+ };
608
+ function f({ variant: e = "tag", className: i, children: a, ...o }) {
609
+ return /* @__PURE__ */ n("span", {
610
+ className: r("inline-flex items-center whitespace-nowrap", d[e], i),
611
+ ...o,
612
+ children: [e === "status" && /* @__PURE__ */ t("span", {
613
+ className: "size-2 rounded-full bg-accent",
614
+ "aria-hidden": "true"
615
+ }), a]
616
+ });
617
+ }
618
+ //#endregion
619
+ //#region src/components/Card.tsx
620
+ var p = {
621
+ surface: "bg-surface border border-line",
622
+ plain: "bg-surface",
623
+ hero: "bg-hero",
624
+ dashed: "border-2 border-dashed border-line"
625
+ };
626
+ function m({ variant: e = "surface", radius: n = "card", as: i = "div", className: a, ...o }) {
627
+ return /* @__PURE__ */ t(i, {
628
+ className: r(p[e], n === "panel" ? "rounded-panel" : "rounded-card", a),
629
+ ...o
630
+ });
631
+ }
632
+ //#endregion
633
+ //#region src/components/IconBox.tsx
634
+ function h({ name: e, size: n = "md", on: i = "tint", tone: a = "accent", label: s, className: c }) {
635
+ return /* @__PURE__ */ t("span", {
636
+ className: r("flex shrink-0 items-center justify-center", a === "accent" ? "text-accent" : "text-muted", n === "lg" ? "size-22 rounded-[20px]" : "size-12 rounded-icon", i === "tint" ? "bg-tint" : "bg-surface", c),
637
+ children: /* @__PURE__ */ t(o, {
638
+ name: e,
639
+ size: n === "lg" ? 36 : 24,
640
+ stroke: n === "lg" ? 1.6 : 1.8,
641
+ label: s
642
+ })
643
+ });
644
+ }
645
+ //#endregion
646
+ //#region src/components/Kicker.tsx
647
+ function g({ tone: e = "accent", as: n = "p", className: i, ...a }) {
648
+ return /* @__PURE__ */ t(n, {
649
+ className: r("text-[13px] font-semibold uppercase tracking-[0.06em]", e === "accent" ? "text-accent-text" : "text-muted", i),
650
+ ...a
651
+ });
652
+ }
653
+ //#endregion
654
+ //#region src/components/SectionHeading.tsx
655
+ var _ = {
656
+ h1: "text-[clamp(36px,4.6vw,56px)] leading-[1.06] tracking-tight",
657
+ h2: "text-[clamp(30px,3.6vw,42px)] leading-[1.1] tracking-[-0.02em]",
658
+ h3: "text-[clamp(24px,2.6vw,30px)] leading-[1.15] tracking-[-0.01em]"
659
+ };
660
+ function v({ kicker: e, title: i, lead: a, id: o, as: s = "h2", className: c }) {
661
+ return /* @__PURE__ */ n("div", {
662
+ className: r("flex flex-col gap-2.5", c),
663
+ children: [
664
+ e && /* @__PURE__ */ t(g, { children: e }),
665
+ /* @__PURE__ */ t(s, {
666
+ id: o,
667
+ className: r("max-w-170 font-semibold text-balance text-ink", _[s]),
668
+ children: i
669
+ }),
670
+ a && /* @__PURE__ */ t("p", {
671
+ className: "max-w-160 text-[17px] leading-normal text-muted",
672
+ children: a
673
+ })
674
+ ]
675
+ });
676
+ }
677
+ //#endregion
678
+ //#region src/components/CheckList.tsx
679
+ function y({ items: e, tone: i = "accent", columns: a = !1, className: s }) {
680
+ return /* @__PURE__ */ t("ul", {
681
+ className: r(a ? "grid grid-cols-[repeat(auto-fit,minmax(220px,1fr))] gap-x-6 gap-y-3.5" : "flex flex-col gap-3.5", s),
682
+ children: e.map((e, a) => /* @__PURE__ */ n("li", {
683
+ className: "flex gap-3 text-base leading-[1.45] text-ink",
684
+ children: [/* @__PURE__ */ t(o, {
685
+ name: "check",
686
+ size: 20,
687
+ stroke: 2.4,
688
+ className: r("mt-px", i === "success" ? "text-success" : "text-accent")
689
+ }), /* @__PURE__ */ t("span", { children: e })]
690
+ }, a))
691
+ });
692
+ }
693
+ //#endregion
694
+ //#region src/generated/tokens.ts
695
+ var b = {
696
+ brand: {
697
+ caramelo: "#DB9A5B",
698
+ ferrugem: "#A9541F",
699
+ creme: "#F4E4CC",
700
+ papel: "#F7F1E8",
701
+ carvao: "#231B17"
702
+ },
703
+ light: {
704
+ background: "#F7F1E8",
705
+ surface: "#FFFFFF",
706
+ tint: "#F3E4CF",
707
+ hero: "#EFDCC2",
708
+ ink: "#231B17",
709
+ muted: "#6B5648",
710
+ line: "#E6D8C4",
711
+ accent: "#A9541F",
712
+ "accent-hover": "#7E3C14",
713
+ "on-accent": "#FFF8EE",
714
+ critical: "#A3341A",
715
+ "critical-bg": "#F8E0D4",
716
+ "critical-line": "#EBC0AA",
717
+ success: "#3F6E3B",
718
+ "success-bg": "#E4EEDC",
719
+ segment: "#FFFFFF",
720
+ tabbar: "#FFFDF9",
721
+ "tab-idle": "#7D6858",
722
+ "mascot-outline": "transparent",
723
+ "mascot-nose": "#231B17",
724
+ "accent-text": "#94481A",
725
+ link: "#94481A",
726
+ "ball-outline": "#EFDCC2",
727
+ "phone-ring": "transparent",
728
+ footer: "#231B17",
729
+ "footer-ink": "#F7F1E8",
730
+ "footer-muted": "#C2AE98",
731
+ "footer-line": "#43352B"
732
+ },
733
+ dark: {
734
+ background: "#231B17",
735
+ surface: "#2E241D",
736
+ tint: "#3A2D23",
737
+ hero: "#33271F",
738
+ ink: "#F7F1E8",
739
+ muted: "#C2AE98",
740
+ line: "#43352B",
741
+ accent: "#DB9A5B",
742
+ "accent-hover": "#E8B27C",
743
+ "on-accent": "#231B17",
744
+ critical: "#F09A78",
745
+ "critical-bg": "#45261A",
746
+ "critical-line": "#6A3A26",
747
+ success: "#9CC48F",
748
+ "success-bg": "#2C3A27",
749
+ segment: "#4A3A2E",
750
+ tabbar: "#1B1511",
751
+ "tab-idle": "#A08B78",
752
+ "mascot-outline": "#F4E4CC",
753
+ "mascot-nose": "#100C0A",
754
+ "accent-text": "#DB9A5B",
755
+ link: "#E8B27C",
756
+ "ball-outline": "#F4E4CC",
757
+ "phone-ring": "#43352B",
758
+ footer: "#1B1511",
759
+ "footer-ink": "#F7F1E8",
760
+ "footer-muted": "#C2AE98",
761
+ "footer-line": "#43352B"
762
+ },
763
+ font: {
764
+ family: "Outfit",
765
+ stack: [
766
+ "Outfit Variable",
767
+ "Outfit",
768
+ "system-ui",
769
+ "sans-serif"
770
+ ],
771
+ weights: {
772
+ regular: 400,
773
+ medium: 500,
774
+ semibold: 600,
775
+ bold: 700
776
+ }
777
+ },
778
+ radius: {
779
+ icon: 12,
780
+ button: 14,
781
+ card: 18,
782
+ panel: 28
783
+ },
784
+ layout: {
785
+ container: 1168,
786
+ gutter: 24
787
+ },
788
+ motion: {
789
+ curve: {
790
+ easeInOut: [
791
+ .42,
792
+ 0,
793
+ .58,
794
+ 1
795
+ ],
796
+ easeOut: [
797
+ 0,
798
+ 0,
799
+ .58,
800
+ 1
801
+ ]
802
+ },
803
+ ball: {
804
+ keyframes: [
805
+ 0,
806
+ .45,
807
+ .6,
808
+ 1
809
+ ],
810
+ viewBoxWidth: 222,
811
+ slow: {
812
+ duration: 1.8,
813
+ rise: 14
814
+ },
815
+ fast: {
816
+ duration: 1.2,
817
+ rise: 16
818
+ }
819
+ },
820
+ dots: {
821
+ duration: 1.2,
822
+ delays: [
823
+ 0,
824
+ .2,
825
+ .4
826
+ ],
827
+ keyframes: [
828
+ 0,
829
+ .4,
830
+ .8,
831
+ 1
832
+ ],
833
+ low: .25,
834
+ high: 1
835
+ },
836
+ spinner: { duration: .9 },
837
+ panel: {
838
+ duration: .3,
839
+ reducedDuration: .2,
840
+ dragReturnDuration: .2
841
+ },
842
+ toast: {
843
+ enterDuration: .25,
844
+ curve: "easeOut",
845
+ slide: 16,
846
+ reducedDuration: .2,
847
+ visible: {
848
+ withoutAction: 4,
849
+ withAction: 6,
850
+ voiceOver: 10
851
+ }
852
+ },
853
+ interaction: {
854
+ pressedOpacity: .7,
855
+ disabledOpacity: .5
856
+ }
857
+ },
858
+ icons: /* @__PURE__ */ "help.settings.alert.archive.download.bath.bug.search.dog.lock.calendar-export.calendar-dot.calendar.camera.phone.check.chevron-down.chevron-right.chevron-left.microchip.share.contact.copy.heart.document-lines.document-off.document.edit.star.close.filter.cat.globe.info.home.bell-off.bell.external-link.location.more.plus.message.snow.weight.people.paw.plan.next.food.receipt.clock.medicine.repeat.spinner.theme.grooming.vaccine.vet.arrow-down.arrow-up.arrow-right.flask.list.mail".split(".")
859
+ }, { caramelo: x, ferrugem: S, creme: C } = b.brand, w = {
860
+ body: "M26 90 C26 84 32 80 40 79 L74 72 C82 70 86 62 94 56 C104 48 124 46 140 52 C158 58 166 76 168 96 C172 120 182 150 196 200 L72 200 C66 190 74 184 68 176 C62 168 72 162 68 154 C64 146 74 140 74 132 C70 126 64 122 58 118 C48 114 38 110 32 104 C27 100 25 95 26 90 Z",
861
+ ear: "M112 64 C128 56 148 62 150 78 C154 98 150 116 140 126 C136 132 128 132 124 126 C120 120 122 114 118 110 C112 96 104 78 112 64 Z",
862
+ seam: "M24 156 Q36 168 24 180 M44 156 Q32 168 44 180",
863
+ seamGround: "M-26 180 Q-16 190 -26 200 M-10 180 Q-20 190 -10 200"
864
+ }, T = "var(--toski-mascot-outline)", E = "var(--toski-mascot-nose)", D = "var(--toski-ball-outline)";
865
+ function O({ width: e = "100%", ball: i = "bounce", label: a, className: o }) {
866
+ return /* @__PURE__ */ n("svg", {
867
+ width: e,
868
+ viewBox: i === "ground" ? "-40 -6 250 212" : "-6 -6 222 212",
869
+ focusable: "false",
870
+ className: o,
871
+ ...a ? {
872
+ role: "img",
873
+ "aria-label": a
874
+ } : { "aria-hidden": !0 },
875
+ children: [
876
+ (i === "bounce" || i === "still") && /* @__PURE__ */ n("g", {
877
+ className: r(i === "bounce" && "toski-ball"),
878
+ "data-ball": i,
879
+ children: [/* @__PURE__ */ t("circle", {
880
+ cx: "34",
881
+ cy: "168",
882
+ r: "16",
883
+ fill: x,
884
+ strokeWidth: "5",
885
+ style: { stroke: D }
886
+ }), /* @__PURE__ */ t("path", {
887
+ d: w.seam,
888
+ fill: "none",
889
+ strokeWidth: "2.5",
890
+ strokeLinecap: "round",
891
+ style: { stroke: D }
892
+ })]
893
+ }),
894
+ i === "ground" && /* @__PURE__ */ n("g", {
895
+ opacity: "0.55",
896
+ "data-ball": "ground",
897
+ children: [/* @__PURE__ */ t("circle", {
898
+ cx: "-18",
899
+ cy: "190",
900
+ r: "13",
901
+ fill: x,
902
+ strokeWidth: "4",
903
+ style: { stroke: "var(--toski-background)" }
904
+ }), /* @__PURE__ */ t("path", {
905
+ d: w.seamGround,
906
+ fill: "none",
907
+ strokeWidth: "2",
908
+ strokeLinecap: "round",
909
+ style: { stroke: "var(--toski-background)" }
910
+ })]
911
+ }),
912
+ /* @__PURE__ */ t("path", {
913
+ d: w.body,
914
+ fill: S,
915
+ strokeWidth: "5",
916
+ strokeLinejoin: "round",
917
+ style: { stroke: T }
918
+ }),
919
+ /* @__PURE__ */ t("path", {
920
+ d: w.ear,
921
+ fill: S,
922
+ stroke: C,
923
+ strokeWidth: "4",
924
+ strokeLinejoin: "round"
925
+ }),
926
+ /* @__PURE__ */ t("ellipse", {
927
+ cx: "96",
928
+ cy: "74",
929
+ rx: "4.4",
930
+ ry: "3",
931
+ fill: C
932
+ }),
933
+ /* @__PURE__ */ t("ellipse", {
934
+ cx: "31",
935
+ cy: "88",
936
+ rx: "7",
937
+ ry: "6",
938
+ style: { fill: E }
939
+ })
940
+ ]
941
+ });
942
+ }
943
+ //#endregion
944
+ //#region src/components/AppIcon.tsx
945
+ var { caramelo: k, ferrugem: A, creme: j, carvao: M } = b.brand;
946
+ function N({ size: e = 36, withBall: r = !0, label: i, className: a }) {
947
+ return /* @__PURE__ */ n("svg", {
948
+ width: e,
949
+ height: e,
950
+ viewBox: "0 0 180 180",
951
+ focusable: "false",
952
+ className: a,
953
+ ...i ? {
954
+ role: "img",
955
+ "aria-label": i
956
+ } : { "aria-hidden": !0 },
957
+ children: [/* @__PURE__ */ t("rect", {
958
+ width: "180",
959
+ height: "180",
960
+ rx: "40",
961
+ fill: k
962
+ }), /* @__PURE__ */ n("svg", {
963
+ x: "22",
964
+ y: "25",
965
+ width: "136",
966
+ height: "130",
967
+ viewBox: "-6 -6 222 212",
968
+ children: [
969
+ /* @__PURE__ */ t("path", {
970
+ d: w.body,
971
+ fill: A,
972
+ stroke: j,
973
+ strokeWidth: "5",
974
+ strokeLinejoin: "round"
975
+ }),
976
+ /* @__PURE__ */ t("path", {
977
+ d: w.ear,
978
+ fill: A,
979
+ stroke: j,
980
+ strokeWidth: "4",
981
+ strokeLinejoin: "round"
982
+ }),
983
+ /* @__PURE__ */ t("ellipse", {
984
+ cx: "96",
985
+ cy: "74",
986
+ rx: "4.4",
987
+ ry: "3",
988
+ fill: j
989
+ }),
990
+ /* @__PURE__ */ t("ellipse", {
991
+ cx: "31",
992
+ cy: "88",
993
+ rx: "7",
994
+ ry: "6",
995
+ fill: M
996
+ }),
997
+ /* @__PURE__ */ t("circle", {
998
+ cx: "34",
999
+ cy: "168",
1000
+ r: "16",
1001
+ fill: M,
1002
+ stroke: j,
1003
+ strokeWidth: "5"
1004
+ }),
1005
+ r && /* @__PURE__ */ t("path", {
1006
+ d: w.seam,
1007
+ fill: "none",
1008
+ stroke: j,
1009
+ strokeWidth: "2.5",
1010
+ strokeLinecap: "round"
1011
+ })
1012
+ ]
1013
+ })]
1014
+ });
1015
+ }
1016
+ //#endregion
1017
+ export { N as AppIcon, u as Button, m as Card, y as CheckList, o as Icon, h as IconBox, g as Kicker, O as Mascot, f as Pill, v as SectionHeading, l as buttonClasses, i as iconData, a as iconNames, w as mascotPaths, b as tokens };
1018
+
1019
+ //# sourceMappingURL=index.js.map