@capillaryjs/capillary-ui 1.0.0 → 1.1.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.
- package/CHANGELOG.md +10 -3
- package/README.md +23 -13
- package/dist/Components/data/listview/listview.d.ts +3 -3
- package/dist/Components/data/listview/listview.d.ts.map +1 -1
- package/dist/Components/data/table/DataTable.d.ts.map +1 -1
- package/dist/Components/data/table/TableHeader.d.ts.map +1 -1
- package/dist/Components/data/table/TableHeaderCell.d.ts.map +1 -1
- package/dist/Components/data/treeview/treeview.d.ts +2 -2
- package/dist/Components/data/treeview/treeview.d.ts.map +1 -1
- package/dist/index.js +847 -832
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/styles/structural.css +19 -5
- package/themes/minimal/theme.css +3 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@capillaryjs/capillary-ui",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"description": "Browser-only TypeScript component runtime, JSX controls, and semantic themes.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"author": {
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"dev": "vite"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@capillaryjs/capillary": "^1.
|
|
79
|
+
"@capillaryjs/capillary": "^1.1.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@capillaryjs/capillary": "^1.
|
|
82
|
+
"@capillaryjs/capillary": "^1.1.0",
|
|
83
83
|
"vite": "^6.3.5"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
package/styles/structural.css
CHANGED
|
@@ -666,6 +666,10 @@ cap-dropdown {
|
|
|
666
666
|
cap-datatable {
|
|
667
667
|
display: block;
|
|
668
668
|
position: relative;
|
|
669
|
+
flex: 1 1 auto;
|
|
670
|
+
min-inline-size: 0;
|
|
671
|
+
min-block-size: 0;
|
|
672
|
+
max-block-size: 100%;
|
|
669
673
|
overflow: auto;
|
|
670
674
|
}
|
|
671
675
|
|
|
@@ -788,6 +792,10 @@ cap-datatable > table > thead {
|
|
|
788
792
|
}
|
|
789
793
|
|
|
790
794
|
cap-datatable > table > thead > tr > th {
|
|
795
|
+
position: sticky;
|
|
796
|
+
inset-block-start: 0;
|
|
797
|
+
z-index: 2;
|
|
798
|
+
background: var(--ui-gradient);
|
|
791
799
|
border: 2px groove #fff7;
|
|
792
800
|
border-left: none;
|
|
793
801
|
}
|
|
@@ -797,7 +805,8 @@ cap-datatable > table > thead {
|
|
|
797
805
|
}
|
|
798
806
|
|
|
799
807
|
cap-datatable > table > thead > tr > th[aria-sort] {
|
|
800
|
-
position:
|
|
808
|
+
position: sticky;
|
|
809
|
+
inset-block-start: 0;
|
|
801
810
|
padding-right: 24px;
|
|
802
811
|
user-select: var(--noselect-user-select);
|
|
803
812
|
cursor: var(--noselect-cursor);
|
|
@@ -1404,9 +1413,12 @@ cap-infopanel {
|
|
|
1404
1413
|
cap-listview {
|
|
1405
1414
|
display: flex;
|
|
1406
1415
|
position: relative;
|
|
1416
|
+
flex: 1 1 auto;
|
|
1407
1417
|
flex-direction: column;
|
|
1408
|
-
|
|
1409
|
-
|
|
1418
|
+
min-inline-size: 0;
|
|
1419
|
+
min-block-size: 0;
|
|
1420
|
+
max-block-size: 100%;
|
|
1421
|
+
overflow: auto;
|
|
1410
1422
|
padding: var(--ui-padding-v) var(--ui-padding-h);
|
|
1411
1423
|
color: var(--ui-text-color);
|
|
1412
1424
|
background: var(--ui-input-bg);
|
|
@@ -2325,9 +2337,11 @@ cap-toolbar {
|
|
|
2325
2337
|
cap-treeview {
|
|
2326
2338
|
display: flex;
|
|
2327
2339
|
position: relative;
|
|
2340
|
+
flex: 1 1 auto;
|
|
2328
2341
|
flex-direction: column;
|
|
2329
|
-
min-
|
|
2330
|
-
min-
|
|
2342
|
+
min-inline-size: 0;
|
|
2343
|
+
min-block-size: 0;
|
|
2344
|
+
max-block-size: 100%;
|
|
2331
2345
|
overflow: auto;
|
|
2332
2346
|
}
|
|
2333
2347
|
|
package/themes/minimal/theme.css
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
|
-
/* Minimal deliberately keeps base.css's no-gutter, flat island treatment.
|
|
2
|
+
/* Minimal deliberately keeps base.css's no-gutter, flat island treatment.
|
|
3
|
+
* It has no dark token set, so it must not advertise automatic dark rendering. */
|
|
3
4
|
@layer theme {
|
|
4
5
|
:root {
|
|
5
|
-
color-scheme: light
|
|
6
|
+
color-scheme: only light;
|
|
6
7
|
}
|
|
7
8
|
}
|