tcce-design-system 0.1.9 → 0.1.11
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.
|
@@ -775,7 +775,7 @@ export declare interface RadioSpecificProps {
|
|
|
775
775
|
|
|
776
776
|
export declare const SearchInput: default_2.FC<SearchInputProps>;
|
|
777
777
|
|
|
778
|
-
export declare interface SearchInputProps extends
|
|
778
|
+
export declare interface SearchInputProps extends BaseInputProps {
|
|
779
779
|
size?: FormFieldSize;
|
|
780
780
|
placeholder?: string;
|
|
781
781
|
onSearch?: (value: string) => void;
|
|
@@ -8131,12 +8131,13 @@ const f0 = k.div`
|
|
|
8131
8131
|
iconColor: i = "currentColor",
|
|
8132
8132
|
placeholder: s = "Buscar...",
|
|
8133
8133
|
onSearch: o,
|
|
8134
|
-
className: a
|
|
8134
|
+
className: a,
|
|
8135
|
+
...c
|
|
8135
8136
|
}) => /* @__PURE__ */ $(f0, { $size: t, className: a, children: [
|
|
8136
8137
|
e && /* @__PURE__ */ p(G, { component: e, size: r, color: i }),
|
|
8137
|
-
/* @__PURE__ */ p(m0, { placeholder: s, onChange: (
|
|
8138
|
-
o?.(
|
|
8139
|
-
} }),
|
|
8138
|
+
/* @__PURE__ */ p(m0, { placeholder: s, onChange: (d) => {
|
|
8139
|
+
o?.(d.target.value);
|
|
8140
|
+
}, ...c }),
|
|
8140
8141
|
n ? /* @__PURE__ */ p(G, { component: n, size: r, color: i }) : /* @__PURE__ */ p(G, { component: Hs, size: r, color: i })
|
|
8141
8142
|
] }), g0 = k.div`
|
|
8142
8143
|
position: relative;
|
|
@@ -755,7 +755,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[En]+=1);const yr={80:P`
|
|
|
755
755
|
${({$size:e})=>sn[e??"md"]}
|
|
756
756
|
`,d0=T.input`
|
|
757
757
|
${Xn}
|
|
758
|
-
`,tc=({size:e="md",leftIcon:t,rightIcon:n=Jl,iconSize:r="sm",iconColor:o="currentColor",placeholder:s="Buscar...",onSearch:i,className:a})=>{const
|
|
758
|
+
`,tc=({size:e="md",leftIcon:t,rightIcon:n=Jl,iconSize:r="sm",iconColor:o="currentColor",placeholder:s="Buscar...",onSearch:i,className:a,...c})=>{const d=u=>{i?.(u.target.value)};return p.jsxs(c0,{$size:e,className:a,children:[t&&p.jsx(Y,{component:t,size:r,color:o}),p.jsx(d0,{placeholder:s,onChange:d,...c}),n?p.jsx(Y,{component:n,size:r,color:o}):p.jsx(Y,{component:Jl,size:r,color:o})]})},u0=T.div`
|
|
759
759
|
position: relative;
|
|
760
760
|
`,h0=T.input`
|
|
761
761
|
position: absolute;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.11",
|
|
7
7
|
"description": "This package provides reusable UI components to ensure consistency across all CRM frontend applications",
|
|
8
8
|
"author": "BizAppsTotal <bizapps@tcce.biz>",
|
|
9
9
|
"type": "module",
|