yuyeon 0.0.25 → 0.0.26
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/style.css +1 -1
- package/dist/yuyeon.js +933 -884
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/alert/YAlert.mjs +24 -10
- package/lib/components/alert/YAlert.mjs.map +1 -1
- package/lib/components/alert/YAlert.scss +74 -0
- package/lib/components/alert/index.mjs +1 -1
- package/lib/components/alert/index.mjs.map +1 -1
- package/lib/components/button/YButton.scss +1 -1
- package/lib/components/card/YCard.scss +1 -1
- package/lib/components/checkbox/YCheckbox.mjs +6 -6
- package/lib/components/checkbox/YCheckbox.mjs.map +1 -1
- package/lib/components/checkbox/YCheckbox.scss +5 -5
- package/lib/components/checkbox/YInputCheckbox.scss +3 -3
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.scss +1 -10
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/input/YInput.scss +1 -1
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/switch/YSwitch.scss +1 -1
- package/lib/components/table/YTable.scss +2 -2
- package/lib/composables/theme/setting.mjs +16 -2
- package/lib/composables/theme/setting.mjs.map +1 -1
- package/lib/composables/timing.mjs.map +1 -1
- package/lib/styles/_palette.scss +1 -90
- package/lib/styles/base.scss +4 -1
- package/lib/styles/theme/dark.scss +1 -11
- package/lib/styles/theme/light.scss +1 -11
- package/package.json +1 -1
- package/types/components/alert/YAlert.d.ts +18 -0
- package/types/components/alert/index.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/shims.d.ts +77 -75
package/lib/styles/_palette.scss
CHANGED
|
@@ -1,90 +1 @@
|
|
|
1
|
-
|
|
2
|
-
$basic-red-900: #a60000;
|
|
3
|
-
$basic-red-800: #cc1f1f;
|
|
4
|
-
$basic-red-700: #ff4040;
|
|
5
|
-
$basic-red-600: #ff5959;
|
|
6
|
-
$basic-red-500: #ff7272;
|
|
7
|
-
$basic-red-400: #ff8d8d;
|
|
8
|
-
$basic-red-300: #ffa2a2;
|
|
9
|
-
$basic-red-200: #ffbfbf;
|
|
10
|
-
$basic-red-100: #ffd9d9;
|
|
11
|
-
$basic-red-50: #fff6f6;
|
|
12
|
-
|
|
13
|
-
// orange
|
|
14
|
-
$basic-orange-900: #f16a24;
|
|
15
|
-
$basic-orange-800: #f17738;
|
|
16
|
-
$basic-orange-700: #ff9639;
|
|
17
|
-
$basic-orange-600: #ffa75a;
|
|
18
|
-
$basic-orange-500: #f3ae71;
|
|
19
|
-
$basic-orange-400: #f3bd71;
|
|
20
|
-
$basic-orange-300: #ffd00f;
|
|
21
|
-
$basic-orange-200: #ffe8ba;
|
|
22
|
-
$basic-orange-100: #fff1c7;
|
|
23
|
-
$basic-orange-50: #fffaec;
|
|
24
|
-
|
|
25
|
-
// green
|
|
26
|
-
$basic-green-900: #056653;
|
|
27
|
-
$basic-green-800: #0d8069;
|
|
28
|
-
$basic-green-700: #1f927c;
|
|
29
|
-
$basic-green-600: #4ba694;
|
|
30
|
-
$basic-green-500: #5bb2a1;
|
|
31
|
-
$basic-green-400: #68ccb9;
|
|
32
|
-
$basic-green-300: #77d9c6;
|
|
33
|
-
$basic-green-200: #8ae6d4;
|
|
34
|
-
$basic-green-100: #ace6da;
|
|
35
|
-
$basic-green-50: #f2fffd;
|
|
36
|
-
|
|
37
|
-
// blue
|
|
38
|
-
$basic-blue-900: #003a9f;
|
|
39
|
-
$basic-blue-800: #0c5db9;
|
|
40
|
-
$basic-blue-700: #236dc1;
|
|
41
|
-
$basic-blue-600: #407fc6;
|
|
42
|
-
$basic-blue-500: #4091c6;
|
|
43
|
-
$basic-blue-400: #79c2f2;
|
|
44
|
-
$basic-blue-300: #a6dcff;
|
|
45
|
-
$basic-blue-200: #ccebff;
|
|
46
|
-
$basic-blue-100: #f2faff;
|
|
47
|
-
$basic-blue-50: #f6fcff;
|
|
48
|
-
|
|
49
|
-
// violet
|
|
50
|
-
$basic-violet-900: #460d80;
|
|
51
|
-
$basic-violet-800: #581799;
|
|
52
|
-
$basic-violet-700: #6b24b3;
|
|
53
|
-
$basic-violet-600: #7436b3;
|
|
54
|
-
$basic-violet-500: #7d47b3;
|
|
55
|
-
$basic-violet-400: #9857d9;
|
|
56
|
-
$basic-violet-300: #c89df2;
|
|
57
|
-
$basic-violet-250: #e9dfff;
|
|
58
|
-
$basic-violet-200: #f2e6ff;
|
|
59
|
-
$basic-violet-100: #f9f2ff;
|
|
60
|
-
$basic-violet-50: #faf8ff;
|
|
61
|
-
|
|
62
|
-
// gray
|
|
63
|
-
$basic-gray-900: #323232;
|
|
64
|
-
$basic-gray-800: #505050;
|
|
65
|
-
$basic-gray-700: #707070;
|
|
66
|
-
$basic-gray-600: #939194;
|
|
67
|
-
$basic-gray-500: #b4b4b4;
|
|
68
|
-
$basic-gray-400: #c8c8c8;
|
|
69
|
-
$basic-gray-300: #dcdcdc;
|
|
70
|
-
$basic-gray-200: #f0f0f0;
|
|
71
|
-
$basic-gray-100: #f5f5f5;
|
|
72
|
-
$basic-gray-50: #fafafa;
|
|
73
|
-
|
|
74
|
-
//
|
|
75
|
-
$basic-disable: #c8bab4;
|
|
76
|
-
$basic-black: #141414;
|
|
77
|
-
$content-gray: #666666;
|
|
78
|
-
$background-color: #f5f5ff;
|
|
79
|
-
|
|
80
|
-
// Text
|
|
81
|
-
$text-black: $basic-black;
|
|
82
|
-
$text-white: #ffffff;
|
|
83
|
-
|
|
84
|
-
// Alert
|
|
85
|
-
$alert-positive: #47b267;
|
|
86
|
-
$alert-negative: #ff4d4d;
|
|
87
|
-
$alert-warning: #ffc70e;
|
|
88
|
-
$alert-link: #4781cc;
|
|
89
|
-
|
|
90
|
-
$primary: #4f97dc !default;
|
|
1
|
+
$basic-black: #000;
|
package/lib/styles/base.scss
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
@use '../util/helper';
|
|
4
4
|
|
|
5
5
|
// yui/app theme
|
|
6
6
|
$theme--dark: () !default;
|
|
7
7
|
$theme--dark: map.deep-merge(
|
|
8
8
|
(
|
|
9
|
-
'input': (
|
|
10
|
-
'fill': palette.$basic-gray-200,
|
|
11
|
-
),
|
|
12
|
-
'fieldInput': (
|
|
13
|
-
'clear': palette.$basic-gray-400,
|
|
14
|
-
),
|
|
15
|
-
'select': (
|
|
16
|
-
'selected': palette.$basic-black,
|
|
17
|
-
'selected-background': palette.$basic-gray-700,
|
|
18
|
-
),
|
|
19
9
|
),
|
|
20
10
|
$theme--dark
|
|
21
11
|
);
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
@use '../util/helper';
|
|
4
4
|
|
|
5
5
|
// yui theme
|
|
6
6
|
$theme--light: () !default;
|
|
7
7
|
$theme--light: map.deep-merge(
|
|
8
8
|
(
|
|
9
|
-
'input': (
|
|
10
|
-
'fill': palette.$basic-gray-200,
|
|
11
|
-
),
|
|
12
|
-
'fieldInput': (
|
|
13
|
-
'clear': palette.$basic-gray-400,
|
|
14
|
-
),
|
|
15
|
-
'select': (
|
|
16
|
-
'selected': palette.$basic-black,
|
|
17
|
-
'selected-background': palette.$basic-gray-700,
|
|
18
|
-
)
|
|
19
9
|
),
|
|
20
10
|
$theme--light
|
|
21
11
|
);
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* # Component
|
|
4
|
+
*/
|
|
5
|
+
export declare const YAlert: import("vue").DefineComponent<{
|
|
6
|
+
semantic: PropType<string>;
|
|
7
|
+
variation: PropType<string>;
|
|
8
|
+
color: PropType<string>;
|
|
9
|
+
textColor: PropType<string>;
|
|
10
|
+
outlineColor: PropType<string>;
|
|
11
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
semantic: PropType<string>;
|
|
13
|
+
variation: PropType<string>;
|
|
14
|
+
color: PropType<string>;
|
|
15
|
+
textColor: PropType<string>;
|
|
16
|
+
outlineColor: PropType<string>;
|
|
17
|
+
}>>, {}, {}>;
|
|
18
|
+
export type YAlert = InstanceType<typeof YAlert>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YAlert';
|
package/types/shims.d.ts
CHANGED
|
@@ -1,75 +1,77 @@
|
|
|
1
|
-
import * as vue from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
YApp,
|
|
4
|
-
YButton,
|
|
5
|
-
YCard,
|
|
6
|
-
YCardBody,
|
|
7
|
-
YCardFooter,
|
|
8
|
-
YCardHeader,
|
|
9
|
-
YCheckbox,
|
|
10
|
-
YChip,
|
|
11
|
-
YDataTable,
|
|
12
|
-
YDataTableServer,
|
|
13
|
-
YDialog,
|
|
14
|
-
YDividePanel,
|
|
15
|
-
YDropdown,
|
|
16
|
-
YExpandHTransition,
|
|
17
|
-
YExpandVTransition,
|
|
18
|
-
YFieldInput,
|
|
19
|
-
YForm,
|
|
20
|
-
YInput,
|
|
21
|
-
YInputCheckbox,
|
|
22
|
-
YLayer,
|
|
23
|
-
YList,
|
|
24
|
-
YListItem,
|
|
25
|
-
YMenu,
|
|
26
|
-
YPagination,
|
|
27
|
-
YProgressBar,
|
|
28
|
-
YSnackbar,
|
|
29
|
-
YSpinnerRing,
|
|
30
|
-
YSwitch,
|
|
31
|
-
YTable,
|
|
32
|
-
YTooltip,
|
|
33
|
-
YTreeView,
|
|
34
|
-
YTreeViewNode,
|
|
35
|
-
YSelect,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import {
|
|
3
|
+
YApp,
|
|
4
|
+
YButton,
|
|
5
|
+
YCard,
|
|
6
|
+
YCardBody,
|
|
7
|
+
YCardFooter,
|
|
8
|
+
YCardHeader,
|
|
9
|
+
YCheckbox,
|
|
10
|
+
YChip,
|
|
11
|
+
YDataTable,
|
|
12
|
+
YDataTableServer,
|
|
13
|
+
YDialog,
|
|
14
|
+
YDividePanel,
|
|
15
|
+
YDropdown,
|
|
16
|
+
YExpandHTransition,
|
|
17
|
+
YExpandVTransition,
|
|
18
|
+
YFieldInput,
|
|
19
|
+
YForm,
|
|
20
|
+
YInput,
|
|
21
|
+
YInputCheckbox,
|
|
22
|
+
YLayer,
|
|
23
|
+
YList,
|
|
24
|
+
YListItem,
|
|
25
|
+
YMenu,
|
|
26
|
+
YPagination,
|
|
27
|
+
YProgressBar,
|
|
28
|
+
YSnackbar,
|
|
29
|
+
YSpinnerRing,
|
|
30
|
+
YSwitch,
|
|
31
|
+
YTable,
|
|
32
|
+
YTooltip,
|
|
33
|
+
YTreeView,
|
|
34
|
+
YTreeViewNode,
|
|
35
|
+
YSelect,
|
|
36
|
+
YAlert,
|
|
37
|
+
} from 'yuyeon/types/components';
|
|
38
|
+
|
|
39
|
+
declare module '@vue/runtime-core' {
|
|
40
|
+
export interface GlobalComponents {
|
|
41
|
+
// @define-components
|
|
42
|
+
YApp: typeof YApp;
|
|
43
|
+
YButton: typeof YButton;
|
|
44
|
+
YChip: typeof YChip;
|
|
45
|
+
YInput: typeof YInput;
|
|
46
|
+
YFieldInput: typeof YFieldInput;
|
|
47
|
+
YForm: typeof YForm;
|
|
48
|
+
YCard: typeof YCard;
|
|
49
|
+
YCardBody: typeof YCardBody;
|
|
50
|
+
YCardHeader: typeof YCardHeader;
|
|
51
|
+
YCardFooter: typeof YCardFooter;
|
|
52
|
+
YDialog: typeof YDialog;
|
|
53
|
+
YLayer: typeof YLayer;
|
|
54
|
+
YSnackbar: typeof YSnackbar;
|
|
55
|
+
YProgressBar: typeof YProgressBar;
|
|
56
|
+
YSpinnerRing: typeof YSpinnerRing;
|
|
57
|
+
YTooltip: typeof YTooltip;
|
|
58
|
+
YExpandVTransition: typeof YExpandVTransition;
|
|
59
|
+
YExpandHTransition: typeof YExpandHTransition;
|
|
60
|
+
YDividePanel: typeof YDividePanel;
|
|
61
|
+
YList: typeof YList;
|
|
62
|
+
YListItem: typeof YListItem;
|
|
63
|
+
YTreeView: typeof YTreeView;
|
|
64
|
+
YTreeViewNode: typeof YTreeViewNode;
|
|
65
|
+
YDataTable: typeof YDataTable;
|
|
66
|
+
YTable: typeof YTable;
|
|
67
|
+
YDataTableServer: typeof YDataTableServer;
|
|
68
|
+
YMenu: typeof YMenu;
|
|
69
|
+
YPagination: typeof YPagination;
|
|
70
|
+
YInputCheckbox: typeof YInputCheckbox;
|
|
71
|
+
YCheckbox: typeof YCheckbox;
|
|
72
|
+
YSwitch: typeof YSwitch;
|
|
73
|
+
YDropdown: typeof YDropdown;
|
|
74
|
+
YSelect: typeof YSelect;
|
|
75
|
+
YAlert: typeof YAlert;
|
|
76
|
+
}
|
|
77
|
+
}
|