@toski-labs/ds 0.5.0 → 0.5.2
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 +37 -0
- package/build/json/app-tokens.json +10 -2
- package/build/json/app-tokens.koti.json +53 -8
- package/build/json/app-tokens.pethealth.json +30 -2
- package/build/json/mobile.json +16 -3
- package/build/json/web.json +6 -1
- package/build/json/web.koti.json +49 -7
- package/build/json/web.pethealth.json +26 -1
- package/build/swift/ToskiColors.swift +5 -1
- package/dist/components/ProductArt.d.ts +13 -1
- package/dist/generated/icons.d.ts +50 -0
- package/dist/generated/products.d.ts +7 -1
- package/dist/generated/tokens.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +68 -3
- package/dist/index.js.map +1 -1
- package/icons/icons.json +20 -0
- package/icons/svg/circulo-alerta.svg +3 -0
- package/icons/svg/desfazer.svg +3 -0
- package/icons/svg/encerrar.svg +3 -0
- package/icons/svg/pausar.svg +3 -0
- package/icons/svg/triangulo.svg +3 -0
- package/package.json +1 -1
- package/products/koti/icon/koti-icon-dark-1024.png +0 -0
- package/products/koti/icon/koti-icon-dark.svg +7 -0
- package/products/koti/icon/koti-icon-light-1024.png +0 -0
- package/products/koti/icon/koti-icon-light.svg +7 -0
- package/products/koti/icon/koti-icon-tinted-1024.png +0 -0
- package/products/koti/icon/koti-icon-tinted.svg +7 -0
- package/products/koti/logo/koti-logo-paper.svg +5 -0
- package/products/koti/logo/koti-logo-plum.svg +5 -0
- package/products/pethealth/animations.md +25 -0
- package/products/pethealth/icon-alt/pethealth-icon-night-1024.png +0 -0
- package/products/pethealth/icon-alt/pethealth-icon-night.svg +1 -0
- package/products/pethealth/icon-alt/pethealth-icon-paper-1024.png +0 -0
- package/products/pethealth/icon-alt/pethealth-icon-paper.svg +1 -0
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width="1024" height="1024">
|
|
2
|
+
<title>Ícone do Koti — versão escura (iOS 18+), fundo transparente</title>
|
|
3
|
+
|
|
4
|
+
<path d="M39 89 L90 47 L141 89" fill="none" stroke="#D9A6CC" stroke-width="13.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
5
|
+
<circle cx="90" cy="89" r="13.5" fill="#DB9A5B"></circle>
|
|
6
|
+
<rect x="79.5" y="110" width="21" height="33" rx="10.5" fill="#D9A6CC"></rect>
|
|
7
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width="1024" height="1024">
|
|
2
|
+
<title>Ícone do Koti — Bolinha sob o teto (padrão)</title>
|
|
3
|
+
<rect width="180" height="180" fill="#7A3F6E"></rect>
|
|
4
|
+
<path d="M39 89 L90 47 L141 89" fill="none" stroke="#F4E4CC" stroke-width="13.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
5
|
+
<circle cx="90" cy="89" r="13.5" fill="#DB9A5B"></circle>
|
|
6
|
+
<rect x="79.5" y="110" width="21" height="33" rx="10.5" fill="#F4E4CC"></rect>
|
|
7
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width="1024" height="1024">
|
|
2
|
+
<title>Ícone do Koti — versão tingida (iOS 18+), tons de cinza</title>
|
|
3
|
+
|
|
4
|
+
<path d="M39 89 L90 47 L141 89" fill="none" stroke="#E6E6E6" stroke-width="13.5" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
5
|
+
<circle cx="90" cy="89" r="13.5" fill="#9C9C9C"></circle>
|
|
6
|
+
<rect x="79.5" y="110" width="21" height="33" rx="10.5" fill="#E6E6E6"></rect>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-90 -110 1913 1000" width="478" height="250">
|
|
2
|
+
<title>Koti — logotipo, papel (fundos escuros e ameixa)</title>
|
|
3
|
+
<g transform="translate(0 760) scale(1 -1)" fill="#F7F1E8"><path transform="translate(0 0)" d="M366 0 189 236V0H58V723H189V262L365 483H516L326 253L526 0Z"></path><path transform="translate(528 0)" d="M285 -10Q212 -10 153.5 23.5Q95 57 60.5 114.5Q26 172 26 243Q26 314 60.0 370.5Q94 427 153.0 460.5Q212 494 284 494Q358 494 416.5 460.5Q475 427 509.0 370.5Q543 314 543 243Q543 172 509.0 114.5Q475 57 416.5 23.5Q358 -10 285 -10ZM284 112Q321 112 349.5 128.5Q378 145 393.5 174.5Q409 204 409 242Q409 280 393.0 309.0Q377 338 349.0 354.5Q321 371 284 371Q248 371 220.0 354.5Q192 338 176.0 309.0Q160 280 160 242Q160 204 176.0 174.5Q192 145 220.0 128.5Q248 112 284 112Z"></path><path transform="translate(1097 0)" d="M129 0V368H16V483H129V684H260V483H373V368H260V0Z"></path><path transform="translate(1486 0)" d="M58 0V483H189V0Z"></path></g>
|
|
4
|
+
<circle cx="1609.5" cy="120" r="82" fill="#DB9A5B"></circle>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-90 -110 1913 1000" width="478" height="250">
|
|
2
|
+
<title>Koti — logotipo, ameixa (fundos claros)</title>
|
|
3
|
+
<g transform="translate(0 760) scale(1 -1)" fill="#7A3F6E"><path transform="translate(0 0)" d="M366 0 189 236V0H58V723H189V262L365 483H516L326 253L526 0Z"></path><path transform="translate(528 0)" d="M285 -10Q212 -10 153.5 23.5Q95 57 60.5 114.5Q26 172 26 243Q26 314 60.0 370.5Q94 427 153.0 460.5Q212 494 284 494Q358 494 416.5 460.5Q475 427 509.0 370.5Q543 314 543 243Q543 172 509.0 114.5Q475 57 416.5 23.5Q358 -10 285 -10ZM284 112Q321 112 349.5 128.5Q378 145 393.5 174.5Q409 204 409 242Q409 280 393.0 309.0Q377 338 349.0 354.5Q321 371 284 371Q248 371 220.0 354.5Q192 338 176.0 309.0Q160 280 160 242Q160 204 176.0 174.5Q192 145 220.0 128.5Q248 112 284 112Z"></path><path transform="translate(1097 0)" d="M129 0V368H16V483H129V684H260V483H373V368H260V0Z"></path><path transform="translate(1486 0)" d="M58 0V483H189V0Z"></path></g>
|
|
4
|
+
<circle cx="1609.5" cy="120" r="82" fill="#DB9A5B"></circle>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Animações da dupla — PetHealthTracker
|
|
2
|
+
|
|
3
|
+
Como a dupla (cachorro e gato) e a bolinha se movem no app. Curvas e tempos seguem `motion` do `tokens.json`;
|
|
4
|
+
aqui só ficam as regras de cada tela.
|
|
5
|
+
|
|
6
|
+
## Login
|
|
7
|
+
|
|
8
|
+
- O **coração pulsa**: escala 1 → 1,12 → 1.
|
|
9
|
+
- Duração: 1,8 s, `ease-in-out`, em repetição contínua.
|
|
10
|
+
- A **dupla fica parada**; só o coração se move.
|
|
11
|
+
|
|
12
|
+
## Carregando
|
|
13
|
+
|
|
14
|
+
- A **bolinha pula entre os focinhos**: sobe 16 pt e volta, em 1,2 s, `ease-in-out`.
|
|
15
|
+
- Fica **parada no alto entre 45% e 60%** do ciclo.
|
|
16
|
+
- Os **pontinhos** continuam como hoje.
|
|
17
|
+
|
|
18
|
+
## Erro e estados vazios
|
|
19
|
+
|
|
20
|
+
- Sem animação. A dupla (`pair-error-*` no erro, `pair-*` nos vazios) fica parada.
|
|
21
|
+
|
|
22
|
+
## Reduzir movimento
|
|
23
|
+
|
|
24
|
+
- Com "Reduzir movimento" ligado no sistema, **tudo fica parado**: o coração do login, a bolinha do carregamento
|
|
25
|
+
(na posição de repouso) e qualquer outra animação da dupla. Os pontinhos também não se movem.
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width="1024" height="1024"><title>PetHealthTracker — ícone Noite (alternativo, Plus)</title><rect width="180" height="180" fill="#231B17"/><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>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width="1024" height="1024"><title>PetHealthTracker — ícone Papel (alternativo, Plus)</title><rect width="180" height="180" fill="#F7F1E8"/><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="#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(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="#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="M217 62 C211 54 200 57 205 66 L217 77 L229 66 C234 57 223 54 217 62 Z" fill="#3E4C8A"></path></g></g></svg>
|