@klu_dev/ui-klu-green 1.2.4 → 1.2.6
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 +547 -48
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// src/components/ui/input.tsx
|
|
1
|
+
// src/components/ui/input/input.tsx
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
// src/lib/utils.ts
|
|
@@ -8,7 +8,7 @@ function cn(...inputs) {
|
|
|
8
8
|
return twMerge(clsx(inputs));
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
// src/components/ui/input.tsx
|
|
11
|
+
// src/components/ui/input/input.tsx
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
var inputSizes = {
|
|
14
14
|
sm: "uiklu-h-[34px] uiklu-w-[150px] uiklu-px-4 uiklu-text-sm",
|
|
@@ -144,7 +144,7 @@ var Input = React.forwardRef(
|
|
|
144
144
|
);
|
|
145
145
|
Input.displayName = "Input";
|
|
146
146
|
|
|
147
|
-
// src/components/ui/button.tsx
|
|
147
|
+
// src/components/ui/button/button.tsx
|
|
148
148
|
import * as React2 from "react";
|
|
149
149
|
import { cva } from "class-variance-authority";
|
|
150
150
|
import { Slot } from "@radix-ui/react-slot";
|
|
@@ -162,9 +162,9 @@ var buttonVariants = cva(
|
|
|
162
162
|
uiklu-border-transparent
|
|
163
163
|
`,
|
|
164
164
|
primaryOrange: `
|
|
165
|
-
uiklu-bg-
|
|
165
|
+
uiklu-bg-orange500
|
|
166
166
|
uiklu-text-baseblack
|
|
167
|
-
hover:uiklu-bg-
|
|
167
|
+
hover:uiklu-bg-orange500/90
|
|
168
168
|
uiklu-rounded-[48px]
|
|
169
169
|
uiklu-border-transparent
|
|
170
170
|
`,
|
|
@@ -263,7 +263,7 @@ var Button = React2.forwardRef(
|
|
|
263
263
|
);
|
|
264
264
|
Button.displayName = "Button";
|
|
265
265
|
|
|
266
|
-
// src/components/ui/backButton.tsx
|
|
266
|
+
// src/components/ui/backButton/backButton.tsx
|
|
267
267
|
import * as React3 from "react";
|
|
268
268
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
269
269
|
var buttonSizes = {
|
|
@@ -314,7 +314,7 @@ var BackButtonRender = (props, ref) => {
|
|
|
314
314
|
var BackButton = React3.forwardRef(BackButtonRender);
|
|
315
315
|
BackButton.displayName = "BackButton";
|
|
316
316
|
|
|
317
|
-
// src/components/ui/select.tsx
|
|
317
|
+
// src/components/ui/select/select.tsx
|
|
318
318
|
import * as React4 from "react";
|
|
319
319
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
320
320
|
import { Check, ChevronDown } from "lucide-react";
|
|
@@ -325,7 +325,7 @@ var selectTriggerVariants = cva2(
|
|
|
325
325
|
[
|
|
326
326
|
"uiklu-flex uiklu-items-center uiklu-justify-between uiklu-transition-all",
|
|
327
327
|
"uiklu-rounded-[50px] uiklu-border-[1px] uiklu-border-solid uiklu-bg-background uiklu-font-sans",
|
|
328
|
-
"uiklu-outline-none focus:uiklu-border-baseblack focus:uiklu-border-[1px]",
|
|
328
|
+
"uiklu-outline-none focus:uiklu-border-baseblack focus:uiklu-border-[1px] ",
|
|
329
329
|
"disabled:uiklu-cursor-not-allowed disabled:uiklu-opacity-50",
|
|
330
330
|
"uiklu-leading-none"
|
|
331
331
|
],
|
|
@@ -339,7 +339,7 @@ var selectTriggerVariants = cva2(
|
|
|
339
339
|
},
|
|
340
340
|
error: {
|
|
341
341
|
true: "uiklu-border-destructive uiklu-text-destructive focus:uiklu-border-destructive",
|
|
342
|
-
false: "uiklu-border-border uiklu-text-
|
|
342
|
+
false: "uiklu-border-border uiklu-text-gray800 data-[placeholder]:uiklu-text-gray500"
|
|
343
343
|
}
|
|
344
344
|
},
|
|
345
345
|
defaultVariants: {
|
|
@@ -355,7 +355,7 @@ var SelectTrigger = React4.forwardRef(({ className, children, size, error, ...pr
|
|
|
355
355
|
className: cn(selectTriggerVariants({ size, error, className })),
|
|
356
356
|
...props,
|
|
357
357
|
children: [
|
|
358
|
-
/* @__PURE__ */ jsx4("span", { className: "uiklu-truncate
|
|
358
|
+
/* @__PURE__ */ jsx4("span", { className: "uiklu-truncate", children }),
|
|
359
359
|
/* @__PURE__ */ jsx4(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx4(ChevronDown, { className: cn(
|
|
360
360
|
"uiklu-h-5 uiklu-w-5 uiklu-ml-2 uiklu-shrink-0 uiklu-transition-opacity uiklu-opacity-70",
|
|
361
361
|
error ? "uiklu-text-destructive" : "uiklu-text-inputtext"
|
|
@@ -397,7 +397,7 @@ var SelectItem = React4.forwardRef(({ className, children, ...props }, ref) => /
|
|
|
397
397
|
));
|
|
398
398
|
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
399
399
|
|
|
400
|
-
// src/components/ui/typography.tsx
|
|
400
|
+
// src/components/ui/typography/typography.tsx
|
|
401
401
|
import * as React5 from "react";
|
|
402
402
|
import { cva as cva3 } from "class-variance-authority";
|
|
403
403
|
import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -417,7 +417,7 @@ var typographyVariants = cva3(
|
|
|
417
417
|
primary: "uiklu-text-primary",
|
|
418
418
|
secondary: "uiklu-text-secondary",
|
|
419
419
|
black: "uiklu-text-black",
|
|
420
|
-
orange: "uiklu-text-
|
|
420
|
+
orange: "uiklu-text-orange500"
|
|
421
421
|
},
|
|
422
422
|
align: {
|
|
423
423
|
left: "uiklu-text-left",
|
|
@@ -437,7 +437,7 @@ var Typography = React5.forwardRef(
|
|
|
437
437
|
({ className, size, color, align, showDot, children, ...props }, ref) => {
|
|
438
438
|
const content = /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
439
439
|
children,
|
|
440
|
-
showDot && /* @__PURE__ */ jsx5("span", { className: "uiklu-text-
|
|
440
|
+
showDot && /* @__PURE__ */ jsx5("span", { className: "uiklu-text-orange500", children: "." }),
|
|
441
441
|
" "
|
|
442
442
|
] });
|
|
443
443
|
return /* @__PURE__ */ jsx5(
|
|
@@ -453,7 +453,7 @@ var Typography = React5.forwardRef(
|
|
|
453
453
|
);
|
|
454
454
|
Typography.displayName = "Typography";
|
|
455
455
|
|
|
456
|
-
// src/components/ui/dialog.tsx
|
|
456
|
+
// src/components/ui/generalComponents/dialog.tsx
|
|
457
457
|
import * as React6 from "react";
|
|
458
458
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
459
459
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -759,7 +759,7 @@ var Icons = {
|
|
|
759
759
|
CIRCLE_MOVEMENTS: /* @__PURE__ */ jsx7(MovementsIconCircle, {})
|
|
760
760
|
};
|
|
761
761
|
|
|
762
|
-
// src/components/ui/modal.tsx
|
|
762
|
+
// src/components/ui/modal/modal.tsx
|
|
763
763
|
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
764
764
|
var Modal = ({
|
|
765
765
|
open,
|
|
@@ -795,10 +795,10 @@ var Modal = ({
|
|
|
795
795
|
] }) });
|
|
796
796
|
};
|
|
797
797
|
|
|
798
|
-
// src/components/ui/balanceInfo.tsx
|
|
798
|
+
// src/components/ui/balanceInfo/balanceInfo.tsx
|
|
799
799
|
import { useState as useState2 } from "react";
|
|
800
800
|
|
|
801
|
-
// src/components/ui/card.tsx
|
|
801
|
+
// src/components/ui/generalComponents/card.tsx
|
|
802
802
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
803
803
|
function Card({
|
|
804
804
|
className,
|
|
@@ -829,7 +829,7 @@ function CardContent({ className, ...props }) {
|
|
|
829
829
|
);
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
// src/components/ui/progress.tsx
|
|
832
|
+
// src/components/ui/generalComponents/progress.tsx
|
|
833
833
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
834
834
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
835
835
|
function Progress({
|
|
@@ -858,7 +858,7 @@ function Progress({
|
|
|
858
858
|
);
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
// src/components/ui/balanceInfo.tsx
|
|
861
|
+
// src/components/ui/balanceInfo/balanceInfo.tsx
|
|
862
862
|
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
863
863
|
var BalanceInfo = ({
|
|
864
864
|
totalBalance,
|
|
@@ -1005,7 +1005,7 @@ var BalanceInfo = ({
|
|
|
1005
1005
|
] }) });
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// src/components/ui/toast.tsx
|
|
1008
|
+
// src/components/ui/toast/toast.tsx
|
|
1009
1009
|
import * as React7 from "react";
|
|
1010
1010
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
1011
1011
|
import { cva as cva4 } from "class-variance-authority";
|
|
@@ -1152,7 +1152,7 @@ function useToast() {
|
|
|
1152
1152
|
return { ...state, toast, dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId }) };
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
|
-
// src/components/ui/toaster.tsx
|
|
1155
|
+
// src/components/ui/toast/toaster.tsx
|
|
1156
1156
|
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1157
1157
|
var SuccessIcon = () => /* @__PURE__ */ jsx13("div", { className: "uiklu-flex uiklu-h-[20px] uiklu-w-[20px] uiklu-shrink-0 uiklu-items-center uiklu-justify-center uiklu-rounded-full uiklu-bg-primary300", children: /* @__PURE__ */ jsx13("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ jsx13("path", { d: "M12.5598 4.24727L5.55977 11.2473C5.51914 11.288 5.47089 11.3202 5.41778 11.3422C5.36467 11.3643 5.30774 11.3756 5.25024 11.3756C5.19275 11.3756 5.13582 11.3643 5.08271 11.3422C5.0296 11.3202 4.98134 11.288 4.94071 11.2473L1.87821 8.18477C1.79612 8.10268 1.75 7.99134 1.75 7.87524C1.75 7.75915 1.79612 7.6478 1.87821 7.56571C1.9603 7.48362 2.07165 7.4375 2.18774 7.4375C2.30384 7.4375 2.41518 7.48362 2.49727 7.56571L5.25024 10.3192L11.9407 3.62821C12.0228 3.54612 12.1341 3.5 12.2502 3.5C12.3663 3.5 12.4777 3.54612 12.5598 3.62821C12.6419 3.7103 12.688 3.82165 12.688 3.93774C12.688 4.05384 12.6419 4.16518 12.5598 4.24727Z", fill: "white" }) }) });
|
|
1158
1158
|
var WarningIcon = () => /* @__PURE__ */ jsx13("div", { className: "uiklu-flex uiklu-h-[20px] uiklu-w-[20px] uiklu-shrink-0 uiklu-items-center uiklu-justify-center uiklu-rounded-full uiklu-bg-[#EA9033]", children: /* @__PURE__ */ jsx13("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx13("path", { d: "M7 10.5V11.5M7 2.5V9.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }) }) });
|
|
@@ -1204,7 +1204,7 @@ var Rectangle_default = "./Rectangle-J726SGM6.png";
|
|
|
1204
1204
|
// src/assets/images/Hero.png
|
|
1205
1205
|
var Hero_default = "./Hero-XN6KC2NL.png";
|
|
1206
1206
|
|
|
1207
|
-
// src/components/ui/loadingScreen.tsx
|
|
1207
|
+
// src/components/ui/loadingScreen/loadingScreen.tsx
|
|
1208
1208
|
import { jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1209
1209
|
function LoadingScreen({
|
|
1210
1210
|
message = "Configurando tu nueva cuenta...",
|
|
@@ -1263,7 +1263,7 @@ function LoadingScreen({
|
|
|
1263
1263
|
// src/assets/images/Banner.png
|
|
1264
1264
|
var Banner_default = "./Banner-T3KSPINX.png";
|
|
1265
1265
|
|
|
1266
|
-
// src/components/ui/promoBanner.tsx
|
|
1266
|
+
// src/components/ui/promoBanner/promoBanner.tsx
|
|
1267
1267
|
import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1268
1268
|
function PromoBanner({
|
|
1269
1269
|
title,
|
|
@@ -1318,10 +1318,10 @@ function PromoBanner({
|
|
|
1318
1318
|
] });
|
|
1319
1319
|
}
|
|
1320
1320
|
|
|
1321
|
-
// src/components/ui/sidebarTabs.tsx
|
|
1321
|
+
// src/components/ui/sidebarTabs/sidebarTabs.tsx
|
|
1322
1322
|
import { useState as useState4 } from "react";
|
|
1323
1323
|
|
|
1324
|
-
// src/components/ui/siderTab.tsx
|
|
1324
|
+
// src/components/ui/sidebarTabs/siderTab.tsx
|
|
1325
1325
|
import * as React9 from "react";
|
|
1326
1326
|
import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1327
1327
|
function SidebarNav({ items, activeTab, onTabChange }) {
|
|
@@ -1346,7 +1346,7 @@ function SidebarNav({ items, activeTab, onTabChange }) {
|
|
|
1346
1346
|
"uiklu-h-5 uiklu-w-5 uiklu-flex uiklu-flex-shrink-0",
|
|
1347
1347
|
"uiklu-items-center uiklu-justify-center",
|
|
1348
1348
|
"uiklu-transition-colors uiklu-duration-200",
|
|
1349
|
-
isActive ? "uiklu-text-
|
|
1349
|
+
isActive ? "uiklu-text-primary600" : "uiklu-text-primary300"
|
|
1350
1350
|
), children: isReactElement ? React9.cloneElement(Icon2, { className: "uiklu-h-full uiklu-w-full" }) : /* @__PURE__ */ jsx16(Icon2, { className: "uiklu-h-full uiklu-w-full" }) }),
|
|
1351
1351
|
/* @__PURE__ */ jsx16(
|
|
1352
1352
|
"span",
|
|
@@ -1385,7 +1385,7 @@ function SidebarNav({ items, activeTab, onTabChange }) {
|
|
|
1385
1385
|
}) });
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
-
// src/components/ui/sidebarTabs.tsx
|
|
1388
|
+
// src/components/ui/sidebarTabs/sidebarTabs.tsx
|
|
1389
1389
|
import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1390
1390
|
function SidebarTabs({ items }) {
|
|
1391
1391
|
const [activeTab, setActiveTab] = useState4(items[0]?.id || "");
|