@godxjp/ui 9.1.0 → 9.2.0

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 (52) hide show
  1. package/dist/app/index.d.ts +1 -1
  2. package/dist/{app.prop-DnIXFzLi.d.ts → app.prop-UTc4j4nj.d.ts} +5 -0
  3. package/dist/aspect-ratio-CZZJd9Km.d.ts +9 -0
  4. package/dist/{chunk-442ULAA6.js → chunk-26WDEDWL.js} +112 -41
  5. package/dist/{chunk-56NYZNVY.js → chunk-6HQMUUQW.js} +122 -43
  6. package/dist/{chunk-VN72SWHX.js → chunk-6MCI7W5G.js} +14 -2
  7. package/dist/{chunk-5D42MFB4.js → chunk-FVPCVZL3.js} +71 -2
  8. package/dist/{chunk-KXOAZGPA.js → chunk-G6Q32VHO.js} +2 -2
  9. package/dist/chunk-QWLXN6CT.js +162 -0
  10. package/dist/{chunk-FRU44GA2.js → chunk-XK3M3VRR.js} +16 -2
  11. package/dist/components/admin/index.d.ts +3 -3
  12. package/dist/components/admin/index.js +19 -19
  13. package/dist/components/data-display/card.d.ts +2 -2
  14. package/dist/components/data-display/index.js +2 -2
  15. package/dist/components/data-entry/cascader.js +1 -1
  16. package/dist/components/data-entry/index.d.ts +1 -1
  17. package/dist/components/data-entry/index.js +12 -12
  18. package/dist/components/data-entry/transfer.js +2 -2
  19. package/dist/components/data-entry/tree-select.js +1 -1
  20. package/dist/components/data-entry/upload.js +4 -4
  21. package/dist/components/feedback/alert.js +2 -2
  22. package/dist/components/feedback/dialog.d.ts +20 -1
  23. package/dist/components/feedback/dialog.js +2 -2
  24. package/dist/components/feedback/index.d.ts +9 -17
  25. package/dist/components/feedback/index.js +6 -6
  26. package/dist/components/layout/index.d.ts +25 -10
  27. package/dist/components/layout/index.js +3 -3
  28. package/dist/components/navigation/index.d.ts +5 -5
  29. package/dist/components/navigation/index.js +3 -3
  30. package/dist/components/navigation/pagination.d.ts +20 -2
  31. package/dist/components/navigation/pagination.js +1 -1
  32. package/dist/components/query/index.js +2 -2
  33. package/dist/components/ui/index.d.ts +9 -6
  34. package/dist/components/ui/index.js +18 -17
  35. package/dist/{filter-bar-BycYH10i.d.ts → filter-bar-B5TPUqEO.d.ts} +1 -1
  36. package/dist/index.d.ts +3 -3
  37. package/dist/index.js +26 -26
  38. package/dist/{inline-DCqn4O29.d.ts → inline-CDSVAN54.d.ts} +1 -1
  39. package/dist/{layout.prop-DwJKI6ka.d.ts → layout.prop-JE2TcRyL.d.ts} +8 -2
  40. package/dist/{toggle-group-BulJgKh3.d.ts → password-strength-kQkloEeo.d.ts} +22 -1
  41. package/dist/props/components/index.d.ts +2 -2
  42. package/dist/props/index.d.ts +2 -2
  43. package/dist/styles/data-entry-layout.css +71 -0
  44. package/dist/styles/layout.css +48 -0
  45. package/dist/tooltip-Bf2KjRy8.d.ts +14 -0
  46. package/package.json +2 -1
  47. package/dist/aspect-ratio-DGoYrOry.d.ts +0 -6
  48. package/dist/chunk-FYM3MJSK.js +0 -59
  49. package/dist/{chunk-INSF6K3Y.js → chunk-457KVJTX.js} +1 -1
  50. package/dist/{chunk-ZRRLOOBX.js → chunk-E7HBHUJY.js} +1 -1
  51. package/dist/{chunk-6YK3IJXW.js → chunk-ETLAI3QU.js} +0 -0
  52. package/dist/{chunk-JBHXILI4.js → chunk-S6TBIL7J.js} +1 -1
@@ -0,0 +1,14 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React from 'react';
3
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
+
5
+ /** Opt-in provider for tuning delay across a subtree. Each <Tooltip> already self-provides. */
6
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
7
+ /** Self-contained tooltip — no app-level provider needed. Controllable via `open`/`onOpenChange`. */
8
+ declare function Tooltip({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Root> & {
9
+ delayDuration?: number;
10
+ }): react_jsx_runtime.JSX.Element;
11
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
12
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+
14
+ export { Tooltip as T, TooltipContent as a, TooltipProvider as b, TooltipTrigger as c };
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "type": "module",
5
+ "sideEffects": false,
5
6
  "description": "@godxjp/ui — shared React UI framework (shadcn + Radix + Tailwind v4).",
6
7
  "files": [
7
8
  "dist",
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
3
-
4
- declare const AspectRatio: React.ForwardRefExoticComponent<Omit<AspectRatioPrimitive.AspectRatioProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
-
6
- export { AspectRatio as A };
@@ -1,59 +0,0 @@
1
- import { cn } from './chunk-U7N2A7A3.js';
2
- import * as React2 from 'react';
3
- import * as TogglePrimitive from '@radix-ui/react-toggle';
4
- import { cva } from 'class-variance-authority';
5
- import { jsx } from 'react/jsx-runtime';
6
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
7
-
8
- var toggleVariants = cva("ui-toggle", {
9
- variants: {
10
- variant: {
11
- default: "ui-toggle-default",
12
- outline: "ui-toggle-outline"
13
- },
14
- size: {
15
- sm: "ui-toggle-sm",
16
- default: "ui-toggle-default-size",
17
- lg: "ui-toggle-lg"
18
- }
19
- },
20
- defaultVariants: {
21
- variant: "default",
22
- size: "default"
23
- }
24
- });
25
- var Toggle = React2.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
26
- TogglePrimitive.Root,
27
- {
28
- ref,
29
- "data-slot": "toggle",
30
- className: cn(toggleVariants({ variant, size }), className),
31
- ...props
32
- }
33
- ));
34
- Toggle.displayName = TogglePrimitive.Root.displayName;
35
- var ToggleGroup = React2.forwardRef(({ className, variant = "default", size = "default", children, ...props }, ref) => /* @__PURE__ */ jsx(
36
- ToggleGroupPrimitive.Root,
37
- {
38
- ref,
39
- "data-slot": "toggle-group",
40
- "data-variant": variant,
41
- "data-size": size,
42
- className: cn("ui-toggle-group", className),
43
- ...props,
44
- children
45
- }
46
- ));
47
- ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
48
- var ToggleGroupItem = React2.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
49
- ToggleGroupPrimitive.Item,
50
- {
51
- ref,
52
- "data-slot": "toggle-group-item",
53
- className: cn(toggleVariants({ variant, size }), className),
54
- ...props
55
- }
56
- ));
57
- ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
58
-
59
- export { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants };
@@ -3,8 +3,8 @@ import { Checkbox } from './chunk-O24Z3ULJ.js';
3
3
  import { Input } from './chunk-VOHTRR5X.js';
4
4
  import { Button } from './chunk-M4PZNAMV.js';
5
5
  import { ScrollArea } from './chunk-3KPEZ5CF.js';
6
- import { Label } from './chunk-7PWBC4BY.js';
7
6
  import { useTranslation } from './chunk-RLGHEV4A.js';
7
+ import { Label } from './chunk-7PWBC4BY.js';
8
8
  import { useDebouncedValue } from './chunk-LFW37FGG.js';
9
9
  import { cn } from './chunk-U7N2A7A3.js';
10
10
  import * as React from 'react';
@@ -1,6 +1,6 @@
1
1
  import { humanError } from './chunk-4R7QL3MW.js';
2
- import { Inline } from './chunk-TILFZBTE.js';
3
2
  import { Button } from './chunk-M4PZNAMV.js';
3
+ import { Inline } from './chunk-TILFZBTE.js';
4
4
  import { useTranslation } from './chunk-RLGHEV4A.js';
5
5
  import { cn } from './chunk-U7N2A7A3.js';
6
6
  import * as React from 'react';
File without changes
@@ -1,5 +1,5 @@
1
- import { Inline, densityClass } from './chunk-TILFZBTE.js';
2
1
  import { Button } from './chunk-M4PZNAMV.js';
2
+ import { Inline, densityClass } from './chunk-TILFZBTE.js';
3
3
  import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-4MMIMZMK.js';
4
4
  import { tableCellPaddingClass, tableRowHeightClass, controlIconSmClass } from './chunk-IBK5D2Q6.js';
5
5
  import { useTranslation } from './chunk-RLGHEV4A.js';