vira 25.12.0 → 25.12.1

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.
@@ -32,6 +32,9 @@ export const ViraTable = defineViraElement()({
32
32
  render({ inputs }) {
33
33
  const rows = inputs.table.rows.map((row) => {
34
34
  const cells = inputs.table.columns.map((column) => {
35
+ if (column.hide) {
36
+ return nothing;
37
+ }
35
38
  return html `
36
39
  <td
37
40
  ${inputs.attributePassthrough?.td
@@ -57,6 +60,9 @@ export const ViraTable = defineViraElement()({
57
60
  const headerCells = inputs.hideHeaderRow
58
61
  ? undefined
59
62
  : inputs.table.columns.map((column) => {
63
+ if (column.hide) {
64
+ return nothing;
65
+ }
60
66
  return html `
61
67
  <th
62
68
  ${inputs.attributePassthrough?.th
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "25.12.0",
3
+ "version": "25.12.1",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",
@@ -67,7 +67,7 @@
67
67
  "vite-tsconfig-paths": "^5.1.4"
68
68
  },
69
69
  "peerDependencies": {
70
- "element-vir": "^25.12.0"
70
+ "element-vir": "^25.12.1"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22"