nova-design-model-testing 0.0.1 → 0.0.3

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.
Files changed (170) hide show
  1. package/guidelines/components/action-sheet.md +30 -0
  2. package/guidelines/components/avatar.md +30 -0
  3. package/guidelines/components/badge.md +45 -0
  4. package/guidelines/components/bottom-navigation.md +30 -0
  5. package/guidelines/components/bottom-sheet.md +30 -0
  6. package/guidelines/components/button-group.md +56 -0
  7. package/guidelines/components/button.md +76 -0
  8. package/guidelines/components/card.md +30 -0
  9. package/guidelines/components/checkbox.md +30 -0
  10. package/guidelines/components/chips.md +30 -0
  11. package/guidelines/components/confirm-sheet.md +30 -0
  12. package/guidelines/components/date-picker.md +30 -0
  13. package/guidelines/components/date-wheel.md +30 -0
  14. package/guidelines/components/icon.md +29 -0
  15. package/guidelines/components/inline-notification.md +30 -0
  16. package/guidelines/components/list-item.md +30 -0
  17. package/guidelines/components/list.md +30 -0
  18. package/guidelines/components/loading-indicator.md +30 -0
  19. package/guidelines/components/menu.md +57 -0
  20. package/guidelines/components/passcode.md +35 -0
  21. package/guidelines/components/radio.md +62 -0
  22. package/guidelines/components/tabs.md +30 -0
  23. package/guidelines/components/text-field.md +68 -0
  24. package/guidelines/components/toast.md +30 -0
  25. package/guidelines/components/toggle.md +30 -0
  26. package/guidelines/components/top-navigation.md +30 -0
  27. package/guidelines/foundations/colors.md +43 -0
  28. package/guidelines/foundations/radius.md +16 -0
  29. package/guidelines/foundations/spacing.md +16 -0
  30. package/guidelines/guidelines.md +36 -0
  31. package/guidelines/overview-components.md +16 -0
  32. package/guidelines/overview-icons.md +18 -0
  33. package/guidelines/overview-setup.md +15 -0
  34. package/package.json +1 -1
  35. package/public/vite.svg +1 -0
  36. package/src/App.css +42 -0
  37. package/src/App.jsx +6328 -0
  38. package/src/assets/fonts/inter_bold.otf +0 -0
  39. package/src/assets/fonts/inter_italic.otf +0 -0
  40. package/src/assets/fonts/inter_medium.otf +0 -0
  41. package/src/assets/fonts/inter_regular.otf +0 -0
  42. package/src/assets/fonts/inter_semi_bold.otf +0 -0
  43. package/src/assets/fonts/space_grotesk_bold.otf +0 -0
  44. package/src/assets/fonts/space_grotesk_medium.otf +0 -0
  45. package/src/assets/fonts/space_grotesk_regular.otf +0 -0
  46. package/src/assets/fonts/space_grotesk_semi_bold.otf +0 -0
  47. package/src/assets/icons/Style=Line-1.svg +5 -0
  48. package/src/assets/icons/Style=Line-2.svg +5 -0
  49. package/src/assets/icons/Style=Line-3.svg +5 -0
  50. package/src/assets/icons/Style=Line.svg +5 -0
  51. package/src/assets/icons/Style=Solid.svg +7 -0
  52. package/src/assets/icons/line/Style=Line-1.svg +5 -0
  53. package/src/assets/icons/line/Style=Line-2.svg +5 -0
  54. package/src/assets/icons/line/Style=Line-3.svg +5 -0
  55. package/src/assets/icons/line/Style=Line.svg +5 -0
  56. package/src/assets/icons/line/arrow_circle_down.svg +5 -0
  57. package/src/assets/icons/line/arrow_circle_down_left_ltr.svg +5 -0
  58. package/src/assets/icons/line/arrow_circle_down_right_ltr.svg +5 -0
  59. package/src/assets/icons/line/arrow_circle_left_ltr.svg +5 -0
  60. package/src/assets/icons/line/arrow_circle_right.svg +3 -0
  61. package/src/assets/icons/line/arrow_circle_right_ltr.svg +5 -0
  62. package/src/assets/icons/line/arrow_circle_up.svg +5 -0
  63. package/src/assets/icons/line/arrow_circle_up_left_ltr.svg +5 -0
  64. package/src/assets/icons/line/arrow_circle_up_right_ltr.svg +5 -0
  65. package/src/assets/icons/line/arrow_narrow_down.svg +5 -0
  66. package/src/assets/icons/line/arrow_narrow_down_left_ltr.svg +5 -0
  67. package/src/assets/icons/line/arrow_narrow_down_left_vturn.svg +5 -0
  68. package/src/assets/icons/line/arrow_narrow_down_right_ltr.svg +5 -0
  69. package/src/assets/icons/line/arrow_narrow_left_ltr.svg +5 -0
  70. package/src/assets/icons/line/arrow_narrow_up.svg +5 -0
  71. package/src/assets/icons/line/arrow_narrow_up_left_ltr.svg +5 -0
  72. package/src/assets/icons/line/arrow_narrow_up_right_ltr.svg +5 -0
  73. package/src/assets/icons/line/arrow_turn_down_right_ltr.svg +5 -0
  74. package/src/assets/icons/line/arrows_down.svg +5 -0
  75. package/src/assets/icons/line/arrows_left_ltr.svg +5 -0
  76. package/src/assets/icons/line/arrows_right_ltr.svg +5 -0
  77. package/src/assets/icons/line/arrows_up.svg +5 -0
  78. package/src/assets/icons/line/chevron-selector-vertical.svg +5 -0
  79. package/src/assets/icons/line/chevron_down.svg +5 -0
  80. package/src/assets/icons/line/chevron_down_double.svg +5 -0
  81. package/src/assets/icons/line/chevron_left_double_ltr.svg +5 -0
  82. package/src/assets/icons/line/chevron_left_ltr.svg +5 -0
  83. package/src/assets/icons/line/chevron_right_double_ltr.svg +5 -0
  84. package/src/assets/icons/line/chevron_right_ltr.svg +5 -0
  85. package/src/assets/icons/line/chevron_selector_vertical.svg +5 -0
  86. package/src/assets/icons/line/chevron_up.svg +5 -0
  87. package/src/assets/icons/line/chevron_up_double.svg +5 -0
  88. package/src/assets/icons/line/coin_swap.svg +3 -0
  89. package/src/assets/icons/line/credit_card_edit.svg +5 -0
  90. package/src/assets/icons/line/dev.svg +5 -0
  91. package/src/assets/icons/line/expand_01.svg +5 -0
  92. package/src/assets/icons/line/expand_02.svg +5 -0
  93. package/src/assets/icons/line/flip_backward_ltr.svg +5 -0
  94. package/src/assets/icons/line/flip_forward_ltr.svg +5 -0
  95. package/src/assets/icons/line/home_05.svg +3 -0
  96. package/src/assets/icons/line/infinity.svg +5 -0
  97. package/src/assets/icons/line/minimise.svg +6 -0
  98. package/src/assets/icons/line/moon_01.svg +3 -0
  99. package/src/assets/icons/line/paint.svg +3 -0
  100. package/src/assets/icons/line/plus_circle.svg +3 -0
  101. package/src/assets/icons/line/refresh.svg +5 -0
  102. package/src/assets/icons/line/reset.svg +5 -0
  103. package/src/assets/icons/line/reverse_left_ltr.svg +5 -0
  104. package/src/assets/icons/line/reverse_right_ltr.svg +5 -0
  105. package/src/assets/icons/line/safe_01.svg +3 -0
  106. package/src/assets/icons/line/search.svg +3 -0
  107. package/src/assets/icons/line/shield_star.svg +3 -0
  108. package/src/assets/icons/line/sun.svg +3 -0
  109. package/src/assets/icons/line/switch_horizontal.svg +5 -0
  110. package/src/assets/icons/line/switch_vertical.svg +5 -0
  111. package/src/assets/icons/solid/arrow_circle_right.svg +3 -0
  112. package/src/assets/icons/solid/coin_swap.svg +6 -0
  113. package/src/assets/icons/solid/credit_card_edit.svg +6 -0
  114. package/src/assets/icons/solid/safe_01.svg +5 -0
  115. package/src/assets/images/New user_gold.png +0 -0
  116. package/src/assets/images/Sheet-1.png +0 -0
  117. package/src/assets/images/Sheet.png +0 -0
  118. package/src/assets/logos/botim_credit_dark.svg +22 -0
  119. package/src/assets/logos/botim_credit_light.svg +31 -0
  120. package/src/assets/logos/botim_invest_dark.svg +22 -0
  121. package/src/assets/logos/botim_invest_light.svg +31 -0
  122. package/src/assets/logos/botim_main_dark.svg +18 -0
  123. package/src/assets/logos/botim_main_light.svg +17 -0
  124. package/src/assets/logos/botim_money_dark.svg +26 -0
  125. package/src/assets/logos/botim_money_light.svg +28 -0
  126. package/src/assets/logos/botim_pay_dark.svg +24 -0
  127. package/src/assets/logos/botim_pay_light.svg +35 -0
  128. package/src/assets/react.svg +1 -0
  129. package/src/design-system/components/action-sheet/ActionSheet.jsx +3 -0
  130. package/src/design-system/components/avatar/Avatar.jsx +3 -0
  131. package/src/design-system/components/badge/Badge.jsx +68 -0
  132. package/src/design-system/components/bottom-navigation/BottomNavigation.jsx +3 -0
  133. package/src/design-system/components/bottom-sheet/BottomSheet.jsx +3 -0
  134. package/src/design-system/components/button/Button.jsx +310 -0
  135. package/src/design-system/components/button-group/ButtonGroup.jsx +150 -0
  136. package/src/design-system/components/card/Card.jsx +3 -0
  137. package/src/design-system/components/checkbox/Checkbox.jsx +3 -0
  138. package/src/design-system/components/chips/Chips.jsx +3 -0
  139. package/src/design-system/components/confirm-sheet/ConfirmSheet.jsx +3 -0
  140. package/src/design-system/components/date-picker/DatePicker.jsx +3 -0
  141. package/src/design-system/components/date-wheel/DateWheel.jsx +3 -0
  142. package/src/design-system/components/digit-field/DigitField.jsx +191 -0
  143. package/src/design-system/components/icon/Icon.jsx +154 -0
  144. package/src/design-system/components/inline-notification/InlineNotification.jsx +3 -0
  145. package/src/design-system/components/list/List.jsx +3 -0
  146. package/src/design-system/components/list-item/ListItem.jsx +3 -0
  147. package/src/design-system/components/loading-indicator/LoadingIndicator.jsx +3 -0
  148. package/src/design-system/components/logo/AppLogo.jsx +35 -0
  149. package/src/design-system/components/logo/BrandingLogo.jsx +39 -0
  150. package/src/design-system/components/logo/Logo.jsx +39 -0
  151. package/src/design-system/components/menu/Menu.jsx +100 -0
  152. package/src/design-system/components/menu/MenuItem.jsx +184 -0
  153. package/src/design-system/components/passcode/Passcode.jsx +165 -0
  154. package/src/design-system/components/radio/Radio.jsx +135 -0
  155. package/src/design-system/components/section-header-footer/SectionHeaderFooter.jsx +7 -0
  156. package/src/design-system/components/tabs/Tabs.jsx +3 -0
  157. package/src/design-system/components/text-field/TextField.jsx +308 -0
  158. package/src/design-system/components/toast/Toast.jsx +3 -0
  159. package/src/design-system/components/toggle/Toggle.jsx +3 -0
  160. package/src/design-system/components/top-navigation/TopNavigation.jsx +3 -0
  161. package/src/design-system/theme/ThemeContext.jsx +11 -0
  162. package/src/design-system/tokens/primitives/colors.json +122 -0
  163. package/src/design-system/tokens/primitives/radius.json +9 -0
  164. package/src/design-system/tokens/primitives/sizes.json +10 -0
  165. package/src/design-system/tokens/primitives/spacing.json +10 -0
  166. package/src/design-system/tokens/semantic/colors.dark.json +139 -0
  167. package/src/design-system/tokens/semantic/colors.light.json +139 -0
  168. package/src/design-system/tokens/semantic/spacing.json +18 -0
  169. package/src/index.css +99 -0
  170. package/src/main.jsx +10 -0
@@ -0,0 +1,30 @@
1
+ # action sheet
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # avatar
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,45 @@
1
+ # Badge
2
+
3
+ AI-ready documentation for numeric badge indicators.
4
+
5
+ ## Overview
6
+
7
+ Badges surface counts or status at a glance. Use the small dot for subtle unread states and the large badge for numeric counts.
8
+
9
+ ## Anatomy
10
+
11
+ - Container (pill shape)
12
+ - Label (large size only)
13
+ - Optional stroke
14
+
15
+ ## Configurable properties (from Figma)
16
+
17
+ | Property | Default value | Configurable values |
18
+ | --- | --- | --- |
19
+ | Size | Small | Small, Large |
20
+ | Label text | 1 | Any character (large only) |
21
+ | Show stroke | false | true, false |
22
+
23
+ ## Layout & constraints
24
+
25
+ - Small: 8px dot (no label).
26
+ - Large: minimum 18px, padding 4px horizontal / 2px vertical.
27
+ - Corner radius: 999 (pill/circle).
28
+ - Typography (large): Inter Medium, 12px, line-height 100%.
29
+
30
+ ## Design tokens
31
+
32
+ - Background: `badge/bg/default`
33
+ - Text-on: `badge/text-on/default`
34
+ - Stroke: `background/neutral/primary` (2px)
35
+
36
+ ## Usage guidelines
37
+
38
+ - Use small badges for presence or unread indicators.
39
+ - Use large badges for numeric counts (e.g., 1–99).
40
+ - Avoid using badges as the only source of critical information.
41
+
42
+ ## Accessibility
43
+
44
+ - Provide a text alternative that includes the count or status.
45
+ - Ensure the badge meets contrast requirements against its container.
@@ -0,0 +1,30 @@
1
+ # Uottom navigation
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # Uottom sheet
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,56 @@
1
+ # Button group
2
+
3
+ AI-ready documentation for grouped action stacks that combine up to four buttons.
4
+
5
+ ## Overview
6
+
7
+ Button groups collect related actions into a single layout so users can scan and decide quickly. The group supports up to four slots (primary, secondary 1, secondary 2, text) and each slot can be hidden.
8
+
9
+ ## Anatomy
10
+
11
+ - Group container
12
+ - Primary button (optional)
13
+ - Secondary button 1 (optional)
14
+ - Secondary button 2 (optional)
15
+ - Text button (optional)
16
+
17
+ ## Configurable properties (from Figma)
18
+
19
+ | Property | Default value | Configurable values |
20
+ | --- | --- | --- |
21
+ | Layout | Vertical | Vertical, Horizontal, Horizontal Fill |
22
+ | Show primary button | true | true, false |
23
+ | Show secondary button 1 | true | true, false |
24
+ | Show secondary button 2 | true | true, false |
25
+ | Show text button | true | true, false |
26
+
27
+ ## Layout & constraints
28
+
29
+ - Vertical: full-width stack with 16px spacing between buttons.
30
+ - Horizontal: inline row with 12px spacing and centered alignment.
31
+ - Horizontal fill: inline row where action buttons expand to fill available width.
32
+ - Container padding: 20px horizontal, 8px vertical.
33
+ - Text button wrapper (vertical): 20px horizontal, 12px vertical, 32px radius.
34
+
35
+ ## Usage guidelines
36
+
37
+ - Use vertical groups for decision flows that require attention or multiple confirmations.
38
+ - Use horizontal groups for compact toolbars or adjacent actions.
39
+ - Hide secondary buttons when they are not relevant to reduce cognitive load.
40
+ - Keep labels consistent across the group (sentence case, 1–3 words).
41
+
42
+ ## Behavior
43
+
44
+ - Each button uses its own state rules (default, pressed, disabled, loading).
45
+ - Disabled buttons use 20% opacity of their default colors.
46
+ - Text button inherits the text-button styling (no background, no padding).
47
+
48
+ ## Accessibility
49
+
50
+ - Ensure each button has a unique accessible label.
51
+ - Preserve keyboard focus order from top-to-bottom or left-to-right.
52
+
53
+ ## Content guidelines
54
+
55
+ - Use action verbs: “Continue”, “Save”, “Confirm”.
56
+ - Avoid mixing unrelated actions in one group.
@@ -0,0 +1,76 @@
1
+ # Button
2
+
3
+ AI-ready documentation for the standard button and FAB icon variant. Other variants (text, icon-only non-FAB) are intentionally excluded for now.
4
+
5
+ ## Overview
6
+
7
+ Buttons trigger immediate actions in a flow. Use the normal button for primary or secondary actions that move a user forward.
8
+
9
+ ## Anatomy
10
+
11
+ - Container
12
+ - Label
13
+ - Optional leading icon
14
+ - Optional trailing icon
15
+ - FAB icon (single icon only)
16
+
17
+ ## Configurable properties (from Figma)
18
+
19
+ | Property | Default value | Configurable values |
20
+ | --- | --- | --- |
21
+ | Variant | Default | Default, FAB |
22
+ | Size | Large | Small, Large |
23
+ | Type | Primary | Primary, Secondary, Primary danger, Secondary danger |
24
+ | Label text | Button | Any Unicode character |
25
+ | Show leading icon | true | true, false |
26
+ | Leading icon | arrow_narrow_right | any icon |
27
+ | Show trailing icon | true | true, false |
28
+ | Trailing icon | arrow_narrow_right | any icon |
29
+ | FAB icon | - | any icon |
30
+
31
+ ## Layout & constraints (normal button)
32
+
33
+ - Width: hug content (grows with label and icons).
34
+ - Height: fixed by size token (Large = 56px, Small = 40px).
35
+ - Padding: Large = 20px/16px, Small = 16px/8px.
36
+ - Gap between items: `spacing-margin/xxs` (4px).
37
+ - Corner radius: `corner-radius/xl` (32px).
38
+ - Icon size: 24x24.
39
+
40
+ ## Layout & constraints (FAB icon)
41
+
42
+ - Width/height: fixed square based on size token (Large = 56px, Small = 40px).
43
+ - Padding: none (icon is centered).
44
+ - Corner radius: 999 (fully rounded / circular).
45
+ - Icon size: 24x24.
46
+
47
+ ## Design tokens (normal button, Primary / Default)
48
+
49
+ - Background: `button/primary/bg-default` (#011FE5).
50
+ - Text on background: `button/primary/text-on` (white).
51
+ - Typography: `Inter/Semi Bold`, size `font/fontSize/base` (16px), line-height 100%, letter-spacing 0.
52
+
53
+ ## Usage guidelines
54
+
55
+ - Use Primary for the main action in a view or section.
56
+ - Use Secondary for supporting actions of lower emphasis.
57
+ - Use danger types only for destructive or irreversible actions.
58
+ - Keep label concise (1–3 words). Avoid wrapping where possible.
59
+
60
+ ## Behavior (normal button)
61
+
62
+ - Default state is used for idle.
63
+ - Pressed and disabled states must follow the design system tokens for the selected Type.
64
+ - Loading state replaces label with a spinner (do not mix icons and spinner).
65
+
66
+ ## Accessibility
67
+
68
+ - Must be keyboard focusable and trigger on Enter/Space.
69
+ - Provide an accessible name that matches the visible label.
70
+ - Ensure text-on contrast meets WCAG for the chosen background token.
71
+
72
+ ## Content guidelines
73
+
74
+ - Use verb-first labels (e.g., “Confirm”, “Continue”, “Save”).
75
+ - Avoid punctuation in button labels.
76
+ - Use sentence case; do not use ALL CAPS.
@@ -0,0 +1,30 @@
1
+ # card
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # checkUox
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # chips
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # confirm sheet
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # date picker
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # date wheel
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,29 @@
1
+ # Icon
2
+
3
+ Simple tinted icon component that reads assets from `src/assets/icons`.
4
+
5
+ ## Overview
6
+
7
+ Use `Icon` to render a line or solid icon. Color comes from `colors.json`, and size is driven by the `sizes.json` tokens.
8
+
9
+ ## Props
10
+
11
+ - `name`: icon name (default: `arrow_circle_right`)
12
+ - `variant`: `"line"` | `"solid"` (default: `"line"`)
13
+ - `size`: `"xxs"` | `"xs"` | `"md"` | `"lg"` | `"xl"` | `"2xl"` | `"3xl"` | `"4xl"` (default: `"xs"`)
14
+ - `color`: `"<palette>.<tone>"` (default: `"oxfordBlue.900"`)
15
+
16
+ ## Tokens
17
+
18
+ - Sizes: `size-xxs`, `size-xs`, `size-md`, `size-lg`, `size-xl`, `size-2xl`, `size-3xl`, `size-4xl` in `sizes.json`
19
+ - Colors: `colors.json` (e.g., `botimBlue.900`, `oxfordBlue.600`)
20
+
21
+ ## Usage
22
+
23
+ ```jsx
24
+ import Icon from './Icon'
25
+
26
+ <Icon />
27
+ <Icon name="coin_swap" variant="solid" color="botimBlue.900" />
28
+ <Icon name="credit_card_edit" size="lg" color="engineeringRed.800" />
29
+ ```
@@ -0,0 +1,30 @@
1
+ # inline notification
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # list item
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # list
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,30 @@
1
+ # loading indicator
2
+
3
+ ## Overview
4
+
5
+ Describe the purpose of the component and where it is used.
6
+
7
+ ## Anatomy
8
+
9
+ List the key parts and slots of the component.
10
+
11
+ ## Usage guidelines
12
+
13
+ - When to use
14
+ - When not to use
15
+
16
+ ## Behavior
17
+
18
+ Document states, interactions, and motion notes.
19
+
20
+ ## Accessibility
21
+
22
+ Note keyboard, focus, and contrast requirements.
23
+
24
+ ## Content guidelines
25
+
26
+ Provide copy and content rules.
27
+
28
+ ## Do and don't
29
+
30
+ Add visuals or bullet lists for correct and incorrect usage.
@@ -0,0 +1,57 @@
1
+ # Menu item
2
+
3
+ AI-ready documentation for a single menu row.
4
+
5
+ ## Overview
6
+
7
+ Menu items represent a single action or destination inside a menu list. Use them in menus and action sheets for quick scanning.
8
+
9
+ ## Anatomy
10
+
11
+ - Container (full-width row)
12
+ - Label
13
+ - Optional trailing icon
14
+
15
+ ## Configurable properties (from Figma)
16
+
17
+ | Property | Default value | Configurable values |
18
+ | --- | --- | --- |
19
+ | Label text | Label | Any short label |
20
+ | Show trailing icon | true | true, false |
21
+ | State | Default | Default, Pressed, Error, Disabled |
22
+
23
+ ## Layout & constraints
24
+
25
+ - Height: content-based with 16px padding.
26
+ - Width: fills the menu container.
27
+ - Gap between label and trailing icon: 12px.
28
+ - Corner radius: 16px.
29
+ - Trailing icon size: 24x24.
30
+
31
+ ## Menu container
32
+
33
+ - Background: `background/neutral/action sheet`
34
+ - Corner radius: 12px
35
+ - Padding: 8px
36
+ - Divider: `background/neutral/secondary` at 1px height
37
+ - Shadow: 0 8px 22px rgba(157, 173, 197, 0.5) (dark mode uses a darker shadow)
38
+
39
+ ## Design tokens
40
+
41
+ - Default text: `text icon/neutral/primary`
42
+ - Pressed background: `background/neutral/secondary`
43
+ - Disabled background: `button/secondary/bg-disabled`
44
+ - Disabled text: `text icon/neutral/disabled`
45
+ - Error text: `text icon/functional/danger`
46
+
47
+ ## Behavior
48
+
49
+ - Default: transparent background.
50
+ - Pressed: neutral secondary background.
51
+ - Disabled: uses disabled background token and muted text.
52
+ - Error: danger text color without background.
53
+
54
+ ## Accessibility
55
+
56
+ - Keep labels short and descriptive.
57
+ - Ensure the row is clickable with a clear focus state.