@fluentui/react-slider 9.0.14 → 9.0.16
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.json +93 -1
- package/CHANGELOG.md +28 -2
- package/lib/components/Slider/Slider.js +0 -1
- package/lib/components/Slider/Slider.js.map +1 -1
- package/lib/components/Slider/renderSlider.js +8 -5
- package/lib/components/Slider/renderSlider.js.map +1 -1
- package/lib/components/Slider/useSlider.js.map +1 -1
- package/lib/components/Slider/useSliderState.js +6 -8
- package/lib/components/Slider/useSliderState.js.map +1 -1
- package/lib/components/Slider/useSliderStyles.js +240 -249
- package/lib/components/Slider/useSliderStyles.js.map +1 -1
- package/lib/components/SliderField/SliderField.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Slider.js +0 -2
- package/lib-commonjs/Slider.js.map +1 -1
- package/lib-commonjs/SliderField.js +0 -2
- package/lib-commonjs/SliderField.js.map +1 -1
- package/lib-commonjs/components/Slider/Slider.js +0 -6
- package/lib-commonjs/components/Slider/Slider.js.map +1 -1
- package/lib-commonjs/components/Slider/Slider.types.js.map +1 -1
- package/lib-commonjs/components/Slider/index.js +0 -9
- package/lib-commonjs/components/Slider/index.js.map +1 -1
- package/lib-commonjs/components/Slider/renderSlider.js +8 -9
- package/lib-commonjs/components/Slider/renderSlider.js.map +1 -1
- package/lib-commonjs/components/Slider/useSlider.js +0 -5
- package/lib-commonjs/components/Slider/useSlider.js.map +1 -1
- package/lib-commonjs/components/Slider/useSliderState.js +6 -13
- package/lib-commonjs/components/Slider/useSliderState.js.map +1 -1
- package/lib-commonjs/components/Slider/useSliderStyles.js +240 -254
- package/lib-commonjs/components/Slider/useSliderStyles.js.map +1 -1
- package/lib-commonjs/components/SliderField/SliderField.js +0 -4
- package/lib-commonjs/components/SliderField/SliderField.js.map +1 -1
- package/lib-commonjs/components/SliderField/index.js +0 -2
- package/lib-commonjs/components/SliderField/index.js.map +1 -1
- package/lib-commonjs/index.js +0 -4
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -6,8 +6,8 @@ export const sliderClassNames = {
|
|
|
6
6
|
rail: 'fui-Slider__rail',
|
|
7
7
|
thumb: 'fui-Slider__thumb',
|
|
8
8
|
input: 'fui-Slider__input'
|
|
9
|
-
};
|
|
10
|
-
|
|
9
|
+
};
|
|
10
|
+
// Internal CSS variables
|
|
11
11
|
const thumbSizeVar = `--fui-Slider__thumb--size`;
|
|
12
12
|
const railSizeVar = `--fui-Slider__rail--size`;
|
|
13
13
|
const railColorVar = `--fui-Slider__rail--color`;
|
|
@@ -26,306 +26,297 @@ const {
|
|
|
26
26
|
/**
|
|
27
27
|
* Styles for the root slot
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
29
|
const useRootStyles = /*#__PURE__*/__styles({
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
root: {
|
|
31
|
+
qhf8xq: "f10pi13n",
|
|
32
|
+
mc9l5x: "fwk3njj",
|
|
33
|
+
lpbzjs: "f1sdsnyy",
|
|
34
|
+
Bt984gj: "f122n59",
|
|
35
|
+
B7hvi0a: "f1oiokrs"
|
|
37
36
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
small: {
|
|
38
|
+
Bi64ftq: "f1agqo6f",
|
|
39
|
+
Ba19x4e: "f1i7ztpd",
|
|
40
|
+
sshi5w: "f1pha7fy"
|
|
42
41
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
medium: {
|
|
43
|
+
Bi64ftq: "f1a78h9h",
|
|
44
|
+
Ba19x4e: "fuok0yf",
|
|
45
|
+
sshi5w: "f1nxs5xn"
|
|
47
46
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
horizontal: {
|
|
48
|
+
Bf4jedk: "fyvtabn",
|
|
49
|
+
wkccdc: "fgfd48t",
|
|
50
|
+
Budl1dq: "f4t5rw1"
|
|
52
51
|
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
vertical: {
|
|
53
|
+
sshi5w: "f1pzv1zu",
|
|
54
|
+
wkccdc: "fktlcaf",
|
|
55
|
+
Budl1dq: "fiadc6h"
|
|
57
56
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
57
|
+
enabled: {
|
|
58
|
+
B7wi8oa: "f4l8x3l",
|
|
59
|
+
B250r6j: "f671q34",
|
|
60
|
+
Bpmy4es: "fvfzmw5",
|
|
61
|
+
Buw9y6v: "faw1t00",
|
|
62
|
+
Bq939m0: "fxdgx5",
|
|
63
|
+
gjzr1t: "fii04fa",
|
|
64
|
+
tg7hqu: "f36hzz8",
|
|
65
|
+
ypdvl1: "f1volkfw",
|
|
66
|
+
Bw5jdd4: "f1xddb6",
|
|
67
|
+
Bdjie01: "fcdikl",
|
|
68
|
+
Bvh9j6m: "fhpzgm6",
|
|
69
|
+
Bvsvvpo: "f1q6pm3h"
|
|
71
70
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
71
|
+
disabled: {
|
|
72
|
+
Bpmy4es: "foojseg",
|
|
73
|
+
B7wi8oa: "f1lgdqhv",
|
|
74
|
+
B250r6j: "f1veetlj",
|
|
75
|
+
ypdvl1: "fu12m3e",
|
|
76
|
+
Bw5jdd4: "fi9guym",
|
|
77
|
+
Bdjie01: "fcdjl4u"
|
|
79
78
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
79
|
+
focusIndicatorHorizontal: {
|
|
80
|
+
Brovlpu: "ftqa4ok",
|
|
81
|
+
B486eqv: "f2hkw1w",
|
|
82
|
+
Bssx7fj: "f1b1k54r",
|
|
83
|
+
uh7if5: ["f4ne723", "fqqcjud"],
|
|
84
|
+
clntm0: "fh7aioi",
|
|
85
|
+
Dlk2r6: ["fqqcjud", "f4ne723"],
|
|
86
|
+
B2j2mmj: "ffht0p2",
|
|
87
|
+
wigs8: "f1p0ul1q",
|
|
88
|
+
pbfy6t: "f1c901ms",
|
|
89
|
+
B0v4ure: "f1alokd7",
|
|
90
|
+
ghq09: "f78i1la",
|
|
91
|
+
B24cy0v: ["f1kvsw7t", "f1bw8brt"],
|
|
92
|
+
Bwckmig: "f8k7e5g",
|
|
93
|
+
Bvwlmkc: ["f1bw8brt", "f1kvsw7t"],
|
|
94
|
+
Bbgo44z: "f1pmxfrl",
|
|
95
|
+
Bil7v7r: ["fszkfcr", "f1ap5ily"],
|
|
96
|
+
skfxo0: "f57dp0y",
|
|
97
|
+
jo1ztg: ["f1ap5ily", "fszkfcr"],
|
|
98
|
+
Ba3ybja: ["f11dm2qb", "f136rfnd"],
|
|
99
|
+
az1dzo: ["f136rfnd", "f11dm2qb"],
|
|
100
|
+
vppk2z: ["fdsq1qd", "f1khssms"],
|
|
101
|
+
B6352mv: ["f1khssms", "fdsq1qd"],
|
|
102
|
+
nr063g: "fq4eyks",
|
|
103
|
+
Blmvk6g: ["f1ya6x16", "ftuszwa"],
|
|
104
|
+
Bsiemmq: "f1e2iu44",
|
|
105
|
+
B98u21t: ["ftuszwa", "f1ya6x16"],
|
|
106
|
+
B2pnrqr: "f1pffoy2",
|
|
107
|
+
Bhhzhcn: "fs6b7xr",
|
|
108
|
+
Bec0n69: ["f15fv2gd", "f1bmyog6"],
|
|
109
|
+
B29w5g4: ["f1bmyog6", "f15fv2gd"]
|
|
111
110
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
111
|
+
focusIndicatorVertical: {
|
|
112
|
+
Brovlpu: "ftqa4ok",
|
|
113
|
+
B486eqv: "f2hkw1w",
|
|
114
|
+
Bssx7fj: "f1b1k54r",
|
|
115
|
+
uh7if5: ["f4ne723", "fqqcjud"],
|
|
116
|
+
clntm0: "fh7aioi",
|
|
117
|
+
Dlk2r6: ["fqqcjud", "f4ne723"],
|
|
118
|
+
B2j2mmj: "ffht0p2",
|
|
119
|
+
wigs8: "f1p0ul1q",
|
|
120
|
+
pbfy6t: "f1c901ms",
|
|
121
|
+
B0v4ure: "f1alokd7",
|
|
122
|
+
ghq09: "f78i1la",
|
|
123
|
+
B24cy0v: ["f1kvsw7t", "f1bw8brt"],
|
|
124
|
+
Bwckmig: "f8k7e5g",
|
|
125
|
+
Bvwlmkc: ["f1bw8brt", "f1kvsw7t"],
|
|
126
|
+
Bbgo44z: "f1pmxfrl",
|
|
127
|
+
Bil7v7r: ["fszkfcr", "f1ap5ily"],
|
|
128
|
+
skfxo0: "f57dp0y",
|
|
129
|
+
jo1ztg: ["f1ap5ily", "fszkfcr"],
|
|
130
|
+
Ba3ybja: ["f11dm2qb", "f136rfnd"],
|
|
131
|
+
az1dzo: ["f136rfnd", "f11dm2qb"],
|
|
132
|
+
vppk2z: ["fdsq1qd", "f1khssms"],
|
|
133
|
+
B6352mv: ["f1khssms", "fdsq1qd"],
|
|
134
|
+
nr063g: "fq4eyks",
|
|
135
|
+
Blmvk6g: ["f1ya6x16", "ftuszwa"],
|
|
136
|
+
Bsiemmq: "f1e2iu44",
|
|
137
|
+
B98u21t: ["ftuszwa", "f1ya6x16"],
|
|
138
|
+
B2pnrqr: "f1hxpdv8",
|
|
139
|
+
Bhhzhcn: "f1dmxpeg",
|
|
140
|
+
Bec0n69: ["femsgmt", "fm5xmfm"],
|
|
141
|
+
B29w5g4: ["fm5xmfm", "femsgmt"]
|
|
143
142
|
}
|
|
144
143
|
}, {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
d: [".f10pi13n{position:relative;}", ".fwk3njj{display:inline-grid;}", ".f1sdsnyy{touch-action:none;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f1oiokrs{justify-items:center;}", ".f1agqo6f{--fui-Slider__thumb--size:16px;}", ".f1i7ztpd{--fui-Slider__rail--size:2px;}", ".f1pha7fy{min-height:24px;}", ".f1a78h9h{--fui-Slider__thumb--size:20px;}", ".fuok0yf{--fui-Slider__rail--size:4px;}", ".f1nxs5xn{min-height:32px;}", ".fyvtabn{min-width:120px;}", ".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}", ".f4t5rw1{grid-template-columns:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}", ".f1pzv1zu{min-height:120px;}", ".fktlcaf{grid-template-rows:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}", ".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}", ".f4l8x3l{--fui-Slider__rail--color:var(--colorNeutralStrokeAccessible);}", ".f671q34{--fui-Slider__progress--color:var(--colorCompoundBrandBackground);}", ".fvfzmw5{--fui-Slider__thumb--color:var(--colorCompoundBrandBackground);}", ".foojseg{--fui-Slider__thumb--color:var(--colorNeutralForegroundDisabled);}", ".f1lgdqhv{--fui-Slider__rail--color:var(--colorNeutralBackgroundDisabled);}", ".f1veetlj{--fui-Slider__progress--color:var(--colorNeutralForegroundDisabled);}", ".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}", ".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}", ".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}", ".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}", ".ffht0p2[data-fui-focus-within]:focus-within::after{content:\"\";}", ".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}", ".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}", ".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}", ".f78i1la[data-fui-focus-within]:focus-within::after{border-top-style:solid;}", ".f1kvsw7t[data-fui-focus-within]:focus-within::after{border-right-style:solid;}", ".f1bw8brt[data-fui-focus-within]:focus-within::after{border-left-style:solid;}", ".f8k7e5g[data-fui-focus-within]:focus-within::after{border-bottom-style:solid;}", ".f1pmxfrl[data-fui-focus-within]:focus-within::after{border-top-width:2px;}", ".fszkfcr[data-fui-focus-within]:focus-within::after{border-right-width:2px;}", ".f1ap5ily[data-fui-focus-within]:focus-within::after{border-left-width:2px;}", ".f57dp0y[data-fui-focus-within]:focus-within::after{border-bottom-width:2px;}", ".f11dm2qb[data-fui-focus-within]:focus-within::after{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f136rfnd[data-fui-focus-within]:focus-within::after{border-bottom-left-radius:var(--borderRadiusMedium);}", ".fdsq1qd[data-fui-focus-within]:focus-within::after{border-top-right-radius:var(--borderRadiusMedium);}", ".f1khssms[data-fui-focus-within]:focus-within::after{border-top-left-radius:var(--borderRadiusMedium);}", ".fq4eyks[data-fui-focus-within]:focus-within::after{border-top-color:var(--colorStrokeFocus2);}", ".f1ya6x16[data-fui-focus-within]:focus-within::after{border-right-color:var(--colorStrokeFocus2);}", ".ftuszwa[data-fui-focus-within]:focus-within::after{border-left-color:var(--colorStrokeFocus2);}", ".f1e2iu44[data-fui-focus-within]:focus-within::after{border-bottom-color:var(--colorStrokeFocus2);}", ".f1pffoy2[data-fui-focus-within]:focus-within::after{top:calc(0px - 2px - -2px);}", ".fs6b7xr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - 2px - -2px);}", ".f15fv2gd[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - 8px);}", ".f1bmyog6[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - 8px);}", ".f1hxpdv8[data-fui-focus-within]:focus-within::after{top:calc(0px - 2px - 6px);}", ".f1dmxpeg[data-fui-focus-within]:focus-within::after{bottom:calc(0px - 2px - 6px);}", ".femsgmt[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - 4px);}", ".fm5xmfm[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - 4px);}"],
|
|
145
|
+
h: [".faw1t00:hover{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundHover);}", ".fxdgx5:hover{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundHover);}"],
|
|
146
|
+
a: [".fii04fa:active{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundPressed);}", ".f36hzz8:active{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundPressed);}"],
|
|
147
|
+
m: [["@media (forced-colors: active){.f1volkfw{--fui-Slider__rail--color:CanvasText;}}", {
|
|
148
|
+
m: "(forced-colors: active)"
|
|
150
149
|
}], ["@media (forced-colors: active){.f1xddb6{--fui-Slider__thumb--color:Highlight;}}", {
|
|
151
|
-
|
|
150
|
+
m: "(forced-colors: active)"
|
|
152
151
|
}], ["@media (forced-colors: active){.fcdikl{--fui-Slider__progress--color:Highlight;}}", {
|
|
153
|
-
|
|
152
|
+
m: "(forced-colors: active)"
|
|
154
153
|
}], ["@media (forced-colors: active){.fhpzgm6:hover{--fui-Slider__thumb--color:Highlight;}}", {
|
|
155
|
-
|
|
154
|
+
m: "(forced-colors: active)"
|
|
156
155
|
}], ["@media (forced-colors: active){.f1q6pm3h:hover{--fui-Slider__progress--color:Highlight;}}", {
|
|
157
|
-
|
|
156
|
+
m: "(forced-colors: active)"
|
|
158
157
|
}], ["@media (forced-colors: active){.fu12m3e{--fui-Slider__rail--color:GrayText;}}", {
|
|
159
|
-
|
|
158
|
+
m: "(forced-colors: active)"
|
|
160
159
|
}], ["@media (forced-colors: active){.fi9guym{--fui-Slider__thumb--color:GrayText;}}", {
|
|
161
|
-
|
|
160
|
+
m: "(forced-colors: active)"
|
|
162
161
|
}], ["@media (forced-colors: active){.fcdjl4u{--fui-Slider__progress--color:GrayText;}}", {
|
|
163
|
-
|
|
162
|
+
m: "(forced-colors: active)"
|
|
164
163
|
}]],
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
f: [".ftqa4ok:focus{outline-style:none;}"],
|
|
165
|
+
i: [".f2hkw1w:focus-visible{outline-style:none;}"]
|
|
167
166
|
});
|
|
168
167
|
/**
|
|
169
168
|
* Styles for the rail slot
|
|
170
169
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
173
170
|
const useRailStyles = /*#__PURE__*/__styles({
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
171
|
+
rail: {
|
|
172
|
+
Bbmb7ep: ["fnivh3a", "fc7yr5o"],
|
|
173
|
+
Beyfa6y: ["fc7yr5o", "fnivh3a"],
|
|
174
|
+
B7oj6ja: ["f1el4m67", "f8yange"],
|
|
175
|
+
Btl43ni: ["f8yange", "f1el4m67"],
|
|
176
|
+
Bkecrkj: "f1aehjj5",
|
|
177
|
+
Ijaq50: "faunodf",
|
|
178
|
+
nk6f5a: "f88nxoq",
|
|
179
|
+
Br312pm: "fd46tj4",
|
|
180
|
+
Bw0ie65: "f1e2fz10",
|
|
181
|
+
qhf8xq: "f10pi13n",
|
|
182
|
+
Bvjb7m6: "fdgv6k0",
|
|
183
|
+
Bcmaq0h: "fizngqt",
|
|
184
|
+
Bpd4iqm: "fpvhumw",
|
|
185
|
+
oeaueh: "f1yog68k",
|
|
186
|
+
Bw0xxkn: "f13sgyd8",
|
|
187
|
+
Ftih45: "fzhtfnv",
|
|
188
|
+
Brfgrao: "f1j7ml58",
|
|
189
|
+
Bbn5juq: "fx36ao7",
|
|
190
|
+
Brdvuy1: "fux3rle"
|
|
194
191
|
},
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
192
|
+
horizontal: {
|
|
193
|
+
a9b677: "fly5x3f",
|
|
194
|
+
Bqenvij: "f1cy86ho",
|
|
195
|
+
Fbdkly: ["f1heqfse", "fkh49vu"],
|
|
196
|
+
mdwyqc: ["fkh49vu", "f1heqfse"],
|
|
197
|
+
Baz25je: "f16tdq4e"
|
|
201
198
|
},
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
199
|
+
vertical: {
|
|
200
|
+
a9b677: "fqxfnkd",
|
|
201
|
+
Bqenvij: "f1l02sjl",
|
|
202
|
+
Ccq8qp: "f1rik0od",
|
|
203
|
+
Bciustq: "f14xwovp",
|
|
204
|
+
lawp4y: "febq2dz"
|
|
208
205
|
}
|
|
209
206
|
}, {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
207
|
+
d: [".fnivh3a{border-bottom-right-radius:var(--borderRadiusXLarge);}", ".fc7yr5o{border-bottom-left-radius:var(--borderRadiusXLarge);}", ".f1el4m67{border-top-right-radius:var(--borderRadiusXLarge);}", ".f8yange{border-top-left-radius:var(--borderRadiusXLarge);}", ".f1aehjj5{pointer-events:none;}", ".faunodf{grid-row-start:2;}", ".f88nxoq{grid-row-end:2;}", ".fd46tj4{grid-column-start:2;}", ".f1e2fz10{grid-column-end:2;}", ".f10pi13n{position:relative;}", ".fdgv6k0{forced-color-adjust:none;}", ".fizngqt{background-image:linear-gradient(\n var(--fui-Slider--direction),\n var(--fui-Slider__progress--color) 0%,\n var(--fui-Slider__progress--color) var(--fui-Slider--progress),\n var(--fui-Slider__rail--color) var(--fui-Slider--progress)\n );}", ".fpvhumw{outline-width:1px;}", ".f1yog68k{outline-style:solid;}", ".f13sgyd8{outline-color:var(--colorTransparentStroke);}", ".fzhtfnv::before{content:'';}", ".f1j7ml58::before{position:absolute;}", ".fx36ao7::before{background-image:repeating-linear-gradient(\n var(--fui-Slider--direction),\n #0000 0%,\n #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n var(--colorNeutralBackground1) calc(var(--fui-Slider--steps-percent) - 1px),\n var(--colorNeutralBackground1) var(--fui-Slider--steps-percent)\n );}", ".fly5x3f{width:100%;}", ".f1cy86ho{height:var(--fui-Slider__rail--size);}", ".f1heqfse::before{left:-1px;}", ".fkh49vu::before{right:-1px;}", ".f16tdq4e::before{height:var(--fui-Slider__rail--size);}", ".fqxfnkd{width:var(--fui-Slider__rail--size);}", ".f1l02sjl{height:100%;}", ".f1rik0od::before{width:var(--fui-Slider__rail--size);}", ".f14xwovp::before{top:-1px;}", ".febq2dz::before{bottom:1px;}"],
|
|
208
|
+
m: [["@media (forced-colors: active){.fux3rle::before{background-image:repeating-linear-gradient(\n var(--fui-Slider--direction),\n #0000 0%,\n #0000 calc(var(--fui-Slider--steps-percent) - 1px),\n HighlightText calc(var(--fui-Slider--steps-percent) - 1px),\n HighlightText var(--fui-Slider--steps-percent)\n );}}", {
|
|
209
|
+
m: "(forced-colors: active)"
|
|
213
210
|
}]]
|
|
214
211
|
});
|
|
215
212
|
/**
|
|
216
213
|
* Styles for the thumb slot
|
|
217
214
|
*/
|
|
218
|
-
|
|
219
|
-
|
|
220
215
|
const useThumbStyles = /*#__PURE__*/__styles({
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
216
|
+
thumb: {
|
|
217
|
+
Ijaq50: "faunodf",
|
|
218
|
+
nk6f5a: "f88nxoq",
|
|
219
|
+
Br312pm: "fd46tj4",
|
|
220
|
+
Bw0ie65: "f1e2fz10",
|
|
221
|
+
qhf8xq: "f1euv43f",
|
|
222
|
+
a9b677: "f174ca62",
|
|
223
|
+
Bqenvij: "f1yfdkfd",
|
|
224
|
+
Bkecrkj: "f1aehjj5",
|
|
225
|
+
oeaueh: "f1s6fcnf",
|
|
226
|
+
Bvjb7m6: "fdgv6k0",
|
|
227
|
+
Bbmb7ep: ["f8fbkgy", "f1nfllo7"],
|
|
228
|
+
Beyfa6y: ["f1nfllo7", "f8fbkgy"],
|
|
229
|
+
B7oj6ja: ["f1djnp8u", "f1s8kh49"],
|
|
230
|
+
Btl43ni: ["f1s8kh49", "f1djnp8u"],
|
|
231
|
+
E5pizo: "fof7hq0",
|
|
232
|
+
De3pzq: "foksa45",
|
|
233
|
+
Brfgrao: "f1j7ml58",
|
|
234
|
+
Bciustq: "f14u7mkt",
|
|
235
|
+
Fbdkly: ["f5zrw40", "f1ks5ppg"],
|
|
236
|
+
lawp4y: "fto0uou",
|
|
237
|
+
mdwyqc: ["f1ks5ppg", "f5zrw40"],
|
|
238
|
+
Budzafs: ["feh19e8", "f3j3guj"],
|
|
239
|
+
r59vdv: ["f3j3guj", "feh19e8"],
|
|
240
|
+
n07z76: ["fo75joz", "f1yag6sl"],
|
|
241
|
+
ck0cow: ["f1yag6sl", "fo75joz"],
|
|
242
|
+
Bcvre1j: "fyl8oag",
|
|
243
|
+
Ftih45: "fzhtfnv",
|
|
244
|
+
B0qfbqy: "f1rponpz",
|
|
245
|
+
B4f6apu: ["f1rvw2z1", "fjj0g3m"],
|
|
246
|
+
y0oebl: "f1muowhs",
|
|
247
|
+
uvfttm: ["fjj0g3m", "f1rvw2z1"],
|
|
248
|
+
Bdkvgpv: "f163fonl",
|
|
249
|
+
m598lv: ["f1yq6w5o", "f1jpmc5p"],
|
|
250
|
+
qa3bma: "f11yjt3y",
|
|
251
|
+
Bbv0w2i: ["f1jpmc5p", "f1yq6w5o"],
|
|
252
|
+
Bq4z7u6: "f10tv6oz",
|
|
253
|
+
Bk5zm6e: ["f16xp3sf", "f1seuxxq"],
|
|
254
|
+
Bqjgrrk: "fwrmqbx",
|
|
255
|
+
Bm6vgfq: ["f1seuxxq", "f16xp3sf"]
|
|
261
256
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
257
|
+
disabled: {
|
|
258
|
+
B0qfbqy: "f1rponpz",
|
|
259
|
+
B4f6apu: ["f1rvw2z1", "fjj0g3m"],
|
|
260
|
+
y0oebl: "f1muowhs",
|
|
261
|
+
uvfttm: ["fjj0g3m", "f1rvw2z1"],
|
|
262
|
+
Bdkvgpv: "f163fonl",
|
|
263
|
+
m598lv: ["f1yq6w5o", "f1jpmc5p"],
|
|
264
|
+
qa3bma: "f11yjt3y",
|
|
265
|
+
Bbv0w2i: ["f1jpmc5p", "f1yq6w5o"],
|
|
266
|
+
Bq4z7u6: "f1pw3ppl",
|
|
267
|
+
Bk5zm6e: ["fxoq2z", "f1ykj0h9"],
|
|
268
|
+
Bqjgrrk: "f1sz5gii",
|
|
269
|
+
Bm6vgfq: ["f1ykj0h9", "fxoq2z"]
|
|
275
270
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
271
|
+
horizontal: {
|
|
272
|
+
Bz10aip: ["f13gfj74", "f1nfknbn"],
|
|
273
|
+
oyh7mz: ["f1fj3zth", "fcf9u6w"]
|
|
279
274
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
275
|
+
vertical: {
|
|
276
|
+
Bz10aip: "f5cv5a3",
|
|
277
|
+
B5kzvoi: "feeniun"
|
|
283
278
|
}
|
|
284
279
|
}, {
|
|
285
|
-
|
|
280
|
+
d: [".faunodf{grid-row-start:2;}", ".f88nxoq{grid-row-end:2;}", ".fd46tj4{grid-column-start:2;}", ".f1e2fz10{grid-column-end:2;}", ".f1euv43f{position:absolute;}", ".f174ca62{width:var(--fui-Slider__thumb--size);}", ".f1yfdkfd{height:var(--fui-Slider__thumb--size);}", ".f1aehjj5{pointer-events:none;}", ".f1s6fcnf{outline-style:none;}", ".fdgv6k0{forced-color-adjust:none;}", ".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}", ".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}", ".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}", ".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}", ".fof7hq0{box-shadow:0 0 0 calc(var(--fui-Slider__thumb--size) * .2) var(--colorNeutralBackground1) inset;}", ".foksa45{background-color:var(--fui-Slider__thumb--color);}", ".f1j7ml58::before{position:absolute;}", ".f14u7mkt::before{top:0px;}", ".f5zrw40::before{left:0px;}", ".f1ks5ppg::before{right:0px;}", ".fto0uou::before{bottom:0px;}", ".feh19e8::before{border-bottom-right-radius:var(--borderRadiusCircular);}", ".f3j3guj::before{border-bottom-left-radius:var(--borderRadiusCircular);}", ".fo75joz::before{border-top-right-radius:var(--borderRadiusCircular);}", ".f1yag6sl::before{border-top-left-radius:var(--borderRadiusCircular);}", ".fyl8oag::before{box-sizing:border-box;}", ".fzhtfnv::before{content:'';}", ".f1rponpz::before{border-top-width:calc(var(--fui-Slider__thumb--size) * .05);}", ".f1rvw2z1::before{border-right-width:calc(var(--fui-Slider__thumb--size) * .05);}", ".fjj0g3m::before{border-left-width:calc(var(--fui-Slider__thumb--size) * .05);}", ".f1muowhs::before{border-bottom-width:calc(var(--fui-Slider__thumb--size) * .05);}", ".f163fonl::before{border-top-style:solid;}", ".f1yq6w5o::before{border-right-style:solid;}", ".f1jpmc5p::before{border-left-style:solid;}", ".f11yjt3y::before{border-bottom-style:solid;}", ".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}", ".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}", ".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}", ".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}", ".f1pw3ppl::before{border-top-color:var(--colorNeutralForegroundDisabled);}", ".fxoq2z::before{border-right-color:var(--colorNeutralForegroundDisabled);}", ".f1ykj0h9::before{border-left-color:var(--colorNeutralForegroundDisabled);}", ".f1sz5gii::before{border-bottom-color:var(--colorNeutralForegroundDisabled);}", ".f13gfj74{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);}", ".f1nfknbn{-webkit-transform:translateX(50%);-moz-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);}", ".f1fj3zth{left:var(--fui-Slider--progress);}", ".fcf9u6w{right:var(--fui-Slider--progress);}", ".f5cv5a3{-webkit-transform:translateY(50%);-moz-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);}", ".feeniun{bottom:var(--fui-Slider--progress);}"]
|
|
286
281
|
});
|
|
287
282
|
/**
|
|
288
283
|
* Styles for the Input slot
|
|
289
284
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
292
285
|
const useInputStyles = /*#__PURE__*/__styles({
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
286
|
+
input: {
|
|
287
|
+
Bceei9c: "f1k6fduh",
|
|
288
|
+
abs64n: "fk73vx1",
|
|
289
|
+
Ijaq50: "f16hsg94",
|
|
290
|
+
nk6f5a: "f1nzqi2z",
|
|
291
|
+
Br312pm: "fwpfdsa",
|
|
292
|
+
Bw0ie65: "fuur7zz",
|
|
293
|
+
z8tnut: "f1g0x7ka",
|
|
294
|
+
z189sj: ["fhxju0i", "f1cnd47f"],
|
|
295
|
+
Byoj8tv: "f1qch9an",
|
|
296
|
+
uwmqm3: ["f1cnd47f", "fhxju0i"],
|
|
297
|
+
B6of3ja: "f1hu3pq6",
|
|
298
|
+
t21cq0: ["f11qmguv", "f1tyq0we"],
|
|
299
|
+
jrapky: "f19f4twv",
|
|
300
|
+
Frg6f3: ["f1tyq0we", "f11qmguv"]
|
|
308
301
|
},
|
|
309
|
-
|
|
310
|
-
|
|
302
|
+
disabled: {
|
|
303
|
+
Bceei9c: "f158kwzp"
|
|
311
304
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
305
|
+
horizontal: {
|
|
306
|
+
Bqenvij: "f1yfdkfd",
|
|
307
|
+
a9b677: "fly5x3f"
|
|
315
308
|
},
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
309
|
+
vertical: {
|
|
310
|
+
Bqenvij: "f1l02sjl",
|
|
311
|
+
a9b677: "f174ca62",
|
|
312
|
+
Brp00wb: "f1r9mf01"
|
|
320
313
|
}
|
|
321
314
|
}, {
|
|
322
|
-
|
|
315
|
+
d: [".f1k6fduh{cursor:pointer;}", ".fk73vx1{opacity:0;}", ".f16hsg94{grid-row-start:1;}", ".f1nzqi2z{grid-row-end:-1;}", ".fwpfdsa{grid-column-start:1;}", ".fuur7zz{grid-column-end:-1;}", ".f1g0x7ka{padding-top:0;}", ".fhxju0i{padding-right:0;}", ".f1cnd47f{padding-left:0;}", ".f1qch9an{padding-bottom:0;}", ".f1hu3pq6{margin-top:0;}", ".f11qmguv{margin-right:0;}", ".f1tyq0we{margin-left:0;}", ".f19f4twv{margin-bottom:0;}", ".f158kwzp{cursor:default;}", ".f1yfdkfd{height:var(--fui-Slider__thumb--size);}", ".fly5x3f{width:100%;}", ".f1l02sjl{height:100%;}", ".f174ca62{width:var(--fui-Slider__thumb--size);}", ".f1r9mf01{-webkit-appearance:slider-vertical;}"]
|
|
323
316
|
});
|
|
324
317
|
/**
|
|
325
318
|
* Apply styling to the Slider slots based on the state
|
|
326
319
|
*/
|
|
327
|
-
|
|
328
|
-
|
|
329
320
|
export const useSliderStyles_unstable = state => {
|
|
330
321
|
const rootStyles = useRootStyles();
|
|
331
322
|
const railStyles = useRailStyles();
|