@journ/bloom 0.1.1 → 0.1.2
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/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 +1 -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/link.d.ts +3 -3
- 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/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 +2 -2
|
@@ -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/month-stepper-parts";
|
|
4
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
5
|
//#region src/month-stepper-parts.d.ts
|
|
5
6
|
/** Always reports the first day of the month. */
|
|
6
|
-
declare const Root: ({ className, ...props }: Nude.RootProps) =>
|
|
7
|
-
declare const Previous: ({ tone, size, className, children, ...props }: IconButtonProps) =>
|
|
8
|
-
declare const Next: ({ tone, size, className, children, ...props }: IconButtonProps) =>
|
|
9
|
-
declare const Label:
|
|
7
|
+
declare const Root: ({ className, ...props }: Nude.RootProps) => JSX.Element;
|
|
8
|
+
declare const Previous: ({ tone, size, className, children, ...props }: IconButtonProps) => JSX.Element;
|
|
9
|
+
declare const Next: ({ tone, size, className, children, ...props }: IconButtonProps) => JSX.Element;
|
|
10
|
+
declare const Label: Styled<"span">;
|
|
10
11
|
//#endregion
|
|
11
12
|
export { Label, Next, Previous, Root };
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PickerTrigger, PickerValue } from "./lib/picker.js";
|
|
2
2
|
import { Empty, Frame, Group, Input as Input$1, ItemIndicator, List } from "./combobox-parts.js";
|
|
3
|
-
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
4
4
|
import * as Nude from "@journ/nude/multiple-selector-parts";
|
|
5
5
|
import { RootProps } from "@journ/nude/multiple-selector-parts";
|
|
6
|
+
import { Styled } from "@journ/nude/styled";
|
|
6
7
|
//#region src/multiple-selector-parts.d.ts
|
|
7
|
-
declare const Root:
|
|
8
|
-
declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
15
|
-
declare const Item: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Item>) => import("react").JSX.Element;
|
|
16
|
-
declare const Create: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Create>) => import("react").JSX.Element;
|
|
8
|
+
declare const Root: typeof Nude.Root;
|
|
9
|
+
declare const useMultipleSelector: typeof Nude.useMultipleSelector;
|
|
10
|
+
declare const Trigger: PickerTrigger;
|
|
11
|
+
declare const Value: PickerValue<ComponentPropsWithRef<typeof Nude.Value>>;
|
|
12
|
+
declare const Tags: () => JSX.Element;
|
|
13
|
+
declare const Input: Styled<typeof Input$1>;
|
|
14
|
+
declare const Item: Styled<typeof Nude.Item>;
|
|
15
|
+
declare const Create: Styled<typeof Nude.Create>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { Create, Empty, Frame, Group, Input, Item, ItemIndicator, List, Root, type RootProps, Tags, Trigger, Value, useMultipleSelector };
|
|
@@ -5,8 +5,11 @@ import { Empty, Frame, Group, Input as Input$1, ItemIndicator, List, option } fr
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import * as Nude from "@journ/nude/multiple-selector-parts";
|
|
7
7
|
//#region src/multiple-selector-parts.tsx
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const Root = Nude.Root;
|
|
9
|
+
const useMultipleSelector = Nude.useMultipleSelector;
|
|
10
|
+
const picker = stylePicker(Nude);
|
|
11
|
+
const Trigger = picker.Trigger;
|
|
12
|
+
const Value = picker.Value;
|
|
10
13
|
const Tags = () => /* @__PURE__ */ jsx(Nude.Tags, { components: { Tag: Chip.Tag } });
|
|
11
14
|
const Input = (props) => {
|
|
12
15
|
const { search, setSearch } = useMultipleSelector();
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { ButtonProps } from "./button.js";
|
|
2
1
|
import { Empty, Frame, Group, ItemIndicator, List } from "./combobox-parts.js";
|
|
3
2
|
import { Content, Description, Title } from "./drawer-parts.js";
|
|
4
|
-
import { Create, Input, Item, RootProps, Tags, useMultipleSelector } from "./multiple-selector-parts.js";
|
|
3
|
+
import { Create, Input, Item, Root, RootProps, Tags, Trigger, Value, useMultipleSelector } from "./multiple-selector-parts.js";
|
|
5
4
|
//#region src/multiple-selector.d.ts
|
|
6
5
|
declare const MultipleSelector: {
|
|
7
|
-
Root:
|
|
8
|
-
Trigger:
|
|
9
|
-
|
|
10
|
-
}) => import("react").JSX.Element;
|
|
11
|
-
Value: ({ className, ...props }: {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Trigger: typeof Trigger;
|
|
8
|
+
Value: typeof Value;
|
|
14
9
|
Tags: typeof Tags;
|
|
15
10
|
Content: typeof Content;
|
|
16
11
|
Title: typeof Title;
|
package/dist/nav-bar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/nav-bar.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Item:
|
|
3
|
+
declare const Root: Styled<"nav">;
|
|
4
|
+
declare const Item: Styled<"a">;
|
|
5
5
|
declare const NavBar: {
|
|
6
6
|
Root: typeof Root;
|
|
7
7
|
Item: typeof Item;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
2
2
|
import * as Nude from "@journ/nude/navigation-menu-parts";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
4
|
//#region src/navigation-menu-parts.d.ts
|
|
4
5
|
/** Includes the viewport, the panel that Content opens into. */
|
|
5
|
-
declare const Root: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Root>,
|
|
6
|
-
declare const List:
|
|
7
|
-
declare const Item:
|
|
8
|
-
declare const Trigger:
|
|
9
|
-
declare const Content:
|
|
10
|
-
declare const Link:
|
|
6
|
+
declare const Root: ({ className, ...props }: Omit<ComponentPropsWithRef<typeof Nude.Root>, "classNames">) => JSX.Element;
|
|
7
|
+
declare const List: Styled<typeof Nude.List>;
|
|
8
|
+
declare const Item: typeof Nude.Item;
|
|
9
|
+
declare const Trigger: Styled<typeof Nude.Trigger>;
|
|
10
|
+
declare const Content: Styled<typeof Nude.Content>;
|
|
11
|
+
declare const Link: Styled<typeof Nude.Link>;
|
|
11
12
|
//#endregion
|
|
12
13
|
export { Content, Item, Link, List, Root, Trigger };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Content, Link, List, Root, Trigger } from "./navigation-menu-parts.js";
|
|
1
|
+
import { Content, Item, Link, List, Root, Trigger } from "./navigation-menu-parts.js";
|
|
2
2
|
//#region src/navigation-menu.d.ts
|
|
3
3
|
declare const NavigationMenu: {
|
|
4
4
|
Root: typeof Root;
|
|
5
5
|
List: typeof List;
|
|
6
|
-
Item:
|
|
6
|
+
Item: typeof Item;
|
|
7
7
|
Trigger: typeof Trigger;
|
|
8
8
|
Content: typeof Content;
|
|
9
9
|
Link: typeof Link;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/otp-input-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/otp-input-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Slot:
|
|
6
|
-
declare const Hidden:
|
|
4
|
+
declare const Root: Styled<typeof Nude.Root>;
|
|
5
|
+
declare const Slot: Styled<typeof Nude.Slot>;
|
|
6
|
+
declare const Hidden: typeof Nude.Hidden;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Hidden, Root, Slot };
|
package/dist/otp-input.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Root, Slot } from "./otp-input-parts.js";
|
|
1
|
+
import { Hidden, Root, Slot } from "./otp-input-parts.js";
|
|
2
2
|
//#region src/otp-input.d.ts
|
|
3
3
|
declare const OtpInput: {
|
|
4
4
|
Root: typeof Root;
|
|
5
5
|
Slot: typeof Slot;
|
|
6
|
-
Hidden:
|
|
6
|
+
Hidden: typeof Hidden;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { OtpInput };
|
package/dist/page-header.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/page-header.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Title:
|
|
5
|
-
declare const Actions:
|
|
3
|
+
declare const Root: Styled<"header">;
|
|
4
|
+
declare const Title: Styled<"h1">;
|
|
5
|
+
declare const Actions: Styled<"div">;
|
|
6
6
|
declare const PageHeader: {
|
|
7
7
|
Root: typeof Root;
|
|
8
8
|
Title: typeof Title;
|
package/dist/page.d.ts
CHANGED
|
@@ -1,41 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { PageTint } from "./lib/tones.js";
|
|
2
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
4
|
//#region src/page.d.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
yellow: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-yellow/10 to-bloom-yellow/10";
|
|
12
|
-
coral: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-coral/10 to-bloom-coral/10";
|
|
13
|
-
};
|
|
14
|
-
}, undefined, "min-h-dvh w-full", {
|
|
15
|
-
tone: {
|
|
16
|
-
canvas: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark";
|
|
17
|
-
ink: "bg-bloom-ink text-bloom-paper";
|
|
18
|
-
indigo: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-indigo/10 to-bloom-indigo/10";
|
|
19
|
-
mint: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-mint/10 to-bloom-mint/10";
|
|
20
|
-
sky: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-sky/10 to-bloom-sky/10";
|
|
21
|
-
yellow: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-yellow/10 to-bloom-yellow/10";
|
|
22
|
-
coral: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-coral/10 to-bloom-coral/10";
|
|
23
|
-
};
|
|
24
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
25
|
-
tone: {
|
|
26
|
-
canvas: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark";
|
|
27
|
-
ink: "bg-bloom-ink text-bloom-paper";
|
|
28
|
-
indigo: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-indigo/10 to-bloom-indigo/10";
|
|
29
|
-
mint: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-mint/10 to-bloom-mint/10";
|
|
30
|
-
sky: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-sky/10 to-bloom-sky/10";
|
|
31
|
-
yellow: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-yellow/10 to-bloom-yellow/10";
|
|
32
|
-
coral: "bg-bloom-canvas scheme-light dark:bg-bloom-canvas-dark dark:scheme-dark font-bloom-display text-bloom-foreground dark:text-bloom-foreground-dark bg-linear-to-b from-bloom-coral/10 to-bloom-coral/10";
|
|
33
|
-
};
|
|
34
|
-
}, undefined>>;
|
|
35
|
-
type RootProps = ComponentPropsWithRef<'div'> & VariantProps<typeof pageRoot>;
|
|
36
|
-
declare const Root: ({ tone, className, ...props }: RootProps) => import("react").JSX.Element;
|
|
37
|
-
declare const Content: ({ className, ...props }: ComponentPropsWithRef<'main'>) => import("react").JSX.Element;
|
|
38
|
-
declare const Footer: ({ className, ...props }: ComponentPropsWithRef<'div'>) => import("react").JSX.Element;
|
|
5
|
+
type PageTone = "canvas" | "ink" | PageTint;
|
|
6
|
+
type RootProps = ComponentPropsWithRef<"div"> & {
|
|
7
|
+
tone?: PageTone;
|
|
8
|
+
};
|
|
9
|
+
declare const Root: ({ tone, className, ...props }: RootProps) => JSX.Element;
|
|
10
|
+
declare const Content: Styled<"main">;
|
|
11
|
+
declare const Footer: Styled<"div">;
|
|
39
12
|
declare const Page: {
|
|
40
13
|
Root: typeof Root;
|
|
41
14
|
Content: typeof Content;
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/pagination.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const List:
|
|
5
|
-
declare const Previous:
|
|
6
|
-
declare const Next:
|
|
7
|
-
declare const Page:
|
|
8
|
-
declare const Gap:
|
|
3
|
+
declare const Root: Styled<"nav">;
|
|
4
|
+
declare const List: Styled<"div">;
|
|
5
|
+
declare const Previous: Styled<"a">;
|
|
6
|
+
declare const Next: Styled<"a">;
|
|
7
|
+
declare const Page: Styled<"a">;
|
|
8
|
+
declare const Gap: Styled<"span">;
|
|
9
9
|
declare const Pagination: {
|
|
10
10
|
Root: typeof Root;
|
|
11
11
|
Previous: typeof Previous;
|
package/dist/pill-select.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/pill-select.d.ts
|
|
3
|
-
declare const PillSelect:
|
|
3
|
+
declare const PillSelect: Styled<"select">;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { PillSelect };
|
package/dist/popover-parts.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/popover-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/popover-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Trigger:
|
|
6
|
-
declare const Close:
|
|
7
|
-
declare const Content:
|
|
4
|
+
declare const Root: typeof Nude.Root;
|
|
5
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
6
|
+
declare const Close: typeof Nude.Close;
|
|
7
|
+
declare const Content: Styled<typeof Nude.Content>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Close, Content, Root, Trigger };
|
package/dist/popover.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Content } from "./popover-parts.js";
|
|
1
|
+
import { Close, Content, Root, Trigger } from "./popover-parts.js";
|
|
2
2
|
//#region src/popover.d.ts
|
|
3
3
|
declare const Popover: {
|
|
4
|
-
Root:
|
|
5
|
-
Trigger:
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
Trigger: typeof Trigger;
|
|
6
6
|
Content: typeof Content;
|
|
7
|
-
Close:
|
|
7
|
+
Close: typeof Close;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Popover };
|
package/dist/progress-parts.d.ts
CHANGED
|
@@ -1,38 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentPropsWithRef } from "react";
|
|
1
|
+
import { Fill } from "./lib/tones.js";
|
|
2
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
3
3
|
import * as Nude from "@journ/nude/progress-parts";
|
|
4
4
|
//#region src/progress-parts.d.ts
|
|
5
5
|
type RootProps = Nude.ProgressProps;
|
|
6
|
-
declare const Root: ({ className, ...props }: RootProps) =>
|
|
7
|
-
|
|
8
|
-
tone
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly yellow: 'bg-bloom-yellow';
|
|
12
|
-
readonly indigo: 'bg-bloom-indigo';
|
|
13
|
-
readonly mint: 'bg-bloom-mint';
|
|
14
|
-
readonly sky: 'bg-bloom-sky';
|
|
15
|
-
};
|
|
16
|
-
}, undefined, "size-full transition-transform duration-300 ease-out", {
|
|
17
|
-
tone: {
|
|
18
|
-
readonly neutral: "bg-bloom-foreground dark:bg-bloom-foreground-dark";
|
|
19
|
-
readonly coral: 'bg-bloom-coral';
|
|
20
|
-
readonly yellow: 'bg-bloom-yellow';
|
|
21
|
-
readonly indigo: 'bg-bloom-indigo';
|
|
22
|
-
readonly mint: 'bg-bloom-mint';
|
|
23
|
-
readonly sky: 'bg-bloom-sky';
|
|
24
|
-
};
|
|
25
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
26
|
-
tone: {
|
|
27
|
-
readonly neutral: "bg-bloom-foreground dark:bg-bloom-foreground-dark";
|
|
28
|
-
readonly coral: 'bg-bloom-coral';
|
|
29
|
-
readonly yellow: 'bg-bloom-yellow';
|
|
30
|
-
readonly indigo: 'bg-bloom-indigo';
|
|
31
|
-
readonly mint: 'bg-bloom-mint';
|
|
32
|
-
readonly sky: 'bg-bloom-sky';
|
|
33
|
-
};
|
|
34
|
-
}, undefined>>;
|
|
35
|
-
type IndicatorProps = ComponentPropsWithRef<typeof Nude.Indicator> & VariantProps<typeof indicator>;
|
|
36
|
-
declare const Indicator: ({ tone, className, ...props }: IndicatorProps) => import("react").JSX.Element;
|
|
6
|
+
declare const Root: ({ className, ...props }: RootProps) => JSX.Element;
|
|
7
|
+
type IndicatorProps = ComponentPropsWithRef<typeof Nude.Indicator> & {
|
|
8
|
+
tone?: Fill;
|
|
9
|
+
};
|
|
10
|
+
declare const Indicator: ({ tone, className, ...props }: IndicatorProps) => JSX.Element;
|
|
37
11
|
//#endregion
|
|
38
12
|
export { Indicator, type RootProps as ProgressProps, Root };
|
|
@@ -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 };
|