@apliteni/apliteni-ui 0.7.0 → 0.7.2
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/LICENSE +20 -5
- package/README.md +1 -1
- package/package.json +2 -2
- package/src/styles/table.css +18 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
Copyright (c) 2026 Apliteni
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apliteni/apliteni-ui",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Apliteni shared design system & UI kit — tokens, components and the deck theme, framework-agnostic (HTML + CSS).",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "MIT",
|
|
7
7
|
"author": "Apliteni",
|
|
8
8
|
"homepage": "https://ui.apli.tech",
|
|
9
9
|
"repository": {
|
package/src/styles/table.css
CHANGED
|
@@ -32,7 +32,24 @@
|
|
|
32
32
|
.ui-table tr.is-dead td { color: var(--muted); }
|
|
33
33
|
.ui-table tr.is-dead td.ui-table__title { text-decoration: line-through; }
|
|
34
34
|
.ui-table tbody tr { transition: background var(--dur-fast) var(--ease); }
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
/* Row hover: an inset, rounded fill so the highlight never sits flush against a
|
|
37
|
+
* container's border (issue #71 — the full-bleed rectangle collided with a card's
|
|
38
|
+
* left edge). Separate border model with zero spacing keeps the row separators
|
|
39
|
+
* continuous while letting the row ends round; table padding (which only applies
|
|
40
|
+
* in the separate model) insets the rows so the fill clears the container edge.
|
|
41
|
+
* Zebra tables keep the original full-bleed tint (finance ledger), so they're
|
|
42
|
+
* excluded here — their hover rule lives further down. */
|
|
43
|
+
.ui-table--hover:not(.ui-table--zebra) {
|
|
44
|
+
border-collapse: separate;
|
|
45
|
+
border-spacing: 0;
|
|
46
|
+
padding: 0 6px;
|
|
47
|
+
}
|
|
48
|
+
.ui-table--hover:not(.ui-table--zebra) tbody tr:hover td { background: var(--surface-2); }
|
|
49
|
+
.ui-table--hover:not(.ui-table--zebra) tbody tr:hover td:first-child {
|
|
50
|
+
border-top-left-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); }
|
|
51
|
+
.ui-table--hover:not(.ui-table--zebra) tbody tr:hover td:last-child {
|
|
52
|
+
border-top-right-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm); }
|
|
36
53
|
|
|
37
54
|
/* ── Data-table modifiers (composable) ──────────────────────────────────────
|
|
38
55
|
* Compose for a dense financial ledger: .ui-table--dense --zebra --hover.
|