@eleventheye/asui 1.8.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,8 @@ const ASTextField = ({ className = '', value = '', onChange = () => undefined, s
36
36
  }, [clearIconVisible]);
37
37
  (0, react_1.useEffect)(() => {
38
38
  setLeftIconCls(searchIconVisible ? 'LeftIconOn' : 'LeftIconOff');
39
- setRightIconCls(searchIconVisible ? 'RightIconOn' : 'RightIconOff');
39
+ if (searchIconVisible)
40
+ setRightIconCls('RightIconOn');
40
41
  }, [searchIconVisible]);
41
42
  (0, react_1.useEffect)(() => {
42
43
  setPasswordCls(passwordIconVisible ? 'PasswordOn' : '');
@@ -2,6 +2,6 @@ export declare const ASTextFieldInputContainer: import("styled-components/dist/t
2
2
  export declare const ASTextFieldInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
3
3
  export declare const ASTextFieldClickIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
4
  export declare const ASTextFieldSearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const ScaledEyeIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@eleventheye/asui").IconProps, never>> & string & Omit<import("react").FC<import("@eleventheye/asui").IconProps>, keyof import("react").Component<any, {}, any>>;
6
- export declare const ScaledSlashedEyeIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("@eleventheye/asui").IconProps, never>> & string & Omit<import("react").FC<import("@eleventheye/asui").IconProps>, keyof import("react").Component<any, {}, any>>;
5
+ export declare const ScaledEyeIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../icons").IconProps, never>> & string & Omit<import("react").FC<import("../icons").IconProps>, keyof import("react").Component<any, {}, any>>;
6
+ export declare const ScaledSlashedEyeIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../icons").IconProps, never>> & string & Omit<import("react").FC<import("../icons").IconProps>, keyof import("react").Component<any, {}, any>>;
7
7
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/astextfield/styles.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB,6NA+KrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,sOA+B5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,6NAYhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,6NAIjC,CAAC;AAEF,eAAO,MAAM,aAAa,kRAOzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,kRAQhC,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/astextfield/styles.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB,6NA+KrC,CAAC;AAEF,eAAO,MAAM,gBAAgB,sOA+B5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,6NAYhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,6NAIjC,CAAC;AAEF,eAAO,MAAM,aAAa,gQAOzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gQAQhC,CAAC"}
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ScaledSlashedEyeIcon = exports.ScaledEyeIcon = exports.ASTextFieldSearchIcon = exports.ASTextFieldClickIcon = exports.ASTextFieldInput = exports.ASTextFieldInputContainer = void 0;
7
- const asui_1 = require("@eleventheye/asui");
8
7
  const styled_components_1 = __importDefault(require("styled-components"));
8
+ const icons_1 = require("../icons");
9
9
  const mainYellow = '#ffd321';
10
10
  const mainGray33 = '#333333';
11
11
  const mainGray55 = '#555555';
@@ -239,7 +239,7 @@ exports.ASTextFieldSearchIcon = styled_components_1.default.div `
239
239
  user-select: none;
240
240
  color: ${mainGray55};
241
241
  `;
242
- exports.ScaledEyeIcon = (0, styled_components_1.default)(asui_1.EyeIcon) `
242
+ exports.ScaledEyeIcon = (0, styled_components_1.default)(icons_1.EyeIcon) `
243
243
  cursor: pointer;
244
244
  user-select: none;
245
245
  scale: 1.3;
@@ -247,7 +247,7 @@ exports.ScaledEyeIcon = (0, styled_components_1.default)(asui_1.EyeIcon) `
247
247
  scale: 1.4;
248
248
  }
249
249
  `;
250
- exports.ScaledSlashedEyeIcon = (0, styled_components_1.default)(asui_1.EyeSlashIcon) `
250
+ exports.ScaledSlashedEyeIcon = (0, styled_components_1.default)(icons_1.EyeSlashIcon) `
251
251
  cursor: pointer;
252
252
  user-select: none;
253
253
  scale: 1.3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleventheye/asui",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "private": false,
5
5
  "description": "AS UI React Library by eleventheye (another one!)",
6
6
  "keywords": [