@kenlo/kdls-design-system 2.9.1 → 2.10.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.
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/IconButton/IconButton.d.ts +11 -5
- package/dist/components/IconButton/index.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts +2 -2
- package/dist/components/Pill/Pill.d.ts +4 -2
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +2041 -2031
- package/foundations/tokens.css +12 -1
- package/kdls-manifest.json +329 -19
- package/package.json +7 -2
package/foundations/tokens.css
CHANGED
|
@@ -3351,6 +3351,7 @@
|
|
|
3351
3351
|
:root {
|
|
3352
3352
|
--font-family-base: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
|
|
3353
3353
|
--font-weight-regular: 400;
|
|
3354
|
+
--font-weight-medium: 500;
|
|
3354
3355
|
--font-weight-semibold: 600;
|
|
3355
3356
|
--font-weight-bold: 700;
|
|
3356
3357
|
--font-size-display-lg: 56px;
|
|
@@ -3400,12 +3401,22 @@
|
|
|
3400
3401
|
}
|
|
3401
3402
|
|
|
3402
3403
|
/* ------------------------------------------------------------------------------ */
|
|
3403
|
-
/* ------------------------------------
|
|
3404
|
+
/* ------------------------------------MOTION------------------------------------ */
|
|
3404
3405
|
:root {
|
|
3406
|
+
--duration-fast: 120ms;
|
|
3407
|
+
--duration-base: 200ms;
|
|
3408
|
+
--duration-slow: 300ms;
|
|
3405
3409
|
--ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
3406
3410
|
--ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
|
|
3407
3411
|
}
|
|
3408
3412
|
|
|
3413
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3414
|
+
:root {
|
|
3415
|
+
--duration-fast: 0ms;
|
|
3416
|
+
--duration-base: 0ms;
|
|
3417
|
+
--duration-slow: 0ms;
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3409
3420
|
/* ------------------------------------------------------------------------------ */
|
|
3410
3421
|
/* -----------------------------PAGE BACKGROUND----------------------------- */
|
|
3411
3422
|
:root {
|
package/kdls-manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"name": "@kenlo/kdls-design-system",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.10.0"
|
|
5
5
|
},
|
|
6
6
|
"install": {
|
|
7
7
|
"add": "npm install @kenlo/kdls-design-system",
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
"note": "Use the Tailwind preset OR styles.css, never both — same class names."
|
|
13
13
|
},
|
|
14
14
|
"counts": {
|
|
15
|
-
"components":
|
|
16
|
-
"propsTables":
|
|
17
|
-
"props":
|
|
18
|
-
"tokens":
|
|
15
|
+
"components": 60,
|
|
16
|
+
"propsTables": 85,
|
|
17
|
+
"props": 733,
|
|
18
|
+
"tokens": 552,
|
|
19
|
+
"api": 12,
|
|
20
|
+
"icons": 49
|
|
19
21
|
},
|
|
20
22
|
"components": [
|
|
21
23
|
{
|
|
@@ -510,7 +512,7 @@
|
|
|
510
512
|
"name": "size",
|
|
511
513
|
"type": "'sm'|'md'|'lg'",
|
|
512
514
|
"default": "'sm'",
|
|
513
|
-
"description": "'sm' = 12px · 'md' =
|
|
515
|
+
"description": "'sm' = rótulo 12px, caixa 24px · 'md' = rótulo 16px, caixa 28px · 'lg' = rótulo 16px, caixa 32px",
|
|
514
516
|
"example": "size=\"sm\""
|
|
515
517
|
},
|
|
516
518
|
{
|
|
@@ -2111,6 +2113,21 @@
|
|
|
2111
2113
|
],
|
|
2112
2114
|
"subComponents": []
|
|
2113
2115
|
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "Form",
|
|
2118
|
+
"kind": "value",
|
|
2119
|
+
"import": "import { Form } from '@kenlo/kdls-design-system'",
|
|
2120
|
+
"props": [
|
|
2121
|
+
{
|
|
2122
|
+
"name": "validateOn",
|
|
2123
|
+
"type": "'change'|'blur'|'submit'",
|
|
2124
|
+
"default": "'change'",
|
|
2125
|
+
"description": "Quando as regras de validação dos campos filhos são avaliadas — 'change' a cada digitação · 'blur' ao sair do campo · 'submit' só no envio",
|
|
2126
|
+
"example": "validateOn=\"blur\""
|
|
2127
|
+
}
|
|
2128
|
+
],
|
|
2129
|
+
"subComponents": []
|
|
2130
|
+
},
|
|
2114
2131
|
{
|
|
2115
2132
|
"name": "Grid",
|
|
2116
2133
|
"kind": "value",
|
|
@@ -2168,6 +2185,147 @@
|
|
|
2168
2185
|
],
|
|
2169
2186
|
"subComponents": []
|
|
2170
2187
|
},
|
|
2188
|
+
{
|
|
2189
|
+
"name": "Header",
|
|
2190
|
+
"kind": "value",
|
|
2191
|
+
"import": "import { Header } from '@kenlo/kdls-design-system'",
|
|
2192
|
+
"props": [
|
|
2193
|
+
{
|
|
2194
|
+
"name": "product",
|
|
2195
|
+
"type": "'imob' | 'sites' | 'locacao' | 'leads' | 'generico' | 'base'",
|
|
2196
|
+
"default": "'base'",
|
|
2197
|
+
"description": "Produto Kenlo — define o logo exibido",
|
|
2198
|
+
"example": "'imob' | 'locacao'"
|
|
2199
|
+
},
|
|
2200
|
+
{
|
|
2201
|
+
"name": "logoHref",
|
|
2202
|
+
"type": "string",
|
|
2203
|
+
"default": "—",
|
|
2204
|
+
"description": "Destino do clique no logo — normalmente a home do produto. Sem logoHref nem onLogoClick o logo não é clicável",
|
|
2205
|
+
"example": "'/inicio'"
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"name": "onLogoClick",
|
|
2209
|
+
"type": "() => void",
|
|
2210
|
+
"default": "—",
|
|
2211
|
+
"description": "Callback do clique no logo — use com router client-side, ou junto de logoHref para interceptar a navegação",
|
|
2212
|
+
"example": "() => navigate(\"/\")"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "logoLabel",
|
|
2216
|
+
"type": "string",
|
|
2217
|
+
"default": "'Página inicial'",
|
|
2218
|
+
"description": "Nome acessível do link do logo, lido no lugar da imagem",
|
|
2219
|
+
"example": "'Início do Vira'"
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"name": "navItems",
|
|
2223
|
+
"type": "HeaderNavItem[]",
|
|
2224
|
+
"default": "[]",
|
|
2225
|
+
"description": "Itens de navegação principal (com suporte a submenus via children)",
|
|
2226
|
+
"example": "[{ label: 'Indicadores', href: '/indicadores' }]"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"name": "activeNav",
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"default": "—",
|
|
2232
|
+
"description": "Label do item de navegação ativo — deve corresponder a um item em navItems",
|
|
2233
|
+
"example": "'Indicadores'"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"name": "notifications",
|
|
2237
|
+
"type": "HeaderNotification[]",
|
|
2238
|
+
"default": "[]",
|
|
2239
|
+
"description": "Lista de notificações exibidas no painel ao clicar no sino",
|
|
2240
|
+
"example": "[{ id: '1', title: 'Novo lead', time: '2min' }]"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "onClearNotifications",
|
|
2244
|
+
"type": "() => void",
|
|
2245
|
+
"default": "—",
|
|
2246
|
+
"description": "Callback para limpar todas as notificações do painel",
|
|
2247
|
+
"example": "() => setNotifications([])"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"name": "showNotifications",
|
|
2251
|
+
"type": "boolean",
|
|
2252
|
+
"default": "true",
|
|
2253
|
+
"description": "Exibe ou oculta o sino de notificações — use false quando o produto não tem esse conceito",
|
|
2254
|
+
"example": "showNotifications={false}"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "products",
|
|
2258
|
+
"type": "HeaderProduct[]",
|
|
2259
|
+
"default": "[]",
|
|
2260
|
+
"description": "Lista de produtos Kenlo para navegação cruzada — o botão de grid só aparece quando há mais de 1 item (1 item = o próprio produto atual, sem destino pra navegar)",
|
|
2261
|
+
"example": "[{ label: 'Sites' }, { label: 'CRM' }]"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "user",
|
|
2265
|
+
"type": "{ name, initials?, code?, company?, avatarSrc? }",
|
|
2266
|
+
"default": "—",
|
|
2267
|
+
"description": "Dados do usuário logado exibidos no perfil e no avatar",
|
|
2268
|
+
"example": "{ name: 'Maria R.', initials: 'MR', company: 'Imob Alfa' }"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
"name": "profileMenuItems",
|
|
2272
|
+
"type": "HeaderProfileMenuItem[]",
|
|
2273
|
+
"default": "[]",
|
|
2274
|
+
"description": "Itens do menu de perfil (desktop e mobile), abaixo dos dados do usuário — vazio por padrão, nada decorativo é assumido",
|
|
2275
|
+
"example": "[{ label: 'Editar perfil', onClick: () => {} }]"
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"name": "onLogout",
|
|
2279
|
+
"type": "() => void",
|
|
2280
|
+
"default": "—",
|
|
2281
|
+
"description": "Ação de sair — some por completo quando não é passado. Sempre a última linha (desktop e mobile)",
|
|
2282
|
+
"example": "() => signOut()"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"name": "logoutLabel",
|
|
2286
|
+
"type": "string",
|
|
2287
|
+
"default": "'Sair'",
|
|
2288
|
+
"description": "Texto da linha de logout",
|
|
2289
|
+
"example": "'Sair'"
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"name": "contextSelector",
|
|
2293
|
+
"type": "ReactNode",
|
|
2294
|
+
"default": "—",
|
|
2295
|
+
"description": "Slot para seletor de contexto (unidade, site ou empresa)",
|
|
2296
|
+
"example": "<Select label=\"Unidade\" options={units} />"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
"name": "rightSlot",
|
|
2300
|
+
"type": "ReactNode",
|
|
2301
|
+
"default": "—",
|
|
2302
|
+
"description": "Slot livre do lado direito, antes do avatar — ex.: um badge de versão",
|
|
2303
|
+
"example": "<Badge label=\"v2.0.3\" variant=\"neutral\" />"
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
"name": "onFAQs",
|
|
2307
|
+
"type": "() => void",
|
|
2308
|
+
"default": "—",
|
|
2309
|
+
"description": "Callback disparado ao clicar no botão de FAQs",
|
|
2310
|
+
"example": "() => openFAQsPanel()"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
"name": "showFAQs",
|
|
2314
|
+
"type": "boolean",
|
|
2315
|
+
"default": "true",
|
|
2316
|
+
"description": "Exibe ou oculta o botão de FAQs na barra",
|
|
2317
|
+
"example": "showFAQs={false}"
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
"name": "className",
|
|
2321
|
+
"type": "string",
|
|
2322
|
+
"default": "''",
|
|
2323
|
+
"description": "Classe CSS adicional no elemento raiz do Header",
|
|
2324
|
+
"example": "'header-main'"
|
|
2325
|
+
}
|
|
2326
|
+
],
|
|
2327
|
+
"subComponents": []
|
|
2328
|
+
},
|
|
2171
2329
|
{
|
|
2172
2330
|
"name": "Icon",
|
|
2173
2331
|
"kind": "value",
|
|
@@ -2262,16 +2420,16 @@
|
|
|
2262
2420
|
},
|
|
2263
2421
|
{
|
|
2264
2422
|
"name": "variant",
|
|
2265
|
-
"type": "'primary' | 'neutral'",
|
|
2423
|
+
"type": "'primary' | 'neutral' | 'inverse'",
|
|
2266
2424
|
"default": "'primary'",
|
|
2267
|
-
"description": "'primary' = cor do tema ativo · 'neutral' = cinza neutro
|
|
2425
|
+
"description": "'primary' = cor do tema ativo · 'neutral' = cinza neutro, para chevrons e ações secundárias · 'inverse' = ícone branco com hover claro, para o botão sobre uma foto ou um fundo escuro",
|
|
2268
2426
|
"example": "variant=\"primary\""
|
|
2269
2427
|
},
|
|
2270
2428
|
{
|
|
2271
2429
|
"name": "size",
|
|
2272
|
-
"type": "'sm' | 'md' | 'lg'",
|
|
2430
|
+
"type": "'xs' | 'sm' | 'md' | 'lg'",
|
|
2273
2431
|
"default": "'sm'",
|
|
2274
|
-
"description": "Tamanho
|
|
2432
|
+
"description": "Tamanho que o botão ocupa — 'xs' = 24px (só o ícone entra na linha; o hover, o pressionado e a área de toque continuam com 32px em volta) · 'sm' = 32px · 'md' = 40px · 'lg' = 48px. O ícone é sempre 24px independente do tamanho.",
|
|
2275
2433
|
"example": "size=\"sm\""
|
|
2276
2434
|
},
|
|
2277
2435
|
{
|
|
@@ -2296,6 +2454,13 @@
|
|
|
2296
2454
|
"description": "Label acessível — obrigatório: não há como derivar um rótulo automático de um ícone arbitrário",
|
|
2297
2455
|
"example": "aria-label=\"Excluir contato\""
|
|
2298
2456
|
},
|
|
2457
|
+
{
|
|
2458
|
+
"name": "aria-expanded",
|
|
2459
|
+
"type": "boolean",
|
|
2460
|
+
"default": "—",
|
|
2461
|
+
"description": "Diz ao leitor de tela se o que o botão abre está aberto — gatilho de menu, gaveta ou acordeão. Os demais atributos de botão (aria-*, onKeyDown, title…) também chegam ao elemento raiz",
|
|
2462
|
+
"example": "aria-expanded={open}"
|
|
2463
|
+
},
|
|
2299
2464
|
{
|
|
2300
2465
|
"name": "className",
|
|
2301
2466
|
"type": "string",
|
|
@@ -2852,16 +3017,16 @@
|
|
|
2852
3017
|
},
|
|
2853
3018
|
{
|
|
2854
3019
|
"name": "iconVariant",
|
|
2855
|
-
"type": "'neutral' | 'primary'",
|
|
3020
|
+
"type": "'neutral' | 'primary' | 'inverse'",
|
|
2856
3021
|
"default": "'primary'",
|
|
2857
|
-
"description": "Variant de cor do IconButton interno — use 'neutral' para ícones de opções e chevrons.",
|
|
3022
|
+
"description": "Variant de cor do IconButton interno — use 'neutral' para ícones de opções e chevrons, 'inverse' sobre foto ou fundo escuro.",
|
|
2858
3023
|
"example": "iconVariant=\"primary\""
|
|
2859
3024
|
},
|
|
2860
3025
|
{
|
|
2861
3026
|
"name": "iconSize",
|
|
2862
|
-
"type": "'sm' | 'md' | 'lg'",
|
|
3027
|
+
"type": "'xs' | 'sm' | 'md' | 'lg'",
|
|
2863
3028
|
"default": "'sm'",
|
|
2864
|
-
"description": "Tamanho do IconButton interno — o ícone continua 24px em qualquer tamanho.",
|
|
3029
|
+
"description": "Tamanho do IconButton interno — o ícone continua 24px em qualquer tamanho; 'xs' ocupa só os 24px do ícone na linha.",
|
|
2865
3030
|
"example": "iconSize=\"sm\""
|
|
2866
3031
|
},
|
|
2867
3032
|
{
|
|
@@ -3883,9 +4048,8 @@
|
|
|
3883
4048
|
{
|
|
3884
4049
|
"name": "active",
|
|
3885
4050
|
"type": "boolean",
|
|
3886
|
-
"default": "
|
|
3887
|
-
"
|
|
3888
|
-
"description": "Estado ativo — preenchido com cor primária. Inativo = apenas contorno",
|
|
4051
|
+
"default": "—",
|
|
4052
|
+
"description": "Estado ativo de uma pílula de filtro ou alternância — preenchida com a cor primária; false = só o contorno. Omita quando a pílula é uma ação (abre algo, navega): sem active ela é anunciada como botão simples, sem estado ligado/desligado",
|
|
3889
4053
|
"example": "active={isActive}"
|
|
3890
4054
|
},
|
|
3891
4055
|
{
|
|
@@ -5459,6 +5623,20 @@
|
|
|
5459
5623
|
"default": "true",
|
|
5460
5624
|
"description": "Exibe o botão de fechar (✕) — ligado por padrão; passar false para ocultar",
|
|
5461
5625
|
"example": "showDismiss: false"
|
|
5626
|
+
},
|
|
5627
|
+
{
|
|
5628
|
+
"name": "onDismiss",
|
|
5629
|
+
"type": "() => void",
|
|
5630
|
+
"default": "—",
|
|
5631
|
+
"description": "Callback do clique no botão de fechar. Preenchido pelo ToastProvider ao usar toast() — só é passado à mão quando o <Toast> é renderizado diretamente",
|
|
5632
|
+
"example": "onDismiss: () => remove(id)"
|
|
5633
|
+
},
|
|
5634
|
+
{
|
|
5635
|
+
"name": "leaving",
|
|
5636
|
+
"type": "boolean",
|
|
5637
|
+
"default": "false",
|
|
5638
|
+
"description": "Dispara a animação de saída. Controlado pelo ToastProvider durante a remoção — não passar à mão no uso normal",
|
|
5639
|
+
"example": "leaving"
|
|
5462
5640
|
}
|
|
5463
5641
|
],
|
|
5464
5642
|
"subComponents": []
|
|
@@ -5646,6 +5824,122 @@
|
|
|
5646
5824
|
"subComponents": []
|
|
5647
5825
|
}
|
|
5648
5826
|
],
|
|
5827
|
+
"api": [
|
|
5828
|
+
{
|
|
5829
|
+
"name": "NavContext",
|
|
5830
|
+
"import": "import { NavContext } from '@kenlo/kdls-design-system'",
|
|
5831
|
+
"from": "components/Nav/Nav.tsx"
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
"name": "SCROLLBAR_CLASSES",
|
|
5835
|
+
"import": "import { SCROLLBAR_CLASSES } from '@kenlo/kdls-design-system'",
|
|
5836
|
+
"from": "foundations/Scrollbar/index.ts"
|
|
5837
|
+
},
|
|
5838
|
+
{
|
|
5839
|
+
"name": "Toaster",
|
|
5840
|
+
"import": "import { Toaster } from '@kenlo/kdls-design-system'",
|
|
5841
|
+
"from": "components/Toast/index.ts"
|
|
5842
|
+
},
|
|
5843
|
+
{
|
|
5844
|
+
"name": "applyCustomScheme",
|
|
5845
|
+
"import": "import { applyCustomScheme } from '@kenlo/kdls-design-system'",
|
|
5846
|
+
"from": "components/ColorScheme/ColorScheme.ts"
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
"name": "clearCustomScheme",
|
|
5850
|
+
"import": "import { clearCustomScheme } from '@kenlo/kdls-design-system'",
|
|
5851
|
+
"from": "components/ColorScheme/ColorScheme.ts"
|
|
5852
|
+
},
|
|
5853
|
+
{
|
|
5854
|
+
"name": "configureKdls",
|
|
5855
|
+
"import": "import { configureKdls } from '@kenlo/kdls-design-system'",
|
|
5856
|
+
"from": "components/Theme/Theme.ts"
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
"name": "generatePalette",
|
|
5860
|
+
"import": "import { generatePalette } from '@kenlo/kdls-design-system'",
|
|
5861
|
+
"from": "components/ColorScheme/ColorScheme.ts"
|
|
5862
|
+
},
|
|
5863
|
+
{
|
|
5864
|
+
"name": "lastDays",
|
|
5865
|
+
"import": "import { lastDays } from '@kenlo/kdls-design-system'",
|
|
5866
|
+
"from": "components/DatePicker/index.ts"
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
"name": "nextDays",
|
|
5870
|
+
"import": "import { nextDays } from '@kenlo/kdls-design-system'",
|
|
5871
|
+
"from": "components/DatePicker/index.ts"
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
"name": "toast",
|
|
5875
|
+
"import": "import { toast } from '@kenlo/kdls-design-system'",
|
|
5876
|
+
"from": "components/Toast/index.ts"
|
|
5877
|
+
},
|
|
5878
|
+
{
|
|
5879
|
+
"name": "useCustomScheme",
|
|
5880
|
+
"import": "import { useCustomScheme } from '@kenlo/kdls-design-system'",
|
|
5881
|
+
"from": "components/ColorScheme/ColorScheme.ts"
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
"name": "useFormContext",
|
|
5885
|
+
"import": "import { useFormContext } from '@kenlo/kdls-design-system'",
|
|
5886
|
+
"from": "components/Form/index.ts"
|
|
5887
|
+
}
|
|
5888
|
+
],
|
|
5889
|
+
"icons": {
|
|
5890
|
+
"note": "49 icon exports — import by name from @kenlo/kdls-design-system, or use <Icon />.",
|
|
5891
|
+
"names": [
|
|
5892
|
+
"Facebook",
|
|
5893
|
+
"FacebookColor",
|
|
5894
|
+
"Google",
|
|
5895
|
+
"GoogleColor",
|
|
5896
|
+
"Instagram",
|
|
5897
|
+
"InstagramColor",
|
|
5898
|
+
"KenloKFilled",
|
|
5899
|
+
"KenloKRegular",
|
|
5900
|
+
"LeadDoubleFilled",
|
|
5901
|
+
"LeadDoubleRegular",
|
|
5902
|
+
"LeadInfoFilled",
|
|
5903
|
+
"LeadInfoRegular",
|
|
5904
|
+
"LeadSingleFilled",
|
|
5905
|
+
"LeadSingleRegular",
|
|
5906
|
+
"LeadUndefinedFilled",
|
|
5907
|
+
"LeadUndefinedRegular",
|
|
5908
|
+
"LeadVerifiedFilled",
|
|
5909
|
+
"LeadVerifiedRegular",
|
|
5910
|
+
"LinkedIn",
|
|
5911
|
+
"LinkedInColor",
|
|
5912
|
+
"LyaDoubleFilled",
|
|
5913
|
+
"LyaDoubleRegular",
|
|
5914
|
+
"LyaEditor",
|
|
5915
|
+
"LyaFichaLimpa",
|
|
5916
|
+
"LyaKoin",
|
|
5917
|
+
"LyaOmni",
|
|
5918
|
+
"LyaOraculo",
|
|
5919
|
+
"LyaSdr",
|
|
5920
|
+
"LyaSingleFilled",
|
|
5921
|
+
"LyaSingleRegular",
|
|
5922
|
+
"LyaStudio",
|
|
5923
|
+
"Messenger",
|
|
5924
|
+
"MessengerColor",
|
|
5925
|
+
"Pinterest",
|
|
5926
|
+
"PinterestColor",
|
|
5927
|
+
"Telegram",
|
|
5928
|
+
"TelegramColor",
|
|
5929
|
+
"VideoHorizontalFilled",
|
|
5930
|
+
"VideoHorizontalRegular",
|
|
5931
|
+
"VideoTour3DFilled",
|
|
5932
|
+
"VideoTour3DRegular",
|
|
5933
|
+
"VideoVerticalFilled",
|
|
5934
|
+
"VideoVerticalRegular",
|
|
5935
|
+
"WhatsApp",
|
|
5936
|
+
"WhatsAppColor",
|
|
5937
|
+
"X",
|
|
5938
|
+
"XColor",
|
|
5939
|
+
"YouTube",
|
|
5940
|
+
"YouTubeColor"
|
|
5941
|
+
]
|
|
5942
|
+
},
|
|
5649
5943
|
"tokens": {
|
|
5650
5944
|
"body": [
|
|
5651
5945
|
{
|
|
@@ -7619,6 +7913,20 @@
|
|
|
7619
7913
|
"value": "var(--color-neutral-90)"
|
|
7620
7914
|
}
|
|
7621
7915
|
],
|
|
7916
|
+
"duration": [
|
|
7917
|
+
{
|
|
7918
|
+
"name": "--duration-base",
|
|
7919
|
+
"value": "200ms"
|
|
7920
|
+
},
|
|
7921
|
+
{
|
|
7922
|
+
"name": "--duration-fast",
|
|
7923
|
+
"value": "120ms"
|
|
7924
|
+
},
|
|
7925
|
+
{
|
|
7926
|
+
"name": "--duration-slow",
|
|
7927
|
+
"value": "300ms"
|
|
7928
|
+
}
|
|
7929
|
+
],
|
|
7622
7930
|
"ease": [
|
|
7623
7931
|
{
|
|
7624
7932
|
"name": "--ease-spring",
|
|
@@ -7688,6 +7996,10 @@
|
|
|
7688
7996
|
"name": "--font-weight-bold",
|
|
7689
7997
|
"value": "700"
|
|
7690
7998
|
},
|
|
7999
|
+
{
|
|
8000
|
+
"name": "--font-weight-medium",
|
|
8001
|
+
"value": "500"
|
|
8002
|
+
},
|
|
7691
8003
|
{
|
|
7692
8004
|
"name": "--font-weight-regular",
|
|
7693
8005
|
"value": "400"
|
|
@@ -7883,8 +8195,6 @@
|
|
|
7883
8195
|
"ColorScheme",
|
|
7884
8196
|
"Field",
|
|
7885
8197
|
"Floating",
|
|
7886
|
-
"Form",
|
|
7887
|
-
"Header",
|
|
7888
8198
|
"Menu",
|
|
7889
8199
|
"Radio",
|
|
7890
8200
|
"Theme"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenlo/kdls-design-system",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "KDLS Design System — componentes React + TypeScript",
|
|
@@ -59,7 +59,12 @@
|
|
|
59
59
|
"gen:manifest": "node scripts/gen-manifest.mjs",
|
|
60
60
|
"prepublishOnly": "npm run build:lib",
|
|
61
61
|
"gen:font": "node scripts/gen-font.mjs",
|
|
62
|
-
"check:fonts": "node scripts/check-fonts.mjs"
|
|
62
|
+
"check:fonts": "node scripts/check-fonts.mjs",
|
|
63
|
+
"check:tokens": "node scripts/gen-tokens.mjs --check",
|
|
64
|
+
"check:styles": "node scripts/gen-styles.mjs --check",
|
|
65
|
+
"check:manifest": "node scripts/gen-manifest.mjs --check",
|
|
66
|
+
"check:props": "node scripts/check-props.mjs --check",
|
|
67
|
+
"check:all": "npm run check:tokens && npm run check:styles && npm run check:manifest && npm run check:props && npm run typecheck && npm run test:run"
|
|
63
68
|
},
|
|
64
69
|
"peerDependencies": {
|
|
65
70
|
"@fluentui/react-icons": "^2.0.320",
|