@rotki/ui-library 0.10.1 → 0.12.0

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 (60) hide show
  1. package/README.md +18 -3
  2. package/dist/components/alerts/Alert.vue.d.ts +3 -3
  3. package/dist/components/buttons/button/Button.vue.d.ts +1 -1
  4. package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +1 -1
  5. package/dist/components/cards/Card.vue.d.ts +1 -1
  6. package/dist/components/cards/CardHeader.vue.d.ts +1 -1
  7. package/dist/components/chips/Chip.vue.d.ts +3 -3
  8. package/dist/components/divider/Divider.vue.d.ts +1 -1
  9. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +2 -2
  10. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +1 -1
  11. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +2 -2
  12. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +2 -2
  13. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +2 -2
  14. package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +1 -1
  15. package/dist/components/forms/select/SimpleSelect.vue.d.ts +1 -1
  16. package/dist/components/forms/text-area/TextArea.vue.d.ts +3 -3
  17. package/dist/components/forms/text-field/TextField.vue.d.ts +3 -3
  18. package/dist/components/helpers/FormTextDetail.vue.d.ts +1 -1
  19. package/dist/components/icons/Icon.vue.d.ts +3 -3
  20. package/dist/components/index.d.ts +2 -2
  21. package/dist/components/index.es.js +2 -2
  22. package/dist/components/loaders/Skeleton.vue.d.ts +1 -1
  23. package/dist/components/loaders/SkeletonBase.vue.d.ts +1 -1
  24. package/dist/components/logos/Logo.vue.d.ts +1 -1
  25. package/dist/components/overlays/badge/Badge.vue.d.ts +3 -3
  26. package/dist/components/overlays/dialog/Dialog.vue.d.ts +1 -1
  27. package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +1 -1
  28. package/dist/components/progress/Progress.vue.d.ts +2 -2
  29. package/dist/components/steppers/FooterStepper.vue.d.ts +1 -1
  30. package/dist/components/steppers/Stepper.vue.d.ts +1 -1
  31. package/dist/components/steppers/StepperCustomIcon.vue.d.ts +1 -1
  32. package/dist/components/steppers/StepperIcon.vue.d.ts +1 -1
  33. package/dist/components/tables/DataTable.vue.d.ts +71 -102
  34. package/dist/components/tables/ExpandButton.vue.d.ts +2 -2
  35. package/dist/components/tables/TableHead.vue.d.ts +4 -4
  36. package/dist/components/tables/TablePagination.vue.d.ts +1 -1
  37. package/dist/components/tabs/tab/Tab.vue.d.ts +2 -2
  38. package/dist/components/tabs/tab-item/TabItem.vue.d.ts +1 -1
  39. package/dist/components/tabs/tab-items/TabItems.vue.d.ts +1 -1
  40. package/dist/components/tabs/tabs/Tabs.vue.d.ts +2 -2
  41. package/dist/composables/breakpoint.d.ts +1 -1
  42. package/dist/composables/defaults/table.d.ts +4 -4
  43. package/dist/composables/icons.d.ts +1 -1
  44. package/dist/composables/index.es.js +17 -17
  45. package/dist/composables/popper.d.ts +7 -7
  46. package/dist/composables/sticky-header.d.ts +2 -2
  47. package/dist/composables/theme.d.ts +1 -1
  48. package/dist/consts/typography.d.ts +1 -1
  49. package/dist/{index-qKuRALnN.js → index-9kAPUqqg.js} +3249 -3110
  50. package/dist/index.d.ts +2 -2
  51. package/dist/index.es.js +6 -6
  52. package/dist/style.css +1 -1
  53. package/dist/theme/index.es.js +51 -51
  54. package/dist/{theme-V5yenaDk.js → theme-DT8UjYf9.js} +44 -39
  55. package/dist/types/stepper.d.ts +3 -3
  56. package/dist/types/theme.d.ts +3 -3
  57. package/dist/utils/form-text-detail.d.ts +3 -3
  58. package/dist/utils/generate-id.d.ts +1 -1
  59. package/dist/utils/helpers.d.ts +7 -7
  60. package/package.json +61 -58
package/README.md CHANGED
@@ -6,7 +6,7 @@ A Vue component library and design system for rotki
6
6
 
7
7
  ### Installing the library
8
8
 
9
- You can start using the library after installing it from npm along with the roboto font:
9
+ You can start using the library after installing it from npm along with the roboto font:
10
10
 
11
11
  ```bash
12
12
  pnpm install -D --save-exact @rotki/ui-library @fontsource/roboto
@@ -45,7 +45,9 @@ import { RuiButton } from '@rotki/ui-library';
45
45
 
46
46
  <template>
47
47
  <div>
48
- <RuiButton outlined>This is button</RuiButton>
48
+ <RuiButton outlined>
49
+ This is button
50
+ </RuiButton>
49
51
  </div>
50
52
  </template>
51
53
  ```
@@ -71,6 +73,7 @@ switchThemeScheme(ThemeMode.dark);
71
73
  ### Using the icons
72
74
 
73
75
  You need to specify which icons you want to enable, when installing the RuiPlugin.
76
+
74
77
  ```typescript
75
78
  import { Ri4kFill, Ri4kLine, createRui } from '@rotki/ui-library';
76
79
 
@@ -96,6 +99,7 @@ import { RuiIcon } from '@rotki/ui-library';
96
99
  ```
97
100
 
98
101
  ### Use @rotki/ui-library tailwindcss theme
102
+
99
103
  You can extend @rotki/ui-library tailwind theme configuration by adding these to your tailwind config. It will provide you the classes for the colors, typography, and shadow.
100
104
 
101
105
  ```javascript
@@ -118,33 +122,40 @@ pnpm install --frozen-lockfile
118
122
  ```
119
123
 
120
124
  ### Compiles and minifies for production
125
+
121
126
  The following command when executed from the project root will build the `@rotki/ui-library` bundle.
122
127
  This command will create the bundle for both Vue version >=3.4.3.
128
+
123
129
  ```
124
130
  pnpm run build:prod
125
131
  ```
126
132
 
127
133
  If you want to build for specific version, you can run:
134
+
128
135
  ```
129
136
  pnpm run build
130
137
  ```
131
138
 
132
139
  ### Lint check
140
+
133
141
  ```
134
142
  pnpm run lint
135
143
  ```
136
144
 
137
145
  ### Lints and fixes files
146
+
138
147
  ```
139
148
  pnpm run lint:fix
140
149
  ```
141
150
 
142
151
  ### Type check
152
+
143
153
  ```
144
154
  pnpm run typecheck
145
155
  ```
146
156
 
147
157
  ### Storybook
158
+
148
159
  In order to run the storybook, you can run:
149
160
 
150
161
  ```
@@ -152,6 +163,7 @@ pnpm run storybook
152
163
  ```
153
164
 
154
165
  ### Testing: Unit
166
+
155
167
  In order to test the components, you can run:
156
168
 
157
169
  ```
@@ -159,6 +171,7 @@ pnpm run test
159
171
  ```
160
172
 
161
173
  ### Testing: end-to-end
174
+
162
175
  In order to test the components in use in a vue 3 project, you can run:
163
176
 
164
177
  ```
@@ -173,6 +186,7 @@ pnpm run coverage:preview
173
186
  ```
174
187
 
175
188
  ### Locally testing the library
189
+
176
190
  After you build the bundle, in the `package.json` on your main project, you can add this to the dependencies:
177
191
 
178
192
  ```json
@@ -184,7 +198,9 @@ After you build the bundle, in the `package.json` on your main project, you can
184
198
  When the dependency installed on the main project, it will run the `prepare` script.
185
199
 
186
200
  ### Generating the library icons
201
+
187
202
  We use remix-icons. You need to run this script to scrap the svgs data from remix-icons. (This script runs automatically on `prepare`. Run this in case the icons aren't generated properly)
203
+
188
204
  ```
189
205
  pnpm run generate:icons
190
206
  ```
@@ -192,4 +208,3 @@ pnpm run generate:icons
192
208
  ## License
193
209
 
194
210
  [AGPL-3.0](./LICENSE) License &copy; 2023- [Rotki Solutions GmbH](https://github.com/rotki)
195
-
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface Props {
4
4
  title?: string;
5
5
  description?: string;
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
42
  action: () => void;
43
43
  close: () => void;
44
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
44
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
45
45
  variant: {
46
46
  type: globalThis.PropType<"default" | "outlined" | "filled">;
47
47
  default: string;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
2
  export interface Props<T = undefined> {
3
3
  disabled?: boolean;
4
4
  loading?: boolean;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
2
  export interface Props<T = undefined> {
3
3
  vertical?: boolean;
4
4
  color?: ContextColorsType;
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
31
31
  type: globalThis.PropType<boolean>;
32
32
  default: boolean;
33
33
  };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
34
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
35
35
  variant: {
36
36
  type: globalThis.PropType<"flat" | "outlined">;
37
37
  default: string;
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
6
  type: globalThis.PropType<boolean>;
7
7
  default: boolean;
8
8
  };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
10
  dense: {
11
11
  type: globalThis.PropType<boolean>;
12
12
  default: boolean;
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface Props {
4
4
  tile?: boolean;
5
5
  clickable?: boolean;
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
56
56
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
57
57
  "click:close": () => void;
58
58
  click: () => void;
59
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
59
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
60
60
  variant: {
61
61
  type: globalThis.PropType<"outlined" | "filled">;
62
62
  default: string;
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  type: globalThis.PropType<boolean>;
7
7
  default: boolean;
8
8
  };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
10
  vertical: {
11
11
  type: globalThis.PropType<boolean>;
12
12
  default: boolean;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
2
  export type Option = Record<string, any>;
3
3
  export type ModelValue = Option | Option[] | null;
4
4
  export interface Props {
@@ -86,7 +86,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
86
86
  };
87
87
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
88
  "update:modelValue": (modelValue: ModelValue) => void;
89
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
89
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
90
90
  variant: {
91
91
  type: globalThis.PropType<"default" | "outlined" | "filled">;
92
92
  default: string;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  };
39
39
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
40
  remove: (option: Option) => void;
41
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
41
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
42
42
  variant: {
43
43
  type: globalThis.PropType<"default" | "outlined" | "filled">;
44
44
  };
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
2
  export interface Props {
3
3
  modelValue?: boolean;
4
4
  indeterminate?: boolean;
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
55
55
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
56
  "update:modelValue": (modelValue: boolean) => void;
57
57
  "update:indeterminate": (indeterminate: boolean) => void;
58
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
58
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
59
59
  indeterminate: {
60
60
  type: globalThis.PropType<boolean>;
61
61
  default: boolean;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../../../consts/colors';
1
+ import type { ContextColorsType } from '../../../../consts/colors';
2
2
  export interface RadioProps {
3
3
  value: string;
4
4
  modelValue?: string;
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
54
54
  };
55
55
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
56
  "update:modelValue": (modelValue: string) => void;
57
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
57
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
58
  value: {
59
59
  type: globalThis.PropType<string>;
60
60
  required: true;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '~/src';
1
+ import type { ContextColorsType } from '~/src';
2
2
  export interface Props {
3
3
  modelValue?: string;
4
4
  inline?: boolean;
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
54
54
  };
55
55
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
56
  "update:modelValue": (value: string) => void;
57
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
57
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
58
  color: {
59
59
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
60
60
  default: undefined;
@@ -70,7 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
70
  type: globalThis.PropType<boolean>;
71
71
  default: boolean;
72
72
  };
73
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
73
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
74
74
  readonly: {
75
75
  type: globalThis.PropType<boolean>;
76
76
  default: boolean;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  };
29
29
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  "update:model-value": (value?: string | number | undefined) => void;
31
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
31
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
32
  name: {
33
33
  type: globalThis.PropType<string>;
34
34
  default: string;
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface Props {
4
4
  value?: string;
5
5
  label?: string;
@@ -111,7 +111,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
111
111
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
112
112
  input: (modelValue: string) => void;
113
113
  "click:clear": () => void;
114
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
114
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
115
115
  readonly: {
116
116
  type: globalThis.PropType<boolean>;
117
117
  default: boolean;
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface TextFieldProps {
4
4
  modelValue?: string;
5
5
  label?: string;
@@ -94,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
94
94
  blur: (event: Event) => void;
95
95
  remove: (value: unknown) => void;
96
96
  clear: () => void;
97
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
97
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
98
98
  readonly: {
99
99
  type: globalThis.PropType<boolean>;
100
100
  default: boolean;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: globalThis.PropType<string>;
12
12
  default: string;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
15
  errorMessages: {
16
16
  type: globalThis.PropType<string | string[]>;
17
17
  default: () => never[];
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface Props {
4
4
  name: RuiIcons;
5
5
  size?: number | string;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: globalThis.PropType<string | number>;
19
19
  default: number;
20
20
  };
21
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
22
22
  name: {
23
23
  type: globalThis.PropType<RuiIcons>;
24
24
  required: true;
@@ -15,11 +15,10 @@ import { type Props as DialogProps, default as RuiDialog } from '../components/o
15
15
  import { type Props as FooterStepperProps, default as RuiFooterStepper } from '../components/steppers/FooterStepper.vue';
16
16
  import { type Props as ProgressProps, default as RuiProgress } from '../components/progress/Progress.vue';
17
17
  import { type Props as RadioGroupProps, default as RuiRadioGroup } from '../components/forms/radio-button/radio-group/RadioGroup.vue';
18
- import { type RadioProps as RadioProps, default as RuiRadio } from '../components/forms/radio-button/radio/Radio.vue';
18
+ import { type RadioProps, default as RuiRadio } from '../components/forms/radio-button/radio/Radio.vue';
19
19
  import { type Props as RevealableTextFieldProps, default as RuiRevealableTextField } from '../components/forms/revealable-text-field/RevealableTextField.vue';
20
20
  import { type Props as LogoProps, default as RuiLogo } from '../components/logos/Logo.vue';
21
21
  import { default as RuiSimpleSelect, type Props as SimpleSelectProps } from '../components/forms/select/SimpleSelect.vue';
22
- import { type TableColumn as DataTableColumn, type GroupKeys as DataTableGroupKeys, type SortColumn as DataTableSortColumn, type TableSortData as DataTableSortData } from '../components/tables/TableHead.vue';
23
22
  import { type TableOptions as DataTableOptions, type Props as DataTableProps, default as RuiDataTable } from '../components/tables/DataTable.vue';
24
23
  import { type Props as ExpandButtonProps, default as RuiTableRowExpander } from '../components/tables/ExpandButton.vue';
25
24
  import { default as RuiTablePagination, type TablePaginationData, type Props as TablePaginationProps } from '../components/tables/TablePagination.vue';
@@ -30,4 +29,5 @@ import { default as RuiTab, type Props as TabProps } from '../components/tabs/ta
30
29
  import { default as RuiTabItems, type Props as TabItemsProps } from '../components/tabs/tab-items/TabItems.vue';
31
30
  import { default as RuiTabItem, type Props as TabItemProps } from '../components/tabs/tab-item/TabItem.vue';
32
31
  import { default as RuiSkeletonLoader, type Props as SkeletonLoaderProps } from '../components/loaders/Skeleton.vue';
32
+ import type { TableColumn as DataTableColumn, GroupKeys as DataTableGroupKeys, SortColumn as DataTableSortColumn, TableSortData as DataTableSortData } from '../components/tables/TableHead.vue';
33
33
  export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiTextField, RuiTooltip, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, RuiSkeletonLoader, RuiTextArea, RuiDivider, RuiTableRowExpander, AutoCompleteProps, ChipProps, TooltipProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, SkeletonLoaderProps, DividerProps, TextAreaProps, ExpandButtonProps, DataTableSortData, DataTableGroupKeys, };
@@ -1,7 +1,7 @@
1
- import { A as m, a as d, B as T, b, d as n, m as g, n as x, C, e as S, D as A, l as B, v as D, F, I, _ as c, P as h, R as k, f as v, g as P, k as f, t as E, h as G, p as L, r as j, q, s as w, E as H, o as _, u as y, i as z, j as J } from "../index-qKuRALnN.js";
1
+ import { A as m, a as d, B as T, b, d as n, m as g, n as x, C, e as S, D as A, l as B, v as D, F, I, _ as c, P as h, R as k, f as v, g as P, k as f, t as E, h as G, p as L, r as j, q, s as w, E as H, o as _, u as y, i as z, j as J } from "../index-9kAPUqqg.js";
2
2
  import "vue";
3
3
  import "@vueuse/shared";
4
- import "../theme-V5yenaDk.js";
4
+ import "../theme-DT8UjYf9.js";
5
5
  import "../icons/icons_1.es.js";
6
6
  import "../icons/icons_2.es.js";
7
7
  import "../icons/icons_5.es.js";
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: globalThis.PropType<"none" | "sm" | "lg" | "md" | "full">;
12
12
  default: undefined;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
15
  type: {
16
16
  type: globalThis.PropType<"article" | "button" | "text" | "icon" | "heading" | "paragraph" | "custom" | "avatar" | "thumbnail">;
17
17
  default: string;
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
6
6
  type: globalThis.PropType<"none" | "sm" | "lg" | "md" | "full">;
7
7
  default: undefined;
8
8
  };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
10
  rounded: {
11
11
  type: globalThis.PropType<"none" | "sm" | "lg" | "md" | "full">;
12
12
  default: undefined;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: globalThis.PropType<string>;
12
12
  default: undefined;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
15
  text: {
16
16
  type: globalThis.PropType<boolean>;
17
17
  default: boolean;
@@ -1,5 +1,5 @@
1
- import { type ContextColorsType } from '../../../consts/colors';
2
- import { type RuiIcons } from '~/src';
1
+ import type { ContextColorsType } from '../../../consts/colors';
2
+ import type { RuiIcons } from '~/src';
3
3
  export interface Props {
4
4
  text?: string | null;
5
5
  icon?: RuiIcons | null;
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
58
  type: globalThis.PropType<string | number>;
59
59
  default: number;
60
60
  };
61
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
61
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
62
62
  color: {
63
63
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
64
64
  default: string;
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  };
24
24
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
25
  "update:model-value": (modelValue: boolean) => void;
26
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
26
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
27
  size: {
28
28
  type: globalThis.PropType<"sm" | "lg" | "md">;
29
29
  default: string;
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
37
  type: globalThis.PropType<string>;
38
38
  default: string;
39
39
  };
40
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
40
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
41
41
  text: {
42
42
  type: globalThis.PropType<string | null>;
43
43
  default: null;
@@ -1,4 +1,4 @@
1
- import { type ContextColorsType } from '../../consts/colors';
1
+ import type { ContextColorsType } from '../../consts/colors';
2
2
  export interface Props {
3
3
  /**
4
4
  * in percentage value, required when variant === determinate or buffer
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  type: globalThis.PropType<string | number>;
57
57
  default: number;
58
58
  };
59
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
59
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
60
60
  value: {
61
61
  type: globalThis.PropType<number>;
62
62
  default: number;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  };
24
24
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
25
  "update:modelValue": (modelValue: number) => void;
26
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
26
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
27
  variant: {
28
28
  type: globalThis.PropType<"progress" | "numeric" | "bullet" | "pill">;
29
29
  default: string;
@@ -42,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
42
42
  type: globalThis.PropType<boolean>;
43
43
  default: boolean;
44
44
  };
45
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
45
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
46
46
  orientation: {
47
47
  type: globalThis.PropType<StepperOrientation>;
48
48
  default: "horizontal";
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: globalThis.PropType<number>;
9
9
  required: true;
10
10
  };
11
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
12
  state: {
13
13
  type: globalThis.PropType<StepperState>;
14
14
  default: "inactive";
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: globalThis.PropType<number>;
9
9
  required: true;
10
10
  };
11
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<globalThis.ExtractPropTypes<{
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
12
  state: {
13
13
  type: globalThis.PropType<StepperState>;
14
14
  default: "inactive";