@impulse-ui-native/progress 15.0.5 → 17.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.
Files changed (2) hide show
  1. package/README.md +37 -37
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,37 +1,37 @@
1
- # @impulse-ui-native/progress
2
-
3
- Token-aware linear and circular progress with Reanimated indeterminate animations.
4
-
5
- ## Installation
6
-
7
- `pnpm add @impulse-ui-native/progress`
8
-
9
- Install React, React Native, `react-native-svg`, `react-native-reanimated` (4 or newer), and compatible `react-native-worklets` peers. Configure Reanimated and Worklets in the native host, and render inside `ThemeProvider` from `@impulse-ui-native/theme`.
10
-
11
- ## Usage
12
-
13
- ```tsx
14
- import { Progress } from "@impulse-ui-native/progress";
15
-
16
- <Progress value={65} />;
17
- <Progress variant="circular" value={35} />;
18
- <Progress />;
19
- ```
20
-
21
- Progress defaults to a medium linear indicator with the primary tone. Provide `value` for determinate progress or omit it for indeterminate progress. Values are clamped between `min` and `max`, defaulting to 0 and 100. Invalid bounds fall back to a finite range; non-finite values render at the range minimum. Sizes, semantic colors, geometry, and animation duration come from `theme.components.progress`. Override indicator and track colors through `color` and `trackColor`.
22
-
23
- Indeterminate linear motion travels from left to right. Reanimated loops cancel on unmount and restart when duration changes. Native View props, styles, and linear `onLayout` callbacks are preserved.
24
-
25
- `Progress` and `ProgressProps` are also exported by `@impulse-ui-native/toolkit`. Migrate imports from primitives to this package or the toolkit. Use the native Progress stories to inspect both variants, ranges, sizes, tones, and indeterminate states.
26
-
27
- ## Repository palette consistency
28
-
29
- Progress keeps `variant="linear" | "circular"` as its shape axis. Tone is a
30
- stroke palette shared with Spinner: primary uses primary.value over secondary.value;
31
- secondary uses secondary.contrast over subtle.value; neutral uses text.secondary
32
- over surface.subtle; inverse retains its inverse-surface pairing. Explicit color
33
- and trackColor overrides still take precedence.
34
-
35
- ## Agent and design reference
36
-
37
- Start with the [capability guide](../../docs/design-system/capabilities/progress.md) for supported exports, props, defaults, composition rules, setup, and recipes. Use the [component chooser](../../docs/design-system/component-chooser.md) to select a package. These references describe the repository source; verify your installed package version before copying examples.
1
+ # @impulse-ui-native/progress
2
+
3
+ Token-aware linear and circular progress with Reanimated indeterminate animations.
4
+
5
+ ## Installation
6
+
7
+ `pnpm add @impulse-ui-native/progress`
8
+
9
+ Install React, React Native, `react-native-svg`, `react-native-reanimated` (4 or newer), and compatible `react-native-worklets` peers. Configure Reanimated and Worklets in the native host, and render inside `ThemeProvider` from `@impulse-ui-native/theme`.
10
+
11
+ ## Usage
12
+
13
+ ```tsx
14
+ import { Progress } from "@impulse-ui-native/progress";
15
+
16
+ <Progress value={65} />;
17
+ <Progress variant="circular" value={35} />;
18
+ <Progress />;
19
+ ```
20
+
21
+ Progress defaults to a medium linear indicator with the primary tone. Provide `value` for determinate progress or omit it for indeterminate progress. Values are clamped between `min` and `max`, defaulting to 0 and 100. Invalid bounds fall back to a finite range; non-finite values render at the range minimum. Sizes, semantic colors, geometry, and animation duration come from `theme.components.progress`. Override indicator and track colors through `color` and `trackColor`.
22
+
23
+ Indeterminate linear motion travels from left to right. Reanimated loops cancel on unmount and restart when duration changes. Native View props, styles, and linear `onLayout` callbacks are preserved.
24
+
25
+ `Progress` and `ProgressProps` are also exported by `@impulse-ui-native/toolkit`. Migrate imports from primitives to this package or the toolkit. Use the native Progress stories to inspect both variants, ranges, sizes, tones, and indeterminate states.
26
+
27
+ ## Repository palette consistency
28
+
29
+ Progress keeps `variant="linear" | "circular"` as its shape axis. Tone is a
30
+ stroke palette shared with Spinner: primary uses primary.value over secondary.value;
31
+ secondary uses secondary.contrast over subtle.value; neutral uses text.secondary
32
+ over surface.subtle; inverse retains its inverse-surface pairing. Explicit color
33
+ and trackColor overrides still take precedence.
34
+
35
+ ## Agent and design reference
36
+
37
+ Start with the [capability guide](../../docs/design-system/capabilities/progress.md) for supported exports, props, defaults, composition rules, setup, and recipes. Use the [component chooser](../../docs/design-system/component-chooser.md) to select a package. These references describe the repository source; verify your installed package version before copying examples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impulse-ui-native/progress",
3
- "version": "15.0.5",
3
+ "version": "17.0.0",
4
4
  "description": "Progress components for ImpulseUI Native.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@impulse-ui-native/theme": "15.0.5"
29
+ "@impulse-ui-native/theme": "17.0.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@impulse-ui-native/eslint-config": "1.0.0",