shineout 3.4.0 → 3.4.1

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.
package/esm/index.js CHANGED
@@ -60,5 +60,5 @@ export * from "./deprecated";
60
60
  import * as _TYPE from "./type";
61
61
  export { _TYPE as TYPE };
62
62
  export default {
63
- version: '3.4.0'
63
+ version: '3.4.1'
64
64
  };
@@ -22,6 +22,7 @@ export type ReactComponentType = React.ComponentType<BaseTestProps>;
22
22
  export declare function baseTest(Component: ReactComponentType | JSX.Element, selector: string, styleV?: StyleProps, styleRender?: string, className?: string, data?: any): void;
23
23
  export declare function childrenTest(Component: React.ComponentType<BaseTestProps>, selector: string): void;
24
24
  export declare function inputValueTest(element: Element, value: string): void;
25
+ export declare function inputPlaceholderTest(element: Element, value: string): void;
25
26
  export declare function displayTest(Component: React.FC, displayName: string): void;
26
27
  export declare const delay: (time: number) => Promise<void>;
27
28
  type classNamesMapType = {
@@ -114,6 +114,9 @@ export function childrenTest(Component, selector) {
114
114
  export function inputValueTest(element, value) {
115
115
  attributesTest(element, 'value', value);
116
116
  }
117
+ export function inputPlaceholderTest(element, value) {
118
+ attributesTest(element, 'placeholder', value);
119
+ }
117
120
  export function displayTest(Component, displayName) {
118
121
  test('should start with Shineout display', function () {
119
122
  expect(Component.displayName).toBe(displayName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shineout",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "A components library for React",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -16,10 +16,10 @@
16
16
  "module": "./esm/index.js",
17
17
  "typings": "./cjs/index.d.ts",
18
18
  "dependencies": {
19
- "@sheinx/base": "3.4.0",
20
- "@sheinx/hooks": "3.4.0",
21
- "@sheinx/shineout-style": "3.4.0",
22
- "@sheinx/theme": "3.4.0",
19
+ "@sheinx/base": "3.4.1",
20
+ "@sheinx/hooks": "3.4.1",
21
+ "@sheinx/shineout-style": "3.4.1",
22
+ "@sheinx/theme": "3.4.1",
23
23
  "classnames": "^2.0.0",
24
24
  "immer": "^10.0.0",
25
25
  "deep-eql": "^4.0.0"