@tamagui/progress 3.0.0-beta.1356.1 → 3.0.0-beta.1359.1
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 +8 -8
- package/src/Progress.tsx +2 -10
- package/types/Progress.d.ts +2 -2
- package/types/Progress.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/progress",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.1359.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/compose-refs": "3.0.0-beta.
|
|
39
|
-
"@tamagui/core": "3.0.0-beta.
|
|
40
|
-
"@tamagui/create-context": "3.0.0-beta.
|
|
41
|
-
"@tamagui/get-token": "3.0.0-beta.
|
|
42
|
-
"@tamagui/helpers": "3.0.0-beta.
|
|
43
|
-
"@tamagui/stacks": "3.0.0-beta.
|
|
38
|
+
"@tamagui/compose-refs": "3.0.0-beta.1359.1",
|
|
39
|
+
"@tamagui/core": "3.0.0-beta.1359.1",
|
|
40
|
+
"@tamagui/create-context": "3.0.0-beta.1359.1",
|
|
41
|
+
"@tamagui/get-token": "3.0.0-beta.1359.1",
|
|
42
|
+
"@tamagui/helpers": "3.0.0-beta.1359.1",
|
|
43
|
+
"@tamagui/stacks": "3.0.0-beta.1359.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tamagui/build": "3.0.0-beta.
|
|
46
|
+
"@tamagui/build": "3.0.0-beta.1359.1",
|
|
47
47
|
"react": "19.2.3",
|
|
48
48
|
"react-native": "0.86.2"
|
|
49
49
|
},
|
package/src/Progress.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// forked from Radix UI
|
|
2
2
|
// https://github.com/radix-ui/primitives/blob/main/packages/react/progress/src/Progress.tsx
|
|
3
3
|
|
|
4
|
-
import type { GetProps, SizeTokens } from '@tamagui/core'
|
|
4
|
+
import type { ComponentSize, GetProps, SizeTokens } from '@tamagui/core'
|
|
5
5
|
import { createStyledHOC, getVariableValue, isWeb, styled } from '@tamagui/core'
|
|
6
6
|
import type { Scope } from '@tamagui/create-context'
|
|
7
7
|
import { createContextScope } from '@tamagui/create-context'
|
|
@@ -114,15 +114,7 @@ type ScopedProps<P> = P & { __scopeProgress?: Scope }
|
|
|
114
114
|
|
|
115
115
|
type ProgressState = 'indeterminate' | 'complete' | 'loading'
|
|
116
116
|
|
|
117
|
-
export type ProgressSize =
|
|
118
|
-
| 'xs'
|
|
119
|
-
| 'sm'
|
|
120
|
-
| 'md'
|
|
121
|
-
| 'lg'
|
|
122
|
-
| 'xl'
|
|
123
|
-
| SizeTokens
|
|
124
|
-
| number
|
|
125
|
-
| boolean
|
|
117
|
+
export type ProgressSize = ComponentSize | SizeTokens | number | boolean
|
|
126
118
|
|
|
127
119
|
// the track is a thin bar: named rungs on the xs-xl control ladder, like the
|
|
128
120
|
// slider track. md is the historical default track (size token 36 at quarter
|
package/types/Progress.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GetProps, SizeTokens } from '@tamagui/core';
|
|
1
|
+
import type { ComponentSize, GetProps, SizeTokens } from '@tamagui/core';
|
|
2
2
|
import type { Scope } from '@tamagui/create-context';
|
|
3
3
|
declare const createProgressScope: import("@tamagui/create-context").CreateScope;
|
|
4
4
|
export declare const ProgressIndicatorFrame: import("react").FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
|
|
@@ -12,7 +12,7 @@ declare const ProgressIndicator: import("@tamagui/core").TamaguiComponent<Omit<i
|
|
|
12
12
|
}, import("@tamagui/react-native-types/src").View | (HTMLElement & import("@tamagui/core").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithFlatVariantValues<{}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
|
|
13
13
|
__scopeProgress?: Scope;
|
|
14
14
|
}, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
15
|
-
export type ProgressSize =
|
|
15
|
+
export type ProgressSize = ComponentSize | SizeTokens | number | boolean;
|
|
16
16
|
export declare const ProgressFrame: import("react").FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | keyof import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithFlatVariantValues<{
|
|
17
17
|
size?: ProgressSize | undefined;
|
|
18
18
|
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & {
|
package/types/Progress.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../src/Progress.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../src/Progress.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AASpD,QAAA,MAA8B,mBAAmB,+CAAqC,CAAA;AAiBtF,eAAO,MAAM,sBAAsB;;;;CAIjC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE5E,QAAA,MAAM,iBAAiB;sBAyEuB,KAAK;;;0FAjClD,CAAA;AAqCD,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAA;AAyCxE,eAAO,MAAM,aAAa;;;;;;;;;;CAOxB,CAAA;AAEF,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,aAAa,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACnD;AAED,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,GAAG,kBAAkB,CAAA;AAE/E,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;0BA9DgC,KAAK;;;;CAgHlD,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAA"}
|