@undrr/undrr-mangrove 2.0.0 → 2.1.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.
Files changed (182) hide show
  1. package/README.md +9 -5
  2. package/components/BookCard.js +2 -2
  3. package/components/Breadcrumbs.js +2 -2
  4. package/components/Checkbox.js +2 -2
  5. package/components/Chips.js +2 -2
  6. package/components/CopyButton.js +2 -2
  7. package/components/CtaButton.js +2 -2
  8. package/components/Drawer.js +3 -3
  9. package/components/Drawer.js.LICENSE.txt +3 -1
  10. package/components/EmbedContainer.js +2 -2
  11. package/components/Footer.js +2 -2
  12. package/components/FormAction.js +2 -2
  13. package/components/FormErrorSummary.js +2 -2
  14. package/components/FormGroup.js +2 -2
  15. package/components/FullWidth.js +2 -2
  16. package/components/Gallery.js +3 -3
  17. package/components/Hero.js +3 -3
  18. package/components/HighlightBox.js +2 -2
  19. package/components/HorizontalBookCard.js +3 -3
  20. package/components/HorizontalBookCard.js.LICENSE.txt +3 -1
  21. package/components/HorizontalCard.js +3 -3
  22. package/components/HorizontalCard.js.LICENSE.txt +3 -1
  23. package/components/IconCard.js +3 -3
  24. package/components/IconCard.js.LICENSE.txt +3 -1
  25. package/components/Legend.js +2 -2
  26. package/components/Loader.js +3 -3
  27. package/components/MegaMenu.js +3 -3
  28. package/components/Notice.js +2 -2
  29. package/components/PageHeader.js +2 -2
  30. package/components/Pager.js +2 -2
  31. package/components/ProgressBar.js +9 -0
  32. package/components/ProgressBar.js.LICENSE.txt +9 -0
  33. package/components/QuoteHighlight.js +3 -3
  34. package/components/QuoteHighlight.js.LICENSE.txt +3 -1
  35. package/components/Radio.js +2 -2
  36. package/components/Range.js +2 -2
  37. package/components/ScrollContainer.js +2 -2
  38. package/components/SegmentedControl.js +2 -2
  39. package/components/Select.js +2 -2
  40. package/components/ServiceNotice.js +2 -2
  41. package/components/ShareButtons.js +3 -3
  42. package/components/ShowMore.js +3 -3
  43. package/components/SkipLink.js +2 -2
  44. package/components/StatsCard.js +3 -3
  45. package/components/StatsCard.js.LICENSE.txt +3 -1
  46. package/components/SyndicationSearchWidget.js +3 -3
  47. package/components/Tab.js +2 -2
  48. package/components/TextCta.js +3 -3
  49. package/components/TextCta.js.LICENSE.txt +3 -1
  50. package/components/TextInput.js +2 -2
  51. package/components/Textarea.js +2 -2
  52. package/components/Tree.js +2 -2
  53. package/components/UserFeedback.js +2 -2
  54. package/components/VerticalCard.js +3 -3
  55. package/components/VerticalCard.js.LICENSE.txt +3 -1
  56. package/components/hydrate.js +3 -3
  57. package/css/style-all.css +147 -128
  58. package/css/style-all.css.map +1 -1
  59. package/css/style-delta.css +147 -128
  60. package/css/style-delta.css.map +1 -1
  61. package/css/style-gutenberg.css +12 -12
  62. package/css/style-gutenberg.css.map +1 -1
  63. package/css/style-irp.css +147 -128
  64. package/css/style-irp.css.map +1 -1
  65. package/css/style-mcr.css +147 -128
  66. package/css/style-mcr.css.map +1 -1
  67. package/css/style-preventionweb.css +147 -128
  68. package/css/style-preventionweb.css.map +1 -1
  69. package/css/style.css +147 -128
  70. package/css/style.css.map +1 -1
  71. package/docs/EDITORIAL-MANUAL.md +193 -0
  72. package/docs/llms-editorial-manual.txt +200 -0
  73. package/docs/llms-motion.txt +125 -0
  74. package/docs/llms-page-building.txt +1140 -0
  75. package/docs/llms-search-widget.txt +765 -0
  76. package/error-pages/401.html +1 -1
  77. package/error-pages/403.html +1 -1
  78. package/error-pages/404.html +1 -1
  79. package/error-pages/429.html +1 -1
  80. package/error-pages/500.html +1 -1
  81. package/error-pages/502.html +1 -1
  82. package/error-pages/503.html +1 -1
  83. package/error-pages/504.html +1 -1
  84. package/error-pages/5xx.html +1 -1
  85. package/error-pages/challenge.html +1 -1
  86. package/error-pages/managed-challenge.html +1 -1
  87. package/js/cite-this.js +994 -0
  88. package/js/on-this-page-nav.js +80 -1
  89. package/js/show-more.js +149 -21
  90. package/package.json +6 -1
  91. package/scss/Atom/BaseTypography/Abbr/abbr.scss +1 -1
  92. package/scss/Atom/BaseTypography/Blockquote/blockquote.scss +1 -1
  93. package/scss/Atom/BaseTypography/Cite/cite.scss +1 -1
  94. package/scss/Atom/BaseTypography/Code/code.scss +1 -1
  95. package/scss/Atom/BaseTypography/Mark/mark.scss +1 -1
  96. package/scss/Atom/BaseTypography/Quotation/quotation.scss +1 -1
  97. package/scss/Atom/BaseTypography/Small/small.scss +1 -1
  98. package/scss/Atom/Colors/color.scss +1 -1
  99. package/scss/Atom/EmptyState/empty-state.scss +1 -1
  100. package/scss/Atom/Icons/_icon-definitions.scss +35 -3
  101. package/scss/Atom/Icons/icons.scss +1 -1
  102. package/scss/Atom/Images/AuthorImage/author-image.scss +10 -3
  103. package/scss/Atom/Images/Image/image.scss +1 -1
  104. package/scss/Atom/Images/ImageCaptionCredit/image-caption-credit.scss +7 -2
  105. package/scss/Atom/Images/ImageCredit/image-credit.scss +1 -1
  106. package/scss/Atom/Layout/Container/container.scss +1 -1
  107. package/scss/Atom/Layout/Grid/grid.scss +1 -1
  108. package/scss/Atom/Layout/Spacing/spacing.scss +1 -1
  109. package/scss/Atom/Logo/logo.scss +1 -1
  110. package/scss/Atom/Navigation/Breadcrumb/breadcrumb.scss +1 -1
  111. package/scss/Atom/Navigation/MenuItems/menu-items.scss +1 -1
  112. package/scss/Atom/ReachElement/Details/details.scss +5 -3
  113. package/scss/Atom/ReachElement/Figcaption/figcaption.scss +1 -1
  114. package/scss/Atom/StatusLabel/status-label.scss +1 -1
  115. package/scss/Atom/Table/table.scss +1 -1
  116. package/scss/Atom/Tag/tag.scss +1 -1
  117. package/scss/Atom/Video/video.scss +1 -1
  118. package/scss/Components/Boilerplate/boilerplate.scss +1 -1
  119. package/scss/Components/Breadcrumbs/breadcrumbs.scss +1 -1
  120. package/scss/Components/Buttons/Chips/chips.scss +1 -1
  121. package/scss/Components/Buttons/CopyButton/copy-button.scss +1 -1
  122. package/scss/Components/Buttons/CtaButton/buttons.scss +1 -1
  123. package/scss/Components/Buttons/CtaButton/cta-button.scss +1 -1
  124. package/scss/Components/Buttons/ShareButtons/share-buttons.scss +90 -1
  125. package/scss/Components/Cards/Card/card.scss +9 -3
  126. package/scss/Components/Cards/StatsCard/stats-card.scss +9 -2
  127. package/scss/Components/CiteThis/cite-this.scss +339 -0
  128. package/scss/Components/CookieConsentBanner/cookie-consent-banner.scss +1 -1
  129. package/scss/Components/DataViz/Legend/legend.scss +1 -1
  130. package/scss/Components/ErrorPages/error-pages.scss +1 -1
  131. package/scss/Components/Footer/footer.scss +1 -1
  132. package/scss/Components/Forms/Checkbox/checkbox.scss +1 -1
  133. package/scss/Components/Forms/FormAction/form-action.scss +1 -1
  134. package/scss/Components/Forms/FormGroup/form-group.scss +1 -1
  135. package/scss/Components/Forms/InputFields/input-fields.scss +1 -1
  136. package/scss/Components/Forms/Radio/radio.scss +1 -1
  137. package/scss/Components/Forms/Range/range.scss +1 -1
  138. package/scss/Components/Forms/SegmentedControl/segmented-control.scss +1 -1
  139. package/scss/Components/Forms/Select/select.scss +1 -1
  140. package/scss/Components/Forms/TextInput/text-input.scss +1 -1
  141. package/scss/Components/Forms/Textarea/textarea.scss +1 -1
  142. package/scss/Components/Forms/_form-base.scss +1 -1
  143. package/scss/Components/Gallery/gallery.scss +41 -16
  144. package/scss/Components/Hero/hero.scss +166 -1
  145. package/scss/Components/HighlightBox/highlight-box.scss +1 -1
  146. package/scss/Components/MegaMenu/mega-menu.scss +43 -122
  147. package/scss/Components/MegaMenu/megamenu.scss +1 -1
  148. package/scss/Components/Navigation/Drawer/drawer.scss +11 -1
  149. package/scss/Components/Navigation/Tree/tree.scss +1 -1
  150. package/scss/Components/Notice/notice.scss +1 -1
  151. package/scss/Components/OnThisPageNav/on-this-page-nav.scss +109 -4
  152. package/scss/Components/PageHeader/page-header.scss +1 -1
  153. package/scss/Components/Pager/pager.scss +1 -1
  154. package/scss/Components/PreviewAccess/preview-access.scss +1 -1
  155. package/scss/Components/ProgressBar/progress-bar.scss +215 -0
  156. package/scss/Components/QuoteHighlight/quote-highlight.scss +1 -1
  157. package/scss/Components/ScrollContainer/scroll-container.scss +1 -1
  158. package/scss/Components/Snackbar/snackbar.scss +1 -1
  159. package/scss/Components/SyndicationSearchWidget/_deprecated-teaser-hide.scss +1 -1
  160. package/scss/Components/SyndicationSearchWidget/syndication-search-widget.scss +253 -128
  161. package/scss/Components/Tab/tab.scss +3 -2
  162. package/scss/Components/TableOfContents/table-of-contents.scss +1 -1
  163. package/scss/Components/TextCta/text-cta.scss +1 -1
  164. package/scss/Components/TextCta/textcta.scss +1 -1
  165. package/scss/Components/UserFeedback/user-feedback.scss +1 -1
  166. package/scss/Molecules/ImageCaption/image-caption.scss +17 -3
  167. package/scss/Molecules/SectionHeader/section-header.scss +1 -1
  168. package/scss/Molecules/SectionHeader/sectionheader.scss +1 -1
  169. package/scss/Patterns/HubHeader/hub-header.scss +1 -1
  170. package/scss/Patterns/RichContent/rich-content.scss +177 -0
  171. package/scss/Patterns/_shared/pattern-demo.scss +6 -1
  172. package/scss/Utilities/EmbedContainer/embed-container.scss +1 -1
  173. package/scss/Utilities/FullWidth/full-width.scss +1 -1
  174. package/scss/Utilities/Loader/loader.scss +133 -12
  175. package/scss/Utilities/Normalize/normalize.scss +1 -1
  176. package/scss/Utilities/PagePatterns/page-patterns.scss +1 -1
  177. package/scss/Utilities/ShowMore/show-more.scss +7 -1
  178. package/scss/Utilities/SkipLink/skip-link.scss +1 -1
  179. package/scss/assets/scss/_components.scss +5 -0
  180. package/scss/assets/scss/_foundational.scss +23 -8
  181. package/scss/assets/scss/_mixins.scss +5 -0
  182. package/scss/assets/scss/_variables.scss +2 -2
@@ -4,7 +4,7 @@
4
4
  * Flexible grid system and columnar layout utilities for structured multi-column content.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Layout/Grid/Grid.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Layout/Grid/Grid.mdx
8
8
  */
9
9
  /* Our custom css grid based on https://stable.visual-framework.dev/components/vf-grid/ */
10
10
  g-grid {
@@ -4,6 +4,6 @@
4
4
  * Margin and padding spacing utility classes mapped to design system spacing tokens.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Layout/Spacing/Spacing.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Layout/Spacing/Spacing.mdx
8
8
  */
9
9
  // empty
@@ -4,7 +4,7 @@
4
4
  * UNDRR and partner logo presentation styles, scaling, and bilingual language variants.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Logo/Logo.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Logo/Logo.mdx
8
8
  */
9
9
  .mg-logo {
10
10
  display: block;
@@ -4,6 +4,6 @@
4
4
  * Foundational breadcrumb list and separator styling (superseded by Components/Breadcrumbs).
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Breadcrumbs/Breadcrumbs.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Breadcrumbs/Breadcrumbs.mdx
8
8
  */
9
9
  // Retried
@@ -4,7 +4,7 @@
4
4
  * Accessible menu list, navigation item links, and hover/focus interaction states.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Typography/Links/Links.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Typography/Links/Links.mdx
8
8
  */
9
9
  // * menu item row start *//
10
10
  .menu li {
@@ -4,7 +4,7 @@
4
4
  * Native HTML <details> and <summary> disclosure styling with custom toggle indicators.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/BaseTypography/BaseTypography.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/BaseTypography/BaseTypography.mdx
8
8
  */
9
9
  /* details tag start */
10
10
 
@@ -24,7 +24,8 @@ details.mg-details {
24
24
  border: 1px solid rgb(var(--mg-color-neutral-400)); // #808080 — 3.95:1 on white (passes WCAG 1.4.11)
25
25
  border-radius: mg-rem(4);
26
26
  padding: mg-rem(10);
27
- transition: box-shadow 0.2s ease-in-out;
27
+ transition: box-shadow var(--mg-motion-duration-fast)
28
+ var(--mg-motion-easing-standard);
28
29
 
29
30
  &:hover {
30
31
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
@@ -40,7 +41,8 @@ details.mg-details {
40
41
  padding-block: mg-rem(10);
41
42
  padding-inline: mg-rem(10) mg-rem(44);
42
43
  position: relative;
43
- transition: background-color 0.2s ease-in-out;
44
+ transition: background-color var(--mg-motion-duration-fast)
45
+ var(--mg-motion-easing-standard);
44
46
 
45
47
  &:hover {
46
48
  background-color: rgb(
@@ -4,7 +4,7 @@
4
4
  * Typographic styles for HTML <figcaption> elements accompanying figures and media.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/BaseTypography/BaseTypography.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/BaseTypography/BaseTypography.mdx
8
8
  */
9
9
  /* figure tag start */
10
10
  figure {
@@ -4,7 +4,7 @@
4
4
  * Compact status indicators and colored badge pills for states (draft, active, archived, etc.).
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/StatusLabel/StatusLabel.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/StatusLabel/StatusLabel.mdx
8
8
  */
9
9
  // Status label — a workflow status shown as a coloured indicator plus its name.
10
10
  // -
@@ -4,7 +4,7 @@
4
4
  * Accessible tabular data styling with striped, bordered, and responsive scrolling variants.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Table/Table.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Table/Table.mdx
8
8
  */
9
9
  /* table tag start */
10
10
  .mg-table {
@@ -4,7 +4,7 @@
4
4
  * Metadata taxonomy tags, clickable topic chips, and keyword labels with active and hover states.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Atom/Tag/Tag.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Atom/Tag/Tag.mdx
8
8
  */
9
9
  // Compact taxonomy labels. Keep legacy theme overrides and container markup.
10
10
  // :where() gives auto-styled children the same specificity as .mg-tag, so
@@ -4,7 +4,7 @@
4
4
  * Responsive HTML5 video element wrapper and aspect ratio scaling.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Utilities/EmbedContainer/EmbedContainer.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Utilities/EmbedContainer/EmbedContainer.mdx
8
8
  */
9
9
  /* video start */
10
10
  video {
@@ -4,7 +4,7 @@
4
4
  * Starter scaffold and template styles for authoring new Mangrove components.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Boilerplate/Boilerplate.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Boilerplate/Boilerplate.mdx
8
8
  */
9
9
  // Boilerplate component styles
10
10
  // We use the 'mg-' prefix for our CSS classes to namespace them
@@ -4,7 +4,7 @@
4
4
  * Accessible hierarchical breadcrumb navigation with chevron separators and current-page semantics.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Breadcrumbs/Breadcrumbs.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Breadcrumbs/Breadcrumbs.mdx
8
8
  */
9
9
  .mg-breadcrumb {
10
10
  font-family: var(--mg-font-family-ui);
@@ -4,7 +4,7 @@
4
4
  * Interactive filter and selection chip buttons with selected/unselected states.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Buttons/Chips/Chips.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Buttons/Chips/Chips.mdx
8
8
  */
9
9
  .mg-chip {
10
10
  align-items: center;
@@ -4,7 +4,7 @@
4
4
  * One-click copy button with a transient feedback tooltip and aria-live announcements.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Buttons/CopyButton/CopyButton.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Buttons/CopyButton/CopyButton.mdx
8
8
  */
9
9
 
10
10
  .mg-copy-button {
@@ -4,7 +4,7 @@
4
4
  * Legacy stylesheet forwarding to cta-button.scss.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Buttons/CtaButton/CtaButton.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Buttons/CtaButton/CtaButton.mdx
8
8
  */
9
9
  // buttons.scss — DEPRECATED, use cta-button.scss
10
10
  @import "./cta-button";
@@ -4,7 +4,7 @@
4
4
  * Primary, secondary, and tertiary call-to-action button styles with size variants and motion effects.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Buttons/CtaButton/CtaButton.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Buttons/CtaButton/CtaButton.mdx
8
8
  */
9
9
  // .mg-buttons {
10
10
  // margin-bottom: 1em;
@@ -4,7 +4,7 @@
4
4
  * Social sharing action bar with platform icons (X/Twitter, LinkedIn, Facebook, Email, Copy Link).
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Buttons/ShareButtons/ShareButtons.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Buttons/ShareButtons/ShareButtons.mdx
8
8
  */
9
9
  .mg-share {
10
10
  max-inline-size: mg-rem(400);
@@ -106,3 +106,92 @@
106
106
  line-height: 1.5;
107
107
  overflow-wrap: anywhere;
108
108
  }
109
+
110
+ .mg-share__dialog {
111
+ box-sizing: border-box;
112
+ inline-size: min(calc(100% - 2 * var(--mg-spacing-200)), mg-rem(500));
113
+ max-block-size: calc(100vh - 2 * var(--mg-spacing-200));
114
+ padding: var(--mg-spacing-300);
115
+ border: 0;
116
+ border-block-start: mg-rem(4) solid rgb(var(--mg-color-interactive));
117
+ border-radius: 0;
118
+ background: rgb(var(--mg-color-white));
119
+ color: rgb(var(--mg-color-text));
120
+ box-shadow: 0 mg-rem(8) mg-rem(32) rgb(var(--mg-color-neutral-900) / 0.25);
121
+ overflow: auto;
122
+
123
+ &::backdrop {
124
+ background: var(--mg-color-modal-scrim);
125
+ }
126
+ }
127
+
128
+ .mg-share__dialog-header {
129
+ display: flex;
130
+ align-items: flex-start;
131
+ justify-content: space-between;
132
+ gap: var(--mg-spacing-150);
133
+ }
134
+
135
+ .mg-share__dialog-title {
136
+ margin: 0;
137
+ font-family: var(--mg-font-family-ui);
138
+ font-size: var(--mg-font-size-500);
139
+ line-height: 1.2;
140
+ }
141
+
142
+ .mg-share__dialog-close {
143
+ flex: none;
144
+ inline-size: mg-rem(40);
145
+ block-size: mg-rem(40);
146
+ min-inline-size: mg-rem(40);
147
+ min-block-size: mg-rem(40);
148
+ margin-inline-start: auto;
149
+ color: rgb(var(--mg-color-text));
150
+
151
+ &:hover {
152
+ background: rgb(var(--mg-color-neutral-50));
153
+ color: rgb(var(--mg-color-text));
154
+ }
155
+ }
156
+
157
+ .mg-share__dialog-description {
158
+ margin-block: var(--mg-spacing-150);
159
+ font-family: var(--mg-font-family-text);
160
+ }
161
+
162
+ .mg-share__dialog-content {
163
+ min-inline-size: 0;
164
+ }
165
+
166
+ .mg-share__dialog-image {
167
+ display: block;
168
+ max-inline-size: 100%;
169
+ max-block-size: mg-rem(220);
170
+ block-size: auto;
171
+ margin-inline: auto;
172
+ }
173
+
174
+ .mg-share__dialog-url {
175
+ overflow-wrap: anywhere;
176
+ }
177
+
178
+ .mg-share__dialog-actions,
179
+ .mg-share__dialog-actions-primary {
180
+ display: flex;
181
+ flex-wrap: wrap;
182
+ gap: var(--mg-spacing-100);
183
+ }
184
+
185
+ .mg-share__dialog-actions {
186
+ justify-content: space-between;
187
+ margin-block-start: var(--mg-spacing-200);
188
+ }
189
+
190
+ .mg-share__visually-hidden {
191
+ position: absolute;
192
+ inline-size: 1px;
193
+ block-size: 1px;
194
+ overflow: hidden;
195
+ clip-path: inset(50%);
196
+ white-space: nowrap;
197
+ }
@@ -4,7 +4,7 @@
4
4
  * Card layouts including VerticalCard, HorizontalCard, BookCard, and HorizontalBookCard with responsive media.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Cards/Card/VerticalCard.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Cards/Card/VerticalCard.mdx
8
8
  */
9
9
  /* content-card start */
10
10
 
@@ -242,7 +242,8 @@
242
242
  width: 0.35em;
243
243
 
244
244
  @media (prefers-reduced-motion: no-preference) {
245
- transition: translate 200ms ease;
245
+ transition: translate var(--mg-motion-duration-fast)
246
+ var(--mg-motion-easing-standard);
246
247
  }
247
248
  }
248
249
 
@@ -578,7 +579,12 @@ span.mg-card__label {
578
579
  // Visual link for logo cards (srOnlyTitle) - stretched link pattern
579
580
  .mg-card__visual-link {
580
581
  display: block;
581
- transition: opacity 200ms ease;
582
+
583
+ @media (prefers-reduced-motion: no-preference) {
584
+ transition: opacity var(--mg-motion-duration-fast)
585
+ var(--mg-motion-easing-standard);
586
+ }
587
+
582
588
  width: 100%;
583
589
 
584
590
  &::after {
@@ -4,7 +4,7 @@
4
4
  * Key metric and statistical callout card with large numeral display and descriptive labels.
5
5
  *
6
6
  * Full documentation:
7
- * https://github.com/unisdr/undrr-mangrove/blob/main/stories/Components/Cards/StatsCard/StatsCard.mdx
7
+ * https://github.com/PreventionWeb/undrr-mangrove/blob/main/stories/Components/Cards/StatsCard/StatsCard.mdx
8
8
  */
9
9
  /* Stats Card Component */
10
10
  .mg-stats-card {
@@ -120,7 +120,8 @@
120
120
  text-decoration: underline;
121
121
  position: relative;
122
122
  z-index: 2; // above stretched-link cover — local to stats-card stacking context
123
- transition: opacity 200ms ease;
123
+ transition: opacity var(--mg-motion-duration-fast)
124
+ var(--mg-motion-easing-standard);
124
125
 
125
126
  &:hover {
126
127
  opacity: 0.7;
@@ -228,3 +229,9 @@
228
229
  }
229
230
 
230
231
  /* RTL support is automatic: the highlighted accent uses `border-inline-start`. */
232
+
233
+ @media (prefers-reduced-motion: reduce) {
234
+ .mg-stats-card-item__summary a {
235
+ transition: none;
236
+ }
237
+ }