@umituz/react-native-design-system 1.5.0 → 1.5.2

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 (209) hide show
  1. package/lib/index.d.ts +4 -4
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +13 -11
  4. package/lib/index.js.map +1 -1
  5. package/lib/presentation/atoms/AtomicAvatar.js +1 -1
  6. package/lib/presentation/atoms/AtomicAvatar.js.map +1 -1
  7. package/lib/presentation/atoms/AtomicAvatarGroup.js +1 -1
  8. package/lib/presentation/atoms/AtomicAvatarGroup.js.map +1 -1
  9. package/lib/presentation/atoms/AtomicBadge.js +1 -1
  10. package/lib/presentation/atoms/AtomicBadge.js.map +1 -1
  11. package/lib/presentation/atoms/AtomicButton.d.ts +1 -1
  12. package/lib/presentation/atoms/AtomicButton.d.ts.map +1 -1
  13. package/lib/presentation/atoms/AtomicButton.js +2 -2
  14. package/lib/presentation/atoms/AtomicButton.js.map +1 -1
  15. package/lib/presentation/atoms/AtomicCard.js +1 -1
  16. package/lib/presentation/atoms/AtomicCard.js.map +1 -1
  17. package/lib/presentation/atoms/AtomicChip.js +1 -1
  18. package/lib/presentation/atoms/AtomicChip.js.map +1 -1
  19. package/lib/presentation/atoms/AtomicDatePicker.js +1 -1
  20. package/lib/presentation/atoms/AtomicDatePicker.js.map +1 -1
  21. package/lib/presentation/atoms/AtomicDivider.js +1 -1
  22. package/lib/presentation/atoms/AtomicDivider.js.map +1 -1
  23. package/lib/presentation/atoms/AtomicFab.js +1 -1
  24. package/lib/presentation/atoms/AtomicFab.js.map +1 -1
  25. package/lib/presentation/atoms/AtomicFilter.js +1 -1
  26. package/lib/presentation/atoms/AtomicFilter.js.map +1 -1
  27. package/lib/presentation/atoms/AtomicFormError.js +2 -2
  28. package/lib/presentation/atoms/AtomicFormError.js.map +1 -1
  29. package/lib/presentation/atoms/AtomicIcon.d.ts +2 -3
  30. package/lib/presentation/atoms/AtomicIcon.d.ts.map +1 -1
  31. package/lib/presentation/atoms/AtomicIcon.js +1 -1
  32. package/lib/presentation/atoms/AtomicIcon.js.map +1 -1
  33. package/lib/presentation/atoms/AtomicImage.js +1 -1
  34. package/lib/presentation/atoms/AtomicImage.js.map +1 -1
  35. package/lib/presentation/atoms/AtomicInput.js +1 -1
  36. package/lib/presentation/atoms/AtomicInput.js.map +1 -1
  37. package/lib/presentation/atoms/AtomicPicker.js +1 -1
  38. package/lib/presentation/atoms/AtomicPicker.js.map +1 -1
  39. package/lib/presentation/atoms/AtomicProgress.js +1 -1
  40. package/lib/presentation/atoms/AtomicProgress.js.map +1 -1
  41. package/lib/presentation/atoms/AtomicSearchBar.js +1 -1
  42. package/lib/presentation/atoms/AtomicSearchBar.js.map +1 -1
  43. package/lib/presentation/atoms/AtomicSort.js +1 -1
  44. package/lib/presentation/atoms/AtomicSort.js.map +1 -1
  45. package/lib/presentation/atoms/AtomicSwitch.js +1 -1
  46. package/lib/presentation/atoms/AtomicSwitch.js.map +1 -1
  47. package/lib/presentation/atoms/AtomicText.d.ts +21 -1
  48. package/lib/presentation/atoms/AtomicText.d.ts.map +1 -1
  49. package/lib/presentation/atoms/AtomicText.js +33 -10
  50. package/lib/presentation/atoms/AtomicText.js.map +1 -1
  51. package/lib/presentation/atoms/AtomicTextArea.js +1 -1
  52. package/lib/presentation/atoms/AtomicTextArea.js.map +1 -1
  53. package/lib/presentation/atoms/AtomicTouchable.js +1 -1
  54. package/lib/presentation/atoms/AtomicTouchable.js.map +1 -1
  55. package/lib/presentation/atoms/fab/styles/fabStyles.d.ts +1 -1
  56. package/lib/presentation/atoms/fab/styles/fabStyles.d.ts.map +1 -1
  57. package/lib/presentation/atoms/index.d.ts +1 -1
  58. package/lib/presentation/atoms/input/styles/inputStyles.d.ts +1 -1
  59. package/lib/presentation/atoms/input/styles/inputStyles.d.ts.map +1 -1
  60. package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts +12 -23
  61. package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts.map +1 -1
  62. package/lib/presentation/atoms/picker/styles/pickerStyles.js.map +1 -1
  63. package/lib/presentation/molecules/AtomicConfirmationModal.js +1 -1
  64. package/lib/presentation/molecules/AtomicConfirmationModal.js.map +1 -1
  65. package/lib/presentation/molecules/EmptyState.js +1 -1
  66. package/lib/presentation/molecules/EmptyState.js.map +1 -1
  67. package/lib/presentation/molecules/FormField.js +1 -1
  68. package/lib/presentation/molecules/FormField.js.map +1 -1
  69. package/lib/presentation/molecules/IconContainer.js +1 -1
  70. package/lib/presentation/molecules/IconContainer.js.map +1 -1
  71. package/lib/presentation/molecules/ListItem.js +1 -1
  72. package/lib/presentation/molecules/ListItem.js.map +1 -1
  73. package/lib/presentation/molecules/ScreenHeader.js +1 -1
  74. package/lib/presentation/molecules/ScreenHeader.js.map +1 -1
  75. package/lib/presentation/molecules/SearchBar.js +1 -1
  76. package/lib/presentation/molecules/SearchBar.js.map +1 -1
  77. package/lib/presentation/molecules/SectionCard.js +1 -1
  78. package/lib/presentation/molecules/SectionCard.js.map +1 -1
  79. package/lib/presentation/molecules/SectionContainer.js +1 -1
  80. package/lib/presentation/molecules/SectionContainer.js.map +1 -1
  81. package/lib/presentation/molecules/SectionHeader.js +1 -1
  82. package/lib/presentation/molecules/SectionHeader.js.map +1 -1
  83. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts +1 -1
  84. package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts.map +1 -1
  85. package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts +1 -1
  86. package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts.map +1 -1
  87. package/lib/presentation/organisms/AppHeader.d.ts +3 -2
  88. package/lib/presentation/organisms/AppHeader.d.ts.map +1 -1
  89. package/lib/presentation/organisms/AppHeader.js +1 -1
  90. package/lib/presentation/organisms/AppHeader.js.map +1 -1
  91. package/lib/presentation/organisms/FormContainer.js +1 -1
  92. package/lib/presentation/organisms/FormContainer.js.map +1 -1
  93. package/lib/presentation/organisms/ScreenLayout.js +1 -1
  94. package/lib/presentation/organisms/ScreenLayout.js.map +1 -1
  95. package/lib/presentation/tokens/commonStyles.js +1 -1
  96. package/lib/presentation/tokens/commonStyles.js.map +1 -1
  97. package/package.json +1 -1
  98. package/src/index.ts +16 -16
  99. package/src/presentation/atoms/AtomicAvatar.tsx +1 -1
  100. package/src/presentation/atoms/AtomicAvatarGroup.tsx +1 -1
  101. package/src/presentation/atoms/AtomicBadge.tsx +2 -2
  102. package/src/presentation/atoms/AtomicButton.tsx +3 -3
  103. package/src/presentation/atoms/AtomicCard.tsx +1 -1
  104. package/src/presentation/atoms/AtomicChip.tsx +1 -1
  105. package/src/presentation/atoms/AtomicDatePicker.tsx +1 -1
  106. package/src/presentation/atoms/AtomicDivider.tsx +1 -1
  107. package/src/presentation/atoms/AtomicFab.tsx +1 -1
  108. package/src/presentation/atoms/AtomicFilter.tsx +1 -1
  109. package/src/presentation/atoms/AtomicFormError.tsx +2 -2
  110. package/src/presentation/atoms/AtomicIcon.tsx +3 -4
  111. package/src/presentation/atoms/AtomicImage.tsx +1 -1
  112. package/src/presentation/atoms/AtomicInput.tsx +1 -1
  113. package/src/presentation/atoms/AtomicPicker.tsx +1 -1
  114. package/src/presentation/atoms/AtomicProgress.tsx +1 -1
  115. package/src/presentation/atoms/AtomicSearchBar.tsx +1 -1
  116. package/src/presentation/atoms/AtomicSort.tsx +1 -1
  117. package/src/presentation/atoms/AtomicSwitch.tsx +1 -1
  118. package/src/presentation/atoms/AtomicText.tsx +83 -13
  119. package/src/presentation/atoms/AtomicTextArea.tsx +1 -1
  120. package/src/presentation/atoms/AtomicTouchable.tsx +1 -1
  121. package/src/presentation/atoms/fab/styles/fabStyles.ts +1 -1
  122. package/src/presentation/atoms/input/styles/inputStyles.ts +1 -1
  123. package/src/presentation/atoms/picker/styles/pickerStyles.ts +13 -6
  124. package/src/presentation/molecules/AtomicConfirmationModal.tsx +1 -1
  125. package/src/presentation/molecules/EmptyState.tsx +1 -1
  126. package/src/presentation/molecules/FormField.tsx +1 -1
  127. package/src/presentation/molecules/IconContainer.tsx +1 -1
  128. package/src/presentation/molecules/ListItem.tsx +1 -1
  129. package/src/presentation/molecules/ScreenHeader.tsx +1 -1
  130. package/src/presentation/molecules/SearchBar.tsx +1 -1
  131. package/src/presentation/molecules/SectionCard.tsx +1 -1
  132. package/src/presentation/molecules/SectionContainer.tsx +1 -1
  133. package/src/presentation/molecules/SectionHeader.tsx +1 -1
  134. package/src/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.ts +1 -1
  135. package/src/presentation/molecules/listitem/styles/listItemStyles.ts +1 -1
  136. package/src/presentation/organisms/AppHeader.tsx +4 -3
  137. package/src/presentation/organisms/FormContainer.tsx +1 -1
  138. package/src/presentation/organisms/ScreenLayout.tsx +1 -1
  139. package/src/presentation/tokens/commonStyles.ts +1 -1
  140. package/lib/domains/icons/domain/config/IconLibraryConfig.d.ts +0 -91
  141. package/lib/domains/icons/domain/config/IconLibraryConfig.d.ts.map +0 -1
  142. package/lib/domains/icons/domain/config/IconLibraryConfig.js +0 -85
  143. package/lib/domains/icons/domain/config/IconLibraryConfig.js.map +0 -1
  144. package/lib/domains/icons/domain/entities/Icon.d.ts +0 -111
  145. package/lib/domains/icons/domain/entities/Icon.d.ts.map +0 -1
  146. package/lib/domains/icons/domain/entities/Icon.js +0 -87
  147. package/lib/domains/icons/domain/entities/Icon.js.map +0 -1
  148. package/lib/domains/icons/domain/interfaces/IIconAdapter.d.ts +0 -114
  149. package/lib/domains/icons/domain/interfaces/IIconAdapter.d.ts.map +0 -1
  150. package/lib/domains/icons/domain/interfaces/IIconAdapter.js +0 -17
  151. package/lib/domains/icons/domain/interfaces/IIconAdapter.js.map +0 -1
  152. package/lib/domains/icons/index.d.ts +0 -84
  153. package/lib/domains/icons/index.d.ts.map +0 -1
  154. package/lib/domains/icons/index.js +0 -89
  155. package/lib/domains/icons/index.js.map +0 -1
  156. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.d.ts +0 -24
  157. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.d.ts.map +0 -1
  158. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.js +0 -85
  159. package/lib/domains/icons/infrastructure/adapters/LucideAdapter.js.map +0 -1
  160. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.d.ts +0 -23
  161. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.d.ts.map +0 -1
  162. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.js +0 -178
  163. package/lib/domains/icons/infrastructure/registries/ExpoIconRegistry.js.map +0 -1
  164. package/lib/domains/icons/presentation/components/Icon.d.ts +0 -42
  165. package/lib/domains/icons/presentation/components/Icon.d.ts.map +0 -1
  166. package/lib/domains/icons/presentation/components/Icon.js +0 -86
  167. package/lib/domains/icons/presentation/components/Icon.js.map +0 -1
  168. package/lib/domains/icons/presentation/hooks/useIconLibrary.d.ts +0 -38
  169. package/lib/domains/icons/presentation/hooks/useIconLibrary.d.ts.map +0 -1
  170. package/lib/domains/icons/presentation/hooks/useIconLibrary.js +0 -114
  171. package/lib/domains/icons/presentation/hooks/useIconLibrary.js.map +0 -1
  172. package/lib/infrastructure/theme/globalThemeStore.d.ts +0 -42
  173. package/lib/infrastructure/theme/globalThemeStore.d.ts.map +0 -1
  174. package/lib/infrastructure/theme/globalThemeStore.js +0 -38
  175. package/lib/infrastructure/theme/globalThemeStore.js.map +0 -1
  176. package/lib/presentation/hooks/useAppDesignTokens.d.ts +0 -34
  177. package/lib/presentation/hooks/useAppDesignTokens.d.ts.map +0 -1
  178. package/lib/presentation/hooks/useAppDesignTokens.js +0 -39
  179. package/lib/presentation/hooks/useAppDesignTokens.js.map +0 -1
  180. package/lib/presentation/tokens/AppDesignTokens.d.ts +0 -14
  181. package/lib/presentation/tokens/AppDesignTokens.d.ts.map +0 -1
  182. package/lib/presentation/tokens/AppDesignTokens.js +0 -23
  183. package/lib/presentation/tokens/AppDesignTokens.js.map +0 -1
  184. package/lib/presentation/tokens/core/BaseTokens.d.ts +0 -312
  185. package/lib/presentation/tokens/core/BaseTokens.d.ts.map +0 -1
  186. package/lib/presentation/tokens/core/BaseTokens.js +0 -304
  187. package/lib/presentation/tokens/core/BaseTokens.js.map +0 -1
  188. package/lib/presentation/tokens/core/ColorPalette.d.ts +0 -216
  189. package/lib/presentation/tokens/core/ColorPalette.d.ts.map +0 -1
  190. package/lib/presentation/tokens/core/ColorPalette.js +0 -330
  191. package/lib/presentation/tokens/core/ColorPalette.js.map +0 -1
  192. package/lib/presentation/tokens/core/TokenFactory.d.ts +0 -216
  193. package/lib/presentation/tokens/core/TokenFactory.d.ts.map +0 -1
  194. package/lib/presentation/tokens/core/TokenFactory.js +0 -86
  195. package/lib/presentation/tokens/core/TokenFactory.js.map +0 -1
  196. package/src/domains/icons/domain/config/IconLibraryConfig.ts +0 -93
  197. package/src/domains/icons/domain/entities/Icon.ts +0 -143
  198. package/src/domains/icons/domain/interfaces/IIconAdapter.ts +0 -147
  199. package/src/domains/icons/index.ts +0 -109
  200. package/src/domains/icons/infrastructure/adapters/LucideAdapter.ts +0 -100
  201. package/src/domains/icons/infrastructure/registries/ExpoIconRegistry.ts +0 -191
  202. package/src/domains/icons/presentation/components/Icon.tsx +0 -132
  203. package/src/domains/icons/presentation/hooks/useIconLibrary.ts +0 -141
  204. package/src/infrastructure/theme/globalThemeStore.ts +0 -51
  205. package/src/presentation/hooks/useAppDesignTokens.ts +0 -40
  206. package/src/presentation/tokens/AppDesignTokens.ts +0 -55
  207. package/src/presentation/tokens/core/BaseTokens.ts +0 -372
  208. package/src/presentation/tokens/core/ColorPalette.ts +0 -400
  209. package/src/presentation/tokens/core/TokenFactory.ts +0 -118
@@ -1,39 +0,0 @@
1
- /**
2
- * useAppDesignTokens Hook - Theme-Aware Design Tokens
3
- *
4
- * ✅ Automatically reads theme from global store
5
- * ✅ No parameters needed - fully automatic!
6
- * ✅ Returns tokens for current theme (light/dark)
7
- * ✅ Single source of truth
8
- *
9
- * @example Usage (fully automatic theme-aware)
10
- * ```typescript
11
- * import { useAppDesignTokens } from '@umituz/react-native-design-system';
12
- *
13
- * const MyComponent = () => {
14
- * const tokens = useAppDesignTokens(); // Automatically uses current theme!
15
- * return (
16
- * <View style={{
17
- * backgroundColor: tokens.colors.primary,
18
- * padding: tokens.spacing.md
19
- * }}>
20
- * <Text style={tokens.typography.bodyLarge}>Hello!</Text>
21
- * </View>
22
- * );
23
- * };
24
- * ```
25
- *
26
- * How it works:
27
- * - Reads themeMode from global store (useDesignSystemTheme)
28
- * - App's theme store syncs to global store automatically
29
- * - All components get correct tokens without prop drilling
30
- * - Change theme once, everything updates!
31
- */
32
- import { useMemo } from 'react';
33
- import { createDesignTokens } from '../tokens/core/TokenFactory';
34
- import { useDesignSystemTheme } from '../../infrastructure/theme/globalThemeStore';
35
- export const useAppDesignTokens = () => {
36
- const { themeMode } = useDesignSystemTheme();
37
- return useMemo(() => createDesignTokens(themeMode), [themeMode]);
38
- };
39
- //# sourceMappingURL=useAppDesignTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAppDesignTokens.js","sourceRoot":"","sources":["../../../src/presentation/hooks/useAppDesignTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAqB,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAiB,EAAE;IACnD,MAAM,EAAE,SAAS,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAC7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,SAAS,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;AACnE,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * DESIGN TOKENS - PUBLIC API
3
- *
4
- * ✅ CLEAN BARREL EXPORT - Single source of truth
5
- * ✅ ZERO DUPLICATION - All tokens from TokenFactory
6
- * ✅ TYPE-SAFE - Full TypeScript support
7
- * ✅ FACTORY-FIRST - Benefits all 100+ generated apps
8
- *
9
- * @module AppDesignTokens
10
- */
11
- export { createDesignTokens, STATIC_DESIGN_TOKENS, STATIC_TOKENS, withAlpha, type DesignTokens, type ThemeMode, type ColorPalette, } from './core/TokenFactory';
12
- export { BASE_TOKENS, spacing, typography, borders, iconSizes, opacity, avatarSizes, type Spacing, type Typography, type Borders, type IconSizes, type Opacity, type AvatarSizes, type BaseTokens, } from './core/BaseTokens';
13
- export { lightColors, darkColors, getColorPalette, } from './core/ColorPalette';
14
- //# sourceMappingURL=AppDesignTokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppDesignTokens.d.ts","sourceRoot":"","sources":["../../../src/presentation/tokens/AppDesignTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,EACP,SAAS,EACT,OAAO,EACP,WAAW,EACX,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EACL,WAAW,EACX,UAAU,EACV,eAAe,GAChB,MAAM,qBAAqB,CAAC"}
@@ -1,23 +0,0 @@
1
- /**
2
- * DESIGN TOKENS - PUBLIC API
3
- *
4
- * ✅ CLEAN BARREL EXPORT - Single source of truth
5
- * ✅ ZERO DUPLICATION - All tokens from TokenFactory
6
- * ✅ TYPE-SAFE - Full TypeScript support
7
- * ✅ FACTORY-FIRST - Benefits all 100+ generated apps
8
- *
9
- * @module AppDesignTokens
10
- */
11
- // =============================================================================
12
- // CORE EXPORTS (from TokenFactory)
13
- // =============================================================================
14
- export { createDesignTokens, STATIC_DESIGN_TOKENS, STATIC_TOKENS, withAlpha, } from './core/TokenFactory';
15
- // =============================================================================
16
- // BASE TOKEN EXPORTS
17
- // =============================================================================
18
- export { BASE_TOKENS, spacing, typography, borders, iconSizes, opacity, avatarSizes, } from './core/BaseTokens';
19
- // =============================================================================
20
- // COLOR PALETTE EXPORTS
21
- // =============================================================================
22
- export { lightColors, darkColors, getColorPalette, } from './core/ColorPalette';
23
- //# sourceMappingURL=AppDesignTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppDesignTokens.js","sourceRoot":"","sources":["../../../src/presentation/tokens/AppDesignTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,gFAAgF;AAChF,mCAAmC;AACnC,gFAAgF;AAEhF,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,SAAS,GAIV,MAAM,qBAAqB,CAAC;AAE7B,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF,OAAO,EACL,WAAW,EACX,OAAO,EACP,UAAU,EACV,OAAO,EACP,SAAS,EACT,OAAO,EACP,WAAW,GAQZ,MAAM,mBAAmB,CAAC;AAE3B,gFAAgF;AAChF,wBAAwB;AACxB,gFAAgF;AAEhF,OAAO,EACL,WAAW,EACX,UAAU,EACV,eAAe,GAChB,MAAM,qBAAqB,CAAC"}
@@ -1,312 +0,0 @@
1
- /**
2
- * BASE DESIGN TOKENS - SINGLE SOURCE OF TRUTH
3
- *
4
- * ✅ STATIC tokens that don't change with theme
5
- * ✅ DRY Principle - Each value defined ONCE
6
- * ✅ Type-safe with full TypeScript support
7
- * ✅ Factory-first design for 100+ generated apps
8
- *
9
- * @module BaseTokens
10
- */
11
- import { TextStyle } from 'react-native';
12
- export declare const spacing: {
13
- readonly xs: 4;
14
- readonly sm: 8;
15
- readonly md: 16;
16
- readonly lg: 24;
17
- readonly xl: 32;
18
- readonly xxl: 48;
19
- readonly xxxl: 64;
20
- readonly screenPadding: 20;
21
- readonly cardPadding: 16;
22
- readonly buttonPadding: 16;
23
- readonly inputPadding: 8;
24
- readonly sectionSpacing: 24;
25
- readonly iconSizeSmall: 16;
26
- readonly iconSizeMedium: 20;
27
- readonly iconSizeLarge: 24;
28
- readonly iconSizeXLarge: 32;
29
- readonly iconSizeHero: 64;
30
- readonly buttonHeight: 48;
31
- readonly inputHeight: 48;
32
- readonly appBarHeight: 56;
33
- readonly tabBarHeight: 60;
34
- };
35
- export declare const typography: {
36
- readonly fontPrimary: "System";
37
- readonly fontSecondary: "System";
38
- readonly fontMono: "Courier New";
39
- readonly xs: 12;
40
- readonly sm: 14;
41
- readonly md: 16;
42
- readonly lg: 18;
43
- readonly xl: 20;
44
- readonly xxl: 24;
45
- readonly xxxl: 32;
46
- readonly light: "300";
47
- readonly regular: "400";
48
- readonly medium: "500";
49
- readonly semibold: "600";
50
- readonly bold: "700";
51
- readonly lineHeightTight: 1.2;
52
- readonly lineHeightNormal: 1.5;
53
- readonly lineHeightRelaxed: 1.7;
54
- readonly displayLarge: TextStyle;
55
- readonly displayMedium: TextStyle;
56
- readonly displaySmall: TextStyle;
57
- readonly headlineLarge: TextStyle;
58
- readonly headlineMedium: TextStyle;
59
- readonly headlineSmall: TextStyle;
60
- readonly titleLarge: TextStyle;
61
- readonly titleMedium: TextStyle;
62
- readonly titleSmall: TextStyle;
63
- readonly bodyLarge: TextStyle;
64
- readonly bodyMedium: TextStyle;
65
- readonly bodySmall: TextStyle;
66
- readonly labelLarge: TextStyle;
67
- readonly labelMedium: TextStyle;
68
- readonly labelSmall: TextStyle;
69
- readonly headingLarge: TextStyle;
70
- readonly headingMedium: TextStyle;
71
- readonly headingSmall: TextStyle;
72
- readonly button: TextStyle;
73
- readonly caption: TextStyle;
74
- readonly overline: TextStyle;
75
- };
76
- export declare const opacity: {
77
- readonly disabled: 0.6;
78
- readonly subtle: 0.8;
79
- readonly medium: 0.5;
80
- readonly light: 0.3;
81
- readonly veryLight: 0.1;
82
- };
83
- export declare const borders: {
84
- readonly radius: {
85
- readonly none: 0;
86
- readonly xs: 2;
87
- readonly sm: 4;
88
- readonly md: 8;
89
- readonly lg: 12;
90
- readonly xl: 16;
91
- readonly xxl: 24;
92
- readonly full: 9999;
93
- };
94
- readonly width: {
95
- readonly none: 0;
96
- readonly thin: 1;
97
- readonly medium: 2;
98
- readonly thick: 4;
99
- };
100
- readonly button: {
101
- readonly borderRadius: 8;
102
- readonly borderWidth: 0;
103
- };
104
- readonly card: {
105
- readonly borderRadius: 12;
106
- readonly borderWidth: 1;
107
- };
108
- readonly input: {
109
- readonly borderRadius: 8;
110
- readonly borderWidth: 1;
111
- };
112
- readonly pill: {
113
- readonly borderRadius: 9999;
114
- readonly borderWidth: 0;
115
- };
116
- };
117
- export declare const sizes: {
118
- readonly touchTarget: 44;
119
- readonly touchTargetSmall: 36;
120
- readonly touchTargetLarge: 56;
121
- readonly buttonHeight: {
122
- readonly sm: 40;
123
- readonly md: 48;
124
- readonly lg: 56;
125
- readonly xl: 64;
126
- };
127
- readonly dot: {
128
- readonly inactive: 8;
129
- readonly active: 24;
130
- };
131
- readonly progressBar: {
132
- readonly thin: 2;
133
- readonly normal: 4;
134
- readonly thick: 6;
135
- };
136
- readonly divider: 1;
137
- readonly separator: 2;
138
- };
139
- export declare const iconSizes: {
140
- readonly xs: 12;
141
- readonly sm: 16;
142
- readonly md: 20;
143
- readonly lg: 24;
144
- readonly xl: 32;
145
- readonly xxl: 40;
146
- };
147
- export declare const avatarSizes: {
148
- readonly xs: 24;
149
- readonly sm: 32;
150
- readonly md: 40;
151
- readonly lg: 48;
152
- readonly xl: 64;
153
- readonly xxl: 80;
154
- };
155
- /**
156
- * All static design tokens in one place
157
- * These values DON'T change with theme (light/dark)
158
- */
159
- export declare const BASE_TOKENS: {
160
- readonly spacing: {
161
- readonly xs: 4;
162
- readonly sm: 8;
163
- readonly md: 16;
164
- readonly lg: 24;
165
- readonly xl: 32;
166
- readonly xxl: 48;
167
- readonly xxxl: 64;
168
- readonly screenPadding: 20;
169
- readonly cardPadding: 16;
170
- readonly buttonPadding: 16;
171
- readonly inputPadding: 8;
172
- readonly sectionSpacing: 24;
173
- readonly iconSizeSmall: 16;
174
- readonly iconSizeMedium: 20;
175
- readonly iconSizeLarge: 24;
176
- readonly iconSizeXLarge: 32;
177
- readonly iconSizeHero: 64;
178
- readonly buttonHeight: 48;
179
- readonly inputHeight: 48;
180
- readonly appBarHeight: 56;
181
- readonly tabBarHeight: 60;
182
- };
183
- readonly typography: {
184
- readonly fontPrimary: "System";
185
- readonly fontSecondary: "System";
186
- readonly fontMono: "Courier New";
187
- readonly xs: 12;
188
- readonly sm: 14;
189
- readonly md: 16;
190
- readonly lg: 18;
191
- readonly xl: 20;
192
- readonly xxl: 24;
193
- readonly xxxl: 32;
194
- readonly light: "300";
195
- readonly regular: "400";
196
- readonly medium: "500";
197
- readonly semibold: "600";
198
- readonly bold: "700";
199
- readonly lineHeightTight: 1.2;
200
- readonly lineHeightNormal: 1.5;
201
- readonly lineHeightRelaxed: 1.7;
202
- readonly displayLarge: TextStyle;
203
- readonly displayMedium: TextStyle;
204
- readonly displaySmall: TextStyle;
205
- readonly headlineLarge: TextStyle;
206
- readonly headlineMedium: TextStyle;
207
- readonly headlineSmall: TextStyle;
208
- readonly titleLarge: TextStyle;
209
- readonly titleMedium: TextStyle;
210
- readonly titleSmall: TextStyle;
211
- readonly bodyLarge: TextStyle;
212
- readonly bodyMedium: TextStyle;
213
- readonly bodySmall: TextStyle;
214
- readonly labelLarge: TextStyle;
215
- readonly labelMedium: TextStyle;
216
- readonly labelSmall: TextStyle;
217
- readonly headingLarge: TextStyle;
218
- readonly headingMedium: TextStyle;
219
- readonly headingSmall: TextStyle;
220
- readonly button: TextStyle;
221
- readonly caption: TextStyle;
222
- readonly overline: TextStyle;
223
- };
224
- readonly opacity: {
225
- readonly disabled: 0.6;
226
- readonly subtle: 0.8;
227
- readonly medium: 0.5;
228
- readonly light: 0.3;
229
- readonly veryLight: 0.1;
230
- };
231
- readonly borders: {
232
- readonly radius: {
233
- readonly none: 0;
234
- readonly xs: 2;
235
- readonly sm: 4;
236
- readonly md: 8;
237
- readonly lg: 12;
238
- readonly xl: 16;
239
- readonly xxl: 24;
240
- readonly full: 9999;
241
- };
242
- readonly width: {
243
- readonly none: 0;
244
- readonly thin: 1;
245
- readonly medium: 2;
246
- readonly thick: 4;
247
- };
248
- readonly button: {
249
- readonly borderRadius: 8;
250
- readonly borderWidth: 0;
251
- };
252
- readonly card: {
253
- readonly borderRadius: 12;
254
- readonly borderWidth: 1;
255
- };
256
- readonly input: {
257
- readonly borderRadius: 8;
258
- readonly borderWidth: 1;
259
- };
260
- readonly pill: {
261
- readonly borderRadius: 9999;
262
- readonly borderWidth: 0;
263
- };
264
- };
265
- readonly sizes: {
266
- readonly touchTarget: 44;
267
- readonly touchTargetSmall: 36;
268
- readonly touchTargetLarge: 56;
269
- readonly buttonHeight: {
270
- readonly sm: 40;
271
- readonly md: 48;
272
- readonly lg: 56;
273
- readonly xl: 64;
274
- };
275
- readonly dot: {
276
- readonly inactive: 8;
277
- readonly active: 24;
278
- };
279
- readonly progressBar: {
280
- readonly thin: 2;
281
- readonly normal: 4;
282
- readonly thick: 6;
283
- };
284
- readonly divider: 1;
285
- readonly separator: 2;
286
- };
287
- readonly iconSizes: {
288
- readonly xs: 12;
289
- readonly sm: 16;
290
- readonly md: 20;
291
- readonly lg: 24;
292
- readonly xl: 32;
293
- readonly xxl: 40;
294
- };
295
- readonly avatarSizes: {
296
- readonly xs: 24;
297
- readonly sm: 32;
298
- readonly md: 40;
299
- readonly lg: 48;
300
- readonly xl: 64;
301
- readonly xxl: 80;
302
- };
303
- };
304
- export type Spacing = typeof spacing;
305
- export type Typography = typeof typography;
306
- export type Opacity = typeof opacity;
307
- export type Borders = typeof borders;
308
- export type Sizes = typeof sizes;
309
- export type IconSizes = typeof iconSizes;
310
- export type AvatarSizes = typeof avatarSizes;
311
- export type BaseTokens = typeof BASE_TOKENS;
312
- //# sourceMappingURL=BaseTokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseTokens.d.ts","sourceRoot":"","sources":["../../../../src/presentation/tokens/core/BaseTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAMzC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;CA6BV,CAAC;AAMX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;2BAoChB,SAAS;4BAMT,SAAS;2BAMT,SAAS;4BAOT,SAAS;6BAMT,SAAS;4BAMT,SAAS;yBAOT,SAAS;0BAMT,SAAS;yBAMT,SAAS;wBAOT,SAAS;yBAMT,SAAS;wBAMT,SAAS;yBAOT,SAAS;0BAMT,SAAS;yBAMT,SAAS;2BAUT,SAAS;4BAMT,SAAS;2BAMT,SAAS;qBAMT,SAAS;sBAMT,SAAS;uBAQT,SAAS;CACN,CAAC;AAMX,eAAO,MAAM,OAAO;;;;;;CAMV,CAAC;AAMX,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCV,CAAC;AAMX,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;CA8BR,CAAC;AAMX,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAMX,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAMX;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAtQjB,SAAS;gCAMT,SAAS;+BAMT,SAAS;gCAOT,SAAS;iCAMT,SAAS;gCAMT,SAAS;6BAOT,SAAS;8BAMT,SAAS;6BAMT,SAAS;4BAOT,SAAS;6BAMT,SAAS;4BAMT,SAAS;6BAOT,SAAS;8BAMT,SAAS;6BAMT,SAAS;+BAUT,SAAS;gCAMT,SAAS;+BAMT,SAAS;yBAMT,SAAS;0BAMT,SAAS;2BAQT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4IN,CAAC;AAMX,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC;AACrC,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC;AAC3C,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC;AACrC,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC;AACrC,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC;AACjC,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC;AACzC,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC;AAC7C,MAAM,MAAM,UAAU,GAAG,OAAO,WAAW,CAAC"}