@fluentui/react-divider 0.0.0-nightly-20230317-0436.1 → 0.0.0-nightly-20230317-1454.1
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/.swcrc +39 -0
- package/CHANGELOG.json +11 -11
- package/CHANGELOG.md +8 -8
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/components/Divider/Divider.js +6 -6
- package/lib/components/Divider/Divider.js.map +1 -1
- package/lib/components/Divider/Divider.types.js.map +1 -1
- package/lib/components/Divider/index.js +5 -5
- package/lib/components/Divider/index.js.map +1 -1
- package/lib/components/Divider/renderDivider.js +3 -7
- package/lib/components/Divider/renderDivider.js.map +1 -1
- package/lib/components/Divider/useDivider.js +11 -10
- package/lib/components/Divider/useDivider.js.map +1 -1
- package/lib/components/Divider/useDividerStyles.js +8 -8
- package/lib/components/Divider/useDividerStyles.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Divider.js +5 -4
- package/lib-commonjs/Divider.js.map +1 -1
- package/lib-commonjs/components/Divider/Divider.js +19 -20
- package/lib-commonjs/components/Divider/Divider.js.map +1 -1
- package/lib-commonjs/components/Divider/Divider.types.js +3 -2
- package/lib-commonjs/components/Divider/Divider.types.js.map +1 -1
- package/lib-commonjs/components/Divider/index.js +9 -8
- package/lib-commonjs/components/Divider/index.js.map +1 -1
- package/lib-commonjs/components/Divider/renderDivider.js +13 -20
- package/lib-commonjs/components/Divider/renderDivider.js.map +1 -1
- package/lib-commonjs/components/Divider/useDivider.js +39 -46
- package/lib-commonjs/components/Divider/useDivider.js.map +1 -1
- package/lib-commonjs/components/Divider/useDividerStyles.js +373 -186
- package/lib-commonjs/components/Divider/useDividerStyles.js.map +1 -1
- package/lib-commonjs/index.js +16 -33
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +7 -7
@@ -1,197 +1,384 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
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: ()=>dividerClassNames,
|
13
|
+
useDividerStyles_unstable: ()=>useDividerStyles_unstable
|
5
14
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
root: 'fui-Divider',
|
11
|
-
wrapper: 'fui-Divider__wrapper'
|
15
|
+
const _react = require("@griffel/react");
|
16
|
+
const dividerClassNames = {
|
17
|
+
root: "fui-Divider",
|
18
|
+
wrapper: "fui-Divider__wrapper"
|
12
19
|
};
|
13
|
-
const contentSpacing =
|
14
|
-
const insetSpacing =
|
15
|
-
const maxStartEndLength =
|
16
|
-
const minStartEndLength =
|
17
|
-
const useBaseStyles = /*#__PURE__*/
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
20
|
+
const contentSpacing = "12px";
|
21
|
+
const insetSpacing = "12px";
|
22
|
+
const maxStartEndLength = "8px";
|
23
|
+
const minStartEndLength = "8px;";
|
24
|
+
const useBaseStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
25
|
+
base: {
|
26
|
+
Bt984gj: "f122n59",
|
27
|
+
B7ck84d: "f1ewtqcl",
|
28
|
+
mc9l5x: "f22iagw",
|
29
|
+
Beiy3e4: "f1063pyq",
|
30
|
+
Bh6795r: "fqerorx",
|
31
|
+
qhf8xq: "f10pi13n",
|
32
|
+
Bahqtrf: "fk6fouc",
|
33
|
+
Be2twd7: "fy9rknc",
|
34
|
+
Bhrd7zp: "figsok6",
|
35
|
+
Bg96gwp: "fwrc4pm",
|
36
|
+
fsow6f: "f17mccla",
|
37
|
+
Bcvre1j: "fyl8oag",
|
38
|
+
Br0sdwz: "f16vkdww",
|
39
|
+
Bn78ew0: "fhsnbul",
|
40
|
+
li1rpt: "f1gw3sf2",
|
41
|
+
ap17g6: "f1ly5f7u",
|
42
|
+
B771hl4: "f1s3tz6t"
|
43
|
+
},
|
44
|
+
childless: {
|
45
|
+
susq4k: "f1kyqvp9",
|
46
|
+
Bicfajf: [
|
47
|
+
"fzynn9s",
|
48
|
+
"f1z0ukd1"
|
49
|
+
],
|
50
|
+
jwcpgy: [
|
51
|
+
"fekrn8e",
|
52
|
+
"ftdg338"
|
53
|
+
],
|
54
|
+
B4rk6o: "fesgyo"
|
55
|
+
},
|
56
|
+
start: {
|
57
|
+
Bsft5z2: "f13zj6fq"
|
58
|
+
},
|
59
|
+
center: {
|
60
|
+
Ftih45: "f1wl9k8s",
|
61
|
+
Bsft5z2: "f13zj6fq"
|
62
|
+
},
|
63
|
+
end: {
|
64
|
+
Ftih45: "f1wl9k8s"
|
65
|
+
},
|
66
|
+
brand: {
|
67
|
+
sj55zd: "f16muhyy",
|
68
|
+
Bq4z7u6: "fcbuu2a",
|
69
|
+
Bk5zm6e: [
|
70
|
+
"f1wdw2dr",
|
71
|
+
"f1ttio3w"
|
72
|
+
],
|
73
|
+
Bqjgrrk: "f1582fpk",
|
74
|
+
Bm6vgfq: [
|
75
|
+
"f1ttio3w",
|
76
|
+
"f1wdw2dr"
|
77
|
+
],
|
78
|
+
B0n5ga8: "f1ahrvm8",
|
79
|
+
s924m2: [
|
80
|
+
"f1cd3wbc",
|
81
|
+
"f17hbk9y"
|
82
|
+
],
|
83
|
+
B1q35kw: "fvrapl0",
|
84
|
+
Gp14am: [
|
85
|
+
"f17hbk9y",
|
86
|
+
"f1cd3wbc"
|
87
|
+
]
|
88
|
+
},
|
89
|
+
"default": {
|
90
|
+
sj55zd: "fkfq4zb",
|
91
|
+
Bq4z7u6: "f1vccso1",
|
92
|
+
Bk5zm6e: [
|
93
|
+
"f1geml7w",
|
94
|
+
"fjml6kk"
|
95
|
+
],
|
96
|
+
Bqjgrrk: "f1r7kh1m",
|
97
|
+
Bm6vgfq: [
|
98
|
+
"fjml6kk",
|
99
|
+
"f1geml7w"
|
100
|
+
],
|
101
|
+
B0n5ga8: "f16j7guv",
|
102
|
+
s924m2: [
|
103
|
+
"fx01ahm",
|
104
|
+
"fj1a37q"
|
105
|
+
],
|
106
|
+
B1q35kw: "fl8d8yv",
|
107
|
+
Gp14am: [
|
108
|
+
"fj1a37q",
|
109
|
+
"fx01ahm"
|
110
|
+
]
|
111
|
+
},
|
112
|
+
subtle: {
|
113
|
+
sj55zd: "fkfq4zb",
|
114
|
+
Bq4z7u6: "f5g06un",
|
115
|
+
Bk5zm6e: [
|
116
|
+
"f13sxdku",
|
117
|
+
"f1n015lb"
|
118
|
+
],
|
119
|
+
Bqjgrrk: "f1x6bl8t",
|
120
|
+
Bm6vgfq: [
|
121
|
+
"f1n015lb",
|
122
|
+
"f13sxdku"
|
123
|
+
],
|
124
|
+
B0n5ga8: "fvod1wy",
|
125
|
+
s924m2: [
|
126
|
+
"fwslg65",
|
127
|
+
"flk0e17"
|
128
|
+
],
|
129
|
+
B1q35kw: "f103fvts",
|
130
|
+
Gp14am: [
|
131
|
+
"flk0e17",
|
132
|
+
"fwslg65"
|
133
|
+
]
|
134
|
+
},
|
135
|
+
strong: {
|
136
|
+
sj55zd: "fkfq4zb",
|
137
|
+
Bq4z7u6: "f10tv6oz",
|
138
|
+
Bk5zm6e: [
|
139
|
+
"f16xp3sf",
|
140
|
+
"f1seuxxq"
|
141
|
+
],
|
142
|
+
Bqjgrrk: "fwrmqbx",
|
143
|
+
Bm6vgfq: [
|
144
|
+
"f1seuxxq",
|
145
|
+
"f16xp3sf"
|
146
|
+
],
|
147
|
+
B0n5ga8: "ft83z1f",
|
148
|
+
s924m2: [
|
149
|
+
"f1g4150c",
|
150
|
+
"f192dr6e"
|
151
|
+
],
|
152
|
+
B1q35kw: "f1qnawh6",
|
153
|
+
Gp14am: [
|
154
|
+
"f192dr6e",
|
155
|
+
"f1g4150c"
|
156
|
+
]
|
157
|
+
}
|
97
158
|
}, {
|
98
|
-
|
159
|
+
d: [
|
160
|
+
".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",
|
161
|
+
".f1ewtqcl{box-sizing:border-box;}",
|
162
|
+
".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",
|
163
|
+
".f1063pyq{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}",
|
164
|
+
".fqerorx{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}",
|
165
|
+
".f10pi13n{position:relative;}",
|
166
|
+
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
167
|
+
".fy9rknc{font-size:var(--fontSizeBase200);}",
|
168
|
+
".figsok6{font-weight:var(--fontWeightRegular);}",
|
169
|
+
".fwrc4pm{line-height:var(--lineHeightBase200);}",
|
170
|
+
".f17mccla{text-align:center;}",
|
171
|
+
".fyl8oag::before{box-sizing:border-box;}",
|
172
|
+
".f16vkdww::before{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",
|
173
|
+
".fhsnbul::before{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}",
|
174
|
+
".f1gw3sf2::after{box-sizing:border-box;}",
|
175
|
+
".f1ly5f7u::after{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",
|
176
|
+
".f1s3tz6t::after{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}",
|
177
|
+
".f1kyqvp9::before{margin-bottom:0;}",
|
178
|
+
".fzynn9s::before{margin-right:0;}",
|
179
|
+
".f1z0ukd1::before{margin-left:0;}",
|
180
|
+
".fekrn8e::after{margin-left:0;}",
|
181
|
+
".ftdg338::after{margin-right:0;}",
|
182
|
+
".fesgyo::after{margin-top:0;}",
|
183
|
+
'.f13zj6fq::after{content:"";}',
|
184
|
+
'.f1wl9k8s::before{content:"";}',
|
185
|
+
".f16muhyy{color:var(--colorBrandForeground1);}",
|
186
|
+
".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",
|
187
|
+
".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",
|
188
|
+
".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",
|
189
|
+
".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",
|
190
|
+
".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",
|
191
|
+
".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",
|
192
|
+
".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",
|
193
|
+
".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",
|
194
|
+
".fkfq4zb{color:var(--colorNeutralForeground2);}",
|
195
|
+
".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",
|
196
|
+
".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",
|
197
|
+
".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",
|
198
|
+
".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",
|
199
|
+
".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",
|
200
|
+
".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",
|
201
|
+
".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",
|
202
|
+
".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",
|
203
|
+
".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",
|
204
|
+
".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",
|
205
|
+
".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",
|
206
|
+
".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",
|
207
|
+
".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",
|
208
|
+
".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",
|
209
|
+
".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",
|
210
|
+
".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",
|
211
|
+
".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",
|
212
|
+
".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",
|
213
|
+
".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",
|
214
|
+
".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",
|
215
|
+
".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",
|
216
|
+
".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",
|
217
|
+
".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",
|
218
|
+
".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"
|
219
|
+
]
|
99
220
|
});
|
100
|
-
const useHorizontalStyles = /*#__PURE__*/
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
221
|
+
const useHorizontalStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
222
|
+
base: {
|
223
|
+
a9b677: "fly5x3f",
|
224
|
+
Bdkvgpv: "f163fonl",
|
225
|
+
B0qfbqy: "f51yk4v",
|
226
|
+
pbipgd: "f13rof3u",
|
227
|
+
Bm2nyyq: "f8rth92",
|
228
|
+
xrcqlc: "f6czdpx",
|
229
|
+
i5u598: "f1iyka9k"
|
230
|
+
},
|
231
|
+
inset: {
|
232
|
+
uwmqm3: [
|
233
|
+
"fjlbh76",
|
234
|
+
"f11qrl6u"
|
235
|
+
],
|
236
|
+
z189sj: [
|
237
|
+
"f11qrl6u",
|
238
|
+
"fjlbh76"
|
239
|
+
]
|
240
|
+
},
|
241
|
+
start: {
|
242
|
+
Ftih45: "f1wl9k8s",
|
243
|
+
Bicfajf: [
|
244
|
+
"f1ojjlep",
|
245
|
+
"fk1kexq"
|
246
|
+
],
|
247
|
+
Bxwl2t9: "f1he2m4d",
|
248
|
+
jwcpgy: [
|
249
|
+
"f12w1bnb",
|
250
|
+
"f1558wlj"
|
251
|
+
]
|
252
|
+
},
|
253
|
+
center: {
|
254
|
+
Bicfajf: [
|
255
|
+
"f1ojjlep",
|
256
|
+
"fk1kexq"
|
257
|
+
],
|
258
|
+
jwcpgy: [
|
259
|
+
"f12w1bnb",
|
260
|
+
"f1558wlj"
|
261
|
+
]
|
262
|
+
},
|
263
|
+
end: {
|
264
|
+
Bicfajf: [
|
265
|
+
"f1ojjlep",
|
266
|
+
"fk1kexq"
|
267
|
+
],
|
268
|
+
Bsft5z2: "f13zj6fq",
|
269
|
+
jwcpgy: [
|
270
|
+
"f12w1bnb",
|
271
|
+
"f1558wlj"
|
272
|
+
],
|
273
|
+
Iy66sp: "f1ayce8x"
|
274
|
+
}
|
130
275
|
}, {
|
131
|
-
|
276
|
+
d: [
|
277
|
+
".fly5x3f{width:100%;}",
|
278
|
+
".f163fonl::before{border-top-style:solid;}",
|
279
|
+
".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",
|
280
|
+
".f13rof3u::before{min-width:8px;}",
|
281
|
+
".f8rth92::after{border-top-style:solid;}",
|
282
|
+
".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",
|
283
|
+
".f1iyka9k::after{min-width:8px;}",
|
284
|
+
".fjlbh76{padding-left:12px;}",
|
285
|
+
".f11qrl6u{padding-right:12px;}",
|
286
|
+
'.f1wl9k8s::before{content:"";}',
|
287
|
+
".f1ojjlep::before{margin-right:12px;}",
|
288
|
+
".fk1kexq::before{margin-left:12px;}",
|
289
|
+
".f1he2m4d::before{max-width:8px;}",
|
290
|
+
".f12w1bnb::after{margin-left:12px;}",
|
291
|
+
".f1558wlj::after{margin-right:12px;}",
|
292
|
+
'.f13zj6fq::after{content:"";}',
|
293
|
+
".f1ayce8x::after{max-width:8px;}"
|
294
|
+
]
|
132
295
|
});
|
133
|
-
const useVerticalStyles = /*#__PURE__*/
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
296
|
+
const useVerticalStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
297
|
+
base: {
|
298
|
+
Beiy3e4: "f1vx9l62",
|
299
|
+
sshi5w: "f16gbxbe",
|
300
|
+
m598lv: [
|
301
|
+
"f1yq6w5o",
|
302
|
+
"f1jpmc5p"
|
303
|
+
],
|
304
|
+
B4f6apu: [
|
305
|
+
"f9sc749",
|
306
|
+
"f1x8pvcy"
|
307
|
+
],
|
308
|
+
zkzzav: "fhkwbjy",
|
309
|
+
Barhvk9: [
|
310
|
+
"flthirb",
|
311
|
+
"ftkbnf5"
|
312
|
+
],
|
313
|
+
Ihftqj: [
|
314
|
+
"f13hvwk3",
|
315
|
+
"f1en4csx"
|
316
|
+
],
|
317
|
+
Bde111x: "f19onpk6"
|
318
|
+
},
|
319
|
+
inset: {
|
320
|
+
B6of3ja: "f1xdg43u",
|
321
|
+
jrapky: "f1jlhsmd"
|
322
|
+
},
|
323
|
+
withChildren: {
|
324
|
+
sshi5w: "f1tjaq3g"
|
325
|
+
},
|
326
|
+
start: {
|
327
|
+
Ftih45: "f1wl9k8s",
|
328
|
+
susq4k: "fg2pwug",
|
329
|
+
Bbdr6tz: "fkjtzyi",
|
330
|
+
B4rk6o: "f8vk40g"
|
331
|
+
},
|
332
|
+
center: {
|
333
|
+
susq4k: "fg2pwug",
|
334
|
+
B4rk6o: "f8vk40g"
|
335
|
+
},
|
336
|
+
end: {
|
337
|
+
susq4k: "fg2pwug",
|
338
|
+
Bsft5z2: "f13zj6fq",
|
339
|
+
B4rk6o: "f8vk40g",
|
340
|
+
gn64ia: "fqg5mu5"
|
341
|
+
}
|
167
342
|
}, {
|
168
|
-
|
343
|
+
d: [
|
344
|
+
".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}",
|
345
|
+
".f16gbxbe{min-height:20px;}",
|
346
|
+
".f1yq6w5o::before{border-right-style:solid;}",
|
347
|
+
".f1jpmc5p::before{border-left-style:solid;}",
|
348
|
+
".f9sc749::before{border-right-width:var(--strokeWidthThin);}",
|
349
|
+
".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",
|
350
|
+
".fhkwbjy::before{min-height:8px;}",
|
351
|
+
".flthirb::after{border-right-style:solid;}",
|
352
|
+
".ftkbnf5::after{border-left-style:solid;}",
|
353
|
+
".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",
|
354
|
+
".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",
|
355
|
+
".f19onpk6::after{min-height:8px;}",
|
356
|
+
".f1xdg43u{margin-top:12px;}",
|
357
|
+
".f1jlhsmd{margin-bottom:12px;}",
|
358
|
+
".f1tjaq3g{min-height:84px;}",
|
359
|
+
'.f1wl9k8s::before{content:"";}',
|
360
|
+
".fg2pwug::before{margin-bottom:12px;}",
|
361
|
+
".fkjtzyi::before{max-height:8px;}",
|
362
|
+
".f8vk40g::after{margin-top:12px;}",
|
363
|
+
'.f13zj6fq::after{content:"";}',
|
364
|
+
".fqg5mu5::after{max-height:8px;}"
|
365
|
+
]
|
169
366
|
});
|
170
|
-
const useDividerStyles_unstable = state
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
appearance,
|
177
|
-
inset,
|
178
|
-
vertical
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
// Childless styles
|
188
|
-
state.root.children === undefined && baseStyles.childless,
|
189
|
-
// User provided class name
|
190
|
-
state.root.className);
|
191
|
-
if (state.wrapper) {
|
192
|
-
state.wrapper.className = react_1.mergeClasses(exports.dividerClassNames.wrapper, state.wrapper.className);
|
193
|
-
}
|
194
|
-
return state;
|
195
|
-
};
|
196
|
-
exports.useDividerStyles_unstable = useDividerStyles_unstable;
|
367
|
+
const useDividerStyles_unstable = (state)=>{
|
368
|
+
const baseStyles = useBaseStyles();
|
369
|
+
const horizontalStyles = useHorizontalStyles();
|
370
|
+
const verticalStyles = useVerticalStyles();
|
371
|
+
const { alignContent , appearance , inset , vertical } = state;
|
372
|
+
state.root.className = (0, _react.mergeClasses)(dividerClassNames.root, // Base styles
|
373
|
+
baseStyles.base, baseStyles[alignContent], appearance && baseStyles[appearance], // Horizontal styles
|
374
|
+
!vertical && horizontalStyles.base, !vertical && inset && horizontalStyles.inset, !vertical && horizontalStyles[alignContent], // Vertical styles
|
375
|
+
vertical && verticalStyles.base, vertical && inset && verticalStyles.inset, vertical && verticalStyles[alignContent], vertical && state.root.children !== undefined && verticalStyles.withChildren, // Childless styles
|
376
|
+
state.root.children === undefined && baseStyles.childless, // User provided class name
|
377
|
+
state.root.className);
|
378
|
+
if (state.wrapper) {
|
379
|
+
state.wrapper.className = (0, _react.mergeClasses)(dividerClassNames.wrapper, state.wrapper.className);
|
380
|
+
}
|
381
|
+
return state;
|
382
|
+
}; //# sourceMappingURL=useDividerStyles.js.map
|
383
|
+
|
197
384
|
//# sourceMappingURL=useDividerStyles.js.map
|