UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

48 lines (47 loc) 2.42 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var styles_selectors_js_1 = require("../../../select/styles.selectors.js"); var styles_selectors_js_2 = require("../../../select/parts/styles.selectors.js"); var styles_selectors_js_3 = require("../../../input/styles.selectors.js"); var styles_selectors_js_4 = require("../../../internal/components/button-trigger/styles.selectors.js"); var styles_selectors_js_5 = require("../../../internal/components/dropdown-status/styles.selectors.js"); var styles_selectors_js_6 = require("../../../internal/components/dropdown-status/styles.selectors.js"); var input_1 = require("../input"); var dropdown_host_1 = require("../internal/dropdown-host"); var SelectWrapper = (function (_super) { __extends(SelectWrapper, _super); function SelectWrapper() { return _super !== null && _super.apply(this, arguments) || this; } SelectWrapper.prototype.findErrorRecoveryButton = function () { return this.findByClassName(styles_selectors_js_6.default.recovery); }; SelectWrapper.prototype.findFilteringInput = function () { return this.findComponent("." + styles_selectors_js_3.default['input-container'], input_1.default); }; SelectWrapper.prototype.findPlaceholder = function () { return this.findByClassName(styles_selectors_js_2.default.placeholder); }; SelectWrapper.prototype.findStatusIndicator = function () { return this.findByClassName(styles_selectors_js_5.default.root); }; SelectWrapper.prototype.findTrigger = function () { return this.findByClassName(styles_selectors_js_4.default['button-trigger']); }; SelectWrapper.rootSelector = styles_selectors_js_1.default.root; return SelectWrapper; }(dropdown_host_1.default)); exports.default = SelectWrapper;