@idealyst/mcp-server 1.2.7 → 1.2.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/data/components/Button.d.ts.map +1 -1
- package/dist/data/components/Button.js +5 -6
- package/dist/data/components/Button.js.map +1 -1
- package/dist/data/components/Input.d.ts.map +1 -1
- package/dist/data/components/Input.js +4 -3
- package/dist/data/components/Input.js.map +1 -1
- package/dist/data/components/Text.d.ts.map +1 -1
- package/dist/data/components/Text.js +26 -19
- package/dist/data/components/Text.js.map +1 -1
- package/dist/data/framework-guides.d.ts.map +1 -1
- package/dist/data/framework-guides.js +842 -174
- package/dist/data/framework-guides.js.map +1 -1
- package/dist/data/translate-guides.d.ts +2 -0
- package/dist/data/translate-guides.d.ts.map +1 -0
- package/dist/data/translate-guides.js +1030 -0
- package/dist/data/translate-guides.js.map +1 -0
- package/dist/generated/types.json +247 -243
- package/dist/index.js +71 -2
- package/dist/index.js.map +1 -1
- package/dist/tools/get-types.d.ts +11 -0
- package/dist/tools/get-types.d.ts.map +1 -1
- package/dist/tools/get-types.js +25 -0
- package/dist/tools/get-types.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
3
|
-
"extractedAt": "
|
|
2
|
+
"version": "1.0.94",
|
|
3
|
+
"extractedAt": "2026-01-10T04:11:58.288Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Accordion": {
|
|
6
6
|
"name": "Accordion",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "items",
|
|
11
11
|
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/Accordion/types\").AccordionItem[]",
|
|
12
|
-
"required": true
|
|
12
|
+
"required": true,
|
|
13
|
+
"description": "Array of accordion items to display"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
16
|
"name": "allowMultiple",
|
|
@@ -28,12 +29,12 @@
|
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"name": "size",
|
|
31
|
-
"type": "
|
|
32
|
+
"type": "string | undefined",
|
|
32
33
|
"required": false
|
|
33
34
|
},
|
|
34
35
|
{
|
|
35
36
|
"name": "style",
|
|
36
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
37
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
37
38
|
"required": false
|
|
38
39
|
},
|
|
39
40
|
{
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"required": false
|
|
43
44
|
}
|
|
44
45
|
],
|
|
45
|
-
"typeDefinition": "export interface AccordionProps {\n items: AccordionItem[];\n allowMultiple?: boolean;\n defaultExpanded?: string[];\n type?: AccordionType;\n size?: AccordionSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
46
|
+
"typeDefinition": "export interface AccordionProps extends ContainerStyleProps, AccessibilityProps {\n /**\n * Array of accordion items to display\n */\n items: AccordionItem[];\n allowMultiple?: boolean;\n defaultExpanded?: string[];\n type?: AccordionType;\n size?: AccordionSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
46
47
|
"relatedTypes": {
|
|
47
48
|
"AccordionType": "export type AccordionType = 'standard' | 'separated' | 'bordered';",
|
|
48
49
|
"AccordionSizeVariant": "export type AccordionSizeVariant = Size;",
|
|
@@ -61,13 +62,13 @@
|
|
|
61
62
|
},
|
|
62
63
|
{
|
|
63
64
|
"name": "size",
|
|
64
|
-
"type": "
|
|
65
|
+
"type": "string | undefined",
|
|
65
66
|
"required": false,
|
|
66
67
|
"description": "The size of the indicator"
|
|
67
68
|
},
|
|
68
69
|
{
|
|
69
70
|
"name": "intent",
|
|
70
|
-
"type": "
|
|
71
|
+
"type": "string | undefined",
|
|
71
72
|
"required": false,
|
|
72
73
|
"description": "The color/intent of the indicator"
|
|
73
74
|
},
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
82
|
"name": "style",
|
|
82
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
83
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
83
84
|
"required": false,
|
|
84
85
|
"description": "Additional styles to apply to the container"
|
|
85
86
|
},
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"description": "Whether to hide the indicator when not animating"
|
|
97
98
|
}
|
|
98
99
|
],
|
|
99
|
-
"typeDefinition": "export interface ActivityIndicatorProps {\n /**\n * Whether the indicator is animating (visible)\n * @default true\n */\n animating?: boolean;\n\n /**\n * The size of the indicator\n * @default \"medium\"\n */\n size?: ActivityIndicatorSizeVariant;\n\n /**\n * The color/intent of the indicator\n * @default \"primary\"\n */\n intent?: ActivityIndicatorIntentVariant;\n\n /**\n * Custom color to override intent\n */\n color?: string;\n\n /**\n * Additional styles to apply to the container\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test identifier for testing\n */\n testID?: string;\n\n /**\n * Whether to hide the indicator when not animating\n * @default true\n */\n hidesWhenStopped?: boolean;\n}",
|
|
100
|
+
"typeDefinition": "export interface ActivityIndicatorProps extends BaseProps, LiveRegionAccessibilityProps {\n /**\n * Whether the indicator is animating (visible)\n * @default true\n */\n animating?: boolean;\n\n /**\n * The size of the indicator\n * @default \"medium\"\n */\n size?: ActivityIndicatorSizeVariant;\n\n /**\n * The color/intent of the indicator\n * @default \"primary\"\n */\n intent?: ActivityIndicatorIntentVariant;\n\n /**\n * Custom color to override intent\n */\n color?: string;\n\n /**\n * Additional styles to apply to the container\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test identifier for testing\n */\n testID?: string;\n\n /**\n * Whether to hide the indicator when not animating\n * @default true\n */\n hidesWhenStopped?: boolean;\n}",
|
|
100
101
|
"relatedTypes": {
|
|
101
102
|
"ActivityIndicatorIntentVariant": "export type ActivityIndicatorIntentVariant = Intent;",
|
|
102
103
|
"ActivityIndicatorSizeVariant": "export type ActivityIndicatorSizeVariant = Size;"
|
|
@@ -109,7 +110,8 @@
|
|
|
109
110
|
{
|
|
110
111
|
"name": "title",
|
|
111
112
|
"type": "string | undefined",
|
|
112
|
-
"required": false
|
|
113
|
+
"required": false,
|
|
114
|
+
"description": "The title of the alert"
|
|
113
115
|
},
|
|
114
116
|
{
|
|
115
117
|
"name": "message",
|
|
@@ -123,7 +125,7 @@
|
|
|
123
125
|
},
|
|
124
126
|
{
|
|
125
127
|
"name": "intent",
|
|
126
|
-
"type": "
|
|
128
|
+
"type": "string | undefined",
|
|
127
129
|
"required": false
|
|
128
130
|
},
|
|
129
131
|
{
|
|
@@ -158,7 +160,7 @@
|
|
|
158
160
|
},
|
|
159
161
|
{
|
|
160
162
|
"name": "style",
|
|
161
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
163
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
162
164
|
"required": false
|
|
163
165
|
},
|
|
164
166
|
{
|
|
@@ -167,7 +169,7 @@
|
|
|
167
169
|
"required": false
|
|
168
170
|
}
|
|
169
171
|
],
|
|
170
|
-
"typeDefinition": "export interface AlertProps {\n title?: string;\n message?: string;\n children?: React.ReactNode;\n intent?: AlertIntentVariant;\n type?: AlertType;\n icon?: React.ReactNode;\n showIcon?: boolean;\n dismissible?: boolean;\n onDismiss?: () => void;\n actions?: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
172
|
+
"typeDefinition": "export interface AlertProps extends BaseProps {\n /**\n * The title of the alert\n */\n title?: string;\n message?: string;\n children?: React.ReactNode;\n intent?: AlertIntentVariant;\n type?: AlertType;\n icon?: React.ReactNode;\n showIcon?: boolean;\n dismissible?: boolean;\n onDismiss?: () => void;\n actions?: React.ReactNode;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
171
173
|
"relatedTypes": {
|
|
172
174
|
"AlertIntentVariant": "export type AlertIntentVariant = Intent;",
|
|
173
175
|
"AlertType": "export type AlertType= 'filled' | 'outlined' | 'soft';"
|
|
@@ -179,7 +181,7 @@
|
|
|
179
181
|
"props": [
|
|
180
182
|
{
|
|
181
183
|
"name": "src",
|
|
182
|
-
"type": "string | import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
184
|
+
"type": "string | import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/Image/Image\").ImageSourcePropType | undefined",
|
|
183
185
|
"required": false,
|
|
184
186
|
"description": "Image source (URL or require())"
|
|
185
187
|
},
|
|
@@ -209,13 +211,13 @@
|
|
|
209
211
|
},
|
|
210
212
|
{
|
|
211
213
|
"name": "color",
|
|
212
|
-
"type": "
|
|
214
|
+
"type": "string | undefined",
|
|
213
215
|
"required": false,
|
|
214
216
|
"description": "The color scheme of the avatar (for background when no image)"
|
|
215
217
|
},
|
|
216
218
|
{
|
|
217
219
|
"name": "style",
|
|
218
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
220
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
219
221
|
"required": false,
|
|
220
222
|
"description": "Additional styles"
|
|
221
223
|
},
|
|
@@ -226,7 +228,7 @@
|
|
|
226
228
|
"description": "Test ID for testing"
|
|
227
229
|
}
|
|
228
230
|
],
|
|
229
|
-
"typeDefinition": "export interface AvatarProps {\n /**\n * Image source (URL or require())\n */\n src?: string | ImageSourcePropType;\n\n /**\n * Alt text for the image\n */\n alt?: string;\n\n /**\n * Fallback text (usually initials)\n */\n fallback?: string;\n\n /**\n * Size of the avatar\n */\n size?: AvatarSizeVariant;\n\n /**\n * Shape of the avatar\n */\n shape?: AvatarShapeVariant;\n\n /**\n * The color scheme of the avatar (for background when no image)\n */\n color?: AvatarColorVariant;\n\n /**\n * Additional styles\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
231
|
+
"typeDefinition": "export interface AvatarProps extends BaseProps, AccessibilityProps {\n /**\n * Image source (URL or require())\n */\n src?: string | ImageSourcePropType;\n\n /**\n * Alt text for the image\n */\n alt?: string;\n\n /**\n * Fallback text (usually initials)\n */\n fallback?: string;\n\n /**\n * Size of the avatar\n */\n size?: AvatarSizeVariant;\n\n /**\n * Shape of the avatar\n */\n shape?: AvatarShapeVariant;\n\n /**\n * The color scheme of the avatar (for background when no image)\n */\n color?: AvatarColorVariant;\n\n /**\n * Additional styles\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
230
232
|
"relatedTypes": {
|
|
231
233
|
"AvatarColorVariant": "export type AvatarColorVariant = Color;",
|
|
232
234
|
"AvatarSizeVariant": "export type AvatarSizeVariant = 'sm' | 'md' | 'lg' | 'xl';",
|
|
@@ -245,7 +247,7 @@
|
|
|
245
247
|
},
|
|
246
248
|
{
|
|
247
249
|
"name": "size",
|
|
248
|
-
"type": "
|
|
250
|
+
"type": "string | undefined",
|
|
249
251
|
"required": false,
|
|
250
252
|
"description": "The size of the badge"
|
|
251
253
|
},
|
|
@@ -257,7 +259,7 @@
|
|
|
257
259
|
},
|
|
258
260
|
{
|
|
259
261
|
"name": "color",
|
|
260
|
-
"type": "
|
|
262
|
+
"type": "string | undefined",
|
|
261
263
|
"required": false,
|
|
262
264
|
"description": "The color scheme of the badge"
|
|
263
265
|
},
|
|
@@ -269,7 +271,7 @@
|
|
|
269
271
|
},
|
|
270
272
|
{
|
|
271
273
|
"name": "style",
|
|
272
|
-
"type": "React.CSSProperties | import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
274
|
+
"type": "React.CSSProperties | import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
273
275
|
"required": false,
|
|
274
276
|
"description": "Additional styles"
|
|
275
277
|
},
|
|
@@ -280,7 +282,7 @@
|
|
|
280
282
|
"description": "Test ID for testing"
|
|
281
283
|
}
|
|
282
284
|
],
|
|
283
|
-
"typeDefinition": "export interface BadgeProps {\n /**\n * The content to display inside the badge\n */\n children?: ReactNode;\n\n /**\n * The size of the badge\n */\n size?: BadgeSizeVariant;\n\n /**\n * The visual style variant of the badge\n */\n type?: BadgeType;\n\n /**\n * The color scheme of the badge\n */\n color?: BadgeColorVariant;\n\n /**\n * Icon to display. Can be an icon name or custom component (ReactNode)\n */\n icon?: IconName | ReactNode;\n\n /**\n * Additional styles\n */\n style?: CSSProperties | StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
285
|
+
"typeDefinition": "export interface BadgeProps extends BaseProps {\n /**\n * The content to display inside the badge\n */\n children?: ReactNode;\n\n /**\n * The size of the badge\n */\n size?: BadgeSizeVariant;\n\n /**\n * The visual style variant of the badge\n */\n type?: BadgeType;\n\n /**\n * The color scheme of the badge\n */\n color?: BadgeColorVariant;\n\n /**\n * Icon to display. Can be an icon name or custom component (ReactNode)\n */\n icon?: IconName | ReactNode;\n\n /**\n * Additional styles\n */\n style?: CSSProperties | StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
284
286
|
"relatedTypes": {
|
|
285
287
|
"BadgeColorVariant": "export type BadgeColorVariant = Color;",
|
|
286
288
|
"BadgeSizeVariant": "export type BadgeSizeVariant = Size;",
|
|
@@ -317,25 +319,25 @@
|
|
|
317
319
|
},
|
|
318
320
|
{
|
|
319
321
|
"name": "size",
|
|
320
|
-
"type": "
|
|
322
|
+
"type": "string | undefined",
|
|
321
323
|
"required": false,
|
|
322
324
|
"description": "Size of the breadcrumb text"
|
|
323
325
|
},
|
|
324
326
|
{
|
|
325
327
|
"name": "style",
|
|
326
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
328
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
327
329
|
"required": false,
|
|
328
330
|
"description": "Custom container style"
|
|
329
331
|
},
|
|
330
332
|
{
|
|
331
333
|
"name": "itemStyle",
|
|
332
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
334
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
333
335
|
"required": false,
|
|
334
336
|
"description": "Custom item style"
|
|
335
337
|
},
|
|
336
338
|
{
|
|
337
339
|
"name": "separatorStyle",
|
|
338
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
340
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").TextStyle>",
|
|
339
341
|
"required": false,
|
|
340
342
|
"description": "Custom separator style"
|
|
341
343
|
},
|
|
@@ -358,11 +360,11 @@
|
|
|
358
360
|
"description": "Minimum number of items to show before collapsing (default: 3)"
|
|
359
361
|
}
|
|
360
362
|
],
|
|
361
|
-
"typeDefinition": "export interface BreadcrumbProps {\n /** Array of breadcrumb items */\n items: BreadcrumbItem[];\n\n /** Custom separator between items (default: '/') */\n separator?: React.ReactNode;\n\n /** Maximum number of items to show before truncating */\n maxItems?: number;\n\n /** Intent color for links */\n intent?: BreadcrumbIntentVariant;\n\n /** Size of the breadcrumb text */\n size?: BreadcrumbSizeVariant;\n\n /** Custom container style */\n style?: StyleProp<ViewStyle>;\n\n /** Custom item style */\n itemStyle?: StyleProp<ViewStyle>;\n\n /** Custom separator style */\n separatorStyle?: StyleProp<TextStyle>;\n\n /** Test ID for testing */\n testID?: string;\n\n /** Enable responsive collapsing on narrow screens */\n responsive?: boolean;\n\n /** Minimum number of items to show before collapsing (default: 3) */\n minVisibleItems?: number;\n}",
|
|
363
|
+
"typeDefinition": "export interface BreadcrumbProps extends BaseProps, AccessibilityProps {\n /** Array of breadcrumb items */\n items: BreadcrumbItem[];\n\n /** Custom separator between items (default: '/') */\n separator?: React.ReactNode;\n\n /** Maximum number of items to show before truncating */\n maxItems?: number;\n\n /** Intent color for links */\n intent?: BreadcrumbIntentVariant;\n\n /** Size of the breadcrumb text */\n size?: BreadcrumbSizeVariant;\n\n /** Custom container style */\n style?: StyleProp<ViewStyle>;\n\n /** Custom item style */\n itemStyle?: StyleProp<ViewStyle>;\n\n /** Custom separator style */\n separatorStyle?: StyleProp<TextStyle>;\n\n /** Test ID for testing */\n testID?: string;\n\n /** Enable responsive collapsing on narrow screens */\n responsive?: boolean;\n\n /** Minimum number of items to show before collapsing (default: 3) */\n minVisibleItems?: number;\n}",
|
|
362
364
|
"relatedTypes": {
|
|
363
365
|
"BreadcrumbIntentVariant": "export type BreadcrumbIntentVariant = 'primary' | 'neutral';",
|
|
364
366
|
"BreadcrumbSizeVariant": "export type BreadcrumbSizeVariant = Size;",
|
|
365
|
-
"BreadcrumbItem": "export interface BreadcrumbItem {\n /** Label text for the breadcrumb item */\n label: string;\n\n /** Optional icon to display before the label - can be an IconName or custom component */\n icon?: IconName | React.ReactNode;\n\n /** Click handler for the breadcrumb item */\n onPress?: () => void;\n\n /** Whether this item is disabled */\n disabled?: boolean;\n}"
|
|
367
|
+
"BreadcrumbItem": "export interface BreadcrumbItem extends CurrentAccessibilityProps {\n /** Label text for the breadcrumb item */\n label: string;\n\n /** Optional icon to display before the label - can be an IconName or custom component */\n icon?: IconName | React.ReactNode;\n\n /** Click handler for the breadcrumb item */\n onPress?: () => void;\n\n /** Whether this item is disabled */\n disabled?: boolean;\n}"
|
|
366
368
|
}
|
|
367
369
|
},
|
|
368
370
|
"Button": {
|
|
@@ -401,16 +403,22 @@
|
|
|
401
403
|
},
|
|
402
404
|
{
|
|
403
405
|
"name": "intent",
|
|
404
|
-
"type": "
|
|
406
|
+
"type": "string | undefined",
|
|
405
407
|
"required": false,
|
|
406
408
|
"description": "The intent/color scheme of the button"
|
|
407
409
|
},
|
|
408
410
|
{
|
|
409
411
|
"name": "size",
|
|
410
|
-
"type": "
|
|
412
|
+
"type": "string | undefined",
|
|
411
413
|
"required": false,
|
|
412
414
|
"description": "The size of the button"
|
|
413
415
|
},
|
|
416
|
+
{
|
|
417
|
+
"name": "gradient",
|
|
418
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/Button/types\").ButtonGradient | undefined",
|
|
419
|
+
"required": false,
|
|
420
|
+
"description": "Apply a gradient background enhancement.\nOnly applies to 'contained' button type.\nOptions: 'color-to-dark', 'color-to-light', 'light-to-color', 'dark-to-color'"
|
|
421
|
+
},
|
|
414
422
|
{
|
|
415
423
|
"name": "leftIcon",
|
|
416
424
|
"type": "string | number | bigint | boolean | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<AwaitedReactNode> | null | undefined",
|
|
@@ -425,7 +433,7 @@
|
|
|
425
433
|
},
|
|
426
434
|
{
|
|
427
435
|
"name": "style",
|
|
428
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
436
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
429
437
|
"required": false,
|
|
430
438
|
"description": "Additional styles (platform-specific)"
|
|
431
439
|
},
|
|
@@ -436,11 +444,12 @@
|
|
|
436
444
|
"description": "Test ID for testing"
|
|
437
445
|
}
|
|
438
446
|
],
|
|
439
|
-
"typeDefinition": "export interface ButtonProps {\n /**\n * The text or content to display inside the button\n */\n children?: ReactNode;\n\n /**\n * The text title to display inside the button (for web)\n */\n title?: string;\n\n /**\n * Called when the button is pressed\n */\n onPress?: () => void;\n\n /**\n * Whether the button is disabled\n */\n disabled?: boolean;\n\n /**\n * The visual style type of the button\n */\n type?: ButtonType;\n\n /**\n * The intent/color scheme of the button\n */\n intent?: ButtonIntentVariant;\n\n /**\n * The size of the button\n */\n size?: ButtonSizeVariant;\n\n /**\n * Icon to display on the left side. Can be an icon name or custom component (ReactNode)\n */\n leftIcon?: IconName | ReactNode;\n\n /**\n * Icon to display on the right side. Can be an icon name or custom component (ReactNode)\n */\n rightIcon?: IconName | ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
447
|
+
"typeDefinition": "export interface ButtonProps extends BaseProps, InteractiveAccessibilityProps {\n /**\n * The text or content to display inside the button\n */\n children?: ReactNode;\n\n /**\n * The text title to display inside the button (for web)\n */\n title?: string;\n\n /**\n * Called when the button is pressed\n */\n onPress?: () => void;\n\n /**\n * Whether the button is disabled\n */\n disabled?: boolean;\n\n /**\n * The visual style type of the button\n */\n type?: ButtonType;\n\n /**\n * The intent/color scheme of the button\n */\n intent?: ButtonIntentVariant;\n\n /**\n * The size of the button\n */\n size?: ButtonSizeVariant;\n\n /**\n * Apply a gradient background enhancement.\n * Only applies to 'contained' button type.\n * Options: 'color-to-dark', 'color-to-light', 'light-to-color', 'dark-to-color'\n */\n gradient?: ButtonGradient;\n\n /**\n * Icon to display on the left side. Can be an icon name or custom component (ReactNode)\n */\n leftIcon?: IconName | ReactNode;\n\n /**\n * Icon to display on the right side. Can be an icon name or custom component (ReactNode)\n */\n rightIcon?: IconName | ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
440
448
|
"relatedTypes": {
|
|
441
449
|
"ButtonType": "export type ButtonType = 'contained' | 'outlined' | 'text';",
|
|
442
450
|
"ButtonIntentVariant": "export type ButtonIntentVariant = Intent;",
|
|
443
|
-
"ButtonSizeVariant": "export type ButtonSizeVariant = Size;"
|
|
451
|
+
"ButtonSizeVariant": "export type ButtonSizeVariant = Size;",
|
|
452
|
+
"ButtonGradient": "export type ButtonGradient = 'darken' | 'lighten';"
|
|
444
453
|
}
|
|
445
454
|
},
|
|
446
455
|
"Card": {
|
|
@@ -459,21 +468,15 @@
|
|
|
459
468
|
"required": false,
|
|
460
469
|
"description": "The visual style variant of the card"
|
|
461
470
|
},
|
|
462
|
-
{
|
|
463
|
-
"name": "padding",
|
|
464
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/Card/types\").CardPaddingVariant | undefined",
|
|
465
|
-
"required": false,
|
|
466
|
-
"description": "The padding size inside the card"
|
|
467
|
-
},
|
|
468
471
|
{
|
|
469
472
|
"name": "radius",
|
|
470
|
-
"type": "
|
|
473
|
+
"type": "string | undefined",
|
|
471
474
|
"required": false,
|
|
472
475
|
"description": "The border radius of the card"
|
|
473
476
|
},
|
|
474
477
|
{
|
|
475
478
|
"name": "intent",
|
|
476
|
-
"type": "
|
|
479
|
+
"type": "string | undefined",
|
|
477
480
|
"required": false,
|
|
478
481
|
"description": "The intent/color scheme of the card"
|
|
479
482
|
},
|
|
@@ -497,7 +500,7 @@
|
|
|
497
500
|
},
|
|
498
501
|
{
|
|
499
502
|
"name": "style",
|
|
500
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
503
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
501
504
|
"required": false,
|
|
502
505
|
"description": "Additional styles (platform-specific)"
|
|
503
506
|
},
|
|
@@ -506,19 +509,12 @@
|
|
|
506
509
|
"type": "string | undefined",
|
|
507
510
|
"required": false,
|
|
508
511
|
"description": "Test ID for testing"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "accessibilityLabel",
|
|
512
|
-
"type": "string | undefined",
|
|
513
|
-
"required": false,
|
|
514
|
-
"description": "Accessibility label"
|
|
515
512
|
}
|
|
516
513
|
],
|
|
517
|
-
"typeDefinition": "export interface CardProps {\n /**\n * The content to display inside the card\n */\n children?: ReactNode;\n\n /**\n * The visual style variant of the card\n */\n type?: CardType;\n\n /**\n * The
|
|
514
|
+
"typeDefinition": "export interface CardProps extends ContainerStyleProps, InteractiveAccessibilityProps {\n /**\n * The content to display inside the card\n */\n children?: ReactNode;\n\n /**\n * The visual style variant of the card\n */\n type?: CardType;\n\n /**\n * The border radius of the card\n */\n radius?: CardRadiusVariant;\n\n /**\n * The intent/color scheme of the card\n */\n intent?: CardIntentVariant;\n\n /**\n * Whether the card is clickable\n */\n clickable?: boolean;\n\n /**\n * Called when the card is pressed (if clickable)\n */\n onPress?: () => void;\n\n /**\n * Whether the card is disabled\n */\n disabled?: boolean;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
518
515
|
"relatedTypes": {
|
|
519
516
|
"CardIntentVariant": "export type CardIntentVariant = Intent;",
|
|
520
517
|
"CardType": "export type CardType = 'default' | 'outlined' | 'elevated' | 'filled';",
|
|
521
|
-
"CardPaddingVariant": "export type CardPaddingVariant = 'none' | Size;",
|
|
522
518
|
"CardRadiusVariant": "export type CardRadiusVariant = 'none' | Size;"
|
|
523
519
|
}
|
|
524
520
|
},
|
|
@@ -552,13 +548,13 @@
|
|
|
552
548
|
},
|
|
553
549
|
{
|
|
554
550
|
"name": "size",
|
|
555
|
-
"type": "
|
|
551
|
+
"type": "string | undefined",
|
|
556
552
|
"required": false,
|
|
557
553
|
"description": "The size of the checkbox"
|
|
558
554
|
},
|
|
559
555
|
{
|
|
560
556
|
"name": "intent",
|
|
561
|
-
"type": "
|
|
557
|
+
"type": "string | undefined",
|
|
562
558
|
"required": false,
|
|
563
559
|
"description": "The intent/color scheme of the checkbox"
|
|
564
560
|
},
|
|
@@ -582,7 +578,7 @@
|
|
|
582
578
|
},
|
|
583
579
|
{
|
|
584
580
|
"name": "style",
|
|
585
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
581
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
586
582
|
"required": false,
|
|
587
583
|
"description": "Additional styles (platform-specific)"
|
|
588
584
|
},
|
|
@@ -592,12 +588,6 @@
|
|
|
592
588
|
"required": false,
|
|
593
589
|
"description": "Test ID for testing"
|
|
594
590
|
},
|
|
595
|
-
{
|
|
596
|
-
"name": "accessibilityLabel",
|
|
597
|
-
"type": "string | undefined",
|
|
598
|
-
"required": false,
|
|
599
|
-
"description": "Accessibility label"
|
|
600
|
-
},
|
|
601
591
|
{
|
|
602
592
|
"name": "required",
|
|
603
593
|
"type": "boolean | undefined",
|
|
@@ -617,7 +607,7 @@
|
|
|
617
607
|
"description": "Helper text to display"
|
|
618
608
|
}
|
|
619
609
|
],
|
|
620
|
-
"typeDefinition": "export interface CheckboxProps {\n /**\n * Whether the checkbox is checked\n */\n checked?: boolean;\n\n /**\n * Whether the checkbox is in an indeterminate state\n */\n indeterminate?: boolean;\n\n /**\n * Whether the checkbox is disabled\n */\n disabled?: boolean;\n\n /**\n * Called when the checkbox state changes\n */\n onCheckedChange?: (checked: boolean) => void;\n\n /**\n * The size of the checkbox\n */\n size?: CheckboxSizeVariant;\n\n /**\n * The intent/color scheme of the checkbox\n */\n intent?: CheckboxIntentVariant;\n\n /**\n * The visual style variant of the checkbox\n */\n variant?: CheckboxVariant;\n\n /**\n * Label text to display next to the checkbox\n */\n label?: string;\n\n /**\n * Custom label content (ReactNode)\n */\n children?: ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n *
|
|
610
|
+
"typeDefinition": "export interface CheckboxProps extends FormInputStyleProps, SelectionAccessibilityProps {\n /**\n * Whether the checkbox is checked\n */\n checked?: boolean;\n\n /**\n * Whether the checkbox is in an indeterminate state\n */\n indeterminate?: boolean;\n\n /**\n * Whether the checkbox is disabled\n */\n disabled?: boolean;\n\n /**\n * Called when the checkbox state changes\n */\n onCheckedChange?: (checked: boolean) => void;\n\n /**\n * The size of the checkbox\n */\n size?: CheckboxSizeVariant;\n\n /**\n * The intent/color scheme of the checkbox\n */\n intent?: CheckboxIntentVariant;\n\n /**\n * The visual style variant of the checkbox\n */\n variant?: CheckboxVariant;\n\n /**\n * Label text to display next to the checkbox\n */\n label?: string;\n\n /**\n * Custom label content (ReactNode)\n */\n children?: ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Whether the checkbox is required\n */\n required?: boolean;\n\n /**\n * Error message to display\n */\n error?: string;\n\n /**\n * Helper text to display\n */\n helperText?: string;\n}",
|
|
621
611
|
"relatedTypes": {
|
|
622
612
|
"CheckboxIntentVariant": "export type CheckboxIntentVariant = Intent;",
|
|
623
613
|
"CheckboxSizeVariant": "export type CheckboxSizeVariant = Size;",
|
|
@@ -642,13 +632,13 @@
|
|
|
642
632
|
},
|
|
643
633
|
{
|
|
644
634
|
"name": "intent",
|
|
645
|
-
"type": "
|
|
635
|
+
"type": "string | undefined",
|
|
646
636
|
"required": false,
|
|
647
637
|
"description": "Color intent/semantic meaning"
|
|
648
638
|
},
|
|
649
639
|
{
|
|
650
640
|
"name": "size",
|
|
651
|
-
"type": "
|
|
641
|
+
"type": "string | undefined",
|
|
652
642
|
"required": false,
|
|
653
643
|
"description": "Size of the chip"
|
|
654
644
|
},
|
|
@@ -702,7 +692,7 @@
|
|
|
702
692
|
},
|
|
703
693
|
{
|
|
704
694
|
"name": "style",
|
|
705
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
695
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
706
696
|
"required": false,
|
|
707
697
|
"description": "Custom style"
|
|
708
698
|
},
|
|
@@ -713,7 +703,7 @@
|
|
|
713
703
|
"description": "Test ID for testing"
|
|
714
704
|
}
|
|
715
705
|
],
|
|
716
|
-
"typeDefinition": "export interface ChipProps {\n /** The text content of the chip */\n label: string;\n\n /** Visual style variant */\n type?: ChipType;\n\n /** Color intent/semantic meaning */\n intent?: ChipIntent;\n\n /** Size of the chip */\n size?: ChipSize;\n\n /** Icon to display before the label. Can be an icon name (string) or a custom React element */\n icon?: IconName | React.ReactNode;\n\n /** Whether the chip can be deleted */\n deletable?: boolean;\n\n /** Callback when delete button is pressed */\n onDelete?: () => void;\n\n /** Icon to display in the delete button. Defaults to 'close' */\n deleteIcon?: IconName | React.ReactNode;\n\n /** Whether the chip is selectable */\n selectable?: boolean;\n\n /** Whether the chip is selected (when selectable) */\n selected?: boolean;\n\n /** Callback when chip is pressed */\n onPress?: () => void;\n\n /** Whether the chip is disabled */\n disabled?: boolean;\n\n /** Custom style */\n style?: StyleProp<ViewStyle>;\n\n /** Test ID for testing */\n testID?: string;\n}",
|
|
706
|
+
"typeDefinition": "export interface ChipProps extends BaseProps, SelectionAccessibilityProps {\n /** The text content of the chip */\n label: string;\n\n /** Visual style variant */\n type?: ChipType;\n\n /** Color intent/semantic meaning */\n intent?: ChipIntent;\n\n /** Size of the chip */\n size?: ChipSize;\n\n /** Icon to display before the label. Can be an icon name (string) or a custom React element */\n icon?: IconName | React.ReactNode;\n\n /** Whether the chip can be deleted */\n deletable?: boolean;\n\n /** Callback when delete button is pressed */\n onDelete?: () => void;\n\n /** Icon to display in the delete button. Defaults to 'close' */\n deleteIcon?: IconName | React.ReactNode;\n\n /** Whether the chip is selectable */\n selectable?: boolean;\n\n /** Whether the chip is selected (when selectable) */\n selected?: boolean;\n\n /** Callback when chip is pressed */\n onPress?: () => void;\n\n /** Whether the chip is disabled */\n disabled?: boolean;\n\n /** Custom style */\n style?: StyleProp<ViewStyle>;\n\n /** Test ID for testing */\n testID?: string;\n}",
|
|
717
707
|
"relatedTypes": {
|
|
718
708
|
"ChipSize": "export type ChipSize = Size;",
|
|
719
709
|
"ChipType": "export type ChipType = 'filled' | 'outlined' | 'soft';",
|
|
@@ -786,7 +776,7 @@
|
|
|
786
776
|
},
|
|
787
777
|
{
|
|
788
778
|
"name": "style",
|
|
789
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
779
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
790
780
|
"required": false,
|
|
791
781
|
"description": "Additional styles (platform-specific)"
|
|
792
782
|
},
|
|
@@ -797,10 +787,10 @@
|
|
|
797
787
|
"description": "Test ID for testing"
|
|
798
788
|
}
|
|
799
789
|
],
|
|
800
|
-
"typeDefinition": "export interface DialogProps {\n /**\n * Whether the dialog is open/visible\n */\n open: boolean;\n\n /**\n * Called when the dialog should be opened or closed\n */\n onOpenChange: (open: boolean) => void;\n\n /**\n * Optional title for the dialog\n */\n title?: string;\n\n /**\n * The content to display inside the dialog\n */\n children: ReactNode;\n\n /**\n * The size of the dialog\n */\n size?: DialogSizeVariant;\n\n /**\n * The visual style variant of the dialog\n */\n type?: DialogType,\n\n /**\n * Whether to show the close button in the header\n */\n showCloseButton?: boolean;\n\n /**\n * Whether clicking the backdrop should close the dialog\n */\n closeOnBackdropClick?: boolean;\n\n /**\n * Whether pressing escape key should close the dialog (web only)\n */\n closeOnEscapeKey?: boolean;\n\n /**\n * Animation type for the dialog (native only)\n */\n animationType?: DialogAnimationType;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
790
|
+
"typeDefinition": "export interface DialogProps extends BaseProps, InteractiveAccessibilityProps {\n /**\n * Whether the dialog is open/visible\n */\n open: boolean;\n\n /**\n * Called when the dialog should be opened or closed\n */\n onOpenChange: (open: boolean) => void;\n\n /**\n * Optional title for the dialog\n */\n title?: string;\n\n /**\n * The content to display inside the dialog\n */\n children: ReactNode;\n\n /**\n * The size of the dialog\n */\n size?: DialogSizeVariant;\n\n /**\n * The visual style variant of the dialog\n */\n type?: DialogType,\n\n /**\n * Whether to show the close button in the header\n */\n showCloseButton?: boolean;\n\n /**\n * Whether clicking the backdrop should close the dialog\n */\n closeOnBackdropClick?: boolean;\n\n /**\n * Whether pressing escape key should close the dialog (web only)\n */\n closeOnEscapeKey?: boolean;\n\n /**\n * Animation type for the dialog (native only)\n */\n animationType?: DialogAnimationType;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
801
791
|
"relatedTypes": {
|
|
802
792
|
"DialogSizeVariant": "export type DialogSizeVariant = 'sm' | 'md' | 'lg' | 'fullscreen';",
|
|
803
|
-
"DialogType": "export type DialogType = '
|
|
793
|
+
"DialogType": "export type DialogType = 'default' | 'alert' | 'confirmation';",
|
|
804
794
|
"DialogAnimationType": "export type DialogAnimationType = 'slide' | 'fade' | 'none';"
|
|
805
795
|
}
|
|
806
796
|
},
|
|
@@ -828,7 +818,7 @@
|
|
|
828
818
|
},
|
|
829
819
|
{
|
|
830
820
|
"name": "intent",
|
|
831
|
-
"type": "
|
|
821
|
+
"type": "string | undefined",
|
|
832
822
|
"required": false,
|
|
833
823
|
"description": "The color intent of the divider"
|
|
834
824
|
},
|
|
@@ -840,7 +830,7 @@
|
|
|
840
830
|
},
|
|
841
831
|
{
|
|
842
832
|
"name": "spacing",
|
|
843
|
-
"type": "
|
|
833
|
+
"type": "string | undefined",
|
|
844
834
|
"required": false,
|
|
845
835
|
"description": "Spacing around the divider"
|
|
846
836
|
},
|
|
@@ -852,7 +842,7 @@
|
|
|
852
842
|
},
|
|
853
843
|
{
|
|
854
844
|
"name": "style",
|
|
855
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
845
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
856
846
|
"required": false,
|
|
857
847
|
"description": "Additional styles (platform-specific)"
|
|
858
848
|
},
|
|
@@ -869,7 +859,7 @@
|
|
|
869
859
|
"description": "Accessibility label"
|
|
870
860
|
}
|
|
871
861
|
],
|
|
872
|
-
"typeDefinition": "export interface DividerProps {\n /**\n * The orientation of the divider\n */\n orientation?: DividerOrientationVariant;\n\n /**\n * The visual style type of the divider\n */\n type?: DividerType;\n\n /**\n * The thickness of the divider\n */\n thickness?: DividerThicknessVariant;\n\n /**\n * The color intent of the divider\n */\n intent?: DividerIntentVariant;\n\n /**\n * The length of the divider (percentage or fixed)\n */\n length?: DividerLengthVariant;\n\n /**\n * Spacing around the divider\n */\n spacing?: DividerSpacingVariant;\n\n /**\n * Content to display in the center of the divider (for horizontal dividers)\n */\n children?: ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label\n */\n accessibilityLabel?: string;\n}",
|
|
862
|
+
"typeDefinition": "export interface DividerProps extends BaseProps {\n /**\n * The orientation of the divider\n */\n orientation?: DividerOrientationVariant;\n\n /**\n * The visual style type of the divider\n */\n type?: DividerType;\n\n /**\n * The thickness of the divider\n */\n thickness?: DividerThicknessVariant;\n\n /**\n * The color intent of the divider\n */\n intent?: DividerIntentVariant;\n\n /**\n * The length of the divider (percentage or fixed)\n */\n length?: DividerLengthVariant;\n\n /**\n * Spacing around the divider\n */\n spacing?: DividerSpacingVariant;\n\n /**\n * Content to display in the center of the divider (for horizontal dividers)\n */\n children?: ReactNode;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label\n */\n accessibilityLabel?: string;\n}",
|
|
873
863
|
"relatedTypes": {
|
|
874
864
|
"DividerIntentVariant": "export type DividerIntentVariant = Intent;",
|
|
875
865
|
"DividerOrientationVariant": "export type DividerOrientationVariant = 'horizontal' | 'vertical';",
|
|
@@ -897,19 +887,19 @@
|
|
|
897
887
|
},
|
|
898
888
|
{
|
|
899
889
|
"name": "color",
|
|
900
|
-
"type": "
|
|
890
|
+
"type": "string | undefined",
|
|
901
891
|
"required": false,
|
|
902
892
|
"description": "Predefined color variant based on theme"
|
|
903
893
|
},
|
|
904
894
|
{
|
|
905
895
|
"name": "intent",
|
|
906
|
-
"type": "
|
|
896
|
+
"type": "string | undefined",
|
|
907
897
|
"required": false,
|
|
908
898
|
"description": "Intent variant for the icon"
|
|
909
899
|
},
|
|
910
900
|
{
|
|
911
901
|
"name": "style",
|
|
912
|
-
"type": "React.CSSProperties | import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
902
|
+
"type": "React.CSSProperties | import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
913
903
|
"required": false,
|
|
914
904
|
"description": "Additional styles (platform-specific)"
|
|
915
905
|
},
|
|
@@ -926,7 +916,7 @@
|
|
|
926
916
|
"description": "Accessibility label for screen readers"
|
|
927
917
|
}
|
|
928
918
|
],
|
|
929
|
-
"typeDefinition": "export interface IconProps {\n /**\n * The name of the icon to display\n */\n name: IconName | `mdi:${IconName}`;\n\n /**\n * The size variant of the icon\n */\n size?: IconSizeVariant;\n\n /**\n * Predefined color variant based on theme\n */\n color?: Color;\n /**\n * Intent variant for the icon\n */\n intent?: Intent;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: React.CSSProperties | StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label for screen readers\n */\n accessibilityLabel?: string;\n}",
|
|
919
|
+
"typeDefinition": "export interface IconProps extends BaseProps {\n /**\n * The name of the icon to display\n */\n name: IconName | `mdi:${IconName}`;\n\n /**\n * The size variant of the icon\n */\n size?: IconSizeVariant;\n\n /**\n * Predefined color variant based on theme\n */\n color?: Color;\n /**\n * Intent variant for the icon\n */\n intent?: Intent;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: React.CSSProperties | StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label for screen readers\n */\n accessibilityLabel?: string;\n}",
|
|
930
920
|
"relatedTypes": {
|
|
931
921
|
"IconSizeVariant": "export type IconSizeVariant = Size | number;"
|
|
932
922
|
}
|
|
@@ -937,7 +927,7 @@
|
|
|
937
927
|
"props": [
|
|
938
928
|
{
|
|
939
929
|
"name": "source",
|
|
940
|
-
"type": "string | import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
930
|
+
"type": "string | import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/Image/Image\").ImageSourcePropType",
|
|
941
931
|
"required": true
|
|
942
932
|
},
|
|
943
933
|
{
|
|
@@ -997,7 +987,7 @@
|
|
|
997
987
|
},
|
|
998
988
|
{
|
|
999
989
|
"name": "style",
|
|
1000
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
990
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ImageStyle>",
|
|
1001
991
|
"required": false
|
|
1002
992
|
},
|
|
1003
993
|
{
|
|
@@ -1011,7 +1001,7 @@
|
|
|
1011
1001
|
"required": false
|
|
1012
1002
|
}
|
|
1013
1003
|
],
|
|
1014
|
-
"typeDefinition": "export interface ImageProps {\n source: ImageSourcePropType | string;\n alt?: string;\n width?: number | string;\n height?: number | string;\n aspectRatio?: number;\n objectFit?: ImageObjectFit;\n loading?: 'lazy' | 'eager';\n placeholder?: React.ReactNode;\n fallback?: React.ReactNode;\n onLoad?: () => void;\n onError?: (error: any) => void;\n borderRadius?: number;\n style?: StyleProp<ImageStyle>;\n testID?: string;\n accessibilityLabel?: string;\n}",
|
|
1004
|
+
"typeDefinition": "export interface ImageProps extends BaseProps {\n source: ImageSourcePropType | string;\n alt?: string;\n width?: number | string;\n height?: number | string;\n aspectRatio?: number;\n objectFit?: ImageObjectFit;\n loading?: 'lazy' | 'eager';\n placeholder?: React.ReactNode;\n fallback?: React.ReactNode;\n onLoad?: () => void;\n onError?: (error: any) => void;\n borderRadius?: number;\n style?: StyleProp<ImageStyle>;\n testID?: string;\n accessibilityLabel?: string;\n}",
|
|
1015
1005
|
"relatedTypes": {
|
|
1016
1006
|
"ImageObjectFit": "export type ImageObjectFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';"
|
|
1017
1007
|
}
|
|
@@ -1044,6 +1034,12 @@
|
|
|
1044
1034
|
"required": false,
|
|
1045
1035
|
"description": "Called when the input loses focus"
|
|
1046
1036
|
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "onPress",
|
|
1039
|
+
"type": "(() => void) | undefined",
|
|
1040
|
+
"required": false,
|
|
1041
|
+
"description": "Called when the input is pressed (for web compatibility)"
|
|
1042
|
+
},
|
|
1047
1043
|
{
|
|
1048
1044
|
"name": "placeholder",
|
|
1049
1045
|
"type": "string | undefined",
|
|
@@ -1094,7 +1090,7 @@
|
|
|
1094
1090
|
},
|
|
1095
1091
|
{
|
|
1096
1092
|
"name": "size",
|
|
1097
|
-
"type": "
|
|
1093
|
+
"type": "string | undefined",
|
|
1098
1094
|
"required": false,
|
|
1099
1095
|
"description": "Size variant of the input"
|
|
1100
1096
|
},
|
|
@@ -1106,7 +1102,7 @@
|
|
|
1106
1102
|
},
|
|
1107
1103
|
{
|
|
1108
1104
|
"name": "intent",
|
|
1109
|
-
"type": "
|
|
1105
|
+
"type": "string | undefined",
|
|
1110
1106
|
"required": false,
|
|
1111
1107
|
"description": "The intent/color scheme of the input (for focus states, validation, etc.)"
|
|
1112
1108
|
},
|
|
@@ -1118,7 +1114,7 @@
|
|
|
1118
1114
|
},
|
|
1119
1115
|
{
|
|
1120
1116
|
"name": "style",
|
|
1121
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1117
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1122
1118
|
"required": false,
|
|
1123
1119
|
"description": "Additional styles (platform-specific)"
|
|
1124
1120
|
},
|
|
@@ -1129,7 +1125,7 @@
|
|
|
1129
1125
|
"description": "Test ID for testing"
|
|
1130
1126
|
}
|
|
1131
1127
|
],
|
|
1132
|
-
"typeDefinition": "export interface InputProps {\n /**\n * The current value of the input\n */\n value?: string;\n\n /**\n * Called when the text changes\n */\n onChangeText?: (text: string) => void;\n\n /**\n * Called when the input receives focus\n */\n onFocus?: () => void;\n\n /**\n * Called when the input loses focus\n */\n onBlur?: () => void;\n\n /**\n * Placeholder text\n */\n placeholder?: string;\n\n /**\n * Whether the input is disabled\n */\n disabled?: boolean;\n\n /**\n * The type of input (affects keyboard type on mobile)\n */\n inputType?: InputInputType;\n\n /**\n * Whether to show the password\n */\n secureTextEntry?: boolean;\n\n /**\n * Icon to display on the left side of the input\n */\n leftIcon?: IconName | React.ReactNode;\n\n /**\n * Icon to display on the right side of the input\n */\n rightIcon?: IconName | React.ReactNode;\n\n /**\n * Show password visibility toggle for password inputs (defaults to true for password type)\n */\n showPasswordToggle?: boolean;\n\n /**\n * Auto-capitalization behavior\n */\n autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';\n\n /**\n * Size variant of the input\n */\n size?: InputSize;\n\n /**\n * Style variant of the input\n */\n type?: InputType;\n\n /**\n * The intent/color scheme of the input (for focus states, validation, etc.)\n */\n intent?: InputIntent;\n\n /**\n * Whether the input has an error state\n * @deprecated Use intent=\"error\" instead\n */\n hasError?: boolean;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1128
|
+
"typeDefinition": "export interface InputProps extends FormInputStyleProps, FormAccessibilityProps {\n /**\n * The current value of the input\n */\n value?: string;\n\n /**\n * Called when the text changes\n */\n onChangeText?: (text: string) => void;\n\n /**\n * Called when the input receives focus\n */\n onFocus?: () => void;\n\n /**\n * Called when the input loses focus\n */\n onBlur?: () => void;\n\n /**\n * Called when the input is pressed (for web compatibility)\n * @returns \n */\n onPress?: () => void;\n\n /**\n * Placeholder text\n */\n placeholder?: string;\n\n /**\n * Whether the input is disabled\n */\n disabled?: boolean;\n\n /**\n * The type of input (affects keyboard type on mobile)\n */\n inputType?: InputInputType;\n\n /**\n * Whether to show the password\n */\n secureTextEntry?: boolean;\n\n /**\n * Icon to display on the left side of the input\n */\n leftIcon?: IconName | React.ReactNode;\n\n /**\n * Icon to display on the right side of the input\n */\n rightIcon?: IconName | React.ReactNode;\n\n /**\n * Show password visibility toggle for password inputs (defaults to true for password type)\n */\n showPasswordToggle?: boolean;\n\n /**\n * Auto-capitalization behavior\n */\n autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';\n\n /**\n * Size variant of the input\n */\n size?: InputSize;\n\n /**\n * Style variant of the input\n */\n type?: InputType;\n\n /**\n * The intent/color scheme of the input (for focus states, validation, etc.)\n */\n intent?: InputIntent;\n\n /**\n * Whether the input has an error state\n * @deprecated Use intent=\"error\" instead\n */\n hasError?: boolean;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1133
1129
|
"relatedTypes": {
|
|
1134
1130
|
"InputIntent": "export type InputIntent = Intent;",
|
|
1135
1131
|
"InputSize": "export type InputSize = Size;",
|
|
@@ -1137,6 +1133,62 @@
|
|
|
1137
1133
|
"InputInputType": "export type InputInputType = 'text' | 'email' | 'password' | 'number';"
|
|
1138
1134
|
}
|
|
1139
1135
|
},
|
|
1136
|
+
"Link": {
|
|
1137
|
+
"name": "Link",
|
|
1138
|
+
"propsInterface": "LinkProps",
|
|
1139
|
+
"props": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "to",
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"required": true,
|
|
1144
|
+
"description": "The destination path to navigate to"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "vars",
|
|
1148
|
+
"type": "Record<string, string> | undefined",
|
|
1149
|
+
"required": false,
|
|
1150
|
+
"description": "Variables to substitute in the path (e.g., { id: '123' } for '/user/:id')"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"name": "children",
|
|
1154
|
+
"type": "React.ReactNode",
|
|
1155
|
+
"required": false,
|
|
1156
|
+
"description": "Content to render inside the link"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "disabled",
|
|
1160
|
+
"type": "boolean | undefined",
|
|
1161
|
+
"required": false,
|
|
1162
|
+
"description": "Whether the link is disabled"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"name": "style",
|
|
1166
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"description": "Style to apply to the link container"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"name": "testID",
|
|
1172
|
+
"type": "string | undefined",
|
|
1173
|
+
"required": false,
|
|
1174
|
+
"description": "Test ID for testing"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "accessibilityLabel",
|
|
1178
|
+
"type": "string | undefined",
|
|
1179
|
+
"required": false,
|
|
1180
|
+
"description": "Accessibility label"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"name": "onPress",
|
|
1184
|
+
"type": "(() => void) | undefined",
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"description": "Callback fired when the link is pressed"
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"typeDefinition": "export interface LinkProps extends BaseProps {\n /** The destination path to navigate to */\n to: string;\n /** Variables to substitute in the path (e.g., { id: '123' } for '/user/:id') */\n vars?: Record<string, string>;\n /** Content to render inside the link */\n children?: ReactNode;\n /** Whether the link is disabled */\n disabled?: boolean;\n /** Style to apply to the link container */\n style?: StyleProp<ViewStyle>;\n /** Test ID for testing */\n testID?: string;\n /** Accessibility label */\n accessibilityLabel?: string;\n /** Callback fired when the link is pressed */\n onPress?: () => void;\n}",
|
|
1190
|
+
"relatedTypes": {}
|
|
1191
|
+
},
|
|
1140
1192
|
"List": {
|
|
1141
1193
|
"name": "List",
|
|
1142
1194
|
"propsInterface": "ListProps",
|
|
@@ -1144,7 +1196,8 @@
|
|
|
1144
1196
|
{
|
|
1145
1197
|
"name": "children",
|
|
1146
1198
|
"type": "React.ReactNode",
|
|
1147
|
-
"required": true
|
|
1199
|
+
"required": true,
|
|
1200
|
+
"description": "List items to display"
|
|
1148
1201
|
},
|
|
1149
1202
|
{
|
|
1150
1203
|
"name": "type",
|
|
@@ -1153,12 +1206,12 @@
|
|
|
1153
1206
|
},
|
|
1154
1207
|
{
|
|
1155
1208
|
"name": "size",
|
|
1156
|
-
"type": "
|
|
1209
|
+
"type": "string | undefined",
|
|
1157
1210
|
"required": false
|
|
1158
1211
|
},
|
|
1159
1212
|
{
|
|
1160
1213
|
"name": "style",
|
|
1161
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1214
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1162
1215
|
"required": false
|
|
1163
1216
|
},
|
|
1164
1217
|
{
|
|
@@ -1177,7 +1230,7 @@
|
|
|
1177
1230
|
"required": false
|
|
1178
1231
|
}
|
|
1179
1232
|
],
|
|
1180
|
-
"typeDefinition": "export interface ListProps {\n children: ReactNode;\n type?: ListType;\n size?: ListSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n scrollable?: boolean;\n maxHeight?: number | string;\n}",
|
|
1233
|
+
"typeDefinition": "export interface ListProps extends ContainerStyleProps, AccessibilityProps {\n /**\n * List items to display\n */\n children: ReactNode;\n type?: ListType;\n size?: ListSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n scrollable?: boolean;\n maxHeight?: number | string;\n}",
|
|
1181
1234
|
"relatedTypes": {
|
|
1182
1235
|
"ListSizeVariant": "export type ListSizeVariant = Size;",
|
|
1183
1236
|
"ListType": "export type ListType = 'default' | 'bordered' | 'divided';"
|
|
@@ -1219,12 +1272,12 @@
|
|
|
1219
1272
|
},
|
|
1220
1273
|
{
|
|
1221
1274
|
"name": "size",
|
|
1222
|
-
"type": "
|
|
1275
|
+
"type": "string | undefined",
|
|
1223
1276
|
"required": false
|
|
1224
1277
|
},
|
|
1225
1278
|
{
|
|
1226
1279
|
"name": "style",
|
|
1227
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1280
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1228
1281
|
"required": false
|
|
1229
1282
|
},
|
|
1230
1283
|
{
|
|
@@ -1233,7 +1286,7 @@
|
|
|
1233
1286
|
"required": false
|
|
1234
1287
|
}
|
|
1235
1288
|
],
|
|
1236
|
-
"typeDefinition": "export interface MenuProps {\n children: React.ReactNode;\n items: MenuItem[];\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n placement?: MenuPlacement;\n closeOnSelection?: boolean;\n size?: MenuSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1289
|
+
"typeDefinition": "export interface MenuProps extends BaseProps, InteractiveAccessibilityProps {\n children: React.ReactNode;\n items: MenuItem[];\n open?: boolean;\n onOpenChange?: (open: boolean) => void;\n placement?: MenuPlacement;\n closeOnSelection?: boolean;\n size?: MenuSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1237
1290
|
"relatedTypes": {
|
|
1238
1291
|
"MenuIntentVariant": "export type MenuIntentVariant = Intent;",
|
|
1239
1292
|
"MenuSizeVariant": "export type MenuSizeVariant = Size;",
|
|
@@ -1301,7 +1354,7 @@
|
|
|
1301
1354
|
},
|
|
1302
1355
|
{
|
|
1303
1356
|
"name": "style",
|
|
1304
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1357
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1305
1358
|
"required": false,
|
|
1306
1359
|
"description": "Additional styles (platform-specific)"
|
|
1307
1360
|
},
|
|
@@ -1312,7 +1365,7 @@
|
|
|
1312
1365
|
"description": "Test ID for testing"
|
|
1313
1366
|
}
|
|
1314
1367
|
],
|
|
1315
|
-
"typeDefinition": "export interface PopoverProps {\n /**\n * Whether the popover is open/visible\n */\n open: boolean;\n\n /**\n * Called when the popover should be opened or closed\n */\n onOpenChange: (open: boolean) => void;\n\n /**\n * The anchor element to position the popover relative to\n * Can be a React element or a ref to a DOM element\n */\n anchor: ReactNode | React.RefObject<Element>;\n\n /**\n * The content to display inside the popover\n */\n children: ReactNode;\n\n /**\n * Preferred placement of the popover relative to anchor\n */\n placement?: PopoverPlacement;\n\n /**\n * Distance from the anchor element in pixels\n */\n offset?: number;\n\n /**\n * Whether clicking outside should close the popover\n */\n closeOnClickOutside?: boolean;\n\n /**\n * Whether pressing escape key should close the popover (web only)\n */\n closeOnEscapeKey?: boolean;\n\n /**\n * Whether to show an arrow pointing to the anchor\n */\n showArrow?: boolean;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1368
|
+
"typeDefinition": "export interface PopoverProps extends BaseProps, InteractiveAccessibilityProps {\n /**\n * Whether the popover is open/visible\n */\n open: boolean;\n\n /**\n * Called when the popover should be opened or closed\n */\n onOpenChange: (open: boolean) => void;\n\n /**\n * The anchor element to position the popover relative to\n * Can be a React element or a ref to a DOM element\n */\n anchor: ReactNode | React.RefObject<Element>;\n\n /**\n * The content to display inside the popover\n */\n children: ReactNode;\n\n /**\n * Preferred placement of the popover relative to anchor\n */\n placement?: PopoverPlacement;\n\n /**\n * Distance from the anchor element in pixels\n */\n offset?: number;\n\n /**\n * Whether clicking outside should close the popover\n */\n closeOnClickOutside?: boolean;\n\n /**\n * Whether pressing escape key should close the popover (web only)\n */\n closeOnEscapeKey?: boolean;\n\n /**\n * Whether to show an arrow pointing to the anchor\n */\n showArrow?: boolean;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1316
1369
|
"relatedTypes": {
|
|
1317
1370
|
"PopoverPlacement": "export type PopoverPlacement =\n | 'top' | 'top-start' | 'top-end'\n | 'bottom' | 'bottom-start' | 'bottom-end'\n | 'left' | 'left-start' | 'left-end'\n | 'right' | 'right-start' | 'right-end';"
|
|
1318
1371
|
}
|
|
@@ -1353,7 +1406,7 @@
|
|
|
1353
1406
|
},
|
|
1354
1407
|
{
|
|
1355
1408
|
"name": "style",
|
|
1356
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1409
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1357
1410
|
"required": false,
|
|
1358
1411
|
"description": "Additional styles to apply"
|
|
1359
1412
|
},
|
|
@@ -1376,7 +1429,7 @@
|
|
|
1376
1429
|
"description": "Accessibility role (web)"
|
|
1377
1430
|
}
|
|
1378
1431
|
],
|
|
1379
|
-
"typeDefinition": "export interface PressableProps {\n /**\n * Content to render inside the pressable area\n */\n children?: ReactNode;\n\n /**\n * Called when the press gesture is activated\n */\n onPress?: () => void;\n\n /**\n * Called when the press gesture starts\n */\n onPressIn?: () => void;\n\n /**\n * Called when the press gesture ends\n */\n onPressOut?: () => void;\n\n /**\n * Whether the pressable is disabled\n */\n disabled?: boolean;\n\n /**\n * Additional styles to apply\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label for screen readers\n */\n accessibilityLabel?: string;\n\n /**\n * Accessibility role (web)\n */\n accessibilityRole?: string;\n}",
|
|
1432
|
+
"typeDefinition": "export interface PressableProps extends PressableSpacingStyleProps {\n /**\n * Content to render inside the pressable area\n */\n children?: ReactNode;\n\n /**\n * Called when the press gesture is activated\n */\n onPress?: () => void;\n\n /**\n * Called when the press gesture starts\n */\n onPressIn?: () => void;\n\n /**\n * Called when the press gesture ends\n */\n onPressOut?: () => void;\n\n /**\n * Whether the pressable is disabled\n */\n disabled?: boolean;\n\n /**\n * Additional styles to apply\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Accessibility label for screen readers\n */\n accessibilityLabel?: string;\n\n /**\n * Accessibility role (web)\n */\n accessibilityRole?: string;\n}",
|
|
1380
1433
|
"relatedTypes": {}
|
|
1381
1434
|
},
|
|
1382
1435
|
"Progress": {
|
|
@@ -1386,7 +1439,8 @@
|
|
|
1386
1439
|
{
|
|
1387
1440
|
"name": "value",
|
|
1388
1441
|
"type": "number | undefined",
|
|
1389
|
-
"required": false
|
|
1442
|
+
"required": false,
|
|
1443
|
+
"description": "Current progress value (0-100 by default, or 0-max if max is specified)"
|
|
1390
1444
|
},
|
|
1391
1445
|
{
|
|
1392
1446
|
"name": "max",
|
|
@@ -1400,12 +1454,12 @@
|
|
|
1400
1454
|
},
|
|
1401
1455
|
{
|
|
1402
1456
|
"name": "intent",
|
|
1403
|
-
"type": "
|
|
1457
|
+
"type": "string | undefined",
|
|
1404
1458
|
"required": false
|
|
1405
1459
|
},
|
|
1406
1460
|
{
|
|
1407
1461
|
"name": "size",
|
|
1408
|
-
"type": "
|
|
1462
|
+
"type": "string | undefined",
|
|
1409
1463
|
"required": false
|
|
1410
1464
|
},
|
|
1411
1465
|
{
|
|
@@ -1430,7 +1484,7 @@
|
|
|
1430
1484
|
},
|
|
1431
1485
|
{
|
|
1432
1486
|
"name": "style",
|
|
1433
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1487
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1434
1488
|
"required": false
|
|
1435
1489
|
},
|
|
1436
1490
|
{
|
|
@@ -1439,7 +1493,7 @@
|
|
|
1439
1493
|
"required": false
|
|
1440
1494
|
}
|
|
1441
1495
|
],
|
|
1442
|
-
"typeDefinition": "export interface ProgressProps {\n value?: number;\n max?: number;\n variant?: ProgressVariant;\n intent?: ProgressIntentVariant;\n size?: ProgressSizeVariant;\n indeterminate?: boolean;\n showLabel?: boolean;\n label?: string;\n rounded?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1496
|
+
"typeDefinition": "export interface ProgressProps extends BaseProps {\n /**\n * Current progress value (0-100 by default, or 0-max if max is specified)\n */\n value?: number;\n max?: number;\n variant?: ProgressVariant;\n intent?: ProgressIntentVariant;\n size?: ProgressSizeVariant;\n indeterminate?: boolean;\n showLabel?: boolean;\n label?: string;\n rounded?: boolean;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1443
1497
|
"relatedTypes": {
|
|
1444
1498
|
"ProgressIntentVariant": "export type ProgressIntentVariant = Intent;",
|
|
1445
1499
|
"ProgressSizeVariant": "export type ProgressSizeVariant = Size;",
|
|
@@ -1477,17 +1531,17 @@
|
|
|
1477
1531
|
},
|
|
1478
1532
|
{
|
|
1479
1533
|
"name": "size",
|
|
1480
|
-
"type": "
|
|
1534
|
+
"type": "string | undefined",
|
|
1481
1535
|
"required": false
|
|
1482
1536
|
},
|
|
1483
1537
|
{
|
|
1484
1538
|
"name": "intent",
|
|
1485
|
-
"type": "
|
|
1539
|
+
"type": "string | undefined",
|
|
1486
1540
|
"required": false
|
|
1487
1541
|
},
|
|
1488
1542
|
{
|
|
1489
1543
|
"name": "style",
|
|
1490
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1544
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1491
1545
|
"required": false
|
|
1492
1546
|
},
|
|
1493
1547
|
{
|
|
@@ -1496,7 +1550,7 @@
|
|
|
1496
1550
|
"required": false
|
|
1497
1551
|
}
|
|
1498
1552
|
],
|
|
1499
|
-
"typeDefinition": "export interface RadioButtonProps {\n value: string;\n checked?: boolean;\n onPress?: () => void;\n disabled?: boolean;\n label?: string;\n size?: RadioButtonSizeVariant;\n intent?: RadioButtonIntentVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1553
|
+
"typeDefinition": "export interface RadioButtonProps extends FormInputStyleProps, SelectionAccessibilityProps {\n value: string;\n checked?: boolean;\n onPress?: () => void;\n disabled?: boolean;\n label?: string;\n size?: RadioButtonSizeVariant;\n intent?: RadioButtonIntentVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1500
1554
|
"relatedTypes": {
|
|
1501
1555
|
"RadioButtonIntentVariant": "export type RadioButtonIntentVariant = Intent;",
|
|
1502
1556
|
"RadioButtonSizeVariant": "export type RadioButtonSizeVariant = Size;"
|
|
@@ -1533,7 +1587,7 @@
|
|
|
1533
1587
|
},
|
|
1534
1588
|
{
|
|
1535
1589
|
"name": "intent",
|
|
1536
|
-
"type": "
|
|
1590
|
+
"type": "string | undefined",
|
|
1537
1591
|
"required": false
|
|
1538
1592
|
},
|
|
1539
1593
|
{
|
|
@@ -1542,7 +1596,7 @@
|
|
|
1542
1596
|
"required": false
|
|
1543
1597
|
}
|
|
1544
1598
|
],
|
|
1545
|
-
"typeDefinition": "export interface SVGImageProps extends Omit<ViewProps, 'children'
|
|
1599
|
+
"typeDefinition": "export interface SVGImageProps extends Omit<ViewProps, 'children'>, BaseProps {\n source: string | { uri: string } | React.FC<SvgProps>;\n width?: number | string;\n height?: number | string;\n size?: number | string;\n color?: string;\n intent?: SVGImageIntentVariant;\n resizeMode?: SVGImageResizeMode;\n}",
|
|
1546
1600
|
"relatedTypes": {
|
|
1547
1601
|
"SVGImageIntentVariant": "export type SVGImageIntentVariant = Intent;",
|
|
1548
1602
|
"SVGImageResizeMode": "export type SVGImageResizeMode = 'contain' | 'cover' | 'stretch';"
|
|
@@ -1560,16 +1614,10 @@
|
|
|
1560
1614
|
},
|
|
1561
1615
|
{
|
|
1562
1616
|
"name": "background",
|
|
1563
|
-
"type": "
|
|
1617
|
+
"type": "string | undefined",
|
|
1564
1618
|
"required": false,
|
|
1565
1619
|
"description": "Background variant - controls the background color"
|
|
1566
1620
|
},
|
|
1567
|
-
{
|
|
1568
|
-
"name": "padding",
|
|
1569
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/src/theme/size\").Size | \"none\" | undefined",
|
|
1570
|
-
"required": false,
|
|
1571
|
-
"description": "Screen padding variant"
|
|
1572
|
-
},
|
|
1573
1621
|
{
|
|
1574
1622
|
"name": "safeArea",
|
|
1575
1623
|
"type": "boolean | undefined",
|
|
@@ -1584,7 +1632,7 @@
|
|
|
1584
1632
|
},
|
|
1585
1633
|
{
|
|
1586
1634
|
"name": "style",
|
|
1587
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1635
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1588
1636
|
"required": false,
|
|
1589
1637
|
"description": "Additional styles (platform-specific)"
|
|
1590
1638
|
},
|
|
@@ -1601,7 +1649,7 @@
|
|
|
1601
1649
|
"description": "Scrollable content"
|
|
1602
1650
|
}
|
|
1603
1651
|
],
|
|
1604
|
-
"typeDefinition": "export interface ScreenProps {\n /**\n * The content to display inside the screen\n */\n children?: ReactNode;\n\n /**\n * Background variant - controls the background color\n */\n background?: Surface | 'transparent';\n\n /**\n *
|
|
1652
|
+
"typeDefinition": "export interface ScreenProps extends ContainerStyleProps {\n /**\n * The content to display inside the screen\n */\n children?: ReactNode;\n\n /**\n * Background variant - controls the background color\n */\n background?: Surface | 'transparent';\n\n /**\n * Safe area padding for mobile devices\n */\n safeArea?: boolean;\n\n /**\n * Content inset padding for scrollable content (mobile only)\n * Adds padding to the scroll view's content container\n * Useful for adding safe area insets or additional spacing\n */\n contentInset?: {\n top?: number;\n bottom?: number;\n left?: number;\n right?: number;\n };\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n\n /**\n * Scrollable content\n */\n scrollable?: boolean;\n}",
|
|
1605
1653
|
"relatedTypes": {}
|
|
1606
1654
|
},
|
|
1607
1655
|
"Select": {
|
|
@@ -1664,13 +1712,13 @@
|
|
|
1664
1712
|
},
|
|
1665
1713
|
{
|
|
1666
1714
|
"name": "intent",
|
|
1667
|
-
"type": "
|
|
1715
|
+
"type": "string | undefined",
|
|
1668
1716
|
"required": false,
|
|
1669
1717
|
"description": "The intent/color scheme of the select"
|
|
1670
1718
|
},
|
|
1671
1719
|
{
|
|
1672
1720
|
"name": "size",
|
|
1673
|
-
"type": "
|
|
1721
|
+
"type": "string | undefined",
|
|
1674
1722
|
"required": false,
|
|
1675
1723
|
"description": "The size of the select"
|
|
1676
1724
|
},
|
|
@@ -1700,7 +1748,7 @@
|
|
|
1700
1748
|
},
|
|
1701
1749
|
{
|
|
1702
1750
|
"name": "style",
|
|
1703
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1751
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1704
1752
|
"required": false,
|
|
1705
1753
|
"description": "Additional styles (platform-specific)"
|
|
1706
1754
|
},
|
|
@@ -1709,15 +1757,9 @@
|
|
|
1709
1757
|
"type": "string | undefined",
|
|
1710
1758
|
"required": false,
|
|
1711
1759
|
"description": "Test ID for testing"
|
|
1712
|
-
},
|
|
1713
|
-
{
|
|
1714
|
-
"name": "accessibilityLabel",
|
|
1715
|
-
"type": "string | undefined",
|
|
1716
|
-
"required": false,
|
|
1717
|
-
"description": "Accessibility label"
|
|
1718
1760
|
}
|
|
1719
1761
|
],
|
|
1720
|
-
"typeDefinition": "export interface SelectProps {\n /**\n * Array of options to display in the select\n */\n options: SelectOption[];\n\n /**\n * The currently selected value\n */\n value?: string;\n\n /**\n * Called when the selected value changes\n */\n onValueChange?: (value: string) => void;\n\n /**\n * Placeholder text when no value is selected\n */\n placeholder?: string;\n\n /**\n * Whether the select is disabled\n */\n disabled?: boolean;\n\n /**\n * Whether the select shows an error state\n */\n error?: boolean;\n\n /**\n * Helper text to display below the select\n */\n helperText?: string;\n\n /**\n * Label text to display above the select\n */\n label?: string;\n\n /**\n * The visual type of the select\n */\n type?: SelectType,\n\n /**\n * The intent/color scheme of the select\n */\n intent?: SelectIntentVariant;\n\n /**\n * The size of the select\n */\n size?: SelectSizeVariant;\n\n /**\n * Whether to show a search/filter input (web only)\n */\n searchable?: boolean;\n\n /**\n * Custom search filter function (used with searchable)\n */\n filterOption?: (option: SelectOption, searchTerm: string) => boolean;\n\n /**\n * Native iOS presentation mode (native only)\n * 'dropdown' uses a standard dropdown overlay\n * 'actionSheet' uses iOS ActionSheet for selection\n */\n presentationMode?: 'dropdown' | 'actionSheet';\n\n /**\n * Maximum height for the dropdown content\n */\n maxHeight?: number;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n
|
|
1762
|
+
"typeDefinition": "export interface SelectProps extends FormInputStyleProps, FormAccessibilityProps {\n /**\n * Array of options to display in the select\n */\n options: SelectOption[];\n\n /**\n * The currently selected value\n */\n value?: string;\n\n /**\n * Called when the selected value changes\n */\n onValueChange?: (value: string) => void;\n\n /**\n * Placeholder text when no value is selected\n */\n placeholder?: string;\n\n /**\n * Whether the select is disabled\n */\n disabled?: boolean;\n\n /**\n * Whether the select shows an error state\n */\n error?: boolean;\n\n /**\n * Helper text to display below the select\n */\n helperText?: string;\n\n /**\n * Label text to display above the select\n */\n label?: string;\n\n /**\n * The visual type of the select\n */\n type?: SelectType,\n\n /**\n * The intent/color scheme of the select\n */\n intent?: SelectIntentVariant;\n\n /**\n * The size of the select\n */\n size?: SelectSizeVariant;\n\n /**\n * Whether to show a search/filter input (web only)\n */\n searchable?: boolean;\n\n /**\n * Custom search filter function (used with searchable)\n */\n filterOption?: (option: SelectOption, searchTerm: string) => boolean;\n\n /**\n * Native iOS presentation mode (native only)\n * 'dropdown' uses a standard dropdown overlay\n * 'actionSheet' uses iOS ActionSheet for selection\n */\n presentationMode?: 'dropdown' | 'actionSheet';\n\n /**\n * Maximum height for the dropdown content\n */\n maxHeight?: number;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1721
1763
|
"relatedTypes": {
|
|
1722
1764
|
"SelectIntentVariant": "export type SelectIntentVariant = Intent;",
|
|
1723
1765
|
"SelectSizeVariant": "export type SelectSizeVariant = Size;",
|
|
@@ -1761,7 +1803,7 @@
|
|
|
1761
1803
|
},
|
|
1762
1804
|
{
|
|
1763
1805
|
"name": "style",
|
|
1764
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1806
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1765
1807
|
"required": false,
|
|
1766
1808
|
"description": "Additional custom styles"
|
|
1767
1809
|
},
|
|
@@ -1772,7 +1814,7 @@
|
|
|
1772
1814
|
"description": "Test ID for testing"
|
|
1773
1815
|
}
|
|
1774
1816
|
],
|
|
1775
|
-
"typeDefinition": "export interface SkeletonProps {\n /**\n * Width of the skeleton (number in pixels or string with units)\n * @default '100%'\n */\n width?: number | string;\n\n /**\n * Height of the skeleton (number in pixels or string with units)\n * @default 20\n */\n height?: number | string;\n\n /**\n * Shape of the skeleton\n * @default 'rectangle'\n */\n shape?: SkeletonShape;\n\n /**\n * Border radius for 'rounded' shape (in pixels)\n * @default 8\n */\n borderRadius?: number;\n\n /**\n * Animation type\n * @default 'pulse'\n */\n animation?: SkeletonAnimation;\n\n /**\n * Additional custom styles\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1817
|
+
"typeDefinition": "export interface SkeletonProps extends BaseProps, LiveRegionAccessibilityProps {\n /**\n * Width of the skeleton (number in pixels or string with units)\n * @default '100%'\n */\n width?: number | string;\n\n /**\n * Height of the skeleton (number in pixels or string with units)\n * @default 20\n */\n height?: number | string;\n\n /**\n * Shape of the skeleton\n * @default 'rectangle'\n */\n shape?: SkeletonShape;\n\n /**\n * Border radius for 'rounded' shape (in pixels)\n * @default 8\n */\n borderRadius?: number;\n\n /**\n * Animation type\n * @default 'pulse'\n */\n animation?: SkeletonAnimation;\n\n /**\n * Additional custom styles\n */\n style?: StyleProp<ViewStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
1776
1818
|
"relatedTypes": {
|
|
1777
1819
|
"SkeletonShape": "export type SkeletonShape = 'rectangle' | 'circle' | 'rounded';",
|
|
1778
1820
|
"SkeletonAnimation": "export type SkeletonAnimation = 'pulse' | 'wave' | 'none';"
|
|
@@ -1785,7 +1827,8 @@
|
|
|
1785
1827
|
{
|
|
1786
1828
|
"name": "value",
|
|
1787
1829
|
"type": "number | undefined",
|
|
1788
|
-
"required": false
|
|
1830
|
+
"required": false,
|
|
1831
|
+
"description": "Current slider value"
|
|
1789
1832
|
},
|
|
1790
1833
|
{
|
|
1791
1834
|
"name": "defaultValue",
|
|
@@ -1829,12 +1872,12 @@
|
|
|
1829
1872
|
},
|
|
1830
1873
|
{
|
|
1831
1874
|
"name": "intent",
|
|
1832
|
-
"type": "
|
|
1875
|
+
"type": "string | undefined",
|
|
1833
1876
|
"required": false
|
|
1834
1877
|
},
|
|
1835
1878
|
{
|
|
1836
1879
|
"name": "size",
|
|
1837
|
-
"type": "
|
|
1880
|
+
"type": "string | undefined",
|
|
1838
1881
|
"required": false
|
|
1839
1882
|
},
|
|
1840
1883
|
{
|
|
@@ -1854,7 +1897,7 @@
|
|
|
1854
1897
|
},
|
|
1855
1898
|
{
|
|
1856
1899
|
"name": "style",
|
|
1857
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1900
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1858
1901
|
"required": false
|
|
1859
1902
|
},
|
|
1860
1903
|
{
|
|
@@ -1863,7 +1906,7 @@
|
|
|
1863
1906
|
"required": false
|
|
1864
1907
|
}
|
|
1865
1908
|
],
|
|
1866
|
-
"typeDefinition": "export interface SliderProps {\n value?: number;\n defaultValue?: number;\n min?: number;\n max?: number;\n step?: number;\n disabled?: boolean;\n showValue?: boolean;\n showMinMax?: boolean;\n marks?: SliderMark[];\n intent?: SliderIntentVariant;\n size?: SliderSizeVariant;\n icon?: IconName | React.ReactNode;\n onValueChange?: (value: number) => void;\n onValueCommit?: (value: number) => void;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1909
|
+
"typeDefinition": "export interface SliderProps extends FormInputStyleProps, RangeAccessibilityProps {\n /**\n * Current slider value\n */\n value?: number;\n defaultValue?: number;\n min?: number;\n max?: number;\n step?: number;\n disabled?: boolean;\n showValue?: boolean;\n showMinMax?: boolean;\n marks?: SliderMark[];\n intent?: SliderIntentVariant;\n size?: SliderSizeVariant;\n icon?: IconName | React.ReactNode;\n onValueChange?: (value: number) => void;\n onValueCommit?: (value: number) => void;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1867
1910
|
"relatedTypes": {
|
|
1868
1911
|
"SliderIntentVariant": "export type SliderIntentVariant = Intent;",
|
|
1869
1912
|
"SliderSizeVariant": "export type SliderSizeVariant = Size;",
|
|
@@ -1877,7 +1920,8 @@
|
|
|
1877
1920
|
{
|
|
1878
1921
|
"name": "checked",
|
|
1879
1922
|
"type": "boolean | undefined",
|
|
1880
|
-
"required": false
|
|
1923
|
+
"required": false,
|
|
1924
|
+
"description": "Whether the switch is on"
|
|
1881
1925
|
},
|
|
1882
1926
|
{
|
|
1883
1927
|
"name": "onCheckedChange",
|
|
@@ -1901,12 +1945,12 @@
|
|
|
1901
1945
|
},
|
|
1902
1946
|
{
|
|
1903
1947
|
"name": "intent",
|
|
1904
|
-
"type": "
|
|
1948
|
+
"type": "string | undefined",
|
|
1905
1949
|
"required": false
|
|
1906
1950
|
},
|
|
1907
1951
|
{
|
|
1908
1952
|
"name": "size",
|
|
1909
|
-
"type": "
|
|
1953
|
+
"type": "string | undefined",
|
|
1910
1954
|
"required": false
|
|
1911
1955
|
},
|
|
1912
1956
|
{
|
|
@@ -1921,7 +1965,7 @@
|
|
|
1921
1965
|
},
|
|
1922
1966
|
{
|
|
1923
1967
|
"name": "style",
|
|
1924
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
1968
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1925
1969
|
"required": false
|
|
1926
1970
|
},
|
|
1927
1971
|
{
|
|
@@ -1930,7 +1974,7 @@
|
|
|
1930
1974
|
"required": false
|
|
1931
1975
|
}
|
|
1932
1976
|
],
|
|
1933
|
-
"typeDefinition": "export interface SwitchProps {\n checked?: boolean;\n onCheckedChange?: (checked: boolean) => void;\n disabled?: boolean;\n label?: string;\n labelPosition?: 'left' | 'right';\n intent?: SwitchIntentVariant;\n size?: SwitchSizeVariant;\n enabledIcon?: IconName | React.ReactNode;\n disabledIcon?: IconName | React.ReactNode;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1977
|
+
"typeDefinition": "export interface SwitchProps extends FormInputStyleProps, SelectionAccessibilityProps {\n /**\n * Whether the switch is on\n */\n checked?: boolean;\n onCheckedChange?: (checked: boolean) => void;\n disabled?: boolean;\n label?: string;\n labelPosition?: 'left' | 'right';\n intent?: SwitchIntentVariant;\n size?: SwitchSizeVariant;\n enabledIcon?: IconName | React.ReactNode;\n disabledIcon?: IconName | React.ReactNode;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1934
1978
|
"relatedTypes": {
|
|
1935
1979
|
"SwitchIntentVariant": "export type SwitchIntentVariant = Intent;",
|
|
1936
1980
|
"SwitchSizeVariant": "export type SwitchSizeVariant = Size;"
|
|
@@ -1967,7 +2011,7 @@
|
|
|
1967
2011
|
},
|
|
1968
2012
|
{
|
|
1969
2013
|
"name": "size",
|
|
1970
|
-
"type": "
|
|
2014
|
+
"type": "string | undefined",
|
|
1971
2015
|
"required": false
|
|
1972
2016
|
},
|
|
1973
2017
|
{
|
|
@@ -1976,9 +2020,21 @@
|
|
|
1976
2020
|
"required": false,
|
|
1977
2021
|
"description": "Mode for pills variant: 'light' for light backgrounds (dark pill), 'dark' for dark backgrounds (light pill)"
|
|
1978
2022
|
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "iconPosition",
|
|
2025
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/TabBar/types\").TabBarIconPosition | undefined",
|
|
2026
|
+
"required": false,
|
|
2027
|
+
"description": "Position of icon relative to label: 'left' (horizontal) or 'top' (stacked)"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "justify",
|
|
2031
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/TabBar/types\").TabBarJustify | undefined",
|
|
2032
|
+
"required": false,
|
|
2033
|
+
"description": "Layout justification: 'start' (left), 'center', 'equal' (full width equal tabs), 'space-between'"
|
|
2034
|
+
},
|
|
1979
2035
|
{
|
|
1980
2036
|
"name": "style",
|
|
1981
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2037
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
1982
2038
|
"required": false
|
|
1983
2039
|
},
|
|
1984
2040
|
{
|
|
@@ -1987,12 +2043,14 @@
|
|
|
1987
2043
|
"required": false
|
|
1988
2044
|
}
|
|
1989
2045
|
],
|
|
1990
|
-
"typeDefinition": "export interface TabBarProps {\n items: TabBarItem[];\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n type?: TabBarType;\n size?: TabBarSizeVariant;\n /** Mode for pills variant: 'light' for light backgrounds (dark pill), 'dark' for dark backgrounds (light pill) */\n pillMode?: TabBarPillMode;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2046
|
+
"typeDefinition": "export interface TabBarProps extends ContainerStyleProps, AccessibilityProps {\n items: TabBarItem[];\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n type?: TabBarType;\n size?: TabBarSizeVariant;\n /** Mode for pills variant: 'light' for light backgrounds (dark pill), 'dark' for dark backgrounds (light pill) */\n pillMode?: TabBarPillMode;\n /** Position of icon relative to label: 'left' (horizontal) or 'top' (stacked) */\n iconPosition?: TabBarIconPosition;\n /** Layout justification: 'start' (left), 'center', 'equal' (full width equal tabs), 'space-between' */\n justify?: TabBarJustify;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
1991
2047
|
"relatedTypes": {
|
|
1992
2048
|
"TabBarSizeVariant": "export type TabBarSizeVariant = Size;",
|
|
1993
2049
|
"TabBarType": "export type TabBarType = 'standard' | 'pills' | 'underline';",
|
|
1994
2050
|
"TabBarPillMode": "export type TabBarPillMode = 'light' | 'dark';",
|
|
1995
|
-
"
|
|
2051
|
+
"TabBarIconPosition": "export type TabBarIconPosition = 'left' | 'top';",
|
|
2052
|
+
"TabBarJustify": "export type TabBarJustify = 'start' | 'center' | 'equal' | 'space-between';",
|
|
2053
|
+
"TabBarItem": "export interface TabBarItem {\n value: string;\n label: string;\n /** Icon to display - can be a React node or a render function receiving active state */\n icon?: ReactNode | ((props: { active: boolean; size: number }) => ReactNode);\n disabled?: boolean;\n}"
|
|
1996
2054
|
}
|
|
1997
2055
|
},
|
|
1998
2056
|
"Table": {
|
|
@@ -2002,7 +2060,8 @@
|
|
|
2002
2060
|
{
|
|
2003
2061
|
"name": "columns",
|
|
2004
2062
|
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/Table/types\").TableColumn<T>[]",
|
|
2005
|
-
"required": true
|
|
2063
|
+
"required": true,
|
|
2064
|
+
"description": "Column definitions for the table"
|
|
2006
2065
|
},
|
|
2007
2066
|
{
|
|
2008
2067
|
"name": "data",
|
|
@@ -2016,7 +2075,7 @@
|
|
|
2016
2075
|
},
|
|
2017
2076
|
{
|
|
2018
2077
|
"name": "size",
|
|
2019
|
-
"type": "
|
|
2078
|
+
"type": "string | undefined",
|
|
2020
2079
|
"required": false
|
|
2021
2080
|
},
|
|
2022
2081
|
{
|
|
@@ -2031,7 +2090,7 @@
|
|
|
2031
2090
|
},
|
|
2032
2091
|
{
|
|
2033
2092
|
"name": "style",
|
|
2034
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2093
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
2035
2094
|
"required": false
|
|
2036
2095
|
},
|
|
2037
2096
|
{
|
|
@@ -2040,12 +2099,12 @@
|
|
|
2040
2099
|
"required": false
|
|
2041
2100
|
}
|
|
2042
2101
|
],
|
|
2043
|
-
"typeDefinition": "export interface TableProps<T = any> {\n columns: TableColumn<T>[];\n data: T[];\n type?: TableType;\n size?: TableSizeVariant;\n stickyHeader?: boolean;\n onRowPress?: (row: T, index: number) => void;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2102
|
+
"typeDefinition": "export interface TableProps<T = any> extends ContainerStyleProps, AccessibilityProps {\n /**\n * Column definitions for the table\n */\n columns: TableColumn<T>[];\n data: T[];\n type?: TableType;\n size?: TableSizeVariant;\n stickyHeader?: boolean;\n onRowPress?: (row: T, index: number) => void;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2044
2103
|
"relatedTypes": {
|
|
2045
2104
|
"TableSizeVariant": "export type TableSizeVariant = Size;",
|
|
2046
2105
|
"TableType": "export type TableType = 'standard' | 'bordered' | 'striped';",
|
|
2047
2106
|
"TableAlignVariant": "export type TableAlignVariant = 'left' | 'center' | 'right';",
|
|
2048
|
-
"TableColumn": "export interface TableColumn<T = any> {\n key: string;\n title: string;\n dataIndex?: string;\n render?: (value: any, row: T, index: number) => ReactNode;\n width?: number | string;\n align?: TableAlignVariant;\n}"
|
|
2107
|
+
"TableColumn": "export interface TableColumn<T = any> extends SortableAccessibilityProps {\n key: string;\n title: string;\n dataIndex?: string;\n render?: (value: any, row: T, index: number) => ReactNode;\n width?: number | string;\n align?: TableAlignVariant;\n}"
|
|
2049
2108
|
}
|
|
2050
2109
|
},
|
|
2051
2110
|
"Text": {
|
|
@@ -2059,20 +2118,20 @@
|
|
|
2059
2118
|
"description": "The text content to display"
|
|
2060
2119
|
},
|
|
2061
2120
|
{
|
|
2062
|
-
"name": "
|
|
2063
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2121
|
+
"name": "typography",
|
|
2122
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/src/theme/structures\").Typography | undefined",
|
|
2064
2123
|
"required": false,
|
|
2065
|
-
"description": "
|
|
2124
|
+
"description": "Typography variant for semantic text styling.\nAutomatically sets fontSize, lineHeight, and fontWeight."
|
|
2066
2125
|
},
|
|
2067
2126
|
{
|
|
2068
2127
|
"name": "weight",
|
|
2069
2128
|
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/Text/types\").TextWeightVariant | undefined",
|
|
2070
2129
|
"required": false,
|
|
2071
|
-
"description": "The weight of the text"
|
|
2130
|
+
"description": "The weight of the text.\nOverrides the weight from typography if both are set."
|
|
2072
2131
|
},
|
|
2073
2132
|
{
|
|
2074
2133
|
"name": "color",
|
|
2075
|
-
"type": "
|
|
2134
|
+
"type": "string | undefined",
|
|
2076
2135
|
"required": false,
|
|
2077
2136
|
"description": "The color of the text"
|
|
2078
2137
|
},
|
|
@@ -2084,7 +2143,7 @@
|
|
|
2084
2143
|
},
|
|
2085
2144
|
{
|
|
2086
2145
|
"name": "style",
|
|
2087
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2146
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").TextStyle>",
|
|
2088
2147
|
"required": false,
|
|
2089
2148
|
"description": "Additional styles (platform-specific)"
|
|
2090
2149
|
},
|
|
@@ -2095,12 +2154,12 @@
|
|
|
2095
2154
|
"description": "Test ID for testing"
|
|
2096
2155
|
}
|
|
2097
2156
|
],
|
|
2098
|
-
"typeDefinition": "export interface TextProps {\n /**\n * The text content to display\n */\n children: ReactNode;\n\n /**\n *
|
|
2157
|
+
"typeDefinition": "export interface TextProps extends TextSpacingStyleProps {\n /**\n * The text content to display\n */\n children: ReactNode;\n\n /**\n * Typography variant for semantic text styling.\n * Automatically sets fontSize, lineHeight, and fontWeight.\n */\n typography?: TextTypographyVariant;\n\n /**\n * The weight of the text.\n * Overrides the weight from typography if both are set.\n */\n weight?: TextWeightVariant;\n\n /**\n * The color of the text\n */\n color?: TextColorVariant;\n\n /**\n * Text alignment\n */\n align?: TextAlignVariant;\n\n /**\n * Additional styles (platform-specific)\n */\n style?: StyleProp<TextStyle>;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
2099
2158
|
"relatedTypes": {
|
|
2100
2159
|
"TextColorVariant": "export type TextColorVariant = Text;",
|
|
2101
|
-
"TextSizeVariant": "export type TextSizeVariant = 'sm' | 'md' | 'lg' | 'xl';",
|
|
2102
2160
|
"TextWeightVariant": "export type TextWeightVariant = 'light' | 'normal' | 'medium' | 'semibold' | 'bold';",
|
|
2103
|
-
"TextAlignVariant": "export type TextAlignVariant = 'left' | 'center' | 'right';"
|
|
2161
|
+
"TextAlignVariant": "export type TextAlignVariant = 'left' | 'center' | 'right';",
|
|
2162
|
+
"TextTypographyVariant": "export type TextTypographyVariant = Typography;"
|
|
2104
2163
|
}
|
|
2105
2164
|
},
|
|
2106
2165
|
"TextArea": {
|
|
@@ -2184,22 +2243,22 @@
|
|
|
2184
2243
|
},
|
|
2185
2244
|
{
|
|
2186
2245
|
"name": "intent",
|
|
2187
|
-
"type": "
|
|
2246
|
+
"type": "string | undefined",
|
|
2188
2247
|
"required": false
|
|
2189
2248
|
},
|
|
2190
2249
|
{
|
|
2191
2250
|
"name": "size",
|
|
2192
|
-
"type": "
|
|
2251
|
+
"type": "string | undefined",
|
|
2193
2252
|
"required": false
|
|
2194
2253
|
},
|
|
2195
2254
|
{
|
|
2196
2255
|
"name": "style",
|
|
2197
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2256
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
2198
2257
|
"required": false
|
|
2199
2258
|
},
|
|
2200
2259
|
{
|
|
2201
2260
|
"name": "textareaStyle",
|
|
2202
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2261
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").TextStyle>",
|
|
2203
2262
|
"required": false
|
|
2204
2263
|
},
|
|
2205
2264
|
{
|
|
@@ -2208,7 +2267,7 @@
|
|
|
2208
2267
|
"required": false
|
|
2209
2268
|
}
|
|
2210
2269
|
],
|
|
2211
|
-
"typeDefinition": "export interface TextAreaProps {\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n placeholder?: string;\n disabled?: boolean;\n rows?: number;\n minHeight?: number;\n maxHeight?: number;\n autoGrow?: boolean;\n maxLength?: number;\n label?: string;\n error?: string;\n helperText?: string;\n resize?: TextAreaResizeVariant;\n showCharacterCount?: boolean;\n intent?: TextAreaIntentVariant;\n size?: TextAreaSizeVariant;\n style?: StyleProp<ViewStyle>;\n textareaStyle?: StyleProp<TextStyle>;\n testID?: string;\n}",
|
|
2270
|
+
"typeDefinition": "export interface TextAreaProps extends FormInputStyleProps, FormAccessibilityProps {\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n placeholder?: string;\n disabled?: boolean;\n rows?: number;\n minHeight?: number;\n maxHeight?: number;\n autoGrow?: boolean;\n maxLength?: number;\n label?: string;\n error?: string;\n helperText?: string;\n resize?: TextAreaResizeVariant;\n showCharacterCount?: boolean;\n intent?: TextAreaIntentVariant;\n size?: TextAreaSizeVariant;\n style?: StyleProp<ViewStyle>;\n textareaStyle?: StyleProp<TextStyle>;\n testID?: string;\n}",
|
|
2212
2271
|
"relatedTypes": {
|
|
2213
2272
|
"TextAreaIntentVariant": "export type TextAreaIntentVariant = Intent;",
|
|
2214
2273
|
"TextAreaSizeVariant": "export type TextAreaSizeVariant = Size;",
|
|
@@ -2222,7 +2281,8 @@
|
|
|
2222
2281
|
{
|
|
2223
2282
|
"name": "content",
|
|
2224
2283
|
"type": "React.ReactNode",
|
|
2225
|
-
"required": true
|
|
2284
|
+
"required": true,
|
|
2285
|
+
"description": "Content to display in the tooltip"
|
|
2226
2286
|
},
|
|
2227
2287
|
{
|
|
2228
2288
|
"name": "children",
|
|
@@ -2241,17 +2301,17 @@
|
|
|
2241
2301
|
},
|
|
2242
2302
|
{
|
|
2243
2303
|
"name": "intent",
|
|
2244
|
-
"type": "
|
|
2304
|
+
"type": "string | undefined",
|
|
2245
2305
|
"required": false
|
|
2246
2306
|
},
|
|
2247
2307
|
{
|
|
2248
2308
|
"name": "size",
|
|
2249
|
-
"type": "
|
|
2309
|
+
"type": "string | undefined",
|
|
2250
2310
|
"required": false
|
|
2251
2311
|
},
|
|
2252
2312
|
{
|
|
2253
2313
|
"name": "style",
|
|
2254
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2314
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
2255
2315
|
"required": false
|
|
2256
2316
|
},
|
|
2257
2317
|
{
|
|
@@ -2260,7 +2320,7 @@
|
|
|
2260
2320
|
"required": false
|
|
2261
2321
|
}
|
|
2262
2322
|
],
|
|
2263
|
-
"typeDefinition": "export interface TooltipProps {\n content: string | React.ReactNode;\n children: React.ReactNode;\n placement?: TooltipPlacement;\n delay?: number;\n intent?: TooltipIntentVariant;\n size?: TooltipSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2323
|
+
"typeDefinition": "export interface TooltipProps extends BaseProps, AccessibilityProps {\n /**\n * Content to display in the tooltip\n */\n content: string | React.ReactNode;\n children: React.ReactNode;\n placement?: TooltipPlacement;\n delay?: number;\n intent?: TooltipIntentVariant;\n size?: TooltipSizeVariant;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2264
2324
|
"relatedTypes": {
|
|
2265
2325
|
"TooltipIntentVariant": "export type TooltipIntentVariant = Intent;",
|
|
2266
2326
|
"TooltipSizeVariant": "export type TooltipSizeVariant = Size;",
|
|
@@ -2363,7 +2423,7 @@
|
|
|
2363
2423
|
},
|
|
2364
2424
|
{
|
|
2365
2425
|
"name": "style",
|
|
2366
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/
|
|
2426
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheet\").StyleProp<import(\"/home/nicho/Development/idealyst-framework/packages/theme/node_modules/react-native/Libraries/StyleSheet/StyleSheetTypes\").ViewStyle>",
|
|
2367
2427
|
"required": false
|
|
2368
2428
|
},
|
|
2369
2429
|
{
|
|
@@ -2372,7 +2432,7 @@
|
|
|
2372
2432
|
"required": false
|
|
2373
2433
|
}
|
|
2374
2434
|
],
|
|
2375
|
-
"typeDefinition": "export interface VideoProps {\n source: VideoSource | string;\n poster?: string;\n width?: number | string;\n height?: number | string;\n aspectRatio?: number;\n controls?: boolean;\n autoPlay?: boolean;\n loop?: boolean;\n muted?: boolean;\n playsInline?: boolean;\n preload?: 'auto' | 'metadata' | 'none';\n onLoad?: () => void;\n onError?: (error: any) => void;\n onPlay?: () => void;\n onPause?: () => void;\n onEnd?: () => void;\n onProgress?: (progress: { currentTime: number; playableDuration: number }) => void;\n borderRadius?: number;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2435
|
+
"typeDefinition": "export interface VideoProps extends BaseProps, AccessibilityProps {\n source: VideoSource | string;\n poster?: string;\n width?: number | string;\n height?: number | string;\n aspectRatio?: number;\n controls?: boolean;\n autoPlay?: boolean;\n loop?: boolean;\n muted?: boolean;\n playsInline?: boolean;\n preload?: 'auto' | 'metadata' | 'none';\n onLoad?: () => void;\n onError?: (error: any) => void;\n onPlay?: () => void;\n onPause?: () => void;\n onEnd?: () => void;\n onProgress?: (progress: { currentTime: number; playableDuration: number }) => void;\n borderRadius?: number;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n}",
|
|
2376
2436
|
"relatedTypes": {
|
|
2377
2437
|
"VideoSource": "export interface VideoSource {\n uri: string;\n type?: string;\n}"
|
|
2378
2438
|
}
|
|
@@ -2387,27 +2447,15 @@
|
|
|
2387
2447
|
"required": false,
|
|
2388
2448
|
"description": "The content to display inside the view"
|
|
2389
2449
|
},
|
|
2390
|
-
{
|
|
2391
|
-
"name": "spacing",
|
|
2392
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/View/types\").ViewSpacingVariant | undefined",
|
|
2393
|
-
"required": false,
|
|
2394
|
-
"description": "Padding/spacing variant"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "marginVariant",
|
|
2398
|
-
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/View/types\").ViewSpacingVariant | undefined",
|
|
2399
|
-
"required": false,
|
|
2400
|
-
"description": "Margin variant"
|
|
2401
|
-
},
|
|
2402
2450
|
{
|
|
2403
2451
|
"name": "background",
|
|
2404
|
-
"type": "
|
|
2452
|
+
"type": "string | undefined",
|
|
2405
2453
|
"required": false,
|
|
2406
2454
|
"description": "Background variant"
|
|
2407
2455
|
},
|
|
2408
2456
|
{
|
|
2409
2457
|
"name": "radius",
|
|
2410
|
-
"type": "
|
|
2458
|
+
"type": "string | undefined",
|
|
2411
2459
|
"required": false,
|
|
2412
2460
|
"description": "Border radius variant"
|
|
2413
2461
|
},
|
|
@@ -2423,18 +2471,6 @@
|
|
|
2423
2471
|
"required": false,
|
|
2424
2472
|
"description": "Custom background color (overrides background variant)"
|
|
2425
2473
|
},
|
|
2426
|
-
{
|
|
2427
|
-
"name": "padding",
|
|
2428
|
-
"type": "number | undefined",
|
|
2429
|
-
"required": false,
|
|
2430
|
-
"description": "Custom padding (overrides spacing variant)"
|
|
2431
|
-
},
|
|
2432
|
-
{
|
|
2433
|
-
"name": "margin",
|
|
2434
|
-
"type": "number | undefined",
|
|
2435
|
-
"required": false,
|
|
2436
|
-
"description": "Custom margin (overrides marginVariant)"
|
|
2437
|
-
},
|
|
2438
2474
|
{
|
|
2439
2475
|
"name": "borderRadius",
|
|
2440
2476
|
"type": "number | undefined",
|
|
@@ -2455,9 +2491,15 @@
|
|
|
2455
2491
|
},
|
|
2456
2492
|
{
|
|
2457
2493
|
"name": "style",
|
|
2458
|
-
"type": "
|
|
2494
|
+
"type": "import(\"/home/nicho/Development/idealyst-framework/packages/components/src/View/types\").ViewStyleProp",
|
|
2459
2495
|
"required": false,
|
|
2460
|
-
"description": "Additional styles
|
|
2496
|
+
"description": "Additional styles. Supports responsive values for any property."
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
"name": "scrollable",
|
|
2500
|
+
"type": "boolean | undefined",
|
|
2501
|
+
"required": false,
|
|
2502
|
+
"description": "Enable scrollable content (uses ScrollView on native, overflow:auto on web)"
|
|
2461
2503
|
},
|
|
2462
2504
|
{
|
|
2463
2505
|
"name": "testID",
|
|
@@ -2466,10 +2508,10 @@
|
|
|
2466
2508
|
"description": "Test ID for testing"
|
|
2467
2509
|
}
|
|
2468
2510
|
],
|
|
2469
|
-
"typeDefinition": "export interface ViewProps {\n /**\n * The content to display inside the view\n */\n children?: ReactNode;\n\n /**\n *
|
|
2511
|
+
"typeDefinition": "export interface ViewProps extends ContainerStyleProps {\n /**\n * The content to display inside the view\n */\n children?: ReactNode;\n\n /**\n * Background variant\n */\n background?: ViewBackgroundVariant;\n\n /**\n * Border radius variant\n */\n radius?: ViewRadiusVariant;\n\n /**\n * Border variant\n */\n border?: ViewBorderVariant;\n\n /**\n * Custom background color (overrides background variant)\n */\n backgroundColor?: string;\n\n /**\n * Custom border radius (overrides radius variant)\n */\n borderRadius?: number;\n\n /**\n * Custom border width (overrides border variant)\n */\n borderWidth?: number;\n\n /**\n * Custom border color\n */\n borderColor?: string;\n\n /**\n * Additional styles. Supports responsive values for any property.\n * @example\n * ```tsx\n * // Responsive flexDirection\n * <View style={{ flexDirection: { xs: 'column', md: 'row' } }} />\n *\n * // Mix responsive and static values\n * <View style={{ padding: { xs: 8, lg: 16 }, backgroundColor: '#fff' }} />\n * ```\n */\n style?: ViewStyleProp;\n\n /**\n * Enable scrollable content (uses ScrollView on native, overflow:auto on web)\n */\n scrollable?: boolean;\n\n /**\n * Test ID for testing\n */\n testID?: string;\n}",
|
|
2470
2512
|
"relatedTypes": {
|
|
2513
|
+
"ViewStyleProp": "export type ViewStyleProp = StyleProp<ViewStyle> | ResponsiveStyle | React.CSSProperties;",
|
|
2471
2514
|
"ViewBackgroundVariant": "export type ViewBackgroundVariant = Surface | 'transparent';",
|
|
2472
|
-
"ViewSpacingVariant": "export type ViewSpacingVariant = Size | 'none';",
|
|
2473
2515
|
"ViewRadiusVariant": "export type ViewRadiusVariant = Size | 'none';",
|
|
2474
2516
|
"ViewBorderVariant": "export type ViewBorderVariant = 'none' | 'thin' | 'thick';"
|
|
2475
2517
|
}
|
|
@@ -2478,68 +2520,30 @@
|
|
|
2478
2520
|
"theme": {
|
|
2479
2521
|
"Size": {
|
|
2480
2522
|
"name": "Size",
|
|
2481
|
-
"definition": "export type Size =
|
|
2482
|
-
"values": [
|
|
2483
|
-
"xs",
|
|
2484
|
-
"sm",
|
|
2485
|
-
"md",
|
|
2486
|
-
"lg",
|
|
2487
|
-
"xl"
|
|
2488
|
-
]
|
|
2523
|
+
"definition": "export type Size = keyof RegisteredTheme['theme']['sizes']['button'];",
|
|
2524
|
+
"values": []
|
|
2489
2525
|
},
|
|
2490
2526
|
"Intent": {
|
|
2491
2527
|
"name": "Intent",
|
|
2492
|
-
"definition": "export type Intent =
|
|
2493
|
-
"values": [
|
|
2494
|
-
"primary",
|
|
2495
|
-
"success",
|
|
2496
|
-
"error",
|
|
2497
|
-
"warning",
|
|
2498
|
-
"neutral",
|
|
2499
|
-
"info"
|
|
2500
|
-
]
|
|
2528
|
+
"definition": "export type Intent = keyof RegisteredTheme['theme']['intents'];",
|
|
2529
|
+
"values": []
|
|
2501
2530
|
},
|
|
2502
2531
|
"Pallet": {
|
|
2503
2532
|
"name": "Pallet",
|
|
2504
|
-
"definition": "export type Pallet =
|
|
2505
|
-
"values": [
|
|
2506
|
-
"red",
|
|
2507
|
-
"orange",
|
|
2508
|
-
"blue",
|
|
2509
|
-
"green",
|
|
2510
|
-
"yellow",
|
|
2511
|
-
"purple",
|
|
2512
|
-
"gray",
|
|
2513
|
-
"black",
|
|
2514
|
-
"white"
|
|
2515
|
-
]
|
|
2516
|
-
},
|
|
2517
|
-
"Shade": {
|
|
2518
|
-
"name": "Shade",
|
|
2519
|
-
"definition": "export type Shade = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;",
|
|
2520
|
-
"values": [
|
|
2521
|
-
"50",
|
|
2522
|
-
"100",
|
|
2523
|
-
"200",
|
|
2524
|
-
"300",
|
|
2525
|
-
"400",
|
|
2526
|
-
"500",
|
|
2527
|
-
"600",
|
|
2528
|
-
"700",
|
|
2529
|
-
"800",
|
|
2530
|
-
"900"
|
|
2531
|
-
]
|
|
2533
|
+
"definition": "export type Pallet = keyof RegisteredTheme['theme']['colors']['pallet'] & string;",
|
|
2534
|
+
"values": []
|
|
2532
2535
|
},
|
|
2533
2536
|
"Color": {
|
|
2534
2537
|
"name": "Color",
|
|
2535
|
-
"definition": "export type Color = `${Pallet}.${
|
|
2538
|
+
"definition": "export type Color = `${Pallet}.${50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900}` | Pallet;"
|
|
2536
2539
|
}
|
|
2537
2540
|
},
|
|
2538
2541
|
"navigation": {
|
|
2539
2542
|
"TabBarScreenOptions": "export type TabBarScreenOptions = {\n /**\n * Icon component for tab/drawer navigation (React.ComponentType, React.ReactElement, function, or string)\n */\n tabBarIcon?: ((props: { focused: boolean; color: string; size: string | number }) => React.ReactElement)\n \n /**\n * Label for tab/drawer navigation\n */\n tabBarLabel?: string;\n \n /**\n * Badge for tab navigation\n */\n tabBarBadge?: string | number;\n \n /**\n * Whether to show the tab bar for this screen\n */\n tabBarVisible?: boolean;\n} & ScreenOptions",
|
|
2540
2543
|
"NavigatorOptions": "export type NavigatorOptions = {\n\n \n /**\n * Custom header title component or string\n */\n headerTitle?: React.ComponentType | React.ReactElement | string;\n \n /**\n * Custom header left component (overrides back button)\n */\n headerLeft?: React.ComponentType | React.ReactElement;\n \n /**\n * Whether to show header back button\n */\n headerBackVisible?: boolean;\n \n /**\n * Custom header right component\n */\n headerRight?: React.ComponentType | React.ReactElement;\n \n /**\n * Whether to hide the native React Navigation header (mobile only)\n */\n headerShown?: boolean;\n}",
|
|
2541
|
-
"ScreenOptions": "export type ScreenOptions = {\n /**\n * Screen title for navigation headers\n */\n title?: string;\n headerShown?: boolean;\n\n} & NavigatorOptions;",
|
|
2542
|
-
"
|
|
2544
|
+
"ScreenOptions": "export type ScreenOptions = {\n /**\n * Screen title for navigation headers\n */\n title?: string;\n headerShown?: boolean;\n /**\n * When true, renders the screen outside of parent layout wrappers.\n * Useful for fullscreen modals, onboarding flows, or any screen that\n * should not inherit the parent navigator's layout (header, sidebar, tabs, etc.)\n *\n * Web: Screen renders as a sibling route without the parent LayoutComponent\n * Native: Screen uses fullScreenModal presentation\n */\n fullScreen?: boolean;\n\n} & NavigatorOptions;",
|
|
2545
|
+
"NotFoundComponentProps": "export type NotFoundComponentProps = {\n /** The full path that was attempted */\n path: string\n /** Any route parameters that were parsed from the path */\n params?: Record<string, string>\n}",
|
|
2546
|
+
"BaseNavigatorParam": "export type BaseNavigatorParam = {\n path: string\n type: 'navigator'\n options?: NavigatorOptions\n /**\n * Handler called when an invalid route is accessed.\n * - Return NavigateParams to redirect to a different route\n * - Return undefined to show the notFoundComponent (if set)\n * If not defined, bubbles up to parent navigator.\n *\n * @param invalidPath - The path that was attempted but not found\n * @returns NavigateParams to redirect, or undefined to use notFoundComponent\n */\n onInvalidRoute?: (invalidPath: string) => NavigateParams | undefined\n /**\n * Component to render/navigate to when route is invalid and onInvalidRoute returns undefined.\n * - Web: Renders at the current URL via catch-all route\n * - Native: Navigated to as a screen\n * - Optional: If not set and nothing handles the route, a warning is logged\n */\n notFoundComponent?: React.ComponentType<NotFoundComponentProps>\n}",
|
|
2543
2547
|
"TabNavigatorParam": "export type TabNavigatorParam = {\n layout: 'tab'\n routes: RouteParam<TabBarScreenOptions>[]\n layoutComponent?: TabLayoutComponent\n} & BaseNavigatorParam",
|
|
2544
2548
|
"StackNavigatorParam": "export type StackNavigatorParam = {\n layout: 'stack'\n routes: RouteParam<ScreenOptions>[]\n layoutComponent?: StackLayoutComponent\n} & BaseNavigatorParam",
|
|
2545
2549
|
"DrawerSidebarProps": "export type DrawerSidebarProps = {\n /**\n * Safe area insets (mobile only)\n * Use these to add padding to avoid notches, status bars, etc.\n */\n insets?: {\n top: number;\n right: number;\n bottom: number;\n left: number;\n };\n};",
|