@esportsplus/ui 0.0.9 → 0.0.11

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.
@@ -1,5 +1,25 @@
1
1
  import action from './action';
2
2
  declare const _default: {
3
3
  action: typeof action;
4
+ layout: (data: {
5
+ action?: any;
6
+ button?: {
7
+ class?: string | undefined;
8
+ content?: any;
9
+ style?: string | undefined;
10
+ } | undefined;
11
+ content?: any;
12
+ width?: string | undefined;
13
+ } & {
14
+ content?: any;
15
+ subtitle?: string | undefined;
16
+ suptitle?: string | undefined;
17
+ title?: string | undefined;
18
+ width?: string | undefined;
19
+ }) => {
20
+ content: string;
21
+ type: string;
22
+ values: never[];
23
+ };
4
24
  };
5
25
  export default _default;
@@ -1,2 +1,3 @@
1
1
  import action from './action';
2
- export default { action };
2
+ import layout from './layout';
3
+ export default { action, layout };
package/lib.scss ADDED
@@ -0,0 +1 @@
1
+ @forward 'src/lib';
package/package.json CHANGED
@@ -36,5 +36,5 @@
36
36
  "prepublishOnly": "npm run build"
37
37
  },
38
38
  "types": "./build/index.d.ts",
39
- "version": "0.0.9"
39
+ "version": "0.0.11"
40
40
  }
@@ -1,4 +1,5 @@
1
1
  import action from './action';
2
+ import layout from './layout';
2
3
 
3
4
 
4
- export default { action };
5
+ export default { action, layout };
@@ -19,7 +19,7 @@ function scss(bundle, paths, scss = {}) {
19
19
 
20
20
  module.exports = ({ filename, input, output, production, theme }) => {
21
21
  let paths = {
22
- current: path.resolve(process.cwd()).replace('\\', '/') + `/node_modules/@esportsplus/ui`,
22
+ current: path.resolve(process.cwd()).replace('\\', '/') + `/node_modules/@esportsplus/ui/src`,
23
23
  input: path.resolve(process.cwd()).replace('\\', '/') + `/${input || ''}`,
24
24
  output: path.resolve(process.cwd()).replace('\\', '/') + `/${output || ''}`
25
25
  };
package/index.scss DELETED
@@ -1 +0,0 @@
1
- @forward 'lib';