@oneplatformdev/ui 0.1.10-36 → 0.1.10-38
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/Button/Button.js +4 -3
- package/Button/Button.js.map +1 -1
- package/ButtonIcon/ButtonIcon.js +3 -2
- package/ButtonIcon/ButtonIcon.js.map +1 -1
- package/CHANGELOG.md +16 -0
- package/Tooltip/Tooltip.d.ts +2 -1
- package/Tooltip/Tooltip.d.ts.map +1 -1
- package/Tooltip/Tooltip.js +56 -9
- package/Tooltip/Tooltip.js.map +1 -1
- package/Tooltip/Tooltip.types.d.ts +5 -2
- package/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/Tooltip/Tooltip.types.js +4 -1
- package/Tooltip/Tooltip.types.js.map +1 -1
- package/Tooltip/index.js +2 -1
- package/index.js +11 -10
- package/package.json +4 -4
package/Button/Button.js
CHANGED
|
@@ -4,20 +4,21 @@ import { Slot as u } from "@radix-ui/react-slot";
|
|
|
4
4
|
import { cn as c } from "@oneplatformdev/utils";
|
|
5
5
|
import { buttonVariants as l } from "./buttonVariants.js";
|
|
6
6
|
import { TooltipRoot as d } from "../Tooltip/TooltipRoot.js";
|
|
7
|
+
import "lucide-react";
|
|
7
8
|
const y = i.forwardRef(
|
|
8
|
-
({ disabled: o, className: a, variant: e, size:
|
|
9
|
+
({ disabled: o, className: a, variant: e, size: p, asChild: n = !1, title: t = "", tooltip: r, ...s }, f) => /* @__PURE__ */ m(
|
|
9
10
|
d,
|
|
10
11
|
{
|
|
11
12
|
open: o || !t && !r ? !1 : void 0,
|
|
12
13
|
message: r || t,
|
|
13
14
|
delay: 300,
|
|
14
15
|
children: /* @__PURE__ */ m(
|
|
15
|
-
|
|
16
|
+
n ? u : "button",
|
|
16
17
|
{
|
|
17
18
|
type: "button",
|
|
18
19
|
ref: f,
|
|
19
20
|
disabled: o,
|
|
20
|
-
className: c(l({ variant: e, size:
|
|
21
|
+
className: c(l({ variant: e, size: p, className: a })),
|
|
21
22
|
...s
|
|
22
23
|
}
|
|
23
24
|
)
|
package/Button/Button.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../src/Button/Button.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\n\nimport { cn } from \"@oneplatformdev/utils\"\nimport { buttonVariants } from './buttonVariants';\nimport { ButtonProps } from './Button.types';\n\nimport { TooltipRoot } from '../Tooltip';\n\n// TODO: create ButtonIcon component | update button | add start/end icon\nexport const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ disabled, className, variant, size, asChild = false, title = '', tooltip, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\"\n return (\n <TooltipRoot\n open={(disabled || (!title && !tooltip)) ? false : undefined}\n message={tooltip || title}\n delay={300}\n >\n <Comp\n type='button'\n ref={ref}\n disabled={disabled}\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n </TooltipRoot>\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport default Button;\n"],"names":["Button","React","disabled","className","variant","size","asChild","title","tooltip","props","ref","jsx","TooltipRoot","Slot","cn","buttonVariants"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.js","sources":["../../src/Button/Button.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Slot } from \"@radix-ui/react-slot\"\n\nimport { cn } from \"@oneplatformdev/utils\"\nimport { buttonVariants } from './buttonVariants';\nimport { ButtonProps } from './Button.types';\n\nimport { TooltipRoot } from '../Tooltip';\n\n// TODO: create ButtonIcon component | update button | add start/end icon\nexport const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ disabled, className, variant, size, asChild = false, title = '', tooltip, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\"\n return (\n <TooltipRoot\n open={(disabled || (!title && !tooltip)) ? false : undefined}\n message={tooltip || title}\n delay={300}\n >\n <Comp\n type='button'\n ref={ref}\n disabled={disabled}\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n </TooltipRoot>\n )\n }\n)\nButton.displayName = \"Button\"\n\nexport default Button;\n"],"names":["Button","React","disabled","className","variant","size","asChild","title","tooltip","props","ref","jsx","TooltipRoot","Slot","cn","buttonVariants"],"mappings":";;;;;;;AAUO,MAAMA,IAASC,EAAM;AAAA,EAC1B,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAO,OAAAC,IAAQ,IAAI,SAAAC,GAAS,GAAGC,EAAA,GAASC,MAGrF,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAOV,KAAa,CAACK,KAAS,CAACC,IAAY,KAAQ;AAAA,MACnD,SAASA,KAAWD;AAAA,MACpB,OAAO;AAAA,MAEP,UAAA,gBAAAI;AAAA,QAPSL,IAAUO,IAAO;AAAA,QAOzB;AAAA,UACC,MAAK;AAAA,UACL,KAAAH;AAAA,UACA,UAAAR;AAAA,UACA,WAAWY,EAAGC,EAAe,EAAE,SAAAX,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,UACzD,GAAGM;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAIR;AACAT,EAAO,cAAc;"}
|
package/ButtonIcon/ButtonIcon.js
CHANGED
|
@@ -3,8 +3,9 @@ import * as f from "react";
|
|
|
3
3
|
import { cn as l } from "@oneplatformdev/utils";
|
|
4
4
|
import { buttonIconVariants as u } from "./buttonIconVariants.js";
|
|
5
5
|
import { TooltipRoot as d } from "../Tooltip/TooltipRoot.js";
|
|
6
|
+
import "lucide-react";
|
|
6
7
|
const h = f.forwardRef(
|
|
7
|
-
({ disabled: o, className:
|
|
8
|
+
({ disabled: o, className: m, variant: e, color: p, size: a, rounded: s, title: t = "", tooltip: r, ...i }, c) => /* @__PURE__ */ n(
|
|
8
9
|
d,
|
|
9
10
|
{
|
|
10
11
|
open: o || !t && !r ? !1 : void 0,
|
|
@@ -13,7 +14,7 @@ const h = f.forwardRef(
|
|
|
13
14
|
children: /* @__PURE__ */ n(
|
|
14
15
|
"button",
|
|
15
16
|
{
|
|
16
|
-
className: l(u({ variant:
|
|
17
|
+
className: l(u({ variant: e, size: a, color: p, disabled: o, rounded: s, className: m })),
|
|
17
18
|
ref: c,
|
|
18
19
|
disabled: !!o,
|
|
19
20
|
...i
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIcon.js","sources":["../../src/ButtonIcon/ButtonIcon.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@oneplatformdev/utils\"\nimport { buttonIconVariants } from './buttonIconVariants';\nimport { ButtonIconProps } from './ButtonIcon.types';\n\nimport { TooltipRoot } from '../Tooltip';\n\nexport const ButtonIcon = React.forwardRef<HTMLButtonElement, ButtonIconProps>(\n ({ disabled, className, variant, color, size, rounded, title = '', tooltip, ...props }, ref) => {\n const shouldTooltipOpen = (disabled || (!title && !tooltip)) ? false : undefined;\n return (\n <TooltipRoot\n open={shouldTooltipOpen}\n message={tooltip || title}\n delay={300}\n >\n <button\n className={cn(buttonIconVariants({ variant, size, color, disabled, rounded, className }))}\n ref={ref}\n disabled={Boolean(disabled)}\n {...props}\n />\n </TooltipRoot>\n )\n }\n)\nButtonIcon.displayName = \"Button\"\n"],"names":["ButtonIcon","React","disabled","className","variant","color","size","rounded","title","tooltip","props","ref","jsx","TooltipRoot","cn","buttonIconVariants"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ButtonIcon.js","sources":["../../src/ButtonIcon/ButtonIcon.tsx"],"sourcesContent":["import * as React from \"react\"\n\nimport { cn } from \"@oneplatformdev/utils\"\nimport { buttonIconVariants } from './buttonIconVariants';\nimport { ButtonIconProps } from './ButtonIcon.types';\n\nimport { TooltipRoot } from '../Tooltip';\n\nexport const ButtonIcon = React.forwardRef<HTMLButtonElement, ButtonIconProps>(\n ({ disabled, className, variant, color, size, rounded, title = '', tooltip, ...props }, ref) => {\n const shouldTooltipOpen = (disabled || (!title && !tooltip)) ? false : undefined;\n return (\n <TooltipRoot\n open={shouldTooltipOpen}\n message={tooltip || title}\n delay={300}\n >\n <button\n className={cn(buttonIconVariants({ variant, size, color, disabled, rounded, className }))}\n ref={ref}\n disabled={Boolean(disabled)}\n {...props}\n />\n </TooltipRoot>\n )\n }\n)\nButtonIcon.displayName = \"Button\"\n"],"names":["ButtonIcon","React","disabled","className","variant","color","size","rounded","title","tooltip","props","ref","jsx","TooltipRoot","cn","buttonIconVariants"],"mappings":";;;;;;AAQO,MAAMA,IAAaC,EAAM;AAAA,EAC9B,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,SAAAC,GAAS,OAAAC,GAAO,MAAAC,GAAM,SAAAC,GAAS,OAAAC,IAAQ,IAAI,SAAAC,GAAS,GAAGC,EAAA,GAASC,MAGpF,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAHuBX,KAAa,CAACM,KAAS,CAACC,IAAY,KAAQ;AAAA,MAInE,SAASA,KAAWD;AAAA,MACpB,OAAO;AAAA,MAEP,UAAA,gBAAAI;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAWE,EAAGC,EAAmB,EAAE,SAAAX,GAAS,MAAAE,GAAM,OAAAD,GAAO,UAAAH,GAAU,SAAAK,GAAS,WAAAJ,EAAA,CAAW,CAAC;AAAA,UACxF,KAAAQ;AAAA,UACA,UAAU,EAAQT;AAAA,UACjB,GAAGQ;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAIR;AACAV,EAAW,cAAc;"}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 0.1.10-38 (2025-10-02)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated @oneplatformdev/utils to 0.1.1-87
|
|
6
|
+
- Updated @oneplatformdev/hooks to 0.1.0-73
|
|
7
|
+
- Updated @oneplatformdev/tokens to 0.0.1-60
|
|
8
|
+
|
|
9
|
+
## 0.1.10-37 (2025-10-02)
|
|
10
|
+
|
|
11
|
+
### 🧱 Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated @oneplatformdev/utils to 0.1.1-86
|
|
14
|
+
- Updated @oneplatformdev/hooks to 0.1.0-72
|
|
15
|
+
- Updated @oneplatformdev/tokens to 0.0.1-59
|
|
16
|
+
|
|
1
17
|
## 0.1.10-36 (2025-10-02)
|
|
2
18
|
|
|
3
19
|
### 🧱 Updated Dependencies
|
package/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { TooltipProps } from './Tooltip.types';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const TooltipInner: (props: PropsWithChildren<TooltipProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Tooltip: (props: PropsWithChildren<TooltipProps>) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
5
|
//# sourceMappingURL=Tooltip.d.ts.map
|
package/Tooltip/Tooltip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip/Tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgC,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAGnF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,CAAC,YAAY,CAAC,4CAwClE,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,iBAAiB,CAAC,YAAY,CAAC,mDAS7D,CAAC"}
|
package/Tooltip/Tooltip.js
CHANGED
|
@@ -1,13 +1,60 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as r, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { CircleQuestionMarkIcon as m } from "lucide-react";
|
|
3
|
+
import { cn as i } from "@oneplatformdev/utils";
|
|
4
|
+
const l = (e) => {
|
|
5
|
+
const { triggerProps: t, contentProps: o, message: s, children: a, hiddenQuestionMark: c = !1, ...p } = e;
|
|
6
|
+
return /* @__PURE__ */ n(
|
|
7
|
+
TooltipRoot,
|
|
8
|
+
{
|
|
9
|
+
defaultOpen: !1,
|
|
10
|
+
delayDuration: 300,
|
|
11
|
+
disableHoverableContent: !0,
|
|
12
|
+
...p,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ n(
|
|
15
|
+
TooltipTrigger,
|
|
16
|
+
{
|
|
17
|
+
...t || {},
|
|
18
|
+
className: i(
|
|
19
|
+
"flex flex-row gap-1 w-fit",
|
|
20
|
+
"items-center",
|
|
21
|
+
"cursor-pointer",
|
|
22
|
+
"outline-none",
|
|
23
|
+
t?.className
|
|
24
|
+
),
|
|
25
|
+
type: "button",
|
|
26
|
+
children: [
|
|
27
|
+
a,
|
|
28
|
+
!c && /* @__PURE__ */ r(m, {})
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ r(
|
|
33
|
+
TooltipContent,
|
|
34
|
+
{
|
|
35
|
+
align: "center",
|
|
36
|
+
...o || {},
|
|
37
|
+
className: i(
|
|
38
|
+
"flex items-center justify-center",
|
|
39
|
+
"max-w-[320px] p-4 pb-3",
|
|
40
|
+
"bg-[#FCFCFC] border-none",
|
|
41
|
+
"shadow-[0px_4px_8px_rgba(13,14,43,0.125)]",
|
|
42
|
+
"text-[#363B4E] font-normal text-md leading-normal",
|
|
43
|
+
"whitespace-pre-wrap",
|
|
44
|
+
o?.className
|
|
45
|
+
),
|
|
46
|
+
children: s || ""
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}, x = (e) => {
|
|
53
|
+
const { message: t = "", skipProvider: o = !0 } = e;
|
|
54
|
+
return t ? o ? /* @__PURE__ */ r(l, { ...e }) : /* @__PURE__ */ r(TooltipProvider, { children: /* @__PURE__ */ r(l, { ...e }) }) : null;
|
|
9
55
|
};
|
|
10
56
|
export {
|
|
11
|
-
|
|
57
|
+
x as Tooltip,
|
|
58
|
+
l as TooltipInner
|
|
12
59
|
};
|
|
13
60
|
//# sourceMappingURL=Tooltip.js.map
|
package/Tooltip/Tooltip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":["../../src/Tooltip/Tooltip.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":["../../src/Tooltip/Tooltip.tsx"],"sourcesContent":["import { CircleQuestionMarkIcon } from 'lucide-react';\nimport { ComponentPropsWithoutRef, FC, PropsWithChildren, ReactNode } from \"react\";\n\nimport { cn } from \"@oneplatformdev/utils\";\nimport { TooltipProps } from \"./Tooltip.types\";\n\nexport const TooltipInner = (props: PropsWithChildren<TooltipProps>) => {\n const { triggerProps, contentProps, message, children, hiddenQuestionMark = false, ...rest } = props;\n return (\n <TooltipRoot\n defaultOpen={false}\n delayDuration={300}\n disableHoverableContent\n {...rest}\n >\n <TooltipTrigger\n {...(triggerProps || {})}\n className={cn(\n 'flex flex-row gap-1 w-fit',\n 'items-center',\n 'cursor-pointer',\n 'outline-none',\n triggerProps?.className\n )}\n type='button'\n >\n {children}\n {!hiddenQuestionMark && <CircleQuestionMarkIcon/>}\n </TooltipTrigger>\n <TooltipContent\n align=\"center\"\n {...(contentProps || {})}\n className={cn(\n 'flex items-center justify-center',\n 'max-w-[320px] p-4 pb-3',\n 'bg-[#FCFCFC] border-none',\n 'shadow-[0px_4px_8px_rgba(13,14,43,0.125)]',\n 'text-[#363B4E] font-normal text-md leading-normal',\n 'whitespace-pre-wrap',\n contentProps?.className\n )}\n >\n {message || ''}\n </TooltipContent>\n </TooltipRoot>\n );\n};\n\nexport const Tooltip = (props: PropsWithChildren<TooltipProps>) => {\n const { message = '', skipProvider = true } = props;\n if (!message) return null;\n if (skipProvider) return <TooltipInner {...props}/>;\n return (\n <TooltipProvider>\n <TooltipInner {...props}/>\n </TooltipProvider>\n );\n};\n"],"names":["TooltipInner","props","triggerProps","contentProps","message","children","hiddenQuestionMark","rest","jsxs","cn","jsx","CircleQuestionMarkIcon","Tooltip","skipProvider"],"mappings":";;;AAMO,MAAMA,IAAe,CAACC,MAA2C;AACtE,QAAM,EAAE,cAAAC,GAAc,cAAAC,GAAc,SAAAC,GAAS,UAAAC,GAAU,oBAAAC,IAAqB,IAAO,GAAGC,EAAA,IAASN;AAC/F,SACE,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAa;AAAA,MACb,eAAe;AAAA,MACf,yBAAuB;AAAA,MACtB,GAAGD;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAC;AAAA,UAAC;AAAA,UAAA;AAAA,YACE,GAAIN,KAAgB,CAAA;AAAA,YACrB,WAAWO;AAAA,cACT;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACAP,GAAc;AAAA,YAAA;AAAA,YAEhB,MAAK;AAAA,YAEJ,UAAA;AAAA,cAAAG;AAAA,cACA,CAACC,KAAsB,gBAAAI,EAACC,GAAA,CAAA,CAAsB;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjD,gBAAAD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,OAAM;AAAA,YACL,GAAIP,KAAgB,CAAA;AAAA,YACrB,WAAWM;AAAA,cACT;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACAN,GAAc;AAAA,YAAA;AAAA,YAGf,UAAAC,KAAW;AAAA,UAAA;AAAA,QAAA;AAAA,MACd;AAAA,IAAA;AAAA,EAAA;AAGN,GAEaQ,IAAU,CAACX,MAA2C;AACjE,QAAM,EAAE,SAAAG,IAAU,IAAI,cAAAS,IAAe,OAASZ;AAC9C,SAAKG,IACDS,IAAqB,gBAAAH,EAACV,GAAA,EAAc,GAAGC,EAAA,CAAM,sBAE9C,iBAAA,EACC,UAAA,gBAAAS,EAACV,GAAA,EAAc,GAAGC,GAAM,GAC1B,IALmB;AAOvB;"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { TooltipRoot } from './TooltipRoot';
|
|
3
|
+
export { TooltipRoot } from './TooltipRoot';
|
|
3
4
|
export interface TooltipProps extends ComponentPropsWithoutRef<typeof TooltipRoot> {
|
|
4
|
-
trigger?: ReactNode;
|
|
5
5
|
message?: ReactNode;
|
|
6
|
-
|
|
6
|
+
skipProvider?: boolean;
|
|
7
|
+
hiddenQuestionMark?: boolean;
|
|
8
|
+
contentProps?: ComponentPropsWithoutRef<typeof TooltipContent>;
|
|
9
|
+
triggerProps?: ComponentPropsWithoutRef<typeof TooltipTrigger>;
|
|
7
10
|
}
|
|
8
11
|
//# sourceMappingURL=Tooltip.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.types.d.ts","sourceRoot":"","sources":["../../src/Tooltip/Tooltip.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.types.d.ts","sourceRoot":"","sources":["../../src/Tooltip/Tooltip.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,WAAW,YAAa,SAAQ,wBAAwB,CAAC,OAAO,WAAW,CAAC;IAChF,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,wBAAwB,CAAC,OAAO,cAAc,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,wBAAwB,CAAC,OAAO,cAAc,CAAC,CAAC;CAChE"}
|
package/Tooltip/Tooltip.types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Tooltip.types.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/Tooltip/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TooltipContent as r, TooltipProvider as p, TooltipRoot as e, TooltipTrigger as T } from "./TooltipRoot.js";
|
|
2
|
-
import { Tooltip as m } from "./Tooltip.js";
|
|
2
|
+
import { Tooltip as m, TooltipInner as n } from "./Tooltip.js";
|
|
3
3
|
import * as o from "@radix-ui/react-tooltip";
|
|
4
4
|
export {
|
|
5
5
|
m as Tooltip,
|
|
6
6
|
r as TooltipContent,
|
|
7
|
+
n as TooltipInner,
|
|
7
8
|
o as TooltipPrimitive,
|
|
8
9
|
p as TooltipProvider,
|
|
9
10
|
e as TooltipRoot,
|
package/index.js
CHANGED
|
@@ -79,11 +79,11 @@ import { Toaster as Gn } from "./Toaster/Toaster.js";
|
|
|
79
79
|
import { Toggle as Hn, toggleVariants as yn } from "./Toggle/Toggle.js";
|
|
80
80
|
import { ToggleGroup as On, ToggleGroupItem as Vn } from "./ToggleGroup/ToggleGroup.js";
|
|
81
81
|
import { TooltipContent as zn, TooltipProvider as _n, TooltipRoot as Un, TooltipTrigger as Yn } from "./Tooltip/TooltipRoot.js";
|
|
82
|
-
import { Tooltip as qn } from "./Tooltip/Tooltip.js";
|
|
83
|
-
import { Dropzone as
|
|
84
|
-
import { DEFAULT_FILE_TYPES as
|
|
85
|
-
import { FormDropzone as
|
|
86
|
-
import { TablePagination as
|
|
82
|
+
import { Tooltip as qn, TooltipInner as Jn } from "./Tooltip/Tooltip.js";
|
|
83
|
+
import { Dropzone as Qn } from "./Dropzone/Dropzone.js";
|
|
84
|
+
import { DEFAULT_FILE_TYPES as Xn, DEFAULT_IMAGES_TYPES as Zn } from "./Dropzone/Dropzone.types.js";
|
|
85
|
+
import { FormDropzone as oi } from "./FormDropzone/FormDropzone.js";
|
|
86
|
+
import { TablePagination as ei } from "./TablePagination/TablePagination.js";
|
|
87
87
|
import * as o from "@radix-ui/react-dialog";
|
|
88
88
|
import * as r from "@radix-ui/react-dropdown-menu";
|
|
89
89
|
import * as e from "@radix-ui/react-label";
|
|
@@ -161,8 +161,8 @@ export {
|
|
|
161
161
|
Jo as CommandList,
|
|
162
162
|
Ko as CommandSeparator,
|
|
163
163
|
Qo as CommandShortcut,
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
Xn as DEFAULT_FILE_TYPES,
|
|
165
|
+
Zn as DEFAULT_IMAGES_TYPES,
|
|
166
166
|
Xo as DataTable,
|
|
167
167
|
$o as DatePicker,
|
|
168
168
|
rr as Dialog,
|
|
@@ -204,14 +204,14 @@ export {
|
|
|
204
204
|
Vr as DropdownMenuSubContent,
|
|
205
205
|
Er as DropdownMenuSubTrigger,
|
|
206
206
|
zr as DropdownMenuTrigger,
|
|
207
|
-
|
|
207
|
+
Qn as Dropzone,
|
|
208
208
|
Ur as Form,
|
|
209
209
|
oe as FormCheckbox,
|
|
210
210
|
ee as FormCombobox,
|
|
211
211
|
Yr as FormControl,
|
|
212
212
|
ae as FormDatePicker,
|
|
213
213
|
jr as FormDescription,
|
|
214
|
-
|
|
214
|
+
oi as FormDropzone,
|
|
215
215
|
qr as FormField,
|
|
216
216
|
ie as FormInput,
|
|
217
217
|
Jr as FormItem,
|
|
@@ -341,7 +341,7 @@ export {
|
|
|
341
341
|
on as TableFooter,
|
|
342
342
|
rn as TableHead,
|
|
343
343
|
en as TableHeader,
|
|
344
|
-
|
|
344
|
+
ei as TablePagination,
|
|
345
345
|
tn as TableRow,
|
|
346
346
|
gn as Tabs,
|
|
347
347
|
nn as TabsContent,
|
|
@@ -364,6 +364,7 @@ export {
|
|
|
364
364
|
Vn as ToggleGroupItem,
|
|
365
365
|
qn as Tooltip,
|
|
366
366
|
zn as TooltipContent,
|
|
367
|
+
Jn as TooltipInner,
|
|
367
368
|
n as TooltipPrimitive,
|
|
368
369
|
_n as TooltipProvider,
|
|
369
370
|
Un as TooltipRoot,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneplatformdev/ui",
|
|
3
|
-
"version": "0.1.10-
|
|
3
|
+
"version": "0.1.10-38",
|
|
4
4
|
"description": "UI component library for OnePlatform",
|
|
5
5
|
"author": "One Platform Development Team",
|
|
6
6
|
"keywords": [
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"recharts": "^3.2.0",
|
|
106
106
|
"sonner": "^2.0.7",
|
|
107
107
|
"vaul": "^1.1.2",
|
|
108
|
-
"@oneplatformdev/tokens": "^0.0.1-
|
|
109
|
-
"@oneplatformdev/
|
|
110
|
-
"@oneplatformdev/
|
|
108
|
+
"@oneplatformdev/tokens": "^0.0.1-60",
|
|
109
|
+
"@oneplatformdev/utils": "^0.1.1-87",
|
|
110
|
+
"@oneplatformdev/hooks": "^0.1.0-73"
|
|
111
111
|
}
|
|
112
112
|
}
|