@xaypay/tui 0.0.61 → 0.0.63
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/index.es.js +518 -209
- package/dist/index.js +414 -84
- package/package.json +3 -2
- package/src/assets/icons/toaster-close.svg +3 -0
- package/src/assets/icons/toaster-error.svg +3 -0
- package/src/assets/icons/toaster-info.svg +3 -0
- package/src/assets/icons/toaster-success.svg +3 -0
- package/src/assets/icons/toaster-warning.svg +3 -0
- package/src/components/file/index.js +9 -6
- package/src/components/icon/Arrow.js +19 -0
- package/src/components/icon/CheckboxChecked.js +21 -0
- package/src/components/icon/CheckboxUnchecked.js +21 -0
- package/src/components/icon/CloseIcon.js +19 -0
- package/src/components/icon/ToasterClose.js +19 -0
- package/src/components/icon/ToasterError.js +19 -0
- package/src/components/icon/ToasterInfo.js +19 -0
- package/src/components/icon/ToasterSuccess.js +19 -0
- package/src/components/icon/ToasterWarning.js +19 -0
- package/src/components/icon/Tooltip.js +19 -0
- package/src/components/icon/index.js +10 -6
- package/src/components/input/index.js +3 -1
- package/src/components/input/input.stories.js +5 -0
- package/src/components/select/index.js +24 -9
- package/src/components/select/select.module.css +3 -2
- package/src/components/toaster/Toast.js +179 -0
- package/src/components/toaster/index.js +72 -0
- package/src/components/toaster/toaster.module.css +188 -0
- package/src/components/toaster/toaster.stories.js +296 -0
- package/src/index.js +2 -1
- package/src/stories/configuration.stories.mdx +16 -0
- package/src/stories/static/select-usage.png +0 -0
- package/src/stories/static/toaster-container-usage.png +0 -0
- package/src/stories/static/toaster-usage.png +0 -0
- package/src/stories/usage.stories.mdx +16 -1
- package/src/components/icon/LikeFilled.js +0 -24
- package/src/components/icon/LikeOutline.js +0 -24
- package/src/components/icon/StarFilled.js +0 -24
- package/src/components/icon/StarOutline.js +0 -24
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
const SvgStarFilled = ({ title, titleId, ...props }) => (
|
|
4
|
-
<svg
|
|
5
|
-
width="1em"
|
|
6
|
-
height="1em"
|
|
7
|
-
viewBox="0 0 18 17"
|
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
-
role="img"
|
|
10
|
-
aria-labelledby={titleId}
|
|
11
|
-
{...props}
|
|
12
|
-
>
|
|
13
|
-
{title ? <title id={titleId}>{title}</title> : null}
|
|
14
|
-
<g fill="none" fillRule="evenodd">
|
|
15
|
-
<path d="M-3-3h24v24H-3z" />
|
|
16
|
-
<path
|
|
17
|
-
d="m9 14.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L6.19 5.63l-4.83.41C.48 6.11.12 7.21.79 7.79l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08L9 14.27Z"
|
|
18
|
-
fill="currentColor"
|
|
19
|
-
/>
|
|
20
|
-
</g>
|
|
21
|
-
</svg>
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export default SvgStarFilled;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
const SvgStarOutline = ({ title, titleId, ...props }) => (
|
|
4
|
-
<svg
|
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
viewBox="0 0 24 24"
|
|
7
|
-
fill="none"
|
|
8
|
-
stroke="currentColor"
|
|
9
|
-
strokeWidth={2}
|
|
10
|
-
strokeLinecap="round"
|
|
11
|
-
strokeLinejoin="round"
|
|
12
|
-
className="star-outline_svg__feather star-outline_svg__feather-star"
|
|
13
|
-
width="1em"
|
|
14
|
-
height="1em"
|
|
15
|
-
role="img"
|
|
16
|
-
aria-labelledby={titleId}
|
|
17
|
-
{...props}
|
|
18
|
-
>
|
|
19
|
-
{title ? <title id={titleId}>{title}</title> : null}
|
|
20
|
-
<path d="m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
|
|
21
|
-
</svg>
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
export default SvgStarOutline;
|