@chakra-ui/tabs
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -51,3 +51,3 @@ "use strict"; | ||
// ../../utilities/shared-utils/dist/index.esm.js | ||
// ../../utilities/shared-utils/src/index.ts | ||
var cx = (...classNames) => classNames.filter(Boolean).join(" "); | ||
@@ -54,0 +54,0 @@ function callAllHandlers(...fns) { |
@@ -104,5 +104,5 @@ import * as _chakra_ui_system from '@chakra-ui/system'; | ||
lazyBehavior: LazyMode; | ||
orientation: "vertical" | "horizontal"; | ||
orientation: "horizontal" | "vertical"; | ||
descendants: _chakra_ui_descendant.DescendantsManager<HTMLButtonElement, {}>; | ||
direction: "rtl" | "ltr"; | ||
direction: "ltr" | "rtl"; | ||
htmlProps: { | ||
@@ -131,3 +131,3 @@ /** | ||
role: string; | ||
"aria-orientation": "vertical" | "horizontal"; | ||
"aria-orientation": "horizontal" | "vertical"; | ||
onKeyDown: (event: react.KeyboardEvent<Element>) => void; | ||
@@ -177,6 +177,6 @@ }; | ||
className?: string | undefined; | ||
contentEditable?: boolean | "true" | "false" | "inherit" | undefined; | ||
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined; | ||
contextMenu?: string | undefined; | ||
dir?: string | undefined; | ||
draggable?: boolean | "true" | "false" | undefined; | ||
draggable?: (boolean | "true" | "false") | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -186,6 +186,6 @@ lang?: string | undefined; | ||
slot?: string | undefined; | ||
spellCheck?: boolean | "true" | "false" | undefined; | ||
spellCheck?: (boolean | "true" | "false") | undefined; | ||
style?: react.CSSProperties | undefined; | ||
title?: string | undefined; | ||
translate?: "yes" | "no" | undefined; | ||
translate?: "no" | "yes" | undefined; | ||
radioGroup?: string | undefined; | ||
@@ -212,8 +212,8 @@ about?: string | undefined; | ||
unselectable?: "on" | "off" | undefined; | ||
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined; | ||
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined; | ||
is?: string | undefined; | ||
'aria-activedescendant'?: string | undefined; | ||
'aria-atomic'?: boolean | "true" | "false" | undefined; | ||
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined; | ||
'aria-busy'?: boolean | "true" | "false" | undefined; | ||
'aria-atomic'?: (boolean | "true" | "false") | undefined; | ||
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined; | ||
'aria-busy'?: (boolean | "true" | "false") | undefined; | ||
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined; | ||
@@ -223,12 +223,12 @@ 'aria-colcount'?: number | undefined; | ||
'aria-colspan'?: number | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "time" | "location" | "page" | "step" | "date" | undefined; | ||
'aria-describedby'?: string | undefined; | ||
'aria-details'?: string | undefined; | ||
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined; | ||
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined; | ||
'aria-errormessage'?: string | undefined; | ||
'aria-expanded'?: boolean | "true" | "false" | undefined; | ||
'aria-expanded'?: (boolean | "true" | "false") | undefined; | ||
'aria-flowto'?: string | undefined; | ||
'aria-grabbed'?: boolean | "true" | "false" | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined; | ||
'aria-hidden'?: boolean | "true" | "false" | undefined; | ||
'aria-grabbed'?: (boolean | "true" | "false") | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined; | ||
'aria-hidden'?: (boolean | "true" | "false") | undefined; | ||
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined; | ||
@@ -240,6 +240,6 @@ 'aria-keyshortcuts'?: string | undefined; | ||
'aria-live'?: "off" | "assertive" | "polite" | undefined; | ||
'aria-modal'?: boolean | "true" | "false" | undefined; | ||
'aria-multiline'?: boolean | "true" | "false" | undefined; | ||
'aria-multiselectable'?: boolean | "true" | "false" | undefined; | ||
'aria-orientation'?: "vertical" | "horizontal" | undefined; | ||
'aria-modal'?: (boolean | "true" | "false") | undefined; | ||
'aria-multiline'?: (boolean | "true" | "false") | undefined; | ||
'aria-multiselectable'?: (boolean | "true" | "false") | undefined; | ||
'aria-orientation'?: "horizontal" | "vertical" | undefined; | ||
'aria-owns'?: string | undefined; | ||
@@ -249,5 +249,5 @@ 'aria-placeholder'?: string | undefined; | ||
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined; | ||
'aria-readonly'?: boolean | "true" | "false" | undefined; | ||
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined; | ||
'aria-required'?: boolean | "true" | "false" | undefined; | ||
'aria-readonly'?: (boolean | "true" | "false") | undefined; | ||
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined; | ||
'aria-required'?: (boolean | "true" | "false") | undefined; | ||
'aria-roledescription'?: string | undefined; | ||
@@ -443,6 +443,6 @@ 'aria-rowcount'?: number | undefined; | ||
className?: string | undefined; | ||
contentEditable?: boolean | "true" | "false" | "inherit" | undefined; | ||
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined; | ||
contextMenu?: string | undefined; | ||
dir?: string | undefined; | ||
draggable?: boolean | "true" | "false" | undefined; | ||
draggable?: (boolean | "true" | "false") | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -452,6 +452,6 @@ lang?: string | undefined; | ||
slot?: string | undefined; | ||
spellCheck?: boolean | "true" | "false" | undefined; | ||
spellCheck?: (boolean | "true" | "false") | undefined; | ||
style?: react.CSSProperties | undefined; | ||
title?: string | undefined; | ||
translate?: "yes" | "no" | undefined; | ||
translate?: "no" | "yes" | undefined; | ||
radioGroup?: string | undefined; | ||
@@ -478,8 +478,8 @@ about?: string | undefined; | ||
unselectable?: "on" | "off" | undefined; | ||
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined; | ||
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined; | ||
is?: string | undefined; | ||
'aria-activedescendant'?: string | undefined; | ||
'aria-atomic'?: boolean | "true" | "false" | undefined; | ||
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined; | ||
'aria-busy'?: boolean | "true" | "false" | undefined; | ||
'aria-atomic'?: (boolean | "true" | "false") | undefined; | ||
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined; | ||
'aria-busy'?: (boolean | "true" | "false") | undefined; | ||
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined; | ||
@@ -489,12 +489,12 @@ 'aria-colcount'?: number | undefined; | ||
'aria-colspan'?: number | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined; | ||
'aria-current'?: boolean | "true" | "false" | "time" | "location" | "page" | "step" | "date" | undefined; | ||
'aria-describedby'?: string | undefined; | ||
'aria-details'?: string | undefined; | ||
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined; | ||
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined; | ||
'aria-errormessage'?: string | undefined; | ||
'aria-expanded'?: boolean | "true" | "false" | undefined; | ||
'aria-expanded'?: (boolean | "true" | "false") | undefined; | ||
'aria-flowto'?: string | undefined; | ||
'aria-grabbed'?: boolean | "true" | "false" | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined; | ||
'aria-hidden'?: boolean | "true" | "false" | undefined; | ||
'aria-grabbed'?: (boolean | "true" | "false") | undefined; | ||
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined; | ||
'aria-hidden'?: (boolean | "true" | "false") | undefined; | ||
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined; | ||
@@ -506,6 +506,6 @@ 'aria-keyshortcuts'?: string | undefined; | ||
'aria-live'?: "off" | "assertive" | "polite" | undefined; | ||
'aria-modal'?: boolean | "true" | "false" | undefined; | ||
'aria-multiline'?: boolean | "true" | "false" | undefined; | ||
'aria-multiselectable'?: boolean | "true" | "false" | undefined; | ||
'aria-orientation'?: "vertical" | "horizontal" | undefined; | ||
'aria-modal'?: (boolean | "true" | "false") | undefined; | ||
'aria-multiline'?: (boolean | "true" | "false") | undefined; | ||
'aria-multiselectable'?: (boolean | "true" | "false") | undefined; | ||
'aria-orientation'?: "horizontal" | "vertical" | undefined; | ||
'aria-owns'?: string | undefined; | ||
@@ -515,5 +515,5 @@ 'aria-placeholder'?: string | undefined; | ||
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined; | ||
'aria-readonly'?: boolean | "true" | "false" | undefined; | ||
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined; | ||
'aria-required'?: boolean | "true" | "false" | undefined; | ||
'aria-readonly'?: (boolean | "true" | "false") | undefined; | ||
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined; | ||
'aria-required'?: (boolean | "true" | "false") | undefined; | ||
'aria-roledescription'?: string | undefined; | ||
@@ -520,0 +520,0 @@ 'aria-rowcount'?: number | undefined; |
// ../../../react-shim.js | ||
import React from "react"; | ||
// ../../utilities/shared-utils/dist/index.esm.js | ||
// ../../utilities/shared-utils/src/index.ts | ||
var cx = (...classNames) => classNames.filter(Boolean).join(" "); | ||
@@ -6,0 +6,0 @@ function callAllHandlers(...fns) { |
{ | ||
"name": "@chakra-ui/tabs", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Accessible Tabs component for React and Chakra UI", | ||
@@ -27,4 +27,2 @@ "keywords": [ | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -45,17 +43,18 @@ "dist" | ||
"dependencies": { | ||
"@chakra-ui/clickable": "2.0.9", | ||
"@chakra-ui/descendant": "3.0.9", | ||
"@chakra-ui/react-context": "2.0.3", | ||
"@chakra-ui/react-use-safe-layout-effect": "2.0.1", | ||
"@chakra-ui/react-use-controllable-state": "2.0.4", | ||
"@chakra-ui/react-children-utils": "2.0.1", | ||
"@chakra-ui/react-use-merge-refs": "2.0.3", | ||
"@chakra-ui/lazy-utils": "2.0.1" | ||
"@chakra-ui/clickable": "2.0.10", | ||
"@chakra-ui/descendant": "3.0.10", | ||
"@chakra-ui/react-context": "2.0.4", | ||
"@chakra-ui/react-use-safe-layout-effect": "2.0.2", | ||
"@chakra-ui/react-use-controllable-state": "2.0.5", | ||
"@chakra-ui/react-children-utils": "2.0.2", | ||
"@chakra-ui/react-use-merge-refs": "2.0.4", | ||
"@chakra-ui/lazy-utils": "2.0.2" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/shared-utils": "2.0.1", | ||
"@chakra-ui/react-use-interval": "2.0.1", | ||
"@chakra-ui/system": "2.2.10", | ||
"@chakra-ui/modal": "2.2.0", | ||
"react": "^18.0.0" | ||
"@chakra-ui/shared-utils": "2.0.2", | ||
"@chakra-ui/react-use-interval": "2.0.2", | ||
"@chakra-ui/system": "2.2.12", | ||
"@chakra-ui/modal": "2.2.1", | ||
"react": "^18.0.0", | ||
"clean-package": "2.1.1" | ||
}, | ||
@@ -66,5 +65,14 @@ "peerDependencies": { | ||
}, | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.esm.js", | ||
"require": "./dist/index.cjs.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
"build": "JSX=1 tsup src/index.ts --dts", | ||
"dev": "pnpm build -- --watch", | ||
"dev": "pnpm build:fast -- --watch", | ||
"clean": "rimraf dist .turbo", | ||
@@ -71,0 +79,0 @@ "typecheck": "tsc --noEmit", |
73240
6
+ Added@chakra-ui/clickable@2.0.10(transitive)
+ Added@chakra-ui/descendant@3.0.10(transitive)
+ Added@chakra-ui/lazy-utils@2.0.2(transitive)
+ Added@chakra-ui/react-children-utils@2.0.2(transitive)
+ Added@chakra-ui/react-context@2.0.4(transitive)
+ Added@chakra-ui/react-use-callback-ref@2.0.4(transitive)
+ Added@chakra-ui/react-use-controllable-state@2.0.5(transitive)
+ Added@chakra-ui/react-use-merge-refs@2.0.4(transitive)
+ Added@chakra-ui/react-use-safe-layout-effect@2.0.2(transitive)
- Removed@chakra-ui/clickable@2.0.9(transitive)
- Removed@chakra-ui/descendant@3.0.9(transitive)
- Removed@chakra-ui/lazy-utils@2.0.1(transitive)
- Removed@chakra-ui/react-children-utils@2.0.1(transitive)
- Removed@chakra-ui/react-context@2.0.3(transitive)
- Removed@chakra-ui/react-use-callback-ref@2.0.3(transitive)
- Removed@chakra-ui/react-use-controllable-state@2.0.4(transitive)
- Removed@chakra-ui/react-use-merge-refs@2.0.3(transitive)
- Removed@chakra-ui/react-use-safe-layout-effect@2.0.1(transitive)
Updated@chakra-ui/clickable@2.0.10
Updated@chakra-ui/descendant@3.0.10
Updated@chakra-ui/lazy-utils@2.0.2