vueless 0.0.536 → 0.0.537

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 (77) hide show
  1. package/package.json +1 -1
  2. package/ui.button/UButton.vue +1 -1
  3. package/ui.button/types.ts +1 -1
  4. package/ui.button-link/ULink.vue +1 -1
  5. package/ui.button-link/types.ts +1 -1
  6. package/ui.button-toggle/UToggle.vue +1 -1
  7. package/ui.button-toggle/types.ts +1 -1
  8. package/ui.button-toggle-item/UToggleItem.vue +1 -1
  9. package/ui.button-toggle-item/types.ts +1 -1
  10. package/ui.container-accordion/UAccordion.vue +1 -1
  11. package/ui.container-accordion/types.ts +1 -1
  12. package/ui.container-card/UCard.vue +1 -1
  13. package/ui.container-card/types.ts +1 -1
  14. package/ui.container-col/UCol.vue +1 -1
  15. package/ui.container-col/types.ts +1 -1
  16. package/ui.container-divider/UDivider.vue +1 -1
  17. package/ui.container-divider/types.ts +1 -1
  18. package/ui.container-group/UGroup.vue +1 -1
  19. package/ui.container-group/types.ts +1 -1
  20. package/ui.container-modal/UModal.vue +1 -1
  21. package/ui.container-modal/types.ts +1 -1
  22. package/ui.container-modal-confirm/UModalConfirm.vue +1 -1
  23. package/ui.container-modal-confirm/types.ts +1 -1
  24. package/ui.container-page/UPage.vue +1 -1
  25. package/ui.container-page/types.ts +1 -1
  26. package/ui.container-row/URow.vue +1 -1
  27. package/ui.container-row/types.ts +1 -1
  28. package/ui.data-table/UTable.vue +6 -6
  29. package/ui.data-table/config.ts +5 -4
  30. package/ui.data-table/useAttrs.ts +3 -2
  31. package/ui.form-checkbox/UCheckbox.vue +1 -1
  32. package/ui.form-checkbox/types.ts +1 -1
  33. package/ui.form-checkbox-group/UCheckboxGroup.vue +1 -1
  34. package/ui.form-checkbox-group/types.ts +1 -1
  35. package/ui.form-checkbox-multi-state/UCheckboxMultiState.vue +1 -1
  36. package/ui.form-checkbox-multi-state/types.ts +1 -1
  37. package/ui.form-select/config.js +3 -3
  38. package/ui.image-avatar/UAvatar.vue +1 -1
  39. package/ui.image-avatar/types.ts +1 -1
  40. package/ui.image-icon/UIcon.vue +1 -1
  41. package/ui.image-icon/types.ts +1 -1
  42. package/ui.loader/ULoader.vue +1 -1
  43. package/ui.loader/types.ts +1 -1
  44. package/ui.loader-overlay/ULoaderOverlay.vue +1 -1
  45. package/ui.loader-overlay/types.ts +1 -1
  46. package/ui.loader-progress/ULoaderProgress.vue +1 -1
  47. package/ui.loader-progress/types.ts +1 -1
  48. package/ui.navigation-pagination/UPagination.vue +1 -1
  49. package/ui.navigation-pagination/types.ts +1 -1
  50. package/ui.navigation-progress/StepperProgress.vue +1 -1
  51. package/ui.navigation-progress/UProgress.vue +1 -1
  52. package/ui.navigation-progress/types.ts +2 -2
  53. package/ui.navigation-tab/UTab.vue +1 -1
  54. package/ui.navigation-tab/types.ts +1 -1
  55. package/ui.navigation-tabs/UTabs.vue +1 -1
  56. package/ui.navigation-tabs/types.ts +1 -1
  57. package/ui.other-dot/UDot.vue +1 -1
  58. package/ui.other-dot/types.ts +1 -1
  59. package/ui.text-alert/UAlert.vue +1 -1
  60. package/ui.text-alert/types.ts +1 -1
  61. package/ui.text-badge/UBadge.vue +1 -1
  62. package/ui.text-badge/types.ts +1 -1
  63. package/ui.text-block/UText.vue +1 -1
  64. package/ui.text-block/types.ts +1 -1
  65. package/ui.text-empty/UEmpty.vue +1 -1
  66. package/ui.text-empty/types.ts +1 -1
  67. package/ui.text-file/UFile.vue +1 -1
  68. package/ui.text-file/types.ts +1 -1
  69. package/ui.text-files/UFiles.vue +1 -1
  70. package/ui.text-files/types.ts +1 -1
  71. package/ui.text-header/UHeader.vue +1 -1
  72. package/ui.text-header/types.ts +1 -1
  73. package/ui.text-money/UMoney.vue +1 -1
  74. package/ui.text-money/types.ts +1 -1
  75. package/ui.text-notify/UNotify.vue +1 -1
  76. package/ui.text-notify/types.ts +1 -1
  77. package/web-types.json +37 -145
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.536",
3
+ "version": "0.0.537",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, ref, watchEffect, useId, watch } from "vue";
3
3
 
4
4
  import { useDarkMode } from "../composables/useDarkMode.ts";
@@ -93,7 +93,7 @@ export interface UButtonProps {
93
93
  /**
94
94
  * Component config object.
95
95
  */
96
- config?: Partial<typeof defaultConfig>;
96
+ config?: Config;
97
97
 
98
98
  /**
99
99
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, ref } from "vue";
3
3
  import { RouterLink, useLink } from "vue-router";
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -104,7 +104,7 @@ export interface ULinkProps {
104
104
  /**
105
105
  * Component config object.
106
106
  */
107
- config?: Partial<typeof defaultConfig>;
107
+ config?: Config;
108
108
 
109
109
  /**
110
110
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, provide, readonly } from "vue";
3
3
 
4
4
  import ULabel from "../ui.form-label/ULabel.vue";
@@ -76,7 +76,7 @@ export interface UToggleProps {
76
76
  /**
77
77
  * Component config object.
78
78
  */
79
- config?: Partial<typeof defaultConfig>;
79
+ config?: Config;
80
80
 
81
81
  /**
82
82
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, inject, onMounted, ref, useId } from "vue";
3
3
 
4
4
  import UButton from "../ui.button/UButton.vue";
@@ -31,7 +31,7 @@ export interface UToggleItemProps {
31
31
  /**
32
32
  * Component config object.
33
33
  */
34
- config?: Partial<typeof defaultConfig>;
34
+ config?: Config;
35
35
 
36
36
  /**
37
37
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, ref, useId } from "vue";
3
3
 
4
4
  import UIcon from "../ui.image-icon/UIcon.vue";
@@ -26,7 +26,7 @@ export interface UAccordionProps {
26
26
  /**
27
27
  * Component config object.
28
28
  */
29
- config?: Partial<typeof defaultConfig>;
29
+ config?: Config;
30
30
 
31
31
  /**
32
32
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, useSlots } from "vue";
3
3
 
4
4
  import UHeader from "../ui.text-header/UHeader.vue";
@@ -16,7 +16,7 @@ export interface UCardProps {
16
16
  /**
17
17
  * Component config object.
18
18
  */
19
- config?: Partial<typeof defaultConfig>;
19
+ config?: Config;
20
20
 
21
21
  /**
22
22
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { UCol } from "./constants.ts";
@@ -45,7 +45,7 @@ export interface UColProps {
45
45
  /**
46
46
  * Component config object.
47
47
  */
48
- config?: Partial<typeof defaultConfig>;
48
+ config?: Config;
49
49
 
50
50
  /**
51
51
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { UDivider } from "./constants.ts";
@@ -46,7 +46,7 @@ export interface UDividerProps {
46
46
  /**
47
47
  * Component config object.
48
48
  */
49
- config?: Partial<typeof defaultConfig>;
49
+ config?: Config;
50
50
 
51
51
  /**
52
52
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
  import UDivider from "../ui.container-divider/UDivider.vue";
4
4
  import UHeader from "../ui.text-header/UHeader.vue";
@@ -26,7 +26,7 @@ export interface UGroupProps {
26
26
  /**
27
27
  * Component config object.
28
28
  */
29
- config?: Partial<typeof defaultConfig>;
29
+ config?: Config;
30
30
 
31
31
  /**
32
32
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, useSlots, watch, ref, useId } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -73,7 +73,7 @@ export interface UModalProps {
73
73
  /**
74
74
  * Component config object.
75
75
  */
76
- config?: Partial<typeof defaultConfig>;
76
+ config?: Config;
77
77
 
78
78
  /**
79
79
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed } from "vue";
3
3
  import { merge } from "lodash-es";
4
4
 
@@ -97,7 +97,7 @@ export interface UModalConfirmProps {
97
97
  /**
98
98
  * Component config object.
99
99
  */
100
- config?: Partial<typeof defaultConfig>;
100
+ config?: Config;
101
101
 
102
102
  /**
103
103
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, useSlots, onMounted } from "vue";
3
3
 
4
4
  import useBreakpoint from "../composables/useBreakpoint.ts";
@@ -48,7 +48,7 @@ export interface UPageProps {
48
48
  /**
49
49
  * Component config object.
50
50
  */
51
- config?: Partial<typeof defaultConfig>;
51
+ config?: Config;
52
52
 
53
53
  /**
54
54
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { URow } from "./constants.ts";
@@ -50,7 +50,7 @@ export interface URowProps {
50
50
  /**
51
51
  * Component config object.
52
52
  */
53
- config?: Partial<typeof defaultConfig>;
53
+ config?: Config;
54
54
 
55
55
  /**
56
56
  * Data-test attribute for automated testing.
@@ -205,14 +205,14 @@ const {
205
205
  bodyRowDateDividerAttrs,
206
206
  headerCellBaseAttrs,
207
207
  headerCellCheckboxAttrs,
208
- stickyHeaderActionsCheckboxAttrs,
208
+ headerActionsCheckboxAttrs,
209
209
  stickyHeaderCheckboxAttrs,
210
210
  headerCheckboxAttrs,
211
211
  headerCounterAttrs,
212
212
  bodyEmptyStateAttrs,
213
213
  bodyDateDividerAttrs,
214
214
  bodyCellDateDividerAttrs,
215
- stickyHeaderActionsCounterAttrs,
215
+ headerActionsCounterAttrs,
216
216
  stickyHeaderCounterAttrs,
217
217
  stickyHeaderLoaderAttrs,
218
218
  tableAttrs,
@@ -496,14 +496,14 @@ defineExpose({
496
496
  v-model="selectAll"
497
497
  size="md"
498
498
  :partial="!isSelectedAllRows"
499
- v-bind="stickyHeaderActionsCheckboxAttrs"
499
+ v-bind="headerActionsCheckboxAttrs"
500
500
  :data-test="`${dataTest}-select-all`"
501
501
  />
502
502
  </div>
503
503
 
504
504
  <div
505
505
  v-if="selectedRows.length"
506
- v-bind="stickyHeaderActionsCounterAttrs"
506
+ v-bind="headerActionsCounterAttrs"
507
507
  v-text="selectedRows.length"
508
508
  />
509
509
 
@@ -529,14 +529,14 @@ defineExpose({
529
529
  v-model="selectAll"
530
530
  size="md"
531
531
  :partial="!isSelectedAllRows"
532
- v-bind="stickyHeaderActionsCheckboxAttrs"
532
+ v-bind="headerActionsCheckboxAttrs"
533
533
  :data-test="`${dataTest}-select-all`"
534
534
  />
535
535
  </div>
536
536
 
537
537
  <div
538
538
  v-if="selectedRows.length"
539
- v-bind="stickyHeaderActionsCounterAttrs"
539
+ v-bind="headerActionsCounterAttrs"
540
540
  v-text="selectedRows.length"
541
541
  />
542
542
 
@@ -1,7 +1,7 @@
1
1
  export default /*tw*/ {
2
2
  wrapper: "relative w-full overflow-auto",
3
3
  headerCounterBase: "mr-1.5 pr-1.5 font-medium text-sm text-gray-900",
4
- stickyHeader: "fixed top-0 flex items-center z-30 overflow-hidden rounded-none border",
4
+ stickyHeader: "fixed top-0 flex items-center z-30 overflow-hidden border rounded-none",
5
5
  stickyHeaderRow: "border-gray-200 bg-white",
6
6
  stickyHeaderCell: "flex-none whitespace-nowrap",
7
7
  stickyHeaderCheckbox: "{UCheckbox}",
@@ -14,9 +14,10 @@ export default /*tw*/ {
14
14
  },
15
15
  },
16
16
  stickyHeaderLoader: "{ULoaderProgress}",
17
- stickyHeaderActions: "rounded-t-lg border-blue-200 bg-blue-50",
18
- stickyHeaderActionsCheckbox: "{UCheckbox}",
19
- stickyHeaderActionsCounter: "-ml-1.5",
17
+ stickyHeaderActions: "rounded-none",
18
+ headerActions: "rounded-t-dynamic border-blue-200 bg-blue-50",
19
+ headerActionsCheckbox: "{UCheckbox}",
20
+ headerActionsCounter: "-ml-1.5",
20
21
  tableWrapper: "border border-gray-200 rounded-dynamic bg-white",
21
22
  table: "min-w-full border-none text-sm w-full table-auto",
22
23
  header: "border-b border-gray-200",
@@ -25,6 +25,7 @@ export default function useAttrs(
25
25
 
26
26
  const extendingKeys = [
27
27
  "headerCounterBase",
28
+ "headerActions",
28
29
  "stickyHeaderActions",
29
30
  "stickyHeaderRow",
30
31
  "stickyFooter",
@@ -42,7 +43,7 @@ export default function useAttrs(
42
43
  const classes = [];
43
44
 
44
45
  if (isShownActionsHeader.value) {
45
- classes.push(extendingKeysClasses.stickyHeaderActions.value);
46
+ classes.push(extendingKeysClasses.headerActions.value);
46
47
  }
47
48
 
48
49
  if (isShownActionsHeader.value && isHeaderSticky.value) {
@@ -65,7 +66,7 @@ export default function useAttrs(
65
66
  stickyHeaderCounter: {
66
67
  base: computed(() => [extendingKeysClasses.headerCounterBase.value]),
67
68
  },
68
- stickyHeaderActionsCounter: {
69
+ headerActionsCounter: {
69
70
  base: computed(() => [extendingKeysClasses.headerCounterBase.value]),
70
71
  },
71
72
  headerCellCheckbox: {
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { inject, ref, onMounted, computed, watchEffect, toValue, useId } from "vue";
3
3
  import { isEqual } from "lodash-es";
4
4
 
@@ -97,7 +97,7 @@ export interface UCheckboxProps {
97
97
  /**
98
98
  * Component config object.
99
99
  */
100
- config?: Partial<typeof defaultConfig>;
100
+ config?: Config;
101
101
 
102
102
  /**
103
103
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { provide, ref, watch } from "vue";
3
3
  import { isEqual } from "lodash-es";
4
4
 
@@ -74,7 +74,7 @@ export interface UCheckboxGroupProps {
74
74
  /**
75
75
  * Component config object.
76
76
  */
77
- config?: Partial<typeof defaultConfig>;
77
+ config?: Config;
78
78
 
79
79
  /**
80
80
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, ref, watchEffect } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -62,7 +62,7 @@ export interface UCheckboxMultiStateProps {
62
62
  /**
63
63
  * Component config object.
64
64
  */
65
- config?: Partial<typeof defaultConfig>;
65
+ config?: Config;
66
66
 
67
67
  /**
68
68
  * Data-test attribute for automated testing.
@@ -44,9 +44,9 @@ export default /*tw*/ {
44
44
  `,
45
45
  variants: {
46
46
  size: {
47
- sm: "text-xs min-h-4",
48
- md: "text-sm min-h-5",
49
- lg: "text-base min-h-6",
47
+ sm: "text-xs",
48
+ md: "text-sm",
49
+ lg: "text-base",
50
50
  },
51
51
  disabled: {
52
52
  true: "text-gray-700",
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed } from "vue";
3
3
 
4
4
  import UIcon from "../ui.image-icon/UIcon.vue";
@@ -43,7 +43,7 @@ export interface UAvatarProps {
43
43
  /**
44
44
  * Component config object.
45
45
  */
46
- config?: Partial<typeof defaultConfig>;
46
+ config?: Config;
47
47
 
48
48
  /**
49
49
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, defineAsyncComponent } from "vue";
3
3
  import { vTooltip } from "../directives";
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -53,7 +53,7 @@ export interface UIconProps {
53
53
  /**
54
54
  * Component config object.
55
55
  */
56
- config?: Partial<typeof defaultConfig>;
56
+ config?: Config;
57
57
 
58
58
  /**
59
59
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { ULoader, ELLIPSES_AMOUNT } from "./constants.ts";
@@ -23,5 +23,5 @@ export interface ULoaderProps {
23
23
  /**
24
24
  * Component config object.
25
25
  */
26
- config?: Partial<typeof defaultConfig>;
26
+ config?: Config;
27
27
  }
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, onMounted, onUnmounted } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -18,5 +18,5 @@ export interface ULoaderOverlayProps {
18
18
  /**
19
19
  * Component config object.
20
20
  */
21
- config?: Partial<typeof defaultConfig>;
21
+ config?: Config;
22
22
  }
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, onBeforeUnmount, watch, ref, onMounted, onUnmounted } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -23,5 +23,5 @@ export interface ULoaderProgressProps {
23
23
  /**
24
24
  * Component config object.
25
25
  */
26
- config?: Partial<typeof defaultConfig>;
26
+ config?: Config;
27
27
  }
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed } from "vue";
3
3
  import { range } from "lodash-es";
4
4
 
@@ -76,7 +76,7 @@ export interface UPaginationProps {
76
76
  /**
77
77
  * Component config object.
78
78
  */
79
- config?: Partial<typeof defaultConfig>;
79
+ config?: Config;
80
80
 
81
81
  /**
82
82
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import colors from "tailwindcss/colors.js";
3
3
  import { computed } from "vue";
4
4
 
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -38,7 +38,7 @@ export interface UProgressProps {
38
38
  /**
39
39
  * Component config object.
40
40
  */
41
- config?: Partial<typeof defaultConfig>;
41
+ config?: Config;
42
42
 
43
43
  /**
44
44
  * Data-test attribute for automated testing.
@@ -65,7 +65,7 @@ export interface StepperProgressProps {
65
65
  /**
66
66
  * Component config object.
67
67
  */
68
- config?: Partial<typeof defaultConfig>;
68
+ config?: Config;
69
69
 
70
70
  /**
71
71
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, inject, toValue } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -21,7 +21,7 @@ export interface UTabProps {
21
21
  /**
22
22
  * Component config object.
23
23
  */
24
- config?: Partial<typeof defaultConfig>;
24
+ config?: Config;
25
25
 
26
26
  /**
27
27
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { computed, provide } from "vue";
3
3
 
4
4
  import UTab from "../ui.navigation-tab/UTab.vue";
@@ -28,7 +28,7 @@ export interface UTabsProps {
28
28
  /**
29
29
  * Component config object.
30
30
  */
31
- config?: Partial<typeof defaultConfig>;
31
+ config?: Config;
32
32
 
33
33
  /**
34
34
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { UDot } from "./constants.ts";
@@ -18,7 +18,7 @@ export interface UDotProps {
18
18
  /**
19
19
  * Component config object.
20
20
  */
21
- config?: Partial<typeof defaultConfig>;
21
+ config?: Config;
22
22
 
23
23
  /**
24
24
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { onMounted, ref, computed } from "vue";
3
3
  import { getDefault } from "../utils/ui.ts";
4
4
 
@@ -48,7 +48,7 @@ export interface UAlertProps {
48
48
  /**
49
49
  * Component config object.
50
50
  */
51
- config?: Partial<typeof defaultConfig>;
51
+ config?: Config;
52
52
 
53
53
  /**
54
54
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { useTemplateRef, computed } from "vue";
3
3
 
4
4
  import { getDefault } from "../utils/ui.ts";
@@ -58,7 +58,7 @@ export interface UBadgeProps {
58
58
  /**
59
59
  * Component config object.
60
60
  */
61
- config?: Partial<typeof defaultConfig>;
61
+ config?: Config;
62
62
 
63
63
  /**
64
64
  * Data-test attribute for automated testing.
@@ -1,4 +1,4 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { getDefault } from "../utils/ui.ts";
3
3
 
4
4
  import { UText } from "./constants.ts";
@@ -26,7 +26,7 @@ export interface UTextProps {
26
26
  /**
27
27
  * Component config object.
28
28
  */
29
- config?: Partial<typeof defaultConfig>;
29
+ config?: Config;
30
30
 
31
31
  /**
32
32
  * Data-test attribute for automated testing.