wini-web-components 2.8.5 → 2.8.8
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.js.js +9 -9
- package/dist/index.js.mjs +745 -895
- package/package.json +3 -5
- package/dist/component/button/button.d.ts +0 -22
- package/dist/component/button/button.d.ts.map +0 -1
- package/dist/component/calendar/calendar.d.ts +0 -31
- package/dist/component/calendar/calendar.d.ts.map +0 -1
- package/dist/component/carousel/carousel.d.ts +0 -32
- package/dist/component/carousel/carousel.d.ts.map +0 -1
- package/dist/component/checkbox/checkbox.d.ts +0 -25
- package/dist/component/checkbox/checkbox.d.ts.map +0 -1
- package/dist/component/ck-editor/ckeditor.d.ts +0 -36
- package/dist/component/ck-editor/ckeditor.d.ts.map +0 -1
- package/dist/component/component-status.d.ts +0 -8
- package/dist/component/component-status.d.ts.map +0 -1
- package/dist/component/date-time-picker/date-time-picker.d.ts +0 -36
- package/dist/component/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/component/dialog/dialog.d.ts +0 -18
- package/dist/component/dialog/dialog.d.ts.map +0 -1
- package/dist/component/import-file/import-file.d.ts +0 -34
- package/dist/component/import-file/import-file.d.ts.map +0 -1
- package/dist/component/infinite-scroll/infinite-scroll.d.ts +0 -18
- package/dist/component/infinite-scroll/infinite-scroll.d.ts.map +0 -1
- package/dist/component/input-multi-select/input-multi-select.d.ts +0 -22
- package/dist/component/input-multi-select/input-multi-select.d.ts.map +0 -1
- package/dist/component/input-otp/input-otp.d.ts +0 -23
- package/dist/component/input-otp/input-otp.d.ts.map +0 -1
- package/dist/component/number-picker/number-picker.d.ts +0 -24
- package/dist/component/number-picker/number-picker.d.ts.map +0 -1
- package/dist/component/pagination/pagination.d.ts +0 -14
- package/dist/component/pagination/pagination.d.ts.map +0 -1
- package/dist/component/popup/popup.d.ts +0 -40
- package/dist/component/popup/popup.d.ts.map +0 -1
- package/dist/component/progress-bar/progress-bar.d.ts +0 -16
- package/dist/component/progress-bar/progress-bar.d.ts.map +0 -1
- package/dist/component/progress-circle/progress-circle.d.ts +0 -13
- package/dist/component/progress-circle/progress-circle.d.ts.map +0 -1
- package/dist/component/radio-button/radio-button.d.ts +0 -21
- package/dist/component/radio-button/radio-button.d.ts.map +0 -1
- package/dist/component/rating/rating.d.ts +0 -24
- package/dist/component/rating/rating.d.ts.map +0 -1
- package/dist/component/select1/select1.d.ts +0 -32
- package/dist/component/select1/select1.d.ts.map +0 -1
- package/dist/component/switch/switch.d.ts +0 -24
- package/dist/component/switch/switch.d.ts.map +0 -1
- package/dist/component/table/table.d.ts +0 -51
- package/dist/component/table/table.d.ts.map +0 -1
- package/dist/component/tag/tag.d.ts +0 -23
- package/dist/component/tag/tag.d.ts.map +0 -1
- package/dist/component/text/text.d.ts +0 -16
- package/dist/component/text/text.d.ts.map +0 -1
- package/dist/component/text-area/text-area.d.ts +0 -28
- package/dist/component/text-area/text-area.d.ts.map +0 -1
- package/dist/component/text-field/text-field.d.ts +0 -37
- package/dist/component/text-field/text-field.d.ts.map +0 -1
- package/dist/component/toast-noti/toast-noti.d.ts +0 -5
- package/dist/component/toast-noti/toast-noti.d.ts.map +0 -1
- package/dist/component/wini-icon/winicon.d.ts +0 -27
- package/dist/component/wini-icon/winicon.d.ts.map +0 -1
- package/dist/form/login/view.d.ts +0 -41
- package/dist/form/login/view.d.ts.map +0 -1
- package/dist/index.d.ts +0 -34
- package/dist/index.d.ts.map +0 -1
- package/dist/language/i18n.d.ts +0 -3
- package/dist/language/i18n.d.ts.map +0 -1
- package/src/component/button/button.module.css +0 -210
- package/src/component/button/button.tsx +0 -57
- package/src/component/calendar/calendar.module.css +0 -153
- package/src/component/calendar/calendar.tsx +0 -389
- package/src/component/carousel/carousel.css +0 -622
- package/src/component/carousel/carousel.tsx +0 -91
- package/src/component/checkbox/checkbox.module.css +0 -48
- package/src/component/checkbox/checkbox.tsx +0 -80
- package/src/component/ck-editor/ck-editor.css +0 -206
- package/src/component/ck-editor/ckeditor.tsx +0 -522
- package/src/component/component-status.tsx +0 -53
- package/src/component/date-time-picker/date-time-picker.module.css +0 -94
- package/src/component/date-time-picker/date-time-picker.tsx +0 -663
- package/src/component/dialog/dialog.module.css +0 -111
- package/src/component/dialog/dialog.tsx +0 -109
- package/src/component/import-file/import-file.module.css +0 -83
- package/src/component/import-file/import-file.tsx +0 -174
- package/src/component/infinite-scroll/infinite-scroll.module.css +0 -34
- package/src/component/infinite-scroll/infinite-scroll.tsx +0 -35
- package/src/component/input-multi-select/input-multi-select.module.css +0 -121
- package/src/component/input-multi-select/input-multi-select.tsx +0 -263
- package/src/component/input-otp/input-otp.module.css +0 -41
- package/src/component/input-otp/input-otp.tsx +0 -110
- package/src/component/number-picker/number-picker.module.css +0 -137
- package/src/component/number-picker/number-picker.tsx +0 -107
- package/src/component/pagination/pagination.module.css +0 -48
- package/src/component/pagination/pagination.tsx +0 -88
- package/src/component/popup/popup.css +0 -136
- package/src/component/popup/popup.tsx +0 -125
- package/src/component/progress-bar/progress-bar.module.css +0 -42
- package/src/component/progress-bar/progress-bar.tsx +0 -33
- package/src/component/progress-circle/progress-circle.css +0 -0
- package/src/component/progress-circle/progress-circle.tsx +0 -25
- package/src/component/radio-button/radio-button.module.css +0 -51
- package/src/component/radio-button/radio-button.tsx +0 -60
- package/src/component/rating/rating.module.css +0 -11
- package/src/component/rating/rating.tsx +0 -65
- package/src/component/select1/select1.module.css +0 -108
- package/src/component/select1/select1.tsx +0 -271
- package/src/component/switch/switch.module.css +0 -53
- package/src/component/switch/switch.tsx +0 -68
- package/src/component/table/table.css +0 -74
- package/src/component/table/table.tsx +0 -108
- package/src/component/tag/tag.module.css +0 -108
- package/src/component/tag/tag.tsx +0 -31
- package/src/component/text/text.css +0 -27
- package/src/component/text/text.tsx +0 -24
- package/src/component/text-area/text-area.module.css +0 -57
- package/src/component/text-area/text-area.tsx +0 -65
- package/src/component/text-field/text-field.module.css +0 -71
- package/src/component/text-field/text-field.tsx +0 -102
- package/src/component/toast-noti/toast-noti.css +0 -866
- package/src/component/toast-noti/toast-noti.tsx +0 -22
- package/src/component/wini-icon/winicon.module.css +0 -110
- package/src/component/wini-icon/winicon.tsx +0 -9424
- package/src/form/login/view.module.css +0 -80
- package/src/form/login/view.tsx +0 -138
- package/src/index.tsx +0 -66
- package/src/language/i18n.tsx +0 -143
- package/src/skin/layout.css +0 -649
- package/src/skin/root.css +0 -294
- package/src/skin/typography.css +0 -314
- package/src/vite-env.d.ts +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Slide, toast } from 'react-toastify';
|
|
2
|
-
import './toast-noti.css';
|
|
3
|
-
|
|
4
|
-
export class ToastMessage {
|
|
5
|
-
static success(message: string) {
|
|
6
|
-
toast.success(message, {
|
|
7
|
-
hideProgressBar: true,
|
|
8
|
-
transition: Slide,
|
|
9
|
-
autoClose: 800,
|
|
10
|
-
theme: "colored",
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
static errors(message: string) {
|
|
14
|
-
toast.error(message, {
|
|
15
|
-
theme: "colored",
|
|
16
|
-
pauseOnHover: false,
|
|
17
|
-
hideProgressBar: true,
|
|
18
|
-
transition: Slide,
|
|
19
|
-
autoClose: 800,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
.wini-icon {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: center;
|
|
4
|
-
align-items: center;
|
|
5
|
-
width: fit-content;
|
|
6
|
-
height: fit-content;
|
|
7
|
-
padding: 0.2rem;
|
|
8
|
-
--size: 1.6rem;
|
|
9
|
-
--color: var(--neutral-text-subtitle-color);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.wini-icon[class~="link-icon"] {
|
|
13
|
-
--size: 'undefined';
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.wini-icon>svg {
|
|
17
|
-
width: var(--size, inherit) !important;
|
|
18
|
-
height: var(--size, inherit) !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.wini-icon[class*="fill-icon"]>svg>*[fill^="#"] {
|
|
22
|
-
fill: var(--color, "#61616B");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.wini-icon[class*="outline-icon"]>svg>*[stroke^="#"] {
|
|
26
|
-
stroke: var(--color, "#61616B");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.wini-icon.clickable {
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.wini-icon[class~="icon-button"] {
|
|
34
|
-
border-radius: 50%;
|
|
35
|
-
background-color: var(--neutral-main-background-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.wini-icon[class~="border"] {
|
|
39
|
-
border: var(--neutral-bolder-border);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.wini-icon[class~="dashed"] {
|
|
43
|
-
border-style: dashed;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.wini-icon[class~="size64"] {
|
|
47
|
-
width: 6.4rem;
|
|
48
|
-
height: 6.4rem;
|
|
49
|
-
--size: 1.6rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.wini-icon[class~="size56"] {
|
|
53
|
-
width: 5.6rem;
|
|
54
|
-
height: 5.6rem;
|
|
55
|
-
--size: 1.6rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.wini-icon[class~="size48"] {
|
|
59
|
-
width: 4.8rem;
|
|
60
|
-
height: 4.8rem;
|
|
61
|
-
--size: 1.6rem;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.wini-icon[class~="size40"] {
|
|
65
|
-
width: 4rem;
|
|
66
|
-
height: 4rem;
|
|
67
|
-
--size: 1.4rem;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.wini-icon[class~="size32"] {
|
|
71
|
-
width: 3.2rem;
|
|
72
|
-
height: 3.2rem;
|
|
73
|
-
--size: 1.4rem;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.wini-icon[class~="size24"] {
|
|
77
|
-
width: 2.4rem;
|
|
78
|
-
height: 2.4rem;
|
|
79
|
-
--size: 1rem;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@keyframes on-open-tooltip {
|
|
83
|
-
from {
|
|
84
|
-
opacity: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
to {
|
|
88
|
-
opacity: 1;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.tooltip-container {
|
|
93
|
-
position: fixed;
|
|
94
|
-
z-index: 999;
|
|
95
|
-
animation: on-open-tooltip 0.2s ease-in-out;
|
|
96
|
-
animation-fill-mode: forwards;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.tooltip-container>.tooltip-message {
|
|
100
|
-
color: var(--neutral-text-body-reverse-color);
|
|
101
|
-
background-color: var(--neutral-main-reverse-background-color);
|
|
102
|
-
padding: 0.4rem 1.2rem;
|
|
103
|
-
border-radius: 0.8rem;
|
|
104
|
-
max-width: 21.2rem;
|
|
105
|
-
text-align: center;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.wini-icon[class~="icon-button"]:hover {
|
|
109
|
-
background-color: var(--neutral-hover-background-color);
|
|
110
|
-
}
|