@journ/nude 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/dist/accordion-parts.d.ts +6 -5
- package/dist/accordion.d.ts +4 -4
- package/dist/alert-dialog-parts.d.ts +9 -8
- package/dist/alert-dialog.d.ts +10 -9
- package/dist/alert.d.ts +13 -6
- package/dist/animated-size.d.ts +3 -3
- package/dist/animated-size.js +1 -1
- package/dist/avatar-parts.d.ts +5 -4
- package/dist/avatar.d.ts +3 -3
- package/dist/badge.d.ts +2 -1
- package/dist/breadcrumbs.d.ts +13 -6
- package/dist/bulk-bar.d.ts +8 -3
- package/dist/button.d.ts +4 -4
- package/dist/calendar-parts.d.ts +23 -26
- package/dist/calendar-parts.js +5 -3
- package/dist/card.d.ts +15 -7
- package/dist/carousel-parts.d.ts +20 -11
- package/dist/carousel-parts.js +3 -2
- package/dist/checkbox-parts.d.ts +3 -2
- package/dist/checkbox.d.ts +3 -2
- package/dist/chip.d.ts +9 -7
- package/dist/collapsible-parts.d.ts +4 -3
- package/dist/collapsible.d.ts +4 -3
- package/dist/combobox-parts.d.ts +19 -63
- package/dist/combobox-parts.js +8 -2
- package/dist/combobox.d.ts +13 -76
- package/dist/command-palette-parts.d.ts +3 -3
- package/dist/command-palette-parts.js +1 -1
- package/dist/command-palette.d.ts +8 -54
- package/dist/composer.d.ts +5 -2
- package/dist/context-menu-parts.d.ts +8 -4
- package/dist/context-menu-parts.js +5 -1
- package/dist/context-menu.d.ts +8 -7
- package/dist/currency-input-parts.d.ts +4 -3
- package/dist/currency-input-parts.js +5 -2
- package/dist/data-table-parts.d.ts +18 -25
- package/dist/data-table-parts.js +1 -2
- package/dist/date-input-parts.d.ts +4 -3
- package/dist/date-input-parts.js +3 -2
- package/dist/date-picker-parts.d.ts +11 -10
- package/dist/date-picker-parts.js +6 -1
- package/dist/date-picker.d.ts +7 -21
- package/dist/date-range-picker-parts.d.ts +11 -10
- package/dist/date-range-picker-parts.js +6 -1
- package/dist/date-range-picker.d.ts +7 -21
- package/dist/description-list.d.ts +7 -3
- package/dist/dialog-parts.d.ts +8 -7
- package/dist/dialog.d.ts +10 -9
- package/dist/divider.d.ts +2 -1
- package/dist/drawer-parts.d.ts +9 -20
- package/dist/drawer.d.ts +10 -22
- package/dist/dropdown-menu-parts.d.ts +8 -4
- package/dist/dropdown-menu-parts.js +5 -1
- package/dist/dropdown-menu.d.ts +8 -7
- package/dist/empty-state.d.ts +11 -5
- package/dist/field-parts.d.ts +8 -7
- package/dist/field-parts.js +1 -1
- package/dist/file-dropzone-parts.d.ts +8 -7
- package/dist/file-dropzone.d.ts +4 -4
- package/dist/heading.d.ts +3 -3
- package/dist/hover-card-parts.d.ts +4 -4
- package/dist/hover-card.d.ts +3 -3
- package/dist/icon-button.d.ts +3 -2
- package/dist/icon.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/input.d.ts +2 -1
- package/dist/lib/commit-on.d.ts +6 -5
- package/dist/lib/menu-parts.d.ts +9 -7
- package/dist/lib/modal-content.d.ts +5 -4
- package/dist/lib/modal-parts.d.ts +3 -2
- package/dist/lib/part.d.ts +3 -2
- package/dist/lib/picker.d.ts +18 -15
- package/dist/lib/picker.js +2 -1
- package/dist/link.d.ts +3 -3
- package/dist/list-row.d.ts +22 -0
- package/dist/list-row.js +14 -0
- package/dist/markdown.d.ts +2 -2
- package/dist/message.d.ts +9 -6
- package/dist/month-picker-parts.d.ts +2 -2
- package/dist/month-picker-parts.js +2 -2
- package/dist/month-stepper-parts.d.ts +7 -6
- package/dist/month-stepper-parts.js +3 -2
- package/dist/multiple-selector-parts.d.ts +23 -11
- package/dist/multiple-selector-parts.js +8 -3
- package/dist/multiple-selector.d.ts +11 -64
- package/dist/nav-bar.d.ts +5 -2
- package/dist/navigation-menu-parts.d.ts +8 -7
- package/dist/navigation-menu.d.ts +6 -6
- package/dist/otp-input-parts.d.ts +4 -3
- package/dist/otp-input.d.ts +4 -3
- package/dist/page-header.d.ts +7 -3
- package/dist/page.d.ts +7 -3
- package/dist/pagination.d.ts +12 -7
- package/dist/pill-select.d.ts +2 -1
- package/dist/popover-parts.d.ts +5 -5
- package/dist/popover.d.ts +4 -4
- package/dist/portal.d.ts +1 -1
- package/dist/progress-parts.d.ts +5 -4
- package/dist/progress-parts.js +1 -1
- package/dist/quantity-input-parts.d.ts +7 -6
- package/dist/quantity-input-parts.js +5 -2
- package/dist/radio-parts.d.ts +4 -3
- package/dist/radio.d.ts +2 -2
- package/dist/scroll-area-parts.d.ts +7 -6
- package/dist/scroll-area.d.ts +4 -4
- package/dist/select-parts.d.ts +10 -9
- package/dist/select.d.ts +6 -6
- package/dist/sheet-parts.d.ts +5 -5
- package/dist/sheet.d.ts +9 -7
- package/dist/sidebar.d.ts +19 -9
- package/dist/skeleton.d.ts +2 -1
- package/dist/slider-parts.d.ts +5 -4
- package/dist/slider.d.ts +5 -4
- package/dist/spinner.d.ts +2 -2
- package/dist/stack-parts.d.ts +8 -7
- package/dist/stack-parts.js +2 -1
- package/dist/stat.d.ts +9 -4
- package/dist/step-button.d.ts +4 -3
- package/dist/stepper-parts.d.ts +15 -10
- package/dist/stepper-parts.js +3 -2
- package/dist/stepper.d.ts +3 -3
- package/dist/styled.d.ts +5 -0
- package/dist/styled.js +0 -0
- package/dist/switch-parts.d.ts +3 -2
- package/dist/switch.d.ts +3 -2
- package/dist/table.d.ts +15 -7
- package/dist/tabs-parts.d.ts +5 -4
- package/dist/tabs.d.ts +5 -4
- package/dist/tag-input-parts.d.ts +18 -8
- package/dist/tag-input-parts.js +4 -2
- package/dist/text-morph.d.ts +3 -3
- package/dist/text-morph.js +1 -1
- package/dist/text-shimmer.d.ts +3 -3
- package/dist/text.d.ts +2 -1
- package/dist/textarea.d.ts +2 -1
- package/dist/time-range-parts.d.ts +6 -6
- package/dist/time-range-parts.js +3 -2
- package/dist/toast-parts.d.ts +7 -6
- package/dist/toggle-group-parts.d.ts +3 -2
- package/dist/toggle-group.d.ts +3 -2
- package/dist/tooltip-parts.d.ts +5 -5
- package/dist/tooltip.d.ts +3 -3
- package/dist/touch-target.d.ts +2 -2
- package/package.json +3 -3
package/dist/tabs-parts.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
1
2
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
2
3
|
//#region src/tabs-parts.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const List:
|
|
5
|
-
declare const Trigger:
|
|
6
|
-
declare const Content:
|
|
4
|
+
declare const Root: Styled<typeof RadixTabs.Root>;
|
|
5
|
+
declare const List: Styled<typeof RadixTabs.List>;
|
|
6
|
+
declare const Trigger: Styled<typeof RadixTabs.Trigger>;
|
|
7
|
+
declare const Content: Styled<typeof RadixTabs.Content>;
|
|
7
8
|
//#endregion
|
|
8
9
|
export { Content, List, Root, Trigger };
|
package/dist/tabs.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { Content, List, Root, Trigger } from "./tabs-parts.js";
|
|
1
2
|
//#region src/tabs.d.ts
|
|
2
3
|
declare const Tabs: {
|
|
3
|
-
Root:
|
|
4
|
-
List:
|
|
5
|
-
Trigger:
|
|
6
|
-
Content:
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
List: typeof List;
|
|
6
|
+
Trigger: typeof Trigger;
|
|
7
|
+
Content: typeof Content;
|
|
7
8
|
};
|
|
8
9
|
//#endregion
|
|
9
10
|
export { Tabs };
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
1
2
|
import { ChipTagProps as TagProps$1 } from "./chip.js";
|
|
2
3
|
import { Composer } from "./composer.js";
|
|
3
|
-
import { ComponentPropsWithRef, ElementType, ReactNode } from "react";
|
|
4
|
+
import { ComponentPropsWithRef, ElementType, JSX, ReactNode } from "react";
|
|
4
5
|
//#region src/tag-input-parts.d.ts
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
type TagInputContextValue = {
|
|
7
|
+
tags: string[];
|
|
8
|
+
text: string;
|
|
9
|
+
invalid: boolean;
|
|
10
|
+
setText: (text: string) => void;
|
|
11
|
+
add: (...tags: string[]) => void;
|
|
12
|
+
remove: (tag: string) => void;
|
|
13
|
+
removeLast: () => void;
|
|
14
|
+
};
|
|
15
|
+
declare const useTagInput: () => TagInputContextValue;
|
|
16
|
+
type RootProps = Omit<ComponentPropsWithRef<"div">, "defaultValue" | "onChange"> & {
|
|
7
17
|
value?: string[];
|
|
8
18
|
defaultValue?: string[];
|
|
9
19
|
onValueChange?: (tags: string[]) => void;
|
|
@@ -12,19 +22,19 @@ type RootProps = Omit<ComponentPropsWithRef<'div'>, 'defaultValue' | 'onChange'>
|
|
|
12
22
|
children?: ReactNode;
|
|
13
23
|
};
|
|
14
24
|
/** Tags are trimmed, unique (ignoring case) and never empty. */
|
|
15
|
-
declare const Root: ({ value, defaultValue, onValueChange, validate, children, ...props }: RootProps) =>
|
|
25
|
+
declare const Root: ({ value, defaultValue, onValueChange, validate, children, ...props }: RootProps) => JSX.Element;
|
|
16
26
|
type TagComponents = {
|
|
17
27
|
/** The chip rendered per tag. It receives `removeLabel`, `onRemove` and the tag as children. */
|
|
18
28
|
components?: {
|
|
19
29
|
Tag?: ElementType;
|
|
20
30
|
};
|
|
21
31
|
};
|
|
22
|
-
type TagProps = Omit<TagProps$1,
|
|
32
|
+
type TagProps = Omit<TagProps$1, "children" | "onRemove"> & TagComponents & {
|
|
23
33
|
value: string;
|
|
24
34
|
};
|
|
25
|
-
declare const Tag: ({ value, components, ...props }: TagProps) =>
|
|
35
|
+
declare const Tag: ({ value, components, ...props }: TagProps) => JSX.Element;
|
|
26
36
|
/** One `Tag` per value. Use `useTagInput` and `Tag` yourself for a custom list. */
|
|
27
|
-
declare const Tags: ({ components }: TagComponents) =>
|
|
28
|
-
declare const Field:
|
|
37
|
+
declare const Tags: ({ components }: TagComponents) => ReactNode;
|
|
38
|
+
declare const Field: Styled<typeof Composer.Input>;
|
|
29
39
|
//#endregion
|
|
30
40
|
export { Field, Root, type RootProps, Tag, type TagProps, Tags, useTagInput };
|
package/dist/tag-input-parts.js
CHANGED
|
@@ -3,9 +3,11 @@ import { Chip } from "./chip.js";
|
|
|
3
3
|
import { Composer } from "./composer.js";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { createRequiredContext
|
|
6
|
+
import { createRequiredContext } from "@journ/lift/required-context";
|
|
7
|
+
import { useControllableState } from "@journ/lift/use-controllable-state";
|
|
7
8
|
//#region src/tag-input-parts.tsx
|
|
8
|
-
const [TagInputContext,
|
|
9
|
+
const [TagInputContext, useTagInputContext] = createRequiredContext("TagInput.Root");
|
|
10
|
+
const useTagInput = useTagInputContext;
|
|
9
11
|
const none = [];
|
|
10
12
|
/** Tags are trimmed, unique (ignoring case) and never empty. */
|
|
11
13
|
const Root = ({ value, defaultValue = none, onValueChange, validate, children, ...props }) => {
|
package/dist/text-morph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, ElementType } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, ElementType, JSX } from "react";
|
|
2
2
|
//#region src/text-morph.d.ts
|
|
3
|
-
type TextMorphProps = Omit<ComponentPropsWithRef<
|
|
3
|
+
type TextMorphProps = Omit<ComponentPropsWithRef<"span">, "children"> & {
|
|
4
4
|
children: string;
|
|
5
5
|
as?: ElementType;
|
|
6
6
|
classNames?: {
|
|
@@ -12,6 +12,6 @@ type TextMorphProps = Omit<ComponentPropsWithRef<'span'>, 'children'> & {
|
|
|
12
12
|
* Plays text one character at a time. When the text changes, only the characters
|
|
13
13
|
* that differ drop in again. Screen readers get the whole string once.
|
|
14
14
|
*/
|
|
15
|
-
declare const TextMorph: ({ children: text, as: Component, classNames, style, ...props }: TextMorphProps) =>
|
|
15
|
+
declare const TextMorph: ({ children: text, as: Component, classNames, style, ...props }: TextMorphProps) => JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { TextMorph, type TextMorphProps };
|
package/dist/text-morph.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { visuallyHidden } from "./lib/visually-hidden.js";
|
|
3
3
|
import { useLayoutEffect, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { prefersReducedMotion } from "@journ/lift";
|
|
5
|
+
import { prefersReducedMotion } from "@journ/lift/prefers-reduced-motion";
|
|
6
6
|
import { animate } from "animejs";
|
|
7
7
|
//#region src/text-morph.tsx
|
|
8
8
|
/**
|
package/dist/text-shimmer.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, ElementType } from "react";
|
|
1
|
+
import { ComponentPropsWithRef, ElementType, JSX } from "react";
|
|
2
2
|
//#region src/text-shimmer.d.ts
|
|
3
|
-
type TextShimmerProps = ComponentPropsWithRef<
|
|
3
|
+
type TextShimmerProps = ComponentPropsWithRef<"span"> & {
|
|
4
4
|
/** The element to render, `span` by default. */
|
|
5
5
|
as?: ElementType;
|
|
6
6
|
};
|
|
7
|
-
declare const TextShimmer: ({ as: Component, ...props }: TextShimmerProps) =>
|
|
7
|
+
declare const TextShimmer: ({ as: Component, ...props }: TextShimmerProps) => JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TextShimmer, type TextShimmerProps };
|
package/dist/text.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
1
2
|
//#region src/text.d.ts
|
|
2
|
-
declare const Text:
|
|
3
|
+
declare const Text: Styled<"p">;
|
|
3
4
|
//#endregion
|
|
4
5
|
export { Text };
|
package/dist/textarea.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
1
2
|
//#region src/textarea.d.ts
|
|
2
|
-
declare const Textarea:
|
|
3
|
+
declare const Textarea: Styled<"textarea">;
|
|
3
4
|
//#endregion
|
|
4
5
|
export { Textarea };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Input } from "./input.js";
|
|
2
|
-
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
2
|
+
import { ComponentPropsWithRef, JSX, ReactNode } from "react";
|
|
3
3
|
//#region src/time-range-parts.d.ts
|
|
4
4
|
type TimeRangeValue = {
|
|
5
5
|
start: string;
|
|
@@ -12,11 +12,11 @@ type RootProps = {
|
|
|
12
12
|
onValueChange?: (value: TimeRangeValue) => void;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
};
|
|
15
|
-
declare const Root: ({ value, defaultValue, onValueChange, children }: RootProps) =>
|
|
16
|
-
type TimeFieldProps = Omit<ComponentPropsWithRef<typeof Input>,
|
|
17
|
-
declare const Start: (props: TimeFieldProps) =>
|
|
18
|
-
declare const Stop: (props: TimeFieldProps) =>
|
|
15
|
+
declare const Root: ({ value, defaultValue, onValueChange, children }: RootProps) => JSX.Element;
|
|
16
|
+
type TimeFieldProps = Omit<ComponentPropsWithRef<typeof Input>, "type" | "value">;
|
|
17
|
+
declare const Start: (props: TimeFieldProps) => JSX.Element;
|
|
18
|
+
declare const Stop: (props: TimeFieldProps) => JSX.Element;
|
|
19
19
|
/** The time between start and stop. A stop before the start means the next day. */
|
|
20
|
-
declare const Duration: (props: Omit<ComponentPropsWithRef<
|
|
20
|
+
declare const Duration: (props: Omit<ComponentPropsWithRef<"output">, "children">) => JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Duration, Root, type RootProps, Start, Stop, type TimeRangeValue };
|
package/dist/time-range-parts.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Input } from "./input.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { createRequiredContext
|
|
5
|
-
import {
|
|
4
|
+
import { createRequiredContext } from "@journ/lift/required-context";
|
|
5
|
+
import { useControllableState } from "@journ/lift/use-controllable-state";
|
|
6
|
+
import { formatDuration, minutesBetween } from "@journ/fitter-happier/time";
|
|
6
7
|
//#region src/time-range-parts.tsx
|
|
7
8
|
const [TimeRangeContext, useTimeRange] = createRequiredContext("TimeRange.Root");
|
|
8
9
|
const empty = {
|
package/dist/toast-parts.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
2
|
+
import { ComponentProps, JSX } from "react";
|
|
2
3
|
import { Toaster, toast } from "sonner";
|
|
3
4
|
//#region src/toast-parts.d.ts
|
|
4
5
|
/** Unstyled: sonner's own look is turned off. Pass `toastOptions.classNames` to style it. */
|
|
5
|
-
declare const Provider: ({ toastOptions, ...props }: ComponentProps<typeof Toaster>) =>
|
|
6
|
+
declare const Provider: ({ toastOptions, ...props }: ComponentProps<typeof Toaster>) => JSX.Element;
|
|
6
7
|
declare const show: typeof toast;
|
|
7
|
-
declare const Root:
|
|
8
|
-
declare const Title:
|
|
9
|
-
declare const Description:
|
|
10
|
-
declare const Action:
|
|
8
|
+
declare const Root: Styled<"div">;
|
|
9
|
+
declare const Title: Styled<"p">;
|
|
10
|
+
declare const Description: Styled<"p">;
|
|
11
|
+
declare const Action: Styled<"button">;
|
|
11
12
|
//#endregion
|
|
12
13
|
export { Action, Description, Provider, Root, Title, show };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
1
2
|
import * as RadixToggleGroup from "@radix-ui/react-toggle-group";
|
|
2
3
|
//#region src/toggle-group-parts.d.ts
|
|
3
|
-
declare const Root:
|
|
4
|
-
declare const Item:
|
|
4
|
+
declare const Root: Styled<typeof RadixToggleGroup.Root>;
|
|
5
|
+
declare const Item: Styled<typeof RadixToggleGroup.Item>;
|
|
5
6
|
//#endregion
|
|
6
7
|
export { Item, Root };
|
package/dist/toggle-group.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Item, Root } from "./toggle-group-parts.js";
|
|
1
2
|
//#region src/toggle-group.d.ts
|
|
2
3
|
declare const ToggleGroup: {
|
|
3
|
-
Root:
|
|
4
|
-
Item:
|
|
4
|
+
Root: typeof Root;
|
|
5
|
+
Item: typeof Item;
|
|
5
6
|
};
|
|
6
7
|
//#endregion
|
|
7
8
|
export { ToggleGroup };
|
package/dist/tooltip-parts.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
2
2
|
import * as RadixTooltip from "@radix-ui/react-tooltip";
|
|
3
3
|
//#region src/tooltip-parts.d.ts
|
|
4
|
-
declare const Provider:
|
|
4
|
+
declare const Provider: typeof RadixTooltip.Provider;
|
|
5
5
|
/** Includes its own provider so a tooltip works without extra setup. */
|
|
6
|
-
declare const Root:
|
|
7
|
-
declare const Trigger:
|
|
8
|
-
declare const Content:
|
|
6
|
+
declare const Root: Styled<typeof RadixTooltip.Root>;
|
|
7
|
+
declare const Trigger: typeof RadixTooltip.Trigger;
|
|
8
|
+
declare const Content: Styled<typeof RadixTooltip.Content>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Content, Provider, Root, Trigger };
|
package/dist/tooltip.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Content, Root } from "./tooltip-parts.js";
|
|
1
|
+
import { Content, Provider, Root, Trigger } from "./tooltip-parts.js";
|
|
2
2
|
//#region src/tooltip.d.ts
|
|
3
3
|
declare const Tooltip: {
|
|
4
|
-
Provider:
|
|
4
|
+
Provider: typeof Provider;
|
|
5
5
|
Root: typeof Root;
|
|
6
|
-
Trigger:
|
|
6
|
+
Trigger: typeof Trigger;
|
|
7
7
|
Content: typeof Content;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
package/dist/touch-target.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Styled } from "./styled.js";
|
|
2
2
|
//#region src/touch-target.d.ts
|
|
3
3
|
/** A hit-area element rendered before its children. Style it to grow the touch area without changing layout. */
|
|
4
|
-
declare const TouchTarget:
|
|
4
|
+
declare const TouchTarget: Styled<"span">;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { TouchTarget };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@journ/nude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Unstyled, accessible React primitives for the web. They own behavior, state, focus and ARIA, and leave every visual decision to you.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"react-markdown": "^10.1.0",
|
|
62
62
|
"sonner": "^2.0.8",
|
|
63
63
|
"vaul": "^1.1.2",
|
|
64
|
-
"@journ/fitter-happier": "0.
|
|
65
|
-
"@journ/lift": "0.
|
|
64
|
+
"@journ/fitter-happier": "0.2.0",
|
|
65
|
+
"@journ/lift": "0.2.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^19.0.0",
|