pxengine 0.1.55 → 0.1.57

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.cts CHANGED
@@ -169,6 +169,7 @@ interface InputAtomType extends BaseAtom {
169
169
  value: string;
170
170
  }>;
171
171
  config?: Record<string, any>;
172
+ labelColor?: string;
172
173
  }
173
174
  interface ToggleAtomType extends BaseAtom {
174
175
  type: "toggle";
@@ -296,6 +297,7 @@ interface IconAtomType extends BaseAtom {
296
297
  size?: number;
297
298
  color?: string;
298
299
  strokeWidth?: number;
300
+ textColor?: string;
299
301
  className?: string;
300
302
  style?: CSSProperties;
301
303
  }
@@ -324,6 +326,12 @@ interface TableAtomType extends BaseAtom {
324
326
  type: "table";
325
327
  headers: string[];
326
328
  rows: any[][];
329
+ headerTextColor?: string;
330
+ headerBgColor?: string;
331
+ rowTextColor?: string;
332
+ rowBgColor?: string;
333
+ hoverBgColor?: string;
334
+ borderColor?: string;
327
335
  }
328
336
  interface CarouselAtomType extends BaseAtom {
329
337
  type: "carousel";
@@ -490,6 +498,7 @@ interface ChartAtomType extends BaseAtom {
490
498
  showTooltip?: boolean;
491
499
  showLegend?: boolean;
492
500
  stacked?: boolean;
501
+ seriesColors?: string[];
493
502
  }
494
503
  type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | RadioAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType | IconAtomType | ArrowToggleAtomType;
495
504
 
@@ -1463,10 +1472,6 @@ interface Props$c extends CardAtomType {
1463
1472
  */
1464
1473
  declare const CardAtom: React__default.FC<Props$c>;
1465
1474
 
1466
- /**
1467
- * InputAtom
1468
- * A multi-purpose input wrapper that switches based on inputType in schema
1469
- */
1470
1475
  declare const InputAtom: React__default.FC<InputAtomType>;
1471
1476
 
1472
1477
  declare const BadgeAtom: React__default.FC<BadgeAtomType>;
@@ -1686,6 +1691,14 @@ declare const TimelineAtom: React__default.FC<TimelineAtomType>;
1686
1691
  /**
1687
1692
  * IconAtom
1688
1693
  * Dynamically renders a Lucide React icon by name.
1694
+ *
1695
+ * @param icon - Icon name from lucide-react
1696
+ * @param size - Icon size in pixels (default: 20)
1697
+ * @param color - Inline color (overrides textColor)
1698
+ * @param strokeWidth - Stroke width of the icon
1699
+ * @param textColor - Tailwind text color class (default: 'text-dark')
1700
+ * @param className - Additional CSS classes
1701
+ * @param style - Inline styles
1689
1702
  */
1690
1703
  declare const IconAtom: React__default.FC<IconAtomType>;
1691
1704
 
package/dist/index.d.ts CHANGED
@@ -169,6 +169,7 @@ interface InputAtomType extends BaseAtom {
169
169
  value: string;
170
170
  }>;
171
171
  config?: Record<string, any>;
172
+ labelColor?: string;
172
173
  }
173
174
  interface ToggleAtomType extends BaseAtom {
174
175
  type: "toggle";
@@ -296,6 +297,7 @@ interface IconAtomType extends BaseAtom {
296
297
  size?: number;
297
298
  color?: string;
298
299
  strokeWidth?: number;
300
+ textColor?: string;
299
301
  className?: string;
300
302
  style?: CSSProperties;
301
303
  }
@@ -324,6 +326,12 @@ interface TableAtomType extends BaseAtom {
324
326
  type: "table";
325
327
  headers: string[];
326
328
  rows: any[][];
329
+ headerTextColor?: string;
330
+ headerBgColor?: string;
331
+ rowTextColor?: string;
332
+ rowBgColor?: string;
333
+ hoverBgColor?: string;
334
+ borderColor?: string;
327
335
  }
328
336
  interface CarouselAtomType extends BaseAtom {
329
337
  type: "carousel";
@@ -490,6 +498,7 @@ interface ChartAtomType extends BaseAtom {
490
498
  showTooltip?: boolean;
491
499
  showLegend?: boolean;
492
500
  stacked?: boolean;
501
+ seriesColors?: string[];
493
502
  }
494
503
  type UIAtom = ButtonAtomType | InputAtomType | ToggleAtomType | TextAtomType | LayoutAtomType | CardAtomType | TabsAtomType | AccordionAtomType | SeparatorAtomType | ScrollAreaAtomType | AspectRatioAtomType | CollapsibleAtomType | AvatarAtomType | BadgeAtomType | ProgressAtomType | TableAtomType | CarouselAtomType | AlertAtomType | TooltipAtomType | PopoverAtomType | DialogAtomType | SheetAtomType | AlertDialogAtomType | SkeletonAtomType | SpinnerAtomType | BreadcrumbAtomType | CalendarAtomType | PaginationAtomType | CommandAtomType | FormInputAtomType | FormSelectAtomType | FormTextareaAtomType | CheckboxAtomType | SwitchAtomType | LabelAtomType | SliderAtomType | RadioGroupAtomType | RadioAtomType | DropdownMenuAtomType | ContextMenuAtomType | DrawerAtomType | InputOTPAtomType | KbdAtomType | ResizableAtomType | RatingAtomType | TimelineAtomType | VideoAtomType | ChartAtomType | IconAtomType | ArrowToggleAtomType;
495
504
 
@@ -1463,10 +1472,6 @@ interface Props$c extends CardAtomType {
1463
1472
  */
1464
1473
  declare const CardAtom: React__default.FC<Props$c>;
1465
1474
 
1466
- /**
1467
- * InputAtom
1468
- * A multi-purpose input wrapper that switches based on inputType in schema
1469
- */
1470
1475
  declare const InputAtom: React__default.FC<InputAtomType>;
1471
1476
 
1472
1477
  declare const BadgeAtom: React__default.FC<BadgeAtomType>;
@@ -1686,6 +1691,14 @@ declare const TimelineAtom: React__default.FC<TimelineAtomType>;
1686
1691
  /**
1687
1692
  * IconAtom
1688
1693
  * Dynamically renders a Lucide React icon by name.
1694
+ *
1695
+ * @param icon - Icon name from lucide-react
1696
+ * @param size - Icon size in pixels (default: 20)
1697
+ * @param color - Inline color (overrides textColor)
1698
+ * @param strokeWidth - Stroke width of the icon
1699
+ * @param textColor - Tailwind text color class (default: 'text-dark')
1700
+ * @param className - Additional CSS classes
1701
+ * @param style - Inline styles
1689
1702
  */
1690
1703
  declare const IconAtom: React__default.FC<IconAtomType>;
1691
1704