@darajs/ui-components 1.21.3 → 1.21.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.
@@ -1,6 +1,8 @@
1
1
  interface DotsProps {
2
2
  className?: string;
3
3
  style?: React.CSSProperties;
4
+ grey3?: string;
5
+ grey4?: string;
4
6
  }
5
7
  declare function Dots(props: DotsProps): JSX.Element;
6
8
  export default Dots;
@@ -1 +1 @@
1
- {"version":3,"file":"dots.d.ts","sourceRoot":"","sources":["../../src/dots/dots.tsx"],"names":[],"mappings":"AA2EA,UAAU,SAAS;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC/B;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAM3C;AAED,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"dots.d.ts","sourceRoot":"","sources":["../../src/dots/dots.tsx"],"names":[],"mappings":"AA2EA,UAAU,SAAS;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAM3C;AAED,eAAe,IAAI,CAAC"}
package/dist/dots/dots.js CHANGED
@@ -14,9 +14,9 @@ const FlashingDots = styled.div `
14
14
  width: 10px;
15
15
  height: 10px;
16
16
 
17
- color: ${(props) => props.theme.colors.grey4};
17
+ color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
18
18
 
19
- background-color: ${(props) => props.theme.colors.grey4};
19
+ background-color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
20
20
  border-radius: 5px;
21
21
 
22
22
  animation: dot-flashing 1s infinite linear alternate;
@@ -36,9 +36,9 @@ const FlashingDots = styled.div `
36
36
  width: 10px;
37
37
  height: 10px;
38
38
 
39
- color: ${(props) => props.theme.colors.grey4};
39
+ color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
40
40
 
41
- background-color: ${(props) => props.theme.colors.grey4};
41
+ background-color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
42
42
  border-radius: 5px;
43
43
 
44
44
  animation: dot-flashing 1s infinite alternate;
@@ -51,9 +51,9 @@ const FlashingDots = styled.div `
51
51
  width: 10px;
52
52
  height: 10px;
53
53
 
54
- color: ${(props) => props.theme.colors.grey4};
54
+ color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
55
55
 
56
- background-color: ${(props) => props.theme.colors.grey4};
56
+ background-color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
57
57
  border-radius: 5px;
58
58
 
59
59
  animation: dot-flashing 1s infinite alternate;
@@ -62,17 +62,17 @@ const FlashingDots = styled.div `
62
62
 
63
63
  @keyframes dot-flashing {
64
64
  0% {
65
- background-color: ${(props) => props.theme.colors.grey4};
65
+ background-color: ${(props) => { var _a; return (_a = props.$grey4) !== null && _a !== void 0 ? _a : props.theme.colors.grey4; }};
66
66
  }
67
67
 
68
68
  50%,
69
69
  100% {
70
- background-color: ${(props) => props.theme.colors.grey3};
70
+ background-color: ${(props) => { var _a; return (_a = props.$grey3) !== null && _a !== void 0 ? _a : props.theme.colors.grey3; }};
71
71
  }
72
72
  }
73
73
  `;
74
74
  function Dots(props) {
75
- return (_jsx(Wrapper, { className: props.className, style: props.style, children: _jsx(FlashingDots, { "data-testid": "LOADING" }) }));
75
+ return (_jsx(Wrapper, { className: props.className, style: props.style, children: _jsx(FlashingDots, { "$grey3": props.grey3, "$grey4": props.grey4, "data-testid": "LOADING" }) }));
76
76
  }
77
77
  export default Dots;
78
78
  //# sourceMappingURL=dots.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dots.js","sourceRoot":"","sources":["../../src/dots/dots.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAE/C,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAOzB,CAAC;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;aAMlB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;wBAExB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;;;;;;;;;;;;;iBAoB1C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;4BAExB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;;;;;;iBAa9C,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;4BAExB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;;;;;gCAS/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;;;gCAKnC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK;;;CAGlE,CAAC;AAOF,SAAS,IAAI,CAAC,KAAgB;IAC1B,OAAO,CACH,KAAC,OAAO,IAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,YACnD,KAAC,YAAY,mBAAa,SAAS,GAA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,CAAA,EAAA;;;;;gCAKnD,CAAC,KAAK,EAAE,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,MAAM,mCAAI,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA,EAAA;;;CAGlF,CAAC;AASF,SAAS,IAAI,CAAC,KAAgB;IAC1B,OAAO,CACH,KAAC,OAAO,IAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,YACnD,KAAC,YAAY,cAAS,KAAK,CAAC,KAAK,YAAU,KAAK,CAAC,KAAK,iBAAc,SAAS,GAAG,GAC1E,CACb,CAAC;AACN,CAAC;AAED,eAAe,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darajs/ui-components",
3
- "version": "1.21.3",
3
+ "version": "1.21.4",
4
4
  "description": "The core React UI kit for Dara",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -25,9 +25,9 @@
25
25
  "@babel/preset-env": "^7.15.6",
26
26
  "@babel/preset-react": "^7.14.5",
27
27
  "@babel/preset-typescript": "^7.15.0",
28
- "@darajs/eslint-config": "1.21.3",
29
- "@darajs/prettier-config": "1.21.3",
30
- "@darajs/stylelint-config": "1.21.3",
28
+ "@darajs/eslint-config": "1.21.4",
29
+ "@darajs/prettier-config": "1.21.4",
30
+ "@darajs/stylelint-config": "1.21.4",
31
31
  "@storybook/react-vite": "^9.0.17",
32
32
  "@testing-library/dom": "^9.3.0",
33
33
  "@testing-library/jest-dom": "^5.16.5",
@@ -62,9 +62,9 @@
62
62
  "vite": "7.0.4"
63
63
  },
64
64
  "dependencies": {
65
- "@darajs/styled-components": "1.21.3",
66
- "@darajs/ui-icons": "1.21.3",
67
- "@darajs/ui-utils": "1.21.3",
65
+ "@darajs/styled-components": "1.21.4",
66
+ "@darajs/ui-icons": "1.21.4",
67
+ "@darajs/ui-utils": "1.21.4",
68
68
  "@floating-ui/react": "^0.26.12",
69
69
  "@fortawesome/free-regular-svg-icons": "~6.4.0",
70
70
  "@fortawesome/free-solid-svg-icons": "~6.4.0",
@@ -98,5 +98,5 @@
98
98
  "publishConfig": {
99
99
  "access": "public"
100
100
  },
101
- "gitHead": "ca0217cbace44d9a817b6a4d0b188b0ed00a8f58"
101
+ "gitHead": "56ad6e864227173e0941791008ee1fd19462e961"
102
102
  }