@citruslime/ui 2.2.2-beta.8 → 2.3.0-beta.1

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 (115) hide show
  1. package/README.md +6 -2
  2. package/dist/citrus-lime-ui.es.js +1828 -2334
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +52 -0
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +9 -0
  6. package/dist/components/accordion/index.d.ts +3 -3
  7. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +43 -0
  8. package/dist/components/app/cl-ui-app.vue.d.ts +38 -0
  9. package/dist/components/app/index.d.ts +1 -1
  10. package/dist/components/button/cl-ui-button.vue.d.ts +53 -0
  11. package/dist/components/button/index.d.ts +1 -1
  12. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +63 -0
  13. package/dist/components/calendar/index.d.ts +1 -1
  14. package/dist/components/card/cl-ui-card.vue.d.ts +44 -0
  15. package/dist/components/card/index.d.ts +1 -1
  16. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +100 -0
  17. package/dist/components/combo-box/index.d.ts +1 -1
  18. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +79 -0
  19. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +43 -0
  20. package/dist/components/combo-box/search-container/header/index.d.ts +1 -0
  21. package/dist/components/combo-box/search-container/index.d.ts +1 -0
  22. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +55 -0
  23. package/dist/components/combo-box/search-container/selectable/index.d.ts +1 -0
  24. package/dist/components/footer/cl-ui-footer.vue.d.ts +11 -0
  25. package/dist/components/footer/index.d.ts +1 -1
  26. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +39 -0
  27. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +61 -0
  28. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +23 -0
  29. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +59 -0
  30. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +63 -0
  31. package/dist/components/grid/cl-ui-grid.vue.d.ts +67 -0
  32. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +36 -0
  33. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +38 -0
  34. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +28 -0
  35. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +40 -0
  36. package/dist/components/grid/index.d.ts +1 -1
  37. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +20 -0
  38. package/dist/components/grid/view-manager/index.d.ts +1 -0
  39. package/dist/components/header/cl-ui-header.vue.d.ts +15 -0
  40. package/dist/components/header/index.d.ts +1 -1
  41. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +57 -0
  42. package/dist/components/header/menu/index.d.ts +1 -1
  43. package/dist/components/input/cl-ui-input.vue.d.ts +456 -0
  44. package/dist/components/input/index.d.ts +1 -1
  45. package/dist/components/input/types.d.ts +2 -2
  46. package/dist/components/input/utils.d.ts +1 -8
  47. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +41 -0
  48. package/dist/components/language-switcher/index.d.ts +1 -1
  49. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +2 -0
  50. package/dist/components/loading-spinner/index.d.ts +1 -1
  51. package/dist/components/login/cl-ui-login.vue.d.ts +49 -0
  52. package/dist/components/login/index.d.ts +1 -1
  53. package/dist/components/modal/cl-ui-modal.vue.d.ts +63 -0
  54. package/dist/components/modal/index.d.ts +1 -1
  55. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +56 -0
  56. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +23 -0
  57. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +33 -0
  58. package/dist/components/navigation/index.d.ts +5 -5
  59. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +9 -0
  60. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -0
  61. package/dist/components/notification/cl-ui-notification.vue.d.ts +34 -0
  62. package/dist/components/notification/index.d.ts +1 -1
  63. package/dist/components/slider/cl-ui-slider.vue.d.ts +56 -0
  64. package/dist/components/slider/index.d.ts +1 -1
  65. package/dist/components/tab/cl-ui-tab.vue.d.ts +62 -0
  66. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +9 -0
  67. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +49 -0
  68. package/dist/components/tab/index.d.ts +3 -3
  69. package/dist/composables/notification.d.ts +1 -2
  70. package/dist/main.d.ts +1 -0
  71. package/dist/style.css +1 -1
  72. package/dist/utils/i18n/config.d.ts +1 -2
  73. package/dist/utils/validation.d.ts +3 -3
  74. package/package.json +9 -6
  75. package/dist/components/accordion/cl-ui-accordion.d.ts +0 -17
  76. package/dist/components/accordion/header/cl-ui-accordion-header.d.ts +0 -3
  77. package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +0 -29
  78. package/dist/components/app/cl-ui-app.d.ts +0 -17
  79. package/dist/components/button/cl-ui-button.d.ts +0 -50
  80. package/dist/components/calendar/cl-ui-calendar.d.ts +0 -65
  81. package/dist/components/calendar/utils.d.ts +0 -38
  82. package/dist/components/card/cl-ui-card.d.ts +0 -28
  83. package/dist/components/combo-box/cl-ui-combo-box.d.ts +0 -158
  84. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +0 -115
  85. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +0 -43
  86. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +0 -67
  87. package/dist/components/footer/cl-ui-footer.d.ts +0 -3
  88. package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +0 -50
  89. package/dist/components/grid/body/cl-ui-grid-body.d.ts +0 -65
  90. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +0 -22
  91. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +0 -38
  92. package/dist/components/grid/body/cl-ui-grid-row.d.ts +0 -48
  93. package/dist/components/grid/cl-ui-grid.d.ts +0 -61
  94. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +0 -30
  95. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +0 -36
  96. package/dist/components/grid/header/cl-ui-grid-header.d.ts +0 -41
  97. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +0 -44
  98. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +0 -16
  99. package/dist/components/header/cl-ui-header.d.ts +0 -5
  100. package/dist/components/header/menu/cl-ui-header-menu.d.ts +0 -60
  101. package/dist/components/input/cl-ui-input.d.ts +0 -278
  102. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +0 -39
  103. package/dist/components/loading-spinner/cl-ui-loading-spinner.d.ts +0 -3
  104. package/dist/components/login/cl-ui-login.d.ts +0 -34
  105. package/dist/components/modal/cl-ui-modal.d.ts +0 -39
  106. package/dist/components/navigation/cl-ui-navigation.d.ts +0 -17
  107. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +0 -13
  108. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +0 -33
  109. package/dist/components/navigation/item/cl-ui-navigation-item.d.ts +0 -3
  110. package/dist/components/navigation/section/cl-ui-navigation-section.d.ts +0 -3
  111. package/dist/components/notification/cl-ui-notification.d.ts +0 -28
  112. package/dist/components/slider/cl-ui-slider.d.ts +0 -78
  113. package/dist/components/tab/cl-ui-tab.d.ts +0 -39
  114. package/dist/components/tab/content/cl-ui-tab-content.d.ts +0 -3
  115. package/dist/components/tab/header/cl-ui-tab-header.d.ts +0 -48
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Checks whether the group with the provided ID is open. If it does not yet exist in the list, a new group is added for it (defaults to closed).
3
+ *
4
+ * @param id The ID of the group to get the status of.
5
+ * @returns True if the group is open; false otherwise.
6
+ */
7
+ declare function groupIsOpen(id: number): boolean;
8
+ /**
9
+ * Inverses the open status of the group with the provided ID, if it exists. Ensures that all other groups are closed.
10
+ *
11
+ * @param id The ID of the group to open/close.
12
+ */
13
+ declare function toggleOpen(id: number): void;
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ colour?: "default" | "secondary" | undefined;
16
+ }>, {
17
+ colour: string;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ colour?: "default" | "secondary" | undefined;
20
+ }>, {
21
+ colour: string;
22
+ }>>>, {
23
+ colour: "default" | "secondary";
24
+ }, {}>, {
25
+ icon?(_: {
26
+ groupIsOpen: typeof groupIsOpen;
27
+ toggleOpen: typeof toggleOpen;
28
+ navcolour: "default" | "secondary";
29
+ }): any;
30
+ default?(_: {
31
+ groupIsOpen: typeof groupIsOpen;
32
+ }): any;
33
+ }>;
34
+ export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
54
+ type __VLS_Prettify<T> = {
55
+ [K in keyof T]: T[K];
56
+ } & {};
@@ -0,0 +1,23 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ open: boolean;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ open: boolean;
5
+ }>>>, {}, {}>, {
6
+ title?(_: {}): any;
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,33 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ iconValue: string;
3
+ open: boolean;
4
+ colour?: string | undefined;
5
+ }>, {
6
+ colour: string;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ iconValue: string;
9
+ open: boolean;
10
+ colour?: string | undefined;
11
+ }>, {
12
+ colour: string;
13
+ }>>>, {
14
+ colour: string;
15
+ }, {}>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -1,5 +1,5 @@
1
- export { default as clUiNavigation } from "./cl-ui-navigation";
2
- export { default as clUiNavigationIcon } from "./icon/cl-ui-navigation-icon";
3
- export { default as clUiNavigationGroup } from "./group/cl-ui-navigation-group";
4
- export { default as clUiNavigationSection } from "./section/cl-ui-navigation-section";
5
- export { default as clUiNavigationItem } from "./item/cl-ui-navigation-item";
1
+ export { default as clUiNavigation } from './cl-ui-navigation.vue';
2
+ export { default as clUiNavigationIcon } from './icon/cl-ui-navigation-icon.vue';
3
+ export { default as clUiNavigationGroup } from './group/cl-ui-navigation-group.vue';
4
+ export { default as clUiNavigationSection } from './section/cl-ui-navigation-section.vue';
5
+ export { default as clUiNavigationItem } from './item/cl-ui-navigation-item.vue';
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ title?(_: {}): any;
3
+ default?(_: {}): any;
4
+ }>;
5
+ export default _default;
6
+ type __VLS_WithTemplateSlots<T, S> = T & {
7
+ new (): {
8
+ $slots: S;
9
+ };
10
+ };
@@ -0,0 +1,34 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ container?: string | undefined;
3
+ position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
4
+ }>, {
5
+ container: string;
6
+ position: string;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ container?: string | undefined;
9
+ position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
10
+ }>, {
11
+ container: string;
12
+ position: string;
13
+ }>>>, {
14
+ container: string;
15
+ position: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right";
16
+ }, {}>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
32
+ type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
@@ -1 +1 @@
1
- export { default as clUiNotification } from "./cl-ui-notification";
1
+ export { default as clUiNotification } from './cl-ui-notification.vue';
@@ -0,0 +1,56 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ value: number;
3
+ min: number;
4
+ max: number;
5
+ step?: number | undefined;
6
+ enforceStep?: boolean | undefined;
7
+ disabled?: boolean | undefined;
8
+ showNumericInput?: boolean | undefined;
9
+ }>, {
10
+ step: number;
11
+ enforceStep: boolean;
12
+ disabled: boolean;
13
+ showNumericInput: boolean;
14
+ }>, {
15
+ focus(): void;
16
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ 'update:value': null;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ value: number;
20
+ min: number;
21
+ max: number;
22
+ step?: number | undefined;
23
+ enforceStep?: boolean | undefined;
24
+ disabled?: boolean | undefined;
25
+ showNumericInput?: boolean | undefined;
26
+ }>, {
27
+ step: number;
28
+ enforceStep: boolean;
29
+ disabled: boolean;
30
+ showNumericInput: boolean;
31
+ }>>> & {
32
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
33
+ }, {
34
+ disabled: boolean;
35
+ step: number;
36
+ enforceStep: boolean;
37
+ showNumericInput: boolean;
38
+ }, {}>;
39
+ export default _default;
40
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
+ type __VLS_TypePropsToRuntimeProps<T> = {
42
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
43
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
+ } : {
45
+ type: import('vue').PropType<T[K]>;
46
+ required: true;
47
+ };
48
+ };
49
+ type __VLS_WithDefaults<P, D> = {
50
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ default: D[K];
52
+ }> : P[K];
53
+ };
54
+ type __VLS_Prettify<T> = {
55
+ [K in keyof T]: T[K];
56
+ } & {};
@@ -1 +1 @@
1
- export { default as clUiSlider } from "./cl-ui-slider";
1
+ export { default as clUiSlider } from './cl-ui-slider.vue';
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Return whether a tab is open.
3
+ *
4
+ * @param tabId The id of the tab.
5
+ * @returns True if the tab is open, false if not.
6
+ */
7
+ declare function isTabOpen(tabId: number): boolean;
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ currentTab?: number | undefined;
10
+ disabled?: boolean | undefined;
11
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
12
+ }>, {
13
+ currentTab: number;
14
+ disabled: boolean;
15
+ colour: string;
16
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ currentTab?: number | undefined;
18
+ disabled?: boolean | undefined;
19
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
20
+ }>, {
21
+ currentTab: number;
22
+ disabled: boolean;
23
+ colour: string;
24
+ }>>>, {
25
+ disabled: boolean;
26
+ colour: "default" | "primary" | "secondary" | "danger" | "blue";
27
+ currentTab: number;
28
+ }, {}>, {
29
+ headings?(_: {
30
+ isTabOpen: typeof isTabOpen;
31
+ disabled: boolean;
32
+ colour: "default" | "primary" | "secondary" | "danger" | "blue";
33
+ }): any;
34
+ content?(_: {
35
+ isTabOpen: typeof isTabOpen;
36
+ disabled: boolean;
37
+ colour: "default" | "primary" | "secondary" | "danger" | "blue";
38
+ }): any;
39
+ }>;
40
+ export default _default;
41
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
+ type __VLS_TypePropsToRuntimeProps<T> = {
43
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
44
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
+ } : {
46
+ type: import('vue').PropType<T[K]>;
47
+ required: true;
48
+ };
49
+ };
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
60
+ type __VLS_Prettify<T> = {
61
+ [K in keyof T]: T[K];
62
+ } & {};
@@ -0,0 +1,9 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
@@ -0,0 +1,49 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ id: number;
3
+ currentTab: number;
4
+ disabled?: boolean | undefined;
5
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
6
+ }>, {
7
+ disabled: boolean;
8
+ colour: string;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ 'update:currentTab': null;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ id: number;
13
+ currentTab: number;
14
+ disabled?: boolean | undefined;
15
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ colour: string;
19
+ }>>> & {
20
+ "onUpdate:currentTab"?: ((...args: any[]) => any) | undefined;
21
+ }, {
22
+ disabled: boolean;
23
+ colour: "default" | "primary" | "secondary" | "danger" | "blue";
24
+ }, {}>, {
25
+ default?(_: {}): any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1,4 +1,4 @@
1
- export { default as clUiTab } from "./cl-ui-tab";
2
- export { default as clUiTabHeader } from "./header/cl-ui-tab-header";
3
- export { default as clUiTabContent } from "./content/cl-ui-tab-content";
1
+ export { default as clUiTab } from './cl-ui-tab.vue';
2
+ export { default as clUiTabHeader } from './header/cl-ui-tab-header.vue';
3
+ export { default as clUiTabContent } from './content/cl-ui-tab-content.vue';
4
4
  export * from './types';
@@ -1,4 +1,3 @@
1
- import type { Ref } from 'vue';
2
1
  interface Notification extends NotificationItem {
3
2
  id: string;
4
3
  }
@@ -11,7 +10,7 @@ export interface NotificationItem {
11
10
  }
12
11
  export declare const notificationPositions: readonly ["top-left", "top-centre", "top-right", "bottom-left", "bottom-centre", "bottom-right"];
13
12
  export type NotificationPosition = typeof notificationPositions[number];
14
- export declare const notifications: Ref<{
13
+ export declare const notifications: import("vue").Ref<{
15
14
  id: string;
16
15
  message: string;
17
16
  colour: NotificationColour;
package/dist/main.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { Plugin } from 'vue';
2
+ import './main.css';
2
3
  declare const install: Plugin;
3
4
  export * from './components';
4
5
  export * from './composables';