@sikka/hawa 0.29.13-next → 0.30.0-next
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/{Radio-aAiNsg4d.d.ts → Radio-MHGhfbpA.d.ts} +3 -2
- package/dist/{Radio-H5-wIs2r.d.mts → Radio-ZM5l4CwH.d.mts} +3 -2
- package/dist/appLayout/index.js +2 -10
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +2 -10
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/blocks/feedback/index.js +24 -17
- package/dist/blocks/feedback/index.mjs +16 -14
- package/dist/blocks/index.d.mts +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/index.js +24 -17
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/pricing/index.js +9 -4
- package/dist/blocks/pricing/index.mjs +1 -1
- package/dist/{chunk-JESKKO3W.mjs → chunk-JMBRP2WR.mjs} +9 -4
- package/dist/{chunk-W2RAWZAF.mjs → chunk-TGB72TYK.mjs} +24 -17
- package/dist/combobox/index.d.mts +1 -0
- package/dist/combobox/index.d.ts +1 -0
- package/dist/combobox/index.js +224 -218
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +224 -218
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +1 -1
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +1 -1
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.d.mts +1 -1
- package/dist/dataTable/index.d.ts +1 -1
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/dialog/index.d.mts +1 -0
- package/dist/dialog/index.d.ts +1 -0
- package/dist/dialog/index.js +1 -1
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +1 -1
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +11 -6
- package/dist/elements/index.d.ts +11 -6
- package/dist/elements/index.js +96 -85
- package/dist/elements/index.mjs +15 -11
- package/dist/index.css +0 -3
- package/dist/index.d.mts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +98 -95
- package/dist/index.mjs +124 -121
- package/dist/interfaceSettings/index.js +9 -4
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +9 -4
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/layout/index.js +2 -10
- package/dist/layout/index.mjs +2 -10
- package/dist/passwordInput/index.js +15 -13
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +15 -13
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/popover/index.d.mts +3 -1
- package/dist/popover/index.d.ts +3 -1
- package/dist/popover/index.js +15 -13
- package/dist/popover/index.js.map +1 -1
- package/dist/popover/index.mjs +15 -13
- package/dist/popover/index.mjs.map +1 -1
- package/dist/radio/index.d.mts +3 -2
- package/dist/radio/index.d.ts +3 -2
- package/dist/radio/index.js +9 -4
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +9 -4
- package/dist/radio/index.mjs.map +1 -1
- package/dist/simpleTable/index.d.mts +4 -3
- package/dist/simpleTable/index.d.ts +4 -3
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1900,7 +1900,7 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
1900
1900
|
...props
|
1901
1901
|
}
|
1902
1902
|
));
|
1903
|
-
var DialogContent = React14.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal,
|
1903
|
+
var DialogContent = React14.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
|
1904
1904
|
DialogPrimitive.Content,
|
1905
1905
|
{
|
1906
1906
|
onPointerDownOutside: (e) => {
|
@@ -3234,7 +3234,8 @@ var Radio = ({
|
|
3234
3234
|
props.defaultValue || props.value
|
3235
3235
|
);
|
3236
3236
|
let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
|
3237
|
-
let inactiveTabStyle =
|
3237
|
+
let inactiveTabStyle = `hawa-inline-block hawa-w-full hawa-transition-all hawa-bg-primary-foreground dark:hover:hawa-text-white
|
3238
|
+
${props.disabled ? "" : "hover:hawa-bg-muted"}`;
|
3238
3239
|
let orientationStyle = {
|
3239
3240
|
horizontal: "hawa-flex hawa-flex-row",
|
3240
3241
|
vertical: "hawa-flex hawa-flex-col"
|
@@ -3288,14 +3289,18 @@ var Radio = ({
|
|
3288
3289
|
"li",
|
3289
3290
|
{
|
3290
3291
|
"aria-current": "page",
|
3291
|
-
onClick: () =>
|
3292
|
+
onClick: () => {
|
3293
|
+
if (props.disabled)
|
3294
|
+
return;
|
3295
|
+
handleChange(opt);
|
3296
|
+
},
|
3292
3297
|
className: cn(
|
3293
|
-
"hawa-w-full hawa-
|
3298
|
+
"hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
|
3299
|
+
!props.disabled && "hawa-cursor-pointer",
|
3294
3300
|
orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
|
3295
3301
|
orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
|
3296
3302
|
orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
|
3297
3303
|
tabSizeStyle[size],
|
3298
|
-
"hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
|
3299
3304
|
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
3300
3305
|
),
|
3301
3306
|
key: o
|
@@ -3418,72 +3423,10 @@ var Radio = ({
|
|
3418
3423
|
var React27 = __toESM(require("react"));
|
3419
3424
|
var PopoverPrimitive2 = __toESM(require("@radix-ui/react-popover"));
|
3420
3425
|
|
3421
|
-
// elements/popover/Popover.tsx
|
3422
|
-
var React25 = __toESM(require("react"));
|
3423
|
-
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
3424
|
-
var PopoverContent = React25.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React25.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React25.createElement(
|
3425
|
-
PopoverPrimitive.Content,
|
3426
|
-
{
|
3427
|
-
ref,
|
3428
|
-
align,
|
3429
|
-
sideOffset,
|
3430
|
-
className: cn(
|
3431
|
-
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
3432
|
-
className
|
3433
|
-
),
|
3434
|
-
...props
|
3435
|
-
}
|
3436
|
-
)));
|
3437
|
-
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
3438
|
-
var Popover = ({
|
3439
|
-
trigger,
|
3440
|
-
children,
|
3441
|
-
className,
|
3442
|
-
align = "center",
|
3443
|
-
side,
|
3444
|
-
sideOffset = 4,
|
3445
|
-
open,
|
3446
|
-
width = "default",
|
3447
|
-
disableTrigger,
|
3448
|
-
contentProps,
|
3449
|
-
triggerProps,
|
3450
|
-
...props
|
3451
|
-
}) => {
|
3452
|
-
let widthStyles = {
|
3453
|
-
trigger: "var(--radix-popover-trigger-width)",
|
3454
|
-
default: "auto"
|
3455
|
-
};
|
3456
|
-
return /* @__PURE__ */ React25.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React25.createElement(
|
3457
|
-
PopoverPrimitive.Trigger,
|
3458
|
-
{
|
3459
|
-
className: "hawa-w-full",
|
3460
|
-
disabled: disableTrigger,
|
3461
|
-
...triggerProps
|
3462
|
-
},
|
3463
|
-
trigger
|
3464
|
-
), /* @__PURE__ */ React25.createElement(
|
3465
|
-
PopoverContent,
|
3466
|
-
{
|
3467
|
-
side,
|
3468
|
-
className,
|
3469
|
-
align,
|
3470
|
-
sideOffset,
|
3471
|
-
style: {
|
3472
|
-
width: widthStyles[width],
|
3473
|
-
maxWidth: "var(--radix-popover-content-available-width)",
|
3474
|
-
maxHeight: "var(--radix-popover-content-available-height)"
|
3475
|
-
},
|
3476
|
-
...contentProps
|
3477
|
-
},
|
3478
|
-
children
|
3479
|
-
));
|
3480
|
-
};
|
3481
|
-
var PopoverTrigger = PopoverPrimitive.Trigger;
|
3482
|
-
|
3483
3426
|
// elements/command/Command.tsx
|
3484
|
-
var
|
3427
|
+
var React25 = __toESM(require("react"));
|
3485
3428
|
var import_cmdk = require("cmdk");
|
3486
|
-
var Command =
|
3429
|
+
var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3487
3430
|
import_cmdk.Command,
|
3488
3431
|
{
|
3489
3432
|
ref,
|
@@ -3496,15 +3439,15 @@ var Command = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
3496
3439
|
));
|
3497
3440
|
Command.displayName = import_cmdk.Command.displayName;
|
3498
3441
|
var CommandDialog = ({ children, ...props }) => {
|
3499
|
-
return /* @__PURE__ */
|
3442
|
+
return /* @__PURE__ */ React25.createElement(Dialog, { ...props }, /* @__PURE__ */ React25.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React25.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
|
3500
3443
|
};
|
3501
|
-
var CommandInput =
|
3444
|
+
var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3502
3445
|
"div",
|
3503
3446
|
{
|
3504
3447
|
className: "hawa-flex hawa-items-center hawa-border-b hawa-px-3",
|
3505
3448
|
"cmdk-input-wrapper": ""
|
3506
3449
|
},
|
3507
|
-
/* @__PURE__ */
|
3450
|
+
/* @__PURE__ */ React25.createElement(
|
3508
3451
|
"svg",
|
3509
3452
|
{
|
3510
3453
|
"aria-label": "Search Icon",
|
@@ -3519,10 +3462,10 @@ var CommandInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
3519
3462
|
strokeLinejoin: "round",
|
3520
3463
|
className: "hawa-icon hawa-me-2 hawa-shrink-0 hawa-opacity-50"
|
3521
3464
|
},
|
3522
|
-
/* @__PURE__ */
|
3523
|
-
/* @__PURE__ */
|
3465
|
+
/* @__PURE__ */ React25.createElement("circle", { cx: "11", cy: "11", r: "8" }),
|
3466
|
+
/* @__PURE__ */ React25.createElement("path", { d: "m21 21-4.3-4.3" })
|
3524
3467
|
),
|
3525
|
-
/* @__PURE__ */
|
3468
|
+
/* @__PURE__ */ React25.createElement(
|
3526
3469
|
import_cmdk.Command.Input,
|
3527
3470
|
{
|
3528
3471
|
ref,
|
@@ -3535,7 +3478,7 @@ var CommandInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
3535
3478
|
)
|
3536
3479
|
));
|
3537
3480
|
CommandInput.displayName = import_cmdk.Command.Input.displayName;
|
3538
|
-
var CommandList =
|
3481
|
+
var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3539
3482
|
import_cmdk.Command.List,
|
3540
3483
|
{
|
3541
3484
|
ref,
|
@@ -3547,7 +3490,7 @@ var CommandList = React26.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
3547
3490
|
}
|
3548
3491
|
));
|
3549
3492
|
CommandList.displayName = import_cmdk.Command.List.displayName;
|
3550
|
-
var CommandEmpty =
|
3493
|
+
var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.createElement(
|
3551
3494
|
import_cmdk.Command.Empty,
|
3552
3495
|
{
|
3553
3496
|
ref,
|
@@ -3556,7 +3499,7 @@ var CommandEmpty = React26.forwardRef((props, ref) => /* @__PURE__ */ React26.cr
|
|
3556
3499
|
}
|
3557
3500
|
));
|
3558
3501
|
CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
|
3559
|
-
var CommandGroup =
|
3502
|
+
var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3560
3503
|
import_cmdk.Command.Group,
|
3561
3504
|
{
|
3562
3505
|
ref,
|
@@ -3568,7 +3511,7 @@ var CommandGroup = React26.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
3568
3511
|
}
|
3569
3512
|
));
|
3570
3513
|
CommandGroup.displayName = import_cmdk.Command.Group.displayName;
|
3571
|
-
var CommandSeparator =
|
3514
|
+
var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3572
3515
|
import_cmdk.Command.Separator,
|
3573
3516
|
{
|
3574
3517
|
ref,
|
@@ -3577,7 +3520,7 @@ var CommandSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @
|
|
3577
3520
|
}
|
3578
3521
|
));
|
3579
3522
|
CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
|
3580
|
-
var CommandItem =
|
3523
|
+
var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
|
3581
3524
|
import_cmdk.Command.Item,
|
3582
3525
|
{
|
3583
3526
|
ref,
|
@@ -3593,7 +3536,7 @@ var CommandShortcut = ({
|
|
3593
3536
|
className,
|
3594
3537
|
...props
|
3595
3538
|
}) => {
|
3596
|
-
return /* @__PURE__ */
|
3539
|
+
return /* @__PURE__ */ React25.createElement(
|
3597
3540
|
"span",
|
3598
3541
|
{
|
3599
3542
|
className: cn(
|
@@ -3606,6 +3549,70 @@ var CommandShortcut = ({
|
|
3606
3549
|
};
|
3607
3550
|
CommandShortcut.displayName = "CommandShortcut";
|
3608
3551
|
|
3552
|
+
// elements/popover/Popover.tsx
|
3553
|
+
var React26 = __toESM(require("react"));
|
3554
|
+
var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
|
3555
|
+
var PopoverContent = React26.forwardRef(
|
3556
|
+
({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ React26.createElement(PopoverPrimitive.Portal, { container }, /* @__PURE__ */ React26.createElement(
|
3557
|
+
PopoverPrimitive.Content,
|
3558
|
+
{
|
3559
|
+
ref,
|
3560
|
+
align,
|
3561
|
+
sideOffset,
|
3562
|
+
className: cn(
|
3563
|
+
"dark:dark-shadow hawa-z-50 hawa-rounded hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-md hawa-outline-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
3564
|
+
className
|
3565
|
+
),
|
3566
|
+
...props
|
3567
|
+
}
|
3568
|
+
))
|
3569
|
+
);
|
3570
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
3571
|
+
var Popover = ({
|
3572
|
+
trigger,
|
3573
|
+
children,
|
3574
|
+
className,
|
3575
|
+
align = "center",
|
3576
|
+
side,
|
3577
|
+
sideOffset = 4,
|
3578
|
+
open,
|
3579
|
+
width = "default",
|
3580
|
+
disableTrigger,
|
3581
|
+
contentProps,
|
3582
|
+
triggerProps,
|
3583
|
+
...props
|
3584
|
+
}) => {
|
3585
|
+
let widthStyles = {
|
3586
|
+
trigger: "var(--radix-popover-trigger-width)",
|
3587
|
+
default: "auto"
|
3588
|
+
};
|
3589
|
+
return /* @__PURE__ */ React26.createElement(PopoverPrimitive.Root, { open, ...props }, /* @__PURE__ */ React26.createElement(
|
3590
|
+
PopoverPrimitive.Trigger,
|
3591
|
+
{
|
3592
|
+
className: "hawa-w-full",
|
3593
|
+
disabled: disableTrigger,
|
3594
|
+
...triggerProps
|
3595
|
+
},
|
3596
|
+
trigger
|
3597
|
+
), /* @__PURE__ */ React26.createElement(
|
3598
|
+
PopoverContent,
|
3599
|
+
{
|
3600
|
+
side,
|
3601
|
+
className,
|
3602
|
+
align,
|
3603
|
+
sideOffset,
|
3604
|
+
style: {
|
3605
|
+
width: widthStyles[width],
|
3606
|
+
maxWidth: "var(--radix-popover-content-available-width)",
|
3607
|
+
maxHeight: "var(--radix-popover-content-available-height)"
|
3608
|
+
},
|
3609
|
+
...contentProps
|
3610
|
+
},
|
3611
|
+
children
|
3612
|
+
));
|
3613
|
+
};
|
3614
|
+
var PopoverTrigger = PopoverPrimitive.Trigger;
|
3615
|
+
|
3609
3616
|
// elements/combobox/Combobox.tsx
|
3610
3617
|
var Combobox = React27.forwardRef(
|
3611
3618
|
({
|
@@ -3616,11 +3623,13 @@ var Combobox = React27.forwardRef(
|
|
3616
3623
|
direction,
|
3617
3624
|
labelProps,
|
3618
3625
|
data,
|
3626
|
+
renderOption,
|
3619
3627
|
...props
|
3620
3628
|
}, ref) => {
|
3621
3629
|
var _a, _b, _c;
|
3622
3630
|
const [open, setOpen] = React27.useState(false);
|
3623
3631
|
const [value, setValue] = React27.useState(defaultValue);
|
3632
|
+
const containerRef = React27.useRef(null);
|
3624
3633
|
function getProperty(obj, key) {
|
3625
3634
|
return obj[key];
|
3626
3635
|
}
|
@@ -3635,7 +3644,8 @@ var Combobox = React27.forwardRef(
|
|
3635
3644
|
className: cn(
|
3636
3645
|
"hawa-relative hawa-flex hawa-h-fit hawa-flex-col hawa-gap-2",
|
3637
3646
|
props.width === "fit" ? "hawa-w-fit" : "hawa-w-full"
|
3638
|
-
)
|
3647
|
+
),
|
3648
|
+
ref: containerRef
|
3639
3649
|
},
|
3640
3650
|
props.label && /* @__PURE__ */ React27.createElement(Label2, { ...labelProps }, props.label),
|
3641
3651
|
/* @__PURE__ */ React27.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React27.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React27.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React27.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React27.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2 " }, /* @__PURE__ */ React27.createElement(
|
@@ -3693,7 +3703,8 @@ var Combobox = React27.forwardRef(
|
|
3693
3703
|
{
|
3694
3704
|
sideOffset: 0,
|
3695
3705
|
className: cn("popover-w-parent", props.helperText && "-hawa-mt-4"),
|
3696
|
-
dir: direction
|
3706
|
+
dir: direction,
|
3707
|
+
container: containerRef.current
|
3697
3708
|
},
|
3698
3709
|
/* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
|
3699
3710
|
CommandInput,
|
@@ -3701,7 +3712,7 @@ var Combobox = React27.forwardRef(
|
|
3701
3712
|
dir: direction,
|
3702
3713
|
placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
|
3703
3714
|
}
|
3704
|
-
), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-
|
3715
|
+
), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-scroll" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
|
3705
3716
|
CommandItem,
|
3706
3717
|
{
|
3707
3718
|
key: i,
|
@@ -3737,7 +3748,7 @@ var Combobox = React27.forwardRef(
|
|
3737
3748
|
},
|
3738
3749
|
/* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
|
3739
3750
|
),
|
3740
|
-
getProperty(item, labelKey)
|
3751
|
+
renderOption ? renderOption(item) : getProperty(item, labelKey)
|
3741
3752
|
))))
|
3742
3753
|
))
|
3743
3754
|
);
|
@@ -8458,16 +8469,8 @@ var AppLayout = ({
|
|
8458
8469
|
let closeDrawerWidth = 56;
|
8459
8470
|
let openDrawerWidth = 200;
|
8460
8471
|
let drawerSizeStyle = {
|
8461
|
-
opened: {
|
8462
|
-
|
8463
|
-
md: openDrawerWidth,
|
8464
|
-
lg: "250"
|
8465
|
-
},
|
8466
|
-
closed: {
|
8467
|
-
sm: closeDrawerWidth,
|
8468
|
-
md: closeDrawerWidth,
|
8469
|
-
lg: closeDrawerWidth
|
8470
|
-
}
|
8472
|
+
opened: { sm: "100", md: openDrawerWidth, lg: "250" },
|
8473
|
+
closed: { sm: closeDrawerWidth, md: closeDrawerWidth, lg: closeDrawerWidth }
|
8471
8474
|
};
|
8472
8475
|
const ref = (0, import_react40.useRef)(null);
|
8473
8476
|
const isRTL = direction === "rtl";
|