shineout 3.7.0-beta.2 → 3.7.0-beta.4
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/cjs/index.js +1 -1
- package/cjs/tests/utils.d.ts +2 -2
- package/dist/shineout.js +285 -225
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/tests/utils.d.ts +2 -2
- package/package.json +5 -5
package/esm/index.js
CHANGED
package/esm/tests/utils.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
export declare function classTest(element: Element, className: string, bool?: boolean): void;
|
|
3
3
|
export declare function snapshotTest(component: JSX.Element, testName?: string): void;
|
|
4
4
|
export declare function snapshotTestByClick(component: JSX.Element, testName: string | undefined, wrapper: string): void;
|
|
5
|
-
export declare function attributesTest(element: Element, attr: string, content: string): void;
|
|
5
|
+
export declare function attributesTest(element: Element, attr: string, content: string | null): void;
|
|
6
6
|
export declare function hasAttributesTest(element: Element, attr: string, bool?: boolean): void;
|
|
7
7
|
export declare function componentsClassTest(components: NodeListOf<Element>, bool: boolean, componentClassName: string, excludes?: string[]): void;
|
|
8
8
|
export declare function textContentTest(element: Element, text: string | null | undefined): void;
|
|
9
9
|
export declare function classContentTest(element: Element, name: string, bool?: boolean): void;
|
|
10
|
-
export declare function styleTest(element: Element, style: string): void;
|
|
10
|
+
export declare function styleTest(element: Element, style: string | null): void;
|
|
11
11
|
export declare function styleContainTest(element: Element, styleObject: object): void;
|
|
12
12
|
export declare function styleContentTest(element: Element, name: string, bool?: boolean): void;
|
|
13
13
|
export interface StyleProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.7.0-beta.
|
|
3
|
+
"version": "3.7.0-beta.4",
|
|
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.7.0-beta.
|
|
20
|
-
"@sheinx/hooks": "3.7.0-beta.
|
|
21
|
-
"@sheinx/shineout-style": "3.7.0-beta.
|
|
22
|
-
"@sheinx/theme": "3.7.0-beta.
|
|
19
|
+
"@sheinx/base": "3.7.0-beta.4",
|
|
20
|
+
"@sheinx/hooks": "3.7.0-beta.4",
|
|
21
|
+
"@sheinx/shineout-style": "3.7.0-beta.4",
|
|
22
|
+
"@sheinx/theme": "3.7.0-beta.4",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"immer": "^10.0.0",
|
|
25
25
|
"deep-eql": "^4.0.0"
|