jcicl 0.0.130 → 0.0.133
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/.chunks/DefaultPropsProvider.js +439 -439
- package/.chunks/Portal.js +42 -42
- package/.chunks/{Input.js → TextField.js} +708 -794
- package/.chunks/TransitionGroupContext.js +6 -7
- package/AppContainer/AppContainer.d.ts +11 -4
- package/AppContainer/AppContainer.js +487 -480
- package/AppHeader/AppHeader.d.ts +7 -2
- package/AppHeader/AppHeader.js +98 -70
- package/Button/Button.d.ts +2 -1
- package/Button/Button.js +107 -89
- package/EditableInfoCard/EditableInfoCard.js +1 -1
- package/Flex/Flex.js +12 -11
- package/Icon/Icon.d.ts +1 -0
- package/Icon/Icon.js +22 -18
- package/Input/Input.d.ts +0 -3
- package/Input/Input.js +41 -6
- package/Input/index.js +2 -2
- package/LabeledInput/LabeledInput.js +4 -4
- package/ListButton/ListButton.d.ts +1 -1
- package/Search/Search.d.ts +15 -0
- package/Search/Search.js +192 -0
- package/Search/index.d.ts +1 -0
- package/Search/index.js +4 -0
- package/animation/Pulse/Pulse.d.ts +11 -0
- package/animation/Pulse/Pulse.js +58 -0
- package/animation/Pulse/index.d.ts +1 -0
- package/animation/Pulse/index.js +4 -0
- package/index.d.ts +0 -1
- package/index.js +48 -50
- package/package.json +1 -1
- package/theme.d.ts +6 -0
- package/theme.js +5 -0
- package/Avatar/Avatar.d.ts +0 -8
- package/Avatar/Avatar.js +0 -38
- package/Avatar/index.d.ts +0 -1
- package/Avatar/index.js +0 -4
package/theme.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface ThemeColors {
|
|
|
15
15
|
darkGreenO22: string;
|
|
16
16
|
darkGreenO99: string;
|
|
17
17
|
darkRed: string;
|
|
18
|
+
emerald: string;
|
|
18
19
|
gold: string;
|
|
19
20
|
gold2: string;
|
|
20
21
|
gray: string;
|
|
@@ -26,10 +27,14 @@ export interface ThemeColors {
|
|
|
26
27
|
lightRed: string;
|
|
27
28
|
lovemist: string;
|
|
28
29
|
maroon: string;
|
|
30
|
+
medina: string;
|
|
29
31
|
midnight: string;
|
|
30
32
|
mint: string;
|
|
33
|
+
moss: string;
|
|
31
34
|
ocean: string;
|
|
35
|
+
oldPaper: string;
|
|
32
36
|
purple: string;
|
|
37
|
+
qalb: string;
|
|
33
38
|
sage: string;
|
|
34
39
|
sky: string;
|
|
35
40
|
sunlight: string;
|
|
@@ -71,6 +76,7 @@ export interface TemplateThemeProps {
|
|
|
71
76
|
backgroundPrimary: string;
|
|
72
77
|
backgroundSecondary: string;
|
|
73
78
|
backgroundTertiary: string;
|
|
79
|
+
backgroundQuaternary?: string;
|
|
74
80
|
borderPrimary: string;
|
|
75
81
|
highlightPrimary: string;
|
|
76
82
|
highlightSecondary: string;
|
package/theme.js
CHANGED
|
@@ -20,6 +20,7 @@ const a = {
|
|
|
20
20
|
darkGreenO22: "#005c0022",
|
|
21
21
|
darkGreenO99: "#005c0099",
|
|
22
22
|
darkRed: "#800000",
|
|
23
|
+
emerald: "#004d24",
|
|
23
24
|
gold: "#fab62d",
|
|
24
25
|
gold2: "#fcba03",
|
|
25
26
|
gray: "#727272",
|
|
@@ -31,10 +32,14 @@ const a = {
|
|
|
31
32
|
lightRed: "#eda4a4",
|
|
32
33
|
lovemist: "#90c5f7",
|
|
33
34
|
maroon: "#5c0000",
|
|
35
|
+
medina: "#004721",
|
|
34
36
|
midnight: "#131313",
|
|
35
37
|
mint: "#a4edb4",
|
|
38
|
+
moss: "#cafad7",
|
|
36
39
|
ocean: "#279fcf",
|
|
40
|
+
oldPaper: "#f4f0e8",
|
|
37
41
|
purple: "#920092",
|
|
42
|
+
qalb: "#c90909",
|
|
38
43
|
sage: "#bdd5c1",
|
|
39
44
|
sky: "#b3e0f2",
|
|
40
45
|
sunlight: "#faf9e8",
|
package/Avatar/Avatar.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ButtonBaseProps } from '@mui/material/ButtonBase/ButtonBase';
|
|
2
|
-
export interface AvatarProps {
|
|
3
|
-
avatarColor?: string;
|
|
4
|
-
backgroundColor?: string;
|
|
5
|
-
size?: number;
|
|
6
|
-
}
|
|
7
|
-
declare const Avatar: React.FC<AvatarProps & ButtonBaseProps>;
|
|
8
|
-
export default Avatar;
|
package/Avatar/Avatar.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "../.chunks/createSvgIcon.js";
|
|
3
|
-
import { B as d } from "../.chunks/ButtonBase.js";
|
|
4
|
-
import t from "../theme.js";
|
|
5
|
-
import { n as a, i as l } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
|
-
const m = c(/* @__PURE__ */ i("path", {
|
|
7
|
-
d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
|
|
8
|
-
}), "PersonOutlineOutlined"), s = a(m, {
|
|
9
|
-
shouldForwardProp: (r) => l(r)
|
|
10
|
-
})(({ avatarColor: r = t.colors.darkGreen, backgroundColor: o = t.colors.mint, size: e = 40 }) => ({
|
|
11
|
-
border: `1px solid ${r}`,
|
|
12
|
-
backgroundColor: o,
|
|
13
|
-
borderRadius: "50%",
|
|
14
|
-
padding: "8px",
|
|
15
|
-
fill: r,
|
|
16
|
-
width: `${e - 18}px`,
|
|
17
|
-
height: `${e - 18}px`,
|
|
18
|
-
pointerEvents: "none"
|
|
19
|
-
})), p = a(d)({
|
|
20
|
-
backgroundColor: "transparent",
|
|
21
|
-
borderRadius: "50%",
|
|
22
|
-
span: {
|
|
23
|
-
transition: "313ms all ease-in-out"
|
|
24
|
-
},
|
|
25
|
-
"&:hover, :focus-visible": {
|
|
26
|
-
span: {
|
|
27
|
-
backgroundColor: t.colors.grayO44
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}), g = ({
|
|
31
|
-
avatarColor: r,
|
|
32
|
-
backgroundColor: o,
|
|
33
|
-
size: e,
|
|
34
|
-
...n
|
|
35
|
-
}) => n != null && n.onClick ? /* @__PURE__ */ i(p, { ...n, children: /* @__PURE__ */ i(s, { avatarColor: r, backgroundColor: o, size: e }) }) : /* @__PURE__ */ i(s, { avatarColor: r, backgroundColor: o, size: e });
|
|
36
|
-
export {
|
|
37
|
-
g as default
|
|
38
|
-
};
|
package/Avatar/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, type AvatarProps } from './Avatar';
|
package/Avatar/index.js
DELETED