myshell-react-lib 0.2.9 → 0.2.11
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 +64 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5256,9 +5256,9 @@ var CircleErrorIcon = React5.forwardRef(function(props, ref) {
|
|
|
5256
5256
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", {
|
|
5257
5257
|
d: "M12 8L8 12M8 8L12 12",
|
|
5258
5258
|
stroke: "#FFFEFD",
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5259
|
+
strokeWidth: "1.25",
|
|
5260
|
+
strokeLinecap: "round",
|
|
5261
|
+
strokeLinejoin: "round"
|
|
5262
5262
|
})
|
|
5263
5263
|
]
|
|
5264
5264
|
})
|
|
@@ -5284,9 +5284,9 @@ var CircleInfoIcon = React6.forwardRef(function(props, ref) {
|
|
|
5284
5284
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("path", {
|
|
5285
5285
|
d: "M10 12.3333V9.66667M10 7H10.0067",
|
|
5286
5286
|
stroke: "#FFFEFD",
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5287
|
+
strokeWidth: "1.25",
|
|
5288
|
+
strokeLinecap: "round",
|
|
5289
|
+
strokeLinejoin: "round"
|
|
5290
5290
|
})
|
|
5291
5291
|
]
|
|
5292
5292
|
})
|
|
@@ -5312,9 +5312,9 @@ var CircleWarningIcon = React7.forwardRef(function(props, ref) {
|
|
|
5312
5312
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("path", {
|
|
5313
5313
|
d: "M9.99994 7V9.66667M9.99994 12.3333H10.0066",
|
|
5314
5314
|
stroke: "#FFFEFD",
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5315
|
+
strokeWidth: "1.25",
|
|
5316
|
+
strokeLinecap: "round",
|
|
5317
|
+
strokeLinejoin: "round"
|
|
5318
5318
|
})
|
|
5319
5319
|
]
|
|
5320
5320
|
})
|
|
@@ -5340,9 +5340,9 @@ var CircleSuccessIcon = React8.forwardRef(function(props, ref) {
|
|
|
5340
5340
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("path", {
|
|
5341
5341
|
d: "M8 10.3333L9.33333 11.6667L12 9",
|
|
5342
5342
|
stroke: "#FFFEFD",
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5343
|
+
strokeWidth: "1.25",
|
|
5344
|
+
strokeLinecap: "round",
|
|
5345
|
+
strokeLinejoin: "round"
|
|
5346
5346
|
})
|
|
5347
5347
|
]
|
|
5348
5348
|
})
|
|
@@ -7166,24 +7166,8 @@ var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
|
7166
7166
|
var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
|
|
7167
7167
|
var import_class_variance_authority8 = require("class-variance-authority");
|
|
7168
7168
|
var React19 = __toESM(require("react"), 1);
|
|
7169
|
+
var import_lucide_react7 = require("lucide-react");
|
|
7169
7170
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
7170
|
-
var CheckIcon = function(param) {
|
|
7171
|
-
var className = param.className;
|
|
7172
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", {
|
|
7173
|
-
className: className,
|
|
7174
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7175
|
-
width: "12",
|
|
7176
|
-
height: "12",
|
|
7177
|
-
viewBox: "0 0 12 12",
|
|
7178
|
-
fill: "none",
|
|
7179
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("path", {
|
|
7180
|
-
d: "M2.25 6.375L5.25 9.375L9.75 2.625",
|
|
7181
|
-
"stroke-width": "1.5",
|
|
7182
|
-
"stroke-linecap": "round",
|
|
7183
|
-
"stroke-linejoin": "round"
|
|
7184
|
-
})
|
|
7185
|
-
});
|
|
7186
|
-
};
|
|
7187
7171
|
var checkboxVariants = (0, import_class_variance_authority8.cva)("peer w-5 h-5 shrink-0 border-[1.5px] overflow-hidden flex items-center justify-center text-current focus-visible-style", {
|
|
7188
7172
|
variants: {
|
|
7189
7173
|
variant: {
|
|
@@ -7218,11 +7202,12 @@ var Checkbox = React19.forwardRef(function(_param, ref) {
|
|
|
7218
7202
|
}))
|
|
7219
7203
|
}, props), {
|
|
7220
7204
|
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CheckboxPrimitive.Indicator, {
|
|
7221
|
-
className: cn(variant === "radio" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled [&>div]:data-[state=checked]:bg-cc-Check-Box-bg-disabled", variant === "static" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled text-Colors-Beta-White-100 !border-none"),
|
|
7205
|
+
className: cn("flex items-center justify-center", variant === "radio" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled [&>div]:data-[state=checked]:bg-cc-Check-Box-bg-disabled", variant === "static" && "[&>div]:data-[disabled]:bg-cc-Check-Box-bg-disabled text-Colors-Beta-White-100 !border-none"),
|
|
7222
7206
|
children: variant === "radio" ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", {
|
|
7223
7207
|
className: cn("w-2 h-2 rounded-full")
|
|
7224
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
7225
|
-
|
|
7208
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, {
|
|
7209
|
+
component: import_lucide_react7.CheckIcon,
|
|
7210
|
+
className: "w-3 h-3 stroke-current text-current"
|
|
7226
7211
|
})
|
|
7227
7212
|
})
|
|
7228
7213
|
})),
|
|
@@ -7242,11 +7227,11 @@ var Checkbox = React19.forwardRef(function(_param, ref) {
|
|
|
7242
7227
|
Checkbox.displayName = CheckboxPrimitive.Root.displayName;
|
|
7243
7228
|
// src/components/command.tsx
|
|
7244
7229
|
var import_cmdk = require("cmdk");
|
|
7245
|
-
var
|
|
7230
|
+
var import_lucide_react9 = require("lucide-react");
|
|
7246
7231
|
var React21 = __toESM(require("react"), 1);
|
|
7247
7232
|
// src/components/dialog.tsx
|
|
7248
7233
|
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
7249
|
-
var
|
|
7234
|
+
var import_lucide_react8 = require("lucide-react");
|
|
7250
7235
|
var React20 = __toESM(require("react"), 1);
|
|
7251
7236
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
7252
7237
|
var Dialog = DialogPrimitive.Root;
|
|
@@ -7303,7 +7288,7 @@ var DialogContent = React20.forwardRef(function(_param, ref) {
|
|
|
7303
7288
|
onClose && onClose();
|
|
7304
7289
|
},
|
|
7305
7290
|
children: [
|
|
7306
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
7291
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react8.X, {
|
|
7307
7292
|
className: "w-6 h-6 text-Colors-Foreground-Subtle"
|
|
7308
7293
|
}),
|
|
7309
7294
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", {
|
|
@@ -7390,7 +7375,7 @@ var CommandInput = React21.forwardRef(function(_param, ref) {
|
|
|
7390
7375
|
className: "flex items-center border-b px-3",
|
|
7391
7376
|
"cmdk-input-wrapper": "",
|
|
7392
7377
|
children: [
|
|
7393
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
7378
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react9.Search, {
|
|
7394
7379
|
className: "mr-2 h-4 w-4 shrink-0 opacity-50"
|
|
7395
7380
|
}),
|
|
7396
7381
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_cmdk.Command.Input, _object_spread({
|
|
@@ -7459,7 +7444,7 @@ var CommandShortcut = function(_param) {
|
|
|
7459
7444
|
CommandShortcut.displayName = "CommandShortcut";
|
|
7460
7445
|
// src/components/context-menu.tsx
|
|
7461
7446
|
var ContextMenuPrimitive = __toESM(require("@radix-ui/react-context-menu"), 1);
|
|
7462
|
-
var
|
|
7447
|
+
var import_lucide_react10 = require("lucide-react");
|
|
7463
7448
|
var React22 = __toESM(require("react"), 1);
|
|
7464
7449
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
7465
7450
|
var ContextMenu = ContextMenuPrimitive.Root;
|
|
@@ -7480,7 +7465,7 @@ var ContextMenuSubTrigger = React22.forwardRef(function(_param, ref) {
|
|
|
7480
7465
|
}, props), {
|
|
7481
7466
|
children: [
|
|
7482
7467
|
children,
|
|
7483
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
7468
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react10.ChevronRight, {
|
|
7484
7469
|
className: "ml-auto h-4 w-4"
|
|
7485
7470
|
})
|
|
7486
7471
|
]
|
|
@@ -7536,7 +7521,7 @@ var ContextMenuCheckboxItem = React22.forwardRef(function(_param, ref) {
|
|
|
7536
7521
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", {
|
|
7537
7522
|
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
7538
7523
|
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ContextMenuPrimitive.ItemIndicator, {
|
|
7539
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
7524
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react10.Check, {
|
|
7540
7525
|
className: "h-4 w-4"
|
|
7541
7526
|
})
|
|
7542
7527
|
})
|
|
@@ -7558,7 +7543,7 @@ var ContextMenuRadioItem = React22.forwardRef(function(_param, ref) {
|
|
|
7558
7543
|
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", {
|
|
7559
7544
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
7560
7545
|
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ContextMenuPrimitive.ItemIndicator, {
|
|
7561
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
7546
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react10.Circle, {
|
|
7562
7547
|
className: "h-2 w-2 fill-current"
|
|
7563
7548
|
})
|
|
7564
7549
|
})
|
|
@@ -8236,7 +8221,7 @@ var Masonry = function(param) {
|
|
|
8236
8221
|
// src/components/menubar.tsx
|
|
8237
8222
|
var React28 = __toESM(require("react"), 1);
|
|
8238
8223
|
var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
|
|
8239
|
-
var
|
|
8224
|
+
var import_lucide_react11 = require("lucide-react");
|
|
8240
8225
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
8241
8226
|
var MenubarMenu = MenubarPrimitive.Menu;
|
|
8242
8227
|
var MenubarGroup = MenubarPrimitive.Group;
|
|
@@ -8275,7 +8260,7 @@ var MenubarSubTrigger = React28.forwardRef(function(_param, ref) {
|
|
|
8275
8260
|
}, props), {
|
|
8276
8261
|
children: [
|
|
8277
8262
|
children,
|
|
8278
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
8263
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react11.ChevronRight, {
|
|
8279
8264
|
className: "ml-auto h-4 w-4"
|
|
8280
8265
|
})
|
|
8281
8266
|
]
|
|
@@ -8336,7 +8321,7 @@ var MenubarCheckboxItem = React28.forwardRef(function(_param, ref) {
|
|
|
8336
8321
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", {
|
|
8337
8322
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
8338
8323
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MenubarPrimitive.ItemIndicator, {
|
|
8339
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
8324
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react11.Check, {
|
|
8340
8325
|
className: "h-4 w-4"
|
|
8341
8326
|
})
|
|
8342
8327
|
})
|
|
@@ -8359,7 +8344,7 @@ var MenubarRadioItem = React28.forwardRef(function(_param, ref) {
|
|
|
8359
8344
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", {
|
|
8360
8345
|
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
8361
8346
|
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(MenubarPrimitive.ItemIndicator, {
|
|
8362
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
8347
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react11.Circle, {
|
|
8363
8348
|
className: "h-2 w-2 fill-current"
|
|
8364
8349
|
})
|
|
8365
8350
|
})
|
|
@@ -8400,7 +8385,7 @@ var MenubarShortcut = function(_param) {
|
|
|
8400
8385
|
};
|
|
8401
8386
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
8402
8387
|
// src/components/modal.tsx
|
|
8403
|
-
var
|
|
8388
|
+
var import_lucide_react12 = require("lucide-react");
|
|
8404
8389
|
var DialogPrimitive2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
8405
8390
|
// node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
8406
8391
|
var React31 = __toESM(require("react"), 1);
|
|
@@ -8914,7 +8899,7 @@ var Modal = function(_param) {
|
|
|
8914
8899
|
},
|
|
8915
8900
|
children: [
|
|
8916
8901
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(IconButton, {
|
|
8917
|
-
icon:
|
|
8902
|
+
icon: import_lucide_react12.XIcon,
|
|
8918
8903
|
size: "md",
|
|
8919
8904
|
variant: "plain",
|
|
8920
8905
|
color: "default",
|
|
@@ -8954,19 +8939,19 @@ var Modal = function(_param) {
|
|
|
8954
8939
|
var renderIcon3 = function(state2) {
|
|
8955
8940
|
switch(state2){
|
|
8956
8941
|
case "info":
|
|
8957
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8942
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react12.InfoIcon, {
|
|
8958
8943
|
className: "text-cc-Icon-Featured-icon-fg-Info w-6 h-6"
|
|
8959
8944
|
});
|
|
8960
8945
|
case "success":
|
|
8961
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react12.CircleCheckIcon, {
|
|
8962
8947
|
className: "text-cc-Icon-Featured-icon-fg-Success w-6 h-6"
|
|
8963
8948
|
});
|
|
8964
8949
|
case "warning":
|
|
8965
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react12.TriangleAlertIcon, {
|
|
8966
8951
|
className: "text-cc-Icon-Featured-icon-fg-Warning w-6 h-6"
|
|
8967
8952
|
});
|
|
8968
8953
|
case "error":
|
|
8969
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
8954
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react12.CircleXIcon, {
|
|
8970
8955
|
className: "text-cc-Icon-Featured-icon-fg-Error w-6 h-6"
|
|
8971
8956
|
});
|
|
8972
8957
|
}
|
|
@@ -9062,7 +9047,7 @@ var Modal = function(_param) {
|
|
|
9062
9047
|
className: cn("absolute right-4 top-4", isNotification && "top-5", closeClassName),
|
|
9063
9048
|
children: [
|
|
9064
9049
|
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(IconButton, {
|
|
9065
|
-
icon:
|
|
9050
|
+
icon: import_lucide_react12.XIcon,
|
|
9066
9051
|
size: "md",
|
|
9067
9052
|
variant: "plain",
|
|
9068
9053
|
color: "gray",
|
|
@@ -9128,7 +9113,7 @@ function ModalBody(_param) {
|
|
|
9128
9113
|
}
|
|
9129
9114
|
ModalBody.displayName = "ModalBody";
|
|
9130
9115
|
// src/components/search-bar.tsx
|
|
9131
|
-
var
|
|
9116
|
+
var import_lucide_react13 = require("lucide-react");
|
|
9132
9117
|
var import_class_variance_authority13 = require("class-variance-authority");
|
|
9133
9118
|
var React33 = __toESM(require("react"), 1);
|
|
9134
9119
|
var import_react12 = require("react");
|
|
@@ -9170,7 +9155,7 @@ function SearchBar(_param) {
|
|
|
9170
9155
|
}), className),
|
|
9171
9156
|
children: [
|
|
9172
9157
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, {
|
|
9173
|
-
component:
|
|
9158
|
+
component: import_lucide_react13.SearchIcon,
|
|
9174
9159
|
size: "lg",
|
|
9175
9160
|
className: "absolute top-1/2 -translate-y-1/2 left-3 z-10 text-Colors-Foreground-Subtlest cursor-pointer",
|
|
9176
9161
|
onClick: function() {
|
|
@@ -9206,7 +9191,7 @@ function SearchBar(_param) {
|
|
|
9206
9191
|
},
|
|
9207
9192
|
size: "sm",
|
|
9208
9193
|
variant: "plain",
|
|
9209
|
-
icon:
|
|
9194
|
+
icon: import_lucide_react13.XIcon
|
|
9210
9195
|
})
|
|
9211
9196
|
]
|
|
9212
9197
|
});
|
|
@@ -11747,7 +11732,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
|
11747
11732
|
// src/components/top-navigation-bar.tsx
|
|
11748
11733
|
var import_react14 = require("react");
|
|
11749
11734
|
var import_react_use7 = require("react-use");
|
|
11750
|
-
var
|
|
11735
|
+
var import_lucide_react14 = require("lucide-react");
|
|
11751
11736
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
11752
11737
|
function TopNavigationBar(param) {
|
|
11753
11738
|
var searchElement = param.searchElement, title = param.title, border = param.border, backUrl = param.backUrl, children = param.children, _param_hasBackground = param.hasBackground, hasBackground = _param_hasBackground === void 0 ? false : _param_hasBackground, avatar = param.avatar, onBack = param.onBack, _param_pageType = param.pageType, pageType = _param_pageType === void 0 ? 2 : _param_pageType, className = param.className, isMobile2 = param.isMobile;
|
|
@@ -11793,13 +11778,13 @@ function TopNavigationBar(param) {
|
|
|
11793
11778
|
variant: "plain",
|
|
11794
11779
|
color: "default",
|
|
11795
11780
|
size: "md",
|
|
11796
|
-
icon:
|
|
11781
|
+
icon: import_lucide_react14.ArrowLeftIcon
|
|
11797
11782
|
})
|
|
11798
11783
|
}) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(IconButton, {
|
|
11799
11784
|
variant: "plain",
|
|
11800
11785
|
color: "default",
|
|
11801
11786
|
size: "md",
|
|
11802
|
-
icon:
|
|
11787
|
+
icon: import_lucide_react14.ArrowLeftIcon,
|
|
11803
11788
|
onClick: onBack
|
|
11804
11789
|
}),
|
|
11805
11790
|
!isMob && title && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Separator, {
|
|
@@ -11861,7 +11846,7 @@ function TopNavigationBar(param) {
|
|
|
11861
11846
|
}
|
|
11862
11847
|
// src/components/select.tsx
|
|
11863
11848
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
|
|
11864
|
-
var
|
|
11849
|
+
var import_lucide_react15 = require("lucide-react");
|
|
11865
11850
|
var React37 = __toESM(require("react"), 1);
|
|
11866
11851
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
11867
11852
|
var Select = React37.forwardRef(function(_param, ref) {
|
|
@@ -11936,7 +11921,7 @@ var SelectTrigger = React37.forwardRef(function(_param, ref) {
|
|
|
11936
11921
|
children,
|
|
11937
11922
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SelectPrimitive.Icon, {
|
|
11938
11923
|
asChild: true,
|
|
11939
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
11924
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react15.ChevronDown, {
|
|
11940
11925
|
className: "select-chevron h-5 w-5 text-Colors-Foreground-Subtle duration-200"
|
|
11941
11926
|
})
|
|
11942
11927
|
})
|
|
@@ -11952,7 +11937,7 @@ var SelectScrollUpButton = React37.forwardRef(function(_param, ref) {
|
|
|
11952
11937
|
ref: ref,
|
|
11953
11938
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11954
11939
|
}, props), {
|
|
11955
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
11940
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react15.ChevronUp, {
|
|
11956
11941
|
className: "h-4 w-4"
|
|
11957
11942
|
})
|
|
11958
11943
|
}));
|
|
@@ -11966,7 +11951,7 @@ var SelectScrollDownButton = React37.forwardRef(function(_param, ref) {
|
|
|
11966
11951
|
ref: ref,
|
|
11967
11952
|
className: cn("flex cursor-default items-center justify-center py-1", className)
|
|
11968
11953
|
}, props), {
|
|
11969
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
11954
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react15.ChevronDown, {
|
|
11970
11955
|
className: "h-4 w-4"
|
|
11971
11956
|
})
|
|
11972
11957
|
}));
|
|
@@ -12060,7 +12045,7 @@ var SelectItem = React37.forwardRef(function(_param, ref) {
|
|
|
12060
12045
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", {
|
|
12061
12046
|
className: "flex h-4 w-4 items-center justify-center",
|
|
12062
12047
|
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SelectPrimitive.ItemIndicator, {
|
|
12063
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
12048
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react15.CheckIcon, {
|
|
12064
12049
|
className: "h-4 w-4 text-Colors-Foreground-Subtle stroke-[2px]"
|
|
12065
12050
|
})
|
|
12066
12051
|
})
|
|
@@ -12081,7 +12066,7 @@ var SelectSeparator = React37.forwardRef(function(_param, ref) {
|
|
|
12081
12066
|
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
12082
12067
|
// src/components/multiple-selector.tsx
|
|
12083
12068
|
var import_cmdk2 = require("cmdk");
|
|
12084
|
-
var
|
|
12069
|
+
var import_lucide_react16 = require("lucide-react");
|
|
12085
12070
|
var React38 = __toESM(require("react"), 1);
|
|
12086
12071
|
var import_react15 = require("react");
|
|
12087
12072
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
@@ -12546,7 +12531,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
|
|
|
12546
12531
|
onClick: function() {
|
|
12547
12532
|
return handleUnselect(option);
|
|
12548
12533
|
},
|
|
12549
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
12534
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react16.X, {
|
|
12550
12535
|
className: "hover:text-foreground text-subtler h-3 w-3"
|
|
12551
12536
|
})
|
|
12552
12537
|
})
|
|
@@ -12597,7 +12582,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
|
|
|
12597
12582
|
},
|
|
12598
12583
|
variant: "plain",
|
|
12599
12584
|
size: "sm",
|
|
12600
|
-
icon:
|
|
12585
|
+
icon: import_lucide_react16.X,
|
|
12601
12586
|
className: cn("text-Colors-Text-Subtle h-6 w-6 p-0", (hideClearAllButton || disabled || selected.length < 1 || selected.filter(function(s) {
|
|
12602
12587
|
return s.fixed;
|
|
12603
12588
|
}).length === selected.length) && "hidden")
|
|
@@ -12605,7 +12590,7 @@ var MultipleSelector = React38.forwardRef(function(param, ref) {
|
|
|
12605
12590
|
selected.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(IconButton, {
|
|
12606
12591
|
variant: "plain",
|
|
12607
12592
|
size: "sm",
|
|
12608
|
-
icon:
|
|
12593
|
+
icon: import_lucide_react16.ChevronDown,
|
|
12609
12594
|
className: cn("text-Colors-Text-Subtle mr-3 h-6 w-6 p-0", open && "rotate-180"),
|
|
12610
12595
|
onClick: function() {
|
|
12611
12596
|
return setOpen(!open);
|
|
@@ -12712,7 +12697,7 @@ MultipleSelector.displayName = "MultipleSelector";
|
|
|
12712
12697
|
// src/components/sheet.tsx
|
|
12713
12698
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
12714
12699
|
var import_class_variance_authority14 = require("class-variance-authority");
|
|
12715
|
-
var
|
|
12700
|
+
var import_lucide_react17 = require("lucide-react");
|
|
12716
12701
|
var React39 = __toESM(require("react"), 1);
|
|
12717
12702
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
12718
12703
|
var Sheet = SheetPrimitive.Root;
|
|
@@ -12763,7 +12748,7 @@ var SheetContent = React39.forwardRef(function(_param, ref) {
|
|
|
12763
12748
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(SheetPrimitive.Close, {
|
|
12764
12749
|
className: "absolute right-4 top-4 rounded-xxs opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-slate-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-slate-100 dark:ring-offset-slate-950 dark:focus:ring-slate-300 dark:data-[state=open]:bg-slate-800",
|
|
12765
12750
|
children: [
|
|
12766
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
12751
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react17.X, {
|
|
12767
12752
|
className: "h-4 w-4"
|
|
12768
12753
|
}),
|
|
12769
12754
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", {
|
|
@@ -12925,7 +12910,7 @@ var SliderSingle = React40.forwardRef(function(_param, ref) {
|
|
|
12925
12910
|
SliderSingle.displayName = "SliderSingle";
|
|
12926
12911
|
// src/components/spinner.tsx
|
|
12927
12912
|
var import_class_variance_authority15 = require("class-variance-authority");
|
|
12928
|
-
var
|
|
12913
|
+
var import_lucide_react18 = require("lucide-react");
|
|
12929
12914
|
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
12930
12915
|
var spinnerVariants = (0, import_class_variance_authority15.cva)("animate-spin", {
|
|
12931
12916
|
variants: {
|
|
@@ -12958,7 +12943,7 @@ var spinnerVariants = (0, import_class_variance_authority15.cva)("animate-spin",
|
|
|
12958
12943
|
});
|
|
12959
12944
|
function Spinner(props) {
|
|
12960
12945
|
var size = props.size, speed = props.speed, color = props.color, className = props.className;
|
|
12961
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
12946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react18.LoaderCircleIcon, {
|
|
12962
12947
|
className: cn(spinnerVariants({
|
|
12963
12948
|
size: size,
|
|
12964
12949
|
speed: speed,
|
|
@@ -13678,7 +13663,7 @@ var NoPageState = function(args) {
|
|
|
13678
13663
|
var ToastPrimitives = __toESM(require("@radix-ui/react-toast"), 1);
|
|
13679
13664
|
var import_class_variance_authority20 = require("class-variance-authority");
|
|
13680
13665
|
var React46 = __toESM(require("react"), 1);
|
|
13681
|
-
var
|
|
13666
|
+
var import_lucide_react19 = require("lucide-react");
|
|
13682
13667
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
13683
13668
|
var ToastProvider = ToastPrimitives.Provider;
|
|
13684
13669
|
var viewportPositionVariants = (0, import_class_variance_authority20.cva)("fixed z-[1000001] flex max-h-screen w-max-content p-0 gap-2", {
|
|
@@ -13770,7 +13755,7 @@ var ToastClose = React46.forwardRef(function(_param, ref) {
|
|
|
13770
13755
|
className: cn("absolute right-4 top-4 rounded-sm p-1 text-slate-950/50 transition-opacity hover:text-slate-950 outline-none focus:outline-none focus:ring-2 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 dark:text-slate-50/50 dark:hover:text-slate-50", className),
|
|
13771
13756
|
"toast-close": ""
|
|
13772
13757
|
}, props), {
|
|
13773
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
13758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_lucide_react19.XIcon, {
|
|
13774
13759
|
className: "h-5 w-5"
|
|
13775
13760
|
})
|
|
13776
13761
|
}));
|
|
@@ -13970,7 +13955,7 @@ function useToast() {
|
|
|
13970
13955
|
}
|
|
13971
13956
|
// src/components/toast/toaster.tsx
|
|
13972
13957
|
var import_react16 = __toESM(require("react"), 1);
|
|
13973
|
-
var
|
|
13958
|
+
var import_lucide_react20 = require("lucide-react");
|
|
13974
13959
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
13975
13960
|
function Toaster() {
|
|
13976
13961
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_position = _ref.position, position = _ref_position === void 0 ? "top-right" : _ref_position;
|
|
@@ -14008,19 +13993,19 @@ function Toaster() {
|
|
|
14008
13993
|
var renderIcon3 = function(variant2) {
|
|
14009
13994
|
switch(variant2){
|
|
14010
13995
|
case "info":
|
|
14011
|
-
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
13996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_lucide_react20.InfoIcon, {
|
|
14012
13997
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Info"
|
|
14013
13998
|
});
|
|
14014
13999
|
case "success":
|
|
14015
|
-
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
14000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_lucide_react20.CircleCheckIcon, {
|
|
14016
14001
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Success"
|
|
14017
14002
|
});
|
|
14018
14003
|
case "warning":
|
|
14019
|
-
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
14004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_lucide_react20.TriangleAlertIcon, {
|
|
14020
14005
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Warning"
|
|
14021
14006
|
});
|
|
14022
14007
|
case "error":
|
|
14023
|
-
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
14008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_lucide_react20.CircleXIcon, {
|
|
14024
14009
|
className: "h-6 w-6 text-cc-Icon-Featured-icon-fg-Error"
|
|
14025
14010
|
});
|
|
14026
14011
|
}
|
|
@@ -14264,7 +14249,7 @@ function Swiper(props) {
|
|
|
14264
14249
|
}
|
|
14265
14250
|
// src/components/custom-notification.tsx
|
|
14266
14251
|
var import_react_hot_toast = require("react-hot-toast");
|
|
14267
|
-
var
|
|
14252
|
+
var import_lucide_react21 = require("lucide-react");
|
|
14268
14253
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
14269
14254
|
function CustomNotification(param) {
|
|
14270
14255
|
var tProps = param.tProps, customProps = param.customProps;
|
|
@@ -14327,7 +14312,7 @@ function CustomNotification(param) {
|
|
|
14327
14312
|
isClosable && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(IconButton, {
|
|
14328
14313
|
size: "sm",
|
|
14329
14314
|
variant: "plain",
|
|
14330
|
-
icon:
|
|
14315
|
+
icon: import_lucide_react21.XIcon,
|
|
14331
14316
|
onClick: function() {
|
|
14332
14317
|
return import_react_hot_toast.toast.dismiss(id);
|
|
14333
14318
|
},
|