rbro-tat-uds 1.5.25 → 1.5.26

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.
@@ -5,7 +5,7 @@ export interface ShortcutCardProps extends HTMLAttributes<HTMLDivElement> {
5
5
  title?: string;
6
6
  titleFontSize?: 16 | 20;
7
7
  titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
8
- text?: string;
8
+ text?: string | React.ReactNode;
9
9
  textFontSize?: 14 | 16;
10
10
  textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
11
11
  icon?: IconsListProp;
package/dist/index.cjs.js CHANGED
@@ -782,7 +782,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[a2]+=1);const Mt=e=>l.createE
782
782
  }
783
783
 
784
784
  ${({$text:e,$disabled:n})=>e&&p`
785
- & > span:nth-child(2) {
785
+ & > .a1b2c3d {
786
786
  font-weight: ${({$textFontWeight:o})=>o&&z0.includes(o)?o:400};
787
787
  font-size: ${({$textFontSize:o})=>o&&[14,16].includes(o)?o+"px":"16px"};
788
788
  line-height: 120%;
@@ -790,7 +790,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[a2]+=1);const Mt=e=>l.createE
790
790
  }
791
791
  `}
792
792
  }
793
- `,r7=({filled:e=!1,title:n="Title",titleFontSize:o=20,titleFontWeight:i=700,text:a="Text",textFontSize:s=16,textFontWeight:d=400,icon:c,buttonVariant:u="secondaryOutlined",buttonIntent:g="accent",buttonLabel:x="Button",buttonGrow:C=!1,disabled:f=!1,buttonOnClick:v,..._})=>r.jsxs(t7,{$filled:e,$title:n,$titleFontSize:o,$titleFontWeight:i,$text:a,$textFontSize:s,$textFontWeight:d,$icon:c,$disabled:f,..._,children:[r.jsxs("div",{children:[r.jsxs("div",{children:[r.jsx("span",{children:n}),c&&r.jsx(B,{style:{marginTop:"2px"},icon:c,color:t.gray_500,size:20})]}),typeof a=="string"&&a&&r.jsx("span",{children:a})]}),r.jsx("div",{children:r.jsx(F1,{width:C?"100%":"auto",onClick:v,label:x,disabled:f,intent:g,variant:u})})]}),n7={small:p`
793
+ `,r7=({filled:e=!1,title:n="Title",titleFontSize:o=20,titleFontWeight:i=700,text:a="Text",textFontSize:s=16,textFontWeight:d=400,icon:c,buttonVariant:u="secondaryOutlined",buttonIntent:g="accent",buttonLabel:x="Button",buttonGrow:C=!1,disabled:f=!1,buttonOnClick:v,..._})=>r.jsxs(t7,{$filled:e,$title:n,$titleFontSize:o,$titleFontWeight:i,$text:a,$textFontSize:s,$textFontWeight:d,$icon:c,$disabled:f,..._,children:[r.jsxs("div",{children:[r.jsxs("div",{children:[r.jsx("span",{children:n}),c&&r.jsx(B,{style:{marginTop:"2px"},icon:c,color:t.gray_500,size:20})]}),a&&r.jsx("div",{className:"a1b2c3d",children:typeof a=="string"?r.jsx("span",{children:a}):a})]}),r.jsx("div",{children:r.jsx(F1,{width:C?"100%":"auto",onClick:v,label:x,disabled:f,intent:g,variant:u})})]}),n7={small:p`
794
794
  height: 32px;
795
795
  width: 32px;
796
796
  border-radius: 8px;