@aloudata/aloudata-design 2.4.1 → 2.5.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/dist/index.d.ts CHANGED
@@ -5,6 +5,8 @@ export type { AlertProps } from './Alert';
5
5
  export { default as App } from './App';
6
6
  export { default as Avatar } from './Avatar';
7
7
  export type { IAvatarProps as AvatarProps } from './Avatar';
8
+ export { default as Badge } from './Badge';
9
+ export type { BadgeProps } from './Badge';
8
10
  export { default as Breadcrumb } from './Breadcrumb';
9
11
  export type { BreadcrumbItemProps, BreadcrumbProps } from './Breadcrumb';
10
12
  export { default as Button } from './Button';
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ export { default as AProgress } from "./AProgress";
4
4
  export { default as Alert } from "./Alert";
5
5
  export { default as App } from "./App";
6
6
  export { default as Avatar } from "./Avatar";
7
+ export { default as Badge } from "./Badge";
7
8
  export { default as Breadcrumb } from "./Breadcrumb";
8
9
  export { default as Button } from "./Button";
9
10
  export { default as Card } from "./Card";
package/dist/index.less CHANGED
@@ -53,3 +53,4 @@
53
53
  @import './RenameInput/style/index.less';
54
54
  @import './User/style/index.less';
55
55
  @import './Watermark/style/index.less';
56
+ @import './Badge/style/index.less';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloudata/aloudata-design",
3
- "version": "2.4.1",
3
+ "version": "2.5.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: () => React.JSX.Element;
4
- export default _default;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import "./index.less";
3
- export default (function () {
4
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
5
- className: "spinner"
6
- }, /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null)));
7
- });
@@ -1,41 +0,0 @@
1
- .spinner {
2
- --gap: 5px;
3
- --clr: #d62d20;
4
- --height: 23px;
5
-
6
- width: 100px;
7
- height: 100px;
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- gap: var(--gap);
12
- }
13
-
14
- .spinner span {
15
- background: var(--clr);
16
- width: 6px;
17
- height: var(--height);
18
- animation: grow 1s ease-in-out infinite;
19
- }
20
-
21
- .spinner span:nth-child(2) {
22
- animation: grow 1s ease-in-out 0.15s infinite;
23
- }
24
-
25
- .spinner span:nth-child(3) {
26
- animation: grow 1s ease-in-out 0.3s infinite;
27
- }
28
-
29
- .spinner span:nth-child(4) {
30
- animation: grow 1s ease-in-out 0.475s infinite;
31
- }
32
-
33
- @keyframes grow {
34
- 0%,100% {
35
- transform: scaleY(1);
36
- }
37
-
38
- 50% {
39
- transform: scaleY(1.8);
40
- }
41
- }