@toski-labs/ds 0.4.2 → 0.5.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 (34) hide show
  1. package/CHANGELOG.md +30 -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 +421 -0
  5. package/build/json/app-tokens.pethealth.json +484 -0
  6. package/build/json/web.koti.json +291 -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 +28 -0
  11. package/dist/generated/products.d.ts +17 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +134 -77
  14. package/dist/index.js.map +1 -1
  15. package/package.json +10 -1
  16. package/products/pethealth/icon/pethealth-icon-dark-1024.png +0 -0
  17. package/products/pethealth/icon/pethealth-icon-dark.svg +1 -0
  18. package/products/pethealth/icon/pethealth-icon-light-1024.png +0 -0
  19. package/products/pethealth/icon/pethealth-icon-light.svg +1 -0
  20. package/products/pethealth/icon/pethealth-icon-tinted-1024.png +0 -0
  21. package/products/pethealth/icon/pethealth-icon-tinted.svg +1 -0
  22. package/products/pethealth/icon-layers/1-background.svg +1 -0
  23. package/products/pethealth/icon-layers/2-dog.svg +1 -0
  24. package/products/pethealth/icon-layers/3-cat.svg +1 -0
  25. package/products/pethealth/icon-layers/4-heart.svg +1 -0
  26. package/products/pethealth/mascots/ball-indigo-dark.svg +1 -0
  27. package/products/pethealth/mascots/ball-indigo-light.svg +1 -0
  28. package/products/pethealth/mascots/pair-base-dark.svg +1 -0
  29. package/products/pethealth/mascots/pair-base-light.svg +1 -0
  30. package/products/pethealth/mascots/pair-dark.svg +1 -0
  31. package/products/pethealth/mascots/pair-error-dark.svg +1 -0
  32. package/products/pethealth/mascots/pair-error-light.svg +1 -0
  33. package/products/pethealth/mascots/pair-light.svg +1 -0
  34. package/styles/tailwind.css +19 -0
@@ -0,0 +1,93 @@
1
+ // ToskiThemeKoti.swift
2
+ // Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão.
3
+ // Tema de produto: Koti. Só o que muda em relação ao ToskiColors (destaque e ligados a ele).
4
+ //
5
+ // Uso: Text("Olá").foregroundStyle(ToskiKotiTheme.accent)
6
+ // Os neutros, critical e success continuam em ToskiColors.
7
+
8
+ import SwiftUI
9
+ #if canImport(UIKit)
10
+ import UIKit
11
+ #elseif canImport(AppKit)
12
+ import AppKit
13
+ #endif
14
+
15
+ public enum ToskiKotiTheme {
16
+ // MARK: Marca do produto
17
+
18
+ /// Destaque do Koti no claro.
19
+ public static let ameixa = fixed(0x7A3F6E)
20
+ /// Destaque no escuro.
21
+ public static let ameixaClaro = fixed(0xD9A6CC)
22
+
23
+ // MARK: Destaque (troca as de mesmo nome em ToskiColors)
24
+
25
+ /// Fundos suaves, caixas de ícone, chips
26
+ public static let tint = dynamic(light: 0xF0E1EC, dark: 0x3A2436)
27
+ /// Círculo atrás dos mascotes
28
+ public static let heroBackground = dynamic(light: 0xE8D2E1, dark: 0x46293F)
29
+ /// Botão principal, aba ativa, links
30
+ public static let accent = dynamic(light: 0x7A3F6E, dark: 0xD9A6CC)
31
+ /// Destaque mais profundo (no escuro, mais claro): botão de texto da tela Erro, links ao passar o mouse
32
+ public static let accentDeep = dynamic(light: 0x5E2F55, dark: 0xE8C2DD)
33
+ /// Texto sobre o destaque
34
+ public static let onAccent = dynamic(light: 0xFFF8EE, dark: 0x231B17)
35
+ /// Ação do toast (Desfazer, Abrir)
36
+ public static let toastAction = dynamic(light: 0xE6BFDB, dark: 0x7A3F6E)
37
+ /// Cartão de destaque (plano de saúde, Fase 2)
38
+ public static let featureCard = dynamic(light: 0x7A3F6E, dark: 0x5E2F55)
39
+ /// Fundo do cadeado (recurso do Plus, pet congelado)
40
+ public static let lockBackground = dynamic(light: 0x8A5280, dark: 0x3A2436)
41
+ /// Cartões das miniaturas de tema (Aparência)
42
+ public static let themePreviewCard = dynamic(light: 0x7A3F6E, lightAlpha: 0.35, dark: 0x7A3F6E, darkAlpha: 0.35)
43
+
44
+ // MARK: Membros da casa
45
+
46
+ /// Nomes dos membros, na ordem de cadastro.
47
+ public static let memberNames = ["ameixaClaro", "caramelo", "salvia", "azulejo", "coral"]
48
+ /// Fundo do avatar de cada membro (igual nos dois modos).
49
+ public static let memberAvatars: [Color] = [fixed(0xD9A6CC), fixed(0xDB9A5B), fixed(0x8FA876), fixed(0x7CC6C4), fixed(0xE08A7A)]
50
+ /// Check e calendário: no claro uma variante mais escura (≥ 3:1), no escuro o próprio avatar.
51
+ public static let memberMarks: [Color] = [
52
+ dynamic(light: 0xB6549D, dark: 0xD9A6CC),
53
+ dynamic(light: 0xAD6826, dark: 0xDB9A5B),
54
+ dynamic(light: 0x698051, dark: 0x8FA876),
55
+ dynamic(light: 0x398482, dark: 0x7CC6C4),
56
+ dynamic(light: 0xC2526A, dark: 0xE08A7A)
57
+ ]
58
+
59
+ // MARK: Black Friday
60
+
61
+ public enum BlackFriday {
62
+ public static let accent = fixed(0xD9A6CC)
63
+ }
64
+
65
+ // MARK: Auxiliares
66
+
67
+ private static func components(_ hex: UInt32) -> (CGFloat, CGFloat, CGFloat) {
68
+ (CGFloat((hex >> 16) & 0xFF) / 255, CGFloat((hex >> 8) & 0xFF) / 255, CGFloat(hex & 0xFF) / 255)
69
+ }
70
+
71
+ private static func fixed(_ hex: UInt32, alpha: CGFloat = 1) -> Color {
72
+ let (r, g, b) = components(hex)
73
+ return Color(.sRGB, red: r, green: g, blue: b, opacity: alpha)
74
+ }
75
+
76
+ private static func dynamic(light: UInt32, lightAlpha: CGFloat = 1, dark: UInt32, darkAlpha: CGFloat = 1) -> Color {
77
+ #if canImport(UIKit)
78
+ return Color(UIColor { traits in
79
+ let isDark = traits.userInterfaceStyle == .dark
80
+ let (r, g, b) = components(isDark ? dark : light)
81
+ return UIColor(red: r, green: g, blue: b, alpha: isDark ? darkAlpha : lightAlpha)
82
+ })
83
+ #elseif canImport(AppKit)
84
+ return Color(NSColor(name: nil) { appearance in
85
+ let isDark = appearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
86
+ let (r, g, b) = components(isDark ? dark : light)
87
+ return NSColor(srgbRed: r, green: g, blue: b, alpha: isDark ? darkAlpha : lightAlpha)
88
+ })
89
+ #else
90
+ return fixed(light, alpha: lightAlpha)
91
+ #endif
92
+ }
93
+ }
@@ -0,0 +1,90 @@
1
+ // ToskiThemePetHealth.swift
2
+ // Gerado por scripts/build-tokens.ts a partir de tokens/tokens.json. Não edite à mão.
3
+ // Tema de produto: PetHealthTracker. Só o que muda em relação ao ToskiColors (destaque e ligados a ele).
4
+ //
5
+ // Uso: Text("Olá").foregroundStyle(ToskiPetHealthTheme.accent)
6
+ // Os neutros, critical e success continuam em ToskiColors.
7
+
8
+ import SwiftUI
9
+ #if canImport(UIKit)
10
+ import UIKit
11
+ #elseif canImport(AppKit)
12
+ import AppKit
13
+ #endif
14
+
15
+ public enum ToskiPetHealthTheme {
16
+ // MARK: Marca do produto
17
+
18
+ /// Destaque do PetHealthTracker no claro.
19
+ public static let indigo = fixed(0x3E4C8A)
20
+ /// Destaque no escuro.
21
+ public static let lilas = fixed(0xA9B4E8)
22
+ /// Fundo suave (círculo atrás dos mascotes no claro).
23
+ public static let lilasClaro = fixed(0xE3E6F5)
24
+ /// Círculo do ícone.
25
+ public static let circuloIcone = fixed(0x5C69A4)
26
+
27
+ // MARK: Destaque (troca as de mesmo nome em ToskiColors)
28
+
29
+ /// Círculo atrás dos mascotes
30
+ public static let heroBackground = dynamic(light: 0xE3E6F5, dark: 0x2A2E45)
31
+ /// Botão principal, aba ativa, links
32
+ public static let accent = dynamic(light: 0x3E4C8A, dark: 0xA9B4E8)
33
+ /// Destaque mais profundo (no escuro, mais claro): botão de texto da tela Erro, links ao passar o mouse
34
+ public static let accentDeep = dynamic(light: 0x2C376A, dark: 0xC9D0F2)
35
+ /// Texto sobre o destaque
36
+ public static let onAccent = dynamic(light: 0xFFF8EE, dark: 0x231B17)
37
+ /// Ação do toast (Desfazer, Abrir)
38
+ public static let toastAction = dynamic(light: 0xB7C0EE, dark: 0x3E4C8A)
39
+ /// Cartão de destaque (plano de saúde, Fase 2)
40
+ public static let featureCard = dynamic(light: 0x3E4C8A, dark: 0x2C376A)
41
+ /// Fundo do cadeado (recurso do Plus, pet congelado)
42
+ public static let lockBackground = dynamic(light: 0x5C69A4, dark: 0x3A2D23)
43
+ /// Cartões das miniaturas de tema (Aparência)
44
+ public static let themePreviewCard = dynamic(light: 0x3E4C8A, lightAlpha: 0.35, dark: 0x3E4C8A, darkAlpha: 0.35)
45
+
46
+ // MARK: Mascotes
47
+
48
+ public static let dog = fixed(0xB88250)
49
+ public static let dogEar = fixed(0x6E4529)
50
+ public static let cat = fixed(0x7C8199)
51
+ public static let catEarInner = fixed(0xE8B4B0)
52
+ public static let catNose = fixed(0xD98C8C)
53
+ public static let outline = dynamic(light: 0x231B17, dark: 0xF4E4CC)
54
+ public static let eye = dynamic(light: 0x231B17, dark: 0x100C0A)
55
+
56
+ // MARK: Black Friday
57
+
58
+ public enum BlackFriday {
59
+ public static let accent = fixed(0xA9B4E8)
60
+ }
61
+
62
+ // MARK: Auxiliares
63
+
64
+ private static func components(_ hex: UInt32) -> (CGFloat, CGFloat, CGFloat) {
65
+ (CGFloat((hex >> 16) & 0xFF) / 255, CGFloat((hex >> 8) & 0xFF) / 255, CGFloat(hex & 0xFF) / 255)
66
+ }
67
+
68
+ private static func fixed(_ hex: UInt32, alpha: CGFloat = 1) -> Color {
69
+ let (r, g, b) = components(hex)
70
+ return Color(.sRGB, red: r, green: g, blue: b, opacity: alpha)
71
+ }
72
+
73
+ private static func dynamic(light: UInt32, lightAlpha: CGFloat = 1, dark: UInt32, darkAlpha: CGFloat = 1) -> Color {
74
+ #if canImport(UIKit)
75
+ return Color(UIColor { traits in
76
+ let isDark = traits.userInterfaceStyle == .dark
77
+ let (r, g, b) = components(isDark ? dark : light)
78
+ return UIColor(red: r, green: g, blue: b, alpha: isDark ? darkAlpha : lightAlpha)
79
+ })
80
+ #elseif canImport(AppKit)
81
+ return Color(NSColor(name: nil) { appearance in
82
+ let isDark = appearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
83
+ let (r, g, b) = components(isDark ? dark : light)
84
+ return NSColor(srgbRed: r, green: g, blue: b, alpha: isDark ? darkAlpha : lightAlpha)
85
+ })
86
+ #else
87
+ return fixed(light, alpha: lightAlpha)
88
+ #endif
89
+ }
90
+ }
@@ -0,0 +1,28 @@
1
+ import { type ProductId } from '../generated/products';
2
+ export type { ProductId };
3
+ export interface ProductIconProps {
4
+ product: ProductId;
5
+ /** light = fundo claro · dark = escuro · tinted = monocromático (iOS 26). */
6
+ variant?: 'light' | 'dark' | 'tinted';
7
+ /** Lado em px. Padrão 64. */
8
+ size?: number;
9
+ /** Texto para leitores de tela. Sem ele o ícone é decorativo. */
10
+ label?: string;
11
+ className?: string;
12
+ }
13
+ /** Ícone do app de um produto (PetHealthTracker). O Koti entra quando os arquivos chegarem. */
14
+ export declare function ProductIcon({ product, variant, size, label, className }: ProductIconProps): import("react").JSX.Element | null;
15
+ export interface ProductMascotProps {
16
+ product: ProductId;
17
+ /** pair = dupla · pair-base = dupla, base · pair-error = dupla, erro · ball-indigo = bolinha. */
18
+ art?: 'pair' | 'pair-base' | 'pair-error' | 'ball-indigo';
19
+ /** Sem `mode`, segue o tema da página (claro/escuro). */
20
+ mode?: 'light' | 'dark';
21
+ /** Largura (px ou CSS). Padrão 100%. */
22
+ width?: number | string;
23
+ /** Texto para leitores de tela. Sem ele a arte é decorativa. */
24
+ label?: string;
25
+ className?: string;
26
+ }
27
+ /** Mascotes de um produto, com o contorno na cor oposta ao fundo (claro/escuro). */
28
+ export declare function ProductMascot({ product, art, mode, width, label, className }: ProductMascotProps): import("react").JSX.Element;
@@ -0,0 +1,17 @@
1
+ export declare const productArt: {
2
+ readonly pethealth: {
3
+ readonly "pethealth-icon-light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 180 180\" width=\"1024\" height=\"1024\"><title>PetHealthTracker — ícone, Claro (Any)</title><rect width=\"180\" height=\"180\" fill=\"#3E4C8A\"/><clipPath id=\"c\"><rect width=\"180\" height=\"180\"/></clipPath><g clip-path=\"url(#c)\"><g transform=\"translate(90 116) scale(.64) translate(-225 -100)\"><g transform=\"translate(232 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#F4E4CC\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#100C0A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#100C0A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(204 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#100C0A\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><path d=\"M217 62 C211 54 200 57 205 66 L217 77 L229 66 C234 57 223 54 217 62 Z\" fill=\"#F4E4CC\"></path></g></g></svg>";
4
+ readonly "pethealth-icon-dark": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 180 180\" width=\"1024\" height=\"1024\"><title>PetHealthTracker — ícone, Escuro (Dark, iOS 18+): fundo transparente, o iOS põe o fundo escuro</title><clipPath id=\"c\"><rect width=\"180\" height=\"180\"/></clipPath><g clip-path=\"url(#c)\"><g transform=\"translate(90 116) scale(.64) translate(-225 -100)\"><g transform=\"translate(232 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#F4E4CC\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#100C0A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#100C0A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(204 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#100C0A\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><path d=\"M217 62 C211 54 200 57 205 66 L217 77 L229 66 C234 57 223 54 217 62 Z\" fill=\"#A9B4E8\"></path></g></g></svg>";
5
+ readonly "pethealth-icon-tinted": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 180 180\" width=\"1024\" height=\"1024\"><title>PetHealthTracker — ícone, Colorido (Tinted, iOS 18+): tons de cinza em fundo transparente</title><clipPath id=\"c\"><rect width=\"180\" height=\"180\"/></clipPath><g clip-path=\"url(#c)\"><g transform=\"translate(90 116) scale(.64) translate(-225 -100)\"><g transform=\"translate(232 0) scale(-1 1)\"><path d=\"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\" fill=\"#9C9C9C\" stroke=\"#E6E6E6\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#5E5E5E\" stroke=\"#E6E6E6\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#1A1A1A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#1A1A1A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#FFFFFF\" opacity=\".75\"></ellipse></g><g transform=\"translate(204 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#808080\" stroke=\"#E6E6E6\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#C8C8C8\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#1A1A1A\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#B0B0B0\" stroke=\"#B0B0B0\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><path d=\"M217 62 C211 54 200 57 205 66 L217 77 L229 66 C234 57 223 54 217 62 Z\" fill=\"#FFFFFF\"></path></g></g></svg>";
6
+ readonly "pair-light": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#231B17\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#231B17\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#231B17\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#231B17\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><path d=\"M222 70 C214 60 200 64 206 74 L222 88 L238 74 C244 64 230 60 222 70 Z\" fill=\"#3E4C8A\"></path></svg>";
7
+ readonly "pair-dark": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#F4E4CC\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#100C0A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#100C0A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#100C0A\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><path d=\"M222 70 C214 60 200 64 206 74 L222 88 L238 74 C244 64 230 60 222 70 Z\" fill=\"#A9B4E8\"></path></svg>";
8
+ readonly "pair-base-light": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#231B17\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#231B17\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#231B17\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#231B17\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g></svg>";
9
+ readonly "pair-base-dark": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#F4E4CC\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"96\" cy=\"74\" rx=\"4.4\" ry=\"3\" fill=\"#100C0A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#100C0A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><path d=\"M86 80 Q92 76 98 80\" fill=\"none\" stroke=\"#100C0A\" stroke-width=\"3.2\" stroke-linecap=\"round\"></path><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g></svg>";
10
+ readonly "pair-error-light": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#231B17\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"94\" cy=\"77\" rx=\"4.4\" ry=\"3\" fill=\"#231B17\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#231B17\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#231B17\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><ellipse cx=\"90\" cy=\"81\" rx=\"3.2\" ry=\"4\" fill=\"#231B17\"></ellipse><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><g class=\"\" opacity=\"0.6\"><circle cx=\"222\" cy=\"176\" r=\"12\" fill=\"#3E4C8A\" stroke=\"#E3E6F5\" stroke-width=\"4\"></circle><path d=\"M215.4 166.4 Q223.8 176 215.4 185.6 M228.6 166.4 Q220.2 176 228.6 185.6\" fill=\"none\" stroke=\"#F4E4CC\" stroke-width=\"2.4\" stroke-linecap=\"round\"></path></g></svg>";
11
+ readonly "pair-error-dark": "<svg viewBox=\"0 -30 430 230\" role=\"img\" aria-label=\"Cachorro e gato\" width=\"860\" height=\"460\" xmlns=\"http://www.w3.org/2000/svg\"><g transform=\"translate(222 0) scale(-1 1)\"><path d=\"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\" fill=\"#B88250\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"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\" fill=\"#6E4529\" stroke=\"#F4E4CC\" stroke-width=\"4\" stroke-linejoin=\"round\"></path><ellipse cx=\"94\" cy=\"77\" rx=\"4.4\" ry=\"3\" fill=\"#100C0A\"></ellipse><ellipse cx=\"31\" cy=\"88\" rx=\"7\" ry=\"6\" fill=\"#100C0A\"></ellipse><ellipse cx=\"29\" cy=\"85.6\" rx=\"2.2\" ry=\"1.5\" fill=\"#F7F1E8\" opacity=\".75\"></ellipse></g><g transform=\"translate(214 0)\"><path d=\"M30 98 C30 91 35 87 43 86 C50 85 56 80 62 72 C68 63 76 57 86 54 L94 22 C95 18 99 18 101 21 L118 46 C126 45 134 46 141 48 L158 26 C160 23 164 24 164 28 L163 58 C174 70 179 88 178 106 C177 132 182 160 192 200 L80 200 C76 188 82 178 78 168 C74 156 82 146 80 134 C70 130 58 124 48 118 C38 112 30 106 30 98 Z\" fill=\"#7C8199\" stroke=\"#F4E4CC\" stroke-width=\"5\" stroke-linejoin=\"round\"></path><path d=\"M98 32 L111 47 C106 49 101 52 97 56 Z\" fill=\"#E8B4B0\"></path><ellipse cx=\"90\" cy=\"81\" rx=\"3.2\" ry=\"4\" fill=\"#100C0A\"></ellipse><path d=\"M30 95 L38 93 L35 100 Z\" fill=\"#D98C8C\" stroke=\"#D98C8C\" stroke-width=\"2\" stroke-linejoin=\"round\"></path><path d=\"M48 104 L18 98 M48 108 L20 112\" stroke=\"#F4E4CC\" stroke-width=\"2\" stroke-linecap=\"round\" opacity=\".85\"></path></g><g class=\"\" opacity=\"0.6\"><circle cx=\"222\" cy=\"176\" r=\"12\" fill=\"#3E4C8A\" stroke=\"#2A2E45\" stroke-width=\"4\"></circle><path d=\"M215.4 166.4 Q223.8 176 215.4 185.6 M228.6 166.4 Q220.2 176 228.6 185.6\" fill=\"none\" stroke=\"#F4E4CC\" stroke-width=\"2.4\" stroke-linecap=\"round\"></path></g></svg>";
12
+ readonly "ball-indigo-light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"196 124 52 52\" width=\"208\" height=\"208\"><g class=\"\" opacity=\"1\"><circle cx=\"222\" cy=\"150\" r=\"18\" fill=\"#3E4C8A\" stroke=\"#E3E6F5\" stroke-width=\"4\"></circle><path d=\"M212.1 135.6 Q224.7 150 212.1 164.4 M231.9 135.6 Q219.3 150 231.9 164.4\" fill=\"none\" stroke=\"#F4E4CC\" stroke-width=\"2.4\" stroke-linecap=\"round\"></path></g></svg>";
13
+ readonly "ball-indigo-dark": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"196 124 52 52\" width=\"208\" height=\"208\"><g class=\"\" opacity=\"1\"><circle cx=\"222\" cy=\"150\" r=\"18\" fill=\"#3E4C8A\" stroke=\"#2A2E45\" stroke-width=\"4\"></circle><path d=\"M212.1 135.6 Q224.7 150 212.1 164.4 M231.9 135.6 Q219.3 150 231.9 164.4\" fill=\"none\" stroke=\"#F4E4CC\" stroke-width=\"2.4\" stroke-linecap=\"round\"></path></g></svg>";
14
+ };
15
+ readonly koti: {};
16
+ };
17
+ export type ProductId = keyof typeof productArt;
package/dist/index.d.ts CHANGED
@@ -9,3 +9,4 @@ export { Icon, iconData, iconNames, type IconName, type IconProps } from './comp
9
9
  export { Mascot, mascotPaths, type MascotProps } from './components/Mascot';
10
10
  export { AppIcon, type AppIconProps } from './components/AppIcon';
11
11
  export { tokens, type ToskiTokens, type ToskiColorName } from './generated/tokens';
12
+ export { ProductIcon, ProductMascot, type ProductId, type ProductIconProps, type ProductMascotProps } from './components/ProductArt';