@cicord/ui 0.1.1 → 0.1.3

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/styles.css +6 -4
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -25,7 +25,10 @@
25
25
  --cicord-radius-xl: 24px;
26
26
 
27
27
  --cicord-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
28
- --cicord-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
28
+ /* Entrances: exponential ease-out (quint), settling without overshoot. */
29
+ --cicord-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
30
+ /* Deprecated alias kept for portals that used it: it no longer overshoots. */
31
+ --cicord-ease-spring: var(--cicord-ease-out);
29
32
  }
30
33
 
31
34
  /* Dark is the default palette (Discord-like). */
@@ -300,7 +303,7 @@ html.cicord-root {
300
303
  background: var(--cicord-role);
301
304
  }
302
305
  .cicord-role-chip.is-fresh {
303
- animation: cicord-chip-in 0.45s var(--cicord-ease-spring) both;
306
+ animation: cicord-chip-in 0.45s var(--cicord-ease-out) both;
304
307
  }
305
308
  .cicord-role-chip.is-fresh .cicord-role-chip__dot {
306
309
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--cicord-role) 30%, transparent);
@@ -508,8 +511,7 @@ html.cicord-root {
508
511
  align-items: center;
509
512
  gap: 12px 16px;
510
513
  padding: 14px 16px;
511
- border: 1px solid color-mix(in oklab, var(--cicord-notice) 35%, var(--cicord-line));
512
- border-left-width: 4px;
514
+ border: 1px solid color-mix(in oklab, var(--cicord-notice) 45%, var(--cicord-line));
513
515
  border-radius: var(--cicord-radius-md);
514
516
  background: color-mix(in oklab, var(--cicord-notice) 8%, var(--cicord-surface));
515
517
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cicord/ui",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Styled React components for Cicord community portals, driven by the server theme.",
5
5
  "keywords": [
6
6
  "cicord",