yuyeon 0.0.42-rc6 → 0.0.42-rc8

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 (85) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +3129 -2941
  3. package/dist/yuyeon.umd.cjs +6 -6
  4. package/lib/components/dropdown/YDropdown.mjs +11 -5
  5. package/lib/components/dropdown/YDropdown.mjs.map +1 -1
  6. package/lib/components/dropdown/YDropdown.scss +3 -8
  7. package/lib/components/icon/YIcon.mjs +62 -0
  8. package/lib/components/icon/YIcon.mjs.map +1 -0
  9. package/lib/components/icon/YIcon.scss +18 -0
  10. package/lib/components/icon/index.mjs +2 -0
  11. package/lib/components/icon/index.mjs.map +1 -0
  12. package/lib/components/icon/poly.mjs +57 -0
  13. package/lib/components/icon/poly.mjs.map +1 -0
  14. package/lib/components/icons/index.mjs +14 -0
  15. package/lib/components/icons/index.mjs.map +1 -1
  16. package/lib/components/index.mjs +1 -0
  17. package/lib/components/index.mjs.map +1 -1
  18. package/lib/components/layer/YLayer.mjs +2 -0
  19. package/lib/components/layer/YLayer.mjs.map +1 -1
  20. package/lib/components/layer/active-stack.mjs.map +1 -1
  21. package/lib/components/menu/YMenu.mjs +16 -4
  22. package/lib/components/menu/YMenu.mjs.map +1 -1
  23. package/lib/components/select/YSelect.mjs +9 -6
  24. package/lib/components/select/YSelect.mjs.map +1 -1
  25. package/lib/components/select/YSelect.scss +3 -8
  26. package/lib/composables/icon.mjs +141 -0
  27. package/lib/composables/icon.mjs.map +1 -1
  28. package/lib/composables/theme/index.mjs.map +1 -1
  29. package/lib/index.mjs +3 -0
  30. package/lib/index.mjs.map +1 -1
  31. package/lib/types/index.mjs.map +1 -1
  32. package/lib/util/date/adapters/yuyeon-date-adapter.mjs +1 -1
  33. package/lib/util/date/adapters/yuyeon-date-adapter.mjs.map +1 -1
  34. package/lib/util/date/built-in.mjs +6 -2
  35. package/lib/util/date/built-in.mjs.map +1 -1
  36. package/package.json +2 -2
  37. package/types/abstract/items.d.ts +4 -4
  38. package/types/components/button/YButton.d.ts +10 -10
  39. package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
  40. package/types/components/date-picker/YDateCalendar.d.ts +1 -1
  41. package/types/components/dialog/YDialog.d.ts +1 -0
  42. package/types/components/dropdown/YDropdown.d.ts +34 -13
  43. package/types/components/field-input/YFieldInput.d.ts +10 -10
  44. package/types/components/form/YForm.d.ts +1 -1
  45. package/types/components/icon/YIcon.d.ts +81 -0
  46. package/types/components/icon/index.d.ts +1 -0
  47. package/types/components/icons/YIconCheckbox.d.ts +2 -2
  48. package/types/components/icons/YIconSort.d.ts +2 -2
  49. package/types/components/icons/index.d.ts +48 -0
  50. package/types/components/index.d.ts +1 -0
  51. package/types/components/input/YInput.d.ts +7 -7
  52. package/types/components/layer/YLayer.d.ts +20 -19
  53. package/types/components/layer/active-stack.d.ts +1 -2
  54. package/types/components/list/YListItem.d.ts +2 -2
  55. package/types/components/menu/YMenu.d.ts +8 -3
  56. package/types/components/pagination/YPagination.d.ts +5 -5
  57. package/types/components/progress-bar/YProgressBar.d.ts +1 -1
  58. package/types/components/select/YSelect.d.ts +74 -58
  59. package/types/components/switch/YSwitch.d.ts +1 -1
  60. package/types/components/tab/YTab.d.ts +15 -15
  61. package/types/components/tab/YTabs.d.ts +5 -5
  62. package/types/components/table/YDataTable.d.ts +18 -18
  63. package/types/components/table/YDataTableBody.d.ts +5 -5
  64. package/types/components/table/YDataTableControl.d.ts +2 -2
  65. package/types/components/table/YDataTableHead.d.ts +2 -2
  66. package/types/components/table/YDataTableServer.d.ts +21 -21
  67. package/types/components/table/YTable.d.ts +4 -4
  68. package/types/components/table/composibles/header.d.ts +1 -1
  69. package/types/components/table/composibles/items.d.ts +3 -3
  70. package/types/components/table/composibles/pagination.d.ts +2 -2
  71. package/types/components/table/composibles/selection.d.ts +2 -2
  72. package/types/components/table/composibles/sorting.d.ts +1 -1
  73. package/types/components/textarea/YTextarea.d.ts +10 -10
  74. package/types/components/tooltip/YTooltip.d.ts +9 -8
  75. package/types/components/tree-view/YTreeView.d.ts +4 -4
  76. package/types/components/tree-view/YTreeViewNode.d.ts +9 -9
  77. package/types/composables/choice.d.ts +1 -1
  78. package/types/composables/coordinate/index.d.ts +6 -6
  79. package/types/composables/icon.d.ts +96 -0
  80. package/types/composables/list-items.d.ts +10 -10
  81. package/types/composables/theme/index.d.ts +2 -2
  82. package/types/globals.d.ts +12 -7
  83. package/types/shims.d.ts +88 -87
  84. package/types/types/index.d.ts +5 -0
  85. package/types/util/date/built-in.d.ts +2 -2
package/types/shims.d.ts CHANGED
@@ -1,87 +1,88 @@
1
- import * as vue from 'vue';
2
- import {
3
- YAlert,
4
- YApp,
5
- YButton,
6
- YCard,
7
- YCardBody,
8
- YCardFooter,
9
- YCardHeader,
10
- YCheckbox,
11
- YChip,
12
- YDataTable,
13
- YDataTableServer,
14
- YDateCalendar,
15
- YDialog,
16
- YDividePanel,
17
- YDivider,
18
- YDropdown,
19
- YExpandHTransition,
20
- YExpandVTransition,
21
- YFieldInput,
22
- YForm,
23
- YInput,
24
- YInputCheckbox,
25
- YLayer,
26
- YList,
27
- YListItem,
28
- YMenu,
29
- YPagination,
30
- YProgressBar,
31
- YSelect,
32
- YSnackbar,
33
- YSpinnerRing,
34
- YSwitch,
35
- YTab,
36
- YTable,
37
- YTabs,
38
- YTextarea,
39
- YTooltip,
40
- YTreeView,
41
- YTreeViewNode,
42
- } from 'yuyeon/types/components';
43
-
44
- declare module '@vue/runtime-core' {
45
- export interface GlobalComponents {
46
- // @define-components
47
- YApp: typeof YApp;
48
- YButton: typeof YButton;
49
- YChip: typeof YChip;
50
- YInput: typeof YInput;
51
- YFieldInput: typeof YFieldInput;
52
- YTextarea: typeof YTextarea;
53
- YForm: typeof YForm;
54
- YCard: typeof YCard;
55
- YCardBody: typeof YCardBody;
56
- YCardHeader: typeof YCardHeader;
57
- YCardFooter: typeof YCardFooter;
58
- YDialog: typeof YDialog;
59
- YLayer: typeof YLayer;
60
- YSnackbar: typeof YSnackbar;
61
- YProgressBar: typeof YProgressBar;
62
- YSpinnerRing: typeof YSpinnerRing;
63
- YTooltip: typeof YTooltip;
64
- YExpandVTransition: typeof YExpandVTransition;
65
- YExpandHTransition: typeof YExpandHTransition;
66
- YDividePanel: typeof YDividePanel;
67
- YList: typeof YList;
68
- YListItem: typeof YListItem;
69
- YTreeView: typeof YTreeView;
70
- YTreeViewNode: typeof YTreeViewNode;
71
- YDataTable: typeof YDataTable;
72
- YTable: typeof YTable;
73
- YDataTableServer: typeof YDataTableServer;
74
- YMenu: typeof YMenu;
75
- YPagination: typeof YPagination;
76
- YInputCheckbox: typeof YInputCheckbox;
77
- YCheckbox: typeof YCheckbox;
78
- YSwitch: typeof YSwitch;
79
- YDropdown: typeof YDropdown;
80
- YSelect: typeof YSelect;
81
- YAlert: typeof YAlert;
82
- YTabs: typeof YTabs;
83
- YTab: typeof YTab;
84
- YDivider: typeof YDivider;
85
- YDateCalendar: typeof YDateCalendar;
86
- }
87
- }
1
+ import {
2
+ YAlert,
3
+ YApp,
4
+ YButton,
5
+ YCard,
6
+ YCardBody,
7
+ YCardFooter,
8
+ YCardHeader,
9
+ YCheckbox,
10
+ YChip,
11
+ YDataTable,
12
+ YDataTableServer,
13
+ YDateCalendar,
14
+ YDialog,
15
+ YDividePanel,
16
+ YDivider,
17
+ YDropdown,
18
+ YExpandHTransition,
19
+ YExpandVTransition,
20
+ YFieldInput,
21
+ YForm,
22
+ YIcon,
23
+ YInput,
24
+ YInputCheckbox,
25
+ YLayer,
26
+ YList,
27
+ YListItem,
28
+ YMenu,
29
+ YPagination,
30
+ YProgressBar,
31
+ YSelect,
32
+ YSnackbar,
33
+ YSpinnerRing,
34
+ YSwitch,
35
+ YTab,
36
+ YTable,
37
+ YTabs,
38
+ YTextarea,
39
+ YTooltip,
40
+ YTreeView,
41
+ YTreeViewNode,
42
+ } from 'yuyeon/components';
43
+
44
+ declare module '@vue/runtime-core' {
45
+ export interface GlobalComponents {
46
+ // @define-components
47
+ YApp: typeof YApp;
48
+ YButton: typeof YButton;
49
+ YChip: typeof YChip;
50
+ YInput: typeof YInput;
51
+ YFieldInput: typeof YFieldInput;
52
+ YTextarea: typeof YTextarea;
53
+ YForm: typeof YForm;
54
+ YCard: typeof YCard;
55
+ YCardBody: typeof YCardBody;
56
+ YCardHeader: typeof YCardHeader;
57
+ YCardFooter: typeof YCardFooter;
58
+ YDialog: typeof YDialog;
59
+ YLayer: typeof YLayer;
60
+ YSnackbar: typeof YSnackbar;
61
+ YProgressBar: typeof YProgressBar;
62
+ YSpinnerRing: typeof YSpinnerRing;
63
+ YTooltip: typeof YTooltip;
64
+ YExpandVTransition: typeof YExpandVTransition;
65
+ YExpandHTransition: typeof YExpandHTransition;
66
+ YDividePanel: typeof YDividePanel;
67
+ YList: typeof YList;
68
+ YListItem: typeof YListItem;
69
+ YTreeView: typeof YTreeView;
70
+ YTreeViewNode: typeof YTreeViewNode;
71
+ YDataTable: typeof YDataTable;
72
+ YTable: typeof YTable;
73
+ YDataTableServer: typeof YDataTableServer;
74
+ YMenu: typeof YMenu;
75
+ YPagination: typeof YPagination;
76
+ YInputCheckbox: typeof YInputCheckbox;
77
+ YCheckbox: typeof YCheckbox;
78
+ YSwitch: typeof YSwitch;
79
+ YDropdown: typeof YDropdown;
80
+ YSelect: typeof YSelect;
81
+ YAlert: typeof YAlert;
82
+ YTabs: typeof YTabs;
83
+ YTab: typeof YTab;
84
+ YDivider: typeof YDivider;
85
+ YDateCalendar: typeof YDateCalendar;
86
+ YIcon: typeof YIcon;
87
+ }
88
+ }
@@ -1 +1,6 @@
1
+ import { HTMLAttributes } from '@vue/runtime-dom';
2
+ import type { ComponentPublicInstance, FunctionalComponent } from 'vue';
1
3
  export type CandidateKey = string | number;
4
+ export type JSXComponent<Props = any> = FunctionalComponent<Props | Props & HTMLAttributes> | {
5
+ new (): ComponentPublicInstance<Props | Props & HTMLAttributes>;
6
+ };
@@ -1,4 +1,4 @@
1
- import type { DateFormatOptions } from './types';
1
+ import type { DateAdapter, DateFormatOptions } from './types';
2
2
  export declare const ONE_DAY: number;
3
3
  export declare const YYYY_MM_DD_REGEX: RegExp;
4
4
  export declare const FIRST_SUNDAY: Date;
@@ -7,7 +7,7 @@ export declare class DateUtil {
7
7
  static format(value: Date, formatString: string, locale: string, formats?: Record<string, DateFormatOptions>): string;
8
8
  static parseLocalDate(value: string): Date;
9
9
  static parseISO(value: string): Date;
10
- static toISO(date: Date): string;
10
+ static toISO(adapter: DateAdapter<any>, value: Date): string;
11
11
  static getWeekArray(date: Date, locale: string): Date[][];
12
12
  static startOfMonth(date: Date): Date;
13
13
  static endOfMonth(date: Date): Date;