@tamagui/label 1.73.1 → 1.74.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/label",
3
- "version": "1.73.1",
3
+ "version": "1.74.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -31,20 +31,20 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@tamagui/compose-refs": "1.73.1",
35
- "@tamagui/create-context": "1.73.1",
36
- "@tamagui/focusable": "1.73.1",
37
- "@tamagui/get-button-sized": "1.73.1",
38
- "@tamagui/get-font-sized": "1.73.1",
39
- "@tamagui/text": "1.73.1",
40
- "@tamagui/web": "1.73.1"
34
+ "@tamagui/compose-refs": "1.74.0",
35
+ "@tamagui/create-context": "1.74.0",
36
+ "@tamagui/focusable": "1.74.0",
37
+ "@tamagui/get-button-sized": "1.74.0",
38
+ "@tamagui/get-font-sized": "1.74.0",
39
+ "@tamagui/text": "1.74.0",
40
+ "@tamagui/web": "1.74.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": "*",
44
44
  "react-native": "*"
45
45
  },
46
46
  "devDependencies": {
47
- "@tamagui/build": "1.73.1",
47
+ "@tamagui/build": "1.74.0",
48
48
  "react": "^18.2.0",
49
49
  "react-native": "^0.72.1"
50
50
  },
package/types/Label.d.ts CHANGED
@@ -1,32 +1,7 @@
1
1
  import { FontSizeTokens, GetProps, ReactComponentWithRef } from '@tamagui/web';
2
2
  import * as React from 'react';
3
3
  import { View } from 'react-native';
4
- export declare const LabelFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
5
- target?: string | undefined;
6
- hitSlop?: number | import("react-native").Insets | null | undefined;
7
- asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
8
- dangerouslySetInnerHTML?: {
9
- __html: string;
10
- } | undefined;
11
- children?: any;
12
- debug?: import("@tamagui/web").DebugProp | undefined;
13
- disabled?: boolean | undefined;
14
- className?: string | undefined;
15
- themeShallow?: boolean | undefined;
16
- id?: string | undefined;
17
- tag?: string | undefined;
18
- theme?: string | null | undefined;
19
- group?: undefined;
20
- untilMeasured?: "hide" | "show" | undefined;
21
- componentName?: string | undefined;
22
- tabIndex?: string | number | undefined;
23
- role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
24
- disableOptimization?: boolean | undefined;
25
- forceStyle?: "hover" | "press" | "focus" | undefined;
26
- disableClassName?: boolean | undefined;
27
- onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
28
- onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
29
- } & {
4
+ export declare const LabelFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
30
5
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
31
6
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
32
7
  readonly unstyled?: boolean | undefined;
@@ -34,32 +9,7 @@ export declare const LabelFrame: import("@tamagui/web").TamaguiComponent<Omit<im
34
9
  }, "size" | "unstyled"> & {
35
10
  readonly unstyled?: boolean | undefined;
36
11
  readonly size?: import("@tamagui/web").SizeTokens | undefined;
37
- } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
38
- target?: string | undefined;
39
- hitSlop?: number | import("react-native").Insets | null | undefined;
40
- asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
41
- dangerouslySetInnerHTML?: {
42
- __html: string;
43
- } | undefined;
44
- children?: any;
45
- debug?: import("@tamagui/web").DebugProp | undefined;
46
- disabled?: boolean | undefined;
47
- className?: string | undefined;
48
- themeShallow?: boolean | undefined;
49
- id?: string | undefined;
50
- tag?: string | undefined;
51
- theme?: string | null | undefined;
52
- group?: undefined;
53
- untilMeasured?: "hide" | "show" | undefined;
54
- componentName?: string | undefined;
55
- tabIndex?: string | number | undefined;
56
- role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
57
- disableOptimization?: boolean | undefined;
58
- forceStyle?: "hover" | "press" | "focus" | undefined;
59
- disableClassName?: boolean | undefined;
60
- onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
61
- onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
62
- } & {
12
+ } & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
63
13
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
64
14
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
65
15
  readonly unstyled?: boolean | undefined;
@@ -67,32 +17,7 @@ export declare const LabelFrame: import("@tamagui/web").TamaguiComponent<Omit<im
67
17
  }, "size" | "unstyled"> & {
68
18
  readonly unstyled?: boolean | undefined;
69
19
  readonly size?: import("@tamagui/web").SizeTokens | undefined;
70
- }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
71
- target?: string | undefined;
72
- hitSlop?: number | import("react-native").Insets | null | undefined;
73
- asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
74
- dangerouslySetInnerHTML?: {
75
- __html: string;
76
- } | undefined;
77
- children?: any;
78
- debug?: import("@tamagui/web").DebugProp | undefined;
79
- disabled?: boolean | undefined;
80
- className?: string | undefined;
81
- themeShallow?: boolean | undefined;
82
- id?: string | undefined;
83
- tag?: string | undefined;
84
- theme?: string | null | undefined;
85
- group?: undefined;
86
- untilMeasured?: "hide" | "show" | undefined;
87
- componentName?: string | undefined;
88
- tabIndex?: string | number | undefined;
89
- role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
90
- disableOptimization?: boolean | undefined;
91
- forceStyle?: "hover" | "press" | "focus" | undefined;
92
- disableClassName?: boolean | undefined;
93
- onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
94
- onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
95
- } & {
20
+ }>> & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
96
21
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
97
22
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
98
23
  readonly unstyled?: boolean | undefined;
@@ -108,32 +33,7 @@ export declare const LabelFrame: import("@tamagui/web").TamaguiComponent<Omit<im
108
33
  readonly size?: import("@tamagui/web").SizeTokens | undefined;
109
34
  }, {
110
35
  displayName: string | undefined;
111
- __baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
112
- target?: string | undefined;
113
- hitSlop?: number | import("react-native").Insets | null | undefined;
114
- asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
115
- dangerouslySetInnerHTML?: {
116
- __html: string;
117
- } | undefined;
118
- children?: any;
119
- debug?: import("@tamagui/web").DebugProp | undefined;
120
- disabled?: boolean | undefined;
121
- className?: string | undefined;
122
- themeShallow?: boolean | undefined;
123
- id?: string | undefined;
124
- tag?: string | undefined;
125
- theme?: string | null | undefined;
126
- group?: undefined;
127
- untilMeasured?: "hide" | "show" | undefined;
128
- componentName?: string | undefined;
129
- tabIndex?: string | number | undefined;
130
- role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
131
- disableOptimization?: boolean | undefined;
132
- forceStyle?: "hover" | "press" | "focus" | undefined;
133
- disableClassName?: boolean | undefined;
134
- onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
135
- onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
136
- } & {
36
+ __baseProps: Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
137
37
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
138
38
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>;
139
39
  __variantProps: {
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../src/Label.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,qBAAqB,EAItB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAcnC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAwFD,eAAO,MAAM,KAAK,EAAE,qBAAqB,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAG1E,CAAA;AAEJ,eAAO,MAAM,eAAe,aAAc,WAAW,GAAG,IAAI,uBAS3D,CAAA"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../src/Label.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,qBAAqB,EAItB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAcnC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAwFD,eAAO,MAAM,KAAK,EAAE,qBAAqB,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAG1E,CAAA;AAEJ,eAAO,MAAM,eAAe,aAAc,WAAW,GAAG,IAAI,uBAS3D,CAAA"}