@nadicodeai/ui 12.1.180 → 12.1.182
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;
|
|
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;AAYhF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/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"}
|
|
@@ -10,46 +10,25 @@ import windows from "@iconify-icons/logos/microsoft-windows-icon";
|
|
|
10
10
|
import slack from "@iconify-icons/logos/slack-icon";
|
|
11
11
|
import telegram from "@iconify-icons/logos/telegram";
|
|
12
12
|
import whatsapp from "@iconify-icons/logos/whatsapp-icon";
|
|
13
|
+
import { alveareMarkGeometry } from "@nadicodeai/design-system/assets/alveare-geometry";
|
|
13
14
|
import * as React from "react";
|
|
14
15
|
/**
|
|
15
|
-
* Alveare, nadicode's own chat, which no catalogue carries:
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* and boxed to its strokes. Each stripe keeps its identity colour, from the
|
|
19
|
-
* arch's outside in.
|
|
16
|
+
* Alveare, nadicode's own chat, which no catalogue carries: its mark, drawn from
|
|
17
|
+
* Alveare's geometry without the app icon's tile, boxed to the cells, each cell
|
|
18
|
+
* in its own token's colour.
|
|
20
19
|
*/
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
"M-8.5 150V100A58.5 58.5 0 0 1 100.662 70.75L124.648 111.75A23.5 23.5 0 0 0 168.5 100V50",
|
|
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",
|
|
28
|
-
"--nc-identity-arancio",
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"M5.5 150V100A44.5 44.5 0 0 1 88.538 77.75L112.524 118.75A37.5 37.5 0 0 0 182.5 100V50",
|
|
32
|
-
"--nc-identity-verde",
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"M12.5 150V100A37.5 37.5 0 0 1 82.476 81.25L106.462 122.25A44.5 44.5 0 0 0 189.5 100V50",
|
|
36
|
-
"--nc-identity-rosso",
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
"M19.5 150V100A30.5 30.5 0 0 1 76.414 84.75L100.4 125.75A51.5 51.5 0 0 0 196.5 100V50",
|
|
40
|
-
"--nc-identity-giallo",
|
|
41
|
-
],
|
|
42
|
-
[
|
|
43
|
-
"M26.5 150V100A23.5 23.5 0 0 1 70.352 88.25L94.338 129.25A58.5 58.5 0 0 0 203.5 100V50",
|
|
44
|
-
"--nc-identity-azzurro",
|
|
45
|
-
],
|
|
46
|
-
];
|
|
20
|
+
const alveareMark = alveareMarkGeometry((token) => `var(--nc-${token})`);
|
|
21
|
+
const [left, top, width, height] = alveareMark.viewBox.split(" ").map(Number);
|
|
47
22
|
const alveare = {
|
|
48
|
-
left
|
|
49
|
-
top
|
|
50
|
-
width
|
|
51
|
-
height
|
|
52
|
-
body:
|
|
23
|
+
left,
|
|
24
|
+
top,
|
|
25
|
+
width,
|
|
26
|
+
height,
|
|
27
|
+
body: alveareMark.nodes
|
|
28
|
+
.map(({ attributes }) => `<path ${Object.entries(attributes)
|
|
29
|
+
.map(([name, value]) => `${name}="${value}"`)
|
|
30
|
+
.join(" ")}/>`)
|
|
31
|
+
.join(""),
|
|
53
32
|
};
|
|
54
33
|
/**
|
|
55
34
|
* The platforms the products name, operating systems, messaging channels and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.182",
|
|
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.182",
|
|
76
76
|
"@tanstack/react-table": "^9.3.1",
|
|
77
77
|
"@vgpu/wgsl": "0.6.0",
|
|
78
78
|
"class-variance-authority": "^0.7.1",
|