@vireo-ai/trellis-ui 0.1.2 → 0.1.4
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 +2 -5
- package/trellis_ui/static/trellis_ui/css/styles.css +70 -0
- package/trellis_ui/static/trellis_ui/js/esm/index.js +1315 -763
- package/trellis_ui/static/trellis_ui/js/esm/index.js.map +1 -1
- package/trellis_ui/static/trellis_ui/js/index.js +6 -6
- package/types/components/combobox/index.d.ts +3 -0
- package/types/components/container/contract.d.ts +30 -0
- package/types/components/container/index.d.ts +1 -0
- package/types/components/flex/contract.d.ts +35 -0
- package/types/components/flex/index.d.ts +1 -0
- package/types/components/grid/contract.d.ts +40 -0
- package/types/components/grid/index.d.ts +1 -0
- package/types/components/layout.d.ts +408 -0
- package/types/components/section/contract.d.ts +27 -0
- package/types/components/section/index.d.ts +1 -0
- package/types/components/select/index.d.ts +3 -0
- package/types/components/stack/contract.d.ts +29 -0
- package/types/components/stack/index.d.ts +1 -0
- package/types/components/table/contract.d.ts +3 -3
- package/types/runtime/index.d.ts +2 -2
- package/types/runtime/stream.d.ts +1 -1
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js +0 -551
- package/trellis_ui/static/trellis_ui/js/esm/chunks/dist-DMX3Q5Zu.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vireo-ai/trellis-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Django-native UI toolkit for building realtime and interactive web apps.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,20 +43,17 @@
|
|
|
43
43
|
"alpinejs": "^3.14.8",
|
|
44
44
|
"cally": "^0.9.2",
|
|
45
45
|
"clsx": "^2.1.1",
|
|
46
|
+
"event-source-plus": "^0.1.15",
|
|
46
47
|
"motion": "^12.42.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@axe-core/playwright": "^4.11.3",
|
|
50
51
|
"@playwright/test": "^1.61.0",
|
|
51
52
|
"@tailwindcss/cli": "^4.0.0",
|
|
52
|
-
"@tailwindcss/typography": "^0.5.20",
|
|
53
53
|
"@tailwindcss/vite": "^4.3.2",
|
|
54
54
|
"@types/alpinejs": "^3.13.11",
|
|
55
55
|
"@types/node": "^25.9.3",
|
|
56
|
-
"@types/prismjs": "^1.26.6",
|
|
57
|
-
"event-source-plus": "^0.1.15",
|
|
58
56
|
"jsdom": "^29.1.1",
|
|
59
|
-
"prismjs": "^1.30.0",
|
|
60
57
|
"tailwindcss": "^4.0.0",
|
|
61
58
|
"typescript": "^6.0.3",
|
|
62
59
|
"vite": "^8.0.16",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--container-3xl: 48rem;
|
|
19
19
|
--container-4xl: 56rem;
|
|
20
20
|
--container-5xl: 64rem;
|
|
21
|
+
--container-6xl: 72rem;
|
|
21
22
|
--container-7xl: 80rem;
|
|
22
23
|
--text-xs: 0.75rem;
|
|
23
24
|
--text-xs--line-height: 1rem;
|
|
@@ -684,6 +685,12 @@
|
|
|
684
685
|
.-mr-4 {
|
|
685
686
|
margin-right: calc(var(--spacing-4) * -1);
|
|
686
687
|
}
|
|
688
|
+
.mr-0 {
|
|
689
|
+
margin-right: var(--spacing-0);
|
|
690
|
+
}
|
|
691
|
+
.mr-auto {
|
|
692
|
+
margin-right: auto;
|
|
693
|
+
}
|
|
687
694
|
.-mb-1 {
|
|
688
695
|
margin-bottom: calc(var(--spacing-1) * -1);
|
|
689
696
|
}
|
|
@@ -714,6 +721,9 @@
|
|
|
714
721
|
.-ml-px {
|
|
715
722
|
margin-left: -1px;
|
|
716
723
|
}
|
|
724
|
+
.ml-0 {
|
|
725
|
+
margin-left: var(--spacing-0);
|
|
726
|
+
}
|
|
717
727
|
.ml-2 {
|
|
718
728
|
margin-left: var(--spacing-2);
|
|
719
729
|
}
|
|
@@ -1109,6 +1119,9 @@
|
|
|
1109
1119
|
.max-w-5xl {
|
|
1110
1120
|
max-width: var(--container-5xl);
|
|
1111
1121
|
}
|
|
1122
|
+
.max-w-6xl {
|
|
1123
|
+
max-width: var(--container-6xl);
|
|
1124
|
+
}
|
|
1112
1125
|
.max-w-7xl {
|
|
1113
1126
|
max-width: var(--container-7xl);
|
|
1114
1127
|
}
|
|
@@ -1267,6 +1280,21 @@
|
|
|
1267
1280
|
.appearance-none {
|
|
1268
1281
|
appearance: none;
|
|
1269
1282
|
}
|
|
1283
|
+
.grid-flow-col {
|
|
1284
|
+
grid-auto-flow: column;
|
|
1285
|
+
}
|
|
1286
|
+
.grid-flow-col-dense {
|
|
1287
|
+
grid-auto-flow: column dense;
|
|
1288
|
+
}
|
|
1289
|
+
.grid-flow-dense {
|
|
1290
|
+
grid-auto-flow: dense;
|
|
1291
|
+
}
|
|
1292
|
+
.grid-flow-row {
|
|
1293
|
+
grid-auto-flow: row;
|
|
1294
|
+
}
|
|
1295
|
+
.grid-flow-row-dense {
|
|
1296
|
+
grid-auto-flow: row dense;
|
|
1297
|
+
}
|
|
1270
1298
|
.auto-rows-min {
|
|
1271
1299
|
grid-auto-rows: min-content;
|
|
1272
1300
|
}
|
|
@@ -1288,6 +1316,24 @@
|
|
|
1288
1316
|
.grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
1289
1317
|
grid-template-columns: minmax(0,1fr) auto;
|
|
1290
1318
|
}
|
|
1319
|
+
.grid-rows-1 {
|
|
1320
|
+
grid-template-rows: repeat(1, minmax(0, 1fr));
|
|
1321
|
+
}
|
|
1322
|
+
.grid-rows-2 {
|
|
1323
|
+
grid-template-rows: repeat(2, minmax(0, 1fr));
|
|
1324
|
+
}
|
|
1325
|
+
.grid-rows-3 {
|
|
1326
|
+
grid-template-rows: repeat(3, minmax(0, 1fr));
|
|
1327
|
+
}
|
|
1328
|
+
.grid-rows-4 {
|
|
1329
|
+
grid-template-rows: repeat(4, minmax(0, 1fr));
|
|
1330
|
+
}
|
|
1331
|
+
.grid-rows-5 {
|
|
1332
|
+
grid-template-rows: repeat(5, minmax(0, 1fr));
|
|
1333
|
+
}
|
|
1334
|
+
.grid-rows-6 {
|
|
1335
|
+
grid-template-rows: repeat(6, minmax(0, 1fr));
|
|
1336
|
+
}
|
|
1291
1337
|
.grid-rows-\[auto_auto_minmax\(0\,1fr\)_auto\] {
|
|
1292
1338
|
grid-template-rows: auto auto minmax(0,1fr) auto;
|
|
1293
1339
|
}
|
|
@@ -1297,21 +1343,45 @@
|
|
|
1297
1343
|
.flex-col {
|
|
1298
1344
|
flex-direction: column;
|
|
1299
1345
|
}
|
|
1346
|
+
.flex-col-reverse {
|
|
1347
|
+
flex-direction: column-reverse;
|
|
1348
|
+
}
|
|
1300
1349
|
.flex-row {
|
|
1301
1350
|
flex-direction: row;
|
|
1302
1351
|
}
|
|
1303
1352
|
.flex-row-reverse {
|
|
1304
1353
|
flex-direction: row-reverse;
|
|
1305
1354
|
}
|
|
1355
|
+
.flex-nowrap {
|
|
1356
|
+
flex-wrap: nowrap;
|
|
1357
|
+
}
|
|
1306
1358
|
.flex-wrap {
|
|
1307
1359
|
flex-wrap: wrap;
|
|
1308
1360
|
}
|
|
1361
|
+
.flex-wrap-reverse {
|
|
1362
|
+
flex-wrap: wrap-reverse;
|
|
1363
|
+
}
|
|
1309
1364
|
.place-items-center {
|
|
1310
1365
|
place-items: center;
|
|
1311
1366
|
}
|
|
1367
|
+
.content-between {
|
|
1368
|
+
align-content: space-between;
|
|
1369
|
+
}
|
|
1370
|
+
.content-center {
|
|
1371
|
+
align-content: center;
|
|
1372
|
+
}
|
|
1373
|
+
.content-end {
|
|
1374
|
+
align-content: flex-end;
|
|
1375
|
+
}
|
|
1312
1376
|
.content-start {
|
|
1313
1377
|
align-content: flex-start;
|
|
1314
1378
|
}
|
|
1379
|
+
.content-stretch {
|
|
1380
|
+
align-content: stretch;
|
|
1381
|
+
}
|
|
1382
|
+
.items-baseline {
|
|
1383
|
+
align-items: baseline;
|
|
1384
|
+
}
|
|
1315
1385
|
.items-center {
|
|
1316
1386
|
align-items: center;
|
|
1317
1387
|
}
|