@andespindola/ui-core 0.1.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/README.md +45 -0
- package/dist/cjs/floating-ui.dom-BPemvNRD.js +1542 -0
- package/dist/cjs/index-Cb1tfi_9.js +1728 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/ui-accordion-item.cjs.entry.js +27 -0
- package/dist/cjs/ui-accordion.cjs.entry.js +17 -0
- package/dist/cjs/ui-avatar.cjs.entry.js +19 -0
- package/dist/cjs/ui-badge.cjs.entry.js +19 -0
- package/dist/cjs/ui-button.cjs.entry.js +31 -0
- package/dist/cjs/ui-card.cjs.entry.js +17 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +34 -0
- package/dist/cjs/ui-dialog.cjs.entry.js +57 -0
- package/dist/cjs/ui-drawer.cjs.entry.js +59 -0
- package/dist/cjs/ui-dropdown-item.cjs.entry.js +27 -0
- package/dist/cjs/ui-dropdown-menu.cjs.entry.js +97 -0
- package/dist/cjs/ui-field.cjs.entry.js +19 -0
- package/dist/cjs/ui-input.cjs.entry.js +35 -0
- package/dist/cjs/ui-label.cjs.entry.js +17 -0
- package/dist/cjs/ui-loading-overlay.cjs.entry.js +24 -0
- package/dist/cjs/ui-popover.cjs.entry.js +94 -0
- package/dist/cjs/ui-progress.cjs.entry.js +33 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +49 -0
- package/dist/cjs/ui-reveal.cjs.entry.js +41 -0
- package/dist/cjs/ui-scroll-progress.cjs.entry.js +37 -0
- package/dist/cjs/ui-section.cjs.entry.js +23 -0
- package/dist/cjs/ui-select.cjs.entry.js +28 -0
- package/dist/cjs/ui-separator.cjs.entry.js +19 -0
- package/dist/cjs/ui-skeleton.cjs.entry.js +17 -0
- package/dist/cjs/ui-slider.cjs.entry.js +37 -0
- package/dist/cjs/ui-spinner.cjs.entry.js +19 -0
- package/dist/cjs/ui-switch.cjs.entry.js +34 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +31 -0
- package/dist/cjs/ui-textarea.cjs.entry.js +35 -0
- package/dist/cjs/ui-theme-toggle.cjs.entry.js +65 -0
- package/dist/cjs/ui-toast.cjs.entry.js +67 -0
- package/dist/cjs/ui-toaster.cjs.entry.js +29 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +64 -0
- package/dist/cjs/uikit.cjs.js +24 -0
- package/dist/collection/collection-manifest.json +45 -0
- package/dist/collection/components/ui-accordion/ui-accordion.css +4 -0
- package/dist/collection/components/ui-accordion/ui-accordion.js +18 -0
- package/dist/collection/components/ui-accordion-item/ui-accordion-item.css +42 -0
- package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +91 -0
- package/dist/collection/components/ui-avatar/ui-avatar.css +30 -0
- package/dist/collection/components/ui-avatar/ui-avatar.js +84 -0
- package/dist/collection/components/ui-badge/ui-badge.css +46 -0
- package/dist/collection/components/ui-badge/ui-badge.js +52 -0
- package/dist/collection/components/ui-button/ui-button.css +130 -0
- package/dist/collection/components/ui-button/ui-button.js +150 -0
- package/dist/collection/components/ui-card/ui-card.css +24 -0
- package/dist/collection/components/ui-card/ui-card.js +18 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.css +46 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +136 -0
- package/dist/collection/components/ui-dialog/ui-dialog.css +48 -0
- package/dist/collection/components/ui-dialog/ui-dialog.js +140 -0
- package/dist/collection/components/ui-drawer/ui-drawer.css +88 -0
- package/dist/collection/components/ui-drawer/ui-drawer.js +162 -0
- package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.css +36 -0
- package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +71 -0
- package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.css +39 -0
- package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +216 -0
- package/dist/collection/components/ui-field/ui-field.css +34 -0
- package/dist/collection/components/ui-field/ui-field.js +122 -0
- package/dist/collection/components/ui-input/ui-input.css +40 -0
- package/dist/collection/components/ui-input/ui-input.js +191 -0
- package/dist/collection/components/ui-label/ui-label.css +10 -0
- package/dist/collection/components/ui-label/ui-label.js +18 -0
- package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.css +24 -0
- package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.js +102 -0
- package/dist/collection/components/ui-popover/ui-popover.css +36 -0
- package/dist/collection/components/ui-popover/ui-popover.js +204 -0
- package/dist/collection/components/ui-progress/ui-progress.css +32 -0
- package/dist/collection/components/ui-progress/ui-progress.js +100 -0
- package/dist/collection/components/ui-radio-group/ui-radio-group.css +67 -0
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +155 -0
- package/dist/collection/components/ui-reveal/ui-reveal.css +17 -0
- package/dist/collection/components/ui-reveal/ui-reveal.js +73 -0
- package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.css +20 -0
- package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +45 -0
- package/dist/collection/components/ui-section/ui-section.css +32 -0
- package/dist/collection/components/ui-section/ui-section.js +90 -0
- package/dist/collection/components/ui-select/ui-select.css +49 -0
- package/dist/collection/components/ui-select/ui-select.js +153 -0
- package/dist/collection/components/ui-separator/ui-separator.css +15 -0
- package/dist/collection/components/ui-separator/ui-separator.js +52 -0
- package/dist/collection/components/ui-skeleton/ui-skeleton.css +27 -0
- package/dist/collection/components/ui-skeleton/ui-skeleton.js +18 -0
- package/dist/collection/components/ui-slider/ui-slider.css +80 -0
- package/dist/collection/components/ui-slider/ui-slider.js +175 -0
- package/dist/collection/components/ui-spinner/ui-spinner.css +39 -0
- package/dist/collection/components/ui-spinner/ui-spinner.js +52 -0
- package/dist/collection/components/ui-switch/ui-switch.css +47 -0
- package/dist/collection/components/ui-switch/ui-switch.js +98 -0
- package/dist/collection/components/ui-tabs/ui-tabs.css +38 -0
- package/dist/collection/components/ui-tabs/ui-tabs.js +99 -0
- package/dist/collection/components/ui-textarea/ui-textarea.css +42 -0
- package/dist/collection/components/ui-textarea/ui-textarea.js +191 -0
- package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.css +28 -0
- package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +90 -0
- package/dist/collection/components/ui-toast/ui-toast.css +81 -0
- package/dist/collection/components/ui-toast/ui-toast.js +234 -0
- package/dist/collection/components/ui-toaster/ui-toaster.css +15 -0
- package/dist/collection/components/ui-toaster/ui-toaster.js +67 -0
- package/dist/collection/components/ui-tooltip/ui-tooltip.css +37 -0
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +143 -0
- package/dist/collection/index.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-Bz9HyboB.js +1 -0
- package/dist/components/p-C8ePpPG3.js +1 -0
- package/dist/components/p-CyBRmmbs.js +1 -0
- package/dist/components/ui-accordion-item.d.ts +11 -0
- package/dist/components/ui-accordion-item.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-dialog.d.ts +11 -0
- package/dist/components/ui-dialog.js +1 -0
- package/dist/components/ui-drawer.d.ts +11 -0
- package/dist/components/ui-drawer.js +1 -0
- package/dist/components/ui-dropdown-item.d.ts +11 -0
- package/dist/components/ui-dropdown-item.js +1 -0
- package/dist/components/ui-dropdown-menu.d.ts +11 -0
- package/dist/components/ui-dropdown-menu.js +1 -0
- package/dist/components/ui-field.d.ts +11 -0
- package/dist/components/ui-field.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-label.d.ts +11 -0
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-loading-overlay.d.ts +11 -0
- package/dist/components/ui-loading-overlay.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-reveal.d.ts +11 -0
- package/dist/components/ui-reveal.js +1 -0
- package/dist/components/ui-scroll-progress.d.ts +11 -0
- package/dist/components/ui-scroll-progress.js +1 -0
- package/dist/components/ui-section.d.ts +11 -0
- package/dist/components/ui-section.js +1 -0
- package/dist/components/ui-select.d.ts +11 -0
- package/dist/components/ui-select.js +1 -0
- package/dist/components/ui-separator.d.ts +11 -0
- package/dist/components/ui-separator.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-slider.d.ts +11 -0
- package/dist/components/ui-slider.js +1 -0
- package/dist/components/ui-spinner.d.ts +11 -0
- package/dist/components/ui-spinner.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-textarea.d.ts +11 -0
- package/dist/components/ui-textarea.js +1 -0
- package/dist/components/ui-theme-toggle.d.ts +11 -0
- package/dist/components/ui-theme-toggle.js +1 -0
- package/dist/components/ui-toast.d.ts +11 -0
- package/dist/components/ui-toast.js +1 -0
- package/dist/components/ui-toaster.d.ts +11 -0
- package/dist/components/ui-toaster.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/esm/floating-ui.dom-CyBRmmbs.js +1536 -0
- package/dist/esm/index-DYwlrXg_.js +1718 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/ui-accordion-item.entry.js +25 -0
- package/dist/esm/ui-accordion.entry.js +15 -0
- package/dist/esm/ui-avatar.entry.js +17 -0
- package/dist/esm/ui-badge.entry.js +17 -0
- package/dist/esm/ui-button.entry.js +29 -0
- package/dist/esm/ui-card.entry.js +15 -0
- package/dist/esm/ui-checkbox.entry.js +32 -0
- package/dist/esm/ui-dialog.entry.js +55 -0
- package/dist/esm/ui-drawer.entry.js +57 -0
- package/dist/esm/ui-dropdown-item.entry.js +25 -0
- package/dist/esm/ui-dropdown-menu.entry.js +95 -0
- package/dist/esm/ui-field.entry.js +17 -0
- package/dist/esm/ui-input.entry.js +33 -0
- package/dist/esm/ui-label.entry.js +15 -0
- package/dist/esm/ui-loading-overlay.entry.js +22 -0
- package/dist/esm/ui-popover.entry.js +92 -0
- package/dist/esm/ui-progress.entry.js +31 -0
- package/dist/esm/ui-radio-group.entry.js +47 -0
- package/dist/esm/ui-reveal.entry.js +39 -0
- package/dist/esm/ui-scroll-progress.entry.js +35 -0
- package/dist/esm/ui-section.entry.js +21 -0
- package/dist/esm/ui-select.entry.js +26 -0
- package/dist/esm/ui-separator.entry.js +17 -0
- package/dist/esm/ui-skeleton.entry.js +15 -0
- package/dist/esm/ui-slider.entry.js +35 -0
- package/dist/esm/ui-spinner.entry.js +17 -0
- package/dist/esm/ui-switch.entry.js +32 -0
- package/dist/esm/ui-tabs.entry.js +29 -0
- package/dist/esm/ui-textarea.entry.js +33 -0
- package/dist/esm/ui-theme-toggle.entry.js +63 -0
- package/dist/esm/ui-toast.entry.js +65 -0
- package/dist/esm/ui-toaster.entry.js +27 -0
- package/dist/esm/ui-tooltip.entry.js +62 -0
- package/dist/esm/uikit.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/ui-accordion/ui-accordion.d.ts +3 -0
- package/dist/types/components/ui-accordion-item/ui-accordion-item.d.ts +11 -0
- package/dist/types/components/ui-avatar/ui-avatar.d.ts +9 -0
- package/dist/types/components/ui-badge/ui-badge.d.ts +6 -0
- package/dist/types/components/ui-button/ui-button.d.ts +15 -0
- package/dist/types/components/ui-card/ui-card.d.ts +3 -0
- package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +16 -0
- package/dist/types/components/ui-dialog/ui-dialog.d.ts +18 -0
- package/dist/types/components/ui-drawer/ui-drawer.d.ts +20 -0
- package/dist/types/components/ui-dropdown-item/ui-dropdown-item.d.ts +10 -0
- package/dist/types/components/ui-dropdown-menu/ui-dropdown-menu.d.ts +28 -0
- package/dist/types/components/ui-field/ui-field.d.ts +13 -0
- package/dist/types/components/ui-input/ui-input.d.ts +22 -0
- package/dist/types/components/ui-label/ui-label.d.ts +3 -0
- package/dist/types/components/ui-loading-overlay/ui-loading-overlay.d.ts +15 -0
- package/dist/types/components/ui-popover/ui-popover.d.ts +27 -0
- package/dist/types/components/ui-progress/ui-progress.d.ts +11 -0
- package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +20 -0
- package/dist/types/components/ui-reveal/ui-reveal.d.ts +11 -0
- package/dist/types/components/ui-scroll-progress/ui-scroll-progress.d.ts +8 -0
- package/dist/types/components/ui-section/ui-section.d.ts +9 -0
- package/dist/types/components/ui-select/ui-select.d.ts +21 -0
- package/dist/types/components/ui-separator/ui-separator.d.ts +6 -0
- package/dist/types/components/ui-skeleton/ui-skeleton.d.ts +3 -0
- package/dist/types/components/ui-slider/ui-slider.d.ts +20 -0
- package/dist/types/components/ui-spinner/ui-spinner.d.ts +6 -0
- package/dist/types/components/ui-switch/ui-switch.d.ts +12 -0
- package/dist/types/components/ui-tabs/ui-tabs.d.ts +15 -0
- package/dist/types/components/ui-textarea/ui-textarea.d.ts +22 -0
- package/dist/types/components/ui-theme-toggle/ui-theme-toggle.d.ts +13 -0
- package/dist/types/components/ui-toast/ui-toast.d.ts +28 -0
- package/dist/types/components/ui-toaster/ui-toaster.d.ts +19 -0
- package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +21 -0
- package/dist/types/components.d.ts +1727 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1861 -0
- package/dist/uikit/index.esm.js +0 -0
- package/dist/uikit/p-06d6d907.entry.js +1 -0
- package/dist/uikit/p-0fb4949b.entry.js +1 -0
- package/dist/uikit/p-162302d1.entry.js +1 -0
- package/dist/uikit/p-19b81437.entry.js +1 -0
- package/dist/uikit/p-24edfe3e.entry.js +1 -0
- package/dist/uikit/p-3d30bc7a.entry.js +1 -0
- package/dist/uikit/p-4382718f.entry.js +1 -0
- package/dist/uikit/p-4a1abc1c.entry.js +1 -0
- package/dist/uikit/p-57058c30.entry.js +1 -0
- package/dist/uikit/p-5df32809.entry.js +1 -0
- package/dist/uikit/p-5ea42ee5.entry.js +1 -0
- package/dist/uikit/p-629c1728.entry.js +1 -0
- package/dist/uikit/p-76f0f79f.entry.js +1 -0
- package/dist/uikit/p-83159bfc.entry.js +1 -0
- package/dist/uikit/p-8bcd423c.entry.js +1 -0
- package/dist/uikit/p-8cebbe65.entry.js +1 -0
- package/dist/uikit/p-90d49509.entry.js +1 -0
- package/dist/uikit/p-94fb298e.entry.js +1 -0
- package/dist/uikit/p-9aa557d1.entry.js +1 -0
- package/dist/uikit/p-9c57cf57.entry.js +1 -0
- package/dist/uikit/p-9d784b04.entry.js +1 -0
- package/dist/uikit/p-9e7b81ef.entry.js +1 -0
- package/dist/uikit/p-9f7c6ca8.entry.js +1 -0
- package/dist/uikit/p-CyBRmmbs.js +1 -0
- package/dist/uikit/p-DYwlrXg_.js +2 -0
- package/dist/uikit/p-a7be1c69.entry.js +1 -0
- package/dist/uikit/p-b30aa6a6.entry.js +1 -0
- package/dist/uikit/p-b61e3df4.entry.js +1 -0
- package/dist/uikit/p-c72ed105.entry.js +1 -0
- package/dist/uikit/p-cb2adfb7.entry.js +1 -0
- package/dist/uikit/p-cf10ca3b.entry.js +1 -0
- package/dist/uikit/p-e410c789.entry.js +1 -0
- package/dist/uikit/p-f7402442.entry.js +1 -0
- package/dist/uikit/p-fd05c146.entry.js +1 -0
- package/dist/uikit/p-fd1648bf.entry.js +1 -0
- package/dist/uikit/uikit.css +6 -0
- package/dist/uikit/uikit.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +48 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiAccordionItem {
|
|
3
|
+
/** Título exibido no cabeçalho. */
|
|
4
|
+
heading: string;
|
|
5
|
+
/** Estado aberto/fechado. */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Emitido quando o item é aberto ou fechado. */
|
|
8
|
+
uiToggle: EventEmitter<boolean>;
|
|
9
|
+
private onToggle;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type UiButtonVariant = "solid" | "default" | "subtle" | "outline" | "ghost" | "destructive" | "link";
|
|
2
|
+
export type UiButtonSize = "sm" | "md" | "lg" | "icon";
|
|
3
|
+
export declare class UiButton {
|
|
4
|
+
/** Variante visual. */
|
|
5
|
+
variant: UiButtonVariant;
|
|
6
|
+
/** Tamanho. */
|
|
7
|
+
size: UiButtonSize;
|
|
8
|
+
/** Desabilita o botão. */
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/** Exibe spinner e desabilita durante uma ação assíncrona. */
|
|
11
|
+
loading: boolean;
|
|
12
|
+
/** Tipo do botão nativo. */
|
|
13
|
+
type: "button" | "submit" | "reset";
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiCheckbox {
|
|
3
|
+
/** Estado marcado/desmarcado. */
|
|
4
|
+
checked: boolean;
|
|
5
|
+
/** Desabilita o controle. */
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
/** Nome do campo. */
|
|
8
|
+
name?: string;
|
|
9
|
+
/** Valor associado. */
|
|
10
|
+
value?: string;
|
|
11
|
+
/** Emitido quando o estado muda. */
|
|
12
|
+
uiChange: EventEmitter<boolean>;
|
|
13
|
+
private toggle;
|
|
14
|
+
private onKeyDown;
|
|
15
|
+
render(): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiDialog {
|
|
3
|
+
/** Controla a abertura do modal. */
|
|
4
|
+
open: boolean;
|
|
5
|
+
/** Emitido quando o modal é fechado (Esc, backdrop ou close()). */
|
|
6
|
+
uiClose: EventEmitter<void>;
|
|
7
|
+
private dialogEl?;
|
|
8
|
+
onOpenChange(value: boolean): void;
|
|
9
|
+
componentDidLoad(): void;
|
|
10
|
+
private sync;
|
|
11
|
+
/** Abre o modal imperativamente. */
|
|
12
|
+
show(): Promise<void>;
|
|
13
|
+
/** Fecha o modal imperativamente. */
|
|
14
|
+
close(): Promise<void>;
|
|
15
|
+
private onClose;
|
|
16
|
+
private onBackdropClick;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiDrawer {
|
|
3
|
+
/** Controla a abertura do painel lateral. */
|
|
4
|
+
open: boolean;
|
|
5
|
+
/** Borda onde o painel é ancorado. */
|
|
6
|
+
side: "right" | "bottom";
|
|
7
|
+
/** Emitido quando o painel é fechado (Esc, backdrop ou close()). */
|
|
8
|
+
uiClose: EventEmitter<void>;
|
|
9
|
+
private dialogEl?;
|
|
10
|
+
onOpenChange(value: boolean): void;
|
|
11
|
+
componentDidLoad(): void;
|
|
12
|
+
private sync;
|
|
13
|
+
/** Abre o painel imperativamente. */
|
|
14
|
+
show(): Promise<void>;
|
|
15
|
+
/** Fecha o painel imperativamente. */
|
|
16
|
+
close(): Promise<void>;
|
|
17
|
+
private onClose;
|
|
18
|
+
private onBackdropClick;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiDropdownItem {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
/** Desabilita o item, impedindo seleção. */
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
/** Emitido quando o item é selecionado. */
|
|
7
|
+
uiSelect: EventEmitter<void>;
|
|
8
|
+
private onClick;
|
|
9
|
+
render(): any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { type Placement } from "@floating-ui/dom";
|
|
3
|
+
export declare class UiDropdownMenu {
|
|
4
|
+
host: HTMLElement;
|
|
5
|
+
/** Controla a abertura do menu. */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Posição preferida do menu relativo ao gatilho. */
|
|
8
|
+
placement: Placement;
|
|
9
|
+
/** Emitido quando o estado de abertura muda. */
|
|
10
|
+
uiOpenChange: EventEmitter<boolean>;
|
|
11
|
+
private triggerEl?;
|
|
12
|
+
private floatingEl?;
|
|
13
|
+
private cleanup?;
|
|
14
|
+
onOpenChange(value: boolean): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
/** Abre o menu imperativamente. */
|
|
17
|
+
show(): Promise<void>;
|
|
18
|
+
/** Fecha o menu imperativamente. */
|
|
19
|
+
close(): Promise<void>;
|
|
20
|
+
onItemClose(): void;
|
|
21
|
+
private setOpen;
|
|
22
|
+
private start;
|
|
23
|
+
private stop;
|
|
24
|
+
private onTriggerClick;
|
|
25
|
+
private onDocumentClick;
|
|
26
|
+
private onKeydown;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class UiField {
|
|
2
|
+
/** Texto do rótulo. */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Texto auxiliar exibido abaixo do controle. */
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Mensagem de erro; quando presente substitui a descrição. */
|
|
7
|
+
error?: string;
|
|
8
|
+
/** Marca o campo como obrigatório (asterisco). */
|
|
9
|
+
required: boolean;
|
|
10
|
+
/** Id do controle associado ao rótulo. */
|
|
11
|
+
fieldId?: string;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiInput {
|
|
3
|
+
/** Valor do campo. */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Placeholder. */
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/** Tipo do input nativo. */
|
|
8
|
+
type: string;
|
|
9
|
+
/** Desabilita o campo. */
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/** Marca o campo como inválido (estilo + aria-invalid). */
|
|
12
|
+
invalid: boolean;
|
|
13
|
+
/** Nome do campo. */
|
|
14
|
+
name?: string;
|
|
15
|
+
/** Emitido a cada digitação. */
|
|
16
|
+
uiInput: EventEmitter<string>;
|
|
17
|
+
/** Emitido ao confirmar (change). */
|
|
18
|
+
uiChange: EventEmitter<string>;
|
|
19
|
+
private onInput;
|
|
20
|
+
private onChange;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { UiSpinnerSize } from "../ui-spinner/ui-spinner";
|
|
2
|
+
/**
|
|
3
|
+
* Sobreposição de carregamento que cobre o elemento pai.
|
|
4
|
+
* O host pai deve ter `position: relative` para que a sobreposição
|
|
5
|
+
* absoluta (inset 0) o cubra corretamente.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UiLoadingOverlay {
|
|
8
|
+
/** Controla a exibição da sobreposição. */
|
|
9
|
+
visible: boolean;
|
|
10
|
+
/** Texto opcional exibido abaixo do spinner. */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Tamanho do spinner. */
|
|
13
|
+
spinnerSize: UiSpinnerSize;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { type Placement } from "@floating-ui/dom";
|
|
3
|
+
export declare class UiPopover {
|
|
4
|
+
host: HTMLElement;
|
|
5
|
+
/** Controla a abertura do conteúdo flutuante. */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Posição preferida do conteúdo relativo ao gatilho. */
|
|
8
|
+
placement: Placement;
|
|
9
|
+
/** Emitido quando o estado de abertura muda. */
|
|
10
|
+
uiOpenChange: EventEmitter<boolean>;
|
|
11
|
+
private triggerEl?;
|
|
12
|
+
private floatingEl?;
|
|
13
|
+
private cleanup?;
|
|
14
|
+
onOpenChange(value: boolean): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
/** Abre o popover imperativamente. */
|
|
17
|
+
show(): Promise<void>;
|
|
18
|
+
/** Fecha o popover imperativamente. */
|
|
19
|
+
close(): Promise<void>;
|
|
20
|
+
private setOpen;
|
|
21
|
+
private start;
|
|
22
|
+
private stop;
|
|
23
|
+
private onTriggerClick;
|
|
24
|
+
private onDocumentClick;
|
|
25
|
+
private onKeydown;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UiProgress {
|
|
2
|
+
/** Valor atual do progresso. `null` torna o componente indeterminado. */
|
|
3
|
+
value: number | null;
|
|
4
|
+
/** Valor máximo. */
|
|
5
|
+
max: number;
|
|
6
|
+
/** Força o estado indeterminado. */
|
|
7
|
+
indeterminate: boolean;
|
|
8
|
+
private get isIndeterminate();
|
|
9
|
+
private get percent();
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export interface UiRadioOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class UiRadioGroup {
|
|
7
|
+
/** Valor selecionado. */
|
|
8
|
+
value?: string;
|
|
9
|
+
/** Nome do grupo. */
|
|
10
|
+
name?: string;
|
|
11
|
+
/** Opções disponíveis. */
|
|
12
|
+
options: UiRadioOption[];
|
|
13
|
+
/** Desabilita o grupo. */
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/** Emitido quando a seleção muda. */
|
|
16
|
+
uiChange: EventEmitter<string>;
|
|
17
|
+
private select;
|
|
18
|
+
private onKeyDown;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UiReveal {
|
|
2
|
+
host: HTMLElement;
|
|
3
|
+
/** Atraso da transição em milissegundos. */
|
|
4
|
+
delay: number;
|
|
5
|
+
/** Indica se o conteúdo já foi revelado. */
|
|
6
|
+
visible: boolean;
|
|
7
|
+
private observer?;
|
|
8
|
+
connectedCallback(): void;
|
|
9
|
+
disconnectedCallback(): void;
|
|
10
|
+
render(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export interface UiSelectOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class UiSelect {
|
|
7
|
+
/** Valor selecionado. */
|
|
8
|
+
value?: string;
|
|
9
|
+
/** Desabilita o controle. */
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/** Nome do campo. */
|
|
12
|
+
name?: string;
|
|
13
|
+
/** Opções disponíveis. */
|
|
14
|
+
options: UiSelectOption[];
|
|
15
|
+
/** Placeholder exibido como opção desabilitada inicial. */
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
/** Emitido quando a seleção muda. */
|
|
18
|
+
uiChange: EventEmitter<string>;
|
|
19
|
+
private onChange;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiSlider {
|
|
3
|
+
/** Valor atual. */
|
|
4
|
+
value: number;
|
|
5
|
+
/** Valor mínimo. */
|
|
6
|
+
min: number;
|
|
7
|
+
/** Valor máximo. */
|
|
8
|
+
max: number;
|
|
9
|
+
/** Incremento. */
|
|
10
|
+
step: number;
|
|
11
|
+
/** Desabilita o controle. */
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
/** Emitido a cada movimento. */
|
|
14
|
+
uiInput: EventEmitter<number>;
|
|
15
|
+
/** Emitido ao confirmar (change). */
|
|
16
|
+
uiChange: EventEmitter<number>;
|
|
17
|
+
private onInput;
|
|
18
|
+
private onChange;
|
|
19
|
+
render(): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiSwitch {
|
|
3
|
+
/** Estado ligado/desligado. */
|
|
4
|
+
checked: boolean;
|
|
5
|
+
/** Desabilita o controle. */
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
/** Emitido quando o estado muda. */
|
|
8
|
+
uiChange: EventEmitter<boolean>;
|
|
9
|
+
private toggle;
|
|
10
|
+
private onKeyDown;
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export interface UiTabItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class UiTabs {
|
|
7
|
+
/** Valor da aba ativa. */
|
|
8
|
+
value: string;
|
|
9
|
+
/** Lista de abas. */
|
|
10
|
+
items: UiTabItem[];
|
|
11
|
+
/** Emitido quando a aba ativa muda. */
|
|
12
|
+
uiChange: EventEmitter<string>;
|
|
13
|
+
private select;
|
|
14
|
+
render(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiTextarea {
|
|
3
|
+
/** Valor do campo. */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Placeholder. */
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/** Desabilita o campo. */
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
/** Marca o campo como inválido (estilo + aria-invalid). */
|
|
10
|
+
invalid: boolean;
|
|
11
|
+
/** Nome do campo. */
|
|
12
|
+
name?: string;
|
|
13
|
+
/** Número de linhas visíveis. */
|
|
14
|
+
rows: number;
|
|
15
|
+
/** Emitido a cada digitação. */
|
|
16
|
+
uiInput: EventEmitter<string>;
|
|
17
|
+
/** Emitido ao confirmar (change). */
|
|
18
|
+
uiChange: EventEmitter<string>;
|
|
19
|
+
private onInput;
|
|
20
|
+
private onChange;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class UiThemeToggle {
|
|
3
|
+
/** Indica se o tema escuro está ativo. */
|
|
4
|
+
isDark: boolean;
|
|
5
|
+
/** Emitido quando o tema é alterado. */
|
|
6
|
+
uiThemeChange: EventEmitter<"light" | "dark">;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private resolveInitialTheme;
|
|
9
|
+
private applyTheme;
|
|
10
|
+
private toggle;
|
|
11
|
+
private renderIcon;
|
|
12
|
+
render(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export type UiToastVariant = "default" | "success" | "warning" | "danger";
|
|
3
|
+
export declare class UiToast {
|
|
4
|
+
/** Controla a visibilidade do toast. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** Variante visual (afeta a borda lateral). */
|
|
7
|
+
variant: UiToastVariant;
|
|
8
|
+
/** Título do toast. */
|
|
9
|
+
heading?: string;
|
|
10
|
+
/** Descrição do toast. */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Tempo em ms até o auto-dismiss. */
|
|
13
|
+
duration: number;
|
|
14
|
+
/** Emitido quando o toast é fechado (timer, close() ou botão). */
|
|
15
|
+
uiClose: EventEmitter<void>;
|
|
16
|
+
private timer?;
|
|
17
|
+
onOpenChange(value: boolean): void;
|
|
18
|
+
componentDidLoad(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
private startTimer;
|
|
21
|
+
private clearTimer;
|
|
22
|
+
private dismiss;
|
|
23
|
+
/** Abre o toast imperativamente. */
|
|
24
|
+
show(): Promise<void>;
|
|
25
|
+
/** Fecha o toast imperativamente. */
|
|
26
|
+
close(): Promise<void>;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UiToastVariant } from "../ui-toast/ui-toast";
|
|
2
|
+
export interface UiToastOptions {
|
|
3
|
+
heading?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
variant?: UiToastVariant;
|
|
6
|
+
duration?: number;
|
|
7
|
+
}
|
|
8
|
+
interface UiToasterItem extends UiToastOptions {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class UiToaster {
|
|
12
|
+
items: UiToasterItem[];
|
|
13
|
+
private counter;
|
|
14
|
+
/** Enfileira um novo toast imperativamente. */
|
|
15
|
+
toast(opts: UiToastOptions): Promise<void>;
|
|
16
|
+
private remove;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type Placement } from "@floating-ui/dom";
|
|
2
|
+
export declare class UiTooltip {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
/** Texto exibido no balão flutuante. */
|
|
5
|
+
content: string;
|
|
6
|
+
/** Posição preferida do balão relativa ao gatilho. */
|
|
7
|
+
placement: Placement;
|
|
8
|
+
/** Atraso (ms) antes de exibir o balão. */
|
|
9
|
+
openDelay: number;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
private triggerEl?;
|
|
12
|
+
private floatingEl?;
|
|
13
|
+
private cleanup?;
|
|
14
|
+
private timer?;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
private start;
|
|
17
|
+
private stop;
|
|
18
|
+
private onEnter;
|
|
19
|
+
private onLeave;
|
|
20
|
+
render(): any;
|
|
21
|
+
}
|