@grandbazar/ui-baza 1.2.11 → 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 +6 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/style.css +6 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2480,9 +2480,9 @@ function TextFieldLabel({ className, children, isRequired, ...props }) {
|
|
|
2480
2480
|
return /* @__PURE__ */ jsxRuntime.jsx("label", { className: classNames(styles$9.textFieldLabel, className), "data-required": isRequired, ...props, children });
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
2483
|
-
const textFieldRoot = "
|
|
2484
|
-
const lg$2 = "
|
|
2485
|
-
const md$3 = "
|
|
2483
|
+
const textFieldRoot = "_textFieldRoot_cs7mv_2";
|
|
2484
|
+
const lg$2 = "_lg_cs7mv_38";
|
|
2485
|
+
const md$3 = "_md_cs7mv_70";
|
|
2486
2486
|
const styles$8 = {
|
|
2487
2487
|
textFieldRoot: textFieldRoot,
|
|
2488
2488
|
lg: lg$2,
|
|
@@ -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
|
@@ -2476,9 +2476,9 @@ function TextFieldLabel({ className, children, isRequired, ...props }) {
|
|
|
2476
2476
|
return /* @__PURE__ */ jsx("label", { className: classNames(styles$9.textFieldLabel, className), "data-required": isRequired, ...props, children });
|
|
2477
2477
|
}
|
|
2478
2478
|
|
|
2479
|
-
const textFieldRoot = "
|
|
2480
|
-
const lg$2 = "
|
|
2481
|
-
const md$3 = "
|
|
2479
|
+
const textFieldRoot = "_textFieldRoot_cs7mv_2";
|
|
2480
|
+
const lg$2 = "_lg_cs7mv_38";
|
|
2481
|
+
const md$3 = "_md_cs7mv_70";
|
|
2482
2482
|
const styles$8 = {
|
|
2483
2483
|
textFieldRoot: textFieldRoot,
|
|
2484
2484
|
lg: lg$2,
|
|
@@ -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/dist/style.css
CHANGED
|
@@ -1424,7 +1424,7 @@ textarea {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
@layer ui_baza_components {
|
|
1427
|
-
.
|
|
1427
|
+
._textFieldRoot_cs7mv_2 {
|
|
1428
1428
|
--ring-width: 1px;
|
|
1429
1429
|
--ring-color: var(--color-neutral-alpha-120);
|
|
1430
1430
|
|
|
@@ -1460,7 +1460,7 @@ textarea {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
-
&.
|
|
1463
|
+
&._lg_cs7mv_38 {
|
|
1464
1464
|
min-height: calc(var(--line-height-lg) + var(--space-2xl) * 2);
|
|
1465
1465
|
padding: var(--space-md) var(--space-xl);
|
|
1466
1466
|
border-radius: var(--radius-xl);
|
|
@@ -1482,7 +1482,9 @@ textarea {
|
|
|
1482
1482
|
|
|
1483
1483
|
[data-element='label'],
|
|
1484
1484
|
[data-element='label-suffix'] {
|
|
1485
|
-
|
|
1485
|
+
/* Android 9 Chrome bug: calc(var(--line-height-sm) / var(--line-height-lg)) can fail in transforms.
|
|
1486
|
+
Keep a literal ratio for stable floating-label scaling on legacy Chromium. */
|
|
1487
|
+
--label-scale: calc(16 / 24);
|
|
1486
1488
|
transform: translateY(calc(-1 * var(--space-md) / var(--label-scale))) scale(var(--label-scale));
|
|
1487
1489
|
opacity: 1;
|
|
1488
1490
|
}
|
|
@@ -1490,7 +1492,7 @@ textarea {
|
|
|
1490
1492
|
}
|
|
1491
1493
|
}
|
|
1492
1494
|
|
|
1493
|
-
&.
|
|
1495
|
+
&._md_cs7mv_70 {
|
|
1494
1496
|
min-height: calc(var(--line-height-lg) + var(--space-lg) * 2);
|
|
1495
1497
|
padding: var(--space-lg);
|
|
1496
1498
|
border-radius: var(--radius-lg);
|
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",
|