@radix-ui/react-toggle-group
Advanced tools
Comparing version 1.1.0-rc.3 to 1.1.0-rc.4
import * as React from 'react'; | ||
import React__default from 'react'; | ||
import * as Radix from '@radix-ui/react-primitive'; | ||
import { Primitive } from '@radix-ui/react-primitive'; | ||
@@ -8,6 +7,6 @@ import * as RovingFocusGroup from '@radix-ui/react-roving-focus'; | ||
declare type Scope<C = any> = { | ||
type Scope<C = any> = { | ||
[scopeName: string]: React.Context<C>[]; | ||
} | undefined; | ||
declare type ScopeHook = (scope: Scope) => { | ||
type ScopeHook = (scope: Scope) => { | ||
[__scopeProp: string]: Scope; | ||
@@ -58,4 +57,4 @@ }; | ||
} | ||
declare type RovingFocusGroupProps = Radix.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>; | ||
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>; | ||
type RovingFocusGroupProps = React__default.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>; | ||
type PrimitiveDivProps = React__default.ComponentPropsWithoutRef<typeof Primitive.div>; | ||
interface ToggleGroupImplProps extends PrimitiveDivProps { | ||
@@ -79,3 +78,3 @@ /** | ||
declare const ToggleGroupItem: React__default.ForwardRefExoticComponent<ToggleGroupItemProps & React__default.RefAttributes<HTMLButtonElement>>; | ||
declare type ToggleProps = Radix.ComponentPropsWithoutRef<typeof Toggle>; | ||
type ToggleProps = React__default.ComponentPropsWithoutRef<typeof Toggle>; | ||
interface ToggleGroupItemImplProps extends Omit<ToggleProps, 'defaultPressed' | 'onPressedChange'> { | ||
@@ -82,0 +81,0 @@ /** |
{ | ||
"name": "@radix-ui/react-toggle-group", | ||
"version": "1.1.0-rc.3", | ||
"version": "1.1.0-rc.4", | ||
"license": "MIT", | ||
@@ -31,9 +31,9 @@ "exports": { | ||
"dependencies": { | ||
"@radix-ui/primitive": "1.1.0-rc.3", | ||
"@radix-ui/react-context": "1.1.0-rc.3", | ||
"@radix-ui/react-direction": "1.1.0-rc.3", | ||
"@radix-ui/react-primitive": "1.1.0-rc.3", | ||
"@radix-ui/react-roving-focus": "1.1.0-rc.3", | ||
"@radix-ui/react-toggle": "1.1.0-rc.3", | ||
"@radix-ui/react-use-controllable-state": "1.1.0-rc.3" | ||
"@radix-ui/primitive": "1.1.0-rc.4", | ||
"@radix-ui/react-context": "1.1.0-rc.4", | ||
"@radix-ui/react-direction": "1.1.0-rc.4", | ||
"@radix-ui/react-primitive": "2.0.0-rc.1", | ||
"@radix-ui/react-roving-focus": "1.1.0-rc.4", | ||
"@radix-ui/react-toggle": "1.1.0-rc.4", | ||
"@radix-ui/react-use-controllable-state": "1.1.0-rc.4" | ||
}, | ||
@@ -43,4 +43,4 @@ "peerDependencies": { | ||
"@types/react-dom": "*", | ||
"react": "^16.8 || ^17.0 || ^18.0", | ||
"react-dom": "^16.8 || ^17.0 || ^18.0" | ||
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0", | ||
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "peerDependenciesMeta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53675
462
+ Added@radix-ui/primitive@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-collection@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-compose-refs@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-context@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-direction@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-id@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-primitive@2.0.0-rc.1(transitive)
+ Added@radix-ui/react-roving-focus@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-slot@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-toggle@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-callback-ref@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-controllable-state@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-layout-effect@1.1.0-rc.4(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedreact-dom@19.0.0(transitive)
+ Addedscheduler@0.25.0(transitive)
- Removed@radix-ui/primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-collection@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-compose-refs@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-context@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-direction@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-id@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-roving-focus@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-slot@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-toggle@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-callback-ref@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-controllable-state@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-layout-effect@1.1.0-rc.3(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedscheduler@0.23.2(transitive)