@kerf-js/veneer-core 0.1.2-nightly.20261118.85 → 0.1.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerf-js/veneer-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "veneer core: tokens, CSS and framework-agnostic behaviour",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"./page-scroll": "./src/page-scroll.ts"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@kerf-js/core": "^0.1.
|
|
45
|
+
"@kerf-js/core": "^0.1.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@kerf-js/core": {
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
@layer veneer.data {
|
|
3
3
|
/* pagination bar -------------------------------------------------------------- */
|
|
4
4
|
:where([data-scope="pagination"]) { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--veneer-text-caption-size); color: var(--veneer-color-text-subtle); }
|
|
5
|
-
|
|
5
|
+
/* the inline padding is the edge buttons' outward reach (below), so their hit areas stay inside the bar: a full-width
|
|
6
|
+
bar on a phone never makes its container scroll sideways */
|
|
7
|
+
:where([data-scope="pagination"] ol) { display: flex; gap: 2px; margin: 0; padding: 0 max(1px, calc(var(--veneer-hit-min) - var(--veneer-control-sm) - 1px)); list-style: none; }
|
|
6
8
|
:where([data-scope="pagination"] [data-part="page"]:not([data-scope="pagination"] :is([data-scope="agenda"],[data-scope="shell"]) *:not([data-scope="pagination"] :is([data-scope="agenda"],[data-scope="shell"]) [data-scope="pagination"] *))) {
|
|
7
9
|
all: unset; position: relative; box-sizing: border-box; display: grid; place-items: center; min-inline-size: var(--veneer-control-sm); block-size: var(--veneer-control-sm);
|
|
8
10
|
padding-inline: 6px; border-radius: var(--veneer-radius-control); color: var(--veneer-color-text); font-variant-numeric: tabular-nums; cursor: pointer;
|