@heliofi/common-fe 0.2.296 → 0.2.297

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +38 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -202,6 +202,7 @@ declare class WithdrawalConfigEntity extends Entity {
202
202
  disabledAt: string | null;
203
203
  disabledBlockchainSymbols: BlockchainSymbol[];
204
204
  enabledFeatures: WithdrawalFeature[];
205
+ themeId?: string;
205
206
  createdAt: string;
206
207
  updatedAt: string;
207
208
  }
@@ -243,6 +244,42 @@ declare class CustomTheme extends Entity {
243
244
  backgroundColor?: string;
244
245
  }
245
246
  //#endregion
247
+ //#region ../common/src/domain/model/theme/entities/ThemePalette.entity.d.ts
248
+ declare class ThemePalette {
249
+ primaryColor: string;
250
+ neutralColor: string;
251
+ backgroundColor: string;
252
+ successColor?: string;
253
+ dangerColor?: string;
254
+ warningColor?: string;
255
+ }
256
+ //#endregion
257
+ //#region ../common/src/domain/model/theme/entities/ThemeDesignTokens.entity.d.ts
258
+ declare class ThemeDesignTokens {
259
+ containerBorderRadius: number;
260
+ inputBorderRadius: number;
261
+ buttonBorderRadius: number;
262
+ containerBorderWidth: number;
263
+ inputBorderWidth: number;
264
+ fontFamily: string | null;
265
+ padding: number;
266
+ }
267
+ //#endregion
268
+ //#region ../common/src/domain/model/theme/entities/Theme.entity.d.ts
269
+ declare class Theme extends Entity {
270
+ id: string;
271
+ companyId?: string;
272
+ name: string;
273
+ light: ThemePalette;
274
+ dark: ThemePalette;
275
+ designTokens: ThemeDesignTokens;
276
+ type: ThemeType;
277
+ slug?: string;
278
+ isDefault?: boolean;
279
+ createdAt: string;
280
+ updatedAt: string;
281
+ }
282
+ //#endregion
246
283
  //#region ../common/src/domain/model/company/entities/BaseCompany.entity.d.ts
247
284
  declare class BaseCompany extends Entity {
248
285
  id: string;
@@ -284,6 +321,7 @@ declare class PublicWithdrawalConfigEntity extends WithdrawalConfigEntity {
284
321
  exchangeRates: WithdrawalCurrenciesExchangeRate[];
285
322
  minSupportedVersions: WithdrawalMinSupportedVersions;
286
323
  company: BaseCompany;
324
+ theme?: Theme | null;
287
325
  }
288
326
  //#endregion
289
327
  //#region ../common/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoute.entity.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heliofi/common-fe",
3
- "version": "0.2.296",
3
+ "version": "0.2.297",
4
4
  "private": false,
5
5
  "description": "Zero-dependency, frontend-safe shared enums (and, later, DTO type shapes) for Helio consumers. No class-validator / reflect-metadata / heavy blockchain deps.",
6
6
  "license": "ISC",
@@ -29,5 +29,5 @@
29
29
  "peerDependencies": {
30
30
  "typescript": "5.*"
31
31
  },
32
- "gitHead": "bb4e8d793bac780042bdb25a3f380635c981441c"
32
+ "gitHead": "c6440aeb452923e2e6e57a11893383e075a2123f"
33
33
  }