am-shared-assets 1.0.12 → 1.0.14
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/{ChevronBottomIcon-BM6pUrh1.js → CheckIcon-DOBPX5J0.js} +43 -23
- package/dist/components/Checkbox.d.ts +9 -2
- package/dist/components/RangeSlider.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components.js +239 -227
- package/dist/icons/components/CheckIcon.d.ts +5 -0
- package/dist/icons/index.d.ts +2 -1
- package/dist/icons.js +8 -7
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
const
|
|
3
|
-
color:
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
const n = ({
|
|
3
|
+
color: e,
|
|
4
4
|
size: C = 24
|
|
5
|
-
}) => /* @__PURE__ */
|
|
5
|
+
}) => /* @__PURE__ */ l(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
8
|
width: C,
|
|
@@ -10,7 +10,7 @@ const e = ({
|
|
|
10
10
|
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
style: { color:
|
|
13
|
+
style: { color: e },
|
|
14
14
|
children: [
|
|
15
15
|
/* @__PURE__ */ t(
|
|
16
16
|
"path",
|
|
@@ -28,8 +28,8 @@ const e = ({
|
|
|
28
28
|
)
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
|
-
),
|
|
32
|
-
color:
|
|
31
|
+
), r = ({
|
|
32
|
+
color: e,
|
|
33
33
|
size: C = 20
|
|
34
34
|
}) => /* @__PURE__ */ t(
|
|
35
35
|
"svg",
|
|
@@ -39,7 +39,7 @@ const e = ({
|
|
|
39
39
|
viewBox: "0 0 20 20",
|
|
40
40
|
fill: "none",
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
-
style: { color:
|
|
42
|
+
style: { color: e },
|
|
43
43
|
children: /* @__PURE__ */ t(
|
|
44
44
|
"path",
|
|
45
45
|
{
|
|
@@ -48,7 +48,7 @@ const e = ({
|
|
|
48
48
|
}
|
|
49
49
|
)
|
|
50
50
|
}
|
|
51
|
-
), i = ({ color:
|
|
51
|
+
), i = ({ color: e, size: C = 24 }) => /* @__PURE__ */ t(
|
|
52
52
|
"svg",
|
|
53
53
|
{
|
|
54
54
|
width: C,
|
|
@@ -56,7 +56,7 @@ const e = ({
|
|
|
56
56
|
viewBox: "0 0 21 20",
|
|
57
57
|
fill: "none",
|
|
58
58
|
xmlns: "http://www.w3.org/2000/svg",
|
|
59
|
-
style: { color:
|
|
59
|
+
style: { color: e },
|
|
60
60
|
children: /* @__PURE__ */ t(
|
|
61
61
|
"path",
|
|
62
62
|
{
|
|
@@ -65,8 +65,8 @@ const e = ({
|
|
|
65
65
|
}
|
|
66
66
|
)
|
|
67
67
|
}
|
|
68
|
-
),
|
|
69
|
-
color:
|
|
68
|
+
), h = ({
|
|
69
|
+
color: e,
|
|
70
70
|
size: C = 24
|
|
71
71
|
}) => /* @__PURE__ */ t(
|
|
72
72
|
"svg",
|
|
@@ -76,7 +76,7 @@ const e = ({
|
|
|
76
76
|
viewBox: "0 0 20 20",
|
|
77
77
|
fill: "none",
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
-
style: { color:
|
|
79
|
+
style: { color: e },
|
|
80
80
|
children: /* @__PURE__ */ t(
|
|
81
81
|
"path",
|
|
82
82
|
{
|
|
@@ -85,8 +85,8 @@ const e = ({
|
|
|
85
85
|
}
|
|
86
86
|
)
|
|
87
87
|
}
|
|
88
|
-
),
|
|
89
|
-
color:
|
|
88
|
+
), s = ({
|
|
89
|
+
color: e,
|
|
90
90
|
size: C = 20
|
|
91
91
|
}) => /* @__PURE__ */ t(
|
|
92
92
|
"svg",
|
|
@@ -96,7 +96,7 @@ const e = ({
|
|
|
96
96
|
viewBox: "0 0 20 20",
|
|
97
97
|
fill: "none",
|
|
98
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
-
style: { color:
|
|
99
|
+
style: { color: e },
|
|
100
100
|
children: /* @__PURE__ */ t(
|
|
101
101
|
"path",
|
|
102
102
|
{
|
|
@@ -105,7 +105,7 @@ const e = ({
|
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
107
|
}
|
|
108
|
-
), w = ({ color:
|
|
108
|
+
), w = ({ color: e, size: C = 20 }) => /* @__PURE__ */ t(
|
|
109
109
|
"svg",
|
|
110
110
|
{
|
|
111
111
|
width: C,
|
|
@@ -113,7 +113,7 @@ const e = ({
|
|
|
113
113
|
viewBox: "0 0 16 16",
|
|
114
114
|
fill: "none",
|
|
115
115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
116
|
-
style: { color:
|
|
116
|
+
style: { color: e },
|
|
117
117
|
children: /* @__PURE__ */ t(
|
|
118
118
|
"path",
|
|
119
119
|
{
|
|
@@ -125,12 +125,32 @@ const e = ({
|
|
|
125
125
|
}
|
|
126
126
|
)
|
|
127
127
|
}
|
|
128
|
+
), c = ({ color: e, size: C = 24 }) => /* @__PURE__ */ t(
|
|
129
|
+
"svg",
|
|
130
|
+
{
|
|
131
|
+
width: C,
|
|
132
|
+
height: C,
|
|
133
|
+
viewBox: "0 0 16 16",
|
|
134
|
+
fill: "none",
|
|
135
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
136
|
+
style: { color: e },
|
|
137
|
+
children: /* @__PURE__ */ t(
|
|
138
|
+
"path",
|
|
139
|
+
{
|
|
140
|
+
"fill-rule": "evenodd",
|
|
141
|
+
"clip-rule": "evenodd",
|
|
142
|
+
d: "M13.8047 3.5286C14.0651 3.78895 14.0651 4.21106 13.8047 4.47141L6.4714 11.8047C6.21106 12.0651 5.78894 12.0651 5.5286 11.8047L2.19526 8.47141C1.93491 8.21106 1.93491 7.78895 2.19526 7.5286C2.45561 7.26825 2.87772 7.26825 3.13807 7.5286L6 10.3905L12.8619 3.5286C13.1223 3.26825 13.5444 3.26825 13.8047 3.5286Z",
|
|
143
|
+
fill: "currentColor"
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
}
|
|
128
147
|
);
|
|
129
148
|
export {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
149
|
+
c as C,
|
|
150
|
+
r as I,
|
|
151
|
+
s as T,
|
|
133
152
|
i as W,
|
|
134
|
-
|
|
135
|
-
|
|
153
|
+
w as a,
|
|
154
|
+
h as b,
|
|
155
|
+
n as c
|
|
136
156
|
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface ICheckboxProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
size?: "xs" | "sm";
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
onClickHandler: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: ({ checked, size, children, onClickHandler }: ICheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
1
|
interface IRangeSliderProps {
|
|
3
2
|
value: number | number[];
|
|
4
|
-
|
|
3
|
+
onChange: (value: number | number[]) => void;
|
|
4
|
+
onChangeCommitted: (value: number | number[]) => void;
|
|
5
5
|
min?: number;
|
|
6
6
|
max?: number;
|
|
7
7
|
step?: number;
|
|
@@ -9,5 +9,5 @@ interface IRangeSliderProps {
|
|
|
9
9
|
tooltipColor?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10
10
|
tooltipTextColor?: "white" | "black";
|
|
11
11
|
}
|
|
12
|
-
export declare const RangeSlider: ({ value,
|
|
12
|
+
export declare const RangeSlider: ({ value, onChange, onChangeCommitted, min, max, step, color, tooltipColor, tooltipTextColor, }: IRangeSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|