@grandbazar/ui-baza 1.2.12 → 1.2.13
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/dist/index.cjs +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2878,6 +2878,7 @@ function TooltipRoot({
|
|
|
2878
2878
|
withoutArrow = false,
|
|
2879
2879
|
scrollContainerRef,
|
|
2880
2880
|
centerArrowToTrigger = true,
|
|
2881
|
+
style,
|
|
2881
2882
|
...tooltipContentProps
|
|
2882
2883
|
}) {
|
|
2883
2884
|
return /* @__PURE__ */ jsxRuntime.jsx(DropdownMenu.Root, { children: ({ portalPlacement, triggerRef }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -2892,7 +2893,8 @@ function TooltipRoot({
|
|
|
2892
2893
|
maxHeight,
|
|
2893
2894
|
scrollContainerRef,
|
|
2894
2895
|
style: {
|
|
2895
|
-
...!withoutArrow && centerArrowToTrigger && getCenteredPortalShiftStyle({ portalPlacement, triggerRef })
|
|
2896
|
+
...!withoutArrow && centerArrowToTrigger && getCenteredPortalShiftStyle({ portalPlacement, triggerRef }),
|
|
2897
|
+
...style
|
|
2896
2898
|
},
|
|
2897
2899
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2898
2900
|
TooltipContent,
|
package/dist/index.d.ts
CHANGED
|
@@ -746,7 +746,7 @@ export declare namespace Tooltip {
|
|
|
746
746
|
|
|
747
747
|
declare function TooltipContent({ className, role, title, description, arrowAlign, arrowPosition, ...props }: TTooltipContentProps): JSX.Element;
|
|
748
748
|
|
|
749
|
-
declare function TooltipRoot({ children, align, position, triggerEvent, maxWidth, maxHeight, withoutArrow, scrollContainerRef, centerArrowToTrigger, ...tooltipContentProps }: TTooltipRootProps): JSX.Element;
|
|
749
|
+
declare function TooltipRoot({ children, align, position, triggerEvent, maxWidth, maxHeight, withoutArrow, scrollContainerRef, centerArrowToTrigger, style, ...tooltipContentProps }: TTooltipRootProps): JSX.Element;
|
|
750
750
|
|
|
751
751
|
declare type TPaginationItemProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
752
752
|
size?: TArrayElement<typeof PAGINATION_SIZES>;
|
|
@@ -874,7 +874,7 @@ declare type TTooltipContentProps = Omit<React.HTMLAttributes<HTMLDivElement>, '
|
|
|
874
874
|
arrowPosition?: TArrayElement<typeof DROPDOWN_PORTAL_POSITION_LIST>;
|
|
875
875
|
};
|
|
876
876
|
|
|
877
|
-
declare type TTooltipRootProps = Omit<React.ComponentProps<typeof TooltipContent>, 'arrowAlign' | 'arrowPosition'> & Pick<React.ComponentProps<typeof DropdownMenu.Portal>, 'align' | 'position' | 'maxWidth' | 'maxHeight' | 'scrollContainerRef' | 'children'> & {
|
|
877
|
+
declare type TTooltipRootProps = Omit<React.ComponentProps<typeof TooltipContent>, 'arrowAlign' | 'arrowPosition' | 'style'> & Pick<React.ComponentProps<typeof DropdownMenu.Portal>, 'align' | 'position' | 'maxWidth' | 'maxHeight' | 'scrollContainerRef' | 'children' | 'style'> & {
|
|
878
878
|
triggerEvent?: TArrayElement<typeof DROPDOWN_TRIGGER_EVENT_LIST>;
|
|
879
879
|
withoutArrow?: boolean;
|
|
880
880
|
centerArrowToTrigger?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -2874,6 +2874,7 @@ function TooltipRoot({
|
|
|
2874
2874
|
withoutArrow = false,
|
|
2875
2875
|
scrollContainerRef,
|
|
2876
2876
|
centerArrowToTrigger = true,
|
|
2877
|
+
style,
|
|
2877
2878
|
...tooltipContentProps
|
|
2878
2879
|
}) {
|
|
2879
2880
|
return /* @__PURE__ */ jsx(DropdownMenu.Root, { children: ({ portalPlacement, triggerRef }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
@@ -2888,7 +2889,8 @@ function TooltipRoot({
|
|
|
2888
2889
|
maxHeight,
|
|
2889
2890
|
scrollContainerRef,
|
|
2890
2891
|
style: {
|
|
2891
|
-
...!withoutArrow && centerArrowToTrigger && getCenteredPortalShiftStyle({ portalPlacement, triggerRef })
|
|
2892
|
+
...!withoutArrow && centerArrowToTrigger && getCenteredPortalShiftStyle({ portalPlacement, triggerRef }),
|
|
2893
|
+
...style
|
|
2892
2894
|
},
|
|
2893
2895
|
children: /* @__PURE__ */ jsx(
|
|
2894
2896
|
TooltipContent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grandbazar/ui-baza",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "A lightweight and modular UI kit for building modern, accessible web interfaces. Designed for flexibility, scalability, and developer happiness.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|