@fluentui/react-progress 9.74.5-experimental.tabster-v9.20260804-bb909442fe.0 → 9.74.7-experimental.cli-api.20261006-ccaa611d58.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/CHANGELOG.md +35 -11
- package/dist/index.d.cts +112 -0
- package/dist/metadata/api/api-root.json +1 -0
- package/dist/metadata/index.json +1 -0
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/components/ProgressBar/ProgressBar.js +5 -5
- package/lib/components/ProgressBar/ProgressBar.js.map +1 -1
- package/lib/components/ProgressBar/index.js +4 -4
- package/lib/components/ProgressBar/index.js.map +1 -1
- package/lib/components/ProgressBar/progressBarMotions.js +1 -1
- package/lib/components/ProgressBar/renderProgressBar.js +1 -1
- package/lib/components/ProgressBar/useProgressBar.js +5 -5
- package/lib/components/ProgressBar/useProgressBar.js.map +1 -1
- package/lib/components/ProgressBar/useProgressBarStyles.styles.js +2 -2
- package/lib/components/ProgressBar/useProgressBarStyles.styles.js.map +1 -1
- package/lib/components/ProgressBar/useProgressBarStyles.styles.raw.js +2 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/index.js +2 -2
- package/lib/utils/index.js.map +1 -1
- package/lib-commonjs/{ProgressBar.js → ProgressBar.cjs} +1 -1
- package/lib-commonjs/{ProgressBar.js.map → ProgressBar.cjs.map} +1 -1
- package/lib-commonjs/components/ProgressBar/{ProgressBar.js → ProgressBar.cjs} +3 -3
- package/lib-commonjs/components/ProgressBar/{ProgressBar.js.map → ProgressBar.cjs.map} +1 -1
- package/lib-commonjs/components/ProgressBar/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/ProgressBar/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/ProgressBar/{useProgressBar.js → useProgressBar.cjs} +2 -2
- package/lib-commonjs/components/ProgressBar/{useProgressBar.js.map → useProgressBar.cjs.map} +1 -1
- package/lib-commonjs/components/ProgressBar/useProgressBarStyles.styles.cjs.map +1 -0
- package/lib-commonjs/{index.js → index.cjs} +1 -1
- package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/utils/{index.js → index.cjs} +2 -2
- package/lib-commonjs/utils/{index.js.map → index.cjs.map} +1 -1
- package/package.json +29 -17
- package/lib-commonjs/components/ProgressBar/useProgressBarStyles.styles.js.map +0 -1
- /package/lib-commonjs/components/ProgressBar/{ProgressBar.types.js → ProgressBar.types.cjs} +0 -0
- /package/lib-commonjs/components/ProgressBar/{ProgressBar.types.js.map → ProgressBar.types.cjs.map} +0 -0
- /package/lib-commonjs/components/ProgressBar/{progressBarMotions.js → progressBarMotions.cjs} +0 -0
- /package/lib-commonjs/components/ProgressBar/{progressBarMotions.js.map → progressBarMotions.cjs.map} +0 -0
- /package/lib-commonjs/components/ProgressBar/{renderProgressBar.js → renderProgressBar.cjs} +0 -0
- /package/lib-commonjs/components/ProgressBar/{renderProgressBar.js.map → renderProgressBar.cjs.map} +0 -0
- /package/lib-commonjs/components/ProgressBar/{useProgressBarStyles.styles.js → useProgressBarStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/ProgressBar/{useProgressBarStyles.styles.raw.js → useProgressBarStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/ProgressBar/{useProgressBarStyles.styles.raw.js.map → useProgressBarStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/utils/{clampMax.js → clampMax.cjs} +0 -0
- /package/lib-commonjs/utils/{clampMax.js.map → clampMax.cjs.map} +0 -0
- /package/lib-commonjs/utils/{clampValue.js → clampValue.cjs} +0 -0
- /package/lib-commonjs/utils/{clampValue.js.map → clampValue.cjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,47 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-progress
|
|
2
2
|
|
|
3
|
-
This log was last generated on Tue,
|
|
3
|
+
<!-- This log was last generated on Tue, 06 Oct 2026 11:40:30 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.74.
|
|
7
|
+
## [9.74.7-experimental.cli-api.20261006-ccaa611d58.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-progress_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
8
8
|
|
|
9
|
-
Tue,
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-progress_v9.5.
|
|
9
|
+
Tue, 06 Oct 2026 11:40:30 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-progress_v9.5.5..@fluentui/react-progress_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.74.
|
|
15
|
-
- Bump @fluentui/react-field to v9.74.
|
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v9.74.
|
|
17
|
-
- Bump @fluentui/react-motion to v9.74.
|
|
18
|
-
- Bump @fluentui/react-shared-contexts to v9.74.
|
|
19
|
-
- Bump @fluentui/react-theme to v9.74.
|
|
20
|
-
- Bump @fluentui/react-utilities to v9.74.
|
|
14
|
+
- Release 9.74.7-experimental.cli-api.20261006-ccaa611d58 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
15
|
+
- Bump @fluentui/react-field to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-motion to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-shared-contexts to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-theme to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-utilities to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
|
|
22
|
+
## [9.5.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-progress_v9.5.5)
|
|
23
|
+
|
|
24
|
+
Mon, 24 Aug 2026 16:40:04 GMT
|
|
25
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-progress_v9.5.4..@fluentui/react-progress_v9.5.5)
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- Bump @fluentui/react-motion to v9.16.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
30
|
+
|
|
31
|
+
## [9.5.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-progress_v9.5.4)
|
|
32
|
+
|
|
33
|
+
Tue, 11 Aug 2026 17:20:14 GMT
|
|
34
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-progress_v9.5.3..@fluentui/react-progress_v9.5.4)
|
|
35
|
+
|
|
36
|
+
### Patches
|
|
37
|
+
|
|
38
|
+
- Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
|
|
39
|
+
- Bump @fluentui/react-field to v9.5.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
40
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
41
|
+
- Bump @fluentui/react-motion to v9.16.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
42
|
+
- Bump @fluentui/react-shared-contexts to v9.26.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
43
|
+
- Bump @fluentui/react-theme to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
44
|
+
- Bump @fluentui/react-utilities to v9.26.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
45
|
|
|
22
46
|
## [9.5.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-progress_v9.5.3)
|
|
23
47
|
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
2
|
+
import type { ComponentState } from '@fluentui/react-utilities';
|
|
3
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
|
+
import type { JSXElement } from '@fluentui/react-utilities';
|
|
5
|
+
import type { MotionSlotProps } from '@fluentui/react-motion';
|
|
6
|
+
import type * as React_2 from 'react';
|
|
7
|
+
import type { Slot } from '@fluentui/react-utilities';
|
|
8
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A ProgressBar bar shows the progression of a task.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ProgressBar: ForwardRefComponent<ProgressBarProps>;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* ProgressBar base props — excludes design props (shape, thickness, color).
|
|
17
|
+
*/
|
|
18
|
+
export declare type ProgressBarBaseProps = Omit<ProgressBarProps, 'shape' | 'thickness' | 'color' | 'indeterminateMotion'>;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* ProgressBar base state — excludes design props (shape, thickness, color).
|
|
22
|
+
*/
|
|
23
|
+
export declare type ProgressBarBaseState = Omit<ProgressBarState, 'shape' | 'thickness' | 'color' | 'indeterminateMotion'>;
|
|
24
|
+
|
|
25
|
+
export declare const progressBarClassNames: SlotClassNames<Omit<ProgressBarSlots, 'indeterminateMotion'>>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ProgressBar Props
|
|
29
|
+
*/
|
|
30
|
+
export declare type ProgressBarProps = Omit<ComponentProps<ProgressBarSlots>, 'size'> & {
|
|
31
|
+
/**
|
|
32
|
+
* The shape of the bar and track.
|
|
33
|
+
* @default rounded
|
|
34
|
+
*/
|
|
35
|
+
shape?: 'rounded' | 'square';
|
|
36
|
+
/**
|
|
37
|
+
* A decimal number between `0` and `1` (or between `0` and `max` if given),
|
|
38
|
+
* which specifies how much of the task has been completed.
|
|
39
|
+
*
|
|
40
|
+
* If `undefined` (default), the ProgressBar will display an **indeterminate** state.
|
|
41
|
+
*/
|
|
42
|
+
value?: number;
|
|
43
|
+
/**
|
|
44
|
+
* The maximum value, which indicates the task is complete.
|
|
45
|
+
* The ProgressBar bar will be full when `value` equals `max`.
|
|
46
|
+
* @default 1
|
|
47
|
+
*/
|
|
48
|
+
max?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The thickness of the ProgressBar bar
|
|
51
|
+
* @default medium
|
|
52
|
+
*/
|
|
53
|
+
thickness?: 'medium' | 'large';
|
|
54
|
+
/**
|
|
55
|
+
* The status of the ProgressBar bar. Changes the color of the bar.
|
|
56
|
+
* @default brand
|
|
57
|
+
*/
|
|
58
|
+
color?: 'brand' | 'success' | 'warning' | 'error';
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export declare type ProgressBarSlots = {
|
|
62
|
+
/**
|
|
63
|
+
* The track behind the ProgressBar bar
|
|
64
|
+
*/
|
|
65
|
+
root: NonNullable<Slot<'div'>>;
|
|
66
|
+
/**
|
|
67
|
+
* The filled portion of the ProgressBar bar. Animated in the indeterminate state, when no value is provided.
|
|
68
|
+
*/
|
|
69
|
+
bar?: NonNullable<Slot<'div'>>;
|
|
70
|
+
/**
|
|
71
|
+
* Motion slot for the indeterminate animation. Pass `null` to disable the animation.
|
|
72
|
+
*/
|
|
73
|
+
indeterminateMotion?: Slot<MotionSlotProps>;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* State used in rendering ProgressBar
|
|
78
|
+
*/
|
|
79
|
+
export declare type ProgressBarState = ComponentState<Required<ProgressBarSlots>> & Required<Pick<ProgressBarProps, 'max' | 'shape' | 'thickness'>> & Pick<ProgressBarProps, 'value' | 'color'>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Render the final JSX of ProgressBar
|
|
83
|
+
*/
|
|
84
|
+
export declare const renderProgressBar_unstable: (state: ProgressBarBaseState) => JSXElement;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Create the state required to render ProgressBar.
|
|
88
|
+
*
|
|
89
|
+
* The returned state can be modified with hooks such as useProgressBarStyles_unstable,
|
|
90
|
+
* before being passed to renderProgressBar_unstable.
|
|
91
|
+
*
|
|
92
|
+
* @param props - props from this instance of ProgressBar
|
|
93
|
+
* @param ref - reference to root HTMLElement of ProgressBar
|
|
94
|
+
*/
|
|
95
|
+
export declare const useProgressBar_unstable: (props: ProgressBarProps, ref: React_2.Ref<HTMLElement>) => ProgressBarState;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Base hook for ProgressBar component. Manages state related to ARIA progressbar attributes
|
|
99
|
+
* (role, aria-valuemin, aria-valuemax, aria-valuenow) and field context integration —
|
|
100
|
+
* without design props (shape, thickness, color).
|
|
101
|
+
*
|
|
102
|
+
* @param props - props from this instance of ProgressBar (without shape, thickness, color)
|
|
103
|
+
* @param ref - reference to root HTMLElement of ProgressBar
|
|
104
|
+
*/
|
|
105
|
+
export declare const useProgressBarBase_unstable: (props: ProgressBarBaseProps, ref: React_2.Ref<HTMLElement>) => ProgressBarBaseState;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Apply styling to the ProgressBar slots based on the state
|
|
109
|
+
*/
|
|
110
|
+
export declare const useProgressBarStyles_unstable: (state: ProgressBarState) => ProgressBarState;
|
|
111
|
+
|
|
112
|
+
export { }
|