@tooark/react 1.0.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/LICENSE +201 -0
- package/NOTICE +12 -0
- package/README.md +163 -0
- package/README.pt-BR.md +163 -0
- package/dist/ark-alert.d.ts +12 -0
- package/dist/ark-alert.js +25 -0
- package/dist/ark-avatar.d.ts +10 -0
- package/dist/ark-avatar.js +13 -0
- package/dist/ark-badge.d.ts +6 -0
- package/dist/ark-badge.js +13 -0
- package/dist/ark-button.d.ts +9 -0
- package/dist/ark-button.js +19 -0
- package/dist/ark-calendar.d.ts +16 -0
- package/dist/ark-calendar.js +36 -0
- package/dist/ark-card.d.ts +8 -0
- package/dist/ark-card.js +13 -0
- package/dist/ark-carousel.d.ts +10 -0
- package/dist/ark-carousel.js +39 -0
- package/dist/ark-checkbox.d.ts +16 -0
- package/dist/ark-checkbox.js +26 -0
- package/dist/ark-clock.d.ts +11 -0
- package/dist/ark-clock.js +26 -0
- package/dist/ark-color-swatches.d.ts +17 -0
- package/dist/ark-color-swatches.js +25 -0
- package/dist/ark-command-palette.d.ts +40 -0
- package/dist/ark-command-palette.js +51 -0
- package/dist/ark-copy-button.d.ts +17 -0
- package/dist/ark-copy-button.js +31 -0
- package/dist/ark-datepicker.d.ts +15 -0
- package/dist/ark-datepicker.js +46 -0
- package/dist/ark-dialog.d.ts +22 -0
- package/dist/ark-dialog.js +36 -0
- package/dist/ark-drawer.d.ts +23 -0
- package/dist/ark-drawer.js +35 -0
- package/dist/ark-empty.d.ts +10 -0
- package/dist/ark-empty.js +13 -0
- package/dist/ark-file-input.d.ts +23 -0
- package/dist/ark-file-input.js +28 -0
- package/dist/ark-input.d.ts +34 -0
- package/dist/ark-input.js +46 -0
- package/dist/ark-kbd.d.ts +7 -0
- package/dist/ark-kbd.js +13 -0
- package/dist/ark-kv-editor.d.ts +30 -0
- package/dist/ark-kv-editor.js +46 -0
- package/dist/ark-mark.d.ts +8 -0
- package/dist/ark-mark.js +14 -0
- package/dist/ark-menu.d.ts +33 -0
- package/dist/ark-menu.js +48 -0
- package/dist/ark-progress.d.ts +16 -0
- package/dist/ark-progress.js +17 -0
- package/dist/ark-radio.d.ts +17 -0
- package/dist/ark-radio.js +25 -0
- package/dist/ark-scheduler.d.ts +24 -0
- package/dist/ark-scheduler.js +42 -0
- package/dist/ark-select.d.ts +20 -0
- package/dist/ark-select.js +33 -0
- package/dist/ark-shape-picker.d.ts +15 -0
- package/dist/ark-shape-picker.js +25 -0
- package/dist/ark-skeleton.d.ts +11 -0
- package/dist/ark-skeleton.js +15 -0
- package/dist/ark-spinner.d.ts +8 -0
- package/dist/ark-spinner.js +14 -0
- package/dist/ark-split-pane.d.ts +13 -0
- package/dist/ark-split-pane.js +25 -0
- package/dist/ark-status-dot.d.ts +8 -0
- package/dist/ark-status-dot.js +13 -0
- package/dist/ark-switch.d.ts +13 -0
- package/dist/ark-switch.js +29 -0
- package/dist/ark-tabs.d.ts +29 -0
- package/dist/ark-tabs.js +43 -0
- package/dist/ark-textarea.d.ts +32 -0
- package/dist/ark-textarea.js +44 -0
- package/dist/ark-toaster.d.ts +6 -0
- package/dist/ark-toaster.js +19 -0
- package/dist/ark-toggle.d.ts +20 -0
- package/dist/ark-toggle.js +48 -0
- package/dist/ark-tooltip.d.ts +10 -0
- package/dist/ark-tooltip.js +15 -0
- package/dist/index.d.ts +76 -0
- package/dist/index.js +38 -0
- package/dist/jsx-intrinsics.d.ts +538 -0
- package/dist/register.d.ts +1 -0
- package/dist/register.js +8 -0
- package/package.json +71 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ArkStatusDotStyleOptions } from "@tooark/core";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
export type ArkStatusDotProps = ArkStatusDotStyleOptions & {
|
|
4
|
+
/** Com rotulo o ponto vira role="img" nomeado; sem ele e decorativo (aria-hidden). */
|
|
5
|
+
label?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function ArkStatusDot(props: ArkStatusDotProps): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkStatusDot(props) {
|
|
4
|
+
const { className, ...rest } = props;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
ensureTooarkComponentsRegistered();
|
|
7
|
+
}, []);
|
|
8
|
+
const attrs = {
|
|
9
|
+
...rest,
|
|
10
|
+
class: className
|
|
11
|
+
};
|
|
12
|
+
return createElement("ark-status-dot", attrs);
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ArkSwitchStyleOptions } from "@tooark/core";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export type ArkSwitchProps = ArkSwitchStyleOptions & {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
name?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
onChange?: (event: CustomEvent<{
|
|
10
|
+
checked: boolean;
|
|
11
|
+
}>) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function ArkSwitch(props: ArkSwitchProps): React.JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkSwitch(props) {
|
|
4
|
+
const { className, checked, labels, labelOn, labelOff, icons, disabled, onChange, ...rest } = props;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
ensureTooarkComponentsRegistered();
|
|
7
|
+
}, []);
|
|
8
|
+
const ref = React.useRef(null);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
const el = ref.current;
|
|
11
|
+
if (!el || !onChange)
|
|
12
|
+
return;
|
|
13
|
+
const handler = (event) => onChange(event);
|
|
14
|
+
el.addEventListener("change", handler);
|
|
15
|
+
return () => el.removeEventListener("change", handler);
|
|
16
|
+
}, [onChange]);
|
|
17
|
+
const attrs = {
|
|
18
|
+
...rest,
|
|
19
|
+
ref,
|
|
20
|
+
class: className,
|
|
21
|
+
checked: checked ? "" : undefined,
|
|
22
|
+
disabled: disabled ? "" : undefined,
|
|
23
|
+
labels: labels ? "" : undefined,
|
|
24
|
+
icons: icons ? "" : undefined,
|
|
25
|
+
"label-on": labelOn,
|
|
26
|
+
"label-off": labelOff
|
|
27
|
+
};
|
|
28
|
+
return createElement("ark-switch", attrs);
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ArkTabStyleOptions, ArkTabsStyleOptions } from "@tooark/core";
|
|
2
|
+
import React, { type PropsWithChildren } from "react";
|
|
3
|
+
export type ArkTabsProps = PropsWithChildren<ArkTabsStyleOptions & {
|
|
4
|
+
/** Value da aba ativa; sem ele a primeira habilitada assume. */
|
|
5
|
+
value?: string;
|
|
6
|
+
/** Vira aria-label da faixa. */
|
|
7
|
+
label?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
onChange?: (event: CustomEvent<{
|
|
10
|
+
value: string;
|
|
11
|
+
}>) => void;
|
|
12
|
+
/** Uma aba fechavel pediu para fechar; remover a aba e do app. */
|
|
13
|
+
onClose?: (event: CustomEvent<{
|
|
14
|
+
value: string;
|
|
15
|
+
}>) => void;
|
|
16
|
+
}>;
|
|
17
|
+
export declare function ArkTabs(props: ArkTabsProps): React.JSX.Element;
|
|
18
|
+
export type ArkTabProps = PropsWithChildren<ArkTabStyleOptions & {
|
|
19
|
+
value: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** id do painel que a aba controla (aria-controls). */
|
|
22
|
+
controls?: string;
|
|
23
|
+
/** Botao de fechar, clique do meio e Delete (so na variante editor). */
|
|
24
|
+
closable?: boolean;
|
|
25
|
+
/** Ponto de alteracoes nao salvas. */
|
|
26
|
+
dirty?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
}>;
|
|
29
|
+
export declare function ArkTab(props: ArkTabProps): React.JSX.Element;
|
package/dist/ark-tabs.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React, { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkTabs(props) {
|
|
4
|
+
const { children, className, localeJson, onChange, onClose, ...rest } = props;
|
|
5
|
+
const ref = React.useRef(null);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
ensureTooarkComponentsRegistered();
|
|
8
|
+
}, []);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
const el = ref.current;
|
|
11
|
+
if (!el)
|
|
12
|
+
return;
|
|
13
|
+
const handleChange = (event) => onChange?.(event);
|
|
14
|
+
const handleClose = (event) => onClose?.(event);
|
|
15
|
+
el.addEventListener("change", handleChange);
|
|
16
|
+
el.addEventListener("ark-close", handleClose);
|
|
17
|
+
return () => {
|
|
18
|
+
el.removeEventListener("change", handleChange);
|
|
19
|
+
el.removeEventListener("ark-close", handleClose);
|
|
20
|
+
};
|
|
21
|
+
}, [onChange, onClose]);
|
|
22
|
+
const attrs = {
|
|
23
|
+
...rest,
|
|
24
|
+
ref,
|
|
25
|
+
class: className,
|
|
26
|
+
"locale-json": localeJson
|
|
27
|
+
};
|
|
28
|
+
return createElement("ark-tabs", attrs, children);
|
|
29
|
+
}
|
|
30
|
+
export function ArkTab(props) {
|
|
31
|
+
const { children, className, disabled, closable, dirty, ...rest } = props;
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
ensureTooarkComponentsRegistered();
|
|
34
|
+
}, []);
|
|
35
|
+
const attrs = {
|
|
36
|
+
...rest,
|
|
37
|
+
class: className,
|
|
38
|
+
disabled: disabled ? "" : undefined,
|
|
39
|
+
closable: closable ? "" : undefined,
|
|
40
|
+
dirty: dirty ? "" : undefined
|
|
41
|
+
};
|
|
42
|
+
return createElement("ark-tab", attrs, children);
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ArkTextareaResize, ArkTextareaStyleOptions } from "@tooark/core";
|
|
2
|
+
import React, { type PropsWithChildren } from "react";
|
|
3
|
+
export type ArkTextareaProps = PropsWithChildren<ArkTextareaStyleOptions & {
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
/** Linhas visiveis iniciais. Padrao: 3. */
|
|
9
|
+
rows?: number;
|
|
10
|
+
/** Cresce com o conteudo (field-sizing nativo, fallback por JS). */
|
|
11
|
+
autosize?: boolean;
|
|
12
|
+
/** Fonte monoespacada, para codigo e dados. */
|
|
13
|
+
monospace?: boolean;
|
|
14
|
+
/** Direcoes de redimensionamento pelo usuario. Padrao: "vertical". */
|
|
15
|
+
resize?: ArkTextareaResize;
|
|
16
|
+
helper?: string;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
errorMessage?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
readonly?: boolean;
|
|
22
|
+
autocomplete?: string;
|
|
23
|
+
autofocus?: boolean;
|
|
24
|
+
maxlength?: number;
|
|
25
|
+
minlength?: number;
|
|
26
|
+
spellcheck?: boolean;
|
|
27
|
+
"aria-label"?: string;
|
|
28
|
+
className?: string;
|
|
29
|
+
onInput?: (event: Event) => void;
|
|
30
|
+
onChange?: (event: Event) => void;
|
|
31
|
+
}>;
|
|
32
|
+
export declare function ArkTextarea(props: ArkTextareaProps): React.JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React, { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
// Atributo do custom element: string ou ausente.
|
|
4
|
+
function attr(value) {
|
|
5
|
+
return value === undefined ? undefined : String(value);
|
|
6
|
+
}
|
|
7
|
+
export function ArkTextarea(props) {
|
|
8
|
+
const { children, className, rows, autosize, monospace, errorMessage, error, disabled, required, readonly, autofocus, maxlength, minlength, spellcheck, onInput, onChange, ...rest } = props;
|
|
9
|
+
const ref = React.useRef(null);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
ensureTooarkComponentsRegistered();
|
|
12
|
+
}, []);
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
const el = ref.current;
|
|
15
|
+
if (!el)
|
|
16
|
+
return;
|
|
17
|
+
const handleInput = (event) => onInput?.(event);
|
|
18
|
+
const handleChange = (event) => onChange?.(event);
|
|
19
|
+
el.addEventListener("input", handleInput);
|
|
20
|
+
el.addEventListener("change", handleChange);
|
|
21
|
+
return () => {
|
|
22
|
+
el.removeEventListener("input", handleInput);
|
|
23
|
+
el.removeEventListener("change", handleChange);
|
|
24
|
+
};
|
|
25
|
+
}, [onInput, onChange]);
|
|
26
|
+
const attrs = {
|
|
27
|
+
...rest,
|
|
28
|
+
ref,
|
|
29
|
+
class: className,
|
|
30
|
+
rows: attr(rows),
|
|
31
|
+
autosize: autosize ? "" : undefined,
|
|
32
|
+
monospace: monospace ? "" : undefined,
|
|
33
|
+
"error-message": errorMessage,
|
|
34
|
+
error: error ? "" : undefined,
|
|
35
|
+
disabled: disabled ? "" : undefined,
|
|
36
|
+
required: required ? "" : undefined,
|
|
37
|
+
readonly: readonly ? "" : undefined,
|
|
38
|
+
autofocus: autofocus ? "" : undefined,
|
|
39
|
+
maxlength: attr(maxlength),
|
|
40
|
+
minlength: attr(minlength),
|
|
41
|
+
spellcheck: spellcheck === undefined ? undefined : spellcheck ? "true" : "false"
|
|
42
|
+
};
|
|
43
|
+
return createElement("ark-textarea", attrs, children);
|
|
44
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkToaster(props) {
|
|
4
|
+
const { theme, position, richColors, closeButton, maxVisible, duration, className, testid } = props;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
ensureTooarkComponentsRegistered();
|
|
7
|
+
}, []);
|
|
8
|
+
const attrs = {
|
|
9
|
+
theme,
|
|
10
|
+
position,
|
|
11
|
+
"max-visible": maxVisible,
|
|
12
|
+
duration,
|
|
13
|
+
testid,
|
|
14
|
+
class: className,
|
|
15
|
+
"rich-colors": richColors ? true : undefined,
|
|
16
|
+
"close-button": closeButton === undefined ? undefined : closeButton ? true : "false"
|
|
17
|
+
};
|
|
18
|
+
return createElement("ark-toaster", attrs);
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ArkToggleGroupStyleOptions, ArkToggleStyleOptions } from "@tooark/core";
|
|
2
|
+
import React, { type PropsWithChildren } from "react";
|
|
3
|
+
export type ArkToggleProps = PropsWithChildren<ArkToggleStyleOptions & {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
onChange?: (event: CustomEvent<{
|
|
7
|
+
pressed: boolean;
|
|
8
|
+
value: string;
|
|
9
|
+
}>) => void;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function ArkToggle(props: ArkToggleProps): React.JSX.Element;
|
|
12
|
+
export type ArkToggleGroupProps = PropsWithChildren<ArkToggleGroupStyleOptions & {
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
onChange?: (event: CustomEvent<{
|
|
16
|
+
value?: string;
|
|
17
|
+
values?: string[];
|
|
18
|
+
}>) => void;
|
|
19
|
+
}>;
|
|
20
|
+
export declare function ArkToggleGroup(props: ArkToggleGroupProps): React.JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkToggle(props) {
|
|
4
|
+
const { children, className, pressed, disabled, onChange, ...rest } = props;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
ensureTooarkComponentsRegistered();
|
|
7
|
+
}, []);
|
|
8
|
+
const ref = React.useRef(null);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
const el = ref.current;
|
|
11
|
+
if (!el || !onChange)
|
|
12
|
+
return;
|
|
13
|
+
const handler = (event) => onChange(event);
|
|
14
|
+
el.addEventListener("change", handler);
|
|
15
|
+
return () => el.removeEventListener("change", handler);
|
|
16
|
+
}, [onChange]);
|
|
17
|
+
const attrs = {
|
|
18
|
+
...rest,
|
|
19
|
+
ref,
|
|
20
|
+
class: className,
|
|
21
|
+
pressed: pressed ? "" : undefined,
|
|
22
|
+
disabled: disabled ? "" : undefined
|
|
23
|
+
};
|
|
24
|
+
return createElement("ark-toggle", attrs, children);
|
|
25
|
+
}
|
|
26
|
+
export function ArkToggleGroup(props) {
|
|
27
|
+
const { children, className, multiple, disabled, onChange, ...rest } = props;
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
ensureTooarkComponentsRegistered();
|
|
30
|
+
}, []);
|
|
31
|
+
const ref = React.useRef(null);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
const el = ref.current;
|
|
34
|
+
if (!el || !onChange)
|
|
35
|
+
return;
|
|
36
|
+
const handler = (event) => onChange(event);
|
|
37
|
+
el.addEventListener("change", handler);
|
|
38
|
+
return () => el.removeEventListener("change", handler);
|
|
39
|
+
}, [onChange]);
|
|
40
|
+
const attrs = {
|
|
41
|
+
...rest,
|
|
42
|
+
ref,
|
|
43
|
+
class: className,
|
|
44
|
+
multiple: multiple ? "" : undefined,
|
|
45
|
+
disabled: disabled ? "" : undefined
|
|
46
|
+
};
|
|
47
|
+
return createElement("ark-toggle-group", attrs, children);
|
|
48
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ArkTooltipStyleOptions } from "@tooark/core";
|
|
2
|
+
import React, { type PropsWithChildren } from "react";
|
|
3
|
+
export type ArkTooltipProps = PropsWithChildren<ArkTooltipStyleOptions & {
|
|
4
|
+
/** Texto do balao; para conteudo rico, passe um filho com slot="content". */
|
|
5
|
+
content?: string;
|
|
6
|
+
/** Aberto; refletido do estado do balao. */
|
|
7
|
+
open?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function ArkTooltip(props: ArkTooltipProps): React.JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createElement, useEffect } from "react";
|
|
2
|
+
import { ensureTooarkComponentsRegistered } from "./register.js";
|
|
3
|
+
export function ArkTooltip(props) {
|
|
4
|
+
const { children, className, open, delay, ...rest } = props;
|
|
5
|
+
useEffect(() => {
|
|
6
|
+
ensureTooarkComponentsRegistered();
|
|
7
|
+
}, []);
|
|
8
|
+
const attrs = {
|
|
9
|
+
...rest,
|
|
10
|
+
class: className,
|
|
11
|
+
open: open ? "" : undefined,
|
|
12
|
+
delay: delay === undefined ? undefined : String(delay)
|
|
13
|
+
};
|
|
14
|
+
return createElement("ark-tooltip", attrs, children);
|
|
15
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/// <reference path="./jsx-intrinsics.d.ts" />
|
|
2
|
+
export { dismissToast, showToast, toast } from "@tooark/core";
|
|
3
|
+
export type { ArkAlertProps } from "./ark-alert.js";
|
|
4
|
+
export { ArkAlert } from "./ark-alert.js";
|
|
5
|
+
export type { ArkAvatarProps } from "./ark-avatar.js";
|
|
6
|
+
export { ArkAvatar } from "./ark-avatar.js";
|
|
7
|
+
export type { ArkBadgeProps } from "./ark-badge.js";
|
|
8
|
+
export { ArkBadge } from "./ark-badge.js";
|
|
9
|
+
export type { ArkButtonProps } from "./ark-button.js";
|
|
10
|
+
export { ArkButton } from "./ark-button.js";
|
|
11
|
+
export type { ArkCalendarProps } from "./ark-calendar.js";
|
|
12
|
+
export { ArkCalendar } from "./ark-calendar.js";
|
|
13
|
+
export type { ArkCardProps } from "./ark-card.js";
|
|
14
|
+
export { ArkCard } from "./ark-card.js";
|
|
15
|
+
export type { ArkCarouselProps } from "./ark-carousel.js";
|
|
16
|
+
export { ArkCarousel } from "./ark-carousel.js";
|
|
17
|
+
export type { ArkCheckboxProps } from "./ark-checkbox.js";
|
|
18
|
+
export { ArkCheckbox } from "./ark-checkbox.js";
|
|
19
|
+
export type { ArkClockProps } from "./ark-clock.js";
|
|
20
|
+
export { ArkClock } from "./ark-clock.js";
|
|
21
|
+
export type { ArkColorSwatchesProps } from "./ark-color-swatches.js";
|
|
22
|
+
export { ArkColorSwatches } from "./ark-color-swatches.js";
|
|
23
|
+
export type { ArkCommandItemProps, ArkCommandPaletteProps } from "./ark-command-palette.js";
|
|
24
|
+
export { ArkCommandItem, ArkCommandPalette } from "./ark-command-palette.js";
|
|
25
|
+
export type { ArkCopyButtonProps } from "./ark-copy-button.js";
|
|
26
|
+
export { ArkCopyButton } from "./ark-copy-button.js";
|
|
27
|
+
export type { ArkDatepickerProps } from "./ark-datepicker.js";
|
|
28
|
+
export { ArkDatepicker } from "./ark-datepicker.js";
|
|
29
|
+
export type { ArkDialogProps } from "./ark-dialog.js";
|
|
30
|
+
export { ArkDialog } from "./ark-dialog.js";
|
|
31
|
+
export type { ArkDrawerProps } from "./ark-drawer.js";
|
|
32
|
+
export { ArkDrawer } from "./ark-drawer.js";
|
|
33
|
+
export type { ArkEmptyProps } from "./ark-empty.js";
|
|
34
|
+
export { ArkEmpty } from "./ark-empty.js";
|
|
35
|
+
export type { ArkFileInputProps } from "./ark-file-input.js";
|
|
36
|
+
export { ArkFileInput } from "./ark-file-input.js";
|
|
37
|
+
export type { ArkInputProps } from "./ark-input.js";
|
|
38
|
+
export { ArkInput } from "./ark-input.js";
|
|
39
|
+
export type { ArkKbdProps } from "./ark-kbd.js";
|
|
40
|
+
export { ArkKbd } from "./ark-kbd.js";
|
|
41
|
+
export type { ArkKvEditorProps } from "./ark-kv-editor.js";
|
|
42
|
+
export { ArkKvEditor } from "./ark-kv-editor.js";
|
|
43
|
+
export type { ArkMarkProps } from "./ark-mark.js";
|
|
44
|
+
export { ArkMark } from "./ark-mark.js";
|
|
45
|
+
export type { ArkMenuItemProps, ArkMenuProps } from "./ark-menu.js";
|
|
46
|
+
export { ArkMenu, ArkMenuItem } from "./ark-menu.js";
|
|
47
|
+
export type { ArkProgressProps } from "./ark-progress.js";
|
|
48
|
+
export { ArkProgress } from "./ark-progress.js";
|
|
49
|
+
export type { ArkRadioProps } from "./ark-radio.js";
|
|
50
|
+
export { ArkRadio } from "./ark-radio.js";
|
|
51
|
+
export type { ArkSchedulerProps } from "./ark-scheduler.js";
|
|
52
|
+
export { ArkScheduler } from "./ark-scheduler.js";
|
|
53
|
+
export type { ArkSelectProps } from "./ark-select.js";
|
|
54
|
+
export { ArkSelect } from "./ark-select.js";
|
|
55
|
+
export type { ArkShapePickerProps } from "./ark-shape-picker.js";
|
|
56
|
+
export { ArkShapePicker } from "./ark-shape-picker.js";
|
|
57
|
+
export type { ArkSkeletonProps } from "./ark-skeleton.js";
|
|
58
|
+
export { ArkSkeleton } from "./ark-skeleton.js";
|
|
59
|
+
export type { ArkSpinnerProps } from "./ark-spinner.js";
|
|
60
|
+
export { ArkSpinner } from "./ark-spinner.js";
|
|
61
|
+
export type { ArkSplitPaneProps } from "./ark-split-pane.js";
|
|
62
|
+
export { ArkSplitPane } from "./ark-split-pane.js";
|
|
63
|
+
export type { ArkStatusDotProps } from "./ark-status-dot.js";
|
|
64
|
+
export { ArkStatusDot } from "./ark-status-dot.js";
|
|
65
|
+
export type { ArkSwitchProps } from "./ark-switch.js";
|
|
66
|
+
export { ArkSwitch } from "./ark-switch.js";
|
|
67
|
+
export type { ArkTabProps, ArkTabsProps } from "./ark-tabs.js";
|
|
68
|
+
export { ArkTab, ArkTabs } from "./ark-tabs.js";
|
|
69
|
+
export type { ArkTextareaProps } from "./ark-textarea.js";
|
|
70
|
+
export { ArkTextarea } from "./ark-textarea.js";
|
|
71
|
+
export type { ArkToasterProps } from "./ark-toaster.js";
|
|
72
|
+
export { ArkToaster } from "./ark-toaster.js";
|
|
73
|
+
export type { ArkToggleGroupProps, ArkToggleProps } from "./ark-toggle.js";
|
|
74
|
+
export { ArkToggle, ArkToggleGroup } from "./ark-toggle.js";
|
|
75
|
+
export type { ArkTooltipProps } from "./ark-tooltip.js";
|
|
76
|
+
export { ArkTooltip } from "./ark-tooltip.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export { dismissToast, showToast, toast } from "@tooark/core";
|
|
2
|
+
export { ArkAlert } from "./ark-alert.js";
|
|
3
|
+
export { ArkAvatar } from "./ark-avatar.js";
|
|
4
|
+
export { ArkBadge } from "./ark-badge.js";
|
|
5
|
+
export { ArkButton } from "./ark-button.js";
|
|
6
|
+
export { ArkCalendar } from "./ark-calendar.js";
|
|
7
|
+
export { ArkCard } from "./ark-card.js";
|
|
8
|
+
export { ArkCarousel } from "./ark-carousel.js";
|
|
9
|
+
export { ArkCheckbox } from "./ark-checkbox.js";
|
|
10
|
+
export { ArkClock } from "./ark-clock.js";
|
|
11
|
+
export { ArkColorSwatches } from "./ark-color-swatches.js";
|
|
12
|
+
export { ArkCommandItem, ArkCommandPalette } from "./ark-command-palette.js";
|
|
13
|
+
export { ArkCopyButton } from "./ark-copy-button.js";
|
|
14
|
+
export { ArkDatepicker } from "./ark-datepicker.js";
|
|
15
|
+
export { ArkDialog } from "./ark-dialog.js";
|
|
16
|
+
export { ArkDrawer } from "./ark-drawer.js";
|
|
17
|
+
export { ArkEmpty } from "./ark-empty.js";
|
|
18
|
+
export { ArkFileInput } from "./ark-file-input.js";
|
|
19
|
+
export { ArkInput } from "./ark-input.js";
|
|
20
|
+
export { ArkKbd } from "./ark-kbd.js";
|
|
21
|
+
export { ArkKvEditor } from "./ark-kv-editor.js";
|
|
22
|
+
export { ArkMark } from "./ark-mark.js";
|
|
23
|
+
export { ArkMenu, ArkMenuItem } from "./ark-menu.js";
|
|
24
|
+
export { ArkProgress } from "./ark-progress.js";
|
|
25
|
+
export { ArkRadio } from "./ark-radio.js";
|
|
26
|
+
export { ArkScheduler } from "./ark-scheduler.js";
|
|
27
|
+
export { ArkSelect } from "./ark-select.js";
|
|
28
|
+
export { ArkShapePicker } from "./ark-shape-picker.js";
|
|
29
|
+
export { ArkSkeleton } from "./ark-skeleton.js";
|
|
30
|
+
export { ArkSpinner } from "./ark-spinner.js";
|
|
31
|
+
export { ArkSplitPane } from "./ark-split-pane.js";
|
|
32
|
+
export { ArkStatusDot } from "./ark-status-dot.js";
|
|
33
|
+
export { ArkSwitch } from "./ark-switch.js";
|
|
34
|
+
export { ArkTab, ArkTabs } from "./ark-tabs.js";
|
|
35
|
+
export { ArkTextarea } from "./ark-textarea.js";
|
|
36
|
+
export { ArkToaster } from "./ark-toaster.js";
|
|
37
|
+
export { ArkToggle, ArkToggleGroup } from "./ark-toggle.js";
|
|
38
|
+
export { ArkTooltip } from "./ark-tooltip.js";
|