@konce-pt/styles 0.8.0 → 0.8.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/README.md +8 -2
- package/components.css +30 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -65,9 +65,12 @@ It writes into the same `kpt.utilities` layer and repeats the layer-order declar
|
|
|
65
65
|
its own sheet, so it works with or without this package, and its layout classes win over component
|
|
66
66
|
styles without touching specificity.
|
|
67
67
|
|
|
68
|
+
Full reference for LLMs: [`llms.txt`](https://ui.konce.pt/llms/styles/llms.txt) (EN)
|
|
69
|
+
and [`llms-pl.txt`](https://ui.konce.pt/llms/styles/llms-pl.txt) (PL).
|
|
70
|
+
|
|
68
71
|
## License
|
|
69
72
|
|
|
70
|
-
|
|
73
|
+
MIT © konce.pt
|
|
71
74
|
|
|
72
75
|
---
|
|
73
76
|
|
|
@@ -92,4 +95,7 @@ Bazowy arkusz stylów [Koncept UI](https://www.npmjs.com/package/@konce-pt/angul
|
|
|
92
95
|
(siatka mobile-first, flexbox, gap, order) — ładuj ją zaraz po tym arkuszu. Pisze do tej samej
|
|
93
96
|
warstwy `kpt.utilities` i powtarza deklarację kolejności warstw, więc działa też bez tej paczki.
|
|
94
97
|
|
|
95
|
-
|
|
98
|
+
Pełny opis: [`llms.txt`](https://ui.konce.pt/llms/styles/llms.txt) (EN)
|
|
99
|
+
i [`llms-pl.txt`](https://ui.konce.pt/llms/styles/llms-pl.txt) (PL).
|
|
100
|
+
|
|
101
|
+
Licencja: MIT © konce.pt
|
package/components.css
CHANGED
|
@@ -845,6 +845,17 @@
|
|
|
845
845
|
padding: var(--kpt-space-8, 2rem);
|
|
846
846
|
color: var(--kpt-color-primary-contrast);
|
|
847
847
|
background: var(--kpt-auth-promo-bg, linear-gradient(135deg, var(--kpt-color-primary), var(--kpt-color-primary-hover)));
|
|
848
|
+
--kpt-color-surface: transparent;
|
|
849
|
+
--kpt-color-surface-raised: color-mix(in oklab, var(--kpt-color-primary-contrast) 12%, transparent);
|
|
850
|
+
--kpt-color-surface-variant: color-mix(in oklab, var(--kpt-color-primary-contrast) 16%, transparent);
|
|
851
|
+
--kpt-color-surface-hover: color-mix(in oklab, var(--kpt-color-primary-contrast) 12%, transparent);
|
|
852
|
+
--kpt-color-surface-selected: color-mix(in oklab, var(--kpt-color-primary-contrast) 20%, transparent);
|
|
853
|
+
--kpt-color-surface-sunken: color-mix(in oklab, var(--kpt-color-primary-contrast) 8%, transparent);
|
|
854
|
+
--kpt-color-muted: color-mix(in oklab, var(--kpt-color-primary-contrast) 12%, transparent);
|
|
855
|
+
--kpt-color-on-surface: var(--kpt-color-primary-contrast);
|
|
856
|
+
--kpt-color-on-surface-muted: color-mix(in oklab, var(--kpt-color-primary-contrast) 72%, transparent);
|
|
857
|
+
--kpt-color-border: color-mix(in oklab, var(--kpt-color-primary-contrast) 35%, transparent);
|
|
858
|
+
--kpt-color-border-strong: color-mix(in oklab, var(--kpt-color-primary-contrast) 55%, transparent);
|
|
848
859
|
}
|
|
849
860
|
.kpt-auth__promo-inner {
|
|
850
861
|
display: flex;
|
|
@@ -1934,7 +1945,7 @@
|
|
|
1934
1945
|
.kpt-context-menu__header .kpt-context-menu__label {
|
|
1935
1946
|
font-weight: var(--kpt-font-weight-semibold, 600);
|
|
1936
1947
|
}
|
|
1937
|
-
.kpt-context-menu__header kpt-icon {
|
|
1948
|
+
.kpt-context-menu__header .kpt-icon-host {
|
|
1938
1949
|
color: var(--kpt-color-on-surface-muted);
|
|
1939
1950
|
}
|
|
1940
1951
|
.kpt-context-menu__text {
|
|
@@ -2008,7 +2019,7 @@
|
|
|
2008
2019
|
.kpt-data-table__pager [kptPaginatorActions] {
|
|
2009
2020
|
margin-inline-start: 0.5rem;
|
|
2010
2021
|
}
|
|
2011
|
-
.kpt-data-table__pager kpt-paginator {
|
|
2022
|
+
.kpt-data-table__pager .kpt-paginator {
|
|
2012
2023
|
flex: 1 1 auto;
|
|
2013
2024
|
min-width: 0;
|
|
2014
2025
|
}
|
|
@@ -2083,7 +2094,7 @@
|
|
|
2083
2094
|
border-color: var(--kpt-form-field-border-focus);
|
|
2084
2095
|
box-shadow: 0 0 0 2px color-mix(in oklch, var(--kpt-form-field-border-focus) 30%, transparent);
|
|
2085
2096
|
}
|
|
2086
|
-
.kpt-data-table__filter-row kpt-select, .kpt-data-table__filter-row kpt-date-range {
|
|
2097
|
+
.kpt-data-table__filter-row .kpt-select-host, .kpt-data-table__filter-row .kpt-date-range-host {
|
|
2087
2098
|
display: block;
|
|
2088
2099
|
width: 100%;
|
|
2089
2100
|
font-weight: var(--kpt-font-weight-normal, 400);
|
|
@@ -2217,7 +2228,7 @@
|
|
|
2217
2228
|
cursor: pointer;
|
|
2218
2229
|
transition: background-color var(--kpt-motion-duration-fast, 120ms) var(--kpt-motion-easing-standard), color var(--kpt-motion-duration-fast, 120ms) var(--kpt-motion-easing-standard);
|
|
2219
2230
|
}
|
|
2220
|
-
.kpt-data-table__expander-btn kpt-icon {
|
|
2231
|
+
.kpt-data-table__expander-btn .kpt-icon-host {
|
|
2221
2232
|
display: inline-flex;
|
|
2222
2233
|
transition: transform var(--kpt-motion-duration-fast, 120ms) var(--kpt-motion-easing-standard);
|
|
2223
2234
|
}
|
|
@@ -2232,7 +2243,7 @@
|
|
|
2232
2243
|
.kpt-data-table__expander-btn--open {
|
|
2233
2244
|
color: var(--kpt-color-primary);
|
|
2234
2245
|
}
|
|
2235
|
-
.kpt-data-table__expander-btn--open kpt-icon {
|
|
2246
|
+
.kpt-data-table__expander-btn--open .kpt-icon-host {
|
|
2236
2247
|
transform: rotate(90deg);
|
|
2237
2248
|
}
|
|
2238
2249
|
.kpt-data-table__detail-row > .kpt-data-table__detail {
|
|
@@ -2363,7 +2374,7 @@
|
|
|
2363
2374
|
text-align: center;
|
|
2364
2375
|
color: var(--kpt-color-on-surface-muted);
|
|
2365
2376
|
}
|
|
2366
|
-
.kpt-data-view kpt-paginator {
|
|
2377
|
+
.kpt-data-view .kpt-paginator {
|
|
2367
2378
|
margin-top: var(--kpt-space-3, 0.75rem);
|
|
2368
2379
|
display: block;
|
|
2369
2380
|
}
|
|
@@ -2932,7 +2943,7 @@
|
|
|
2932
2943
|
.kpt-calendar__timebar:hover {
|
|
2933
2944
|
background: var(--kpt-color-muted);
|
|
2934
2945
|
}
|
|
2935
|
-
.kpt-calendar__timebar kpt-icon {
|
|
2946
|
+
.kpt-calendar__timebar .kpt-icon-host {
|
|
2936
2947
|
color: var(--kpt-color-on-surface-muted);
|
|
2937
2948
|
}
|
|
2938
2949
|
.kpt-calendar__footer {
|
|
@@ -3365,7 +3376,7 @@
|
|
|
3365
3376
|
border-radius: var(--kpt-radius-md, 0.5rem);
|
|
3366
3377
|
font-size: var(--kpt-font-size-sm, 0.875rem);
|
|
3367
3378
|
}
|
|
3368
|
-
.kpt-file-upload__file kpt-icon {
|
|
3379
|
+
.kpt-file-upload__file .kpt-icon-host {
|
|
3369
3380
|
color: var(--kpt-color-on-surface-muted);
|
|
3370
3381
|
}
|
|
3371
3382
|
.kpt-file-upload__name {
|
|
@@ -3411,7 +3422,7 @@
|
|
|
3411
3422
|
}
|
|
3412
3423
|
.kpt-form-field__required {
|
|
3413
3424
|
color: var(--kpt-color-danger);
|
|
3414
|
-
margin-inline-start: 0.
|
|
3425
|
+
margin-inline-start: 0.25rem;
|
|
3415
3426
|
}
|
|
3416
3427
|
.kpt-form-field__message {
|
|
3417
3428
|
font-size: var(--kpt-font-size-xs, 0.75rem);
|
|
@@ -4139,10 +4150,10 @@
|
|
|
4139
4150
|
.kpt-menu__item--danger {
|
|
4140
4151
|
color: var(--kpt-color-danger);
|
|
4141
4152
|
}
|
|
4142
|
-
.kpt-menu__item kpt-icon {
|
|
4153
|
+
.kpt-menu__item .kpt-icon-host {
|
|
4143
4154
|
color: var(--kpt-color-on-surface-muted);
|
|
4144
4155
|
}
|
|
4145
|
-
.kpt-menu__item--danger kpt-icon {
|
|
4156
|
+
.kpt-menu__item--danger .kpt-icon-host {
|
|
4146
4157
|
color: var(--kpt-color-danger);
|
|
4147
4158
|
}
|
|
4148
4159
|
/* Wiersz nagłówkowy — dane zalogowanego użytkownika lub opis menu. */
|
|
@@ -4157,7 +4168,7 @@
|
|
|
4157
4168
|
.kpt-menu__header .kpt-menu__label {
|
|
4158
4169
|
font-weight: var(--kpt-font-weight-semibold, 600);
|
|
4159
4170
|
}
|
|
4160
|
-
.kpt-menu__header kpt-icon {
|
|
4171
|
+
.kpt-menu__header .kpt-icon-host {
|
|
4161
4172
|
color: var(--kpt-color-on-surface-muted);
|
|
4162
4173
|
}
|
|
4163
4174
|
.kpt-menu__text {
|
|
@@ -4629,7 +4640,7 @@
|
|
|
4629
4640
|
.kpt-pick-list__controls button:hover {
|
|
4630
4641
|
background: var(--kpt-color-muted);
|
|
4631
4642
|
}
|
|
4632
|
-
.kpt-pick-list__controls button kpt-icon + kpt-icon {
|
|
4643
|
+
.kpt-pick-list__controls button .kpt-icon-host + .kpt-icon-host {
|
|
4633
4644
|
margin-left: -0.5rem;
|
|
4634
4645
|
}
|
|
4635
4646
|
}
|
|
@@ -5196,13 +5207,13 @@
|
|
|
5196
5207
|
.kpt-rt-menu__item:hover {
|
|
5197
5208
|
background: var(--kpt-color-muted);
|
|
5198
5209
|
}
|
|
5199
|
-
.kpt-rt-menu__item kpt-icon {
|
|
5210
|
+
.kpt-rt-menu__item .kpt-icon-host {
|
|
5200
5211
|
color: var(--kpt-color-on-surface-muted);
|
|
5201
5212
|
}
|
|
5202
5213
|
.kpt-rt-menu__item--danger {
|
|
5203
5214
|
color: var(--kpt-color-danger);
|
|
5204
5215
|
}
|
|
5205
|
-
.kpt-rt-menu__item--danger kpt-icon {
|
|
5216
|
+
.kpt-rt-menu__item--danger .kpt-icon-host {
|
|
5206
5217
|
color: var(--kpt-color-danger);
|
|
5207
5218
|
}
|
|
5208
5219
|
.kpt-rt-menu__item.is-disabled {
|
|
@@ -5459,14 +5470,14 @@
|
|
|
5459
5470
|
color: var(--kpt-color-on-primary);
|
|
5460
5471
|
font-size: 0.7rem;
|
|
5461
5472
|
}
|
|
5462
|
-
.kpt-select__check kpt-icon {
|
|
5473
|
+
.kpt-select__check .kpt-icon-host {
|
|
5463
5474
|
opacity: 0;
|
|
5464
5475
|
}
|
|
5465
5476
|
.kpt-select__check.is-on {
|
|
5466
5477
|
background: var(--kpt-color-primary);
|
|
5467
5478
|
border-color: var(--kpt-color-primary);
|
|
5468
5479
|
}
|
|
5469
|
-
.kpt-select__check.is-on kpt-icon {
|
|
5480
|
+
.kpt-select__check.is-on .kpt-icon-host {
|
|
5470
5481
|
opacity: 1;
|
|
5471
5482
|
}
|
|
5472
5483
|
.kpt-select__empty {
|
|
@@ -5905,7 +5916,7 @@
|
|
|
5905
5916
|
.kpt-split-button__item--danger {
|
|
5906
5917
|
color: var(--kpt-color-danger);
|
|
5907
5918
|
}
|
|
5908
|
-
.kpt-split-button__item kpt-icon {
|
|
5919
|
+
.kpt-split-button__item .kpt-icon-host {
|
|
5909
5920
|
color: var(--kpt-color-on-surface-muted);
|
|
5910
5921
|
}
|
|
5911
5922
|
.kpt-split-button {
|
|
@@ -5922,7 +5933,7 @@
|
|
|
5922
5933
|
.kpt-split-button__header .kpt-split-button__label {
|
|
5923
5934
|
font-weight: var(--kpt-font-weight-semibold, 600);
|
|
5924
5935
|
}
|
|
5925
|
-
.kpt-split-button__header kpt-icon {
|
|
5936
|
+
.kpt-split-button__header .kpt-icon-host {
|
|
5926
5937
|
color: var(--kpt-color-on-surface-muted);
|
|
5927
5938
|
}
|
|
5928
5939
|
.kpt-split-button__text {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konce-pt/styles",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Base CSS for Koncept UI — reset, cascade @layer ordering and neutral light/dark theme (SCSS source).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "konce.pt",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"src"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@konce-pt/tokens": "0.8.
|
|
55
|
+
"@konce-pt/tokens": "0.8.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"sass": "^1.77.0"
|