@dxos/react-ui-tabs 0.6.9 → 0.6.10-main.3cfcc89
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/Tabs.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/Tabs.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;AAkB1B,wBAKE;AAEF,eAAO,MAAM,IAAI;;CAmChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-tabs",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10-main.3cfcc89",
|
|
4
4
|
"description": "Components for facilitating a Tabs pattern.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"@radix-ui/react-slot": "^1.0.1",
|
|
29
29
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
30
30
|
"@radix-ui/react-use-controllable-state": "^1.0.0",
|
|
31
|
-
"@dxos/react-ui": "0.6.
|
|
32
|
-
"@dxos/react-ui-theme": "0.6.
|
|
33
|
-
"@dxos/util": "0.6.
|
|
31
|
+
"@dxos/react-ui": "0.6.10-main.3cfcc89",
|
|
32
|
+
"@dxos/react-ui-theme": "0.6.10-main.3cfcc89",
|
|
33
|
+
"@dxos/util": "0.6.10-main.3cfcc89"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/react": "~18.2.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"react": "~18.2.0",
|
|
39
39
|
"react-dom": "~18.2.0",
|
|
40
40
|
"vite": "^5.3.4",
|
|
41
|
-
"@dxos/storybook-utils": "0.6.
|
|
42
|
-
"@dxos/random": "0.6.
|
|
41
|
+
"@dxos/storybook-utils": "0.6.10-main.3cfcc89",
|
|
42
|
+
"@dxos/random": "0.6.10-main.3cfcc89"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^18.0.0",
|
package/src/Tabs.stories.tsx
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
7
|
import { faker } from '@dxos/random';
|
|
8
|
-
import { Dialog } from '@dxos/react-ui';
|
|
9
|
-
import { getSize } from '@dxos/react-ui-theme';
|
|
8
|
+
import { Dialog, Icon } from '@dxos/react-ui';
|
|
10
9
|
import { withTheme } from '@dxos/storybook-utils';
|
|
11
10
|
|
|
12
11
|
import { Tabs as NaturalTabs } from './Tabs';
|
|
@@ -49,9 +48,7 @@ export const Tabs = {
|
|
|
49
48
|
return (
|
|
50
49
|
<NaturalTabs.Tabpanel key={id} value={id} classNames='m-1'>
|
|
51
50
|
<NaturalTabs.BackButton density='fine'>
|
|
52
|
-
<
|
|
53
|
-
<use href='/icons.svg#ph--arrow-left--bold' />
|
|
54
|
-
</svg>
|
|
51
|
+
<Icon icon='ph--arrow-left--bold' size={4} />
|
|
55
52
|
<span>Back to tab list</span>
|
|
56
53
|
</NaturalTabs.BackButton>
|
|
57
54
|
<p className='pli-1'>{panel}</p>
|