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

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.d.mts CHANGED
@@ -13,6 +13,8 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
13
13
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
14
  import * as SwitchPrimitives from '@radix-ui/react-switch';
15
15
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
16
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
17
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
16
18
 
17
19
  declare enum buttonVariantEnum {
18
20
  primary = "\n bg-button-primary-background-default\n hover:bg-button-primary-background-hover\n active:bg-button-primary-background-active\n focus:bg-button-primary-background-focus\n focus:ring-button-primary-border-focus\n text-button-primary-text\n ",
@@ -388,6 +390,42 @@ interface TooltipProps {
388
390
  }
389
391
  declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
390
392
 
393
+ interface AccordionProps extends React$1.HTMLAttributes<HTMLDivElement> {
394
+ }
395
+ declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
396
+ collapsible?: boolean;
397
+ }): react_jsx_runtime.JSX.Element;
398
+ declare namespace Accordion {
399
+ var displayName: string;
400
+ }
401
+ declare function AccordionItem({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
402
+ declare namespace AccordionItem {
403
+ var displayName: string;
404
+ }
405
+ declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
406
+ declare namespace AccordionTrigger {
407
+ var displayName: string;
408
+ }
409
+ declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
410
+ declare namespace AccordionContent {
411
+ var displayName: string;
412
+ }
413
+ declare function AccordionTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
414
+ declare namespace AccordionTitle {
415
+ var displayName: string;
416
+ }
417
+ declare function AccordionDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
418
+ declare namespace AccordionDescription {
419
+ var displayName: string;
420
+ }
421
+
422
+ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
423
+ isFitted?: boolean;
424
+ } & React$1.RefAttributes<HTMLDivElement>>;
425
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
426
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
427
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
428
+
391
429
  interface Content {
392
430
  /**
393
431
  * Path to `node_modules` where `flowbite-react` is installed
@@ -504,4 +542,4 @@ declare const setNebulaLanguage: (language: Language) => void;
504
542
  */
505
543
  declare const messages: Map<Language | null | undefined, Messages>;
506
544
 
507
- export { Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, 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, type InputTextProps, Label, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, type TagProps, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
545
+ export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, 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, type InputTextProps, Label, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
13
13
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
14
14
  import * as SwitchPrimitives from '@radix-ui/react-switch';
15
15
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
16
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
17
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
16
18
 
17
19
  declare enum buttonVariantEnum {
18
20
  primary = "\n bg-button-primary-background-default\n hover:bg-button-primary-background-hover\n active:bg-button-primary-background-active\n focus:bg-button-primary-background-focus\n focus:ring-button-primary-border-focus\n text-button-primary-text\n ",
@@ -388,6 +390,42 @@ interface TooltipProps {
388
390
  }
389
391
  declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
390
392
 
393
+ interface AccordionProps extends React$1.HTMLAttributes<HTMLDivElement> {
394
+ }
395
+ declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
396
+ collapsible?: boolean;
397
+ }): react_jsx_runtime.JSX.Element;
398
+ declare namespace Accordion {
399
+ var displayName: string;
400
+ }
401
+ declare function AccordionItem({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
402
+ declare namespace AccordionItem {
403
+ var displayName: string;
404
+ }
405
+ declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
406
+ declare namespace AccordionTrigger {
407
+ var displayName: string;
408
+ }
409
+ declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
410
+ declare namespace AccordionContent {
411
+ var displayName: string;
412
+ }
413
+ declare function AccordionTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
414
+ declare namespace AccordionTitle {
415
+ var displayName: string;
416
+ }
417
+ declare function AccordionDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
418
+ declare namespace AccordionDescription {
419
+ var displayName: string;
420
+ }
421
+
422
+ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
423
+ isFitted?: boolean;
424
+ } & React$1.RefAttributes<HTMLDivElement>>;
425
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
426
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
427
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
428
+
391
429
  interface Content {
392
430
  /**
393
431
  * Path to `node_modules` where `flowbite-react` is installed
@@ -504,4 +542,4 @@ declare const setNebulaLanguage: (language: Language) => void;
504
542
  */
505
543
  declare const messages: Map<Language | null | undefined, Messages>;
506
544
 
507
- export { Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, 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, type InputTextProps, Label, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, type TagProps, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
545
+ export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Checkbox, type CheckboxProps, 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, type InputTextProps, Label, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Popover, PopoverContent, PopoverTrigger, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
package/dist/index.js CHANGED
@@ -18,6 +18,8 @@ var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
18
18
  var CheckboxPrimitive = require('@radix-ui/react-checkbox');
19
19
  var SwitchPrimitives = require('@radix-ui/react-switch');
20
20
  var TooltipPrimitive = require('@radix-ui/react-tooltip');
21
+ var AccordionPrimitive = require('@radix-ui/react-accordion');
22
+ var TabsPrimitive = require('@radix-ui/react-tabs');
21
23
 
22
24
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
23
25
 
@@ -53,6 +55,8 @@ var AlertDialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(AlertDialog
53
55
  var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
54
56
  var SwitchPrimitives__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitives);
55
57
  var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
58
+ var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
59
+ var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
56
60
 
57
61
  // src/button.tsx
58
62
 
@@ -2147,6 +2151,197 @@ var Tooltip = React8__namespace.forwardRef(
2147
2151
  }
2148
2152
  );
2149
2153
  Tooltip.displayName = "Tooltip";
2154
+ function Accordion({
2155
+ className,
2156
+ children,
2157
+ ...props
2158
+ }) {
2159
+ return /* @__PURE__ */ jsxRuntime.jsx(
2160
+ AccordionPrimitive__namespace.Root,
2161
+ {
2162
+ collapsible: true,
2163
+ className: cn(
2164
+ "w-full bg-accordion-background rounded-3xl p-6",
2165
+ className
2166
+ ),
2167
+ ...props,
2168
+ children
2169
+ }
2170
+ );
2171
+ }
2172
+ function AccordionItem({
2173
+ className,
2174
+ children,
2175
+ ...props
2176
+ }) {
2177
+ return /* @__PURE__ */ jsxRuntime.jsx(
2178
+ AccordionPrimitive__namespace.Item,
2179
+ {
2180
+ "data-slot": "accordion-item",
2181
+ className: cn(
2182
+ "transition-all duration-300 border-b last:border-b-0 last:pb-0 last:mb-0 pb-6 mb-6 border-neutral-200 dark:border-neutral-600",
2183
+ className
2184
+ ),
2185
+ ...props,
2186
+ children
2187
+ }
2188
+ );
2189
+ }
2190
+ function AccordionTrigger({
2191
+ className,
2192
+ children,
2193
+ ...props
2194
+ }) {
2195
+ return /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "nebula-ds flex", children: /* @__PURE__ */ jsxRuntime.jsx(
2196
+ AccordionPrimitive__namespace.Trigger,
2197
+ {
2198
+ "data-slot": "accordion-trigger",
2199
+ className: cn(
2200
+ "flex items-center justify-between w-full transition-all",
2201
+ "[&[data-state=open]>svg]:rotate-180 [&>svg]:transition-all duration-200",
2202
+ "data-[state=open]:mb-6",
2203
+ className
2204
+ ),
2205
+ ...props,
2206
+ children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2207
+ children,
2208
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronDown, { className: "nebula-ds text-accordion-icon w-6 h-6" })
2209
+ ] })
2210
+ }
2211
+ ) });
2212
+ }
2213
+ function AccordionContent({
2214
+ className,
2215
+ children,
2216
+ ...props
2217
+ }) {
2218
+ return /* @__PURE__ */ jsxRuntime.jsx(
2219
+ AccordionPrimitive__namespace.Content,
2220
+ {
2221
+ "data-slot": "accordion-content",
2222
+ className: cn(
2223
+ "overflow-hidden transition-all",
2224
+ "data-[state=closed]:animate-accordion-up",
2225
+ "data-[state=open]:animate-accordion-down",
2226
+ className
2227
+ ),
2228
+ ...props,
2229
+ children
2230
+ }
2231
+ );
2232
+ }
2233
+ function AccordionTitle({
2234
+ className,
2235
+ ...props
2236
+ }) {
2237
+ return /* @__PURE__ */ jsxRuntime.jsx(
2238
+ "h2",
2239
+ {
2240
+ ...props,
2241
+ className: cn(
2242
+ "text-start !text-accordion-text-title font-semibold text-xl",
2243
+ className
2244
+ )
2245
+ }
2246
+ );
2247
+ }
2248
+ function AccordionDescription({
2249
+ className,
2250
+ ...props
2251
+ }) {
2252
+ return /* @__PURE__ */ jsxRuntime.jsx(
2253
+ "p",
2254
+ {
2255
+ ...props,
2256
+ className: cn(
2257
+ "text-start !text-accordion-text-description font-normal text-sm min-h-5 mt-1",
2258
+ className
2259
+ )
2260
+ }
2261
+ );
2262
+ }
2263
+ Accordion.displayName = "Accordion";
2264
+ AccordionItem.displayName = "AccordionItem";
2265
+ AccordionContent.displayName = "AccordionContent";
2266
+ AccordionTrigger.displayName = "AccordionTrigger";
2267
+ AccordionTitle.displayName = "AccordionTitle";
2268
+ AccordionDescription.displayName = "AccordionDescription";
2269
+ var TabsContext = React8__namespace.createContext({});
2270
+ var Tabs = React8__namespace.forwardRef(({ isFitted, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TabsContext.Provider, { value: { isFitted }, children: /* @__PURE__ */ jsxRuntime.jsx(TabsPrimitive__namespace.Root, { ref, ...props, children }) }));
2271
+ Tabs.displayName = TabsPrimitive__namespace.Root.displayName;
2272
+ var TabsList = React8__namespace.forwardRef(({ className, ...props }, ref) => {
2273
+ return /* @__PURE__ */ jsxRuntime.jsx(
2274
+ TabsPrimitive__namespace.List,
2275
+ {
2276
+ ref,
2277
+ className: cn(
2278
+ `
2279
+ inline-flex
2280
+ items-center
2281
+ justify-center
2282
+ w-full
2283
+ `,
2284
+ className
2285
+ ),
2286
+ ...props
2287
+ }
2288
+ );
2289
+ });
2290
+ TabsList.displayName = TabsPrimitive__namespace.List.displayName;
2291
+ var TabsTrigger = React8__namespace.forwardRef(({ className, ...props }, ref) => {
2292
+ const { isFitted } = React8__namespace.useContext(TabsContext);
2293
+ return /* @__PURE__ */ jsxRuntime.jsx(
2294
+ TabsPrimitive__namespace.Trigger,
2295
+ {
2296
+ ref,
2297
+ className: cn(
2298
+ `
2299
+ inline-flex
2300
+ items-center
2301
+ justify-center
2302
+ whitespace-nowrap
2303
+ px-2
2304
+ min-h-10
2305
+ min-w-[125px]
2306
+ gap-2
2307
+ text-sm
2308
+ font-semibold
2309
+ ring-offset-background
2310
+ transition-all
2311
+ border-b-2
2312
+ border-tabs-border-default
2313
+ text-tabs-text-default
2314
+ focus-visible:outline-none
2315
+ disabled:pointer-events-none
2316
+ disabled:opacity-50
2317
+ data-[state=active]:text-tabs-text-active
2318
+ data-[state=active]:border-tabs-border-active
2319
+ [&>svg]:h-4
2320
+ [&>svg]:w-4
2321
+ `,
2322
+ isFitted && "w-full",
2323
+ className
2324
+ ),
2325
+ ...props
2326
+ }
2327
+ );
2328
+ });
2329
+ TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
2330
+ var TabsContent = React8__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2331
+ TabsPrimitive__namespace.Content,
2332
+ {
2333
+ ref,
2334
+ className: cn(
2335
+ `
2336
+ mt-2
2337
+ focus-visible:outline-none
2338
+ `,
2339
+ className
2340
+ ),
2341
+ ...props
2342
+ }
2343
+ ));
2344
+ TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
2150
2345
 
2151
2346
  // src/tailwind.ts
2152
2347
  function content({ base = "./" } = {}) {
@@ -2185,6 +2380,12 @@ lucide-react/dist/esm/lucide-react.js:
2185
2380
  *)
2186
2381
  */
2187
2382
 
2383
+ exports.Accordion = Accordion;
2384
+ exports.AccordionContent = AccordionContent;
2385
+ exports.AccordionDescription = AccordionDescription;
2386
+ exports.AccordionItem = AccordionItem;
2387
+ exports.AccordionTitle = AccordionTitle;
2388
+ exports.AccordionTrigger = AccordionTrigger;
2188
2389
  exports.Alert = Alert;
2189
2390
  exports.AlertButton = AlertButton;
2190
2391
  exports.AlertDescription = AlertDescription;
@@ -2266,6 +2467,10 @@ exports.TableFooter = TableFooter;
2266
2467
  exports.TableHead = TableHead;
2267
2468
  exports.TableHeader = TableHeader;
2268
2469
  exports.TableRow = TableRow;
2470
+ exports.Tabs = Tabs;
2471
+ exports.TabsContent = TabsContent;
2472
+ exports.TabsList = TabsList;
2473
+ exports.TabsTrigger = TabsTrigger;
2269
2474
  exports.Tag = Tag;
2270
2475
  exports.Tooltip = Tooltip;
2271
2476
  exports.alertVariants = alertVariants;
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,8 @@ 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';
20
22
 
21
23
  // src/button.tsx
22
24
 
@@ -2111,6 +2113,197 @@ var Tooltip = React8.forwardRef(
2111
2113
  }
2112
2114
  );
2113
2115
  Tooltip.displayName = "Tooltip";
2116
+ function Accordion({
2117
+ className,
2118
+ children,
2119
+ ...props
2120
+ }) {
2121
+ return /* @__PURE__ */ jsx(
2122
+ AccordionPrimitive.Root,
2123
+ {
2124
+ collapsible: true,
2125
+ className: cn(
2126
+ "w-full bg-accordion-background rounded-3xl p-6",
2127
+ className
2128
+ ),
2129
+ ...props,
2130
+ children
2131
+ }
2132
+ );
2133
+ }
2134
+ function AccordionItem({
2135
+ className,
2136
+ children,
2137
+ ...props
2138
+ }) {
2139
+ return /* @__PURE__ */ jsx(
2140
+ AccordionPrimitive.Item,
2141
+ {
2142
+ "data-slot": "accordion-item",
2143
+ className: cn(
2144
+ "transition-all duration-300 border-b last:border-b-0 last:pb-0 last:mb-0 pb-6 mb-6 border-neutral-200 dark:border-neutral-600",
2145
+ className
2146
+ ),
2147
+ ...props,
2148
+ children
2149
+ }
2150
+ );
2151
+ }
2152
+ function AccordionTrigger({
2153
+ className,
2154
+ children,
2155
+ ...props
2156
+ }) {
2157
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "nebula-ds flex", children: /* @__PURE__ */ jsx(
2158
+ AccordionPrimitive.Trigger,
2159
+ {
2160
+ "data-slot": "accordion-trigger",
2161
+ className: cn(
2162
+ "flex items-center justify-between w-full transition-all",
2163
+ "[&[data-state=open]>svg]:rotate-180 [&>svg]:transition-all duration-200",
2164
+ "data-[state=open]:mb-6",
2165
+ className
2166
+ ),
2167
+ ...props,
2168
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
2169
+ children,
2170
+ /* @__PURE__ */ jsx(ChevronDown, { className: "nebula-ds text-accordion-icon w-6 h-6" })
2171
+ ] })
2172
+ }
2173
+ ) });
2174
+ }
2175
+ function AccordionContent({
2176
+ className,
2177
+ children,
2178
+ ...props
2179
+ }) {
2180
+ return /* @__PURE__ */ jsx(
2181
+ AccordionPrimitive.Content,
2182
+ {
2183
+ "data-slot": "accordion-content",
2184
+ className: cn(
2185
+ "overflow-hidden transition-all",
2186
+ "data-[state=closed]:animate-accordion-up",
2187
+ "data-[state=open]:animate-accordion-down",
2188
+ className
2189
+ ),
2190
+ ...props,
2191
+ children
2192
+ }
2193
+ );
2194
+ }
2195
+ function AccordionTitle({
2196
+ className,
2197
+ ...props
2198
+ }) {
2199
+ return /* @__PURE__ */ jsx(
2200
+ "h2",
2201
+ {
2202
+ ...props,
2203
+ className: cn(
2204
+ "text-start !text-accordion-text-title font-semibold text-xl",
2205
+ className
2206
+ )
2207
+ }
2208
+ );
2209
+ }
2210
+ function AccordionDescription({
2211
+ className,
2212
+ ...props
2213
+ }) {
2214
+ return /* @__PURE__ */ jsx(
2215
+ "p",
2216
+ {
2217
+ ...props,
2218
+ className: cn(
2219
+ "text-start !text-accordion-text-description font-normal text-sm min-h-5 mt-1",
2220
+ className
2221
+ )
2222
+ }
2223
+ );
2224
+ }
2225
+ Accordion.displayName = "Accordion";
2226
+ AccordionItem.displayName = "AccordionItem";
2227
+ AccordionContent.displayName = "AccordionContent";
2228
+ AccordionTrigger.displayName = "AccordionTrigger";
2229
+ AccordionTitle.displayName = "AccordionTitle";
2230
+ AccordionDescription.displayName = "AccordionDescription";
2231
+ var TabsContext = React8.createContext({});
2232
+ var Tabs = React8.forwardRef(({ isFitted, children, ...props }, ref) => /* @__PURE__ */ jsx(TabsContext.Provider, { value: { isFitted }, children: /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, ...props, children }) }));
2233
+ Tabs.displayName = TabsPrimitive.Root.displayName;
2234
+ var TabsList = React8.forwardRef(({ className, ...props }, ref) => {
2235
+ return /* @__PURE__ */ jsx(
2236
+ TabsPrimitive.List,
2237
+ {
2238
+ ref,
2239
+ className: cn(
2240
+ `
2241
+ inline-flex
2242
+ items-center
2243
+ justify-center
2244
+ w-full
2245
+ `,
2246
+ className
2247
+ ),
2248
+ ...props
2249
+ }
2250
+ );
2251
+ });
2252
+ TabsList.displayName = TabsPrimitive.List.displayName;
2253
+ var TabsTrigger = React8.forwardRef(({ className, ...props }, ref) => {
2254
+ const { isFitted } = React8.useContext(TabsContext);
2255
+ return /* @__PURE__ */ jsx(
2256
+ TabsPrimitive.Trigger,
2257
+ {
2258
+ ref,
2259
+ className: cn(
2260
+ `
2261
+ inline-flex
2262
+ items-center
2263
+ justify-center
2264
+ whitespace-nowrap
2265
+ px-2
2266
+ min-h-10
2267
+ min-w-[125px]
2268
+ gap-2
2269
+ text-sm
2270
+ font-semibold
2271
+ ring-offset-background
2272
+ transition-all
2273
+ border-b-2
2274
+ border-tabs-border-default
2275
+ text-tabs-text-default
2276
+ focus-visible:outline-none
2277
+ disabled:pointer-events-none
2278
+ disabled:opacity-50
2279
+ data-[state=active]:text-tabs-text-active
2280
+ data-[state=active]:border-tabs-border-active
2281
+ [&>svg]:h-4
2282
+ [&>svg]:w-4
2283
+ `,
2284
+ isFitted && "w-full",
2285
+ className
2286
+ ),
2287
+ ...props
2288
+ }
2289
+ );
2290
+ });
2291
+ TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2292
+ var TabsContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2293
+ TabsPrimitive.Content,
2294
+ {
2295
+ ref,
2296
+ className: cn(
2297
+ `
2298
+ mt-2
2299
+ focus-visible:outline-none
2300
+ `,
2301
+ className
2302
+ ),
2303
+ ...props
2304
+ }
2305
+ ));
2306
+ TabsContent.displayName = TabsPrimitive.Content.displayName;
2114
2307
 
2115
2308
  // src/tailwind.ts
2116
2309
  function content({ base = "./" } = {}) {
@@ -2149,4 +2342,4 @@ lucide-react/dist/esm/lucide-react.js:
2149
2342
  *)
2150
2343
  */
2151
2344
 
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 };
2345
+ export { Accordion, AccordionContent, AccordionDescription, AccordionItem, AccordionTitle, AccordionTrigger, 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, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Tooltip, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, getNebulaLanguage, messages7 as messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, useNebulaI18n };
@@ -0,0 +1,521 @@
1
+ :root {
2
+ --primary-50: #f2f7fc;
3
+ --primary-100: #e1edf8;
4
+ --primary-200: #cadff3;
5
+ --primary-300: #a5cbeb;
6
+ --primary-400: #7ab0e0;
7
+ --primary-500: #5a92d7;
8
+ --primary-600: #4679ca;
9
+ --primary-700: #3c66b9;
10
+ --primary-800: #365497;
11
+ --primary-900: #324b7d;
12
+ --primary-950: #212e4a;
13
+ --success-50: #e9ffe5;
14
+ --success-100: #cdffc7;
15
+ --success-200: #9fff95;
16
+ --success-300: #63fe58;
17
+ --success-400: #32f526;
18
+ --success-500: #0edc06;
19
+ --success-600: #04b100;
20
+ --success-700: #068506;
21
+ --success-800: #0b690b;
22
+ --success-900: #0f5811;
23
+ --success-950: #013204;
24
+ --warning-50: #fdfbe9;
25
+ --warning-100: #fcf9c5;
26
+ --warning-200: #fbef8d;
27
+ --warning-300: #f8df4c;
28
+ --warning-400: #f3cb1c;
29
+ --warning-500: #e3b30f;
30
+ --warning-600: #c48b0a;
31
+ --warning-700: #9c630c;
32
+ --warning-800: #814f12;
33
+ --warning-900: #6f4115;
34
+ --warning-950: #402108;
35
+ --danger-50: #fef2f2;
36
+ --danger-100: #fee2e2;
37
+ --danger-200: #fecaca;
38
+ --danger-300: #fba6a6;
39
+ --danger-400: #f77272;
40
+ --danger-500: #ee4545;
41
+ --danger-600: #db2727;
42
+ --danger-700: #b81d1d;
43
+ --danger-800: #981c1c;
44
+ --danger-900: #801e1e;
45
+ --danger-950: #450a0a;
46
+ --neutral-white: #ffffff;
47
+ --neutral-50: #f7f8f8;
48
+ --neutral-100: #edeef1;
49
+ --neutral-200: #d7dbe0;
50
+ --neutral-300: #b4bbc5;
51
+ --neutral-400: #8c97a4;
52
+ --neutral-500: #6e7a89;
53
+ --neutral-600: #586171;
54
+ --neutral-700: #4c5461;
55
+ --neutral-800: #3e444e;
56
+ --neutral-900: #373c43;
57
+ --neutral-950: #24272d;
58
+ --neutral-1000: #1d1f24;
59
+
60
+ --button-primary-background-default: var(--primary-900);
61
+ --button-primary-background-hover: var(--primary-800);
62
+ --button-primary-background-active: var(--primary-950);
63
+ --button-primary-background-focus: var(--primary-800);
64
+ --button-primary-border-focus: var(--primary-300);
65
+ --button-primary-text: var(--neutral-50);
66
+
67
+ --button-secondary-background-default: white;
68
+ --button-secondary-background-hover: var(--neutral-50);
69
+ --button-secondary-background-active: var(--neutral-100);
70
+ --button-secondary-background-focus: white;
71
+ --button-secondary-border-default: var(--neutral-300);
72
+ --button-secondary-border-focus: var(--primary-300);
73
+ --button-secondary-text: var(--neutral-1000);
74
+
75
+ --button-ghost-background-hover: var(--neutral-100);
76
+ --button-ghost-background-active: var(--neutral-200);
77
+ --button-ghost-background-focus: var(--neutral-100);
78
+ --button-ghost-border-focus: var(--primary-300);
79
+ --button-ghost-text: var(--neutral-1000);
80
+
81
+ --button-danger-background-default: var(--danger-700);
82
+ --button-danger-background-hover: var(--danger-600);
83
+ --button-danger-background-active: var(--danger-800);
84
+ --button-danger-background-focus: var(--danger-600);
85
+ --button-danger-border-focus: var(--danger-300);
86
+ --button-danger-text: var(--neutral-50);
87
+
88
+ --button-disabled-background: var(--neutral-200);
89
+ --button-disabled-text: var(--neutral-500);
90
+
91
+ /* badge styles */
92
+ --badge-primary-background: var(--primary-900);
93
+ --badge-primary-text: var(--neutral-white);
94
+
95
+ --badge-secondary-background: var(--neutral-200);
96
+ --badge-secondary-text: var(--neutral-1000);
97
+
98
+ --badge-alert-background-default: var(--danger-600);
99
+ --badge-alert-text: var(--neutral-white);
100
+
101
+ --separator-border-default: var(--neutral-300);
102
+
103
+ --alert-success-background: var(--success-50);
104
+ --alert-success-border: var(--success-600);
105
+ --alert-success-text: var(--neutral-950);
106
+ --alert-success-icon: var(--success-700);
107
+ --alert-success-button-color: var(--primary-900);
108
+
109
+ --alert-info-background: var(--primary-50);
110
+ --alert-info-border: var(--primary-600);
111
+ --alert-info-text: var(--neutral-950);
112
+ --alert-info-icon: var(--primary-700);
113
+ --alert-info-button-color: var(--primary-900);
114
+
115
+ --alert-default-background: var(--neutral-50);
116
+ --alert-default-border: var(--primary-600);
117
+ --alert-default-text: var(--neutral-950);
118
+ --alert-default-icon: var(--primary-700);
119
+ --alert-default-button-color: var(--primary-900);
120
+
121
+ --alert-warning-background: var(--warning-50);
122
+ --alert-warning-border: var(--warning-600);
123
+ --alert-warning-text: var(--neutral-950);
124
+ --alert-warning-icon: var(--warning-700);
125
+ --alert-warning-button-color: var(--primary-900);
126
+
127
+ --alert-danger-background: var(--danger-50);
128
+ --alert-danger-border: var(--danger-600);
129
+ --alert-danger-text: var(--neutral-950);
130
+ --alert-danger-icon: var(--danger-700);
131
+ --alert-danger-button-color: var(--primary-900);
132
+
133
+ --label-text-default: var(--neutral-500);
134
+ --label-text-active: var(--neutral-950);
135
+
136
+ --input-background: white;
137
+ --input-border-default: var(--neutral-300);
138
+ --input-border-focus: var(--primary-950);
139
+ --input-text: var(--neutral-950);
140
+ --input-placeholder: var(--neutral-500);
141
+ --input-helper-text-default: var(--neutral-500);
142
+ --input-helper-text-error: var(--danger-500);
143
+
144
+ /* Dropdown styles */
145
+ --dropdown-background: white;
146
+ --dropdown-border: var(--neutral-200);
147
+ --dropdown-shadow: rgba(166, 184, 230, 0.32);
148
+
149
+ /* Popover styles */
150
+ --popover-background: var(--neutral-white);
151
+ --popover-border-color: var(--neutral-200);
152
+ --popover-shadow-color: rgba(166, 184, 230, 0.32);
153
+
154
+ /* listItem styles */
155
+ --listItem-background: white;
156
+ --listItem-background-hover: var(--neutral-50);
157
+ --listItem-border: var(--neutral-200);
158
+ --listItem-text-header: var(--neutral-400);
159
+ --listItem-text: var(--neutral-600);
160
+ --listItem-text-selected: var(--neutral-950);
161
+ --listItem-icon: var(--neutral-600);
162
+ --listItem-icon-selected: var(--neutral-950);
163
+
164
+ /* Pagination styles */
165
+ --pagination-text: var(--neutral-600);
166
+ --pagination-background-default: var(--neutral-white);
167
+ --pagination-background-hover: var(--neutral-50);
168
+ --pagination-background-disabled: var(--neutral-white);
169
+ --pagination-border-default: var(--neutral-200);
170
+ --pagination-border-disabled: var(--neutral-100);
171
+ --pagination-icon-default: var(--neutral-600);
172
+ --pagination-icon-disabled: var(--neutral-300);
173
+
174
+ /* Tag styles */
175
+ --tag-border: var(--neutral-200);
176
+ --tag-icon: var(--neutral-400);
177
+ --tag-text: var(--neutral-600);
178
+ --tag-background-hover: var(--neutral-100);
179
+ --tag-colorIndicator-yellow: #f3cb1c;
180
+ --tag-colorIndicator-blue: #40c3ff;
181
+ --tag-colorIndicator-red: #f77272;
182
+ --tag-colorIndicator-green: #6ee566;
183
+ --tag-colorIndicator-gray: #8c97a4;
184
+ --tag-colorIndicator-orange: #ff7f29;
185
+
186
+ /* Table styles */
187
+ --table-background: white;
188
+ --table-border: var(--neutral-200);
189
+ /* --table-header-background: white; */
190
+ /* --table-header-border: var(--neutral-200); */
191
+ --table-header-text: var(--neutral-800);
192
+ /* --table-header-helper: var(--neutral-300); */
193
+ --table-cell-background-first-layer: white;
194
+ --table-cell-background-second-layer: var(--neutral-50);
195
+ --table-cell-border: var(--neutral-200);
196
+ --table-cell-text: var(--neutral-950);
197
+ --table-cell-link: var(--primary-700);
198
+ --table-cell-icon: var(--primary-950);
199
+
200
+ /* Input select styles */
201
+ /* default */
202
+ --inputSelect-background-default: var(--neutral-white);
203
+ --inputSelect-border-default: var(--neutral-300);
204
+ --inputSelect-text-default: var(--neutral-500);
205
+ --inputSelect-icon-default: var(--neutral-500);
206
+
207
+ /* Focus */
208
+ --inputSelect-border-focus: var(--primary-300);
209
+ --inputSelect-text-focus: var(--neutral-950);
210
+
211
+ /* Active */
212
+ --inputSelect-border-active: var(--neutral-950);
213
+ --inputSelect-text-active: var(--neutral-950);
214
+ --inputSelect-icon-active: var(--neutral-950);
215
+
216
+ /* Filled */
217
+ --inputSelect-border-filled: var(--primary-300);
218
+ --inputSelect-text-filled: var(--neutral-950);
219
+ --inputSelect-icon-filled: var(--neutral-950);
220
+
221
+ /* Disabled */
222
+ --inputSelect-background-disabled: var(--neutral-100);
223
+
224
+ /* Danger */
225
+ --inputSelect-border-danger: var(--danger-600);
226
+ --inputSelect-icon-danger: var(--danger-600);
227
+
228
+ /* Input-text styles */
229
+ --inputText-background-default: white;
230
+ --inputText-background-disabled: var(--neutral-100);
231
+ --inputText-border-default: var(--neutral-300);
232
+ --inputText-border-focus: var(--primary-300);
233
+ --inputText-border-active: var(--neutral-950);
234
+ --inputText-border-danger: var(--danger-600);
235
+ --inputText-border-filled: var(--neutral-950);
236
+ --inputText-text-default: var(--neutral-500);
237
+ --inputText-text-focus: var(--neutral-950);
238
+ /* --inputText-text-active: var(--primary-950); */
239
+ --inputText-text-filled: var(--neutral-950);
240
+ --inputText-text-disabled: var(--neutral-500);
241
+ --inputText-icon-default: var(--neutral-500);
242
+ --inputText-icon-focus: var(--neutral-950);
243
+ /* --inputText-icon-active: var(--primary-950); */
244
+ --inputText-icon-filled: var(--neutral-950);
245
+ --inputText-icon-danger: var(--danger-600);
246
+ --inputText-icon-disabled: var(--neutral-500);
247
+
248
+ /* Dialog styles */
249
+ --dialog-background-default: white;
250
+ --dialog-background-overlay: rgba(0, 0, 0, 0.5);
251
+ --dialog-title: var(--primary-950);
252
+ --dialog-text: var(--neutral-600);
253
+ --dialog-icon: var(--primary-950);
254
+
255
+ /* Checkbox styles */
256
+ --checkbox-unselected-background-default: white;
257
+ --checkbox-unselected-background-hover: var(--neutral-50);
258
+ --checkbox-unselected-background-focus: var(--neutral-50);
259
+ --checkbox-unselected-background-disabled: var(--neutral-200);
260
+ --checkbox-unselected-border-default: var(--neutral-200);
261
+ --checkbox-unselected-border-hover: var(--neutral-400);
262
+ --checkbox-unselected-border-focus: var(--neutral-400);
263
+ --checkbox-unselected-border-disabled: var(--neutral-300);
264
+ --checkbox-unselected-border-external-focus: var(--primary-300);
265
+ --checkbox-selected-background-default: var(--primary-800);
266
+ --checkbox-selected-background-hover: var(--primary-900);
267
+ --checkbox-selected-background-focus: var(--primary-900);
268
+ --checkbox-selected-background-disabled: var(--neutral-200);
269
+ --checkbox-selected-border-focus: var(--primary-800);
270
+ --checkbox-selected-icon-default: white;
271
+ --checkbox-selected-icon-disabled: var(--neutral-500);
272
+
273
+ /* Drawer styles */
274
+
275
+ --drawer-header-background: white;
276
+ --drawer-header-border: var(--neutral-100);
277
+ --drawer-header-title: var(--neutral-950);
278
+ --drawer-header-description: var(--neutral-600);
279
+ --drawer-footer-background: white;
280
+ --drawer-footer-border: var(--neutral-100);
281
+ --drawer-footer-label: var(--neutral-950);
282
+ --drawer-body-background: white;
283
+ --drawer-body-text: var(--neutral-950);
284
+ --drawer-background-overlay: rgba(0, 0, 0, 0.5);
285
+
286
+ /* Breadcrumb styles */
287
+ --breadcrumb-text-default: var(--neutral-600);
288
+ --breadcrumb-text-hover: var(--neutral-950);
289
+ --breadcrumb-text-active: var(--primary-700);
290
+ --breadcrumb-ellipsis-bg-hover: var(--neutral-100);
291
+
292
+ /* Switch styles */
293
+ --switch-background-off-default: var(--neutral-200);
294
+ --switch-background-off-hover: var(--neutral-300);
295
+ --switch-background-off-focus: var(--neutral-300);
296
+ --switch-background-off-disabled: var(--neutral-200);
297
+ --switch-background-on-default: var(--primary-800);
298
+ --switch-background-on-hover: var(--primary-900);
299
+ --switch-background-on-focus: var(--primary-900);
300
+ --switch-background-on-disabled: var(--primary-800);
301
+ --switch-ring: var(--primary-300);
302
+ --switch-circle: white;
303
+
304
+ /* Tooltip styles */
305
+ --tooltip-background: var(--neutral-950);
306
+ --tooltip-text: var(--neutral-50);
307
+
308
+ /* Tabs styles */
309
+ --tabs-border-default: var(--neutral-200);
310
+ --tabs-border-active: var(--primary-700);
311
+ --tabs-text-default: var(--neutral-600);
312
+ --tabs-text-active: var(--neutral-950);
313
+ }
314
+
315
+ .dark {
316
+ --button-primary-background-default: var(--primary-200);
317
+ --button-primary-background-hover: var(--primary-300);
318
+ --button-primary-background-active: var(--primary-400);
319
+ --button-primary-background-focus: var(--primary-300);
320
+ --button-primary-border-focus: var(--primary-500);
321
+ --button-primary-text: var(--neutral-950);
322
+
323
+ --button-secondary-background-default: var(--neutral-950);
324
+ --button-secondary-background-hover: var(--neutral-900);
325
+ --button-secondary-background-active: var(--neutral-800);
326
+ --button-secondary-background-focus: var(--neutral-950);
327
+ --button-secondary-border-default: var(--neutral-500);
328
+ --button-secondary-border-focus: var(--primary-500);
329
+ --button-secondary-text: var(--neutral-200);
330
+
331
+ --button-ghost-background-hover: var(--neutral-800);
332
+ --button-ghost-background-active: var(--neutral-900);
333
+ --button-ghost-background-focus: var(--neutral-800);
334
+ --button-ghost-border-focus: var(--primary-500);
335
+ --button-ghost-text: var(--neutral-200);
336
+
337
+ --button-danger-background-default: var(--danger-300);
338
+ --button-danger-background-hover: var(--danger-400);
339
+ --button-danger-background-active: var(--danger-500);
340
+ --button-danger-background-focus: var(--danger-400);
341
+ --button-danger-border-focus: var(--danger-300);
342
+ --button-danger-text: var(--neutral-950);
343
+
344
+ --button-disabled-background: var(--neutral-800);
345
+ --button-disabled-text: var(--neutral-400);
346
+
347
+ /* badge styles */
348
+ --badge-primary-background: var(--primary-200);
349
+ --badge-primary-text: var(--neutral-950);
350
+
351
+ --badge-secondary-background: var(--neutral-200);
352
+ --badge-secondary-text: var(--neutral-950);
353
+
354
+ --badge-alert-background-default: var(--danger-600);
355
+ --badge-alert-text: var(--neutral-white);
356
+
357
+ /* Pagination styles */
358
+ --pagination-text: var(--neutral-600);
359
+ --pagination-background-hover: var(--neutral-800);
360
+ --pagination-background-default: var(--neutral-950);
361
+ --pagination-border-default: var(--neutral-800);
362
+ --pagination-icon-default: var(--neutral-500);
363
+ --pagination-icon-disabled: var(--neutral-800);
364
+ --pagination-background-disabled: var(--neutral-950);
365
+ --pagination-border-disabled: var(--neutral-900);
366
+
367
+ /* Dropdown styles */
368
+ --dropdown-background: var(--neutral-900);
369
+ --dropdown-border: var(--neutral-800);
370
+ --dropdown-shadow: rgba(0, 0, 0, 0.5);
371
+
372
+ /* listItem styles */
373
+ --listItem-background: var(--neutral-900);
374
+ --listItem-background-hover: var(--neutral-800);
375
+ --listItem-border: var(--neutral-800);
376
+ --listItem-text-header: var(--neutral-500);
377
+ --listItem-text: var(--neutral-300);
378
+ --listItem-text-selected: var(--neutral-200);
379
+ --listItem-icon: var(--neutral-300);
380
+ --listItem-icon-selected: var(--neutral-200);
381
+
382
+ /* Tag styles */
383
+ --tag-border: var(--neutral-800);
384
+ --tag-icon: var(--neutral-500);
385
+ --tag-text: var(--neutral-200);
386
+ --tag-background-hover: var(--neutral-800);
387
+ --tag-colorIndicator-yellow: #f3cb1c;
388
+ --tag-colorIndicator-blue: #40c3ff;
389
+ --tag-colorIndicator-red: #f77272;
390
+ --tag-colorIndicator-green: #6ee566;
391
+ --tag-colorIndicator-gray: #8c97a4;
392
+ --tag-colorIndicator-orange: #ff7f29;
393
+
394
+ /* Table styles */
395
+ --table-background: var(--neutral-900);
396
+ --table-border: var(--neutral-800);
397
+ /* --table-header-background: white; */
398
+ /* --table-header-border: var(--neutral-200); */
399
+ --table-header-text: var(--neutral-400);
400
+ /* --table-header-helper: var(--neutral-300); */
401
+ --table-cell-background-first-layer: var(--neutral-950);
402
+ --table-cell-background-second-layer: var(--neutral-1000);
403
+ --table-cell-border: var(--neutral-800);
404
+ --table-cell-text: var(--neutral-200);
405
+ --table-cell-link: var(--primary-300);
406
+ --table-cell-icon: var(--primary-500);
407
+
408
+ /* Input select styles */
409
+ /* Default */
410
+ --inputSelect-background-default: var(--neutral-900);
411
+ --inputSelect-border-default: var(--neutral-500);
412
+ --inputSelect-text-default: var(--neutral-500);
413
+ --inputSelect-icon-default: var(--neutral-500);
414
+
415
+ /* Focus */
416
+ --inputSelect-border-focus: var(--primary-400);
417
+ --inputSelect-text-focus: var(--neutral-200);
418
+
419
+ /* Active */
420
+ --inputSelect-border-active: var(--primary-200);
421
+ --inputSelect-text-active: var(--neutral-200);
422
+ --inputSelect-icon-active: var(--neutral-200);
423
+
424
+ /* Filled */
425
+ --inputSelect-border-filled: var(--primary-500);
426
+ --inputSelect-text-filled: var(--neutral-200);
427
+ --inputSelect-icon-filled: var(--neutral-200);
428
+
429
+ /* Disabled */
430
+ --inputSelect-background-disabled: var(--primary-500);
431
+
432
+ /* Danger */
433
+ --inputSelect-border-danger: var(--danger-300);
434
+ --inputSelect-icon-danger: var(--danger-300);
435
+
436
+ /* Input-text styles */
437
+ --inputText-background-default: var(--neutral-900);
438
+ --inputText-background-disabled: var(--neutral-700);
439
+ --inputText-border-default: var(--neutral-500);
440
+ --inputText-border-focus: var(--primary-300);
441
+ --inputText-border-active: var(--neutral-200);
442
+ --inputText-border-danger: var(--danger-300);
443
+ --inputText-border-filled: var(--neutral-200);
444
+ --inputText-text-default: var(--neutral-500);
445
+ --inputText-text-focus: var(--neutral-200);
446
+ /* --inputText-text-active: var(--primary-950); */
447
+ --inputText-text-filled: var(--neutral-200);
448
+ --inputText-text-disabled: var(--neutral-400);
449
+ --inputText-icon-default: var(--neutral-500);
450
+ --inputText-icon-focus: var(--primary-950);
451
+ /* --inputText-icon-active: var(--primary-950); */
452
+ --inputText-icon-filled: var(--neutral-200);
453
+ --inputText-icon-danger: var(--danger-300);
454
+ --inputText-icon-disabled: var(--neutral-400);
455
+
456
+ /* Dialog styles */
457
+ --dialog-background-default: var(--neutral-950);
458
+ --dialog-background-overlay: rgba(0, 0, 0, 0.5);
459
+ --dialog-title: var(--neutral-200);
460
+ --dialog-text: var(--neutral-400);
461
+ --dialog-icon: var(--neutral-200);
462
+
463
+ /* Checkbox styles */
464
+ --checkbox-unselected-background-default: var(--neutral-900);
465
+ --checkbox-unselected-background-hover: var(--neutral-800);
466
+ --checkbox-unselected-background-focus: var(--neutral-800);
467
+ --checkbox-unselected-background-disabled: var(--neutral-500);
468
+ --checkbox-unselected-border-default: var(--neutral-800);
469
+ --checkbox-unselected-border-hover: var(--neutral-500);
470
+ --checkbox-unselected-border-focus: var(--neutral-500);
471
+ --checkbox-unselected-border-external-focus: var(--primary-300);
472
+ --checkbox-unselected-border-disabled: var(--neutral-700);
473
+ --checkbox-selected-background-default: var(--primary-100);
474
+ --checkbox-selected-background-hover: var(--primary-200);
475
+ --checkbox-selected-background-focus: var(--primary-200);
476
+ --checkbox-selected-background-disabled: var(--neutral-500);
477
+ --checkbox-selected-border-focus: var(--primary-100);
478
+ --checkbox-selected-icon-default: var(--neutral-950);
479
+ --checkbox-selected-icon-disabled: var(--neutral-800);
480
+
481
+ /* Drawer styles */
482
+
483
+ --drawer-header-background: var(--neutral-900);
484
+ --drawer-header-border: var(--neutral-800);
485
+ --drawer-header-title: var(--neutral-200);
486
+ --drawer-header-description: var(--neutral-400);
487
+ --drawer-footer-background: var(--neutral-900);
488
+ --drawer-footer-border: var(--neutral-800);
489
+ --drawer-footer-label: var(--neutral-200);
490
+ --drawer-body-background: var(--neutral-900);
491
+ --drawer-body-text: var(--neutral-200);
492
+ --drawer-background-overlay: rgba(0, 0, 0, 0.5);
493
+
494
+ /* Breadcrumb styles */
495
+ --breadcrumb-text-default: var(--neutral-400);
496
+ --breadcrumb-text-hover: var(--neutral-50);
497
+ --breadcrumb-text-active: var(--primary-500);
498
+ --breadcrumb-ellipsis-bg-hover: var(--neutral-800);
499
+
500
+ /* Switch styles */
501
+ --switch-background-off-default: var(--neutral-800);
502
+ --switch-background-off-hover: var(--neutral-700);
503
+ --switch-background-off-focus: var(--neutral-700);
504
+ --switch-background-off-disabled: var(--neutral-800);
505
+ --switch-background-on-default: var(--primary-500);
506
+ --switch-background-on-hover: var(--primary-400);
507
+ --switch-background-on-focus: var(--primary-400);
508
+ --switch-background-on-disabled: var(--primary-500);
509
+ --switch-ring: var(--primary-100);
510
+ --switch-circle: white;
511
+
512
+ /* Tooltip styles */
513
+ --tooltip-background: var(--neutral-700);
514
+ --tooltip-text: var(--neutral-50);
515
+
516
+ /* Tabs styles */
517
+ --tabs-border-default: var(--neutral-800);
518
+ --tabs-border-active: var(--primary-200);
519
+ --tabs-text-default: var(--neutral-500);
520
+ --tabs-text-active: var(--neutral-200);
521
+ }
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": "0.0.1-alpha.25",
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,6 +47,7 @@
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",