@1doc/1ds-vue 2.8.0 → 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/CHANGELOG.md +1549 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1128 -29
- package/dist/index.mjs +12299 -7939
- package/dist/index.umd.js +4 -4
- package/package.json +5 -4
- package/src/index.ts +26 -0
- package/src/teste/accordion-conteudo-livre.test.mjs +44 -0
- package/src/teste/accordion-titulo-neutro.test.mjs +32 -0
- package/src/teste/appsubheader-regiao.test.mjs +18 -0
- package/src/teste/atributos.test.mjs +91 -0
- package/src/teste/attachmentcard-ia.test.mjs +48 -0
- package/src/teste/attachmentcard-lista.test.mjs +39 -0
- package/src/teste/attachmentcard-sm.test.mjs +28 -0
- package/src/teste/avatargroup-overlap.test.mjs +45 -0
- package/src/teste/badge-neutro-colado.test.mjs +30 -0
- package/src/teste/badge-tag.test.mjs +53 -0
- package/src/teste/box-item-flex.test.mjs +84 -0
- package/src/teste/box-layout.test.mjs +57 -0
- package/src/teste/button.test.mjs +34 -0
- package/src/teste/calendar-slots-cabecalho.test.mjs +46 -0
- package/src/teste/calendar.test.mjs +179 -0
- package/src/teste/chips-xs.test.mjs +33 -0
- package/src/teste/coachmark-sem-veu.test.mjs +70 -0
- package/src/teste/coachmark.test.mjs +119 -0
- package/src/teste/color-picker-xs.test.mjs +28 -0
- package/src/teste/color-picker.test.mjs +79 -0
- package/src/teste/datatable-arvore-variantes.test.mjs +194 -0
- package/src/teste/datatable-documento.test.mjs +106 -0
- package/src/teste/datatable-slots.test.mjs +105 -0
- package/src/teste/descriptionlist-compacta.test.mjs +32 -0
- package/src/teste/dom.mjs +170 -0
- package/src/teste/empty-state-titulo-rico.test.mjs +39 -0
- package/src/teste/fileinput-trigger.test.mjs +36 -0
- package/src/teste/icon-picker.test.mjs +98 -0
- package/src/teste/input-agrupado.test.mjs +44 -0
- package/src/teste/input-mascara-afins.test.mjs +64 -0
- package/src/teste/kbd-code-block.test.mjs +76 -0
- package/src/teste/list-item-standalone.test.mjs +75 -0
- package/src/teste/list.test.mjs +163 -0
- package/src/teste/modal-variantes.test.mjs +79 -0
- package/src/teste/org-chart.test.mjs +131 -0
- package/src/teste/otp-input.test.mjs +130 -0
- package/src/teste/popover-maxheight.test.mjs +26 -0
- package/src/teste/renderizar.mjs +64 -0
- package/src/teste/rich-text-editor-alinha-imagem-tabela.test.mjs +164 -0
- package/src/teste/rich-text-editor-estilo-de-texto.test.mjs +87 -0
- package/src/teste/rich-text-editor.test.mjs +210 -0
- package/src/teste/segmented-contador.test.mjs +39 -0
- package/src/teste/select-aberto-controlado-flutuante.test.mjs +120 -0
- package/src/teste/select-filtro-cor-tamanho.test.mjs +62 -0
- package/src/teste/select-placement-filtro.test.mjs +49 -0
- package/src/teste/stack-box-raiz-unica.test.mjs +134 -0
- package/src/teste/stack.test.mjs +80 -0
- package/src/teste/statcard-rotulo-topo.test.mjs +34 -0
- package/src/teste/statcard-secundaria-tom.test.mjs +41 -0
- package/src/teste/tabs-contador-fechavel.test.mjs +60 -0
- package/src/teste/toast-acao-detalhes.test.mjs +48 -0
- package/src/teste/tooltip-dark.test.mjs +28 -0
- package/src/utils/calendario.ts +78 -0
- package/src/utils/html-seguro.ts +197 -0
- package/src/utils/paleta-de-cores.ts +34 -0
- package/src/utils/texto.ts +5 -0
- package/src/utils/toast.ts +12 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,15 +3,39 @@
|
|
|
3
3
|
|
|
4
4
|
import type { IconLookup as FaIconLookup, Transform, FaSymbol } from "@fortawesome/fontawesome-svg-core";
|
|
5
5
|
|
|
6
|
-
// Theme types
|
|
7
|
-
|
|
6
|
+
// Theme types (copiados de packages/core/src/utils/theme.ts)
|
|
7
|
+
/**
|
|
8
|
+
* Tipos de temas oficiais do Design System
|
|
9
|
+
*/
|
|
10
|
+
export type Theme =
|
|
11
|
+
| "1doc"
|
|
12
|
+
| "1ds-red"
|
|
13
|
+
| "1ds-green"
|
|
14
|
+
| "1ds-orange"
|
|
15
|
+
| "1ds-yellow"
|
|
16
|
+
| "1ds-purple"
|
|
17
|
+
| "1doc-dark"
|
|
18
|
+
| "1ds-red-dark"
|
|
19
|
+
| "1ds-green-dark"
|
|
20
|
+
| "1ds-orange-dark"
|
|
21
|
+
| "1ds-yellow-dark"
|
|
22
|
+
| "1ds-purple-dark"
|
|
23
|
+
| "1doc-high-contrast";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Nome de tema aceito pelas APIs: um tema oficial OU um tema custom de
|
|
27
|
+
* marca própria registrado via registerTheme() (white-label).
|
|
28
|
+
* O truque `(string & {})` preserva o autocomplete dos oficiais.
|
|
29
|
+
*/
|
|
30
|
+
export type ThemeName = Theme | (string & {});
|
|
8
31
|
|
|
9
32
|
// Theme utilities
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
33
|
+
export declare function registerTheme(theme: string): void;
|
|
34
|
+
export declare function setTheme(theme: ThemeName): void;
|
|
35
|
+
export declare function getTheme(): ThemeName;
|
|
36
|
+
export declare function initTheme(): void;
|
|
37
|
+
export declare function getAvailableThemes(): ThemeName[];
|
|
38
|
+
export declare function onThemeChange(callback: (theme: ThemeName) => void): () => void;
|
|
15
39
|
|
|
16
40
|
// FontAwesome
|
|
17
41
|
export { library } from "@fortawesome/fontawesome-svg-core";
|
|
@@ -71,10 +95,25 @@ export interface AILabelProps {
|
|
|
71
95
|
children?: any;
|
|
72
96
|
}
|
|
73
97
|
|
|
98
|
+
export interface AccordionItemData {
|
|
99
|
+
id: string;
|
|
100
|
+
title: string;
|
|
101
|
+
/**
|
|
102
|
+
* Conteúdo do painel. React: aceita qualquer nó. Vue: aqui vai só texto; para
|
|
103
|
+
* conteúdo livre (campos, botões) use o slot `#content-<id>` do item, que
|
|
104
|
+
* recebe `{ item }` e vale sobre este texto.
|
|
105
|
+
*/
|
|
106
|
+
content: any;
|
|
107
|
+
disabled?: boolean;
|
|
108
|
+
defaultOpen?: boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
74
111
|
export interface AccordionProps {
|
|
75
112
|
items: AccordionItemData[];
|
|
76
113
|
multiple?: boolean;
|
|
77
114
|
variant?: "default" | "bordered" | "separated";
|
|
115
|
+
/** Título dos itens. `neutral`: 14px na cor do texto, peso médio. @default 'default' */
|
|
116
|
+
titleVariant?: "default" | "neutral";
|
|
78
117
|
className?: string;
|
|
79
118
|
}
|
|
80
119
|
|
|
@@ -298,6 +337,19 @@ export interface AppShellProps {
|
|
|
298
337
|
contentLabel?: string;
|
|
299
338
|
}
|
|
300
339
|
|
|
340
|
+
export interface AppSidebarItem {
|
|
341
|
+
/** Identificador do item — é o que volta em `onSelect`. */
|
|
342
|
+
id: string;
|
|
343
|
+
/** Rótulo. Continua existindo para leitor de tela com a barra fechada. */
|
|
344
|
+
label: string;
|
|
345
|
+
/** Ícone Font Awesome como objeto importado. */
|
|
346
|
+
icon?: IconProp;
|
|
347
|
+
/** Contador ao lado do rótulo (ex.: não lidos). */
|
|
348
|
+
badge?: string | number;
|
|
349
|
+
/** Desabilita o item. */
|
|
350
|
+
disabled?: boolean;
|
|
351
|
+
}
|
|
352
|
+
|
|
301
353
|
export interface AppSidebarProps {
|
|
302
354
|
/** Itens de navegação. */
|
|
303
355
|
items?: AppSidebarItem[];
|
|
@@ -339,16 +391,48 @@ export interface AppSubheaderProps {
|
|
|
339
391
|
children?: any;
|
|
340
392
|
}
|
|
341
393
|
|
|
394
|
+
export interface AttachmentCardField {
|
|
395
|
+
label: string;
|
|
396
|
+
value: string;
|
|
397
|
+
/** Mostra o botão de copiar ao lado do valor. */
|
|
398
|
+
copyable?: boolean;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface AttachmentCardStatusDetails {
|
|
402
|
+
/** Título do painel. Padrão: o nome do arquivo. */
|
|
403
|
+
title?: string;
|
|
404
|
+
/** O que a conferência concluiu, em uma ou duas frases. */
|
|
405
|
+
description?: string;
|
|
406
|
+
/** Dados extraídos do documento. */
|
|
407
|
+
fields?: AttachmentCardField[];
|
|
408
|
+
}
|
|
409
|
+
|
|
342
410
|
export interface AttachmentCardProps {
|
|
343
411
|
fileName: string;
|
|
344
412
|
documentType?: string;
|
|
345
413
|
required?: boolean;
|
|
346
|
-
status?: "positive" | "negative";
|
|
414
|
+
status?: "positive" | "negative" | "ai";
|
|
347
415
|
statusLabel?: string;
|
|
348
416
|
statusIcon?: IconProp;
|
|
349
417
|
statusDetails?: AttachmentCardStatusDetails;
|
|
418
|
+
/**
|
|
419
|
+
* Conteúdo livre do painel do selo, no lugar do resultado da conferência
|
|
420
|
+
* (`statusDetails`): ações, campos, texto. React: o elemento; Vue: o slot
|
|
421
|
+
* `panel`. Com ele o selo vira botão mesmo sem `statusDetails`.
|
|
422
|
+
*/
|
|
423
|
+
panel?: any;
|
|
424
|
+
/** Largura do painel, em px. @default 300 */
|
|
425
|
+
panelWidth?: number;
|
|
426
|
+
/**
|
|
427
|
+
* Fecha o painel e devolve o foco ao selo quando alguém aciona um botão ou
|
|
428
|
+
* link de dentro dele. O botão de copiar um campo não conta. Sem a prop, o
|
|
429
|
+
* painel fica aberto até Esc, clique fora ou o foco sair.
|
|
430
|
+
*/
|
|
431
|
+
closePanelOnAction?: boolean;
|
|
350
432
|
onCopyField?: (field: AttachmentCardField) => void;
|
|
351
433
|
icon?: IconProp;
|
|
434
|
+
/** Tamanho do cartão. `sm`: ícone do preview de 40px e ícone do rodapé de 12px. @default 'md' */
|
|
435
|
+
size?: "md" | "sm";
|
|
352
436
|
onOpen?: (event?: any) => void;
|
|
353
437
|
openAriaLabel?: string;
|
|
354
438
|
/** Complemento lido depois do selo, para dizer de qual documento ele é. Recebe o tipo de documento (ou o nome do arquivo). Troque para traduzir. @default (subject) => 'conferência de ' + subject */
|
|
@@ -416,6 +500,23 @@ export interface AvatarProps {
|
|
|
416
500
|
onError?: (event?: any) => void;
|
|
417
501
|
}
|
|
418
502
|
|
|
503
|
+
export interface AvatarGroupItem {
|
|
504
|
+
/**
|
|
505
|
+
* URL da imagem. Quando ausente, exibe as iniciais derivadas de `name`.
|
|
506
|
+
*/
|
|
507
|
+
src?: string;
|
|
508
|
+
/**
|
|
509
|
+
* Nome da pessoa. Usado para acessibilidade (title/aria-label) e para
|
|
510
|
+
* derivar as iniciais quando não há imagem.
|
|
511
|
+
*/
|
|
512
|
+
name: string;
|
|
513
|
+
/**
|
|
514
|
+
* Iniciais explícitas. Se omitido, são calculadas automaticamente a partir
|
|
515
|
+
* de `name` (primeira letra do primeiro e do segundo nome).
|
|
516
|
+
*/
|
|
517
|
+
initials?: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
419
520
|
export interface AvatarGroupProps {
|
|
420
521
|
/** Rótulo acessível do grupo. @default 'Grupo de avatares' */
|
|
421
522
|
ariaLabel?: string;
|
|
@@ -434,6 +535,23 @@ export interface AvatarGroupProps {
|
|
|
434
535
|
* @default 'md'
|
|
435
536
|
*/
|
|
436
537
|
size?: "sm" | "md" | "lg";
|
|
538
|
+
/**
|
|
539
|
+
* Quantas pessoas a mais existem além das que estão em `avatars`: entra na
|
|
540
|
+
* conta do "+N" sem precisar de itens-fantasma. Com 16 responsáveis, passe
|
|
541
|
+
* os 4 primeiros em `avatars` e `overflowCount={12}` para ver "+12". Soma com
|
|
542
|
+
* o que passar de `max` dentro de `avatars`.
|
|
543
|
+
* @default 0
|
|
544
|
+
*/
|
|
545
|
+
overflowCount?: number;
|
|
546
|
+
/**
|
|
547
|
+
* Quanto cada avatar avança sobre o anterior, em px. O padrão é 8
|
|
548
|
+
* (`spacing-nano`); 6 deixa as iniciais menos cortadas.
|
|
549
|
+
*/
|
|
550
|
+
overlap?: number;
|
|
551
|
+
/**
|
|
552
|
+
* Largura do anel (a borda da cor do fundo) de cada avatar, em px. O padrão é 1,5.
|
|
553
|
+
*/
|
|
554
|
+
ring?: number;
|
|
437
555
|
/**
|
|
438
556
|
* Classes adicionais.
|
|
439
557
|
*/
|
|
@@ -457,16 +575,37 @@ export interface AvatarGroupProps {
|
|
|
457
575
|
|
|
458
576
|
export interface BadgeProps {
|
|
459
577
|
/**
|
|
460
|
-
* Variação de cor semântica.
|
|
578
|
+
* Variação de cor semântica. `new` é o selo de novidade: amarelo, em caixa
|
|
579
|
+
* alta e pílula, para destacar uma funcionalidade recém-chegada.
|
|
461
580
|
* @default 'neutral'
|
|
462
581
|
*/
|
|
463
|
-
variant?: "neutral" | "positive" | "negative" | "info" | "primary";
|
|
582
|
+
variant?: "neutral" | "positive" | "negative" | "info" | "primary" | "new";
|
|
464
583
|
|
|
465
584
|
/**
|
|
466
|
-
* Tamanho do badge.
|
|
585
|
+
* Tamanho do badge. `2xs` é o compacto (16px, fonte de 10px) para selo de
|
|
586
|
+
* setor e de contagem dentro de linha de lista e card.
|
|
467
587
|
* @default 'md'
|
|
468
588
|
*/
|
|
469
|
-
size?: "
|
|
589
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "pill";
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Cola o badge no canto superior do card (rótulo de card, como
|
|
593
|
+
* "Tarefa pendente"): cantos de baixo arredondados, os de cima retos.
|
|
594
|
+
* Posiciona em `absolute`, então o pai precisa de `position: relative`
|
|
595
|
+
* (o `Card` e o `Box` com `position` já servem). O canto é o esquerdo, ou o
|
|
596
|
+
* direito com `attachedSide="right"`. Com `variant="neutral"` e `appearance="solid"` o
|
|
597
|
+
* rótulo colado é o cinza claro com texto escuro (o "Tarefa manual" do CrisDoc), e não o
|
|
598
|
+
* cinza escuro do `solid`, pesado demais para um rótulo de card.
|
|
599
|
+
* @default false
|
|
600
|
+
*/
|
|
601
|
+
attached?: boolean;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Em que canto do card o `attached` cola: `left` (padrão) ou `right`.
|
|
605
|
+
* Só vale com `attached`.
|
|
606
|
+
* @default 'left'
|
|
607
|
+
*/
|
|
608
|
+
attachedSide?: "left" | "right";
|
|
470
609
|
|
|
471
610
|
/**
|
|
472
611
|
* Estilo visual do badge.
|
|
@@ -510,6 +649,13 @@ export interface BadgeProps {
|
|
|
510
649
|
|
|
511
650
|
}
|
|
512
651
|
|
|
652
|
+
export interface BottomNavigationItem {
|
|
653
|
+
key: string;
|
|
654
|
+
label: string;
|
|
655
|
+
icon?: IconProp;
|
|
656
|
+
disabled?: boolean;
|
|
657
|
+
}
|
|
658
|
+
|
|
513
659
|
export interface BottomNavigationProps {
|
|
514
660
|
items: BottomNavigationItem[];
|
|
515
661
|
value?: string;
|
|
@@ -589,6 +735,18 @@ export interface BottomSheetProps {
|
|
|
589
735
|
}
|
|
590
736
|
|
|
591
737
|
export interface BoxProps {
|
|
738
|
+
/** Elemento HTML renderizado. @default 'div' */
|
|
739
|
+
as?: BoxTag;
|
|
740
|
+
/** Liga o layout flex. Eixo do empilhamento. @default 'vertical' (quando o flex está ligado) */
|
|
741
|
+
direction?: "vertical" | "horizontal";
|
|
742
|
+
/** Liga o layout flex. Espaço entre os filhos, na escala oficial (`none` = 0). Sem valor, não há espaço. */
|
|
743
|
+
gap?: BoxSpacing;
|
|
744
|
+
/** Liga o layout flex. Alinhamento no eixo transversal. */
|
|
745
|
+
align?: "start" | "center" | "end" | "stretch" | "baseline";
|
|
746
|
+
/** Liga o layout flex. Distribuição no eixo principal. */
|
|
747
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
748
|
+
/** Liga o layout flex. Permite quebrar em várias linhas. */
|
|
749
|
+
wrap?: boolean;
|
|
592
750
|
/** Padding em todos os lados. @default 'none' */
|
|
593
751
|
padding?: BoxSpacing;
|
|
594
752
|
/** Padding horizontal. Sobrescreve `padding` no eixo X. */
|
|
@@ -605,12 +763,73 @@ export interface BoxProps {
|
|
|
605
763
|
shadow?: "none" | "level1" | "level2" | "level3";
|
|
606
764
|
/** Ocupa 100% da largura disponível. */
|
|
607
765
|
fullWidth?: boolean;
|
|
766
|
+
/** Ocupa 100% da altura do pai. */
|
|
767
|
+
fullHeight?: boolean;
|
|
768
|
+
/** Como item de Stack/Box flex: cresce para ocupar o espaço livre. */
|
|
769
|
+
grow?: boolean;
|
|
770
|
+
/** Como item flex: `"0"` não encolhe; `"1"` encolhe. */
|
|
771
|
+
shrink?: "0" | "1";
|
|
772
|
+
/** Como item flex: tamanho base. Os números são porcentagem do pai. */
|
|
773
|
+
basis?: "auto" | "0" | "25" | "33" | "50" | "66" | "75" | "100";
|
|
774
|
+
/** `"0"` (já é o padrão do Box) deixa o conteúdo encolher; `"auto"` volta ao mínimo do conteúdo. */
|
|
775
|
+
minWidth?: "0" | "auto";
|
|
776
|
+
/** Overflow nos dois eixos. */
|
|
777
|
+
overflow?: BoxOverflow;
|
|
778
|
+
/** Overflow horizontal (vence `overflow` no eixo X). */
|
|
779
|
+
overflowX?: BoxOverflow;
|
|
780
|
+
/** Overflow vertical (vence `overflow` no eixo Y). */
|
|
781
|
+
overflowY?: BoxOverflow;
|
|
782
|
+
/** Só com `as="form"`: chamado no envio do formulário. */
|
|
783
|
+
onSubmit?: (event: any) => void;
|
|
608
784
|
/** Classes CSS adicionais. */
|
|
609
785
|
className?: string;
|
|
786
|
+
/** ID HTML do elemento raiz. */
|
|
787
|
+
id?: string;
|
|
788
|
+
/** Atributos HTML repassados ao elemento raiz (style, data-*, aria-*…). */
|
|
789
|
+
|
|
790
|
+
style?: any;
|
|
791
|
+
|
|
792
|
+
[key: string]: any;
|
|
610
793
|
/** Conteúdo da caixa. */
|
|
611
794
|
children?: any;
|
|
612
795
|
}
|
|
613
796
|
|
|
797
|
+
export type BoxSpacing =
|
|
798
|
+
| "none"
|
|
799
|
+
| "quarck"
|
|
800
|
+
| "nano"
|
|
801
|
+
| "micro"
|
|
802
|
+
| "mini"
|
|
803
|
+
| "xxxs"
|
|
804
|
+
| "xxs"
|
|
805
|
+
| "xs"
|
|
806
|
+
| "sm"
|
|
807
|
+
| "md"
|
|
808
|
+
| "lg"
|
|
809
|
+
| "xl"
|
|
810
|
+
| "xxl"
|
|
811
|
+
| "xxxl";
|
|
812
|
+
|
|
813
|
+
export type BoxTag =
|
|
814
|
+
| "div"
|
|
815
|
+
| "span"
|
|
816
|
+
| "ul"
|
|
817
|
+
| "ol"
|
|
818
|
+
| "li"
|
|
819
|
+
| "section"
|
|
820
|
+
| "nav"
|
|
821
|
+
| "header"
|
|
822
|
+
| "footer"
|
|
823
|
+
| "form";
|
|
824
|
+
|
|
825
|
+
export type BoxOverflow = "visible" | "hidden" | "auto" | "scroll";
|
|
826
|
+
|
|
827
|
+
export interface BreadcrumbItem {
|
|
828
|
+
label: string;
|
|
829
|
+
href?: string;
|
|
830
|
+
onClick?: () => void;
|
|
831
|
+
}
|
|
832
|
+
|
|
614
833
|
export interface BreadcrumbProps {
|
|
615
834
|
/** Rótulo acessível do trilha. @default 'Navegação estrutural' */
|
|
616
835
|
ariaLabel?: string;
|
|
@@ -624,11 +843,12 @@ export interface ButtonProps {
|
|
|
624
843
|
| "primary"
|
|
625
844
|
| "secondary"
|
|
626
845
|
| "neutral"
|
|
846
|
+
| "neutral-text"
|
|
627
847
|
| "text"
|
|
628
848
|
| "negative"
|
|
629
849
|
| "negative-outlined"
|
|
630
850
|
| "icon";
|
|
631
|
-
size?: "sm" | "md" | "lg";
|
|
851
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
632
852
|
disabled?: boolean;
|
|
633
853
|
type?: "button" | "submit" | "reset";
|
|
634
854
|
children?: any;
|
|
@@ -649,6 +869,65 @@ export interface ButtonProps {
|
|
|
649
869
|
tabIndex?: number;
|
|
650
870
|
}
|
|
651
871
|
|
|
872
|
+
export interface CalendarEvent {
|
|
873
|
+
id?: string;
|
|
874
|
+
date: any;
|
|
875
|
+
title: string;
|
|
876
|
+
color?: string;
|
|
877
|
+
time?: string;
|
|
878
|
+
[key: string]: any;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export interface CalendarDayCell {
|
|
882
|
+
iso: string;
|
|
883
|
+
day: number;
|
|
884
|
+
outside: boolean;
|
|
885
|
+
today: boolean;
|
|
886
|
+
selected: boolean;
|
|
887
|
+
tabIndex: number;
|
|
888
|
+
label: string;
|
|
889
|
+
classes: string;
|
|
890
|
+
visible: CalendarEvent[];
|
|
891
|
+
hidden: number;
|
|
892
|
+
moreText: string;
|
|
893
|
+
moreAria: string;
|
|
894
|
+
[key: string]: any;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export interface CalendarProps {
|
|
898
|
+
events?: CalendarEvent[];
|
|
899
|
+
view?: "month" | "week";
|
|
900
|
+
defaultView?: "month" | "week";
|
|
901
|
+
date?: string;
|
|
902
|
+
defaultDate?: string;
|
|
903
|
+
selectedDate?: string;
|
|
904
|
+
today?: string;
|
|
905
|
+
weekStartsOn?: 0 | 1;
|
|
906
|
+
maxVisible?: number;
|
|
907
|
+
locale?: string;
|
|
908
|
+
ariaLabel?: string;
|
|
909
|
+
previousLabel?: string;
|
|
910
|
+
nextLabel?: string;
|
|
911
|
+
todayLabel?: string;
|
|
912
|
+
monthLabel?: string;
|
|
913
|
+
weekLabel?: string;
|
|
914
|
+
viewLabel?: string;
|
|
915
|
+
hideViewSwitcher?: boolean;
|
|
916
|
+
moreLabel?: string;
|
|
917
|
+
moreAriaLabel?: string;
|
|
918
|
+
dayLabel?: (iso: string, count: number) => string;
|
|
919
|
+
className?: string;
|
|
920
|
+
/** Cabeçalho, à esquerda: um filtro de escopo. React: o nó nesta prop. Vue: o slot `#header-start` (com hífen). */
|
|
921
|
+
headerStart?: any;
|
|
922
|
+
/** Cabeçalho, à direita, antes do seletor de visão: a legenda. React: o nó nesta prop. Vue: o slot `#header-end` (com hífen). */
|
|
923
|
+
headerEnd?: any;
|
|
924
|
+
onDayClick?: (iso: string) => void;
|
|
925
|
+
onEventClick?: (event: CalendarEvent) => void;
|
|
926
|
+
onMoreClick?: (iso: string, hidden: CalendarEvent[]) => void;
|
|
927
|
+
onDateChange?: (iso: string) => void;
|
|
928
|
+
onViewChange?: (view: "month" | "week") => void;
|
|
929
|
+
}
|
|
930
|
+
|
|
652
931
|
export interface CardProps {
|
|
653
932
|
/**
|
|
654
933
|
* Ativa o estilo de hover (elevação de sombra e realce da borda).
|
|
@@ -690,6 +969,16 @@ export interface CardProps {
|
|
|
690
969
|
|
|
691
970
|
}
|
|
692
971
|
|
|
972
|
+
export interface ChartDatum {
|
|
973
|
+
label: string;
|
|
974
|
+
value: number | null;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
export interface ChartSeries {
|
|
978
|
+
name: string;
|
|
979
|
+
values: Array<number | null>;
|
|
980
|
+
}
|
|
981
|
+
|
|
693
982
|
export interface BarChartProps {
|
|
694
983
|
data?: ChartDatum[];
|
|
695
984
|
series?: ChartSeries[];
|
|
@@ -797,7 +1086,9 @@ export interface ChipsProps {
|
|
|
797
1086
|
label: string;
|
|
798
1087
|
removable?: boolean;
|
|
799
1088
|
disabled?: boolean;
|
|
800
|
-
size?: "sm" | "md";
|
|
1089
|
+
size?: "xs" | "sm" | "md";
|
|
1090
|
+
/** × dentro de um círculo tingido da cor do chip. Só vale com `removable`. @default false */
|
|
1091
|
+
circularRemove?: boolean;
|
|
801
1092
|
variant?: "default" | "primary" | "positive" | "negative" | "info";
|
|
802
1093
|
/** Estado selecionado do filter chip (comunicado via aria-pressed) */
|
|
803
1094
|
selected?: boolean;
|
|
@@ -809,6 +1100,80 @@ export interface ChipsProps {
|
|
|
809
1100
|
removeAriaLabel?: string;
|
|
810
1101
|
}
|
|
811
1102
|
|
|
1103
|
+
export interface CoachmarkStep {
|
|
1104
|
+
id?: string;
|
|
1105
|
+
target?: any;
|
|
1106
|
+
title: string;
|
|
1107
|
+
content?: string;
|
|
1108
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
1109
|
+
[key: string]: any;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
export interface CoachmarkProps {
|
|
1113
|
+
open?: boolean;
|
|
1114
|
+
/**
|
|
1115
|
+
* `true` (padrão): véu, recorte e foco preso. `false`: o cartão é um popover
|
|
1116
|
+
* ancorado, sem véu nem foco preso. `any` de propósito: no Vue uma prop `boolean`
|
|
1117
|
+
* sem valor chega como `false`, e o tour modal viraria sem véu por engano.
|
|
1118
|
+
*/
|
|
1119
|
+
modal?: any;
|
|
1120
|
+
steps?: CoachmarkStep[];
|
|
1121
|
+
step?: number;
|
|
1122
|
+
defaultStep?: number;
|
|
1123
|
+
padding?: number;
|
|
1124
|
+
nextLabel?: string;
|
|
1125
|
+
previousLabel?: string;
|
|
1126
|
+
finishLabel?: string;
|
|
1127
|
+
skipLabel?: string;
|
|
1128
|
+
counterLabel?: string;
|
|
1129
|
+
hideSkip?: boolean;
|
|
1130
|
+
className?: string;
|
|
1131
|
+
onClose?: (reason: "finish" | "skip" | "escape") => void;
|
|
1132
|
+
onStepChange?: (step: number) => void;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
export interface CodeBlockProps {
|
|
1136
|
+
code?: string;
|
|
1137
|
+
language?: string;
|
|
1138
|
+
wrap?: boolean;
|
|
1139
|
+
maxHeight?: number;
|
|
1140
|
+
copyable?: boolean;
|
|
1141
|
+
copyLabel?: string;
|
|
1142
|
+
copiedLabel?: string;
|
|
1143
|
+
ariaLabel?: string;
|
|
1144
|
+
className?: string;
|
|
1145
|
+
id?: string;
|
|
1146
|
+
onCopy?: (code: string) => void;
|
|
1147
|
+
/** O texto, quando não vem por `code`. */
|
|
1148
|
+
children?: any;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export interface ColorPickerSwatch {
|
|
1152
|
+
value: string;
|
|
1153
|
+
label: string;
|
|
1154
|
+
onLight?: boolean;
|
|
1155
|
+
disabled?: boolean;
|
|
1156
|
+
[key: string]: any;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export interface ColorPickerProps {
|
|
1160
|
+
value?: string;
|
|
1161
|
+
defaultValue?: string;
|
|
1162
|
+
label?: string;
|
|
1163
|
+
ariaLabel?: string;
|
|
1164
|
+
ariaLabelledby?: string;
|
|
1165
|
+
swatches?: ColorPickerSwatch[];
|
|
1166
|
+
families?: string[];
|
|
1167
|
+
allowCustom?: boolean;
|
|
1168
|
+
customLabel?: string;
|
|
1169
|
+
customErrorMessage?: string;
|
|
1170
|
+
size?: "xs" | "sm" | "md";
|
|
1171
|
+
disabled?: boolean;
|
|
1172
|
+
id?: string;
|
|
1173
|
+
className?: string;
|
|
1174
|
+
onChange?: (value: string) => void;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
812
1177
|
export interface ComboboxOption {
|
|
813
1178
|
label: string;
|
|
814
1179
|
value: string | number;
|
|
@@ -1014,6 +1379,15 @@ export interface ContainerProps {
|
|
|
1014
1379
|
children?: any;
|
|
1015
1380
|
}
|
|
1016
1381
|
|
|
1382
|
+
export interface DataTableColumn {
|
|
1383
|
+
key: string;
|
|
1384
|
+
label: string;
|
|
1385
|
+
sortable?: boolean;
|
|
1386
|
+
width?: string;
|
|
1387
|
+
align?: "left" | "center" | "right";
|
|
1388
|
+
render?: (row: Record<string, any>, rowIndex: number) => any;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1017
1391
|
export interface DataTableProps {
|
|
1018
1392
|
columns: DataTableColumn[];
|
|
1019
1393
|
data: Record<string, any>[];
|
|
@@ -1022,8 +1396,44 @@ export interface DataTableProps {
|
|
|
1022
1396
|
selectable?: boolean;
|
|
1023
1397
|
selectedRows?: number[];
|
|
1024
1398
|
rowKey?: string | ((row: Record<string, any>) => string | number);
|
|
1399
|
+
rowGroup?: string | ((row: Record<string, any>, rowIndex: number) => string | undefined);
|
|
1400
|
+
renderRowGroup?: (label: string, row: Record<string, any>, rowIndex: number) => any;
|
|
1025
1401
|
selectedKeys?: Array<string | number>;
|
|
1402
|
+
/** `document`: tabela de conteúdo de documento, imprimível e sem interação. @default 'default' */
|
|
1403
|
+
variant?: "default" | "document";
|
|
1026
1404
|
density?: "default" | "compact";
|
|
1405
|
+
/** `dark`: cabeçalho navy com texto claro (o do CrisDoc). @default 'default' */
|
|
1406
|
+
headerVariant?: "default" | "dark";
|
|
1407
|
+
/** Rótulos do cabeçalho em caixa alta. @default false */
|
|
1408
|
+
headerUppercase?: boolean;
|
|
1409
|
+
/** Zebra nas linhas ímpares. @default false */
|
|
1410
|
+
striped?: boolean;
|
|
1411
|
+
/** Chaves das linhas destacadas (só visual, sem checkbox; requer `rowKey`). */
|
|
1412
|
+
selectedRowKeys?: Array<string | number>;
|
|
1413
|
+
/** Destaque de linha por função `(row, rowIndex) => boolean`. */
|
|
1414
|
+
isRowSelected?: (row: Record<string, any>, rowIndex: number) => boolean;
|
|
1415
|
+
/** Ícone do estado vazio (objeto Font Awesome importado). @default faInbox */
|
|
1416
|
+
emptyIcon?: IconProp;
|
|
1417
|
+
/** Texto de apoio abaixo de `emptyMessage`. */
|
|
1418
|
+
emptyDescription?: string;
|
|
1419
|
+
/** Esconde o cabeçalho só na tela; o leitor de tela continua lendo as colunas. @default false */
|
|
1420
|
+
hideHeader?: boolean;
|
|
1421
|
+
/** Linhas hierárquicas (`role="treegrid"`), com filhas em `row[childrenKey]`. @default false */
|
|
1422
|
+
treeData?: boolean;
|
|
1423
|
+
/** Campo das linhas filhas. @default 'children' */
|
|
1424
|
+
childrenKey?: string;
|
|
1425
|
+
/** Chaves das linhas expandidas (controlado). */
|
|
1426
|
+
expandedKeys?: Array<string | number>;
|
|
1427
|
+
/** Chaves expandidas na abertura (não controlado). */
|
|
1428
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
1429
|
+
/** Abre a árvore toda na abertura (não controlado). @default false */
|
|
1430
|
+
defaultExpandAll?: boolean;
|
|
1431
|
+
/** Ao expandir ou recolher: `(chavesExpandidas, linha, expandida)`. */
|
|
1432
|
+
onExpand?: (expandedKeys: Array<string | number>, row: Record<string, any>, expanded: boolean) => void;
|
|
1433
|
+
/** Nome acessível do botão de expandir. Troque para traduzir. @default 'Expandir' */
|
|
1434
|
+
expandLabel?: string;
|
|
1435
|
+
/** Nome acessível do botão de recolher. Troque para traduzir. @default 'Recolher' */
|
|
1436
|
+
collapseLabel?: string;
|
|
1027
1437
|
sortKey?: string;
|
|
1028
1438
|
sortDirection?: "asc" | "desc";
|
|
1029
1439
|
skeletonRows?: number;
|
|
@@ -1038,6 +1448,29 @@ export interface DataTableProps {
|
|
|
1038
1448
|
selectRowLabel?: (rowNumber: number) => string;
|
|
1039
1449
|
}
|
|
1040
1450
|
|
|
1451
|
+
export interface DateRange {
|
|
1452
|
+
/** Data inicial do período (YYYY-MM-DD). */
|
|
1453
|
+
from?: string;
|
|
1454
|
+
/** Data final do período (YYYY-MM-DD). */
|
|
1455
|
+
to?: string;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
export interface DatePickerPreset {
|
|
1459
|
+
/** Texto do atalho (ex.: "Últimos 30 dias"). */
|
|
1460
|
+
label: string;
|
|
1461
|
+
/** Data inicial aplicada pelo atalho (YYYY-MM-DD). */
|
|
1462
|
+
from: string;
|
|
1463
|
+
/** Data final aplicada pelo atalho (YYYY-MM-DD). */
|
|
1464
|
+
to: string;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
export interface DateRangeLocale {
|
|
1468
|
+
/** Nomes dos 12 meses (substitui o default em português). */
|
|
1469
|
+
months?: string[];
|
|
1470
|
+
/** Nomes curtos dos 7 dias da semana, começando no domingo. */
|
|
1471
|
+
weekdays?: string[];
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1041
1474
|
export interface DatePickerProps {
|
|
1042
1475
|
/** Rótulo acessível do botão de limpar. @default 'Limpar período' */
|
|
1043
1476
|
clearLabel?: string;
|
|
@@ -1109,6 +1542,36 @@ export interface DatePickerProps {
|
|
|
1109
1542
|
onRangeChange?: (range: DateRange) => void;
|
|
1110
1543
|
}
|
|
1111
1544
|
|
|
1545
|
+
export interface DatePickerCell {
|
|
1546
|
+
day: number;
|
|
1547
|
+
month: "prev" | "cur" | "next";
|
|
1548
|
+
iso: string;
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
export interface DescriptionListItem {
|
|
1552
|
+
label: string;
|
|
1553
|
+
value?: any;
|
|
1554
|
+
id?: string;
|
|
1555
|
+
[key: string]: any;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
export interface DescriptionListProps {
|
|
1559
|
+
items?: DescriptionListItem[];
|
|
1560
|
+
layout?: "inline" | "stacked";
|
|
1561
|
+
columns?: 1 | 2 | 3 | 4;
|
|
1562
|
+
bordered?: boolean;
|
|
1563
|
+
/** Densidade. `compact`: fonte de 12px e espaço menor entre os pares. @default 'default' */
|
|
1564
|
+
density?: "default" | "compact";
|
|
1565
|
+
fit?: boolean;
|
|
1566
|
+
emptyValue?: string;
|
|
1567
|
+
ariaLabel?: string;
|
|
1568
|
+
ariaLabelledby?: string;
|
|
1569
|
+
className?: string;
|
|
1570
|
+
id?: string;
|
|
1571
|
+
style?: any;
|
|
1572
|
+
[key: string]: any;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1112
1575
|
export interface DividerProps {
|
|
1113
1576
|
orientation?: "horizontal" | "vertical";
|
|
1114
1577
|
variant?: "solid" | "dashed" | "dotted";
|
|
@@ -1152,6 +1615,15 @@ export interface DrawerProps {
|
|
|
1152
1615
|
children?: any;
|
|
1153
1616
|
}
|
|
1154
1617
|
|
|
1618
|
+
export interface DropdownItem {
|
|
1619
|
+
key: string;
|
|
1620
|
+
label: string;
|
|
1621
|
+
icon?: IconProp;
|
|
1622
|
+
disabled?: boolean;
|
|
1623
|
+
danger?: boolean;
|
|
1624
|
+
dividerAfter?: boolean;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1155
1627
|
export interface DropdownProps {
|
|
1156
1628
|
items: DropdownItem[];
|
|
1157
1629
|
placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
@@ -1174,7 +1646,8 @@ export interface DropdownProps {
|
|
|
1174
1646
|
|
|
1175
1647
|
export interface EmptyStateProps {
|
|
1176
1648
|
icon?: IconProp;
|
|
1177
|
-
|
|
1649
|
+
/** Título: texto ou conteúdo rico. No Vue, texto, ou o slot `title`. */
|
|
1650
|
+
title?: any;
|
|
1178
1651
|
description?: string;
|
|
1179
1652
|
actionLabel?: string;
|
|
1180
1653
|
onAction?: () => void;
|
|
@@ -1182,12 +1655,20 @@ export interface EmptyStateProps {
|
|
|
1182
1655
|
className?: string;
|
|
1183
1656
|
}
|
|
1184
1657
|
|
|
1658
|
+
export interface FileInputFile {
|
|
1659
|
+
name: string;
|
|
1660
|
+
size: number;
|
|
1661
|
+
progress?: number;
|
|
1662
|
+
status?: "uploading" | "completed" | "error";
|
|
1663
|
+
error?: string;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1185
1666
|
export interface FileInputProps {
|
|
1186
1667
|
accept?: string;
|
|
1187
1668
|
multiple?: boolean;
|
|
1188
1669
|
maxSize?: number;
|
|
1189
1670
|
disabled?: boolean;
|
|
1190
|
-
variant?: "base" | "card";
|
|
1671
|
+
variant?: "base" | "card" | "trigger";
|
|
1191
1672
|
label?: string;
|
|
1192
1673
|
files?: FileInputFile[];
|
|
1193
1674
|
name?: string;
|
|
@@ -1216,6 +1697,8 @@ export interface FileInputProps {
|
|
|
1216
1697
|
removeAriaLabel?: string;
|
|
1217
1698
|
/** Prefixo do nome acessível da barra de progresso de um arquivo (recebe o nome do arquivo depois de um espaço). Troque para traduzir. @default 'Enviando' */
|
|
1218
1699
|
uploadingAriaLabel?: string;
|
|
1700
|
+
/** Gatilho da variante `trigger` (o `Button` ou link que abre o seletor). React: filhos; Vue: slot padrão. */
|
|
1701
|
+
children?: any;
|
|
1219
1702
|
onChange?: (files?: File[]) => void;
|
|
1220
1703
|
onRemove?: (index?: number) => void;
|
|
1221
1704
|
}
|
|
@@ -1279,6 +1762,34 @@ export interface IconProps {
|
|
|
1279
1762
|
children?: any;
|
|
1280
1763
|
}
|
|
1281
1764
|
|
|
1765
|
+
export interface IconPickerItem {
|
|
1766
|
+
icon: any;
|
|
1767
|
+
label?: string;
|
|
1768
|
+
keywords?: string[];
|
|
1769
|
+
[key: string]: any;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
export interface IconPickerProps {
|
|
1773
|
+
icons?: any[];
|
|
1774
|
+
value?: string;
|
|
1775
|
+
defaultValue?: string;
|
|
1776
|
+
label?: string;
|
|
1777
|
+
ariaLabel?: string;
|
|
1778
|
+
columns?: number;
|
|
1779
|
+
size?: "sm" | "md";
|
|
1780
|
+
maxHeight?: number;
|
|
1781
|
+
hideSearch?: boolean;
|
|
1782
|
+
searchLabel?: string;
|
|
1783
|
+
searchPlaceholder?: string;
|
|
1784
|
+
emptyText?: string;
|
|
1785
|
+
resultsLabel?: string;
|
|
1786
|
+
iconLabel?: (name: string) => string;
|
|
1787
|
+
disabled?: boolean;
|
|
1788
|
+
id?: string;
|
|
1789
|
+
className?: string;
|
|
1790
|
+
onChange?: (name: string, item: any) => void;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1282
1793
|
export interface InputAction {
|
|
1283
1794
|
icon: IconProp;
|
|
1284
1795
|
onClick?: (event?: any) => void;
|
|
@@ -1335,6 +1846,18 @@ export interface InputProps {
|
|
|
1335
1846
|
|
|
1336
1847
|
iconLeft?: IconProp;
|
|
1337
1848
|
iconsRight?: InputAction[];
|
|
1849
|
+
/** Ícone decorativo à direita (não clicável, `aria-hidden`). Para ação, use `iconsRight`. */
|
|
1850
|
+
iconRight?: IconProp;
|
|
1851
|
+
/** Sem borda, fundo e raio, para o campo dentro de um grupo que já tem a moldura. O foco e o erro continuam visíveis. @default false */
|
|
1852
|
+
borderless?: boolean;
|
|
1853
|
+
/**
|
|
1854
|
+
* O campo dentro de um contêiner que já tem a moldura e o foco (o campo de chips).
|
|
1855
|
+
* Implica `borderless` e tira a altura de campo, o padding e o anel de foco
|
|
1856
|
+
* próprio: o foco vem do contêiner (`:focus-within`). @default false
|
|
1857
|
+
*/
|
|
1858
|
+
grouped?: boolean;
|
|
1859
|
+
/** Máscara simples. O valor exibido e o de `onChange` já saem formatados. */
|
|
1860
|
+
mask?: "cpf" | "cnpj" | "cep" | "phone";
|
|
1338
1861
|
|
|
1339
1862
|
onChange?: (value: string) => void;
|
|
1340
1863
|
onFocus?: (event?: any) => void;
|
|
@@ -1343,6 +1866,61 @@ export interface InputProps {
|
|
|
1343
1866
|
|
|
1344
1867
|
}
|
|
1345
1868
|
|
|
1869
|
+
export interface KanbanCardData {
|
|
1870
|
+
id: string;
|
|
1871
|
+
title: string;
|
|
1872
|
+
description?: string;
|
|
1873
|
+
tags?: KanbanCardTag[];
|
|
1874
|
+
meta?: string;
|
|
1875
|
+
assignee?: string;
|
|
1876
|
+
assigneeSrc?: string;
|
|
1877
|
+
[key: string]: any;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
export interface KanbanColumnData {
|
|
1881
|
+
id: string;
|
|
1882
|
+
title: string;
|
|
1883
|
+
cards: KanbanCardData[];
|
|
1884
|
+
wipLimit?: number;
|
|
1885
|
+
emptyText?: string;
|
|
1886
|
+
[key: string]: any;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
export interface KanbanCardMove {
|
|
1890
|
+
cardId: string;
|
|
1891
|
+
fromColumnId: string;
|
|
1892
|
+
fromIndex: number;
|
|
1893
|
+
toColumnId: string;
|
|
1894
|
+
toIndex: number;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
export interface KanbanAnnouncements {
|
|
1898
|
+
/** Posição do cartão. Padrão: "Coluna {coluna}, posição {n} de {total}." */
|
|
1899
|
+
position?: (column: string, position: number, total: number) => string;
|
|
1900
|
+
/** Cartão pego pelo teclado. Padrão: "Cartão {cartão} pego. {posição} Use as setas para mover, Espaço ou Enter para soltar, Esc para cancelar." */
|
|
1901
|
+
grabbed?: (card: string, position: string) => string;
|
|
1902
|
+
/** Cartão solto num lugar novo pelo teclado. Padrão: "Cartão {cartão} solto. {posição}" */
|
|
1903
|
+
dropped?: (card: string, position: string) => string;
|
|
1904
|
+
/** Cartão solto onde estava. Padrão: "Cartão {cartão} solto na posição original." */
|
|
1905
|
+
droppedInPlace?: (card: string) => string;
|
|
1906
|
+
/** Cartão arrastado com o ponteiro e solto. Padrão: "Cartão {cartão} movido. {posição}" */
|
|
1907
|
+
moved?: (card: string, position: string) => string;
|
|
1908
|
+
/** Movimento cancelado com Esc. Padrão: "Movimento cancelado. Cartão {cartão} voltou. {posição}" */
|
|
1909
|
+
cancelled?: (card: string, position: string) => string;
|
|
1910
|
+
/** Seta para cima no topo da coluna. Padrão: "Início da coluna." */
|
|
1911
|
+
columnStart?: string;
|
|
1912
|
+
/** Seta para baixo no fim da coluna. Padrão: "Fim da coluna." */
|
|
1913
|
+
columnEnd?: string;
|
|
1914
|
+
/** Seta para a esquerda na primeira coluna. Padrão: "Não há coluna à esquerda." */
|
|
1915
|
+
noColumnLeft?: string;
|
|
1916
|
+
/** Seta para a direita na última coluna. Padrão: "Não há coluna à direita." */
|
|
1917
|
+
noColumnRight?: string;
|
|
1918
|
+
/** Coluna de destino chegou ao limite de WIP. Padrão: "Limite de {n} cartões atingido." */
|
|
1919
|
+
limitReached?: (limit: number) => string;
|
|
1920
|
+
/** Coluna de destino passou do limite de WIP. Padrão: "Limite de {n} cartões excedido." */
|
|
1921
|
+
limitExceeded?: (limit: number) => string;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1346
1924
|
export interface KanbanProps {
|
|
1347
1925
|
columns?: KanbanColumnData[];
|
|
1348
1926
|
onCardMove?: (move: KanbanCardMove) => void;
|
|
@@ -1368,6 +1946,11 @@ export interface KanbanProps {
|
|
|
1368
1946
|
columnCountLabel?: (count: number, limit?: number) => string;
|
|
1369
1947
|
}
|
|
1370
1948
|
|
|
1949
|
+
export interface KanbanCardTag {
|
|
1950
|
+
label: string;
|
|
1951
|
+
variant?: "neutral" | "primary" | "positive" | "negative" | "info";
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1371
1954
|
export interface KanbanCardProps {
|
|
1372
1955
|
title: string;
|
|
1373
1956
|
description?: string;
|
|
@@ -1400,6 +1983,18 @@ export interface KanbanColumnProps {
|
|
|
1400
1983
|
countLabel?: (count: number, limit?: number) => string;
|
|
1401
1984
|
}
|
|
1402
1985
|
|
|
1986
|
+
export interface KbdProps {
|
|
1987
|
+
keys?: string[];
|
|
1988
|
+
separator?: string;
|
|
1989
|
+
size?: "sm" | "md";
|
|
1990
|
+
className?: string;
|
|
1991
|
+
id?: string;
|
|
1992
|
+
style?: any;
|
|
1993
|
+
[key: string]: any;
|
|
1994
|
+
/** Uma tecla (quando não há `keys`). */
|
|
1995
|
+
children?: any;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1403
1998
|
export interface LinkProps {
|
|
1404
1999
|
href?: string;
|
|
1405
2000
|
target?: string;
|
|
@@ -1415,6 +2010,92 @@ export interface LinkProps {
|
|
|
1415
2010
|
iconRight?: any;
|
|
1416
2011
|
}
|
|
1417
2012
|
|
|
2013
|
+
export interface ListProps {
|
|
2014
|
+
/** Elemento da lista. @default 'ul' */
|
|
2015
|
+
as?: ListTag;
|
|
2016
|
+
/** Espaço entre as linhas, na escala oficial (`none` cola). @default 'quarck' */
|
|
2017
|
+
gap?: ListGap;
|
|
2018
|
+
/** Nome acessível da lista. */
|
|
2019
|
+
ariaLabel?: string;
|
|
2020
|
+
/** Id do título visível que nomeia a lista. */
|
|
2021
|
+
ariaLabelledby?: string;
|
|
2022
|
+
/** Sem itens: mostra o estado vazio no lugar das linhas. @default false */
|
|
2023
|
+
isEmpty?: boolean;
|
|
2024
|
+
/** Título do estado vazio. @default 'Nenhum item encontrado' */
|
|
2025
|
+
emptyTitle?: string;
|
|
2026
|
+
/** Texto de apoio do estado vazio. */
|
|
2027
|
+
emptyDescription?: string;
|
|
2028
|
+
/** Ícone do estado vazio: o objeto importado do Font Awesome. */
|
|
2029
|
+
emptyIcon?: IconProp;
|
|
2030
|
+
/** Tamanho do estado vazio. @default 'sm' */
|
|
2031
|
+
emptySize?: "sm" | "md" | "lg";
|
|
2032
|
+
/** Rótulo do botão do estado vazio (exibido junto de `onEmptyAction`). */
|
|
2033
|
+
emptyActionLabel?: string;
|
|
2034
|
+
/** Chamado no botão do estado vazio. */
|
|
2035
|
+
onEmptyAction?: () => void;
|
|
2036
|
+
/** Conteúdo próprio do estado vazio. No Vue, slot `empty`. */
|
|
2037
|
+
empty?: any;
|
|
2038
|
+
/** Classes CSS adicionais. */
|
|
2039
|
+
className?: string;
|
|
2040
|
+
/** ID HTML do elemento raiz. */
|
|
2041
|
+
id?: string;
|
|
2042
|
+
/** Atributos HTML repassados ao elemento raiz (style, data-*…). */
|
|
2043
|
+
|
|
2044
|
+
style?: any;
|
|
2045
|
+
|
|
2046
|
+
[key: string]: any;
|
|
2047
|
+
/** As linhas: `ListItem` (ou `li`). */
|
|
2048
|
+
children?: any;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
export type ListGap = "none" | "micro" | "quarck" | "nano" | "mini" | "xxxs";
|
|
2052
|
+
|
|
2053
|
+
export type ListTag = "ul" | "ol";
|
|
2054
|
+
|
|
2055
|
+
export interface ListItemProps {
|
|
2056
|
+
/** Elemento da linha. Sem `as`: `a` quando há `href`, senão `button`. */
|
|
2057
|
+
as?: ListItemTag;
|
|
2058
|
+
/** Destino do link (liga `as="a"`). */
|
|
2059
|
+
href?: string;
|
|
2060
|
+
/** Destino do link. `_blank` ganha `rel="noopener noreferrer"`. */
|
|
2061
|
+
target?: string;
|
|
2062
|
+
/** Relação do link. Sobrescreve o padrão do `target`. */
|
|
2063
|
+
rel?: string;
|
|
2064
|
+
/** Item atual: fundo de seleção e `aria-current`. @default false */
|
|
2065
|
+
selected?: boolean;
|
|
2066
|
+
/** Bloqueia clique e foco. @default false */
|
|
2067
|
+
disabled?: boolean;
|
|
2068
|
+
/** Dica nativa do navegador: vira o atributo HTML `title` do elemento interativo. */
|
|
2069
|
+
tooltip?: string;
|
|
2070
|
+
/** Sem o `li`: só o elemento interativo, para usar fora de um `List`. @default false */
|
|
2071
|
+
standalone?: boolean;
|
|
2072
|
+
/** Título da linha. Texto, ou slot `title` para um nó. */
|
|
2073
|
+
title?: any;
|
|
2074
|
+
/** Segunda linha. Texto, ou slot `subtitle` para um nó. */
|
|
2075
|
+
subtitle?: any;
|
|
2076
|
+
/** Terceira linha, menor (data, contexto). Texto, ou slot `meta` para um nó. */
|
|
2077
|
+
meta?: any;
|
|
2078
|
+
/** Conteúdo antes do texto (avatar, ícone). No Vue, slot `start`. */
|
|
2079
|
+
start?: any;
|
|
2080
|
+
/** Conteúdo no fim da linha (badge, seta, valor). No Vue, slot `end`. */
|
|
2081
|
+
end?: any;
|
|
2082
|
+
/** Chamado no clique da linha (ou em Enter/Espaço no `as="div"`). */
|
|
2083
|
+
onClick?: (event: any) => void;
|
|
2084
|
+
/** Classes CSS adicionais, no elemento interativo. */
|
|
2085
|
+
className?: string;
|
|
2086
|
+
/** ID HTML do elemento interativo. */
|
|
2087
|
+
id?: string;
|
|
2088
|
+
/** Atributos HTML repassados ao elemento interativo (style, data-*, aria-*…). */
|
|
2089
|
+
|
|
2090
|
+
style?: any;
|
|
2091
|
+
|
|
2092
|
+
[key: string]: any;
|
|
2093
|
+
/** Conteúdo livre, abaixo de `meta`. */
|
|
2094
|
+
children?: any;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
export type ListItemTag = "button" | "a" | "div";
|
|
2098
|
+
|
|
1418
2099
|
export interface LogoProps {
|
|
1419
2100
|
size?: "regular" | "small";
|
|
1420
2101
|
variant?: "default" | "dark" | "light";
|
|
@@ -1445,9 +2126,30 @@ export interface ModalProps {
|
|
|
1445
2126
|
* - "positive": sucesso (verde, ícone circle-check).
|
|
1446
2127
|
* - "negative": erro/falha (vermelho, ícone circle-exclamation).
|
|
1447
2128
|
* - "info": atenção (laranja, ícone triangle-exclamation).
|
|
2129
|
+
* - "primary": modal base com o cabeçalho cheio na cor primária (título e
|
|
2130
|
+
* controles em branco). Não é diálogo de feedback: mantém as três faixas.
|
|
1448
2131
|
* @default 'default'
|
|
1449
2132
|
*/
|
|
1450
|
-
variant?: "default" | "positive" | "negative" | "info";
|
|
2133
|
+
variant?: "default" | "positive" | "negative" | "info" | "primary";
|
|
2134
|
+
/**
|
|
2135
|
+
* Largura do modal, qualquer valor CSS (`"600px"`, `"60vw"`). Sem
|
|
2136
|
+
* `maxWidth`, o teto passa a ser a própria tela (o 498px do `md` não
|
|
2137
|
+
* segura mais). Vence o `size`. Com `windowControls`, vale só no modo
|
|
2138
|
+
* normal: expandido e tela cheia mandam no tamanho.
|
|
2139
|
+
*/
|
|
2140
|
+
width?: string;
|
|
2141
|
+
/** Largura máxima, qualquer valor CSS. Vence o teto do `size`. */
|
|
2142
|
+
maxWidth?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* Abaixo do breakpoint (`responsiveBreakpoint`), o modal vira um painel que
|
|
2145
|
+
* sobe pela borda de baixo, como o `BottomSheet`: largura total, cantos de
|
|
2146
|
+
* cima arredondados, alça no topo. Acima dele, continua centralizado. É
|
|
2147
|
+
* o mesmo componente reorganizado, então título, corpo e rodapé não mudam.
|
|
2148
|
+
* @default false
|
|
2149
|
+
*/
|
|
2150
|
+
responsive?: boolean;
|
|
2151
|
+
/** Largura da tela, em px, abaixo da qual o `responsive` vira painel. Lida na montagem. @default 640 */
|
|
2152
|
+
responsiveBreakpoint?: number;
|
|
1451
2153
|
/**
|
|
1452
2154
|
* Título em destaque. Com título, o diálogo é nomeado por ele
|
|
1453
2155
|
* (`aria-labelledby`) e `ariaLabel` é ignorado.
|
|
@@ -1503,12 +2205,18 @@ export interface ModalProps {
|
|
|
1503
2205
|
/** Se verdadeiro, renderiza o modal inline (sem fixed/overlay), útil para documentação */
|
|
1504
2206
|
inline?: boolean;
|
|
1505
2207
|
/**
|
|
1506
|
-
* Controles de janela no cabeçalho
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
2208
|
+
* Controles de janela no cabeçalho, antes do ×. Duas formas:
|
|
2209
|
+
* - `true`: o conjunto inteiro (restaurar, expandir, tela cheia e minimizar).
|
|
2210
|
+
* O modal passa a mudar de tamanho sozinho (normal 780px, expandido, tela
|
|
2211
|
+
* cheia).
|
|
2212
|
+
* - uma lista com os que quiser, na ordem fixa do cabeçalho:
|
|
2213
|
+
* `["expand", "fullscreen"]`, `["fullscreen"]`... Os nomes são `normal`,
|
|
2214
|
+
* `expand`, `fullscreen` e `minimize`. Sem `normal` na lista, clicar de
|
|
2215
|
+
* novo no modo ativo volta ao normal, e o modo normal usa o tamanho do
|
|
2216
|
+
* próprio modal (`size`, `width`), não os 780px do conjunto inteiro.
|
|
2217
|
+
*/
|
|
2218
|
+
windowControls?: boolean | Array<"normal" | "expand" | "fullscreen" | "minimize">;
|
|
2219
|
+
/** Acionado no botão minimizar. Só existe quando `minimize` está entre os controles. */
|
|
1512
2220
|
onMinimize?: (event?: any) => void;
|
|
1513
2221
|
/**
|
|
1514
2222
|
* Região esquerda do rodapé — conteúdo de apoio que não é botão: a caixa
|
|
@@ -1590,6 +2298,56 @@ export interface MultiSelectProps {
|
|
|
1590
2298
|
onChange?: (value: Array<string | number>) => void;
|
|
1591
2299
|
}
|
|
1592
2300
|
|
|
2301
|
+
export interface OrgChartNode {
|
|
2302
|
+
id: string;
|
|
2303
|
+
title: string;
|
|
2304
|
+
subtitle?: string;
|
|
2305
|
+
children?: OrgChartNode[];
|
|
2306
|
+
[key: string]: any;
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
export interface OrgChartProps {
|
|
2310
|
+
nodes?: OrgChartNode[];
|
|
2311
|
+
collapsedIds?: string[];
|
|
2312
|
+
defaultCollapsedIds?: string[];
|
|
2313
|
+
selectedId?: string;
|
|
2314
|
+
nodeWidth?: number;
|
|
2315
|
+
nodeHeight?: number;
|
|
2316
|
+
gapX?: number;
|
|
2317
|
+
gapY?: number;
|
|
2318
|
+
ariaLabel?: string;
|
|
2319
|
+
expandLabel?: string;
|
|
2320
|
+
collapseLabel?: string;
|
|
2321
|
+
className?: string;
|
|
2322
|
+
renderNode?: (node: OrgChartNode, meta: { level: number; expanded: boolean }) => any;
|
|
2323
|
+
onNodeClick?: (node: OrgChartNode) => void;
|
|
2324
|
+
onCollapsedChange?: (ids: string[]) => void;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
export interface OtpInputProps {
|
|
2328
|
+
length?: number;
|
|
2329
|
+
value?: string;
|
|
2330
|
+
defaultValue?: string;
|
|
2331
|
+
type?: "numeric" | "alphanumeric";
|
|
2332
|
+
label?: string;
|
|
2333
|
+
ariaLabel?: string;
|
|
2334
|
+
digitLabel?: string;
|
|
2335
|
+
invalid?: boolean;
|
|
2336
|
+
errorMessage?: string;
|
|
2337
|
+
disabled?: boolean;
|
|
2338
|
+
autoFocus?: boolean;
|
|
2339
|
+
size?: "sm" | "md";
|
|
2340
|
+
id?: string;
|
|
2341
|
+
className?: string;
|
|
2342
|
+
onChange?: (value: string) => void;
|
|
2343
|
+
onComplete?: (value: string) => void;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
export interface PageHeaderBreadcrumbItem {
|
|
2347
|
+
label: string;
|
|
2348
|
+
href?: string;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
1593
2351
|
export interface PageHeaderProps {
|
|
1594
2352
|
/** Rótulo acessível do trilha. @default 'Trilha de navegação' */
|
|
1595
2353
|
breadcrumbLabel?: string;
|
|
@@ -1645,6 +2403,14 @@ export interface PaginationProps {
|
|
|
1645
2403
|
onPageChange?: (page: number) => void;
|
|
1646
2404
|
}
|
|
1647
2405
|
|
|
2406
|
+
export interface PhoneInputCountry {
|
|
2407
|
+
code: string;
|
|
2408
|
+
flag: string;
|
|
2409
|
+
flagUrl: string;
|
|
2410
|
+
ddi: string;
|
|
2411
|
+
name: string;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
1648
2414
|
export interface PhoneInputProps {
|
|
1649
2415
|
/** Rótulo acessível do seletor de país. @default 'Selecionar país' */
|
|
1650
2416
|
countryLabel?: string;
|
|
@@ -1677,6 +2443,16 @@ export interface PhoneInputProps {
|
|
|
1677
2443
|
onCopy?: (value: string) => void;
|
|
1678
2444
|
}
|
|
1679
2445
|
|
|
2446
|
+
export interface PodiumItem {
|
|
2447
|
+
id: string | number;
|
|
2448
|
+
name: string;
|
|
2449
|
+
value: number | string;
|
|
2450
|
+
valueLabel?: string;
|
|
2451
|
+
avatarSrc?: string;
|
|
2452
|
+
initials?: string;
|
|
2453
|
+
description?: string;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
1680
2456
|
export interface PodiumProps {
|
|
1681
2457
|
items: PodiumItem[];
|
|
1682
2458
|
showRest?: boolean;
|
|
@@ -1714,6 +2490,12 @@ export interface PopoverProps {
|
|
|
1714
2490
|
closable?: boolean;
|
|
1715
2491
|
closeLabel?: string;
|
|
1716
2492
|
width?: number;
|
|
2493
|
+
/**
|
|
2494
|
+
* Altura máxima do corpo. Número vira px; texto vai como CSS (`"60vh"`).
|
|
2495
|
+
* `"none"` deixa o corpo crescer com o conteúdo. Sem a prop, vale o teto de
|
|
2496
|
+
* 300px de sempre (o cabeçalho e o × não rolam junto).
|
|
2497
|
+
*/
|
|
2498
|
+
maxHeight?: number | string;
|
|
1717
2499
|
ariaLabel?: string;
|
|
1718
2500
|
className?: string;
|
|
1719
2501
|
children?: any;
|
|
@@ -1821,12 +2603,59 @@ export interface RadioGroupProps {
|
|
|
1821
2603
|
onChange?: (value: string) => void;
|
|
1822
2604
|
}
|
|
1823
2605
|
|
|
2606
|
+
export interface RichTextEditorProps {
|
|
2607
|
+
value?: string;
|
|
2608
|
+
defaultValue?: string;
|
|
2609
|
+
label?: string;
|
|
2610
|
+
ariaLabel?: string;
|
|
2611
|
+
placeholder?: string;
|
|
2612
|
+
toolbar?: RichTextTool[];
|
|
2613
|
+
toolbarLabel?: string;
|
|
2614
|
+
labels?: Record<string, string>;
|
|
2615
|
+
minHeight?: number;
|
|
2616
|
+
resizable?: boolean;
|
|
2617
|
+
disabled?: boolean;
|
|
2618
|
+
readOnly?: boolean;
|
|
2619
|
+
invalid?: boolean;
|
|
2620
|
+
errorMessage?: string;
|
|
2621
|
+
helperText?: string;
|
|
2622
|
+
id?: string;
|
|
2623
|
+
className?: string;
|
|
2624
|
+
/** Slot `footer`: abaixo da área de escrita. */
|
|
2625
|
+
footer?: any;
|
|
2626
|
+
onChange?: (html: string) => void;
|
|
2627
|
+
onBlur?: (event?: any) => void;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
export type RichTextTool =
|
|
2631
|
+
| "bold"
|
|
2632
|
+
| "italic"
|
|
2633
|
+
| "underline"
|
|
2634
|
+
| "strike"
|
|
2635
|
+
| "ul"
|
|
2636
|
+
| "ol"
|
|
2637
|
+
| "link"
|
|
2638
|
+
| "undo"
|
|
2639
|
+
| "redo"
|
|
2640
|
+
| "clear"
|
|
2641
|
+
| "alignLeft"
|
|
2642
|
+
| "alignCenter"
|
|
2643
|
+
| "alignRight"
|
|
2644
|
+
| "alignJustify"
|
|
2645
|
+
| "image"
|
|
2646
|
+
| "table"
|
|
2647
|
+
| "fontFamily"
|
|
2648
|
+
| "fontSize"
|
|
2649
|
+
| "textColor"
|
|
2650
|
+
| "|";
|
|
2651
|
+
|
|
1824
2652
|
export interface SegmentedControlOption {
|
|
1825
2653
|
label?: string;
|
|
1826
2654
|
value: string;
|
|
1827
2655
|
icon?: any;
|
|
1828
2656
|
ariaLabel?: string;
|
|
1829
2657
|
disabled?: boolean;
|
|
2658
|
+
count?: number | string;
|
|
1830
2659
|
[key: string]: any;
|
|
1831
2660
|
}
|
|
1832
2661
|
|
|
@@ -1850,6 +2679,8 @@ export interface SegmentedControlProps {
|
|
|
1850
2679
|
export interface SelectOption {
|
|
1851
2680
|
label: string;
|
|
1852
2681
|
value: string | number;
|
|
2682
|
+
/** Cor da opção (token): amostra antes do texto, e no gatilho quando escolhida. */
|
|
2683
|
+
color?: string;
|
|
1853
2684
|
[key: string]: any;
|
|
1854
2685
|
}
|
|
1855
2686
|
|
|
@@ -1888,6 +2719,26 @@ export interface SelectProps {
|
|
|
1888
2719
|
errorMessage?: string;
|
|
1889
2720
|
fullWidth?: boolean;
|
|
1890
2721
|
size?: "sm" | "md" | "lg";
|
|
2722
|
+
/** Onde a lista abre. @default 'bottom' */
|
|
2723
|
+
placement?: "bottom" | "top" | "auto";
|
|
2724
|
+
/** Variante visual. `filter`, `search` e `combo` são o filtro de barra. @default 'default' */
|
|
2725
|
+
variant?: "default" | "filter" | "search" | "combo";
|
|
2726
|
+
/**
|
|
2727
|
+
* Abre/fecha a lista de fora (modo controlado). `any` de propósito: no Vue uma
|
|
2728
|
+
* prop `boolean` sem valor chega como `false`, e `props.open !== undefined`
|
|
2729
|
+
* ficaria sempre verdadeiro (o Select se acharia controlado e nunca abriria).
|
|
2730
|
+
*/
|
|
2731
|
+
open?: any;
|
|
2732
|
+
/** Pede para abrir ou fechar a lista. No modo controlado, o pai decide o novo `open`. */
|
|
2733
|
+
onOpenChange?: (open: boolean) => void;
|
|
2734
|
+
/** Ícone à esquerda do texto do gatilho. */
|
|
2735
|
+
triggerIcon?: IconProp;
|
|
2736
|
+
/** Amostra de cor à esquerda do texto do gatilho (token de cor). */
|
|
2737
|
+
triggerSwatch?: string;
|
|
2738
|
+
/** Opção "sem filtro" no topo da lista (seleção única). Escolhê-la chama `onChange("")`. */
|
|
2739
|
+
emptyOptionLabel?: string;
|
|
2740
|
+
/** Rodapé fixo da lista (ações). React node ou slot `footer` no Vue. */
|
|
2741
|
+
footer?: any;
|
|
1891
2742
|
|
|
1892
2743
|
pagination?: boolean;
|
|
1893
2744
|
hasMore?: boolean;
|
|
@@ -1909,6 +2760,15 @@ export interface SelectProps {
|
|
|
1909
2760
|
className?: string;
|
|
1910
2761
|
}
|
|
1911
2762
|
|
|
2763
|
+
export interface SidePanelTab {
|
|
2764
|
+
/** Identificador da aba — é o que volta em `onTabChange`. */
|
|
2765
|
+
id: string;
|
|
2766
|
+
/** Ícone no trilho. */
|
|
2767
|
+
icon?: IconProp;
|
|
2768
|
+
/** Nome acessível da aba. O trilho é só ícone, então isto não é opcional na prática. */
|
|
2769
|
+
label: string;
|
|
2770
|
+
}
|
|
2771
|
+
|
|
1912
2772
|
export interface SidePanelProps {
|
|
1913
2773
|
/** Título no topo do painel. */
|
|
1914
2774
|
title?: string;
|
|
@@ -2011,9 +2871,11 @@ export interface SpinnerProps {
|
|
|
2011
2871
|
}
|
|
2012
2872
|
|
|
2013
2873
|
export interface StackProps {
|
|
2874
|
+
/** Elemento HTML renderizado. @default 'div' */
|
|
2875
|
+
as?: StackTag;
|
|
2014
2876
|
/** Eixo do empilhamento. @default 'vertical' */
|
|
2015
2877
|
direction?: "vertical" | "horizontal";
|
|
2016
|
-
/** Espaço entre os filhos, na escala oficial (xxxs = 16px). @default 'xxxs' */
|
|
2878
|
+
/** Espaço entre os filhos, na escala oficial (xxxs = 16px; `none` = 0). @default 'xxxs' */
|
|
2017
2879
|
gap?: StackSpacing;
|
|
2018
2880
|
/** Alinhamento no eixo transversal. */
|
|
2019
2881
|
align?: "start" | "center" | "end" | "stretch" | "baseline";
|
|
@@ -2023,12 +2885,69 @@ export interface StackProps {
|
|
|
2023
2885
|
wrap?: boolean;
|
|
2024
2886
|
/** Usa `inline-flex` em vez de `flex`. */
|
|
2025
2887
|
inline?: boolean;
|
|
2888
|
+
/** Como item de outro Stack/flex: cresce para ocupar o espaço livre. */
|
|
2889
|
+
grow?: boolean;
|
|
2890
|
+
/** Como item flex: `"0"` não encolhe; `"1"` encolhe. */
|
|
2891
|
+
shrink?: "0" | "1";
|
|
2892
|
+
/** Como item flex: tamanho base. Os números são porcentagem do pai. */
|
|
2893
|
+
basis?: "auto" | "0" | "25" | "33" | "50" | "66" | "75" | "100";
|
|
2894
|
+
/** `"0"` (já é o padrão do Stack) deixa o conteúdo encolher; `"auto"` volta ao mínimo do conteúdo. */
|
|
2895
|
+
minWidth?: "0" | "auto";
|
|
2896
|
+
/** Overflow nos dois eixos. */
|
|
2897
|
+
overflow?: StackOverflow;
|
|
2898
|
+
/** Overflow horizontal (vence `overflow` no eixo X). */
|
|
2899
|
+
overflowX?: StackOverflow;
|
|
2900
|
+
/** Overflow vertical (vence `overflow` no eixo Y). */
|
|
2901
|
+
overflowY?: StackOverflow;
|
|
2902
|
+
/** Ocupa 100% da altura do pai. */
|
|
2903
|
+
fullHeight?: boolean;
|
|
2904
|
+
/** Ocupa 100% da largura do pai. */
|
|
2905
|
+
fullWidth?: boolean;
|
|
2026
2906
|
/** Classes CSS adicionais. */
|
|
2027
2907
|
className?: string;
|
|
2908
|
+
/** Só com `as="form"`: chamado no envio do formulário. */
|
|
2909
|
+
onSubmit?: (event: any) => void;
|
|
2910
|
+
/** ID HTML do elemento raiz. */
|
|
2911
|
+
id?: string;
|
|
2912
|
+
/** Atributos HTML repassados ao elemento raiz (style, data-*, aria-*…). */
|
|
2913
|
+
|
|
2914
|
+
style?: any;
|
|
2915
|
+
|
|
2916
|
+
[key: string]: any;
|
|
2028
2917
|
/** Conteúdo empilhado. */
|
|
2029
2918
|
children?: any;
|
|
2030
2919
|
}
|
|
2031
2920
|
|
|
2921
|
+
export type StackSpacing =
|
|
2922
|
+
| "none"
|
|
2923
|
+
| "quarck"
|
|
2924
|
+
| "nano"
|
|
2925
|
+
| "micro"
|
|
2926
|
+
| "mini"
|
|
2927
|
+
| "xxxs"
|
|
2928
|
+
| "xxs"
|
|
2929
|
+
| "xs"
|
|
2930
|
+
| "sm"
|
|
2931
|
+
| "md"
|
|
2932
|
+
| "lg"
|
|
2933
|
+
| "xl"
|
|
2934
|
+
| "xxl"
|
|
2935
|
+
| "xxxl";
|
|
2936
|
+
|
|
2937
|
+
export type StackTag =
|
|
2938
|
+
| "div"
|
|
2939
|
+
| "span"
|
|
2940
|
+
| "ul"
|
|
2941
|
+
| "ol"
|
|
2942
|
+
| "li"
|
|
2943
|
+
| "section"
|
|
2944
|
+
| "nav"
|
|
2945
|
+
| "header"
|
|
2946
|
+
| "footer"
|
|
2947
|
+
| "form";
|
|
2948
|
+
|
|
2949
|
+
export type StackOverflow = "visible" | "hidden" | "auto" | "scroll";
|
|
2950
|
+
|
|
2032
2951
|
export interface StatCardProps {
|
|
2033
2952
|
/** O número ou medida em destaque. */
|
|
2034
2953
|
value?: string | number;
|
|
@@ -2057,12 +2976,39 @@ export interface StatCardProps {
|
|
|
2057
2976
|
description?: string;
|
|
2058
2977
|
/** Alinhamento do conteúdo. @default 'start' */
|
|
2059
2978
|
align?: "start" | "center";
|
|
2979
|
+
/**
|
|
2980
|
+
* Onde o rótulo aparece. `top` põe o rótulo no topo do cartão, acima do
|
|
2981
|
+
* ícone e do número (que passa a 32/800), como no painel da 1Doc. No HTML o
|
|
2982
|
+
* número segue antes do rótulo: só a posição visual muda.
|
|
2983
|
+
* @default 'bottom'
|
|
2984
|
+
*/
|
|
2985
|
+
labelPosition?: "bottom" | "top";
|
|
2986
|
+
/** Segunda medida, menor, à direita da principal. 0 aparece; vazio e ausente não. */
|
|
2987
|
+
secondaryValue?: string | number;
|
|
2988
|
+
/** O que a segunda medida significa. */
|
|
2989
|
+
secondaryLabel?: string;
|
|
2990
|
+
/** Cor do número principal. @default 'default' */
|
|
2991
|
+
valueTone?: "default" | "primary" | "positive" | "negative" | "info";
|
|
2992
|
+
/**
|
|
2993
|
+
* Texto de ajuda: mostra o ⓘ ao lado do rótulo, com um Tooltip escuro. É um
|
|
2994
|
+
* botão focável dentro do cartão; com `onClick` no cartão, evite.
|
|
2995
|
+
*/
|
|
2996
|
+
infoTooltip?: string;
|
|
2997
|
+
/** Nome acessível do ⓘ. @default 'Mais informações' */
|
|
2998
|
+
infoLabel?: string;
|
|
2060
2999
|
/** Classes CSS adicionais. */
|
|
2061
3000
|
className?: string;
|
|
2062
3001
|
/** Torna o cartão acionável. */
|
|
2063
3002
|
onClick?: () => void;
|
|
2064
3003
|
}
|
|
2065
3004
|
|
|
3005
|
+
export interface StepperStep {
|
|
3006
|
+
title: string;
|
|
3007
|
+
description?: string;
|
|
3008
|
+
status?: "pending" | "active" | "completed" | "error";
|
|
3009
|
+
[key: string]: any;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
2066
3012
|
export interface StepperProps {
|
|
2067
3013
|
steps: StepperStep[];
|
|
2068
3014
|
currentStep?: number;
|
|
@@ -2143,6 +3089,13 @@ export interface TabsProps {
|
|
|
2143
3089
|
* como gerar um id compartilhado automaticamente).
|
|
2144
3090
|
*/
|
|
2145
3091
|
id?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Mostra o botão "+" depois da última aba (abrir nova aba, como no navegador)
|
|
3094
|
+
* e o chama com `onAdd`. O botão fica fora do `tablist`.
|
|
3095
|
+
*/
|
|
3096
|
+
onAdd?: (event?: any) => void;
|
|
3097
|
+
/** Nome acessível do botão "+". Troque para traduzir. @default 'Adicionar aba' */
|
|
3098
|
+
addLabel?: string;
|
|
2146
3099
|
/** Classes CSS adicionais */
|
|
2147
3100
|
className?: string;
|
|
2148
3101
|
/** Subcomponentes Tab */
|
|
@@ -2158,6 +3111,21 @@ export interface TabProps {
|
|
|
2158
3111
|
icon?: IconProp;
|
|
2159
3112
|
/** Se a tab está desabilitada */
|
|
2160
3113
|
disabled?: boolean;
|
|
3114
|
+
/**
|
|
3115
|
+
* Contador em pílula ao lado do texto: azul na aba ativa, cinza nas outras.
|
|
3116
|
+
* Aceita número ou texto; o `0` aparece. Sem a prop, não há pílula.
|
|
3117
|
+
*/
|
|
3118
|
+
count?: number | string;
|
|
3119
|
+
/**
|
|
3120
|
+
* Mostra o × para fechar a aba (abas de navegador, documentos abertos). O
|
|
3121
|
+
* × é um botão próprio, irmão da aba (não dentro dela), e a tecla Delete
|
|
3122
|
+
* na aba focada faz o mesmo. Quem remove a aba é o app, em `onClose`.
|
|
3123
|
+
*/
|
|
3124
|
+
closable?: boolean;
|
|
3125
|
+
/** Chamado ao fechar a aba, com o `index` dela e o evento. */
|
|
3126
|
+
onClose?: (index: string, event?: any) => void;
|
|
3127
|
+
/** Prefixo do nome acessível do ×; o texto da aba vem depois ("Fechar Documento 1"). Troque para traduzir. @default 'Fechar' */
|
|
3128
|
+
closeLabel?: string;
|
|
2161
3129
|
/** Classes CSS adicionais */
|
|
2162
3130
|
className?: string;
|
|
2163
3131
|
}
|
|
@@ -2198,10 +3166,17 @@ export interface TagProps {
|
|
|
2198
3166
|
label?: string;
|
|
2199
3167
|
|
|
2200
3168
|
/**
|
|
2201
|
-
* Estilo visual da tag.
|
|
3169
|
+
* Estilo visual da tag. `soft` é o fundo claro da cor da variante, sem
|
|
3170
|
+
* contorno (setores, perfil, "Publicado", "Dado simulado").
|
|
2202
3171
|
* @default 'outlined'
|
|
2203
3172
|
*/
|
|
2204
|
-
appearance?: "outlined" | "solid";
|
|
3173
|
+
appearance?: "outlined" | "solid" | "soft";
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Formato de pílula (cantos totalmente arredondados).
|
|
3177
|
+
* @default false
|
|
3178
|
+
*/
|
|
3179
|
+
pill?: boolean;
|
|
2205
3180
|
|
|
2206
3181
|
/**
|
|
2207
3182
|
* Variante semântica de cor (paridade com o Badge) — para tag de STATUS
|
|
@@ -2209,13 +3184,14 @@ export interface TagProps {
|
|
|
2209
3184
|
* 'neutral' mantém o visual atual.
|
|
2210
3185
|
* @default 'neutral'
|
|
2211
3186
|
*/
|
|
2212
|
-
variant?: "neutral" | "primary" | "positive" | "negative" | "info";
|
|
3187
|
+
variant?: "neutral" | "primary" | "positive" | "negative" | "info" | "new";
|
|
2213
3188
|
|
|
2214
3189
|
/**
|
|
2215
|
-
* Tamanho da tag.
|
|
3190
|
+
* Tamanho da tag. `xs` é a compacta de 18px (`line-height: 1`), para linha
|
|
3191
|
+
* de lista e card; `sm` continua com 27px.
|
|
2216
3192
|
* @default 'md'
|
|
2217
3193
|
*/
|
|
2218
|
-
size?: "sm" | "md" | "lg";
|
|
3194
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
2219
3195
|
|
|
2220
3196
|
/**
|
|
2221
3197
|
* Ícone Font Awesome exibido à esquerda do label.
|
|
@@ -2285,6 +3261,15 @@ export interface TagProps {
|
|
|
2285
3261
|
|
|
2286
3262
|
}
|
|
2287
3263
|
|
|
3264
|
+
export interface ResponsiveVariant {
|
|
3265
|
+
xs?: TextVariant;
|
|
3266
|
+
sm?: TextVariant;
|
|
3267
|
+
md?: TextVariant;
|
|
3268
|
+
lg?: TextVariant;
|
|
3269
|
+
xl?: TextVariant;
|
|
3270
|
+
xxl?: TextVariant;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
2288
3273
|
export interface TextProps {
|
|
2289
3274
|
/** ID HTML do elemento raiz */
|
|
2290
3275
|
id?: string;
|
|
@@ -2371,6 +3356,22 @@ export interface TextProps {
|
|
|
2371
3356
|
*/
|
|
2372
3357
|
}
|
|
2373
3358
|
|
|
3359
|
+
export type TextVariant =
|
|
3360
|
+
| "display"
|
|
3361
|
+
| "h1"
|
|
3362
|
+
| "h2"
|
|
3363
|
+
| "h3"
|
|
3364
|
+
| "h4"
|
|
3365
|
+
| "h5"
|
|
3366
|
+
| "h6"
|
|
3367
|
+
| "subtitle1"
|
|
3368
|
+
| "subtitle2"
|
|
3369
|
+
| "body1"
|
|
3370
|
+
| "body2"
|
|
3371
|
+
| "caption"
|
|
3372
|
+
| "overline"
|
|
3373
|
+
| "label";
|
|
3374
|
+
|
|
2374
3375
|
export interface TextareaProps {
|
|
2375
3376
|
id?: string;
|
|
2376
3377
|
label?: any;
|
|
@@ -2459,6 +3460,17 @@ export interface TimePickerProps {
|
|
|
2459
3460
|
onChange?: (value: string) => void;
|
|
2460
3461
|
}
|
|
2461
3462
|
|
|
3463
|
+
export interface TimelineItem {
|
|
3464
|
+
title: string;
|
|
3465
|
+
description?: string;
|
|
3466
|
+
timestamp?: string;
|
|
3467
|
+
actor?: string;
|
|
3468
|
+
icon?: any;
|
|
3469
|
+
variant?: "default" | "primary" | "positive" | "negative" | "info";
|
|
3470
|
+
current?: boolean;
|
|
3471
|
+
[key: string]: any;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
2462
3474
|
export interface TimelineProps {
|
|
2463
3475
|
items: TimelineItem[];
|
|
2464
3476
|
card?: boolean;
|
|
@@ -2492,6 +3504,22 @@ export interface ToastProps {
|
|
|
2492
3504
|
*/
|
|
2493
3505
|
description?: string;
|
|
2494
3506
|
|
|
3507
|
+
/**
|
|
3508
|
+
* Lista de detalhes, uma linha por item, abaixo da descrição ("Anexo 3 acima
|
|
3509
|
+
* de 10 MB", "Despacho sem assunto").
|
|
3510
|
+
*/
|
|
3511
|
+
details?: string[];
|
|
3512
|
+
|
|
3513
|
+
/**
|
|
3514
|
+
* Rótulo do botão de ação ("Desfazer"). O botão só aparece com `onAction`.
|
|
3515
|
+
*/
|
|
3516
|
+
actionLabel?: string;
|
|
3517
|
+
|
|
3518
|
+
/**
|
|
3519
|
+
* Chamado ao acionar o botão de ação. Depois dele o toast fecha (`onClose`).
|
|
3520
|
+
*/
|
|
3521
|
+
onAction?: (event?: any) => void;
|
|
3522
|
+
|
|
2495
3523
|
/**
|
|
2496
3524
|
* Posição na tela onde o toast é fixado.
|
|
2497
3525
|
* @default 'top-right'
|
|
@@ -2553,6 +3581,17 @@ export interface TooltipProps {
|
|
|
2553
3581
|
side?: "top" | "bottom" | "left" | "right";
|
|
2554
3582
|
/** Alinhamento no eixo cruzado: "center" usa só o `side`; "start"/"end" viram placements compostos (`top-start`, `right-end`…). */
|
|
2555
3583
|
align?: "start" | "center" | "end";
|
|
3584
|
+
/**
|
|
3585
|
+
* Aparência do balão. `dark` é o compacto escuro (fundo `background-dark`,
|
|
3586
|
+
* texto `neutral-light-pure`, padding 4/8, raio 4, no máximo 220px de
|
|
3587
|
+
* largura): o balão de ícone, sigla e botão de barra de ferramentas. Os dois
|
|
3588
|
+
* tokens são o par invertido do tema, então o contraste vale nos claros,
|
|
3589
|
+
* escuro e alto contraste.
|
|
3590
|
+
* @default 'default'
|
|
3591
|
+
*/
|
|
3592
|
+
variant?: "default" | "dark";
|
|
3593
|
+
/** Largura máxima do balão, qualquer valor CSS (`"220px"`, `"20rem"`). Vence o teto de cada variante (280px no padrão, 220px no dark). */
|
|
3594
|
+
maxWidth?: string;
|
|
2556
3595
|
sideOffset?: number;
|
|
2557
3596
|
delayDuration?: number;
|
|
2558
3597
|
disabled?: boolean;
|
|
@@ -2560,6 +3599,42 @@ export interface TooltipProps {
|
|
|
2560
3599
|
children?: any;
|
|
2561
3600
|
}
|
|
2562
3601
|
|
|
3602
|
+
export interface TreeNode {
|
|
3603
|
+
id: string;
|
|
3604
|
+
/** Rótulo padrão. Ignorado quando o consumidor usa o slot de linha. */
|
|
3605
|
+
label?: string;
|
|
3606
|
+
children?: TreeNode[];
|
|
3607
|
+
/**
|
|
3608
|
+
* Marca que o nó TEM filhos ainda não carregados. Serve para o caret
|
|
3609
|
+
* aparecer antes de `children` existir (carregamento sob demanda).
|
|
3610
|
+
*/
|
|
3611
|
+
hasChildren?: boolean;
|
|
3612
|
+
/** Nó em carregamento: o caret vira indicador de espera. */
|
|
3613
|
+
loading?: boolean;
|
|
3614
|
+
disabled?: boolean;
|
|
3615
|
+
icon?: any;
|
|
3616
|
+
/**
|
|
3617
|
+
* Cor do ícone da linha. Sem isto todo ícone sai no cinza do rótulo, e uma
|
|
3618
|
+
* árvore de pastas fica sem hierarquia visual. Os valores são os do `Icon` —
|
|
3619
|
+
* não aceita cor livre, para não abrir porta a hex fora do token.
|
|
3620
|
+
*/
|
|
3621
|
+
iconVariant?: "primary" | "secondary" | "neutral" | "inherit";
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
export interface TreeVisibleRow {
|
|
3625
|
+
node: TreeNode;
|
|
3626
|
+
level: number;
|
|
3627
|
+
expanded: boolean;
|
|
3628
|
+
hasToggle: boolean;
|
|
3629
|
+
parentId: string | null;
|
|
3630
|
+
/** Última entre os irmãos: define cotovelo em "L" em vez de "T". */
|
|
3631
|
+
isLast: boolean;
|
|
3632
|
+
/** Posição entre os irmãos (1-based) — vira aria-posinset. */
|
|
3633
|
+
posInSet: number;
|
|
3634
|
+
/** Total de irmãos no mesmo nível — vira aria-setsize. */
|
|
3635
|
+
setSize: number;
|
|
3636
|
+
}
|
|
3637
|
+
|
|
2563
3638
|
export interface TreeProps {
|
|
2564
3639
|
items: TreeNode[];
|
|
2565
3640
|
|
|
@@ -2634,18 +3709,23 @@ export declare const BottomSheet: ComponentWithProps<BottomSheetProps>;
|
|
|
2634
3709
|
export declare const Box: ComponentWithProps<BoxProps>;
|
|
2635
3710
|
export declare const Breadcrumb: ComponentWithProps<BreadcrumbProps>;
|
|
2636
3711
|
export declare const Button: ComponentWithProps<ButtonProps>;
|
|
3712
|
+
export declare const Calendar: ComponentWithProps<CalendarProps>;
|
|
2637
3713
|
export declare const Card: ComponentWithProps<CardProps>;
|
|
2638
3714
|
export declare const BarChart: ComponentWithProps<BarChartProps>;
|
|
2639
3715
|
export declare const DonutChart: ComponentWithProps<DonutChartProps>;
|
|
2640
3716
|
export declare const LineChart: ComponentWithProps<LineChartProps>;
|
|
2641
3717
|
export declare const Checkbox: ComponentWithProps<CheckboxProps>;
|
|
2642
3718
|
export declare const Chips: ComponentWithProps<ChipsProps>;
|
|
3719
|
+
export declare const Coachmark: ComponentWithProps<CoachmarkProps>;
|
|
3720
|
+
export declare const CodeBlock: ComponentWithProps<CodeBlockProps>;
|
|
3721
|
+
export declare const ColorPicker: ComponentWithProps<ColorPickerProps>;
|
|
2643
3722
|
export declare const Combobox: ComponentWithProps<ComboboxProps>;
|
|
2644
3723
|
export declare const ConfirmAIAction: ComponentWithProps<ConfirmAIActionProps>;
|
|
2645
3724
|
export declare const ConfirmDialog: ComponentWithProps<ConfirmDialogProps>;
|
|
2646
3725
|
export declare const Container: ComponentWithProps<ContainerProps>;
|
|
2647
3726
|
export declare const DataTable: ComponentWithProps<DataTableProps>;
|
|
2648
3727
|
export declare const DatePicker: ComponentWithProps<DatePickerProps>;
|
|
3728
|
+
export declare const DescriptionList: ComponentWithProps<DescriptionListProps>;
|
|
2649
3729
|
export declare const Divider: ComponentWithProps<DividerProps>;
|
|
2650
3730
|
export declare const Drawer: ComponentWithProps<DrawerProps>;
|
|
2651
3731
|
export declare const Dropdown: ComponentWithProps<DropdownProps>;
|
|
@@ -2653,14 +3733,20 @@ export declare const EmptyState: ComponentWithProps<EmptyStateProps>;
|
|
|
2653
3733
|
export declare const FileInput: ComponentWithProps<FileInputProps>;
|
|
2654
3734
|
export declare const Grid: ComponentWithProps<GridProps>;
|
|
2655
3735
|
export declare const Icon: ComponentWithProps<IconProps>;
|
|
3736
|
+
export declare const IconPicker: ComponentWithProps<IconPickerProps>;
|
|
2656
3737
|
export declare const Input: ComponentWithProps<InputProps>;
|
|
2657
3738
|
export declare const Kanban: ComponentWithProps<KanbanProps>;
|
|
2658
3739
|
export declare const KanbanCard: ComponentWithProps<KanbanCardProps>;
|
|
2659
3740
|
export declare const KanbanColumn: ComponentWithProps<KanbanColumnProps>;
|
|
3741
|
+
export declare const Kbd: ComponentWithProps<KbdProps>;
|
|
2660
3742
|
export declare const Link: ComponentWithProps<LinkProps>;
|
|
3743
|
+
export declare const List: ComponentWithProps<ListProps>;
|
|
3744
|
+
export declare const ListItem: ComponentWithProps<ListItemProps>;
|
|
2661
3745
|
export declare const Logo: ComponentWithProps<LogoProps>;
|
|
2662
3746
|
export declare const Modal: ComponentWithProps<ModalProps>;
|
|
2663
3747
|
export declare const MultiSelect: ComponentWithProps<MultiSelectProps>;
|
|
3748
|
+
export declare const OrgChart: ComponentWithProps<OrgChartProps>;
|
|
3749
|
+
export declare const OtpInput: ComponentWithProps<OtpInputProps>;
|
|
2664
3750
|
export declare const PageHeader: ComponentWithProps<PageHeaderProps>;
|
|
2665
3751
|
export declare const Pagination: ComponentWithProps<PaginationProps>;
|
|
2666
3752
|
export declare const PhoneInput: ComponentWithProps<PhoneInputProps>;
|
|
@@ -2670,6 +3756,7 @@ export declare const Portal: ComponentWithProps<PortalProps>;
|
|
|
2670
3756
|
export declare const ProgressBar: ComponentWithProps<ProgressBarProps>;
|
|
2671
3757
|
export declare const Radio: ComponentWithProps<RadioProps>;
|
|
2672
3758
|
export declare const RadioGroup: ComponentWithProps<RadioGroupProps>;
|
|
3759
|
+
export declare const RichTextEditor: ComponentWithProps<RichTextEditorProps>;
|
|
2673
3760
|
export declare const SegmentedControl: ComponentWithProps<SegmentedControlProps>;
|
|
2674
3761
|
export declare const Select: ComponentWithProps<SelectProps>;
|
|
2675
3762
|
export declare const SidePanel: ComponentWithProps<SidePanelProps>;
|
|
@@ -2718,18 +3805,23 @@ declare module '@vue/runtime-core' {
|
|
|
2718
3805
|
Box: ComponentWithProps<BoxProps>;
|
|
2719
3806
|
Breadcrumb: ComponentWithProps<BreadcrumbProps>;
|
|
2720
3807
|
Button: ComponentWithProps<ButtonProps>;
|
|
3808
|
+
Calendar: ComponentWithProps<CalendarProps>;
|
|
2721
3809
|
Card: ComponentWithProps<CardProps>;
|
|
2722
3810
|
BarChart: ComponentWithProps<BarChartProps>;
|
|
2723
3811
|
DonutChart: ComponentWithProps<DonutChartProps>;
|
|
2724
3812
|
LineChart: ComponentWithProps<LineChartProps>;
|
|
2725
3813
|
Checkbox: ComponentWithProps<CheckboxProps>;
|
|
2726
3814
|
Chips: ComponentWithProps<ChipsProps>;
|
|
3815
|
+
Coachmark: ComponentWithProps<CoachmarkProps>;
|
|
3816
|
+
CodeBlock: ComponentWithProps<CodeBlockProps>;
|
|
3817
|
+
ColorPicker: ComponentWithProps<ColorPickerProps>;
|
|
2727
3818
|
Combobox: ComponentWithProps<ComboboxProps>;
|
|
2728
3819
|
ConfirmAIAction: ComponentWithProps<ConfirmAIActionProps>;
|
|
2729
3820
|
ConfirmDialog: ComponentWithProps<ConfirmDialogProps>;
|
|
2730
3821
|
Container: ComponentWithProps<ContainerProps>;
|
|
2731
3822
|
DataTable: ComponentWithProps<DataTableProps>;
|
|
2732
3823
|
DatePicker: ComponentWithProps<DatePickerProps>;
|
|
3824
|
+
DescriptionList: ComponentWithProps<DescriptionListProps>;
|
|
2733
3825
|
Divider: ComponentWithProps<DividerProps>;
|
|
2734
3826
|
Drawer: ComponentWithProps<DrawerProps>;
|
|
2735
3827
|
Dropdown: ComponentWithProps<DropdownProps>;
|
|
@@ -2737,14 +3829,20 @@ declare module '@vue/runtime-core' {
|
|
|
2737
3829
|
FileInput: ComponentWithProps<FileInputProps>;
|
|
2738
3830
|
Grid: ComponentWithProps<GridProps>;
|
|
2739
3831
|
Icon: ComponentWithProps<IconProps>;
|
|
3832
|
+
IconPicker: ComponentWithProps<IconPickerProps>;
|
|
2740
3833
|
Input: ComponentWithProps<InputProps>;
|
|
2741
3834
|
Kanban: ComponentWithProps<KanbanProps>;
|
|
2742
3835
|
KanbanCard: ComponentWithProps<KanbanCardProps>;
|
|
2743
3836
|
KanbanColumn: ComponentWithProps<KanbanColumnProps>;
|
|
3837
|
+
Kbd: ComponentWithProps<KbdProps>;
|
|
2744
3838
|
Link: ComponentWithProps<LinkProps>;
|
|
3839
|
+
List: ComponentWithProps<ListProps>;
|
|
3840
|
+
ListItem: ComponentWithProps<ListItemProps>;
|
|
2745
3841
|
Logo: ComponentWithProps<LogoProps>;
|
|
2746
3842
|
Modal: ComponentWithProps<ModalProps>;
|
|
2747
3843
|
MultiSelect: ComponentWithProps<MultiSelectProps>;
|
|
3844
|
+
OrgChart: ComponentWithProps<OrgChartProps>;
|
|
3845
|
+
OtpInput: ComponentWithProps<OtpInputProps>;
|
|
2748
3846
|
PageHeader: ComponentWithProps<PageHeaderProps>;
|
|
2749
3847
|
Pagination: ComponentWithProps<PaginationProps>;
|
|
2750
3848
|
PhoneInput: ComponentWithProps<PhoneInputProps>;
|
|
@@ -2754,6 +3852,7 @@ declare module '@vue/runtime-core' {
|
|
|
2754
3852
|
ProgressBar: ComponentWithProps<ProgressBarProps>;
|
|
2755
3853
|
Radio: ComponentWithProps<RadioProps>;
|
|
2756
3854
|
RadioGroup: ComponentWithProps<RadioGroupProps>;
|
|
3855
|
+
RichTextEditor: ComponentWithProps<RichTextEditorProps>;
|
|
2757
3856
|
SegmentedControl: ComponentWithProps<SegmentedControlProps>;
|
|
2758
3857
|
Select: ComponentWithProps<SelectProps>;
|
|
2759
3858
|
SidePanel: ComponentWithProps<SidePanelProps>;
|