@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.
62 lines (61 loc) • 2.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CheckboxIndicatorDataAttributes = void 0;
var _stateAttributesMapping = require("../../utils/stateAttributesMapping");
let CheckboxIndicatorDataAttributes = exports.CheckboxIndicatorDataAttributes = function (CheckboxIndicatorDataAttributes) {
/**
* Present when the checkbox is checked.
*/
CheckboxIndicatorDataAttributes["checked"] = "data-checked";
/**
* Present when the checkbox is not checked.
*/
CheckboxIndicatorDataAttributes["unchecked"] = "data-unchecked";
/**
* Present when the checkbox is disabled.
*/
CheckboxIndicatorDataAttributes["disabled"] = "data-disabled";
/**
* Present when the checkbox is readonly.
*/
CheckboxIndicatorDataAttributes["readonly"] = "data-readonly";
/**
* Present when the checkbox is required.
*/
CheckboxIndicatorDataAttributes["required"] = "data-required";
/**
* Present when the checkbox indicator is animating in.
*/
CheckboxIndicatorDataAttributes[CheckboxIndicatorDataAttributes["startingStyle"] = _stateAttributesMapping.TransitionStatusDataAttributes.startingStyle] = "startingStyle";
/**
* Present when the checkbox indicator is animating out.
*/
CheckboxIndicatorDataAttributes[CheckboxIndicatorDataAttributes["endingStyle"] = _stateAttributesMapping.TransitionStatusDataAttributes.endingStyle] = "endingStyle";
/**
* Present when the checkbox is in valid state (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["valid"] = "data-valid";
/**
* Present when the checkbox is in invalid state (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["invalid"] = "data-invalid";
/**
* Present when the checkbox has been touched (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["touched"] = "data-touched";
/**
* Present when the checkbox's value has changed (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["dirty"] = "data-dirty";
/**
* Present when the checkbox is checked (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["filled"] = "data-filled";
/**
* Present when the checkbox is focused (when wrapped in Field.Root).
*/
CheckboxIndicatorDataAttributes["focused"] = "data-focused";
return CheckboxIndicatorDataAttributes;
}({});