shineout 3.3.4 → 3.4.0-beta.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.
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +9 -1
- package/cjs/link/index.d.ts +7 -0
- package/cjs/link/index.js +12 -0
- package/cjs/link/interface.d.ts +1 -0
- package/cjs/link/interface.js +5 -0
- package/cjs/link/link.d.ts +4 -0
- package/cjs/link/link.js +25 -0
- package/cjs/link/link.type.d.ts +5 -0
- package/cjs/link/link.type.js +5 -0
- package/cjs/menu/menu.type.d.ts +1 -1
- package/cjs/type.d.ts +1 -0
- package/cjs/type.js +3 -1
- package/dist/shineout.js +364 -27
- 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.d.ts +1 -0
- package/esm/index.js +2 -1
- package/esm/link/index.d.ts +7 -0
- package/esm/link/index.js +5 -0
- package/esm/link/interface.d.ts +1 -0
- package/esm/link/interface.js +1 -0
- package/esm/link/link.d.ts +4 -0
- package/esm/link/link.js +18 -0
- package/esm/link/link.type.d.ts +5 -0
- package/esm/link/link.type.js +1 -0
- package/esm/menu/menu.type.d.ts +1 -1
- package/esm/type.d.ts +1 -0
- package/esm/type.js +2 -0
- package/package.json +5 -5
package/esm/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export { default as Grid } from './grid';
|
|
|
20
20
|
export { default as Icon } from './icon';
|
|
21
21
|
export { default as Image } from './image';
|
|
22
22
|
export { default as Input } from './input';
|
|
23
|
+
export { default as Link } from './link';
|
|
23
24
|
export { default as List } from './list';
|
|
24
25
|
export { default as Menu } from './menu';
|
|
25
26
|
export { default as Message } from './message';
|
package/esm/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export { default as Grid } from "./grid";
|
|
|
24
24
|
export { default as Icon } from "./icon";
|
|
25
25
|
export { default as Image } from "./image";
|
|
26
26
|
export { default as Input } from "./input";
|
|
27
|
+
export { default as Link } from "./link";
|
|
27
28
|
export { default as List } from "./list";
|
|
28
29
|
export { default as Menu } from "./menu";
|
|
29
30
|
export { default as Message } from "./message";
|
|
@@ -58,5 +59,5 @@ export * from "./deprecated";
|
|
|
58
59
|
import * as _TYPE from "./type";
|
|
59
60
|
export { _TYPE as TYPE };
|
|
60
61
|
export default {
|
|
61
|
-
version: '3.
|
|
62
|
+
version: '3.4.0-beta.2'
|
|
62
63
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LinkProps as Props } from './link.type';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/link/link.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { Link } from '@sheinx/base';
|
|
9
|
+
import { useLinkStyle } from '@sheinx/shineout-style';
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
var jssStyle = {
|
|
12
|
+
link: useLinkStyle
|
|
13
|
+
};
|
|
14
|
+
export default (function (props) {
|
|
15
|
+
return /*#__PURE__*/_jsx(Link, _objectSpread({
|
|
16
|
+
jssStyle: jssStyle
|
|
17
|
+
}, props));
|
|
18
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/menu/menu.type.d.ts
CHANGED
package/esm/type.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * as Grid from './grid/interface';
|
|
|
20
20
|
export * as Icon from './icon/interface';
|
|
21
21
|
export * as Image from './image/interface';
|
|
22
22
|
export * as Input from './input/interface';
|
|
23
|
+
export * as Link from './link/interface';
|
|
23
24
|
export * as List from './list/interface';
|
|
24
25
|
export * as Menu from './menu/interface';
|
|
25
26
|
export * as Message from './message/interface';
|
package/esm/type.js
CHANGED
|
@@ -42,6 +42,8 @@ import * as _Image from "./image/interface";
|
|
|
42
42
|
export { _Image as Image };
|
|
43
43
|
import * as _Input from "./input/interface";
|
|
44
44
|
export { _Input as Input };
|
|
45
|
+
import * as _Link from "./link/interface";
|
|
46
|
+
export { _Link as Link };
|
|
45
47
|
import * as _List from "./list/interface";
|
|
46
48
|
export { _List as List };
|
|
47
49
|
import * as _Menu from "./menu/interface";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shineout",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0-beta.2",
|
|
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.
|
|
20
|
-
"@sheinx/hooks": "3.
|
|
21
|
-
"@sheinx/shineout-style": "3.
|
|
22
|
-
"@sheinx/theme": "3.
|
|
19
|
+
"@sheinx/base": "3.4.0-beta.2",
|
|
20
|
+
"@sheinx/hooks": "3.4.0-beta.2",
|
|
21
|
+
"@sheinx/shineout-style": "3.4.0-beta.2",
|
|
22
|
+
"@sheinx/theme": "3.4.0-beta.2",
|
|
23
23
|
"classnames": "^2.0.0",
|
|
24
24
|
"immer": "^10.0.0",
|
|
25
25
|
"deep-eql": "^4.0.0"
|