@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.
- package/CHANGELOG.md +77 -0
- package/LICENSE +21 -0
- package/README.en.md +92 -0
- package/README.md +105 -0
- package/assets/bolinha-claro.svg +5 -0
- package/assets/bolinha-escuro.svg +5 -0
- package/assets/icone-caramelo-colorido.svg +12 -0
- package/assets/icone-caramelo-escuro.svg +12 -0
- package/assets/icone-caramelo.svg +12 -0
- package/assets/icone-focinho.svg +12 -0
- package/assets/icone-papel.svg +12 -0
- package/assets/pacoca-bolinha-chao-claro.svg +13 -0
- package/assets/pacoca-bolinha-chao-escuro.svg +13 -0
- package/assets/pacoca-bolinha-claro.svg +13 -0
- package/assets/pacoca-bolinha-escuro.svg +13 -0
- package/assets/pacoca-sem-bolinha-claro.svg +7 -0
- package/assets/pacoca-sem-bolinha-escuro.svg +7 -0
- package/build/css/theme.css +56 -0
- package/build/css/tokens.css +139 -0
- package/build/json/app-tokens.json +364 -0
- package/build/json/mobile.json +500 -0
- package/build/json/web.json +233 -0
- package/build/swift/ToskiColors.swift +272 -0
- package/build/swift/ToskiTokens.swift +192 -0
- package/dist/components/AppIcon.d.ts +11 -0
- package/dist/components/Button.d.ts +24 -0
- package/dist/components/Card.d.ts +10 -0
- package/dist/components/CheckList.d.ts +10 -0
- package/dist/components/Icon.d.ts +19 -0
- package/dist/components/IconBox.d.ts +14 -0
- package/dist/components/Kicker.d.ts +7 -0
- package/dist/components/Mascot.d.ts +21 -0
- package/dist/components/Pill.d.ts +11 -0
- package/dist/components/SectionHeading.d.ts +12 -0
- package/dist/generated/icons.d.ts +652 -0
- package/dist/generated/tokens.d.ts +140 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1019 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/cx.d.ts +2 -0
- package/icons/icons.json +253 -0
- package/icons/svg/ajuda.svg +3 -0
- package/icons/svg/ajustes.svg +3 -0
- package/icons/svg/alerta.svg +3 -0
- package/icons/svg/arquivo.svg +3 -0
- package/icons/svg/arrow-down.svg +3 -0
- package/icons/svg/arrow-right.svg +3 -0
- package/icons/svg/arrow-up.svg +3 -0
- package/icons/svg/baixar.svg +3 -0
- package/icons/svg/banho.svg +3 -0
- package/icons/svg/bug.svg +3 -0
- package/icons/svg/busca.svg +3 -0
- package/icons/svg/cachorro.svg +3 -0
- package/icons/svg/cadeado.svg +3 -0
- package/icons/svg/calendario-exportar.svg +3 -0
- package/icons/svg/calendario-ponto.svg +3 -0
- package/icons/svg/calendario.svg +3 -0
- package/icons/svg/camera.svg +3 -0
- package/icons/svg/celular.svg +3 -0
- package/icons/svg/check.svg +3 -0
- package/icons/svg/chevron-baixo.svg +3 -0
- package/icons/svg/chevron-direita.svg +3 -0
- package/icons/svg/chevron-esquerda.svg +3 -0
- package/icons/svg/chip.svg +3 -0
- package/icons/svg/compartilhar.svg +3 -0
- package/icons/svg/contato.svg +3 -0
- package/icons/svg/copiar.svg +3 -0
- package/icons/svg/coracao.svg +3 -0
- package/icons/svg/documento-linhas.svg +3 -0
- package/icons/svg/documento-riscado.svg +3 -0
- package/icons/svg/documento.svg +3 -0
- package/icons/svg/editar.svg +3 -0
- package/icons/svg/estrela.svg +3 -0
- package/icons/svg/fechar.svg +3 -0
- package/icons/svg/filtro.svg +3 -0
- package/icons/svg/flask.svg +3 -0
- package/icons/svg/gato.svg +3 -0
- package/icons/svg/globo.svg +3 -0
- package/icons/svg/info.svg +3 -0
- package/icons/svg/inicio.svg +3 -0
- package/icons/svg/lembrete-desligado.svg +3 -0
- package/icons/svg/lembrete.svg +3 -0
- package/icons/svg/link-externo.svg +3 -0
- package/icons/svg/list.svg +3 -0
- package/icons/svg/local.svg +3 -0
- package/icons/svg/mail.svg +3 -0
- package/icons/svg/mais-opcoes.svg +5 -0
- package/icons/svg/mais.svg +3 -0
- package/icons/svg/mensagem.svg +3 -0
- package/icons/svg/neve.svg +3 -0
- package/icons/svg/peso.svg +3 -0
- package/icons/svg/pessoas.svg +3 -0
- package/icons/svg/pets.svg +3 -0
- package/icons/svg/plano.svg +3 -0
- package/icons/svg/proximo.svg +3 -0
- package/icons/svg/racao.svg +3 -0
- package/icons/svg/recibo.svg +3 -0
- package/icons/svg/relogio.svg +3 -0
- package/icons/svg/remedio.svg +3 -0
- package/icons/svg/repetir.svg +3 -0
- package/icons/svg/spinner.svg +3 -0
- package/icons/svg/tema.svg +3 -0
- package/icons/svg/tosa.svg +3 -0
- package/icons/svg/vacina.svg +3 -0
- package/icons/svg/vet.svg +3 -0
- package/package.json +104 -0
- package/styles/tailwind.css +72 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export declare const tokens: {
|
|
2
|
+
readonly brand: {
|
|
3
|
+
readonly caramelo: "#DB9A5B";
|
|
4
|
+
readonly ferrugem: "#A9541F";
|
|
5
|
+
readonly creme: "#F4E4CC";
|
|
6
|
+
readonly papel: "#F7F1E8";
|
|
7
|
+
readonly carvao: "#231B17";
|
|
8
|
+
};
|
|
9
|
+
readonly light: {
|
|
10
|
+
readonly background: "#F7F1E8";
|
|
11
|
+
readonly surface: "#FFFFFF";
|
|
12
|
+
readonly tint: "#F3E4CF";
|
|
13
|
+
readonly hero: "#EFDCC2";
|
|
14
|
+
readonly ink: "#231B17";
|
|
15
|
+
readonly muted: "#6B5648";
|
|
16
|
+
readonly line: "#E6D8C4";
|
|
17
|
+
readonly accent: "#A9541F";
|
|
18
|
+
readonly "accent-hover": "#7E3C14";
|
|
19
|
+
readonly "on-accent": "#FFF8EE";
|
|
20
|
+
readonly critical: "#A3341A";
|
|
21
|
+
readonly "critical-bg": "#F8E0D4";
|
|
22
|
+
readonly "critical-line": "#EBC0AA";
|
|
23
|
+
readonly success: "#3F6E3B";
|
|
24
|
+
readonly "success-bg": "#E4EEDC";
|
|
25
|
+
readonly segment: "#FFFFFF";
|
|
26
|
+
readonly tabbar: "#FFFDF9";
|
|
27
|
+
readonly "tab-idle": "#7D6858";
|
|
28
|
+
readonly "mascot-outline": "transparent";
|
|
29
|
+
readonly "mascot-nose": "#231B17";
|
|
30
|
+
readonly "accent-text": "#94481A";
|
|
31
|
+
readonly link: "#94481A";
|
|
32
|
+
readonly "ball-outline": "#EFDCC2";
|
|
33
|
+
readonly "phone-ring": "transparent";
|
|
34
|
+
readonly footer: "#231B17";
|
|
35
|
+
readonly "footer-ink": "#F7F1E8";
|
|
36
|
+
readonly "footer-muted": "#C2AE98";
|
|
37
|
+
readonly "footer-line": "#43352B";
|
|
38
|
+
};
|
|
39
|
+
readonly dark: {
|
|
40
|
+
readonly background: "#231B17";
|
|
41
|
+
readonly surface: "#2E241D";
|
|
42
|
+
readonly tint: "#3A2D23";
|
|
43
|
+
readonly hero: "#33271F";
|
|
44
|
+
readonly ink: "#F7F1E8";
|
|
45
|
+
readonly muted: "#C2AE98";
|
|
46
|
+
readonly line: "#43352B";
|
|
47
|
+
readonly accent: "#DB9A5B";
|
|
48
|
+
readonly "accent-hover": "#E8B27C";
|
|
49
|
+
readonly "on-accent": "#231B17";
|
|
50
|
+
readonly critical: "#F09A78";
|
|
51
|
+
readonly "critical-bg": "#45261A";
|
|
52
|
+
readonly "critical-line": "#6A3A26";
|
|
53
|
+
readonly success: "#9CC48F";
|
|
54
|
+
readonly "success-bg": "#2C3A27";
|
|
55
|
+
readonly segment: "#4A3A2E";
|
|
56
|
+
readonly tabbar: "#1B1511";
|
|
57
|
+
readonly "tab-idle": "#A08B78";
|
|
58
|
+
readonly "mascot-outline": "#F4E4CC";
|
|
59
|
+
readonly "mascot-nose": "#100C0A";
|
|
60
|
+
readonly "accent-text": "#DB9A5B";
|
|
61
|
+
readonly link: "#E8B27C";
|
|
62
|
+
readonly "ball-outline": "#F4E4CC";
|
|
63
|
+
readonly "phone-ring": "#43352B";
|
|
64
|
+
readonly footer: "#1B1511";
|
|
65
|
+
readonly "footer-ink": "#F7F1E8";
|
|
66
|
+
readonly "footer-muted": "#C2AE98";
|
|
67
|
+
readonly "footer-line": "#43352B";
|
|
68
|
+
};
|
|
69
|
+
readonly font: {
|
|
70
|
+
readonly family: "Outfit";
|
|
71
|
+
readonly stack: readonly ["Outfit Variable", "Outfit", "system-ui", "sans-serif"];
|
|
72
|
+
readonly weights: {
|
|
73
|
+
readonly regular: 400;
|
|
74
|
+
readonly medium: 500;
|
|
75
|
+
readonly semibold: 600;
|
|
76
|
+
readonly bold: 700;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly radius: {
|
|
80
|
+
readonly icon: 12;
|
|
81
|
+
readonly button: 14;
|
|
82
|
+
readonly card: 18;
|
|
83
|
+
readonly panel: 28;
|
|
84
|
+
};
|
|
85
|
+
readonly layout: {
|
|
86
|
+
readonly container: 1168;
|
|
87
|
+
readonly gutter: 24;
|
|
88
|
+
};
|
|
89
|
+
readonly motion: {
|
|
90
|
+
readonly curve: {
|
|
91
|
+
readonly easeInOut: readonly [0.42, 0, 0.58, 1];
|
|
92
|
+
readonly easeOut: readonly [0, 0, 0.58, 1];
|
|
93
|
+
};
|
|
94
|
+
readonly ball: {
|
|
95
|
+
readonly keyframes: readonly [0, 0.45, 0.6, 1];
|
|
96
|
+
readonly viewBoxWidth: 222;
|
|
97
|
+
readonly slow: {
|
|
98
|
+
readonly duration: 1.8;
|
|
99
|
+
readonly rise: 14;
|
|
100
|
+
};
|
|
101
|
+
readonly fast: {
|
|
102
|
+
readonly duration: 1.2;
|
|
103
|
+
readonly rise: 16;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly dots: {
|
|
107
|
+
readonly duration: 1.2;
|
|
108
|
+
readonly delays: readonly [0, 0.2, 0.4];
|
|
109
|
+
readonly keyframes: readonly [0, 0.4, 0.8, 1];
|
|
110
|
+
readonly low: 0.25;
|
|
111
|
+
readonly high: 1;
|
|
112
|
+
};
|
|
113
|
+
readonly spinner: {
|
|
114
|
+
readonly duration: 0.9;
|
|
115
|
+
};
|
|
116
|
+
readonly panel: {
|
|
117
|
+
readonly duration: 0.3;
|
|
118
|
+
readonly reducedDuration: 0.2;
|
|
119
|
+
readonly dragReturnDuration: 0.2;
|
|
120
|
+
};
|
|
121
|
+
readonly toast: {
|
|
122
|
+
readonly enterDuration: 0.25;
|
|
123
|
+
readonly curve: "easeOut";
|
|
124
|
+
readonly slide: 16;
|
|
125
|
+
readonly reducedDuration: 0.2;
|
|
126
|
+
readonly visible: {
|
|
127
|
+
readonly withoutAction: 4;
|
|
128
|
+
readonly withAction: 6;
|
|
129
|
+
readonly voiceOver: 10;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly interaction: {
|
|
133
|
+
readonly pressedOpacity: 0.7;
|
|
134
|
+
readonly disabledOpacity: 0.5;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly icons: readonly ["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"];
|
|
138
|
+
};
|
|
139
|
+
export type ToskiTokens = typeof tokens;
|
|
140
|
+
export type ToskiColorName = keyof typeof tokens.light;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { Button, buttonClasses, type ButtonProps, type ButtonVariant, type ButtonSize } from './components/Button';
|
|
2
|
+
export { Pill, type PillProps, type PillVariant } from './components/Pill';
|
|
3
|
+
export { Card, type CardProps, type CardVariant } from './components/Card';
|
|
4
|
+
export { IconBox, type IconBoxProps } from './components/IconBox';
|
|
5
|
+
export { Kicker, type KickerProps } from './components/Kicker';
|
|
6
|
+
export { SectionHeading, type SectionHeadingProps } from './components/SectionHeading';
|
|
7
|
+
export { CheckList, type CheckListProps } from './components/CheckList';
|
|
8
|
+
export { Icon, iconData, iconNames, type IconName, type IconProps } from './components/Icon';
|
|
9
|
+
export { Mascot, mascotPaths, type MascotProps } from './components/Mascot';
|
|
10
|
+
export { AppIcon, type AppIconProps } from './components/AppIcon';
|
|
11
|
+
export { tokens, type ToskiTokens, type ToskiColorName } from './generated/tokens';
|