@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.
54 lines (53 loc) • 2.03 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ComboboxTriggerDataAttributes = void 0;
var _popupStateMapping = require("../../utils/popupStateMapping");
let ComboboxTriggerDataAttributes = exports.ComboboxTriggerDataAttributes = function (ComboboxTriggerDataAttributes) {
/**
* Present when the corresponding popup is open.
*/
ComboboxTriggerDataAttributes[ComboboxTriggerDataAttributes["popupOpen"] = _popupStateMapping.CommonTriggerDataAttributes.popupOpen] = "popupOpen";
/**
* Present when the trigger is pressed.
*/
ComboboxTriggerDataAttributes[ComboboxTriggerDataAttributes["pressed"] = _popupStateMapping.CommonTriggerDataAttributes.pressed] = "pressed";
/**
* Present when the component is disabled.
*/
ComboboxTriggerDataAttributes["disabled"] = "data-disabled";
/**
* Present when the component is readonly.
*/
ComboboxTriggerDataAttributes["readonly"] = "data-readonly";
/**
* Present when the component is required.
*/
ComboboxTriggerDataAttributes["required"] = "data-required";
/**
* Present when the component is in valid state (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["valid"] = "data-valid";
/**
* Present when the component is in invalid state (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["invalid"] = "data-invalid";
/**
* Present when the component has been touched (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["touched"] = "data-touched";
/**
* Present when the component's value has changed (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["dirty"] = "data-dirty";
/**
* Present when the component has a value (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["filled"] = "data-filled";
/**
* Present when the trigger is focused (when wrapped in Field.Root).
*/
ComboboxTriggerDataAttributes["focused"] = "data-focused";
return ComboboxTriggerDataAttributes;
}({});
;