@askrjs/themes 0.0.30 → 0.2.0

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,2 +1,9 @@
1
- import { DataTable } from "../components/catalog.js";
1
+ import { DataTable as DataTable$1 } from "../components/catalog.js";
2
+ //#region src/entries/data-table.d.ts
3
+ /**
4
+ * Styling-only container for the `data-table` catalog slot. It does not sort,
5
+ * filter, select, or paginate data.
6
+ */
7
+ declare const DataTable: typeof DataTable$1;
8
+ //#endregion
2
9
  export { DataTable };
@@ -1,2 +1,9 @@
1
- import { DataTable } from "../components/catalog.js";
1
+ import { DataTable as DataTable$1 } from "../components/catalog.js";
2
+ //#region src/entries/data-table.ts
3
+ /**
4
+ * Styling-only container for the `data-table` catalog slot. It does not sort,
5
+ * filter, select, or paginate data.
6
+ */
7
+ const DataTable = DataTable$1;
8
+ //#endregion
2
9
  export { DataTable };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-table.js","names":["CatalogDataTable"],"sources":["../../src/entries/data-table.ts"],"sourcesContent":["import { DataTable as CatalogDataTable } from \"../components/catalog\";\n\n/**\n * Styling-only container for the `data-table` catalog slot. It does not sort,\n * filter, select, or paginate data.\n */\nexport const DataTable = CatalogDataTable;\n"],"mappings":";;;;;;AAMA,MAAa,YAAYA"}
@@ -4241,6 +4241,12 @@
4241
4241
  background: none;
4242
4242
  }
4243
4243
 
4244
+ :where([data-slot="virtual-table-cell-content"]) {
4245
+ align-items: center;
4246
+ min-inline-size: 0;
4247
+ display: flex;
4248
+ }
4249
+
4244
4250
  @media (width <= 30rem) {
4245
4251
  :where([data-slot="virtual-table-header-cell"], [data-slot="virtual-table-cell"]) {
4246
4252
  padding: var(--ak-space-sm) var(--ak-space-xs);
@@ -4289,6 +4295,12 @@
4289
4295
  color: var(--ak-color-text-muted);
4290
4296
  }
4291
4297
 
4298
+ :where([data-slot="virtual-list-spacer"]) {
4299
+ pointer-events: none;
4300
+ flex: none;
4301
+ inline-size: 100%;
4302
+ }
4303
+
4292
4304
  :where([data-slot="progress-circle"][data-spinner="true"], [data-slot="progress-circle"][data-state="indeterminate"]) {
4293
4305
  block-size: 2.25rem;
4294
4306
  inline-size: 2.25rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askrjs/themes",
3
- "version": "0.0.30",
3
+ "version": "0.2.0",
4
4
  "description": "Default theme tokens, styles, and component presets for Askr apps.",
5
5
  "keywords": [
6
6
  "askr",
@@ -120,9 +120,9 @@
120
120
  "test:checks": "vp test run -c vitest.test.checks.config.ts"
121
121
  },
122
122
  "devDependencies": {
123
- "@askrjs/askr": ">=0.0.92 <0.1.0",
124
- "@askrjs/ui": ">=0.0.30 <0.1.0",
125
- "@askrjs/vite": ">=0.0.12 <0.1.0",
123
+ "@askrjs/askr": ">=0.2.0 <0.3.0",
124
+ "@askrjs/ui": ">=0.2.0 <0.3.0",
125
+ "@askrjs/vite": ">=0.2.0 <0.3.0",
126
126
  "@tsdown/css": "0.22.14",
127
127
  "@types/node": "^26.2.0",
128
128
  "@typescript/native": "npm:typescript@^7.0.2",
@@ -136,8 +136,8 @@
136
136
  "vite-plus": "^0.2.8"
137
137
  },
138
138
  "peerDependencies": {
139
- "@askrjs/askr": ">=0.0.92 <0.1.0",
140
- "@askrjs/ui": ">=0.0.30 <0.1.0"
139
+ "@askrjs/askr": ">=0.2.0 <0.3.0",
140
+ "@askrjs/ui": ">=0.2.0 <0.3.0"
141
141
  },
142
142
  "engines": {
143
143
  "node": ">=24.0.0"
@@ -1 +1,7 @@
1
- export { DataTable } from "../components/catalog";
1
+ import { DataTable as CatalogDataTable } from "../components/catalog";
2
+
3
+ /**
4
+ * Styling-only container for the `data-table` catalog slot. It does not sort,
5
+ * filter, select, or paginate data.
6
+ */
7
+ export const DataTable = CatalogDataTable;
@@ -38,3 +38,9 @@
38
38
  :where([data-slot="virtual-list-row"][data-visible="false"]) {
39
39
  color: var(--ak-color-text-muted);
40
40
  }
41
+
42
+ :where([data-slot="virtual-list-spacer"]) {
43
+ flex: 0 0 auto;
44
+ inline-size: 100%;
45
+ pointer-events: none;
46
+ }
@@ -81,6 +81,12 @@
81
81
  background: transparent;
82
82
  }
83
83
 
84
+ :where([data-slot="virtual-table-cell-content"]) {
85
+ display: flex;
86
+ align-items: center;
87
+ min-inline-size: 0;
88
+ }
89
+
84
90
  @media (max-width: 30rem) {
85
91
  :where([data-slot="virtual-table-header-cell"], [data-slot="virtual-table-cell"]) {
86
92
  padding: var(--ak-space-sm) var(--ak-space-xs);