pxengine 0.1.55 → 0.1.56
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 +231 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.mjs +231 -172
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +18 -2
- package/package.json +1 -1
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
|
}
|
|
@@ -1463,10 +1465,6 @@ interface Props$c extends CardAtomType {
|
|
|
1463
1465
|
*/
|
|
1464
1466
|
declare const CardAtom: React__default.FC<Props$c>;
|
|
1465
1467
|
|
|
1466
|
-
/**
|
|
1467
|
-
* InputAtom
|
|
1468
|
-
* A multi-purpose input wrapper that switches based on inputType in schema
|
|
1469
|
-
*/
|
|
1470
1468
|
declare const InputAtom: React__default.FC<InputAtomType>;
|
|
1471
1469
|
|
|
1472
1470
|
declare const BadgeAtom: React__default.FC<BadgeAtomType>;
|
|
@@ -1686,6 +1684,14 @@ declare const TimelineAtom: React__default.FC<TimelineAtomType>;
|
|
|
1686
1684
|
/**
|
|
1687
1685
|
* IconAtom
|
|
1688
1686
|
* Dynamically renders a Lucide React icon by name.
|
|
1687
|
+
*
|
|
1688
|
+
* @param icon - Icon name from lucide-react
|
|
1689
|
+
* @param size - Icon size in pixels (default: 20)
|
|
1690
|
+
* @param color - Inline color (overrides textColor)
|
|
1691
|
+
* @param strokeWidth - Stroke width of the icon
|
|
1692
|
+
* @param textColor - Tailwind text color class (default: 'text-dark')
|
|
1693
|
+
* @param className - Additional CSS classes
|
|
1694
|
+
* @param style - Inline styles
|
|
1689
1695
|
*/
|
|
1690
1696
|
declare const IconAtom: React__default.FC<IconAtomType>;
|
|
1691
1697
|
|
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
|
}
|
|
@@ -1463,10 +1465,6 @@ interface Props$c extends CardAtomType {
|
|
|
1463
1465
|
*/
|
|
1464
1466
|
declare const CardAtom: React__default.FC<Props$c>;
|
|
1465
1467
|
|
|
1466
|
-
/**
|
|
1467
|
-
* InputAtom
|
|
1468
|
-
* A multi-purpose input wrapper that switches based on inputType in schema
|
|
1469
|
-
*/
|
|
1470
1468
|
declare const InputAtom: React__default.FC<InputAtomType>;
|
|
1471
1469
|
|
|
1472
1470
|
declare const BadgeAtom: React__default.FC<BadgeAtomType>;
|
|
@@ -1686,6 +1684,14 @@ declare const TimelineAtom: React__default.FC<TimelineAtomType>;
|
|
|
1686
1684
|
/**
|
|
1687
1685
|
* IconAtom
|
|
1688
1686
|
* Dynamically renders a Lucide React icon by name.
|
|
1687
|
+
*
|
|
1688
|
+
* @param icon - Icon name from lucide-react
|
|
1689
|
+
* @param size - Icon size in pixels (default: 20)
|
|
1690
|
+
* @param color - Inline color (overrides textColor)
|
|
1691
|
+
* @param strokeWidth - Stroke width of the icon
|
|
1692
|
+
* @param textColor - Tailwind text color class (default: 'text-dark')
|
|
1693
|
+
* @param className - Additional CSS classes
|
|
1694
|
+
* @param style - Inline styles
|
|
1689
1695
|
*/
|
|
1690
1696
|
declare const IconAtom: React__default.FC<IconAtomType>;
|
|
1691
1697
|
|