@tooark/react 1.9.4 → 1.10.1
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 +70 -5
- package/README.pt-BR.md +70 -5
- package/dist/ark-accordion.d.ts +28 -0
- package/dist/ark-accordion.js +65 -0
- package/dist/ark-alert.d.ts +2 -2
- package/dist/ark-alert.js +5 -3
- package/dist/ark-avatar.d.ts +1 -1
- package/dist/ark-avatar.js +3 -2
- package/dist/ark-badge.d.ts +6 -2
- package/dist/ark-badge.js +23 -6
- package/dist/ark-breadcrumb.d.ts +38 -0
- package/dist/ark-breadcrumb.js +48 -0
- package/dist/ark-button.d.ts +7 -3
- package/dist/ark-button.js +9 -6
- package/dist/ark-calendar.d.ts +2 -2
- package/dist/ark-calendar.js +3 -2
- package/dist/ark-card.d.ts +10 -2
- package/dist/ark-card.js +22 -5
- package/dist/ark-carousel.d.ts +1 -1
- package/dist/ark-carousel.js +3 -2
- package/dist/ark-checkbox.d.ts +2 -2
- package/dist/ark-checkbox.js +5 -3
- package/dist/ark-clock.d.ts +2 -2
- package/dist/ark-clock.js +3 -2
- package/dist/ark-color-swatches.d.ts +2 -2
- package/dist/ark-color-swatches.js +3 -2
- package/dist/ark-combobox.d.ts +54 -0
- package/dist/ark-combobox.js +44 -0
- package/dist/ark-command-palette.d.ts +3 -3
- package/dist/ark-command-palette.js +12 -6
- package/dist/ark-copy-button.d.ts +6 -2
- package/dist/ark-copy-button.js +7 -4
- package/dist/ark-data-view.d.ts +1 -1
- package/dist/ark-data-view.js +5 -3
- package/dist/ark-datepicker.d.ts +2 -2
- package/dist/ark-datepicker.js +11 -4
- package/dist/ark-dialog.d.ts +2 -2
- package/dist/ark-dialog.js +5 -3
- package/dist/ark-drawer.d.ts +2 -2
- package/dist/ark-drawer.js +5 -3
- package/dist/ark-empty.d.ts +1 -1
- package/dist/ark-empty.js +5 -3
- package/dist/ark-file-input.d.ts +7 -3
- package/dist/ark-file-input.js +16 -4
- package/dist/ark-input.d.ts +2 -2
- package/dist/ark-input.js +5 -3
- package/dist/ark-kbd.d.ts +1 -1
- package/dist/ark-kbd.js +5 -3
- package/dist/ark-kv-editor.d.ts +2 -2
- package/dist/ark-kv-editor.js +3 -2
- package/dist/ark-mark.d.ts +1 -1
- package/dist/ark-mark.js +3 -2
- package/dist/ark-menu.d.ts +1 -1
- package/dist/ark-menu.js +9 -7
- package/dist/ark-nav.d.ts +4 -4
- package/dist/ark-nav.js +9 -7
- package/dist/ark-otp-input.d.ts +40 -0
- package/dist/ark-otp-input.js +38 -0
- package/dist/ark-pagination.d.ts +1 -1
- package/dist/ark-pagination.js +3 -2
- package/dist/ark-popover.d.ts +24 -0
- package/dist/ark-popover.js +42 -0
- package/dist/ark-progress.d.ts +2 -2
- package/dist/ark-progress.js +3 -2
- package/dist/ark-radio.d.ts +3 -3
- package/dist/ark-radio.js +7 -5
- package/dist/ark-scheduler.d.ts +1 -1
- package/dist/ark-scheduler.js +3 -2
- package/dist/ark-select.d.ts +2 -2
- package/dist/ark-select.js +5 -3
- package/dist/ark-shape-picker.d.ts +2 -2
- package/dist/ark-shape-picker.js +3 -2
- package/dist/ark-skeleton.d.ts +1 -1
- package/dist/ark-skeleton.js +5 -3
- package/dist/ark-slider.d.ts +45 -0
- package/dist/ark-slider.js +49 -0
- package/dist/ark-spinner.d.ts +1 -1
- package/dist/ark-spinner.js +3 -2
- package/dist/ark-split-pane.d.ts +1 -1
- package/dist/ark-split-pane.js +5 -3
- package/dist/ark-status-dot.d.ts +1 -1
- package/dist/ark-status-dot.js +3 -2
- package/dist/ark-stepper.d.ts +50 -0
- package/dist/ark-stepper.js +57 -0
- package/dist/ark-switch.d.ts +2 -2
- package/dist/ark-switch.js +8 -5
- package/dist/ark-tabs.d.ts +19 -3
- package/dist/ark-tabs.js +20 -5
- package/dist/ark-textarea.d.ts +6 -2
- package/dist/ark-textarea.js +7 -4
- package/dist/ark-time.d.ts +1 -1
- package/dist/ark-time.js +3 -2
- package/dist/ark-timeline.d.ts +32 -0
- package/dist/ark-timeline.js +26 -0
- package/dist/ark-timer.d.ts +26 -0
- package/dist/ark-timer.js +41 -0
- package/dist/ark-toaster.d.ts +1 -1
- package/dist/ark-toaster.js +3 -2
- package/dist/ark-toggle.d.ts +1 -1
- package/dist/ark-toggle.js +7 -5
- package/dist/ark-tooltip.d.ts +1 -1
- package/dist/ark-tooltip.js +5 -3
- package/dist/ark-tree.d.ts +3 -3
- package/dist/ark-tree.js +7 -5
- package/dist/code.d.ts +1 -1
- package/dist/elements.d.ts +104 -0
- package/dist/elements.js +52 -0
- package/dist/index.d.ts +1 -85
- package/dist/index.js +7 -43
- package/dist/jsx-intrinsics.d.ts +190 -0
- package/dist/register-elements.d.ts +8 -0
- package/dist/register-elements.js +22 -0
- package/dist/text-child.d.ts +3 -0
- package/dist/text-child.js +8 -0
- package/package.json +17 -7
package/dist/ark-textarea.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkTextareaResize, ArkTextareaStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkTextarea as ArkTextareaElement } from "@tooark/web-components";
|
|
3
3
|
import React, { type PropsWithChildren } from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
export type ArkTextareaProps = PropsWithChildren<ArkDomProps<ArkTextareaStyleOptions & {
|
|
@@ -11,6 +11,8 @@ export type ArkTextareaProps = PropsWithChildren<ArkDomProps<ArkTextareaStyleOpt
|
|
|
11
11
|
rows?: number;
|
|
12
12
|
/** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
|
|
13
13
|
autosize?: boolean;
|
|
14
|
+
/** Teto do `autosize`, em linhas: dali em diante o campo rola. Padrão: sem teto. */
|
|
15
|
+
maxRows?: number;
|
|
14
16
|
/** Fonte monoespaçada, para código e dados. */
|
|
15
17
|
monospace?: boolean;
|
|
16
18
|
/** Direções de redimensionamento pelo usuário. Padrão: "vertical". */
|
|
@@ -42,6 +44,8 @@ export declare const ArkTextarea: React.ForwardRefExoticComponent<ArkTextareaSty
|
|
|
42
44
|
rows?: number;
|
|
43
45
|
/** Cresce com o conteúdo (field-sizing nativo, fallback por JS). */
|
|
44
46
|
autosize?: boolean;
|
|
47
|
+
/** Teto do `autosize`, em linhas: dali em diante o campo rola. Padrão: sem teto. */
|
|
48
|
+
maxRows?: number;
|
|
45
49
|
/** Fonte monoespaçada, para código e dados. */
|
|
46
50
|
monospace?: boolean;
|
|
47
51
|
/** Direções de redimensionamento pelo usuário. Padrão: "vertical". */
|
|
@@ -63,6 +67,6 @@ export declare const ArkTextarea: React.ForwardRefExoticComponent<ArkTextareaSty
|
|
|
63
67
|
className?: string;
|
|
64
68
|
onInput?: (event: Event) => void;
|
|
65
69
|
onChange?: (event: Event) => void;
|
|
66
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "aria-label" | "onChange" | "onInput" | "
|
|
70
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "aria-label" | "onChange" | "onInput" | "disabled" | "value" | "error" | "resize" | "label" | "name" | "helper" | "placeholder" | "errorMessage" | "required" | "rows" | "readonly" | "autocomplete" | "autofocus" | "maxlength" | "minlength" | "spellcheck" | keyof ArkTextareaStyleOptions | "autosize" | "maxRows" | "monospace" | "wrap"> & {
|
|
67
71
|
children?: React.ReactNode | undefined;
|
|
68
72
|
} & React.RefAttributes<ArkTextareaElement>>;
|
package/dist/ark-textarea.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import { ArkTextarea as ArkTextareaElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { textChild } from "./text-child.js";
|
|
4
6
|
import { useForwardedRef } from "./use-forwarded-ref.js";
|
|
5
7
|
// Atributo do custom element: string ou ausente.
|
|
6
8
|
function attr(value) {
|
|
7
9
|
return value === undefined ? undefined : String(value);
|
|
8
10
|
}
|
|
9
11
|
export const ArkTextarea = forwardRef(function ArkTextarea(props, forwardedRef) {
|
|
10
|
-
const { children, className, rows, autosize, monospace, errorMessage, error, disabled, required, readonly, autofocus, maxlength, minlength, spellcheck, onInput, onChange, ...rest } = props;
|
|
12
|
+
const { children, className, rows, maxRows, autosize, monospace, errorMessage, error, disabled, required, readonly, autofocus, maxlength, minlength, spellcheck, onInput, onChange, ...rest } = props;
|
|
11
13
|
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
12
14
|
useEffect(() => {
|
|
13
|
-
|
|
15
|
+
ensureTooarkElementsRegistered(ArkTextareaElement);
|
|
14
16
|
}, []);
|
|
15
17
|
useEffect(() => {
|
|
16
18
|
const el = ref.current;
|
|
@@ -30,6 +32,7 @@ export const ArkTextarea = forwardRef(function ArkTextarea(props, forwardedRef)
|
|
|
30
32
|
ref: setRef,
|
|
31
33
|
class: className,
|
|
32
34
|
rows: attr(rows),
|
|
35
|
+
"max-rows": attr(maxRows),
|
|
33
36
|
autosize: autosize ? "" : undefined,
|
|
34
37
|
monospace: monospace ? "" : undefined,
|
|
35
38
|
"error-message": errorMessage,
|
|
@@ -44,5 +47,5 @@ export const ArkTextarea = forwardRef(function ArkTextarea(props, forwardedRef)
|
|
|
44
47
|
minlength: attr(minlength),
|
|
45
48
|
spellcheck
|
|
46
49
|
};
|
|
47
|
-
return createElement("ark-textarea", attrs, children);
|
|
50
|
+
return createElement("ark-textarea", attrs, textChild(children));
|
|
48
51
|
});
|
package/dist/ark-time.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkTimeFormat, ArkTimeStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkTime as ArkTimeElement } from "@tooark/web-components";
|
|
3
3
|
import type React from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
export type ArkTimeProps = ArkDomProps<ArkTimeStyleOptions & {
|
package/dist/ark-time.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ArkTime as ArkTimeElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
4
5
|
/** `Date` e número viram ISO: o atributo é texto. */
|
|
5
6
|
function isoOf(value) {
|
|
6
7
|
if (value === undefined || typeof value === "string")
|
|
@@ -11,7 +12,7 @@ function isoOf(value) {
|
|
|
11
12
|
export const ArkTime = forwardRef(function ArkTime(props, forwardedRef) {
|
|
12
13
|
const { className, datetime, ...rest } = props;
|
|
13
14
|
useEffect(() => {
|
|
14
|
-
|
|
15
|
+
ensureTooarkElementsRegistered(ArkTimeElement);
|
|
15
16
|
}, []);
|
|
16
17
|
const attrs = {
|
|
17
18
|
...domAttrs(rest),
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ArkLang, ArkTimelineItemStyleOptions, ArkTimelineStyleOptions } from "@tooark/core";
|
|
2
|
+
import { ArkTimeline as ArkTimelineElement, ArkTimelineItem as ArkTimelineItemElement } from "@tooark/web-components";
|
|
3
|
+
import React, { type PropsWithChildren } from "react";
|
|
4
|
+
import { type ArkDomProps } from "./dom-props.js";
|
|
5
|
+
export type ArkTimelineProps = PropsWithChildren<ArkDomProps<ArkTimelineStyleOptions & {
|
|
6
|
+
className?: string;
|
|
7
|
+
}>>;
|
|
8
|
+
export declare const ArkTimeline: React.ForwardRefExoticComponent<ArkTimelineStyleOptions & {
|
|
9
|
+
className?: string;
|
|
10
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | keyof ArkTimelineStyleOptions> & {
|
|
11
|
+
children?: React.ReactNode | undefined;
|
|
12
|
+
} & React.RefAttributes<ArkTimelineElement>>;
|
|
13
|
+
export type ArkTimelineItemProps = PropsWithChildren<ArkDomProps<ArkTimelineItemStyleOptions & {
|
|
14
|
+
/** Título do evento. */
|
|
15
|
+
heading?: string;
|
|
16
|
+
/** Data e hora do evento (`YYYY-MM-DD[THH:mm]`, local, ou ISO com fuso). */
|
|
17
|
+
datetime?: string;
|
|
18
|
+
/** Idioma da data. Padrão: o de setArkLocale(), ou "en". */
|
|
19
|
+
lang?: ArkLang;
|
|
20
|
+
className?: string;
|
|
21
|
+
}>>;
|
|
22
|
+
export declare const ArkTimelineItem: React.ForwardRefExoticComponent<ArkTimelineItemStyleOptions & {
|
|
23
|
+
/** Título do evento. */
|
|
24
|
+
heading?: string;
|
|
25
|
+
/** Data e hora do evento (`YYYY-MM-DD[THH:mm]`, local, ou ISO com fuso). */
|
|
26
|
+
datetime?: string;
|
|
27
|
+
/** Idioma da data. Padrão: o de setArkLocale(), ou "en". */
|
|
28
|
+
lang?: ArkLang;
|
|
29
|
+
className?: string;
|
|
30
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "lang" | "heading" | "datetime" | keyof ArkTimelineItemStyleOptions> & {
|
|
31
|
+
children?: React.ReactNode | undefined;
|
|
32
|
+
} & React.RefAttributes<ArkTimelineItemElement>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ArkTimeline as ArkTimelineElement, ArkTimelineItem as ArkTimelineItemElement } from "@tooark/web-components";
|
|
2
|
+
import { createElement, forwardRef, useEffect } from "react";
|
|
3
|
+
import { domAttrs } from "./dom-props.js";
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { textChild } from "./text-child.js";
|
|
6
|
+
export const ArkTimeline = forwardRef(function ArkTimeline(props, forwardedRef) {
|
|
7
|
+
const { children, className, ...rest } = props;
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
ensureTooarkElementsRegistered(ArkTimelineElement);
|
|
10
|
+
}, []);
|
|
11
|
+
const attrs = { ...domAttrs(rest), ref: forwardedRef, class: className };
|
|
12
|
+
return createElement("ark-timeline", attrs, textChild(children));
|
|
13
|
+
});
|
|
14
|
+
export const ArkTimelineItem = forwardRef(function ArkTimelineItem(props, forwardedRef) {
|
|
15
|
+
const { children, className, timeFormat, ...rest } = props;
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
ensureTooarkElementsRegistered(ArkTimelineItemElement);
|
|
18
|
+
}, []);
|
|
19
|
+
const attrs = {
|
|
20
|
+
...domAttrs(rest),
|
|
21
|
+
ref: forwardedRef,
|
|
22
|
+
class: className,
|
|
23
|
+
"time-format": timeFormat
|
|
24
|
+
};
|
|
25
|
+
return createElement("ark-timeline-item", attrs, textChild(children));
|
|
26
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ArkTimerStyleOptions } from "@tooark/core";
|
|
2
|
+
import { ArkTimer as ArkTimerElement } from "@tooark/web-components";
|
|
3
|
+
import type React from "react";
|
|
4
|
+
import { type ArkDomProps } from "./dom-props.js";
|
|
5
|
+
export type ArkTimerProps = ArkDomProps<ArkTimerStyleOptions & {
|
|
6
|
+
/** Nome do temporizador. Padrão: a string do idioma ("Cronômetro"). */
|
|
7
|
+
label?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
/** A cada segundo, com os segundos que faltam (regressiva) ou que passaram. */
|
|
10
|
+
onTick?: (event: CustomEvent<{
|
|
11
|
+
seconds: number;
|
|
12
|
+
}>) => void;
|
|
13
|
+
/** A contagem regressiva chegou a zero. */
|
|
14
|
+
onExpire?: (event: CustomEvent) => void;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const ArkTimer: React.ForwardRefExoticComponent<ArkTimerStyleOptions & {
|
|
17
|
+
/** Nome do temporizador. Padrão: a string do idioma ("Cronômetro"). */
|
|
18
|
+
label?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
/** A cada segundo, com os segundos que faltam (regressiva) ou que passaram. */
|
|
21
|
+
onTick?: (event: CustomEvent<{
|
|
22
|
+
seconds: number;
|
|
23
|
+
}>) => void;
|
|
24
|
+
/** A contagem regressiva chegou a zero. */
|
|
25
|
+
onExpire?: (event: CustomEvent) => void;
|
|
26
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "label" | keyof ArkTimerStyleOptions | "onTick" | "onExpire"> & React.RefAttributes<ArkTimerElement>>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ArkTimer as ArkTimerElement } from "@tooark/web-components";
|
|
2
|
+
import { createElement, forwardRef, useEffect } from "react";
|
|
3
|
+
import { domAttrs } from "./dom-props.js";
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { useForwardedRef } from "./use-forwarded-ref.js";
|
|
6
|
+
export const ArkTimer = forwardRef(function ArkTimer(props, forwardedRef) {
|
|
7
|
+
const { className, running, warnAt, announceAt, localeJson, onTick, onExpire, ...rest } = props;
|
|
8
|
+
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
ensureTooarkElementsRegistered(ArkTimerElement);
|
|
11
|
+
}, []);
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
const el = ref.current;
|
|
14
|
+
if (!el)
|
|
15
|
+
return;
|
|
16
|
+
const handleTick = (event) => {
|
|
17
|
+
if (event.target === event.currentTarget)
|
|
18
|
+
onTick?.(event);
|
|
19
|
+
};
|
|
20
|
+
const handleExpire = (event) => {
|
|
21
|
+
if (event.target === event.currentTarget)
|
|
22
|
+
onExpire?.(event);
|
|
23
|
+
};
|
|
24
|
+
el.addEventListener("ark-tick", handleTick);
|
|
25
|
+
el.addEventListener("ark-expire", handleExpire);
|
|
26
|
+
return () => {
|
|
27
|
+
el.removeEventListener("ark-tick", handleTick);
|
|
28
|
+
el.removeEventListener("ark-expire", handleExpire);
|
|
29
|
+
};
|
|
30
|
+
}, [ref, onTick, onExpire]);
|
|
31
|
+
const attrs = {
|
|
32
|
+
...domAttrs(rest),
|
|
33
|
+
ref: setRef,
|
|
34
|
+
class: className,
|
|
35
|
+
running: running ? "" : undefined,
|
|
36
|
+
"warn-at": warnAt,
|
|
37
|
+
"announce-at": announceAt,
|
|
38
|
+
"locale-json": localeJson
|
|
39
|
+
};
|
|
40
|
+
return createElement("ark-timer", attrs);
|
|
41
|
+
});
|
package/dist/ark-toaster.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkToasterStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkToaster as ArkToasterElement } from "@tooark/web-components";
|
|
3
3
|
import type React from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
export type ArkToasterProps = ArkDomProps<ArkToasterStyleOptions & {
|
package/dist/ark-toaster.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { ArkToaster as ArkToasterElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
4
5
|
import { useForwardedRef } from "./use-forwarded-ref.js";
|
|
5
6
|
export const ArkToaster = forwardRef(function ArkToaster(props, forwardedRef) {
|
|
6
7
|
const { position, richColors, closeButton, maxVisible, className, onAction, ...rest } = props;
|
|
7
8
|
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
8
9
|
useEffect(() => {
|
|
9
|
-
|
|
10
|
+
ensureTooarkElementsRegistered(ArkToasterElement);
|
|
10
11
|
}, []);
|
|
11
12
|
useEffect(() => {
|
|
12
13
|
const el = ref.current;
|
package/dist/ark-toggle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkToggleGroupStyleOptions, ArkToggleStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkToggle as ArkToggleElement, ArkToggleGroup as ArkToggleGroupElement } from "@tooark/web-components";
|
|
3
3
|
import React, { type PropsWithChildren } from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
export type ArkToggleProps = PropsWithChildren<ArkDomProps<ArkToggleStyleOptions & {
|
package/dist/ark-toggle.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { ArkToggle as ArkToggleElement, ArkToggleGroup as ArkToggleGroupElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { textChild } from "./text-child.js";
|
|
4
6
|
import { useForwardedRef } from "./use-forwarded-ref.js";
|
|
5
7
|
export const ArkToggle = forwardRef(function ArkToggle(props, forwardedRef) {
|
|
6
8
|
const { children, className, pressed, disabled, onChange, ...rest } = props;
|
|
7
9
|
useEffect(() => {
|
|
8
|
-
|
|
10
|
+
ensureTooarkElementsRegistered(ArkToggleElement);
|
|
9
11
|
}, []);
|
|
10
12
|
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
11
13
|
useEffect(() => {
|
|
@@ -23,12 +25,12 @@ export const ArkToggle = forwardRef(function ArkToggle(props, forwardedRef) {
|
|
|
23
25
|
pressed: pressed ? "" : undefined,
|
|
24
26
|
disabled: disabled ? "" : undefined
|
|
25
27
|
};
|
|
26
|
-
return createElement("ark-toggle", attrs, children);
|
|
28
|
+
return createElement("ark-toggle", attrs, textChild(children));
|
|
27
29
|
});
|
|
28
30
|
export const ArkToggleGroup = forwardRef(function ArkToggleGroup(props, forwardedRef) {
|
|
29
31
|
const { children, className, multiple, disabled, onChange, ...rest } = props;
|
|
30
32
|
useEffect(() => {
|
|
31
|
-
|
|
33
|
+
ensureTooarkElementsRegistered(ArkToggleGroupElement);
|
|
32
34
|
}, []);
|
|
33
35
|
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
34
36
|
useEffect(() => {
|
|
@@ -46,5 +48,5 @@ export const ArkToggleGroup = forwardRef(function ArkToggleGroup(props, forwarde
|
|
|
46
48
|
multiple: multiple ? "" : undefined,
|
|
47
49
|
disabled: disabled ? "" : undefined
|
|
48
50
|
};
|
|
49
|
-
return createElement("ark-toggle-group", attrs, children);
|
|
51
|
+
return createElement("ark-toggle-group", attrs, textChild(children));
|
|
50
52
|
});
|
package/dist/ark-tooltip.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkTooltipStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkTooltip as ArkTooltipElement } from "@tooark/web-components";
|
|
3
3
|
import React, { type PropsWithChildren } from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
export type ArkTooltipProps = PropsWithChildren<ArkDomProps<ArkTooltipStyleOptions & {
|
package/dist/ark-tooltip.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { ArkTooltip as ArkTooltipElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { textChild } from "./text-child.js";
|
|
4
6
|
export const ArkTooltip = forwardRef(function ArkTooltip(props, forwardedRef) {
|
|
5
7
|
const { children, className, open, delay, ...rest } = props;
|
|
6
8
|
useEffect(() => {
|
|
7
|
-
|
|
9
|
+
ensureTooarkElementsRegistered(ArkTooltipElement);
|
|
8
10
|
}, []);
|
|
9
11
|
const attrs = {
|
|
10
12
|
...domAttrs(rest),
|
|
@@ -13,5 +15,5 @@ export const ArkTooltip = forwardRef(function ArkTooltip(props, forwardedRef) {
|
|
|
13
15
|
open: open ? "" : undefined,
|
|
14
16
|
delay: delay === undefined ? undefined : String(delay)
|
|
15
17
|
};
|
|
16
|
-
return createElement("ark-tooltip", attrs, children);
|
|
18
|
+
return createElement("ark-tooltip", attrs, textChild(children));
|
|
17
19
|
});
|
package/dist/ark-tree.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ArkTreeItemStyleOptions, ArkTreeSelection, ArkTreeStyleOptions } from "@tooark/core";
|
|
2
|
-
import
|
|
2
|
+
import { ArkTree as ArkTreeElement, ArkTreeItem as ArkTreeItemElement } from "@tooark/web-components";
|
|
3
3
|
import React, { type PropsWithChildren } from "react";
|
|
4
4
|
import { type ArkDomProps } from "./dom-props.js";
|
|
5
5
|
/** `detail` do `ark-toggle`: o item expandido ou recolhido. */
|
|
@@ -49,7 +49,7 @@ export declare const ArkTree: React.ForwardRefExoticComponent<ArkTreeStyleOption
|
|
|
49
49
|
onToggle?: (event: CustomEvent<ArkTreeToggleDetail>) => void;
|
|
50
50
|
onSelectionChange?: (event: CustomEvent<ArkTreeSelectionDetail>) => void;
|
|
51
51
|
onActivate?: (event: CustomEvent<ArkTreeActivateDetail>) => void;
|
|
52
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "onToggle" | "
|
|
52
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "onToggle" | "value" | "label" | "onSelectionChange" | keyof ArkTreeStyleOptions | "selection" | "checkboxes" | "propagate" | "onActivate"> & {
|
|
53
53
|
children?: React.ReactNode | undefined;
|
|
54
54
|
} & React.RefAttributes<ArkTreeElement>>;
|
|
55
55
|
export type ArkTreeItemProps = PropsWithChildren<ArkDomProps<ArkTreeItemStyleOptions & {
|
|
@@ -81,6 +81,6 @@ export declare const ArkTreeItem: React.ForwardRefExoticComponent<ArkTreeItemSty
|
|
|
81
81
|
checked?: boolean | "mixed";
|
|
82
82
|
disabled?: boolean;
|
|
83
83
|
className?: string;
|
|
84
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "
|
|
84
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "disabled" | "value" | "label" | "loading" | "checked" | "selected" | keyof ArkTreeItemStyleOptions | "expanded" | "lazy"> & {
|
|
85
85
|
children?: React.ReactNode | undefined;
|
|
86
86
|
} & React.RefAttributes<ArkTreeItemElement>>;
|
package/dist/ark-tree.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { ArkTree as ArkTreeElement, ArkTreeItem as ArkTreeItemElement } from "@tooark/web-components";
|
|
1
2
|
import { createElement, forwardRef, useEffect } from "react";
|
|
2
3
|
import { domAttrs } from "./dom-props.js";
|
|
3
|
-
import {
|
|
4
|
+
import { ensureTooarkElementsRegistered } from "./register-elements.js";
|
|
5
|
+
import { textChild } from "./text-child.js";
|
|
4
6
|
import { useForwardedRef } from "./use-forwarded-ref.js";
|
|
5
7
|
import { useIsomorphicLayoutEffect } from "./use-isomorphic-layout-effect.js";
|
|
6
8
|
export const ArkTree = forwardRef(function ArkTree(props, forwardedRef) {
|
|
7
9
|
const { children, className, checkboxes, propagate, value, iconColor, onToggle, onSelectionChange, onActivate, ...rest } = props;
|
|
8
10
|
const [ref, setRef] = useForwardedRef(forwardedRef);
|
|
9
11
|
useEffect(() => {
|
|
10
|
-
|
|
12
|
+
ensureTooarkElementsRegistered(ArkTreeElement);
|
|
11
13
|
}, []);
|
|
12
14
|
useIsomorphicLayoutEffect(() => {
|
|
13
15
|
const el = ref.current;
|
|
@@ -45,12 +47,12 @@ export const ArkTree = forwardRef(function ArkTree(props, forwardedRef) {
|
|
|
45
47
|
"icon-color": iconColor || undefined,
|
|
46
48
|
value: Array.isArray(value) ? (value.length ? JSON.stringify(value) : undefined) : value || undefined
|
|
47
49
|
};
|
|
48
|
-
return createElement("ark-tree", attrs, children);
|
|
50
|
+
return createElement("ark-tree", attrs, textChild(children));
|
|
49
51
|
});
|
|
50
52
|
export const ArkTreeItem = forwardRef(function ArkTreeItem(props, forwardedRef) {
|
|
51
53
|
const { children, className, expanded, lazy, loading, selected, checked, disabled, ...rest } = props;
|
|
52
54
|
useEffect(() => {
|
|
53
|
-
|
|
55
|
+
ensureTooarkElementsRegistered(ArkTreeItemElement);
|
|
54
56
|
}, []);
|
|
55
57
|
const attrs = {
|
|
56
58
|
...domAttrs(rest),
|
|
@@ -63,5 +65,5 @@ export const ArkTreeItem = forwardRef(function ArkTreeItem(props, forwardedRef)
|
|
|
63
65
|
checked: checked === "mixed" ? "mixed" : checked ? "" : undefined,
|
|
64
66
|
disabled: disabled ? "" : undefined
|
|
65
67
|
};
|
|
66
|
-
return createElement("ark-tree-item", attrs, children);
|
|
68
|
+
return createElement("ark-tree-item", attrs, textChild(children));
|
|
67
69
|
});
|
package/dist/code.d.ts
CHANGED
|
@@ -144,5 +144,5 @@ export declare const ArkCodeEditor: React.ForwardRefExoticComponent<{
|
|
|
144
144
|
onFormatError?: (event: CustomEvent<{
|
|
145
145
|
error: unknown;
|
|
146
146
|
}>) => void;
|
|
147
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "onChange" | "onSubmit" | "testid" | "
|
|
147
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "children" | "className" | "onChange" | "onSubmit" | "testid" | "size" | "theme" | "value" | "placeholder" | "readonly" | "autocomplete" | "wrap" | "language" | "minHeight" | "maxHeight" | "lineNumbers" | "fold" | "indentStyle" | "indentSize" | "lineEnding" | "tabIndent" | "markUnknownVariables" | "singleLine" | "variableKeys" | "variables" | "completions" | "completionSource" | "formatter" | "extensions" | "onFormatError"> & React.RefAttributes<ArkCodeEditorElement>>;
|
|
148
148
|
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/// <reference path="./jsx-intrinsics.d.ts" />
|
|
2
|
+
export { dismissToast, getArkLocale, observeArkLocale, setArkLocale, showToast, toast } from "@tooark/core";
|
|
3
|
+
export type { ArkAccordionItemProps, ArkAccordionProps } from "./ark-accordion.js";
|
|
4
|
+
export { ArkAccordion, ArkAccordionItem } from "./ark-accordion.js";
|
|
5
|
+
export type { ArkAlertProps } from "./ark-alert.js";
|
|
6
|
+
export { ArkAlert } from "./ark-alert.js";
|
|
7
|
+
export type { ArkAvatarProps } from "./ark-avatar.js";
|
|
8
|
+
export { ArkAvatar } from "./ark-avatar.js";
|
|
9
|
+
export type { ArkBadgeProps } from "./ark-badge.js";
|
|
10
|
+
export { ArkBadge } from "./ark-badge.js";
|
|
11
|
+
export type { ArkBreadcrumbItemProps, ArkBreadcrumbProps } from "./ark-breadcrumb.js";
|
|
12
|
+
export { ArkBreadcrumb, ArkBreadcrumbItem } from "./ark-breadcrumb.js";
|
|
13
|
+
export type { ArkButtonGroupProps, ArkButtonProps } from "./ark-button.js";
|
|
14
|
+
export { ArkButton, ArkButtonGroup } from "./ark-button.js";
|
|
15
|
+
export type { ArkCalendarProps } from "./ark-calendar.js";
|
|
16
|
+
export { ArkCalendar } from "./ark-calendar.js";
|
|
17
|
+
export type { ArkCardProps } from "./ark-card.js";
|
|
18
|
+
export { ArkCard } from "./ark-card.js";
|
|
19
|
+
export type { ArkCarouselProps } from "./ark-carousel.js";
|
|
20
|
+
export { ArkCarousel } from "./ark-carousel.js";
|
|
21
|
+
export type { ArkCheckboxProps } from "./ark-checkbox.js";
|
|
22
|
+
export { ArkCheckbox } from "./ark-checkbox.js";
|
|
23
|
+
export type { ArkClockProps } from "./ark-clock.js";
|
|
24
|
+
export { ArkClock } from "./ark-clock.js";
|
|
25
|
+
export type { ArkColorSwatchesProps } from "./ark-color-swatches.js";
|
|
26
|
+
export { ArkColorSwatches } from "./ark-color-swatches.js";
|
|
27
|
+
export type { ArkComboboxProps } from "./ark-combobox.js";
|
|
28
|
+
export { ArkCombobox } from "./ark-combobox.js";
|
|
29
|
+
export type { ArkCommandItemProps, ArkCommandPaletteProps } from "./ark-command-palette.js";
|
|
30
|
+
export { ArkCommandItem, ArkCommandPalette } from "./ark-command-palette.js";
|
|
31
|
+
export type { ArkCopyButtonProps } from "./ark-copy-button.js";
|
|
32
|
+
export { ArkCopyButton } from "./ark-copy-button.js";
|
|
33
|
+
export type { ArkDataViewProps, ArkDataViewReactCardRender, ArkDataViewReactColumn } from "./ark-data-view.js";
|
|
34
|
+
export { ArkDataView } from "./ark-data-view.js";
|
|
35
|
+
export type { ArkDatepickerProps } from "./ark-datepicker.js";
|
|
36
|
+
export { ArkDatepicker } from "./ark-datepicker.js";
|
|
37
|
+
export type { ArkDialogProps } from "./ark-dialog.js";
|
|
38
|
+
export { ArkDialog } from "./ark-dialog.js";
|
|
39
|
+
export type { ArkDrawerProps } from "./ark-drawer.js";
|
|
40
|
+
export { ArkDrawer } from "./ark-drawer.js";
|
|
41
|
+
export type { ArkEmptyProps } from "./ark-empty.js";
|
|
42
|
+
export { ArkEmpty } from "./ark-empty.js";
|
|
43
|
+
export type { ArkFileInputProps } from "./ark-file-input.js";
|
|
44
|
+
export { ArkFileInput } from "./ark-file-input.js";
|
|
45
|
+
export type { ArkInputProps } from "./ark-input.js";
|
|
46
|
+
export { ArkInput } from "./ark-input.js";
|
|
47
|
+
export type { ArkKbdProps } from "./ark-kbd.js";
|
|
48
|
+
export { ArkKbd } from "./ark-kbd.js";
|
|
49
|
+
export type { ArkKvEditorProps } from "./ark-kv-editor.js";
|
|
50
|
+
export { ArkKvEditor } from "./ark-kv-editor.js";
|
|
51
|
+
export type { ArkMarkProps } from "./ark-mark.js";
|
|
52
|
+
export { ArkMark } from "./ark-mark.js";
|
|
53
|
+
export type { ArkMenuGroupProps, ArkMenuItemProps, ArkMenuProps } from "./ark-menu.js";
|
|
54
|
+
export { ArkMenu, ArkMenuGroup, ArkMenuItem } from "./ark-menu.js";
|
|
55
|
+
export type { ArkNavGroupProps, ArkNavItemProps, ArkNavNavigateDetail, ArkNavProps } from "./ark-nav.js";
|
|
56
|
+
export { ArkNav, ArkNavGroup, ArkNavItem } from "./ark-nav.js";
|
|
57
|
+
export type { ArkOtpInputProps } from "./ark-otp-input.js";
|
|
58
|
+
export { ArkOtpInput } from "./ark-otp-input.js";
|
|
59
|
+
export type { ArkPaginationProps } from "./ark-pagination.js";
|
|
60
|
+
export { ArkPagination } from "./ark-pagination.js";
|
|
61
|
+
export type { ArkPopoverProps } from "./ark-popover.js";
|
|
62
|
+
export { ArkPopover } from "./ark-popover.js";
|
|
63
|
+
export type { ArkProgressProps } from "./ark-progress.js";
|
|
64
|
+
export { ArkProgress } from "./ark-progress.js";
|
|
65
|
+
export type { ArkRadioGroupProps, ArkRadioProps } from "./ark-radio.js";
|
|
66
|
+
export { ArkRadio, ArkRadioGroup } from "./ark-radio.js";
|
|
67
|
+
export type { ArkSchedulerProps } from "./ark-scheduler.js";
|
|
68
|
+
export { ArkScheduler } from "./ark-scheduler.js";
|
|
69
|
+
export type { ArkSelectProps } from "./ark-select.js";
|
|
70
|
+
export { ArkSelect } from "./ark-select.js";
|
|
71
|
+
export type { ArkShapePickerProps } from "./ark-shape-picker.js";
|
|
72
|
+
export { ArkShapePicker } from "./ark-shape-picker.js";
|
|
73
|
+
export type { ArkSkeletonProps } from "./ark-skeleton.js";
|
|
74
|
+
export { ArkSkeleton } from "./ark-skeleton.js";
|
|
75
|
+
export type { ArkSliderChangeDetail, ArkSliderProps } from "./ark-slider.js";
|
|
76
|
+
export { ArkSlider } from "./ark-slider.js";
|
|
77
|
+
export type { ArkSpinnerProps } from "./ark-spinner.js";
|
|
78
|
+
export { ArkSpinner } from "./ark-spinner.js";
|
|
79
|
+
export type { ArkSplitPaneProps } from "./ark-split-pane.js";
|
|
80
|
+
export { ArkSplitPane } from "./ark-split-pane.js";
|
|
81
|
+
export type { ArkStatusDotProps } from "./ark-status-dot.js";
|
|
82
|
+
export { ArkStatusDot } from "./ark-status-dot.js";
|
|
83
|
+
export type { ArkStepProps, ArkStepperProps } from "./ark-stepper.js";
|
|
84
|
+
export { ArkStep, ArkStepper } from "./ark-stepper.js";
|
|
85
|
+
export type { ArkSwitchProps } from "./ark-switch.js";
|
|
86
|
+
export { ArkSwitch } from "./ark-switch.js";
|
|
87
|
+
export type { ArkTabPanelProps, ArkTabProps, ArkTabsProps } from "./ark-tabs.js";
|
|
88
|
+
export { ArkTab, ArkTabPanel, ArkTabs } from "./ark-tabs.js";
|
|
89
|
+
export type { ArkTextareaProps } from "./ark-textarea.js";
|
|
90
|
+
export { ArkTextarea } from "./ark-textarea.js";
|
|
91
|
+
export type { ArkTimeProps } from "./ark-time.js";
|
|
92
|
+
export { ArkTime } from "./ark-time.js";
|
|
93
|
+
export type { ArkTimelineItemProps, ArkTimelineProps } from "./ark-timeline.js";
|
|
94
|
+
export { ArkTimeline, ArkTimelineItem } from "./ark-timeline.js";
|
|
95
|
+
export type { ArkTimerProps } from "./ark-timer.js";
|
|
96
|
+
export { ArkTimer } from "./ark-timer.js";
|
|
97
|
+
export type { ArkToasterProps } from "./ark-toaster.js";
|
|
98
|
+
export { ArkToaster } from "./ark-toaster.js";
|
|
99
|
+
export type { ArkToggleGroupProps, ArkToggleProps } from "./ark-toggle.js";
|
|
100
|
+
export { ArkToggle, ArkToggleGroup } from "./ark-toggle.js";
|
|
101
|
+
export type { ArkTooltipProps } from "./ark-tooltip.js";
|
|
102
|
+
export { ArkTooltip } from "./ark-tooltip.js";
|
|
103
|
+
export type { ArkTreeActivateDetail, ArkTreeItemProps, ArkTreeProps, ArkTreeSelectionDetail, ArkTreeToggleDetail } from "./ark-tree.js";
|
|
104
|
+
export { ArkTree, ArkTreeItem } from "./ark-tree.js";
|
package/dist/elements.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export { dismissToast, getArkLocale, observeArkLocale, setArkLocale, showToast, toast } from "@tooark/core";
|
|
2
|
+
export { ArkAccordion, ArkAccordionItem } from "./ark-accordion.js";
|
|
3
|
+
export { ArkAlert } from "./ark-alert.js";
|
|
4
|
+
export { ArkAvatar } from "./ark-avatar.js";
|
|
5
|
+
export { ArkBadge } from "./ark-badge.js";
|
|
6
|
+
export { ArkBreadcrumb, ArkBreadcrumbItem } from "./ark-breadcrumb.js";
|
|
7
|
+
export { ArkButton, ArkButtonGroup } from "./ark-button.js";
|
|
8
|
+
export { ArkCalendar } from "./ark-calendar.js";
|
|
9
|
+
export { ArkCard } from "./ark-card.js";
|
|
10
|
+
export { ArkCarousel } from "./ark-carousel.js";
|
|
11
|
+
export { ArkCheckbox } from "./ark-checkbox.js";
|
|
12
|
+
export { ArkClock } from "./ark-clock.js";
|
|
13
|
+
export { ArkColorSwatches } from "./ark-color-swatches.js";
|
|
14
|
+
export { ArkCombobox } from "./ark-combobox.js";
|
|
15
|
+
export { ArkCommandItem, ArkCommandPalette } from "./ark-command-palette.js";
|
|
16
|
+
export { ArkCopyButton } from "./ark-copy-button.js";
|
|
17
|
+
export { ArkDataView } from "./ark-data-view.js";
|
|
18
|
+
export { ArkDatepicker } from "./ark-datepicker.js";
|
|
19
|
+
export { ArkDialog } from "./ark-dialog.js";
|
|
20
|
+
export { ArkDrawer } from "./ark-drawer.js";
|
|
21
|
+
export { ArkEmpty } from "./ark-empty.js";
|
|
22
|
+
export { ArkFileInput } from "./ark-file-input.js";
|
|
23
|
+
export { ArkInput } from "./ark-input.js";
|
|
24
|
+
export { ArkKbd } from "./ark-kbd.js";
|
|
25
|
+
export { ArkKvEditor } from "./ark-kv-editor.js";
|
|
26
|
+
export { ArkMark } from "./ark-mark.js";
|
|
27
|
+
export { ArkMenu, ArkMenuGroup, ArkMenuItem } from "./ark-menu.js";
|
|
28
|
+
export { ArkNav, ArkNavGroup, ArkNavItem } from "./ark-nav.js";
|
|
29
|
+
export { ArkOtpInput } from "./ark-otp-input.js";
|
|
30
|
+
export { ArkPagination } from "./ark-pagination.js";
|
|
31
|
+
export { ArkPopover } from "./ark-popover.js";
|
|
32
|
+
export { ArkProgress } from "./ark-progress.js";
|
|
33
|
+
export { ArkRadio, ArkRadioGroup } from "./ark-radio.js";
|
|
34
|
+
export { ArkScheduler } from "./ark-scheduler.js";
|
|
35
|
+
export { ArkSelect } from "./ark-select.js";
|
|
36
|
+
export { ArkShapePicker } from "./ark-shape-picker.js";
|
|
37
|
+
export { ArkSkeleton } from "./ark-skeleton.js";
|
|
38
|
+
export { ArkSlider } from "./ark-slider.js";
|
|
39
|
+
export { ArkSpinner } from "./ark-spinner.js";
|
|
40
|
+
export { ArkSplitPane } from "./ark-split-pane.js";
|
|
41
|
+
export { ArkStatusDot } from "./ark-status-dot.js";
|
|
42
|
+
export { ArkStep, ArkStepper } from "./ark-stepper.js";
|
|
43
|
+
export { ArkSwitch } from "./ark-switch.js";
|
|
44
|
+
export { ArkTab, ArkTabPanel, ArkTabs } from "./ark-tabs.js";
|
|
45
|
+
export { ArkTextarea } from "./ark-textarea.js";
|
|
46
|
+
export { ArkTime } from "./ark-time.js";
|
|
47
|
+
export { ArkTimeline, ArkTimelineItem } from "./ark-timeline.js";
|
|
48
|
+
export { ArkTimer } from "./ark-timer.js";
|
|
49
|
+
export { ArkToaster } from "./ark-toaster.js";
|
|
50
|
+
export { ArkToggle, ArkToggleGroup } from "./ark-toggle.js";
|
|
51
|
+
export { ArkTooltip } from "./ark-tooltip.js";
|
|
52
|
+
export { ArkTree, ArkTreeItem } from "./ark-tree.js";
|