@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 +6 -6
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +20 -57
package/build/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { Theme, ThemeColors, ThemeContextValue, ThemeProviderProps
|
|
3
|
-
export {
|
|
4
|
-
export type {
|
|
5
|
-
export {
|
|
6
|
-
export type {
|
|
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
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAErJ,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGzF,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpI,YAAY,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,UAAU,EACV,aAAa,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 {
|
|
5
|
+
export { defaultDarkColors, defaultDarkTheme, defaultLightColors, defaultTheme, ThemeContext, ThemeProvider, useTheme, useThemeSafe } from "./theme";
|
|
6
6
|
// Components
|
|
7
|
-
export {
|
|
7
|
+
export { Badge, BaseInput, Button, DynamicStatusBar, HeaderView, Input, PasswordInput, SegmentedControl, Text } from "./components";
|
|
8
8
|
// Utilities
|
|
9
|
-
export {
|
|
9
|
+
export { borderRadius, createThemedStyle, layouts, shadows, spacing, typography, useThemedStyles } from "./utils";
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -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,
|
|
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
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from
|
|
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";
|