prometeo-design-system 4.3.6 → 4.4.1

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.
package/dist/Toast.es.js CHANGED
@@ -1,31 +1,31 @@
1
- import { j as t } from "./jsx-runtime-GkKLlHH4.js";
2
- import { c as p } from "./cn-B6yFEsav.js";
3
- import P, { useRef as C, useEffect as E } from "react";
4
- import { toast as w } from "sonner";
1
+ import { j as r } from "./jsx-runtime-GkKLlHH4.js";
2
+ import { c as g } from "./cn-B6yFEsav.js";
3
+ import I, { useRef as j, useEffect as E } from "react";
4
+ import { toast as y } from "sonner";
5
5
  import { Info as k } from "./Icons/Info.es.js";
6
- import { Error as N } from "./Icons/Error.es.js";
7
- import { Cancel as T } from "./Icons/Cancel.es.js";
8
- import { CheckCircle as M } from "./Icons/CheckCircle.es.js";
9
- import I from "./Button.es.js";
10
- import { Close as R } from "./Icons/Close.es.js";
11
- const y = {
6
+ import { Error as T } from "./Icons/Error.es.js";
7
+ import { Cancel as M } from "./Icons/Cancel.es.js";
8
+ import { CheckCircle as P } from "./Icons/CheckCircle.es.js";
9
+ import R from "./Button.es.js";
10
+ import { Close as L } from "./Icons/Close.es.js";
11
+ const v = {
12
12
  dark: {
13
13
  success: {
14
14
  container: "border-b-[2px] border-success-default-default",
15
15
  iconClass: "text-success-medium-default",
16
- icon: M,
16
+ icon: P,
17
17
  loading: "bg-success-default-default"
18
18
  },
19
19
  error: {
20
20
  container: "border-b-[2px] border-error-default-default",
21
21
  iconClass: "text-error-medium-default",
22
- icon: T,
22
+ icon: M,
23
23
  loading: "bg-error-default-default"
24
24
  },
25
25
  warning: {
26
26
  container: "border-b-[2px] border-warning-default-default",
27
27
  iconClass: "text-warning-medium-default",
28
- icon: N,
28
+ icon: T,
29
29
  loading: "bg-warning-default-default"
30
30
  },
31
31
  info: {
@@ -39,19 +39,19 @@ const y = {
39
39
  success: {
40
40
  container: "",
41
41
  iconClass: "text-success-default-pressed",
42
- icon: M,
42
+ icon: P,
43
43
  loading: "bg-success-default-pressed"
44
44
  },
45
45
  error: {
46
46
  container: "",
47
47
  iconClass: "text-error-medium-pressed",
48
- icon: T,
48
+ icon: M,
49
49
  loading: "bg-error-medium-pressed"
50
50
  },
51
51
  warning: {
52
52
  container: "",
53
53
  iconClass: "text-warning-medium-pressed",
54
- icon: N,
54
+ icon: T,
55
55
  loading: "bg-warning-medium-pressed"
56
56
  },
57
57
  info: {
@@ -61,7 +61,7 @@ const y = {
61
61
  loading: "bg-primary-default-pressed"
62
62
  }
63
63
  }
64
- }, v = {
64
+ }, C = {
65
65
  dark: {
66
66
  container: "bg-neutral-default-default",
67
67
  title: "text-neutral-strong-default",
@@ -74,197 +74,238 @@ const y = {
74
74
  description: "text-neutral-medium-focused",
75
75
  shadow: "0px 0px 2px 0px rgba(0, 0, 0, 0.35),8px 8px 20px 0px rgba(0, 0, 0, 0.3),0px 0px 15px 0px rgba(0, 0, 0, 0.2),0px 0px 20px 0px rgba(21, 21, 21, 0.3) inset,6px 0px 100px 0px rgba(0, 0, 0, 0.05) inset"
76
76
  }
77
- }, j = (d) => {
78
- const { title: n, description: l, button: s, id: c, icon: a, variant: o = "info", colorMode: e = "dark", showClose: m = !1, loading: u = !1, loadingTimeout: g = 2500, finishLoader: f = !1 } = d;
79
- return /* @__PURE__ */ t.jsxs(
77
+ }, N = (x) => {
78
+ const { title: l, description: f, button: o, id: d, icon: n, variant: i = "info", colorMode: t = "dark", showClose: h = !1, loading: m = !1, loadingTimeout: p = 2500, finishLoader: c = !1, customContent: u } = x;
79
+ return /* @__PURE__ */ r.jsxs(
80
80
  "div",
81
81
  {
82
82
  style: {
83
- boxShadow: v[e].shadow
83
+ boxShadow: C[t].shadow
84
84
  },
85
- className: p(
86
- "flex p-3 pb-4 md:w-[485px] md:max-w-[485px] md:min-w-[485px] md:h-[68px] md:max-h-[68px] rounded-lg gap-2",
87
- "w-[345px] max-w-[345px] min-w-[345px] h-[68px] max-h-[68px] relative",
88
- v[e].container,
89
- y[e][o].container,
90
- u && "border-b-0"
85
+ className: g(
86
+ "flex p-3 pb-4 md:w-[485px] md:max-w-[485px] md:min-w-[485px] rounded-lg gap-2",
87
+ "w-[345px] max-w-[345px] min-w-[345px] relative",
88
+ // Altura fija solo cuando no hay customContent
89
+ !u && "md:h-[68px] md:max-h-[68px] h-[68px] max-h-[68px]",
90
+ // Cuando hay customContent, permitir crecimiento pero con mínimo
91
+ u && "md:min-h-[68px] min-h-[68px]",
92
+ C[t].container,
93
+ v[t][i].container,
94
+ m && "border-b-0"
91
95
  ),
92
96
  children: [
93
- /* @__PURE__ */ t.jsxs(
97
+ /* @__PURE__ */ r.jsxs(
94
98
  "div",
95
99
  {
96
- className: "flex items-center justify-start gap-2 max-h-[38px] h-[38px] overflow-hidden flex-1 ",
100
+ className: g(
101
+ "flex items-start gap-2 flex-1",
102
+ // Restricciones de altura solo cuando no hay customContent
103
+ !u && "justify-start items-center max-h-[38px] h-[38px] overflow-hidden",
104
+ // Cuando hay customContent, permitir crecimiento
105
+ u && "justify-start"
106
+ ),
97
107
  children: [
98
- /* @__PURE__ */ t.jsx("div", { className: "f", style: { color: "inherit" }, children: P.createElement(a || y[e][o].icon, { size: 24, className: y[e][o].iconClass }) }),
99
- /* @__PURE__ */ t.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
100
- /* @__PURE__ */ t.jsx("p", { className: p("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", v[e].title), children: n }),
101
- l && /* @__PURE__ */ t.jsx("p", { className: p("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", v[e].description), children: l })
108
+ /* @__PURE__ */ r.jsx("div", { className: "f shrink-0", style: { color: "inherit" }, children: I.createElement(n || v[t][i].icon, { size: 24, className: v[t][i].iconClass }) }),
109
+ u ? /* @__PURE__ */ r.jsx("div", { className: "flex-1 min-w-0", children: u }) : /* @__PURE__ */ r.jsxs("div", { className: "flex-1 flex flex-col gap-1", children: [
110
+ /* @__PURE__ */ r.jsx("p", { className: g("select-none prometeo-fonts-label-medium md:prometeo-fonts-label-xlarge", C[t].title), children: l }),
111
+ f && /* @__PURE__ */ r.jsx("p", { className: g("select-none prometeo-fonts-body-xsmall md:prometeo-fonts-body-small text-nowrap overflow-ellipsis ", C[t].description), children: f })
102
112
  ] })
103
113
  ]
104
114
  }
105
115
  ),
106
- u && /* @__PURE__ */ t.jsx(L, { color: o, timeOut: g, finished: f, colorMode: e }),
107
- s?.label && /* @__PURE__ */ t.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ t.jsx(
108
- I,
116
+ m && /* @__PURE__ */ r.jsx(V, { color: i, timeOut: p, finished: c, colorMode: t }),
117
+ o?.label && /* @__PURE__ */ r.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ r.jsx(
118
+ R,
109
119
  {
110
- label: s?.label,
120
+ label: o?.label,
111
121
  onClick: () => {
112
- s?.onClick(), w.dismiss(c);
122
+ o?.onClick(), y.dismiss(d);
113
123
  },
114
124
  size: "small",
115
125
  color: "secondary"
116
126
  }
117
127
  ) }),
118
- m && /* @__PURE__ */ t.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ t.jsx(
119
- I,
128
+ h && /* @__PURE__ */ r.jsx("div", { className: "shrink-0", children: /* @__PURE__ */ r.jsx(
129
+ R,
120
130
  {
121
131
  onClick: () => {
122
- w.dismiss(c);
132
+ y.dismiss(d);
123
133
  },
124
134
  label: "",
125
135
  size: "small",
126
136
  color: "secondary",
127
- icon: /* @__PURE__ */ t.jsx(R, { className: p(e === "light" ? "text-neutral-medium-focused " : "") }),
137
+ icon: /* @__PURE__ */ r.jsx(L, { className: g(t === "light" ? "text-neutral-medium-focused " : "") }),
128
138
  variant: "text",
129
139
  animate: !1,
130
- className: p(e === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
140
+ className: g(t === "light" ? "hover:bg-neutral-default-hover-light focus:bg-inherit active:bg-neutral-weak-hover " : "")
131
141
  }
132
142
  ) })
133
143
  ]
134
144
  }
135
145
  );
136
- }, L = ({ className: d, color: n, timeOut: l, finished: s, colorMode: c }) => {
137
- const a = C(0), o = C(Date.now()), e = C(null);
146
+ }, V = ({ className: x, color: l, timeOut: f, finished: o, colorMode: d }) => {
147
+ const n = j(0), i = j(Date.now()), t = j(null);
138
148
  E(() => {
139
- if (s) {
140
- a.current = 1, e.current && (e.current.style.width = "100%");
149
+ if (o) {
150
+ n.current = 1, t.current && (t.current.style.width = "100%");
141
151
  return;
142
152
  }
143
- o.current = Date.now(), a.current = 0;
144
- const u = setInterval(() => {
145
- const g = Date.now() - o.current, f = Math.min(g / l, 1), b = f * 0.95, h = Math.sin(f * Math.PI * 2) * 0.15 + 0.05, r = Math.random() < h;
146
- let i;
147
- if (r)
148
- i = a.current;
153
+ i.current = Date.now(), n.current = 0;
154
+ const m = setInterval(() => {
155
+ const p = Date.now() - i.current, c = Math.min(p / f, 1), u = c * 0.95, b = Math.sin(c * Math.PI * 2) * 0.15 + 0.05, w = Math.random() < b;
156
+ let e;
157
+ if (w)
158
+ e = n.current;
149
159
  else {
150
- const x = (Math.random() - 0.5) * 0.25;
151
- i = Math.max(a.current, Math.min(0.95, b + x));
160
+ const a = (Math.random() - 0.5) * 0.25;
161
+ e = Math.max(n.current, Math.min(0.95, u + a));
152
162
  }
153
- a.current = i, e.current && (e.current.style.width = `${i * 100}%`), (f >= 1 || s) && clearInterval(u);
163
+ n.current = e, t.current && (t.current.style.width = `${e * 100}%`), (c >= 1 || o) && clearInterval(m);
154
164
  }, 50);
155
- return () => clearInterval(u);
156
- }, [l, s]);
157
- const m = y[c][n].loading;
158
- return /* @__PURE__ */ t.jsx("div", { className: p(
165
+ return () => clearInterval(m);
166
+ }, [f, o]);
167
+ const h = v[d][l].loading;
168
+ return /* @__PURE__ */ r.jsx("div", { className: g(
159
169
  "absolute bottom-0 translate-y-0 left-0 w-full h-2 overflow-hidden rounded-b-xl",
160
170
  'after:content-[""] after:w-[calc(100%-0px)] after:absolute after:bottom-0 after:left-1/2 after:bg-neutral-default-default after:h-2 after:-translate-x-1/2 after:-translate-y-[2px] after:rounded-b-full after:overflow-hidden',
161
- d
162
- ), children: /* @__PURE__ */ t.jsx(
171
+ x
172
+ ), children: /* @__PURE__ */ r.jsx(
163
173
  "div",
164
174
  {
165
- ref: e,
166
- className: p("h-full transition-all duration-300 ease-out", m),
175
+ ref: t,
176
+ className: g("h-full transition-all duration-300 ease-out", h),
167
177
  style: { width: "0%" }
168
178
  }
169
179
  ) });
170
180
  };
171
- function F(d, n) {
172
- const { duration: l = 2500, showClose: s = !1, colorMode: c = "dark", position: a } = n || {};
173
- return w.custom((o) => /* @__PURE__ */ t.jsx(
174
- j,
181
+ function G(x, l) {
182
+ const { duration: f = 2500, showClose: o = !1, colorMode: d = "dark", position: n } = l || {};
183
+ return y.custom((i) => /* @__PURE__ */ r.jsx(
184
+ N,
175
185
  {
176
- id: o,
177
- variant: n?.variant || "success",
178
- title: d,
179
- description: n?.description,
180
- icon: n?.icon,
181
- button: n?.button,
182
- showClose: s,
183
- colorMode: c
186
+ id: i,
187
+ variant: l?.variant || "success",
188
+ title: x,
189
+ description: l?.description,
190
+ icon: l?.icon,
191
+ button: l?.button,
192
+ showClose: o,
193
+ colorMode: d
184
194
  }
185
195
  ), {
186
- duration: l,
187
- position: a,
196
+ duration: f,
197
+ position: n,
188
198
  unstyled: !0
189
199
  });
190
200
  }
191
- const G = (d, n = {}) => {
201
+ const H = (x, l = {}) => {
192
202
  const {
193
- loading: l,
194
- success: s,
195
- error: c,
196
- colorMode: a = "dark",
197
- position: o,
198
- timeOut: e = 5e3
199
- } = n, m = { title: "Cargando...", variant: "info", ...l }, u = { variant: "success", showClose: !0, ...s }, g = { variant: "error", showClose: !0, ...c };
200
- let f, b = !1;
201
- const h = (r) => {
202
- w.custom((i) => /* @__PURE__ */ t.jsx(
203
- j,
203
+ loading: f,
204
+ success: o,
205
+ error: d,
206
+ colorMode: n = "dark",
207
+ position: i,
208
+ timeOut: t = 5e3
209
+ } = l, h = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || e === void 0 || typeof e == "object" && ("$$typeof" in e || I.isValidElement(e)), m = { title: "Cargando...", variant: "info", ...f }, p = typeof o == "function" ? { variant: "success", showClose: !0 } : { variant: "success", showClose: !0, ...o }, c = typeof d == "function" ? { variant: "error", showClose: !0 } : { variant: "error", showClose: !0, ...d };
210
+ let u, b = !1;
211
+ const w = (e) => {
212
+ y.custom((a) => /* @__PURE__ */ r.jsx(
213
+ N,
204
214
  {
205
- id: i,
206
- ...r,
207
- colorMode: a
215
+ id: a,
216
+ ...e,
217
+ colorMode: n
208
218
  }
209
219
  ), {
210
- id: f,
220
+ id: u,
211
221
  // Usar el mismo id para reemplazar
212
- duration: r.duration || 1 / 0,
213
- position: o,
222
+ duration: e.duration || 1 / 0,
223
+ position: i,
214
224
  unstyled: !0
215
225
  });
216
226
  };
217
- return f = w.custom((r) => /* @__PURE__ */ t.jsx(
218
- j,
227
+ return u = y.custom((e) => /* @__PURE__ */ r.jsx(
228
+ N,
219
229
  {
220
- id: r,
221
- loadingTimeout: e,
230
+ id: e,
231
+ loadingTimeout: t,
222
232
  loading: !0,
223
233
  ...m,
224
- colorMode: a
234
+ colorMode: n
225
235
  }
226
236
  ), {
227
237
  duration: 1 / 0,
228
- position: o,
238
+ position: i,
229
239
  unstyled: !0
230
- }), d.then((r) => {
231
- if (b) return;
232
- b = !0, console.log(r, "-----promise result", typeof r);
233
- const i = u.title || (typeof r == "string" ? r : "Operación completada con éxito!"), x = { ...u, title: i };
234
- return h({
240
+ }), x.then((e) => {
241
+ if (!b)
242
+ return b = !0, w({
243
+ ...m,
244
+ loadingTimeout: t,
245
+ loading: !0,
246
+ finishLoader: !0,
247
+ variant: "info",
248
+ duration: 1e3
249
+ }), setTimeout(() => {
250
+ let a;
251
+ if (typeof o == "function") {
252
+ const s = o(e);
253
+ h(s) ? a = {
254
+ ...p,
255
+ customContent: s,
256
+ duration: p.duration || 2500
257
+ } : a = {
258
+ variant: "success",
259
+ showClose: !0,
260
+ ...s,
261
+ duration: s.duration || 2500
262
+ };
263
+ } else {
264
+ const s = p.title || (typeof e == "string" ? e : "Operación completada con éxito!");
265
+ a = {
266
+ ...p,
267
+ title: s,
268
+ duration: p.duration || 2500
269
+ };
270
+ }
271
+ w(a);
272
+ }, 500), e;
273
+ }).catch((e) => {
274
+ b || (b = !0, w({
235
275
  ...m,
236
- loadingTimeout: e,
276
+ loadingTimeout: t,
237
277
  loading: !0,
238
278
  finishLoader: !0,
239
279
  variant: "info",
240
280
  duration: 1e3
241
281
  }), setTimeout(() => {
242
- h({
243
- ...x,
244
- duration: x.duration || 2500
245
- });
246
- }, 500), r;
247
- }).catch((r) => {
248
- if (b) return;
249
- b = !0;
250
- const i = g.title || (typeof r == "string" ? r : r.message || "Error!"), x = { ...g, title: i };
251
- h({
252
- ...m,
253
- loadingTimeout: e,
254
- loading: !0,
255
- finishLoader: !0,
256
- variant: "info",
257
- duration: 1e3
258
- }), setTimeout(() => {
259
- h({
260
- ...x,
261
- duration: x.duration || 2500
262
- });
263
- }, 500);
264
- }), d;
282
+ let a;
283
+ if (typeof d == "function") {
284
+ const s = d(e);
285
+ h(s) ? a = {
286
+ ...c,
287
+ customContent: s,
288
+ duration: c.duration || 2500
289
+ } : a = {
290
+ variant: "error",
291
+ showClose: !0,
292
+ ...s,
293
+ duration: s.duration || 2500
294
+ };
295
+ } else {
296
+ const s = c.title || (typeof e == "string" ? e : e.message || "Error!");
297
+ a = {
298
+ ...c,
299
+ title: s,
300
+ duration: c.duration || 2500
301
+ };
302
+ }
303
+ w(a);
304
+ }, 500));
305
+ }), x;
265
306
  };
266
307
  export {
267
- j as default,
268
- G as toastPyrionPromise,
269
- F as toastpyrion
308
+ N as default,
309
+ H as toastPyrionPromise,
310
+ G as toastpyrion
270
311
  };
@@ -1,5 +1,5 @@
1
1
  export type InputVariant = "default" | "error" | "success";
2
- export type InputSize = "small" | "medium" | "large";
2
+ export type InputSize = "xsmall" | "small" | "medium" | "large";
3
3
  export type LabelVariant = "default" | "static";
4
4
  export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
5
5
  label: string;
@@ -31,5 +31,5 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
31
31
  onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
32
32
  onClickIcon?: (event: React.MouseEvent) => void;
33
33
  }
34
- declare const _default: import('react').NamedExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
35
- export default _default;
34
+ declare const Input: import('react').NamedExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
35
+ export default Input;
@@ -1,6 +1,6 @@
1
1
  import { ComponentVariant } from './types';
2
- type ChipProps = {
3
- id: string | number;
2
+ export type ChipProps = {
3
+ id?: string | number;
4
4
  label: string;
5
5
  onRemove?: (optionId: string | number) => void;
6
6
  className?: string;
@@ -47,5 +47,6 @@ interface TabLinkItemProps {
47
47
  iconTooltipTitle?: string;
48
48
  iconTooltipProps?: PlainTooltipProps;
49
49
  iconSize?: number;
50
+ layoutId?: string;
50
51
  }
51
- export declare const TabLinkItem: ({ id, title, icon, iconPosition, onClick, disabled, className, isActive, activeClassName, animated, onIconHover, onIconClick, iconTooltipTitle, iconTooltipProps, iconSize, indicatorClassName }: TabLinkItemProps) => import("react/jsx-runtime").JSX.Element;
52
+ export declare const TabLinkItem: ({ id, title, icon, iconPosition, onClick, disabled, className, isActive, activeClassName, onIconHover, onIconClick, iconTooltipTitle, iconTooltipProps, iconSize, indicatorClassName, layoutId }: TabLinkItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { IconComponent } from '../../Icons/types';
2
+ import { ReactNode } from 'react';
2
3
  import { ColorMode } from '../Shared/types';
3
4
  type ToastElementsProps = {
4
5
  container: string;
@@ -34,15 +35,16 @@ export interface PyrionToastProps {
34
35
  loading?: boolean;
35
36
  loadingTimeout?: number;
36
37
  finishLoader?: boolean;
38
+ customContent?: ReactNode;
37
39
  }
38
40
  declare const PyrionToast: (props: PyrionToastProps) => import("react/jsx-runtime").JSX.Element;
39
41
  export default PyrionToast;
40
42
  export declare function toastpyrion(title: string, options?: Omit<PyrionToastProps, 'id'>): string | number;
41
- export declare const toastPyrionPromise: (promise: Promise<any>, options?: {
43
+ export declare const toastPyrionPromise: <TData = any, TError = any>(promise: Promise<TData>, options?: {
42
44
  loading?: Omit<PyrionToastProps, "id">;
43
- success?: Omit<PyrionToastProps, "id">;
44
- error?: Omit<PyrionToastProps, "id">;
45
+ success?: Omit<PyrionToastProps, "id"> | ((data: TData) => Omit<PyrionToastProps, "id"> | ReactNode);
46
+ error?: Omit<PyrionToastProps, "id"> | ((error: TError) => Omit<PyrionToastProps, "id"> | ReactNode);
45
47
  colorMode?: ColorMode;
46
48
  position?: ToastPosition;
47
49
  timeOut?: number;
48
- }) => Promise<any>;
50
+ }) => Promise<TData>;
@@ -0,0 +1,2 @@
1
+ export { default } from '../components/Shared/Chip';
2
+ export type { ChipProps } from '../components/Shared/Chip';
@@ -21,7 +21,7 @@ import { D as ne } from "./DatePicker-QuBgR5DQ.js";
21
21
  import { RecurrentDatePicker as me } from "./RecurrentDatePicker.es.js";
22
22
  import { RecurrentDatePickerRRule as ie } from "./RecurrentDatePickerRRule.es.js";
23
23
  import { Table as ce, TableBody as be, TableCaption as De, TableCell as ve, TableFooter as Te, TableHead as ge, TableHeader as ke, TableRow as he } from "./Table.es.js";
24
- import { T as Ce } from "./TabLinks-DxqprStp.js";
24
+ import { T as Ce } from "./TabLinks-BjGwvqR9.js";
25
25
  import { default as Ee } from "./TextArea.es.js";
26
26
  import { default as Re } from "./Tooltip.es.js";
27
27
  import { default as Se } from "./Skeleton.es.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prometeo-design-system",
3
3
  "private": false,
4
- "version": "4.3.6",
4
+ "version": "4.4.1",
5
5
  "type": "module",
6
6
  "description": "design kit system",
7
7
  "main": "dist/prometeo-design-system.umd.js",
@@ -202,6 +202,10 @@
202
202
  "types": "./dist/UserCard.d.ts",
203
203
  "import": "./dist/UserCard.es.js"
204
204
  },
205
+ "./Chip": {
206
+ "types": "./dist/Chip.d.ts",
207
+ "import": "./dist/Chip.es.js"
208
+ },
205
209
  "./styles": "./dist/styles.css",
206
210
  "./intellisense": "./src/styles/intellisense.css"
207
211
  },
@@ -305,6 +309,9 @@
305
309
  "ajv": "^8.17.1",
306
310
  "ajv-draft-04": {
307
311
  "ajv": "^8.17.1"
312
+ },
313
+ "ajv-formats": {
314
+ "ajv": "^8.17.1"
308
315
  }
309
316
  }
310
317
  }