@nadicodeai/ui 12.1.180 → 12.1.181
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-mark.d.ts","sourceRoot":"","sources":["../../src/components/platform-mark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAWhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"platform-mark.d.ts","sourceRoot":"","sources":["../../src/components/platform-mark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAWhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAyC/B;;;;GAIG;AACH,QAAA,MAAM,SAAS;;;;;;;;;;;;CAYwB,CAAC;AAExC,KAAK,YAAY,GAAG,MAAM,OAAO,SAAS,CAAC;AAE3C,qFAAqF;AACrF,iBAAS,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,YAAY,CAEtD;AAOD,KAAK,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,GAAG;IACtE,QAAQ,EAAE,YAAY,CAAC;IACvB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,IAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,qBAgBzE;AAED,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AACpC,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -13,43 +13,40 @@ import whatsapp from "@iconify-icons/logos/whatsapp-icon";
|
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
/**
|
|
15
15
|
* Alveare, nadicode's own chat, which no catalogue carries: the mark of its app
|
|
16
|
-
* icon (`apps/alveare/brand/icons/app-icon.svg`, its `mark` group),
|
|
17
|
-
*
|
|
18
|
-
* and boxed to
|
|
19
|
-
*
|
|
16
|
+
* icon (`apps/alveare/brand/icons/app-icon.svg`, its `mark` group), six
|
|
17
|
+
* honeycomb cells stacked one, two, three, without the icon's tile and shadow,
|
|
18
|
+
* in the group's own units and boxed to the cells. Each cell keeps its identity
|
|
19
|
+
* colour, row by row from the top.
|
|
20
20
|
*/
|
|
21
|
-
const
|
|
21
|
+
const CELLS = [
|
|
22
|
+
["M100 25.39L124.35 39.44L124.35 67.56L100 81.61L75.65 67.56L75.65 39.44Z", "--nc-dark-logo-dot"],
|
|
22
23
|
[
|
|
23
|
-
"
|
|
24
|
-
"--nc-dark-logo-dot",
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"M-1.5 150V100A51.5 51.5 0 0 1 94.6 74.25L118.586 115.25A30.5 30.5 0 0 0 175.5 100V50",
|
|
24
|
+
"M73.15 71.89L97.5 85.94L97.5 114.06L73.15 128.11L48.81 114.06L48.81 85.94Z",
|
|
28
25
|
"--nc-identity-arancio",
|
|
29
26
|
],
|
|
30
27
|
[
|
|
31
|
-
"
|
|
28
|
+
"M126.85 71.89L151.19 85.94L151.19 114.06L126.85 128.11L102.5 114.06L102.5 85.94Z",
|
|
32
29
|
"--nc-identity-verde",
|
|
33
30
|
],
|
|
34
31
|
[
|
|
35
|
-
"
|
|
32
|
+
"M46.31 118.39L70.65 132.44L70.65 160.56L46.31 174.61L21.96 160.56L21.96 132.44Z",
|
|
36
33
|
"--nc-identity-rosso",
|
|
37
34
|
],
|
|
38
35
|
[
|
|
39
|
-
"
|
|
36
|
+
"M100 118.39L124.35 132.44L124.35 160.56L100 174.61L75.65 160.56L75.65 132.44Z",
|
|
40
37
|
"--nc-identity-giallo",
|
|
41
38
|
],
|
|
42
39
|
[
|
|
43
|
-
"
|
|
40
|
+
"M153.69 118.39L178.04 132.44L178.04 160.56L153.69 174.61L129.35 160.56L129.35 132.44Z",
|
|
44
41
|
"--nc-identity-azzurro",
|
|
45
42
|
],
|
|
46
43
|
];
|
|
47
44
|
const alveare = {
|
|
48
|
-
left:
|
|
49
|
-
top:
|
|
50
|
-
width:
|
|
51
|
-
height:
|
|
52
|
-
body:
|
|
45
|
+
left: 21.96,
|
|
46
|
+
top: 25.39,
|
|
47
|
+
width: 156.08,
|
|
48
|
+
height: 149.22,
|
|
49
|
+
body: CELLS.map(([path, colour]) => `<path d="${path}" style="fill:var(${colour})"/>`).join(""),
|
|
53
50
|
};
|
|
54
51
|
/**
|
|
55
52
|
* The platforms the products name, operating systems, messaging channels and
|
|
@@ -75,7 +72,7 @@ function isPlatform(name) {
|
|
|
75
72
|
}
|
|
76
73
|
/** A mark that declares no paint of its own is one silhouette, so it takes the text colour. */
|
|
77
74
|
function silhouette(icon) {
|
|
78
|
-
return !/\b(?:fill|stroke|stop-color)
|
|
75
|
+
return !/\b(?:fill|stroke|stop-color)[=:]/.test(icon.body);
|
|
79
76
|
}
|
|
80
77
|
/**
|
|
81
78
|
* A platform's genuine mark: an operating system, a messaging channel or a sign-in provider.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.181",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#jsx": "./src/jsx/index.ts",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@base-ui/react": "^1.9.0",
|
|
73
73
|
"@iconify-icons/logos": "^2.0.3",
|
|
74
74
|
"@iconify/react": "^6.0.2",
|
|
75
|
-
"@nadicodeai/design-system": "12.1.
|
|
75
|
+
"@nadicodeai/design-system": "12.1.181",
|
|
76
76
|
"@tanstack/react-table": "^9.3.1",
|
|
77
77
|
"@vgpu/wgsl": "0.6.0",
|
|
78
78
|
"class-variance-authority": "^0.7.1",
|