@vestcards/shared 1.1.0 → 1.3.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/chunk-BK-Lzi7j.cjs +1 -0
- package/dist/date-DS8JYZte.js +103 -0
- package/dist/date-DoLsSDIb.cjs +1 -0
- package/dist/date.cjs +1 -1
- package/dist/date.d.ts +1 -1
- package/dist/date.js +2 -71
- package/dist/fsrs-D2XsH28s.js +23 -0
- package/dist/fsrs-DO2rNRTM.cjs +1 -0
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +14 -14
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +220 -245
- package/dist/spaced-repetition.cjs +1 -1
- package/dist/spaced-repetition.d.ts +33 -0
- package/dist/spaced-repetition.js +1306 -1186
- package/dist/theme-Bt1AkSvq.cjs +1 -0
- package/dist/theme-DfRHdgzh.js +111 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +2 -19
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +37 -32
- package/package.json +6 -6
- package/dist/colors-G1GHbBJq.js +0 -120
- package/dist/colors-c6Q-ORB_.cjs +0 -1
- package/dist/fsrs-DEA3eLGO.cjs +0 -1
- package/dist/fsrs-sJJWxUiC.js +0 -14
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BK-Lzi7j.cjs`);let t=require(`@radix-ui/colors`);t=e.r(t,1);var n=(e,n)=>{let r=n.charAt(0)===`a`&&!Number.isNaN(Number(n.slice(1)))?`${e}A`:e,i=`${e}${n.charAt(0).toUpperCase()+n.slice(1)}`;return t[r]?.[i]??`var(--${e}-${n})`},r=(e,t,r)=>[e,n(t,r)];function i(e){let t=Array.from({length:12},(t,n)=>{let i=n+1;return[r(i.toString(),e,i.toString()),r(`a${i}`,e,`a${i}`)]}).flat();return t.push(r(`DEFAULT`,e,`9`)),t.push(r(`hover`,e,`10`)),t.push(r(`dark`,e,`11`)),t.push(r(`light`,e,`4`)),t.push(r(`lightness`,e,`2`)),Object.fromEntries(t)}var a={transparent:`transparent`,current:`currentColor`,brand:{DEFAULT:`#FF7824`},primary:{...i(`orange`)},secondary:{...i(`blue`)},tertiary:{...i(`amber`)},quaternary:{...i(`crimson`)},quinary:{...i(`jade`)},gray:{...i(`sand`)},success:{...i(`grass`)},warning:{...i(`amber`)},danger:{...i(`red`)},black:{DEFAULT:`#000000`,a1:`rgba(0, 0, 0, 0.05)`,a2:`rgba(0, 0, 0, 0.1)`,a3:`rgba(0, 0, 0, 0.15)`,a4:`rgba(0, 0, 0, 0.2)`,a5:`rgba(0, 0, 0, 0.3)`,a6:`rgba(0, 0, 0, 0.4)`,a7:`rgba(0, 0, 0, 0.5)`,a8:`rgba(0, 0, 0, 0.6)`,a9:`rgba(0, 0, 0, 0.7)`,a10:`rgba(0, 0, 0, 0.8)`,a11:`rgba(0, 0, 0, 0.9)`,a12:`rgba(0, 0, 0, 0.95)`},white:{DEFAULT:`#FFFFFF`,a1:`rgba(255, 255, 255, 0.05)`,a2:`rgba(255, 255, 255, 0.1)`,a3:`rgba(255, 255, 255, 0.15)`,a4:`rgba(255, 255, 255, 0.2)`,a5:`rgba(255, 255, 255, 0.3)`,a6:`rgba(255, 255, 255, 0.4)`,a7:`rgba(255, 255, 255, 0.5)`,a8:`rgba(255, 255, 255, 0.6)`,a9:`rgba(255, 255, 255, 0.7)`,a10:`rgba(255, 255, 255, 0.8)`,a11:`rgba(255, 255, 255, 0.9)`,a12:`rgba(255, 255, 255, 0.95)`},data:{1:`#1d4aff`,2:`#621da6`,3:`#42827e`,4:`#ce0e74`,5:`#f14f58`,6:`#7c440e`,7:`#529a0a`,8:`#0476fb`,9:`#fe729e`,10:`#35416b`,11:`#41cbc4`,12:`#b64b02`,13:`#e4a604`,14:`#a56eff`,15:`#30d5c8`},foreground:n(`sand`,`12`),background:n(`sand`,`2`),ring:n(`blue`,`6`),muted:{DEFAULT:n(`sand`,`3`),foreground:n(`sand`,`10`)},border:n(`sand`,`5`),input:n(`sand`,`4`),accent:n(`blue`,`2`),sidebar:{DEFAULT:n(`sand`,`3`),foreground:n(`sand`,`11`),accent:`white`,"accent-foreground":n(`orange`,`11`),border:n(`sand`,`6`),ring:n(`blue`,`6`)},popover:{DEFAULT:`#FFFFFF`,foreground:n(`sand`,`11`)}},o=e=>{let t=e%Object.keys(a.data).length;return Object.values(a.data)[t]},s={card:`2px`,button:`2px`,input:`2px`},c={card:`16px`,button:`8px`,input:`8px`};Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as e from "@radix-ui/colors";
|
|
2
|
+
//#region src/theme/utils.ts
|
|
3
|
+
var t = (t, n) => {
|
|
4
|
+
let r = n.charAt(0) === "a" && !Number.isNaN(Number(n.slice(1))) ? `${t}A` : t, i = `${t}${n.charAt(0).toUpperCase() + n.slice(1)}`;
|
|
5
|
+
return e[r]?.[i] ?? `var(--${t}-${n})`;
|
|
6
|
+
}, n = (e, n, r) => [e, t(n, r)];
|
|
7
|
+
function r(e) {
|
|
8
|
+
let t = Array.from({ length: 12 }, (t, r) => {
|
|
9
|
+
let i = r + 1;
|
|
10
|
+
return [n(i.toString(), e, i.toString()), n(`a${i}`, e, `a${i}`)];
|
|
11
|
+
}).flat();
|
|
12
|
+
return t.push(n("DEFAULT", e, "9")), t.push(n("hover", e, "10")), t.push(n("dark", e, "11")), t.push(n("light", e, "4")), t.push(n("lightness", e, "2")), Object.fromEntries(t);
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/theme/tokens/colors.ts
|
|
16
|
+
var i = {
|
|
17
|
+
transparent: "transparent",
|
|
18
|
+
current: "currentColor",
|
|
19
|
+
brand: { DEFAULT: "#FF7824" },
|
|
20
|
+
primary: { ...r("orange") },
|
|
21
|
+
secondary: { ...r("blue") },
|
|
22
|
+
tertiary: { ...r("amber") },
|
|
23
|
+
quaternary: { ...r("crimson") },
|
|
24
|
+
quinary: { ...r("jade") },
|
|
25
|
+
gray: { ...r("sand") },
|
|
26
|
+
success: { ...r("grass") },
|
|
27
|
+
warning: { ...r("amber") },
|
|
28
|
+
danger: { ...r("red") },
|
|
29
|
+
black: {
|
|
30
|
+
DEFAULT: "#000000",
|
|
31
|
+
a1: "rgba(0, 0, 0, 0.05)",
|
|
32
|
+
a2: "rgba(0, 0, 0, 0.1)",
|
|
33
|
+
a3: "rgba(0, 0, 0, 0.15)",
|
|
34
|
+
a4: "rgba(0, 0, 0, 0.2)",
|
|
35
|
+
a5: "rgba(0, 0, 0, 0.3)",
|
|
36
|
+
a6: "rgba(0, 0, 0, 0.4)",
|
|
37
|
+
a7: "rgba(0, 0, 0, 0.5)",
|
|
38
|
+
a8: "rgba(0, 0, 0, 0.6)",
|
|
39
|
+
a9: "rgba(0, 0, 0, 0.7)",
|
|
40
|
+
a10: "rgba(0, 0, 0, 0.8)",
|
|
41
|
+
a11: "rgba(0, 0, 0, 0.9)",
|
|
42
|
+
a12: "rgba(0, 0, 0, 0.95)"
|
|
43
|
+
},
|
|
44
|
+
white: {
|
|
45
|
+
DEFAULT: "#FFFFFF",
|
|
46
|
+
a1: "rgba(255, 255, 255, 0.05)",
|
|
47
|
+
a2: "rgba(255, 255, 255, 0.1)",
|
|
48
|
+
a3: "rgba(255, 255, 255, 0.15)",
|
|
49
|
+
a4: "rgba(255, 255, 255, 0.2)",
|
|
50
|
+
a5: "rgba(255, 255, 255, 0.3)",
|
|
51
|
+
a6: "rgba(255, 255, 255, 0.4)",
|
|
52
|
+
a7: "rgba(255, 255, 255, 0.5)",
|
|
53
|
+
a8: "rgba(255, 255, 255, 0.6)",
|
|
54
|
+
a9: "rgba(255, 255, 255, 0.7)",
|
|
55
|
+
a10: "rgba(255, 255, 255, 0.8)",
|
|
56
|
+
a11: "rgba(255, 255, 255, 0.9)",
|
|
57
|
+
a12: "rgba(255, 255, 255, 0.95)"
|
|
58
|
+
},
|
|
59
|
+
data: {
|
|
60
|
+
1: "#1d4aff",
|
|
61
|
+
2: "#621da6",
|
|
62
|
+
3: "#42827e",
|
|
63
|
+
4: "#ce0e74",
|
|
64
|
+
5: "#f14f58",
|
|
65
|
+
6: "#7c440e",
|
|
66
|
+
7: "#529a0a",
|
|
67
|
+
8: "#0476fb",
|
|
68
|
+
9: "#fe729e",
|
|
69
|
+
10: "#35416b",
|
|
70
|
+
11: "#41cbc4",
|
|
71
|
+
12: "#b64b02",
|
|
72
|
+
13: "#e4a604",
|
|
73
|
+
14: "#a56eff",
|
|
74
|
+
15: "#30d5c8"
|
|
75
|
+
},
|
|
76
|
+
foreground: t("sand", "12"),
|
|
77
|
+
background: t("sand", "2"),
|
|
78
|
+
ring: t("blue", "6"),
|
|
79
|
+
muted: {
|
|
80
|
+
DEFAULT: t("sand", "3"),
|
|
81
|
+
foreground: t("sand", "10")
|
|
82
|
+
},
|
|
83
|
+
border: t("sand", "5"),
|
|
84
|
+
input: t("sand", "4"),
|
|
85
|
+
accent: t("blue", "2"),
|
|
86
|
+
sidebar: {
|
|
87
|
+
DEFAULT: t("sand", "3"),
|
|
88
|
+
foreground: t("sand", "11"),
|
|
89
|
+
accent: "white",
|
|
90
|
+
"accent-foreground": t("orange", "11"),
|
|
91
|
+
border: t("sand", "6"),
|
|
92
|
+
ring: t("blue", "6")
|
|
93
|
+
},
|
|
94
|
+
popover: {
|
|
95
|
+
DEFAULT: "#FFFFFF",
|
|
96
|
+
foreground: t("sand", "11")
|
|
97
|
+
}
|
|
98
|
+
}, a = (e) => {
|
|
99
|
+
let t = e % Object.keys(i.data).length;
|
|
100
|
+
return Object.values(i.data)[t];
|
|
101
|
+
}, o = {
|
|
102
|
+
card: "2px",
|
|
103
|
+
button: "2px",
|
|
104
|
+
input: "2px"
|
|
105
|
+
}, s = {
|
|
106
|
+
card: "16px",
|
|
107
|
+
button: "8px",
|
|
108
|
+
input: "8px"
|
|
109
|
+
};
|
|
110
|
+
//#endregion
|
|
111
|
+
export { i, o as n, a as r, s as t };
|
package/dist/theme.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./theme-Bt1AkSvq.cjs`);exports.borderRadius=e.t,exports.borderWidth=e.n,exports.colors=e.i,exports.getDataColor=e.r;
|
package/dist/theme.js
CHANGED
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const a = Object.keys(t.data).length, r = o % a;
|
|
4
|
-
return Object.values(t.data)[r];
|
|
5
|
-
}, p = {
|
|
6
|
-
card: "2px",
|
|
7
|
-
button: "2px",
|
|
8
|
-
input: "2px"
|
|
9
|
-
}, c = {
|
|
10
|
-
card: "16px",
|
|
11
|
-
button: "8px",
|
|
12
|
-
input: "8px"
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
c as borderRadius,
|
|
16
|
-
p as borderWidth,
|
|
17
|
-
t as colors,
|
|
18
|
-
e as getDataColor
|
|
19
|
-
};
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./theme-DfRHdgzh.js";
|
|
2
|
+
export { r as borderRadius, t as borderWidth, e as colors, n as getDataColor };
|
package/dist/utils.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-BK-Lzi7j.cjs`);let e=require(`clsx`),t=require(`tailwind-merge`);var n={"border-w":[`border-card`,`border-button`,`border-input`],"border-r":[`rounded-card`,`rounded-button`,`rounded-input`]};function r(r){let i=(0,t.extendTailwindMerge)({extend:{classGroups:{...n,...r}}});return(...t)=>i((0,e.clsx)(t))}var i=r(),a=[`primary`,`secondary`,`tertiary`,`quaternary`,`quinary`];function o(e){if(!e)return a[0];let t=0;for(let n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);return a[Math.abs(t)%a.length]}var s=e=>e.toLocaleString(`pt-BR`,{style:`currency`,currency:`BRL`});exports.cn=i,exports.createCn=r,exports.hashColor=o,exports.transformMoney=s;
|
package/dist/utils.js
CHANGED
|
@@ -1,36 +1,41 @@
|
|
|
1
|
-
import { clsx as
|
|
2
|
-
import { extendTailwindMerge as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { clsx as e } from "clsx";
|
|
2
|
+
import { extendTailwindMerge as t } from "tailwind-merge";
|
|
3
|
+
//#region src/utils.ts
|
|
4
|
+
var n = {
|
|
5
|
+
"border-w": [
|
|
6
|
+
"border-card",
|
|
7
|
+
"border-button",
|
|
8
|
+
"border-input"
|
|
9
|
+
],
|
|
10
|
+
"border-r": [
|
|
11
|
+
"rounded-card",
|
|
12
|
+
"rounded-button",
|
|
13
|
+
"rounded-input"
|
|
14
|
+
]
|
|
6
15
|
};
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
return (...n) => e(a(n));
|
|
16
|
+
function r(r) {
|
|
17
|
+
let i = t({ extend: { classGroups: {
|
|
18
|
+
...n,
|
|
19
|
+
...r
|
|
20
|
+
} } });
|
|
21
|
+
return (...t) => i(e(t));
|
|
17
22
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
var i = r(), a = [
|
|
24
|
+
"primary",
|
|
25
|
+
"secondary",
|
|
26
|
+
"tertiary",
|
|
27
|
+
"quaternary",
|
|
28
|
+
"quinary"
|
|
29
|
+
];
|
|
30
|
+
function o(e) {
|
|
31
|
+
if (!e) return a[0];
|
|
32
|
+
let t = 0;
|
|
33
|
+
for (let n = 0; n < e.length; n++) t = e.charCodeAt(n) + ((t << 5) - t);
|
|
34
|
+
return a[Math.abs(t) % a.length];
|
|
26
35
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
var s = (e) => e.toLocaleString("pt-BR", {
|
|
37
|
+
style: "currency",
|
|
38
|
+
currency: "BRL"
|
|
30
39
|
});
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
s as createCn,
|
|
34
|
-
h as hashColor,
|
|
35
|
-
p as transformMoney
|
|
36
|
-
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { i as cn, r as createCn, o as hashColor, s as transformMoney };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vestcards/shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
54
|
"date-fns": "^4.1.0",
|
|
55
55
|
"date-fns-tz": "^3.0.0",
|
|
56
|
-
"immer": "^10.
|
|
56
|
+
"immer": "^10.2.0",
|
|
57
57
|
"tailwind-merge": "^2.5.4",
|
|
58
|
-
"ts-fsrs": "^4.
|
|
58
|
+
"ts-fsrs": "^4.7.1"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": ">=18"
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node": "^22.15.14",
|
|
70
70
|
"@types/react": "^18.2.0",
|
|
71
|
-
"@biomejs/biome": "2.
|
|
71
|
+
"@biomejs/biome": "2.4.11",
|
|
72
72
|
"typescript": "^5.2.0",
|
|
73
|
-
"vite": "^
|
|
73
|
+
"vite": "^8.0.8",
|
|
74
74
|
"vite-plugin-dts": "^4.0.0",
|
|
75
|
-
"vitest": "^
|
|
75
|
+
"vitest": "^4.1.4"
|
|
76
76
|
},
|
|
77
77
|
"packageManager": "bun@1.3.6"
|
|
78
78
|
}
|
package/dist/colors-G1GHbBJq.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import * as c from "@radix-ui/colors";
|
|
2
|
-
const a = (r, e) => {
|
|
3
|
-
var o;
|
|
4
|
-
const g = e.charAt(0) === "a" && !Number.isNaN(Number(e.slice(1))) ? `${r}A` : r, s = `${r}${e.charAt(0).toUpperCase() + e.slice(1)}`;
|
|
5
|
-
return ((o = c[g]) == null ? void 0 : o[s]) ?? `var(--${r}-${e})`;
|
|
6
|
-
}, t = (r, e, b) => [r, a(e, b)];
|
|
7
|
-
function n(r) {
|
|
8
|
-
const e = Array.from({ length: 12 }, (b, g) => {
|
|
9
|
-
const s = g + 1;
|
|
10
|
-
return [t(s.toString(), r, s.toString()), t(`a${s}`, r, `a${s}`)];
|
|
11
|
-
}).flat();
|
|
12
|
-
return e.push(t("DEFAULT", r, "9")), e.push(t("hover", r, "10")), e.push(t("dark", r, "11")), e.push(t("light", r, "4")), e.push(t("lightness", r, "2")), Object.fromEntries(e);
|
|
13
|
-
}
|
|
14
|
-
const d = {
|
|
15
|
-
transparent: "transparent",
|
|
16
|
-
current: "currentColor",
|
|
17
|
-
brand: {
|
|
18
|
-
DEFAULT: "#FF7824"
|
|
19
|
-
},
|
|
20
|
-
primary: {
|
|
21
|
-
...n("orange")
|
|
22
|
-
},
|
|
23
|
-
secondary: {
|
|
24
|
-
...n("blue")
|
|
25
|
-
},
|
|
26
|
-
tertiary: {
|
|
27
|
-
...n("amber")
|
|
28
|
-
},
|
|
29
|
-
quaternary: {
|
|
30
|
-
...n("crimson")
|
|
31
|
-
},
|
|
32
|
-
quinary: {
|
|
33
|
-
...n("jade")
|
|
34
|
-
},
|
|
35
|
-
gray: {
|
|
36
|
-
...n("sand")
|
|
37
|
-
},
|
|
38
|
-
success: {
|
|
39
|
-
...n("grass")
|
|
40
|
-
},
|
|
41
|
-
warning: {
|
|
42
|
-
...n("amber")
|
|
43
|
-
},
|
|
44
|
-
danger: {
|
|
45
|
-
...n("red")
|
|
46
|
-
},
|
|
47
|
-
black: {
|
|
48
|
-
DEFAULT: "#000000",
|
|
49
|
-
a1: "rgba(0, 0, 0, 0.05)",
|
|
50
|
-
a2: "rgba(0, 0, 0, 0.1)",
|
|
51
|
-
a3: "rgba(0, 0, 0, 0.15)",
|
|
52
|
-
a4: "rgba(0, 0, 0, 0.2)",
|
|
53
|
-
a5: "rgba(0, 0, 0, 0.3)",
|
|
54
|
-
a6: "rgba(0, 0, 0, 0.4)",
|
|
55
|
-
a7: "rgba(0, 0, 0, 0.5)",
|
|
56
|
-
a8: "rgba(0, 0, 0, 0.6)",
|
|
57
|
-
a9: "rgba(0, 0, 0, 0.7)",
|
|
58
|
-
a10: "rgba(0, 0, 0, 0.8)",
|
|
59
|
-
a11: "rgba(0, 0, 0, 0.9)",
|
|
60
|
-
a12: "rgba(0, 0, 0, 0.95)"
|
|
61
|
-
},
|
|
62
|
-
white: {
|
|
63
|
-
DEFAULT: "#FFFFFF",
|
|
64
|
-
a1: "rgba(255, 255, 255, 0.05)",
|
|
65
|
-
a2: "rgba(255, 255, 255, 0.1)",
|
|
66
|
-
a3: "rgba(255, 255, 255, 0.15)",
|
|
67
|
-
a4: "rgba(255, 255, 255, 0.2)",
|
|
68
|
-
a5: "rgba(255, 255, 255, 0.3)",
|
|
69
|
-
a6: "rgba(255, 255, 255, 0.4)",
|
|
70
|
-
a7: "rgba(255, 255, 255, 0.5)",
|
|
71
|
-
a8: "rgba(255, 255, 255, 0.6)",
|
|
72
|
-
a9: "rgba(255, 255, 255, 0.7)",
|
|
73
|
-
a10: "rgba(255, 255, 255, 0.8)",
|
|
74
|
-
a11: "rgba(255, 255, 255, 0.9)",
|
|
75
|
-
a12: "rgba(255, 255, 255, 0.95)"
|
|
76
|
-
},
|
|
77
|
-
data: {
|
|
78
|
-
1: "#1d4aff",
|
|
79
|
-
2: "#621da6",
|
|
80
|
-
3: "#42827e",
|
|
81
|
-
4: "#ce0e74",
|
|
82
|
-
5: "#f14f58",
|
|
83
|
-
6: "#7c440e",
|
|
84
|
-
7: "#529a0a",
|
|
85
|
-
8: "#0476fb",
|
|
86
|
-
9: "#fe729e",
|
|
87
|
-
10: "#35416b",
|
|
88
|
-
11: "#41cbc4",
|
|
89
|
-
12: "#b64b02",
|
|
90
|
-
13: "#e4a604",
|
|
91
|
-
14: "#a56eff",
|
|
92
|
-
15: "#30d5c8"
|
|
93
|
-
},
|
|
94
|
-
// shadcn colors
|
|
95
|
-
foreground: a("sand", "12"),
|
|
96
|
-
background: a("sand", "2"),
|
|
97
|
-
ring: a("blue", "6"),
|
|
98
|
-
muted: {
|
|
99
|
-
DEFAULT: a("sand", "3"),
|
|
100
|
-
foreground: a("sand", "10")
|
|
101
|
-
},
|
|
102
|
-
border: a("sand", "5"),
|
|
103
|
-
input: a("sand", "4"),
|
|
104
|
-
accent: a("blue", "2"),
|
|
105
|
-
sidebar: {
|
|
106
|
-
DEFAULT: a("sand", "3"),
|
|
107
|
-
foreground: a("sand", "11"),
|
|
108
|
-
accent: "white",
|
|
109
|
-
"accent-foreground": a("orange", "11"),
|
|
110
|
-
border: a("sand", "6"),
|
|
111
|
-
ring: a("blue", "6")
|
|
112
|
-
},
|
|
113
|
-
popover: {
|
|
114
|
-
DEFAULT: "#FFFFFF",
|
|
115
|
-
foreground: a("sand", "11")
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
export {
|
|
119
|
-
d as c
|
|
120
|
-
};
|
package/dist/colors-c6Q-ORB_.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("@radix-ui/colors");function u(a){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const n in a)if(n!=="default"){const b=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(r,n,b.get?b:{enumerable:!0,get:()=>a[n]})}}return r.default=a,Object.freeze(r)}const d=u(c),e=(a,r)=>{var g;const b=r.charAt(0)==="a"&&!Number.isNaN(Number(r.slice(1)))?`${a}A`:a,o=`${a}${r.charAt(0).toUpperCase()+r.slice(1)}`;return((g=d[b])==null?void 0:g[o])??`var(--${a}-${r})`},s=(a,r,n)=>[a,e(r,n)];function t(a){const r=Array.from({length:12},(n,b)=>{const o=b+1;return[s(o.toString(),a,o.toString()),s(`a${o}`,a,`a${o}`)]}).flat();return r.push(s("DEFAULT",a,"9")),r.push(s("hover",a,"10")),r.push(s("dark",a,"11")),r.push(s("light",a,"4")),r.push(s("lightness",a,"2")),Object.fromEntries(r)}const i={transparent:"transparent",current:"currentColor",brand:{DEFAULT:"#FF7824"},primary:{...t("orange")},secondary:{...t("blue")},tertiary:{...t("amber")},quaternary:{...t("crimson")},quinary:{...t("jade")},gray:{...t("sand")},success:{...t("grass")},warning:{...t("amber")},danger:{...t("red")},black:{DEFAULT:"#000000",a1:"rgba(0, 0, 0, 0.05)",a2:"rgba(0, 0, 0, 0.1)",a3:"rgba(0, 0, 0, 0.15)",a4:"rgba(0, 0, 0, 0.2)",a5:"rgba(0, 0, 0, 0.3)",a6:"rgba(0, 0, 0, 0.4)",a7:"rgba(0, 0, 0, 0.5)",a8:"rgba(0, 0, 0, 0.6)",a9:"rgba(0, 0, 0, 0.7)",a10:"rgba(0, 0, 0, 0.8)",a11:"rgba(0, 0, 0, 0.9)",a12:"rgba(0, 0, 0, 0.95)"},white:{DEFAULT:"#FFFFFF",a1:"rgba(255, 255, 255, 0.05)",a2:"rgba(255, 255, 255, 0.1)",a3:"rgba(255, 255, 255, 0.15)",a4:"rgba(255, 255, 255, 0.2)",a5:"rgba(255, 255, 255, 0.3)",a6:"rgba(255, 255, 255, 0.4)",a7:"rgba(255, 255, 255, 0.5)",a8:"rgba(255, 255, 255, 0.6)",a9:"rgba(255, 255, 255, 0.7)",a10:"rgba(255, 255, 255, 0.8)",a11:"rgba(255, 255, 255, 0.9)",a12:"rgba(255, 255, 255, 0.95)"},data:{1:"#1d4aff",2:"#621da6",3:"#42827e",4:"#ce0e74",5:"#f14f58",6:"#7c440e",7:"#529a0a",8:"#0476fb",9:"#fe729e",10:"#35416b",11:"#41cbc4",12:"#b64b02",13:"#e4a604",14:"#a56eff",15:"#30d5c8"},foreground:e("sand","12"),background:e("sand","2"),ring:e("blue","6"),muted:{DEFAULT:e("sand","3"),foreground:e("sand","10")},border:e("sand","5"),input:e("sand","4"),accent:e("blue","2"),sidebar:{DEFAULT:e("sand","3"),foreground:e("sand","11"),accent:"white","accent-foreground":e("orange","11"),border:e("sand","6"),ring:e("blue","6")},popover:{DEFAULT:"#FFFFFF",foreground:e("sand","11")}};exports.colors=i;
|
package/dist/fsrs-DEA3eLGO.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var a=(e=>(e.New="New",e.Learning="Learning",e.Review="Review",e.Relearning="Relearning",e))(a||{});const n=["New","Learning","Review","Relearning"],i={Manual:"Manual",Again:"Again",Hard:"Hard",Good:"Good",Easy:"Easy"},r=["Manual","Again","Hard","Good","Easy"];exports.ReviewRating=i;exports.ReviewState=a;exports.reviewRatings=r;exports.reviewStates=n;
|
package/dist/fsrs-sJJWxUiC.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var n = /* @__PURE__ */ ((a) => (a.New = "New", a.Learning = "Learning", a.Review = "Review", a.Relearning = "Relearning", a))(n || {});
|
|
2
|
-
const e = ["New", "Learning", "Review", "Relearning"], r = {
|
|
3
|
-
Manual: "Manual",
|
|
4
|
-
Again: "Again",
|
|
5
|
-
Hard: "Hard",
|
|
6
|
-
Good: "Good",
|
|
7
|
-
Easy: "Easy"
|
|
8
|
-
}, i = ["Manual", "Again", "Hard", "Good", "Easy"];
|
|
9
|
-
export {
|
|
10
|
-
r as R,
|
|
11
|
-
n as a,
|
|
12
|
-
e as b,
|
|
13
|
-
i as r
|
|
14
|
-
};
|