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.
Files changed (34) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +933 -884
  3. package/dist/yuyeon.umd.cjs +3 -3
  4. package/lib/components/alert/YAlert.mjs +24 -10
  5. package/lib/components/alert/YAlert.mjs.map +1 -1
  6. package/lib/components/alert/YAlert.scss +74 -0
  7. package/lib/components/alert/index.mjs +1 -1
  8. package/lib/components/alert/index.mjs.map +1 -1
  9. package/lib/components/button/YButton.scss +1 -1
  10. package/lib/components/card/YCard.scss +1 -1
  11. package/lib/components/checkbox/YCheckbox.mjs +6 -6
  12. package/lib/components/checkbox/YCheckbox.mjs.map +1 -1
  13. package/lib/components/checkbox/YCheckbox.scss +5 -5
  14. package/lib/components/checkbox/YInputCheckbox.scss +3 -3
  15. package/lib/components/dropdown/YDropdown.mjs.map +1 -1
  16. package/lib/components/field-input/YFieldInput.scss +1 -10
  17. package/lib/components/index.mjs +1 -0
  18. package/lib/components/index.mjs.map +1 -1
  19. package/lib/components/input/YInput.scss +1 -1
  20. package/lib/components/select/YSelect.mjs.map +1 -1
  21. package/lib/components/switch/YSwitch.scss +1 -1
  22. package/lib/components/table/YTable.scss +2 -2
  23. package/lib/composables/theme/setting.mjs +16 -2
  24. package/lib/composables/theme/setting.mjs.map +1 -1
  25. package/lib/composables/timing.mjs.map +1 -1
  26. package/lib/styles/_palette.scss +1 -90
  27. package/lib/styles/base.scss +4 -1
  28. package/lib/styles/theme/dark.scss +1 -11
  29. package/lib/styles/theme/light.scss +1 -11
  30. package/package.json +1 -1
  31. package/types/components/alert/YAlert.d.ts +18 -0
  32. package/types/components/alert/index.d.ts +1 -0
  33. package/types/components/index.d.ts +1 -0
  34. package/types/shims.d.ts +77 -75
@@ -1,90 +1 @@
1
- // red
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;
@@ -2,7 +2,6 @@
2
2
  @use 'settings/provided';
3
3
  @use 'settings/variables';
4
4
  @use 'palette';
5
-
6
5
  @use 'elevation';
7
6
 
8
7
  :root {
@@ -117,3 +116,7 @@
117
116
  .text-color--error {
118
117
  color: var(--y-theme-error);
119
118
  }
119
+
120
+ .flex-wrap {
121
+ flex-wrap: wrap;
122
+ }
@@ -1,21 +1,11 @@
1
1
  @use 'sass:map';
2
- @use '../../styles/palette';
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
- @use '../../styles/palette';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuyeon",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "keywords": [
5
5
  "UI Library",
6
6
  "Vue"
@@ -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';
@@ -23,3 +23,4 @@ export * from './pagination';
23
23
  export * from './loading';
24
24
  export * from './dropdown';
25
25
  export * from './select';
26
+ export * from './alert';
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
- } from 'yuyeon/types/components';
37
-
38
- declare module '@vue/runtime-core' {
39
- export interface GlobalComponents {
40
- // @define-components
41
- YApp: typeof YApp;
42
- YButton: typeof YButton;
43
- YChip: typeof YChip;
44
- YInput: typeof YInput;
45
- YFieldInput: typeof YFieldInput;
46
- YForm: typeof YForm;
47
- YCard: typeof YCard;
48
- YCardBody: typeof YCardBody;
49
- YCardHeader: typeof YCardHeader;
50
- YCardFooter: typeof YCardFooter;
51
- YDialog: typeof YDialog;
52
- YLayer: typeof YLayer;
53
- YSnackbar: typeof YSnackbar;
54
- YProgressBar: typeof YProgressBar;
55
- YSpinnerRing: typeof YSpinnerRing;
56
- YTooltip: typeof YTooltip;
57
- YExpandVTransition: typeof YExpandVTransition;
58
- YExpandHTransition: typeof YExpandHTransition;
59
- YDividePanel: typeof YDividePanel;
60
- YList: typeof YList;
61
- YListItem: typeof YListItem;
62
- YTreeView: typeof YTreeView;
63
- YTreeViewNode: typeof YTreeViewNode;
64
- YDataTable: typeof YDataTable;
65
- YTable: typeof YTable;
66
- YDataTableServer: typeof YDataTableServer;
67
- YMenu: typeof YMenu;
68
- YPagination: typeof YPagination;
69
- YInputCheckbox: typeof YInputCheckbox;
70
- YCheckbox: typeof YCheckbox;
71
- YSwitch: typeof YSwitch;
72
- YDropdown: typeof YDropdown;
73
- YSelect: typeof YSelect;
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
+ }