@impulse-ui-native/toolkit 3.0.0 → 5.0.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.
package/README.md CHANGED
@@ -7,8 +7,10 @@ The complete Impulse UI Native component library in one package.
7
7
  ## Highlights
8
8
 
9
9
  - React Native components with TypeScript types.
10
+ - `Carousel` with native snapping, centered previews, adaptive pagination, and
11
+ reduced-motion-aware navigation. See the [Carousel API](../carousel/README.md).
10
12
  - One theme system shared by every component.
11
- - Works with native applications and React Native Web.
13
+ - Works with React Native mobile applications.
12
14
  - Gesture-driven flyouts and app-wide overlay management.
13
15
  - Single- and multi-select controls, date/time pickers, charts, skeletons, and data states.
14
16
  - Modular internals: applications with a narrow use case can install an individual `@impulse-ui-native/*` package instead.
@@ -118,13 +120,20 @@ All toolkit components and public types are available from the package root:
118
120
  ```tsx
119
121
  import { useState } from "react";
120
122
 
121
- import { Button, Input, Typography, View } from "@impulse-ui-native/toolkit";
123
+ import {
124
+ Button,
125
+ Input,
126
+ Typography,
127
+ useSpace,
128
+ View,
129
+ } from "@impulse-ui-native/toolkit";
122
130
 
123
131
  export function SignInForm() {
124
132
  const [email, setEmail] = useState("");
133
+ const space = useSpace();
125
134
 
126
135
  return (
127
- <View gap="md" padding="lg">
136
+ <View gap={space.md} padding={space.lg}>
128
137
  <Typography.Title2>Welcome back</Typography.Title2>
129
138
  <Input
130
139
  autoCapitalize="none"
@@ -204,7 +213,7 @@ Theme overrides are deep partials. Hooks including `useTheme`, `useColors`, `use
204
213
  - Date and time: `DatePicker`, `DateRangePicker`, `DatetimePicker`, `DatetimeRangePicker`, and `TimePicker`.
205
214
  - Charts: line, bar, pie, multi-series chart components, axes, grids, labels, hooks, and utilities.
206
215
  - Feedback: `Skeleton`, `DataView`, `LoadingView`, `EmptyView`, and `ErrorView`.
207
- - Navigation and overlays: `Stepper`, `Flyout`, `OverlayHost`, `OverlayProvider`, `OverlayStore`, overlay registration types, `Portal`, `PortalProvider`, `PortalStore`, and portal hosts.
216
+ - Navigation and overlays: `Pagination`, `Stepper`, `Flyout`, `OverlayHost`, `OverlayProvider`, `OverlayStore`, overlay registration types, `Portal`, `PortalProvider`, `PortalStore`, and portal hosts.
208
217
  - Data utilities: `EchoInstance`, echo hooks, and typed Axios/TanStack Query endpoint factories.
209
218
 
210
219
  ## Icons
package/dist/index.d.mts CHANGED
@@ -1,12 +1,15 @@
1
1
  export * from '@impulse-ui-native/core';
2
2
  export * from '@impulse-ui-native/theme';
3
3
  export * from '@impulse-ui-native/overlay';
4
+ export * from '@impulse-ui-native/pagination';
5
+ export * from '@impulse-ui-native/carousel';
4
6
  export * from '@impulse-ui-native/portal';
5
7
  export * from '@impulse-ui-native/accordion';
6
8
  export * from '@impulse-ui-native/charts';
7
9
  export * from '@impulse-ui-native/checkbox';
8
10
  export * from '@impulse-ui-native/primitives';
9
11
  export * from '@impulse-ui-native/radio';
12
+ export * from '@impulse-ui-native/segmented-control';
10
13
  export * from '@impulse-ui-native/flyout';
11
14
  export * from '@impulse-ui-native/form-field';
12
15
  export * from '@impulse-ui-native/input';
package/dist/index.js CHANGED
@@ -1,12 +1,15 @@
1
1
  export * from "@impulse-ui-native/core";
2
2
  export * from "@impulse-ui-native/theme";
3
3
  export * from "@impulse-ui-native/overlay";
4
+ export * from "@impulse-ui-native/pagination";
5
+ export * from "@impulse-ui-native/carousel";
4
6
  export * from "@impulse-ui-native/portal";
5
7
  export * from "@impulse-ui-native/accordion";
6
8
  export * from "@impulse-ui-native/charts";
7
9
  export * from "@impulse-ui-native/checkbox";
8
10
  export * from "@impulse-ui-native/primitives";
9
11
  export * from "@impulse-ui-native/radio";
12
+ export * from "@impulse-ui-native/segmented-control";
10
13
  export * from "@impulse-ui-native/flyout";
11
14
  export * from "@impulse-ui-native/form-field";
12
15
  export * from "@impulse-ui-native/input";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Core foundation\nexport * from \"@impulse-ui-native/core\";\nexport * from \"@impulse-ui-native/theme\";\n\n// Layout & containers\nexport * from \"@impulse-ui-native/overlay\";\nexport * from \"@impulse-ui-native/portal\";\n\n// Components\nexport * from \"@impulse-ui-native/accordion\";\nexport * from \"@impulse-ui-native/charts\";\nexport * from \"@impulse-ui-native/checkbox\";\nexport * from \"@impulse-ui-native/primitives\";\nexport * from \"@impulse-ui-native/radio\";\nexport * from \"@impulse-ui-native/flyout\";\nexport * from \"@impulse-ui-native/form-field\";\nexport * from \"@impulse-ui-native/input\";\nexport * from \"@impulse-ui-native/stepper\";\nexport * from \"@impulse-ui-native/switch\";\nexport * from \"@impulse-ui-native/slider\";\nexport * from \"@impulse-ui-native/data-state\";\nexport * from \"@impulse-ui-native/skeleton\";\nexport * from \"@impulse-ui-native/select\";\nexport * from \"@impulse-ui-native/datetime\";\n\n// Utilities\nexport * from \"@impulse-ui-native/echo\";\nexport * from \"@impulse-ui-native/endpoint\";\n"],"mappings":"AACA,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Core foundation\nexport * from \"@impulse-ui-native/core\";\nexport * from \"@impulse-ui-native/theme\";\n\n// Layout & containers\nexport * from \"@impulse-ui-native/overlay\";\nexport * from \"@impulse-ui-native/pagination\";\nexport * from \"@impulse-ui-native/carousel\";\nexport * from \"@impulse-ui-native/portal\";\n\n// Components\nexport * from \"@impulse-ui-native/accordion\";\nexport * from \"@impulse-ui-native/charts\";\nexport * from \"@impulse-ui-native/checkbox\";\nexport * from \"@impulse-ui-native/primitives\";\nexport * from \"@impulse-ui-native/radio\";\nexport * from \"@impulse-ui-native/segmented-control\";\nexport * from \"@impulse-ui-native/flyout\";\nexport * from \"@impulse-ui-native/form-field\";\nexport * from \"@impulse-ui-native/input\";\nexport * from \"@impulse-ui-native/stepper\";\nexport * from \"@impulse-ui-native/switch\";\nexport * from \"@impulse-ui-native/slider\";\nexport * from \"@impulse-ui-native/data-state\";\nexport * from \"@impulse-ui-native/skeleton\";\nexport * from \"@impulse-ui-native/select\";\nexport * from \"@impulse-ui-native/datetime\";\n\n// Utilities\nexport * from \"@impulse-ui-native/echo\";\nexport * from \"@impulse-ui-native/endpoint\";\n"],"mappings":"AACA,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impulse-ui-native/toolkit",
3
- "version": "3.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "The complete ImpulseUI Native component toolkit for building React Native applications.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -28,27 +28,30 @@
28
28
  ],
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@impulse-ui-native/accordion": "3.0.0",
32
- "@impulse-ui-native/charts": "3.0.0",
33
- "@impulse-ui-native/checkbox": "3.0.0",
34
- "@impulse-ui-native/core": "3.0.0",
35
- "@impulse-ui-native/echo": "3.0.0",
36
- "@impulse-ui-native/endpoint": "3.0.0",
37
- "@impulse-ui-native/flyout": "3.0.0",
38
- "@impulse-ui-native/switch": "3.0.0",
39
- "@impulse-ui-native/form-field": "3.0.0",
40
- "@impulse-ui-native/stepper": "3.0.0",
41
- "@impulse-ui-native/input": "3.0.0",
42
- "@impulse-ui-native/slider": "3.0.0",
43
- "@impulse-ui-native/primitives": "3.0.0",
44
- "@impulse-ui-native/overlay": "3.0.0",
45
- "@impulse-ui-native/radio": "3.0.0",
46
- "@impulse-ui-native/theme": "3.0.0",
47
- "@impulse-ui-native/skeleton": "3.0.0",
48
- "@impulse-ui-native/data-state": "3.0.0",
49
- "@impulse-ui-native/select": "3.0.0",
50
- "@impulse-ui-native/datetime": "3.0.0",
51
- "@impulse-ui-native/portal": "3.0.0"
31
+ "@impulse-ui-native/charts": "5.0.0",
32
+ "@impulse-ui-native/accordion": "5.0.0",
33
+ "@impulse-ui-native/core": "5.0.0",
34
+ "@impulse-ui-native/echo": "5.0.0",
35
+ "@impulse-ui-native/checkbox": "5.0.0",
36
+ "@impulse-ui-native/endpoint": "5.0.0",
37
+ "@impulse-ui-native/flyout": "5.0.0",
38
+ "@impulse-ui-native/form-field": "5.0.0",
39
+ "@impulse-ui-native/stepper": "5.0.0",
40
+ "@impulse-ui-native/slider": "5.0.0",
41
+ "@impulse-ui-native/input": "5.0.0",
42
+ "@impulse-ui-native/switch": "5.0.0",
43
+ "@impulse-ui-native/pagination": "5.0.0",
44
+ "@impulse-ui-native/theme": "5.0.0",
45
+ "@impulse-ui-native/radio": "5.0.0",
46
+ "@impulse-ui-native/primitives": "5.0.0",
47
+ "@impulse-ui-native/data-state": "5.0.0",
48
+ "@impulse-ui-native/segmented-control": "5.0.0",
49
+ "@impulse-ui-native/select": "5.0.0",
50
+ "@impulse-ui-native/portal": "5.0.0",
51
+ "@impulse-ui-native/overlay": "5.0.0",
52
+ "@impulse-ui-native/skeleton": "5.0.0",
53
+ "@impulse-ui-native/datetime": "5.0.0",
54
+ "@impulse-ui-native/carousel": "5.0.0"
52
55
  },
53
56
  "devDependencies": {
54
57
  "@types/react": "~19.2.14",
@@ -58,8 +61,8 @@
58
61
  "react-native": "0.86.2",
59
62
  "typescript": "~6.0.3",
60
63
  "@impulse-ui-native/eslint-config": "1.0.0",
61
- "@impulse-ui-native/tsconfig": "1.0.0",
62
- "@impulse-ui-native/prettier-config": "1.0.0"
64
+ "@impulse-ui-native/prettier-config": "1.0.0",
65
+ "@impulse-ui-native/tsconfig": "1.0.0"
63
66
  },
64
67
  "peerDependencies": {
65
68
  "@shopify/flash-list": ">=2",