MCPcopy Create free account
hub / github.com/adobe/react-spectrum / track

Function track

packages/@react-spectrum/s2/src/bar-utils.ts:58–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }) as const;
57
58export const track = () =>
59 ({
60 ...fieldInput(),
61 gridArea: 'bar',
62 overflow: 'hidden',
63 borderRadius: 'full',
64 backgroundColor: {
65 default: 'gray-300',
66 isStaticColor: 'transparent-overlay-300',
67 forcedColors: 'ButtonFace'
68 },
69 outlineWidth: {
70 default: 0,
71 forcedColors: 1
72 },
73 outlineStyle: {
74 default: 'none',
75 forcedColors: 'solid'
76 },
77 outlineColor: {
78 default: 'transparent',
79 forcedColors: 'ButtonText'
80 },
81 zIndex: 1 // to fix a weird webkit bug with rounded corners and masking
82 }) as const;

Callers 7

Meter.tsxFile · 0.90
ProgressBar.tsxFile · 0.90
ProgressCircle.tsxFile · 0.85
Slider.tsxFile · 0.85
Switch.tsxFile · 0.85
RangeSlider.tsxFile · 0.85
SwitchFunction · 0.85

Calls 1

fieldInputFunction · 0.90

Tested by

no test coverage detected