@fluentui/react-migration-v8-v9 9.8.8 → 9.9.0

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 CHANGED
@@ -1,12 +1,22 @@
1
1
  # Change Log - @fluentui/react-migration-v8-v9
2
2
 
3
- This log was last generated on Wed, 16 Jul 2025 13:51:52 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 17 Jul 2025 13:45:42 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.9.0)
8
+
9
+ Thu, 17 Jul 2025 13:45:42 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v8-v9_v9.8.8..@fluentui/react-migration-v8-v9_v9.9.0)
11
+
12
+ ### Minor changes
13
+
14
+ - feat: enable griffel raw styles ([PR #34853](https://github.com/microsoft/fluentui/pull/34853) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-components to v9.67.0 ([PR #34862](https://github.com/microsoft/fluentui/pull/34862) by beachball)
16
+
7
17
  ## [9.8.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-migration-v8-v9_v9.8.8)
8
18
 
9
- Wed, 16 Jul 2025 13:51:52 GMT
19
+ Wed, 16 Jul 2025 13:52:50 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-migration-v8-v9_v9.8.7..@fluentui/react-migration-v8-v9_v9.8.8)
11
21
 
12
22
  ### Patches
@@ -0,0 +1,6 @@
1
+ import { makeStyles } from '@fluentui/react-components';
2
+ export const useCheckboxStyles = makeStyles({
3
+ root: {
4
+ display: 'flex'
5
+ }
6
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Checkbox/Checkbox.styles.ts"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\n\nexport const useCheckboxStyles = makeStyles({\n root: {\n display: 'flex',\n },\n});\n"],"names":["makeStyles","useCheckboxStyles","root","display"],"rangeMappings":";;;;;","mappings":"AAAA,SAASA,UAAU,QAAQ,6BAA6B;AAExD,OAAO,MAAMC,oBAAoBD,WAAW;IAC1CE,MAAM;QACJC,SAAS;IACX;AACF,GAAG"}
@@ -0,0 +1,114 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ export const useStackItemShimStyles = makeStyles({
3
+ root: {
4
+ height: 'auto',
5
+ width: 'auto'
6
+ },
7
+ disableShrink: {
8
+ flexShrink: 0
9
+ },
10
+ verticalFill: {
11
+ height: '100%'
12
+ }
13
+ });
14
+ export const useFlexAlignSelfStyles = makeStyles({
15
+ auto: {
16
+ alignSelf: 'auto'
17
+ },
18
+ baseline: {
19
+ alignSelf: 'baseline'
20
+ },
21
+ center: {
22
+ alignSelf: 'center'
23
+ },
24
+ start: {
25
+ alignSelf: 'flex-start'
26
+ },
27
+ end: {
28
+ alignSelf: 'flex-end'
29
+ },
30
+ stretch: {
31
+ alignSelf: 'stretch'
32
+ }
33
+ });
34
+ export const useFlexGrowStyles = makeStyles({
35
+ inherit: {
36
+ flexGrow: 'inherit'
37
+ },
38
+ initial: {
39
+ flexGrow: 'initial'
40
+ },
41
+ revert: {
42
+ flexGrow: 'revert'
43
+ },
44
+ unset: {
45
+ flexGrow: 'unset'
46
+ },
47
+ '1': {
48
+ flexGrow: 1
49
+ },
50
+ '2': {
51
+ flexGrow: 2
52
+ },
53
+ '3': {
54
+ flexGrow: 3
55
+ }
56
+ });
57
+ export const useFlexShrinkStyles = makeStyles({
58
+ inherit: {
59
+ flexShrink: 'inherit'
60
+ },
61
+ initial: {
62
+ flexShrink: 'initial'
63
+ },
64
+ revert: {
65
+ flexShrink: 'revert'
66
+ },
67
+ unset: {
68
+ flexShrink: 'unset'
69
+ },
70
+ 0: {
71
+ flexShrink: 0
72
+ },
73
+ 1: {
74
+ flexShrink: 1
75
+ },
76
+ 2: {
77
+ flexShrink: 2
78
+ }
79
+ });
80
+ export const useFlexOrderStyles = makeStyles({
81
+ inherit: {
82
+ order: 'inherit'
83
+ },
84
+ initial: {
85
+ order: 'initial'
86
+ },
87
+ unset: {
88
+ order: 'unset'
89
+ },
90
+ revert: {
91
+ order: 'revert'
92
+ },
93
+ '-3': {
94
+ order: -3
95
+ },
96
+ '-2': {
97
+ order: -2
98
+ },
99
+ '-1': {
100
+ order: -1
101
+ },
102
+ '0': {
103
+ order: 0
104
+ },
105
+ '1': {
106
+ order: 1
107
+ },
108
+ '2': {
109
+ order: 2
110
+ },
111
+ '3': {
112
+ order: 3
113
+ }
114
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Stack/StackItemShim.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\n\nexport const useStackItemShimStyles = makeStyles({\n root: {\n height: 'auto',\n width: 'auto',\n },\n disableShrink: {\n flexShrink: 0,\n },\n verticalFill: {\n height: '100%',\n },\n});\n\nexport const useFlexAlignSelfStyles = makeStyles({\n auto: {\n alignSelf: 'auto',\n },\n baseline: {\n alignSelf: 'baseline',\n },\n center: {\n alignSelf: 'center',\n },\n start: {\n alignSelf: 'flex-start',\n },\n end: {\n alignSelf: 'flex-end',\n },\n stretch: {\n alignSelf: 'stretch',\n },\n});\n\nexport const useFlexGrowStyles = makeStyles({\n inherit: {\n flexGrow: 'inherit',\n },\n initial: {\n flexGrow: 'initial',\n },\n revert: {\n flexGrow: 'revert',\n },\n unset: {\n flexGrow: 'unset',\n },\n '1': {\n flexGrow: 1,\n },\n '2': {\n flexGrow: 2,\n },\n '3': {\n flexGrow: 3,\n },\n});\n\nexport const useFlexShrinkStyles = makeStyles({\n inherit: {\n flexShrink: 'inherit',\n },\n initial: {\n flexShrink: 'initial',\n },\n revert: {\n flexShrink: 'revert',\n },\n unset: {\n flexShrink: 'unset',\n },\n 0: {\n flexShrink: 0,\n },\n 1: {\n flexShrink: 1,\n },\n 2: {\n flexShrink: 2,\n },\n});\n\nexport const useFlexOrderStyles = makeStyles({\n inherit: {\n order: 'inherit',\n },\n initial: {\n order: 'initial',\n },\n unset: {\n order: 'unset',\n },\n revert: {\n order: 'revert',\n },\n '-3': {\n order: -3,\n },\n '-2': {\n order: -2,\n },\n '-1': {\n order: -1,\n },\n '0': {\n order: 0,\n },\n '1': {\n order: 1,\n },\n '2': {\n order: 2,\n },\n '3': {\n order: 3,\n },\n});\n"],"names":["makeStyles","useStackItemShimStyles","root","height","width","disableShrink","flexShrink","verticalFill","useFlexAlignSelfStyles","auto","alignSelf","baseline","center","start","end","stretch","useFlexGrowStyles","inherit","flexGrow","initial","revert","unset","useFlexShrinkStyles","useFlexOrderStyles","order"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAE5C,OAAO,MAAMC,yBAAyBD,WAAW;IAC/CE,MAAM;QACJC,QAAQ;QACRC,OAAO;IACT;IACAC,eAAe;QACbC,YAAY;IACd;IACAC,cAAc;QACZJ,QAAQ;IACV;AACF,GAAG;AAEH,OAAO,MAAMK,yBAAyBR,WAAW;IAC/CS,MAAM;QACJC,WAAW;IACb;IACAC,UAAU;QACRD,WAAW;IACb;IACAE,QAAQ;QACNF,WAAW;IACb;IACAG,OAAO;QACLH,WAAW;IACb;IACAI,KAAK;QACHJ,WAAW;IACb;IACAK,SAAS;QACPL,WAAW;IACb;AACF,GAAG;AAEH,OAAO,MAAMM,oBAAoBhB,WAAW;IAC1CiB,SAAS;QACPC,UAAU;IACZ;IACAC,SAAS;QACPD,UAAU;IACZ;IACAE,QAAQ;QACNF,UAAU;IACZ;IACAG,OAAO;QACLH,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;AACF,GAAG;AAEH,OAAO,MAAMI,sBAAsBtB,WAAW;IAC5CiB,SAAS;QACPX,YAAY;IACd;IACAa,SAAS;QACPb,YAAY;IACd;IACAc,QAAQ;QACNd,YAAY;IACd;IACAe,OAAO;QACLf,YAAY;IACd;IACA,GAAG;QACDA,YAAY;IACd;IACA,GAAG;QACDA,YAAY;IACd;IACA,GAAG;QACDA,YAAY;IACd;AACF,GAAG;AAEH,OAAO,MAAMiB,qBAAqBvB,WAAW;IAC3CiB,SAAS;QACPO,OAAO;IACT;IACAL,SAAS;QACPK,OAAO;IACT;IACAH,OAAO;QACLG,OAAO;IACT;IACAJ,QAAQ;QACNI,OAAO;IACT;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;AACF,GAAG"}
@@ -0,0 +1,133 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ export const useStackStyles = makeStyles({
3
+ root: {
4
+ display: 'flex',
5
+ flexDirection: 'column',
6
+ flexWrap: 'nowrap',
7
+ width: 'auto',
8
+ height: 'auto',
9
+ boxSizing: 'border-box',
10
+ '> *': {
11
+ textOverflow: 'ellipsis'
12
+ },
13
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
14
+ // @ts-ignore
15
+ '> *:not(.ms-StackItem)': {
16
+ flexShrink: 1
17
+ }
18
+ },
19
+ horizontal: {
20
+ flexDirection: 'row'
21
+ },
22
+ verticalFill: {
23
+ height: '100%'
24
+ },
25
+ reversedVertical: {
26
+ flexDirection: 'column-reverse'
27
+ },
28
+ reversedHorizontal: {
29
+ flexDirection: 'row-reverse'
30
+ },
31
+ disableShrink: {
32
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
33
+ // @ts-ignore
34
+ '> *:not(.ms-StackItem)': {
35
+ flexShrink: 0
36
+ }
37
+ },
38
+ wrap: {
39
+ display: 'flex',
40
+ flexWrap: 'wrap',
41
+ height: '100%'
42
+ },
43
+ inner: {
44
+ display: 'flex',
45
+ flexDirection: 'column',
46
+ flexWrap: 'wrap',
47
+ boxSizing: 'border-box',
48
+ maxWidth: '100vw',
49
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
50
+ // @ts-ignore
51
+ '> *:not(.ms-StackItem)': {
52
+ flexShrink: 1
53
+ }
54
+ },
55
+ innerWidth: {
56
+ width: '100%'
57
+ }
58
+ });
59
+ export const useFlexGrowStyles = makeStyles({
60
+ inherit: {
61
+ flexGrow: 'inherit'
62
+ },
63
+ initial: {
64
+ flexGrow: 'initial'
65
+ },
66
+ revert: {
67
+ flexGrow: 'revert'
68
+ },
69
+ unset: {
70
+ flexGrow: 'unset'
71
+ },
72
+ '1': {
73
+ flexGrow: 1
74
+ },
75
+ '2': {
76
+ flexGrow: 2
77
+ },
78
+ '3': {
79
+ flexGrow: 3
80
+ }
81
+ });
82
+ export const useFlexAlignItemsStyles = makeStyles({
83
+ baseline: {
84
+ alignItems: 'baseline'
85
+ },
86
+ center: {
87
+ alignItems: 'center'
88
+ },
89
+ start: {
90
+ alignItems: 'flex-start'
91
+ },
92
+ end: {
93
+ alignItems: 'flex-end'
94
+ },
95
+ stretch: {
96
+ alignItems: 'stretch'
97
+ },
98
+ 'space-between': {
99
+ alignItems: 'space-between'
100
+ },
101
+ 'space-around': {
102
+ alignItems: 'space-around'
103
+ },
104
+ 'space-evenly': {
105
+ alignItems: 'space-evenly'
106
+ }
107
+ });
108
+ export const useFlexJustifyContentStyles = makeStyles({
109
+ baseline: {
110
+ justifyContent: 'baseline'
111
+ },
112
+ center: {
113
+ justifyContent: 'center'
114
+ },
115
+ start: {
116
+ justifyContent: 'flex-start'
117
+ },
118
+ end: {
119
+ justifyContent: 'flex-end'
120
+ },
121
+ stretch: {
122
+ justifyContent: 'stretch'
123
+ },
124
+ 'space-between': {
125
+ justifyContent: 'space-between'
126
+ },
127
+ 'space-around': {
128
+ justifyContent: 'space-around'
129
+ },
130
+ 'space-evenly': {
131
+ justifyContent: 'space-evenly'
132
+ }
133
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Stack/StackShim.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\n\nexport const useStackStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'nowrap',\n width: 'auto',\n height: 'auto',\n boxSizing: 'border-box',\n '> *': {\n textOverflow: 'ellipsis',\n },\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 1,\n },\n },\n horizontal: {\n flexDirection: 'row',\n },\n verticalFill: {\n height: '100%',\n },\n reversedVertical: {\n flexDirection: 'column-reverse',\n },\n reversedHorizontal: {\n flexDirection: 'row-reverse',\n },\n disableShrink: {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 0,\n },\n },\n wrap: {\n display: 'flex',\n flexWrap: 'wrap',\n height: '100%',\n },\n inner: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n boxSizing: 'border-box',\n maxWidth: '100vw',\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 1,\n },\n },\n innerWidth: {\n width: '100%',\n },\n});\n\nexport const useFlexGrowStyles = makeStyles({\n inherit: {\n flexGrow: 'inherit',\n },\n initial: {\n flexGrow: 'initial',\n },\n revert: {\n flexGrow: 'revert',\n },\n unset: {\n flexGrow: 'unset',\n },\n '1': {\n flexGrow: 1,\n },\n '2': {\n flexGrow: 2,\n },\n '3': {\n flexGrow: 3,\n },\n});\n\nexport const useFlexAlignItemsStyles = makeStyles({\n baseline: {\n alignItems: 'baseline',\n },\n center: {\n alignItems: 'center',\n },\n start: {\n alignItems: 'flex-start',\n },\n end: {\n alignItems: 'flex-end',\n },\n stretch: {\n alignItems: 'stretch',\n },\n 'space-between': {\n alignItems: 'space-between',\n },\n\n 'space-around': {\n alignItems: 'space-around',\n },\n 'space-evenly': {\n alignItems: 'space-evenly',\n },\n});\n\nexport const useFlexJustifyContentStyles = makeStyles({\n baseline: {\n justifyContent: 'baseline',\n },\n center: {\n justifyContent: 'center',\n },\n start: {\n justifyContent: 'flex-start',\n },\n end: {\n justifyContent: 'flex-end',\n },\n stretch: {\n justifyContent: 'stretch',\n },\n 'space-between': {\n justifyContent: 'space-between',\n },\n\n 'space-around': {\n justifyContent: 'space-around',\n },\n 'space-evenly': {\n justifyContent: 'space-evenly',\n },\n});\n"],"names":["makeStyles","useStackStyles","root","display","flexDirection","flexWrap","width","height","boxSizing","textOverflow","flexShrink","horizontal","verticalFill","reversedVertical","reversedHorizontal","disableShrink","wrap","inner","maxWidth","innerWidth","useFlexGrowStyles","inherit","flexGrow","initial","revert","unset","useFlexAlignItemsStyles","baseline","alignItems","center","start","end","stretch","useFlexJustifyContentStyles","justifyContent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAE5C,OAAO,MAAMC,iBAAiBD,WAAW;IACvCE,MAAM;QACJC,SAAS;QACTC,eAAe;QACfC,UAAU;QACVC,OAAO;QACPC,QAAQ;QACRC,WAAW;QACX,OAAO;YACLC,cAAc;QAChB;QACA,6DAA6D;QAC7D,aAAa;QACb,0BAA0B;YACxBC,YAAY;QACd;IACF;IACAC,YAAY;QACVP,eAAe;IACjB;IACAQ,cAAc;QACZL,QAAQ;IACV;IACAM,kBAAkB;QAChBT,eAAe;IACjB;IACAU,oBAAoB;QAClBV,eAAe;IACjB;IACAW,eAAe;QACb,6DAA6D;QAC7D,aAAa;QACb,0BAA0B;YACxBL,YAAY;QACd;IACF;IACAM,MAAM;QACJb,SAAS;QACTE,UAAU;QACVE,QAAQ;IACV;IACAU,OAAO;QACLd,SAAS;QACTC,eAAe;QACfC,UAAU;QACVG,WAAW;QACXU,UAAU;QACV,6DAA6D;QAC7D,aAAa;QACb,0BAA0B;YACxBR,YAAY;QACd;IACF;IACAS,YAAY;QACVb,OAAO;IACT;AACF,GAAG;AAEH,OAAO,MAAMc,oBAAoBpB,WAAW;IAC1CqB,SAAS;QACPC,UAAU;IACZ;IACAC,SAAS;QACPD,UAAU;IACZ;IACAE,QAAQ;QACNF,UAAU;IACZ;IACAG,OAAO;QACLH,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;IACA,KAAK;QACHA,UAAU;IACZ;AACF,GAAG;AAEH,OAAO,MAAMI,0BAA0B1B,WAAW;IAChD2B,UAAU;QACRC,YAAY;IACd;IACAC,QAAQ;QACND,YAAY;IACd;IACAE,OAAO;QACLF,YAAY;IACd;IACAG,KAAK;QACHH,YAAY;IACd;IACAI,SAAS;QACPJ,YAAY;IACd;IACA,iBAAiB;QACfA,YAAY;IACd;IAEA,gBAAgB;QACdA,YAAY;IACd;IACA,gBAAgB;QACdA,YAAY;IACd;AACF,GAAG;AAEH,OAAO,MAAMK,8BAA8BjC,WAAW;IACpD2B,UAAU;QACRO,gBAAgB;IAClB;IACAL,QAAQ;QACNK,gBAAgB;IAClB;IACAJ,OAAO;QACLI,gBAAgB;IAClB;IACAH,KAAK;QACHG,gBAAgB;IAClB;IACAF,SAAS;QACPE,gBAAgB;IAClB;IACA,iBAAiB;QACfA,gBAAgB;IAClB;IAEA,gBAAgB;QACdA,gBAAgB;IAClB;IACA,gBAAgB;QACdA,gBAAgB;IAClB;AACF,GAAG"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useCheckboxStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useCheckboxStyles;
9
+ }
10
+ });
11
+ const _reactcomponents = require("@fluentui/react-components");
12
+ const useCheckboxStyles = (0, _reactcomponents.makeStyles)({
13
+ root: {
14
+ display: 'flex'
15
+ }
16
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Checkbox/Checkbox.styles.ts"],"sourcesContent":["import { makeStyles } from '@fluentui/react-components';\n\nexport const useCheckboxStyles = makeStyles({\n root: {\n display: 'flex',\n },\n});\n"],"names":["useCheckboxStyles","makeStyles","root","display"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":";;;;+BAEaA;;;eAAAA;;;iCAFc;AAEpB,MAAMA,oBAAoBC,IAAAA,2BAAAA,EAAW;IAC1CC,MAAM;QACJC,SAAS;IACX;AACF"}
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ useFlexAlignSelfStyles: function() {
13
+ return useFlexAlignSelfStyles;
14
+ },
15
+ useFlexGrowStyles: function() {
16
+ return useFlexGrowStyles;
17
+ },
18
+ useFlexOrderStyles: function() {
19
+ return useFlexOrderStyles;
20
+ },
21
+ useFlexShrinkStyles: function() {
22
+ return useFlexShrinkStyles;
23
+ },
24
+ useStackItemShimStyles: function() {
25
+ return useStackItemShimStyles;
26
+ }
27
+ });
28
+ const _react = require("@griffel/react");
29
+ const useStackItemShimStyles = (0, _react.makeStyles)({
30
+ root: {
31
+ height: 'auto',
32
+ width: 'auto'
33
+ },
34
+ disableShrink: {
35
+ flexShrink: 0
36
+ },
37
+ verticalFill: {
38
+ height: '100%'
39
+ }
40
+ });
41
+ const useFlexAlignSelfStyles = (0, _react.makeStyles)({
42
+ auto: {
43
+ alignSelf: 'auto'
44
+ },
45
+ baseline: {
46
+ alignSelf: 'baseline'
47
+ },
48
+ center: {
49
+ alignSelf: 'center'
50
+ },
51
+ start: {
52
+ alignSelf: 'flex-start'
53
+ },
54
+ end: {
55
+ alignSelf: 'flex-end'
56
+ },
57
+ stretch: {
58
+ alignSelf: 'stretch'
59
+ }
60
+ });
61
+ const useFlexGrowStyles = (0, _react.makeStyles)({
62
+ inherit: {
63
+ flexGrow: 'inherit'
64
+ },
65
+ initial: {
66
+ flexGrow: 'initial'
67
+ },
68
+ revert: {
69
+ flexGrow: 'revert'
70
+ },
71
+ unset: {
72
+ flexGrow: 'unset'
73
+ },
74
+ '1': {
75
+ flexGrow: 1
76
+ },
77
+ '2': {
78
+ flexGrow: 2
79
+ },
80
+ '3': {
81
+ flexGrow: 3
82
+ }
83
+ });
84
+ const useFlexShrinkStyles = (0, _react.makeStyles)({
85
+ inherit: {
86
+ flexShrink: 'inherit'
87
+ },
88
+ initial: {
89
+ flexShrink: 'initial'
90
+ },
91
+ revert: {
92
+ flexShrink: 'revert'
93
+ },
94
+ unset: {
95
+ flexShrink: 'unset'
96
+ },
97
+ 0: {
98
+ flexShrink: 0
99
+ },
100
+ 1: {
101
+ flexShrink: 1
102
+ },
103
+ 2: {
104
+ flexShrink: 2
105
+ }
106
+ });
107
+ const useFlexOrderStyles = (0, _react.makeStyles)({
108
+ inherit: {
109
+ order: 'inherit'
110
+ },
111
+ initial: {
112
+ order: 'initial'
113
+ },
114
+ unset: {
115
+ order: 'unset'
116
+ },
117
+ revert: {
118
+ order: 'revert'
119
+ },
120
+ '-3': {
121
+ order: -3
122
+ },
123
+ '-2': {
124
+ order: -2
125
+ },
126
+ '-1': {
127
+ order: -1
128
+ },
129
+ '0': {
130
+ order: 0
131
+ },
132
+ '1': {
133
+ order: 1
134
+ },
135
+ '2': {
136
+ order: 2
137
+ },
138
+ '3': {
139
+ order: 3
140
+ }
141
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Stack/StackItemShim.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\n\nexport const useStackItemShimStyles = makeStyles({\n root: {\n height: 'auto',\n width: 'auto',\n },\n disableShrink: {\n flexShrink: 0,\n },\n verticalFill: {\n height: '100%',\n },\n});\n\nexport const useFlexAlignSelfStyles = makeStyles({\n auto: {\n alignSelf: 'auto',\n },\n baseline: {\n alignSelf: 'baseline',\n },\n center: {\n alignSelf: 'center',\n },\n start: {\n alignSelf: 'flex-start',\n },\n end: {\n alignSelf: 'flex-end',\n },\n stretch: {\n alignSelf: 'stretch',\n },\n});\n\nexport const useFlexGrowStyles = makeStyles({\n inherit: {\n flexGrow: 'inherit',\n },\n initial: {\n flexGrow: 'initial',\n },\n revert: {\n flexGrow: 'revert',\n },\n unset: {\n flexGrow: 'unset',\n },\n '1': {\n flexGrow: 1,\n },\n '2': {\n flexGrow: 2,\n },\n '3': {\n flexGrow: 3,\n },\n});\n\nexport const useFlexShrinkStyles = makeStyles({\n inherit: {\n flexShrink: 'inherit',\n },\n initial: {\n flexShrink: 'initial',\n },\n revert: {\n flexShrink: 'revert',\n },\n unset: {\n flexShrink: 'unset',\n },\n 0: {\n flexShrink: 0,\n },\n 1: {\n flexShrink: 1,\n },\n 2: {\n flexShrink: 2,\n },\n});\n\nexport const useFlexOrderStyles = makeStyles({\n inherit: {\n order: 'inherit',\n },\n initial: {\n order: 'initial',\n },\n unset: {\n order: 'unset',\n },\n revert: {\n order: 'revert',\n },\n '-3': {\n order: -3,\n },\n '-2': {\n order: -2,\n },\n '-1': {\n order: -1,\n },\n '0': {\n order: 0,\n },\n '1': {\n order: 1,\n },\n '2': {\n order: 2,\n },\n '3': {\n order: 3,\n },\n});\n"],"names":["useFlexAlignSelfStyles","useFlexGrowStyles","useFlexOrderStyles","useFlexShrinkStyles","useStackItemShimStyles","makeStyles","root","height","width","disableShrink","flexShrink","verticalFill","auto","alignSelf","baseline","center","start","end","stretch","inherit","flexGrow","initial","revert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d;AACF;AAEO,MAAMR,qBAAqBG,IAAAA,iBAAAA,EAAW;IAC3Cc,SAAS;QACPK,OAAO;IACT;IACAH,SAAS;QACPG,OAAO;IACT;IACAD,OAAO;QACLC,OAAO;IACT;IACAF,QAAQ;QACNE,OAAO;IACT;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,MAAM;QACJA,OAAO,CAAC;IACV;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;IACA,KAAK;QACHA,OAAO;IACT;AACF"}
@@ -0,0 +1,157 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ useFlexAlignItemsStyles: function() {
13
+ return useFlexAlignItemsStyles;
14
+ },
15
+ useFlexGrowStyles: function() {
16
+ return useFlexGrowStyles;
17
+ },
18
+ useFlexJustifyContentStyles: function() {
19
+ return useFlexJustifyContentStyles;
20
+ },
21
+ useStackStyles: function() {
22
+ return useStackStyles;
23
+ }
24
+ });
25
+ const _react = require("@griffel/react");
26
+ const useStackStyles = (0, _react.makeStyles)({
27
+ root: {
28
+ display: 'flex',
29
+ flexDirection: 'column',
30
+ flexWrap: 'nowrap',
31
+ width: 'auto',
32
+ height: 'auto',
33
+ boxSizing: 'border-box',
34
+ '> *': {
35
+ textOverflow: 'ellipsis'
36
+ },
37
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
38
+ // @ts-ignore
39
+ '> *:not(.ms-StackItem)': {
40
+ flexShrink: 1
41
+ }
42
+ },
43
+ horizontal: {
44
+ flexDirection: 'row'
45
+ },
46
+ verticalFill: {
47
+ height: '100%'
48
+ },
49
+ reversedVertical: {
50
+ flexDirection: 'column-reverse'
51
+ },
52
+ reversedHorizontal: {
53
+ flexDirection: 'row-reverse'
54
+ },
55
+ disableShrink: {
56
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
57
+ // @ts-ignore
58
+ '> *:not(.ms-StackItem)': {
59
+ flexShrink: 0
60
+ }
61
+ },
62
+ wrap: {
63
+ display: 'flex',
64
+ flexWrap: 'wrap',
65
+ height: '100%'
66
+ },
67
+ inner: {
68
+ display: 'flex',
69
+ flexDirection: 'column',
70
+ flexWrap: 'wrap',
71
+ boxSizing: 'border-box',
72
+ maxWidth: '100vw',
73
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
74
+ // @ts-ignore
75
+ '> *:not(.ms-StackItem)': {
76
+ flexShrink: 1
77
+ }
78
+ },
79
+ innerWidth: {
80
+ width: '100%'
81
+ }
82
+ });
83
+ const useFlexGrowStyles = (0, _react.makeStyles)({
84
+ inherit: {
85
+ flexGrow: 'inherit'
86
+ },
87
+ initial: {
88
+ flexGrow: 'initial'
89
+ },
90
+ revert: {
91
+ flexGrow: 'revert'
92
+ },
93
+ unset: {
94
+ flexGrow: 'unset'
95
+ },
96
+ '1': {
97
+ flexGrow: 1
98
+ },
99
+ '2': {
100
+ flexGrow: 2
101
+ },
102
+ '3': {
103
+ flexGrow: 3
104
+ }
105
+ });
106
+ const useFlexAlignItemsStyles = (0, _react.makeStyles)({
107
+ baseline: {
108
+ alignItems: 'baseline'
109
+ },
110
+ center: {
111
+ alignItems: 'center'
112
+ },
113
+ start: {
114
+ alignItems: 'flex-start'
115
+ },
116
+ end: {
117
+ alignItems: 'flex-end'
118
+ },
119
+ stretch: {
120
+ alignItems: 'stretch'
121
+ },
122
+ 'space-between': {
123
+ alignItems: 'space-between'
124
+ },
125
+ 'space-around': {
126
+ alignItems: 'space-around'
127
+ },
128
+ 'space-evenly': {
129
+ alignItems: 'space-evenly'
130
+ }
131
+ });
132
+ const useFlexJustifyContentStyles = (0, _react.makeStyles)({
133
+ baseline: {
134
+ justifyContent: 'baseline'
135
+ },
136
+ center: {
137
+ justifyContent: 'center'
138
+ },
139
+ start: {
140
+ justifyContent: 'flex-start'
141
+ },
142
+ end: {
143
+ justifyContent: 'flex-end'
144
+ },
145
+ stretch: {
146
+ justifyContent: 'stretch'
147
+ },
148
+ 'space-between': {
149
+ justifyContent: 'space-between'
150
+ },
151
+ 'space-around': {
152
+ justifyContent: 'space-around'
153
+ },
154
+ 'space-evenly': {
155
+ justifyContent: 'space-evenly'
156
+ }
157
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Stack/StackShim.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\n\nexport const useStackStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'nowrap',\n width: 'auto',\n height: 'auto',\n boxSizing: 'border-box',\n '> *': {\n textOverflow: 'ellipsis',\n },\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 1,\n },\n },\n horizontal: {\n flexDirection: 'row',\n },\n verticalFill: {\n height: '100%',\n },\n reversedVertical: {\n flexDirection: 'column-reverse',\n },\n reversedHorizontal: {\n flexDirection: 'row-reverse',\n },\n disableShrink: {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 0,\n },\n },\n wrap: {\n display: 'flex',\n flexWrap: 'wrap',\n height: '100%',\n },\n inner: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap',\n boxSizing: 'border-box',\n maxWidth: '100vw',\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n '> *:not(.ms-StackItem)': {\n flexShrink: 1,\n },\n },\n innerWidth: {\n width: '100%',\n },\n});\n\nexport const useFlexGrowStyles = makeStyles({\n inherit: {\n flexGrow: 'inherit',\n },\n initial: {\n flexGrow: 'initial',\n },\n revert: {\n flexGrow: 'revert',\n },\n unset: {\n flexGrow: 'unset',\n },\n '1': {\n flexGrow: 1,\n },\n '2': {\n flexGrow: 2,\n },\n '3': {\n flexGrow: 3,\n },\n});\n\nexport const useFlexAlignItemsStyles = makeStyles({\n baseline: {\n alignItems: 'baseline',\n },\n center: {\n alignItems: 'center',\n },\n start: {\n alignItems: 'flex-start',\n },\n end: {\n alignItems: 'flex-end',\n },\n stretch: {\n alignItems: 'stretch',\n },\n 'space-between': {\n alignItems: 'space-between',\n },\n\n 'space-around': {\n alignItems: 'space-around',\n },\n 'space-evenly': {\n alignItems: 'space-evenly',\n },\n});\n\nexport const useFlexJustifyContentStyles = makeStyles({\n baseline: {\n justifyContent: 'baseline',\n },\n center: {\n justifyContent: 'center',\n },\n start: {\n justifyContent: 'flex-start',\n },\n end: {\n justifyContent: 'flex-end',\n },\n stretch: {\n justifyContent: 'stretch',\n },\n 'space-between': {\n justifyContent: 'space-between',\n },\n\n 'space-around': {\n justifyContent: 'space-around',\n },\n 'space-evenly': {\n justifyContent: 'space-evenly',\n },\n});\n"],"names":["useFlexAlignItemsStyles","useFlexGrowStyles","useFlexJustifyContentStyles","useStackStyles","makeStyles","root","display","flexDirection","flexWrap","width","height","boxSizing","textOverflow","flexShrink","horizontal","verticalFill","reversedVertical","reversedHorizontal","disableShrink","wrap","inner","maxWidth","innerWidth","inherit","flexGrow","initial","revert","unset","baseline","alignItems","center","start","end","stretch","justifyContent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAoFaA,uBAAAA;eAAAA;;IAxBAC,iBAAAA;eAAAA;;IAoDAC,2BAAAA;eAAAA;;IA9GAC,cAAAA;eAAAA;;;uBAFc;AAEpB,MAAMA,iBAAiBC,IAAAA,iBAAAA,EAAW;IACvCC,MAAM;QACJC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QACNI,gBAAgB;IAClB;IACAH,OAAO;QACLG,gBAAgB;IAClB;IACAF,KAAK;QACHE,gBAAgB;IAClB;IACAD,SAAS;QACPC,gBAAgB;IAClB;IACA,iBAAiB;QACfA,gBAAgB;IAClB;IAEA,gBAAgB;QACdA,gBAAgB;IAClB;IACA,gBAAgB;QACdA,gBAAgB;IAClB;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-migration-v8-v9",
3
- "version": "9.8.8",
3
+ "version": "9.9.0",
4
4
  "description": "Migration shim components and methods for hybrid v8/v9 applications building on Fluent UI React.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,7 +21,7 @@
21
21
  "@ctrl/tinycolor": "^3.3.4",
22
22
  "@fluentui/fluent2-theme": "^8.107.138",
23
23
  "@fluentui/react": "^8.123.1",
24
- "@fluentui/react-components": "^9.66.8",
24
+ "@fluentui/react-components": "^9.67.0",
25
25
  "@fluentui/react-icons": "^2.0.245",
26
26
  "@fluentui/react-hooks": "^8.8.19",
27
27
  "@griffel/react": "^1.5.22",