Commit Graph

96 Commits

Author SHA1 Message Date
Zack Davis
641e7350e4 New buttons for Docs: /agents/agentic-transactions/ and /usecases/tokenization/real-world-assets. Also, button-audit script 2026-08-23 20:54:46 -07:00
Zack Davis
a37c40a13d Merge remote-tracking branch 'upstream/xrpl-brand-update-2026' into a11y-constrast-fixes
# Conflicts:
#	static/css/devportal2024-v1.css
#	static/css/devportal2024-v1.css.map
2026-08-18 22:31:57 -07:00
Zack Davis
d09f139cb6 contrast-checker script and 1 fix 2026-08-18 21:27:53 -07:00
Calvin
5021556c8e BDS component polish: link contrast, static cards, uniform CTAs, stacked hero (#3851)
* BDS component polish: link visibility, static cards, uniform CTAs

Component-level fixes and refinements across the 2026 brand components.

Accessibility / contrast
- StandardCard: pin description link colors. Every card variant has a light
  background in both themes, so theme-level link colors were wrong inside it —
  dark mode painted plain anchors white and BdsLink lilac-300, both of which
  wash out on a pale card. Links (including :visited) now use the card's own
  text color with an underline carrying the affordance; hover uses lilac-500,
  which clears 4.5:1 on all four card backgrounds.
- Breadcrumbs: point the open dropdown menu at the breadcrumb color tokens so
  the trail, trigger, and menu read as one color in both themes, and give dark
  mode gray-6 (7.41:1, matching light mode's 7.23:1).

Interaction
- CardOffgrid: drop every hover affordance when a card has neither href nor
  onClick. Static cards no longer get a pointer cursor, the color-wipe overlay,
  or a pressed state — the tokenization and trading carousels pass link-less
  cards and were advertising a click target that did not exist.
- CarouselFeatured: add a 'fade' transition alongside the default 'slide', for
  decks whose slides share a heading. Inactive slides are now inert, keeping
  focus and pointer events out of them in both styles.
- Add a bds-reduced-motion mixin so components can collapse motion to an
  instant state change.

Design consistency
- ButtonGroup: add forceVariant and forceNoPadding overrides, letting a section
  opt out of the count-based variant defaults and render one uniform treatment.
  Existing consumers are unaffected.
- FeatureTwoColumn: render every link as a tertiary button regardless of count,
  flush with the title and description.
- CardImage: render an all-bullet subtitle as a real <ul> so wrapped text hangs
  under the first character and screen readers announce it as a list.
- docs: give the node-installation card descriptions a paragraph break before
  their "Learn More" link.

Dependencies
- Bump @codemirror/state and view, add lang-javascript, lang-json, and lint,
  with overrides pinning state/view to one copy.

Docs updated alongside each component. Built CSS regenerated with the
production script to match the committed artifact's minified format.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* ButtonGroup: don't strip padding from forced filled variants

`noPadding` was derived as `forceNoPadding || isMultiButton`, which was safe
while the 3+ block layout was always tertiary. `forceVariant` also accepts
`primary` and `secondary`, so a 3-button group forcing a filled variant had
`padding: 0 !important` (Button.scss) applied with no way to opt out.

Tie the implied no-padding to the resolved variant being tertiary. Behavior is
unchanged for every caller that doesn't pass `forceVariant`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Stacked hero variant, fade-by-default carousel, component docs

Layout
- HeaderHeroPrimaryMedia: add a `stacked` prop that puts the headline, subtitle,
  and buttons in one column (full width at base, 7/8 at md, 9/12 at lg) instead
  of the default headline-left / CTA-right split. The headline and CTA block
  bottom-align against each other in the two-column layout, so the stacked
  variant undoes that. Both arrangements now share the same headline and CTA
  elements, so they can't drift apart. Used on the docs landing hero.

Motion
- CarouselFeatured: make `fade` the default transition. Slides that share a
  heading are the common case, and a horizontal wipe drags the identical heading
  across the screen only to set it back down. `slide` is now opt-in for decks
  whose panels are genuinely distinct. Nudge the crossfade to 260ms in / 200ms
  out. The home page carousel opts into fade explicitly; developer-funding now
  inherits it.

Fixes
- CardTextIconCard: pass `headingAs` through to `cardContent`, which was
  accepting the prop but never receiving it.

Docs
- Expand the Button, CardImage, CardTextIcon, PageGrid, CalloutMediaBanner,
  LogoSquareGrid, and HeaderHeroPrimaryMedia references.

Built CSS regenerated with the production script.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 16:49:10 -07:00
Zack Davis
486406e16a Merge upstream/master into xrpl-brand-update-2026 (catch-up 2026-08-14)
Brings 342 commits of master (last merge base 2026-06-09) onto the rebrand
branch. 10 files conflicted; resolutions below.

Regenerated rather than merged (both are build artifacts):
  static/css/devportal2024-v1.css  rebuilt via `npm run build-css` (+ .css.map,
                                   which both branches track)
  package-lock.json                seeded from master, `npm install`

Config/nav:
  .gitignore     union of both sides
  redirects.yaml took master's side: ambassadors.html now points at
                 ripple.com/impact/ubri/ (supersedes the branch's interim
                 redirect to /community/developer-funding) and master's
                 rippled->xrpld redirect block is preserved
  redocly.yaml   union of ignore entries (branch showcase/** + master
                 .claude/**); kept the branch's script ordering/defer flags
                 but adopted MASTER's new Osano CMP URL - taking the branch
                 side wholesale would have silently reverted cookie consent
  top-nav.yaml   kept the branch's restructure; master's only changes there
                 were the TypeScript get-started entry (auto-merged, retained)
                 and removing Ambassadors (branch already omits it)

Pages/styles:
  docs/index.page.tsx, community/index.page.tsx,
  community/developer-funding.page.tsx, styles/_docs-landing.scss
                 kept the branch rewrites, then re-applied master's intent:
                 "rippled API" -> "xrpld API" in docs/index.page.tsx. Master's
                 other edits (validator link rename, funding-orange image
                 removal, .nav-link hover underline removal) were already
                 satisfied by the rewrites.

Semantic conflict git did not flag:
  styles/_tutorials.scss auto-merged cleanly but broke the SCSS build. Master
  added light-mode .tutorial-tabs rules using $blue-purple-600/700, which the
  rebrand's token consolidation removed (scale now stops at 500, aliased to
  $lilac-*). Remapped to $blue-purple-500, matching how the rebrand migrated
  the other light-mode $blue-purple-600 usages in the same file.

Verified: `npm run build-css` succeeds; no conflict markers remain; the set of
files still linking to master's renamed rippled-* doc paths is identical to
master's own (49 files, all historical blog posts covered by redirects).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 17:29:34 -07:00
mDuo13
cd0ad4aafe Bump Redocly to Realm v0.135.2 2026-08-03 13:30:26 -07:00
mDuo13
1f893379a4 Bump Redocly + deps, add upgrade checklist 2026-07-21 12:44:15 -07:00
Calvin Jhunjhuwala
c246127739 Merge remote-tracking branch 'origin/master' into xrpl-brand-update-2026
# Conflicts:
#	package-lock.json
2026-06-09 18:32:44 -07:00
Oliver Eggert
93eb7f9608 bump redocly to v 0.134.0 2026-06-09 13:04:43 -07:00
akcodez
acfe39e38d resolve build erros 2026-06-08 16:51:58 -07:00
akcodez
35cda6d34c add full primary button 2026-06-08 16:49:40 -07:00
Calvin Jhunjhuwala
97a92045de move page grid css to page grid folder, removing more text class styling 2026-06-08 16:49:16 -07:00
akcodez
bfdf0ca4dc Implement CSS optimization pipeline with PurgeCSS, Autoprefixer, and cssnano; reduce bundle size by 42% (uncompressed) and 39% (gzipped). Add analysis tool for CSS metrics and update build scripts in package.json. Create comprehensive documentation for CSS optimization process. 2026-06-08 16:48:00 -07:00
Calvin Jhunjhuwala
6b75b67fb2 updating bootstrap to v5 2026-06-08 16:47:55 -07:00
mDuo13
0d09bbead9 Update Redocly to Realm v0.133.1 2026-05-29 13:52:27 -07:00
mDuo13
19aad7809b Bump Redocly to Realm v0.132.1 and update xmldom to resolve security alerts 2026-04-28 13:23:42 -07:00
mDuo13
a063951f9e Bump Redocly to Realm 0.132.0 2026-04-17 15:57:51 -07:00
Amarantha Kulkarni
57fde744fd Update package.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-02 13:04:44 -07:00
amarantha-k
91b68bae6a Deduped and updated to use recent version of @codemirror/state 2026-04-02 12:25:05 -07:00
mDuo13
839da237b6 Bump Redocly to Realm 0.131.2 & fix one more PluginInstance type 2026-03-24 11:12:30 -07:00
mDuo13
00e636c562 Bump Redocly to Realm 0.131.1 2026-03-24 10:43:20 -07:00
mDuo13
26c966fa51 Bump Redocly to Realm 0.131.0 2026-03-18 11:12:41 -07:00
mDuo13
295fbc8a4e Update package description 2026-03-11 14:02:27 -07:00
mDuo13
a407e74417 Upgrade Redocly to Realm v0.130.4 2026-02-23 12:47:16 +00:00
mDuo13
21d049dd4b Upgrade Redocly & remove unused htmltojsx 2026-02-23 12:47:16 +00:00
dependabot[bot]
9e40756dd1 Bump hono and @redocly/realm
Bumps [hono](https://github.com/honojs/hono) to 4.9.7 and updates ancestor dependency @redocly/realm. These dependencies need to be updated together.


Updates `hono` from 4.6.5 to 4.9.7
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.6.5...v4.9.7)

Updates `@redocly/realm` from 0.122.3 to 0.126.0

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.9.7
  dependency-type: indirect
- dependency-name: "@redocly/realm"
  dependency-version: 0.126.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 19:13:43 +00:00
Daryna Pastushenko
81354414db chore: migrate to react-hot-toast 2025-07-02 12:32:52 +03:00
mDuo13
03dfb1f60e Upgrade dependencies 2025-06-25 14:10:39 -07:00
Vova Rutskyi
8036e2628a chore: update realm to 0.122.1 2025-06-11 17:44:56 +03:00
akcodez
479d8b1e9a feat: add moment-timezone for dynamic countdown in AlertBanner component 2025-06-02 13:32:34 -07:00
akcodez
1a2d544891 rm moment-timezone, use static date instead of countdown 2025-05-30 16:38:34 -07:00
akcodez
5c97efbdac Add moment-timezone dependency and implement countdown timer in AlertBanner component 2025-05-29 09:09:15 -07:00
dependabot[bot]
f00d710f32 Bump esbuild and @redocly/realm
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.0 and updates ancestor dependency @redocly/realm. These dependencies need to be updated together.


Updates `esbuild` from 0.17.15 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.15...v0.25.0)

Updates `@redocly/realm` from 0.120.2 to 0.121.1

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.0
  dependency-type: indirect
- dependency-name: "@redocly/realm"
  dependency-version: 0.121.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-13 17:29:05 +00:00
Dennis Dawson
ec1f33d4e3 Merge branch 'master' into refactor_payment_modular_tuts 2025-05-13 07:31:45 -07:00
Dennis Dawson
c7a11da4fd Fix bad image link 2025-05-07 13:19:35 -07:00
Dennis Dawson
1ae3992c3a Merge branch 'master' into refactor_payment_modular_tuts 2025-05-02 12:50:46 -07:00
Dennis Dawson
b598a607a6 Updates based on feedback 2025-05-02 12:42:24 -07:00
amarantha-k
15d1f096c8 WIP replacing algolis with Redocly's built-in search 2025-04-28 16:06:00 -07:00
Maria Shodunke
04b49a1fcc Fix websocket-api-tool 2025-04-28 14:19:15 +01:00
amarantha-k
a10c6666bb Update xrpl js version to 4.2.5 2025-04-22 12:25:20 -07:00
mDuo13
ebc7a1ac32 Bump Redocly (to Realm v0.120.2) along with deps for security fixes 2025-04-11 10:48:13 -07:00
mDuo13
759c17cf61 Update Redocly to realm v0.119.1, xrpl to 4.2, etc. 2025-04-11 10:38:14 -07:00
mDuo13
b5c817fd0a Remove axios dependency 2025-04-09 15:34:07 -07:00
mDuo13
263155e46f Upgrade Redocly to realm v0.115.0 2025-01-15 00:47:11 -08:00
mDuo13
012aefec29 Restore Algolia DocSearch 2024-12-05 18:11:29 -08:00
oeggert
75d39434cf Merge pull request #2841 from XRPLF/api-v2
API v2 Updates
2024-11-26 10:37:32 -08:00
dependabot[bot]
c945ecd039 Bump smol-toml from 1.3.0 to 1.3.1
Bumps [smol-toml](https://github.com/squirrelchat/smol-toml) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/commits)

---
updated-dependencies:
- dependency-name: smol-toml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 20:43:29 +00:00
oeggert
9459296565 Merge branch 'master' into api-v2 2024-11-19 11:52:26 -08:00
Oliver Eggert
27bcca71a9 update content from v1 to v2 2024-11-04 14:17:30 -08:00
Vova Rutskyi
d42d86ac4f chore: update realm to 0.103.1 2024-11-04 12:01:09 -08:00