@texturehq/edges 0.0.14 → 0.0.18
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/README.md +71 -57
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +343 -264
- package/dist/index.d.ts +343 -264
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +639 -413
- package/dist/theme.css +88 -3
- package/package.json +9 -3
package/dist/theme.css
CHANGED
|
@@ -8,7 +8,61 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@
|
|
11
|
+
@keyframes slide-in-from-right {
|
|
12
|
+
from {
|
|
13
|
+
transform: translateX(100%);
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
transform: translateX(0);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@keyframes slide-in-from-left {
|
|
21
|
+
from {
|
|
22
|
+
transform: translateX(-100%);
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
transform: translateX(0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes slide-out-to-right {
|
|
30
|
+
from {
|
|
31
|
+
transform: translateX(0);
|
|
32
|
+
}
|
|
33
|
+
to {
|
|
34
|
+
transform: translateX(100%);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@keyframes slide-out-to-left {
|
|
39
|
+
from {
|
|
40
|
+
transform: translateX(0);
|
|
41
|
+
}
|
|
42
|
+
to {
|
|
43
|
+
transform: translateX(-100%);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes fade-in {
|
|
48
|
+
from {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
}
|
|
51
|
+
to {
|
|
52
|
+
opacity: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@keyframes fade-out {
|
|
57
|
+
from {
|
|
58
|
+
opacity: 1;
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
61
|
+
opacity: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@theme inline {
|
|
12
66
|
/* Base Font Families */
|
|
13
67
|
--font-sans: "Inter", system-ui, sans-serif;
|
|
14
68
|
--font-brand: "TT Firs Neue", "Helvetica Neue", "Arial", system-ui, sans-serif;
|
|
@@ -280,8 +334,8 @@
|
|
|
280
334
|
--color-stone-900: var(--stone-900);
|
|
281
335
|
--color-stone-950: var(--stone-950);
|
|
282
336
|
|
|
283
|
-
--color-black: var(--black);
|
|
284
|
-
--color-white: var(--white);
|
|
337
|
+
--color-black: var(--color-neutral-black);
|
|
338
|
+
--color-white: var(--color-neutral-white);
|
|
285
339
|
|
|
286
340
|
--spacing: 0.25rem;
|
|
287
341
|
|
|
@@ -407,6 +461,12 @@
|
|
|
407
461
|
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
408
462
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
409
463
|
--animate-bounce: bounce 1s infinite;
|
|
464
|
+
--animate-slide-in-from-right: slide-in-from-right 0.3s ease-out;
|
|
465
|
+
--animate-slide-in-from-left: slide-in-from-left 0.3s ease-out;
|
|
466
|
+
--animate-slide-out-to-right: slide-out-to-right 0.3s ease-in;
|
|
467
|
+
--animate-slide-out-to-left: slide-out-to-left 0.3s ease-in;
|
|
468
|
+
--animate-fade-in: fade-in 0.2s ease-out;
|
|
469
|
+
--animate-fade-out: fade-out 0.15s ease-in;
|
|
410
470
|
|
|
411
471
|
@keyframes spin {
|
|
412
472
|
to {
|
|
@@ -1015,3 +1075,28 @@
|
|
|
1015
1075
|
--skeleton-highlight: #374151;
|
|
1016
1076
|
--skeleton-wave: rgba(255, 255, 255, 0.1);
|
|
1017
1077
|
}
|
|
1078
|
+
|
|
1079
|
+
/* Define the slide animation utilities */
|
|
1080
|
+
.slide-in-from-right {
|
|
1081
|
+
animation: slide-in-from-right 0.3s ease-out;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.slide-in-from-left {
|
|
1085
|
+
animation: slide-in-from-left 0.3s ease-out;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
.slide-out-to-right {
|
|
1089
|
+
animation: slide-out-to-right 0.15s ease-in;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.slide-out-to-left {
|
|
1093
|
+
animation: slide-out-to-left 0.15s ease-in;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
.fade-in {
|
|
1097
|
+
animation: fade-in 0.2s ease-out;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
.fade-out {
|
|
1101
|
+
animation: fade-out 0.15s ease-in;
|
|
1102
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texturehq/edges",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"author": "Nicholas Brown <nick@texturehq.com>",
|
|
5
5
|
"description": "A shared component library for Texture",
|
|
6
6
|
"type": "module",
|
|
@@ -18,12 +18,17 @@
|
|
|
18
18
|
"default": "./dist/index.js"
|
|
19
19
|
},
|
|
20
20
|
"./styles.css": "./dist/styles.css",
|
|
21
|
-
"./
|
|
21
|
+
"./dist/styles.css": "./dist/styles.css",
|
|
22
|
+
"./theme.css": "./dist/theme.css",
|
|
23
|
+
"./dist/theme.css": "./dist/theme.css"
|
|
22
24
|
},
|
|
23
25
|
"scripts": {
|
|
24
26
|
"dev": "yarn watch",
|
|
25
27
|
"watch": "tsup --watch",
|
|
26
28
|
"build": "tsup",
|
|
29
|
+
"build:yalc": "tsup && npx yalc publish --sig && npx yalc push",
|
|
30
|
+
"dev:yalc": "tsup && npx yalc publish --sig && npx yalc push && echo 'Package updated! Run in target project: yarn install && yarn dev'",
|
|
31
|
+
"dev:yalc:force": "tsup && npx yalc publish --sig && npx yalc push && echo 'Package updated! Run in target project: rm -rf .vite && yarn cache clean && yarn dev --force'",
|
|
27
32
|
"clean": "rm -rf dist",
|
|
28
33
|
"lint": "eslint --ext .ts,.tsx src/",
|
|
29
34
|
"lint:quiet": "eslint --ext .ts,.tsx src/ --quiet",
|
|
@@ -84,6 +89,7 @@
|
|
|
84
89
|
"typescript": "~5.4.2",
|
|
85
90
|
"vite": "^5.1.6",
|
|
86
91
|
"vite-plugin-svgr": "^4.3.0",
|
|
87
|
-
"vitest": "^3.1.1"
|
|
92
|
+
"vitest": "^3.1.1",
|
|
93
|
+
"yalc": "^1.0.0-pre.53"
|
|
88
94
|
}
|
|
89
95
|
}
|