@intlayer/design-system 2.0.10 → 2.0.11

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.
Files changed (40) hide show
  1. package/LICENSE +202 -21
  2. package/dist/.vite/manifest.json +20 -11
  3. package/dist/components/Container/index.cjs.js +1 -1
  4. package/dist/components/Container/index.es.js +5 -5
  5. package/dist/components/DictionaryEditor/ItemLayout.cjs.js +1 -1
  6. package/dist/components/DictionaryEditor/ItemLayout.es.js +3 -3
  7. package/dist/components/Footer/index.cjs.js +1 -1
  8. package/dist/components/Footer/index.es.js +24 -17
  9. package/dist/components/Headers/SectionScroller.cjs.js +1 -0
  10. package/dist/components/Headers/SectionScroller.d.ts +1 -0
  11. package/dist/components/Headers/SectionScroller.es.js +20 -0
  12. package/dist/components/Headers/index.cjs.js +1 -1
  13. package/dist/components/Headers/index.d.ts +6 -4
  14. package/dist/components/Headers/index.es.js +80 -12
  15. package/dist/components/IDE/IDE.cjs.js +1 -1
  16. package/dist/components/IDE/IDE.es.js +27 -24
  17. package/dist/components/Loader/index.cjs.js +1 -1
  18. package/dist/components/Loader/index.es.js +12 -10
  19. package/dist/components/MarkDownRender/index.cjs.js +1 -1
  20. package/dist/components/MarkDownRender/index.es.js +46 -24
  21. package/dist/components/Modal/index.cjs.js +1 -1
  22. package/dist/components/Modal/index.es.js +5 -5
  23. package/dist/components/Navbar/DesktopNavbar.cjs.js +1 -1
  24. package/dist/components/Navbar/DesktopNavbar.es.js +1 -1
  25. package/dist/components/Navbar/MobileNavbar.cjs.js +8 -8
  26. package/dist/components/Navbar/MobileNavbar.es.js +122 -122
  27. package/dist/components/Popover/index.cjs.js +1 -1
  28. package/dist/components/Popover/index.es.js +22 -18
  29. package/dist/components/PressableDiv/PressableDiv.cjs.js +1 -1
  30. package/dist/components/PressableDiv/PressableDiv.es.js +5 -4
  31. package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.js +1 -1
  32. package/dist/components/ThemeSwitcherDropDown/MobileThemeSwitcher.es.js +48 -48
  33. package/dist/components/index.cjs.js +1 -1
  34. package/dist/components/index.d.ts +1 -0
  35. package/dist/components/index.es.js +10 -8
  36. package/dist/motion-minimal-BFpJTMRN.js +788 -0
  37. package/dist/motion-minimal-CwdK8lup.cjs +1 -0
  38. package/package.json +3 -3
  39. package/dist/motion-BuKul-u9.cjs +0 -1
  40. package/dist/motion-CP5YERk7.js +0 -4517
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { j as t } from "../../jsx-runtime-Tw_Kw2GZ.js";
3
- import { p as r, c as R } from "../../styled-components.browser.esm-D6kkzXl4.js";
4
- import { useState as y, useRef as X } from "react";
5
- import { useScrollBlockage as Y } from "../../hooks/useScrollBlockage/index.es.js";
6
- import { useScrollDetection as B } from "../../hooks/useScrollDetection.es.js";
7
- import { MaxHeightSmoother as F } from "../MaxHeightSmoother/index.es.js";
8
- import { Burger as z } from "./Burger.es.js";
9
- import { useNavActions as P } from "./useNavigation.es.js";
10
- import { m as g } from "../../motion-CP5YERk7.js";
11
- const T = {
3
+ import { p as r, c as u } from "../../styled-components.browser.esm-D6kkzXl4.js";
4
+ import { useState as m, useRef as S } from "react";
5
+ import { useScrollBlockage as j } from "../../hooks/useScrollBlockage/index.es.js";
6
+ import { useScrollDetection as C } from "../../hooks/useScrollDetection.es.js";
7
+ import { MaxHeightSmoother as D } from "../MaxHeightSmoother/index.es.js";
8
+ import { Burger as H } from "./Burger.es.js";
9
+ import { useNavActions as I } from "./useNavigation.es.js";
10
+ import { m as y } from "../../motion-minimal-BFpJTMRN.js";
11
+ const R = {
12
12
  open: {
13
13
  y: 0,
14
14
  opacity: 1,
@@ -28,7 +28,7 @@ const T = {
28
28
  }
29
29
  }
30
30
  }
31
- }, A = {
31
+ }, X = {
32
32
  open: {
33
33
  transition: {
34
34
  staggerChildren: 0.07,
@@ -41,7 +41,7 @@ const T = {
41
41
  staggerDirection: -1
42
42
  }
43
43
  }
44
- }, L = r(g.div)`
44
+ }, Y = r(y.div)`
45
45
  ${{
46
46
  width: "100%",
47
47
  cursor: "pointer",
@@ -59,137 +59,137 @@ const T = {
59
59
  color: "rgba(232, 121, 249, var(--tw-text-opacity))"
60
60
  }
61
61
  }}
62
- `, h = ({
63
- sections: o,
62
+ `, x = ({
63
+ sections: a,
64
64
  activeSection: c,
65
65
  onClickSection: i
66
- }) => /* @__PURE__ */ t.jsx("div", { role: "tablist", "aria-orientation": "vertical", "aria-multiselectable": "false", children: o == null ? void 0 : o.map(({
67
- id: a,
66
+ }) => /* @__PURE__ */ t.jsx("div", { role: "tablist", "aria-orientation": "vertical", "aria-multiselectable": "false", children: a == null ? void 0 : a.map(({
67
+ id: o,
68
68
  label: d,
69
69
  url: n,
70
70
  title: s,
71
71
  onClick: e
72
- }) => /* @__PURE__ */ t.jsx(L, { role: "tab", id: a, "aria-label": d, onClick: (l) => {
73
- i(a, n), e == null || e(l);
74
- }, variants: T, "aria-selected": c === a, children: s }, a)) }), J = ({
75
- logo: o,
72
+ }) => /* @__PURE__ */ t.jsx(Y, { role: "tab", id: o, "aria-label": d, onClick: (l) => {
73
+ i(o, n), e == null || e(l);
74
+ }, variants: R, "aria-selected": c === o, children: s }, o)) }), h = [{
75
+ backgroundColor: "rgba(231, 231, 231, 0.95)",
76
+ "--tw-shadow": "0 0 10px -15px rgba(0,0,0,0.3)",
77
+ "--tw-shadow-colored": "0 0 10px -15px var(--tw-shadow-color)",
78
+ boxShadow: "var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",
79
+ "--tw-backdrop-blur": "blur(8px)",
80
+ backdropFilter: "var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)",
81
+ '&:where([data-theme="dark"], [data-theme="dark"] *)': {
82
+ backgroundColor: "rgba(39, 39, 39, 0.95)"
83
+ }
84
+ }, u`
85
+ -webkit-backdrop-filter: var(--tw-backdrop-blur)
86
+ var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
87
+ var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
88
+ var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
89
+ var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
90
+ `], B = r.nav(({
91
+ $isHidden: a
92
+ }) => [...h, {
93
+ position: "sticky",
94
+ top: "0px",
95
+ zIndex: "50",
96
+ display: "flex",
97
+ width: "100vw",
98
+ flexDirection: "column",
99
+ transitionProperty: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
100
+ transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
101
+ transitionDuration: "150ms"
102
+ }, a ? {
103
+ "--tw-translate-y": "-100%",
104
+ transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
105
+ } : {
106
+ "--tw-translate-y": "0px",
107
+ transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
108
+ }]), F = r.div({
109
+ display: "flex",
110
+ width: "100%",
111
+ alignItems: "center",
112
+ justifyContent: "space-between",
113
+ gap: "10vw",
114
+ paddingLeft: "1rem",
115
+ paddingRight: "1rem",
116
+ paddingTop: "0.75rem",
117
+ paddingBottom: "0.75rem"
118
+ }), z = r.div({
119
+ display: "flex",
120
+ width: "100%",
121
+ alignItems: "center",
122
+ justifyContent: "flex-end",
123
+ gap: "1.5rem"
124
+ }), P = r.div({
125
+ display: "flex",
126
+ width: "100%",
127
+ alignItems: "center",
128
+ justifyContent: "flex-end",
129
+ gap: "0.25rem"
130
+ }), T = r.div(() => [...h, {
131
+ position: "absolute",
132
+ bottom: "0px",
133
+ left: "0px",
134
+ width: "100%",
135
+ "--tw-translate-y": "100%",
136
+ transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
137
+ }]), A = r(y.div)(() => ({
138
+ display: "flex",
139
+ width: "100%",
140
+ flexDirection: "column",
141
+ paddingBottom: "20%",
142
+ paddingTop: "2.5rem",
143
+ fontSize: "1.125rem",
144
+ lineHeight: "1.75rem",
145
+ letterSpacing: "0.025em",
146
+ "--tw-text-opacity": "1",
147
+ color: "rgba(18, 18, 18, var(--tw-text-opacity))",
148
+ '&:where([data-theme="dark"], [data-theme="dark"] *)': {
149
+ "--tw-text-opacity": "1",
150
+ color: "rgba(255, 245, 237, var(--tw-text-opacity))"
151
+ }
152
+ })), L = r.div({
153
+ display: "flex",
154
+ height: "100%",
155
+ flexDirection: "column",
156
+ justifyContent: "space-between"
157
+ }), J = ({
158
+ logo: a,
76
159
  topChildren: c,
77
160
  topSections: i = [],
78
- bottomSections: a = [],
161
+ bottomSections: o = [],
79
162
  rightItems: d
80
163
  }) => {
81
- var x;
82
- const [n, s] = y(!1), [e, l] = y(!1), p = X(null), {
83
- activeSection: v,
84
- onClickSection: b
85
- } = P();
86
- Y({
164
+ var b;
165
+ const [n, s] = m(!1), [e, l] = m(!1), w = S(null), {
166
+ activeSection: p,
167
+ onClickSection: v
168
+ } = I();
169
+ j({
87
170
  disableScroll: e,
88
171
  key: "mobile_nav"
89
- }), B({
172
+ }), C({
90
173
  onScrollUp: () => s(!1),
91
174
  onScrollDown: () => s(!0),
92
175
  isEnabled: !e
93
176
  });
94
- const f = n ? 0 : ((x = p.current) == null ? void 0 : x.clientHeight) ?? 0, k = i.length + a.length > 0, m = [{
95
- backgroundColor: "rgba(231, 231, 231, 0.95)",
96
- "--tw-shadow": "0 0 10px -15px rgba(0,0,0,0.3)",
97
- "--tw-shadow-colored": "0 0 10px -15px var(--tw-shadow-color)",
98
- boxShadow: "var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",
99
- "--tw-backdrop-blur": "blur(8px)",
100
- backdropFilter: "var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)",
101
- '&:where([data-theme="dark"], [data-theme="dark"] *)': {
102
- backgroundColor: "rgba(69, 69, 69, 0.95)"
103
- }
104
- }, R`
105
- -webkit-backdrop-filter: var(--tw-backdrop-blur)
106
- var(--tw-backdrop-brightness) var(--tw-backdrop-contrast)
107
- var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate)
108
- var(--tw-backdrop-invert) var(--tw-backdrop-opacity)
109
- var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
110
- `], u = r.nav(({
111
- $isHidden: w
112
- }) => [...m, {
113
- position: "sticky",
114
- top: "0px",
115
- zIndex: "50",
116
- display: "flex",
117
- width: "100vw",
118
- flexDirection: "column",
119
- transitionProperty: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
120
- transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
121
- transitionDuration: "150ms"
122
- }, w ? {
123
- "--tw-translate-y": "-100%",
124
- transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
125
- } : {
126
- "--tw-translate-y": "0px",
127
- transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
128
- }]), S = r.div({
129
- display: "flex",
130
- width: "100%",
131
- alignItems: "center",
132
- justifyContent: "space-between",
133
- gap: "10vw",
134
- paddingLeft: "1rem",
135
- paddingRight: "1rem",
136
- paddingTop: "0.75rem",
137
- paddingBottom: "0.75rem"
138
- }), j = r.div({
139
- display: "flex",
140
- width: "100%",
141
- alignItems: "center",
142
- justifyContent: "flex-end",
143
- gap: "1.5rem"
144
- }), C = r.div({
145
- display: "flex",
146
- width: "100%",
147
- alignItems: "center",
148
- justifyContent: "flex-end",
149
- gap: "0.25rem"
150
- }), D = r.div(() => [...m, {
151
- position: "absolute",
152
- bottom: "0px",
153
- left: "0px",
154
- width: "100%",
155
- "--tw-translate-y": "100%",
156
- transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))"
157
- }]), H = r(g.div)(() => ({
158
- display: "flex",
159
- width: "100%",
160
- flexDirection: "column",
161
- paddingBottom: "20%",
162
- paddingTop: "2.5rem",
163
- fontSize: "1.125rem",
164
- lineHeight: "1.75rem",
165
- letterSpacing: "0.025em",
166
- "--tw-text-opacity": "1",
167
- color: "rgba(18, 18, 18, var(--tw-text-opacity))",
168
- '&:where([data-theme="dark"], [data-theme="dark"] *)': {
169
- "--tw-text-opacity": "1",
170
- color: "rgba(255, 245, 237, var(--tw-text-opacity))"
171
- }
172
- })), I = r.div({
173
- display: "flex",
174
- height: "100%",
175
- flexDirection: "column",
176
- justifyContent: "space-between"
177
- });
178
- return /* @__PURE__ */ t.jsxs(u, { id: "mobile-menu", $isHidden: n, children: [
179
- /* @__PURE__ */ t.jsxs(S, { ref: p, children: [
180
- o,
181
- /* @__PURE__ */ t.jsxs(j, { children: [
182
- /* @__PURE__ */ t.jsx(C, { children: d }),
183
- k && /* @__PURE__ */ t.jsx(z, { isActive: e, onClick: () => l((w) => !w) })
177
+ const g = n ? 0 : ((b = w.current) == null ? void 0 : b.clientHeight) ?? 0, f = i.length + o.length > 0;
178
+ return /* @__PURE__ */ t.jsxs(B, { id: "mobile-menu", $isHidden: n, children: [
179
+ /* @__PURE__ */ t.jsxs(F, { ref: w, children: [
180
+ a,
181
+ /* @__PURE__ */ t.jsxs(z, { children: [
182
+ /* @__PURE__ */ t.jsx(P, { children: d }),
183
+ f && /* @__PURE__ */ t.jsx(H, { isActive: e, onClick: () => l((k) => !k) })
184
184
  ] })
185
185
  ] }),
186
- /* @__PURE__ */ t.jsx(D, { children: /* @__PURE__ */ t.jsx(F, { isHidden: !e, children: /* @__PURE__ */ t.jsxs(H, { onClick: () => l(!1), animate: e ? "open" : "closed", variants: A, style: {
187
- height: `calc(100vh - ${f}px)`
186
+ /* @__PURE__ */ t.jsx(T, { children: /* @__PURE__ */ t.jsx(D, { isHidden: !e, children: /* @__PURE__ */ t.jsxs(A, { onClick: () => l(!1), animate: e ? "open" : "closed", variants: X, style: {
187
+ height: `calc(100vh - ${g}px)`
188
188
  }, children: [
189
189
  c,
190
- /* @__PURE__ */ t.jsxs(I, { children: [
191
- /* @__PURE__ */ t.jsx(h, { sections: i, activeSection: v, onClickSection: b }),
192
- /* @__PURE__ */ t.jsx(h, { sections: a, activeSection: v, onClickSection: b })
190
+ /* @__PURE__ */ t.jsxs(L, { children: [
191
+ /* @__PURE__ */ t.jsx(x, { sections: i, activeSection: p, onClickSection: v }),
192
+ /* @__PURE__ */ t.jsx(x, { sections: o, activeSection: p, onClickSection: v })
193
193
  ] })
194
194
  ] }) }) })
195
195
  ] });
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-D6agescH.cjs"),r=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),a=r.pt.div({position:"relative"}),o=r.pt.div({position:"absolute",bottom:"0px",right:"1.25rem","--tw-translate-y":"1.75rem",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",borderRadius:"0.375rem",backgroundColor:"currentColor",padding:"0.25rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"0.75",opacity:"0",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms",transitionDelay:"700ms",animationDelay:"700ms",animationDuration:"200ms",animationTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{transitionDelay:"0s",animationDelay:"0s"},".group:hover &":{opacity:"1"}}),n=r.pt.span({maxWidth:"60%",userSelect:"none","--tw-text-opacity":"1",color:"rgba(255, 255, 255, var(--tw-text-opacity))",mixBlendMode:"difference"}),s=({children:i,content:t})=>e.jsxRuntimeExports.jsxs(a,{className:"group","aria-haspopup":!0,"aria-expanded":!1,"aria-label":"Display the popup by hovering this element",children:[i,e.jsxRuntimeExports.jsx(o,{"aria-hidden":!0,children:typeof t=="string"?e.jsxRuntimeExports.jsx(n,{children:t}):t})]});exports.Popover=s;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../jsx-runtime-D6agescH.cjs"),r=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),o=r.pt.div({position:"relative"}),i=r.pt.div({position:"absolute",bottom:"0px",left:"1.25rem",zIndex:"50","--tw-translate-y":"150%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",borderRadius:"0.375rem","--tw-bg-opacity":"1",backgroundColor:"rgba(231, 231, 231, var(--tw-bg-opacity))",padding:"0.25rem",fontSize:"0.75rem",lineHeight:"1rem","--tw-text-opacity":"0.75",opacity:"0","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-color":"currentColor",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms",transitionDelay:"200ms",animationDelay:"200ms",animationDuration:"200ms",animationTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{transitionDelay:"0s",animationDelay:"0s"},".group:hover &":{opacity:"1"},'&:where([data-theme="dark"], [data-theme="dark"] *)':{"--tw-bg-opacity":"1",backgroundColor:"rgba(39, 39, 39, var(--tw-bg-opacity))"}}),n=({children:a,content:e})=>t.jsxRuntimeExports.jsxs(o,{className:"group","aria-haspopup":!0,"aria-expanded":!1,"aria-label":"Display the popup by hovering this element",children:[a,t.jsxRuntimeExports.jsx(i,{"aria-hidden":!0,children:e})]});exports.Popover=n;
@@ -1,26 +1,32 @@
1
1
  "use client";
2
- import { j as e } from "../../jsx-runtime-Tw_Kw2GZ.js";
2
+ import { j as t } from "../../jsx-runtime-Tw_Kw2GZ.js";
3
3
  import { p as a } from "../../styled-components.browser.esm-D6kkzXl4.js";
4
- const i = a.div({
4
+ const e = a.div({
5
5
  position: "relative"
6
6
  }), o = a.div({
7
7
  position: "absolute",
8
8
  bottom: "0px",
9
- right: "1.25rem",
10
- "--tw-translate-y": "1.75rem",
9
+ left: "1.25rem",
10
+ zIndex: "50",
11
+ "--tw-translate-y": "150%",
11
12
  transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",
12
13
  borderRadius: "0.375rem",
13
- backgroundColor: "currentColor",
14
+ "--tw-bg-opacity": "1",
15
+ backgroundColor: "rgba(231, 231, 231, var(--tw-bg-opacity))",
14
16
  padding: "0.25rem",
15
17
  fontSize: "0.75rem",
16
18
  lineHeight: "1rem",
17
19
  "--tw-text-opacity": "0.75",
18
20
  opacity: "0",
21
+ "--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
22
+ "--tw-ring-shadow": "var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",
23
+ boxShadow: "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)",
24
+ "--tw-ring-color": "currentColor",
19
25
  transitionProperty: "all",
20
26
  transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
21
27
  transitionDuration: "200ms",
22
- transitionDelay: "700ms",
23
- animationDelay: "700ms",
28
+ transitionDelay: "200ms",
29
+ animationDelay: "200ms",
24
30
  animationDuration: "200ms",
25
31
  animationTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
26
32
  "&:hover": {
@@ -29,20 +35,18 @@ const i = a.div({
29
35
  },
30
36
  ".group:hover &": {
31
37
  opacity: "1"
38
+ },
39
+ '&:where([data-theme="dark"], [data-theme="dark"] *)': {
40
+ "--tw-bg-opacity": "1",
41
+ backgroundColor: "rgba(39, 39, 39, var(--tw-bg-opacity))"
32
42
  }
33
- }), n = a.span({
34
- maxWidth: "60%",
35
- userSelect: "none",
36
- "--tw-text-opacity": "1",
37
- color: "rgba(255, 255, 255, var(--tw-text-opacity))",
38
- mixBlendMode: "difference"
39
- }), p = ({
43
+ }), w = ({
40
44
  children: r,
41
- content: t
42
- }) => /* @__PURE__ */ e.jsxs(i, { className: "group", "aria-haspopup": !0, "aria-expanded": !1, "aria-label": "Display the popup by hovering this element", children: [
45
+ content: i
46
+ }) => /* @__PURE__ */ t.jsxs(e, { className: "group", "aria-haspopup": !0, "aria-expanded": !1, "aria-label": "Display the popup by hovering this element", children: [
43
47
  r,
44
- /* @__PURE__ */ e.jsx(o, { "aria-hidden": !0, children: typeof t == "string" ? /* @__PURE__ */ e.jsx(n, { children: t }) : t })
48
+ /* @__PURE__ */ t.jsx(o, { "aria-hidden": !0, children: i })
45
49
  ] });
46
50
  export {
47
- p as Popover
51
+ w as Popover
48
52
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../jsx-runtime-D6agescH.cjs"),e=require("react"),v=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),y=400,g=v.pt.div(({$isSelecting:s})=>[{display:"inline",cursor:"pointer",borderRadius:"0.375rem",outlineStyle:"solid",outlineWidth:"2px",outlineOffset:"4px",outlineColor:"transparent",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms",transitionDelay:"100ms",animationDelay:"100ms",animationDuration:"200ms"},s?{outlineColor:"inherit"}:{"&:hover":{outlineColor:"inherit"}}]),E=({children:s,onPress:f,onClickOutside:t,pressDuration:p=y,isSelecting:a,...S})=>{const i=e.useRef(null),[c,u]=e.useState(a),n=e.useRef(null),T=()=>{u(!0),f()},h=()=>{n.current=setTimeout(()=>{T()},p)},d=()=>{n.current&&(clearTimeout(n.current),n.current=null)},m=()=>{d(),h()},o=()=>{d()},l=e.useCallback(r=>{i.current&&!i.current.contains(r.target)&&(u(!1),t==null||t())},[t]);e.useEffect(()=>(document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}),[l]);const C=r=>{c&&(r.preventDefault(),r.stopPropagation())},D=()=>{u(!1)};return b.jsxRuntimeExports.jsx(g,{role:"button",tabIndex:0,onKeyUp:()=>null,onClick:C,onMouseDown:m,onMouseUp:o,onMouseLeave:o,onTouchStart:m,onTouchEnd:o,onTouchCancel:o,onBlur:D,ref:i,$isSelecting:a??c,...S,children:s})};exports.PressableDiv=E;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../jsx-runtime-D6agescH.cjs"),e=require("react"),v=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),y=400,g=v.pt.div(({$isSelecting:s})=>[{display:"inline",cursor:"pointer",userSelect:"none",borderRadius:"0.375rem",outlineStyle:"solid",outlineWidth:"2px",outlineOffset:"4px",outlineColor:"transparent",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"200ms",transitionDelay:"100ms",animationDelay:"100ms",animationDuration:"200ms"},s?{outlineColor:"inherit"}:{"&:hover":{outlineColor:"inherit"}}]),E=({children:s,onPress:f,onClickOutside:t,pressDuration:p=y,isSelecting:a,...S})=>{const i=e.useRef(null),[c,u]=e.useState(a),n=e.useRef(null),T=()=>{u(!0),f()},h=()=>{n.current=setTimeout(()=>{T()},p)},d=()=>{n.current&&(clearTimeout(n.current),n.current=null)},m=()=>{d(),h()},o=()=>{d()},l=e.useCallback(r=>{i.current&&!i.current.contains(r.target)&&(u(!1),t==null||t())},[t]);e.useEffect(()=>(document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}),[l]);const C=r=>{c&&(r.preventDefault(),r.stopPropagation())},D=()=>{u(!1)};return b.jsxRuntimeExports.jsx(g,{role:"button",tabIndex:0,onKeyUp:()=>null,onClick:C,onMouseDown:m,onMouseUp:o,onMouseLeave:o,onTouchStart:m,onTouchEnd:o,onTouchCancel:o,onBlur:D,ref:i,$isSelecting:a??c,...S,children:s})};exports.PressableDiv=E;
@@ -7,6 +7,7 @@ const y = 400, O = x.div(({
7
7
  }) => [{
8
8
  display: "inline",
9
9
  cursor: "pointer",
10
+ userSelect: "none",
10
11
  borderRadius: "0.375rem",
11
12
  outlineStyle: "solid",
12
13
  outlineWidth: "2px",
@@ -32,16 +33,16 @@ const y = 400, O = x.div(({
32
33
  isSelecting: l,
33
34
  ...h
34
35
  }) => {
35
- const i = d(null), [a, s] = E(l), t = d(null), T = () => {
36
+ const i = d(null), [a, s] = E(l), t = d(null), S = () => {
36
37
  s(!0), p();
37
- }, S = () => {
38
+ }, T = () => {
38
39
  t.current = setTimeout(() => {
39
- T();
40
+ S();
40
41
  }, f);
41
42
  }, c = () => {
42
43
  t.current && (clearTimeout(t.current), t.current = null);
43
44
  }, m = () => {
44
- c(), S();
45
+ c(), T();
45
46
  }, n = () => {
46
47
  c();
47
48
  }, u = b((o) => {
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../jsx-runtime-D6agescH.cjs"),r=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),S=require("react"),e=require("./types.cjs.js"),d=require("../../sun-BQYZHcpc.cjs"),k=({theme:i,systemTheme:c,setTheme:l})=>{const u=c===i,m=u?e.Modes.system:i,[s,M]=S.useState(m),t=s===e.Modes.system?i===e.Modes.dark?e.Modes.light:e.Modes.dark:u?e.Modes.system:s===e.Modes.light?e.Modes.dark:e.Modes.light,n=()=>{t===e.Modes.system?l(c??e.Modes.light):l(t),M(t)},y=r.pt.button({position:"relative",width:"2.5rem",height:"2.5rem"}),a=({isCurrentMode:h,isNextMode:w})=>[{position:"absolute",left:"50%",top:"50%","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%"},{opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"300ms",animationDuration:"300ms",animationTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},h?{opacity:"1",".group:hover &":{opacity:"0"}}:{},w?{".group:hover &":{opacity:"1"}}:{}],p=r.pt(d.CircleDashed)(a),x=r.pt(d.Moon)(a),g=r.pt(d.Sun)(a);return o.jsxRuntimeExports.jsxs(y,{"aria-label":"Theme selector",className:"group",children:[o.jsxRuntimeExports.jsx(p,{onClick:n,"data-mode":"system",isCurrentMode:s===e.Modes.system,isNextMode:t===e.Modes.system}),o.jsxRuntimeExports.jsx(x,{onClick:n,"data-mode":"light",isCurrentMode:s===e.Modes.dark,isNextMode:t===e.Modes.dark}),o.jsxRuntimeExports.jsx(g,{onClick:n,"data-mode":"dark",isCurrentMode:s===e.Modes.light,isNextMode:t===e.Modes.light})]})};exports.MobileThemeSwitcher=k;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../jsx-runtime-D6agescH.cjs"),n=require("../../styled-components.browser.esm-GqWwDlfY.cjs"),y=require("react"),e=require("./types.cjs.js"),d=require("../../sun-BQYZHcpc.cjs"),c=({$isCurrentMode:s,$isNextMode:r})=>[{position:"absolute",left:"50%",top:"50%","--tw-translate-x":"-50%",transform:"translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))","--tw-translate-y":"-50%"},{opacity:"0",transitionProperty:"opacity",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"300ms",animationDuration:"300ms",animationTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},s?{opacity:"1",".group:hover &":{opacity:"0"}}:{},r?{".group:hover &":{opacity:"1"}}:{}],p=n.pt(d.CircleDashed)(c),x=n.pt(d.Moon)(c),g=n.pt(d.Sun)(c),h=n.pt.button({position:"relative",width:"2.5rem",height:"2.5rem"}),w=({theme:s,systemTheme:r,setTheme:l})=>{const u=r===s,m=u?e.Modes.system:s,[o,M]=y.useState(m),t=o===e.Modes.system?s===e.Modes.dark?e.Modes.light:e.Modes.dark:u?e.Modes.system:o===e.Modes.light?e.Modes.dark:e.Modes.light,a=()=>{t===e.Modes.system?l(r??e.Modes.light):l(t),M(t)};return i.jsxRuntimeExports.jsxs(h,{"aria-label":"Theme selector",className:"group",children:[i.jsxRuntimeExports.jsx(p,{onClick:a,"data-mode":"system",$isCurrentMode:o===e.Modes.system,$isNextMode:t===e.Modes.system}),i.jsxRuntimeExports.jsx(x,{onClick:a,"data-mode":"light",$isCurrentMode:o===e.Modes.dark,$isNextMode:t===e.Modes.dark}),i.jsxRuntimeExports.jsx(g,{onClick:a,"data-mode":"dark",$isCurrentMode:o===e.Modes.light,$isNextMode:t===e.Modes.light})]})};exports.MobileThemeSwitcher=w;
@@ -1,65 +1,65 @@
1
1
  "use client";
2
- import { j as s } from "../../jsx-runtime-Tw_Kw2GZ.js";
3
- import { p as r } from "../../styled-components.browser.esm-D6kkzXl4.js";
4
- import { useState as M } from "react";
2
+ import { j as a } from "../../jsx-runtime-Tw_Kw2GZ.js";
3
+ import { p as i } from "../../styled-components.browser.esm-D6kkzXl4.js";
4
+ import { useState as p } from "react";
5
5
  import { Modes as t } from "./types.es.js";
6
- import { C as k, M as S, S as v } from "../../sun-BrKC5Qwg.js";
7
- const D = ({
8
- theme: a,
9
- systemTheme: l,
6
+ import { C as u, M as g, S as h } from "../../sun-BrKC5Qwg.js";
7
+ const l = ({
8
+ $isCurrentMode: o,
9
+ $isNextMode: r
10
+ }) => [{
11
+ position: "absolute",
12
+ left: "50%",
13
+ top: "50%",
14
+ "--tw-translate-x": "-50%",
15
+ transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",
16
+ "--tw-translate-y": "-50%"
17
+ }, {
18
+ opacity: "0",
19
+ transitionProperty: "opacity",
20
+ transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
21
+ transitionDuration: "300ms",
22
+ animationDuration: "300ms",
23
+ animationTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)"
24
+ }, o ? {
25
+ opacity: "1",
26
+ ".group:hover &": {
27
+ opacity: "0"
28
+ }
29
+ } : {}, r ? {
30
+ ".group:hover &": {
31
+ opacity: "1"
32
+ }
33
+ } : {}], w = i(u)(l), x = i(g)(l), M = i(h)(l), k = i.button({
34
+ position: "relative",
35
+ width: "2.5rem",
36
+ height: "2.5rem"
37
+ }), j = ({
38
+ theme: o,
39
+ systemTheme: r,
10
40
  setTheme: c
11
41
  }) => {
12
- const d = l === a, m = d ? t.system : a, [o, y] = M(m), e = (
42
+ const d = r === o, m = d ? t.system : o, [s, y] = p(m), e = (
13
43
  // Start loop
14
44
  // If mode is system, toggle the theme inverse of the system theme
15
- o === t.system ? a === t.dark ? t.light : t.dark : (
45
+ s === t.system ? o === t.dark ? t.light : t.dark : (
16
46
  // Close loop
17
47
  // If current theme same as system theme, reset by toggle the system theme
18
48
  d ? t.system : (
19
49
  // Go to next step
20
50
  // Otherwise, toggle the remaining theme
21
- o === t.light ? t.dark : t.light
51
+ s === t.light ? t.dark : t.light
22
52
  )
23
53
  )
24
- ), i = () => {
25
- e === t.system ? c(l ?? t.light) : c(e), y(e);
26
- }, p = r.button({
27
- position: "relative",
28
- width: "2.5rem",
29
- height: "2.5rem"
30
- }), n = ({
31
- isCurrentMode: w,
32
- isNextMode: x
33
- }) => [{
34
- position: "absolute",
35
- left: "50%",
36
- top: "50%",
37
- "--tw-translate-x": "-50%",
38
- transform: "translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))",
39
- "--tw-translate-y": "-50%"
40
- }, {
41
- opacity: "0",
42
- transitionProperty: "opacity",
43
- transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
44
- transitionDuration: "300ms",
45
- animationDuration: "300ms",
46
- animationTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)"
47
- }, w ? {
48
- opacity: "1",
49
- ".group:hover &": {
50
- opacity: "0"
51
- }
52
- } : {}, x ? {
53
- ".group:hover &": {
54
- opacity: "1"
55
- }
56
- } : {}], u = r(k)(n), g = r(S)(n), h = r(v)(n);
57
- return /* @__PURE__ */ s.jsxs(p, { "aria-label": "Theme selector", className: "group", children: [
58
- /* @__PURE__ */ s.jsx(u, { onClick: i, "data-mode": "system", isCurrentMode: o === t.system, isNextMode: e === t.system }),
59
- /* @__PURE__ */ s.jsx(g, { onClick: i, "data-mode": "light", isCurrentMode: o === t.dark, isNextMode: e === t.dark }),
60
- /* @__PURE__ */ s.jsx(h, { onClick: i, "data-mode": "dark", isCurrentMode: o === t.light, isNextMode: e === t.light })
54
+ ), n = () => {
55
+ e === t.system ? c(r ?? t.light) : c(e), y(e);
56
+ };
57
+ return /* @__PURE__ */ a.jsxs(k, { "aria-label": "Theme selector", className: "group", children: [
58
+ /* @__PURE__ */ a.jsx(w, { onClick: n, "data-mode": "system", $isCurrentMode: s === t.system, $isNextMode: e === t.system }),
59
+ /* @__PURE__ */ a.jsx(x, { onClick: n, "data-mode": "light", $isCurrentMode: s === t.dark, $isNextMode: e === t.dark }),
60
+ /* @__PURE__ */ a.jsx(M, { onClick: n, "data-mode": "dark", $isCurrentMode: s === t.light, $isNextMode: e === t.light })
61
61
  ] });
62
62
  };
63
63
  export {
64
- D as MobileThemeSwitcher
64
+ j as MobileThemeSwitcher
65
65
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./MaxHeightSmoother/index.cjs.js"),n=require("./MaxWidthSmoother/index.cjs.js"),i=require("./RightDrawer/RightDrawer.cjs.js"),o=require("./RightDrawer/useRightDrawerStore.cjs.js"),c=require("./PressableDiv/PressableDiv.cjs.js"),s=require("./ContentEditor/ContentEditor.cjs.js"),a=require("./ContentSelector/ContentSelector.cjs.js"),_=require("./DictionaryEditor/DictionaryEditor.cjs.js"),D=require("./DropDown/index.cjs.js"),h=require("./LocaleSwitcherDropDown/LocaleSwitcher.cjs.js"),p=require("./ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.js"),d=require("./ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.js"),m=require("./ThemeSwitcherDropDown/types.cjs.js"),u=require("./RedirectionButton/RedirectionButton.cjs.js"),w=require("./Button/index.cjs.js"),t=require("./Container/index.cjs.js"),S=require("./Footer/index.cjs.js"),q=require("./Navbar/index.cjs.js"),l=require("./ProfileDropDown/index.cjs.js"),g=require("./Avatar/index.cjs.js"),x=require("./Logo/index.cjs.js"),R=require("./IDE/CodeRender.cjs.js"),C=require("./IDE/IDE.cjs.js"),M=require("./Popover/index.cjs.js"),v=require("./MarkDownRender/index.cjs.js"),e=require("./Headers/index.cjs.js");exports.MaxHeightSmoother=r.MaxHeightSmoother;exports.MaxWidthSmoother=n.MaxWidthSmoother;exports.RightDrawer=i.RightDrawer;exports.createRightDrawerStore=o.createRightDrawerStore;exports.useRightDrawerStore=o.useRightDrawerStore;exports.PressableDiv=c.PressableDiv;exports.ContentEditor=s.ContentEditor;exports.ContentSelector=a.ContentSelector;exports.DictionaryEditor=_.DictionaryEditor;exports.DropDown=D.DropDown;exports.LocaleSwitcher=h.LocaleSwitcher;exports.DesktopThemeSwitcher=p.DesktopThemeSwitcher;exports.MobileThemeSwitcher=d.MobileThemeSwitcher;exports.Modes=m.Modes;exports.RedirectionButton=u.RedirectionButton;exports.Button=w.Button;exports.Container=t.Container;exports.getContainerStyles=t.getContainerStyles;exports.Footer=S.Footer;exports.Navbar=q.Navbar;exports.ProfileDropDown=l.ProfileDropDown;exports.Avatar=g.Avatar;exports.Logo=x.Logo;exports.Code=R.Code;exports.IDE=C.IDE;exports.Popover=M.Popover;exports.MarkdownRenderer=v.MarkdownRenderer;exports.H1=e.H1;exports.H2=e.H2;exports.H3=e.H3;exports.H4=e.H4;exports.H5=e.H5;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./MaxHeightSmoother/index.cjs.js"),n=require("./MaxWidthSmoother/index.cjs.js"),i=require("./RightDrawer/RightDrawer.cjs.js"),o=require("./RightDrawer/useRightDrawerStore.cjs.js"),c=require("./PressableDiv/PressableDiv.cjs.js"),s=require("./ContentEditor/ContentEditor.cjs.js"),a=require("./ContentSelector/ContentSelector.cjs.js"),_=require("./DictionaryEditor/DictionaryEditor.cjs.js"),D=require("./DropDown/index.cjs.js"),d=require("./LocaleSwitcherDropDown/LocaleSwitcher.cjs.js"),p=require("./ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.js"),h=require("./ThemeSwitcherDropDown/MobileThemeSwitcher.cjs.js"),m=require("./ThemeSwitcherDropDown/types.cjs.js"),u=require("./RedirectionButton/RedirectionButton.cjs.js"),w=require("./Button/index.cjs.js"),t=require("./Container/index.cjs.js"),S=require("./Footer/index.cjs.js"),q=require("./Navbar/index.cjs.js"),l=require("./ProfileDropDown/index.cjs.js"),g=require("./Avatar/index.cjs.js"),x=require("./Logo/index.cjs.js"),R=require("./IDE/CodeRender.cjs.js"),C=require("./IDE/IDE.cjs.js"),M=require("./Popover/index.cjs.js"),v=require("./MarkDownRender/index.cjs.js"),e=require("./Headers/index.cjs.js"),H=require("./Loader/index.cjs.js");exports.MaxHeightSmoother=r.MaxHeightSmoother;exports.MaxWidthSmoother=n.MaxWidthSmoother;exports.RightDrawer=i.RightDrawer;exports.createRightDrawerStore=o.createRightDrawerStore;exports.useRightDrawerStore=o.useRightDrawerStore;exports.PressableDiv=c.PressableDiv;exports.ContentEditor=s.ContentEditor;exports.ContentSelector=a.ContentSelector;exports.DictionaryEditor=_.DictionaryEditor;exports.DropDown=D.DropDown;exports.LocaleSwitcher=d.LocaleSwitcher;exports.DesktopThemeSwitcher=p.DesktopThemeSwitcher;exports.MobileThemeSwitcher=h.MobileThemeSwitcher;exports.Modes=m.Modes;exports.RedirectionButton=u.RedirectionButton;exports.Button=w.Button;exports.Container=t.Container;exports.getContainerStyles=t.getContainerStyles;exports.Footer=S.Footer;exports.Navbar=q.Navbar;exports.ProfileDropDown=l.ProfileDropDown;exports.Avatar=g.Avatar;exports.Logo=x.Logo;exports.Code=R.Code;exports.IDE=C.IDE;exports.Popover=M.Popover;exports.MarkdownRenderer=v.MarkdownRenderer;exports.H1=e.H1;exports.H2=e.H2;exports.H3=e.H3;exports.H4=e.H4;exports.H5=e.H5;exports.Loader=H.Loader;
@@ -20,3 +20,4 @@ export * from './IDE';
20
20
  export * from './Popover';
21
21
  export * from './MarkDownRender';
22
22
  export * from './Headers';
23
+ export * from './Loader';
@@ -2,18 +2,18 @@
2
2
  import { MaxHeightSmoother as e } from "./MaxHeightSmoother/index.es.js";
3
3
  import { MaxWidthSmoother as m } from "./MaxWidthSmoother/index.es.js";
4
4
  import { RightDrawer as x } from "./RightDrawer/RightDrawer.es.js";
5
- import { createRightDrawerStore as i, useRightDrawerStore as n } from "./RightDrawer/useRightDrawerStore.es.js";
5
+ import { createRightDrawerStore as i, useRightDrawerStore as a } from "./RightDrawer/useRightDrawerStore.es.js";
6
6
  import { PressableDiv as h } from "./PressableDiv/PressableDiv.es.js";
7
7
  import { ContentEditor as c } from "./ContentEditor/ContentEditor.es.js";
8
- import { ContentSelector as S } from "./ContentSelector/ContentSelector.es.js";
8
+ import { ContentSelector as w } from "./ContentSelector/ContentSelector.es.js";
9
9
  import { DictionaryEditor as l } from "./DictionaryEditor/DictionaryEditor.es.js";
10
10
  import { DropDown as g } from "./DropDown/index.es.js";
11
11
  import { LocaleSwitcher as C } from "./LocaleSwitcherDropDown/LocaleSwitcher.es.js";
12
12
  import { DesktopThemeSwitcher as R } from "./ThemeSwitcherDropDown/DesktopThemeSwitcher.es.js";
13
13
  import { MobileThemeSwitcher as v } from "./ThemeSwitcherDropDown/MobileThemeSwitcher.es.js";
14
14
  import { Modes as E } from "./ThemeSwitcherDropDown/types.es.js";
15
- import { RedirectionButton as k } from "./RedirectionButton/RedirectionButton.es.js";
16
- import { Button as B } from "./Button/index.es.js";
15
+ import { RedirectionButton as P } from "./RedirectionButton/RedirectionButton.es.js";
16
+ import { Button as y } from "./Button/index.es.js";
17
17
  import { Container as T, getContainerStyles as A } from "./Container/index.es.js";
18
18
  import { Footer as I } from "./Footer/index.es.js";
19
19
  import { Navbar as W } from "./Navbar/index.es.js";
@@ -25,13 +25,14 @@ import { IDE as V } from "./IDE/IDE.es.js";
25
25
  import { Popover as Y } from "./Popover/index.es.js";
26
26
  import { MarkdownRenderer as _ } from "./MarkDownRender/index.es.js";
27
27
  import { H1 as oo, H2 as ro, H3 as eo, H4 as to, H5 as mo } from "./Headers/index.es.js";
28
+ import { Loader as xo } from "./Loader/index.es.js";
28
29
  export {
29
30
  G as Avatar,
30
- B as Button,
31
+ y as Button,
31
32
  Q as Code,
32
33
  T as Container,
33
34
  c as ContentEditor,
34
- S as ContentSelector,
35
+ w as ContentSelector,
35
36
  R as DesktopThemeSwitcher,
36
37
  l as DictionaryEditor,
37
38
  g as DropDown,
@@ -42,6 +43,7 @@ export {
42
43
  to as H4,
43
44
  mo as H5,
44
45
  V as IDE,
46
+ xo as Loader,
45
47
  C as LocaleSwitcher,
46
48
  K as Logo,
47
49
  _ as MarkdownRenderer,
@@ -53,9 +55,9 @@ export {
53
55
  Y as Popover,
54
56
  h as PressableDiv,
55
57
  q as ProfileDropDown,
56
- k as RedirectionButton,
58
+ P as RedirectionButton,
57
59
  x as RightDrawer,
58
60
  i as createRightDrawerStore,
59
61
  A as getContainerStyles,
60
- n as useRightDrawerStore
62
+ a as useRightDrawerStore
61
63
  };