vueless 1.4.3-beta.0 → 1.4.3-beta.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "1.4.3-beta.0",
3
+ "version": "1.4.3-beta.2",
4
4
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
5
5
  "author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
6
6
  "homepage": "https://vueless.com",
@@ -57,7 +57,7 @@
57
57
  "@vue/eslint-config-typescript": "^14.6.0",
58
58
  "@vue/test-utils": "^2.4.6",
59
59
  "@vue/tsconfig": "^0.7.0",
60
- "@vueless/storybook": "^1.4.12",
60
+ "@vueless/storybook": "^1.4.15",
61
61
  "eslint": "^9.32.0",
62
62
  "eslint-plugin-storybook": "^10.0.2",
63
63
  "eslint-plugin-vue": "^10.3.0",
@@ -39,7 +39,7 @@ const props = defineProps<UTableRowProps>();
39
39
  const slots = useSlots();
40
40
  const attrs = useAttrs();
41
41
 
42
- const cellRef = useTemplateRef<HTMLDivElement[]>("cell");
42
+ const cellRef = useTemplateRef<HTMLDivElement>("cell");
43
43
 
44
44
  if (props.textEllipsis) {
45
45
  useMutationObserver(cellRef, setCellTitle, {
@@ -67,7 +67,7 @@ const toggleIconConfig = computed(() => {
67
67
 
68
68
  onMounted(() => {
69
69
  if (cellRef.value) {
70
- cellRef.value.forEach(setElementTitle);
70
+ setElementTitle(cellRef.value);
71
71
  }
72
72
  });
73
73
 
@@ -15,9 +15,9 @@ export default /*tw*/ {
15
15
  bodyWarning: "{>body} bg-radial-[circle_at_0%_50%] from-warning/25 from-2.17% to-transparent",
16
16
  bodyError: "{>body} bg-radial-[circle_at_0%_50%] from-error/25 from-2.17% to-transparent",
17
17
  bodyInfo: "{>body} bg-radial-[circle_at_0%_50%] from-info/25 from-2.17% to-transparent",
18
- content: "w-full flex flex-col max-w-full text-medium text-inverted break-all text-wrap",
18
+ content: "w-full flex flex-col max-w-full text-medium text-inverted wrap-anywhere text-wrap",
19
19
  label: "mb-0.5 font-medium",
20
- description: "wrap-break-word font-normal",
20
+ description: "wrap-anywhere font-normal",
21
21
  statusIcon: "{UIcon} brightness-125 dark:brightness-75",
22
22
  successIcon: "{UIcon} {>statusIcon} text-success",
23
23
  warningIcon: "{UIcon} {>statusIcon} text-warning",