@idealyst/navigation 1.0.53 → 1.0.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/navigation",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "Cross-platform navigation library for React and React Native",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -37,8 +37,8 @@
37
37
  "publish:npm": "npm publish"
38
38
  },
39
39
  "peerDependencies": {
40
- "@idealyst/components": "^1.0.53",
41
- "@idealyst/theme": "^1.0.53",
40
+ "@idealyst/components": "^1.0.54",
41
+ "@idealyst/theme": "^1.0.54",
42
42
  "@react-navigation/bottom-tabs": "^7.0.0",
43
43
  "@react-navigation/drawer": "^7.0.0",
44
44
  "@react-navigation/native": "^7.0.0",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { AvatarExamples, BadgeExamples, ButtonExamples, CardExamples, CheckboxExamples, DialogExamples, DividerExamples, IconExamples, InputExamples, PopoverExamples, TextExamples, ViewExamples, ThemeExtensionExamples } from "../../../components/src/examples";
2
+ import { AvatarExamples, BadgeExamples, ButtonExamples, CardExamples, CheckboxExamples, DialogExamples, DividerExamples, IconExamples, InputExamples, PopoverExamples, SVGImageExamples, TextExamples, ViewExamples, ThemeExtensionExamples } from "../../../components/src/examples";
3
3
  import { DataGridShowcase } from "../../../datagrid/src/examples";
4
4
  import { DatePickerExamples } from "../../../datepicker/src/examples";
5
5
  import { Screen, Text, View, Button } from "../../../components/src";
@@ -131,6 +131,12 @@ const IconDrawerScreen = () => (
131
131
  </Screen>
132
132
  );
133
133
 
134
+ const SVGImageDrawerScreen = () => (
135
+ <Screen>
136
+ <SVGImageExamples />
137
+ </Screen>
138
+ );
139
+
134
140
  const DialogDrawerScreen = () => (
135
141
  <Screen>
136
142
  <DialogExamples />
@@ -178,6 +184,7 @@ const DrawerRouter: RouteParam = {
178
184
  { path: "text", component: TextDrawerScreen },
179
185
  { path: "view", component: ViewDrawerScreen },
180
186
  { path: "icon", component: IconDrawerScreen },
187
+ { path: "svg-image", component: SVGImageDrawerScreen },
181
188
  { path: "dialog", component: DialogDrawerScreen },
182
189
  { path: "popover", component: PopoverDrawerScreen },
183
190
  { path: "datagrid", component: DataGridDrawerScreen },
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { AvatarExamples, BadgeExamples, ButtonExamples, CardExamples, CheckboxExamples, DialogExamples, DividerExamples, IconExamples, InputExamples, PopoverExamples, ScreenExamples, TextExamples, ViewExamples, ThemeExtensionExamples } from "../../../components/src/examples";
2
+ import { AvatarExamples, BadgeExamples, ButtonExamples, CardExamples, CheckboxExamples, DialogExamples, DividerExamples, IconExamples, InputExamples, PopoverExamples, ScreenExamples, SVGImageExamples, TextExamples, ViewExamples, ThemeExtensionExamples } from "../../../components/src/examples";
3
3
  import { DataGridShowcase } from "../../../datagrid/src/examples";
4
4
  import { DatePickerExamples } from "../../../datepicker/src/examples";
5
5
  import { Button, Divider, Screen, Text, View } from "../../../components/src";
@@ -283,6 +283,7 @@ const StackRouter: RouteParam = {
283
283
  { path: "view", component: ViewExamples},
284
284
  { path: "screen", component: ScreenExamples},
285
285
  { path: "icon", component: IconExamples},
286
+ { path: "svg-image", component: SVGImageExamples},
286
287
  { path: "dialog", component: DialogExamples},
287
288
  { path: "popover", component: PopoverExamples},
288
289
  { path: "datagrid", component: DataGridShowcase},
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ButtonExamples, CardExamples, IconExamples, ThemeExtensionExamples } from "../../../components/src/examples";
2
+ import { ButtonExamples, CardExamples, IconExamples, SVGImageExamples, ThemeExtensionExamples } from "../../../components/src/examples";
3
3
  import { Screen, Text, View, Button, Icon } from "../../../components/src";
4
4
  import { UnistylesRuntime } from 'react-native-unistyles';
5
5
  import { RouteParam } from '../routing';
@@ -113,6 +113,11 @@ const ComponentsTabScreen = () => (
113
113
  <Text size="medium" weight="semibold">Icon Examples</Text>
114
114
  <IconExamples />
115
115
  </View>
116
+
117
+ <View spacing="md">
118
+ <Text size="medium" weight="semibold">SVG Image Examples</Text>
119
+ <SVGImageExamples />
120
+ </View>
116
121
  </View>
117
122
  </Screen>
118
123
  );