@journ/bloom 0.1.1 → 0.1.3
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/DESIGN.md +3 -2
- package/dist/accordion-parts.d.ts +5 -5
- package/dist/accordion.d.ts +2 -2
- package/dist/alert-dialog-parts.d.ts +13 -11
- package/dist/alert-dialog.d.ts +5 -5
- package/dist/alert.d.ts +12 -37
- package/dist/animated-size.d.ts +3 -2
- package/dist/avatar-parts.d.ts +5 -4
- package/dist/badge.d.ts +7 -35
- package/dist/breadcrumbs.d.ts +7 -7
- package/dist/bulk-bar.d.ts +4 -4
- package/dist/button.d.ts +11 -36
- package/dist/calendar-parts.d.ts +18 -12
- package/dist/calendar-parts.js +5 -1
- package/dist/calendar.d.ts +3 -3
- package/dist/card.d.ts +13 -38
- package/dist/carousel-parts.d.ts +8 -7
- package/dist/carousel-parts.js +1 -1
- package/dist/checkbox-parts.d.ts +3 -3
- package/dist/chip.d.ts +11 -30
- package/dist/collapsible-parts.d.ts +4 -4
- package/dist/collapsible.d.ts +3 -3
- package/dist/combobox-parts.d.ts +17 -16
- package/dist/combobox-parts.js +7 -2
- package/dist/combobox.d.ts +5 -10
- package/dist/command-palette-parts.d.ts +4 -3
- package/dist/command-palette-parts.js +2 -1
- package/dist/command-palette.d.ts +3 -3
- package/dist/composer.d.ts +3 -3
- package/dist/context-menu-parts.d.ts +9 -12
- package/dist/context-menu-parts.js +5 -1
- package/dist/context-menu.d.ts +8 -15
- package/dist/currency-input-parts.d.ts +3 -3
- package/dist/currency-input.d.ts +2 -2
- package/dist/data-table-parts.d.ts +12 -5
- package/dist/data-table-parts.js +7 -1
- package/dist/data-table.d.ts +5 -5
- package/dist/date-input-parts.d.ts +3 -3
- package/dist/date-input.d.ts +2 -2
- package/dist/date-picker-parts.d.ts +9 -7
- package/dist/date-picker-parts.js +7 -2
- package/dist/date-picker.d.ts +6 -11
- package/dist/date-range-picker-parts.d.ts +9 -7
- package/dist/date-range-picker-parts.js +7 -2
- package/dist/date-range-picker.d.ts +6 -11
- package/dist/description-list.d.ts +4 -4
- package/dist/dialog-parts.d.ts +12 -10
- package/dist/dialog.d.ts +4 -4
- package/dist/divider.d.ts +2 -2
- package/dist/drawer-parts.d.ts +9 -8
- package/dist/drawer.d.ts +4 -4
- package/dist/dropdown-menu-parts.d.ts +9 -12
- package/dist/dropdown-menu-parts.js +5 -1
- package/dist/dropdown-menu.d.ts +8 -15
- package/dist/empty-state.d.ts +6 -6
- package/dist/field-parts.d.ts +6 -6
- package/dist/field.d.ts +2 -2
- package/dist/file-dropzone-parts.d.ts +8 -6
- package/dist/file-dropzone-parts.js +2 -1
- package/dist/heading.d.ts +5 -26
- package/dist/hover-card-parts.d.ts +4 -4
- package/dist/hover-card.d.ts +3 -3
- package/dist/icon-button.d.ts +11 -41
- package/dist/icon.d.ts +6 -26
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/input.d.ts +3 -3
- package/dist/lib/icon-tile.d.ts +5 -28
- package/dist/lib/menu-parts.d.ts +12 -16
- package/dist/lib/modal-content.d.ts +2 -2
- package/dist/lib/modal-parts.d.ts +3 -3
- package/dist/lib/overlay.d.ts +8 -31
- package/dist/lib/picker.d.ts +9 -7
- package/dist/lib/theme.d.ts +8 -8
- package/dist/lib/tones.d.ts +12 -42
- package/dist/lib/tv.d.ts +6 -1
- package/dist/lib/use-enter.d.ts +8 -11
- package/dist/lib/use-enter.js +1 -1
- package/dist/link.d.ts +3 -3
- package/dist/list-row.d.ts +30 -0
- package/dist/list-row.js +73 -0
- package/dist/markdown.d.ts +3 -2
- package/dist/message.d.ts +7 -6
- package/dist/month-picker.d.ts +2 -2
- package/dist/month-stepper-parts.d.ts +6 -5
- package/dist/multiple-selector-parts.d.ts +11 -12
- package/dist/multiple-selector-parts.js +5 -2
- package/dist/multiple-selector.d.ts +4 -9
- package/dist/nav-bar.d.ts +3 -3
- package/dist/navigation-menu-parts.d.ts +8 -7
- package/dist/navigation-menu.d.ts +2 -2
- package/dist/otp-input-parts.d.ts +4 -4
- package/dist/otp-input.d.ts +2 -2
- package/dist/page-header.d.ts +4 -4
- package/dist/page.d.ts +10 -37
- package/dist/pagination.d.ts +7 -7
- package/dist/pill-select.d.ts +2 -2
- package/dist/popover-parts.d.ts +5 -5
- package/dist/popover.d.ts +4 -4
- package/dist/progress-parts.d.ts +7 -33
- package/dist/quantity-input-parts.d.ts +6 -5
- package/dist/radio-parts.d.ts +4 -3
- package/dist/scroll-area-parts.d.ts +6 -5
- package/dist/scroll-area.d.ts +2 -2
- package/dist/select-parts.d.ts +10 -9
- package/dist/select.d.ts +4 -4
- package/dist/sheet-parts.d.ts +5 -26
- package/dist/sheet.d.ts +4 -4
- package/dist/sidebar.d.ts +10 -10
- package/dist/skeleton.d.ts +2 -2
- package/dist/slider-parts.d.ts +5 -5
- package/dist/spinner.d.ts +2 -2
- package/dist/stack-parts.d.ts +10 -35
- package/dist/stat.d.ts +5 -5
- package/dist/step-button.d.ts +5 -3
- package/dist/stepper-parts.d.ts +6 -6
- package/dist/styles.css +1 -1
- package/dist/switch-parts.d.ts +3 -3
- package/dist/table.d.ts +8 -8
- package/dist/tabs-parts.d.ts +5 -5
- package/dist/tag-input-parts.d.ts +8 -7
- package/dist/tag-input-parts.js +1 -1
- package/dist/text-morph.d.ts +3 -2
- package/dist/text-shimmer.d.ts +3 -3
- package/dist/text.d.ts +8 -35
- package/dist/textarea.d.ts +2 -2
- package/dist/time-range-parts.d.ts +5 -5
- package/dist/time-range.d.ts +2 -2
- package/dist/toast-parts.d.ts +6 -6
- package/dist/toggle-group-parts.d.ts +3 -3
- package/dist/tooltip-parts.d.ts +5 -5
- package/dist/tooltip.d.ts +4 -4
- package/dist/touch-target.d.ts +2 -1
- package/package.json +3 -3
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IconButtonProps } from "./icon-button.js";
|
|
2
|
-
import {
|
|
2
|
+
import { JSX } from "react";
|
|
3
3
|
import * as Nude from "@journ/nude/quantity-input-parts";
|
|
4
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
5
|
//#region src/quantity-input-parts.d.ts
|
|
5
6
|
type RootProps = Nude.RootProps;
|
|
6
|
-
declare const Root: ({ className, ...props }: RootProps) =>
|
|
7
|
-
declare const Decrement: ({ tone, size, className, children, ...props }: IconButtonProps) =>
|
|
8
|
-
declare const Increment: ({ tone, size, className, children, ...props }: IconButtonProps) =>
|
|
9
|
-
declare const Field:
|
|
7
|
+
declare const Root: ({ className, ...props }: RootProps) => JSX.Element;
|
|
8
|
+
declare const Decrement: ({ tone, size, className, children, ...props }: IconButtonProps) => JSX.Element;
|
|
9
|
+
declare const Increment: ({ tone, size, className, children, ...props }: IconButtonProps) => JSX.Element;
|
|
10
|
+
declare const Field: Styled<typeof Nude.Field>;
|
|
10
11
|
//#endregion
|
|
11
12
|
export { Decrement, Field, Increment, Root, type RootProps };
|
package/dist/radio-parts.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
2
2
|
import * as Nude from "@journ/nude/radio-parts";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
4
|
//#region src/radio-parts.d.ts
|
|
4
|
-
declare const Group:
|
|
5
|
-
declare const Item: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Item>,
|
|
5
|
+
declare const Group: Styled<typeof Nude.Group>;
|
|
6
|
+
declare const Item: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Item>, "classNames" | "children">) => JSX.Element;
|
|
6
7
|
//#endregion
|
|
7
8
|
export { Group, Item };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
2
2
|
import * as Nude from "@journ/nude/scroll-area-parts";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
4
|
//#region src/scroll-area-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Viewport:
|
|
6
|
-
declare const Scrollbar: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Scrollbar>,
|
|
7
|
-
declare const Corner:
|
|
5
|
+
declare const Root: Styled<typeof Nude.Root>;
|
|
6
|
+
declare const Viewport: Styled<typeof Nude.Viewport>;
|
|
7
|
+
declare const Scrollbar: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Scrollbar>, "classNames" | "children">) => JSX.Element;
|
|
8
|
+
declare const Corner: typeof Nude.Corner;
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Corner, Root, Scrollbar, Viewport };
|
package/dist/scroll-area.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Root, Scrollbar, Viewport } from "./scroll-area-parts.js";
|
|
1
|
+
import { Corner, Root, Scrollbar, Viewport } from "./scroll-area-parts.js";
|
|
2
2
|
//#region src/scroll-area.d.ts
|
|
3
3
|
declare const ScrollArea: {
|
|
4
4
|
Root: typeof Root;
|
|
5
5
|
Viewport: typeof Viewport;
|
|
6
6
|
Scrollbar: typeof Scrollbar;
|
|
7
|
-
Corner:
|
|
7
|
+
Corner: typeof Corner;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ScrollArea };
|
package/dist/select-parts.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
2
2
|
import * as Nude from "@journ/nude/select-parts";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
4
|
//#region src/select-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Group:
|
|
6
|
-
declare const Value:
|
|
7
|
-
declare const Trigger: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Trigger>,
|
|
8
|
-
declare const Content: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Content>,
|
|
9
|
-
declare const Item: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Item>,
|
|
10
|
-
declare const Label:
|
|
11
|
-
declare const Separator:
|
|
5
|
+
declare const Root: typeof Nude.Root;
|
|
6
|
+
declare const Group: typeof Nude.Group;
|
|
7
|
+
declare const Value: typeof Nude.Value;
|
|
8
|
+
declare const Trigger: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Trigger>, "icon">) => JSX.Element;
|
|
9
|
+
declare const Content: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Content>, "classNames">) => JSX.Element;
|
|
10
|
+
declare const Item: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Item>, "indicator">) => JSX.Element;
|
|
11
|
+
declare const Label: Styled<typeof Nude.Label>;
|
|
12
|
+
declare const Separator: Styled<typeof Nude.Separator>;
|
|
12
13
|
//#endregion
|
|
13
14
|
export { Content, Group, Item, Label, Root, Separator, Trigger, Value };
|
package/dist/select.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Content, Item, Label, Separator, Trigger } from "./select-parts.js";
|
|
1
|
+
import { Content, Group, Item, Label, Root, Separator, Trigger, Value } from "./select-parts.js";
|
|
2
2
|
//#region src/select.d.ts
|
|
3
3
|
declare const Select: {
|
|
4
|
-
Root:
|
|
4
|
+
Root: typeof Root;
|
|
5
5
|
Trigger: typeof Trigger;
|
|
6
|
-
Value:
|
|
6
|
+
Value: typeof Value;
|
|
7
7
|
Content: typeof Content;
|
|
8
|
-
Group:
|
|
8
|
+
Group: typeof Group;
|
|
9
9
|
Label: typeof Label;
|
|
10
10
|
Item: typeof Item;
|
|
11
11
|
Separator: typeof Separator;
|
package/dist/sheet-parts.d.ts
CHANGED
|
@@ -1,33 +1,12 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import { VariantProps } from "./lib/tv.js";
|
|
3
2
|
import { Close, Description, Root, Title, Trigger } from "./dialog-parts.js";
|
|
4
|
-
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
5
4
|
import * as Nude from "@journ/nude/sheet-parts";
|
|
6
5
|
//#region src/sheet-parts.d.ts
|
|
7
6
|
type Side = Nude.SheetSide;
|
|
8
|
-
|
|
9
|
-
side
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
top: "inset-x-0 top-0 max-h-[85dvh] md:inset-x-4 md:top-4";
|
|
13
|
-
bottom: "inset-x-0 bottom-0 max-h-[85dvh] md:inset-x-4 md:bottom-4";
|
|
14
|
-
};
|
|
15
|
-
}, undefined, string[], {
|
|
16
|
-
side: {
|
|
17
|
-
right: "inset-y-0 right-0 w-full max-w-lg md:inset-y-4 md:right-4";
|
|
18
|
-
left: "inset-y-0 left-0 w-full max-w-lg md:inset-y-4 md:left-4";
|
|
19
|
-
top: "inset-x-0 top-0 max-h-[85dvh] md:inset-x-4 md:top-4";
|
|
20
|
-
bottom: "inset-x-0 bottom-0 max-h-[85dvh] md:inset-x-4 md:bottom-4";
|
|
21
|
-
};
|
|
22
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
23
|
-
side: {
|
|
24
|
-
right: "inset-y-0 right-0 w-full max-w-lg md:inset-y-4 md:right-4";
|
|
25
|
-
left: "inset-y-0 left-0 w-full max-w-lg md:inset-y-4 md:left-4";
|
|
26
|
-
top: "inset-x-0 top-0 max-h-[85dvh] md:inset-x-4 md:top-4";
|
|
27
|
-
bottom: "inset-x-0 bottom-0 max-h-[85dvh] md:inset-x-4 md:bottom-4";
|
|
28
|
-
};
|
|
29
|
-
}, undefined>>;
|
|
30
|
-
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>, 'classNames' | 'overlayRef' | 'side'> & VariantProps<typeof sheetContent>;
|
|
31
|
-
declare const Content: ({ side, className, ...props }: ContentProps) => import("react").JSX.Element;
|
|
7
|
+
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>, "classNames" | "overlayRef" | "side"> & {
|
|
8
|
+
side?: Side;
|
|
9
|
+
};
|
|
10
|
+
declare const Content: ({ side, className, ...props }: ContentProps) => JSX.Element;
|
|
32
11
|
//#endregion
|
|
33
12
|
export { Actions, Body, Close, Content, Description, Root, type ContentProps as SheetContentProps, type Side as SheetSide, Title, Trigger };
|
package/dist/sheet.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import { Description, Title } from "./dialog-parts.js";
|
|
2
|
+
import { Close, Description, Root, Title, Trigger } from "./dialog-parts.js";
|
|
3
3
|
import { Content, SheetContentProps as ContentProps, SheetSide as Side } from "./sheet-parts.js";
|
|
4
4
|
//#region src/sheet.d.ts
|
|
5
5
|
declare const Sheet: {
|
|
6
|
-
Root:
|
|
7
|
-
Trigger:
|
|
8
|
-
Close:
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Trigger: typeof Trigger;
|
|
8
|
+
Close: typeof Close;
|
|
9
9
|
Content: typeof Content;
|
|
10
10
|
Title: typeof Title;
|
|
11
11
|
Description: typeof Description;
|
package/dist/sidebar.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/sidebar.d.ts
|
|
3
|
-
declare const Layout:
|
|
4
|
-
declare const Content:
|
|
5
|
-
declare const Root:
|
|
6
|
-
declare const Header:
|
|
7
|
-
declare const Body:
|
|
8
|
-
declare const Section:
|
|
9
|
-
declare const Heading:
|
|
10
|
-
declare const Item:
|
|
11
|
-
declare const Footer:
|
|
3
|
+
declare const Layout: Styled<"div">;
|
|
4
|
+
declare const Content: Styled<"main">;
|
|
5
|
+
declare const Root: Styled<"aside">;
|
|
6
|
+
declare const Header: Styled<"div">;
|
|
7
|
+
declare const Body: Styled<"nav">;
|
|
8
|
+
declare const Section: Styled<"div">;
|
|
9
|
+
declare const Heading: Styled<"h3">;
|
|
10
|
+
declare const Item: Styled<"a">;
|
|
11
|
+
declare const Footer: Styled<"div">;
|
|
12
12
|
declare const Sidebar: {
|
|
13
13
|
Layout: typeof Layout;
|
|
14
14
|
Root: typeof Root;
|
package/dist/skeleton.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/skeleton.d.ts
|
|
3
|
-
declare const Skeleton:
|
|
3
|
+
declare const Skeleton: Styled<"div">;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { Skeleton };
|
package/dist/slider-parts.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/slider-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/slider-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Track:
|
|
6
|
-
declare const Range:
|
|
7
|
-
declare const Thumb:
|
|
4
|
+
declare const Root: Styled<typeof Nude.Root>;
|
|
5
|
+
declare const Track: Styled<typeof Nude.Track>;
|
|
6
|
+
declare const Range: Styled<typeof Nude.Range>;
|
|
7
|
+
declare const Thumb: Styled<typeof Nude.Thumb>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Range, Root, Thumb, Track };
|
package/dist/spinner.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/spinner.d.ts
|
|
3
|
-
declare const Spinner:
|
|
3
|
+
declare const Spinner: Styled<"svg">;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { Spinner };
|
package/dist/stack-parts.d.ts
CHANGED
|
@@ -1,39 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SurfaceTone } from "./lib/tones.js";
|
|
2
|
+
import { JSX } from "react";
|
|
3
3
|
import * as Nude from "@journ/nude/stack-parts";
|
|
4
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
5
|
//#region src/stack-parts.d.ts
|
|
5
|
-
declare const Root: ({ className, ...props }: Nude.RootProps) =>
|
|
6
|
-
|
|
7
|
-
tone
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly mint: string;
|
|
13
|
-
readonly sky: string;
|
|
14
|
-
};
|
|
15
|
-
}, undefined, "rounded-bloom relative -mt-6 flex flex-col gap-3 p-5 pb-9 data-[active=true]:pb-5", {
|
|
16
|
-
tone: {
|
|
17
|
-
readonly surface: "bg-bloom-surface dark:bg-bloom-surface-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark border border-bloom-line dark:border-bloom-line-dark";
|
|
18
|
-
readonly coral: string;
|
|
19
|
-
readonly yellow: string;
|
|
20
|
-
readonly indigo: string;
|
|
21
|
-
readonly mint: string;
|
|
22
|
-
readonly sky: string;
|
|
23
|
-
};
|
|
24
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
25
|
-
tone: {
|
|
26
|
-
readonly surface: "bg-bloom-surface dark:bg-bloom-surface-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark border border-bloom-line dark:border-bloom-line-dark";
|
|
27
|
-
readonly coral: string;
|
|
28
|
-
readonly yellow: string;
|
|
29
|
-
readonly indigo: string;
|
|
30
|
-
readonly mint: string;
|
|
31
|
-
readonly sky: string;
|
|
32
|
-
};
|
|
33
|
-
}, undefined>>;
|
|
34
|
-
type ItemProps = Nude.ItemProps & VariantProps<typeof stackItem>;
|
|
35
|
-
declare const Item: ({ tone, className, ...props }: ItemProps) => import("react").JSX.Element;
|
|
36
|
-
declare const Trigger: ({ className, ...props }: ComponentPropsWithRef<'button'>) => import("react").JSX.Element;
|
|
37
|
-
declare const Content: ({ className, ...props }: ComponentPropsWithRef<'div'>) => import("react").JSX.Element;
|
|
6
|
+
declare const Root: ({ className, ...props }: Nude.RootProps) => JSX.Element;
|
|
7
|
+
type ItemProps = Nude.ItemProps & {
|
|
8
|
+
tone?: SurfaceTone;
|
|
9
|
+
};
|
|
10
|
+
declare const Item: ({ tone, className, ...props }: ItemProps) => JSX.Element;
|
|
11
|
+
declare const Trigger: Styled<"button">;
|
|
12
|
+
declare const Content: Styled<"div">;
|
|
38
13
|
//#endregion
|
|
39
14
|
export { Content, Item, Root, Trigger };
|
package/dist/stat.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/stat.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Label:
|
|
5
|
-
declare const Value:
|
|
6
|
-
declare const Hint:
|
|
3
|
+
declare const Root: Styled<"div">;
|
|
4
|
+
declare const Label: Styled<"p">;
|
|
5
|
+
declare const Value: Styled<"p">;
|
|
6
|
+
declare const Hint: Styled<"p">;
|
|
7
7
|
declare const Stat: {
|
|
8
8
|
Root: typeof Root;
|
|
9
9
|
Label: typeof Label;
|
package/dist/step-button.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IconButtonProps } from "./icon-button.js";
|
|
2
2
|
import { LucideIcon } from "lucide-react";
|
|
3
|
+
import { JSX } from "react";
|
|
3
4
|
//#region src/step-button.d.ts
|
|
4
|
-
type StepButtonStyle = Pick<IconButtonProps,
|
|
5
|
-
|
|
5
|
+
type StepButtonStyle = Pick<IconButtonProps, "tone" | "size" | "className" | "children">;
|
|
6
|
+
type StepButtonProps = {
|
|
6
7
|
className: string;
|
|
7
|
-
children:
|
|
8
|
+
children: JSX.Element;
|
|
8
9
|
};
|
|
10
|
+
declare const stepButton: (Icon: LucideIcon, { tone, size, className, children }: StepButtonStyle) => StepButtonProps;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { stepButton };
|
package/dist/stepper-parts.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/stepper-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/stepper-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Item:
|
|
6
|
-
declare const Indicator:
|
|
7
|
-
declare const Label:
|
|
8
|
-
declare const Description:
|
|
4
|
+
declare const Root: Styled<typeof Nude.Root>;
|
|
5
|
+
declare const Item: Styled<typeof Nude.Item>;
|
|
6
|
+
declare const Indicator: Styled<"span">;
|
|
7
|
+
declare const Label: Styled<"span">;
|
|
8
|
+
declare const Description: Styled<"span">;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Description, Indicator, Item, Label, Root };
|