@codeandfunction/callaloo 4.7.5 → 4.7.6

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.
@@ -1,6 +1,6 @@
1
1
  import '../../assets/core.css';
2
2
  import './CLTable.css';
3
- import { defineComponent as i, computed as b, createElementBlock as o, openBlock as a, normalizeStyle as p, normalizeClass as s, unref as d, createElementVNode as h, createCommentVNode as y, renderSlot as r, Fragment as k, renderList as L, createVNode as T, withCtx as v } from "vue";
3
+ import { defineComponent as i, computed as b, createElementBlock as a, openBlock as o, normalizeStyle as p, normalizeClass as s, unref as d, createElementVNode as h, createCommentVNode as y, renderSlot as r, Fragment as k, renderList as L, createVNode as T, withCtx as v } from "vue";
4
4
  import { CLMode as C, CLColorVariants as B, CLColors as w, CLTableTypes as g, CLTextTypes as H } from "../../index.js";
5
5
  import { g as N } from "../../chunks/utils-D00IXMTR.js";
6
6
  import { useTheme as x } from "../../composables/useTheme.js";
@@ -25,7 +25,7 @@ const A = () => {
25
25
  borderRadius: {},
26
26
  colWidths: {},
27
27
  id: { default: "main" },
28
- rounded: { type: Boolean, default: !0 },
28
+ rounded: { type: Boolean, default: !1 },
29
29
  rowHeight: { default: "auto" },
30
30
  striped: { type: Boolean },
31
31
  testId: { default: "clll-table" },
@@ -45,7 +45,7 @@ const A = () => {
45
45
  t.withVerticalLines ? `${e}--vertical-lines` : void 0,
46
46
  t.bordered ? `${e}--bordered` : void 0
47
47
  ]);
48
- return (c, m) => (a(), o("div", {
48
+ return (c, m) => (o(), a("div", {
49
49
  class: s(d(n)),
50
50
  "data-testid": l.testId,
51
51
  style: p(d(A)())
@@ -55,8 +55,8 @@ const A = () => {
55
55
  class: s(d(u)),
56
56
  style: p({ "--clll-table-row-height": l.rowHeight })
57
57
  }, [
58
- l.colWidths?.length ? (a(), o("colgroup", F, [
59
- (a(!0), o(k, null, L(l.colWidths, (_, $) => (a(), o("col", {
58
+ l.colWidths?.length ? (o(), a("colgroup", F, [
59
+ (o(!0), a(k, null, L(l.colWidths, (_, $) => (o(), a("col", {
60
60
  key: `table-${l.id}-col-${$}`,
61
61
  style: p({ width: _ })
62
62
  }, null, 4))), 128))
@@ -69,7 +69,7 @@ const A = () => {
69
69
  name: "CLTableBody",
70
70
  __name: "CLTableBody",
71
71
  setup(l) {
72
- return (t, e) => (a(), o("tbody", {
72
+ return (t, e) => (o(), a("tbody", {
73
73
  class: s([z])
74
74
  }, [
75
75
  r(t.$slots, "default")
@@ -95,25 +95,25 @@ const A = () => {
95
95
  t.isActive ? `${e}--active` : "",
96
96
  t.onClick ? `${e}--clickable` : ""
97
97
  ]), u = () => t?.onClick?.();
98
- return (c, m) => l.isHeader ? (a(), o("th", {
98
+ return (c, m) => l.isHeader ? (o(), a("th", {
99
99
  key: 0,
100
100
  class: s(d(n)),
101
101
  colspan: l.colSpan,
102
102
  onClick: u
103
103
  }, [
104
- l.isAction ? (a(), o("div", {
104
+ l.isAction ? (o(), a("div", {
105
105
  key: 1,
106
106
  class: s(`${e}__actions`)
107
107
  }, [
108
108
  r(c.$slots, "default")
109
109
  ], 2)) : r(c.$slots, "default", { key: 0 })
110
- ], 10, E)) : (a(), o("td", {
110
+ ], 10, E)) : (o(), a("td", {
111
111
  key: 1,
112
112
  class: s(d(n)),
113
113
  colspan: l.colSpan,
114
114
  onClick: u
115
115
  }, [
116
- l.isAction ? (a(), o("div", {
116
+ l.isAction ? (o(), a("div", {
117
117
  key: 1,
118
118
  class: s(`${e}__actions`)
119
119
  }, [
@@ -125,7 +125,7 @@ const A = () => {
125
125
  name: "CLTableFooter",
126
126
  __name: "CLTableFooter",
127
127
  setup(l) {
128
- return (t, e) => (a(), o("tfoot", {
128
+ return (t, e) => (o(), a("tfoot", {
129
129
  class: s([O])
130
130
  }, [
131
131
  r(t.$slots, "default")
@@ -135,7 +135,7 @@ const A = () => {
135
135
  name: "CLTableHeader",
136
136
  __name: "CLTableHeader",
137
137
  setup(l) {
138
- return (t, e) => (a(), o("thead", {
138
+ return (t, e) => (o(), a("thead", {
139
139
  class: s([q])
140
140
  }, [
141
141
  r(t.$slots, "default")
@@ -149,7 +149,7 @@ const A = () => {
149
149
  },
150
150
  setup(l) {
151
151
  const t = "clll-table__nested-cell";
152
- return (e, n) => (a(), o("div", {
152
+ return (e, n) => (o(), a("div", {
153
153
  class: s(t)
154
154
  }, [
155
155
  T(d(V), {
@@ -174,7 +174,7 @@ const A = () => {
174
174
  e,
175
175
  t.onClick ? `${e}--clickable` : ""
176
176
  ]), u = () => t?.onClick?.();
177
- return (c, m) => (a(), o("tr", {
177
+ return (c, m) => (o(), a("tr", {
178
178
  class: s(d(n)),
179
179
  onClick: u
180
180
  }, [
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "ui components",
18
18
  "vuejs"
19
19
  ],
20
- "version": "4.7.5",
20
+ "version": "4.7.6",
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "unpkg": "dist/callaloo.global.js",