@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.
63 lines (62 loc) • 2.37 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ComboboxInputDataAttributes = void 0;
var _popupStateMapping = require("../../utils/popupStateMapping");
let ComboboxInputDataAttributes = exports.ComboboxInputDataAttributes = function (ComboboxInputDataAttributes) {
/**
* Present when the corresponding popup is open.
*/
ComboboxInputDataAttributes[ComboboxInputDataAttributes["popupOpen"] = _popupStateMapping.CommonTriggerDataAttributes.popupOpen] = "popupOpen";
/**
* Present when the input is pressed.
*/
ComboboxInputDataAttributes[ComboboxInputDataAttributes["pressed"] = _popupStateMapping.CommonTriggerDataAttributes.pressed] = "pressed";
/**
* Present when the component is disabled.
*/
ComboboxInputDataAttributes["disabled"] = "data-disabled";
/**
* Present when the component is readonly.
*/
ComboboxInputDataAttributes["readonly"] = "data-readonly";
/**
* Indicates which side the corresponding popup is positioned relative to its anchor.
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | null}
*/
ComboboxInputDataAttributes["popupSide"] = "data-popup-side";
/**
* Present when the component is required.
*/
ComboboxInputDataAttributes["required"] = "data-required";
/**
* Present when the component is in valid state (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["valid"] = "data-valid";
/**
* Present when the component is in invalid state (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["invalid"] = "data-invalid";
/**
* Present when the component has been touched (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["touched"] = "data-touched";
/**
* Present when the component's value has changed (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["dirty"] = "data-dirty";
/**
* Present when the component has a value (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["filled"] = "data-filled";
/**
* Present when the input is focused (when wrapped in Field.Root).
*/
ComboboxInputDataAttributes["focused"] = "data-focused";
/**
* Present when the corresponding items list is empty.
*/
ComboboxInputDataAttributes["listEmpty"] = "data-list-empty";
return ComboboxInputDataAttributes;
}({});