92 Commits

Author SHA1 Message Date
Zack Davis
89109dd7fb fix individual link errors 2026-08-28 09:33:37 -07:00
Zack Davis
73a0ff2c32 /community page LinkTextCard inline link purple -> brand 2026-08-25 12:23:27 -07:00
Zack Davis
e862ba6cf4 fix button border issue and updat
e button-using component readmes for new
propset
2026-08-24 21:24:09 -07:00
Zack Davis
c6f1c438dc minor fixes 2026-08-24 17:41:17 -07:00
Zack Davis
5346b44782 Fix 2 TS errors 2026-08-24 17:10:22 -07:00
Zack Davis
f6a0b8b2be switch in links on /, /docs, /develop 2026-08-24 15:29:05 -07:00
Zack Davis
abff40b977 Merge xrpl-brand-update-2026 into button-updates
Brings the merged Link component work (PR #3868) plus panelstack and
carousel fixes onto the new Button system.

Conflict resolutions:
- about/{index,history,impact}.page.tsx: keep both branches' imports;
  /about CTAs use the new Button; Link component retained for the
  inline validators links and FAQ markup.
- StandardCard: link color moves to $black/$lilac-500. Required, not
  cosmetic: the branch's $bds-btn-neutral-black no longer exists after
  the Button token system was replaced by $bds-btn-palette.
- Compiled CSS regenerated via npm run build-css rather than resolved
  by hand.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 13:00:09 -07:00
Amarantha Kulkarni
2b9a5ba8dd Merge pull request #3868 from sanctuarycomputer/link-component-design-update
Link component design update
2026-08-24 12:50:28 -07:00
Alexander Mahan
af1d0c317b fix carousel link hover and focus in dark mode 2026-08-24 12:45:48 -07:00
Zack Davis
1ca4615468 handle Button:hover label turning purple in darkmode on homepage 2026-08-21 22:12:00 -07:00
Zack Davis
219bb4c2ad use new buttons for resources/dev-tools, about/history, about/impact. Make iconEnd optional 2026-08-21 22:02:19 -07:00
Zack Davis
a14d2f3b37 new Button component replacing old across redesigned pages 2026-08-21 15:33:44 -07:00
Alexander Mahan
2c0b4f5065 fix a few lingering contrast issues 2026-08-21 14:45:26 -07:00
Alexander Mahan
87748e96e0 fix merge conflicts in compiled css 2026-08-21 13:19:11 -07:00
Alexander Mahan
7f9899c492 Updated Link component and styles 2026-08-21 12:32:11 -07:00
amarantha-k
0142811ec9 Update panel stack to have one heading for the section and remove obsolete slide heading 2026-08-19 16:38:49 -07:00
Alexander Mahan
0cdf1603eb remove vertical spacing under header on mobile/tablet 2026-08-19 12:49:11 -07:00
Alexander Mahan
2d60c3d4a2 add new PanelStack component to replace CarouselFeatured component 2026-08-19 11:59:52 -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
Calvin Jhunjhuwala
aa84728342 QA and code clean up 2026-06-09 14:48:22 -07:00
Calvin
67523334de [feat] page composition (#3640)
* updating docs landing page, took far but not complete. Pushing for Gabe take over

* Refactor home page sections and introduce new components

- Replaced existing content in index.page.tsx with new section components for improved structure and maintainability.
- Added new sections: HomeBeginJourneySection, HomeBlockchainStatsSection, HomeComplianceDirectorySection, HomeDevelopersFeatureSection, HomeFutureFinanceCallout, HomeHeroCallout, HomeInstitutionsFeatureSection, HomePartnerLogosSection, HomeStayConnectedSection, and HomeCarousel.
- Updated styles for CarouselFeatured and CardStat components to enhance visual consistency and responsiveness.
- Introduced SCSS for HomeHero section to manage layout and spacing effectively.

* Add Payments Page and Sections

- Created a new Payments page with multiple sections including Hero, Why Choose, Advanced Features, Stablecoins, Embedded Payments, Partner Logos, Flexible Integration, Developer Spotlight, and Stay Connected.
- Each section is designed to highlight various aspects of the XRP Ledger Payments Infrastructure, featuring components like FeaturedVideoHero and CardsIconGrid.
- Added corresponding styles and images to enhance the visual presentation of the new sections.

* adding icons, updating docs landing page

* updating the claude command, wrapping text with translate wrapper

* use case tokenization page built

* Enhance CarouselFeatured styles for improved responsiveness

- Added flex-direction adjustments for CarouselFeatured component to support column-reverse layout on smaller screens and row layout on medium and larger screens.
- Removed redundant vendor prefixes from box-sizing and text-decoration properties in devportal2024-v1.css for cleaner code and improved maintainability.

* moving payments page to correct folder, moving payments under pages

* adding developers home page

* code clean up

---------

Co-authored-by: gabriel-ortiz <gabriel.ortiz.github@gmail.com>
Co-authored-by: gabriel-ortiz <gortiz@ripple.com>
2026-06-08 16:59:08 -07:00
Calvin
97bbc4ce1e Qa/grids and text directory (#3605)
* qa fixes for 3 sections

* removing unnecessary class
2026-06-08 16:58:45 -07:00
gabriel-ortiz
e28ce3f2b3 Update ButtonGroup styles and props for improved spacing options
- Adjusted the gap for the small variant from 8px to 4px.
- Introduced a new medium gap variant with responsive settings (16px on mobile/tablet, 24px on desktop).
- Updated ButtonGroupProps interface to include the new medium gap option.
- Modified HeaderHeroPrimaryMedia to utilize the new medium gap setting for button groups.
2026-06-08 16:58:45 -07:00
gabriel-ortiz
91d60c4ce6 Enhance CarouselFeatured styles for improved layout and spacing
- Added responsive gap settings for grid rows in CarouselFeatured.
- Standardized margin and padding for the CarouselFeatured component.
- Updated SCSS and CSS files to reflect these changes for better visual consistency.
2026-06-08 16:58:40 -07:00
Calvin
ae41798583 tilelink working, fixed all QA items (#3559) 2026-06-08 16:58:39 -07:00
Calvin
abe345f5c8 QA/CardIcon (#3558)
* fixing light + dark mode for card icon

* fix pressed on dark mode for gray
2026-06-08 16:58:39 -07:00
Calvin
176fb3cbc7 Component Library Refactor & New Components (#3510)
* adding showcase page

* adding CardStatsList

* clean up, tighter code

* code review and code clean up

* update import, clean up env for error message

* tweak some css code

* less css, rebuilt

* re-adding bem, modifier for bds variants
2026-06-08 16:58:22 -07:00
Calvin
fe1aa0ecb1 Add CardsIconGrid and CardsTextGrid Section Patterns (#3505)
* CardsIconGrid and CardsTextGrid + showcase pages

* cleaning up code

* more code clean up

* using the spacing tokens for values
2026-06-08 16:57:29 -07:00
akcodez
8e17a5333f stashing work 2026-06-08 16:57:24 -07:00
Calvin
f2dd437aed [feat] Add LinkTextCard and LinkTextDirectory Components (#3501)
* adding linktextcard + linktextdirectory

* adding dark mode

* code review clean up

* code review comments
2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
fc78531926 updating comments in scss file 2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
2707b2f719 removing import for break points 2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
d0367c5f8f tweaks to pattern and section 2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
503b97a535 cleaning up key 2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
0e488106ac adding TileLinks pattern, adding LinkSmallGrid 2026-06-08 16:57:16 -07:00
Calvin Jhunjhuwala
8dfa6149b5 fix button utils, remove separate file, enhance within main BUttonGroup file 2026-06-08 16:57:02 -07:00
Calvin Jhunjhuwala
39f94116d0 adding button group utils for validation, cleaning up styling for FeatureSingleTopic 2026-06-08 16:56:48 -07:00
Calvin Jhunjhuwala
37aa6ed2e6 fix back to html.light, will consolidate later 2026-06-08 16:56:09 -07:00
Calvin Jhunjhuwala
fafd859290 stylesheet clean up 2026-06-08 16:56:09 -07:00
Calvin Jhunjhuwala
b1142242fd cleaning up the files, removing dead css, leveraging the grid more 2026-06-08 16:56:09 -07:00
akcodez
f5da23ebbf Refactor CarouselCardList and CarouselFeatured to streamline button rendering logic using a map function for navigation buttons, enhancing code maintainability and consistency across components. 2026-06-08 16:56:03 -07:00
akcodez
ef9dbdfef7 Refactor CarouselFeatured to use ButtonGroup for button management, simplifying button rendering logic and improving code maintainability. 2026-06-08 16:56:03 -07:00
akcodez
4a9f0d48be Add CarouselButton component and integrate into CarouselCardList and CarouselFeatured showcases
- Introduced CarouselButton component for navigation with multiple color variants (neutral, green, black).
- Enhanced CarouselCardListShowcase to include a visual showcase of CarouselButton in various states.
- Created CarouselFeatured component showcasing featured images with navigation and responsive behavior.
- Updated styles for CarouselButton and integrated it into existing patterns for improved navigation experience.
2026-06-08 16:56:03 -07:00
akcodez
4ba8a7058b Enhance FeatureSingleTopic component with button variant support and responsive behavior updates
- Updated the FeatureSingleTopic component to allow configurable button variants (primary or secondary) based on the `singleButtonVariant` prop.
- Improved mobile and tablet responsiveness by ensuring content always appears above the image, regardless of orientation.
- Refined button rendering logic for better clarity in the README and component documentation.
- Adjusted SCSS styles for improved spacing and alignment across different screen sizes.
2026-06-08 16:55:44 -07:00
akcodez
7b075f8690 Add FeatureSingleTopic pattern component with associated styles
- Introduced the FeatureSingleTopic component, enhancing layout flexibility with responsive design.
- Added SCSS styles for various screen sizes, including media queries for improved spacing and alignment.
- Implemented dark mode styles for better accessibility and visual consistency.
2026-06-08 16:55:44 -07:00
Calvin Jhunjhuwala
9adb3009b8 fixing button and button groups for feature 2 column 2026-06-08 16:55:31 -07:00
Calvin Jhunjhuwala
4d7fb3a185 fixing spacing and alignments 2026-06-08 16:55:31 -07:00
Calvin Jhunjhuwala
e317cc079d updating to add more warnings/dev feedback 2026-06-08 16:54:59 -07:00
Calvin Jhunjhuwala
e2254a802a minor add for maxnumber 2026-06-08 16:54:56 -07:00
Calvin Jhunjhuwala
79a2a4e92b working button group, updated examples 2026-06-08 16:54:56 -07:00