@propellerads/card 4.0.0 → 4.0.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.
|
@@ -9,12 +9,8 @@ var styled = require('styled-components');
|
|
|
9
9
|
var styled__default = _interopDefault(styled);
|
|
10
10
|
var stylevariables = require('@propellerads/stylevariables');
|
|
11
11
|
|
|
12
|
-
function _taggedTemplateLiteralLoose(
|
|
13
|
-
|
|
14
|
-
raw = strings.slice(0);
|
|
15
|
-
}
|
|
16
|
-
strings.raw = raw;
|
|
17
|
-
return strings;
|
|
12
|
+
function _taggedTemplateLiteralLoose(e, t) {
|
|
13
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.cjs.development.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.cjs.development.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/card.esm.js
CHANGED
|
@@ -2,12 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { borderRadius, gray95, white, spacing, actionColor, fontBig, lineHeight, black } from '@propellerads/stylevariables';
|
|
4
4
|
|
|
5
|
-
function _taggedTemplateLiteralLoose(
|
|
6
|
-
|
|
7
|
-
raw = strings.slice(0);
|
|
8
|
-
}
|
|
9
|
-
strings.raw = raw;
|
|
10
|
-
return strings;
|
|
5
|
+
function _taggedTemplateLiteralLoose(e, t) {
|
|
6
|
+
return t || (t = e.slice(0)), e.raw = t, e;
|
|
11
7
|
}
|
|
12
8
|
|
|
13
9
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
package/dist/card.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/style.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
+
interface IProps {
|
|
2
|
+
isActive: boolean;
|
|
3
|
+
padding?: number;
|
|
4
|
+
borderRadius?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
customStyles?: {
|
|
7
|
+
padding?: number;
|
|
8
|
+
borderRadius?: number;
|
|
9
|
+
bgColor?: string;
|
|
10
|
+
activeBgColor?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
1
13
|
declare const StyledCard: import("styled-components").StyledComponent<"div", any, {
|
|
2
14
|
className: string | undefined;
|
|
3
|
-
}, "className">;
|
|
15
|
+
} & IProps, "className">;
|
|
4
16
|
declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
17
|
declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
18
|
declare const Label: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propellerads/card",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/card.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -16,17 +16,16 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/propellerads/ui-components#readme",
|
|
18
18
|
"scripts": {
|
|
19
|
-
"prepublishOnly": "tsdx build",
|
|
20
19
|
"start": "tsdx watch",
|
|
21
20
|
"build": "tsdx build"
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
|
-
"@propellerads/stylevariables": "^
|
|
23
|
+
"@propellerads/stylevariables": "^2.0.1"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"tsdx": "
|
|
28
|
-
"tslib": "
|
|
29
|
-
"typescript": "
|
|
26
|
+
"tsdx": "0.14.1",
|
|
27
|
+
"tslib": "2.6.2",
|
|
28
|
+
"typescript": "4.9.5"
|
|
30
29
|
},
|
|
31
30
|
"peerDependencies": {
|
|
32
31
|
"react": ">=18 <19",
|