@egov-moldova/mud-site-kit 1.0.2 → 1.0.4

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/README.md +2 -2
  2. package/assets/m-products/png/evo.png +0 -0
  3. package/assets/m-products/png/fod.png +0 -0
  4. package/assets/m-products/png/k8s.png +0 -0
  5. package/assets/m-products/png/mcloud.png +0 -0
  6. package/assets/m-products/png/mconnect.png +0 -0
  7. package/assets/m-products/png/mdelivery.png +0 -0
  8. package/assets/m-products/png/mdocs.png +0 -0
  9. package/assets/m-products/png/mlearn.png +0 -0
  10. package/assets/m-products/png/mlog.png +0 -0
  11. package/assets/m-products/png/mnotify.png +0 -0
  12. package/assets/m-products/png/mpass.png +0 -0
  13. package/assets/m-products/png/mpay.png +0 -0
  14. package/assets/m-products/png/mpower.png +0 -0
  15. package/assets/m-products/png/msign.png +0 -0
  16. package/assets/m-products/png/verifica.png +0 -0
  17. package/assets/m-products/svg/evo.svg +35 -0
  18. package/assets/m-products/svg/verifica.svg +12 -0
  19. package/mud-site-kit.esm.js +202 -153
  20. package/mud-site-kit.esm.js.map +1 -1
  21. package/mud-site-kit.iife.js +69 -22
  22. package/mud-site-kit.iife.js.map +1 -1
  23. package/package.json +1 -1
  24. package/types/m-products.d.ts +5 -4
  25. package/types/widgets/mproducts-logo/mud-mproducts-logo.d.ts +5 -3
  26. package/types/widgets/footer/footer.test.d.ts +0 -1
  27. package/types/widgets/mproducts-logo/mproducts-logo.test.d.ts +0 -1
  28. /package/assets/m-products/{mcloud.svg → svg/mcloud.svg} +0 -0
  29. /package/assets/m-products/{mconnect.svg → svg/mconnect.svg} +0 -0
  30. /package/assets/m-products/{mdelivery.svg → svg/mdelivery.svg} +0 -0
  31. /package/assets/m-products/{mdocs.svg → svg/mdocs.svg} +0 -0
  32. /package/assets/m-products/{mlearn.svg → svg/mlearn.svg} +0 -0
  33. /package/assets/m-products/{mlog.svg → svg/mlog.svg} +0 -0
  34. /package/assets/m-products/{mnotify.svg → svg/mnotify.svg} +0 -0
  35. /package/assets/m-products/{mpass.svg → svg/mpass.svg} +0 -0
  36. /package/assets/m-products/{mpay.svg → svg/mpay.svg} +0 -0
  37. /package/assets/m-products/{mpower.svg → svg/mpower.svg} +0 -0
  38. /package/assets/m-products/{msign.svg → svg/msign.svg} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egov-moldova/mud-site-kit",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Native custom elements (mud-*) for the AGE platforms, built on the MUD design system (@egov-moldova/mud). Ships as an ES module and a CDN script.",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1,5 +1,6 @@
1
- /** Products of the M family (Shared infrastructure platforms > M Products). */
2
- export declare const mProducts: readonly ["mpass", "msign", "mconnect", "mpay", "mpower", "mnotify", "mdelivery", "mdocs", "mlog", "mlearn", "mcloud"];
1
+ /** Logos of the M family (Shared infrastructure platforms > M Products) of EVO and of Verifică. */
2
+ export declare const mProducts: readonly ["mpass", "msign", "mconnect", "mpay", "mpower", "mnotify", "mdelivery", "mdocs", "mlog", "mlearn", "mcloud", "evo", "verifica"];
3
3
  export type MProduct = (typeof mProducts)[number];
4
- /** Public URL of the logomark (icon only, no name or description) of an M product. `base` overrides where the files are served from. */
5
- export declare function mProductLogoUrl(product: MProduct, base?: string): string;
4
+ export type MProductLogoFormat = 'svg' | 'png';
5
+ /** Public URL of the logomark (icon only, no name or description) of an M product, as `svg` (default) or `png` (40x40). `base` overrides where the files are served from. */
6
+ export declare function mProductLogoUrl(product: MProduct, format?: MProductLogoFormat, base?: string): string;
@@ -1,4 +1,4 @@
1
- /** Inline SVG markup (logomark) of each M product. */
1
+ /** Inline SVG markup (logomark) of each M product, EVO and Verifică. */
2
2
  export declare const mProductLogos: {
3
3
  mpass: string;
4
4
  msign: string;
@@ -11,15 +11,17 @@ export declare const mProductLogos: {
11
11
  mlog: string;
12
12
  mlearn: string;
13
13
  mcloud: string;
14
+ evo: string;
15
+ verifica: string;
14
16
  };
15
17
  export type MProductName = keyof typeof mProductLogos;
16
18
  /**
17
19
  * <mud-mproducts-logo product="mpass" size="48"></mud-mproducts-logo>
18
20
  *
19
- * The logomark of an M product, rendered as inline SVG (no extra request). The logo always fills the tag, so it can be sized with the attributes below or with CSS on the tag (`style="width:64px;height:64px"`, a class, ...).
21
+ * The logomark of an M product (or of EVO / Verifică), rendered as inline SVG (no extra request). The logo always fills the tag, so it can be sized with the attributes below or with CSS on the tag (`style="width:64px;height:64px"`, a class, ...).
20
22
  *
21
23
  * Attributes
22
- * product required. mpass | msign | mconnect | mpay | mpower | mnotify | mdelivery | mdocs | mlog | mlearn | mcloud
24
+ * product required. mpass | msign | mconnect | mpay | mpower | mnotify | mdelivery | mdocs | mlog | mlearn | mcloud | evo | verifica
23
25
  * size optional. Width and height of the logo (it is square): CSS length or number of pixels (default: 40px).
24
26
  * label optional. Accessible name (default: the product name). Use label="" for a purely decorative logo.
25
27
  */
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes
File without changes
File without changes
File without changes