@cdek-it/react-native-ui-kit 0.2.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.
Files changed (261) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +151 -0
  3. package/dist/components/Accordion/Accordion.d.ts +39 -0
  4. package/dist/components/Accordion/Accordion.js +103 -0
  5. package/dist/components/Accordion/index.d.ts +1 -0
  6. package/dist/components/Accordion/index.js +1 -0
  7. package/dist/components/Avatar/Avatar.d.ts +96 -0
  8. package/dist/components/Avatar/Avatar.js +121 -0
  9. package/dist/components/Avatar/index.d.ts +1 -0
  10. package/dist/components/Avatar/index.js +1 -0
  11. package/dist/components/Badge/Badge.d.ts +35 -0
  12. package/dist/components/Badge/Badge.js +74 -0
  13. package/dist/components/Badge/index.d.ts +1 -0
  14. package/dist/components/Badge/index.js +1 -0
  15. package/dist/components/Button/BaseButton.d.ts +5 -0
  16. package/dist/components/Button/BaseButton.js +62 -0
  17. package/dist/components/Button/Button.d.ts +16 -0
  18. package/dist/components/Button/Button.js +21 -0
  19. package/dist/components/Button/ButtonBadge.d.ts +21 -0
  20. package/dist/components/Button/ButtonBadge.js +53 -0
  21. package/dist/components/Button/ButtonSeverity.d.ts +17 -0
  22. package/dist/components/Button/ButtonSeverity.js +22 -0
  23. package/dist/components/Button/index.d.ts +4 -0
  24. package/dist/components/Button/index.js +3 -0
  25. package/dist/components/Button/styles/index.d.ts +2 -0
  26. package/dist/components/Button/styles/index.js +2 -0
  27. package/dist/components/Button/styles/useBasicButtonStyles.d.ts +98 -0
  28. package/dist/components/Button/styles/useBasicButtonStyles.js +81 -0
  29. package/dist/components/Button/styles/useDangerButtonStyles.d.ts +63 -0
  30. package/dist/components/Button/styles/useDangerButtonStyles.js +57 -0
  31. package/dist/components/Button/styles/useInfoButtonStyles.d.ts +63 -0
  32. package/dist/components/Button/styles/useInfoButtonStyles.js +56 -0
  33. package/dist/components/Button/styles/useSeverityButtonStyles.d.ts +64 -0
  34. package/dist/components/Button/styles/useSeverityButtonStyles.js +29 -0
  35. package/dist/components/Button/styles/useSuccessButtonStyles.d.ts +63 -0
  36. package/dist/components/Button/styles/useSuccessButtonStyles.js +61 -0
  37. package/dist/components/Button/styles/useWarningButtonStyles.d.ts +63 -0
  38. package/dist/components/Button/styles/useWarningButtonStyles.js +61 -0
  39. package/dist/components/Button/types.d.ts +107 -0
  40. package/dist/components/Button/types.js +0 -0
  41. package/dist/components/Button/utils/ButtonActivityIndicator.d.ts +3 -0
  42. package/dist/components/Button/utils/ButtonActivityIndicator.js +17 -0
  43. package/dist/components/Button/utils/ButtonContainer.d.ts +7 -0
  44. package/dist/components/Button/utils/ButtonContainer.js +10 -0
  45. package/dist/components/Button/utils/ButtonIcon.d.ts +4 -0
  46. package/dist/components/Button/utils/ButtonIcon.js +11 -0
  47. package/dist/components/Button/utils/ButtonLabel.d.ts +4 -0
  48. package/dist/components/Button/utils/ButtonLabel.js +13 -0
  49. package/dist/components/Button/utils/ButtonLeftArea.d.ts +4 -0
  50. package/dist/components/Button/utils/ButtonLeftArea.js +13 -0
  51. package/dist/components/Button/utils/ButtonRightArea.d.ts +3 -0
  52. package/dist/components/Button/utils/ButtonRightArea.js +13 -0
  53. package/dist/components/Button/utils/index.d.ts +4 -0
  54. package/dist/components/Button/utils/index.js +4 -0
  55. package/dist/components/Button/utils/useButtonContainerCallbackStyle.d.ts +3 -0
  56. package/dist/components/Button/utils/useButtonContainerCallbackStyle.js +141 -0
  57. package/dist/components/Button/utils/useButtonLabelStyle.d.ts +3 -0
  58. package/dist/components/Button/utils/useButtonLabelStyle.js +40 -0
  59. package/dist/components/Button/utils/useIconStyle.d.ts +7 -0
  60. package/dist/components/Button/utils/useIconStyle.js +35 -0
  61. package/dist/components/Button/utils/useTypeBasedStyle.d.ts +2 -0
  62. package/dist/components/Button/utils/useTypeBasedStyle.js +4 -0
  63. package/dist/components/Checkbox/Checkbox.d.ts +31 -0
  64. package/dist/components/Checkbox/Checkbox.js +55 -0
  65. package/dist/components/Checkbox/hooks/usePressableStyles.d.ts +15 -0
  66. package/dist/components/Checkbox/hooks/usePressableStyles.js +91 -0
  67. package/dist/components/Checkbox/index.d.ts +1 -0
  68. package/dist/components/Checkbox/index.js +1 -0
  69. package/dist/components/Chip/Chip.d.ts +30 -0
  70. package/dist/components/Chip/Chip.js +70 -0
  71. package/dist/components/Chip/index.d.ts +1 -0
  72. package/dist/components/Chip/index.js +1 -0
  73. package/dist/components/Dialog/Dialog.d.ts +14 -0
  74. package/dist/components/Dialog/Dialog.js +96 -0
  75. package/dist/components/Dialog/DialogComponent.d.ts +7 -0
  76. package/dist/components/Dialog/DialogComponent.js +34 -0
  77. package/dist/components/Dialog/DialogHeader.d.ts +12 -0
  78. package/dist/components/Dialog/DialogHeader.js +68 -0
  79. package/dist/components/Dialog/index.d.ts +3 -0
  80. package/dist/components/Dialog/index.js +3 -0
  81. package/dist/components/Divider/Divider.d.ts +42 -0
  82. package/dist/components/Divider/Divider.js +95 -0
  83. package/dist/components/Divider/index.d.ts +1 -0
  84. package/dist/components/Divider/index.js +1 -0
  85. package/dist/components/Input/FloatLabel.d.ts +22 -0
  86. package/dist/components/Input/FloatLabel.js +19 -0
  87. package/dist/components/Input/InputGroup.d.ts +21 -0
  88. package/dist/components/Input/InputGroup.js +52 -0
  89. package/dist/components/Input/InputGroupAddon.d.ts +17 -0
  90. package/dist/components/Input/InputGroupAddon.js +57 -0
  91. package/dist/components/Input/InputSwitch/InputSwitch.d.ts +8 -0
  92. package/dist/components/Input/InputSwitch/InputSwitch.js +16 -0
  93. package/dist/components/Input/InputSwitch/index.d.ts +1 -0
  94. package/dist/components/Input/InputSwitch/index.js +1 -0
  95. package/dist/components/Input/InputSwitch/styles/index.d.ts +2 -0
  96. package/dist/components/Input/InputSwitch/styles/index.js +2 -0
  97. package/dist/components/Input/InputSwitch/styles/useHandleStyles.d.ts +13 -0
  98. package/dist/components/Input/InputSwitch/styles/useHandleStyles.js +47 -0
  99. package/dist/components/Input/InputSwitch/styles/useSliderStyles.d.ts +17 -0
  100. package/dist/components/Input/InputSwitch/styles/useSliderStyles.js +95 -0
  101. package/dist/components/Input/InputText.d.ts +13 -0
  102. package/dist/components/Input/InputText.js +14 -0
  103. package/dist/components/Input/InputTextBase/InputTextBase.d.ts +13 -0
  104. package/dist/components/Input/InputTextBase/InputTextBase.js +124 -0
  105. package/dist/components/Input/InputTextBase/testIds.d.ts +11 -0
  106. package/dist/components/Input/InputTextBase/testIds.js +11 -0
  107. package/dist/components/Input/InputTextBase/types.d.ts +41 -0
  108. package/dist/components/Input/InputTextBase/types.js +0 -0
  109. package/dist/components/Input/InputTextBase/useStyles.d.ts +86 -0
  110. package/dist/components/Input/InputTextBase/useStyles.js +78 -0
  111. package/dist/components/Input/index.d.ts +5 -0
  112. package/dist/components/Input/index.js +4 -0
  113. package/dist/components/List/Base/ListBase.d.ts +32 -0
  114. package/dist/components/List/Base/ListBase.js +88 -0
  115. package/dist/components/List/Base/index.d.ts +1 -0
  116. package/dist/components/List/Base/index.js +1 -0
  117. package/dist/components/MenuItem/MenuItemAccessory.d.ts +11 -0
  118. package/dist/components/MenuItem/MenuItemAccessory.js +23 -0
  119. package/dist/components/MenuItem/MenuItemIcon.d.ts +36 -0
  120. package/dist/components/MenuItem/MenuItemIcon.js +33 -0
  121. package/dist/components/MenuItem/Template/MenuItemTemplate.d.ts +42 -0
  122. package/dist/components/MenuItem/Template/MenuItemTemplate.js +79 -0
  123. package/dist/components/MenuItem/index.d.ts +1 -0
  124. package/dist/components/MenuItem/index.js +1 -0
  125. package/dist/components/Message/Message.d.ts +65 -0
  126. package/dist/components/Message/Message.js +126 -0
  127. package/dist/components/Message/index.d.ts +1 -0
  128. package/dist/components/Message/index.js +1 -0
  129. package/dist/components/ProgressBar/ProgressBar.d.ts +33 -0
  130. package/dist/components/ProgressBar/ProgressBar.js +62 -0
  131. package/dist/components/ProgressBar/index.d.ts +1 -0
  132. package/dist/components/ProgressBar/index.js +1 -0
  133. package/dist/components/ProgressSpinner/ProgressSpinner.d.ts +17 -0
  134. package/dist/components/ProgressSpinner/ProgressSpinner.js +68 -0
  135. package/dist/components/ProgressSpinner/index.d.ts +1 -0
  136. package/dist/components/ProgressSpinner/index.js +1 -0
  137. package/dist/components/RadioButton/RadioButton.d.ts +18 -0
  138. package/dist/components/RadioButton/RadioButton.js +134 -0
  139. package/dist/components/RadioButton/index.d.ts +1 -0
  140. package/dist/components/RadioButton/index.js +1 -0
  141. package/dist/components/Rating/Rating.d.ts +48 -0
  142. package/dist/components/Rating/Rating.js +37 -0
  143. package/dist/components/Rating/RatingClear.d.ts +14 -0
  144. package/dist/components/Rating/RatingClear.js +28 -0
  145. package/dist/components/Rating/RatingItem.d.ts +19 -0
  146. package/dist/components/Rating/RatingItem.js +44 -0
  147. package/dist/components/Rating/RatingItemContainer.d.ts +37 -0
  148. package/dist/components/Rating/RatingItemContainer.js +30 -0
  149. package/dist/components/Rating/index.d.ts +1 -0
  150. package/dist/components/Rating/index.js +1 -0
  151. package/dist/components/SelectButton/SelectButton.d.ts +32 -0
  152. package/dist/components/SelectButton/SelectButton.js +75 -0
  153. package/dist/components/SelectButton/SelectButtonItem.d.ts +35 -0
  154. package/dist/components/SelectButton/SelectButtonItem.js +133 -0
  155. package/dist/components/SelectButton/index.d.ts +1 -0
  156. package/dist/components/SelectButton/index.js +1 -0
  157. package/dist/components/Skeleton/Skeleton.d.ts +15 -0
  158. package/dist/components/Skeleton/Skeleton.js +53 -0
  159. package/dist/components/Skeleton/index.d.ts +1 -0
  160. package/dist/components/Skeleton/index.js +1 -0
  161. package/dist/components/Slider/Slider.d.ts +36 -0
  162. package/dist/components/Slider/Slider.js +153 -0
  163. package/dist/components/Slider/index.d.ts +1 -0
  164. package/dist/components/Slider/index.js +1 -0
  165. package/dist/components/Tabs/TabItem/TabItem.d.ts +24 -0
  166. package/dist/components/Tabs/TabItem/TabItem.js +82 -0
  167. package/dist/components/Tabs/TabItem/index.d.ts +1 -0
  168. package/dist/components/Tabs/TabItem/index.js +1 -0
  169. package/dist/components/Tabs/TabPanel/TabPanel.d.ts +9 -0
  170. package/dist/components/Tabs/TabPanel/TabPanel.js +11 -0
  171. package/dist/components/Tabs/TabPanel/index.d.ts +1 -0
  172. package/dist/components/Tabs/TabPanel/index.js +1 -0
  173. package/dist/components/Tabs/Tabs.d.ts +15 -0
  174. package/dist/components/Tabs/Tabs.js +48 -0
  175. package/dist/components/Tabs/index.d.ts +2 -0
  176. package/dist/components/Tabs/index.js +2 -0
  177. package/dist/components/Tag/Tag.d.ts +33 -0
  178. package/dist/components/Tag/Tag.js +71 -0
  179. package/dist/components/Tag/index.d.ts +1 -0
  180. package/dist/components/Tag/index.js +1 -0
  181. package/dist/components/Timer/Timer.d.ts +18 -0
  182. package/dist/components/Timer/Timer.js +74 -0
  183. package/dist/components/Timer/TimerFlip.d.ts +7 -0
  184. package/dist/components/Timer/TimerFlip.js +69 -0
  185. package/dist/components/Timer/constants.d.ts +1 -0
  186. package/dist/components/Timer/constants.js +1 -0
  187. package/dist/components/ToggleButton/ToggleButton.d.ts +45 -0
  188. package/dist/components/ToggleButton/ToggleButton.js +85 -0
  189. package/dist/components/ToggleButton/hooks/useIconSize.d.ts +14 -0
  190. package/dist/components/ToggleButton/hooks/useIconSize.js +26 -0
  191. package/dist/components/ToggleButton/hooks/useLabelSize.d.ts +8 -0
  192. package/dist/components/ToggleButton/hooks/useLabelSize.js +19 -0
  193. package/dist/components/ToggleButton/hooks/useStateStyles.d.ts +11 -0
  194. package/dist/components/ToggleButton/hooks/useStateStyles.js +92 -0
  195. package/dist/components/ToggleButton/index.d.ts +1 -0
  196. package/dist/components/ToggleButton/index.js +1 -0
  197. package/dist/components/Typography/Anchor.d.ts +31 -0
  198. package/dist/components/Typography/Anchor.js +75 -0
  199. package/dist/components/Typography/Body.d.ts +9 -0
  200. package/dist/components/Typography/Body.js +32 -0
  201. package/dist/components/Typography/Caption.d.ts +9 -0
  202. package/dist/components/Typography/Caption.js +38 -0
  203. package/dist/components/Typography/Service.d.ts +25 -0
  204. package/dist/components/Typography/Service.js +63 -0
  205. package/dist/components/Typography/Subtitle.d.ts +18 -0
  206. package/dist/components/Typography/Subtitle.js +23 -0
  207. package/dist/components/Typography/Title.d.ts +5 -0
  208. package/dist/components/Typography/Title.js +24 -0
  209. package/dist/components/Typography/index.d.ts +6 -0
  210. package/dist/components/Typography/index.js +6 -0
  211. package/dist/components/index.d.ts +23 -0
  212. package/dist/components/index.js +23 -0
  213. package/dist/hooks/useChangeTheme.d.ts +1 -0
  214. package/dist/hooks/useChangeTheme.js +5 -0
  215. package/dist/hooks/useFonts.d.ts +1 -0
  216. package/dist/hooks/useFonts.js +5 -0
  217. package/dist/hooks/useLoadingRotationAnimation.d.ts +5 -0
  218. package/dist/hooks/useLoadingRotationAnimation.js +19 -0
  219. package/dist/hooks/useMakeTestId.d.ts +3 -0
  220. package/dist/hooks/useMakeTestId.js +7 -0
  221. package/dist/hooks/useTheme.d.ts +1 -0
  222. package/dist/hooks/useTheme.js +5 -0
  223. package/dist/index.d.ts +6 -0
  224. package/dist/index.js +6 -0
  225. package/dist/theme/ThemeContext.d.ts +15 -0
  226. package/dist/theme/ThemeContext.js +20 -0
  227. package/dist/theme/assets/background.json +149 -0
  228. package/dist/theme/assets/border.json +103 -0
  229. package/dist/theme/assets/customCommon.d.ts +4 -0
  230. package/dist/theme/assets/customCommon.js +4 -0
  231. package/dist/theme/assets/customDark.d.ts +5 -0
  232. package/dist/theme/assets/customDark.js +15 -0
  233. package/dist/theme/assets/customLight.d.ts +15 -0
  234. package/dist/theme/assets/customLight.js +15 -0
  235. package/dist/theme/assets/effects.json +15 -0
  236. package/dist/theme/assets/global.json +114 -0
  237. package/dist/theme/assets/primaryColors.json +14 -0
  238. package/dist/theme/assets/shadow.d.ts +6 -0
  239. package/dist/theme/assets/shadow.js +6 -0
  240. package/dist/theme/assets/sizing.json +78 -0
  241. package/dist/theme/assets/spacing.json +48 -0
  242. package/dist/theme/assets/themeDark.json +1141 -0
  243. package/dist/theme/assets/themeLight.json +1141 -0
  244. package/dist/theme/assets/typography.json +45 -0
  245. package/dist/theme/commonTheme.d.ts +582 -0
  246. package/dist/theme/commonTheme.js +22 -0
  247. package/dist/theme/darkTheme.d.ts +2 -0
  248. package/dist/theme/darkTheme.js +7 -0
  249. package/dist/theme/index.d.ts +4 -0
  250. package/dist/theme/index.js +4 -0
  251. package/dist/theme/lightTheme.d.ts +2 -0
  252. package/dist/theme/lightTheme.js +7 -0
  253. package/dist/theme/types.d.ts +40 -0
  254. package/dist/theme/types.js +5 -0
  255. package/dist/utils/SvgUniversal.d.ts +29 -0
  256. package/dist/utils/SvgUniversal.js +28 -0
  257. package/dist/utils/genericMemo.d.ts +1 -0
  258. package/dist/utils/genericMemo.js +2 -0
  259. package/dist/utils/makeStyles.d.ts +11 -0
  260. package/dist/utils/makeStyles.js +19 -0
  261. package/package.json +159 -0
@@ -0,0 +1,45 @@
1
+ {
2
+ "Color": {
3
+ "Common": {
4
+ "text-primary": "#1dc831",
5
+ "text-color-primary": "#000000",
6
+ "text-color": "#181a1f",
7
+ "text-color-secondary": "#85888e",
8
+ "text-white": "#ffffff"
9
+ },
10
+ "Surface": {
11
+ "text-surface-0": "#181a1f",
12
+ "text-surface-50": "#fafafa",
13
+ "text-surface-100": "#f0f0f1",
14
+ "text-surface-200": "#e2e2e4",
15
+ "text-surface-300": "#cecfd2",
16
+ "text-surface-400": "#a2a5a9",
17
+ "text-surface-500": "#85888e",
18
+ "text-surface-600": "#6d7076",
19
+ "text-surface-700": "#56595f",
20
+ "text-surface-800": "#404348",
21
+ "text-surface-900": "#2b2e33"
22
+ },
23
+ "Service": {
24
+ "text-help": "#9457ea",
25
+ "text-info": "#1e76cd",
26
+ "text-success": "#168322",
27
+ "text-warning": "#dc9710",
28
+ "text-danger": "#db3424"
29
+ }
30
+ },
31
+ "Size": {
32
+ "text-xs": 10.5,
33
+ "text-sm": 12.25,
34
+ "text-base": 14,
35
+ "text-lg": 15.75,
36
+ "text-xl": 17.5,
37
+ "text-2xl": 21,
38
+ "text-3xl": 26.25,
39
+ "text-4xl": 31.5,
40
+ "text-5xl": 42,
41
+ "text-6xl": 52.5,
42
+ "text-7xl": 63,
43
+ "text-8xl": 84
44
+ }
45
+ }
@@ -0,0 +1,582 @@
1
+ export declare const commonTheme: {
2
+ background: {
3
+ Common: {
4
+ "bg-surface-ground": string;
5
+ "bg-surface-overlay": string;
6
+ "bg-surface-section": string;
7
+ "bg-surface-ground-hover": string;
8
+ "bg-surface-section-hover": string;
9
+ "bg-surface-card-on-ground": string;
10
+ "bg-surface-card-on-ground-hover": string;
11
+ "bg-surface-card-on-section": string;
12
+ "bg-surface-card-on-section-hover": string;
13
+ };
14
+ Primary: {
15
+ "bg-primary": string;
16
+ "bg-primary-50": string;
17
+ "bg-primary-100": string;
18
+ "bg-primary-200": string;
19
+ "bg-primary-300": string;
20
+ "bg-primary-400": string;
21
+ "bg-primary-500": string;
22
+ "bg-primary-600": string;
23
+ "bg-primary-700": string;
24
+ "bg-primary-800": string;
25
+ "bg-primary-900": string;
26
+ "bg-primary-1000": string;
27
+ };
28
+ Secondary: {
29
+ "bg-secondary-50": string;
30
+ "bg-secondary-100": string;
31
+ "bg-secondary-200": string;
32
+ "bg-secondary-300": string;
33
+ "bg-secondary-400": string;
34
+ "bg-secondary-500": string;
35
+ "bg-secondary-600": string;
36
+ "bg-secondary-700": string;
37
+ "bg-secondary-800": string;
38
+ "bg-secondary-900": string;
39
+ "bg-secondary-1000": string;
40
+ };
41
+ Surface: {
42
+ "bg-surface-0": string;
43
+ "bg-primary-900": string;
44
+ "bg-surface-50": string;
45
+ "bg-surface-100": string;
46
+ "bg-surface-200": string;
47
+ "bg-surface-300": string;
48
+ "bg-surface-400": string;
49
+ "bg-surface-500": string;
50
+ "bg-surface-600": string;
51
+ "bg-surface-700": string;
52
+ "bg-surface-800": string;
53
+ "bg-surface-900": string;
54
+ };
55
+ Service: {
56
+ "bg-info": {
57
+ "bg-info-50": string;
58
+ "bg-info-100": string;
59
+ "bg-info-200": string;
60
+ "bg-info-300": string;
61
+ "bg-info-400": string;
62
+ "bg-info-500": string;
63
+ "bg-info-600": string;
64
+ "bg-info-700": string;
65
+ "bg-info-800": string;
66
+ "bg-info-900": string;
67
+ "bg-info-1000": string;
68
+ };
69
+ "bg-success": {
70
+ "bg-success-50": string;
71
+ "bg-success-100": string;
72
+ "bg-success-200": string;
73
+ "bg-success-300": string;
74
+ "bg-success-400": string;
75
+ "bg-success-500": string;
76
+ "bg-success-600": string;
77
+ "bg-success-700": string;
78
+ "bg-success-800": string;
79
+ "bg-success-900": string;
80
+ "bg-success-1000": string;
81
+ };
82
+ "bg-warning": {
83
+ "bg-warning-50": string;
84
+ "bg-warning-100": string;
85
+ "bg-warning-200": string;
86
+ "bg-warning-300": string;
87
+ "bg-warning-400": string;
88
+ "bg-warning-500": string;
89
+ "bg-warning-600": string;
90
+ "bg-warning-700": string;
91
+ "bg-warning-800": string;
92
+ "bg-warning-900": string;
93
+ "bg-warning-1000": string;
94
+ };
95
+ "bg-danger": {
96
+ "bg-danger-50": string;
97
+ "bg-danger-100": string;
98
+ "bg-danger-200": string;
99
+ "bg-danger-300": string;
100
+ "bg-danger-400": string;
101
+ "bg-danger-500": string;
102
+ "bg-danger-600": string;
103
+ "bg-danger-700": string;
104
+ "bg-danger-800": string;
105
+ "bg-danger-900": string;
106
+ "bg-danger-1000": string;
107
+ };
108
+ "bg-help": {
109
+ "bg-help-50": string;
110
+ "bg-help-100": string;
111
+ "bg-help-200": string;
112
+ "bg-help-300": string;
113
+ "bg-help-400": string;
114
+ "bg-help-500": string;
115
+ "bg-help-600": string;
116
+ "bg-help-700": string;
117
+ "bg-help-800": string;
118
+ "bg-help-900": string;
119
+ "bg-help-1000": string;
120
+ };
121
+ };
122
+ Accent: {
123
+ Pink: {
124
+ "pink-50": string;
125
+ "pink-100": string;
126
+ "pink-200": string;
127
+ "pink-300": string;
128
+ "pink-400": string;
129
+ "pink-500": string;
130
+ "pink-600": string;
131
+ "pink-700": string;
132
+ "pink-800": string;
133
+ "pink-900": string;
134
+ "pink-1000": string;
135
+ };
136
+ Cyan: {
137
+ "cyan-50": string;
138
+ "cyan-100": string;
139
+ "cyan-200": string;
140
+ "cyan-300": string;
141
+ "cyan-400": string;
142
+ "cyan-500": string;
143
+ "cyan-600": string;
144
+ "cyan-700": string;
145
+ "cyan-800": string;
146
+ "cyan-900": string;
147
+ "cyan-1000": string;
148
+ };
149
+ };
150
+ };
151
+ colors: {
152
+ primary: {
153
+ "primary-1000": string;
154
+ "primary-900": string;
155
+ "primary-800": string;
156
+ "primary-700": string;
157
+ "primary-600": string;
158
+ "primary-500": string;
159
+ "primary-400": string;
160
+ "primary-300": string;
161
+ "primary-200": string;
162
+ "primary-100": string;
163
+ "primary-50": string;
164
+ "primary-alpha": string;
165
+ };
166
+ };
167
+ border: {
168
+ Radius: {
169
+ "rounded-none": number;
170
+ "rounded-sm": number;
171
+ rounded: number;
172
+ "rounded-md": number;
173
+ "rounded-lg": number;
174
+ "rounded-xl": number;
175
+ "rounded-full": number;
176
+ "rounded-2xl": number;
177
+ "rounded-3xl": number;
178
+ "rounded-4xl": number;
179
+ "rounded-kit": number;
180
+ };
181
+ Color: {
182
+ Common: {
183
+ "border-transparent": string;
184
+ "border-primary": string;
185
+ "border-surface-border": string;
186
+ };
187
+ Surface: {
188
+ "border-surface-0": string;
189
+ "border-surface-50": string;
190
+ "border-surface-100": string;
191
+ "border-surface-200": string;
192
+ "border-surface-300": string;
193
+ "border-surface-400": string;
194
+ "border-surface-500": string;
195
+ "border-surface-600": string;
196
+ "border-surface-700": string;
197
+ "border-surface-800": string;
198
+ "border-surface-900": string;
199
+ };
200
+ Service: {
201
+ "border-info": {
202
+ "50": string;
203
+ "100": string;
204
+ "200": string;
205
+ "300": string;
206
+ "400": string;
207
+ "500": string;
208
+ "600": string;
209
+ "700": string;
210
+ "800": string;
211
+ "900": string;
212
+ "1000": string;
213
+ };
214
+ "border-success": {
215
+ "50": string;
216
+ "100": string;
217
+ "200": string;
218
+ "300": string;
219
+ "400": string;
220
+ "500": string;
221
+ "600": string;
222
+ "700": string;
223
+ "800": string;
224
+ "900": string;
225
+ "1000": string;
226
+ };
227
+ "border-warning": {
228
+ "50": string;
229
+ "100": string;
230
+ "200": string;
231
+ "300": string;
232
+ "400": string;
233
+ "500": string;
234
+ "600": string;
235
+ "700": string;
236
+ "800": string;
237
+ "900": string;
238
+ "1000": string;
239
+ };
240
+ "border-danger": {
241
+ "50": string;
242
+ "100": string;
243
+ "200": string;
244
+ "300": string;
245
+ "400": string;
246
+ "500": string;
247
+ "600": string;
248
+ "700": string;
249
+ "800": string;
250
+ "900": string;
251
+ "1000": string;
252
+ };
253
+ "border-help": {
254
+ "50": string;
255
+ "100": string;
256
+ "200": string;
257
+ "300": string;
258
+ "400": string;
259
+ "500": string;
260
+ "600": string;
261
+ "700": string;
262
+ "800": string;
263
+ "900": string;
264
+ "1000": string;
265
+ };
266
+ };
267
+ };
268
+ Width: {
269
+ border: number;
270
+ "border-2": number;
271
+ "border-3": number;
272
+ "border-4": number;
273
+ };
274
+ };
275
+ effects: {
276
+ Opacity: {
277
+ "opacity-0": number;
278
+ "opacity-10": number;
279
+ "opacity-20": number;
280
+ "opacity-30": number;
281
+ "opacity-40": number;
282
+ "opacity-50": number;
283
+ "opacity-60": number;
284
+ "opacity-70": number;
285
+ "opacity-80": number;
286
+ "opacity-90": number;
287
+ "opacity-100": number;
288
+ };
289
+ };
290
+ global: {
291
+ Neutrals: {
292
+ White: {
293
+ "white-100": string;
294
+ "white-90": string;
295
+ "white-80": string;
296
+ "white-70": string;
297
+ "white-60": string;
298
+ "white-50": string;
299
+ "white-40": string;
300
+ "white-30": string;
301
+ "white-20": string;
302
+ "white-10": string;
303
+ };
304
+ Black: {
305
+ "black-100": string;
306
+ "black-90": string;
307
+ "black-80": string;
308
+ "black-70": string;
309
+ "black-60": string;
310
+ "black-50": string;
311
+ "black-40": string;
312
+ "black-30": string;
313
+ "black-20": string;
314
+ "black-10": string;
315
+ };
316
+ };
317
+ Service: {
318
+ Danger: {
319
+ "danger-1000": string;
320
+ "danger-900": string;
321
+ "danger-800": string;
322
+ "danger-700": string;
323
+ "danger-600": string;
324
+ "danger-500": string;
325
+ "danger-400": string;
326
+ "danger-300": string;
327
+ "danger-200": string;
328
+ "danger-100": string;
329
+ "danger-50": string;
330
+ "danger-alpha": string;
331
+ };
332
+ Warning: {
333
+ "warning-1000": string;
334
+ "warning-900": string;
335
+ "warning-800": string;
336
+ "warning-700": string;
337
+ "warning-600": string;
338
+ "warning-500": string;
339
+ "warning-400": string;
340
+ "warning-300": string;
341
+ "warning-200": string;
342
+ "warning-100": string;
343
+ "warning-50": string;
344
+ "warning-alpha": string;
345
+ };
346
+ Success: {
347
+ "success-1000": string;
348
+ "success-900": string;
349
+ "success-800": string;
350
+ "success-700": string;
351
+ "success-600": string;
352
+ "success-500": string;
353
+ "success-400": string;
354
+ "success-300": string;
355
+ "success-200": string;
356
+ "success-100": string;
357
+ "success-50": string;
358
+ "success-alpha": string;
359
+ };
360
+ Info: {
361
+ "info-1000": string;
362
+ "info-900": string;
363
+ "info-800": string;
364
+ "info-700": string;
365
+ "info-600": string;
366
+ "info-500": string;
367
+ "info-400": string;
368
+ "info-300": string;
369
+ "info-200": string;
370
+ "info-100": string;
371
+ "info-50": string;
372
+ "info-alpha": string;
373
+ };
374
+ Help: {
375
+ "help-1000": string;
376
+ "help-900": string;
377
+ "help-800": string;
378
+ "help-700": string;
379
+ "help-600": string;
380
+ "help-500": string;
381
+ "help-400": string;
382
+ "help-300": string;
383
+ "help-200": string;
384
+ "help-100": string;
385
+ "help-50": string;
386
+ "help-alpha": string;
387
+ };
388
+ };
389
+ Surface: {
390
+ "gray-1000": string;
391
+ "gray-900": string;
392
+ "gray-800": string;
393
+ "gray-700": string;
394
+ "gray-600": string;
395
+ "gray-500": string;
396
+ "gray-400": string;
397
+ "gray-300": string;
398
+ "gray-200": string;
399
+ "gray-100": string;
400
+ "gray-50": string;
401
+ "gray-alpha": string;
402
+ };
403
+ };
404
+ sizing: {
405
+ Width: {
406
+ "w-1": number;
407
+ "w-2": number;
408
+ "w-3": number;
409
+ "w-4": number;
410
+ "w-5": number;
411
+ "w-6": number;
412
+ "w-7": number;
413
+ "w-8": number;
414
+ "w-9": number;
415
+ "w-10": number;
416
+ "w-11": number;
417
+ "w-12": number;
418
+ "w-13": number;
419
+ "w-14": number;
420
+ "w-15": number;
421
+ "w-16": number;
422
+ "w-17": number;
423
+ "w-18": number;
424
+ "w-19": number;
425
+ "w-20": number;
426
+ "w-21": number;
427
+ "w-22": number;
428
+ "w-23": number;
429
+ "w-24": number;
430
+ "w-25": number;
431
+ "w-26": number;
432
+ "w-27": number;
433
+ "w-28": number;
434
+ "w-29": number;
435
+ "w-30": number;
436
+ "w-34": number;
437
+ "w-45": number;
438
+ "w-50": number;
439
+ "w-54": number;
440
+ "w-58": number;
441
+ "w-60": number;
442
+ };
443
+ Height: {
444
+ "h-1": number;
445
+ "h-2": number;
446
+ "h-3": number;
447
+ "h-4": number;
448
+ "h-5": number;
449
+ "h-6": number;
450
+ "h-7": number;
451
+ "h-8": number;
452
+ "h-9": number;
453
+ "h-10": number;
454
+ "h-11": number;
455
+ "h-12": number;
456
+ "h-13": number;
457
+ "h-14": number;
458
+ "h-15": number;
459
+ "h-16": number;
460
+ "h-17": number;
461
+ "h-18": number;
462
+ "h-19": number;
463
+ "h-20": number;
464
+ "h-21": number;
465
+ "h-22": number;
466
+ "h-23": number;
467
+ "h-24": number;
468
+ "h-25": number;
469
+ "h-26": number;
470
+ "h-27": number;
471
+ "h-28": number;
472
+ "h-29": number;
473
+ "h-30": number;
474
+ "h-34": number;
475
+ "h-45": number;
476
+ "h-50": number;
477
+ "h-54": number;
478
+ "h-58": number;
479
+ "h-60": number;
480
+ };
481
+ };
482
+ spacing: {
483
+ Gap: {
484
+ "gap-0": number;
485
+ "gap-1": number;
486
+ "gap-2": number;
487
+ "gap-3": number;
488
+ "gap-4": number;
489
+ "gap-5": number;
490
+ "gap-6": number;
491
+ "gap-7": number;
492
+ "gap-8": number;
493
+ "gap-9": number;
494
+ "gap-10": number;
495
+ "gap-11": number;
496
+ "gap-12": number;
497
+ "gap-14": number;
498
+ "gap-16": number;
499
+ "gap-20": number;
500
+ "gap-24": number;
501
+ "gap-28": number;
502
+ "gap-32": number;
503
+ "gap-36": number;
504
+ "gap-40": number;
505
+ };
506
+ Padding: {
507
+ "p-0": number;
508
+ "p-1": number;
509
+ "p-2": number;
510
+ "p-3": number;
511
+ "p-4": number;
512
+ "p-5": number;
513
+ "p-6": number;
514
+ "p-7": number;
515
+ "p-8": number;
516
+ "p-9": number;
517
+ "p-10": number;
518
+ "p-11": number;
519
+ "p-12": number;
520
+ "p-14": number;
521
+ "p-16": number;
522
+ "p-20": number;
523
+ "p-24": number;
524
+ "p-28": number;
525
+ "p-32": number;
526
+ "p-36": number;
527
+ "p-40": number;
528
+ };
529
+ };
530
+ typography: {
531
+ Color: {
532
+ Common: {
533
+ "text-primary": string;
534
+ "text-color-primary": string;
535
+ "text-color": string;
536
+ "text-color-secondary": string;
537
+ "text-white": string;
538
+ };
539
+ Surface: {
540
+ "text-surface-0": string;
541
+ "text-surface-50": string;
542
+ "text-surface-100": string;
543
+ "text-surface-200": string;
544
+ "text-surface-300": string;
545
+ "text-surface-400": string;
546
+ "text-surface-500": string;
547
+ "text-surface-600": string;
548
+ "text-surface-700": string;
549
+ "text-surface-800": string;
550
+ "text-surface-900": string;
551
+ };
552
+ Service: {
553
+ "text-help": string;
554
+ "text-info": string;
555
+ "text-success": string;
556
+ "text-warning": string;
557
+ "text-danger": string;
558
+ };
559
+ };
560
+ Size: {
561
+ "text-xs": number;
562
+ "text-sm": number;
563
+ "text-base": number;
564
+ "text-lg": number;
565
+ "text-xl": number;
566
+ "text-2xl": number;
567
+ "text-3xl": number;
568
+ "text-4xl": number;
569
+ "text-5xl": number;
570
+ "text-6xl": number;
571
+ "text-7xl": number;
572
+ "text-8xl": number;
573
+ };
574
+ };
575
+ custom: {};
576
+ shadow: {
577
+ boxShadow: {
578
+ shadow: string;
579
+ shadowSm: string;
580
+ };
581
+ };
582
+ };
@@ -0,0 +1,22 @@
1
+ import background from './assets/background.json';
2
+ import border from './assets/border.json';
3
+ import { customCommon } from './assets/customCommon';
4
+ import effects from './assets/effects.json';
5
+ import global from './assets/global.json';
6
+ import primaryColors from './assets/primaryColors.json';
7
+ import { shadow } from './assets/shadow';
8
+ import sizing from './assets/sizing.json';
9
+ import spacing from './assets/spacing.json';
10
+ import typography from './assets/typography.json';
11
+ export const commonTheme = {
12
+ background,
13
+ colors: { primary: primaryColors },
14
+ border,
15
+ effects,
16
+ global,
17
+ sizing,
18
+ spacing,
19
+ typography,
20
+ custom: customCommon,
21
+ shadow,
22
+ };
@@ -0,0 +1,2 @@
1
+ import type { ThemeType } from './types';
2
+ export declare const darkTheme: ThemeType;
@@ -0,0 +1,7 @@
1
+ import { customDark } from './assets/customDark';
2
+ import darkThemeAssets from './assets/themeDark.json';
3
+ import { commonTheme } from './commonTheme';
4
+ export const darkTheme = {
5
+ theme: { ...darkThemeAssets, custom: customDark },
6
+ ...commonTheme,
7
+ };
@@ -0,0 +1,4 @@
1
+ export { darkTheme } from './darkTheme';
2
+ export { lightTheme } from './lightTheme';
3
+ export { ThemeContextProvider, ThemeContext } from './ThemeContext';
4
+ export { type ThemeType, ThemeVariant, type FontsConfigType, type FontsConfig, } from './types';
@@ -0,0 +1,4 @@
1
+ export { darkTheme } from './darkTheme';
2
+ export { lightTheme } from './lightTheme';
3
+ export { ThemeContextProvider, ThemeContext } from './ThemeContext';
4
+ export { ThemeVariant, } from './types';
@@ -0,0 +1,2 @@
1
+ import type { ThemeType } from './types';
2
+ export declare const lightTheme: ThemeType;
@@ -0,0 +1,7 @@
1
+ import { customLight } from './assets/customLight';
2
+ import lightThemeAssets from './assets/themeLight.json';
3
+ import { commonTheme } from './commonTheme';
4
+ export const lightTheme = {
5
+ theme: { ...lightThemeAssets, custom: customLight },
6
+ ...commonTheme,
7
+ };