@idealyst/mcp-server 1.0.98 → 1.1.0
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/Accordion.d.ts.map +1 -1
- package/dist/data/components/Accordion.js +10 -1
- package/dist/data/components/Accordion.js.map +1 -1
- package/dist/data/components/Card.d.ts.map +1 -1
- package/dist/data/components/Card.js +27 -20
- package/dist/data/components/Card.js.map +1 -1
- package/dist/data/components/Checkbox.d.ts.map +1 -1
- package/dist/data/components/Checkbox.js +4 -1
- package/dist/data/components/Checkbox.js.map +1 -1
- package/dist/data/components/Input.d.ts.map +1 -1
- package/dist/data/components/Input.js +4 -1
- package/dist/data/components/Input.js.map +1 -1
- package/dist/data/components/List.d.ts.map +1 -1
- package/dist/data/components/List.js +10 -1
- package/dist/data/components/List.js.map +1 -1
- package/dist/data/components/Pressable.d.ts.map +1 -1
- package/dist/data/components/Pressable.js +5 -1
- package/dist/data/components/Pressable.js.map +1 -1
- package/dist/data/components/RadioButton.d.ts.map +1 -1
- package/dist/data/components/RadioButton.js +4 -1
- package/dist/data/components/RadioButton.js.map +1 -1
- package/dist/data/components/Screen.d.ts.map +1 -1
- package/dist/data/components/Screen.js +12 -4
- package/dist/data/components/Screen.js.map +1 -1
- package/dist/data/components/Select.d.ts.map +1 -1
- package/dist/data/components/Select.js +5 -2
- package/dist/data/components/Select.js.map +1 -1
- package/dist/data/components/Slider.d.ts.map +1 -1
- package/dist/data/components/Slider.js +4 -1
- package/dist/data/components/Slider.js.map +1 -1
- package/dist/data/components/Switch.d.ts.map +1 -1
- package/dist/data/components/Switch.js +4 -1
- package/dist/data/components/Switch.js.map +1 -1
- package/dist/data/components/TabBar.d.ts.map +1 -1
- package/dist/data/components/TabBar.js +9 -1
- package/dist/data/components/TabBar.js.map +1 -1
- package/dist/data/components/Table.d.ts.map +1 -1
- package/dist/data/components/Table.js +9 -1
- package/dist/data/components/Table.js.map +1 -1
- package/dist/data/components/Text.d.ts.map +1 -1
- package/dist/data/components/Text.js +8 -1
- package/dist/data/components/Text.js.map +1 -1
- package/dist/data/components/TextArea.d.ts.map +1 -1
- package/dist/data/components/TextArea.js +4 -1
- package/dist/data/components/TextArea.js.map +1 -1
- package/dist/data/components/View.d.ts.map +1 -1
- package/dist/data/components/View.js +42 -39
- package/dist/data/components/View.js.map +1 -1
- package/dist/data/framework-guides.d.ts.map +1 -1
- package/dist/data/framework-guides.js +158 -0
- package/dist/data/framework-guides.js.map +1 -1
- package/dist/data/navigation-guides.d.ts.map +1 -1
- package/dist/data/navigation-guides.js +448 -12
- package/dist/data/navigation-guides.js.map +1 -1
- package/package.json +7 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/data/components/Accordion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/data/components/Accordion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAkHrB,CAAC"}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
export const Accordion = {
|
|
2
2
|
category: "display",
|
|
3
|
-
description: "Expandable/collapsible content sections with support for single or multiple open items",
|
|
3
|
+
description: "Expandable/collapsible content sections with spacing variants and support for single or multiple open items",
|
|
4
4
|
props: `
|
|
5
5
|
- \`items\`: AccordionItem[] - Array of accordion items with title and content
|
|
6
6
|
- \`allowMultiple\`: boolean - Whether multiple items can be expanded at once
|
|
7
7
|
- \`defaultExpanded\`: string[] - Array of item IDs that should be expanded by default
|
|
8
8
|
- \`type\`: AccordionType - The visual style variant of the accordion
|
|
9
9
|
- \`size\`: AccordionSizeVariant - The size variant of accordion items
|
|
10
|
+
- \`gap\`: Size - Space between accordion items ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
11
|
+
- \`padding\`: Size - Padding on all sides
|
|
12
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
13
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
14
|
+
- \`margin\`: Size - Margin on all sides
|
|
15
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
16
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
10
17
|
`,
|
|
11
18
|
features: [
|
|
12
19
|
"Single or multiple item expansion modes",
|
|
13
20
|
"Default expanded items support",
|
|
14
21
|
"Three visual variants",
|
|
15
22
|
"Three size options",
|
|
23
|
+
"Gap variant for spacing between items",
|
|
24
|
+
"Padding and margin variants",
|
|
16
25
|
"Disabled item state",
|
|
17
26
|
"Controlled and uncontrolled modes",
|
|
18
27
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/data/components/Accordion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/data/components/Accordion.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,6GAA6G;IACtH,KAAK,EAAE;;;;;;;;;;;;;CAaZ;IACC,QAAQ,EAAE;QACR,yCAAyC;QACzC,gCAAgC;QAChC,uBAAuB;QACvB,oBAAoB;QACpB,uCAAuC;QACvC,6BAA6B;QAC7B,qBAAqB;QACrB,mCAAmC;KACpC;IACD,aAAa,EAAE;QACb,yDAAyD;QACzD,+CAA+C;QAC/C,4EAA4E;QAC5E,+CAA+C;QAC/C,2DAA2D;KAC5D;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;CAqBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;4BAOiB;QAExB,QAAQ,EAAE;;;;;;;;;4CAS8B;QAExC,YAAY,EAAE;;;;;;;;;;;;;;;6CAe2B;QAEzC,WAAW,EAAE;;;;;;;;;;;;;;;;;;EAkBf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/data/components/Card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/data/components/Card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAyEhB,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export const Card = {
|
|
2
2
|
category: "display",
|
|
3
|
-
description: "Container component for grouping related content with
|
|
3
|
+
description: "Container component for grouping related content with spacing variants and visual styles",
|
|
4
4
|
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - The content to display inside the card
|
|
6
6
|
- \`type\`: CardType - The visual style variant of the card
|
|
7
|
-
- \`
|
|
7
|
+
- \`gap\`: Size - Space between children ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
8
|
+
- \`padding\`: Size - Padding on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
9
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
10
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
11
|
+
- \`margin\`: Size - Margin on all sides
|
|
12
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
13
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
8
14
|
- \`radius\`: CardRadiusVariant - The border radius of the card
|
|
9
15
|
- \`intent\`: CardIntentVariant - The intent/color scheme of the card
|
|
10
16
|
- \`clickable\`: boolean - Whether the card is clickable
|
|
@@ -14,45 +20,45 @@ export const Card = {
|
|
|
14
20
|
features: [
|
|
15
21
|
"Four visual variants",
|
|
16
22
|
"Intent-based color schemes",
|
|
17
|
-
"
|
|
23
|
+
"Gap variant for spacing between children",
|
|
24
|
+
"Padding variants (uniform and directional)",
|
|
25
|
+
"Margin variants (uniform and directional)",
|
|
26
|
+
"Configurable border radius",
|
|
18
27
|
"Clickable with press handler",
|
|
19
28
|
"Flexible content container",
|
|
20
29
|
],
|
|
21
30
|
bestPractices: [
|
|
22
31
|
"Use 'elevated' variant for prominent content",
|
|
23
32
|
"Group related content within cards",
|
|
24
|
-
"Use
|
|
33
|
+
"Use gap prop for spacing between children",
|
|
34
|
+
"Use padding prop for consistent internal spacing",
|
|
25
35
|
"Make cards clickable only when they represent an action",
|
|
26
36
|
],
|
|
27
37
|
usage: `
|
|
28
|
-
import { Card, Text
|
|
38
|
+
import { Card, Text } from '@idealyst/components';
|
|
29
39
|
|
|
30
|
-
<Card type="elevated" padding="md">
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
<Text size="sm">Card content goes here</Text>
|
|
34
|
-
</View>
|
|
40
|
+
<Card type="elevated" padding="md" gap="sm">
|
|
41
|
+
<Text weight="bold">Card Title</Text>
|
|
42
|
+
<Text size="sm">Card content goes here</Text>
|
|
35
43
|
</Card>
|
|
36
44
|
`,
|
|
37
45
|
examples: {
|
|
38
46
|
basic: `import { Card, Text } from '@idealyst/components';
|
|
39
47
|
|
|
40
|
-
<Card>
|
|
48
|
+
<Card padding="md">
|
|
41
49
|
<Text>Simple card content</Text>
|
|
42
50
|
</Card>`,
|
|
43
51
|
variants: `import { Card, Text } from '@idealyst/components';
|
|
44
52
|
|
|
45
|
-
<Card type="default"><Text>Default</Text></Card>
|
|
46
|
-
<Card type="outlined"><Text>Outlined</Text></Card>
|
|
47
|
-
<Card type="elevated"><Text>Elevated</Text></Card>
|
|
48
|
-
<Card type="filled"><Text>Filled</Text></Card>`,
|
|
53
|
+
<Card type="default" padding="md"><Text>Default</Text></Card>
|
|
54
|
+
<Card type="outlined" padding="md"><Text>Outlined</Text></Card>
|
|
55
|
+
<Card type="elevated" padding="md"><Text>Elevated</Text></Card>
|
|
56
|
+
<Card type="filled" padding="md"><Text>Filled</Text></Card>`,
|
|
49
57
|
"with-icons": `import { Card, View, Text, Icon } from '@idealyst/components';
|
|
50
58
|
|
|
51
|
-
<Card type="outlined">
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
<Text>Card with icon header</Text>
|
|
55
|
-
</View>
|
|
59
|
+
<Card type="outlined" padding="md" gap="sm">
|
|
60
|
+
<Icon name="information" size="lg" />
|
|
61
|
+
<Text>Card with icon header</Text>
|
|
56
62
|
</Card>`,
|
|
57
63
|
interactive: `import { Card, Text } from '@idealyst/components';
|
|
58
64
|
|
|
@@ -60,6 +66,7 @@ import { Card, Text, View } from '@idealyst/components';
|
|
|
60
66
|
clickable
|
|
61
67
|
onPress={() => console.log('Card clicked')}
|
|
62
68
|
type="outlined"
|
|
69
|
+
padding="md"
|
|
63
70
|
>
|
|
64
71
|
<Text>Click this card</Text>
|
|
65
72
|
</Card>`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/data/components/Card.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IACpB,QAAQ,EAAE,SAAS;IACf,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/data/components/Card.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IACpB,QAAQ,EAAE,SAAS;IACf,WAAW,EAAE,0FAA0F;IACnG,KAAK,EAAE;;;;;;;;;;;;;;;CAed;IACG,QAAQ,EAAE;QACR,sBAAsB;QACtB,4BAA4B;QAC5B,0CAA0C;QAC1C,4CAA4C;QAC5C,2CAA2C;QAC3C,4BAA4B;QAC5B,8BAA8B;QAC9B,4BAA4B;KAC7B;IACD,aAAa,EAAE;QACb,8CAA8C;QAC9C,oCAAoC;QACpC,2CAA2C;QAC3C,kDAAkD;QAClD,yDAAyD;KAC1D;IACD,KAAK,EAAE;;;;;;;CAOV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;QAIL;QACF,QAAQ,EAAE;;;;;4DAK4C;QACtD,YAAY,EAAE;;;;;QAKZ;QACF,WAAW,EAAE;;;;;;;;;QASX;KACH;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/data/components/Checkbox.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/data/components/Checkbox.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAuHpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Checkbox = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Form checkbox for boolean selection
|
|
3
|
+
description: "Form checkbox with margin variants for boolean selection, label, and validation support",
|
|
4
4
|
props: `
|
|
5
5
|
- \`checked\`: boolean - Whether the checkbox is checked
|
|
6
6
|
- \`indeterminate\`: boolean - Whether the checkbox is in an indeterminate state
|
|
@@ -14,6 +14,9 @@ export const Checkbox = {
|
|
|
14
14
|
- \`required\`: boolean - Whether the checkbox is required
|
|
15
15
|
- \`error\`: string - Error message to display
|
|
16
16
|
- \`helperText\`: string - Helper text to display
|
|
17
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
18
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
19
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
17
20
|
`,
|
|
18
21
|
features: [
|
|
19
22
|
"Checked, unchecked, and indeterminate states",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/data/components/Checkbox.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/data/components/Checkbox.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,yFAAyF;IAClG,KAAK,EAAE;;;;;;;;;;;;;;;;CAgBZ;IACC,QAAQ,EAAE;QACR,8CAA8C;QAC9C,4CAA4C;QAC5C,aAAa;QACb,qBAAqB;QACrB,uBAAuB;QACvB,wBAAwB;QACxB,wCAAwC;KACzC;IACD,aAAa,EAAE;QACb,0CAA0C;QAC1C,+EAA+E;QAC/E,4BAA4B;QAC5B,4CAA4C;QAC5C,mCAAmC;KACpC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;CAgBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;6CAEkC;QAEzC,QAAQ,EAAE;;;;;;QAMN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;QAaV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAwJjB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Input = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Text input field with icons, password visibility toggle, and various input types",
|
|
3
|
+
description: "Text input field with icons, password visibility toggle, margin variants, and various input types",
|
|
4
4
|
props: `
|
|
5
5
|
- \`value\`: string - The current value of the input
|
|
6
6
|
- \`onChangeText\`: function - Called when the text changes
|
|
@@ -18,6 +18,9 @@ export const Input = {
|
|
|
18
18
|
- \`type\`: InputType - Style variant of the input
|
|
19
19
|
- \`intent\`: InputIntent - The intent/color scheme of the input (for focus states, validation, etc.)
|
|
20
20
|
- \`hasError\`: boolean - Whether the input has an error state
|
|
21
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
22
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
23
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
21
24
|
`,
|
|
22
25
|
features: [
|
|
23
26
|
"Left and right icon support with MDI icons",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACrB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../src/data/components/Input.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACrB,QAAQ,EAAE,MAAM;IACZ,WAAW,EAAE,mGAAmG;IAC5G,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;CAoBd;IACG,QAAQ,EAAE;QACR,4CAA4C;QAC5C,mDAAmD;QACnD,sDAAsD;QACtD,qBAAqB;QACrB,uDAAuD;QACvD,gBAAgB;QAChB,6BAA6B;QAC7B,+BAA+B;KAChC;IACD,aAAa,EAAE;QACb,sEAAsE;QACtE,sDAAsD;QACtD,yEAAyE;QACzE,0CAA0C;QAC1C,mEAAmE;KACpE;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;GAIV;QACG,QAAQ,EAAE;;;;;;;;;;;;;;;;;;yCAkByB;QACnC,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCjB;QACG,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;EAyBjB;KACG;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CA+GhB,CAAC"}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
export const List = {
|
|
2
2
|
category: "display",
|
|
3
|
-
description: "Vertical list container with
|
|
3
|
+
description: "Vertical list container with spacing variants, sections, icons, and interactive items",
|
|
4
4
|
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - List items and sections to display
|
|
6
6
|
- \`type\`: ListType - The visual style variant of the list
|
|
7
7
|
- \`size\`: ListSizeVariant - The size variant of list items
|
|
8
|
+
- \`gap\`: Size - Space between children ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
9
|
+
- \`padding\`: Size - Padding on all sides
|
|
10
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
11
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
12
|
+
- \`margin\`: Size - Margin on all sides
|
|
13
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
14
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
8
15
|
- \`scrollable\`: boolean - Whether the list is scrollable
|
|
9
16
|
- \`maxHeight\`: number | string - Maximum height of the scrollable list
|
|
10
17
|
`,
|
|
11
18
|
features: [
|
|
12
19
|
"Three visual variants",
|
|
13
20
|
"Configurable item sizes",
|
|
21
|
+
"Gap variant for spacing between items",
|
|
22
|
+
"Padding and margin variants",
|
|
14
23
|
"Leading and trailing elements (icons, badges, etc.)",
|
|
15
24
|
"Selected and active states",
|
|
16
25
|
"Section grouping with titles",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IACpB,QAAQ,EAAE,SAAS;IACf,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/data/components/List.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IACpB,QAAQ,EAAE,SAAS;IACf,WAAW,EAAE,uFAAuF;IAChG,KAAK,EAAE;;;;;;;;;;;;;CAad;IACG,QAAQ,EAAE;QACR,uBAAuB;QACvB,yBAAyB;QACzB,uCAAuC;QACvC,6BAA6B;QAC7B,qDAAqD;QACrD,4BAA4B;QAC5B,8BAA8B;QAC9B,2BAA2B;QAC3B,+BAA+B;KAChC;IACD,aAAa,EAAE;QACb,wCAAwC;QACxC,6CAA6C;QAC7C,+CAA+C;QAC/C,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;CAiBV;IACG,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;QAML;QACF,QAAQ,EAAE;;;;;;;;;;;;QAYR;QACF,YAAY,EAAE;;;;;;;;;;;;;QAaZ;QACF,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBjB;KACG;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CA8HrB,CAAC"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
export const Pressable = {
|
|
2
2
|
category: "utility",
|
|
3
|
-
description: "Wrapper component that detects various press interactions on children",
|
|
3
|
+
description: "Wrapper component that detects various press interactions on children with padding variants",
|
|
4
4
|
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - Content to render inside the pressable area
|
|
6
6
|
- \`onPress\`: function - Called when the press gesture is activated
|
|
7
7
|
- \`onPressIn\`: function - Called when the press gesture starts
|
|
8
8
|
- \`onPressOut\`: function - Called when the press gesture ends
|
|
9
9
|
- \`disabled\`: boolean - Whether the pressable is disabled
|
|
10
|
+
- \`padding\`: Size - Padding on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
11
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
12
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
10
13
|
`,
|
|
11
14
|
features: [
|
|
12
15
|
"Press, press-in, press-out callbacks",
|
|
13
16
|
"Disabled state",
|
|
17
|
+
"Padding variants (uniform and directional)",
|
|
14
18
|
"Accessibility support",
|
|
15
19
|
"Custom styling",
|
|
16
20
|
"Cross-platform support",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Pressable.js","sourceRoot":"","sources":["../../../src/data/components/Pressable.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,6FAA6F;IACtG,KAAK,EAAE;;;;;;;;;CASZ;IACC,QAAQ,EAAE;QACR,sCAAsC;QACtC,gBAAgB;QAChB,4CAA4C;QAC5C,uBAAuB;QACvB,gBAAgB;QAChB,wBAAwB;QACxB,gBAAgB;KACjB;IACD,aAAa,EAAE;QACb,qCAAqC;QACrC,gDAAgD;QAChD,+CAA+C;QAC/C,4CAA4C;QAC5C,8BAA8B;QAC9B,qCAAqC;KACtC;IACD,KAAK,EAAE;;;;;;;;CAQR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;aAIE;QAET,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBZ;QAEE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;aAoBL;QAET,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAoIvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const RadioButton = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Radio button for single-choice selection within a group",
|
|
3
|
+
description: "Radio button with margin variants for single-choice selection within a group",
|
|
4
4
|
props: `
|
|
5
5
|
- \`value\`: string - The value of this radio button option
|
|
6
6
|
- \`checked\`: boolean - Whether this radio button is selected
|
|
@@ -9,6 +9,9 @@ export const RadioButton = {
|
|
|
9
9
|
- \`label\`: string - Label text to display next to the radio button
|
|
10
10
|
- \`size\`: RadioButtonSizeVariant - The size variant of the radio button
|
|
11
11
|
- \`intent\`: RadioButtonIntentVariant - The intent/color scheme of the radio button
|
|
12
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
13
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
14
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
12
15
|
`,
|
|
13
16
|
features: [
|
|
14
17
|
"Single selection within group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.js","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"RadioButton.js","sourceRoot":"","sources":["../../../src/data/components/RadioButton.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,8EAA8E;IACvF,KAAK,EAAE;;;;;;;;;;;CAWZ;IACC,QAAQ,EAAE;QACR,+BAA+B;QAC/B,iCAAiC;QACjC,eAAe;QACf,aAAa;QACb,oBAAoB;QACpB,sCAAsC;QACtC,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,0CAA0C;QAC1C,yCAAyC;QACzC,kDAAkD;QAClD,4CAA4C;QAC5C,wCAAwC;QACxC,gCAAgC;KACjC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;CAeR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;cAKG;QAEV,QAAQ,EAAE;;;;;;;;;;;;;;;QAeN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;;;cAkBJ;QAEV,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../src/data/components/Screen.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../src/data/components/Screen.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA8GlB,CAAC"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
export const Screen = {
|
|
2
2
|
category: "layout",
|
|
3
|
-
description: "Full-screen container component with
|
|
3
|
+
description: "Full-screen container component with spacing variants, background variants, and safe area support",
|
|
4
4
|
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - The content to display inside the screen
|
|
6
|
+
- \`gap\`: Size - Space between children ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
7
|
+
- \`padding\`: Size - Padding on all sides
|
|
8
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
9
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
10
|
+
- \`margin\`: Size - Margin on all sides
|
|
11
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
12
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
6
13
|
- \`background\`: Surface | 'transparent' - Background variant - controls the background color
|
|
7
|
-
- \`padding\`: Size | 'none' - Screen padding variant
|
|
8
14
|
- \`safeArea\`: boolean - Safe area padding for mobile devices
|
|
9
|
-
- \`top\`: number - Content inset padding for scrollable content (mobile only)
|
|
15
|
+
- \`top\`: number - Content inset padding for scrollable content (mobile only)
|
|
10
16
|
- \`bottom\`: number - Bottom content inset padding for scrollable content
|
|
11
17
|
- \`left\`: number - Left content inset padding for scrollable content
|
|
12
18
|
- \`right\`: number - Right content inset padding for scrollable content
|
|
@@ -14,7 +20,9 @@ export const Screen = {
|
|
|
14
20
|
`,
|
|
15
21
|
features: [
|
|
16
22
|
"Four background color variants",
|
|
17
|
-
"
|
|
23
|
+
"Gap variant for spacing between children",
|
|
24
|
+
"Padding variants (uniform and directional)",
|
|
25
|
+
"Margin variants (uniform and directional)",
|
|
18
26
|
"Safe area support for notches/home indicators",
|
|
19
27
|
"Optional scrollable content",
|
|
20
28
|
"Full-screen container",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.js","sourceRoot":"","sources":["../../../src/data/components/Screen.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Screen.js","sourceRoot":"","sources":["../../../src/data/components/Screen.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,mGAAmG;IAC5G,KAAK,EAAE;;;;;;;;;;;;;;;;CAgBZ;IACC,QAAQ,EAAE;QACR,gCAAgC;QAChC,0CAA0C;QAC1C,4CAA4C;QAC5C,2CAA2C;QAC3C,+CAA+C;QAC/C,6BAA6B;QAC7B,uBAAuB;QACvB,wBAAwB;KACzB;IACD,aAAa,EAAE;QACb,uCAAuC;QACvC,iCAAiC;QACjC,2CAA2C;QAC3C,2DAA2D;QAC3D,wCAAwC;QACxC,oCAAoC;KACrC;IACD,KAAK,EAAE;;;;;;;;;CASR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;UAID;QAEN,QAAQ,EAAE;;;;;;2DAM6C;QAEvD,YAAY,EAAE;;;;;;;;;;;;;;UAcR;QAEN,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Bf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/data/components/Select.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/data/components/Select.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA8IlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Select = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Dropdown select component for choosing from a list of options",
|
|
3
|
+
description: "Dropdown select component with margin variants for choosing from a list of options",
|
|
4
4
|
props: `
|
|
5
5
|
- \`options\`: SelectOption[] - Array of options to display in the select
|
|
6
6
|
- \`value\`: string - The currently selected value
|
|
@@ -12,9 +12,12 @@ export const Select = {
|
|
|
12
12
|
- \`label\`: string - Label text to display above the select
|
|
13
13
|
- \`intent\`: SelectIntentVariant - The visual type of the select The intent/color scheme of the select
|
|
14
14
|
- \`size\`: SelectSizeVariant - The size of the select
|
|
15
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
16
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
17
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
15
18
|
- \`searchable\`: boolean - Whether to show a search/filter input (web only)
|
|
16
19
|
- \`filterOption\`: (option: SelectOption, searchTerm: string) => boolean - Custom search filter function (used with searchable)
|
|
17
|
-
- \`presentationMode\`: 'dropdown' | 'actionSheet' - Native iOS presentation mode (native only)
|
|
20
|
+
- \`presentationMode\`: 'dropdown' | 'actionSheet' - Native iOS presentation mode (native only)
|
|
18
21
|
- \`maxHeight\`: number - Maximum height for the dropdown content
|
|
19
22
|
`,
|
|
20
23
|
features: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/data/components/Select.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/data/components/Select.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,oFAAoF;IAC7F,KAAK,EAAE;;;;;;;;;;;;;;;;;;CAkBZ;IACC,QAAQ,EAAE;QACR,+BAA+B;QAC/B,2BAA2B;QAC3B,0BAA0B;QAC1B,qBAAqB;QACrB,uBAAuB;QACvB,aAAa;QACb,kBAAkB;QAClB,kBAAkB;QAClB,sCAAsC;KACvC;IACD,aAAa,EAAE;QACb,+CAA+C;QAC/C,yCAAyC;QACzC,gCAAgC;QAChC,gCAAgC;QAChC,0CAA0C;QAC1C,0CAA0C;KAC3C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;CAuBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;qDAO0C;QAEjD,QAAQ,EAAE;;;;;;;;QAQN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;GAaf;QAEC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/data/components/Slider.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/data/components/Slider.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAwJlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Slider = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Input slider for selecting numeric values from a range",
|
|
3
|
+
description: "Input slider with margin variants for selecting numeric values from a range",
|
|
4
4
|
props: `
|
|
5
5
|
- \`value\`: number - The current value of the slider (controlled)
|
|
6
6
|
- \`defaultValue\`: number - The default value for uncontrolled usage
|
|
@@ -13,6 +13,9 @@ export const Slider = {
|
|
|
13
13
|
- \`marks\`: SliderMark[] - Array of marks to display on the slider track
|
|
14
14
|
- \`intent\`: SliderIntentVariant - The intent/color scheme of the slider
|
|
15
15
|
- \`size\`: SliderSizeVariant - The size variant of the slider
|
|
16
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
17
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
18
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
16
19
|
- \`icon\`: IconName | React.ReactNode - Icon to display in the slider thumb
|
|
17
20
|
- \`onValueChange\`: function - Called when the slider value changes during dragging
|
|
18
21
|
- \`onValueCommit\`: function - Called when the user finishes changing the value (on release)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/data/components/Slider.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/data/components/Slider.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,6EAA6E;IACtF,KAAK,EAAE;;;;;;;;;;;;;;;;;;CAkBZ;IACC,QAAQ,EAAE;QACR,mCAAmC;QACnC,2BAA2B;QAC3B,gBAAgB;QAChB,cAAc;QACd,eAAe;QACf,gBAAgB;QAChB,aAAa;QACb,oBAAoB;QACpB,uBAAuB;QACvB,6BAA6B;KAC9B;IACD,aAAa,EAAE;QACb,mCAAmC;QACnC,sCAAsC;QACtC,gCAAgC;QAChC,yCAAyC;QACzC,4CAA4C;QAC5C,oCAAoC;KACrC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;CAmBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;+CAEoC;QAE3C,QAAQ,EAAE;;;;;;QAMN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ChB;QAEE,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/data/components/Switch.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/data/components/Switch.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAiIlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Switch = {
|
|
2
2
|
category: "form",
|
|
3
|
-
description: "Toggle switch for binary on/off states",
|
|
3
|
+
description: "Toggle switch with margin variants for binary on/off states",
|
|
4
4
|
props: `
|
|
5
5
|
- \`checked\`: boolean - Whether the switch is in the on/checked state
|
|
6
6
|
- \`onCheckedChange\`: function - Called when the switch state changes
|
|
@@ -9,6 +9,9 @@ export const Switch = {
|
|
|
9
9
|
- \`labelPosition\`: 'left' | 'right' - Position of the label relative to the switch
|
|
10
10
|
- \`intent\`: SwitchIntentVariant - The intent/color scheme of the switch
|
|
11
11
|
- \`size\`: SwitchSizeVariant - The size variant of the switch
|
|
12
|
+
- \`margin\`: Size - Margin on all sides ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
13
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
14
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
12
15
|
- \`enabledIcon\`: IconName | React.ReactNode - Icon to display when switch is on
|
|
13
16
|
- \`disabledIcon\`: IconName | React.ReactNode - Icon to display when switch is off
|
|
14
17
|
`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../../src/data/components/Switch.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../../src/data/components/Switch.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,6DAA6D;IACtE,KAAK,EAAE;;;;;;;;;;;;;CAaZ;IACC,QAAQ,EAAE;QACR,sBAAsB;QACtB,kCAAkC;QAClC,aAAa;QACb,oBAAoB;QACpB,yBAAyB;QACzB,gBAAgB;QAChB,qBAAqB;KACtB;IACD,aAAa,EAAE;QACb,oDAAoD;QACpD,sBAAsB;QACtB,6CAA6C;QAC7C,sCAAsC;QACtC,iCAAiC;QACjC,4CAA4C;KAC7C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;CAgBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;kCAEuB;QAE9B,QAAQ,EAAE;;;;;;QAMN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;EAgBhB;QAEE,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Cf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/data/components/TabBar.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/data/components/TabBar.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAqJlB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const TabBar = {
|
|
2
2
|
category: "navigation",
|
|
3
|
-
description: "Tab bar navigation component for switching between views or sections",
|
|
3
|
+
description: "Tab bar navigation component with spacing variants for switching between views or sections",
|
|
4
4
|
props: `
|
|
5
5
|
- \`items\`: TabBarItem[] - Array of tab items to display
|
|
6
6
|
- \`value\`: string - The currently selected tab value (controlled)
|
|
@@ -8,12 +8,20 @@ export const TabBar = {
|
|
|
8
8
|
- \`onChange\`: function - Called when the selected tab changes
|
|
9
9
|
- \`type\`: TabBarType - The visual style variant (default, underlined, pills)
|
|
10
10
|
- \`size\`: TabBarSizeVariant - The size variant of the tabs
|
|
11
|
+
- \`gap\`: Size - Space between tabs ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
12
|
+
- \`padding\`: Size - Padding on all sides
|
|
13
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
14
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
15
|
+
- \`margin\`: Size - Margin on all sides
|
|
16
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
17
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
11
18
|
- \`pillMode\`: TabBarPillMode - Mode for pills variant: 'light' for light backgrounds (dark pill), 'dark' for dark backgrounds (light pill)
|
|
12
19
|
`,
|
|
13
20
|
features: [
|
|
14
21
|
"Three visual variants",
|
|
15
22
|
"Controlled and uncontrolled modes",
|
|
16
23
|
"Three sizes",
|
|
24
|
+
"Gap, padding, and margin variants",
|
|
17
25
|
"Five intent colors",
|
|
18
26
|
"Disabled tabs",
|
|
19
27
|
"Simple configuration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.js","sourceRoot":"","sources":["../../../src/data/components/TabBar.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"TabBar.js","sourceRoot":"","sources":["../../../src/data/components/TabBar.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,4FAA4F;IACrG,KAAK,EAAE;;;;;;;;;;;;;;;CAeZ;IACC,QAAQ,EAAE;QACR,uBAAuB;QACvB,mCAAmC;QACnC,aAAa;QACb,mCAAmC;QACnC,oBAAoB;QACpB,eAAe;QACf,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,mDAAmD;QACnD,4CAA4C;QAC5C,mCAAmC;QACnC,6BAA6B;QAC7B,0CAA0C;QAC1C,4CAA4C;KAC7C;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;CAsBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;0CAO+B;QAEtC,QAAQ,EAAE;;;;;;;;;;;QAWN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;EAwBhB;QAEE,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/data/components/Table.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/data/components/Table.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAgKjB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const Table = {
|
|
2
2
|
category: "data",
|
|
3
|
-
description: "Data table component for displaying structured tabular data",
|
|
3
|
+
description: "Data table component with spacing variants for displaying structured tabular data",
|
|
4
4
|
props: `
|
|
5
5
|
- \`columns\`: TableColumn<T>[] - Column definitions
|
|
6
6
|
- \`key\`: string - Unique column key
|
|
@@ -12,6 +12,13 @@ export const Table = {
|
|
|
12
12
|
- \`data\`: T[] - Array of data objects
|
|
13
13
|
- \`variant\`: 'default' | 'bordered' | 'striped' - Visual style
|
|
14
14
|
- \`size\`: 'sm' | 'md' | 'lg' - Cell padding/size
|
|
15
|
+
- \`gap\`: Size - Space between table elements ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
16
|
+
- \`padding\`: Size - Padding on all sides
|
|
17
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
18
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
19
|
+
- \`margin\`: Size - Margin on all sides
|
|
20
|
+
- \`marginVertical\`: Size - Top and bottom margin
|
|
21
|
+
- \`marginHorizontal\`: Size - Left and right margin
|
|
15
22
|
- \`stickyHeader\`: boolean - Keep header fixed on scroll
|
|
16
23
|
- \`onRowPress\`: (row: T, index: number) => void - Row click handler
|
|
17
24
|
- \`style\`: ViewStyle - Additional styles
|
|
@@ -22,6 +29,7 @@ export const Table = {
|
|
|
22
29
|
"Custom cell renderers",
|
|
23
30
|
"Three visual variants",
|
|
24
31
|
"Three sizes",
|
|
32
|
+
"Gap, padding, and margin variants",
|
|
25
33
|
"Sticky header support",
|
|
26
34
|
"Row click handling",
|
|
27
35
|
"Column alignment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../src/data/components/Table.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../src/data/components/Table.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,QAAQ,EAAE,MAAM;IAChB,WAAW,EAAE,mFAAmF;IAChG,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;CAsBR;IACC,QAAQ,EAAE;QACR,4BAA4B;QAC5B,uBAAuB;QACvB,uBAAuB;QACvB,aAAa;QACb,mCAAmC;QACnC,uBAAuB;QACvB,oBAAoB;QACpB,kBAAkB;QAClB,sBAAsB;KACvB;IACD,aAAa,EAAE;QACb,8CAA8C;QAC9C,qCAAqC;QACrC,8CAA8C;QAC9C,yCAAyC;QACzC,yCAAyC;QACzC,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;;;;;;;;;;CAmBR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;;;;;;;;;;;wCAY6B;QAEpC,QAAQ,EAAE;;;;;;;;;QASN;QAEJ,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;yCAwBuB;QAErC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CA2FhB,CAAC"}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
export const Text = {
|
|
2
2
|
category: "typography",
|
|
3
|
-
description: "Styled text component with size, weight, and
|
|
3
|
+
description: "Styled text component with size, weight, color, and spacing variants",
|
|
4
4
|
props: `
|
|
5
5
|
- \`children\`: React.ReactNode - The text content to display
|
|
6
6
|
- \`size\`: TextSizeVariant - The size variant of the text
|
|
7
7
|
- \`weight\`: TextWeightVariant - The weight of the text
|
|
8
8
|
- \`color\`: TextColorVariant - The color of the text
|
|
9
9
|
- \`align\`: TextAlignVariant - Text alignment
|
|
10
|
+
- \`gap\`: Size - Space between nested elements ('xs' | 'sm' | 'md' | 'lg' | 'xl')
|
|
11
|
+
- \`padding\`: Size - Padding on all sides
|
|
12
|
+
- \`paddingVertical\`: Size - Top and bottom padding
|
|
13
|
+
- \`paddingHorizontal\`: Size - Left and right padding
|
|
10
14
|
`,
|
|
11
15
|
features: [
|
|
12
16
|
"Four size variants",
|
|
13
17
|
"Five weight options",
|
|
14
18
|
"Theme color variants",
|
|
15
19
|
"Three alignment options",
|
|
20
|
+
"Gap variant for nested elements",
|
|
21
|
+
"Padding variants (uniform and directional)",
|
|
16
22
|
"Cross-platform support",
|
|
17
23
|
"Inherits parent text styles",
|
|
18
24
|
],
|
|
@@ -22,6 +28,7 @@ export const Text = {
|
|
|
22
28
|
"Prefer theme colors over custom colors",
|
|
23
29
|
"Use 'left' alignment for body text",
|
|
24
30
|
"Use 'center' for short, important text",
|
|
31
|
+
"Use padding prop for text blocks that need internal spacing",
|
|
25
32
|
"Nest Text components for mixed styles",
|
|
26
33
|
],
|
|
27
34
|
usage: `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/data/components/Text.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,sEAAsE;IAC/E,KAAK,EAAE;;;;;;;;;;CAUZ;IACC,QAAQ,EAAE;QACR,oBAAoB;QACpB,qBAAqB;QACrB,sBAAsB;QACtB,yBAAyB;QACzB,iCAAiC;QACjC,4CAA4C;QAC5C,wBAAwB;QACxB,6BAA6B;KAC9B;IACD,aAAa,EAAE;QACb,uDAAuD;QACvD,uCAAuC;QACvC,wCAAwC;QACxC,oCAAoC;QACpC,wCAAwC;QACxC,6DAA6D;QAC7D,uCAAuC;KACxC;IACD,KAAK,EAAE;;;;;;;;;;CAUR;IACC,QAAQ,EAAE;QACR,KAAK,EAAE;;iCAEsB;QAE7B,QAAQ,EAAE;;;;;;;QAON;QAEJ,YAAY,EAAE;;;;;;;QAOV;QAEJ,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;EAsBf;KACC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/data/components/TextArea.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/data/components/TextArea.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CA6JpB,CAAC"}
|