@ikatec/nebula-react 1.8.0 → 1.9.0-beta.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.
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -1058,11 +1058,12 @@ declare enum ToggleGroupTypeEnum {
|
|
|
1058
1058
|
declare function ToggleGroup({ className, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1059
1059
|
declare function ToggleGroupItem({ className, children, size, icon, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1060
1060
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1061
|
+
type TooltipContentProps = React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;
|
|
1062
|
+
interface TooltipProps extends Omit<TooltipContentProps, 'content'> {
|
|
1063
|
+
content: React$1.ReactNode;
|
|
1063
1064
|
portal?: boolean;
|
|
1064
1065
|
}
|
|
1065
|
-
declare const Tooltip: React$1.ForwardRefExoticComponent<
|
|
1066
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1066
1067
|
|
|
1067
1068
|
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
1068
1069
|
level: '1' | '2' | '3' | '4' | '5' | '6';
|
package/dist/index.d.ts
CHANGED
|
@@ -1058,11 +1058,12 @@ declare enum ToggleGroupTypeEnum {
|
|
|
1058
1058
|
declare function ToggleGroup({ className, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1059
1059
|
declare function ToggleGroupItem({ className, children, size, icon, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1060
1060
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1061
|
+
type TooltipContentProps = React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;
|
|
1062
|
+
interface TooltipProps extends Omit<TooltipContentProps, 'content'> {
|
|
1063
|
+
content: React$1.ReactNode;
|
|
1063
1064
|
portal?: boolean;
|
|
1064
1065
|
}
|
|
1065
|
-
declare const Tooltip: React$1.ForwardRefExoticComponent<
|
|
1066
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1066
1067
|
|
|
1067
1068
|
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
1068
1069
|
level: '1' | '2' | '3' | '4' | '5' | '6';
|
package/dist/index.js
CHANGED
|
@@ -2269,8 +2269,8 @@ var Paragraph = React25.forwardRef(
|
|
|
2269
2269
|
className: cn(
|
|
2270
2270
|
"text-left",
|
|
2271
2271
|
{
|
|
2272
|
-
"
|
|
2273
|
-
"
|
|
2272
|
+
"text-typography-paragraph-md text-paragraph-md tracking-paragraph-md font-paragraph-md leading-paragraph-md": size4 === "md",
|
|
2273
|
+
"text-typography-paragraph-sm text-paragraph-sm tracking-paragraph-sm font-paragraph-sm leading-paragraph-sm": size4 === "sm"
|
|
2274
2274
|
},
|
|
2275
2275
|
className
|
|
2276
2276
|
)
|
|
@@ -8801,12 +8801,30 @@ var Tooltip = React25__namespace.forwardRef(
|
|
|
8801
8801
|
sideOffset,
|
|
8802
8802
|
align,
|
|
8803
8803
|
className: cn(
|
|
8804
|
-
|
|
8804
|
+
`
|
|
8805
|
+
select-none
|
|
8806
|
+
rounded-lg
|
|
8807
|
+
bg-tooltip-background
|
|
8808
|
+
px-3
|
|
8809
|
+
py-1.5
|
|
8810
|
+
max-w-[264px]
|
|
8811
|
+
text-xs
|
|
8812
|
+
font-medium
|
|
8813
|
+
leading-tight
|
|
8814
|
+
text-tooltip-text
|
|
8815
|
+
[&_*]:text-inherit
|
|
8816
|
+
shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]
|
|
8817
|
+
will-change-[transform,opacity]
|
|
8818
|
+
data-[state=delayed-open]:data-[side=bottom]:animate-slide-up-and-fade
|
|
8819
|
+
data-[state=delayed-open]:data-[side=left]:animate-slide-right-and-fade
|
|
8820
|
+
data-[state=delayed-open]:data-[side=right]:animate-slide-left-and-fade
|
|
8821
|
+
data-[state=delayed-open]:data-[side=top]:animate-slide-down-and-fade
|
|
8822
|
+
`,
|
|
8805
8823
|
className
|
|
8806
8824
|
),
|
|
8807
8825
|
...props,
|
|
8808
8826
|
children: [
|
|
8809
|
-
content2,
|
|
8827
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "nebula-ds [&_[class*='text-typography-']]:!text-inherit", children: content2 }),
|
|
8810
8828
|
/* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Arrow, { className: "nebula-ds fill-tooltip-background" })
|
|
8811
8829
|
]
|
|
8812
8830
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2226,8 +2226,8 @@ var Paragraph = forwardRef(
|
|
|
2226
2226
|
className: cn(
|
|
2227
2227
|
"text-left",
|
|
2228
2228
|
{
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2229
|
+
"text-typography-paragraph-md text-paragraph-md tracking-paragraph-md font-paragraph-md leading-paragraph-md": size4 === "md",
|
|
2230
|
+
"text-typography-paragraph-sm text-paragraph-sm tracking-paragraph-sm font-paragraph-sm leading-paragraph-sm": size4 === "sm"
|
|
2231
2231
|
},
|
|
2232
2232
|
className
|
|
2233
2233
|
)
|
|
@@ -8758,12 +8758,30 @@ var Tooltip = React25.forwardRef(
|
|
|
8758
8758
|
sideOffset,
|
|
8759
8759
|
align,
|
|
8760
8760
|
className: cn(
|
|
8761
|
-
|
|
8761
|
+
`
|
|
8762
|
+
select-none
|
|
8763
|
+
rounded-lg
|
|
8764
|
+
bg-tooltip-background
|
|
8765
|
+
px-3
|
|
8766
|
+
py-1.5
|
|
8767
|
+
max-w-[264px]
|
|
8768
|
+
text-xs
|
|
8769
|
+
font-medium
|
|
8770
|
+
leading-tight
|
|
8771
|
+
text-tooltip-text
|
|
8772
|
+
[&_*]:text-inherit
|
|
8773
|
+
shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]
|
|
8774
|
+
will-change-[transform,opacity]
|
|
8775
|
+
data-[state=delayed-open]:data-[side=bottom]:animate-slide-up-and-fade
|
|
8776
|
+
data-[state=delayed-open]:data-[side=left]:animate-slide-right-and-fade
|
|
8777
|
+
data-[state=delayed-open]:data-[side=right]:animate-slide-left-and-fade
|
|
8778
|
+
data-[state=delayed-open]:data-[side=top]:animate-slide-down-and-fade
|
|
8779
|
+
`,
|
|
8762
8780
|
className
|
|
8763
8781
|
),
|
|
8764
8782
|
...props,
|
|
8765
8783
|
children: [
|
|
8766
|
-
content2,
|
|
8784
|
+
/* @__PURE__ */ jsx("div", { className: "nebula-ds [&_[class*='text-typography-']]:!text-inherit", children: content2 }),
|
|
8767
8785
|
/* @__PURE__ */ jsx(TooltipPrimitive.Arrow, { className: "nebula-ds fill-tooltip-background" })
|
|
8768
8786
|
]
|
|
8769
8787
|
}
|
package/package.json
CHANGED
|
Binary file
|