File tree Expand file tree Collapse file tree 5 files changed +16
-3
lines changed
Expand file tree Collapse file tree 5 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 2626 "@docusaurus/remark-plugin-npm2yarn" : " ^3.7.0" ,
2727 "@docusaurus/theme-live-codeblock" : " ^3.7.0" ,
2828 "@mdx-js/react" : " ^3.1.0" ,
29- "@stellar/design-system" : " ^3.1.1 " ,
29+ "@stellar/design-system" : " ^3.1.2 " ,
3030 "clsx" : " ^2.1.1" ,
3131 "prism-react-renderer" : " ^2.4.1" ,
3232 "react" : " ^18.3.1" ,
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ export const buttonPreview: ComponentPreview = {
5050 value : "lg" ,
5151 label : "LG" ,
5252 } ,
53+ {
54+ value : "xl" ,
55+ label : "XL" ,
56+ } ,
5357 ] ,
5458 } ,
5559 {
Original file line number Diff line number Diff line change 11{
22 "name" : " @stellar/design-system" ,
3- "version" : " 3.1.1 " ,
3+ "version" : " 3.1.2 " ,
44 "author" : " Stellar Development Foundation <hello@stellar.org>" ,
55 "description" : " Components for Stellar Development Foundation’s design system" ,
66 "license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface ButtonProps {
1717 | "error"
1818 | "success" ;
1919 /** Size of the button */
20- size : "sm" | "md" | "lg" ;
20+ size : "sm" | "md" | "lg" | "xl" ;
2121 /** Label of the button */
2222 children ?: string | React . ReactNode ;
2323 /** Icon element */
Original file line number Diff line number Diff line change 313313 --Button-border-radius : #{pxToRem (8px )} ;
314314 }
315315
316+ & --xl {
317+ --Button-height : #{pxToRem (48px )} ;
318+ --Button-font-size : #{pxToRem (16px )} ;
319+ --Button-line-height : #{pxToRem (24px )} ;
320+ --Button-padding-vertical : #{pxToRem (12px )} ;
321+ --Button-padding-horizontal : #{pxToRem (16px )} ;
322+ --Button-border-radius : #{pxToRem (8px )} ;
323+ }
324+
316325 // Custom
317326 & --full-width {
318327 width : 100% ;
You can’t perform that action at this time.
0 commit comments