@aircall/ds 0.43.1 → 0.44.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.
package/dist/index.d.ts CHANGED
@@ -645,7 +645,7 @@ declare namespace AlertDialogCancel {
645
645
  * the icon level with the first line when the title wraps.
646
646
  */
647
647
  declare const alertVariants: (props?: ({
648
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
648
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
649
649
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
650
650
  /**
651
651
  * Callout that draws attention to an important, contextual message.
@@ -1049,7 +1049,7 @@ declare namespace BadgeGroupCount {
1049
1049
  * edge gets the accent border.
1050
1050
  */
1051
1051
  declare const bannerVariants: (props?: ({
1052
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1052
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1053
1053
  borderDirection?: "bottom" | "top" | null | undefined;
1054
1054
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1055
1055
  /**
package/dist/theme.css CHANGED
@@ -348,8 +348,17 @@
348
348
  counterpart. Opacity = tone: Dark 10% → Medium Dark 40% → Medium Light
349
349
  60% → Light 80%. */
350
350
  --badge-film-10: rgba(255, 255, 255, 0.1);
351
+ /* Not a Badge tone either - Badge uses 10/40/60/80. 30 exists because Figma's
352
+ Bubble Hover state (`27904:8247`) lays a 30% white film over the bubble
353
+ surface; see `specs/bubbles.spec.md` section 14. Same family, one film scale. */
354
+ --badge-film-30: rgba(255, 255, 255, 0.3);
351
355
  --badge-film-40: rgba(255, 255, 255, 0.4);
352
356
  --badge-film-60: rgba(255, 255, 255, 0.6);
357
+ /* Not a Badge tone - Badge uses 10/40/60/80. 70 exists because Figma's
358
+ Bubble frames declare a 70% film on one icon disc (`alpha/30` on node
359
+ 27904:7588); see `specs/bubbles.spec.md` section 12. Kept in this family
360
+ rather than duplicated so there is one film scale, not two. */
361
+ --badge-film-70: rgba(255, 255, 255, 0.7);
353
362
  --badge-film-80: rgba(255, 255, 255, 0.8);
354
363
  }
355
364
 
@@ -467,8 +476,10 @@
467
476
  /* Dark theme: the film flips to near-black (#0a0a0a) so the same base
468
477
  shade darkens into its four tones instead of lightening. */
469
478
  --badge-film-10: rgba(10, 10, 10, 0.1);
479
+ --badge-film-30: rgba(10, 10, 10, 0.3);
470
480
  --badge-film-40: rgba(10, 10, 10, 0.4);
471
481
  --badge-film-60: rgba(10, 10, 10, 0.6);
482
+ --badge-film-70: rgba(10, 10, 10, 0.7);
472
483
  --badge-film-80: rgba(10, 10, 10, 0.8);
473
484
  }
474
485
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.43.1",
3
+ "version": "0.44.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [