@indielayer/ui 1.0.0-alpha.0 → 1.0.0-alpha.5

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 (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -72
  3. package/lib/components/avatar/Avatar.vue.d.ts +2 -2
  4. package/lib/components/badge/Badge.vue.d.ts +2 -2
  5. package/lib/components/button/Button.vue.d.ts +2 -2
  6. package/lib/components/button/ButtonGroup.vue.d.ts +2 -2
  7. package/lib/components/checkbox/Checkbox.vue.d.ts +4 -3
  8. package/lib/components/drawer/Drawer.vue.d.ts +2 -2
  9. package/lib/components/icon/Icon.vue.d.ts +7 -3
  10. package/lib/components/index.d.ts +2 -2
  11. package/lib/components/input/Input.vue.d.ts +3 -2
  12. package/lib/components/menu/Menu.vue.d.ts +2 -2
  13. package/lib/components/menu/MenuItem.vue.d.ts +3 -3
  14. package/lib/components/notifications/Notifications.vue.d.ts +2 -2
  15. package/lib/components/pagination/Pagination.vue.d.ts +3 -2
  16. package/lib/components/pagination/PaginationItem.vue.d.ts +2 -2
  17. package/lib/components/radio/Radio.vue.d.ts +2 -2
  18. package/lib/components/select/Select.vue.d.ts +3 -2
  19. package/lib/components/slider/Slider.vue.d.ts +2 -2
  20. package/lib/components/spacer/Spacer.vue.d.ts +1 -1
  21. package/lib/components/spinner/Spinner.vue.d.ts +2 -2
  22. package/lib/components/{tabs → tab}/Tab.vue.d.ts +2 -2
  23. package/lib/components/{tabs/Tabs.vue.d.ts → tab/TabGroup.vue.d.ts} +0 -0
  24. package/lib/components/table/TableBody.vue.d.ts +1 -1
  25. package/lib/components/table/TableHead.vue.d.ts +1 -1
  26. package/lib/components/tag/Tag.vue.d.ts +2 -2
  27. package/lib/components/textarea/Textarea.vue.d.ts +3 -11
  28. package/lib/components/toggle/Toggle.vue.d.ts +2 -2
  29. package/lib/composables/keys.d.ts +1 -0
  30. package/lib/create.d.ts +12 -0
  31. package/lib/index.cjs.js +2 -2
  32. package/lib/index.d.ts +2 -0
  33. package/lib/index.es.js +271 -130
  34. package/lib/install.d.ts +4 -6
  35. package/lib/nuxt.js +15 -16
  36. package/lib/nuxt.plugin.js +8 -0
  37. package/lib/style.css +1 -1
  38. package/lib/version.d.ts +1 -1
  39. package/package.json +21 -15
  40. package/src/components/alert/Alert.vue +164 -0
  41. package/src/components/avatar/Avatar.vue +137 -0
  42. package/src/components/badge/Badge.vue +107 -0
  43. package/src/components/breadcrumbs/Breadcrumbs.vue +60 -0
  44. package/src/components/button/Button.vue +433 -0
  45. package/src/components/button/ButtonGroup.vue +73 -0
  46. package/src/components/card/Card.vue +25 -0
  47. package/src/components/checkbox/Checkbox.vue +205 -0
  48. package/src/components/collapse/Collapse.vue +181 -0
  49. package/src/components/container/Container.vue +23 -0
  50. package/src/components/divider/Divider.vue +52 -0
  51. package/src/components/drawer/Drawer.vue +244 -0
  52. package/src/components/form/Form.vue +111 -0
  53. package/src/components/icon/Icon.vue +123 -0
  54. package/src/components/image/Image.vue +36 -0
  55. package/src/components/index.ts +45 -0
  56. package/src/components/input/Input.vue +199 -0
  57. package/src/components/link/Link.vue +110 -0
  58. package/src/components/menu/Menu.vue +118 -0
  59. package/src/components/menu/MenuItem.vue +277 -0
  60. package/src/components/modal/Modal.vue +175 -0
  61. package/src/components/notifications/Notifications.vue +318 -0
  62. package/src/components/pagination/Pagination.vue +181 -0
  63. package/src/components/pagination/PaginationItem.vue +58 -0
  64. package/src/components/popover/Popover.vue +194 -0
  65. package/src/components/popover/PopoverContainer.vue +23 -0
  66. package/src/components/progress/Progress.vue +86 -0
  67. package/src/components/radio/Radio.vue +220 -0
  68. package/src/components/scroll/Scroll.vue +143 -0
  69. package/src/components/select/Select.vue +408 -0
  70. package/src/components/skeleton/Skeleton.vue +23 -0
  71. package/src/components/slider/Slider.vue +240 -0
  72. package/src/components/spacer/Spacer.vue +11 -0
  73. package/src/components/spinner/Spinner.vue +45 -0
  74. package/src/components/tab/Tab.vue +100 -0
  75. package/src/components/tab/TabGroup.vue +151 -0
  76. package/src/components/table/Table.vue +172 -0
  77. package/src/components/table/TableBody.vue +13 -0
  78. package/src/components/table/TableCell.vue +78 -0
  79. package/src/components/table/TableHead.vue +15 -0
  80. package/src/components/table/TableHeader.vue +94 -0
  81. package/src/components/table/TableRow.vue +43 -0
  82. package/src/components/tag/Tag.vue +98 -0
  83. package/src/components/textarea/Textarea.vue +156 -0
  84. package/src/components/toggle/Toggle.vue +144 -0
  85. package/src/components/tooltip/Tooltip.vue +26 -0
  86. package/src/composables/colors-utils.ts +378 -0
  87. package/src/composables/colors.ts +82 -0
  88. package/src/composables/common.ts +20 -0
  89. package/src/composables/css.ts +45 -0
  90. package/src/composables/index.ts +7 -0
  91. package/src/composables/inputtable.ts +128 -0
  92. package/src/composables/interactive.ts +16 -0
  93. package/src/composables/keys.ts +8 -0
  94. package/src/composables/notification.ts +10 -0
  95. package/src/create.ts +38 -0
  96. package/src/exports/nuxt.js +32 -0
  97. package/src/exports/nuxt.plugin.js +8 -0
  98. package/src/exports/tailwind.preset.js +55 -0
  99. package/src/index.ts +8 -0
  100. package/src/install.ts +8 -0
  101. package/src/shims-vue.d.ts +6 -0
  102. package/src/version.ts +1 -0
  103. package/volar.d.ts +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 - Indielayer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,86 +1,40 @@
1
- <a href="https://indielayer.com/">
2
- <img src="https://user-images.githubusercontent.com/3942799/90314498-25807a80-df0c-11ea-9e3a-b2b919bc9f10.png" alt="Indielayer" width="300" />
3
- </a>
1
+ ![IndielayerUI-Logo-Dark](.github/logo_dark.svg#gh-dark-mode-only)
2
+ ![IndielayerUI-Logo-Light](.github/logo.svg#gh-light-mode-only)
4
3
 
5
- > Tools for creators.
4
+ <p>
5
+ <a href="https://github.com/indielayer/ui/actions/workflows/update_docs.yml"><img src="https://github.com/indielayer/ui/actions/workflows/update_docs.yml/badge.svg?branch=main&event=push" alt="Update docs"></a>
6
+ <a href="https://www.npmjs.com/package/@indielayer/ui/v/alpha"><img src="https://badgen.net/npm/dm/@indielayer/ui" alt="Downloads"></a>
7
+ <a href="https://www.npmjs.com/package/@indielayer/ui/v/alpha"><img src="https://badgen.net/npm/v/@indielayer/ui/alpha" alt="Version"></a>
8
+ <a href="https://www.npmjs.com/package/@indielayer/ui"><img src="https://badgen.net/npm/license/@indielayer/ui" alt="License"></a>
9
+ </p>
6
10
 
7
- ## Indielayer UI
11
+ Vue 3 & Nuxt 3 UI Components built with Tailwind 3. **Build and prototype fast web applications.** 🚀
8
12
 
9
- > [Tailwind CSS](https://tailwindcss.com) UI components for Vue.js 3 / Nuxt.js 3. Build and prototype fast web applications.
10
-
11
- - [📖 Documentation](https://indielayer.com/ui)
12
-
13
- ## Getting Started
14
-
15
- > [tailwindcss](https://tailwindcss.com) version >= 3.0 must be already present in your application
16
-
17
- #### 1. Add `@indielayer/ui` dependency to your project
13
+ ## 📖 Documentation
14
+ Read the <a href="https://indielayer.com/ui">Online Documentation</a>.
18
15
 
16
+ ## Quickstart
19
17
  ```bash
20
- # using npm
21
- npm install @indielayer/ui --save-dev
22
- # using yarn
23
- yarn add @indielayer/ui --dev
24
- ```
25
-
26
- #### 2. Add Indielayer UI Tailwind CSS preset `tailwind-preset.js` to your Tailwind CSS configuration file `tailwind.config.js` with the purge css configurations
27
-
28
- ```javascript
29
- // tailwind.config.js
30
- const indielayer = require('@indielayer/ui/tailwind.preset')
31
-
32
- module.exports = {
33
- // load indielayer ui presets
34
- presets: [indielayer()],
35
- // allow PurgeCSS to analyze components
36
- content: [
37
- 'node_modules/@indielayer/ui/**/*',
38
- './src/**/*.vue',
39
- ],
40
- };
18
+ npm init @indielayer/ui
41
19
  ```
42
20
 
43
- ### 3. Load the plugin
44
- #### Load the plugin in your vue 3 application
45
-
46
- ```javascript
47
- import { createApp } from 'vue'
48
- import UI from '@indielayer/ui'
21
+ ---
49
22
 
50
- const app = createApp(App)
23
+ ### Development
51
24
 
52
- app.use(UI, { prefix: 'X' })
25
+ - Clone repository
26
+ - Ensure you have the latest LTS version of Node.js installed
27
+ - Install dependencies with `pnpm install`
28
+ - Run `pnpm dev` to enter dev mode watch
29
+ - Develop docs with `pnpm run docs`
53
30
 
54
- // or
55
- import {
56
- Input,
57
- Button,
58
- // ...
59
- } from '@indielayer/ui'
31
+ ### Documentation
60
32
 
61
- app.component('XButton', Button)
62
- app.component('XInput', Input)
63
- ```
64
-
65
- #### Load the module in your nuxt 3 application
33
+ The documentation is located inside [/packages/docs](./packages/docs)
66
34
 
67
- ```javascript
68
- import { defineNuxtConfig } from 'nuxt3'
35
+ - Run `pnpm build` once from project root to build the UI library
36
+ - Run `pnpm run docs` from project root to enter docs dev mode
69
37
 
70
- export default defineNuxtConfig({
71
- css: ["~/assets/css/tailwind.css"],
72
- buildModules: ['@indielayer/ui/nuxt'],
73
- build: {
74
- postcss: {
75
- postcssOptions: {
76
- plugins: {
77
- tailwindcss: {},
78
- autoprefixer: {},
79
- },
80
- },
81
- },
82
- },
83
- })
84
- ```
38
+ ## License
85
39
 
86
- [📖 &nbsp;Read more](https://indielayer.com/ui)
40
+ [MIT](./LICENSE)
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  readonly default: string | undefined;
14
14
  };
15
15
  size: {
16
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
16
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
17
17
  readonly validator: (value: string) => boolean;
18
18
  };
19
19
  }, {
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  readonly default: string | undefined;
38
38
  };
39
39
  size: {
40
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
40
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
41
41
  readonly validator: (value: string) => boolean;
42
42
  };
43
43
  }>>, {
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  readonly default: string | undefined;
25
25
  };
26
26
  size: {
27
- readonly type: PropType<import("@/composables/common").Size>;
27
+ readonly type: PropType<import("../../composables/common").Size>;
28
28
  readonly validator: (value: string) => boolean;
29
29
  };
30
30
  }, {
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  readonly default: string | undefined;
56
56
  };
57
57
  size: {
58
- readonly type: PropType<import("@/composables/common").Size>;
58
+ readonly type: PropType<import("../../composables/common").Size>;
59
59
  readonly validator: (value: string) => boolean;
60
60
  };
61
61
  }>>, {
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  readonly default: string | undefined;
26
26
  };
27
27
  size: {
28
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
28
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
29
29
  readonly validator: (value: string) => boolean;
30
30
  };
31
31
  }, {
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
67
67
  readonly default: string | undefined;
68
68
  };
69
69
  size: {
70
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
70
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
71
71
  readonly validator: (value: string) => boolean;
72
72
  };
73
73
  }>>, {
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  readonly default: string | undefined;
15
15
  };
16
16
  size: {
17
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
17
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
18
18
  readonly validator: (value: string) => boolean;
19
19
  };
20
20
  }, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  readonly default: string | undefined;
34
34
  };
35
35
  size: {
36
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
36
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
37
37
  readonly validator: (value: string) => boolean;
38
38
  };
39
39
  }>>, {
@@ -1,3 +1,4 @@
1
+ import { type StyleValue } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  label: StringConstructor;
3
4
  glow: BooleanConstructor;
@@ -21,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
21
22
  readonly default: string | undefined;
22
23
  };
23
24
  size: {
24
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
25
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
25
26
  readonly validator: (value: string) => boolean;
26
27
  };
27
28
  }, {
@@ -29,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
29
30
  checked: import("vue").Ref<boolean>;
30
31
  sizeClasses: import("vue").ComputedRef<"h-4 w-4" | "h-6 w-6" | "h-5 w-5">;
31
32
  iconSizeClasses: import("vue").ComputedRef<"h-3 w-3" | "h-4 w-4" | "h-2 w-2">;
32
- cssVariables: import("vue").ComputedRef<Record<string, string> | (string | object)[]>;
33
+ cssVariables: import("vue").ComputedRef<Record<string, string> | StyleValue>;
33
34
  toggle: () => void;
34
35
  isFirstValidation: import("vue").Ref<boolean>;
35
36
  errorInternal: any;
@@ -62,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
62
63
  readonly default: string | undefined;
63
64
  };
64
65
  size: {
65
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
66
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
66
67
  readonly validator: (value: string) => boolean;
67
68
  };
68
69
  }>> & {
@@ -63,11 +63,11 @@ declare const _default: import("vue").DefineComponent<{
63
63
  }>> & {
64
64
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
65
  }, {
66
+ height: string | number;
67
+ width: string | number;
66
68
  position: "top" | "bottom" | "left" | "right";
67
69
  to: string | HTMLElement;
68
70
  modelValue: boolean;
69
- height: string | number;
70
- width: string | number;
71
71
  backdrop: boolean;
72
72
  }>;
73
73
  export default _default;
@@ -9,11 +9,15 @@ declare const _default: import("vue").DefineComponent<{
9
9
  default: string;
10
10
  };
11
11
  size: {
12
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
12
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
13
13
  readonly validator: (value: string) => boolean;
14
14
  };
15
15
  }, {
16
- icons: any;
16
+ attrs: import("vue").Ref<{}>;
17
+ isWrapSVG: import("vue").Ref<boolean>;
18
+ computedIcon: import("vue").Ref<string>;
19
+ computedFilled: import("vue").Ref<boolean>;
20
+ computedViewBox: import("vue").Ref<string>;
17
21
  sizeClasses: import("vue").ComputedRef<"h-3 w-3" | "h-4 w-4" | "h-6 w-6" | "h-9 w-9" | "h-5 w-5">;
18
22
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
23
  icon: {
@@ -26,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
26
30
  default: string;
27
31
  };
28
32
  size: {
29
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
33
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
30
34
  readonly validator: (value: string) => boolean;
31
35
  };
32
36
  }>>, {
@@ -37,8 +37,8 @@ export { default as XTableCell } from './table/TableCell.vue';
37
37
  export { default as XTableHead } from './table/TableHead.vue';
38
38
  export { default as XTableHeader } from './table/TableHeader.vue';
39
39
  export { default as XTableRow } from './table/TableRow.vue';
40
- export { default as XTab } from './tabs/Tab.vue';
41
- export { default as XTabs } from './tabs/Tabs.vue';
40
+ export { default as XTab } from './tab/Tab.vue';
41
+ export { default as XTabGroup } from './tab/TabGroup.vue';
42
42
  export { default as XTag } from './tag/Tag.vue';
43
43
  export { default as XTextarea } from './textarea/Textarea.vue';
44
44
  export { default as XToggle } from './toggle/Toggle.vue';
@@ -37,13 +37,14 @@ declare const _default: import("vue").DefineComponent<{
37
37
  disabled: BooleanConstructor;
38
38
  loading: BooleanConstructor;
39
39
  size: {
40
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
40
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
41
41
  readonly validator: (value: string) => boolean;
42
42
  };
43
43
  }, {
44
44
  currentType: import("vue").Ref<string>;
45
45
  labelClasses: import("vue").ComputedRef<"" | "text-xs" | "text-sm" | "text-lg" | "text-xl">;
46
46
  sizeClasses: import("vue").ComputedRef<"px-2 py-1 text-xs" | "px-2 py-2 text-sm" | "px-4 py-3 text-lg" | "px-5 py-4 text-xl" | "px-3 py-2">;
47
+ style: string;
47
48
  elRef: import("vue").Ref<HTMLInputElement | undefined>;
48
49
  onChange: (e: Event) => void;
49
50
  togglePasswordVisibility: () => void;
@@ -94,7 +95,7 @@ declare const _default: import("vue").DefineComponent<{
94
95
  disabled: BooleanConstructor;
95
96
  loading: BooleanConstructor;
96
97
  size: {
97
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
98
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
98
99
  readonly validator: (value: string) => boolean;
99
100
  };
100
101
  }>> & {
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  readonly default: string | undefined;
16
16
  };
17
17
  size: {
18
- readonly type: PropType<import("@/composables/common").Size>;
18
+ readonly type: PropType<import("../../composables/common").Size>;
19
19
  readonly validator: (value: string) => boolean;
20
20
  };
21
21
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "expand"[], "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  readonly default: string | undefined;
35
35
  };
36
36
  size: {
37
- readonly type: PropType<import("@/composables/common").Size>;
37
+ readonly type: PropType<import("../../composables/common").Size>;
38
38
  readonly validator: (value: string) => boolean;
39
39
  };
40
40
  }>> & {
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  readonly default: string | undefined;
25
25
  };
26
26
  size: {
27
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
27
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
28
28
  readonly validator: (value: string) => boolean;
29
29
  };
30
30
  }, {
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
35
35
  color: string;
36
36
  onClick: (Function & ((...args: any[]) => any)) | undefined;
37
37
  icon: string | undefined;
38
- size: import("@/composables/common").Size;
38
+ size: import("../../composables/common").Size;
39
39
  filled: boolean;
40
40
  rounded: boolean;
41
41
  item: Record<string, any>;
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  readonly default: string | undefined;
82
82
  };
83
83
  size: {
84
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
84
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
85
85
  readonly validator: (value: string) => boolean;
86
86
  };
87
87
  }>> & {
@@ -12,7 +12,7 @@ export declare type NotificationEvent = {
12
12
  action?: NotificationAction;
13
13
  iconColor?: string;
14
14
  title?: string;
15
- style?: string | object;
15
+ style?: string;
16
16
  message?: string;
17
17
  timeout?: number;
18
18
  removable?: boolean;
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
53
53
  } | undefined;
54
54
  iconColor?: string | undefined;
55
55
  title?: string | undefined;
56
- style?: string | object | undefined;
56
+ style?: string | undefined;
57
57
  message?: string | undefined;
58
58
  timeout?: number | undefined;
59
59
  removable?: boolean | undefined;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  default: string;
15
15
  };
16
16
  size: {
17
- readonly type: PropType<import("@/composables/common").Size>;
17
+ readonly type: PropType<import("../../composables/common").Size>;
18
18
  readonly validator: (value: string) => boolean;
19
19
  };
20
20
  }, {
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  nextIcon: string;
26
26
  quickInput: import("vue").Ref<string>;
27
27
  quickButtonSize: import("vue").ComputedRef<"xs" | "sm" | "md" | "lg">;
28
+ style: string;
28
29
  onQuickInput: () => void;
29
30
  prevPage: () => void;
30
31
  nextPage: () => void;
@@ -43,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
43
44
  default: string;
44
45
  };
45
46
  size: {
46
- readonly type: PropType<import("@/composables/common").Size>;
47
+ readonly type: PropType<import("../../composables/common").Size>;
47
48
  readonly validator: (value: string) => boolean;
48
49
  };
49
50
  }>> & {
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  selected: BooleanConstructor;
7
7
  links: BooleanConstructor;
8
8
  size: {
9
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
9
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
10
10
  readonly validator: (value: string) => boolean;
11
11
  };
12
12
  }, {
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  selected: BooleanConstructor;
20
20
  links: BooleanConstructor;
21
21
  size: {
22
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
22
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
23
23
  readonly validator: (value: string) => boolean;
24
24
  };
25
25
  }>> & {
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  readonly default: string | undefined;
23
23
  };
24
24
  size: {
25
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
25
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
26
26
  readonly validator: (value: string) => boolean;
27
27
  };
28
28
  }, {
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
61
61
  readonly default: string | undefined;
62
62
  };
63
63
  size: {
64
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
64
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
65
65
  readonly validator: (value: string) => boolean;
66
66
  };
67
67
  }>> & {
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  disabled: BooleanConstructor;
28
28
  loading: BooleanConstructor;
29
29
  size: {
30
- readonly type: PropType<import("@/composables/common").Size>;
30
+ readonly type: PropType<import("../../composables/common").Size>;
31
31
  readonly validator: (value: string) => boolean;
32
32
  };
33
33
  }, {
@@ -47,6 +47,7 @@ declare const _default: import("vue").DefineComponent<{
47
47
  }[]>;
48
48
  labelClasses: import("vue").ComputedRef<"" | "text-xs" | "text-sm" | "text-lg" | "text-xl">;
49
49
  sizeClasses: import("vue").ComputedRef<"px-2 py-1 text-xs" | "px-2 py-2 text-sm" | "px-4 py-3 text-lg" | "px-5 py-4 text-xl" | "px-3 py-2">;
50
+ style: string;
50
51
  isEmpty: (value: string | number | []) => boolean;
51
52
  getLabel: (value: string | number | []) => string;
52
53
  handleRemove: (e: Event, value: string) => void;
@@ -81,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
81
82
  disabled: BooleanConstructor;
82
83
  loading: BooleanConstructor;
83
84
  size: {
84
- readonly type: PropType<import("@/composables/common").Size>;
85
+ readonly type: PropType<import("../../composables/common").Size>;
85
86
  readonly validator: (value: string) => boolean;
86
87
  };
87
88
  }>> & {
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  readonly default: string | undefined;
28
28
  };
29
29
  size: {
30
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
30
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
31
31
  readonly validator: (value: string) => boolean;
32
32
  };
33
33
  }, {
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
77
77
  readonly default: string | undefined;
78
78
  };
79
79
  size: {
80
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
80
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
81
81
  readonly validator: (value: string) => boolean;
82
82
  };
83
83
  }>> & {
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
2
  export default _default;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  icon: StringConstructor;
3
3
  size: {
4
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
4
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
5
5
  readonly validator: (value: string) => boolean;
6
6
  };
7
7
  }, {
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
10
  icon: StringConstructor;
11
11
  size: {
12
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
12
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
13
13
  readonly validator: (value: string) => boolean;
14
14
  };
15
15
  }>>, {}>;
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  icon: StringConstructor;
13
13
  disabled: BooleanConstructor;
14
14
  size: {
15
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
15
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
16
16
  readonly validator: (value: string) => boolean;
17
17
  };
18
18
  }, {
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  icon: StringConstructor;
38
38
  disabled: BooleanConstructor;
39
39
  size: {
40
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
40
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
41
41
  readonly validator: (value: string) => boolean;
42
42
  };
43
43
  }>>, {
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
2
  export default _default;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  readonly default: string | undefined;
12
12
  };
13
13
  size: {
14
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
14
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
15
15
  readonly validator: (value: string) => boolean;
16
16
  };
17
17
  }, {
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  readonly default: string | undefined;
31
31
  };
32
32
  size: {
33
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
33
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
34
34
  readonly validator: (value: string) => boolean;
35
35
  };
36
36
  }>> & {
@@ -31,16 +31,13 @@ declare const _default: import("vue").DefineComponent<{
31
31
  };
32
32
  disabled: BooleanConstructor;
33
33
  loading: BooleanConstructor;
34
- color: {
35
- readonly type: StringConstructor;
36
- readonly default: string | undefined;
37
- };
38
34
  size: {
39
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
35
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
40
36
  readonly validator: (value: string) => boolean;
41
37
  };
42
38
  }, {
43
39
  elRef: import("vue").Ref<HTMLTextAreaElement | undefined>;
40
+ style: string;
44
41
  onInput: () => void;
45
42
  onEnter: (e: KeyboardEvent) => void;
46
43
  isFirstValidation: import("vue").Ref<boolean>;
@@ -84,12 +81,8 @@ declare const _default: import("vue").DefineComponent<{
84
81
  };
85
82
  disabled: BooleanConstructor;
86
83
  loading: BooleanConstructor;
87
- color: {
88
- readonly type: StringConstructor;
89
- readonly default: string | undefined;
90
- };
91
84
  size: {
92
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
85
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
93
86
  readonly validator: (value: string) => boolean;
94
87
  };
95
88
  }>> & {
@@ -98,7 +91,6 @@ declare const _default: import("vue").DefineComponent<{
98
91
  readonly: boolean;
99
92
  dir: string;
100
93
  required: boolean;
101
- color: string;
102
94
  disabled: boolean;
103
95
  loading: boolean;
104
96
  validateOnInput: boolean;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  readonly default: string | undefined;
23
23
  };
24
24
  size: {
25
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
25
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
26
26
  readonly validator: (value: string) => boolean;
27
27
  };
28
28
  }, {
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
61
61
  readonly default: string | undefined;
62
62
  };
63
63
  size: {
64
- readonly type: import("vue").PropType<import("@/composables/common").Size>;
64
+ readonly type: import("vue").PropType<import("../../composables/common").Size>;
65
65
  readonly validator: (value: string) => boolean;
66
66
  };
67
67
  }>> & {
@@ -2,5 +2,6 @@ import type { InjectionKey } from 'vue';
2
2
  export declare const injectTabKey: InjectionKey<any>;
3
3
  export declare const injectFormKey: InjectionKey<any>;
4
4
  export declare const injectIconsKey: InjectionKey<any>;
5
+ export declare const injectColorsKey: InjectionKey<any>;
5
6
  export declare const injectButtonGroupKey: InjectionKey<any>;
6
7
  export declare const injectNotificationKey: InjectionKey<any>;