@n3rdw1z4rd/core 0.17.2 → 0.18.0
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/index.d.mts +493 -497
- package/dist/index.d.ts +493 -497
- package/dist/index.js +2222 -2030
- package/dist/index.mjs +2207 -2166
- package/package.json +4 -4
- package/dist/css/index.ts +0 -1
- package/dist/index.css +0 -104
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n3rdw1z4rd/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "core library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"simplex-noise": "^4.0.3",
|
|
50
|
-
"three": "^0.
|
|
50
|
+
"three": "^0.186.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@types/three": "^0.
|
|
53
|
+
"@types/three": "^0.186.0",
|
|
54
54
|
"shx": "^0.4.0",
|
|
55
55
|
"tsup": "^8.5.1",
|
|
56
|
-
"typescript": "^
|
|
56
|
+
"typescript": "^6.0.3"
|
|
57
57
|
},
|
|
58
58
|
"allowScripts": {
|
|
59
59
|
"esbuild@0.27.7": true,
|
package/dist/css/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './main.css';
|
package/dist/index.css
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/* src/css/reset.css */
|
|
2
|
-
*,
|
|
3
|
-
*::before,
|
|
4
|
-
*::after {
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
}
|
|
7
|
-
html {
|
|
8
|
-
-moz-text-size-adjust: none;
|
|
9
|
-
-webkit-text-size-adjust: none;
|
|
10
|
-
text-size-adjust: none;
|
|
11
|
-
}
|
|
12
|
-
body,
|
|
13
|
-
h1,
|
|
14
|
-
h2,
|
|
15
|
-
h3,
|
|
16
|
-
h4,
|
|
17
|
-
p,
|
|
18
|
-
figure,
|
|
19
|
-
blockquote,
|
|
20
|
-
dl,
|
|
21
|
-
dd {
|
|
22
|
-
margin-block-end: 0;
|
|
23
|
-
}
|
|
24
|
-
ul[role=list],
|
|
25
|
-
ol[role=list] {
|
|
26
|
-
list-style: none;
|
|
27
|
-
}
|
|
28
|
-
body {
|
|
29
|
-
min-height: 100vh;
|
|
30
|
-
line-height: 1.5;
|
|
31
|
-
}
|
|
32
|
-
h1,
|
|
33
|
-
h2,
|
|
34
|
-
h3,
|
|
35
|
-
h4,
|
|
36
|
-
button,
|
|
37
|
-
input,
|
|
38
|
-
label {
|
|
39
|
-
line-height: 1.1;
|
|
40
|
-
}
|
|
41
|
-
h1,
|
|
42
|
-
h2,
|
|
43
|
-
h3,
|
|
44
|
-
h4 {
|
|
45
|
-
text-wrap: balance;
|
|
46
|
-
}
|
|
47
|
-
a:not([class]) {
|
|
48
|
-
text-decoration-skip-ink: auto;
|
|
49
|
-
color: currentColor;
|
|
50
|
-
}
|
|
51
|
-
img,
|
|
52
|
-
picture {
|
|
53
|
-
max-width: 100%;
|
|
54
|
-
display: block;
|
|
55
|
-
}
|
|
56
|
-
input,
|
|
57
|
-
button,
|
|
58
|
-
textarea,
|
|
59
|
-
select {
|
|
60
|
-
font-family: inherit;
|
|
61
|
-
font-size: inherit;
|
|
62
|
-
}
|
|
63
|
-
textarea:not([rows]) {
|
|
64
|
-
min-height: 10em;
|
|
65
|
-
}
|
|
66
|
-
:target {
|
|
67
|
-
scroll-margin-block: 5ex;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* src/css/main.css */
|
|
71
|
-
:root {
|
|
72
|
-
--color-foreground: lightgray;
|
|
73
|
-
--color-background: #111;
|
|
74
|
-
--color-border: #444;
|
|
75
|
-
--border-width: 1px;
|
|
76
|
-
--border-radius: 4px;
|
|
77
|
-
--padding-small: 4px;
|
|
78
|
-
--padding-medium: 8px;
|
|
79
|
-
--padding-large: 16px;
|
|
80
|
-
--margin-small: 4px;
|
|
81
|
-
--margin-medium: 8px;
|
|
82
|
-
--margin-large: 16px;
|
|
83
|
-
--border-style: var(--border-width) dashed var(--color-border);
|
|
84
|
-
--background-opacity-light: rgba(0, 0, 0, 0.1);
|
|
85
|
-
--background-opacity-medium: rgba(0, 0, 0, 0.5);
|
|
86
|
-
--background-opacity-dark: rgba(0, 0, 0, 0.8);
|
|
87
|
-
}
|
|
88
|
-
* {
|
|
89
|
-
font: 14px monospace;
|
|
90
|
-
}
|
|
91
|
-
html {
|
|
92
|
-
color: var(--color-foreground);
|
|
93
|
-
background-color: var(--color-background);
|
|
94
|
-
width: 100%;
|
|
95
|
-
height: 100%;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
}
|
|
98
|
-
body,
|
|
99
|
-
#root {
|
|
100
|
-
width: 100%;
|
|
101
|
-
height: 100%;
|
|
102
|
-
margin: 0;
|
|
103
|
-
padding: 0;
|
|
104
|
-
}
|