vueless 0.0.536 → 0.0.538

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/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 -2
  19. package/ui.container-group/config.ts +1 -14
  20. package/ui.container-group/types.ts +1 -6
  21. package/ui.container-groups/UGroups.vue +25 -0
  22. package/ui.container-groups/config.ts +18 -0
  23. package/ui.container-groups/constants.ts +5 -0
  24. package/ui.container-groups/storybook/Docs.mdx +16 -0
  25. package/ui.container-groups/storybook/stories.ts +59 -0
  26. package/ui.container-groups/types.ts +20 -0
  27. package/ui.container-groups/useAttrs.ts +18 -0
  28. package/ui.container-modal/UModal.vue +1 -1
  29. package/ui.container-modal/types.ts +1 -1
  30. package/ui.container-modal-confirm/UModalConfirm.vue +1 -1
  31. package/ui.container-modal-confirm/types.ts +1 -1
  32. package/ui.container-page/UPage.vue +1 -1
  33. package/ui.container-page/types.ts +1 -1
  34. package/ui.container-row/URow.vue +1 -1
  35. package/ui.container-row/types.ts +1 -1
  36. package/ui.data-table/UTable.vue +6 -6
  37. package/ui.data-table/config.ts +5 -4
  38. package/ui.data-table/useAttrs.ts +3 -2
  39. package/ui.form-checkbox/UCheckbox.vue +1 -1
  40. package/ui.form-checkbox/types.ts +1 -1
  41. package/ui.form-checkbox-group/UCheckboxGroup.vue +1 -1
  42. package/ui.form-checkbox-group/types.ts +1 -1
  43. package/ui.form-checkbox-multi-state/UCheckboxMultiState.vue +1 -1
  44. package/ui.form-checkbox-multi-state/types.ts +1 -1
  45. package/ui.form-select/config.js +3 -3
  46. package/ui.image-avatar/UAvatar.vue +1 -1
  47. package/ui.image-avatar/types.ts +1 -1
  48. package/ui.image-icon/UIcon.vue +1 -1
  49. package/ui.image-icon/types.ts +1 -1
  50. package/ui.loader/ULoader.vue +1 -1
  51. package/ui.loader/types.ts +1 -1
  52. package/ui.loader-overlay/ULoaderOverlay.vue +1 -1
  53. package/ui.loader-overlay/types.ts +1 -1
  54. package/ui.loader-progress/ULoaderProgress.vue +1 -1
  55. package/ui.loader-progress/types.ts +1 -1
  56. package/ui.navigation-pagination/UPagination.vue +1 -1
  57. package/ui.navigation-pagination/types.ts +1 -1
  58. package/ui.navigation-progress/StepperProgress.vue +1 -1
  59. package/ui.navigation-progress/UProgress.vue +1 -1
  60. package/ui.navigation-progress/types.ts +2 -2
  61. package/ui.navigation-tab/UTab.vue +1 -1
  62. package/ui.navigation-tab/types.ts +1 -1
  63. package/ui.navigation-tabs/UTabs.vue +1 -1
  64. package/ui.navigation-tabs/types.ts +1 -1
  65. package/ui.other-dot/UDot.vue +1 -1
  66. package/ui.other-dot/types.ts +1 -1
  67. package/ui.text-alert/UAlert.vue +1 -1
  68. package/ui.text-alert/types.ts +1 -1
  69. package/ui.text-badge/UBadge.vue +1 -1
  70. package/ui.text-badge/types.ts +1 -1
  71. package/ui.text-block/UText.vue +1 -1
  72. package/ui.text-block/types.ts +1 -1
  73. package/ui.text-empty/UEmpty.vue +1 -1
  74. package/ui.text-empty/types.ts +1 -1
  75. package/ui.text-file/UFile.vue +1 -1
  76. package/ui.text-file/types.ts +1 -1
  77. package/ui.text-files/UFiles.vue +1 -1
  78. package/ui.text-files/types.ts +1 -1
  79. package/ui.text-header/UHeader.vue +1 -1
  80. package/ui.text-header/types.ts +1 -1
  81. package/ui.text-money/UMoney.vue +1 -1
  82. package/ui.text-money/types.ts +1 -1
  83. package/ui.text-notify/UNotify.vue +1 -1
  84. package/ui.text-notify/types.ts +1 -1
  85. package/web-types.json +90 -163
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.536",
3
+ "version": "0.0.538",
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";
@@ -12,7 +12,6 @@ import type { UGroupProps } from "./types.ts";
12
12
  defineOptions({ inheritAttrs: false });
13
13
 
14
14
  const props = withDefaults(defineProps<UGroupProps>(), {
15
- gap: getDefault<UGroupProps>(defaultConfig, UGroup).gap,
16
15
  upperlined: getDefault<UGroupProps>(defaultConfig, UGroup).upperlined,
17
16
  underlined: getDefault<UGroupProps>(defaultConfig, UGroup).underlined,
18
17
  dataTest: "",
@@ -12,21 +12,8 @@ export default /*tw*/ {
12
12
  header: "flex items-center justify-between",
13
13
  headerLeftFallback: "flex items-center",
14
14
  title: "{UHeader} pr-2",
15
- content: {
16
- base: "flex flex-col items-stretch",
17
- variants: {
18
- gap: {
19
- none: "gap-0",
20
- xs: "gap-8",
21
- sm: "gap-10",
22
- md: "gap-12",
23
- lg: "gap-14",
24
- xl: "gap-16",
25
- },
26
- },
27
- },
15
+ content: "",
28
16
  defaults: {
29
- gap: "md",
30
17
  upperlined: false,
31
18
  underlined: false,
32
19
  },
@@ -8,11 +8,6 @@ export interface UGroupProps {
8
8
  */
9
9
  title?: string;
10
10
 
11
- /**
12
- * The distance between nested elements.
13
- */
14
- gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
15
-
16
11
  /**
17
12
  * Show line above the header.
18
13
  */
@@ -26,7 +21,7 @@ export interface UGroupProps {
26
21
  /**
27
22
  * Component config object.
28
23
  */
29
- config?: Partial<typeof defaultConfig>;
24
+ config?: Config;
30
25
 
31
26
  /**
32
27
  * Data-test attribute for automated testing.
@@ -0,0 +1,25 @@
1
+ <script setup lang="ts">
2
+ import { getDefault } from "../utils/ui.ts";
3
+
4
+ import { UGroups } from "./constants.ts";
5
+ import defaultConfig from "./config.ts";
6
+ import useAttrs from "./useAttrs.ts";
7
+
8
+ import type { UGroupsProps } from "./types.ts";
9
+
10
+ defineOptions({ inheritAttrs: false });
11
+
12
+ const props = withDefaults(defineProps<UGroupsProps>(), {
13
+ gap: getDefault<UGroupsProps>(defaultConfig, UGroups).gap,
14
+ dataTest: "",
15
+ });
16
+
17
+ const { wrapperAttrs } = useAttrs(props);
18
+ </script>
19
+
20
+ <template>
21
+ <div v-bind="wrapperAttrs" :data-test="dataTest">
22
+ <!-- @slot Use it to add something inside. -->
23
+ <slot />
24
+ </div>
25
+ </template>
@@ -0,0 +1,18 @@
1
+ export default /*tw*/ {
2
+ wrapper: {
3
+ base: "flex flex-col items-stretch",
4
+ variants: {
5
+ gap: {
6
+ none: "gap-0",
7
+ xs: "gap-8",
8
+ sm: "gap-10",
9
+ md: "gap-12",
10
+ lg: "gap-14",
11
+ xl: "gap-16",
12
+ },
13
+ },
14
+ },
15
+ defaults: {
16
+ gap: "md",
17
+ },
18
+ };
@@ -0,0 +1,5 @@
1
+ /*
2
+ This const is needed to prevent the issue in script setup:
3
+ `defineProps` is referencing locally declared variables. (vue/valid-define-props)
4
+ */
5
+ export const UGroups = "UGroup";
@@ -0,0 +1,16 @@
1
+ import { Meta, Title, Subtitle, Description, Primary, Controls, Stories, Source } from "@storybook/blocks";
2
+ import { getSource } from "../../utils/storybook.ts";
3
+
4
+ import * as stories from "./stories.ts";
5
+ import defaultConfig from "../config.ts?raw"
6
+
7
+ <Meta of={stories} />
8
+ <Title of={stories} />
9
+ <Subtitle of={stories} />
10
+ <Description of={stories} />
11
+ <Primary of={stories} />
12
+ <Controls of={stories.Default} />
13
+ <Stories of={stories} />
14
+
15
+ ## Default config
16
+ <Source code={getSource(defaultConfig)} language="jsx" dark />
@@ -0,0 +1,59 @@
1
+ import { getArgTypes, getSlotNames } from "../../utils/storybook.ts";
2
+
3
+ import UGroups from "../../ui.container-groups/UGroups.vue";
4
+ import UGroup from "../../ui.container-group/UGroup.vue";
5
+ import UCol from "../../ui.container-col/UCol.vue";
6
+ import UInput from "../../ui.form-input/UInput.vue";
7
+
8
+ import type { Meta, StoryFn } from "@storybook/vue3";
9
+ import type { UGroupsProps } from "../types.ts";
10
+
11
+ interface UGroupsArgs extends UGroupsProps {
12
+ slotTemplate?: string;
13
+ }
14
+
15
+ /**
16
+ * The `UGroups` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.container-groups)
17
+ */
18
+ export default {
19
+ id: "5035",
20
+ title: "Containers / Groups",
21
+ component: UGroups,
22
+ args: {},
23
+ argTypes: {
24
+ ...getArgTypes(UGroups.__name),
25
+ },
26
+ parameters: {
27
+ docs: {
28
+ story: {
29
+ iframeHeight: 360,
30
+ },
31
+ },
32
+ },
33
+ } as Meta;
34
+
35
+ const DefaultTemplate: StoryFn<UGroupsArgs> = (args: UGroupsArgs) => ({
36
+ components: { UGroups, UGroup, UCol, UInput },
37
+ setup() {
38
+ const slots = getSlotNames(UGroups.__name);
39
+
40
+ return { args, slots };
41
+ },
42
+ template: `
43
+ <UGroups v-bind="args">
44
+ ${args.slotTemplate}
45
+ </UGroups>
46
+ `,
47
+ });
48
+
49
+ export const Default = DefaultTemplate.bind({});
50
+ Default.args = {
51
+ slotTemplate: `
52
+ <UGroup :upperlined="n !== 1" :title="'Group '+n" v-for="n in 3">
53
+ <UCol>
54
+ <UInput placeholder="input" label="Label" />
55
+ <UInput placeholder="input" label="Label" />
56
+ </UCol>
57
+ </UGroup>
58
+ `,
59
+ };
@@ -0,0 +1,20 @@
1
+ import defaultConfig from "./config.ts";
2
+
3
+ export type Config = Partial<typeof defaultConfig>;
4
+
5
+ export interface UGroupsProps {
6
+ /**
7
+ * The distance between nested elements.
8
+ */
9
+ gap?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
10
+
11
+ /**
12
+ * Component config object.
13
+ */
14
+ config?: Config;
15
+
16
+ /**
17
+ * Data-test attribute for automated testing.
18
+ */
19
+ dataTest?: string;
20
+ }
@@ -0,0 +1,18 @@
1
+ import useUI from "../composables/useUI.ts";
2
+
3
+ import defaultConfig from "./config.ts";
4
+
5
+ import type { UseAttrs } from "../types.ts";
6
+ import type { UGroupsProps, Config } from "./types.ts";
7
+
8
+ export default function useAttrs(props: UGroupsProps): UseAttrs<Config> {
9
+ const { config, getKeysAttrs, hasSlotContent } = useUI<Config>(defaultConfig, () => props.config);
10
+
11
+ const keysAttrs = getKeysAttrs();
12
+
13
+ return {
14
+ config,
15
+ ...keysAttrs,
16
+ hasSlotContent,
17
+ };
18
+ }
@@ -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.