@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
package/dist/combobox.d.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComboboxActions, ComboboxContextValue, ComboboxState, Empty, Frame, Group, Input, Item, ItemIndicator, List, RootProps, useCombobox } from "./combobox-parts.js";
|
|
1
|
+
import { ComboboxActions, ComboboxContextValue, ComboboxState, Empty, Frame, Group, Input, Item, ItemIndicator, List, Provider, Root, RootProps, Trigger, Value, useCombobox } from "./combobox-parts.js";
|
|
3
2
|
import { Content, Description, Title } from "./drawer-parts.js";
|
|
4
3
|
//#region src/combobox.d.ts
|
|
5
4
|
declare const Combobox: {
|
|
6
|
-
Provider:
|
|
7
|
-
Root:
|
|
8
|
-
Trigger:
|
|
9
|
-
|
|
10
|
-
}) => import("react").JSX.Element;
|
|
11
|
-
Value: ({ className, ...props }: {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
5
|
+
Provider: typeof Provider;
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Trigger: typeof Trigger;
|
|
8
|
+
Value: typeof Value;
|
|
14
9
|
Content: typeof Content;
|
|
15
10
|
Title: typeof Title;
|
|
16
11
|
Description: typeof Description;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Content as Content$1 } from "./dialog-parts.js";
|
|
2
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
3
3
|
import * as Nude from "@journ/nude/command-palette-parts";
|
|
4
4
|
//#region src/command-palette-parts.d.ts
|
|
5
|
-
declare const Root:
|
|
5
|
+
declare const Root: typeof Nude.Root;
|
|
6
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
6
7
|
type RootProps = Nude.RootProps;
|
|
7
8
|
type ContentProps = ComponentPropsWithRef<typeof Content$1> & {
|
|
8
9
|
/** Read by screen readers only. */
|
|
9
10
|
title?: string;
|
|
10
11
|
};
|
|
11
|
-
declare const Content: ({ title, className, children, ...props }: ContentProps) =>
|
|
12
|
+
declare const Content: ({ title, className, children, ...props }: ContentProps) => JSX.Element;
|
|
12
13
|
//#endregion
|
|
13
14
|
export { Content, Root, type RootProps, Trigger };
|
|
@@ -5,7 +5,8 @@ import { Content as Content$1, Title } from "./dialog-parts.js";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import * as Nude from "@journ/nude/command-palette-parts";
|
|
7
7
|
//#region src/command-palette-parts.tsx
|
|
8
|
-
const
|
|
8
|
+
const Root = Nude.Root;
|
|
9
|
+
const Trigger = Nude.Trigger;
|
|
9
10
|
const Content = ({ title = "Command palette", className, children, ...props }) => /* @__PURE__ */ jsxs(Content$1, {
|
|
10
11
|
"aria-describedby": void 0,
|
|
11
12
|
...props,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Empty, Frame, Group, Input, Item, ItemIndicator, List } from "./combobox-parts.js";
|
|
2
|
-
import { Content, RootProps } from "./command-palette-parts.js";
|
|
2
|
+
import { Content, Root, RootProps, Trigger } from "./command-palette-parts.js";
|
|
3
3
|
//#region src/command-palette.d.ts
|
|
4
4
|
declare const CommandPalette: {
|
|
5
|
-
Root:
|
|
6
|
-
Trigger:
|
|
5
|
+
Root: typeof Root;
|
|
6
|
+
Trigger: typeof Trigger;
|
|
7
7
|
Content: typeof Content;
|
|
8
8
|
Frame: typeof Frame;
|
|
9
9
|
Input: typeof Input;
|
package/dist/composer.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/composer.d.ts
|
|
3
3
|
declare const composerRoot: (className?: string) => string;
|
|
4
4
|
declare const composerInput: (className?: string) => string;
|
|
5
|
-
declare const Root:
|
|
6
|
-
declare const Input:
|
|
5
|
+
declare const Root: Styled<"div">;
|
|
6
|
+
declare const Input: Styled<"input">;
|
|
7
7
|
declare const Composer: {
|
|
8
8
|
Root: typeof Root;
|
|
9
9
|
Input: typeof Input;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { MenuPart } from "./lib/menu-parts.js";
|
|
2
|
+
import * as Nude from "@journ/nude/context-menu-parts";
|
|
1
3
|
//#region src/context-menu-parts.d.ts
|
|
2
|
-
declare const Root:
|
|
3
|
-
declare const Trigger:
|
|
4
|
-
declare const Group:
|
|
5
|
-
declare const Content:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) => import("react").JSX.Element, Label: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react").JSX.Element, Separator: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
4
|
+
declare const Root: typeof Nude.Root;
|
|
5
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
6
|
+
declare const Group: typeof Nude.Group;
|
|
7
|
+
declare const Content: MenuPart<typeof Nude.Content>;
|
|
8
|
+
declare const Item: MenuPart<typeof Nude.Item>;
|
|
9
|
+
declare const Label: MenuPart<typeof Nude.Label>;
|
|
10
|
+
declare const Separator: MenuPart<typeof Nude.Separator>;
|
|
14
11
|
//#endregion
|
|
15
12
|
export { Content, Group, Item, Label, Root, Separator, Trigger };
|
|
@@ -5,6 +5,10 @@ import * as Nude from "@journ/nude/context-menu-parts";
|
|
|
5
5
|
const Root = Nude.Root;
|
|
6
6
|
const Trigger = Nude.Trigger;
|
|
7
7
|
const Group = Nude.Group;
|
|
8
|
-
const
|
|
8
|
+
const menu = styleMenuParts(Nude);
|
|
9
|
+
const Content = menu.Content;
|
|
10
|
+
const Item = menu.Item;
|
|
11
|
+
const Label = menu.Label;
|
|
12
|
+
const Separator = menu.Separator;
|
|
9
13
|
//#endregion
|
|
10
14
|
export { Content, Group, Item, Label, Root, Separator, Trigger };
|
package/dist/context-menu.d.ts
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
|
+
import { Content, Group, Item, Label, Root, Separator, Trigger } from "./context-menu-parts.js";
|
|
1
2
|
//#region src/context-menu.d.ts
|
|
2
3
|
declare const ContextMenu: {
|
|
3
|
-
Root:
|
|
4
|
-
Trigger:
|
|
5
|
-
Content:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react").JSX.Element;
|
|
12
|
-
Item: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
13
|
-
className?: string;
|
|
14
|
-
}) => import("react").JSX.Element;
|
|
15
|
-
Separator: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
16
|
-
className?: string;
|
|
17
|
-
}) => import("react").JSX.Element;
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
Trigger: typeof Trigger;
|
|
6
|
+
Content: typeof Content;
|
|
7
|
+
Group: typeof Group;
|
|
8
|
+
Label: typeof Label;
|
|
9
|
+
Item: typeof Item;
|
|
10
|
+
Separator: typeof Separator;
|
|
18
11
|
};
|
|
19
12
|
//#endregion
|
|
20
13
|
export { ContextMenu };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/currency-input-parts";
|
|
3
2
|
import { RootProps } from "@journ/nude/currency-input-parts";
|
|
3
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
4
|
//#region src/currency-input-parts.d.ts
|
|
5
|
-
declare const Root:
|
|
6
|
-
declare const Field:
|
|
5
|
+
declare const Root: typeof Nude.Root;
|
|
6
|
+
declare const Field: Styled<typeof Nude.Field>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Field, Root, type RootProps };
|
package/dist/currency-input.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Field, RootProps } from "./currency-input-parts.js";
|
|
1
|
+
import { Field, Root, RootProps } from "./currency-input-parts.js";
|
|
2
2
|
//#region src/currency-input.d.ts
|
|
3
3
|
declare const CurrencyInput: {
|
|
4
|
-
Root:
|
|
4
|
+
Root: typeof Root;
|
|
5
5
|
Field: typeof Field;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from "react";
|
|
2
2
|
import * as Nude from "@journ/nude/data-table-parts";
|
|
3
3
|
import { DataTableColumn, RowData, TableViewProps } from "@journ/nude/data-table-parts";
|
|
4
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
5
|
//#region src/data-table-parts.d.ts
|
|
5
|
-
declare const dataTableColumns:
|
|
6
|
-
|
|
7
|
-
declare const
|
|
8
|
-
declare const
|
|
6
|
+
declare const dataTableColumns: typeof Nude.dataTableColumns;
|
|
7
|
+
declare const selectColumn: typeof Nude.selectColumn;
|
|
8
|
+
declare const useDataTable: typeof Nude.useDataTable;
|
|
9
|
+
declare const ColumnPicker: typeof Nude.ColumnPicker;
|
|
10
|
+
declare const View: typeof Nude.View;
|
|
11
|
+
declare const Pager: typeof Nude.Pager;
|
|
12
|
+
declare const SelectionBar: typeof Nude.SelectionBar;
|
|
13
|
+
type RootProps<TData extends RowData> = Omit<Nude.RootProps<TData>, "components" | "classNames" | "icons">;
|
|
14
|
+
declare const Root: <TData extends RowData>(props: RootProps<TData>) => JSX.Element;
|
|
15
|
+
declare const Toolbar: Styled<"div">;
|
|
9
16
|
//#endregion
|
|
10
17
|
export { ColumnPicker, type DataTableColumn, Pager, Root, type RootProps, SelectionBar, type TableViewProps, Toolbar, View, dataTableColumns, selectColumn, useDataTable };
|
package/dist/data-table-parts.js
CHANGED
|
@@ -10,7 +10,13 @@ import { ArrowDown, ArrowUp, ChevronLeft, ChevronRight, ChevronsUpDown, Columns3
|
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import * as Nude from "@journ/nude/data-table-parts";
|
|
12
12
|
//#region src/data-table-parts.tsx
|
|
13
|
-
const
|
|
13
|
+
const dataTableColumns = Nude.dataTableColumns;
|
|
14
|
+
const selectColumn = Nude.selectColumn;
|
|
15
|
+
const useDataTable = Nude.useDataTable;
|
|
16
|
+
const ColumnPicker = Nude.ColumnPicker;
|
|
17
|
+
const View = Nude.View;
|
|
18
|
+
const Pager = Nude.Pager;
|
|
19
|
+
const SelectionBar = Nude.SelectionBar;
|
|
14
20
|
const OutlineButton = (props) => /* @__PURE__ */ jsx(Button, {
|
|
15
21
|
tone: "outline",
|
|
16
22
|
...props
|
package/dist/data-table.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DataTableColumn, Root, RootProps, Toolbar, dataTableColumns, selectColumn, useDataTable } from "./data-table-parts.js";
|
|
1
|
+
import { ColumnPicker, DataTableColumn, Pager, Root, RootProps, SelectionBar, Toolbar, View, dataTableColumns, selectColumn, useDataTable } from "./data-table-parts.js";
|
|
2
2
|
//#region src/data-table.d.ts
|
|
3
3
|
declare const DataTable: {
|
|
4
4
|
Root: typeof Root;
|
|
5
5
|
Toolbar: typeof Toolbar;
|
|
6
|
-
ColumnPicker:
|
|
7
|
-
Table:
|
|
8
|
-
Pager:
|
|
9
|
-
SelectionBar:
|
|
6
|
+
ColumnPicker: typeof ColumnPicker;
|
|
7
|
+
Table: typeof View;
|
|
8
|
+
Pager: typeof Pager;
|
|
9
|
+
SelectionBar: typeof SelectionBar;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DataTable, type DataTableColumn, type RootProps as DataTableProps, dataTableColumns, selectColumn, useDataTable };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/date-input-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/date-input-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Field:
|
|
4
|
+
declare const Root: typeof Nude.Root;
|
|
5
|
+
declare const Field: Styled<typeof Nude.Field>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Field, Root };
|
package/dist/date-input.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PickerTrigger, PickerValue } from "./lib/picker.js";
|
|
2
|
+
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
import * as Nude from "@journ/nude/date-picker-parts";
|
|
2
4
|
import { DatePickerActions, DatePickerContextValue, DatePickerMeta, DatePickerState, RootProps } from "@journ/nude/date-picker-parts";
|
|
3
5
|
//#region src/date-picker-parts.d.ts
|
|
4
|
-
declare const Provider:
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
declare const Provider: typeof Nude.Provider;
|
|
7
|
+
declare const Root: typeof Nude.Root;
|
|
8
|
+
declare const Calendar: typeof Nude.Calendar;
|
|
9
|
+
declare const useDatePicker: typeof Nude.useDatePicker;
|
|
10
|
+
declare const Trigger: PickerTrigger;
|
|
11
|
+
declare const Value: PickerValue<ComponentPropsWithRef<typeof Nude.Value>>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { Calendar, type DatePickerActions, type DatePickerContextValue, type DatePickerMeta, type DatePickerState, Provider, Root, type RootProps, Trigger, Value, useDatePicker };
|
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
import { stylePicker } from "./lib/picker.js";
|
|
3
3
|
import * as Nude from "@journ/nude/date-picker-parts";
|
|
4
4
|
//#region src/date-picker-parts.tsx
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const Provider = Nude.Provider;
|
|
6
|
+
const Root = Nude.Root;
|
|
7
|
+
const Calendar = Nude.Calendar;
|
|
8
|
+
const useDatePicker = Nude.useDatePicker;
|
|
9
|
+
const picker = stylePicker(Nude);
|
|
10
|
+
const Trigger = picker.Trigger;
|
|
11
|
+
const Value = picker.Value;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { Calendar, Provider, Root, Trigger, Value, useDatePicker };
|
package/dist/date-picker.d.ts
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { ButtonProps } from "./button.js";
|
|
2
1
|
import { Content, Description, Title } from "./drawer-parts.js";
|
|
3
|
-
import { DatePickerActions, DatePickerContextValue, DatePickerMeta, DatePickerState, RootProps, useDatePicker } from "./date-picker-parts.js";
|
|
2
|
+
import { Calendar, DatePickerActions, DatePickerContextValue, DatePickerMeta, DatePickerState, Provider, Root, RootProps, Trigger, Value, useDatePicker } from "./date-picker-parts.js";
|
|
4
3
|
//#region src/date-picker.d.ts
|
|
5
4
|
declare const DatePicker: {
|
|
6
|
-
Provider:
|
|
7
|
-
Root:
|
|
8
|
-
Trigger:
|
|
9
|
-
|
|
10
|
-
}) => import("react").JSX.Element;
|
|
11
|
-
Value: ({ className, ...props }: {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
5
|
+
Provider: typeof Provider;
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Trigger: typeof Trigger;
|
|
8
|
+
Value: typeof Value;
|
|
14
9
|
Content: typeof Content;
|
|
15
10
|
Title: typeof Title;
|
|
16
11
|
Description: typeof Description;
|
|
17
|
-
Calendar:
|
|
12
|
+
Calendar: typeof Calendar;
|
|
18
13
|
};
|
|
19
14
|
//#endregion
|
|
20
15
|
export { DatePicker, type DatePickerActions, type DatePickerContextValue, type DatePickerMeta, type RootProps as DatePickerProps, type DatePickerState, useDatePicker };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PickerTrigger, PickerValue } from "./lib/picker.js";
|
|
2
|
+
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
import * as Nude from "@journ/nude/date-range-picker-parts";
|
|
2
4
|
import { DateRange, DateRangePickerActions, DateRangePickerContextValue, DateRangePickerMeta, DateRangePickerState, RootProps } from "@journ/nude/date-range-picker-parts";
|
|
3
5
|
//#region src/date-range-picker-parts.d.ts
|
|
4
|
-
declare const Provider:
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
declare const Provider: typeof Nude.Provider;
|
|
7
|
+
declare const Root: typeof Nude.Root;
|
|
8
|
+
declare const Calendar: typeof Nude.Calendar;
|
|
9
|
+
declare const useDateRangePicker: typeof Nude.useDateRangePicker;
|
|
10
|
+
declare const Trigger: PickerTrigger;
|
|
11
|
+
declare const Value: PickerValue<ComponentPropsWithRef<typeof Nude.Value>>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { Calendar, type DateRange, type DateRangePickerActions, type DateRangePickerContextValue, type DateRangePickerMeta, type DateRangePickerState, Provider, Root, type RootProps, Trigger, Value, useDateRangePicker };
|
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
import { stylePicker } from "./lib/picker.js";
|
|
3
3
|
import * as Nude from "@journ/nude/date-range-picker-parts";
|
|
4
4
|
//#region src/date-range-picker-parts.tsx
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const Provider = Nude.Provider;
|
|
6
|
+
const Root = Nude.Root;
|
|
7
|
+
const Calendar = Nude.Calendar;
|
|
8
|
+
const useDateRangePicker = Nude.useDateRangePicker;
|
|
9
|
+
const picker = stylePicker(Nude);
|
|
10
|
+
const Trigger = picker.Trigger;
|
|
11
|
+
const Value = picker.Value;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { Calendar, Provider, Root, Trigger, Value, useDateRangePicker };
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { ButtonProps } from "./button.js";
|
|
2
1
|
import { Content, Description, Title } from "./drawer-parts.js";
|
|
3
|
-
import { DateRange, DateRangePickerActions, DateRangePickerContextValue, DateRangePickerMeta, DateRangePickerState, RootProps, useDateRangePicker } from "./date-range-picker-parts.js";
|
|
2
|
+
import { Calendar, DateRange, DateRangePickerActions, DateRangePickerContextValue, DateRangePickerMeta, DateRangePickerState, Provider, Root, RootProps, Trigger, Value, useDateRangePicker } from "./date-range-picker-parts.js";
|
|
4
3
|
//#region src/date-range-picker.d.ts
|
|
5
4
|
declare const DateRangePicker: {
|
|
6
|
-
Provider:
|
|
7
|
-
Root:
|
|
8
|
-
Trigger:
|
|
9
|
-
|
|
10
|
-
}) => import("react").JSX.Element;
|
|
11
|
-
Value: ({ className, ...props }: {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
5
|
+
Provider: typeof Provider;
|
|
6
|
+
Root: typeof Root;
|
|
7
|
+
Trigger: typeof Trigger;
|
|
8
|
+
Value: typeof Value;
|
|
14
9
|
Content: typeof Content;
|
|
15
10
|
Title: typeof Title;
|
|
16
11
|
Description: typeof Description;
|
|
17
|
-
Calendar:
|
|
12
|
+
Calendar: typeof Calendar;
|
|
18
13
|
};
|
|
19
14
|
//#endregion
|
|
20
15
|
export { type DateRange, DateRangePicker, type DateRangePickerActions, type DateRangePickerContextValue, type DateRangePickerMeta, type RootProps as DateRangePickerProps, type DateRangePickerState, useDateRangePicker };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/description-list.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Term:
|
|
5
|
-
declare const Details:
|
|
3
|
+
declare const Root: Styled<"dl">;
|
|
4
|
+
declare const Term: Styled<"dt">;
|
|
5
|
+
declare const Details: Styled<"dd">;
|
|
6
6
|
declare const DescriptionList: {
|
|
7
7
|
Root: typeof Root;
|
|
8
8
|
Term: typeof Term;
|
package/dist/dialog-parts.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { SurfaceTone } from "./lib/tones.js";
|
|
3
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
5
4
|
import * as Nude from "@journ/nude/dialog-parts";
|
|
5
|
+
import { Styled } from "@journ/nude/styled";
|
|
6
6
|
//#region src/dialog-parts.d.ts
|
|
7
|
-
declare const Root:
|
|
8
|
-
declare const Trigger:
|
|
9
|
-
declare const Close:
|
|
10
|
-
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare const
|
|
7
|
+
declare const Root: typeof Nude.Root;
|
|
8
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
9
|
+
declare const Close: typeof Nude.Close;
|
|
10
|
+
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>, "classNames" | "overlayRef"> & {
|
|
11
|
+
tone?: SurfaceTone;
|
|
12
|
+
};
|
|
13
|
+
declare const Content: ({ tone, className, ...props }: ContentProps) => JSX.Element;
|
|
14
|
+
declare const Title: Styled<typeof Nude.Title>;
|
|
15
|
+
declare const Description: Styled<typeof Nude.Description>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { Actions, Body, Close, Content, Description, type ContentProps as DialogContentProps, Root, Title, Trigger };
|
package/dist/dialog.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import { Content, Description, Title } from "./dialog-parts.js";
|
|
2
|
+
import { Close, Content, Description, Root, Title, Trigger } from "./dialog-parts.js";
|
|
3
3
|
//#region src/dialog.d.ts
|
|
4
4
|
declare const Dialog: {
|
|
5
|
-
Root:
|
|
6
|
-
Trigger:
|
|
7
|
-
Close:
|
|
5
|
+
Root: typeof Root;
|
|
6
|
+
Trigger: typeof Trigger;
|
|
7
|
+
Close: typeof Close;
|
|
8
8
|
Content: typeof Content;
|
|
9
9
|
Title: typeof Title;
|
|
10
10
|
Description: typeof Description;
|
package/dist/divider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import { Divider as Divider$1 } from "@journ/nude/divider";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/divider.d.ts
|
|
4
|
-
declare const Divider:
|
|
4
|
+
declare const Divider: Styled<typeof Divider$1>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Divider };
|
package/dist/drawer-parts.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { ComponentPropsWithRef, JSX } from "react";
|
|
3
3
|
import * as Nude from "@journ/nude/drawer-parts";
|
|
4
|
+
import { Styled } from "@journ/nude/styled";
|
|
4
5
|
//#region src/drawer-parts.d.ts
|
|
5
|
-
declare const Root:
|
|
6
|
-
declare const Trigger:
|
|
7
|
-
declare const Close:
|
|
8
|
-
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>,
|
|
9
|
-
declare const Content: ({ className, children, ...props }: ContentProps) =>
|
|
10
|
-
declare const Title:
|
|
11
|
-
declare const Description:
|
|
6
|
+
declare const Root: typeof Nude.Root;
|
|
7
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
8
|
+
declare const Close: typeof Nude.Close;
|
|
9
|
+
type ContentProps = Omit<ComponentPropsWithRef<typeof Nude.Content>, "classNames" | "overlayRef">;
|
|
10
|
+
declare const Content: ({ className, children, ...props }: ContentProps) => JSX.Element;
|
|
11
|
+
declare const Title: Styled<typeof Nude.Title>;
|
|
12
|
+
declare const Description: Styled<typeof Nude.Description>;
|
|
12
13
|
//#endregion
|
|
13
14
|
export { Actions, Body, Close, Content, Description, Root, Title, Trigger };
|
package/dist/drawer.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Actions, Body } from "./lib/modal-parts.js";
|
|
2
|
-
import { Content, Description, Title } from "./drawer-parts.js";
|
|
2
|
+
import { Close, Content, Description, Root, Title, Trigger } from "./drawer-parts.js";
|
|
3
3
|
//#region src/drawer.d.ts
|
|
4
4
|
declare const Drawer: {
|
|
5
|
-
Root:
|
|
6
|
-
Trigger:
|
|
7
|
-
Close:
|
|
5
|
+
Root: typeof Root;
|
|
6
|
+
Trigger: typeof Trigger;
|
|
7
|
+
Close: typeof Close;
|
|
8
8
|
Content: typeof Content;
|
|
9
9
|
Title: typeof Title;
|
|
10
10
|
Description: typeof Description;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { MenuPart } from "./lib/menu-parts.js";
|
|
2
|
+
import * as Nude from "@journ/nude/dropdown-menu-parts";
|
|
1
3
|
//#region src/dropdown-menu-parts.d.ts
|
|
2
|
-
declare const Root:
|
|
3
|
-
declare const Trigger:
|
|
4
|
-
declare const Group:
|
|
5
|
-
declare const Content:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) => import("react").JSX.Element, Label: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react").JSX.Element, Separator: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
12
|
-
className?: string;
|
|
13
|
-
}) => import("react").JSX.Element;
|
|
4
|
+
declare const Root: typeof Nude.Root;
|
|
5
|
+
declare const Trigger: typeof Nude.Trigger;
|
|
6
|
+
declare const Group: typeof Nude.Group;
|
|
7
|
+
declare const Content: MenuPart<typeof Nude.Content>;
|
|
8
|
+
declare const Item: MenuPart<typeof Nude.Item>;
|
|
9
|
+
declare const Label: MenuPart<typeof Nude.Label>;
|
|
10
|
+
declare const Separator: MenuPart<typeof Nude.Separator>;
|
|
14
11
|
//#endregion
|
|
15
12
|
export { Content, Group, Item, Label, Root, Separator, Trigger };
|
|
@@ -5,6 +5,10 @@ import * as Nude from "@journ/nude/dropdown-menu-parts";
|
|
|
5
5
|
const Root = Nude.Root;
|
|
6
6
|
const Trigger = Nude.Trigger;
|
|
7
7
|
const Group = Nude.Group;
|
|
8
|
-
const
|
|
8
|
+
const menu = styleMenuParts(Nude);
|
|
9
|
+
const Content = menu.Content;
|
|
10
|
+
const Item = menu.Item;
|
|
11
|
+
const Label = menu.Label;
|
|
12
|
+
const Separator = menu.Separator;
|
|
9
13
|
//#endregion
|
|
10
14
|
export { Content, Group, Item, Label, Root, Separator, Trigger };
|
package/dist/dropdown-menu.d.ts
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
|
+
import { Content, Group, Item, Label, Root, Separator, Trigger } from "./dropdown-menu-parts.js";
|
|
1
2
|
//#region src/dropdown-menu.d.ts
|
|
2
3
|
declare const DropdownMenu: {
|
|
3
|
-
Root:
|
|
4
|
-
Trigger:
|
|
5
|
-
Content:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react").JSX.Element;
|
|
12
|
-
Item: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
13
|
-
className?: string;
|
|
14
|
-
}) => import("react").JSX.Element;
|
|
15
|
-
Separator: ({ className, ...props }: import("react").ComponentPropsWithRef<any> & {
|
|
16
|
-
className?: string;
|
|
17
|
-
}) => import("react").JSX.Element;
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
Trigger: typeof Trigger;
|
|
6
|
+
Content: typeof Content;
|
|
7
|
+
Group: typeof Group;
|
|
8
|
+
Label: typeof Label;
|
|
9
|
+
Item: typeof Item;
|
|
10
|
+
Separator: typeof Separator;
|
|
18
11
|
};
|
|
19
12
|
//#endregion
|
|
20
13
|
export { DropdownMenu };
|
package/dist/empty-state.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "@journ/nude/styled";
|
|
2
2
|
//#region src/empty-state.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Icon:
|
|
5
|
-
declare const Title:
|
|
6
|
-
declare const Description:
|
|
7
|
-
declare const Actions:
|
|
3
|
+
declare const Root: Styled<"div">;
|
|
4
|
+
declare const Icon: Styled<"span">;
|
|
5
|
+
declare const Title: Styled<"h3">;
|
|
6
|
+
declare const Description: Styled<"p">;
|
|
7
|
+
declare const Actions: Styled<"div">;
|
|
8
8
|
declare const EmptyState: {
|
|
9
9
|
Root: typeof Root;
|
|
10
10
|
Icon: typeof Icon;
|
package/dist/field-parts.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from "react";
|
|
2
1
|
import * as Nude from "@journ/nude/field-parts";
|
|
2
|
+
import { Styled } from "@journ/nude/styled";
|
|
3
3
|
//#region src/field-parts.d.ts
|
|
4
|
-
declare const Root:
|
|
5
|
-
declare const Label:
|
|
6
|
-
declare const Description:
|
|
7
|
-
declare const FieldError:
|
|
8
|
-
declare const Control:
|
|
4
|
+
declare const Root: Styled<typeof Nude.Root>;
|
|
5
|
+
declare const Label: Styled<typeof Nude.Label>;
|
|
6
|
+
declare const Description: Styled<"p">;
|
|
7
|
+
declare const FieldError: Styled<"p">;
|
|
8
|
+
declare const Control: typeof Nude.Control;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Control, Description, FieldError as Error, Label, Root };
|