@dxos/react-ui-tabs 0.8.4-main.74a063c4e0 → 0.8.4-main.765dc60934

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": "@dxos/react-ui-tabs",
3
- "version": "0.8.4-main.74a063c4e0",
3
+ "version": "0.8.4-main.765dc60934",
4
4
  "description": "Components for facilitating a Tabs pattern.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": false,
14
14
  "type": "module",
@@ -21,9 +21,6 @@
21
21
  }
22
22
  },
23
23
  "types": "dist/types/src/index.d.ts",
24
- "typesVersions": {
25
- "*": {}
26
- },
27
24
  "files": [
28
25
  "dist",
29
26
  "src"
@@ -36,25 +33,25 @@
36
33
  "@radix-ui/react-slot": "1.1.2",
37
34
  "@radix-ui/react-tabs": "1.1.3",
38
35
  "@radix-ui/react-use-controllable-state": "1.1.0",
39
- "@dxos/react-ui-attention": "0.8.4-main.74a063c4e0",
40
- "@dxos/util": "0.8.4-main.74a063c4e0"
36
+ "@dxos/react-ui-attention": "0.8.4-main.765dc60934",
37
+ "@dxos/util": "0.8.4-main.765dc60934"
41
38
  },
42
39
  "devDependencies": {
43
40
  "@types/react": "~19.2.7",
44
41
  "@types/react-dom": "~19.2.3",
45
42
  "react": "~19.2.3",
46
43
  "react-dom": "~19.2.3",
47
- "vite": "^7.1.11",
48
- "@dxos/react-ui": "0.8.4-main.74a063c4e0",
49
- "@dxos/random": "0.8.4-main.74a063c4e0",
50
- "@dxos/storybook-utils": "0.8.4-main.74a063c4e0",
51
- "@dxos/ui-theme": "0.8.4-main.74a063c4e0"
44
+ "vite": "^8.0.13",
45
+ "@dxos/random": "0.8.4-main.765dc60934",
46
+ "@dxos/react-ui": "0.8.4-main.765dc60934",
47
+ "@dxos/storybook-utils": "0.8.4-main.765dc60934",
48
+ "@dxos/ui-theme": "0.8.4-main.765dc60934"
52
49
  },
53
50
  "peerDependencies": {
54
51
  "react": "~19.2.3",
55
52
  "react-dom": "~19.2.3",
56
- "@dxos/react-ui": "0.8.4-main.74a063c4e0",
57
- "@dxos/ui-theme": "0.8.4-main.74a063c4e0"
53
+ "@dxos/ui-theme": "0.8.4-main.765dc60934",
54
+ "@dxos/react-ui": "0.8.4-main.765dc60934"
58
55
  },
59
56
  "publishConfig": {
60
57
  "access": "public"
package/src/Tabs.tsx CHANGED
@@ -132,7 +132,7 @@ type TabsViewportProps = ThemedClassName<ComponentPropsWithoutRef<'div'>>;
132
132
  const TabsViewport = ({ classNames, children, ...props }: TabsViewportProps) => {
133
133
  const { activePart } = useTabsContext('TabsViewport');
134
134
  return (
135
- <div role='none' {...props} data-active={activePart} className={mx(classNames)}>
135
+ <div {...props} data-active={activePart} className={mx(classNames)}>
136
136
  {children}
137
137
  </div>
138
138
  );
@@ -251,12 +251,11 @@ const TabsIconTab = ({ value, classNames, onClick, ...props }: TabsIconTabProps)
251
251
 
252
252
  type TabsPanelProps = ThemedClassName<TabsPrimitive.TabsContentProps>;
253
253
 
254
- // TODO(burdon): Make slottable.
255
254
  const TabsPanel = ({ classNames, children, ...props }: TabsPanelProps) => {
256
255
  const { value: contextValue } = useTabsContext('TabsTab');
257
256
  return (
258
257
  <Activity mode={contextValue === props.value ? 'visible' : 'hidden'}>
259
- <TabsPrimitive.Content {...props} className={mx('dx-focus-ring-inset-over-all', classNames)}>
258
+ <TabsPrimitive.Content {...props} className={mx('p-0! dx-focus-ring-inset-over-all', classNames)}>
260
259
  {children}
261
260
  </TabsPrimitive.Content>
262
261
  </Activity>