@tamagui/toggle-group 2.0.0-rc.0 → 2.0.0-rc.0-1769998500160

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,66 +1,64 @@
1
1
  {
2
2
  "name": "@tamagui/toggle-group",
3
- "version": "2.0.0-rc.0",
4
- "type": "module",
5
- "sideEffects": [
6
- "*.css"
7
- ],
3
+ "version": "2.0.0-rc.0-1769998500160",
8
4
  "source": "src/index.ts",
9
- "types": "./types/index.d.ts",
10
- "main": "dist/cjs",
11
- "module": "dist/esm",
12
- "module:jsx": "dist/jsx",
13
5
  "files": [
14
6
  "src",
15
7
  "types",
16
8
  "dist"
17
9
  ],
18
- "scripts": {
19
- "build": "tamagui-build",
20
- "watch": "tamagui-build --watch",
21
- "lint": "biome check src",
22
- "lint:fix": "biome check --write src",
23
- "clean": "tamagui-build clean",
24
- "clean:build": "tamagui-build clean:build"
25
- },
10
+ "type": "module",
11
+ "sideEffects": [
12
+ "*.css"
13
+ ],
14
+ "main": "dist/cjs",
15
+ "module": "dist/esm",
16
+ "types": "./types/index.d.ts",
26
17
  "exports": {
27
18
  "./package.json": "./package.json",
28
19
  ".": {
20
+ "types": "./types/index.d.ts",
29
21
  "react-native": {
30
22
  "module": "./dist/esm/index.native.js",
31
23
  "import": "./dist/esm/index.native.js",
32
24
  "require": "./dist/cjs/index.native.js"
33
25
  },
34
- "types": "./types/index.d.ts",
35
26
  "module": "./dist/esm/index.mjs",
36
27
  "import": "./dist/esm/index.mjs",
37
28
  "require": "./dist/cjs/index.cjs",
38
29
  "default": "./dist/cjs/index.native.js"
39
30
  }
40
31
  },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "scripts": {
36
+ "build": "tamagui-build",
37
+ "watch": "tamagui-build --watch",
38
+ "clean": "tamagui-build clean",
39
+ "clean:build": "tamagui-build clean:build"
40
+ },
41
41
  "dependencies": {
42
- "@tamagui/constants": "2.0.0-rc.0",
43
- "@tamagui/create-context": "2.0.0-rc.0",
44
- "@tamagui/focusable": "2.0.0-rc.0",
45
- "@tamagui/font-size": "2.0.0-rc.0",
46
- "@tamagui/get-token": "2.0.0-rc.0",
47
- "@tamagui/helpers": "2.0.0-rc.0",
48
- "@tamagui/helpers-tamagui": "2.0.0-rc.0",
49
- "@tamagui/roving-focus": "2.0.0-rc.0",
50
- "@tamagui/sizable-context": "2.0.0-rc.0",
51
- "@tamagui/stacks": "2.0.0-rc.0",
52
- "@tamagui/use-controllable-state": "2.0.0-rc.0",
53
- "@tamagui/use-direction": "2.0.0-rc.0",
54
- "@tamagui/web": "2.0.0-rc.0"
42
+ "@tamagui/constants": "2.0.0-rc.0-1769998500160",
43
+ "@tamagui/create-context": "2.0.0-rc.0-1769998500160",
44
+ "@tamagui/focusable": "2.0.0-rc.0-1769998500160",
45
+ "@tamagui/font-size": "2.0.0-rc.0-1769998500160",
46
+ "@tamagui/get-token": "2.0.0-rc.0-1769998500160",
47
+ "@tamagui/helpers": "2.0.0-rc.0-1769998500160",
48
+ "@tamagui/helpers-tamagui": "2.0.0-rc.0-1769998500160",
49
+ "@tamagui/roving-focus": "2.0.0-rc.0-1769998500160",
50
+ "@tamagui/sizable-context": "2.0.0-rc.0-1769998500160",
51
+ "@tamagui/stacks": "2.0.0-rc.0-1769998500160",
52
+ "@tamagui/use-controllable-state": "2.0.0-rc.0-1769998500160",
53
+ "@tamagui/use-direction": "2.0.0-rc.0-1769998500160",
54
+ "@tamagui/web": "2.0.0-rc.0-1769998500160"
55
55
  },
56
56
  "devDependencies": {
57
- "@tamagui/build": "2.0.0-rc.0",
58
- "react": "*"
59
- },
60
- "publishConfig": {
61
- "access": "public"
57
+ "@tamagui/build": "2.0.0-rc.0-1769998500160",
58
+ "react": ">=19"
62
59
  },
63
60
  "peerDependencies": {
64
- "react": "*"
65
- }
66
- }
61
+ "react": ">=19"
62
+ },
63
+ "module:jsx": "dist/jsx"
64
+ }
@@ -28,7 +28,7 @@ declare const ToggleGroup: React.ForwardRefExoticComponent<ScopedProps<ToggleGro
28
28
  unstyled?: boolean | undefined;
29
29
  size?: number | import("@tamagui/web").SizeTokens | undefined;
30
30
  defaultActiveStyle?: boolean | undefined;
31
- }>, "theme" | "debug" | `$${string}` | `$${number}` | import("@tamagui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "render" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "style" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | keyof import("@tamagui/web").StackStyleBase | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "size" | "activeStyle" | "defaultActiveStyle" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
31
+ }>, "theme" | "debug" | "style" | `$${string}` | `$${number}` | import("@tamagui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "render" | "hitSlop" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | keyof import("@tamagui/web").StackStyleBase | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "size" | "activeStyle" | "defaultActiveStyle" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
32
32
  readonly activeStyle?: Partial<import("@tamagui/web").InferStyleProps<import("@tamagui/web").TamaguiComponent<import("@tamagui/web").ViewProps, TamaguiElement, import("@tamagui/web").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}>, {
33
33
  accept: {
34
34
  readonly activeStyle: "style";