Commit Graph

63 Commits

Author SHA1 Message Date
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
akcodez
ad3941b59b Refactor TextCard component structure and styles
- Removed unnecessary wrapper elements for header and footer in TextCard, simplifying the markup.
- Updated class names in SCSS for better clarity and consistency.
- Enhanced CardsTwoColumnProps documentation to specify that description and secondaryDescription can be either string or ReactNode.
- Cleaned up CSS by removing redundant vendor prefixes for better maintainability.
2026-06-08 16:54:55 -07:00
akcodez
96341902f2 Update TextCard and CardsTwoColumn documentation to reflect new features 2026-06-08 16:54:55 -07:00
akcodez
91cdc22aad Enhance TextCard component and update CardsTwoColumn pattern
- Introduced the TextCard component with 6 color variants and interactive states, including hover and pressed effects.
- Updated CardsTwoColumn pattern to utilize the new TextCard component, showcasing all 6 color variants in a responsive layout.
- Improved documentation for both TextCard and CardsTwoColumn, detailing usage, props, and responsive behavior.
- Refactored styles to ensure consistency and maintainability across components.
2026-06-08 16:54:55 -07:00
akcodez
8888c9558b rm dead code 2026-06-08 16:54:55 -07:00
akcodez
29356aea8f Add CardsTwoColumn pattern styles and integrate into XRPL styles
- Introduced new styles for the CardsTwoColumn pattern, including responsive layouts and various card designs.
- Updated the xrpl.scss file to import the new CardsTwoColumn styles, ensuring they are included in the overall styling framework.
2026-06-08 16:54:55 -07:00
gabriel-ortiz
deb5ad7144 Add FeaturedVideoHero pattern component with showcase and styles
- Introduced the FeaturedVideoHero component featuring a responsive layout with a headline, optional subtitle, call-to-action buttons, and a video element.
- Added associated SCSS styles for the component to ensure proper spacing and theming.
- Created a showcase page to demonstrate the usage of the FeaturedVideoHero pattern.
- Updated types to include design constraints for buttons and video elements.
- Implemented validation for required props to enhance development experience.
2026-06-08 16:54:41 -07:00
akcodez
63b1f18012 Refactor CarouselCardList component to improve code clarity and maintainability
- Introduced a constant for the BEM class name to enhance readability.
- Updated buttonVariant prop type to derive from ButtonProps for consistency.
- Replaced hardcoded class name with the new constant in the component's render method.
2026-06-08 16:54:40 -07:00
gabriel-ortiz
ad29470d9a Update padding for CTA buttons in HeaderHeroPrimaryMedia component
- Added !important to padding for hover and focus states of tertiary buttons to ensure consistent styling across interactions.
2026-06-08 16:54:40 -07:00
Calvin Jhunjhuwala
2a619da9df code clean up, ready for additional review 2026-06-08 16:54:36 -07:00
Calvin Jhunjhuwala
79a85ed349 cleaning up duplicate, cleaning up button group, useMemo for rectangle grid 2026-06-08 16:54:03 -07:00
gabriel-ortiz
8660860d28 Fix typo in DesignContrainedButtonProps to DesignConstrainedButtonProps across multiple components and utility files for consistency. 2026-06-08 16:53:22 -07:00
gabriel-ortiz
ce77be21a4 Update error handling and clean up imports in StandardCardGroupSection and helpers
- Changed console warning to error for better visibility when no cards are provided in StandardCardGroupSection.
- Simplified imports in helpers by removing unused React types to enhance code clarity.
2026-06-08 16:53:22 -07:00
gabriel-ortiz
6a5f9e0db3 Add StandardCardGroupSection pattern component and related styles
- Introduced the StandardCardGroupSection component, which displays a headline, description, and a responsive grid of StandardCard components.
- Implemented SCSS styles for the StandardCardGroupSection, ensuring consistent spacing and dark mode support.
- Added utility functions for key generation and environment checks to enhance component functionality.
- Created a README file detailing usage, props, and best practices for the StandardCardGroupSection.
- Included new StandardCard component with customizable variants and button handling.
2026-06-08 16:53:22 -07:00
gabriel-ortiz
7704ef466d Refactor HeaderHeroPrimaryMedia styles and component structure
- Updated SCSS styles for improved layout and responsiveness, including adjustments to padding and margin for various breakpoints.
- Enhanced the HeaderHeroPrimaryMedia component by refining the media rendering logic and updating prop types for better type safety.
- Changed subtitle class from 'label-l' to 'body-l' for consistent styling.
- Ensured proper handling of empty values in the isEmpty utility function.
2026-06-08 16:53:09 -07:00
gabriel-ortiz
6fd5bd9b30 Add HeaderHeroPrimaryMedia component and styles
- Introduced HeaderHeroPrimaryMedia component for a responsive hero section featuring a headline, subtitle, call-to-action buttons, and media elements (images, videos, or custom React components).
- Implemented associated SCSS styles to ensure proper layout and design constraints, including aspect ratios and object-fit properties.
- Added README documentation detailing usage, props, and best practices for the component.
- Included validation for required props with console warnings for missing fields.
2026-06-08 16:53:09 -07:00
Calvin Jhunjhuwala
f5ded8eb20 fixing size on tablet for text 2026-06-08 16:52:45 -07:00
Calvin Jhunjhuwala
9f5ad3abe6 logo square grid ready for review 2026-06-08 16:52:45 -07:00
akcodez
16f606a34c Add CarouselCardList pattern component and showcase
- Introduced the CarouselCardList component for a horizontal scrolling card carousel with navigation buttons.
- Implemented responsive design for mobile, tablet, and desktop views.
- Added SCSS styles for light and dark mode support.
- Created a dedicated showcase page demonstrating the CarouselCardList features and usage examples.
- Included comprehensive documentation for props and variants.
2026-06-08 16:52:32 -07:00
Calvin Jhunjhuwala
e37dd720cd cleaning up code, consolidating and attaching the CardStat to the grid, less css 2026-06-08 16:52:19 -07:00
akcodez
86b354a77e update 2026-06-08 16:52:14 -07:00
akcodez
a985622ccb Refactor FeatureTwoColumn styles and improve button key handling
- Centralized background color variants for light and dark modes using a map structure in SCSS.
- Updated the button rendering logic to use a unique key based on link properties, enhancing performance and preventing potential key collisions.
- Improved code readability and maintainability by reducing redundancy in background color definitions.
2026-06-08 16:52:14 -07:00
akcodez
233b90979a design QA and changes with Design team 2026-06-08 16:52:14 -07:00
akcodez
cd346330a4 fix tablet 2026-06-08 16:52:14 -07:00
akcodez
f57c981ea6 Add FeatureTwoColumn pattern and button enhancements
- Introduced the FeatureTwoColumn pattern for showcasing features in a two-column layout, supporting multiple color themes and responsive design.
- Implemented button behavior based on the number of links, with configurations for 1 to 5 links.
- Added `forceColor` prop to Button component to maintain button color across light and dark themes, particularly useful for colored backgrounds.
- Updated styles and documentation for both the FeatureTwoColumn pattern and Button component to reflect new features and usage guidelines.
2026-06-08 16:52:14 -07:00
akcodez
0896845fff Refactor CardStat component buttons and add CardStats styles
- Simplified button rendering in CardStat component by consolidating href and onClick handling.
- Introduced new styles for CardStats, including responsive design for various screen sizes and dark mode support.
- Updated SCSS imports to include CardStats styles.
2026-06-08 16:52:03 -07:00
akcodez
71910a0eac add markdoc 2026-06-08 16:52:03 -07:00
akcodez
3b982073f7 53 ---> 52 2026-06-08 16:52:03 -07:00
akcodez
da6650231e changes with design review 2026-06-08 16:52:03 -07:00
akcodez
fd6ce77da8 Add CardsFeatured pattern component and styles
- Introduced the CardsFeatured component to showcase a grid of card images with headings and descriptions.
- Implemented responsive design for mobile, tablet, and desktop views.
- Added SCSS styles for light and dark mode support.
- Created a dedicated page for the CardsFeatured pattern showcase, including design specifications and examples.
2026-06-08 16:52:03 -07:00