@sikka/hawa 0.11.13-next → 0.11.14-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/index.css +59 -6
- package/dist/index.d.mts +29 -7
- package/dist/index.d.ts +29 -7
- package/dist/index.js +275 -106
- package/dist/index.mjs +514 -345
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -613,6 +613,36 @@ __export(components_exports, {
|
|
|
613
613
|
Separator: function() {
|
|
614
614
|
return Separator2;
|
|
615
615
|
},
|
|
616
|
+
Sheet: function() {
|
|
617
|
+
return Sheet;
|
|
618
|
+
},
|
|
619
|
+
SheetClose: function() {
|
|
620
|
+
return SheetClose;
|
|
621
|
+
},
|
|
622
|
+
SheetContent: function() {
|
|
623
|
+
return SheetContent;
|
|
624
|
+
},
|
|
625
|
+
SheetDescription: function() {
|
|
626
|
+
return SheetDescription;
|
|
627
|
+
},
|
|
628
|
+
SheetFooter: function() {
|
|
629
|
+
return SheetFooter;
|
|
630
|
+
},
|
|
631
|
+
SheetHeader: function() {
|
|
632
|
+
return SheetHeader;
|
|
633
|
+
},
|
|
634
|
+
SheetOverlay: function() {
|
|
635
|
+
return SheetOverlay;
|
|
636
|
+
},
|
|
637
|
+
SheetPortal: function() {
|
|
638
|
+
return SheetPortal;
|
|
639
|
+
},
|
|
640
|
+
SheetTitle: function() {
|
|
641
|
+
return SheetTitle;
|
|
642
|
+
},
|
|
643
|
+
SheetTrigger: function() {
|
|
644
|
+
return SheetTrigger;
|
|
645
|
+
},
|
|
616
646
|
SidebarGroup: function() {
|
|
617
647
|
return SidebarGroup;
|
|
618
648
|
},
|
|
@@ -6052,45 +6082,143 @@ var InterfaceSettings = function(_param) {
|
|
|
6052
6082
|
]
|
|
6053
6083
|
}));
|
|
6054
6084
|
};
|
|
6055
|
-
// components/elements/
|
|
6085
|
+
// components/elements/Sheet.tsx
|
|
6056
6086
|
var React51 = __toESM(require("react"));
|
|
6057
|
-
var
|
|
6087
|
+
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
6058
6088
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
6059
|
-
var
|
|
6089
|
+
var Sheet = SheetPrimitive.Root;
|
|
6090
|
+
var SheetTrigger = SheetPrimitive.Trigger;
|
|
6091
|
+
var SheetClose = SheetPrimitive.Close;
|
|
6092
|
+
var SheetPortal = SheetPrimitive.Portal;
|
|
6093
|
+
var SheetOverlay = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6094
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
6095
|
+
"className"
|
|
6096
|
+
]);
|
|
6097
|
+
return React51.createElement(SheetPrimitive.Overlay, _object_spread_props(_object_spread({
|
|
6098
|
+
className: cn("hawa-fixed hawa-inset-0 hawa-z-50 hawa-bg-background/80 hawa-backdrop-blur-sm 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", className)
|
|
6099
|
+
}, props), {
|
|
6100
|
+
ref: ref
|
|
6101
|
+
}));
|
|
6102
|
+
});
|
|
6103
|
+
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
6104
|
+
var sheetVariants = (0, import_class_variance_authority3.cva)("hawa-fixed hawa-z-50 hawa-gap-4 hawa-bg-background hawa-p-2 hawa-shadow-lg hawa-transition hawa-ease-in-out data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-duration-300 data-[state=open]:hawa-duration-300", {
|
|
6105
|
+
variants: {
|
|
6106
|
+
side: {
|
|
6107
|
+
top: "hawa-inset-x-0 hawa-top-0 hawa-border-b data-[state=closed]:hawa-slide-out-to-top data-[state=open]:hawa-slide-in-from-top",
|
|
6108
|
+
bottom: "hawa-inset-x-0 hawa-bottom-0 hawa-border-t data-[state=closed]:hawa-slide-out-to-bottom data-[state=open]:hawa-slide-in-from-bottom",
|
|
6109
|
+
left: "hawa-inset-y-0 hawa-left-0 hawa-h-full hawa-w-3/4 hawa-border-r data-[state=closed]:hawa-slide-out-to-left data-[state=open]:hawa-slide-in-from-left sm:hawa-max-w-sm",
|
|
6110
|
+
right: "hawa-inset-y-0 hawa-right-0 hawa-h-full hawa-w-3/4 hawa-border-l data-[state=closed]:hawa-slide-out-to-right data-[state=open]:hawa-slide-in-from-right sm:hawa-max-w-sm"
|
|
6111
|
+
}
|
|
6112
|
+
},
|
|
6113
|
+
defaultVariants: {
|
|
6114
|
+
side: "right"
|
|
6115
|
+
}
|
|
6116
|
+
});
|
|
6117
|
+
var SheetContent = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6118
|
+
var _param_side = _param.side, side = _param_side === void 0 ? "right" : _param_side, className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6119
|
+
"side",
|
|
6120
|
+
"className",
|
|
6121
|
+
"children"
|
|
6122
|
+
]);
|
|
6123
|
+
return React51.createElement(SheetPortal, null, /* @__PURE__ */ React51.createElement(SheetOverlay, null), /* @__PURE__ */ React51.createElement(SheetPrimitive.Content, _object_spread({
|
|
6124
|
+
ref: ref,
|
|
6125
|
+
className: cn(sheetVariants({
|
|
6126
|
+
side: side
|
|
6127
|
+
}), className)
|
|
6128
|
+
}, props), children, /* @__PURE__ */ React51.createElement(SheetPrimitive.Close, {
|
|
6129
|
+
className: "hawa-absolute hawa-right-4 hawa-top-4 hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary"
|
|
6130
|
+
}, /* @__PURE__ */ React51.createElement("svg", {
|
|
6131
|
+
"aria-label": "Close Icon",
|
|
6132
|
+
"aria-hidden": "true",
|
|
6133
|
+
className: "hawa-h-5 hawa-w-5",
|
|
6134
|
+
fill: "currentColor",
|
|
6135
|
+
viewBox: "0 0 20 20"
|
|
6136
|
+
}, /* @__PURE__ */ React51.createElement("path", {
|
|
6137
|
+
fillRule: "evenodd",
|
|
6138
|
+
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
6139
|
+
clipRule: "evenodd"
|
|
6140
|
+
})), /* @__PURE__ */ React51.createElement("span", {
|
|
6141
|
+
className: "hawa-sr-only"
|
|
6142
|
+
}, "Close"))));
|
|
6143
|
+
});
|
|
6144
|
+
SheetContent.displayName = SheetPrimitive.Content.displayName;
|
|
6145
|
+
var SheetHeader = function(_param) /* @__PURE__ */ {
|
|
6146
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
6147
|
+
"className"
|
|
6148
|
+
]);
|
|
6149
|
+
return React51.createElement("div", _object_spread({
|
|
6150
|
+
className: cn("hawa-flex hawa-flex-col hawa-space-y-2 hawa-text-center sm:hawa-text-left", className)
|
|
6151
|
+
}, props));
|
|
6152
|
+
};
|
|
6153
|
+
SheetHeader.displayName = "SheetHeader";
|
|
6154
|
+
var SheetFooter = function(_param) /* @__PURE__ */ {
|
|
6155
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
6156
|
+
"className"
|
|
6157
|
+
]);
|
|
6158
|
+
return React51.createElement("div", _object_spread({
|
|
6159
|
+
className: cn("hawa-flex hawa-flex-col-reverse sm:hawa-flex-row sm:hawa-justify-end sm:hawa-space-x-2", className)
|
|
6160
|
+
}, props));
|
|
6161
|
+
};
|
|
6162
|
+
SheetFooter.displayName = "SheetFooter";
|
|
6163
|
+
var SheetTitle = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6164
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
6165
|
+
"className"
|
|
6166
|
+
]);
|
|
6167
|
+
return React51.createElement(SheetPrimitive.Title, _object_spread({
|
|
6168
|
+
ref: ref,
|
|
6169
|
+
className: cn("hawa-text-lg hawa-font-semibold hawa-text-foreground", className)
|
|
6170
|
+
}, props));
|
|
6171
|
+
});
|
|
6172
|
+
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
6173
|
+
var SheetDescription = React51.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6174
|
+
var className = _param.className, props = _object_without_properties(_param, [
|
|
6175
|
+
"className"
|
|
6176
|
+
]);
|
|
6177
|
+
return React51.createElement(SheetPrimitive.Description, _object_spread({
|
|
6178
|
+
ref: ref,
|
|
6179
|
+
className: cn("hawa-text-sm hawa-text-muted-foreground", className)
|
|
6180
|
+
}, props));
|
|
6181
|
+
});
|
|
6182
|
+
SheetDescription.displayName = SheetPrimitive.Description.displayName;
|
|
6183
|
+
// components/elements/NavigationMenu.tsx
|
|
6184
|
+
var React52 = __toESM(require("react"));
|
|
6185
|
+
var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
|
|
6186
|
+
var import_class_variance_authority4 = require("class-variance-authority");
|
|
6187
|
+
var NavigationMenuRoot = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6060
6188
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6061
6189
|
"className",
|
|
6062
6190
|
"children"
|
|
6063
6191
|
]);
|
|
6064
|
-
return
|
|
6192
|
+
return React52.createElement(NavigationMenuPrimitive.Root, _object_spread({
|
|
6065
6193
|
ref: ref,
|
|
6066
6194
|
className: cn("hawa-relative hawa-z-10 hawa-flex hawa-flex-1 hawa-items-center hawa-justify-center", // "hawa-max-w-max",
|
|
6067
6195
|
className)
|
|
6068
|
-
}, props), children, /* @__PURE__ */
|
|
6196
|
+
}, props), children, /* @__PURE__ */ React52.createElement(NavigationMenuViewport, {
|
|
6069
6197
|
className: props.viewportClassNames
|
|
6070
6198
|
}));
|
|
6071
6199
|
});
|
|
6072
6200
|
NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
6073
|
-
var NavigationMenuList =
|
|
6201
|
+
var NavigationMenuList = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6074
6202
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6075
6203
|
"className"
|
|
6076
6204
|
]);
|
|
6077
|
-
return
|
|
6205
|
+
return React52.createElement(NavigationMenuPrimitive.List, _object_spread({
|
|
6078
6206
|
ref: ref,
|
|
6079
6207
|
className: cn("hawa-group hawa-flex hawa-flex-1 hawa-list-none hawa-items-center hawa-justify-center hawa-gap-1", className)
|
|
6080
6208
|
}, props));
|
|
6081
6209
|
});
|
|
6082
6210
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
6083
6211
|
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
6084
|
-
var navigationMenuTriggerStyle = (0,
|
|
6085
|
-
var NavigationMenuTrigger =
|
|
6212
|
+
var navigationMenuTriggerStyle = (0, import_class_variance_authority4.cva)("hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 ");
|
|
6213
|
+
var NavigationMenuTrigger = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6086
6214
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6087
6215
|
"className",
|
|
6088
6216
|
"children"
|
|
6089
6217
|
]);
|
|
6090
|
-
return
|
|
6218
|
+
return React52.createElement(NavigationMenuPrimitive.Trigger, _object_spread({
|
|
6091
6219
|
ref: ref,
|
|
6092
6220
|
className: cn(navigationMenuTriggerStyle(), "hawa-group", className)
|
|
6093
|
-
}, props), children, " ", /* @__PURE__ */
|
|
6221
|
+
}, props), children, " ", /* @__PURE__ */ React52.createElement("svg", {
|
|
6094
6222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6095
6223
|
width: "24",
|
|
6096
6224
|
height: "24",
|
|
@@ -6102,16 +6230,16 @@ var NavigationMenuTrigger = React51.forwardRef(function(_param, ref) /* @__PURE_
|
|
|
6102
6230
|
"stroke-linejoin": "round",
|
|
6103
6231
|
"aria-hidden": "true",
|
|
6104
6232
|
className: "hawa-relative hawa-top-[1px] hawa-h-4 hawa-w-4 hawa-transition hawa-duration-200 group-data-[state=open]:hawa-rotate-180"
|
|
6105
|
-
}, /* @__PURE__ */
|
|
6233
|
+
}, /* @__PURE__ */ React52.createElement("path", {
|
|
6106
6234
|
d: "m6 9 6 6 6-6"
|
|
6107
6235
|
})));
|
|
6108
6236
|
});
|
|
6109
6237
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
6110
|
-
var NavigationMenuContent =
|
|
6238
|
+
var NavigationMenuContent = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6111
6239
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6112
6240
|
"className"
|
|
6113
6241
|
]);
|
|
6114
|
-
return
|
|
6242
|
+
return React52.createElement(NavigationMenuPrimitive.Content, _object_spread({
|
|
6115
6243
|
ref: ref,
|
|
6116
6244
|
className: cn("hawa-absolute hawa-w-full hawa-left-0 hawa-top-0 ", // "md:hawa-absolute md:hawa-w-auto hawa-left-0 hawa-top-0 ",
|
|
6117
6245
|
// animation
|
|
@@ -6121,51 +6249,51 @@ var NavigationMenuContent = React51.forwardRef(function(_param, ref) /* @__PURE_
|
|
|
6121
6249
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
6122
6250
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
6123
6251
|
var NavMenuItem = function(props) {
|
|
6124
|
-
return /* @__PURE__ */
|
|
6252
|
+
return /* @__PURE__ */ React52.createElement(NavigationMenuLink, null, /* @__PURE__ */ React52.createElement("div", {
|
|
6125
6253
|
className: "hawa-max-w-md hawa-cursor-pointer hawa-p-4 hawa-py-2 hawa-rounded hawa-flex hawa-flex-row hawa-gap-4 hawa-items-center hawa-transition-all hover:hawa-bg-muted"
|
|
6126
|
-
}, props.icon && props.icon, /* @__PURE__ */
|
|
6254
|
+
}, props.icon && props.icon, /* @__PURE__ */ React52.createElement("div", {
|
|
6127
6255
|
className: "hawa-flex hawa-flex-col"
|
|
6128
|
-
}, /* @__PURE__ */
|
|
6256
|
+
}, /* @__PURE__ */ React52.createElement("h1", {
|
|
6129
6257
|
className: "hawa-font-bold hawa-text-xl"
|
|
6130
|
-
}, props.title), /* @__PURE__ */
|
|
6258
|
+
}, props.title), /* @__PURE__ */ React52.createElement("p", {
|
|
6131
6259
|
className: "hawa-text-sm"
|
|
6132
6260
|
}, props.subtitle))));
|
|
6133
6261
|
};
|
|
6134
|
-
var NavigationMenuViewport =
|
|
6262
|
+
var NavigationMenuViewport = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6135
6263
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6136
6264
|
"className"
|
|
6137
6265
|
]);
|
|
6138
|
-
return
|
|
6266
|
+
return React52.createElement("div", {
|
|
6139
6267
|
className: cn("hawa-absolute hawa-w-full hawa-top-full hawa-flex hawa-justify-center")
|
|
6140
|
-
}, /* @__PURE__ */
|
|
6268
|
+
}, /* @__PURE__ */ React52.createElement(NavigationMenuPrimitive.Viewport, _object_spread({
|
|
6141
6269
|
className: cn("hawa-origin-top-center hawa-relative hawa-mt-1.5 hawa-h-[var(--radix-navigation-menu-viewport-height)] hawa-w-full hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-lg data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-90 ", // "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
|
|
6142
6270
|
className),
|
|
6143
6271
|
ref: ref
|
|
6144
6272
|
}, props)));
|
|
6145
6273
|
});
|
|
6146
6274
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
6147
|
-
var NavigationMenuIndicator =
|
|
6275
|
+
var NavigationMenuIndicator = React52.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6148
6276
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6149
6277
|
"className"
|
|
6150
6278
|
]);
|
|
6151
|
-
return
|
|
6279
|
+
return React52.createElement(NavigationMenuPrimitive.Indicator, _object_spread({
|
|
6152
6280
|
ref: ref,
|
|
6153
6281
|
className: cn("hawa-top-full hawa-z-[1] hawa-flex hawa-h-1.5 hawa-items-end hawa-justify-center hawa-overflow-hidden data-[state=visible]:hawa-animate-in data-[state=hidden]:hawa-animate-out data-[state=hidden]:hawa-fade-out data-[state=visible]:hawa-fade-in", className)
|
|
6154
|
-
}, props), /* @__PURE__ */
|
|
6282
|
+
}, props), /* @__PURE__ */ React52.createElement("div", {
|
|
6155
6283
|
className: "hawa-relative hawa-top-[60%] hawa-h-2 hawa-w-2 hawa-rotate-45 hawa-rounded-tl-sm hawa-bg-border hawa-shadow-md"
|
|
6156
6284
|
}));
|
|
6157
6285
|
});
|
|
6158
6286
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
6159
6287
|
var NavigationMenu = function(props) {
|
|
6160
|
-
return /* @__PURE__ */
|
|
6288
|
+
return /* @__PURE__ */ React52.createElement(NavigationMenuRoot, {
|
|
6161
6289
|
dir: props.direction,
|
|
6162
6290
|
delayDuration: 0,
|
|
6163
6291
|
className: props.rootClassNames,
|
|
6164
6292
|
viewportClassNames: props.viewportClassNames
|
|
6165
|
-
}, /* @__PURE__ */
|
|
6166
|
-
return /* @__PURE__ */
|
|
6293
|
+
}, /* @__PURE__ */ React52.createElement(NavigationMenuList, null, props.items.map(function(item, i) {
|
|
6294
|
+
return /* @__PURE__ */ React52.createElement(NavigationMenuItem, {
|
|
6167
6295
|
key: i
|
|
6168
|
-
}, item.content ? /* @__PURE__ */
|
|
6296
|
+
}, item.content ? /* @__PURE__ */ React52.createElement(React52.Fragment, null, /* @__PURE__ */ React52.createElement(NavigationMenuTrigger, null, item.trigger), /* @__PURE__ */ React52.createElement(NavigationMenuContent, null, item.content)) : /* @__PURE__ */ React52.createElement(NavigationMenuLink, {
|
|
6169
6297
|
onClick: function() {
|
|
6170
6298
|
if (item.action) {
|
|
6171
6299
|
item.action();
|
|
@@ -6202,32 +6330,32 @@ var Stats = function(_param) {
|
|
|
6202
6330
|
}) : props.chart));
|
|
6203
6331
|
};
|
|
6204
6332
|
// components/layout/Sidebar.tsx
|
|
6205
|
-
var
|
|
6333
|
+
var React54 = __toESM(require("react"));
|
|
6206
6334
|
var AccordionPrimitive2 = __toESM(require("@radix-ui/react-accordion"));
|
|
6207
6335
|
var Accordion2 = AccordionPrimitive2.Root;
|
|
6208
6336
|
var triggerStyles = "hawa-flex hawa-flex-1 hawa-items-center hawa-duration-75 hawa-select-none hawa-cursor-pointer hawa-rounded hawa-justify-between hawa-p-2 hawa-px-3 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa--rotate-90";
|
|
6209
|
-
var AccordionItem2 =
|
|
6337
|
+
var AccordionItem2 = React54.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6210
6338
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
6211
6339
|
"className"
|
|
6212
6340
|
]);
|
|
6213
|
-
return
|
|
6341
|
+
return React54.createElement(AccordionPrimitive2.Item, _object_spread({
|
|
6214
6342
|
ref: ref,
|
|
6215
6343
|
className: cn(className)
|
|
6216
6344
|
}, props));
|
|
6217
6345
|
});
|
|
6218
6346
|
AccordionItem2.displayName = "AccordionItem";
|
|
6219
|
-
var AccordionTrigger2 =
|
|
6347
|
+
var AccordionTrigger2 = React54.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6220
6348
|
var className = _param.className, showArrow = _param.showArrow, children = _param.children, props = _object_without_properties(_param, [
|
|
6221
6349
|
"className",
|
|
6222
6350
|
"showArrow",
|
|
6223
6351
|
"children"
|
|
6224
6352
|
]);
|
|
6225
|
-
return
|
|
6353
|
+
return React54.createElement(AccordionPrimitive2.Header, {
|
|
6226
6354
|
className: "flex"
|
|
6227
|
-
}, /* @__PURE__ */
|
|
6355
|
+
}, /* @__PURE__ */ React54.createElement(AccordionPrimitive2.Trigger, _object_spread({
|
|
6228
6356
|
ref: ref,
|
|
6229
6357
|
className: cn(triggerStyles, className)
|
|
6230
|
-
}, props), children, showArrow && /* @__PURE__ */
|
|
6358
|
+
}, props), children, showArrow && /* @__PURE__ */ React54.createElement("svg", {
|
|
6231
6359
|
"aria-label": "Chevron Right Icon",
|
|
6232
6360
|
stroke: "currentColor",
|
|
6233
6361
|
fill: "currentColor",
|
|
@@ -6235,31 +6363,31 @@ var AccordionTrigger2 = React53.forwardRef(function(_param, ref) /* @__PURE__ */
|
|
|
6235
6363
|
height: "1em",
|
|
6236
6364
|
width: "1em",
|
|
6237
6365
|
className: "hawa-h-4 hawa-w-4 hawa-shrink-0 hawa-rotate-90 hawa-transition-transform hawa-duration-200"
|
|
6238
|
-
}, /* @__PURE__ */
|
|
6366
|
+
}, /* @__PURE__ */ React54.createElement("path", {
|
|
6239
6367
|
d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
|
|
6240
6368
|
}))));
|
|
6241
6369
|
});
|
|
6242
6370
|
AccordionTrigger2.displayName = AccordionPrimitive2.Trigger.displayName;
|
|
6243
|
-
var AccordionContent2 =
|
|
6371
|
+
var AccordionContent2 = React54.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
6244
6372
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
6245
6373
|
"className",
|
|
6246
6374
|
"children"
|
|
6247
6375
|
]);
|
|
6248
|
-
return
|
|
6376
|
+
return React54.createElement(AccordionPrimitive2.Content, _object_spread({
|
|
6249
6377
|
ref: ref,
|
|
6250
6378
|
className: cn("hawa-overflow-hidden hawa-text-sm hawa-transition-all data-[state=closed]:hawa-animate-accordion-up data-[state=open]:hawa-animate-accordion-down", className)
|
|
6251
|
-
}, props), /* @__PURE__ */
|
|
6379
|
+
}, props), /* @__PURE__ */ React54.createElement("div", null, children));
|
|
6252
6380
|
});
|
|
6253
6381
|
AccordionContent2.displayName = AccordionPrimitive2.Content.displayName;
|
|
6254
6382
|
var SidebarGroup = function(param) {
|
|
6255
6383
|
var title = param.title, items = param.items, selectedItem = param.selectedItem, openedItem = param.openedItem, setOpenedItem = param.setOpenedItem, onItemClick = param.onItemClick, onSubItemClick = param.onSubItemClick, direction = param.direction, isOpen = param.isOpen;
|
|
6256
|
-
return /* @__PURE__ */
|
|
6384
|
+
return /* @__PURE__ */ React54.createElement("div", {
|
|
6257
6385
|
className: "hawa-m-2"
|
|
6258
|
-
}, title && /* @__PURE__ */
|
|
6386
|
+
}, title && /* @__PURE__ */ React54.createElement("h3", {
|
|
6259
6387
|
className: "hawa-mb-1 hawa-font-bold"
|
|
6260
|
-
}, title), /* @__PURE__ */
|
|
6388
|
+
}, title), /* @__PURE__ */ React54.createElement("ul", {
|
|
6261
6389
|
className: "hawa-flex hawa-flex-col hawa-gap-2"
|
|
6262
|
-
}, /* @__PURE__ */
|
|
6390
|
+
}, /* @__PURE__ */ React54.createElement(Accordion2, {
|
|
6263
6391
|
value: openedItem,
|
|
6264
6392
|
type: "single",
|
|
6265
6393
|
onValueChange: function(e) {
|
|
@@ -6268,7 +6396,7 @@ var SidebarGroup = function(param) {
|
|
|
6268
6396
|
collapsible: true,
|
|
6269
6397
|
className: "hawa-flex hawa-flex-col hawa-gap-1"
|
|
6270
6398
|
}, items.map(function(item, idx) {
|
|
6271
|
-
return /* @__PURE__ */
|
|
6399
|
+
return /* @__PURE__ */ React54.createElement(SidebarItem, {
|
|
6272
6400
|
isOpen: isOpen,
|
|
6273
6401
|
selectedItem: selectedItem,
|
|
6274
6402
|
key: idx,
|
|
@@ -6291,25 +6419,25 @@ var SidebarItem = function(_param) {
|
|
|
6291
6419
|
return props.selectedItem === value ? "hawa-bg-primary hawa-text-primary-foreground hawa-cursor-default" : "hover:hawa-bg-primary/10";
|
|
6292
6420
|
};
|
|
6293
6421
|
if (item.subitems) {
|
|
6294
|
-
return /* @__PURE__ */
|
|
6422
|
+
return /* @__PURE__ */ React54.createElement(AccordionItem2, {
|
|
6295
6423
|
value: item.value,
|
|
6296
6424
|
className: "hawa-overflow-x-clip ",
|
|
6297
6425
|
dir: direction
|
|
6298
|
-
}, /* @__PURE__ */
|
|
6426
|
+
}, /* @__PURE__ */ React54.createElement(AccordionTrigger2, {
|
|
6299
6427
|
className: cn("hawa-overflow-x-clip hawa-w-full", props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hover:hawa-bg-primary/10", item.subitems && item.subitems.some(function(subitem) {
|
|
6300
6428
|
return props.selectedItem === subitem.value;
|
|
6301
6429
|
}) ? "hawa-bg-primary/90 hawa-text-primary-foreground hover:hawa-bg-primary/90" : ""),
|
|
6302
6430
|
showArrow: isOpen
|
|
6303
|
-
}, /* @__PURE__ */
|
|
6431
|
+
}, /* @__PURE__ */ React54.createElement("div", {
|
|
6304
6432
|
className: cn(!isOpen && "hawa-py-1", "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2")
|
|
6305
|
-
}, item.icon && item.icon, /* @__PURE__ */
|
|
6433
|
+
}, item.icon && item.icon, /* @__PURE__ */ React54.createElement("span", {
|
|
6306
6434
|
className: cn("hawa-transition-all ", isOpen ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
6307
|
-
}, item.label))), item.subitems && /* @__PURE__ */
|
|
6435
|
+
}, item.label))), item.subitems && /* @__PURE__ */ React54.createElement(AccordionContent2, {
|
|
6308
6436
|
className: "hawa-mt-1 hawa-h-full hawa-rounded"
|
|
6309
|
-
}, /* @__PURE__ */
|
|
6437
|
+
}, /* @__PURE__ */ React54.createElement("div", {
|
|
6310
6438
|
className: cn("hawa-flex hawa-h-full hawa-flex-col hawa-gap-2 hawa-bg-foreground/5 hawa-p-1")
|
|
6311
6439
|
}, item.subitems.map(function(subitem, idx) {
|
|
6312
|
-
return /* @__PURE__ */
|
|
6440
|
+
return /* @__PURE__ */ React54.createElement("li", {
|
|
6313
6441
|
key: idx,
|
|
6314
6442
|
onClick: function(e) {
|
|
6315
6443
|
e.stopPropagation();
|
|
@@ -6328,7 +6456,7 @@ var SidebarItem = function(_param) {
|
|
|
6328
6456
|
}, subitem.icon && subitem.icon, subitem.label);
|
|
6329
6457
|
}))));
|
|
6330
6458
|
} else {
|
|
6331
|
-
return /* @__PURE__ */
|
|
6459
|
+
return /* @__PURE__ */ React54.createElement("div", {
|
|
6332
6460
|
dir: direction,
|
|
6333
6461
|
onClick: function() {
|
|
6334
6462
|
if (item.onClick) {
|
|
@@ -6341,9 +6469,9 @@ var SidebarItem = function(_param) {
|
|
|
6341
6469
|
}
|
|
6342
6470
|
},
|
|
6343
6471
|
className: cn(triggerStyles, getSelectedStyle(item.value), "hawa-overflow-x-clip ")
|
|
6344
|
-
}, /* @__PURE__ */
|
|
6472
|
+
}, /* @__PURE__ */ React54.createElement("div", {
|
|
6345
6473
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2"
|
|
6346
|
-
}, item.icon && item.icon, /* @__PURE__ */
|
|
6474
|
+
}, item.icon && item.icon, /* @__PURE__ */ React54.createElement("span", {
|
|
6347
6475
|
className: cn("hawa-whitespace-nowrap hawa-transition-all", isOpen ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
6348
6476
|
}, item.label)));
|
|
6349
6477
|
}
|
|
@@ -6678,7 +6806,37 @@ var Navbar = function(props) {
|
|
|
6678
6806
|
}, "Contact"))));
|
|
6679
6807
|
};
|
|
6680
6808
|
// components/layout/DocsLayout.tsx
|
|
6809
|
+
var import_react36 = __toESM(require("react"));
|
|
6810
|
+
// components/layout/DocsSidebar.tsx
|
|
6681
6811
|
var import_react35 = __toESM(require("react"));
|
|
6812
|
+
var DocsSidebar = function(_param) {
|
|
6813
|
+
var test = _param.test, props = _object_without_properties(_param, [
|
|
6814
|
+
"test"
|
|
6815
|
+
]);
|
|
6816
|
+
var pages = [
|
|
6817
|
+
"Introduction",
|
|
6818
|
+
"Installation",
|
|
6819
|
+
"Usage",
|
|
6820
|
+
"API Reference",
|
|
6821
|
+
"FAQ"
|
|
6822
|
+
];
|
|
6823
|
+
var _import_react35_default_useState = _sliced_to_array(import_react35.default.useState(pages[0]), 2), currentPage = _import_react35_default_useState[0], setCurrentPage = _import_react35_default_useState[1];
|
|
6824
|
+
var handlePageClick = function(page) {
|
|
6825
|
+
setCurrentPage(page);
|
|
6826
|
+
};
|
|
6827
|
+
return /* @__PURE__ */ import_react35.default.createElement("div", {
|
|
6828
|
+
className: "hawa-flex hawa-flex-col hawa-overflow-x-clip"
|
|
6829
|
+
}, pages.map(function(page, index) {
|
|
6830
|
+
return /* @__PURE__ */ import_react35.default.createElement("a", {
|
|
6831
|
+
key: index,
|
|
6832
|
+
className: cn("hawa-py-1 hawa-text-xs hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hover:hawa-bg-gray-100 hawa-transition-all", currentPage === page ? "hawa-border-l-4 hawa-border-primary hawa-border-collapse" : ""),
|
|
6833
|
+
onClick: function() {
|
|
6834
|
+
return handlePageClick(page);
|
|
6835
|
+
}
|
|
6836
|
+
}, page);
|
|
6837
|
+
}));
|
|
6838
|
+
};
|
|
6839
|
+
// components/layout/DocsLayout.tsx
|
|
6682
6840
|
var DocsLayout = function(_param) {
|
|
6683
6841
|
var _param_direction = _param.direction, direction = _param_direction === void 0 ? "ltr" : _param_direction, _param_drawerSize = _param.drawerSize, drawerSize = _param_drawerSize === void 0 ? "md" : _param_drawerSize, onSettingsClick = _param.onSettingsClick, DrawerFooterActions = _param.DrawerFooterActions, currentPage = _param.currentPage, clickedItem = _param.clickedItem, keepOpen = _param.keepOpen, setKeepOpen = _param.setKeepOpen, props = _object_without_properties(_param, [
|
|
6684
6842
|
"direction",
|
|
@@ -6690,7 +6848,7 @@ var DocsLayout = function(_param) {
|
|
|
6690
6848
|
"keepOpen",
|
|
6691
6849
|
"setKeepOpen"
|
|
6692
6850
|
]);
|
|
6693
|
-
var closeDrawerWidth =
|
|
6851
|
+
var closeDrawerWidth = 0;
|
|
6694
6852
|
var openDrawerWidth = 200;
|
|
6695
6853
|
var drawerSizeStyle = {
|
|
6696
6854
|
opened: {
|
|
@@ -6704,17 +6862,16 @@ var DocsLayout = function(_param) {
|
|
|
6704
6862
|
lg: closeDrawerWidth
|
|
6705
6863
|
}
|
|
6706
6864
|
};
|
|
6707
|
-
var ref = (0,
|
|
6865
|
+
var ref = (0, import_react36.useRef)(null);
|
|
6708
6866
|
var isRTL = direction === "rtl";
|
|
6709
6867
|
var size = useBreakpoint();
|
|
6710
6868
|
if (typeof window == "undefined") {
|
|
6711
6869
|
size = 1200;
|
|
6712
6870
|
}
|
|
6713
|
-
var _ref = _sliced_to_array((0,
|
|
6714
|
-
|
|
6715
|
-
(0, import_react35.useEffect)(function() {
|
|
6871
|
+
var _ref = _sliced_to_array((0, import_react36.useState)(true), 2), openSideMenu = _ref[0], setOpenSideMenu = _ref[1];
|
|
6872
|
+
(0, import_react36.useEffect)(function() {
|
|
6716
6873
|
var handleClickOutside = function(event) {
|
|
6717
|
-
if (ref.current && !ref.current.contains(event.target) && !
|
|
6874
|
+
if (ref.current && !ref.current.contains(event.target) && !openSideMenu) {
|
|
6718
6875
|
setOpenSideMenu(false);
|
|
6719
6876
|
}
|
|
6720
6877
|
};
|
|
@@ -6722,29 +6879,40 @@ var DocsLayout = function(_param) {
|
|
|
6722
6879
|
return function() {
|
|
6723
6880
|
document.removeEventListener("click", handleClickOutside, true);
|
|
6724
6881
|
};
|
|
6882
|
+
}, [
|
|
6883
|
+
openSideMenu
|
|
6884
|
+
]);
|
|
6885
|
+
(0, import_react36.useEffect)(function() {
|
|
6886
|
+
var handleResize = function() {
|
|
6887
|
+
setOpenSideMenu(window.innerWidth > 600 ? true : false);
|
|
6888
|
+
};
|
|
6889
|
+
handleResize();
|
|
6890
|
+
window.addEventListener("resize", handleResize);
|
|
6891
|
+
return function() {
|
|
6892
|
+
window.removeEventListener("resize", handleResize);
|
|
6893
|
+
};
|
|
6725
6894
|
}, [
|
|
6726
6895
|
keepOpen
|
|
6727
6896
|
]);
|
|
6728
|
-
|
|
6897
|
+
var drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
|
|
6898
|
+
return /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6729
6899
|
className: "hawa-fixed"
|
|
6730
|
-
}, /* @__PURE__ */
|
|
6900
|
+
}, /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6731
6901
|
className: cn("hawa-fixed hawa-left-0 hawa-right-0 hawa-top-0 hawa-z-30 hawa-flex hawa-h-14 hawa-w-full hawa-items-center hawa-justify-between hawa-bg-primary-foreground hawa-p-2", isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row")
|
|
6732
|
-
}, size > 600 ? /* @__PURE__ */
|
|
6902
|
+
}, size > 600 ? /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6733
6903
|
onClick: props.onLogoClick,
|
|
6734
6904
|
dir: direction
|
|
6735
|
-
}, /* @__PURE__ */
|
|
6736
|
-
className: cn("hawa-h-
|
|
6905
|
+
}, /* @__PURE__ */ import_react36.default.createElement("img", {
|
|
6906
|
+
className: cn("hawa-h-8 hawa-opacity-0 hawa-transition-all", !openSideMenu ? "hawa-invisible hawa-opacity-0" : "hawa-visible hawa-opacity-100"),
|
|
6737
6907
|
src: props.logoLink
|
|
6738
6908
|
})) : // Mobile Drawer Menu Button
|
|
6739
|
-
/* @__PURE__ */
|
|
6909
|
+
/* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6740
6910
|
dir: direction,
|
|
6741
6911
|
className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
|
|
6742
|
-
}, /* @__PURE__ */
|
|
6743
|
-
onClick: function() {
|
|
6744
|
-
return setOpenSideMenu(true);
|
|
6745
|
-
},
|
|
6912
|
+
}, /* @__PURE__ */ import_react36.default.createElement(Sheet, null, /* @__PURE__ */ import_react36.default.createElement(SheetTrigger, null, " ", /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6746
6913
|
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
|
6747
|
-
}, /* @__PURE__ */
|
|
6914
|
+
}, /* @__PURE__ */ import_react36.default.createElement("svg", {
|
|
6915
|
+
"aria-label": "Menu Icon",
|
|
6748
6916
|
stroke: "currentColor",
|
|
6749
6917
|
fill: "currentColor",
|
|
6750
6918
|
strokeWidth: 0,
|
|
@@ -6752,19 +6920,37 @@ var DocsLayout = function(_param) {
|
|
|
6752
6920
|
"aria-hidden": "true",
|
|
6753
6921
|
height: "1.6em",
|
|
6754
6922
|
width: "1.6em"
|
|
6755
|
-
}, /* @__PURE__ */
|
|
6923
|
+
}, /* @__PURE__ */ import_react36.default.createElement("path", {
|
|
6756
6924
|
fillRule: "evenodd",
|
|
6757
6925
|
clipRule: "evenodd",
|
|
6758
6926
|
d: "M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
|
|
6759
|
-
})))), /* @__PURE__ */
|
|
6927
|
+
})))), /* @__PURE__ */ import_react36.default.createElement(SheetContent, {
|
|
6928
|
+
side: isRTL ? "right" : "left",
|
|
6929
|
+
className: "hawa-pt-10"
|
|
6930
|
+
}, " ", /* @__PURE__ */ import_react36.default.createElement(DocsSidebar, null)))), /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6760
6931
|
className: cn("hawa-flex hawa-gap-2 dark:hawa-text-white", isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row")
|
|
6761
|
-
}, /* @__PURE__ */
|
|
6932
|
+
}, /* @__PURE__ */ import_react36.default.createElement(Button, {
|
|
6762
6933
|
variant: "ghost",
|
|
6763
6934
|
size: "smallIcon"
|
|
6764
|
-
}, /* @__PURE__ */
|
|
6935
|
+
}, /* @__PURE__ */ import_react36.default.createElement(Logos.github, {
|
|
6765
6936
|
className: "hawa-w-4 hawa-h-4"
|
|
6766
|
-
})))), /* @__PURE__ */
|
|
6767
|
-
className: "hawa-fixed hawa-overflow-
|
|
6937
|
+
})))), /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6938
|
+
className: cn("hawa-fixed hawa-bg-primary-foreground hawa-z-40 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-transition-all", isRTL ? "hawa-right-0 hawa-top-0 hawa-h-full" : "hawa-left-0 hawa-top-0 hawa-h-full", "hawa-fixed hawa-p-0 hawa-py-2 hawa-overflow-x-clip hawa-transition-all", "hawa-top-14", openSideMenu ? "hawa-overflow-auto" : "hawa-overflow-hidden"),
|
|
6939
|
+
style: {
|
|
6940
|
+
// height: "calc(100%)",
|
|
6941
|
+
width: size > 600 ? openSideMenu ? "".concat(drawerSizeStyle["opened"][drawerSize], "px") : "".concat(drawerSizeStyle["closed"][drawerSize], "px") : openSideMenu ? "".concat(drawerSizeStyle["opened"][drawerSize], "px") : "0px"
|
|
6942
|
+
},
|
|
6943
|
+
onMouseEnter: function() {
|
|
6944
|
+
setOpenSideMenu(true);
|
|
6945
|
+
},
|
|
6946
|
+
onMouseLeave: function() {
|
|
6947
|
+
if (size < 600) {
|
|
6948
|
+
setOpenSideMenu(!openSideMenu);
|
|
6949
|
+
}
|
|
6950
|
+
},
|
|
6951
|
+
ref: ref
|
|
6952
|
+
}, /* @__PURE__ */ import_react36.default.createElement(DocsSidebar, null)), /* @__PURE__ */ import_react36.default.createElement("div", null, "overlay sidebar"), /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6953
|
+
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
|
|
6768
6954
|
style: isRTL ? {
|
|
6769
6955
|
height: "calc(100% - 56px)",
|
|
6770
6956
|
width: "calc(100% - ".concat(drawerSizeCondition, "px)"),
|
|
@@ -6773,40 +6959,13 @@ var DocsLayout = function(_param) {
|
|
|
6773
6959
|
} : {
|
|
6774
6960
|
height: "calc(100% - 56px)",
|
|
6775
6961
|
width: "calc(100% - ".concat(drawerSizeCondition, "px)"),
|
|
6962
|
+
// width: `calc(100% - ${0}px)`,
|
|
6776
6963
|
left: "".concat(drawerSizeCondition, "px"),
|
|
6964
|
+
right: "".concat(drawerSizeCondition, "px"),
|
|
6777
6965
|
top: "56px"
|
|
6778
6966
|
}
|
|
6779
6967
|
}, props.children));
|
|
6780
6968
|
};
|
|
6781
|
-
// components/layout/DocsSidebar.tsx
|
|
6782
|
-
var import_react36 = __toESM(require("react"));
|
|
6783
|
-
var DocsSidebar = function(_param) {
|
|
6784
|
-
var test = _param.test, props = _object_without_properties(_param, [
|
|
6785
|
-
"test"
|
|
6786
|
-
]);
|
|
6787
|
-
var pages = [
|
|
6788
|
-
"Introduction",
|
|
6789
|
-
"Installation",
|
|
6790
|
-
"Usage",
|
|
6791
|
-
"API Reference",
|
|
6792
|
-
"FAQ"
|
|
6793
|
-
];
|
|
6794
|
-
var _import_react36_default_useState = _sliced_to_array(import_react36.default.useState(pages[0]), 2), currentPage = _import_react36_default_useState[0], setCurrentPage = _import_react36_default_useState[1];
|
|
6795
|
-
var handlePageClick = function(page) {
|
|
6796
|
-
setCurrentPage(page);
|
|
6797
|
-
};
|
|
6798
|
-
return /* @__PURE__ */ import_react36.default.createElement("div", {
|
|
6799
|
-
className: "hawa-flex hawa-flex-col"
|
|
6800
|
-
}, pages.map(function(page, index) {
|
|
6801
|
-
return /* @__PURE__ */ import_react36.default.createElement("a", {
|
|
6802
|
-
key: index,
|
|
6803
|
-
className: cn("hawa-py-1 hawa-text-xs hawa-cursor-pointer hawa-px-3 hover:hawa-bg-gray-100 hawa-transition-all", currentPage === page ? "hawa-border-l-2 hawa-border-red-500 hawa-border-collapse" : ""),
|
|
6804
|
-
onClick: function() {
|
|
6805
|
-
return handlePageClick(page);
|
|
6806
|
-
}
|
|
6807
|
-
}, page);
|
|
6808
|
-
}));
|
|
6809
|
-
};
|
|
6810
6969
|
// components/blocks/auth/LoginForm.tsx
|
|
6811
6970
|
var import_react38 = __toESM(require("react"));
|
|
6812
6971
|
var import_react_hook_form = require("react-hook-form");
|
|
@@ -8920,6 +9079,16 @@ function useTabs() {
|
|
|
8920
9079
|
ScrollBar: ScrollBar,
|
|
8921
9080
|
Select: Select,
|
|
8922
9081
|
Separator: Separator,
|
|
9082
|
+
Sheet: Sheet,
|
|
9083
|
+
SheetClose: SheetClose,
|
|
9084
|
+
SheetContent: SheetContent,
|
|
9085
|
+
SheetDescription: SheetDescription,
|
|
9086
|
+
SheetFooter: SheetFooter,
|
|
9087
|
+
SheetHeader: SheetHeader,
|
|
9088
|
+
SheetOverlay: SheetOverlay,
|
|
9089
|
+
SheetPortal: SheetPortal,
|
|
9090
|
+
SheetTitle: SheetTitle,
|
|
9091
|
+
SheetTrigger: SheetTrigger,
|
|
8923
9092
|
SidebarGroup: SidebarGroup,
|
|
8924
9093
|
SidebarItem: SidebarItem,
|
|
8925
9094
|
SimpleTable: SimpleTable,
|