@bug-on/m3-expressive 1.2.7 → 1.3.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/CHANGELOG.md +12 -0
- package/dist/buttons.d.mts +3 -3
- package/dist/buttons.d.ts +3 -3
- package/dist/buttons.js +195 -50
- package/dist/buttons.js.map +1 -1
- package/dist/buttons.mjs +196 -51
- package/dist/buttons.mjs.map +1 -1
- package/dist/{core-D4048_K5.d.mts → core-CAU8g2HY.d.mts} +1 -1
- package/dist/{core-Bc5Wj_pc.d.ts → core-DRrLnsnJ.d.ts} +1 -1
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +159 -28
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +160 -29
- package/dist/core.mjs.map +1 -1
- package/dist/feedback.d.mts +28 -6
- package/dist/feedback.d.ts +28 -6
- package/dist/feedback.js +161 -30
- package/dist/feedback.js.map +1 -1
- package/dist/feedback.mjs +162 -31
- package/dist/feedback.mjs.map +1 -1
- package/dist/forms.d.mts +3 -2
- package/dist/forms.d.ts +3 -2
- package/dist/forms.js +88 -100
- package/dist/forms.js.map +1 -1
- package/dist/forms.mjs +88 -100
- package/dist/forms.mjs.map +1 -1
- package/dist/{icon-button-CSsDmuQC.d.mts → icon-button-CqdQBsRe.d.ts} +11 -5
- package/dist/{icon-button-CSsDmuQC.d.ts → icon-button-USJo7AqO.d.mts} +11 -5
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +570 -309
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +570 -310
- package/dist/index.mjs.map +1 -1
- package/dist/layout.d.mts +1 -1
- package/dist/layout.d.ts +1 -1
- package/dist/layout.js +159 -60
- package/dist/layout.js.map +1 -1
- package/dist/layout.mjs +160 -61
- package/dist/layout.mjs.map +1 -1
- package/dist/{md3-Dty-Qcad.d.mts → md3-D0_Z7IXj.d.mts} +9 -1
- package/dist/{md3-Dty-Qcad.d.ts → md3-D0_Z7IXj.d.ts} +9 -1
- package/dist/navigation.d.mts +103 -33
- package/dist/navigation.d.ts +103 -33
- package/dist/navigation.js +443 -152
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +444 -154
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlays.js +159 -28
- package/dist/overlays.js.map +1 -1
- package/dist/overlays.mjs +160 -29
- package/dist/overlays.mjs.map +1 -1
- package/dist/pickers.js +159 -28
- package/dist/pickers.js.map +1 -1
- package/dist/pickers.mjs +160 -29
- package/dist/pickers.mjs.map +1 -1
- package/dist/{split-button-trailing-uncheckable-DPJL3bO6.d.mts → split-button-trailing-uncheckable-CIVEYgjY.d.mts} +12 -7
- package/dist/{split-button-trailing-uncheckable--BhNTEJw.d.ts → split-button-trailing-uncheckable-DTQJjzsB.d.ts} +12 -7
- package/dist/{text-field-DWC7qOvp.d.mts → text-field-CiOmDM_8.d.ts} +52 -51
- package/dist/{text-field-DWC7qOvp.d.ts → text-field-Ear3hCSq.d.mts} +52 -51
- package/package.json +3 -3
package/dist/forms.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { S as SliderThumbProps } from './text-field-
|
|
2
|
-
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, k as Slider, l as SliderColors, m as SliderOrientation, n as SliderProps, o as SliderTokens, p as SliderTrackSize, q as SliderVariant, r as Switch, s as SwitchColors, t as SwitchProps, u as SwitchTokens, T as TextField, v as TextFieldHandle, w as TextFieldInputType, x as TextFieldProps, y as TextFieldTrailingIconMode, z as TextFieldVariant, A as TriStateCheckbox, B as TriStateCheckboxProps } from './text-field-
|
|
1
|
+
import { S as SliderThumbProps } from './text-field-Ear3hCSq.mjs';
|
|
2
|
+
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, k as Slider, l as SliderColors, m as SliderOrientation, n as SliderProps, o as SliderTokens, p as SliderTrackSize, q as SliderVariant, r as Switch, s as SwitchColors, t as SwitchProps, u as SwitchTokens, T as TextField, v as TextFieldHandle, w as TextFieldInputType, x as TextFieldProps, y as TextFieldTrailingIconMode, z as TextFieldVariant, A as TriStateCheckbox, B as TriStateCheckboxProps } from './text-field-Ear3hCSq.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
|
+
import './md3-D0_Z7IXj.mjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @file slider-thumb.tsx
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { S as SliderThumbProps } from './text-field-
|
|
2
|
-
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, k as Slider, l as SliderColors, m as SliderOrientation, n as SliderProps, o as SliderTokens, p as SliderTrackSize, q as SliderVariant, r as Switch, s as SwitchColors, t as SwitchProps, u as SwitchTokens, T as TextField, v as TextFieldHandle, w as TextFieldInputType, x as TextFieldProps, y as TextFieldTrailingIconMode, z as TextFieldVariant, A as TriStateCheckbox, B as TriStateCheckboxProps } from './text-field-
|
|
1
|
+
import { S as SliderThumbProps } from './text-field-CiOmDM_8.js';
|
|
2
|
+
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, k as Slider, l as SliderColors, m as SliderOrientation, n as SliderProps, o as SliderTokens, p as SliderTrackSize, q as SliderVariant, r as Switch, s as SwitchColors, t as SwitchProps, u as SwitchTokens, T as TextField, v as TextFieldHandle, w as TextFieldInputType, x as TextFieldProps, y as TextFieldTrailingIconMode, z as TextFieldVariant, A as TriStateCheckbox, B as TriStateCheckboxProps } from './text-field-CiOmDM_8.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
|
+
import './md3-D0_Z7IXj.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @file slider-thumb.tsx
|
package/dist/forms.js
CHANGED
|
@@ -1234,26 +1234,26 @@ var SliderTokens = {
|
|
|
1234
1234
|
// ── Track sizes (height for horizontal, width for vertical) ────────────────
|
|
1235
1235
|
trackSizes: {
|
|
1236
1236
|
xs: 16,
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1237
|
+
sm: 24,
|
|
1238
|
+
md: 40,
|
|
1239
|
+
lg: 56,
|
|
1240
1240
|
xl: 96
|
|
1241
1241
|
},
|
|
1242
1242
|
// ── Track shapes (border radius) ──────────────────────────────────────────
|
|
1243
1243
|
trackShapes: {
|
|
1244
1244
|
xs: 8,
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1245
|
+
sm: 8,
|
|
1246
|
+
md: 12,
|
|
1247
|
+
lg: 16,
|
|
1248
1248
|
xl: 28
|
|
1249
1249
|
},
|
|
1250
1250
|
// ── Thumb (handle) ────────────────────────────────────────────────────────
|
|
1251
1251
|
/** Thumb height grows with track size */
|
|
1252
1252
|
thumbHeights: {
|
|
1253
1253
|
xs: 44,
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1254
|
+
sm: 44,
|
|
1255
|
+
md: 52,
|
|
1256
|
+
lg: 68,
|
|
1257
1257
|
xl: 108
|
|
1258
1258
|
},
|
|
1259
1259
|
/**
|
|
@@ -1298,9 +1298,9 @@ var SliderTokens = {
|
|
|
1298
1298
|
/** Standard icon size map for inset icons inside the track. */
|
|
1299
1299
|
insetIconSizes: {
|
|
1300
1300
|
xs: 0,
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1301
|
+
sm: 0,
|
|
1302
|
+
md: 24,
|
|
1303
|
+
lg: 24,
|
|
1304
1304
|
xl: 32
|
|
1305
1305
|
},
|
|
1306
1306
|
/**
|
|
@@ -1334,14 +1334,14 @@ var SliderColors = {
|
|
|
1334
1334
|
// ── Ticks ────────────────────────────────────────────────────────────────
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Tick on the INACTIVE portion of the track.
|
|
1337
|
-
* Maps to
|
|
1337
|
+
* Maps to TickMarkInactiveContainerColor (in spec: primary color stands out).
|
|
1338
1338
|
*/
|
|
1339
1339
|
tickOnInactive: "var(--md-sys-color-primary)",
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Tick on the ACTIVE portion of the track.
|
|
1342
|
-
* Maps to
|
|
1342
|
+
* Maps to TickMarkActiveContainerColor (in spec: on-primary contrasts with filled track).
|
|
1343
1343
|
*/
|
|
1344
|
-
tickOnActive: "var(--md-sys-color-
|
|
1344
|
+
tickOnActive: "var(--md-sys-color-on-primary)",
|
|
1345
1345
|
disabledTick: "var(--md-sys-color-on-surface)"
|
|
1346
1346
|
};
|
|
1347
1347
|
var SLIDER_THUMB_SPRING = {
|
|
@@ -1360,11 +1360,11 @@ var ValueIndicator = React4__namespace.memo(function ValueIndicator2({
|
|
|
1360
1360
|
orientation,
|
|
1361
1361
|
formatValue,
|
|
1362
1362
|
prefersReduced,
|
|
1363
|
-
|
|
1363
|
+
size
|
|
1364
1364
|
}) {
|
|
1365
1365
|
const label = formatValue ? formatValue(value) : String(Math.round(value));
|
|
1366
1366
|
const isHorizontal = orientation === "horizontal";
|
|
1367
|
-
const thumbHeight = SliderTokens.thumbHeights[
|
|
1367
|
+
const thumbHeight = SliderTokens.thumbHeights[size];
|
|
1368
1368
|
const offsetFromCenter = thumbHeight / 2 + 8;
|
|
1369
1369
|
return /* @__PURE__ */ jsxRuntime.jsx(react.AnimatePresence, { children: visible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1370
1370
|
react.m.div,
|
|
@@ -1415,7 +1415,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1415
1415
|
onValueChangeEnd,
|
|
1416
1416
|
formatValue,
|
|
1417
1417
|
thumbId,
|
|
1418
|
-
|
|
1418
|
+
size,
|
|
1419
1419
|
variant,
|
|
1420
1420
|
zIndex = 1,
|
|
1421
1421
|
"aria-label": ariaLabel,
|
|
@@ -1424,10 +1424,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1424
1424
|
var _a;
|
|
1425
1425
|
const isHorizontal = orientation === "horizontal";
|
|
1426
1426
|
const insetLimit = SliderTokens.thumbGap + SliderTokens.thumbWidthDefault / 2;
|
|
1427
|
-
const trackInset = Math.min(
|
|
1428
|
-
SliderTokens.trackSizes[trackSize] / 2,
|
|
1429
|
-
insetLimit
|
|
1430
|
-
);
|
|
1427
|
+
const trackInset = Math.min(SliderTokens.trackSizes[size] / 2, insetLimit);
|
|
1431
1428
|
const posTarget = isHorizontal ? "left" : "bottom";
|
|
1432
1429
|
const motionStyle = {
|
|
1433
1430
|
[posTarget]: `calc(${trackInset}px + ${percent} * (100% - ${trackInset * 2}px))`
|
|
@@ -1460,7 +1457,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1460
1457
|
const space = isHorizontal ? rect.width : rect.height;
|
|
1461
1458
|
const insetLimit2 = SliderTokens.thumbGap + SliderTokens.thumbWidthDefault / 2;
|
|
1462
1459
|
const trackInset2 = Math.min(
|
|
1463
|
-
SliderTokens.trackSizes[
|
|
1460
|
+
SliderTokens.trackSizes[size] / 2,
|
|
1464
1461
|
insetLimit2
|
|
1465
1462
|
);
|
|
1466
1463
|
const safeSpace = space - trackInset2 * 2;
|
|
@@ -1477,7 +1474,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1477
1474
|
const snapped = step > 0 ? Math.round((rawValue - min) / step) * step + min : rawValue;
|
|
1478
1475
|
return Math.max(min, Math.min(max, snapped));
|
|
1479
1476
|
},
|
|
1480
|
-
[isHorizontal, max, min, percent, step, trackRef,
|
|
1477
|
+
[isHorizontal, max, min, percent, step, trackRef, size]
|
|
1481
1478
|
);
|
|
1482
1479
|
const handlePointerDown = React4__namespace.useCallback(
|
|
1483
1480
|
(e) => {
|
|
@@ -1563,7 +1560,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1563
1560
|
orientation,
|
|
1564
1561
|
formatValue,
|
|
1565
1562
|
prefersReduced,
|
|
1566
|
-
|
|
1563
|
+
size
|
|
1567
1564
|
}
|
|
1568
1565
|
),
|
|
1569
1566
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1596,11 +1593,11 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1596
1593
|
"focus-visible:outline-(--md-sys-color-secondary)"
|
|
1597
1594
|
),
|
|
1598
1595
|
style: __spreadProps(__spreadValues({}, isHorizontal ? {
|
|
1599
|
-
height: SliderTokens.thumbHeights[
|
|
1596
|
+
height: SliderTokens.thumbHeights[size],
|
|
1600
1597
|
width: SliderTokens.thumbWidthDefault,
|
|
1601
1598
|
willChange: "width"
|
|
1602
1599
|
} : {
|
|
1603
|
-
width: SliderTokens.thumbHeights[
|
|
1600
|
+
width: SliderTokens.thumbHeights[size],
|
|
1604
1601
|
height: SliderTokens.thumbWidthDefault,
|
|
1605
1602
|
willChange: "height"
|
|
1606
1603
|
}), {
|
|
@@ -1615,7 +1612,7 @@ var SliderThumb = React4__namespace.memo(function SliderThumb2({
|
|
|
1615
1612
|
var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
1616
1613
|
startPercent,
|
|
1617
1614
|
endPercent,
|
|
1618
|
-
|
|
1615
|
+
size,
|
|
1619
1616
|
orientation,
|
|
1620
1617
|
variant,
|
|
1621
1618
|
disabled,
|
|
@@ -1627,22 +1624,22 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1627
1624
|
onTrackPointerDown
|
|
1628
1625
|
}) {
|
|
1629
1626
|
const isHorizontal = orientation === "horizontal";
|
|
1630
|
-
const
|
|
1631
|
-
const thumbHeight = SliderTokens.thumbHeights[
|
|
1627
|
+
const trackPixelSize = SliderTokens.trackSizes[size];
|
|
1628
|
+
const thumbHeight = SliderTokens.thumbHeights[size];
|
|
1632
1629
|
const { thumbGap, thumbWidthDefault, tickSize } = SliderTokens;
|
|
1633
1630
|
const thumbHalfWidth = thumbWidthDefault / 2;
|
|
1634
1631
|
const activeTrack = disabled ? SliderColors.disabledActiveTrack : `var(--md-sys-color-${variant})`;
|
|
1635
1632
|
const inactiveTrack = disabled ? SliderColors.disabledInactiveTrack : `var(--md-sys-color-${variant}-container)`;
|
|
1636
1633
|
const innerR = SliderTokens.trackInnerRadius;
|
|
1637
|
-
let outerR =
|
|
1634
|
+
let outerR = trackPixelSize / 2;
|
|
1638
1635
|
if (trackShape === "md3") {
|
|
1639
|
-
outerR = Math.min(SliderTokens.trackShapes[
|
|
1636
|
+
outerR = Math.min(SliderTokens.trackShapes[size], trackPixelSize / 2);
|
|
1640
1637
|
} else if (typeof trackShape === "number") {
|
|
1641
|
-
outerR = Math.min(trackShape,
|
|
1638
|
+
outerR = Math.min(trackShape, trackPixelSize / 2);
|
|
1642
1639
|
}
|
|
1643
1640
|
if (isHorizontal) {
|
|
1644
1641
|
const insetLimit2 = thumbGap + thumbWidthDefault / 2;
|
|
1645
|
-
const trackInset2 = Math.min(
|
|
1642
|
+
const trackInset2 = Math.min(trackPixelSize / 2, insetLimit2);
|
|
1646
1643
|
const cxStart = `calc(${trackInset2}px + ${startPercent} * (100% - ${trackInset2 * 2}px))`;
|
|
1647
1644
|
const cxEnd = `calc(${trackInset2}px + ${endPercent} * (100% - ${trackInset2 * 2}px))`;
|
|
1648
1645
|
const gapWithThumbStr2 = `${thumbGap + thumbHalfWidth}px`;
|
|
@@ -1673,7 +1670,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1673
1670
|
top: "50%",
|
|
1674
1671
|
transform: "translateY(-50%)",
|
|
1675
1672
|
width: leadingWidth,
|
|
1676
|
-
height:
|
|
1673
|
+
height: trackPixelSize,
|
|
1677
1674
|
backgroundColor: inactiveTrack,
|
|
1678
1675
|
opacity: disabled ? 0.38 : 1,
|
|
1679
1676
|
borderTopLeftRadius: outerR,
|
|
@@ -1693,7 +1690,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1693
1690
|
top: "50%",
|
|
1694
1691
|
transform: "translateY(-50%)",
|
|
1695
1692
|
width: activeWidth,
|
|
1696
|
-
height:
|
|
1693
|
+
height: trackPixelSize,
|
|
1697
1694
|
backgroundColor: activeTrack,
|
|
1698
1695
|
opacity: disabled ? 0.38 : 1,
|
|
1699
1696
|
borderTopLeftRadius: startPercent <= 0 ? outerR : innerR,
|
|
@@ -1713,7 +1710,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1713
1710
|
top: "50%",
|
|
1714
1711
|
transform: "translateY(-50%)",
|
|
1715
1712
|
width: trailingWidth,
|
|
1716
|
-
height:
|
|
1713
|
+
height: trackPixelSize,
|
|
1717
1714
|
backgroundColor: inactiveTrack,
|
|
1718
1715
|
opacity: disabled ? 0.38 : 1,
|
|
1719
1716
|
borderTopLeftRadius: innerR,
|
|
@@ -1735,7 +1732,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1735
1732
|
width: tickSize,
|
|
1736
1733
|
height: tickSize,
|
|
1737
1734
|
borderRadius: "50%",
|
|
1738
|
-
backgroundColor: disabled ? SliderColors.disabledTick : isActive ? `var(--md-sys-color-${variant}
|
|
1735
|
+
backgroundColor: disabled ? SliderColors.disabledTick : isActive ? `var(--md-sys-color-on-${variant})` : `var(--md-sys-color-${variant})`,
|
|
1739
1736
|
opacity: disabled ? 0.38 : 1,
|
|
1740
1737
|
left: `calc(${trackInset2}px + ${tickPct} * (100% - ${trackInset2 * 2}px) - ${tickSize / 2}px)`,
|
|
1741
1738
|
top: "50%",
|
|
@@ -1750,7 +1747,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1750
1747
|
);
|
|
1751
1748
|
}
|
|
1752
1749
|
const insetLimit = thumbGap + thumbWidthDefault / 2;
|
|
1753
|
-
const trackInset = Math.min(
|
|
1750
|
+
const trackInset = Math.min(trackPixelSize / 2, insetLimit);
|
|
1754
1751
|
const cyStart = `calc(${trackInset}px + ${startPercent} * (100% - ${trackInset * 2}px))`;
|
|
1755
1752
|
const cyEnd = `calc(${trackInset}px + ${endPercent} * (100% - ${trackInset * 2}px))`;
|
|
1756
1753
|
const gapWithThumbStr = `${thumbGap + thumbHalfWidth}px`;
|
|
@@ -1781,7 +1778,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1781
1778
|
left: "50%",
|
|
1782
1779
|
transform: "translateX(-50%)",
|
|
1783
1780
|
height: leadingHeight,
|
|
1784
|
-
width:
|
|
1781
|
+
width: trackPixelSize,
|
|
1785
1782
|
backgroundColor: inactiveTrack,
|
|
1786
1783
|
opacity: disabled ? 0.38 : 1,
|
|
1787
1784
|
borderBottomLeftRadius: outerR,
|
|
@@ -1801,7 +1798,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1801
1798
|
left: "50%",
|
|
1802
1799
|
transform: "translateX(-50%)",
|
|
1803
1800
|
height: activeHeight,
|
|
1804
|
-
width:
|
|
1801
|
+
width: trackPixelSize,
|
|
1805
1802
|
backgroundColor: activeTrack,
|
|
1806
1803
|
opacity: disabled ? 0.38 : 1,
|
|
1807
1804
|
borderBottomLeftRadius: startPercent <= 0 ? outerR : innerR,
|
|
@@ -1821,7 +1818,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1821
1818
|
left: "50%",
|
|
1822
1819
|
transform: "translateX(-50%)",
|
|
1823
1820
|
height: trailingHeight,
|
|
1824
|
-
width:
|
|
1821
|
+
width: trackPixelSize,
|
|
1825
1822
|
backgroundColor: inactiveTrack,
|
|
1826
1823
|
opacity: disabled ? 0.38 : 1,
|
|
1827
1824
|
borderTopLeftRadius: outerR,
|
|
@@ -1843,7 +1840,7 @@ var RangeTrack = React4__namespace.memo(function RangeTrack2({
|
|
|
1843
1840
|
width: tickSize,
|
|
1844
1841
|
height: tickSize,
|
|
1845
1842
|
borderRadius: "50%",
|
|
1846
|
-
backgroundColor: disabled ? SliderColors.disabledTick : isActive ? `var(--md-sys-color-${variant}
|
|
1843
|
+
backgroundColor: disabled ? SliderColors.disabledTick : isActive ? `var(--md-sys-color-on-${variant})` : `var(--md-sys-color-${variant})`,
|
|
1847
1844
|
opacity: disabled ? 0.38 : 1,
|
|
1848
1845
|
bottom: `calc(${trackInset}px + ${tickPct} * (100% - ${trackInset * 2}px) - ${tickSize / 2}px)`,
|
|
1849
1846
|
left: "50%",
|
|
@@ -1867,7 +1864,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
1867
1864
|
max = 100,
|
|
1868
1865
|
step = 0,
|
|
1869
1866
|
orientation = "horizontal",
|
|
1870
|
-
|
|
1867
|
+
size = "md",
|
|
1871
1868
|
trackShape = "md3",
|
|
1872
1869
|
variant = "primary",
|
|
1873
1870
|
disabled = false,
|
|
@@ -1939,7 +1936,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
1939
1936
|
let clickPercent;
|
|
1940
1937
|
const insetLimit = SliderTokens.thumbGap + SliderTokens.thumbWidthDefault / 2;
|
|
1941
1938
|
const trackInset = Math.min(
|
|
1942
|
-
SliderTokens.trackSizes[
|
|
1939
|
+
SliderTokens.trackSizes[size] / 2,
|
|
1943
1940
|
insetLimit
|
|
1944
1941
|
);
|
|
1945
1942
|
if (isHorizontal) {
|
|
@@ -1971,7 +1968,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
1971
1968
|
min,
|
|
1972
1969
|
snap,
|
|
1973
1970
|
startValue,
|
|
1974
|
-
|
|
1971
|
+
size
|
|
1975
1972
|
]
|
|
1976
1973
|
);
|
|
1977
1974
|
const id = React4__namespace.useId();
|
|
@@ -1992,7 +1989,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
1992
1989
|
{
|
|
1993
1990
|
startPercent,
|
|
1994
1991
|
endPercent,
|
|
1995
|
-
|
|
1992
|
+
size,
|
|
1996
1993
|
trackShape,
|
|
1997
1994
|
orientation,
|
|
1998
1995
|
variant,
|
|
@@ -2014,7 +2011,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
2014
2011
|
step,
|
|
2015
2012
|
disabled,
|
|
2016
2013
|
orientation,
|
|
2017
|
-
|
|
2014
|
+
size,
|
|
2018
2015
|
variant,
|
|
2019
2016
|
showValueIndicator,
|
|
2020
2017
|
trackRef,
|
|
@@ -2036,7 +2033,7 @@ var RangeSliderComponent = React4__namespace.forwardRef(
|
|
|
2036
2033
|
step,
|
|
2037
2034
|
disabled,
|
|
2038
2035
|
orientation,
|
|
2039
|
-
|
|
2036
|
+
size,
|
|
2040
2037
|
variant,
|
|
2041
2038
|
showValueIndicator,
|
|
2042
2039
|
trackRef,
|
|
@@ -2099,13 +2096,13 @@ var InsetIcon = React4__namespace.memo(function InsetIcon2({
|
|
|
2099
2096
|
position,
|
|
2100
2097
|
orientation,
|
|
2101
2098
|
trackSize,
|
|
2102
|
-
|
|
2099
|
+
sizeToken,
|
|
2103
2100
|
disabled,
|
|
2104
2101
|
variant,
|
|
2105
2102
|
prefersReduced
|
|
2106
2103
|
}) {
|
|
2107
2104
|
const iconSize = Math.min(
|
|
2108
|
-
SliderTokens.insetIconSizes[
|
|
2105
|
+
SliderTokens.insetIconSizes[sizeToken],
|
|
2109
2106
|
Math.max(4, trackSize - SliderTokens.insetIconPadding * 2)
|
|
2110
2107
|
);
|
|
2111
2108
|
const activeColor = `var(--md-sys-color-on-${variant})`;
|
|
@@ -2166,7 +2163,7 @@ function Ticks({
|
|
|
2166
2163
|
const thumbStart = percent - (thumbGap + thumbWidthDefault / 2) / 100;
|
|
2167
2164
|
const thumbEnd = percent + (thumbGap + thumbWidthDefault / 2) / 100;
|
|
2168
2165
|
if (tickPercent > thumbStart && tickPercent < thumbEnd) return null;
|
|
2169
|
-
const color = disabled ? SliderColors.disabledTick : isOnActive ? `var(--md-sys-color-${variant}
|
|
2166
|
+
const color = disabled ? SliderColors.disabledTick : isOnActive ? `var(--md-sys-color-on-${variant})` : `var(--md-sys-color-${variant})`;
|
|
2170
2167
|
const style = __spreadValues({
|
|
2171
2168
|
position: "absolute",
|
|
2172
2169
|
width: tickSize,
|
|
@@ -2189,7 +2186,7 @@ function Ticks({
|
|
|
2189
2186
|
}
|
|
2190
2187
|
var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
2191
2188
|
percent,
|
|
2192
|
-
|
|
2189
|
+
size,
|
|
2193
2190
|
orientation,
|
|
2194
2191
|
variant,
|
|
2195
2192
|
isCentered,
|
|
@@ -2208,15 +2205,15 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2208
2205
|
}) {
|
|
2209
2206
|
var _a;
|
|
2210
2207
|
const isHorizontal = orientation === "horizontal";
|
|
2211
|
-
const
|
|
2212
|
-
const thumbHeight = SliderTokens.thumbHeights[
|
|
2208
|
+
const trackPixelSize = SliderTokens.trackSizes[size];
|
|
2209
|
+
const thumbHeight = SliderTokens.thumbHeights[size];
|
|
2213
2210
|
const { thumbGap, thumbWidthDefault, trackInnerRadius } = SliderTokens;
|
|
2214
2211
|
const innerR = trackInnerRadius;
|
|
2215
|
-
let outerR =
|
|
2212
|
+
let outerR = trackPixelSize / 2;
|
|
2216
2213
|
if (trackShape === "md3") {
|
|
2217
|
-
outerR = Math.min(SliderTokens.trackShapes[
|
|
2214
|
+
outerR = Math.min(SliderTokens.trackShapes[size], trackPixelSize / 2);
|
|
2218
2215
|
} else if (typeof trackShape === "number") {
|
|
2219
|
-
outerR = Math.min(trackShape,
|
|
2216
|
+
outerR = Math.min(trackShape, trackPixelSize / 2);
|
|
2220
2217
|
}
|
|
2221
2218
|
const thumbHalfWidth = thumbWidthDefault / 2;
|
|
2222
2219
|
const gapWithThumbStr = `${thumbGap + thumbHalfWidth}px`;
|
|
@@ -2234,8 +2231,8 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2234
2231
|
return () => ro.disconnect();
|
|
2235
2232
|
}, [hasAnyInsetIcon, isHorizontal, trackRef]);
|
|
2236
2233
|
const activeIconSize = Math.min(
|
|
2237
|
-
SliderTokens.insetIconSizes[
|
|
2238
|
-
Math.max(4,
|
|
2234
|
+
SliderTokens.insetIconSizes[size],
|
|
2235
|
+
Math.max(4, trackPixelSize - SliderTokens.insetIconPadding * 2)
|
|
2239
2236
|
);
|
|
2240
2237
|
const iconTotalWidth = activeIconSize + SliderTokens.insetIconPadding * 2 + thumbGap + thumbHalfWidth;
|
|
2241
2238
|
const iconThreshold = trackWidth > 0 ? iconTotalWidth / trackWidth : 0.15;
|
|
@@ -2270,7 +2267,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2270
2267
|
const activeColor = disabled ? SliderColors.disabledActiveTrack : `var(--md-sys-color-${variant})`;
|
|
2271
2268
|
const inactiveColor = disabled ? SliderColors.disabledInactiveTrack : `var(--md-sys-color-${variant}-container)`;
|
|
2272
2269
|
const insetLimit = SliderTokens.thumbGap + SliderTokens.thumbWidthDefault / 2;
|
|
2273
|
-
const trackInset = Math.min(
|
|
2270
|
+
const trackInset = Math.min(trackPixelSize / 2, insetLimit);
|
|
2274
2271
|
const gapTotal = thumbGap + thumbHalfWidth;
|
|
2275
2272
|
const thumbCenter = `calc(${trackInset}px + ${percent} * (100% - ${trackInset * 2}px))`;
|
|
2276
2273
|
const leadingActiveLeft = `${trackInset + SliderTokens.insetIconPadding}px`;
|
|
@@ -2295,7 +2292,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2295
2292
|
top: "50%",
|
|
2296
2293
|
transform: "translateY(-50%)",
|
|
2297
2294
|
width: leftSegmentWidth,
|
|
2298
|
-
height:
|
|
2295
|
+
height: trackPixelSize,
|
|
2299
2296
|
backgroundColor: activeColor,
|
|
2300
2297
|
opacity: disabled ? 0.38 : 1
|
|
2301
2298
|
}, getHorizontalRadius(true, innerR, outerR))
|
|
@@ -2314,7 +2311,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2314
2311
|
top: "50%",
|
|
2315
2312
|
transform: "translateY(-50%)",
|
|
2316
2313
|
width: rightSegmentWidth,
|
|
2317
|
-
height:
|
|
2314
|
+
height: trackPixelSize,
|
|
2318
2315
|
backgroundColor: inactiveColor,
|
|
2319
2316
|
opacity: disabled ? 0.38 : 1
|
|
2320
2317
|
}, getHorizontalRadius(false, innerR, outerR))
|
|
@@ -2337,7 +2334,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2337
2334
|
top: "50%",
|
|
2338
2335
|
transform: "translateY(-50%)",
|
|
2339
2336
|
width: leftBaseWidth,
|
|
2340
|
-
height:
|
|
2337
|
+
height: trackPixelSize,
|
|
2341
2338
|
backgroundColor: inactiveColor,
|
|
2342
2339
|
opacity: disabled ? 0.38 : 1
|
|
2343
2340
|
}, getHorizontalRadius(true, innerR, outerR))
|
|
@@ -2358,7 +2355,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2358
2355
|
top: "50%",
|
|
2359
2356
|
transform: "translateY(-50%)",
|
|
2360
2357
|
width: centerActiveWidth,
|
|
2361
|
-
height:
|
|
2358
|
+
height: trackPixelSize,
|
|
2362
2359
|
backgroundColor: activeColor,
|
|
2363
2360
|
opacity: disabled ? 0.38 : 1
|
|
2364
2361
|
}, allInnerRadius(innerR))
|
|
@@ -2379,7 +2376,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2379
2376
|
top: "50%",
|
|
2380
2377
|
transform: "translateY(-50%)",
|
|
2381
2378
|
width: rightBaseWidth,
|
|
2382
|
-
height:
|
|
2379
|
+
height: trackPixelSize,
|
|
2383
2380
|
backgroundColor: inactiveColor,
|
|
2384
2381
|
opacity: disabled ? 0.38 : 1
|
|
2385
2382
|
}, getHorizontalRadius(false, innerR, outerR))
|
|
@@ -2400,7 +2397,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2400
2397
|
top: "50%",
|
|
2401
2398
|
transform: "translateY(-50%)",
|
|
2402
2399
|
width: leftBaseWidth,
|
|
2403
|
-
height:
|
|
2400
|
+
height: trackPixelSize,
|
|
2404
2401
|
backgroundColor: inactiveColor,
|
|
2405
2402
|
opacity: disabled ? 0.38 : 1
|
|
2406
2403
|
}, getHorizontalRadius(true, innerR, outerR))
|
|
@@ -2421,7 +2418,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2421
2418
|
top: "50%",
|
|
2422
2419
|
transform: "translateY(-50%)",
|
|
2423
2420
|
width: centerActiveWidth,
|
|
2424
|
-
height:
|
|
2421
|
+
height: trackPixelSize,
|
|
2425
2422
|
backgroundColor: activeColor,
|
|
2426
2423
|
opacity: disabled ? 0.38 : 1
|
|
2427
2424
|
}, allInnerRadius(innerR))
|
|
@@ -2442,7 +2439,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2442
2439
|
top: "50%",
|
|
2443
2440
|
transform: "translateY(-50%)",
|
|
2444
2441
|
width: rightBaseWidth,
|
|
2445
|
-
height:
|
|
2442
|
+
height: trackPixelSize,
|
|
2446
2443
|
backgroundColor: inactiveColor,
|
|
2447
2444
|
opacity: disabled ? 0.38 : 1
|
|
2448
2445
|
}, getHorizontalRadius(false, innerR, outerR))
|
|
@@ -2486,8 +2483,8 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2486
2483
|
isOnActiveSegment: leadingOnActive,
|
|
2487
2484
|
position: leadingOnActive ? leadingActiveLeft : leadingInactiveLeft,
|
|
2488
2485
|
orientation,
|
|
2489
|
-
trackSize:
|
|
2490
|
-
|
|
2486
|
+
trackSize: trackPixelSize,
|
|
2487
|
+
sizeToken: size,
|
|
2491
2488
|
disabled,
|
|
2492
2489
|
variant,
|
|
2493
2490
|
prefersReduced
|
|
@@ -2501,8 +2498,8 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2501
2498
|
isOnActiveSegment: trailingOnActive,
|
|
2502
2499
|
position: trailingOnActive ? trailingActiveLeft : trailingInactiveLeft,
|
|
2503
2500
|
orientation,
|
|
2504
|
-
trackSize:
|
|
2505
|
-
|
|
2501
|
+
trackSize: trackPixelSize,
|
|
2502
|
+
sizeToken: size,
|
|
2506
2503
|
disabled,
|
|
2507
2504
|
variant,
|
|
2508
2505
|
prefersReduced
|
|
@@ -2530,7 +2527,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2530
2527
|
left: "50%",
|
|
2531
2528
|
transform: "translateX(-50%)",
|
|
2532
2529
|
height: bottomSegmentHeight,
|
|
2533
|
-
width:
|
|
2530
|
+
width: trackPixelSize,
|
|
2534
2531
|
backgroundColor: activeColor,
|
|
2535
2532
|
opacity: disabled ? 0.38 : 1
|
|
2536
2533
|
}, getVerticalRadius(true, innerR, outerR))
|
|
@@ -2549,7 +2546,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2549
2546
|
left: "50%",
|
|
2550
2547
|
transform: "translateX(-50%)",
|
|
2551
2548
|
height: topSegmentHeight,
|
|
2552
|
-
width:
|
|
2549
|
+
width: trackPixelSize,
|
|
2553
2550
|
backgroundColor: inactiveColor,
|
|
2554
2551
|
opacity: disabled ? 0.38 : 1
|
|
2555
2552
|
}, getVerticalRadius(false, innerR, outerR))
|
|
@@ -2572,7 +2569,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2572
2569
|
left: "50%",
|
|
2573
2570
|
transform: "translateX(-50%)",
|
|
2574
2571
|
height: bottomBaseHeight,
|
|
2575
|
-
width:
|
|
2572
|
+
width: trackPixelSize,
|
|
2576
2573
|
backgroundColor: inactiveColor,
|
|
2577
2574
|
opacity: disabled ? 0.38 : 1
|
|
2578
2575
|
}, getVerticalRadius(true, innerR, outerR))
|
|
@@ -2593,7 +2590,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2593
2590
|
left: "50%",
|
|
2594
2591
|
transform: "translateX(-50%)",
|
|
2595
2592
|
height: centerActiveHeight,
|
|
2596
|
-
width:
|
|
2593
|
+
width: trackPixelSize,
|
|
2597
2594
|
backgroundColor: activeColor,
|
|
2598
2595
|
opacity: disabled ? 0.38 : 1
|
|
2599
2596
|
}, allInnerRadius(innerR))
|
|
@@ -2614,7 +2611,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2614
2611
|
left: "50%",
|
|
2615
2612
|
transform: "translateX(-50%)",
|
|
2616
2613
|
height: topBaseHeight,
|
|
2617
|
-
width:
|
|
2614
|
+
width: trackPixelSize,
|
|
2618
2615
|
backgroundColor: inactiveColor,
|
|
2619
2616
|
opacity: disabled ? 0.38 : 1
|
|
2620
2617
|
}, getVerticalRadius(false, innerR, outerR))
|
|
@@ -2635,7 +2632,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2635
2632
|
left: "50%",
|
|
2636
2633
|
transform: "translateX(-50%)",
|
|
2637
2634
|
height: bottomBaseHeight,
|
|
2638
|
-
width:
|
|
2635
|
+
width: trackPixelSize,
|
|
2639
2636
|
backgroundColor: inactiveColor,
|
|
2640
2637
|
opacity: disabled ? 0.38 : 1
|
|
2641
2638
|
}, getVerticalRadius(true, innerR, outerR))
|
|
@@ -2656,7 +2653,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2656
2653
|
left: "50%",
|
|
2657
2654
|
transform: "translateX(-50%)",
|
|
2658
2655
|
height: centerActiveHeight,
|
|
2659
|
-
width:
|
|
2656
|
+
width: trackPixelSize,
|
|
2660
2657
|
backgroundColor: activeColor,
|
|
2661
2658
|
opacity: disabled ? 0.38 : 1
|
|
2662
2659
|
}, allInnerRadius(innerR))
|
|
@@ -2677,7 +2674,7 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2677
2674
|
left: "50%",
|
|
2678
2675
|
transform: "translateX(-50%)",
|
|
2679
2676
|
height: topBaseHeight,
|
|
2680
|
-
width:
|
|
2677
|
+
width: trackPixelSize,
|
|
2681
2678
|
backgroundColor: inactiveColor,
|
|
2682
2679
|
opacity: disabled ? 0.38 : 1
|
|
2683
2680
|
}, getVerticalRadius(false, innerR, outerR))
|
|
@@ -2721,8 +2718,8 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2721
2718
|
isOnActiveSegment: leadingOnActive,
|
|
2722
2719
|
position: leadingOnActive ? leadingActiveLeft : leadingInactiveLeft,
|
|
2723
2720
|
orientation,
|
|
2724
|
-
trackSize:
|
|
2725
|
-
|
|
2721
|
+
trackSize: trackPixelSize,
|
|
2722
|
+
sizeToken: size,
|
|
2726
2723
|
disabled,
|
|
2727
2724
|
variant,
|
|
2728
2725
|
prefersReduced
|
|
@@ -2736,8 +2733,8 @@ var SliderTrack = React4__namespace.memo(function SliderTrack2({
|
|
|
2736
2733
|
isOnActiveSegment: trailingOnActive,
|
|
2737
2734
|
position: trailingOnActive ? trailingActiveLeft : trailingInactiveLeft,
|
|
2738
2735
|
orientation,
|
|
2739
|
-
trackSize:
|
|
2740
|
-
|
|
2736
|
+
trackSize: trackPixelSize,
|
|
2737
|
+
sizeToken: size,
|
|
2741
2738
|
disabled,
|
|
2742
2739
|
variant,
|
|
2743
2740
|
prefersReduced
|
|
@@ -2758,7 +2755,7 @@ var SliderComponent = React4__namespace.forwardRef(
|
|
|
2758
2755
|
max = 100,
|
|
2759
2756
|
step = 0,
|
|
2760
2757
|
orientation = "horizontal",
|
|
2761
|
-
|
|
2758
|
+
size = "md",
|
|
2762
2759
|
trackShape = "md3",
|
|
2763
2760
|
variant = "primary",
|
|
2764
2761
|
isCentered = false,
|
|
@@ -2812,7 +2809,7 @@ var SliderComponent = React4__namespace.forwardRef(
|
|
|
2812
2809
|
let clickPercent;
|
|
2813
2810
|
const insetLimit = SliderTokens.thumbGap + SliderTokens.thumbWidthDefault / 2;
|
|
2814
2811
|
const trackInset = Math.min(
|
|
2815
|
-
SliderTokens.trackSizes[
|
|
2812
|
+
SliderTokens.trackSizes[size] / 2,
|
|
2816
2813
|
insetLimit
|
|
2817
2814
|
);
|
|
2818
2815
|
if (isHorizontal) {
|
|
@@ -2827,20 +2824,11 @@ var SliderComponent = React4__namespace.forwardRef(
|
|
|
2827
2824
|
const newValue = snap(coerce(rawValue));
|
|
2828
2825
|
handleValueChange(newValue);
|
|
2829
2826
|
},
|
|
2830
|
-
[
|
|
2831
|
-
coerce,
|
|
2832
|
-
disabled,
|
|
2833
|
-
handleValueChange,
|
|
2834
|
-
isHorizontal,
|
|
2835
|
-
max,
|
|
2836
|
-
min,
|
|
2837
|
-
snap,
|
|
2838
|
-
trackSize
|
|
2839
|
-
]
|
|
2827
|
+
[coerce, disabled, handleValueChange, isHorizontal, max, min, snap, size]
|
|
2840
2828
|
);
|
|
2841
2829
|
const id = React4__namespace.useId();
|
|
2842
2830
|
const thumbId = `slider-thumb-${id}`;
|
|
2843
|
-
const supportsInsetIcon = !isCentered && SliderTokens.trackSizes[
|
|
2831
|
+
const supportsInsetIcon = !isCentered && SliderTokens.trackSizes[size] >= 40;
|
|
2844
2832
|
const hasAnyInsetIcon = !!(insetIcon || insetIconTrailing);
|
|
2845
2833
|
if (hasAnyInsetIcon && !supportsInsetIcon) {
|
|
2846
2834
|
console.warn(
|
|
@@ -2863,7 +2851,7 @@ var SliderComponent = React4__namespace.forwardRef(
|
|
|
2863
2851
|
SliderTrack,
|
|
2864
2852
|
{
|
|
2865
2853
|
percent,
|
|
2866
|
-
|
|
2854
|
+
size,
|
|
2867
2855
|
trackShape,
|
|
2868
2856
|
orientation,
|
|
2869
2857
|
isCentered,
|
|
@@ -2891,7 +2879,7 @@ var SliderComponent = React4__namespace.forwardRef(
|
|
|
2891
2879
|
step,
|
|
2892
2880
|
disabled,
|
|
2893
2881
|
orientation,
|
|
2894
|
-
|
|
2882
|
+
size,
|
|
2895
2883
|
variant,
|
|
2896
2884
|
showValueIndicator,
|
|
2897
2885
|
trackRef,
|