@fluentui/react-divider 9.3.1 → 9.4.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 +21 -2
- package/lib/components/Divider/useDividerStyles.styles.raw.js +225 -0
- package/lib/components/Divider/useDividerStyles.styles.raw.js.map +1 -0
- package/lib-commonjs/components/Divider/useDividerStyles.styles.raw.js +238 -0
- package/lib-commonjs/components/Divider/useDividerStyles.styles.raw.js.map +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,31 @@
|
|
1
1
|
# Change Log - @fluentui/react-divider
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 17 Jul 2025 13:45:38 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.4.0)
|
8
|
+
|
9
|
+
Thu, 17 Jul 2025 13:45:38 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.3.2..@fluentui/react-divider_v9.4.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
|
+
|
16
|
+
## [9.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.3.2)
|
17
|
+
|
18
|
+
Thu, 26 Jun 2025 14:11:55 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.3.1..@fluentui/react-divider_v9.3.2)
|
20
|
+
|
21
|
+
### Patches
|
22
|
+
|
23
|
+
- Bump @fluentui/react-jsx-runtime to v9.1.2 ([PR #34529](https://github.com/microsoft/fluentui/pull/34529) by beachball)
|
24
|
+
- Bump @fluentui/react-utilities to v9.22.0 ([PR #34529](https://github.com/microsoft/fluentui/pull/34529) by beachball)
|
25
|
+
|
7
26
|
## [9.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-divider_v9.3.1)
|
8
27
|
|
9
|
-
Wed, 18 Jun 2025 17:
|
28
|
+
Wed, 18 Jun 2025 17:34:00 GMT
|
10
29
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-divider_v9.3.0..@fluentui/react-divider_v9.3.1)
|
11
30
|
|
12
31
|
### Patches
|
@@ -0,0 +1,225 @@
|
|
1
|
+
import { mergeClasses, shorthands, makeStyles } from '@griffel/react';
|
2
|
+
import { tokens } from '@fluentui/react-theme';
|
3
|
+
export const dividerClassNames = {
|
4
|
+
root: 'fui-Divider',
|
5
|
+
wrapper: 'fui-Divider__wrapper'
|
6
|
+
};
|
7
|
+
const contentSpacing = '12px';
|
8
|
+
const insetSpacing = '12px';
|
9
|
+
const maxStartEndLength = '8px';
|
10
|
+
const minStartEndLength = '8px;';
|
11
|
+
const useBaseStyles = makeStyles({
|
12
|
+
// Base styles
|
13
|
+
base: {
|
14
|
+
alignItems: 'center',
|
15
|
+
boxSizing: 'border-box',
|
16
|
+
display: 'flex',
|
17
|
+
flexDirection: 'row',
|
18
|
+
flexGrow: 1,
|
19
|
+
position: 'relative',
|
20
|
+
fontFamily: tokens.fontFamilyBase,
|
21
|
+
fontSize: tokens.fontSizeBase200,
|
22
|
+
fontWeight: tokens.fontWeightRegular,
|
23
|
+
lineHeight: tokens.lineHeightBase200,
|
24
|
+
textAlign: 'center',
|
25
|
+
'::before': {
|
26
|
+
boxSizing: 'border-box',
|
27
|
+
display: 'flex',
|
28
|
+
flexGrow: 1
|
29
|
+
},
|
30
|
+
'::after': {
|
31
|
+
boxSizing: 'border-box',
|
32
|
+
display: 'flex',
|
33
|
+
flexGrow: 1
|
34
|
+
}
|
35
|
+
},
|
36
|
+
// Childless styles
|
37
|
+
childless: {
|
38
|
+
'::before': {
|
39
|
+
marginBottom: 0,
|
40
|
+
marginRight: 0
|
41
|
+
},
|
42
|
+
'::after': {
|
43
|
+
marginLeft: 0,
|
44
|
+
marginTop: 0
|
45
|
+
}
|
46
|
+
},
|
47
|
+
// Alignment variations
|
48
|
+
start: {
|
49
|
+
'::after': {
|
50
|
+
content: '""'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
center: {
|
54
|
+
'::before': {
|
55
|
+
content: '""'
|
56
|
+
},
|
57
|
+
'::after': {
|
58
|
+
content: '""'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
end: {
|
62
|
+
'::before': {
|
63
|
+
content: '""'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
// Appearance variations
|
67
|
+
brand: {
|
68
|
+
color: tokens.colorBrandForeground1,
|
69
|
+
'::before': {
|
70
|
+
...shorthands.borderColor(tokens.colorBrandStroke1)
|
71
|
+
},
|
72
|
+
'::after': {
|
73
|
+
...shorthands.borderColor(tokens.colorBrandStroke1)
|
74
|
+
}
|
75
|
+
},
|
76
|
+
default: {
|
77
|
+
color: tokens.colorNeutralForeground2,
|
78
|
+
'::before': {
|
79
|
+
...shorthands.borderColor(tokens.colorNeutralStroke2)
|
80
|
+
},
|
81
|
+
'::after': {
|
82
|
+
...shorthands.borderColor(tokens.colorNeutralStroke2)
|
83
|
+
}
|
84
|
+
},
|
85
|
+
subtle: {
|
86
|
+
color: tokens.colorNeutralForeground3,
|
87
|
+
'::before': {
|
88
|
+
...shorthands.borderColor(tokens.colorNeutralStroke3)
|
89
|
+
},
|
90
|
+
'::after': {
|
91
|
+
...shorthands.borderColor(tokens.colorNeutralStroke3)
|
92
|
+
}
|
93
|
+
},
|
94
|
+
strong: {
|
95
|
+
color: tokens.colorNeutralForeground1,
|
96
|
+
'::before': {
|
97
|
+
...shorthands.borderColor(tokens.colorNeutralStroke1)
|
98
|
+
},
|
99
|
+
'::after': {
|
100
|
+
...shorthands.borderColor(tokens.colorNeutralStroke1)
|
101
|
+
}
|
102
|
+
}
|
103
|
+
});
|
104
|
+
const useHorizontalStyles = makeStyles({
|
105
|
+
// Base styles
|
106
|
+
base: {
|
107
|
+
width: '100%',
|
108
|
+
'::before': {
|
109
|
+
borderTopStyle: 'solid',
|
110
|
+
borderTopWidth: tokens.strokeWidthThin,
|
111
|
+
minWidth: minStartEndLength
|
112
|
+
},
|
113
|
+
'::after': {
|
114
|
+
borderTopStyle: 'solid',
|
115
|
+
borderTopWidth: tokens.strokeWidthThin,
|
116
|
+
minWidth: minStartEndLength
|
117
|
+
}
|
118
|
+
},
|
119
|
+
// Inset styles
|
120
|
+
inset: {
|
121
|
+
paddingLeft: insetSpacing,
|
122
|
+
paddingRight: insetSpacing
|
123
|
+
},
|
124
|
+
// Alignment variations
|
125
|
+
start: {
|
126
|
+
'::before': {
|
127
|
+
content: '""',
|
128
|
+
marginRight: contentSpacing,
|
129
|
+
maxWidth: maxStartEndLength
|
130
|
+
},
|
131
|
+
'::after': {
|
132
|
+
marginLeft: contentSpacing
|
133
|
+
}
|
134
|
+
},
|
135
|
+
center: {
|
136
|
+
'::before': {
|
137
|
+
marginRight: contentSpacing
|
138
|
+
},
|
139
|
+
'::after': {
|
140
|
+
marginLeft: contentSpacing
|
141
|
+
}
|
142
|
+
},
|
143
|
+
end: {
|
144
|
+
'::before': {
|
145
|
+
marginRight: contentSpacing
|
146
|
+
},
|
147
|
+
'::after': {
|
148
|
+
content: '""',
|
149
|
+
marginLeft: contentSpacing,
|
150
|
+
maxWidth: maxStartEndLength
|
151
|
+
}
|
152
|
+
}
|
153
|
+
});
|
154
|
+
const useVerticalStyles = makeStyles({
|
155
|
+
// Base styles
|
156
|
+
base: {
|
157
|
+
flexDirection: 'column',
|
158
|
+
minHeight: '20px',
|
159
|
+
'::before': {
|
160
|
+
borderRightStyle: 'solid',
|
161
|
+
borderRightWidth: tokens.strokeWidthThin,
|
162
|
+
minHeight: minStartEndLength
|
163
|
+
},
|
164
|
+
'::after': {
|
165
|
+
borderRightStyle: 'solid',
|
166
|
+
borderRightWidth: tokens.strokeWidthThin,
|
167
|
+
minHeight: minStartEndLength
|
168
|
+
}
|
169
|
+
},
|
170
|
+
// Inset styles
|
171
|
+
inset: {
|
172
|
+
marginTop: insetSpacing,
|
173
|
+
marginBottom: insetSpacing
|
174
|
+
},
|
175
|
+
// With children styles
|
176
|
+
withChildren: {
|
177
|
+
minHeight: '84px'
|
178
|
+
},
|
179
|
+
// Alignment variations
|
180
|
+
start: {
|
181
|
+
'::before': {
|
182
|
+
content: '""',
|
183
|
+
marginBottom: contentSpacing,
|
184
|
+
maxHeight: maxStartEndLength
|
185
|
+
},
|
186
|
+
'::after': {
|
187
|
+
marginTop: contentSpacing
|
188
|
+
}
|
189
|
+
},
|
190
|
+
center: {
|
191
|
+
'::before': {
|
192
|
+
marginBottom: contentSpacing
|
193
|
+
},
|
194
|
+
'::after': {
|
195
|
+
marginTop: contentSpacing
|
196
|
+
}
|
197
|
+
},
|
198
|
+
end: {
|
199
|
+
'::before': {
|
200
|
+
marginBottom: contentSpacing
|
201
|
+
},
|
202
|
+
'::after': {
|
203
|
+
content: '""',
|
204
|
+
marginTop: contentSpacing,
|
205
|
+
maxHeight: maxStartEndLength
|
206
|
+
}
|
207
|
+
}
|
208
|
+
});
|
209
|
+
export const useDividerStyles_unstable = (state)=>{
|
210
|
+
'use no memo';
|
211
|
+
const baseStyles = useBaseStyles();
|
212
|
+
const horizontalStyles = useHorizontalStyles();
|
213
|
+
const verticalStyles = useVerticalStyles();
|
214
|
+
const { alignContent, appearance, inset, vertical } = state;
|
215
|
+
state.root.className = mergeClasses(dividerClassNames.root, // Base styles
|
216
|
+
baseStyles.base, baseStyles[alignContent], appearance && baseStyles[appearance], // Horizontal styles
|
217
|
+
!vertical && horizontalStyles.base, !vertical && inset && horizontalStyles.inset, !vertical && horizontalStyles[alignContent], // Vertical styles
|
218
|
+
vertical && verticalStyles.base, vertical && inset && verticalStyles.inset, vertical && verticalStyles[alignContent], vertical && state.root.children !== undefined && verticalStyles.withChildren, // Childless styles
|
219
|
+
state.root.children === undefined && baseStyles.childless, // User provided class name
|
220
|
+
state.root.className);
|
221
|
+
if (state.wrapper) {
|
222
|
+
state.wrapper.className = mergeClasses(dividerClassNames.wrapper, state.wrapper.className);
|
223
|
+
}
|
224
|
+
return state;
|
225
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/components/Divider/useDividerStyles.styles.ts"],"sourcesContent":["import { mergeClasses, shorthands, makeStyles } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { DividerSlots, DividerState } from './Divider.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const dividerClassNames: SlotClassNames<DividerSlots> = {\n root: 'fui-Divider',\n wrapper: 'fui-Divider__wrapper',\n};\n\nconst contentSpacing = '12px';\nconst insetSpacing = '12px';\nconst maxStartEndLength = '8px';\nconst minStartEndLength = '8px;';\n\nconst useBaseStyles = makeStyles({\n // Base styles\n base: {\n alignItems: 'center',\n boxSizing: 'border-box',\n display: 'flex',\n flexDirection: 'row',\n flexGrow: 1,\n position: 'relative',\n\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase200,\n textAlign: 'center',\n\n '::before': {\n boxSizing: 'border-box',\n display: 'flex',\n flexGrow: 1,\n },\n\n '::after': {\n boxSizing: 'border-box',\n display: 'flex',\n flexGrow: 1,\n },\n },\n\n // Childless styles\n childless: {\n '::before': {\n marginBottom: 0,\n marginRight: 0,\n },\n\n '::after': {\n marginLeft: 0,\n marginTop: 0,\n },\n },\n\n // Alignment variations\n start: {\n '::after': {\n content: '\"\"',\n },\n },\n center: {\n '::before': {\n content: '\"\"',\n },\n '::after': {\n content: '\"\"',\n },\n },\n end: {\n '::before': {\n content: '\"\"',\n },\n },\n\n // Appearance variations\n brand: {\n color: tokens.colorBrandForeground1,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorBrandStroke1),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorBrandStroke1),\n },\n },\n default: {\n color: tokens.colorNeutralForeground2,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n },\n subtle: {\n color: tokens.colorNeutralForeground3,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke3),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke3),\n },\n },\n strong: {\n color: tokens.colorNeutralForeground1,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1),\n },\n },\n});\n\nconst useHorizontalStyles = makeStyles({\n // Base styles\n base: {\n width: '100%',\n\n '::before': {\n borderTopStyle: 'solid',\n borderTopWidth: tokens.strokeWidthThin,\n minWidth: minStartEndLength,\n },\n\n '::after': {\n borderTopStyle: 'solid',\n borderTopWidth: tokens.strokeWidthThin,\n minWidth: minStartEndLength,\n },\n },\n\n // Inset styles\n inset: {\n paddingLeft: insetSpacing,\n paddingRight: insetSpacing,\n },\n\n // Alignment variations\n start: {\n '::before': {\n content: '\"\"',\n marginRight: contentSpacing,\n maxWidth: maxStartEndLength,\n },\n\n '::after': {\n marginLeft: contentSpacing,\n },\n },\n center: {\n '::before': {\n marginRight: contentSpacing,\n },\n '::after': {\n marginLeft: contentSpacing,\n },\n },\n end: {\n '::before': {\n marginRight: contentSpacing,\n },\n '::after': {\n content: '\"\"',\n marginLeft: contentSpacing,\n maxWidth: maxStartEndLength,\n },\n },\n});\n\nconst useVerticalStyles = makeStyles({\n // Base styles\n base: {\n flexDirection: 'column',\n minHeight: '20px',\n\n '::before': {\n borderRightStyle: 'solid',\n borderRightWidth: tokens.strokeWidthThin,\n minHeight: minStartEndLength,\n },\n\n '::after': {\n borderRightStyle: 'solid',\n borderRightWidth: tokens.strokeWidthThin,\n minHeight: minStartEndLength,\n },\n },\n\n // Inset styles\n inset: {\n marginTop: insetSpacing,\n marginBottom: insetSpacing,\n },\n\n // With children styles\n withChildren: {\n minHeight: '84px',\n },\n\n // Alignment variations\n start: {\n '::before': {\n content: '\"\"',\n marginBottom: contentSpacing,\n maxHeight: maxStartEndLength,\n },\n\n '::after': {\n marginTop: contentSpacing,\n },\n },\n center: {\n '::before': {\n marginBottom: contentSpacing,\n },\n '::after': {\n marginTop: contentSpacing,\n },\n },\n end: {\n '::before': {\n marginBottom: contentSpacing,\n },\n '::after': {\n content: '\"\"',\n marginTop: contentSpacing,\n maxHeight: maxStartEndLength,\n },\n },\n});\n\nexport const useDividerStyles_unstable = (state: DividerState): DividerState => {\n 'use no memo';\n\n const baseStyles = useBaseStyles();\n const horizontalStyles = useHorizontalStyles();\n const verticalStyles = useVerticalStyles();\n\n const { alignContent, appearance, inset, vertical } = state;\n\n state.root.className = mergeClasses(\n dividerClassNames.root,\n\n // Base styles\n baseStyles.base,\n baseStyles[alignContent],\n appearance && baseStyles[appearance],\n\n // Horizontal styles\n !vertical && horizontalStyles.base,\n !vertical && inset && horizontalStyles.inset,\n !vertical && horizontalStyles[alignContent],\n\n // Vertical styles\n vertical && verticalStyles.base,\n vertical && inset && verticalStyles.inset,\n vertical && verticalStyles[alignContent],\n vertical && state.root.children !== undefined && verticalStyles.withChildren,\n\n // Childless styles\n state.root.children === undefined && baseStyles.childless,\n\n // User provided class name\n state.root.className,\n );\n\n if (state.wrapper) {\n state.wrapper.className = mergeClasses(dividerClassNames.wrapper, state.wrapper.className);\n }\n\n return state;\n};\n"],"names":["mergeClasses","shorthands","makeStyles","tokens","dividerClassNames","root","wrapper","contentSpacing","insetSpacing","maxStartEndLength","minStartEndLength","useBaseStyles","base","alignItems","boxSizing","display","flexDirection","flexGrow","position","fontFamily","fontFamilyBase","fontSize","fontSizeBase200","fontWeight","fontWeightRegular","lineHeight","lineHeightBase200","textAlign","childless","marginBottom","marginRight","marginLeft","marginTop","start","content","center","end","brand","color","colorBrandForeground1","borderColor","colorBrandStroke1","default","colorNeutralForeground2","colorNeutralStroke2","subtle","colorNeutralForeground3","colorNeutralStroke3","strong","colorNeutralForeground1","colorNeutralStroke1","useHorizontalStyles","width","borderTopStyle","borderTopWidth","strokeWidthThin","minWidth","inset","paddingLeft","paddingRight","maxWidth","useVerticalStyles","minHeight","borderRightStyle","borderRightWidth","withChildren","maxHeight","useDividerStyles_unstable","state","baseStyles","horizontalStyles","verticalStyles","alignContent","appearance","vertical","className","children","undefined"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,YAAY,EAAEC,UAAU,EAAEC,UAAU,QAAQ,iBAAiB;AACtE,SAASC,MAAM,QAAQ,wBAAwB;AAI/C,OAAO,MAAMC,oBAAkD;IAC7DC,MAAM;IACNC,SAAS;AACX,EAAE;AAEF,MAAMC,iBAAiB;AACvB,MAAMC,eAAe;AACrB,MAAMC,oBAAoB;AAC1B,MAAMC,oBAAoB;AAE1B,MAAMC,gBAAgBT,WAAW;IAC/B,cAAc;IACdU,MAAM;QACJC,YAAY;QACZC,WAAW;QACXC,SAAS;QACTC,eAAe;QACfC,UAAU;QACVC,UAAU;QAEVC,YAAYhB,OAAOiB,cAAc;QACjCC,UAAUlB,OAAOmB,eAAe;QAChCC,YAAYpB,OAAOqB,iBAAiB;QACpCC,YAAYtB,OAAOuB,iBAAiB;QACpCC,WAAW;QAEX,YAAY;YACVb,WAAW;YACXC,SAAS;YACTE,UAAU;QACZ;QAEA,WAAW;YACTH,WAAW;YACXC,SAAS;YACTE,UAAU;QACZ;IACF;IAEA,mBAAmB;IACnBW,WAAW;QACT,YAAY;YACVC,cAA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M,EAAEW,YAAY,EAAEC,UAAU,EAAEhB,KAAK,EAAEiB,QAAQ,EAAE,GAAGN;IAEtDA,MAAM/D,IAAI,CAACsE,SAAS,GAAG3E,aACrBI,kBAAkBC,IAAI,EAEtB,cAAc;IACdgE,WAAWzD,IAAI,EACfyD,UAAU,CAACG,aAAa,EACxBC,cAAcJ,UAAU,CAACI,WAAW,EAEpC,oBAAoB;IACpB,CAACC,YAAYJ,iBAAiB1D,IAAI,EAClC,CAAC8D,YAAYjB,SAASa,iBAAiBb,KAAK,EAC5C,CAACiB,YAAYJ,gBAAgB,CAACE,aAAa,EAE3C,kBAAkB;IAClBE,YAAYH,eAAe3D,IAAI,EAC/B8D,YAAYjB,SAASc,eAAed,KAAK,EACzCiB,YAAYH,cAAc,CAACC,aAAa,EACxCE,YAAYN,MAAM/D,IAAI,CAACuE,QAAQ,KAAKC,aAAaN,eAAeN,YAAY,EAE5E,mBAAmB;IACnBG,MAAM/D,IAAI,CAACuE,QAAQ,KAAKC,aAAaR,WAAWzC,SAAS,EAEzD,2BAA2B;IAC3BwC,MAAM/D,IAAI,CAACsE,SAAS;IAGtB,IAAIP,MAAM9D,OAAO,EAAE;QACjB8D,MAAM9D,OAAO,CAACqE,SAAS,GAAG3E,aAAaI,kBAAkBE,OAAO,EAAE8D,MAAM9D,OAAO,CAACqE,SAAS;IAC3F;IAEA,OAAOP;AACT,EAAE"}
|
@@ -0,0 +1,238 @@
|
|
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
|
+
dividerClassNames: function() {
|
13
|
+
return dividerClassNames;
|
14
|
+
},
|
15
|
+
useDividerStyles_unstable: function() {
|
16
|
+
return useDividerStyles_unstable;
|
17
|
+
}
|
18
|
+
});
|
19
|
+
const _react = require("@griffel/react");
|
20
|
+
const _reacttheme = require("@fluentui/react-theme");
|
21
|
+
const dividerClassNames = {
|
22
|
+
root: 'fui-Divider',
|
23
|
+
wrapper: 'fui-Divider__wrapper'
|
24
|
+
};
|
25
|
+
const contentSpacing = '12px';
|
26
|
+
const insetSpacing = '12px';
|
27
|
+
const maxStartEndLength = '8px';
|
28
|
+
const minStartEndLength = '8px;';
|
29
|
+
const useBaseStyles = (0, _react.makeStyles)({
|
30
|
+
// Base styles
|
31
|
+
base: {
|
32
|
+
alignItems: 'center',
|
33
|
+
boxSizing: 'border-box',
|
34
|
+
display: 'flex',
|
35
|
+
flexDirection: 'row',
|
36
|
+
flexGrow: 1,
|
37
|
+
position: 'relative',
|
38
|
+
fontFamily: _reacttheme.tokens.fontFamilyBase,
|
39
|
+
fontSize: _reacttheme.tokens.fontSizeBase200,
|
40
|
+
fontWeight: _reacttheme.tokens.fontWeightRegular,
|
41
|
+
lineHeight: _reacttheme.tokens.lineHeightBase200,
|
42
|
+
textAlign: 'center',
|
43
|
+
'::before': {
|
44
|
+
boxSizing: 'border-box',
|
45
|
+
display: 'flex',
|
46
|
+
flexGrow: 1
|
47
|
+
},
|
48
|
+
'::after': {
|
49
|
+
boxSizing: 'border-box',
|
50
|
+
display: 'flex',
|
51
|
+
flexGrow: 1
|
52
|
+
}
|
53
|
+
},
|
54
|
+
// Childless styles
|
55
|
+
childless: {
|
56
|
+
'::before': {
|
57
|
+
marginBottom: 0,
|
58
|
+
marginRight: 0
|
59
|
+
},
|
60
|
+
'::after': {
|
61
|
+
marginLeft: 0,
|
62
|
+
marginTop: 0
|
63
|
+
}
|
64
|
+
},
|
65
|
+
// Alignment variations
|
66
|
+
start: {
|
67
|
+
'::after': {
|
68
|
+
content: '""'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
center: {
|
72
|
+
'::before': {
|
73
|
+
content: '""'
|
74
|
+
},
|
75
|
+
'::after': {
|
76
|
+
content: '""'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
end: {
|
80
|
+
'::before': {
|
81
|
+
content: '""'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
// Appearance variations
|
85
|
+
brand: {
|
86
|
+
color: _reacttheme.tokens.colorBrandForeground1,
|
87
|
+
'::before': {
|
88
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorBrandStroke1)
|
89
|
+
},
|
90
|
+
'::after': {
|
91
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorBrandStroke1)
|
92
|
+
}
|
93
|
+
},
|
94
|
+
default: {
|
95
|
+
color: _reacttheme.tokens.colorNeutralForeground2,
|
96
|
+
'::before': {
|
97
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke2)
|
98
|
+
},
|
99
|
+
'::after': {
|
100
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke2)
|
101
|
+
}
|
102
|
+
},
|
103
|
+
subtle: {
|
104
|
+
color: _reacttheme.tokens.colorNeutralForeground3,
|
105
|
+
'::before': {
|
106
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke3)
|
107
|
+
},
|
108
|
+
'::after': {
|
109
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke3)
|
110
|
+
}
|
111
|
+
},
|
112
|
+
strong: {
|
113
|
+
color: _reacttheme.tokens.colorNeutralForeground1,
|
114
|
+
'::before': {
|
115
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke1)
|
116
|
+
},
|
117
|
+
'::after': {
|
118
|
+
..._react.shorthands.borderColor(_reacttheme.tokens.colorNeutralStroke1)
|
119
|
+
}
|
120
|
+
}
|
121
|
+
});
|
122
|
+
const useHorizontalStyles = (0, _react.makeStyles)({
|
123
|
+
// Base styles
|
124
|
+
base: {
|
125
|
+
width: '100%',
|
126
|
+
'::before': {
|
127
|
+
borderTopStyle: 'solid',
|
128
|
+
borderTopWidth: _reacttheme.tokens.strokeWidthThin,
|
129
|
+
minWidth: minStartEndLength
|
130
|
+
},
|
131
|
+
'::after': {
|
132
|
+
borderTopStyle: 'solid',
|
133
|
+
borderTopWidth: _reacttheme.tokens.strokeWidthThin,
|
134
|
+
minWidth: minStartEndLength
|
135
|
+
}
|
136
|
+
},
|
137
|
+
// Inset styles
|
138
|
+
inset: {
|
139
|
+
paddingLeft: insetSpacing,
|
140
|
+
paddingRight: insetSpacing
|
141
|
+
},
|
142
|
+
// Alignment variations
|
143
|
+
start: {
|
144
|
+
'::before': {
|
145
|
+
content: '""',
|
146
|
+
marginRight: contentSpacing,
|
147
|
+
maxWidth: maxStartEndLength
|
148
|
+
},
|
149
|
+
'::after': {
|
150
|
+
marginLeft: contentSpacing
|
151
|
+
}
|
152
|
+
},
|
153
|
+
center: {
|
154
|
+
'::before': {
|
155
|
+
marginRight: contentSpacing
|
156
|
+
},
|
157
|
+
'::after': {
|
158
|
+
marginLeft: contentSpacing
|
159
|
+
}
|
160
|
+
},
|
161
|
+
end: {
|
162
|
+
'::before': {
|
163
|
+
marginRight: contentSpacing
|
164
|
+
},
|
165
|
+
'::after': {
|
166
|
+
content: '""',
|
167
|
+
marginLeft: contentSpacing,
|
168
|
+
maxWidth: maxStartEndLength
|
169
|
+
}
|
170
|
+
}
|
171
|
+
});
|
172
|
+
const useVerticalStyles = (0, _react.makeStyles)({
|
173
|
+
// Base styles
|
174
|
+
base: {
|
175
|
+
flexDirection: 'column',
|
176
|
+
minHeight: '20px',
|
177
|
+
'::before': {
|
178
|
+
borderRightStyle: 'solid',
|
179
|
+
borderRightWidth: _reacttheme.tokens.strokeWidthThin,
|
180
|
+
minHeight: minStartEndLength
|
181
|
+
},
|
182
|
+
'::after': {
|
183
|
+
borderRightStyle: 'solid',
|
184
|
+
borderRightWidth: _reacttheme.tokens.strokeWidthThin,
|
185
|
+
minHeight: minStartEndLength
|
186
|
+
}
|
187
|
+
},
|
188
|
+
// Inset styles
|
189
|
+
inset: {
|
190
|
+
marginTop: insetSpacing,
|
191
|
+
marginBottom: insetSpacing
|
192
|
+
},
|
193
|
+
// With children styles
|
194
|
+
withChildren: {
|
195
|
+
minHeight: '84px'
|
196
|
+
},
|
197
|
+
// Alignment variations
|
198
|
+
start: {
|
199
|
+
'::before': {
|
200
|
+
content: '""',
|
201
|
+
marginBottom: contentSpacing,
|
202
|
+
maxHeight: maxStartEndLength
|
203
|
+
},
|
204
|
+
'::after': {
|
205
|
+
marginTop: contentSpacing
|
206
|
+
}
|
207
|
+
},
|
208
|
+
center: {
|
209
|
+
'::before': {
|
210
|
+
marginBottom: contentSpacing
|
211
|
+
},
|
212
|
+
'::after': {
|
213
|
+
marginTop: contentSpacing
|
214
|
+
}
|
215
|
+
},
|
216
|
+
end: {
|
217
|
+
'::before': {
|
218
|
+
marginBottom: contentSpacing
|
219
|
+
},
|
220
|
+
'::after': {
|
221
|
+
content: '""',
|
222
|
+
marginTop: contentSpacing,
|
223
|
+
maxHeight: maxStartEndLength
|
224
|
+
}
|
225
|
+
}
|
226
|
+
});
|
227
|
+
const useDividerStyles_unstable = (state)=>{
|
228
|
+
'use no memo';
|
229
|
+
const baseStyles = useBaseStyles();
|
230
|
+
const horizontalStyles = useHorizontalStyles();
|
231
|
+
const verticalStyles = useVerticalStyles();
|
232
|
+
const { alignContent, appearance, inset, vertical } = state;
|
233
|
+
state.root.className = (0, _react.mergeClasses)(dividerClassNames.root, baseStyles.base, baseStyles[alignContent], appearance && baseStyles[appearance], !vertical && horizontalStyles.base, !vertical && inset && horizontalStyles.inset, !vertical && horizontalStyles[alignContent], vertical && verticalStyles.base, vertical && inset && verticalStyles.inset, vertical && verticalStyles[alignContent], vertical && state.root.children !== undefined && verticalStyles.withChildren, state.root.children === undefined && baseStyles.childless, state.root.className);
|
234
|
+
if (state.wrapper) {
|
235
|
+
state.wrapper.className = (0, _react.mergeClasses)(dividerClassNames.wrapper, state.wrapper.className);
|
236
|
+
}
|
237
|
+
return state;
|
238
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/components/Divider/useDividerStyles.styles.ts"],"sourcesContent":["import { mergeClasses, shorthands, makeStyles } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { DividerSlots, DividerState } from './Divider.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const dividerClassNames: SlotClassNames<DividerSlots> = {\n root: 'fui-Divider',\n wrapper: 'fui-Divider__wrapper',\n};\n\nconst contentSpacing = '12px';\nconst insetSpacing = '12px';\nconst maxStartEndLength = '8px';\nconst minStartEndLength = '8px;';\n\nconst useBaseStyles = makeStyles({\n // Base styles\n base: {\n alignItems: 'center',\n boxSizing: 'border-box',\n display: 'flex',\n flexDirection: 'row',\n flexGrow: 1,\n position: 'relative',\n\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase200,\n textAlign: 'center',\n\n '::before': {\n boxSizing: 'border-box',\n display: 'flex',\n flexGrow: 1,\n },\n\n '::after': {\n boxSizing: 'border-box',\n display: 'flex',\n flexGrow: 1,\n },\n },\n\n // Childless styles\n childless: {\n '::before': {\n marginBottom: 0,\n marginRight: 0,\n },\n\n '::after': {\n marginLeft: 0,\n marginTop: 0,\n },\n },\n\n // Alignment variations\n start: {\n '::after': {\n content: '\"\"',\n },\n },\n center: {\n '::before': {\n content: '\"\"',\n },\n '::after': {\n content: '\"\"',\n },\n },\n end: {\n '::before': {\n content: '\"\"',\n },\n },\n\n // Appearance variations\n brand: {\n color: tokens.colorBrandForeground1,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorBrandStroke1),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorBrandStroke1),\n },\n },\n default: {\n color: tokens.colorNeutralForeground2,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke2),\n },\n },\n subtle: {\n color: tokens.colorNeutralForeground3,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke3),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke3),\n },\n },\n strong: {\n color: tokens.colorNeutralForeground1,\n\n '::before': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1),\n },\n\n '::after': {\n ...shorthands.borderColor(tokens.colorNeutralStroke1),\n },\n },\n});\n\nconst useHorizontalStyles = makeStyles({\n // Base styles\n base: {\n width: '100%',\n\n '::before': {\n borderTopStyle: 'solid',\n borderTopWidth: tokens.strokeWidthThin,\n minWidth: minStartEndLength,\n },\n\n '::after': {\n borderTopStyle: 'solid',\n borderTopWidth: tokens.strokeWidthThin,\n minWidth: minStartEndLength,\n },\n },\n\n // Inset styles\n inset: {\n paddingLeft: insetSpacing,\n paddingRight: insetSpacing,\n },\n\n // Alignment variations\n start: {\n '::before': {\n content: '\"\"',\n marginRight: contentSpacing,\n maxWidth: maxStartEndLength,\n },\n\n '::after': {\n marginLeft: contentSpacing,\n },\n },\n center: {\n '::before': {\n marginRight: contentSpacing,\n },\n '::after': {\n marginLeft: contentSpacing,\n },\n },\n end: {\n '::before': {\n marginRight: contentSpacing,\n },\n '::after': {\n content: '\"\"',\n marginLeft: contentSpacing,\n maxWidth: maxStartEndLength,\n },\n },\n});\n\nconst useVerticalStyles = makeStyles({\n // Base styles\n base: {\n flexDirection: 'column',\n minHeight: '20px',\n\n '::before': {\n borderRightStyle: 'solid',\n borderRightWidth: tokens.strokeWidthThin,\n minHeight: minStartEndLength,\n },\n\n '::after': {\n borderRightStyle: 'solid',\n borderRightWidth: tokens.strokeWidthThin,\n minHeight: minStartEndLength,\n },\n },\n\n // Inset styles\n inset: {\n marginTop: insetSpacing,\n marginBottom: insetSpacing,\n },\n\n // With children styles\n withChildren: {\n minHeight: '84px',\n },\n\n // Alignment variations\n start: {\n '::before': {\n content: '\"\"',\n marginBottom: contentSpacing,\n maxHeight: maxStartEndLength,\n },\n\n '::after': {\n marginTop: contentSpacing,\n },\n },\n center: {\n '::before': {\n marginBottom: contentSpacing,\n },\n '::after': {\n marginTop: contentSpacing,\n },\n },\n end: {\n '::before': {\n marginBottom: contentSpacing,\n },\n '::after': {\n content: '\"\"',\n marginTop: contentSpacing,\n maxHeight: maxStartEndLength,\n },\n },\n});\n\nexport const useDividerStyles_unstable = (state: DividerState): DividerState => {\n 'use no memo';\n\n const baseStyles = useBaseStyles();\n const horizontalStyles = useHorizontalStyles();\n const verticalStyles = useVerticalStyles();\n\n const { alignContent, appearance, inset, vertical } = state;\n\n state.root.className = mergeClasses(\n dividerClassNames.root,\n\n // Base styles\n baseStyles.base,\n baseStyles[alignContent],\n appearance && baseStyles[appearance],\n\n // Horizontal styles\n !vertical && horizontalStyles.base,\n !vertical && inset && horizontalStyles.inset,\n !vertical && horizontalStyles[alignContent],\n\n // Vertical styles\n vertical && verticalStyles.base,\n vertical && inset && verticalStyles.inset,\n vertical && verticalStyles[alignContent],\n vertical && state.root.children !== undefined && verticalStyles.withChildren,\n\n // Childless styles\n state.root.children === undefined && baseStyles.childless,\n\n // User provided class name\n state.root.className,\n );\n\n if (state.wrapper) {\n state.wrapper.className = mergeClasses(dividerClassNames.wrapper, state.wrapper.className);\n }\n\n return state;\n};\n"],"names":["dividerClassNames","useDividerStyles_unstable","root","wrapper","contentSpacing","insetSpacing","maxStartEndLength","minStartEndLength","useBaseStyles","makeStyles","base","alignItems","boxSizing","display","flexDirection","flexGrow","position","fontFamily","tokens","fontFamilyBase","fontSize","fontSizeBase200","fontWeight","fontWeightRegular","lineHeight","lineHeightBase200","textAlign","childless","marginBottom","marginRight","marginLeft","marginTop","start","content","center","end","brand","color","colorBrandForeground1","shorthands","borderColor","colorBrandStroke1","default","colorNeutralForeground2","colorNeutralStroke2","subtle","colorNeutralForeground3","colorNeutralStroke3","strong","colorNeutralForeground1","colorNeutralStroke1","useHorizontalStyles","width","borderTopStyle","borderTopWidth","strokeWidthThin","minWidth","inset","paddingLeft","paddingRight","maxWidth","useVerticalStyles","minHeight","borderRightStyle","borderRightWidth","withChildren","maxHeight","state","baseStyles","horizontalStyles","verticalStyles","alignContent","appearance","vertical","className","mergeClasses","children","undefined"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAKaA,iBAAAA;eAAAA;;IA6OAC,yBAAAA;eAAAA;;;uBAlPwC;4BAC9B;AAIhB,MAAMD,oBAAkD;IAC7DE,MAAM;IACNC,SAAS;AACX;AAEA,MAAMC,iBAAiB;AACvB,MAAMC,eAAe;AACrB,MAAMC,oBAAoB;AAC1B,MAAMC,oBAAoB;AAE1B,MAAMC,gBAAgBC,IAAAA,iBAAAA,EAAW;IAC/B,cAAc;IACdC,MAAM;QACJC,YAAY;QACZC,WAAW;QACXC,SAAS;QACTC,eAAe;QACfC,UAAU;QACVC,UAAU;QAEVC,YAAYC,kBAAAA,CAAOC,cAAc;QACjCC,UAAUF,kBAAAA,CAAOG,eAAe;QAChCC,YAAYJ,kBAAAA,CAAOK,iBAAiB;QACpCC,YAAYN,kBAAAA,CAAOO,iBAAiB;QACpCC,WAAW;QAEX,YAAY;YACVd,WAAW;YACXC,SAAS;YACTE,UAAU;QACZ;QAEA,WAAW;YACTH,WAAW;YACXC,SAAS;YACTE,UAAU;QACZ;IACF;IAEA,mBAAmB;IACnBY,WAAW;QACT,YAAY;YACVC,cAAc;YACdC,aAAa;QACf;QAEA,WAAW;YACTC,YAAY;YACZC,WAAW;QACb;IACF;IAEA,uBAAuB;IACvBC,OAAO;QACL,WAAW;YACTC,SAAS;QACX;IACF;IACAC,QAAQ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A,MAAMC,aAAa5D;IACnB,MAAM6D,mBAAmBlB;IACzB,MAAMmB,iBAAiBT;IAEvB,MAAM,EAAEU,YAAY,EAAEC,UAAU,EAAEf,KAAK,EAAEgB,QAAQ,EAAE,GAAGN;IAEtDA,MAAMjE,IAAI,CAACwE,SAAS,GAAGC,IAAAA,mBAAAA,EACrB3E,kBAAkBE,IAAI,EAGtBkE,WAAW1D,IAAI,EACf0D,UAAU,CAACG,aAAa,EACxBC,cAAcJ,UAAU,CAACI,WAAW,EAGpC,CAACC,YAAYJ,iBAAiB3D,IAAI,EAClC,CAAC+D,YAAYhB,SAASY,iBAAiBZ,KAAK,EAC5C,CAACgB,YAAYJ,gBAAgB,CAACE,aAAa,EAG3CE,YAAYH,eAAe5D,IAAI,EAC/B+D,YAAYhB,SAASa,eAAeb,KAAK,EACzCgB,YAAYH,cAAc,CAACC,aAAa,EACxCE,YAAYN,MAAMjE,IAAI,CAAC0E,QAAQ,KAAKC,aAAaP,eAAeL,YAAY,EAG5EE,MAAMjE,IAAI,CAAC0E,QAAQ,KAAKC,aAAaT,WAAWzC,SAAS,EAGzDwC,MAAMjE,IAAI,CAACwE,SAAS;IAGtB,IAAIP,MAAMhE,OAAO,EAAE;QACjBgE,MAAMhE,OAAO,CAACuE,SAAS,GAAGC,IAAAA,mBAAAA,EAAa3E,kBAAkBG,OAAO,EAAEgE,MAAMhE,OAAO,CAACuE,SAAS;IAC3F;IAEA,OAAOP;AACT"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-divider",
|
3
|
-
"version": "9.
|
3
|
+
"version": "9.4.0",
|
4
4
|
"description": "Fluent UI component to visually separate content.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"@fluentui/scripts-api-extractor": "*"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@fluentui/react-jsx-runtime": "^9.1.
|
21
|
+
"@fluentui/react-jsx-runtime": "^9.1.2",
|
22
22
|
"@fluentui/react-shared-contexts": "^9.24.0",
|
23
23
|
"@fluentui/react-theme": "^9.1.24",
|
24
|
-
"@fluentui/react-utilities": "^9.
|
24
|
+
"@fluentui/react-utilities": "^9.22.0",
|
25
25
|
"@griffel/react": "^1.5.22",
|
26
26
|
"@swc/helpers": "^0.5.1"
|
27
27
|
},
|