prometeo-design-system 3.1.4 → 3.1.6

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.
Files changed (38) hide show
  1. package/dist/{DatePicker-CehTiXGa.js → DatePicker-6eb-0Ns5.js} +1339 -1237
  2. package/dist/DatePicker.es.js +1 -1
  3. package/dist/Icons/Reassignment.d.ts +6 -0
  4. package/dist/Icons/Reassignment.es.js +22 -0
  5. package/dist/Icons/ReassignmentFill.d.ts +6 -0
  6. package/dist/Icons/ReassignmentFill.es.js +52 -0
  7. package/dist/Icons/Send.d.ts +6 -0
  8. package/dist/Icons/Send.es.js +24 -0
  9. package/dist/Icons/components/Reassignment.d.ts +4 -0
  10. package/dist/Icons/components/ReassignmentFill.d.ts +4 -0
  11. package/dist/Icons/components/Send.d.ts +4 -0
  12. package/dist/Icons/index.d.ts +3 -0
  13. package/dist/Icons/types.d.ts +6 -0
  14. package/dist/Icons.es.js +56 -50
  15. package/dist/NotificationCard.d.ts +6 -0
  16. package/dist/NotificationCard.es.js +50 -0
  17. package/dist/PyrionNavigationDrawer.d.ts +6 -0
  18. package/dist/PyrionNavigationDrawer.es.js +962 -0
  19. package/dist/RecurrentDatePicker.es.js +2 -2
  20. package/dist/RecurrentDatePickerRRule.es.js +1 -1
  21. package/dist/Select.es.js +1059 -2
  22. package/dist/SelectSearch.es.js +67 -66
  23. package/dist/TicketCard.d.ts +6 -0
  24. package/dist/TicketCard.es.js +130 -0
  25. package/dist/badge-B1IK_-i5.js +87 -0
  26. package/dist/components/NotificationCard/index.d.ts +3 -0
  27. package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -0
  28. package/dist/components/TicketCard/index.d.ts +3 -0
  29. package/dist/exports/NotificationCard.d.ts +2 -0
  30. package/dist/exports/PyrionNavigationDrawer.d.ts +2 -0
  31. package/dist/exports/TicketCard.d.ts +2 -0
  32. package/dist/exports/usePyrionNavigation.d.ts +1 -0
  33. package/dist/prometeo-design-system.es.js +287 -365
  34. package/dist/usePyrionNavigation.d.ts +4 -0
  35. package/dist/usePyrionNavigation.es.js +4 -0
  36. package/dist/utils-X4-h3cum.js +54 -0
  37. package/package.json +17 -1
  38. package/dist/Select-BdxmkrjB.js +0 -1111
@@ -0,0 +1,4 @@
1
+ export {}
2
+ import PrometeoDesignSystem from './exports/usePyrionNavigation'
3
+ export default PrometeoDesignSystem
4
+ export {}
@@ -0,0 +1,4 @@
1
+ import { u as f } from "./PyrionNavigationDrawer.es.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,54 @@
1
+ function A(c, f) {
2
+ if (typeof f == "function")
3
+ return f(c);
4
+ const g = f?.split(".");
5
+ let e = c;
6
+ for (const n of g)
7
+ if (e && typeof e == "object" && n in e)
8
+ e = e[n];
9
+ else
10
+ return;
11
+ return e;
12
+ }
13
+ const E = (c, f) => {
14
+ if (!f) return !0;
15
+ const g = 0.1, e = String(c).toLowerCase(), n = String(f).toLowerCase().trim();
16
+ if (e.includes(n)) return !0;
17
+ const h = n.split(/\s+/).filter(Boolean), p = h.filter((t) => /^\d+$/.test(t));
18
+ if (h.length > 1 || p.length > 0) {
19
+ for (const t of p)
20
+ if (!new RegExp(`(^|\\D)${t}(\\D|$)`).test(e)) return !1;
21
+ for (const t of h)
22
+ if (!/^\d+$/.test(t) && !e.includes(t))
23
+ return !1;
24
+ return !0;
25
+ }
26
+ if (n.length > e.length) return !1;
27
+ const R = Math.floor(n.length * g);
28
+ if (R <= 0) return !1;
29
+ const y = (t, l) => {
30
+ const a = t.length, i = l.length;
31
+ if (a === 0) return i;
32
+ if (i === 0) return a;
33
+ const o = new Array(i + 1);
34
+ for (let r = 0; r <= i; r++) o[r] = r;
35
+ for (let r = 1; r <= a; r++) {
36
+ let w = r - 1;
37
+ o[0] = r;
38
+ for (let s = 1; s <= i; s++) {
39
+ const C = o[s], x = t.charCodeAt(r - 1) === l.charCodeAt(s - 1) ? 0 : 1, d = o[s] + 1, m = o[s - 1] + 1, u = w + x;
40
+ o[s] = d < m ? d < u ? d : u : m < u ? m : u, w = C;
41
+ }
42
+ }
43
+ return o[i];
44
+ };
45
+ for (let t = 0; t <= e.length - n.length; t++) {
46
+ const l = e.slice(t, t + n.length);
47
+ if (y(l, n) <= R) return !0;
48
+ }
49
+ return !1;
50
+ };
51
+ export {
52
+ A as g,
53
+ E as h
54
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prometeo-design-system",
3
3
  "private": false,
4
- "version": "3.1.4",
4
+ "version": "3.1.6",
5
5
  "type": "module",
6
6
  "description": "design kit system",
7
7
  "main": "dist/prometeo-design-system.umd.js",
@@ -186,6 +186,22 @@
186
186
  "types": "./dist/Scrollable.d.ts",
187
187
  "import": "./dist/Scrollable.es.js"
188
188
  },
189
+ "./PyrionNavigationDrawer": {
190
+ "types": "./dist/PyrionNavigationDrawer.d.ts",
191
+ "import": "./dist/PyrionNavigationDrawer.es.js"
192
+ },
193
+ "./usePyrionNavigation": {
194
+ "types": "./dist/usePyrionNavigation.d.ts",
195
+ "import": "./dist/usePyrionNavigation.es.js"
196
+ },
197
+ "./NotificationCard": {
198
+ "types": "./dist/NotificationCard.d.ts",
199
+ "import": "./dist/NotificationCard.es.js"
200
+ },
201
+ "./TicketCard": {
202
+ "types": "./dist/TicketCard.d.ts",
203
+ "import": "./dist/TicketCard.es.js"
204
+ },
189
205
  "./styles": "./dist/styles.css",
190
206
  "./intellisense": "./src/styles/intellisense.css"
191
207
  },