@robin-ux/native 0.1.1 → 0.1.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.
package/build/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { ThemeProvider, ThemeContext, useTheme, useThemeSafe, defaultTheme, defaultDarkTheme, defaultLightColors, defaultDarkColors, } from './theme';
2
- export type { Theme, ThemeColors, ThemeContextValue, ThemeProviderProps, } from './theme';
3
- export { Button, Text, Input, PasswordInput, BaseInput, SegmentedControl, Badge, DynamicStatusBar, } from './components';
4
- export type { ButtonProps, ButtonVariant, ButtonSize, TextProps, TextVariant, TextWeight, TextColor, TextAlign, InputProps, SegmentedControlProps, Segment, BadgeProps, BadgeStatus, DynamicStatusBarProps, } from './components';
5
- export { spacing, borderRadius, typography, shadows, layouts, useThemedStyles, createThemedStyle, } from './utils';
6
- export type { SpacingKey, BorderRadiusKey, TypographyVariant, ShadowKey, LayoutKey, } from './utils';
1
+ export { defaultDarkColors, defaultDarkTheme, defaultLightColors, defaultTheme, ThemeContext, ThemeProvider, useTheme, useThemeSafe } from "./theme";
2
+ export type { Theme, ThemeColors, ThemeContextValue, ThemeProviderProps } from "./theme";
3
+ export { Badge, BaseInput, Button, DynamicStatusBar, HeaderView, Input, PasswordInput, SegmentedControl, Text } from "./components";
4
+ export type { BadgeProps, BadgeStatus, ButtonProps, ButtonSize, ButtonVariant, DynamicStatusBarProps, InputProps, Segment, SegmentedControlProps, TextAlign, TextColor, TextProps, TextVariant, TextWeight, } from "./components";
5
+ export { borderRadius, createThemedStyle, layouts, shadows, spacing, typography, useThemedStyles } from "./utils";
6
+ export type { BorderRadiusKey, LayoutKey, ShadowKey, SpacingKey, TypographyVariant } from "./utils";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,QA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a,EACb,qBAAqB,EACrB,UAAU,EACV,OAAO,EACP,qBAAqB,EACrB,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,UAAU,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAElH,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
package/build/index.js CHANGED
@@ -2,9 +2,9 @@
2
2
  // @robin-ux/native - Themeable React Native UI Components
3
3
  // ============================================================================
4
4
  // Theme system
5
- export { ThemeProvider, ThemeContext, useTheme, useThemeSafe, defaultTheme, defaultDarkTheme, defaultLightColors, defaultDarkColors, } from './theme';
5
+ export { defaultDarkColors, defaultDarkTheme, defaultLightColors, defaultTheme, ThemeContext, ThemeProvider, useTheme, useThemeSafe } from "./theme";
6
6
  // Components
7
- export { Button, Text, Input, PasswordInput, BaseInput, SegmentedControl, Badge, DynamicStatusBar, } from './components';
7
+ export { Badge, BaseInput, Button, DynamicStatusBar, HeaderView, Input, PasswordInput, SegmentedControl, Text } from "./components";
8
8
  // Utilities
9
- export { spacing, borderRadius, typography, shadows, layouts, useThemedStyles, createThemedStyle, } from './utils';
9
+ export { borderRadius, createThemedStyle, layouts, shadows, spacing, typography, useThemedStyles } from "./utils";
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,0DAA0D;AAC1D,+EAA+E;AAE/E,eAAe;AACf,OAAO,EACL,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AASjB,aAAa;AACb,OAAO,EACL,MAAM,EACN,IAAI,EACJ,KAAK,EACL,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,KAAK,EACL,gBAAgB,GACjB,MAAM,cAAc,CAAC;AAmBtB,YAAY;AACZ,OAAO,EACL,OAAO,EACP,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,eAAe,EACf,iBAAiB,GAClB,MAAM,SAAS,CAAC","sourcesContent":["// ============================================================================\n// @robin-ux/native - Themeable React Native UI Components\n// ============================================================================\n\n// Theme system\nexport {\n ThemeProvider,\n ThemeContext,\n useTheme,\n useThemeSafe,\n defaultTheme,\n defaultDarkTheme,\n defaultLightColors,\n defaultDarkColors,\n} from './theme';\n\nexport type {\n Theme,\n ThemeColors,\n ThemeContextValue,\n ThemeProviderProps,\n} from './theme';\n\n// Components\nexport {\n Button,\n Text,\n Input,\n PasswordInput,\n BaseInput,\n SegmentedControl,\n Badge,\n DynamicStatusBar,\n} from './components';\n\nexport type {\n ButtonProps,\n ButtonVariant,\n ButtonSize,\n TextProps,\n TextVariant,\n TextWeight,\n TextColor,\n TextAlign,\n InputProps,\n SegmentedControlProps,\n Segment,\n BadgeProps,\n BadgeStatus,\n DynamicStatusBarProps,\n} from './components';\n\n// Utilities\nexport {\n spacing,\n borderRadius,\n typography,\n shadows,\n layouts,\n useThemedStyles,\n createThemedStyle,\n} from './utils';\n\nexport type {\n SpacingKey,\n BorderRadiusKey,\n TypographyVariant,\n ShadowKey,\n LayoutKey,\n} from './utils';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,0DAA0D;AAC1D,+EAA+E;AAE/E,eAAe;AACf,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIrJ,aAAa;AACb,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAmBpI,YAAY;AACZ,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC","sourcesContent":["// ============================================================================\n// @robin-ux/native - Themeable React Native UI Components\n// ============================================================================\n\n// Theme system\nexport { defaultDarkColors, defaultDarkTheme, defaultLightColors, defaultTheme, ThemeContext, ThemeProvider, useTheme, useThemeSafe } from \"./theme\";\n\nexport type { Theme, ThemeColors, ThemeContextValue, ThemeProviderProps } from \"./theme\";\n\n// Components\nexport { Badge, BaseInput, Button, DynamicStatusBar, HeaderView, Input, PasswordInput, SegmentedControl, Text } from \"./components\";\n\nexport type {\n BadgeProps,\n BadgeStatus,\n ButtonProps,\n ButtonSize,\n ButtonVariant,\n DynamicStatusBarProps,\n InputProps,\n Segment,\n SegmentedControlProps,\n TextAlign,\n TextColor,\n TextProps,\n TextVariant,\n TextWeight,\n} from \"./components\";\n\n// Utilities\nexport { borderRadius, createThemedStyle, layouts, shadows, spacing, typography, useThemedStyles } from \"./utils\";\n\nexport type { BorderRadiusKey, LayoutKey, ShadowKey, SpacingKey, TypographyVariant } from \"./utils\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robin-ux/native",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Themeable React Native UI components for Expo projects",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/src/index.ts CHANGED
@@ -3,68 +3,31 @@
3
3
  // ============================================================================
4
4
 
5
5
  // Theme system
6
- export {
7
- ThemeProvider,
8
- ThemeContext,
9
- useTheme,
10
- useThemeSafe,
11
- defaultTheme,
12
- defaultDarkTheme,
13
- defaultLightColors,
14
- defaultDarkColors,
15
- } from './theme';
6
+ export { defaultDarkColors, defaultDarkTheme, defaultLightColors, defaultTheme, ThemeContext, ThemeProvider, useTheme, useThemeSafe } from "./theme";
16
7
 
17
- export type {
18
- Theme,
19
- ThemeColors,
20
- ThemeContextValue,
21
- ThemeProviderProps,
22
- } from './theme';
8
+ export type { Theme, ThemeColors, ThemeContextValue, ThemeProviderProps } from "./theme";
23
9
 
24
10
  // Components
25
- export {
26
- Button,
27
- Text,
28
- Input,
29
- PasswordInput,
30
- BaseInput,
31
- SegmentedControl,
32
- Badge,
33
- DynamicStatusBar,
34
- } from './components';
11
+ export { Badge, BaseInput, Button, DynamicStatusBar, HeaderView, Input, PasswordInput, SegmentedControl, Text } from "./components";
35
12
 
36
13
  export type {
37
- ButtonProps,
38
- ButtonVariant,
39
- ButtonSize,
40
- TextProps,
41
- TextVariant,
42
- TextWeight,
43
- TextColor,
44
- TextAlign,
45
- InputProps,
46
- SegmentedControlProps,
47
- Segment,
48
- BadgeProps,
49
- BadgeStatus,
50
- DynamicStatusBarProps,
51
- } from './components';
14
+ BadgeProps,
15
+ BadgeStatus,
16
+ ButtonProps,
17
+ ButtonSize,
18
+ ButtonVariant,
19
+ DynamicStatusBarProps,
20
+ InputProps,
21
+ Segment,
22
+ SegmentedControlProps,
23
+ TextAlign,
24
+ TextColor,
25
+ TextProps,
26
+ TextVariant,
27
+ TextWeight,
28
+ } from "./components";
52
29
 
53
30
  // Utilities
54
- export {
55
- spacing,
56
- borderRadius,
57
- typography,
58
- shadows,
59
- layouts,
60
- useThemedStyles,
61
- createThemedStyle,
62
- } from './utils';
31
+ export { borderRadius, createThemedStyle, layouts, shadows, spacing, typography, useThemedStyles } from "./utils";
63
32
 
64
- export type {
65
- SpacingKey,
66
- BorderRadiusKey,
67
- TypographyVariant,
68
- ShadowKey,
69
- LayoutKey,
70
- } from './utils';
33
+ export type { BorderRadiusKey, LayoutKey, ShadowKey, SpacingKey, TypographyVariant } from "./utils";