evelearn-theme 1.0.4 → 1.0.5
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 +1 -7
- package/dist/index.d.ts +1 -7
- package/dist/index.js +2 -44
- package/dist/index.mjs +2 -40
- package/package.json +1 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
4
4
|
import { Placement } from '@floating-ui/react';
|
|
5
|
-
import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
|
|
6
5
|
|
|
7
6
|
type Props$h = {
|
|
8
7
|
visible: boolean;
|
|
@@ -256,11 +255,6 @@ type Props$4 = {
|
|
|
256
255
|
};
|
|
257
256
|
declare const Fade: ({ children, inProp }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
258
257
|
|
|
259
|
-
declare const openSans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
260
|
-
declare const ubuntu: next_dist_compiled__next_font.NextFontWithVariable;
|
|
261
|
-
declare const parkinsans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
262
|
-
declare const balsamicSans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
263
|
-
|
|
264
258
|
type ProgressBarProps = {
|
|
265
259
|
progress: number;
|
|
266
260
|
height?: number;
|
|
@@ -329,4 +323,4 @@ declare const AnimateLogo: () => react_jsx_runtime.JSX.Element;
|
|
|
329
323
|
|
|
330
324
|
declare const PRIMARY_COLOR = "#00b4d8";
|
|
331
325
|
|
|
332
|
-
export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher,
|
|
326
|
+
export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, tippyClassname, toolbarExerciseButton, xIconButton };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { CSSProperties, ReactNode } from 'react';
|
|
4
4
|
import { Placement } from '@floating-ui/react';
|
|
5
|
-
import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
|
|
6
5
|
|
|
7
6
|
type Props$h = {
|
|
8
7
|
visible: boolean;
|
|
@@ -256,11 +255,6 @@ type Props$4 = {
|
|
|
256
255
|
};
|
|
257
256
|
declare const Fade: ({ children, inProp }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
258
257
|
|
|
259
|
-
declare const openSans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
260
|
-
declare const ubuntu: next_dist_compiled__next_font.NextFontWithVariable;
|
|
261
|
-
declare const parkinsans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
262
|
-
declare const balsamicSans: next_dist_compiled__next_font.NextFontWithVariable;
|
|
263
|
-
|
|
264
258
|
type ProgressBarProps = {
|
|
265
259
|
progress: number;
|
|
266
260
|
height?: number;
|
|
@@ -329,4 +323,4 @@ declare const AnimateLogo: () => react_jsx_runtime.JSX.Element;
|
|
|
329
323
|
|
|
330
324
|
declare const PRIMARY_COLOR = "#00b4d8";
|
|
331
325
|
|
|
332
|
-
export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher,
|
|
326
|
+
export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, tippyClassname, toolbarExerciseButton, xIconButton };
|
package/dist/index.js
CHANGED
|
@@ -91,18 +91,14 @@ __export(index_exports, {
|
|
|
91
91
|
Tippy: () => Tippy_default,
|
|
92
92
|
ToggleSwitch: () => ToggleSwitch_default,
|
|
93
93
|
UserContentSwitcher: () => UserContentSwitcher_default,
|
|
94
|
-
balsamicSans: () => balsamicSans,
|
|
95
94
|
baseFieldStyle: () => baseFieldStyle,
|
|
96
95
|
createExerciseElementStyle: () => createExerciseElementStyle,
|
|
97
96
|
exerciseDeleteButton: () => exerciseDeleteButton,
|
|
98
97
|
exerciseEditButton: () => exerciseEditButton,
|
|
99
98
|
headerButtonClass: () => headerButtonClass,
|
|
100
99
|
headerTippyClass: () => headerTippyClass,
|
|
101
|
-
openSans: () => openSans,
|
|
102
|
-
parkinsans: () => parkinsans,
|
|
103
100
|
tippyClassname: () => tippyClassname,
|
|
104
101
|
toolbarExerciseButton: () => toolbarExerciseButton,
|
|
105
|
-
ubuntu: () => ubuntu,
|
|
106
102
|
xIconButton: () => xIconButton
|
|
107
103
|
});
|
|
108
104
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -128,40 +124,6 @@ var Backdrop_default = Backdrop;
|
|
|
128
124
|
// src/Backdrop/Overlay.tsx
|
|
129
125
|
var import_react = require("react");
|
|
130
126
|
var import_react_dom = __toESM(require("react-dom"));
|
|
131
|
-
|
|
132
|
-
// src/fonts/index.tsx
|
|
133
|
-
var import_google = require("next/font/google");
|
|
134
|
-
var openSans = (0, import_google.Open_Sans)({
|
|
135
|
-
preload: true,
|
|
136
|
-
display: "swap",
|
|
137
|
-
subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext", "vietnamese", "hebrew"],
|
|
138
|
-
variable: "--font-sans"
|
|
139
|
-
});
|
|
140
|
-
var ubuntu = (0, import_google.Ubuntu)({
|
|
141
|
-
preload: true,
|
|
142
|
-
weight: ["300", "400", "500", "700"],
|
|
143
|
-
display: "auto",
|
|
144
|
-
subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext"],
|
|
145
|
-
variable: "--font-fallback"
|
|
146
|
-
});
|
|
147
|
-
var parkinsans = (0, import_google.Parkinsans)({
|
|
148
|
-
preload: true,
|
|
149
|
-
weight: ["300", "400", "500", "700"],
|
|
150
|
-
display: "swap",
|
|
151
|
-
adjustFontFallback: false,
|
|
152
|
-
subsets: ["latin", "latin-ext"],
|
|
153
|
-
// fallback: ['--font-fallback'],
|
|
154
|
-
variable: "--font-header"
|
|
155
|
-
});
|
|
156
|
-
var balsamicSans = (0, import_google.Balsamiq_Sans)({
|
|
157
|
-
preload: false,
|
|
158
|
-
display: "swap",
|
|
159
|
-
weight: ["400", "700"],
|
|
160
|
-
subsets: ["cyrillic", "cyrillic-ext", "latin", "latin-ext"],
|
|
161
|
-
variable: "--font-fun"
|
|
162
|
-
});
|
|
163
|
-
|
|
164
|
-
// src/Backdrop/Overlay.tsx
|
|
165
127
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
166
128
|
var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacity, withContainer = true }) => {
|
|
167
129
|
const [modalRoot, setModalRoot] = (0, import_react.useState)(null);
|
|
@@ -186,14 +148,14 @@ var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacit
|
|
|
186
148
|
"div",
|
|
187
149
|
{
|
|
188
150
|
onClick: onDismissed || onClick,
|
|
189
|
-
className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center
|
|
151
|
+
className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center`,
|
|
190
152
|
style: {
|
|
191
153
|
background: isDark ? `rgba(0, 0, 0, ${opacity || "0.7"})` : `rgba(255, 255, 255, ${opacity || "0.6"})`,
|
|
192
154
|
zIndex: zIndex || 9999
|
|
193
155
|
},
|
|
194
156
|
children
|
|
195
157
|
}
|
|
196
|
-
) :
|
|
158
|
+
) : children }),
|
|
197
159
|
modalRoot
|
|
198
160
|
);
|
|
199
161
|
};
|
|
@@ -1633,17 +1595,13 @@ var PRIMARY_COLOR3 = "#00b4d8";
|
|
|
1633
1595
|
Tippy,
|
|
1634
1596
|
ToggleSwitch,
|
|
1635
1597
|
UserContentSwitcher,
|
|
1636
|
-
balsamicSans,
|
|
1637
1598
|
baseFieldStyle,
|
|
1638
1599
|
createExerciseElementStyle,
|
|
1639
1600
|
exerciseDeleteButton,
|
|
1640
1601
|
exerciseEditButton,
|
|
1641
1602
|
headerButtonClass,
|
|
1642
1603
|
headerTippyClass,
|
|
1643
|
-
openSans,
|
|
1644
|
-
parkinsans,
|
|
1645
1604
|
tippyClassname,
|
|
1646
1605
|
toolbarExerciseButton,
|
|
1647
|
-
ubuntu,
|
|
1648
1606
|
xIconButton
|
|
1649
1607
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -51,40 +51,6 @@ var Backdrop_default = Backdrop;
|
|
|
51
51
|
// src/Backdrop/Overlay.tsx
|
|
52
52
|
import { useEffect, useState } from "react";
|
|
53
53
|
import ReactDOM from "react-dom";
|
|
54
|
-
|
|
55
|
-
// src/fonts/index.tsx
|
|
56
|
-
import { Open_Sans, Ubuntu, Balsamiq_Sans, Parkinsans } from "next/font/google";
|
|
57
|
-
var openSans = Open_Sans({
|
|
58
|
-
preload: true,
|
|
59
|
-
display: "swap",
|
|
60
|
-
subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext", "vietnamese", "hebrew"],
|
|
61
|
-
variable: "--font-sans"
|
|
62
|
-
});
|
|
63
|
-
var ubuntu = Ubuntu({
|
|
64
|
-
preload: true,
|
|
65
|
-
weight: ["300", "400", "500", "700"],
|
|
66
|
-
display: "auto",
|
|
67
|
-
subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext"],
|
|
68
|
-
variable: "--font-fallback"
|
|
69
|
-
});
|
|
70
|
-
var parkinsans = Parkinsans({
|
|
71
|
-
preload: true,
|
|
72
|
-
weight: ["300", "400", "500", "700"],
|
|
73
|
-
display: "swap",
|
|
74
|
-
adjustFontFallback: false,
|
|
75
|
-
subsets: ["latin", "latin-ext"],
|
|
76
|
-
// fallback: ['--font-fallback'],
|
|
77
|
-
variable: "--font-header"
|
|
78
|
-
});
|
|
79
|
-
var balsamicSans = Balsamiq_Sans({
|
|
80
|
-
preload: false,
|
|
81
|
-
display: "swap",
|
|
82
|
-
weight: ["400", "700"],
|
|
83
|
-
subsets: ["cyrillic", "cyrillic-ext", "latin", "latin-ext"],
|
|
84
|
-
variable: "--font-fun"
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
// src/Backdrop/Overlay.tsx
|
|
88
54
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
89
55
|
var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacity, withContainer = true }) => {
|
|
90
56
|
const [modalRoot, setModalRoot] = useState(null);
|
|
@@ -109,14 +75,14 @@ var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacit
|
|
|
109
75
|
"div",
|
|
110
76
|
{
|
|
111
77
|
onClick: onDismissed || onClick,
|
|
112
|
-
className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center
|
|
78
|
+
className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center`,
|
|
113
79
|
style: {
|
|
114
80
|
background: isDark ? `rgba(0, 0, 0, ${opacity || "0.7"})` : `rgba(255, 255, 255, ${opacity || "0.6"})`,
|
|
115
81
|
zIndex: zIndex || 9999
|
|
116
82
|
},
|
|
117
83
|
children
|
|
118
84
|
}
|
|
119
|
-
) :
|
|
85
|
+
) : children }),
|
|
120
86
|
modalRoot
|
|
121
87
|
);
|
|
122
88
|
};
|
|
@@ -1567,17 +1533,13 @@ export {
|
|
|
1567
1533
|
Tippy_default as Tippy,
|
|
1568
1534
|
ToggleSwitch_default as ToggleSwitch,
|
|
1569
1535
|
UserContentSwitcher_default as UserContentSwitcher,
|
|
1570
|
-
balsamicSans,
|
|
1571
1536
|
baseFieldStyle,
|
|
1572
1537
|
createExerciseElementStyle,
|
|
1573
1538
|
exerciseDeleteButton,
|
|
1574
1539
|
exerciseEditButton,
|
|
1575
1540
|
headerButtonClass,
|
|
1576
1541
|
headerTippyClass,
|
|
1577
|
-
openSans,
|
|
1578
|
-
parkinsans,
|
|
1579
1542
|
tippyClassname,
|
|
1580
1543
|
toolbarExerciseButton,
|
|
1581
|
-
ubuntu,
|
|
1582
1544
|
xIconButton
|
|
1583
1545
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "evelearn-theme",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"autoprefixer": "^10.4.21",
|
|
20
20
|
"formik": "^2.4.6",
|
|
21
21
|
"framer-motion": "^12.23.0",
|
|
22
|
-
"next": "^15.3.5",
|
|
23
22
|
"postcss": "^8.5.6",
|
|
24
23
|
"tailwindcss": "^4.1.11",
|
|
25
24
|
"tsup": "^8.5.0",
|