tcce-design-system 0.1.8 → 0.1.10
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.
|
@@ -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;
|
|
@@ -10382,7 +10383,7 @@ const _y = k.header`
|
|
|
10382
10383
|
justify-content: space-between;
|
|
10383
10384
|
padding: 0 1rem;
|
|
10384
10385
|
transition: padding-left 0.3s ease-out;
|
|
10385
|
-
|
|
10386
|
+
padding-left: 5rem
|
|
10386
10387
|
`, Hy = k.div`
|
|
10387
10388
|
display: flex;
|
|
10388
10389
|
align-items: center;
|
|
@@ -10541,9 +10542,13 @@ const Yy = k.div`
|
|
|
10541
10542
|
),
|
|
10542
10543
|
/* @__PURE__ */ p(Gy, { className: h, children: t })
|
|
10543
10544
|
] }), v1 = (t) => /* @__PURE__ */ p(J0, { children: /* @__PURE__ */ p(Xy, { ...t }) });
|
|
10544
|
-
function b1(t, e, n
|
|
10545
|
-
|
|
10546
|
-
|
|
10545
|
+
function b1(t, e, n) {
|
|
10546
|
+
let r = `${t}=${encodeURIComponent(e)}; path=/; SameSite=Strict; Secure`;
|
|
10547
|
+
if (n) {
|
|
10548
|
+
const i = new Date(Date.now() + n * 864e5).toUTCString();
|
|
10549
|
+
r += `; expires=${i}`;
|
|
10550
|
+
}
|
|
10551
|
+
document.cookie = r;
|
|
10547
10552
|
}
|
|
10548
10553
|
function x1(t) {
|
|
10549
10554
|
return document.cookie.split("; ").reduce((e, n) => {
|
|
@@ -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;
|
|
@@ -1633,7 +1633,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[En]+=1);const yr={80:P`
|
|
|
1633
1633
|
justify-content: space-between;
|
|
1634
1634
|
padding: 0 1rem;
|
|
1635
1635
|
transition: padding-left 0.3s ease-out;
|
|
1636
|
-
|
|
1636
|
+
padding-left: 5rem
|
|
1637
1637
|
`,ky=T.div`
|
|
1638
1638
|
display: flex;
|
|
1639
1639
|
align-items: center;
|
|
@@ -1703,4 +1703,4 @@ See https://s-c.sh/2BAXzed for more info.`),window[En]+=1);const yr={80:P`
|
|
|
1703
1703
|
@media (min-width: 1200px) {
|
|
1704
1704
|
margin-left: 5rem;
|
|
1705
1705
|
}
|
|
1706
|
-
`,Vy=({children:e,navigationConfig:t,userRoles:n=[],activePath:r,user:o,hasNotifications:s=!1,notificationCount:i,onNavigate:a,onNotificationClick:c,onUserProfileClick:d,onLogout:u,userMenuItems:l=[],contentClassName:h,logoImgCollapsed:m,logoImgExpanded:g})=>p.jsxs(Dy,{children:[p.jsx(Zo,{navigationConfig:t,userRoles:n,onNavigate:a,activePath:r,logoImgCollapsed:m,logoImgExpanded:g}),p.jsx(ni,{user:o,hasNotifications:s,notificationCount:i,onNotificationClick:c,onUserProfileClick:d,onLogout:u,userMenuItems:l}),p.jsx(My,{className:h,children:e})]}),$y=e=>p.jsx(pc,{children:p.jsx(Vy,{...e})});function Iy(e,t,n=
|
|
1706
|
+
`,Vy=({children:e,navigationConfig:t,userRoles:n=[],activePath:r,user:o,hasNotifications:s=!1,notificationCount:i,onNavigate:a,onNotificationClick:c,onUserProfileClick:d,onLogout:u,userMenuItems:l=[],contentClassName:h,logoImgCollapsed:m,logoImgExpanded:g})=>p.jsxs(Dy,{children:[p.jsx(Zo,{navigationConfig:t,userRoles:n,onNavigate:a,activePath:r,logoImgCollapsed:m,logoImgExpanded:g}),p.jsx(ni,{user:o,hasNotifications:s,notificationCount:i,onNotificationClick:c,onUserProfileClick:d,onLogout:u,userMenuItems:l}),p.jsx(My,{className:h,children:e})]}),$y=e=>p.jsx(pc,{children:p.jsx(Vy,{...e})});function Iy(e,t,n){let r=`${e}=${encodeURIComponent(t)}; path=/; SameSite=Strict; Secure`;if(n){const o=new Date(Date.now()+n*864e5).toUTCString();r+=`; expires=${o}`}document.cookie=r}function Ny(e){return document.cookie.split("; ").reduce((t,n)=>{const r=n.split("=");return r[0]===e?decodeURIComponent(r[1]):t},"")}function Ly(e){document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`}E.ALLOWED_INPUT_TYPES=Gl,E.BaseInput=jo,E.Button=Bo,E.ButtonSpinner=Wl,E.Card=yg,E.CardBody=xg,E.CardFooter=Tg,E.CardHeader=bg,E.Checkbox=qn,E.CheckboxInput=_o,E.CheckboxLabel=nc,E.Dialog=dc,E.DialogBody=hc,E.DialogFooter=fc,E.DialogHeader=uc,E.ErrorMessage=Fo,E.FormField=V0,E.FullScreenSpinner=Mm,E.Header=ni,E.HeadingBold=An,E.HeadingRegular=Hd,E.Icon=Y,E.IconWrapperStyles=an,E.Label=Gn,E.Layout=$y,E.Link=yc,E.PasswordInput=Ql,E.PinInput=Ho,E.PinInputGroup=Uo,E.RadioInput=Yo,E.RadioInputDot=Wo,E.RadioInputLabel=Ko,E.SearchInput=tc,E.SectionSpinner=$m,E.SelectInput=Ro,E.Sidebar=Zo,E.SidebarContext=Xo,E.SidebarProvider=pc,E.Spinner=Kn,E.Table=Cc,E.TableCell=ti,E.TableHeaderCell=ei,E.TermsAndConditions=j0,E.Text=We,E.TextAreaInput=zo,E.ToastProvider=ug,E.baseContentTableStyles=Jo,E.baseFieldStyles=ut,E.baseInputStyles=Xn,E.baseTableCellsSizes=ft,E.bodyTextStyles=z,E.createFieldConfig=Mg,E.createInputRefs=sc,E.deleteCookie=Ly,E.disabledStyles=Ze,E.errorStyles=ht,E.flushedStyles=ql,E.getCookie=Ny,E.getPropsForInputType=Vg,E.handleDigitChange=rc,E.handleKeyDown=oc,E.handlePaste=ic,E.hasPermission=qo,E.headingBoldStyles=yr,E.headingRegularStyles=Xi,E.isAllowedInputType=Xl,E.normalizeFieldTypes=qe,E.normalizeSelectOptions=Dg,E.overlayAnimation=Go,E.setCookie=Iy,E.sizeStyles=sn,E.slideAnimation=$0,E.smartAnimation=lc,E.submenuAnimationTopDown=cc,E.tableHoverMixin=bc,E.tableIconContainerStyles=Qo,E.tableResponsiveMixin=wc,E.tableVariants=vc,E.toast=Qm,E.validateCode=S0,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})}));
|
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.10",
|
|
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",
|