@kashi-ui/css 0.22.0 → 0.23.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.
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* فرم نشانی ایرانی — استان و شهر، نشانی، پلاک، واحد و کد پستی؛ با نقشه (k-address--map) استان روی نقشه هم انتخاب میشود
|
|
2
|
+
* <fieldset class="k-address">
|
|
3
|
+
* <legend class="k-address__legend">نشانی</legend>
|
|
4
|
+
* <div class="k-address__fields">
|
|
5
|
+
* <div class="k-field k-address__province">…</div> … k-address__city | __street | __plaque | __unit | __postal
|
|
6
|
+
* </div>
|
|
7
|
+
* </fieldset>
|
|
8
|
+
*/
|
|
9
|
+
.k-address {
|
|
10
|
+
display: grid;
|
|
11
|
+
gap: var(--k-space-4) var(--k-space-6);
|
|
12
|
+
min-inline-size: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
border: 0;
|
|
16
|
+
}
|
|
17
|
+
.k-address__legend {
|
|
18
|
+
margin-block-end: var(--k-space-4);
|
|
19
|
+
padding: 0;
|
|
20
|
+
color: var(--k-text-primary);
|
|
21
|
+
font-size: var(--k-text-md);
|
|
22
|
+
font-weight: var(--k-weight-semibold);
|
|
23
|
+
}
|
|
24
|
+
.k-address__fields {
|
|
25
|
+
display: grid;
|
|
26
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
27
|
+
gap: var(--k-space-4);
|
|
28
|
+
align-content: start;
|
|
29
|
+
container-type: inline-size;
|
|
30
|
+
}
|
|
31
|
+
.k-address__fields > * { grid-column: span 12; min-inline-size: 0; }
|
|
32
|
+
.k-address__province, .k-address__city, .k-address__postal { grid-column: span 6; }
|
|
33
|
+
.k-address__plaque, .k-address__unit { grid-column: span 3; }
|
|
34
|
+
|
|
35
|
+
/* نقشه کنار فیلدها؛ در عرض کم زیر آنها */
|
|
36
|
+
.k-address--map { grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 1fr); align-items: start; }
|
|
37
|
+
.k-address--map > .k-address__legend { grid-column: 1 / -1; }
|
|
38
|
+
.k-address__map { align-self: center; }
|
|
39
|
+
|
|
40
|
+
/* ستونها به عرض خود فرم بستگی دارند، نه صفحه */
|
|
41
|
+
@container (max-width: 30rem) {
|
|
42
|
+
.k-address__province, .k-address__city { grid-column: span 12; }
|
|
43
|
+
.k-address__plaque, .k-address__unit { grid-column: span 6; }
|
|
44
|
+
.k-address__postal { grid-column: span 12; }
|
|
45
|
+
}
|
|
46
|
+
@media (max-width: 40rem) {
|
|
47
|
+
.k-address--map { grid-template-columns: minmax(0, 1fr); }
|
|
48
|
+
.k-address__map { max-inline-size: 18rem; justify-self: center; }
|
|
49
|
+
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
.k-iran-map--selectable .k-iran-map__province:focus { outline: none; }
|
|
18
18
|
.k-iran-map--selectable .k-iran-map__province:focus-visible { stroke: var(--k-border-brand); stroke-width: 3; }
|
|
19
19
|
.k-iran-map__province[data-selected] { fill: var(--k-iran-map-selected, var(--k-bg-brand)); stroke: var(--k-text-primary); stroke-width: 2; }
|
|
20
|
-
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary);
|
|
20
|
+
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary); }
|
|
21
21
|
.k-iran-map__scale { display: inline-flex; gap: 2px; }
|
|
22
22
|
.k-iran-map__scale i { inline-size: 1.5rem; block-size: 0.625rem; background: color-mix(in srgb, var(--k-bg-brand) var(--_p, 60%), var(--k-bg-tertiary)); }
|
|
23
23
|
.k-iran-map__scale i:first-child { border-start-start-radius: var(--k-radius-full); border-end-start-radius: var(--k-radius-full); }
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
/* مبلغ
|
|
23
23
|
* متغیرها: --k-money-size */
|
|
24
|
-
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em;
|
|
24
|
+
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em; white-space: nowrap; color: var(--k-text-primary); }
|
|
25
25
|
.k-money__amount { font-size: var(--k-money-size, 1em); font-weight: var(--k-weight-semibold); letter-spacing: -0.01em; }
|
|
26
26
|
.k-money__unit { color: var(--k-text-tertiary); font-size: 0.8em; font-weight: var(--k-weight-medium); }
|
|
27
27
|
.k-money--sm { --k-money-size: var(--k-text-sm); }
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
.k-bankcard__bank { display: inline-flex; align-items: center; gap: var(--k-space-2); font-size: max(0.75rem, 4.2cqi); font-weight: var(--k-weight-semibold); }
|
|
72
72
|
.k-bankcard__logo { inline-size: 1.75rem; block-size: 1.75rem; padding: 2px; border-radius: var(--k-radius-md); background: #fff; }
|
|
73
73
|
.k-bankcard__chip { inline-size: 11.5cqi; fill: #e9c46a; stroke: rgb(120 80 10 / 0.45); stroke-width: 1; }
|
|
74
|
-
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
|
|
74
|
+
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
|
|
75
75
|
.k-bankcard__bottom { display: flex; align-items: end; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.5rem; font-size: max(0.75rem, 4.2cqi); }
|
|
76
76
|
.k-bankcard__holder { font-weight: var(--k-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
77
77
|
.k-bankcard__exp { display: inline-grid; justify-items: end; line-height: 1.3; margin-inline-start: auto; }
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
.k-receipt__rows::after { inset-inline-end: -0.75rem; clip-path: inset(0 50% 0 0); }
|
|
147
147
|
.k-receipt__row { display: flex; align-items: center; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.75rem; font-size: var(--k-text-sm); }
|
|
148
148
|
.k-receipt__row dt { color: var(--k-text-tertiary); }
|
|
149
|
-
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end;
|
|
149
|
+
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end; }
|
|
150
150
|
.k-receipt__code, .k-receipt__card { display: inline-flex; align-items: center; gap: var(--k-space-1_5); }
|
|
151
151
|
.k-receipt__card img { border-radius: var(--k-radius-sm); background: #fff; padding: 1px; }
|
|
152
152
|
.k-receipt__actions { display: flex; gap: var(--k-space-2); padding: 0 var(--k-space-5) var(--k-space-5); }
|
package/dist/kashi.css
CHANGED
|
@@ -396,6 +396,56 @@
|
|
|
396
396
|
}
|
|
397
397
|
@media (forced-colors: active) { .k-accordion__trigger::after { background: CanvasText; } }
|
|
398
398
|
|
|
399
|
+
/* فرم نشانی ایرانی — استان و شهر، نشانی، پلاک، واحد و کد پستی؛ با نقشه (k-address--map) استان روی نقشه هم انتخاب میشود
|
|
400
|
+
* <fieldset class="k-address">
|
|
401
|
+
* <legend class="k-address__legend">نشانی</legend>
|
|
402
|
+
* <div class="k-address__fields">
|
|
403
|
+
* <div class="k-field k-address__province">…</div> … k-address__city | __street | __plaque | __unit | __postal
|
|
404
|
+
* </div>
|
|
405
|
+
* </fieldset>
|
|
406
|
+
*/
|
|
407
|
+
.k-address {
|
|
408
|
+
display: grid;
|
|
409
|
+
gap: var(--k-space-4) var(--k-space-6);
|
|
410
|
+
min-inline-size: 0;
|
|
411
|
+
margin: 0;
|
|
412
|
+
padding: 0;
|
|
413
|
+
border: 0;
|
|
414
|
+
}
|
|
415
|
+
.k-address__legend {
|
|
416
|
+
margin-block-end: var(--k-space-4);
|
|
417
|
+
padding: 0;
|
|
418
|
+
color: var(--k-text-primary);
|
|
419
|
+
font-size: var(--k-text-md);
|
|
420
|
+
font-weight: var(--k-weight-semibold);
|
|
421
|
+
}
|
|
422
|
+
.k-address__fields {
|
|
423
|
+
display: grid;
|
|
424
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
425
|
+
gap: var(--k-space-4);
|
|
426
|
+
align-content: start;
|
|
427
|
+
container-type: inline-size;
|
|
428
|
+
}
|
|
429
|
+
.k-address__fields > * { grid-column: span 12; min-inline-size: 0; }
|
|
430
|
+
.k-address__province, .k-address__city, .k-address__postal { grid-column: span 6; }
|
|
431
|
+
.k-address__plaque, .k-address__unit { grid-column: span 3; }
|
|
432
|
+
|
|
433
|
+
/* نقشه کنار فیلدها؛ در عرض کم زیر آنها */
|
|
434
|
+
.k-address--map { grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 1fr); align-items: start; }
|
|
435
|
+
.k-address--map > .k-address__legend { grid-column: 1 / -1; }
|
|
436
|
+
.k-address__map { align-self: center; }
|
|
437
|
+
|
|
438
|
+
/* ستونها به عرض خود فرم بستگی دارند، نه صفحه */
|
|
439
|
+
@container (max-width: 30rem) {
|
|
440
|
+
.k-address__province, .k-address__city { grid-column: span 12; }
|
|
441
|
+
.k-address__plaque, .k-address__unit { grid-column: span 6; }
|
|
442
|
+
.k-address__postal { grid-column: span 12; }
|
|
443
|
+
}
|
|
444
|
+
@media (max-width: 40rem) {
|
|
445
|
+
.k-address--map { grid-template-columns: minmax(0, 1fr); }
|
|
446
|
+
.k-address__map { max-inline-size: 18rem; justify-self: center; }
|
|
447
|
+
}
|
|
448
|
+
|
|
399
449
|
/* هشدار (Alert) — به سبک Untitled UI: سطح خنثی، رنگ فقط در آیکون شاخص
|
|
400
450
|
* <div class="k-alert k-alert--warning" role="alert"> ← role="status" برای پیامهای غیرفوری
|
|
401
451
|
* <span class="k-alert__icon" aria-hidden="true"><svg>…</svg></span>
|
|
@@ -1944,6 +1994,8 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
1944
1994
|
*/
|
|
1945
1995
|
.k-field {
|
|
1946
1996
|
display: grid;
|
|
1997
|
+
/* ستون تنها با عرض فیلد کوچک میشود؛ وگرنه input در ستون باریک (مثل «پلاک») از فیلد بیرون میزند */
|
|
1998
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1947
1999
|
gap: var(--k-field-gap, var(--k-space-1_5));
|
|
1948
2000
|
min-inline-size: 0;
|
|
1949
2001
|
}
|
|
@@ -2228,7 +2280,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2228
2280
|
.k-iran-map--selectable .k-iran-map__province:focus { outline: none; }
|
|
2229
2281
|
.k-iran-map--selectable .k-iran-map__province:focus-visible { stroke: var(--k-border-brand); stroke-width: 3; }
|
|
2230
2282
|
.k-iran-map__province[data-selected] { fill: var(--k-iran-map-selected, var(--k-bg-brand)); stroke: var(--k-text-primary); stroke-width: 2; }
|
|
2231
|
-
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary);
|
|
2283
|
+
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary); }
|
|
2232
2284
|
.k-iran-map__scale { display: inline-flex; gap: 2px; }
|
|
2233
2285
|
.k-iran-map__scale i { inline-size: 1.5rem; block-size: 0.625rem; background: color-mix(in srgb, var(--k-bg-brand) var(--_p, 60%), var(--k-bg-tertiary)); }
|
|
2234
2286
|
.k-iran-map__scale i:first-child { border-start-start-radius: var(--k-radius-full); border-end-start-radius: var(--k-radius-full); }
|
|
@@ -2525,7 +2577,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2525
2577
|
|
|
2526
2578
|
/* مبلغ
|
|
2527
2579
|
* متغیرها: --k-money-size */
|
|
2528
|
-
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em;
|
|
2580
|
+
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em; white-space: nowrap; color: var(--k-text-primary); }
|
|
2529
2581
|
.k-money__amount { font-size: var(--k-money-size, 1em); font-weight: var(--k-weight-semibold); letter-spacing: -0.01em; }
|
|
2530
2582
|
.k-money__unit { color: var(--k-text-tertiary); font-size: 0.8em; font-weight: var(--k-weight-medium); }
|
|
2531
2583
|
.k-money--sm { --k-money-size: var(--k-text-sm); }
|
|
@@ -2575,7 +2627,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2575
2627
|
.k-bankcard__bank { display: inline-flex; align-items: center; gap: var(--k-space-2); font-size: max(0.75rem, 4.2cqi); font-weight: var(--k-weight-semibold); }
|
|
2576
2628
|
.k-bankcard__logo { inline-size: 1.75rem; block-size: 1.75rem; padding: 2px; border-radius: var(--k-radius-md); background: #fff; }
|
|
2577
2629
|
.k-bankcard__chip { inline-size: 11.5cqi; fill: #e9c46a; stroke: rgb(120 80 10 / 0.45); stroke-width: 1; }
|
|
2578
|
-
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
|
|
2630
|
+
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
|
|
2579
2631
|
.k-bankcard__bottom { display: flex; align-items: end; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.5rem; font-size: max(0.75rem, 4.2cqi); }
|
|
2580
2632
|
.k-bankcard__holder { font-weight: var(--k-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2581
2633
|
.k-bankcard__exp { display: inline-grid; justify-items: end; line-height: 1.3; margin-inline-start: auto; }
|
|
@@ -2650,7 +2702,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2650
2702
|
.k-receipt__rows::after { inset-inline-end: -0.75rem; clip-path: inset(0 50% 0 0); }
|
|
2651
2703
|
.k-receipt__row { display: flex; align-items: center; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.75rem; font-size: var(--k-text-sm); }
|
|
2652
2704
|
.k-receipt__row dt { color: var(--k-text-tertiary); }
|
|
2653
|
-
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end;
|
|
2705
|
+
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end; }
|
|
2654
2706
|
.k-receipt__code, .k-receipt__card { display: inline-flex; align-items: center; gap: var(--k-space-1_5); }
|
|
2655
2707
|
.k-receipt__card img { border-radius: var(--k-radius-sm); background: #fff; padding: 1px; }
|
|
2656
2708
|
.k-receipt__actions { display: flex; gap: var(--k-space-2); padding: 0 var(--k-space-5) var(--k-space-5); }
|
package/dist/kashi.nofont.css
CHANGED
|
@@ -388,6 +388,56 @@
|
|
|
388
388
|
}
|
|
389
389
|
@media (forced-colors: active) { .k-accordion__trigger::after { background: CanvasText; } }
|
|
390
390
|
|
|
391
|
+
/* فرم نشانی ایرانی — استان و شهر، نشانی، پلاک، واحد و کد پستی؛ با نقشه (k-address--map) استان روی نقشه هم انتخاب میشود
|
|
392
|
+
* <fieldset class="k-address">
|
|
393
|
+
* <legend class="k-address__legend">نشانی</legend>
|
|
394
|
+
* <div class="k-address__fields">
|
|
395
|
+
* <div class="k-field k-address__province">…</div> … k-address__city | __street | __plaque | __unit | __postal
|
|
396
|
+
* </div>
|
|
397
|
+
* </fieldset>
|
|
398
|
+
*/
|
|
399
|
+
.k-address {
|
|
400
|
+
display: grid;
|
|
401
|
+
gap: var(--k-space-4) var(--k-space-6);
|
|
402
|
+
min-inline-size: 0;
|
|
403
|
+
margin: 0;
|
|
404
|
+
padding: 0;
|
|
405
|
+
border: 0;
|
|
406
|
+
}
|
|
407
|
+
.k-address__legend {
|
|
408
|
+
margin-block-end: var(--k-space-4);
|
|
409
|
+
padding: 0;
|
|
410
|
+
color: var(--k-text-primary);
|
|
411
|
+
font-size: var(--k-text-md);
|
|
412
|
+
font-weight: var(--k-weight-semibold);
|
|
413
|
+
}
|
|
414
|
+
.k-address__fields {
|
|
415
|
+
display: grid;
|
|
416
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
417
|
+
gap: var(--k-space-4);
|
|
418
|
+
align-content: start;
|
|
419
|
+
container-type: inline-size;
|
|
420
|
+
}
|
|
421
|
+
.k-address__fields > * { grid-column: span 12; min-inline-size: 0; }
|
|
422
|
+
.k-address__province, .k-address__city, .k-address__postal { grid-column: span 6; }
|
|
423
|
+
.k-address__plaque, .k-address__unit { grid-column: span 3; }
|
|
424
|
+
|
|
425
|
+
/* نقشه کنار فیلدها؛ در عرض کم زیر آنها */
|
|
426
|
+
.k-address--map { grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 1fr); align-items: start; }
|
|
427
|
+
.k-address--map > .k-address__legend { grid-column: 1 / -1; }
|
|
428
|
+
.k-address__map { align-self: center; }
|
|
429
|
+
|
|
430
|
+
/* ستونها به عرض خود فرم بستگی دارند، نه صفحه */
|
|
431
|
+
@container (max-width: 30rem) {
|
|
432
|
+
.k-address__province, .k-address__city { grid-column: span 12; }
|
|
433
|
+
.k-address__plaque, .k-address__unit { grid-column: span 6; }
|
|
434
|
+
.k-address__postal { grid-column: span 12; }
|
|
435
|
+
}
|
|
436
|
+
@media (max-width: 40rem) {
|
|
437
|
+
.k-address--map { grid-template-columns: minmax(0, 1fr); }
|
|
438
|
+
.k-address__map { max-inline-size: 18rem; justify-self: center; }
|
|
439
|
+
}
|
|
440
|
+
|
|
391
441
|
/* هشدار (Alert) — به سبک Untitled UI: سطح خنثی، رنگ فقط در آیکون شاخص
|
|
392
442
|
* <div class="k-alert k-alert--warning" role="alert"> ← role="status" برای پیامهای غیرفوری
|
|
393
443
|
* <span class="k-alert__icon" aria-hidden="true"><svg>…</svg></span>
|
|
@@ -1936,6 +1986,8 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
1936
1986
|
*/
|
|
1937
1987
|
.k-field {
|
|
1938
1988
|
display: grid;
|
|
1989
|
+
/* ستون تنها با عرض فیلد کوچک میشود؛ وگرنه input در ستون باریک (مثل «پلاک») از فیلد بیرون میزند */
|
|
1990
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1939
1991
|
gap: var(--k-field-gap, var(--k-space-1_5));
|
|
1940
1992
|
min-inline-size: 0;
|
|
1941
1993
|
}
|
|
@@ -2220,7 +2272,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2220
2272
|
.k-iran-map--selectable .k-iran-map__province:focus { outline: none; }
|
|
2221
2273
|
.k-iran-map--selectable .k-iran-map__province:focus-visible { stroke: var(--k-border-brand); stroke-width: 3; }
|
|
2222
2274
|
.k-iran-map__province[data-selected] { fill: var(--k-iran-map-selected, var(--k-bg-brand)); stroke: var(--k-text-primary); stroke-width: 2; }
|
|
2223
|
-
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary);
|
|
2275
|
+
.k-iran-map__legend { display: flex; align-items: center; justify-content: center; gap: var(--k-space-2); color: var(--k-text-tertiary); }
|
|
2224
2276
|
.k-iran-map__scale { display: inline-flex; gap: 2px; }
|
|
2225
2277
|
.k-iran-map__scale i { inline-size: 1.5rem; block-size: 0.625rem; background: color-mix(in srgb, var(--k-bg-brand) var(--_p, 60%), var(--k-bg-tertiary)); }
|
|
2226
2278
|
.k-iran-map__scale i:first-child { border-start-start-radius: var(--k-radius-full); border-end-start-radius: var(--k-radius-full); }
|
|
@@ -2517,7 +2569,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2517
2569
|
|
|
2518
2570
|
/* مبلغ
|
|
2519
2571
|
* متغیرها: --k-money-size */
|
|
2520
|
-
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em;
|
|
2572
|
+
.k-money { display: inline-flex; align-items: baseline; gap: 0.3em; white-space: nowrap; color: var(--k-text-primary); }
|
|
2521
2573
|
.k-money__amount { font-size: var(--k-money-size, 1em); font-weight: var(--k-weight-semibold); letter-spacing: -0.01em; }
|
|
2522
2574
|
.k-money__unit { color: var(--k-text-tertiary); font-size: 0.8em; font-weight: var(--k-weight-medium); }
|
|
2523
2575
|
.k-money--sm { --k-money-size: var(--k-text-sm); }
|
|
@@ -2567,7 +2619,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2567
2619
|
.k-bankcard__bank { display: inline-flex; align-items: center; gap: var(--k-space-2); font-size: max(0.75rem, 4.2cqi); font-weight: var(--k-weight-semibold); }
|
|
2568
2620
|
.k-bankcard__logo { inline-size: 1.75rem; block-size: 1.75rem; padding: 2px; border-radius: var(--k-radius-md); background: #fff; }
|
|
2569
2621
|
.k-bankcard__chip { inline-size: 11.5cqi; fill: #e9c46a; stroke: rgb(120 80 10 / 0.45); stroke-width: 1; }
|
|
2570
|
-
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
|
|
2622
|
+
.k-bankcard__number { align-self: center; font-size: 6.9cqi; white-space: nowrap; font-weight: var(--k-weight-semibold); letter-spacing: 0.06em; text-align: center; word-spacing: 0.15em; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
|
|
2571
2623
|
.k-bankcard__bottom { display: flex; align-items: end; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.5rem; font-size: max(0.75rem, 4.2cqi); }
|
|
2572
2624
|
.k-bankcard__holder { font-weight: var(--k-weight-medium); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2573
2625
|
.k-bankcard__exp { display: inline-grid; justify-items: end; line-height: 1.3; margin-inline-start: auto; }
|
|
@@ -2642,7 +2694,7 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2642
2694
|
.k-receipt__rows::after { inset-inline-end: -0.75rem; clip-path: inset(0 50% 0 0); }
|
|
2643
2695
|
.k-receipt__row { display: flex; align-items: center; justify-content: space-between; gap: var(--k-space-3); min-block-size: 1.75rem; font-size: var(--k-text-sm); }
|
|
2644
2696
|
.k-receipt__row dt { color: var(--k-text-tertiary); }
|
|
2645
|
-
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end;
|
|
2697
|
+
.k-receipt__row dd { margin: 0; color: var(--k-text-primary); font-weight: var(--k-weight-medium); text-align: end; }
|
|
2646
2698
|
.k-receipt__code, .k-receipt__card { display: inline-flex; align-items: center; gap: var(--k-space-1_5); }
|
|
2647
2699
|
.k-receipt__card img { border-radius: var(--k-radius-sm); background: #fff; padding: 1px; }
|
|
2648
2700
|
.k-receipt__actions { display: flex; gap: var(--k-space-2); padding: 0 var(--k-space-5) var(--k-space-5); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kashi-ui/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "استایل کامپوننتهای کاشی با CSS خالص — برای هر فریمورکی",
|
|
5
5
|
"main": "./dist/kashi.css",
|
|
6
6
|
"style": "./dist/kashi.css",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build": "node build.mjs"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kashi-ui/tokens": "^0.
|
|
24
|
+
"@kashi-ui/tokens": "^0.23.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"vazirmatn": "^33.0.3"
|