@ffid-br/tailor-ui 0.1.0 → 0.1.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/README.md +11 -0
- package/dist/index.es.js +148 -131
- package/dist/index.umd.js +1 -1
- package/dist/style.css +6 -5
- package/dist/types/components/TailorBrandMark.d.ts +6 -0
- package/dist/types/components/TailorLoader.d.ts +9 -1
- package/package.json +8 -2
|
@@ -4,7 +4,15 @@ export type TailorLoaderProps = {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
/** Linha de apoio abaixo do rótulo (o que está sendo carregado, ou quanto falta). */
|
|
6
6
|
detail?: string;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* `inline`: no lugar do conteúdo. `overlay`: tela inteira, bloqueia.
|
|
9
|
+
* `compact`: uma linha (fio curto + rótulo), para botões e listas.
|
|
10
|
+
* `caixa`: a régua numa caixa própria de 377px, com fundo e borda — para painéis
|
|
11
|
+
* estreitos e fundos com estampa (chat), onde o inline ficaria transparente.
|
|
12
|
+
*/
|
|
13
|
+
variant?: 'inline' | 'overlay' | 'compact' | 'caixa';
|
|
14
|
+
/** Tira o respiro externo do `inline`/`caixa` (quem chama já tem espaçamento). */
|
|
15
|
+
semRespiro?: boolean;
|
|
8
16
|
className?: string;
|
|
9
17
|
};
|
|
10
18
|
/** Loader da marca (fita métrica). Sempre expõe `role="status"` com o rótulo. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ffid-br/tailor-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"description": "Primitivos de marca Tailor.ia em React: loader, intro, transição de login e lockup.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.umd.js",
|
|
@@ -57,7 +57,13 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"keywords": [
|
|
60
|
+
"keywords": [
|
|
61
|
+
"react",
|
|
62
|
+
"tailor",
|
|
63
|
+
"design-system",
|
|
64
|
+
"loader",
|
|
65
|
+
"framer-motion"
|
|
66
|
+
],
|
|
61
67
|
"author": "FFID",
|
|
62
68
|
"license": "MIT",
|
|
63
69
|
"repository": {
|