@mindlogic-ai/logician-ui 4.0.0-alpha.7 → 4.0.0-alpha.9
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/components/Loaders/PageLoader.d.ts.map +1 -1
- package/dist/components/Loaders/PageLoader.js +2 -2
- package/dist/components/Loaders/PageLoader.js.map +1 -1
- package/dist/components/Loaders/PageLoader.mjs +2 -2
- package/dist/components/Loaders/PageLoader.mjs.map +1 -1
- package/dist/components/Loaders/SectionLoader.d.ts.map +1 -1
- package/dist/components/Loaders/SectionLoader.js +2 -2
- package/dist/components/Loaders/SectionLoader.js.map +1 -1
- package/dist/components/Loaders/SectionLoader.mjs +2 -2
- package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
- package/dist/theme/global.d.ts.map +1 -1
- package/dist/theme/global.js +4 -1
- package/dist/theme/global.js.map +1 -1
- package/dist/theme/global.mjs +4 -1
- package/dist/theme/global.mjs.map +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/index.mjs +1 -1
- package/package.json +1 -2
- package/src/components/Loaders/PageLoader.tsx +3 -5
- package/src/components/Loaders/SectionLoader.tsx +3 -2
- package/src/theme/global.ts +4 -1
- package/src/theme/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLoader.d.ts","sourceRoot":"","sources":["../../../src/components/Loaders/PageLoader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PageLoader.d.ts","sourceRoot":"","sources":["../../../src/components/Loaders/PageLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIxD,eAAO,MAAM,UAAU,GAAI,wBAGxB,SAAS,GAAG;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,4CAqBpC,CAAC"}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var BounceLoader = require('react-spinners/BounceLoader');
|
|
6
5
|
var react = require('@chakra-ui/react');
|
|
6
|
+
var Spinner = require('../Spinner/Spinner.js');
|
|
7
7
|
|
|
8
8
|
const PageLoader = ({ isLoading, ...rest }) => {
|
|
9
|
-
return (jsxRuntime.jsx(react.Flex, { position: "fixed", w: "100vw", h: "100vh", top: 0, left: 0, align: "center", justify: "center", opacity: isLoading ? 0.5 : 0, transition: "0.3s opacity ease", bg: "bg.canvas", zIndex: 9999, ...rest, children: jsxRuntime.jsx(react.Box, { position: "relative", children: jsxRuntime.jsx(
|
|
9
|
+
return (jsxRuntime.jsx(react.Flex, { position: "fixed", w: "100vw", h: "100vh", top: 0, left: 0, align: "center", justify: "center", opacity: isLoading ? 0.5 : 0, transition: "0.3s opacity ease", bg: "bg.canvas", zIndex: 9999, ...rest, children: jsxRuntime.jsx(react.Box, { position: "relative", children: jsxRuntime.jsx(Spinner.Spinner, { boxSize: "60px", borderWidth: "6px", css: { zIndex: 999 } }) }) }));
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.PageLoader = PageLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLoader.js","sources":["../../../src/components/Loaders/PageLoader.tsx"],"sourcesContent":[null],"names":["_jsx","Flex","Box"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"PageLoader.js","sources":["../../../src/components/Loaders/PageLoader.tsx"],"sourcesContent":[null],"names":["_jsx","Flex","Box","Spinner"],"mappings":";;;;;;;AAIO,MAAM,UAAU,GAAG,CAAC,EACzB,SAAS,EACT,GAAG,IAAI,EAC4B,KAAI;AACvC,IAAA,QACEA,cAAA,CAACC,UAAI,IACH,QAAQ,EAAC,OAAO,EAChB,CAAC,EAAC,OAAO,EACT,CAAC,EAAC,OAAO,EACT,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EACP,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,SAAS,GAAG,GAAG,GAAG,CAAC,EAC5B,UAAU,EAAC,mBAAmB,EAC9B,EAAE,EAAC,WAAW,EACd,MAAM,EAAE,IAAI,EAAA,GACR,IAAI,YAERD,cAAA,CAACE,SAAG,IAAC,QAAQ,EAAC,UAAU,EAAA,QAAA,EACtBF,cAAA,CAACG,eAAO,EAAA,EAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,KAAK,EAAC,GAAG,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAI,EAAA,CAC9D,EAAA,CACD;AAEX;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import BounceLoader from 'react-spinners/BounceLoader';
|
|
4
3
|
import { Flex, Box } from '@chakra-ui/react';
|
|
4
|
+
import { Spinner } from '../Spinner/Spinner.mjs';
|
|
5
5
|
|
|
6
6
|
const PageLoader = ({ isLoading, ...rest }) => {
|
|
7
|
-
return (jsx(Flex, { position: "fixed", w: "100vw", h: "100vh", top: 0, left: 0, align: "center", justify: "center", opacity: isLoading ? 0.5 : 0, transition: "0.3s opacity ease", bg: "bg.canvas", zIndex: 9999, ...rest, children: jsx(Box, { position: "relative", children: jsx(
|
|
7
|
+
return (jsx(Flex, { position: "fixed", w: "100vw", h: "100vh", top: 0, left: 0, align: "center", justify: "center", opacity: isLoading ? 0.5 : 0, transition: "0.3s opacity ease", bg: "bg.canvas", zIndex: 9999, ...rest, children: jsx(Box, { position: "relative", children: jsx(Spinner, { boxSize: "60px", borderWidth: "6px", css: { zIndex: 999 } }) }) }));
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { PageLoader };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLoader.mjs","sources":["../../../src/components/Loaders/PageLoader.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"PageLoader.mjs","sources":["../../../src/components/Loaders/PageLoader.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAIO,MAAM,UAAU,GAAG,CAAC,EACzB,SAAS,EACT,GAAG,IAAI,EAC4B,KAAI;AACvC,IAAA,QACEA,GAAA,CAAC,IAAI,IACH,QAAQ,EAAC,OAAO,EAChB,CAAC,EAAC,OAAO,EACT,CAAC,EAAC,OAAO,EACT,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EACP,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,SAAS,GAAG,GAAG,GAAG,CAAC,EAC5B,UAAU,EAAC,mBAAmB,EAC9B,EAAE,EAAC,WAAW,EACd,MAAM,EAAE,IAAI,EAAA,GACR,IAAI,YAERA,GAAA,CAAC,GAAG,IAAC,QAAQ,EAAC,UAAU,EAAA,QAAA,EACtBA,GAAA,CAAC,OAAO,EAAA,EAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,KAAK,EAAC,GAAG,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAI,EAAA,CAC9D,EAAA,CACD;AAEX;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionLoader.d.ts","sourceRoot":"","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionLoader.d.ts","sourceRoot":"","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAInD,eAAO,MAAM,aAAa,GAAI,wBAG3B,SAAS,GAAG;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,4CAmBpC,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var DotLoader = require('react-spinners/DotLoader');
|
|
6
5
|
var react = require('@chakra-ui/react');
|
|
6
|
+
var Spinner = require('../Spinner/Spinner.js');
|
|
7
7
|
|
|
8
8
|
const SectionLoader = ({ isLoading, ...rest }) => {
|
|
9
9
|
if (!isLoading)
|
|
10
10
|
return;
|
|
11
|
-
return (jsxRuntime.jsx(react.Flex, { position: "absolute", w: "100%", h: "100%", top: 0, left: 0, align: "center", justify: "center", bg: "bg.canvas", transition: "0.3 opacity ease", zIndex: 9999, ...rest, children: jsxRuntime.jsx(
|
|
11
|
+
return (jsxRuntime.jsx(react.Flex, { position: "absolute", w: "100%", h: "100%", top: 0, left: 0, align: "center", justify: "center", bg: "bg.canvas", transition: "0.3 opacity ease", zIndex: 9999, ...rest, children: jsxRuntime.jsx(Spinner.Spinner, { boxSize: "60px", borderWidth: "6px" }) }));
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.SectionLoader = SectionLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionLoader.js","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"sourcesContent":[null],"names":["_jsx","Flex"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"SectionLoader.js","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"sourcesContent":[null],"names":["_jsx","Flex","Spinner"],"mappings":";;;;;;;AAIO,MAAM,aAAa,GAAG,CAAC,EAC5B,SAAS,EACT,GAAG,IAAI,EAC4B,KAAI;AACvC,IAAA,IAAI,CAAC,SAAS;QAAE;IAChB,QACEA,cAAA,CAACC,UAAI,EAAA,EACH,QAAQ,EAAC,UAAU,EACnB,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EACP,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,EAAE,EAAC,WAAW,EACd,UAAU,EAAC,kBAAkB,EAC7B,MAAM,EAAE,IAAI,EAAA,GACR,IAAI,EAAA,QAAA,EAERD,cAAA,CAACE,eAAO,EAAA,EAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,KAAK,EAAA,CAAG,EAAA,CACvC;AAEX;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import DotLoader from 'react-spinners/DotLoader';
|
|
4
3
|
import { Flex } from '@chakra-ui/react';
|
|
4
|
+
import { Spinner } from '../Spinner/Spinner.mjs';
|
|
5
5
|
|
|
6
6
|
const SectionLoader = ({ isLoading, ...rest }) => {
|
|
7
7
|
if (!isLoading)
|
|
8
8
|
return;
|
|
9
|
-
return (jsx(Flex, { position: "absolute", w: "100%", h: "100%", top: 0, left: 0, align: "center", justify: "center", bg: "bg.canvas", transition: "0.3 opacity ease", zIndex: 9999, ...rest, children: jsx(
|
|
9
|
+
return (jsx(Flex, { position: "absolute", w: "100%", h: "100%", top: 0, left: 0, align: "center", justify: "center", bg: "bg.canvas", transition: "0.3 opacity ease", zIndex: 9999, ...rest, children: jsx(Spinner, { boxSize: "60px", borderWidth: "6px" }) }));
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export { SectionLoader };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionLoader.mjs","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"SectionLoader.mjs","sources":["../../../src/components/Loaders/SectionLoader.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAIO,MAAM,aAAa,GAAG,CAAC,EAC5B,SAAS,EACT,GAAG,IAAI,EAC4B,KAAI;AACvC,IAAA,IAAI,CAAC,SAAS;QAAE;IAChB,QACEA,GAAA,CAAC,IAAI,EAAA,EACH,QAAQ,EAAC,UAAU,EACnB,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EACP,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,EAAE,EAAC,WAAW,EACd,UAAU,EAAC,kBAAkB,EAC7B,MAAM,EAAE,IAAI,EAAA,GACR,IAAI,EAAA,QAAA,EAERA,GAAA,CAAC,OAAO,EAAA,EAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,KAAK,EAAA,CAAG,EAAA,CACvC;AAEX;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/theme/global.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/theme/global.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,8CAuEpB,CAAC;AAGH,eAAO,MAAM,MAAM,8CAAY,CAAC"}
|
package/dist/theme/global.js
CHANGED
|
@@ -26,7 +26,10 @@ const globalCss = react.defineGlobalStyles({
|
|
|
26
26
|
},
|
|
27
27
|
html: {
|
|
28
28
|
height: 'var(--chakra-vh)',
|
|
29
|
-
|
|
29
|
+
// Global base font size. The whole type/spacing scale is em-relative, so
|
|
30
|
+
// this single value drives the app-wide baseline; surfaces that need a
|
|
31
|
+
// different base (e.g. FactChat chat at 16px) opt in via <ScaledContext>.
|
|
32
|
+
fontSize: 14,
|
|
30
33
|
fontFamily: [
|
|
31
34
|
font.pretendard.style.fontFamily,
|
|
32
35
|
font.inter.style.fontFamily,
|
package/dist/theme/global.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global.js","sources":["../../src/theme/global.ts"],"sourcesContent":[null],"names":["defineGlobalStyles","pretendard","inter","noto"],"mappings":";;;;;;AAIA;;;;;;;AAOG;AACI,MAAM,SAAS,GAAGA,wBAAkB,CAAC;;AAE1C,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;;;AAID,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;AAED,IAAA,IAAI,EAAE;AACJ,QAAA,MAAM,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"global.js","sources":["../../src/theme/global.ts"],"sourcesContent":[null],"names":["defineGlobalStyles","pretendard","inter","noto"],"mappings":";;;;;;AAIA;;;;;;;AAOG;AACI,MAAM,SAAS,GAAGA,wBAAkB,CAAC;;AAE1C,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;;;AAID,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;AAED,IAAA,IAAI,EAAE;AACJ,QAAA,MAAM,EAAE,kBAAkB;;;;AAI1B,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,UAAU,EAAE;YACVC,eAAU,CAAC,KAAK,CAAC,UAAU;YAC3BC,UAAK,CAAC,KAAK,CAAC,UAAU;YACtBC,SAAI,CAAC,KAAK,CAAC,UAAU;SACtB,CAAC,IAAI,CAAC,GAAG,CAAC;AACX,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AAED,IAAA,YAAY,EAAE;;;;AAIZ,QAAA,KAAK,EAAE,YAAY;AACpB,KAAA;AAED,IAAA,SAAS,EAAE;AACT,QAAA,MAAM,EAAE,kBAAkB;AAC3B,KAAA;AACD,IAAA,sBAAsB,EAAE;AACtB,QAAA,UAAU,EAAED,UAAK,CAAC,KAAK,CAAC,UAAU;AACnC,KAAA;;;;;;AAOD,IAAA,GAAG,EAAE;AACH,QAAA,cAAc,EAAE,MAAM;AACtB,QAAA,cAAc,EAAE,4CAA4C;AAC7D,KAAA;AACD,IAAA,qBAAqB,EAAE;AACrB,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,MAAM,EAAE,MAAM;AACf,KAAA;AACD,IAAA,2BAA2B,EAAE;AAC3B,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AACD,IAAA,2BAA2B,EAAE;AAC3B,QAAA,eAAe,EAAE,gCAAgC;AACjD,QAAA,YAAY,EAAE,QAAQ;AACtB,QAAA,MAAM,EAAE,uBAAuB;AAC/B,QAAA,cAAc,EAAE,aAAa;AAC9B,KAAA;AACD,IAAA,iCAAiC,EAAE;AACjC,QAAA,eAAe,EAAE,gCAAgC;AAClD,KAAA;AACD,IAAA,4BAA4B,EAAE;AAC5B,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AACF,CAAA;;;;"}
|
package/dist/theme/global.mjs
CHANGED
|
@@ -24,7 +24,10 @@ const globalCss = defineGlobalStyles({
|
|
|
24
24
|
},
|
|
25
25
|
html: {
|
|
26
26
|
height: 'var(--chakra-vh)',
|
|
27
|
-
|
|
27
|
+
// Global base font size. The whole type/spacing scale is em-relative, so
|
|
28
|
+
// this single value drives the app-wide baseline; surfaces that need a
|
|
29
|
+
// different base (e.g. FactChat chat at 16px) opt in via <ScaledContext>.
|
|
30
|
+
fontSize: 14,
|
|
28
31
|
fontFamily: [
|
|
29
32
|
pretendard.style.fontFamily,
|
|
30
33
|
inter.style.fontFamily,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global.mjs","sources":["../../src/theme/global.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAIA;;;;;;;AAOG;AACI,MAAM,SAAS,GAAG,kBAAkB,CAAC;;AAE1C,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;;;AAID,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;AAED,IAAA,IAAI,EAAE;AACJ,QAAA,MAAM,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"global.mjs","sources":["../../src/theme/global.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAIA;;;;;;;AAOG;AACI,MAAM,SAAS,GAAG,kBAAkB,CAAC;;AAE1C,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;;;AAID,IAAA,OAAO,EAAE;QACP,kCAAkC,EAAE,SAAS;QAC7C,gCAAgC,EAAE,SAAS;AAC5C,KAAA;AAED,IAAA,IAAI,EAAE;AACJ,QAAA,MAAM,EAAE,kBAAkB;;;;AAI1B,QAAA,QAAQ,EAAE,EAAE;AACZ,QAAA,UAAU,EAAE;YACV,UAAU,CAAC,KAAK,CAAC,UAAU;YAC3B,KAAK,CAAC,KAAK,CAAC,UAAU;YACtB,IAAI,CAAC,KAAK,CAAC,UAAU;SACtB,CAAC,IAAI,CAAC,GAAG,CAAC;AACX,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AAED,IAAA,YAAY,EAAE;;;;AAIZ,QAAA,KAAK,EAAE,YAAY;AACpB,KAAA;AAED,IAAA,SAAS,EAAE;AACT,QAAA,MAAM,EAAE,kBAAkB;AAC3B,KAAA;AACD,IAAA,sBAAsB,EAAE;AACtB,QAAA,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU;AACnC,KAAA;;;;;;AAOD,IAAA,GAAG,EAAE;AACH,QAAA,cAAc,EAAE,MAAM;AACtB,QAAA,cAAc,EAAE,4CAA4C;AAC7D,KAAA;AACD,IAAA,qBAAqB,EAAE;AACrB,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,MAAM,EAAE,MAAM;AACf,KAAA;AACD,IAAA,2BAA2B,EAAE;AAC3B,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AACD,IAAA,2BAA2B,EAAE;AAC3B,QAAA,eAAe,EAAE,gCAAgC;AACjD,QAAA,YAAY,EAAE,QAAQ;AACtB,QAAA,MAAM,EAAE,uBAAuB;AAC/B,QAAA,cAAc,EAAE,aAAa;AAC9B,KAAA;AACD,IAAA,iCAAiC,EAAE;AACjC,QAAA,eAAe,EAAE,gCAAgC;AAClD,KAAA;AACD,IAAA,4BAA4B,EAAE;AAC5B,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AACF,CAAA;;;;"}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Text styles for consistent typography across the application
|
|
3
3
|
* Names match fontSize tokens for easy migration: fontStyle="h1" → textStyle="h1"
|
|
4
4
|
*
|
|
5
|
-
* Base font size:
|
|
5
|
+
* Base font size: 14px (set in global.ts)
|
|
6
6
|
* Responsive scaling using em units (relative to nearest ancestor font-size):
|
|
7
7
|
* - Mobile (base): Slightly smaller for better readability on small screens
|
|
8
8
|
* - Desktop (md+): Original design sizes
|
package/dist/theme/index.js
CHANGED
|
@@ -72,7 +72,7 @@ const SHARED_TEXT_STYLE_VALUES = {
|
|
|
72
72
|
* Text styles for consistent typography across the application
|
|
73
73
|
* Names match fontSize tokens for easy migration: fontStyle="h1" → textStyle="h1"
|
|
74
74
|
*
|
|
75
|
-
* Base font size:
|
|
75
|
+
* Base font size: 14px (set in global.ts)
|
|
76
76
|
* Responsive scaling using em units (relative to nearest ancestor font-size):
|
|
77
77
|
* - Mobile (base): Slightly smaller for better readability on small screens
|
|
78
78
|
* - Desktop (md+): Original design sizes
|
package/dist/theme/index.mjs
CHANGED
|
@@ -68,7 +68,7 @@ const SHARED_TEXT_STYLE_VALUES = {
|
|
|
68
68
|
* Text styles for consistent typography across the application
|
|
69
69
|
* Names match fontSize tokens for easy migration: fontStyle="h1" → textStyle="h1"
|
|
70
70
|
*
|
|
71
|
-
* Base font size:
|
|
71
|
+
* Base font size: 14px (set in global.ts)
|
|
72
72
|
* Responsive scaling using em units (relative to nearest ancestor font-size):
|
|
73
73
|
* - Mobile (base): Slightly smaller for better readability on small screens
|
|
74
74
|
* - Desktop (md+): Original design sizes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindlogic-ai/logician-ui",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.9",
|
|
4
4
|
"description": "A comprehensive React design system built on Chakra UI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"polished": "^4.3.0",
|
|
73
73
|
"react-markdown": "^10.1.0",
|
|
74
74
|
"react-pin-input": "^1.3.0",
|
|
75
|
-
"react-spinners": "^0.17.0",
|
|
76
75
|
"recharts": "^3.1.2",
|
|
77
76
|
"rehype-katex": "^7.0.1",
|
|
78
77
|
"rehype-raw": "^7.0.0",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import BounceLoader from 'react-spinners/BounceLoader';
|
|
2
1
|
import { Box, Flex, FlexProps } from '@chakra-ui/react';
|
|
3
2
|
|
|
3
|
+
import { Spinner } from '@/components/Spinner';
|
|
4
|
+
|
|
4
5
|
export const PageLoader = ({
|
|
5
6
|
isLoading,
|
|
6
7
|
...rest
|
|
@@ -21,10 +22,7 @@ export const PageLoader = ({
|
|
|
21
22
|
{...rest}
|
|
22
23
|
>
|
|
23
24
|
<Box position="relative">
|
|
24
|
-
<
|
|
25
|
-
color="var(--chakra-colors-primary-main)"
|
|
26
|
-
style={{ zIndex: 999 }}
|
|
27
|
-
/>
|
|
25
|
+
<Spinner boxSize="60px" borderWidth="6px" css={{ zIndex: 999 }} />
|
|
28
26
|
</Box>
|
|
29
27
|
</Flex>
|
|
30
28
|
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import DotLoader from 'react-spinners/DotLoader';
|
|
2
1
|
import { Flex, FlexProps } from '@chakra-ui/react';
|
|
3
2
|
|
|
3
|
+
import { Spinner } from '@/components/Spinner';
|
|
4
|
+
|
|
4
5
|
export const SectionLoader = ({
|
|
5
6
|
isLoading,
|
|
6
7
|
...rest
|
|
@@ -20,7 +21,7 @@ export const SectionLoader = ({
|
|
|
20
21
|
zIndex={9999}
|
|
21
22
|
{...rest}
|
|
22
23
|
>
|
|
23
|
-
<
|
|
24
|
+
<Spinner boxSize="60px" borderWidth="6px" />
|
|
24
25
|
</Flex>
|
|
25
26
|
);
|
|
26
27
|
};
|
package/src/theme/global.ts
CHANGED
|
@@ -26,7 +26,10 @@ export const globalCss = defineGlobalStyles({
|
|
|
26
26
|
|
|
27
27
|
html: {
|
|
28
28
|
height: 'var(--chakra-vh)',
|
|
29
|
-
|
|
29
|
+
// Global base font size. The whole type/spacing scale is em-relative, so
|
|
30
|
+
// this single value drives the app-wide baseline; surfaces that need a
|
|
31
|
+
// different base (e.g. FactChat chat at 16px) opt in via <ScaledContext>.
|
|
32
|
+
fontSize: 14,
|
|
30
33
|
fontFamily: [
|
|
31
34
|
pretendard.style.fontFamily,
|
|
32
35
|
inter.style.fontFamily,
|
package/src/theme/index.ts
CHANGED
|
@@ -74,7 +74,7 @@ const SHARED_TEXT_STYLE_VALUES = {
|
|
|
74
74
|
* Text styles for consistent typography across the application
|
|
75
75
|
* Names match fontSize tokens for easy migration: fontStyle="h1" → textStyle="h1"
|
|
76
76
|
*
|
|
77
|
-
* Base font size:
|
|
77
|
+
* Base font size: 14px (set in global.ts)
|
|
78
78
|
* Responsive scaling using em units (relative to nearest ancestor font-size):
|
|
79
79
|
* - Mobile (base): Slightly smaller for better readability on small screens
|
|
80
80
|
* - Desktop (md+): Original design sizes
|