@ikatec/nebula-react 0.0.1-alpha.24 → 1.0.0

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.mjs CHANGED
@@ -3,7 +3,7 @@ import React8__default, { forwardRef, createElement, createContext, useMemo, use
3
3
  import { Slot } from '@radix-ui/react-slot';
4
4
  import { cva } from 'class-variance-authority';
5
5
  import { twMerge } from 'tailwind-merge';
6
- import { jsx, jsxs } from 'react/jsx-runtime';
6
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import * as PopoverPrimitive from '@radix-ui/react-popover';
8
8
  import * as LabelPrimitive from '@radix-ui/react-label';
9
9
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
@@ -17,6 +17,9 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
17
17
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
18
18
  import * as SwitchPrimitives from '@radix-ui/react-switch';
19
19
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
20
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
21
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
22
+ import { Toaster as Toaster$1, toast as toast$1 } from 'sonner';
20
23
 
21
24
  // src/button.tsx
22
25
 
@@ -555,28 +558,35 @@ var __iconNode6 = [
555
558
  ];
556
559
  var ChevronsRight = createLucideIcon("ChevronsRight", __iconNode6);
557
560
 
558
- // ../../node_modules/lucide-react/dist/esm/icons/circle-x.js
561
+ // ../../node_modules/lucide-react/dist/esm/icons/circle-check-big.js
559
562
  var __iconNode7 = [
563
+ ["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
564
+ ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
565
+ ];
566
+ var CircleCheckBig = createLucideIcon("CircleCheckBig", __iconNode7);
567
+
568
+ // ../../node_modules/lucide-react/dist/esm/icons/circle-x.js
569
+ var __iconNode8 = [
560
570
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
561
571
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
562
572
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
563
573
  ];
564
- var CircleX = createLucideIcon("CircleX", __iconNode7);
574
+ var CircleX = createLucideIcon("CircleX", __iconNode8);
565
575
 
566
576
  // ../../node_modules/lucide-react/dist/esm/icons/circle.js
567
- var __iconNode8 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
568
- var Circle = createLucideIcon("Circle", __iconNode8);
577
+ var __iconNode9 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
578
+ var Circle = createLucideIcon("Circle", __iconNode9);
569
579
 
570
580
  // ../../node_modules/lucide-react/dist/esm/icons/ellipsis.js
571
- var __iconNode9 = [
581
+ var __iconNode10 = [
572
582
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
573
583
  ["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
574
584
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
575
585
  ];
576
- var Ellipsis = createLucideIcon("Ellipsis", __iconNode9);
586
+ var Ellipsis = createLucideIcon("Ellipsis", __iconNode10);
577
587
 
578
588
  // ../../node_modules/lucide-react/dist/esm/icons/eye-off.js
579
- var __iconNode10 = [
589
+ var __iconNode11 = [
580
590
  [
581
591
  "path",
582
592
  {
@@ -594,10 +604,10 @@ var __iconNode10 = [
594
604
  ],
595
605
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
596
606
  ];
597
- var EyeOff = createLucideIcon("EyeOff", __iconNode10);
607
+ var EyeOff = createLucideIcon("EyeOff", __iconNode11);
598
608
 
599
609
  // ../../node_modules/lucide-react/dist/esm/icons/eye.js
600
- var __iconNode11 = [
610
+ var __iconNode12 = [
601
611
  [
602
612
  "path",
603
613
  {
@@ -607,18 +617,26 @@ var __iconNode11 = [
607
617
  ],
608
618
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
609
619
  ];
610
- var Eye = createLucideIcon("Eye", __iconNode11);
620
+ var Eye = createLucideIcon("Eye", __iconNode12);
621
+
622
+ // ../../node_modules/lucide-react/dist/esm/icons/info.js
623
+ var __iconNode13 = [
624
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
625
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
626
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
627
+ ];
628
+ var Info = createLucideIcon("Info", __iconNode13);
611
629
 
612
630
  // ../../node_modules/lucide-react/dist/esm/icons/minus.js
613
- var __iconNode12 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
614
- var Minus = createLucideIcon("Minus", __iconNode12);
631
+ var __iconNode14 = [["path", { d: "M5 12h14", key: "1ays0h" }]];
632
+ var Minus = createLucideIcon("Minus", __iconNode14);
615
633
 
616
634
  // ../../node_modules/lucide-react/dist/esm/icons/x.js
617
- var __iconNode13 = [
635
+ var __iconNode15 = [
618
636
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
619
637
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
620
638
  ];
621
- var X = createLucideIcon("X", __iconNode13);
639
+ var X = createLucideIcon("X", __iconNode15);
622
640
  var DropdownMenu = DropdownMenuPrimitive.Root;
623
641
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
624
642
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -2111,6 +2129,440 @@ var Tooltip = React8.forwardRef(
2111
2129
  }
2112
2130
  );
2113
2131
  Tooltip.displayName = "Tooltip";
2132
+ function Accordion({
2133
+ className,
2134
+ children,
2135
+ ...props
2136
+ }) {
2137
+ return /* @__PURE__ */ jsx(
2138
+ AccordionPrimitive.Root,
2139
+ {
2140
+ collapsible: true,
2141
+ className: cn("w-full", className),
2142
+ ...props,
2143
+ children
2144
+ }
2145
+ );
2146
+ }
2147
+ function AccordionItem({
2148
+ className,
2149
+ children,
2150
+ ...props
2151
+ }) {
2152
+ return /* @__PURE__ */ jsx(
2153
+ AccordionPrimitive.Item,
2154
+ {
2155
+ "data-slot": "accordion-item",
2156
+ className: cn(
2157
+ "transition-all duration-300 border-b last:border-b-0 last:pb-0 last:mb-0 pb-6 mb-6 border-accordion-border",
2158
+ className
2159
+ ),
2160
+ ...props,
2161
+ children
2162
+ }
2163
+ );
2164
+ }
2165
+ function AccordionTrigger({
2166
+ className,
2167
+ children,
2168
+ ...props
2169
+ }) {
2170
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "nebula-ds flex", children: /* @__PURE__ */ jsx(
2171
+ AccordionPrimitive.Trigger,
2172
+ {
2173
+ "data-slot": "accordion-trigger",
2174
+ className: cn(
2175
+ "flex items-start justify-between w-full transition-all",
2176
+ "[&[data-state=open]_[data-slot=accordion-icon]]:rotate-180 [&_[data-slot=accordion-icon]]:transition-all duration-200",
2177
+ "data-[state=open]:mb-6",
2178
+ className
2179
+ ),
2180
+ ...props,
2181
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
2182
+ /* @__PURE__ */ jsx("div", { className: "nebula-ds flex flex-col gap-2", children }),
2183
+ /* @__PURE__ */ jsx("div", { className: "nebula-ds flex items-center justify-center w-5 h-5", children: /* @__PURE__ */ jsx(
2184
+ ChevronDown,
2185
+ {
2186
+ "data-slot": "accordion-icon",
2187
+ className: "nebula-ds text-accordion-icon w-4 h-4"
2188
+ }
2189
+ ) })
2190
+ ] })
2191
+ }
2192
+ ) });
2193
+ }
2194
+ function AccordionContent({
2195
+ className,
2196
+ children,
2197
+ separator = false,
2198
+ ...props
2199
+ }) {
2200
+ return /* @__PURE__ */ jsx(
2201
+ AccordionPrimitive.Content,
2202
+ {
2203
+ "data-slot": "accordion-content",
2204
+ className: cn(
2205
+ "overflow-hidden transition-all",
2206
+ "data-[state=closed]:animate-accordion-up",
2207
+ "data-[state=open]:animate-accordion-down",
2208
+ {
2209
+ "data-[state=open]:border-t border-accordion-border py-4": separator
2210
+ },
2211
+ className
2212
+ ),
2213
+ ...props,
2214
+ children
2215
+ }
2216
+ );
2217
+ }
2218
+ function AccordionTitle({
2219
+ className,
2220
+ ...props
2221
+ }) {
2222
+ return /* @__PURE__ */ jsx(
2223
+ "h2",
2224
+ {
2225
+ ...props,
2226
+ className: cn(
2227
+ "text-start !text-accordion-text-title font-semibold text-xl leading-none",
2228
+ className
2229
+ )
2230
+ }
2231
+ );
2232
+ }
2233
+ function AccordionDescription({
2234
+ className,
2235
+ ...props
2236
+ }) {
2237
+ return /* @__PURE__ */ jsx(
2238
+ "p",
2239
+ {
2240
+ ...props,
2241
+ className: cn(
2242
+ "text-start !text-accordion-text-description font-normal text-sm leading-none",
2243
+ className
2244
+ )
2245
+ }
2246
+ );
2247
+ }
2248
+ Accordion.displayName = "Accordion";
2249
+ AccordionItem.displayName = "AccordionItem";
2250
+ AccordionContent.displayName = "AccordionContent";
2251
+ AccordionTrigger.displayName = "AccordionTrigger";
2252
+ AccordionTitle.displayName = "AccordionTitle";
2253
+ AccordionDescription.displayName = "AccordionDescription";
2254
+ var TabsContext = React8.createContext({});
2255
+ var Tabs = React8.forwardRef(({ isFitted, children, ...props }, ref) => /* @__PURE__ */ jsx(TabsContext.Provider, { value: { isFitted }, children: /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, ...props, children }) }));
2256
+ Tabs.displayName = TabsPrimitive.Root.displayName;
2257
+ var TabsList = React8.forwardRef(({ className, ...props }, ref) => {
2258
+ const { isFitted } = React8.useContext(TabsContext);
2259
+ return /* @__PURE__ */ jsx(
2260
+ TabsPrimitive.List,
2261
+ {
2262
+ ref,
2263
+ className: cn(
2264
+ `
2265
+ inline-flex
2266
+ items-center
2267
+ border-b-[1px]
2268
+ border-tabs-border-default
2269
+ w-full
2270
+ `,
2271
+ { "justify-center": isFitted },
2272
+ className
2273
+ ),
2274
+ ...props
2275
+ }
2276
+ );
2277
+ });
2278
+ TabsList.displayName = TabsPrimitive.List.displayName;
2279
+ var TabsTrigger = React8.forwardRef(({ className, ...props }, ref) => {
2280
+ const { isFitted } = React8.useContext(TabsContext);
2281
+ return /* @__PURE__ */ jsx(
2282
+ TabsPrimitive.Trigger,
2283
+ {
2284
+ ref,
2285
+ className: cn(
2286
+ `
2287
+ inline-flex
2288
+ items-center
2289
+ justify-center
2290
+ whitespace-nowrap
2291
+ px-2
2292
+ min-h-10
2293
+ min-w-[125px]
2294
+ gap-2
2295
+ border-b-[2px]
2296
+ border-transparent
2297
+ -mb-[1px]
2298
+ text-sm
2299
+ font-semibold
2300
+ ring-offset-background
2301
+ transition-all
2302
+ text-tabs-text-default
2303
+ focus-visible:outline-none
2304
+ disabled:pointer-events-none
2305
+ disabled:opacity-50
2306
+ data-[state=active]:text-tabs-text-active
2307
+ data-[state=active]:border-tabs-border-active
2308
+ [&>svg]:h-4
2309
+ [&>svg]:w-4
2310
+ `,
2311
+ isFitted && "w-full",
2312
+ className
2313
+ ),
2314
+ ...props
2315
+ }
2316
+ );
2317
+ });
2318
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2319
+ var TabsContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2320
+ TabsPrimitive.Content,
2321
+ {
2322
+ ref,
2323
+ className: cn(
2324
+ `
2325
+ mt-2
2326
+ focus-visible:outline-none
2327
+ `,
2328
+ className
2329
+ ),
2330
+ ...props
2331
+ }
2332
+ ));
2333
+ TabsContent.displayName = TabsPrimitive.Content.displayName;
2334
+ var Box = ({
2335
+ className,
2336
+ paddingSize = "md",
2337
+ border = false,
2338
+ shadow = "sm",
2339
+ variant: variant3 = "primary",
2340
+ children,
2341
+ ...rest
2342
+ }) => {
2343
+ return /* @__PURE__ */ jsx(
2344
+ "div",
2345
+ {
2346
+ ...rest,
2347
+ className: cn(
2348
+ "w-full rounded-2xl",
2349
+ {
2350
+ "bg-box-background": variant3 === "primary",
2351
+ "bg-box-secondary-background": variant3 === "secondary"
2352
+ },
2353
+ {
2354
+ "p-4": paddingSize === "sm",
2355
+ "p-6": paddingSize === "md",
2356
+ "p-8": paddingSize === "lg"
2357
+ },
2358
+ {
2359
+ "border border-box-border": border
2360
+ },
2361
+ {
2362
+ "shadow-sm": shadow === "sm",
2363
+ "shadow-md": shadow === "md",
2364
+ "shadow-lg": shadow === "lg"
2365
+ },
2366
+ className
2367
+ ),
2368
+ children
2369
+ }
2370
+ );
2371
+ };
2372
+ function Toaster() {
2373
+ return /* @__PURE__ */ jsx(Toaster$1, { position: "top-right" });
2374
+ }
2375
+ function ToastComponent({
2376
+ type,
2377
+ message,
2378
+ options,
2379
+ t
2380
+ }) {
2381
+ const CustomIcon = React8__default.isValidElement(options?.icon) ? React8__default.cloneElement(options.icon, {
2382
+ className: cn("text-toast-icon-default", options.icon.props.className),
2383
+ size: 20
2384
+ }) : null;
2385
+ const typeIcons = {
2386
+ success: /* @__PURE__ */ jsx(CircleCheckBig, { className: "nebula-ds text-toast-icon-default", size: 20 }),
2387
+ error: /* @__PURE__ */ jsx(CircleX, { className: "nebula-ds text-toast-icon-error", size: 20 }),
2388
+ info: /* @__PURE__ */ jsx(Info, { className: "nebula-ds text-toast-icon-default", size: 20 }),
2389
+ custom: CustomIcon
2390
+ };
2391
+ return /* @__PURE__ */ jsxs("div", { className: "nebula-ds w-[400px] bg-toast-background border border-toast-border rounded-xl p-4 flex items-start justify-start gap-2 shadow-md", children: [
2392
+ /* @__PURE__ */ jsx("div", { children: typeIcons[type] }),
2393
+ /* @__PURE__ */ jsxs("div", { className: "nebula-ds flex flex-col gap-2 mr-auto", children: [
2394
+ /* @__PURE__ */ jsxs("div", { className: "nebula-ds flex flex-col", children: [
2395
+ /* @__PURE__ */ jsx("span", { className: "nebula-ds text-toast-title text-sm font-semibold", children: message }),
2396
+ options?.description && /* @__PURE__ */ jsx("span", { className: "nebula-ds text-toast-description text-sm font-medium", children: options.description })
2397
+ ] }),
2398
+ options?.action && /* @__PURE__ */ jsx("div", { className: "nebula-ds flex gap-2", children: /* @__PURE__ */ jsx(
2399
+ Button,
2400
+ {
2401
+ size: "sm",
2402
+ variant: options.action.variant || "secondary",
2403
+ onClick: options.action.onClick,
2404
+ children: options.action.label
2405
+ }
2406
+ ) })
2407
+ ] }),
2408
+ /* @__PURE__ */ jsx("button", { onClick: () => toast$1.dismiss(t), children: /* @__PURE__ */ jsx(X, { className: "nebula-ds text-toast-icon-default", size: 20 }) })
2409
+ ] });
2410
+ }
2411
+ function success(message, options) {
2412
+ toast$1.custom(
2413
+ (t) => /* @__PURE__ */ jsx(
2414
+ ToastComponent,
2415
+ {
2416
+ type: "success",
2417
+ message,
2418
+ options,
2419
+ t
2420
+ }
2421
+ ),
2422
+ {
2423
+ duration: 4e3
2424
+ // 4 seconds
2425
+ }
2426
+ );
2427
+ }
2428
+ function error(message, options) {
2429
+ toast$1.custom(
2430
+ (t) => /* @__PURE__ */ jsx(ToastComponent, { type: "error", message, options, t }),
2431
+ {
2432
+ duration: 6e3
2433
+ // 6 seconds
2434
+ }
2435
+ );
2436
+ }
2437
+ function info(message, options) {
2438
+ toast$1.custom(
2439
+ (t) => /* @__PURE__ */ jsx(ToastComponent, { type: "info", message, options, t }),
2440
+ {
2441
+ duration: 4e3
2442
+ // 4 seconds
2443
+ }
2444
+ );
2445
+ }
2446
+ function custom(message, options) {
2447
+ toast$1.custom(
2448
+ (t) => /* @__PURE__ */ jsx(ToastComponent, { type: "custom", message, options, t }),
2449
+ {
2450
+ duration: 4e3
2451
+ // 4 seconds
2452
+ }
2453
+ );
2454
+ }
2455
+ async function promise(promise2, messages8, options) {
2456
+ const loadingToast = toast$1.custom(
2457
+ (t) => /* @__PURE__ */ jsx(
2458
+ ToastComponent,
2459
+ {
2460
+ type: "info",
2461
+ message: messages8.loading,
2462
+ options,
2463
+ t
2464
+ }
2465
+ ),
2466
+ { duration: Infinity }
2467
+ );
2468
+ return promise2.then((result) => {
2469
+ toast$1.dismiss(loadingToast);
2470
+ toast$1.custom(
2471
+ (t) => /* @__PURE__ */ jsx(
2472
+ ToastComponent,
2473
+ {
2474
+ type: "success",
2475
+ message: messages8.success,
2476
+ options,
2477
+ t
2478
+ }
2479
+ ),
2480
+ { duration: 4e3 }
2481
+ );
2482
+ return result;
2483
+ }).catch((error2) => {
2484
+ toast$1.dismiss(loadingToast);
2485
+ toast$1.custom(
2486
+ (t) => /* @__PURE__ */ jsx(
2487
+ ToastComponent,
2488
+ {
2489
+ type: "error",
2490
+ message: messages8.error,
2491
+ options,
2492
+ t
2493
+ }
2494
+ ),
2495
+ { duration: 6e3 }
2496
+ );
2497
+ return Promise.reject(error2);
2498
+ });
2499
+ }
2500
+ var toast = {
2501
+ success,
2502
+ error,
2503
+ info,
2504
+ custom,
2505
+ promise
2506
+ };
2507
+ var ActionBar = React8.forwardRef(({ ...props }) => /* @__PURE__ */ jsx(DialogPrimitive.Root, { modal: false, ...props }));
2508
+ ActionBar.displayName = "ActionBar";
2509
+ var ActionBarTrigger = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ref, ...props }));
2510
+ ActionBarTrigger.displayName = "ActionBarTrigger";
2511
+ var ActionBarPortal = (props) => /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...props });
2512
+ ActionBarPortal.displayName = "ActionBarPortal";
2513
+ var ActionBarClose = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx(DialogPrimitive.Close, { ref, ...props }));
2514
+ ActionBarClose.displayName = "ActionBarClose";
2515
+ var ActionBarButton = React8.forwardRef(
2516
+ ({ className, ...props }, ref) => {
2517
+ return /* @__PURE__ */ jsx(
2518
+ Button,
2519
+ {
2520
+ ref,
2521
+ variant: "primary",
2522
+ className: cn(className, "rounded-none !text-sm"),
2523
+ tabIndex: -1,
2524
+ ...props
2525
+ }
2526
+ );
2527
+ }
2528
+ );
2529
+ ActionBarButton.displayName = "ActionBarButton";
2530
+ var ActionBarDivider = React8.forwardRef(({ className, ...props }, ref) => {
2531
+ return /* @__PURE__ */ jsx(
2532
+ Separator2,
2533
+ {
2534
+ ref,
2535
+ className: cn("bg-actionBar-divider h-6", className),
2536
+ orientation: "vertical",
2537
+ ...props
2538
+ }
2539
+ );
2540
+ });
2541
+ ActionBarDivider.displayName = "ActionBarDivider";
2542
+ var ActionBarContent = React8.forwardRef(({ className, children, portal = false, ...props }, ref) => {
2543
+ const Comp = portal ? ActionBarPortal : React8.Fragment;
2544
+ return /* @__PURE__ */ jsx(Comp, { children: /* @__PURE__ */ jsxs(
2545
+ DialogPrimitive.Content,
2546
+ {
2547
+ ref,
2548
+ onInteractOutside: (e) => e.preventDefault(),
2549
+ className: cn(
2550
+ "fixed left-1/2 bottom-[24px] z-50 -translate-x-1/2",
2551
+ "flex items-center justify-items-center rounded-full shadow-lg shadow-actionBar-shadow",
2552
+ "data-[state=open]:animate-slide-up-center data-[state=closed]:animate-slide-down-center",
2553
+ "bg-button-primary-background-default",
2554
+ "overflow-hidden",
2555
+ className
2556
+ ),
2557
+ ...props,
2558
+ children: [
2559
+ /* @__PURE__ */ jsx(DialogPrimitive.Title, { className: "nebula-ds sr-only" }),
2560
+ children
2561
+ ]
2562
+ }
2563
+ ) });
2564
+ });
2565
+ ActionBarContent.displayName = "ActionBarContent";
2114
2566
 
2115
2567
  // src/tailwind.ts
2116
2568
  function content({ base = "./" } = {}) {
@@ -2133,11 +2585,13 @@ lucide-react/dist/esm/icons/chevron-left.js:
2133
2585
  lucide-react/dist/esm/icons/chevron-right.js:
2134
2586
  lucide-react/dist/esm/icons/chevrons-left.js:
2135
2587
  lucide-react/dist/esm/icons/chevrons-right.js:
2588
+ lucide-react/dist/esm/icons/circle-check-big.js:
2136
2589
  lucide-react/dist/esm/icons/circle-x.js:
2137
2590
  lucide-react/dist/esm/icons/circle.js:
2138
2591
  lucide-react/dist/esm/icons/ellipsis.js:
2139
2592
  lucide-react/dist/esm/icons/eye-off.js:
2140
2593
  lucide-react/dist/esm/icons/eye.js:
2594
+ lucide-react/dist/esm/icons/info.js:
2141
2595
  lucide-react/dist/esm/icons/minus.js:
2142
2596
  lucide-react/dist/esm/icons/x.js:
2143
2597
  lucide-react/dist/esm/lucide-react.js:
@@ -2149,4 +2603,4 @@ lucide-react/dist/esm/lucide-react.js:
2149
2603
  *)
2150
2604
  */
2151
2605
 
2152
- export { Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Checkbox, StyledCreatable as Creatable, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, InputText, Label, NebulaI18nProvider, Pagination, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, Separator2 as Separator, Space, SpaceDirectionEnum, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, Tooltip, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages7 as messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
2606
+ export { Accordion, AccordionContent, AccordionDescription, AccordionItem, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Checkbox, StyledCreatable as Creatable, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, InputText, Label, NebulaI18nProvider, Pagination, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, Separator2 as Separator, Space, SpaceDirectionEnum, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Toaster, Tooltip, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages7 as messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useNebulaI18n };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikatec/nebula-react",
3
- "version": "0.0.1-alpha.24",
3
+ "version": "1.0.0",
4
4
  "description": "React components",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,6 +37,7 @@
37
37
  "typescript": "^5.8.3"
38
38
  },
39
39
  "dependencies": {
40
+ "@radix-ui/react-accordion": "^1.2.11",
40
41
  "@radix-ui/react-alert-dialog": "^1.1.7",
41
42
  "@radix-ui/react-checkbox": "^1.1.4",
42
43
  "@radix-ui/react-dialog": "^1.1.7",
@@ -46,10 +47,12 @@
46
47
  "@radix-ui/react-separator": "^1.1.2",
47
48
  "@radix-ui/react-slot": "^1.1.1",
48
49
  "@radix-ui/react-switch": "^1.2.4",
50
+ "@radix-ui/react-tabs": "^1.1.12",
49
51
  "@radix-ui/react-toggle": "^1.1.8",
50
52
  "@radix-ui/react-tooltip": "^1.2.6",
51
53
  "class-variance-authority": "^0.7.1",
52
54
  "react-select": "^5.10.1",
55
+ "sonner": "^2.0.5",
53
56
  "tailwind-merge": "^2.6.0"
54
57
  },
55
58
  "peerDependencies": {