@pie-lib/icons 0.1.0
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/correct-icon.d.ts +34 -0
- package/dist/correct-icon.d.ts.map +1 -0
- package/dist/correct-icon.js +59 -0
- package/dist/correct-response-icon.d.ts +24 -0
- package/dist/correct-response-icon.d.ts.map +1 -0
- package/dist/correct-response-icon.js +96 -0
- package/dist/icon-base.d.ts +34 -0
- package/dist/icon-base.d.ts.map +1 -0
- package/dist/icon-base.js +40 -0
- package/dist/icon-root.d.ts +71 -0
- package/dist/icon-root.d.ts.map +1 -0
- package/dist/icon-root.js +57 -0
- package/dist/incorrect-icon.d.ts +34 -0
- package/dist/incorrect-icon.d.ts.map +1 -0
- package/dist/incorrect-icon.js +71 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/instructions-icon.d.ts +14 -0
- package/dist/instructions-icon.d.ts.map +1 -0
- package/dist/instructions-icon.js +179 -0
- package/dist/learn-more-icon.d.ts +19 -0
- package/dist/learn-more-icon.d.ts.map +1 -0
- package/dist/learn-more-icon.js +82 -0
- package/dist/nothing-submitted-icon.d.ts +15 -0
- package/dist/nothing-submitted-icon.d.ts.map +1 -0
- package/dist/nothing-submitted-icon.js +92 -0
- package/dist/partially-correct-icon.d.ts +34 -0
- package/dist/partially-correct-icon.d.ts.map +1 -0
- package/dist/partially-correct-icon.js +64 -0
- package/dist/show-rationale-icon.d.ts +14 -0
- package/dist/show-rationale-icon.d.ts.map +1 -0
- package/dist/show-rationale-icon.js +136 -0
- package/dist/sized.d.ts +22 -0
- package/dist/sized.d.ts.map +1 -0
- package/dist/sized.js +19 -0
- package/package.json +32 -0
- package/src/correct-icon.tsx +64 -0
- package/src/correct-response-icon.tsx +116 -0
- package/src/icon-base.tsx +65 -0
- package/src/icon-root.tsx +63 -0
- package/src/incorrect-icon.tsx +77 -0
- package/src/index.ts +29 -0
- package/src/instructions-icon.tsx +199 -0
- package/src/learn-more-icon.tsx +104 -0
- package/src/nothing-submitted-icon.tsx +146 -0
- package/src/partially-correct-icon.tsx +66 -0
- package/src/show-rationale-icon.tsx +155 -0
- package/src/sized.tsx +35 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/correct-icon.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
export declare const Correct: {
|
|
11
|
+
new (): {
|
|
12
|
+
render(): JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
propTypes: {
|
|
15
|
+
iconSet: PropTypes.Requireable<string>;
|
|
16
|
+
shape: PropTypes.Requireable<string>;
|
|
17
|
+
category: PropTypes.Requireable<string | undefined>;
|
|
18
|
+
open: PropTypes.Requireable<boolean>;
|
|
19
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
20
|
+
fg: PropTypes.Requireable<string>;
|
|
21
|
+
bg: PropTypes.Requireable<string>;
|
|
22
|
+
};
|
|
23
|
+
defaultProps: {
|
|
24
|
+
iconSet: string;
|
|
25
|
+
shape: string;
|
|
26
|
+
category: undefined;
|
|
27
|
+
open: boolean;
|
|
28
|
+
size: number;
|
|
29
|
+
fg: string;
|
|
30
|
+
bg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default Correct;
|
|
34
|
+
//# sourceMappingURL=correct-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correct-icon.d.ts","sourceRoot":"","sources":["../src/correct-icon.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;AA8BnC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC;AAsB9C,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import e from "./icon-base.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import t from "prop-types";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/correct-icon.tsx
|
|
6
|
+
var i = ({ fill: e }) => /* @__PURE__ */ r("g", {
|
|
7
|
+
transform: "translate(1, 0)",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ n("path", {
|
|
10
|
+
d: "M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2\n c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z",
|
|
11
|
+
fill: e
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ n("rect", {
|
|
14
|
+
x: "21.1",
|
|
15
|
+
y: "13.1",
|
|
16
|
+
width: "3.7",
|
|
17
|
+
height: "4.7",
|
|
18
|
+
fill: e
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ n("rect", {
|
|
21
|
+
x: "12.7",
|
|
22
|
+
y: "13.1",
|
|
23
|
+
width: "3.7",
|
|
24
|
+
height: "4.7",
|
|
25
|
+
fill: e
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
});
|
|
29
|
+
i.propTypes = { fill: t.string.isRequired };
|
|
30
|
+
var a = ({ fill: e, x: t = 0, y: r = 0 }) => /* @__PURE__ */ n("polygon", {
|
|
31
|
+
transform: `translate(${t}, ${r})`,
|
|
32
|
+
points: "19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4",
|
|
33
|
+
fill: e
|
|
34
|
+
});
|
|
35
|
+
a.propTypes = {
|
|
36
|
+
fill: t.string.isRequired,
|
|
37
|
+
x: t.number,
|
|
38
|
+
y: t.number
|
|
39
|
+
};
|
|
40
|
+
var o = e(a, i);
|
|
41
|
+
o.propTypes = {
|
|
42
|
+
iconSet: t.oneOf(["emoji", "check"]),
|
|
43
|
+
shape: t.oneOf(["round", "square"]),
|
|
44
|
+
category: t.oneOf(["feedback", void 0]),
|
|
45
|
+
open: t.bool,
|
|
46
|
+
fg: t.string,
|
|
47
|
+
bg: t.string,
|
|
48
|
+
size: t.oneOfType([t.string, t.number])
|
|
49
|
+
}, o.defaultProps = {
|
|
50
|
+
iconSet: "check",
|
|
51
|
+
shape: "round",
|
|
52
|
+
category: void 0,
|
|
53
|
+
open: !1,
|
|
54
|
+
fg: "#4aaf46",
|
|
55
|
+
bg: "#f8ffe2",
|
|
56
|
+
size: 30
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
export { o as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/correct-response-icon.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
declare const CorrectResponse: {
|
|
11
|
+
({ open, size }: {
|
|
12
|
+
open: any;
|
|
13
|
+
size: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
propTypes: {
|
|
16
|
+
open: PropTypes.Requireable<boolean>;
|
|
17
|
+
size: PropTypes.Requireable<string>;
|
|
18
|
+
};
|
|
19
|
+
defaultProps: {
|
|
20
|
+
open: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default CorrectResponse;
|
|
24
|
+
//# sourceMappingURL=correct-response-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correct-response-icon.d.ts","sourceRoot":"","sources":["../src/correct-response-icon.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,SAAS,MAAM,YAAY,CAAC;AA6EnC,QAAA,MAAM,eAAe;;;;;;;;;;;;CAiBpB,CAAC;AAWF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import e from "prop-types";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import { styled as r } from "@mui/material/styles";
|
|
5
|
+
//#region src/correct-response-icon.tsx
|
|
6
|
+
var i = ({ bgFill: e, fgFill: r }) => /* @__PURE__ */ n("svg", {
|
|
7
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
8
|
+
version: "1.1",
|
|
9
|
+
viewBox: "-283 359 34 35",
|
|
10
|
+
style: { enableBackground: "new -283 359 34 35" },
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ t("circle", {
|
|
13
|
+
cx: "-266",
|
|
14
|
+
cy: "375.9",
|
|
15
|
+
r: "14",
|
|
16
|
+
fill: e
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ t("path", {
|
|
19
|
+
d: "M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z\n M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z",
|
|
20
|
+
fill: e
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ t("polygon", {
|
|
23
|
+
points: "-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6",
|
|
24
|
+
fill: r
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
i.propTypes = {
|
|
29
|
+
bgFill: e.string.isRequired,
|
|
30
|
+
fgFill: e.string.isRequired
|
|
31
|
+
};
|
|
32
|
+
var a = ({ bgFill: e, fgFill: r, borderFill: i }) => /* @__PURE__ */ n("svg", {
|
|
33
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
34
|
+
version: "1.1",
|
|
35
|
+
viewBox: "-129.5 127 34 35",
|
|
36
|
+
style: { enableBackground: "new -129.5 127 34 35" },
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ t("path", {
|
|
39
|
+
style: {
|
|
40
|
+
fill: "#D0CAC5",
|
|
41
|
+
stroke: "#E6E3E0",
|
|
42
|
+
strokeWidth: .75,
|
|
43
|
+
strokeMiterlimit: 10
|
|
44
|
+
},
|
|
45
|
+
d: "M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5\n C-97.4,153.5-104.3,160.4-112.9,160.4z"
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ t("path", {
|
|
48
|
+
style: {
|
|
49
|
+
fill: "#B3ABA4",
|
|
50
|
+
stroke: "#CDC7C2",
|
|
51
|
+
strokeWidth: .5,
|
|
52
|
+
strokeMiterlimit: 10
|
|
53
|
+
},
|
|
54
|
+
d: "M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z"
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ t("circle", {
|
|
57
|
+
cx: "-114.2",
|
|
58
|
+
cy: "143.5",
|
|
59
|
+
r: "14",
|
|
60
|
+
fill: e
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ t("path", {
|
|
63
|
+
d: "M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z\n M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z",
|
|
64
|
+
fill: i
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ t("polygon", {
|
|
67
|
+
points: "-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2",
|
|
68
|
+
fill: r
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
});
|
|
72
|
+
a.propTypes = {
|
|
73
|
+
bgFill: e.string.isRequired,
|
|
74
|
+
fgFill: e.string.isRequired,
|
|
75
|
+
borderFill: e.string.isRequired
|
|
76
|
+
};
|
|
77
|
+
var o = r("div")(({ size: e }) => ({
|
|
78
|
+
width: e || "25px",
|
|
79
|
+
height: e || "25px"
|
|
80
|
+
})), s = ({ open: e, size: n }) => /* @__PURE__ */ t(o, {
|
|
81
|
+
size: n,
|
|
82
|
+
children: e ? /* @__PURE__ */ t(i, {
|
|
83
|
+
bgFill: "#bce2ff",
|
|
84
|
+
fgFill: "#1a9cff"
|
|
85
|
+
}) : /* @__PURE__ */ t(a, {
|
|
86
|
+
bgFill: "white",
|
|
87
|
+
fgFill: "#1a9cff",
|
|
88
|
+
borderFill: "#bce2ff"
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
s.propTypes = {
|
|
92
|
+
open: e.bool,
|
|
93
|
+
size: e.string
|
|
94
|
+
}, s.defaultProps = { open: !1 };
|
|
95
|
+
//#endregion
|
|
96
|
+
export { s as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/icon-base.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
declare const _default: (Action: any, Emoji: any) => {
|
|
11
|
+
new (): {
|
|
12
|
+
render(): JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
propTypes: {
|
|
15
|
+
iconSet: PropTypes.Requireable<string>;
|
|
16
|
+
shape: PropTypes.Requireable<string>;
|
|
17
|
+
category: PropTypes.Requireable<string | undefined>;
|
|
18
|
+
open: PropTypes.Requireable<boolean>;
|
|
19
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
20
|
+
fg: PropTypes.Requireable<string>;
|
|
21
|
+
bg: PropTypes.Requireable<string>;
|
|
22
|
+
};
|
|
23
|
+
defaultProps: {
|
|
24
|
+
iconSet: string;
|
|
25
|
+
shape: string;
|
|
26
|
+
category: undefined;
|
|
27
|
+
open: boolean;
|
|
28
|
+
size: number;
|
|
29
|
+
fg: string;
|
|
30
|
+
bg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=icon-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-base.d.ts","sourceRoot":"","sources":["../src/icon-base.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;yBAGnB,WAAM,EAAE,UAAK;;;;;;;;;;;;;;;;;;;;;;;AAA7B,wBAkDE"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Circle as e, IconRoot as t, RoundFeedbackBox as n, Square as r, SquareFeedbackBox as i } from "./icon-root.js";
|
|
2
|
+
import a from "react";
|
|
3
|
+
import o from "prop-types";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
//#region src/icon-base.tsx
|
|
6
|
+
var l = (l, u) => {
|
|
7
|
+
class d extends a.Component {
|
|
8
|
+
static propTypes = {
|
|
9
|
+
iconSet: o.oneOf(["emoji", "check"]),
|
|
10
|
+
shape: o.oneOf(["round", "square"]),
|
|
11
|
+
category: o.oneOf(["feedback", void 0]),
|
|
12
|
+
open: o.bool,
|
|
13
|
+
size: o.oneOfType([o.number, o.string]),
|
|
14
|
+
fg: o.string,
|
|
15
|
+
bg: o.string
|
|
16
|
+
};
|
|
17
|
+
static defaultProps = {
|
|
18
|
+
iconSet: "check",
|
|
19
|
+
shape: "round",
|
|
20
|
+
category: void 0,
|
|
21
|
+
open: !1,
|
|
22
|
+
size: 30,
|
|
23
|
+
fg: "#4aaf46",
|
|
24
|
+
bg: "#f8ffe2"
|
|
25
|
+
};
|
|
26
|
+
render() {
|
|
27
|
+
let { iconSet: a, shape: o, category: d, open: f, size: p, fg: m, bg: h } = this.props, g = s(a === "check" ? l : u, { fill: m }), _ = s(a === "check" ? l : u, { fill: h });
|
|
28
|
+
return f ? /* @__PURE__ */ s(t, {
|
|
29
|
+
size: p,
|
|
30
|
+
children: _
|
|
31
|
+
}) : /* @__PURE__ */ c(t, {
|
|
32
|
+
size: p,
|
|
33
|
+
children: [s(d === "feedback" ? o === "round" ? n : i : o === "round" ? e : r, { fill: h }), g]
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return d;
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { l as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/icon-root.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
export declare const normalizeSize: (size: any) => string;
|
|
11
|
+
export declare const IconRoot: {
|
|
12
|
+
({ size, children, sx }: {
|
|
13
|
+
size: any;
|
|
14
|
+
children: any;
|
|
15
|
+
sx: any;
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
propTypes: {
|
|
18
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
19
|
+
children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
20
|
+
sx: PropTypes.Requireable<object>;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const Tick: {
|
|
24
|
+
({ fill }: {
|
|
25
|
+
fill: any;
|
|
26
|
+
}): JSX.Element;
|
|
27
|
+
propTypes: {
|
|
28
|
+
fill: PropTypes.Validator<string>;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const SquareFeedbackBox: {
|
|
32
|
+
({ fill }: {
|
|
33
|
+
fill: any;
|
|
34
|
+
}): JSX.Element;
|
|
35
|
+
propTypes: {
|
|
36
|
+
fill: PropTypes.Validator<string>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const RoundFeedbackBox: {
|
|
40
|
+
({ fill }: {
|
|
41
|
+
fill: any;
|
|
42
|
+
}): JSX.Element;
|
|
43
|
+
propTypes: {
|
|
44
|
+
fill: PropTypes.Validator<string>;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export declare const Circle: {
|
|
48
|
+
({ fill }: {
|
|
49
|
+
fill: any;
|
|
50
|
+
}): JSX.Element;
|
|
51
|
+
propTypes: {
|
|
52
|
+
fill: PropTypes.Validator<string>;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export declare const Square: {
|
|
56
|
+
({ fill }: {
|
|
57
|
+
fill: any;
|
|
58
|
+
}): JSX.Element;
|
|
59
|
+
propTypes: {
|
|
60
|
+
fill: PropTypes.Validator<string>;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export declare const getStyles: (name: any, fg: any, bg: any) => {
|
|
64
|
+
bg: {
|
|
65
|
+
fill: any;
|
|
66
|
+
};
|
|
67
|
+
fg: {
|
|
68
|
+
fill: any;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=icon-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-root.d.ts","sourceRoot":"","sources":["../src/icon-root.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,aAAa,GAAI,SAAI,WAEjC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;CAMpB,CAAC;AASF,eAAO,MAAM,IAAI;;;;;;;CAEhB,CAAC;AAIF,eAAO,MAAM,iBAAiB;;;;;;;CAE7B,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;;;;;CAM5B,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;CAA4F,CAAC;AAGhH,eAAO,MAAM,MAAM;;;;;;;CAA4E,CAAC;AAGhG,eAAO,MAAM,SAAS,GAAI,SAAI,EAAE,OAAE,EAAE,OAAE;;;;;;;CAGpC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import e from "./sized.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import t from "prop-types";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
//#region src/icon-root.tsx
|
|
6
|
+
var r = ({ size: t, children: r, sx: i }) => /* @__PURE__ */ n(e, {
|
|
7
|
+
size: t,
|
|
8
|
+
children: /* @__PURE__ */ n("svg", {
|
|
9
|
+
preserveAspectRatio: "xMinYMin meet",
|
|
10
|
+
viewBox: "0 0 44 40",
|
|
11
|
+
style: {
|
|
12
|
+
enableBackground: "new 0 0 44 40",
|
|
13
|
+
...i
|
|
14
|
+
},
|
|
15
|
+
children: r
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
r.propTypes = {
|
|
19
|
+
size: t.oneOfType([t.string, t.number]),
|
|
20
|
+
children: t.oneOfType([t.arrayOf(t.node), t.node]).isRequired,
|
|
21
|
+
sx: t.object
|
|
22
|
+
};
|
|
23
|
+
var i = ({ fill: e }) => /* @__PURE__ */ n("polygon", {
|
|
24
|
+
points: "17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7",
|
|
25
|
+
fill: e
|
|
26
|
+
});
|
|
27
|
+
i.propTypes = { fill: t.string.isRequired };
|
|
28
|
+
var a = ({ fill: e }) => /* @__PURE__ */ n("polygon", {
|
|
29
|
+
transform: "translate(2, 0)",
|
|
30
|
+
points: "34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3",
|
|
31
|
+
fill: e
|
|
32
|
+
});
|
|
33
|
+
a.propTypes = { fill: t.string.isRequired };
|
|
34
|
+
var o = ({ fill: e }) => /* @__PURE__ */ n("path", {
|
|
35
|
+
transform: "translate(1, 0)",
|
|
36
|
+
d: "M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z",
|
|
37
|
+
fill: e
|
|
38
|
+
});
|
|
39
|
+
o.propTypes = { fill: t.string.isRequired };
|
|
40
|
+
var s = ({ fill: e }) => /* @__PURE__ */ n("circle", {
|
|
41
|
+
transform: "translate(-3,0)",
|
|
42
|
+
cx: "23",
|
|
43
|
+
cy: "20.4",
|
|
44
|
+
r: "16",
|
|
45
|
+
fill: e
|
|
46
|
+
});
|
|
47
|
+
s.propTypes = { fill: t.string.isRequired };
|
|
48
|
+
var c = ({ fill: e }) => /* @__PURE__ */ n("rect", {
|
|
49
|
+
x: "3.6",
|
|
50
|
+
y: "4.1",
|
|
51
|
+
width: "32",
|
|
52
|
+
height: "32",
|
|
53
|
+
fill: e
|
|
54
|
+
});
|
|
55
|
+
c.propTypes = { fill: t.string.isRequired };
|
|
56
|
+
//#endregion
|
|
57
|
+
export { s as Circle, r as IconRoot, o as RoundFeedbackBox, c as Square, a as SquareFeedbackBox };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/incorrect-icon.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
export declare const Incorrect: {
|
|
11
|
+
new (): {
|
|
12
|
+
render(): JSX.Element;
|
|
13
|
+
};
|
|
14
|
+
propTypes: {
|
|
15
|
+
iconSet: PropTypes.Requireable<string>;
|
|
16
|
+
shape: PropTypes.Requireable<string>;
|
|
17
|
+
category: PropTypes.Requireable<string | undefined>;
|
|
18
|
+
open: PropTypes.Requireable<boolean>;
|
|
19
|
+
size: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
20
|
+
fg: PropTypes.Requireable<string>;
|
|
21
|
+
bg: PropTypes.Requireable<string>;
|
|
22
|
+
};
|
|
23
|
+
defaultProps: {
|
|
24
|
+
iconSet: string;
|
|
25
|
+
shape: string;
|
|
26
|
+
category: undefined;
|
|
27
|
+
open: boolean;
|
|
28
|
+
size: number;
|
|
29
|
+
fg: string;
|
|
30
|
+
bg: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default Incorrect;
|
|
34
|
+
//# sourceMappingURL=incorrect-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incorrect-icon.d.ts","sourceRoot":"","sources":["../src/incorrect-icon.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;AA2CnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;CAAsB,CAAC;AAsB7C,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import e from "./icon-base.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import t from "prop-types";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/incorrect-icon.tsx
|
|
6
|
+
var i = ({ fill: e }) => /* @__PURE__ */ r("g", {
|
|
7
|
+
transform: "translate(0.5, 0.5)",
|
|
8
|
+
children: [/* @__PURE__ */ n("rect", {
|
|
9
|
+
x: "11",
|
|
10
|
+
y: "17.3",
|
|
11
|
+
transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)",
|
|
12
|
+
width: "16.6",
|
|
13
|
+
height: "3.7",
|
|
14
|
+
fill: e
|
|
15
|
+
}), /* @__PURE__ */ n("rect", {
|
|
16
|
+
x: "17.4",
|
|
17
|
+
y: "10.7",
|
|
18
|
+
transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)",
|
|
19
|
+
width: "3.7",
|
|
20
|
+
height: "16.6",
|
|
21
|
+
fill: e
|
|
22
|
+
})]
|
|
23
|
+
});
|
|
24
|
+
i.propTypes = { fill: t.string.isRequired };
|
|
25
|
+
var a = ({ fill: e }) => /* @__PURE__ */ r("g", {
|
|
26
|
+
transform: "translate(1,0)",
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ n("rect", {
|
|
29
|
+
x: "21",
|
|
30
|
+
y: "12.9",
|
|
31
|
+
width: "3.7",
|
|
32
|
+
height: "4.7",
|
|
33
|
+
fill: e
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ n("rect", {
|
|
36
|
+
x: "12.7",
|
|
37
|
+
y: "12.9",
|
|
38
|
+
width: "3.7",
|
|
39
|
+
height: "4.7",
|
|
40
|
+
fill: e
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ n("rect", {
|
|
43
|
+
x: "12.2",
|
|
44
|
+
y: "22.5",
|
|
45
|
+
width: "13",
|
|
46
|
+
height: "3.3",
|
|
47
|
+
fill: e
|
|
48
|
+
})
|
|
49
|
+
]
|
|
50
|
+
});
|
|
51
|
+
a.propTypes = { fill: t.string.isRequired };
|
|
52
|
+
var o = e(i, a);
|
|
53
|
+
o.propTypes = {
|
|
54
|
+
iconSet: t.oneOf(["emoji", "check"]),
|
|
55
|
+
shape: t.oneOf(["round", "square"]),
|
|
56
|
+
category: t.oneOf(["feedback", void 0]),
|
|
57
|
+
open: t.bool,
|
|
58
|
+
fg: t.string,
|
|
59
|
+
bg: t.string,
|
|
60
|
+
size: t.oneOfType([t.string, t.number])
|
|
61
|
+
}, o.defaultProps = {
|
|
62
|
+
iconSet: "check",
|
|
63
|
+
shape: "round",
|
|
64
|
+
category: void 0,
|
|
65
|
+
open: !1,
|
|
66
|
+
fg: "#fcb733",
|
|
67
|
+
bg: "#fbf2e3",
|
|
68
|
+
size: 30
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { o as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/index.js
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import Correct from './correct-icon.js';
|
|
10
|
+
import CorrectResponse from './correct-response-icon.js';
|
|
11
|
+
import Incorrect from './incorrect-icon.js';
|
|
12
|
+
import Instructions from './instructions-icon.js';
|
|
13
|
+
import LearnMore from './learn-more-icon.js';
|
|
14
|
+
import NothingSubmitted from './nothing-submitted-icon.js';
|
|
15
|
+
import PartiallyCorrect from './partially-correct-icon.js';
|
|
16
|
+
import ShowRationale from './show-rationale-icon.js';
|
|
17
|
+
export { Correct, CorrectResponse, Incorrect, Instructions, LearnMore, NothingSubmitted, PartiallyCorrect, ShowRationale, };
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAC7C,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,gBAAgB,MAAM,6BAA6B,CAAC;AAC3D,OAAO,aAAa,MAAM,0BAA0B,CAAC;AAErD,OAAO,EACL,OAAO,EACP,eAAe,EACf,SAAS,EACT,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,GACd,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./correct-icon.js";
|
|
2
|
+
import t from "./correct-response-icon.js";
|
|
3
|
+
import n from "./incorrect-icon.js";
|
|
4
|
+
import r from "./instructions-icon.js";
|
|
5
|
+
import i from "./learn-more-icon.js";
|
|
6
|
+
import a from "./nothing-submitted-icon.js";
|
|
7
|
+
import o from "./partially-correct-icon.js";
|
|
8
|
+
import s from "./show-rationale-icon.js";
|
|
9
|
+
export { e as Correct, t as CorrectResponse, n as Incorrect, r as Instructions, i as LearnMore, a as NothingSubmitted, o as PartiallyCorrect, s as ShowRationale };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-lib/packages/icons/src/instructions-icon.jsx
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export default class Instructions extends React.Component {
|
|
11
|
+
constructor(props: any);
|
|
12
|
+
render(): JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=instructions-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instructions-icon.d.ts","sourceRoot":"","sources":["../src/instructions-icon.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAC;AA6J1B,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,SAAS;gBAC3C,KAAK,KAAA;IAIjB,MAAM;CAiBP"}
|