@lglab/compose-ui 0.30.0 → 0.30.1

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 (60) hide show
  1. package/dist/accordion.d.ts +6 -6
  2. package/dist/accordion.d.ts.map +1 -1
  3. package/dist/alert-dialog.d.ts +10 -10
  4. package/dist/alert-dialog.d.ts.map +1 -1
  5. package/dist/autocomplete.d.ts +13 -13
  6. package/dist/avatar.d.ts +5 -5
  7. package/dist/badge.d.ts +4 -4
  8. package/dist/button.d.ts +2 -2
  9. package/dist/card.d.ts +8 -8
  10. package/dist/checkbox-group.d.ts +2 -2
  11. package/dist/checkbox.d.ts +3 -3
  12. package/dist/checkbox.d.ts.map +1 -1
  13. package/dist/collapsible.d.ts +4 -4
  14. package/dist/combobox.d.ts +25 -25
  15. package/dist/context-menu.d.ts +20 -20
  16. package/dist/dialog.d.ts +11 -11
  17. package/dist/field.d.ts +8 -8
  18. package/dist/fieldset.d.ts +3 -3
  19. package/dist/fieldset.d.ts.map +1 -1
  20. package/dist/form.d.ts +2 -2
  21. package/dist/form.d.ts.map +1 -1
  22. package/dist/input.d.ts +2 -2
  23. package/dist/input.d.ts.map +1 -1
  24. package/dist/menu.d.ts +20 -20
  25. package/dist/menubar.d.ts +21 -21
  26. package/dist/meter.d.ts +6 -6
  27. package/dist/navigation-menu.d.ts +14 -14
  28. package/dist/navigation-menu.d.ts.map +1 -1
  29. package/dist/number-field.d.ts +8 -8
  30. package/dist/number-field.d.ts.map +1 -1
  31. package/dist/pagination.d.ts +10 -10
  32. package/dist/popover.d.ts +12 -12
  33. package/dist/popover.d.ts.map +1 -1
  34. package/dist/preview-card.d.ts +8 -8
  35. package/dist/progress.d.ts +6 -6
  36. package/dist/progress.d.ts.map +1 -1
  37. package/dist/radio-group.d.ts +2 -2
  38. package/dist/radio-group.d.ts.map +1 -1
  39. package/dist/radio.d.ts +3 -3
  40. package/dist/radio.d.ts.map +1 -1
  41. package/dist/scroll-area.d.ts +7 -7
  42. package/dist/scroll-area.d.ts.map +1 -1
  43. package/dist/select.d.ts +19 -19
  44. package/dist/separator.d.ts +2 -2
  45. package/dist/skeleton.d.ts +2 -2
  46. package/dist/skeleton.d.ts.map +1 -1
  47. package/dist/slider.d.ts +7 -7
  48. package/dist/slider.d.ts.map +1 -1
  49. package/dist/switch.d.ts +3 -3
  50. package/dist/tabs.d.ts +6 -6
  51. package/dist/textarea.d.ts +2 -2
  52. package/dist/textarea.d.ts.map +1 -1
  53. package/dist/toast.d.ts +10 -10
  54. package/dist/toggle-group.d.ts +3 -3
  55. package/dist/toggle.d.ts +2 -2
  56. package/dist/toolbar.d.ts +7 -7
  57. package/dist/toolbar.js +1 -1
  58. package/dist/toolbar.js.map +1 -1
  59. package/dist/tooltip.d.ts +8 -8
  60. package/package.json +1 -1
package/dist/tabs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime120 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime134 from "react/jsx-runtime";
3
3
  import { Tabs } from "@base-ui/react/tabs";
4
4
 
5
5
  //#region src/components/tabs.d.ts
@@ -8,7 +8,7 @@ declare const TabsRoot: {
8
8
  ({
9
9
  className,
10
10
  ...props
11
- }: TabsRootProps): react_jsx_runtime120.JSX.Element;
11
+ }: TabsRootProps): react_jsx_runtime134.JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  type TabsListProps = React.ComponentProps<typeof Tabs.List> & {
@@ -20,7 +20,7 @@ declare const TabsList: {
20
20
  className,
21
21
  orientation,
22
22
  ...props
23
- }: TabsListProps): react_jsx_runtime120.JSX.Element;
23
+ }: TabsListProps): react_jsx_runtime134.JSX.Element;
24
24
  displayName: string;
25
25
  };
26
26
  type TabsTabProps = React.ComponentProps<typeof Tabs.Tab> & {
@@ -32,7 +32,7 @@ declare const TabsTab: {
32
32
  className,
33
33
  size,
34
34
  ...props
35
- }: TabsTabProps): react_jsx_runtime120.JSX.Element;
35
+ }: TabsTabProps): react_jsx_runtime134.JSX.Element;
36
36
  displayName: string;
37
37
  };
38
38
  type TabsIndicatorProps = React.ComponentProps<typeof Tabs.Indicator> & {
@@ -44,7 +44,7 @@ declare const TabsIndicator: {
44
44
  className,
45
45
  orientation,
46
46
  ...props
47
- }: TabsIndicatorProps): react_jsx_runtime120.JSX.Element;
47
+ }: TabsIndicatorProps): react_jsx_runtime134.JSX.Element;
48
48
  displayName: string;
49
49
  };
50
50
  type TabsPanelProps = React.ComponentProps<typeof Tabs.Panel>;
@@ -52,7 +52,7 @@ declare const TabsPanel: {
52
52
  ({
53
53
  className,
54
54
  ...props
55
- }: TabsPanelProps): react_jsx_runtime120.JSX.Element;
55
+ }: TabsPanelProps): react_jsx_runtime134.JSX.Element;
56
56
  displayName: string;
57
57
  };
58
58
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime125 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime58 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/textarea.d.ts
5
5
  type TextareaProps = React.ComponentProps<'textarea'>;
@@ -7,7 +7,7 @@ declare const Textarea: {
7
7
  ({
8
8
  className,
9
9
  ...props
10
- }: TextareaProps): react_jsx_runtime125.JSX.Element;
10
+ }: TextareaProps): react_jsx_runtime58.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","names":[],"sources":["../src/components/textarea.tsx"],"sourcesContent":[],"mappings":";;;;KAOK,aAAA,GAAgB,KAAA,CAAM;cAErB;;;;KAAqC,gBAAa,oBAAA,CAAA,GAAA,CAAA;EAFnD,WAAA,EAAA,MAAa;AAAuB,CAAA"}
1
+ {"version":3,"file":"textarea.d.ts","names":[],"sources":["../src/components/textarea.tsx"],"sourcesContent":[],"mappings":";;;;KAOK,aAAA,GAAgB,KAAA,CAAM;cAErB;;;;KAAqC,gBAAa,mBAAA,CAAA,GAAA,CAAA;EAFnD,WAAA,EAAA,MAAa;AAAuB,CAAA"}
package/dist/toast.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { ButtonSize, ButtonVariant } from "./lib/button-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime126 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime206 from "react/jsx-runtime";
4
4
  import { Toast, Toast as Toast$1 } from "@base-ui/react/toast";
5
5
 
6
6
  //#region src/components/toast.d.ts
7
7
  type ToastProviderProps = React.ComponentProps<typeof Toast$1.Provider>;
8
8
  declare const ToastProvider: {
9
- (props: ToastProviderProps): react_jsx_runtime126.JSX.Element;
9
+ (props: ToastProviderProps): react_jsx_runtime206.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
@@ -18,7 +18,7 @@ declare const ToastViewport: {
18
18
  className,
19
19
  position,
20
20
  ...props
21
- }: ToastViewportProps): react_jsx_runtime126.JSX.Element;
21
+ }: ToastViewportProps): react_jsx_runtime206.JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  type ToastRootProps = React.ComponentProps<typeof Toast$1.Root>;
@@ -26,7 +26,7 @@ declare const ToastRoot: {
26
26
  ({
27
27
  className,
28
28
  ...props
29
- }: ToastRootProps): react_jsx_runtime126.JSX.Element;
29
+ }: ToastRootProps): react_jsx_runtime206.JSX.Element;
30
30
  displayName: string;
31
31
  };
32
32
  type ToastContentProps = React.ComponentProps<typeof Toast$1.Content>;
@@ -34,7 +34,7 @@ declare const ToastContent: {
34
34
  ({
35
35
  className,
36
36
  ...props
37
- }: ToastContentProps): react_jsx_runtime126.JSX.Element;
37
+ }: ToastContentProps): react_jsx_runtime206.JSX.Element;
38
38
  displayName: string;
39
39
  };
40
40
  type ToastTitleProps = React.ComponentProps<typeof Toast$1.Title>;
@@ -42,7 +42,7 @@ declare const ToastTitle: {
42
42
  ({
43
43
  className,
44
44
  ...props
45
- }: ToastTitleProps): react_jsx_runtime126.JSX.Element;
45
+ }: ToastTitleProps): react_jsx_runtime206.JSX.Element;
46
46
  displayName: string;
47
47
  };
48
48
  type ToastDescriptionProps = React.ComponentProps<typeof Toast$1.Description>;
@@ -50,7 +50,7 @@ declare const ToastDescription: {
50
50
  ({
51
51
  className,
52
52
  ...props
53
- }: ToastDescriptionProps): react_jsx_runtime126.JSX.Element;
53
+ }: ToastDescriptionProps): react_jsx_runtime206.JSX.Element;
54
54
  displayName: string;
55
55
  };
56
56
  type ToastActionProps = React.ComponentProps<typeof Toast$1.Action> & {
@@ -63,7 +63,7 @@ declare const ToastAction: {
63
63
  variant,
64
64
  size,
65
65
  ...props
66
- }: ToastActionProps): react_jsx_runtime126.JSX.Element;
66
+ }: ToastActionProps): react_jsx_runtime206.JSX.Element;
67
67
  displayName: string;
68
68
  };
69
69
  type ToastCloseProps = React.ComponentProps<typeof Toast$1.Close>;
@@ -71,7 +71,7 @@ declare const ToastClose: {
71
71
  ({
72
72
  className,
73
73
  ...props
74
- }: ToastCloseProps): react_jsx_runtime126.JSX.Element;
74
+ }: ToastCloseProps): react_jsx_runtime206.JSX.Element;
75
75
  displayName: string;
76
76
  };
77
77
  type ToastPositionerProps = React.ComponentProps<typeof Toast$1.Positioner>;
@@ -79,7 +79,7 @@ declare const ToastPositioner: {
79
79
  ({
80
80
  className,
81
81
  ...props
82
- }: ToastPositionerProps): react_jsx_runtime126.JSX.Element;
82
+ }: ToastPositionerProps): react_jsx_runtime206.JSX.Element;
83
83
  displayName: string;
84
84
  };
85
85
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { ControlSize, ControlVariant } from "./lib/control-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime135 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime199 from "react/jsx-runtime";
4
4
  import { Toggle } from "@base-ui/react/toggle";
5
5
  import { ToggleGroup } from "@base-ui/react/toggle-group";
6
6
 
@@ -11,7 +11,7 @@ declare const ToggleGroupRoot: {
11
11
  className,
12
12
  orientation,
13
13
  ...props
14
- }: ToggleGroupRootProps): react_jsx_runtime135.JSX.Element;
14
+ }: ToggleGroupRootProps): react_jsx_runtime199.JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  type ToggleGroupItemProps = React.ComponentProps<typeof Toggle> & {
@@ -26,7 +26,7 @@ declare const ToggleGroupItem: {
26
26
  variant,
27
27
  size,
28
28
  ...props
29
- }: ToggleGroupItemProps): react_jsx_runtime135.JSX.Element;
29
+ }: ToggleGroupItemProps): react_jsx_runtime199.JSX.Element;
30
30
  displayName: string;
31
31
  };
32
32
  //#endregion
package/dist/toggle.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ControlSize, ControlVariant } from "./lib/control-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime117 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime270 from "react/jsx-runtime";
4
4
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
5
5
 
6
6
  //#region src/components/toggle.d.ts
@@ -16,7 +16,7 @@ declare const Toggle: {
16
16
  variant,
17
17
  size,
18
18
  ...props
19
- }: ToggleProps): react_jsx_runtime117.JSX.Element;
19
+ }: ToggleProps): react_jsx_runtime270.JSX.Element;
20
20
  displayName: string;
21
21
  };
22
22
  //#endregion
package/dist/toolbar.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ControlSize, ControlVariant } from "./lib/control-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime137 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime264 from "react/jsx-runtime";
4
4
  import { Toolbar } from "@base-ui/react/toolbar";
5
5
 
6
6
  //#region src/components/toolbar.d.ts
@@ -9,7 +9,7 @@ declare const ToolbarRoot: {
9
9
  ({
10
10
  className,
11
11
  ...props
12
- }: ToolbarRootProps): react_jsx_runtime137.JSX.Element;
12
+ }: ToolbarRootProps): react_jsx_runtime264.JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  type ToolbarButtonProps = React.ComponentProps<typeof Toolbar.Button> & {
@@ -24,7 +24,7 @@ declare const ToolbarButton: {
24
24
  variant,
25
25
  size,
26
26
  ...props
27
- }: ToolbarButtonProps): react_jsx_runtime137.JSX.Element;
27
+ }: ToolbarButtonProps): react_jsx_runtime264.JSX.Element;
28
28
  displayName: string;
29
29
  };
30
30
  type ToolbarLinkProps = React.ComponentProps<typeof Toolbar.Link>;
@@ -32,7 +32,7 @@ declare const ToolbarLink: {
32
32
  ({
33
33
  className,
34
34
  ...props
35
- }: ToolbarLinkProps): react_jsx_runtime137.JSX.Element;
35
+ }: ToolbarLinkProps): react_jsx_runtime264.JSX.Element;
36
36
  displayName: string;
37
37
  };
38
38
  type ToolbarInputProps = React.ComponentProps<typeof Toolbar.Input>;
@@ -40,7 +40,7 @@ declare const ToolbarInput: {
40
40
  ({
41
41
  className,
42
42
  ...props
43
- }: ToolbarInputProps): react_jsx_runtime137.JSX.Element;
43
+ }: ToolbarInputProps): react_jsx_runtime264.JSX.Element;
44
44
  displayName: string;
45
45
  };
46
46
  type ToolbarGroupProps = React.ComponentProps<typeof Toolbar.Group>;
@@ -48,7 +48,7 @@ declare const ToolbarGroup: {
48
48
  ({
49
49
  className,
50
50
  ...props
51
- }: ToolbarGroupProps): react_jsx_runtime137.JSX.Element;
51
+ }: ToolbarGroupProps): react_jsx_runtime264.JSX.Element;
52
52
  displayName: string;
53
53
  };
54
54
  type ToolbarSeparatorProps = React.ComponentProps<typeof Toolbar.Separator>;
@@ -56,7 +56,7 @@ declare const ToolbarSeparator: {
56
56
  ({
57
57
  className,
58
58
  ...props
59
- }: ToolbarSeparatorProps): react_jsx_runtime137.JSX.Element;
59
+ }: ToolbarSeparatorProps): react_jsx_runtime264.JSX.Element;
60
60
  displayName: string;
61
61
  };
62
62
  //#endregion
package/dist/toolbar.js CHANGED
@@ -9,7 +9,7 @@ import { Toolbar } from "@base-ui/react/toolbar";
9
9
  //#region src/components/toolbar.tsx
10
10
  const ToolbarRoot = ({ className, ...props }) => {
11
11
  return /* @__PURE__ */ jsx(Toolbar.Root, {
12
- className: cn("flex items-center gap-1 flex-wrap rounded-md border border-border bg-muted p-1", className),
12
+ className: cn("flex items-center gap-1 flex-wrap rounded-md border border-border p-1", className),
13
13
  ...props
14
14
  });
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.js","names":["BaseToolbar"],"sources":["../src/components/toolbar.tsx"],"sourcesContent":["'use client'\n\nimport { Toolbar as BaseToolbar } from '@base-ui/react/toolbar'\nimport * as React from 'react'\n\nimport {\n type ControlSize,\n type ControlVariant,\n controlVariants,\n} from '../lib/control-variants'\nimport { cn } from '../lib/utils'\n\n// ============================================================================\n// ToolbarRoot\n// ============================================================================\n\ntype ToolbarRootProps = React.ComponentProps<typeof BaseToolbar.Root>\n\nconst ToolbarRoot = ({ className, ...props }: ToolbarRootProps) => {\n return (\n <BaseToolbar.Root\n className={cn(\n 'flex items-center gap-1 flex-wrap rounded-md border border-border bg-muted p-1',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarRoot.displayName = 'ToolbarRoot'\n\n// ============================================================================\n// ToolbarButton\n// ============================================================================\n\ntype ToolbarButtonProps = React.ComponentProps<typeof BaseToolbar.Button> & {\n /** Visual style of the toolbar button */\n variant?: ControlVariant\n /** Size of the toolbar button */\n size?: ControlSize\n}\n\nconst ToolbarButton = ({\n className,\n variant = 'ghost',\n size,\n ...props\n}: ToolbarButtonProps) => {\n return (\n <BaseToolbar.Button\n className={cn(controlVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nToolbarButton.displayName = 'ToolbarButton'\n\n// ============================================================================\n// ToolbarLink\n// ============================================================================\n\ntype ToolbarLinkProps = React.ComponentProps<typeof BaseToolbar.Link>\n\nconst ToolbarLink = ({ className, ...props }: ToolbarLinkProps) => {\n return (\n <BaseToolbar.Link\n className={cn(\n 'text-sm text-muted-foreground no-underline hover:text-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarLink.displayName = 'ToolbarLink'\n\n// ============================================================================\n// ToolbarInput\n// ============================================================================\n\ntype ToolbarInputProps = React.ComponentProps<typeof BaseToolbar.Input>\n\nconst ToolbarInput = ({ className, ...props }: ToolbarInputProps) => {\n return (\n <BaseToolbar.Input\n className={cn(\n 'h-8 rounded-md border border-border bg-background px-2 text-sm outline-none',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarInput.displayName = 'ToolbarInput'\n\n// ============================================================================\n// ToolbarGroup\n// ============================================================================\n\ntype ToolbarGroupProps = React.ComponentProps<typeof BaseToolbar.Group>\n\nconst ToolbarGroup = ({ className, ...props }: ToolbarGroupProps) => {\n return (\n <BaseToolbar.Group className={cn('flex items-center gap-1', className)} {...props} />\n )\n}\n\nToolbarGroup.displayName = 'ToolbarGroup'\n\n// ============================================================================\n// ToolbarSeparator\n// ============================================================================\n\ntype ToolbarSeparatorProps = React.ComponentProps<typeof BaseToolbar.Separator>\n\nconst ToolbarSeparator = ({ className, ...props }: ToolbarSeparatorProps) => {\n return (\n <BaseToolbar.Separator\n className={cn('mx-1 h-4 w-px shrink-0 bg-border', className)}\n {...props}\n />\n )\n}\n\nToolbarSeparator.displayName = 'ToolbarSeparator'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport {\n ToolbarRoot,\n ToolbarButton,\n ToolbarLink,\n ToolbarInput,\n ToolbarGroup,\n ToolbarSeparator,\n}\n\nexport type {\n ToolbarRootProps,\n ToolbarButtonProps,\n ToolbarLinkProps,\n ToolbarInputProps,\n ToolbarGroupProps,\n ToolbarSeparatorProps,\n}\n"],"mappings":";;;;;;;;;AAkBA,MAAM,eAAe,EAAE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,kFACA,UACD;EACD,GAAI;GACJ;;AAIN,YAAY,cAAc;AAa1B,MAAM,iBAAiB,EACrB,WACA,UAAU,SACV,MACA,GAAG,YACqB;AACxB,QACE,oBAACA,QAAY;EACX,WAAW,GAAG,gBAAgB;GAAE;GAAS;GAAM,CAAC,EAAE,UAAU;EAC5D,GAAI;GACJ;;AAIN,cAAc,cAAc;AAQ5B,MAAM,eAAe,EAAE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,oEACA,UACD;EACD,GAAI;GACJ;;AAIN,YAAY,cAAc;AAQ1B,MAAM,gBAAgB,EAAE,WAAW,GAAG,YAA+B;AACnE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,aAAa,cAAc;AAQ3B,MAAM,gBAAgB,EAAE,WAAW,GAAG,YAA+B;AACnE,QACE,oBAACA,QAAY;EAAM,WAAW,GAAG,2BAA2B,UAAU;EAAE,GAAI;GAAS;;AAIzF,aAAa,cAAc;AAQ3B,MAAM,oBAAoB,EAAE,WAAW,GAAG,YAAmC;AAC3E,QACE,oBAACA,QAAY;EACX,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,iBAAiB,cAAc"}
1
+ {"version":3,"file":"toolbar.js","names":["BaseToolbar"],"sources":["../src/components/toolbar.tsx"],"sourcesContent":["'use client'\n\nimport { Toolbar as BaseToolbar } from '@base-ui/react/toolbar'\nimport * as React from 'react'\n\nimport {\n type ControlSize,\n type ControlVariant,\n controlVariants,\n} from '../lib/control-variants'\nimport { cn } from '../lib/utils'\n\n// ============================================================================\n// ToolbarRoot\n// ============================================================================\n\ntype ToolbarRootProps = React.ComponentProps<typeof BaseToolbar.Root>\n\nconst ToolbarRoot = ({ className, ...props }: ToolbarRootProps) => {\n return (\n <BaseToolbar.Root\n className={cn(\n 'flex items-center gap-1 flex-wrap rounded-md border border-border p-1',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarRoot.displayName = 'ToolbarRoot'\n\n// ============================================================================\n// ToolbarButton\n// ============================================================================\n\ntype ToolbarButtonProps = React.ComponentProps<typeof BaseToolbar.Button> & {\n /** Visual style of the toolbar button */\n variant?: ControlVariant\n /** Size of the toolbar button */\n size?: ControlSize\n}\n\nconst ToolbarButton = ({\n className,\n variant = 'ghost',\n size,\n ...props\n}: ToolbarButtonProps) => {\n return (\n <BaseToolbar.Button\n className={cn(controlVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nToolbarButton.displayName = 'ToolbarButton'\n\n// ============================================================================\n// ToolbarLink\n// ============================================================================\n\ntype ToolbarLinkProps = React.ComponentProps<typeof BaseToolbar.Link>\n\nconst ToolbarLink = ({ className, ...props }: ToolbarLinkProps) => {\n return (\n <BaseToolbar.Link\n className={cn(\n 'text-sm text-muted-foreground no-underline hover:text-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarLink.displayName = 'ToolbarLink'\n\n// ============================================================================\n// ToolbarInput\n// ============================================================================\n\ntype ToolbarInputProps = React.ComponentProps<typeof BaseToolbar.Input>\n\nconst ToolbarInput = ({ className, ...props }: ToolbarInputProps) => {\n return (\n <BaseToolbar.Input\n className={cn(\n 'h-8 rounded-md border border-border bg-background px-2 text-sm outline-none',\n className,\n )}\n {...props}\n />\n )\n}\n\nToolbarInput.displayName = 'ToolbarInput'\n\n// ============================================================================\n// ToolbarGroup\n// ============================================================================\n\ntype ToolbarGroupProps = React.ComponentProps<typeof BaseToolbar.Group>\n\nconst ToolbarGroup = ({ className, ...props }: ToolbarGroupProps) => {\n return (\n <BaseToolbar.Group className={cn('flex items-center gap-1', className)} {...props} />\n )\n}\n\nToolbarGroup.displayName = 'ToolbarGroup'\n\n// ============================================================================\n// ToolbarSeparator\n// ============================================================================\n\ntype ToolbarSeparatorProps = React.ComponentProps<typeof BaseToolbar.Separator>\n\nconst ToolbarSeparator = ({ className, ...props }: ToolbarSeparatorProps) => {\n return (\n <BaseToolbar.Separator\n className={cn('mx-1 h-4 w-px shrink-0 bg-border', className)}\n {...props}\n />\n )\n}\n\nToolbarSeparator.displayName = 'ToolbarSeparator'\n\n// ============================================================================\n// Exports\n// ============================================================================\n\nexport {\n ToolbarRoot,\n ToolbarButton,\n ToolbarLink,\n ToolbarInput,\n ToolbarGroup,\n ToolbarSeparator,\n}\n\nexport type {\n ToolbarRootProps,\n ToolbarButtonProps,\n ToolbarLinkProps,\n ToolbarInputProps,\n ToolbarGroupProps,\n ToolbarSeparatorProps,\n}\n"],"mappings":";;;;;;;;;AAkBA,MAAM,eAAe,EAAE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,yEACA,UACD;EACD,GAAI;GACJ;;AAIN,YAAY,cAAc;AAa1B,MAAM,iBAAiB,EACrB,WACA,UAAU,SACV,MACA,GAAG,YACqB;AACxB,QACE,oBAACA,QAAY;EACX,WAAW,GAAG,gBAAgB;GAAE;GAAS;GAAM,CAAC,EAAE,UAAU;EAC5D,GAAI;GACJ;;AAIN,cAAc,cAAc;AAQ5B,MAAM,eAAe,EAAE,WAAW,GAAG,YAA8B;AACjE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,oEACA,UACD;EACD,GAAI;GACJ;;AAIN,YAAY,cAAc;AAQ1B,MAAM,gBAAgB,EAAE,WAAW,GAAG,YAA+B;AACnE,QACE,oBAACA,QAAY;EACX,WAAW,GACT,+EACA,UACD;EACD,GAAI;GACJ;;AAIN,aAAa,cAAc;AAQ3B,MAAM,gBAAgB,EAAE,WAAW,GAAG,YAA+B;AACnE,QACE,oBAACA,QAAY;EAAM,WAAW,GAAG,2BAA2B,UAAU;EAAE,GAAI;GAAS;;AAIzF,aAAa,cAAc;AAQ3B,MAAM,oBAAoB,EAAE,WAAW,GAAG,YAAmC;AAC3E,QACE,oBAACA,QAAY;EACX,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,iBAAiB,cAAc"}
package/dist/tooltip.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { TooltipVariant } from "./lib/tooltip-variants.js";
2
2
  import * as React from "react";
3
- import * as react_jsx_runtime143 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime225 from "react/jsx-runtime";
4
4
  import { Tooltip } from "@base-ui/react/tooltip";
5
5
 
6
6
  //#region src/components/tooltip.d.ts
7
7
  type TooltipProviderProps = React.ComponentProps<typeof Tooltip.Provider>;
8
8
  declare const TooltipProvider: {
9
- (props: TooltipProviderProps): react_jsx_runtime143.JSX.Element;
9
+ (props: TooltipProviderProps): react_jsx_runtime225.JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  type TooltipRootProps = React.ComponentProps<typeof Tooltip.Root> & {
@@ -16,7 +16,7 @@ declare const TooltipRoot: {
16
16
  ({
17
17
  variant,
18
18
  ...props
19
- }: TooltipRootProps): react_jsx_runtime143.JSX.Element;
19
+ }: TooltipRootProps): react_jsx_runtime225.JSX.Element;
20
20
  displayName: string;
21
21
  };
22
22
  type TooltipTriggerProps = React.ComponentProps<typeof Tooltip.Trigger>;
@@ -24,12 +24,12 @@ declare const TooltipTrigger: {
24
24
  ({
25
25
  className,
26
26
  ...props
27
- }: TooltipTriggerProps): react_jsx_runtime143.JSX.Element;
27
+ }: TooltipTriggerProps): react_jsx_runtime225.JSX.Element;
28
28
  displayName: string;
29
29
  };
30
30
  type TooltipPortalProps = React.ComponentProps<typeof Tooltip.Portal>;
31
31
  declare const TooltipPortal: {
32
- (props: TooltipPortalProps): react_jsx_runtime143.JSX.Element;
32
+ (props: TooltipPortalProps): react_jsx_runtime225.JSX.Element;
33
33
  displayName: string;
34
34
  };
35
35
  type TooltipPositionerProps = React.ComponentProps<typeof Tooltip.Positioner>;
@@ -37,7 +37,7 @@ declare const TooltipPositioner: {
37
37
  ({
38
38
  className,
39
39
  ...props
40
- }: TooltipPositionerProps): react_jsx_runtime143.JSX.Element;
40
+ }: TooltipPositionerProps): react_jsx_runtime225.JSX.Element;
41
41
  displayName: string;
42
42
  };
43
43
  type TooltipPopupProps = React.ComponentProps<typeof Tooltip.Popup> & {
@@ -48,7 +48,7 @@ declare const TooltipPopup: {
48
48
  className,
49
49
  variant,
50
50
  ...props
51
- }: TooltipPopupProps): react_jsx_runtime143.JSX.Element;
51
+ }: TooltipPopupProps): react_jsx_runtime225.JSX.Element;
52
52
  displayName: string;
53
53
  };
54
54
  type TooltipArrowProps = React.ComponentProps<typeof Tooltip.Arrow> & {
@@ -59,7 +59,7 @@ declare const TooltipArrow: {
59
59
  className,
60
60
  variant,
61
61
  ...props
62
- }: TooltipArrowProps): react_jsx_runtime143.JSX.Element;
62
+ }: TooltipArrowProps): react_jsx_runtime225.JSX.Element;
63
63
  displayName: string;
64
64
  };
65
65
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lglab/compose-ui",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "A collection of components built with Base UI & Tailwind CSS",
5
5
  "author": "LGLab",
6
6
  "license": "MIT",