@efolusi/meridian 1.21.9 → 1.21.10

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/components.css +4 -2
  2. package/package.json +1 -1
package/components.css CHANGED
@@ -908,7 +908,8 @@ a.ef-sourcecard:focus-visible{outline:none;box-shadow:var(--focus-ring)}
908
908
  /* components/feedback/Alert.jsx */
909
909
  .ef-alert{position:relative;display:grid;grid-template-columns:0 1fr;align-items:start;gap:2px 10px;width:100%;padding:12px 14px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-card);color:var(--text-primary)}
910
910
  .ef-alert:has(>[data-slot=icon]){grid-template-columns:auto 1fr}
911
- .ef-alert:has(>.ef-alert__action){padding-inline-end:96px}
911
+ .ef-alert:has(>.ef-alert__action){grid-template-columns:0 1fr auto;column-gap:14px}
912
+ .ef-alert:has(>[data-slot=icon]):has(>.ef-alert__action){grid-template-columns:auto 1fr auto}
912
913
  .ef-alert>[data-slot=icon]{grid-column:1;grid-row:1/3;margin-top:2px;color:currentColor}
913
914
  .ef-alert>.ef-alert__title,.ef-alert>.ef-alert__description{grid-column:2}
914
915
  .ef-alert--success{border-color:var(--success-300);color:var(--success-600)}
@@ -917,7 +918,8 @@ a.ef-sourcecard:focus-visible{outline:none;box-shadow:var(--focus-ring)}
917
918
  .ef-alert__title{font-size:var(--text-md);font-weight:var(--weight-semibold);line-height:1.4;color:currentColor}
918
919
  .ef-alert__description{font-size:var(--text-sm);line-height:1.5;color:var(--text-secondary)}
919
920
  .ef-alert--danger>.ef-alert__description,.ef-alert--destructive>.ef-alert__description{color:var(--danger-700)}
920
- .ef-alert__action{position:absolute;inset-block-start:10px;inset-inline-end:12px}
921
+ .ef-alert>.ef-alert__action{grid-column:3;grid-row:1/3;align-self:start;margin-top:-2px}
922
+ @media (max-width:559px){.ef-alert:has(>.ef-alert__action){grid-template-columns:0 1fr}.ef-alert:has(>[data-slot=icon]):has(>.ef-alert__action){grid-template-columns:auto 1fr}.ef-alert>.ef-alert__action{grid-column:2;grid-row:auto;margin-top:8px}}
921
923
  /* components/feedback/AlertDialog.jsx */
922
924
  .ef-alertdialog__overlay{position:fixed;inset:0;z-index:var(--z-overlay);display:grid;place-items:center;padding:24px;background:var(--overlay-scrim);animation:ef-alertdialog-fade var(--dur-med) var(--ease-out)}
923
925
  .ef-alertdialog__content{width:100%;max-width:512px;padding:24px;background:var(--surface-card);color:var(--text-primary);border:1px solid var(--border-default);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);animation:ef-alertdialog-pop var(--dur-slow) var(--ease-spring)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@efolusi/meridian",
3
- "version": "1.21.9",
3
+ "version": "1.21.10",
4
4
  "description": "A general-purpose open-source design system by Efolusi: accessible React components, design tokens, blocks and example apps.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://meridian.efolusi.com",