rbro-tat-uds 1.4.14 → 1.4.15
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.
@@ -8,7 +8,7 @@ export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElemen
|
|
8
8
|
value: string | number;
|
9
9
|
setValue: (newValue: string | number) => void;
|
10
10
|
size?: "medium" | "large";
|
11
|
-
intent?: "default" | "danger" | "success";
|
11
|
+
intent?: "default" | "default_white" | "danger" | "success";
|
12
12
|
loading?: boolean;
|
13
13
|
clearButton?: boolean;
|
14
14
|
leftText?: string;
|
package/dist/index.cjs.js
CHANGED
@@ -709,7 +709,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[i2]+=1);const x5=e=>l.createE
|
|
709
709
|
line-height: 120%;
|
710
710
|
text-align: ${e=>e.$align&&["center","left","right"].includes(e.$align)&&e.$align};
|
711
711
|
}
|
712
|
-
`,_e=({text:e="Text",label:n="
|
712
|
+
`,_e=({text:e="Text",label:n="",gap:o=2,align:i="left",labelFontSize:a=12,textFontSize:s=14,textFontWeight:d=500,labelColor:h="gray_700",textColor:C="gray_950",...x})=>r.jsxs(Dt,{$text:e,$label:n,$gap:o,$align:i,$labelFontSize:a,$textFontSize:s,$textFontWeight:d,$labelColor:h,$textColor:C,...x,children:[n&&typeof n=="string"&&r.jsx("span",{children:n}),typeof e=="string"&&r.jsx("span",{children:e})]}),Zt=L.div`
|
713
713
|
border-radius: 16px;
|
714
714
|
background-color: ${t.gray_60};
|
715
715
|
height: 48px;
|
@@ -1238,7 +1238,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[i2]+=1);const x5=e=>l.createE
|
|
1238
1238
|
padding: 0px 14px 0px 16px;
|
1239
1239
|
`},r7=L.div`
|
1240
1240
|
width: 100%;
|
1241
|
-
background-color: ${e=>e.$disabled?t.gray_30:t.gray_100};
|
1241
|
+
background-color: ${e=>e.$disabled?t.gray_30:e.$intent==="default_white"?t.white:t.gray_100};
|
1242
1242
|
border-radius: 8px;
|
1243
1243
|
outline: none;
|
1244
1244
|
box-sizing: border-box;
|