@fluentui/react-migration-v8-v9 9.2.0 → 9.2.2

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.
Files changed (82) hide show
  1. package/.swcrc +30 -0
  2. package/CHANGELOG.json +73 -1
  3. package/CHANGELOG.md +27 -2
  4. package/lib/components/Button/ActionButtonShim.js.map +1 -1
  5. package/lib/components/Button/ButtonShim.js +4 -8
  6. package/lib/components/Button/ButtonShim.js.map +1 -1
  7. package/lib/components/Button/CommandButtonShim.js +1 -2
  8. package/lib/components/Button/CommandButtonShim.js.map +1 -1
  9. package/lib/components/Button/CompoundButtonShim.js +2 -2
  10. package/lib/components/Button/CompoundButtonShim.js.map +1 -1
  11. package/lib/components/Button/DefaultButtonShim.js.map +1 -1
  12. package/lib/components/Button/MenuButtonShim.js +4 -10
  13. package/lib/components/Button/MenuButtonShim.js.map +1 -1
  14. package/lib/components/Button/PrimaryButtonShim.js.map +1 -1
  15. package/lib/components/Button/ToggleButtonShim.js.map +1 -1
  16. package/lib/components/Button/index.js.map +1 -1
  17. package/lib/components/Button/shimButtonProps.js +3 -5
  18. package/lib/components/Button/shimButtonProps.js.map +1 -1
  19. package/lib/components/Menu/MenuShim.js +12 -23
  20. package/lib/components/Menu/MenuShim.js.map +1 -1
  21. package/lib/components/Menu/index.js.map +1 -1
  22. package/lib/components/Menu/shimMenuProps.js +3 -5
  23. package/lib/components/Menu/shimMenuProps.js.map +1 -1
  24. package/lib/components/Stack/StackItemShim.js.map +1 -1
  25. package/lib/components/Stack/StackShim.js.map +1 -1
  26. package/lib/components/Stack/index.js.map +1 -1
  27. package/lib/components/Stack/stackUtils.js.map +1 -1
  28. package/lib/components/Theme/index.js.map +1 -1
  29. package/lib/components/Theme/themeDuplicates.js +1 -2
  30. package/lib/components/Theme/themeDuplicates.js.map +1 -1
  31. package/lib/components/Theme/v8ThemeShim.js +0 -12
  32. package/lib/components/Theme/v8ThemeShim.js.map +1 -1
  33. package/lib/components/Theme/v9BrandVariantsShim.js.map +1 -1
  34. package/lib/components/Theme/v9ThemeShim.js.map +1 -1
  35. package/lib/index.js.map +1 -1
  36. package/lib-commonjs/components/Button/ActionButtonShim.js +21 -20
  37. package/lib-commonjs/components/Button/ActionButtonShim.js.map +1 -1
  38. package/lib-commonjs/components/Button/ButtonShim.js +25 -25
  39. package/lib-commonjs/components/Button/ButtonShim.js.map +1 -1
  40. package/lib-commonjs/components/Button/CommandButtonShim.js +9 -12
  41. package/lib-commonjs/components/Button/CommandButtonShim.js.map +1 -1
  42. package/lib-commonjs/components/Button/CompoundButtonShim.js +24 -23
  43. package/lib-commonjs/components/Button/CompoundButtonShim.js.map +1 -1
  44. package/lib-commonjs/components/Button/DefaultButtonShim.js +14 -13
  45. package/lib-commonjs/components/Button/DefaultButtonShim.js.map +1 -1
  46. package/lib-commonjs/components/Button/MenuButtonShim.js +24 -27
  47. package/lib-commonjs/components/Button/MenuButtonShim.js.map +1 -1
  48. package/lib-commonjs/components/Button/PrimaryButtonShim.js +15 -14
  49. package/lib-commonjs/components/Button/PrimaryButtonShim.js.map +1 -1
  50. package/lib-commonjs/components/Button/ToggleButtonShim.js +24 -23
  51. package/lib-commonjs/components/Button/ToggleButtonShim.js.map +1 -1
  52. package/lib-commonjs/components/Button/index.js +13 -12
  53. package/lib-commonjs/components/Button/index.js.map +1 -1
  54. package/lib-commonjs/components/Button/shimButtonProps.js +33 -28
  55. package/lib-commonjs/components/Button/shimButtonProps.js.map +1 -1
  56. package/lib-commonjs/components/Menu/MenuShim.js +42 -52
  57. package/lib-commonjs/components/Menu/MenuShim.js.map +1 -1
  58. package/lib-commonjs/components/Menu/index.js +6 -5
  59. package/lib-commonjs/components/Menu/index.js.map +1 -1
  60. package/lib-commonjs/components/Menu/shimMenuProps.js +44 -38
  61. package/lib-commonjs/components/Menu/shimMenuProps.js.map +1 -1
  62. package/lib-commonjs/components/Stack/StackItemShim.js +195 -157
  63. package/lib-commonjs/components/Stack/StackItemShim.js.map +1 -1
  64. package/lib-commonjs/components/Stack/StackShim.js +273 -230
  65. package/lib-commonjs/components/Stack/StackShim.js.map +1 -1
  66. package/lib-commonjs/components/Stack/index.js +6 -5
  67. package/lib-commonjs/components/Stack/index.js.map +1 -1
  68. package/lib-commonjs/components/Stack/stackUtils.js +145 -151
  69. package/lib-commonjs/components/Stack/stackUtils.js.map +1 -1
  70. package/lib-commonjs/components/Theme/index.js +8 -7
  71. package/lib-commonjs/components/Theme/index.js.map +1 -1
  72. package/lib-commonjs/components/Theme/themeDuplicates.js +810 -786
  73. package/lib-commonjs/components/Theme/themeDuplicates.js.map +1 -1
  74. package/lib-commonjs/components/Theme/v8ThemeShim.js +285 -307
  75. package/lib-commonjs/components/Theme/v8ThemeShim.js.map +1 -1
  76. package/lib-commonjs/components/Theme/v9BrandVariantsShim.js +56 -61
  77. package/lib-commonjs/components/Theme/v9BrandVariantsShim.js.map +1 -1
  78. package/lib-commonjs/components/Theme/v9ThemeShim.js +183 -188
  79. package/lib-commonjs/components/Theme/v9ThemeShim.js.map +1 -1
  80. package/lib-commonjs/index.js +48 -200
  81. package/lib-commonjs/index.js.map +1 -1
  82. package/package.json +11 -10
@@ -1,165 +1,159 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
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
+ parseGap: ()=>parseGap,
13
+ parsePadding: ()=>parsePadding,
14
+ getChildrenGapStyles: ()=>getChildrenGapStyles
5
15
  });
6
- exports.getChildrenGapStyles = exports.parsePadding = exports.parseGap = void 0;
7
- const react_1 = /*#__PURE__*/require("@fluentui/react");
16
+ const _react = require("@fluentui/react");
8
17
  // Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.
9
- const getThemedSpacing = (space, theme) => {
10
- if (theme.spacing.hasOwnProperty(space)) {
11
- return theme.spacing[space];
12
- }
13
- return space;
18
+ const getThemedSpacing = (space, theme)=>{
19
+ if (theme.spacing.hasOwnProperty(space)) {
20
+ return theme.spacing[space];
21
+ }
22
+ return space;
14
23
  };
15
24
  // Helper function that takes a gap as a string and converts it into a { value, unit } representation.
16
- const getValueUnitGap = gap => {
17
- const numericalPart = parseFloat(gap);
18
- const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;
19
- const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();
20
- const unitPart = gap.substring(numericalString.toString().length);
21
- return {
22
- value: numericalValue,
23
- unit: unitPart || 'px'
24
- };
25
- };
26
- /**
27
- * Takes in a gap size in either a CSS-style format (e.g. 10 or "10px")
28
- * or a key of a themed spacing value (e.g. "s1").
29
- * Returns the separate numerical value of the padding (e.g. 10)
30
- * and the CSS unit (e.g. "px").
31
- */
32
- const parseGap = (gap, theme) => {
33
- if (gap === undefined || gap === '') {
25
+ const getValueUnitGap = (gap)=>{
26
+ const numericalPart = parseFloat(gap);
27
+ const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;
28
+ const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();
29
+ const unitPart = gap.substring(numericalString.toString().length);
34
30
  return {
35
- rowGap: {
36
- value: 0,
37
- unit: 'px'
38
- },
39
- columnGap: {
40
- value: 0,
41
- unit: 'px'
42
- }
31
+ value: numericalValue,
32
+ unit: unitPart || 'px'
43
33
  };
44
- }
45
- if (typeof gap === 'number') {
34
+ };
35
+ const parseGap = (gap, theme)=>{
36
+ if (gap === undefined || gap === '') {
37
+ return {
38
+ rowGap: {
39
+ value: 0,
40
+ unit: 'px'
41
+ },
42
+ columnGap: {
43
+ value: 0,
44
+ unit: 'px'
45
+ }
46
+ };
47
+ }
48
+ if (typeof gap === 'number') {
49
+ return {
50
+ rowGap: {
51
+ value: gap,
52
+ unit: 'px'
53
+ },
54
+ columnGap: {
55
+ value: gap,
56
+ unit: 'px'
57
+ }
58
+ };
59
+ }
60
+ const splitGap = gap.split(' ');
61
+ // If the array has more than two values, then return 0px.
62
+ if (splitGap.length > 2) {
63
+ return {
64
+ rowGap: {
65
+ value: 0,
66
+ unit: 'px'
67
+ },
68
+ columnGap: {
69
+ value: 0,
70
+ unit: 'px'
71
+ }
72
+ };
73
+ }
74
+ // If the array has two values, then parse each one.
75
+ if (splitGap.length === 2) {
76
+ return {
77
+ rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),
78
+ columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme))
79
+ };
80
+ }
81
+ // Else, parse the numerical value and pass it as both the vertical and horizontal gap.
82
+ const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));
46
83
  return {
47
- rowGap: {
48
- value: gap,
49
- unit: 'px'
50
- },
51
- columnGap: {
52
- value: gap,
53
- unit: 'px'
54
- }
84
+ rowGap: calculatedGap,
85
+ columnGap: calculatedGap
55
86
  };
56
- }
57
- const splitGap = gap.split(' ');
58
- // If the array has more than two values, then return 0px.
59
- if (splitGap.length > 2) {
60
- return {
61
- rowGap: {
62
- value: 0,
63
- unit: 'px'
64
- },
65
- columnGap: {
66
- value: 0,
67
- unit: 'px'
68
- }
87
+ };
88
+ const parsePadding = (padding, theme)=>{
89
+ if (padding === undefined || typeof padding === 'number' || padding === '') {
90
+ return padding;
91
+ }
92
+ const paddingValues = padding.split(' ');
93
+ if (paddingValues.length < 2) {
94
+ return getThemedSpacing(padding, theme);
95
+ }
96
+ return paddingValues.reduce((padding1, padding2)=>{
97
+ return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);
98
+ });
99
+ };
100
+ const getChildrenGapStyles = (props)=>{
101
+ const theme = (0, _react.getTheme)();
102
+ const { horizontal , reversed } = props;
103
+ const tokens = {
104
+ ...props.tokens
69
105
  };
70
- }
71
- // If the array has two values, then parse each one.
72
- if (splitGap.length === 2) {
106
+ const { rowGap , columnGap } = parseGap(tokens.childrenGap, theme);
107
+ const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;
108
+ const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;
73
109
  return {
74
- rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),
75
- columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme))
110
+ root: [
111
+ reversed && horizontal && {
112
+ '> *:not(:last-child)': {
113
+ marginLeft: `${columnGap.value}${columnGap.unit}`
114
+ }
115
+ },
116
+ reversed && !horizontal && {
117
+ '> *:not(:last-child)': {
118
+ marginTop: `${rowGap.value}${rowGap.unit}`
119
+ }
120
+ },
121
+ !reversed && horizontal && {
122
+ '> *:not(:first-child)': {
123
+ marginLeft: `${columnGap.value}${columnGap.unit}`
124
+ }
125
+ },
126
+ !reversed && !horizontal && {
127
+ '> *:not(:first-child)': {
128
+ marginTop: `${rowGap.value}${rowGap.unit}`
129
+ }
130
+ }
131
+ ],
132
+ inner: [
133
+ {
134
+ marginLeft: horizontalMargin,
135
+ marginRight: horizontalMargin,
136
+ marginTop: verticalMargin,
137
+ marginBottom: verticalMargin,
138
+ width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,
139
+ '> *': {
140
+ margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`
141
+ }
142
+ },
143
+ horizontal && {
144
+ height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,
145
+ '> *': {
146
+ maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`
147
+ }
148
+ },
149
+ !horizontal && {
150
+ height: `calc(100% + ${rowGap.value}${rowGap.unit})`,
151
+ '> *': {
152
+ maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`
153
+ }
154
+ }
155
+ ]
76
156
  };
77
- }
78
- // Else, parse the numerical value and pass it as both the vertical and horizontal gap.
79
- const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));
80
- return {
81
- rowGap: calculatedGap,
82
- columnGap: calculatedGap
83
- };
84
- };
85
- exports.parseGap = parseGap;
86
- /**
87
- * Takes in a padding in a CSS-style format (e.g. 10, "10px", "10px 10px", etc.)
88
- * where the separate padding values can also be the key of a themed spacing value
89
- * (e.g. "s1 m", "10px l1 20px l2", etc.).
90
- * Returns a CSS-style padding.
91
- */
92
- const parsePadding = (padding, theme) => {
93
- if (padding === undefined || typeof padding === 'number' || padding === '') {
94
- return padding;
95
- }
96
- const paddingValues = padding.split(' ');
97
- if (paddingValues.length < 2) {
98
- return getThemedSpacing(padding, theme);
99
- }
100
- return paddingValues.reduce((padding1, padding2) => {
101
- return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);
102
- });
103
- };
104
- exports.parsePadding = parsePadding;
105
- /**
106
- *
107
- * getStyles function for Stack.tokens.childrenGap prop styling
108
- */
109
- const getChildrenGapStyles = props => {
110
- const theme = react_1.getTheme();
111
- const {
112
- horizontal,
113
- reversed
114
- } = props;
115
- const tokens = {
116
- ...props.tokens
117
- };
118
- const {
119
- rowGap,
120
- columnGap
121
- } = exports.parseGap(tokens.childrenGap, theme);
122
- const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;
123
- const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;
124
- return {
125
- root: [reversed && horizontal && {
126
- '> *:not(:last-child)': {
127
- marginLeft: `${columnGap.value}${columnGap.unit}`
128
- }
129
- }, reversed && !horizontal && {
130
- '> *:not(:last-child)': {
131
- marginTop: `${rowGap.value}${rowGap.unit}`
132
- }
133
- }, !reversed && horizontal && {
134
- '> *:not(:first-child)': {
135
- marginLeft: `${columnGap.value}${columnGap.unit}`
136
- }
137
- }, !reversed && !horizontal && {
138
- '> *:not(:first-child)': {
139
- marginTop: `${rowGap.value}${rowGap.unit}`
140
- }
141
- }],
142
- inner: [{
143
- marginLeft: horizontalMargin,
144
- marginRight: horizontalMargin,
145
- marginTop: verticalMargin,
146
- marginBottom: verticalMargin,
147
- width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,
148
- '> *': {
149
- margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`
150
- }
151
- }, horizontal && {
152
- height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,
153
- '> *': {
154
- maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`
155
- }
156
- }, !horizontal && {
157
- height: `calc(100% + ${rowGap.value}${rowGap.unit})`,
158
- '> *': {
159
- maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`
160
- }
161
- }]
162
- };
163
- };
164
- exports.getChildrenGapStyles = getChildrenGapStyles;
157
+ }; //# sourceMappingURL=stackUtils.js.map
158
+
165
159
  //# sourceMappingURL=stackUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","getThemedSpacing","space","theme","spacing","hasOwnProperty","getValueUnitGap","gap","numericalPart","parseFloat","numericalValue","isNaN","numericalString","toString","unitPart","substring","length","value","unit","parseGap","undefined","rowGap","columnGap","splitGap","split","calculatedGap","exports","parsePadding","padding","paddingValues","reduce","padding1","padding2","getChildrenGapStyles","props","getTheme","horizontal","reversed","tokens","childrenGap","horizontalMargin","verticalMargin","root","marginLeft","marginTop","inner","marginRight","marginBottom","width","margin","height","maxWidth","maxHeight"],"sources":["../src/packages/react-components/react-migration-v8-v9/src/components/Stack/stackUtils.ts"],"sourcesContent":["import { getTheme, IStackProps, IStackTokens, IStyle, ITheme } from '@fluentui/react';\n\n// Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.\nconst getThemedSpacing = (space: string, theme: ITheme): string => {\n if (theme.spacing.hasOwnProperty(space)) {\n return theme.spacing[space as keyof typeof theme.spacing];\n }\n return space;\n};\n\n// Helper function that takes a gap as a string and converts it into a { value, unit } representation.\nconst getValueUnitGap = (gap: string): { value: number; unit: string } => {\n const numericalPart = parseFloat(gap);\n const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;\n const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();\n\n const unitPart = gap.substring(numericalString.toString().length);\n\n return {\n value: numericalValue,\n unit: unitPart || 'px',\n };\n};\n\n/**\n * Takes in a gap size in either a CSS-style format (e.g. 10 or \"10px\")\n * or a key of a themed spacing value (e.g. \"s1\").\n * Returns the separate numerical value of the padding (e.g. 10)\n * and the CSS unit (e.g. \"px\").\n */\nexport const parseGap = (\n gap: IStackProps['gap'],\n theme: ITheme,\n): { rowGap: { value: number; unit: string }; columnGap: { value: number; unit: string } } => {\n if (gap === undefined || gap === '') {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n if (typeof gap === 'number') {\n return {\n rowGap: {\n value: gap,\n unit: 'px',\n },\n columnGap: {\n value: gap,\n unit: 'px',\n },\n };\n }\n\n const splitGap = gap.split(' ');\n\n // If the array has more than two values, then return 0px.\n if (splitGap.length > 2) {\n return {\n rowGap: {\n value: 0,\n unit: 'px',\n },\n columnGap: {\n value: 0,\n unit: 'px',\n },\n };\n }\n\n // If the array has two values, then parse each one.\n if (splitGap.length === 2) {\n return {\n rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),\n columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme)),\n };\n }\n\n // Else, parse the numerical value and pass it as both the vertical and horizontal gap.\n const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));\n\n return {\n rowGap: calculatedGap,\n columnGap: calculatedGap,\n };\n};\n\n/**\n * Takes in a padding in a CSS-style format (e.g. 10, \"10px\", \"10px 10px\", etc.)\n * where the separate padding values can also be the key of a themed spacing value\n * (e.g. \"s1 m\", \"10px l1 20px l2\", etc.).\n * Returns a CSS-style padding.\n */\nexport const parsePadding = (padding: number | string | undefined, theme: ITheme): number | string | undefined => {\n if (padding === undefined || typeof padding === 'number' || padding === '') {\n return padding;\n }\n\n const paddingValues = padding.split(' ');\n if (paddingValues.length < 2) {\n return getThemedSpacing(padding, theme);\n }\n\n return paddingValues.reduce((padding1: string, padding2: string) => {\n return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);\n });\n};\n\nexport interface StackShimStyles {\n root?: IStyle;\n inner?: IStyle;\n}\n/**\n *\n * getStyles function for Stack.tokens.childrenGap prop styling\n */\nexport const getChildrenGapStyles = (props: IStackProps): StackShimStyles => {\n const theme = getTheme();\n\n const { horizontal, reversed } = props;\n const tokens: IStackTokens = { ...props.tokens };\n\n const { rowGap, columnGap } = parseGap(tokens.childrenGap, theme);\n const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;\n const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;\n\n return {\n root: [\n reversed &&\n horizontal && {\n '> *:not(:last-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n reversed &&\n !horizontal && {\n '> *:not(:last-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n !reversed &&\n horizontal && {\n '> *:not(:first-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`,\n },\n },\n !reversed &&\n !horizontal && {\n '> *:not(:first-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`,\n },\n },\n ],\n inner: [\n {\n marginLeft: horizontalMargin,\n marginRight: horizontalMargin,\n marginTop: verticalMargin,\n marginBottom: verticalMargin,\n width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,\n '> *': {\n margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`,\n },\n },\n horizontal && {\n height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`,\n },\n },\n !horizontal && {\n height: `calc(100% + ${rowGap.value}${rowGap.un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js"],"sourcesContent":["import { getTheme } from '@fluentui/react';\n// Helper function that converts a themed spacing key (if given) to the corresponding themed spacing value.\nconst getThemedSpacing = (space, theme) => {\n if (theme.spacing.hasOwnProperty(space)) {\n return theme.spacing[space];\n }\n return space;\n};\n// Helper function that takes a gap as a string and converts it into a { value, unit } representation.\nconst getValueUnitGap = gap => {\n const numericalPart = parseFloat(gap);\n const numericalValue = isNaN(numericalPart) ? 0 : numericalPart;\n const numericalString = isNaN(numericalPart) ? '' : numericalPart.toString();\n const unitPart = gap.substring(numericalString.toString().length);\n return {\n value: numericalValue,\n unit: unitPart || 'px'\n };\n};\n/**\n * Takes in a gap size in either a CSS-style format (e.g. 10 or \"10px\")\n * or a key of a themed spacing value (e.g. \"s1\").\n * Returns the separate numerical value of the padding (e.g. 10)\n * and the CSS unit (e.g. \"px\").\n */\nexport const parseGap = (gap, theme) => {\n if (gap === undefined || gap === '') {\n return {\n rowGap: {\n value: 0,\n unit: 'px'\n },\n columnGap: {\n value: 0,\n unit: 'px'\n }\n };\n }\n if (typeof gap === 'number') {\n return {\n rowGap: {\n value: gap,\n unit: 'px'\n },\n columnGap: {\n value: gap,\n unit: 'px'\n }\n };\n }\n const splitGap = gap.split(' ');\n // If the array has more than two values, then return 0px.\n if (splitGap.length > 2) {\n return {\n rowGap: {\n value: 0,\n unit: 'px'\n },\n columnGap: {\n value: 0,\n unit: 'px'\n }\n };\n }\n // If the array has two values, then parse each one.\n if (splitGap.length === 2) {\n return {\n rowGap: getValueUnitGap(getThemedSpacing(splitGap[0], theme)),\n columnGap: getValueUnitGap(getThemedSpacing(splitGap[1], theme))\n };\n }\n // Else, parse the numerical value and pass it as both the vertical and horizontal gap.\n const calculatedGap = getValueUnitGap(getThemedSpacing(gap, theme));\n return {\n rowGap: calculatedGap,\n columnGap: calculatedGap\n };\n};\n/**\n * Takes in a padding in a CSS-style format (e.g. 10, \"10px\", \"10px 10px\", etc.)\n * where the separate padding values can also be the key of a themed spacing value\n * (e.g. \"s1 m\", \"10px l1 20px l2\", etc.).\n * Returns a CSS-style padding.\n */\nexport const parsePadding = (padding, theme) => {\n if (padding === undefined || typeof padding === 'number' || padding === '') {\n return padding;\n }\n const paddingValues = padding.split(' ');\n if (paddingValues.length < 2) {\n return getThemedSpacing(padding, theme);\n }\n return paddingValues.reduce((padding1, padding2) => {\n return getThemedSpacing(padding1, theme) + ' ' + getThemedSpacing(padding2, theme);\n });\n};\n/**\n *\n * getStyles function for Stack.tokens.childrenGap prop styling\n */\nexport const getChildrenGapStyles = props => {\n const theme = getTheme();\n const {\n horizontal,\n reversed\n } = props;\n const tokens = {\n ...props.tokens\n };\n const {\n rowGap,\n columnGap\n } = parseGap(tokens.childrenGap, theme);\n const horizontalMargin = `${-0.5 * columnGap.value}${columnGap.unit}`;\n const verticalMargin = `${-0.5 * rowGap.value}${rowGap.unit}`;\n return {\n root: [reversed && horizontal && {\n '> *:not(:last-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`\n }\n }, reversed && !horizontal && {\n '> *:not(:last-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`\n }\n }, !reversed && horizontal && {\n '> *:not(:first-child)': {\n marginLeft: `${columnGap.value}${columnGap.unit}`\n }\n }, !reversed && !horizontal && {\n '> *:not(:first-child)': {\n marginTop: `${rowGap.value}${rowGap.unit}`\n }\n }],\n inner: [{\n marginLeft: horizontalMargin,\n marginRight: horizontalMargin,\n marginTop: verticalMargin,\n marginBottom: verticalMargin,\n width: columnGap.value === 0 ? '100%' : `calc(100% + ${columnGap.value}${columnGap.unit})`,\n '> *': {\n margin: `${0.5 * rowGap.value}${rowGap.unit} ${0.5 * columnGap.value}${columnGap.unit}`\n }\n }, horizontal && {\n height: rowGap.value === 0 ? '100%' : `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxWidth: columnGap.value === 0 ? '100%' : `calc(100% - ${columnGap.value}${columnGap.unit})`\n }\n }, !horizontal && {\n height: `calc(100% + ${rowGap.value}${rowGap.unit})`,\n '> *': {\n maxHeight: rowGap.value === 0 ? '100%' : `calc(100% - ${rowGap.value}${rowGap.unit})`\n }\n }]\n };\n};\n//# sourceMappingURL=stackUtils.js.map"],"names":["parseGap","parsePadding","getChildrenGapStyles","getThemedSpacing","space","theme","spacing","hasOwnProperty","getValueUnitGap","gap","numericalPart","parseFloat","numericalValue","isNaN","numericalString","toString","unitPart","substring","length","value","unit","undefined","rowGap","columnGap","splitGap","split","calculatedGap","padding","paddingValues","reduce","padding1","padding2","props","getTheme","horizontal","reversed","tokens","childrenGap","horizontalMargin","verticalMargin","root","marginLeft","marginTop","inner","marginRight","marginBottom","width","margin","height","maxWidth","maxHeight"],"mappings":";;;;;;;;;;;IAyBaA,QAAQ,MAARA;IA2DAC,YAAY,MAAZA;IAgBAC,oBAAoB,MAApBA;;uBApGY;AACzB,2GAA2G;AAC3G,MAAMC,mBAAmB,CAACC,OAAOC,QAAU;IACzC,IAAIA,MAAMC,OAAO,CAACC,cAAc,CAACH,QAAQ;QACvC,OAAOC,MAAMC,OAAO,CAACF,MAAM;IAC7B,CAAC;IACD,OAAOA;AACT;AACA,sGAAsG;AACtG,MAAMI,kBAAkBC,CAAAA,MAAO;IAC7B,MAAMC,gBAAgBC,WAAWF;IACjC,MAAMG,iBAAiBC,MAAMH,iBAAiB,IAAIA,aAAa;IAC/D,MAAMI,kBAAkBD,MAAMH,iBAAiB,KAAKA,cAAcK,QAAQ,EAAE;IAC5E,MAAMC,WAAWP,IAAIQ,SAAS,CAACH,gBAAgBC,QAAQ,GAAGG,MAAM;IAChE,OAAO;QACLC,OAAOP;QACPQ,MAAMJ,YAAY;IACpB;AACF;AAOO,MAAMhB,WAAW,CAACS,KAAKJ,QAAU;IACtC,IAAII,QAAQY,aAAaZ,QAAQ,IAAI;QACnC,OAAO;YACLa,QAAQ;gBACNH,OAAO;gBACPC,MAAM;YACR;YACAG,WAAW;gBACTJ,OAAO;gBACPC,MAAM;YACR;QACF;IACF,CAAC;IACD,IAAI,OAAOX,QA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Gc,cAAc;gBACfc,QAAQ1B,OAAOH,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEG,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBAClF,OAAO;oBACL6B,UAAU1B,UAAUJ,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEI,UAAUJ,KAAK,CAAC,EAAEI,UAAUH,IAAI,CAAC,CAAC,CAAC;gBAC/F;YACF;YAAG,CAACc,cAAc;gBAChBc,QAAQ,CAAC,YAAY,EAAE1B,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBACpD,OAAO;oBACL8B,WAAW5B,OAAOH,KAAK,KAAK,IAAI,SAAS,CAAC,YAAY,EAAEG,OAAOH,KAAK,CAAC,EAAEG,OAAOF,IAAI,CAAC,CAAC,CAAC;gBACvF;YACF;SAAE;IACJ;AACF,GACA,sCAAsC"}
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./themeDuplicates"), exports);
8
- tslib_1.__exportStar(require("./v8ThemeShim"), exports);
9
- tslib_1.__exportStar(require("./v9BrandVariantsShim"), exports);
10
- tslib_1.__exportStar(require("./v9ThemeShim"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./themeDuplicates"), exports);
7
+ _exportStar(require("./v8ThemeShim"), exports);
8
+ _exportStar(require("./v9BrandVariantsShim"), exports);
9
+ _exportStar(require("./v9ThemeShim"), exports);
10
+ //# sourceMappingURL=index.js.map
11
+
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-migration-v8-v9/src/components/Theme/index.ts"],"sourcesContent":["export * from './themeDuplicates';\nexport * from './v8ThemeShim';\nexport * from './v9BrandVariantsShim';\nexport * from './v9ThemeShim';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,uBAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,mBAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,2BAAAC,OAAA;AACAH,OAAA,CAAAC,YAAA,CAAAC,OAAA,mBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../lib/components/Theme/index.js"],"sourcesContent":["export * from './themeDuplicates';\nexport * from './v8ThemeShim';\nexport * from './v9BrandVariantsShim';\nexport * from './v9ThemeShim';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;CACd,iCAAiC"}