app-studio 0.8.7 → 0.8.8
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/web/index.d.mts +35 -0
- package/dist/web/index.d.ts +35 -0
- package/package.json +1 -1
package/dist/web/index.d.mts
CHANGED
|
@@ -202,6 +202,22 @@ interface ElementProps extends CssProps, Omit<ViewStyleProps, keyof HTMLAttribut
|
|
|
202
202
|
style?: CSSProperties;
|
|
203
203
|
widthHeight?: number | string;
|
|
204
204
|
children?: React.ReactNode;
|
|
205
|
+
srcDoc?: string;
|
|
206
|
+
sandbox?: string;
|
|
207
|
+
to?: string;
|
|
208
|
+
keys?: any[];
|
|
209
|
+
sx?: any;
|
|
210
|
+
itemStyle?: any;
|
|
211
|
+
paddingX?: number | string;
|
|
212
|
+
paddingY?: number | string;
|
|
213
|
+
marginX?: number | string;
|
|
214
|
+
marginY?: number | string;
|
|
215
|
+
hoverBackgroundColor?: string;
|
|
216
|
+
hover?: boolean | Record<string, any>;
|
|
217
|
+
hoverStyle?: Record<string, any>;
|
|
218
|
+
checked?: boolean;
|
|
219
|
+
defaultChecked?: boolean;
|
|
220
|
+
transition?: string;
|
|
205
221
|
before?: React.ReactNode;
|
|
206
222
|
after?: React.ReactNode;
|
|
207
223
|
/**
|
|
@@ -303,6 +319,25 @@ interface TextProps extends Omit<TextStyleProps, keyof ElementProps>, Omit<Eleme
|
|
|
303
319
|
isSub?: boolean;
|
|
304
320
|
isSup?: boolean;
|
|
305
321
|
maxLines?: number;
|
|
322
|
+
/**
|
|
323
|
+
* Shorthand for fontWeight; accepts numeric (100-900) or named weights
|
|
324
|
+
* ("normal", "bold", "semibold", etc.). Convenience alias for the
|
|
325
|
+
* underlying fontWeight CSS property.
|
|
326
|
+
*/
|
|
327
|
+
weight?: string | number;
|
|
328
|
+
/**
|
|
329
|
+
* Optional style variant identifier. Free-form string used by component
|
|
330
|
+
* wrappers and design systems to dispatch typography presets.
|
|
331
|
+
*/
|
|
332
|
+
variant?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Shorthand for fontSize; accepts numeric or named sizes (e.g. 'sm', 14, '14px').
|
|
335
|
+
*/
|
|
336
|
+
size?: string | number;
|
|
337
|
+
/**
|
|
338
|
+
* Shorthand for letterSpacing; accepts numeric or named tracking values.
|
|
339
|
+
*/
|
|
340
|
+
spacing?: string | number;
|
|
306
341
|
}
|
|
307
342
|
|
|
308
343
|
interface CommonProps extends ElementProps, Omit<ViewStyleProps, keyof ElementProps> {
|
package/dist/web/index.d.ts
CHANGED
|
@@ -202,6 +202,22 @@ interface ElementProps extends CssProps, Omit<ViewStyleProps, keyof HTMLAttribut
|
|
|
202
202
|
style?: CSSProperties;
|
|
203
203
|
widthHeight?: number | string;
|
|
204
204
|
children?: React.ReactNode;
|
|
205
|
+
srcDoc?: string;
|
|
206
|
+
sandbox?: string;
|
|
207
|
+
to?: string;
|
|
208
|
+
keys?: any[];
|
|
209
|
+
sx?: any;
|
|
210
|
+
itemStyle?: any;
|
|
211
|
+
paddingX?: number | string;
|
|
212
|
+
paddingY?: number | string;
|
|
213
|
+
marginX?: number | string;
|
|
214
|
+
marginY?: number | string;
|
|
215
|
+
hoverBackgroundColor?: string;
|
|
216
|
+
hover?: boolean | Record<string, any>;
|
|
217
|
+
hoverStyle?: Record<string, any>;
|
|
218
|
+
checked?: boolean;
|
|
219
|
+
defaultChecked?: boolean;
|
|
220
|
+
transition?: string;
|
|
205
221
|
before?: React.ReactNode;
|
|
206
222
|
after?: React.ReactNode;
|
|
207
223
|
/**
|
|
@@ -303,6 +319,25 @@ interface TextProps extends Omit<TextStyleProps, keyof ElementProps>, Omit<Eleme
|
|
|
303
319
|
isSub?: boolean;
|
|
304
320
|
isSup?: boolean;
|
|
305
321
|
maxLines?: number;
|
|
322
|
+
/**
|
|
323
|
+
* Shorthand for fontWeight; accepts numeric (100-900) or named weights
|
|
324
|
+
* ("normal", "bold", "semibold", etc.). Convenience alias for the
|
|
325
|
+
* underlying fontWeight CSS property.
|
|
326
|
+
*/
|
|
327
|
+
weight?: string | number;
|
|
328
|
+
/**
|
|
329
|
+
* Optional style variant identifier. Free-form string used by component
|
|
330
|
+
* wrappers and design systems to dispatch typography presets.
|
|
331
|
+
*/
|
|
332
|
+
variant?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Shorthand for fontSize; accepts numeric or named sizes (e.g. 'sm', 14, '14px').
|
|
335
|
+
*/
|
|
336
|
+
size?: string | number;
|
|
337
|
+
/**
|
|
338
|
+
* Shorthand for letterSpacing; accepts numeric or named tracking values.
|
|
339
|
+
*/
|
|
340
|
+
spacing?: string | number;
|
|
306
341
|
}
|
|
307
342
|
|
|
308
343
|
interface CommonProps extends ElementProps, Omit<ViewStyleProps, keyof ElementProps> {
|
package/package.json
CHANGED