@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.
Files changed (128) hide show
  1. package/dist/accordion-parts.d.ts +5 -5
  2. package/dist/accordion.d.ts +2 -2
  3. package/dist/alert-dialog-parts.d.ts +13 -11
  4. package/dist/alert-dialog.d.ts +5 -5
  5. package/dist/alert.d.ts +12 -37
  6. package/dist/animated-size.d.ts +3 -2
  7. package/dist/avatar-parts.d.ts +5 -4
  8. package/dist/badge.d.ts +7 -35
  9. package/dist/breadcrumbs.d.ts +7 -7
  10. package/dist/bulk-bar.d.ts +4 -4
  11. package/dist/button.d.ts +11 -36
  12. package/dist/calendar-parts.d.ts +18 -12
  13. package/dist/calendar-parts.js +5 -1
  14. package/dist/calendar.d.ts +3 -3
  15. package/dist/card.d.ts +13 -38
  16. package/dist/carousel-parts.d.ts +8 -7
  17. package/dist/carousel-parts.js +1 -1
  18. package/dist/checkbox-parts.d.ts +3 -3
  19. package/dist/chip.d.ts +11 -30
  20. package/dist/collapsible-parts.d.ts +4 -4
  21. package/dist/collapsible.d.ts +3 -3
  22. package/dist/combobox-parts.d.ts +17 -16
  23. package/dist/combobox-parts.js +7 -2
  24. package/dist/combobox.d.ts +5 -10
  25. package/dist/command-palette-parts.d.ts +4 -3
  26. package/dist/command-palette-parts.js +2 -1
  27. package/dist/command-palette.d.ts +3 -3
  28. package/dist/composer.d.ts +3 -3
  29. package/dist/context-menu-parts.d.ts +9 -12
  30. package/dist/context-menu-parts.js +5 -1
  31. package/dist/context-menu.d.ts +8 -15
  32. package/dist/currency-input-parts.d.ts +3 -3
  33. package/dist/currency-input.d.ts +2 -2
  34. package/dist/data-table-parts.d.ts +12 -5
  35. package/dist/data-table-parts.js +7 -1
  36. package/dist/data-table.d.ts +5 -5
  37. package/dist/date-input-parts.d.ts +3 -3
  38. package/dist/date-input.d.ts +2 -2
  39. package/dist/date-picker-parts.d.ts +9 -7
  40. package/dist/date-picker-parts.js +7 -2
  41. package/dist/date-picker.d.ts +6 -11
  42. package/dist/date-range-picker-parts.d.ts +9 -7
  43. package/dist/date-range-picker-parts.js +7 -2
  44. package/dist/date-range-picker.d.ts +6 -11
  45. package/dist/description-list.d.ts +4 -4
  46. package/dist/dialog-parts.d.ts +12 -10
  47. package/dist/dialog.d.ts +4 -4
  48. package/dist/divider.d.ts +2 -2
  49. package/dist/drawer-parts.d.ts +9 -8
  50. package/dist/drawer.d.ts +4 -4
  51. package/dist/dropdown-menu-parts.d.ts +9 -12
  52. package/dist/dropdown-menu-parts.js +5 -1
  53. package/dist/dropdown-menu.d.ts +8 -15
  54. package/dist/empty-state.d.ts +6 -6
  55. package/dist/field-parts.d.ts +6 -6
  56. package/dist/field.d.ts +2 -2
  57. package/dist/file-dropzone-parts.d.ts +8 -6
  58. package/dist/file-dropzone-parts.js +2 -1
  59. package/dist/heading.d.ts +5 -26
  60. package/dist/hover-card-parts.d.ts +4 -4
  61. package/dist/hover-card.d.ts +3 -3
  62. package/dist/icon-button.d.ts +11 -41
  63. package/dist/icon.d.ts +6 -26
  64. package/dist/index.d.ts +1 -1
  65. package/dist/input.d.ts +3 -3
  66. package/dist/lib/icon-tile.d.ts +5 -28
  67. package/dist/lib/menu-parts.d.ts +12 -16
  68. package/dist/lib/modal-content.d.ts +2 -2
  69. package/dist/lib/modal-parts.d.ts +3 -3
  70. package/dist/lib/overlay.d.ts +8 -31
  71. package/dist/lib/picker.d.ts +9 -7
  72. package/dist/lib/theme.d.ts +8 -8
  73. package/dist/lib/tones.d.ts +12 -42
  74. package/dist/lib/tv.d.ts +6 -1
  75. package/dist/lib/use-enter.d.ts +8 -11
  76. package/dist/link.d.ts +3 -3
  77. package/dist/markdown.d.ts +3 -2
  78. package/dist/message.d.ts +7 -6
  79. package/dist/month-picker.d.ts +2 -2
  80. package/dist/month-stepper-parts.d.ts +6 -5
  81. package/dist/multiple-selector-parts.d.ts +11 -12
  82. package/dist/multiple-selector-parts.js +5 -2
  83. package/dist/multiple-selector.d.ts +4 -9
  84. package/dist/nav-bar.d.ts +3 -3
  85. package/dist/navigation-menu-parts.d.ts +8 -7
  86. package/dist/navigation-menu.d.ts +2 -2
  87. package/dist/otp-input-parts.d.ts +4 -4
  88. package/dist/otp-input.d.ts +2 -2
  89. package/dist/page-header.d.ts +4 -4
  90. package/dist/page.d.ts +10 -37
  91. package/dist/pagination.d.ts +7 -7
  92. package/dist/pill-select.d.ts +2 -2
  93. package/dist/popover-parts.d.ts +5 -5
  94. package/dist/popover.d.ts +4 -4
  95. package/dist/progress-parts.d.ts +7 -33
  96. package/dist/quantity-input-parts.d.ts +6 -5
  97. package/dist/radio-parts.d.ts +4 -3
  98. package/dist/scroll-area-parts.d.ts +6 -5
  99. package/dist/scroll-area.d.ts +2 -2
  100. package/dist/select-parts.d.ts +10 -9
  101. package/dist/select.d.ts +4 -4
  102. package/dist/sheet-parts.d.ts +5 -26
  103. package/dist/sheet.d.ts +4 -4
  104. package/dist/sidebar.d.ts +10 -10
  105. package/dist/skeleton.d.ts +2 -2
  106. package/dist/slider-parts.d.ts +5 -5
  107. package/dist/spinner.d.ts +2 -2
  108. package/dist/stack-parts.d.ts +10 -35
  109. package/dist/stat.d.ts +5 -5
  110. package/dist/step-button.d.ts +5 -3
  111. package/dist/stepper-parts.d.ts +6 -6
  112. package/dist/switch-parts.d.ts +3 -3
  113. package/dist/table.d.ts +8 -8
  114. package/dist/tabs-parts.d.ts +5 -5
  115. package/dist/tag-input-parts.d.ts +8 -7
  116. package/dist/tag-input-parts.js +1 -1
  117. package/dist/text-morph.d.ts +3 -2
  118. package/dist/text-shimmer.d.ts +3 -3
  119. package/dist/text.d.ts +8 -35
  120. package/dist/textarea.d.ts +2 -2
  121. package/dist/time-range-parts.d.ts +5 -5
  122. package/dist/time-range.d.ts +2 -2
  123. package/dist/toast-parts.d.ts +6 -6
  124. package/dist/toggle-group-parts.d.ts +3 -3
  125. package/dist/tooltip-parts.d.ts +5 -5
  126. package/dist/tooltip.d.ts +4 -4
  127. package/dist/touch-target.d.ts +2 -1
  128. package/package.json +2 -2
@@ -1,39 +1,14 @@
1
- import { VariantProps } from "./lib/tv.js";
2
- import { ComponentPropsWithRef } from "react";
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) => import("react").JSX.Element;
6
- declare const stackItem: import("tailwind-variants").TVReturnType<{
7
- tone: {
8
- 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";
9
- readonly coral: string;
10
- readonly yellow: string;
11
- readonly indigo: string;
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 { ComponentPropsWithRef } from "react";
1
+ import { Styled } from "@journ/nude/styled";
2
2
  //#region src/stat.d.ts
3
- declare const Root: ({ className, ...props }: ComponentPropsWithRef<'div'>) => import("react").JSX.Element;
4
- declare const Label: ({ className, ...props }: ComponentPropsWithRef<'p'>) => import("react").JSX.Element;
5
- declare const Value: ({ className, ...props }: ComponentPropsWithRef<'p'>) => import("react").JSX.Element;
6
- declare const Hint: ({ className, ...props }: ComponentPropsWithRef<'p'>) => import("react").JSX.Element;
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;
@@ -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, 'tone' | 'size' | 'className' | 'children'>;
5
- declare const stepButton: (Icon: LucideIcon, { tone, size, className, children }: StepButtonStyle) => {
5
+ type StepButtonStyle = Pick<IconButtonProps, "tone" | "size" | "className" | "children">;
6
+ type StepButtonProps = {
6
7
  className: string;
7
- children: import("react").JSX.Element;
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 };
@@ -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: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Root>) => import("react").JSX.Element;
5
- declare const Item: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Item>) => import("react").JSX.Element;
6
- declare const Indicator: ({ className, children, ...props }: ComponentPropsWithRef<'span'>) => import("react").JSX.Element;
7
- declare const Label: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react").JSX.Element;
8
- declare const Description: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react").JSX.Element;
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 };
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/switch-parts";
2
+ import { Styled } from "@journ/nude/styled";
3
3
  //#region src/switch-parts.d.ts
4
- declare const Root: ({ className, children, ...props }: ComponentPropsWithRef<typeof Nude.Root>) => import("react").JSX.Element;
5
- declare const Thumb: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Thumb>) => import("react").JSX.Element;
4
+ declare const Root: Styled<typeof Nude.Root>;
5
+ declare const Thumb: Styled<typeof Nude.Thumb>;
6
6
  //#endregion
7
7
  export { Root, Thumb };
package/dist/table.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { Styled } from "@journ/nude/styled";
2
2
  //#region src/table.d.ts
3
- declare const Root: ({ className, ...props }: ComponentPropsWithRef<'table'>) => import("react").JSX.Element;
4
- declare const Caption: ({ className, ...props }: ComponentPropsWithRef<'caption'>) => import("react").JSX.Element;
5
- declare const Head: ({ className, ...props }: ComponentPropsWithRef<'thead'>) => import("react").JSX.Element;
6
- declare const Body: ({ className, ...props }: ComponentPropsWithRef<'tbody'>) => import("react").JSX.Element;
7
- declare const Row: ({ className, ...props }: ComponentPropsWithRef<'tr'>) => import("react").JSX.Element;
8
- declare const Header: ({ className, ...props }: ComponentPropsWithRef<'th'>) => import("react").JSX.Element;
9
- declare const Cell: ({ className, ...props }: ComponentPropsWithRef<'td'>) => import("react").JSX.Element;
3
+ declare const Root: Styled<"table">;
4
+ declare const Caption: Styled<"caption">;
5
+ declare const Head: Styled<"thead">;
6
+ declare const Body: Styled<"tbody">;
7
+ declare const Row: Styled<"tr">;
8
+ declare const Header: Styled<"th">;
9
+ declare const Cell: Styled<"td">;
10
10
  declare const Table: {
11
11
  Root: typeof Root;
12
12
  Caption: typeof Caption;
@@ -1,9 +1,9 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/tabs-parts";
2
+ import { Styled } from "@journ/nude/styled";
3
3
  //#region src/tabs-parts.d.ts
4
- declare const Root: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Root>) => import("react").JSX.Element;
5
- declare const List: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.List>) => import("react").JSX.Element;
6
- declare const Trigger: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Trigger>) => import("react").JSX.Element;
7
- declare const Content: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Content>) => import("react").JSX.Element;
4
+ declare const Root: Styled<typeof Nude.Root>;
5
+ declare const List: Styled<typeof Nude.List>;
6
+ declare const Trigger: Styled<typeof Nude.Trigger>;
7
+ declare const Content: Styled<typeof Nude.Content>;
8
8
  //#endregion
9
9
  export { Content, List, Root, Trigger };
@@ -1,15 +1,16 @@
1
1
  import { Chip } from "./chip.js";
2
- import { ComponentPropsWithRef } from "react";
2
+ import { ComponentPropsWithRef, JSX } from "react";
3
3
  import * as Nude from "@journ/nude/tag-input-parts";
4
+ import { Styled } from "@journ/nude/styled";
4
5
  //#region src/tag-input-parts.d.ts
5
- declare const useTagInput: any;
6
+ declare const useTagInput: typeof Nude.useTagInput;
6
7
  type RootProps = Nude.RootProps;
7
- declare const Root: ({ className, ...props }: RootProps) => import("react").JSX.Element;
8
- type TagProps = Omit<ComponentPropsWithRef<typeof Chip.Tag>, 'children' | 'onRemove'> & {
8
+ declare const Root: ({ className, ...props }: RootProps) => JSX.Element;
9
+ type TagProps = Omit<ComponentPropsWithRef<typeof Chip.Tag>, "children" | "onRemove"> & {
9
10
  value: string;
10
11
  };
11
- declare const Tag: (props: TagProps) => import("react").JSX.Element;
12
- declare const Tags: () => import("react").JSX.Element;
13
- declare const Field: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Field>) => import("react").JSX.Element;
12
+ declare const Tag: (props: TagProps) => JSX.Element;
13
+ declare const Tags: () => JSX.Element;
14
+ declare const Field: Styled<typeof Nude.Field>;
14
15
  //#endregion
15
16
  export { Field, Root, type RootProps, Tag, Tags, useTagInput };
@@ -5,7 +5,7 @@ import { composerInput, composerRoot } from "./composer.js";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import * as Nude from "@journ/nude/tag-input-parts";
7
7
  //#region src/tag-input-parts.tsx
8
- const { useTagInput } = Nude;
8
+ const useTagInput = Nude.useTagInput;
9
9
  const components = { Tag: Chip.Tag };
10
10
  const Root = ({ className, ...props }) => /* @__PURE__ */ jsx(Nude.Root, {
11
11
  ...props,
@@ -1,6 +1,7 @@
1
+ import { JSX } from "react";
1
2
  import { TextMorphProps as TextMorphProps$1 } from "@journ/nude/text-morph";
2
3
  //#region src/text-morph.d.ts
3
- type TextMorphProps = Omit<TextMorphProps$1, 'classNames'>;
4
- declare const TextMorph: ({ className, ...props }: TextMorphProps) => import("react").JSX.Element;
4
+ type TextMorphProps = Omit<TextMorphProps$1, "classNames">;
5
+ declare const TextMorph: ({ className, ...props }: TextMorphProps) => JSX.Element;
5
6
  //#endregion
6
7
  export { TextMorph, type TextMorphProps };
@@ -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<'span'> & {
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, className, ...props }: TextShimmerProps) => import("react").JSX.Element;
7
+ declare const TextShimmer: ({ as: Component, className, ...props }: TextShimmerProps) => JSX.Element;
8
8
  //#endregion
9
9
  export { TextShimmer, type TextShimmerProps };
package/dist/text.d.ts CHANGED
@@ -1,38 +1,11 @@
1
- import { VariantProps } from "./lib/tv.js";
2
- import { ComponentPropsWithRef } from "react";
1
+ import { ComponentPropsWithRef, JSX } from "react";
3
2
  //#region src/text.d.ts
4
- declare const text: import("tailwind-variants").TVReturnType<{
5
- size: {
6
- sm: "text-xs/5";
7
- md: "text-sm/6";
8
- lg: "text-base/7";
9
- };
10
- tone: {
11
- default: "";
12
- muted: "opacity-60";
13
- };
14
- }, undefined, "text-pretty", {
15
- size: {
16
- sm: "text-xs/5";
17
- md: "text-sm/6";
18
- lg: "text-base/7";
19
- };
20
- tone: {
21
- default: "";
22
- muted: "opacity-60";
23
- };
24
- }, undefined, import("tailwind-variants").TVReturnTypeLike<{
25
- size: {
26
- sm: "text-xs/5";
27
- md: "text-sm/6";
28
- lg: "text-base/7";
29
- };
30
- tone: {
31
- default: "";
32
- muted: "opacity-60";
33
- };
34
- }, undefined>>;
35
- type TextProps = ComponentPropsWithRef<'p'> & VariantProps<typeof text>;
36
- declare const Text: ({ size, tone, className, ...props }: TextProps) => import("react").JSX.Element;
3
+ type TextSize = "sm" | "md" | "lg";
4
+ type TextTone = "default" | "muted";
5
+ type TextProps = ComponentPropsWithRef<"p"> & {
6
+ size?: TextSize;
7
+ tone?: TextTone;
8
+ };
9
+ declare const Text: ({ size, tone, className, ...props }: TextProps) => JSX.Element;
37
10
  //#endregion
38
11
  export { Text, type TextProps };
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithRef } from "react";
1
+ import { Styled } from "@journ/nude/styled";
2
2
  //#region src/textarea.d.ts
3
- declare const Textarea: ({ className, rows, ...props }: ComponentPropsWithRef<'textarea'>) => import("react").JSX.Element;
3
+ declare const Textarea: Styled<"textarea">;
4
4
  //#endregion
5
5
  export { Textarea };
@@ -1,10 +1,10 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/time-range-parts";
3
2
  import { RootProps, TimeRangeValue } from "@journ/nude/time-range-parts";
3
+ import { Styled } from "@journ/nude/styled";
4
4
  //#region src/time-range-parts.d.ts
5
- declare const Root: any;
6
- declare const Start: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Start>) => import("react").JSX.Element;
7
- declare const Stop: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Stop>) => import("react").JSX.Element;
8
- declare const Duration: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Duration>) => import("react").JSX.Element;
5
+ declare const Root: typeof Nude.Root;
6
+ declare const Start: Styled<typeof Nude.Start>;
7
+ declare const Stop: Styled<typeof Nude.Stop>;
8
+ declare const Duration: Styled<typeof Nude.Duration>;
9
9
  //#endregion
10
10
  export { Duration, Root, type RootProps, Start, Stop, type TimeRangeValue };
@@ -1,7 +1,7 @@
1
- import { Duration, RootProps, Start, Stop, TimeRangeValue } from "./time-range-parts.js";
1
+ import { Duration, Root, RootProps, Start, Stop, TimeRangeValue } from "./time-range-parts.js";
2
2
  //#region src/time-range.d.ts
3
3
  declare const TimeRange: {
4
- Root: any;
4
+ Root: typeof Root;
5
5
  Start: typeof Start;
6
6
  Stop: typeof Stop;
7
7
  Duration: typeof Duration;
@@ -1,11 +1,11 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/toast-parts";
2
+ import { Styled } from "@journ/nude/styled";
3
3
  //#region src/toast-parts.d.ts
4
- declare const Provider: (props: ComponentPropsWithRef<typeof Nude.Provider>) => import("react").JSX.Element;
4
+ declare const Provider: Styled<typeof Nude.Provider>;
5
5
  declare const show: typeof Nude.show;
6
- declare const Root: ({ className, ...props }: ComponentPropsWithRef<'div'>) => import("react").JSX.Element;
7
- declare const Title: ({ className, ...props }: ComponentPropsWithRef<'p'>) => import("react").JSX.Element;
8
- declare const Description: ({ className, ...props }: ComponentPropsWithRef<'p'>) => import("react").JSX.Element;
9
- declare const Action: ({ className, ...props }: ComponentPropsWithRef<'button'>) => import("react").JSX.Element;
6
+ declare const Root: Styled<"div">;
7
+ declare const Title: Styled<"p">;
8
+ declare const Description: Styled<"p">;
9
+ declare const Action: Styled<"button">;
10
10
  //#endregion
11
11
  export { Action, Description, Provider, Root, Title, show };
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/toggle-group-parts";
2
+ import { Styled } from "@journ/nude/styled";
3
3
  //#region src/toggle-group-parts.d.ts
4
- declare const Root: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Root>) => import("react").JSX.Element;
5
- declare const Item: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Item>) => import("react").JSX.Element;
4
+ declare const Root: Styled<typeof Nude.Root>;
5
+ declare const Item: Styled<typeof Nude.Item>;
6
6
  //#endregion
7
7
  export { Item, Root };
@@ -1,9 +1,9 @@
1
- import { ComponentPropsWithRef } from "react";
2
1
  import * as Nude from "@journ/nude/tooltip-parts";
2
+ import { Styled } from "@journ/nude/styled";
3
3
  //#region src/tooltip-parts.d.ts
4
- declare const Provider: any;
5
- declare const Root: any;
6
- declare const Trigger: any;
7
- declare const Content: ({ className, ...props }: ComponentPropsWithRef<typeof Nude.Content>) => import("react").JSX.Element;
4
+ declare const Provider: typeof Nude.Provider;
5
+ declare const Root: typeof Nude.Root;
6
+ declare const Trigger: typeof Nude.Trigger;
7
+ declare const Content: Styled<typeof Nude.Content>;
8
8
  //#endregion
9
9
  export { Content, Provider, Root, Trigger };
package/dist/tooltip.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { Content } 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: any;
5
- Root: any;
6
- Trigger: any;
4
+ Provider: typeof Provider;
5
+ Root: typeof Root;
6
+ Trigger: typeof Trigger;
7
7
  Content: typeof Content;
8
8
  };
9
9
  //#endregion
@@ -1,7 +1,8 @@
1
+ import { JSX } from "react";
1
2
  //#region src/touch-target.d.ts
2
3
  /** Grows the hit area to at least 44x44px on touch devices without changing layout. */
3
4
  declare const TouchTarget: ({ children }: {
4
5
  children?: React.ReactNode;
5
- }) => import("react").JSX.Element;
6
+ }) => JSX.Element;
6
7
  //#endregion
7
8
  export { TouchTarget };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@journ/bloom",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Styled UI library A. Wraps nude primitives with a Tailwind style layer and ships precompiled, prefixed CSS. Sibling of lotus, web only.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "lucide-react": "^1.48.0",
46
46
  "tailwind-variants": "^3.3.1",
47
47
  "@journ/lift": "0.1.1",
48
- "@journ/nude": "0.1.1"
48
+ "@journ/nude": "0.1.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@tailwindcss/cli": "^4.3.3",