@kashi-ui/css 0.3.0 → 0.4.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.
@@ -141,3 +141,25 @@
141
141
  .k-calendar__day[aria-current="date"] { outline: 1px solid CanvasText; }
142
142
  .k-datepicker__popover { border-color: CanvasText; }
143
143
  }
144
+
145
+ /* نشان بانک داخل فیلد (کارت، شبا): لوگو + نام */
146
+ .k-bank {
147
+ display: inline-flex;
148
+ align-items: center;
149
+ gap: var(--k-space-1_5);
150
+ color: var(--k-text-tertiary);
151
+ font-size: var(--k-text-sm);
152
+ white-space: nowrap;
153
+ }
154
+ .k-bank__logo {
155
+ inline-size: 1.5rem;
156
+ block-size: 1.5rem;
157
+ flex-shrink: 0;
158
+ border-radius: var(--k-radius-sm);
159
+ animation: k-pop-in var(--k-duration-normal) var(--k-ease-standard);
160
+ }
161
+ /* لوگوهای تیره روی پس‌زمینهٔ تیره دیده شوند */
162
+ [data-theme="dark"] .k-bank__logo, :root:not([data-theme]) .k-bank__logo {
163
+ padding: 1px;
164
+ background: #fff;
165
+ }
package/dist/kashi.css CHANGED
@@ -854,6 +854,28 @@
854
854
  .k-datepicker__popover { border-color: CanvasText; }
855
855
  }
856
856
 
857
+ /* نشان بانک داخل فیلد (کارت، شبا): لوگو + نام */
858
+ .k-bank {
859
+ display: inline-flex;
860
+ align-items: center;
861
+ gap: var(--k-space-1_5);
862
+ color: var(--k-text-tertiary);
863
+ font-size: var(--k-text-sm);
864
+ white-space: nowrap;
865
+ }
866
+ .k-bank__logo {
867
+ inline-size: 1.5rem;
868
+ block-size: 1.5rem;
869
+ flex-shrink: 0;
870
+ border-radius: var(--k-radius-sm);
871
+ animation: k-pop-in var(--k-duration-normal) var(--k-ease-standard);
872
+ }
873
+ /* لوگوهای تیره روی پس‌زمینهٔ تیره دیده شوند */
874
+ [data-theme="dark"] .k-bank__logo, :root:not([data-theme]) .k-bank__logo {
875
+ padding: 1px;
876
+ background: #fff;
877
+ }
878
+
857
879
  /* کارت
858
880
  * <article class="k-card">
859
881
  * <header class="k-card__header">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kashi-ui/css",
3
- "version": "0.3.0",
3
+ "version": "0.4.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.3.0"
24
+ "@kashi-ui/tokens": "^0.4.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "vazirmatn": "^33.0.3"