@fluentui/react-tabs 9.4.13 → 9.4.14
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/CHANGELOG.md +16 -2
- package/lib/components/Tab/Tab.types.js +1 -3
- package/lib/components/Tab/Tab.types.js.map +1 -1
- package/lib-commonjs/components/Tab/Tab.types.js +1 -3
- package/lib-commonjs/components/Tab/Tab.types.js.map +1 -1
- package/lib-commonjs/index.js +17 -17
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-tabs
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 18 Mar 2024 19:44:52 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.4.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabs_v9.4.14)
|
|
8
|
+
|
|
9
|
+
Mon, 18 Mar 2024 19:44:52 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabs_v9.4.13..@fluentui/react-tabs_v9.4.14)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Bump @fluentui/react-context-selector to v9.1.56 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
15
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.34 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
16
|
+
- Bump @fluentui/react-shared-contexts to v9.15.2 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
17
|
+
- Bump @fluentui/react-tabster to v9.19.5 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
18
|
+
- Bump @fluentui/react-theme to v9.1.19 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
19
|
+
- Bump @fluentui/react-utilities to v9.18.5 ([PR #30803](https://github.com/microsoft/fluentui/pull/30803) by beachball)
|
|
20
|
+
|
|
7
21
|
## [9.4.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-tabs_v9.4.13)
|
|
8
22
|
|
|
9
|
-
Fri, 15 Mar 2024 21:
|
|
23
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
|
10
24
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tabs_v9.4.12..@fluentui/react-tabs_v9.4.13)
|
|
11
25
|
|
|
12
26
|
### Patches
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["Tab.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Any value that identifies a specific tab.\n */\nexport type TabValue = unknown;\n\nexport type TabSlots = {\n /**\n * Root of the component.\n */\n root: Slot<'button'>;\n\n /**\n * Icon that renders before the content.\n */\n icon?: Slot<'span'>;\n\n /**\n * Component children are placed in this slot\n * Avoid using the `children` property in this slot in favour of Component children whenever possible.\n */\n content: NonNullable<Slot<'span'>>;\n};\n\nexport type TabInternalSlots = TabSlots & {\n contentReservedSpace?: Slot<'span'>;\n};\n\n/**\n * Tab Props\n */\nexport type TabProps = Omit<ComponentProps<Partial<TabSlots>>, 'content'> &\n Pick<Partial<TabSlots>, 'content'> & {\n /**\n * A tab can be set to disable interaction.\n * @default false\n */\n disabled?: boolean;\n /**\n * The value that identifies this tab when selected.\n */\n value: TabValue;\n };\n\n/**\n * State used in rendering Tab\n */\nexport type TabState = ComponentState<TabInternalSlots> &\n Pick<TabProps, 'value'> &\n Required<Pick<TabProps, 'disabled'>> & {\n /**\n * A tab supports 'transparent' and 'subtle' appearance.\n */\n appearance?: 'transparent' | 'subtle';\n /**\n * A tab can have only an icon slot filled and no content.\n */\n iconOnly: boolean;\n /**\n * If this tab is selected\n */\n selected: boolean;\n /**\n * When defined, tab content with selected style is rendered hidden to reserve space.\n * This keeps consistent content size between unselected and selected states.\n *\n * @deprecated - use `contentReservedSpace` internal slot instead.\n */\n contentReservedSpaceClassName?: string;\n /**\n * A tab can be either 'small', 'medium', or 'large' size.\n */\n size: 'small' | 'medium' | 'large';\n /**\n * A tab can arrange its content based on if the tabs in the list are arranged vertically.\n */\n vertical: boolean;\n };\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["Tab.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Any value that identifies a specific tab.\n */\nexport type TabValue = unknown;\n\nexport type TabSlots = {\n /**\n * Root of the component.\n */\n root: Slot<'button'>;\n\n /**\n * Icon that renders before the content.\n */\n icon?: Slot<'span'>;\n\n /**\n * Component children are placed in this slot\n * Avoid using the `children` property in this slot in favour of Component children whenever possible.\n */\n content: NonNullable<Slot<'span'>>;\n};\n\nexport type TabInternalSlots = TabSlots & {\n contentReservedSpace?: Slot<'span'>;\n};\n\n/**\n * Tab Props\n */\nexport type TabProps = Omit<ComponentProps<Partial<TabSlots>>, 'content'> &\n Pick<Partial<TabSlots>, 'content'> & {\n /**\n * A tab can be set to disable interaction.\n * @default false\n */\n disabled?: boolean;\n /**\n * The value that identifies this tab when selected.\n */\n value: TabValue;\n };\n\n/**\n * State used in rendering Tab\n */\nexport type TabState = ComponentState<TabInternalSlots> &\n Pick<TabProps, 'value'> &\n Required<Pick<TabProps, 'disabled'>> & {\n /**\n * A tab supports 'transparent' and 'subtle' appearance.\n */\n appearance?: 'transparent' | 'subtle';\n /**\n * A tab can have only an icon slot filled and no content.\n */\n iconOnly: boolean;\n /**\n * If this tab is selected\n */\n selected: boolean;\n /**\n * When defined, tab content with selected style is rendered hidden to reserve space.\n * This keeps consistent content size between unselected and selected states.\n *\n * @deprecated - use `contentReservedSpace` internal slot instead.\n */\n contentReservedSpaceClassName?: string;\n /**\n * A tab can be either 'small', 'medium', or 'large' size.\n */\n size: 'small' | 'medium' | 'large';\n /**\n * A tab can arrange its content based on if the tabs in the list are arranged vertically.\n */\n vertical: boolean;\n };\n"],"names":[],"mappings":"AAAA,WA8EI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -9,44 +9,44 @@ function _export(target, all) {
|
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
+
renderTab_unstable: function() {
|
|
13
|
+
return _Tab.renderTab_unstable;
|
|
14
|
+
},
|
|
12
15
|
Tab: function() {
|
|
13
16
|
return _Tab.Tab;
|
|
14
17
|
},
|
|
15
|
-
|
|
16
|
-
return
|
|
18
|
+
tabClassNames: function() {
|
|
19
|
+
return _Tab.tabClassNames;
|
|
17
20
|
},
|
|
18
|
-
|
|
19
|
-
return
|
|
21
|
+
useTabStyles_unstable: function() {
|
|
22
|
+
return _Tab.useTabStyles_unstable;
|
|
23
|
+
},
|
|
24
|
+
useTab_unstable: function() {
|
|
25
|
+
return _Tab.useTab_unstable;
|
|
20
26
|
},
|
|
21
27
|
renderTabList_unstable: function() {
|
|
22
28
|
return _TabList.renderTabList_unstable;
|
|
23
29
|
},
|
|
24
|
-
|
|
25
|
-
return
|
|
30
|
+
TabList: function() {
|
|
31
|
+
return _TabList.TabList;
|
|
26
32
|
},
|
|
27
|
-
|
|
28
|
-
return
|
|
33
|
+
TabListProvider: function() {
|
|
34
|
+
return _TabList.TabListProvider;
|
|
29
35
|
},
|
|
30
36
|
tabListClassNames: function() {
|
|
31
37
|
return _TabList.tabListClassNames;
|
|
32
38
|
},
|
|
33
|
-
useTabListContextValues_unstable: function() {
|
|
34
|
-
return _TabList.useTabListContextValues_unstable;
|
|
35
|
-
},
|
|
36
39
|
useTabListContext_unstable: function() {
|
|
37
40
|
return _TabList.useTabListContext_unstable;
|
|
38
41
|
},
|
|
42
|
+
useTabListContextValues_unstable: function() {
|
|
43
|
+
return _TabList.useTabListContextValues_unstable;
|
|
44
|
+
},
|
|
39
45
|
useTabListStyles_unstable: function() {
|
|
40
46
|
return _TabList.useTabListStyles_unstable;
|
|
41
47
|
},
|
|
42
48
|
useTabList_unstable: function() {
|
|
43
49
|
return _TabList.useTabList_unstable;
|
|
44
|
-
},
|
|
45
|
-
useTabStyles_unstable: function() {
|
|
46
|
-
return _Tab.useTabStyles_unstable;
|
|
47
|
-
},
|
|
48
|
-
useTab_unstable: function() {
|
|
49
|
-
return _Tab.useTab_unstable;
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
const _Tab = require("./Tab");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { renderTab_unstable, Tab, tabClassNames, useTabStyles_unstable, useTab_unstable } from './Tab';\nexport { renderTabList_unstable, TabList, TabListProvider, tabListClassNames, useTabListContext_unstable, useTabListContextValues_unstable, useTabListStyles_unstable, useTabList_unstable } from './TabList';\n"],"names":["
|
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { renderTab_unstable, Tab, tabClassNames, useTabStyles_unstable, useTab_unstable } from './Tab';\nexport { renderTabList_unstable, TabList, TabListProvider, tabListClassNames, useTabListContext_unstable, useTabListContextValues_unstable, useTabListStyles_unstable, useTabList_unstable } from './TabList';\n"],"names":["renderTab_unstable","Tab","tabClassNames","useTabStyles_unstable","useTab_unstable","renderTabList_unstable","TabList","TabListProvider","tabListClassNames","useTabListContext_unstable","useTabListContextValues_unstable","useTabListStyles_unstable","useTabList_unstable"],"mappings":";;;;;;;;;;;IAASA,kBAAkB;eAAlBA,uBAAkB;;IAAEC,GAAG;eAAHA,QAAG;;IAAEC,aAAa;eAAbA,kBAAa;;IAAEC,qBAAqB;eAArBA,0BAAqB;;IAAEC,eAAe;eAAfA,oBAAe;;IAC9EC,sBAAsB;eAAtBA,+BAAsB;;IAAEC,OAAO;eAAPA,gBAAO;;IAAEC,eAAe;eAAfA,wBAAe;;IAAEC,iBAAiB;eAAjBA,0BAAiB;;IAAEC,0BAA0B;eAA1BA,mCAA0B;;IAAEC,gCAAgC;eAAhCA,yCAAgC;;IAAEC,yBAAyB;eAAzBA,kCAAyB;;IAAEC,mBAAmB;eAAnBA,4BAAmB;;;qBAD3F;yBACmG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-tabs",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.14",
|
|
4
4
|
"description": "Fluent UI React tabs components",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@fluentui/react-context-selector": "^9.1.
|
|
36
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
|
37
|
-
"@fluentui/react-shared-contexts": "^9.15.
|
|
38
|
-
"@fluentui/react-tabster": "^9.19.
|
|
39
|
-
"@fluentui/react-theme": "^9.1.
|
|
40
|
-
"@fluentui/react-utilities": "^9.18.
|
|
35
|
+
"@fluentui/react-context-selector": "^9.1.56",
|
|
36
|
+
"@fluentui/react-jsx-runtime": "^9.0.34",
|
|
37
|
+
"@fluentui/react-shared-contexts": "^9.15.2",
|
|
38
|
+
"@fluentui/react-tabster": "^9.19.5",
|
|
39
|
+
"@fluentui/react-theme": "^9.1.19",
|
|
40
|
+
"@fluentui/react-utilities": "^9.18.5",
|
|
41
41
|
"@griffel/react": "^1.5.14",
|
|
42
42
|
"@swc/helpers": "^0.5.1"
|
|
43
43
|
},
|