@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
53 lines (52 loc) • 1.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SwitchRootDataAttributes = void 0;
let SwitchRootDataAttributes = exports.SwitchRootDataAttributes = /*#__PURE__*/function (SwitchRootDataAttributes) {
/**
* Present when the switch is checked.
*/
SwitchRootDataAttributes["checked"] = "data-checked";
/**
* Present when the switch is not checked.
*/
SwitchRootDataAttributes["unchecked"] = "data-unchecked";
/**
* Present when the switch is disabled.
*/
SwitchRootDataAttributes["disabled"] = "data-disabled";
/**
* Present when the switch is readonly.
*/
SwitchRootDataAttributes["readonly"] = "data-readonly";
/**
* Present when the switch is required.
*/
SwitchRootDataAttributes["required"] = "data-required";
/**
* Present when the switch is in valid state (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["valid"] = "data-valid";
/**
* Present when the switch is in invalid state (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["invalid"] = "data-invalid";
/**
* Present when the switch has been touched (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["touched"] = "data-touched";
/**
* Present when the switch's value has changed (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["dirty"] = "data-dirty";
/**
* Present when the switch is active (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["filled"] = "data-filled";
/**
* Present when the switch is focused (when wrapped in Field.Root).
*/
SwitchRootDataAttributes["focused"] = "data-focused";
return SwitchRootDataAttributes;
}({});