@mindlogic-ai/logician-ui 3.2.0-alpha.5 → 4.0.0-alpha.10
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/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tag/Tag.mjs +1 -1
- package/dist/components/Tag/Tag.mjs.map +1 -1
- package/dist/components/Tag/Tag.styles.d.ts.map +1 -1
- package/dist/components/Tag/Tag.styles.js +22 -16
- package/dist/components/Tag/Tag.styles.js.map +1 -1
- package/dist/components/Tag/Tag.styles.mjs +22 -16
- package/dist/components/Tag/Tag.styles.mjs.map +1 -1
- package/dist/components/Tree/Tree.d.ts +5 -1
- package/dist/components/Tree/Tree.d.ts.map +1 -1
- package/dist/components/Tree/Tree.types.d.ts +29 -1
- package/dist/components/Tree/Tree.types.d.ts.map +1 -1
- package/dist/components/Tree/TreeBranchIndentGuide.d.ts +5 -1
- package/dist/components/Tree/TreeBranchIndentGuide.d.ts.map +1 -1
- package/dist/components/Tree/TreeBranchIndentGuide.js +107 -8
- package/dist/components/Tree/TreeBranchIndentGuide.js.map +1 -1
- package/dist/components/Tree/TreeBranchIndentGuide.mjs +107 -8
- package/dist/components/Tree/TreeBranchIndentGuide.mjs.map +1 -1
- package/dist/components/Typography/Link.d.ts.map +1 -1
- package/dist/components/Typography/Link.js +6 -1
- package/dist/components/Typography/Link.js.map +1 -1
- package/dist/components/Typography/Link.mjs +6 -1
- package/dist/components/Typography/Link.mjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.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.d.ts.map +1 -1
- package/dist/theme/index.js +8 -4
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +8 -4
- package/dist/theme/index.mjs.map +1 -1
- package/package.json +1 -3
- package/src/components/Loaders/PageLoader.tsx +3 -5
- package/src/components/Loaders/SectionLoader.tsx +3 -2
- package/src/components/Tag/Tag.styles.ts +22 -16
- package/src/components/Tag/Tag.tsx +1 -0
- package/src/components/Tree/Tree.GuideElbow.stories.tsx +220 -0
- package/src/components/Tree/Tree.types.ts +29 -1
- package/src/components/Tree/TreeBranchIndentGuide.test.tsx +213 -0
- package/src/components/Tree/TreeBranchIndentGuide.tsx +137 -11
- package/src/components/Typography/Link.tsx +5 -1
- package/src/index.ts +0 -1
- package/src/theme/global.ts +4 -1
- package/src/theme/index.ts +8 -4
- package/dist/components/MDXEditor/MDXEditor.d.ts +0 -6
- package/dist/components/MDXEditor/MDXEditor.d.ts.map +0 -1
- package/dist/components/MDXEditor/MDXEditor.js +0 -237
- package/dist/components/MDXEditor/MDXEditor.js.map +0 -1
- package/dist/components/MDXEditor/MDXEditor.mjs +0 -235
- package/dist/components/MDXEditor/MDXEditor.mjs.map +0 -1
- package/dist/components/MDXEditor/MDXEditor.types.d.ts +0 -7
- package/dist/components/MDXEditor/MDXEditor.types.d.ts.map +0 -1
- package/dist/components/MDXEditor/index.d.ts +0 -3
- package/dist/components/MDXEditor/index.d.ts.map +0 -1
- package/src/components/MDXEditor/MDXEditor.css +0 -40
- package/src/components/MDXEditor/MDXEditor.stories.tsx +0 -56
- package/src/components/MDXEditor/MDXEditor.tsx +0 -337
- package/src/components/MDXEditor/MDXEditor.types.ts +0 -7
- package/src/components/MDXEditor/index.ts +0 -2
|
@@ -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":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,GAAG,qGAsBf,CAAC"}
|
|
@@ -27,7 +27,7 @@ var Tag_styles = require('./Tag.styles.js');
|
|
|
27
27
|
*/
|
|
28
28
|
const Tag = React.forwardRef(({ colorPalette = 'neutral', variant = 'soft', children, ...rest }, ref) => {
|
|
29
29
|
const styles = Tag_styles.getTagStyles(colorPalette, variant);
|
|
30
|
-
return (jsxRuntime.jsx(react.Tag.Root, { border: "1px solid", borderRadius: "md", boxShadow: "none", fontSize: "sm", ...styles, ...rest, ref: ref, children: children }));
|
|
30
|
+
return (jsxRuntime.jsx(react.Tag.Root, { border: "1px solid", borderRadius: "md", boxShadow: "none", fontSize: "sm", fontWeight: "semibold", ...styles, ...rest, ref: ref, children: children }));
|
|
31
31
|
});
|
|
32
32
|
Tag.displayName = 'Tag';
|
|
33
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.js","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["forwardRef","getTagStyles","_jsx","ChakraTag"],"mappings":";;;;;;;;AAMA;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,GAAG,GAAGA,gBAAU,CAC3B,CACE,EAAE,YAAY,GAAG,SAAS,EAAE,OAAO,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAY,EAC3E,GAAkC,KAChC;IACF,MAAM,MAAM,GAAGC,uBAAY,CAAC,YAAY,EAAE,OAAO,CAAC;AAElD,IAAA,QACEC,cAAA,CAACC,SAAS,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"Tag.js","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["forwardRef","getTagStyles","_jsx","ChakraTag"],"mappings":";;;;;;;;AAMA;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,GAAG,GAAGA,gBAAU,CAC3B,CACE,EAAE,YAAY,GAAG,SAAS,EAAE,OAAO,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAY,EAC3E,GAAkC,KAChC;IACF,MAAM,MAAM,GAAGC,uBAAY,CAAC,YAAY,EAAE,OAAO,CAAC;AAElD,IAAA,QACEC,cAAA,CAACC,SAAS,CAAC,IAAI,IACb,MAAM,EAAC,WAAW,EAClB,YAAY,EAAC,IAAI,EACjB,SAAS,EAAC,MAAM,EAChB,QAAQ,EAAC,IAAI,EACb,UAAU,EAAC,UAAU,KACjB,MAAM,EAAA,GACN,IAAI,EACR,GAAG,EAAE,GAAG,YAEP,QAAQ,EAAA,CACM;AAErB,CAAC;AAGH,GAAG,CAAC,WAAW,GAAG,KAAK;;;;"}
|
|
@@ -25,7 +25,7 @@ import { getTagStyles } from './Tag.styles.mjs';
|
|
|
25
25
|
*/
|
|
26
26
|
const Tag = forwardRef(({ colorPalette = 'neutral', variant = 'soft', children, ...rest }, ref) => {
|
|
27
27
|
const styles = getTagStyles(colorPalette, variant);
|
|
28
|
-
return (jsx(Tag$1.Root, { border: "1px solid", borderRadius: "md", boxShadow: "none", fontSize: "sm", ...styles, ...rest, ref: ref, children: children }));
|
|
28
|
+
return (jsx(Tag$1.Root, { border: "1px solid", borderRadius: "md", boxShadow: "none", fontSize: "sm", fontWeight: "semibold", ...styles, ...rest, ref: ref, children: children }));
|
|
29
29
|
});
|
|
30
30
|
Tag.displayName = 'Tag';
|
|
31
31
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.mjs","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraTag"],"mappings":";;;;;;AAMA;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,GAAG,GAAG,UAAU,CAC3B,CACE,EAAE,YAAY,GAAG,SAAS,EAAE,OAAO,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAY,EAC3E,GAAkC,KAChC;IACF,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC;AAElD,IAAA,QACEA,GAAA,CAACC,KAAS,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"Tag.mjs","sources":["../../../src/components/Tag/Tag.tsx"],"sourcesContent":[null],"names":["_jsx","ChakraTag"],"mappings":";;;;;;AAMA;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,GAAG,GAAG,UAAU,CAC3B,CACE,EAAE,YAAY,GAAG,SAAS,EAAE,OAAO,GAAG,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAY,EAC3E,GAAkC,KAChC;IACF,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC;AAElD,IAAA,QACEA,GAAA,CAACC,KAAS,CAAC,IAAI,IACb,MAAM,EAAC,WAAW,EAClB,YAAY,EAAC,IAAI,EACjB,SAAS,EAAC,MAAM,EAChB,QAAQ,EAAC,IAAI,EACb,UAAU,EAAC,UAAU,KACjB,MAAM,EAAA,GACN,IAAI,EACR,GAAG,EAAE,GAAG,YAEP,QAAQ,EAAA,CACM;AAErB,CAAC;AAGH,GAAG,CAAC,WAAW,GAAG,KAAK;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,eAAe,EACf,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Tag.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CACxC,eAAe,EACf,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC,CAiH1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GACvB,eAAc,eAA2B,EACzC,UAAS,UAAmB,KAC3B,OAAO,CAAC,YAAY,CAEtB,CAAC;AAEF,mCAAmC;AACnC,eAAO,MAAM,gBAAgB,EAAE,eAAe,EAO7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,oBAAoB,oEAAwB,CAAC;AAE1D,6BAA6B;AAC7B,eAAO,MAAM,WAAW,EAAE,UAAU,EAAiC,CAAC"}
|
|
@@ -13,7 +13,7 @@ const tagColorPaletteStyles = {
|
|
|
13
13
|
soft: {
|
|
14
14
|
bgColor: 'primary.extralight',
|
|
15
15
|
borderColor: 'primary.light',
|
|
16
|
-
color: 'primary.
|
|
16
|
+
color: 'primary.darker',
|
|
17
17
|
},
|
|
18
18
|
solid: {
|
|
19
19
|
bgColor: 'blue.500',
|
|
@@ -23,14 +23,14 @@ const tagColorPaletteStyles = {
|
|
|
23
23
|
outline: {
|
|
24
24
|
bgColor: 'transparent',
|
|
25
25
|
borderColor: 'primary.main',
|
|
26
|
-
color: 'primary.
|
|
26
|
+
color: 'primary.dark',
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
secondary: {
|
|
30
30
|
soft: {
|
|
31
31
|
bgColor: 'secondary.extralight',
|
|
32
32
|
borderColor: 'secondary.light',
|
|
33
|
-
color: 'secondary.
|
|
33
|
+
color: 'secondary.darker',
|
|
34
34
|
},
|
|
35
35
|
solid: {
|
|
36
36
|
bgColor: 'violet.500',
|
|
@@ -40,14 +40,14 @@ const tagColorPaletteStyles = {
|
|
|
40
40
|
outline: {
|
|
41
41
|
bgColor: 'transparent',
|
|
42
42
|
borderColor: 'secondary.main',
|
|
43
|
-
color: 'secondary.
|
|
43
|
+
color: 'secondary.dark',
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
46
|
danger: {
|
|
47
47
|
soft: {
|
|
48
48
|
bgColor: 'danger.extralight',
|
|
49
49
|
borderColor: 'danger.light',
|
|
50
|
-
color: 'danger.
|
|
50
|
+
color: 'danger.darker',
|
|
51
51
|
},
|
|
52
52
|
solid: {
|
|
53
53
|
bgColor: 'rose.500',
|
|
@@ -57,14 +57,14 @@ const tagColorPaletteStyles = {
|
|
|
57
57
|
outline: {
|
|
58
58
|
bgColor: 'transparent',
|
|
59
59
|
borderColor: 'danger.main',
|
|
60
|
-
color: 'danger.
|
|
60
|
+
color: 'danger.dark',
|
|
61
61
|
},
|
|
62
62
|
},
|
|
63
63
|
success: {
|
|
64
64
|
soft: {
|
|
65
65
|
bgColor: 'success.extralight',
|
|
66
66
|
borderColor: 'success.light',
|
|
67
|
-
color: 'success.
|
|
67
|
+
color: 'success.darker',
|
|
68
68
|
},
|
|
69
69
|
solid: {
|
|
70
70
|
bgColor: 'green.600',
|
|
@@ -74,34 +74,40 @@ const tagColorPaletteStyles = {
|
|
|
74
74
|
outline: {
|
|
75
75
|
bgColor: 'transparent',
|
|
76
76
|
borderColor: 'success.main',
|
|
77
|
-
color: 'success.
|
|
77
|
+
color: 'success.dark',
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
80
|
warning: {
|
|
81
81
|
soft: {
|
|
82
82
|
bgColor: 'warning.extralight',
|
|
83
83
|
borderColor: 'warning.light',
|
|
84
|
-
color: 'warning.
|
|
84
|
+
color: 'warning.darker',
|
|
85
85
|
},
|
|
86
86
|
solid: {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
// Deepened from gold.500 so white text clears AA and the chip matches the
|
|
88
|
+
// other solids (white on a saturated fill). White/gold.500 was only
|
|
89
|
+
// 2.39:1; white/gold.700 = 5.86:1 ✓ AA. Bright gold + near-black text read
|
|
90
|
+
// harsh on the dark canvas.
|
|
91
|
+
bgColor: 'gold.700',
|
|
92
|
+
borderColor: 'gold.700',
|
|
93
|
+
color: 'white',
|
|
90
94
|
},
|
|
91
95
|
outline: {
|
|
92
96
|
bgColor: 'transparent',
|
|
93
97
|
borderColor: 'warning.main',
|
|
94
|
-
|
|
98
|
+
// warning.dark (gold.700, 5.8:1 AA) over warning.main (gold.500, 3.0:1) —
|
|
99
|
+
// darker text also lifts this off the palette's AA-risk step.
|
|
100
|
+
color: 'warning.dark',
|
|
95
101
|
},
|
|
96
102
|
},
|
|
97
103
|
neutral: {
|
|
98
104
|
soft: {
|
|
99
|
-
// Flip surface + border with the mode so the fg.
|
|
105
|
+
// Flip surface + border with the mode so the fg.default text stays legible
|
|
100
106
|
// in dark. Light values preserved (bg.muted → gray.100, border.default →
|
|
101
107
|
// gray.300).
|
|
102
108
|
bgColor: 'bg.muted',
|
|
103
109
|
borderColor: 'border.default',
|
|
104
|
-
color: 'fg.
|
|
110
|
+
color: 'fg.default',
|
|
105
111
|
},
|
|
106
112
|
solid: {
|
|
107
113
|
bgColor: 'gray.800',
|
|
@@ -111,7 +117,7 @@ const tagColorPaletteStyles = {
|
|
|
111
117
|
outline: {
|
|
112
118
|
bgColor: 'transparent',
|
|
113
119
|
borderColor: 'border.strong', // gray.500 / gray.900 (_dark)
|
|
114
|
-
color: 'fg.
|
|
120
|
+
color: 'fg.muted',
|
|
115
121
|
},
|
|
116
122
|
},
|
|
117
123
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.styles.js","sources":["../../../src/components/Tag/Tag.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;;;;;;AAMG;AACI,MAAM,qBAAqB,GAG9B;AACF,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,oBAAoB;AAC7B,YAAA,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Tag.styles.js","sources":["../../../src/components/Tag/Tag.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;;;;;;AAMG;AACI,MAAM,qBAAqB,GAG9B;AACF,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,oBAAoB;AAC7B,YAAA,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,gBAAgB;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,UAAU;AACnB,YAAA,WAAW,EAAE,UAAU;AACvB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,KAAK,EAAE,cAAc;AACtB,SAAA;AACF,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,sBAAsB;AAC/B,YAAA,WAAW,EAAE,iBAAiB;AAC9B,YAAA,KAAK,EAAE,kBAAkB;AAC1B,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,YAAY;AACrB,YAAA,WAAW,EAAE,YAAY;AACzB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,WAAW,EAAE,gBAAgB;AAC7B,YAAA,KAAK,EAAE,gBAAgB;AACxB,SAAA;AACF,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,mBAAmB;AAC5B,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,KAAK,EAAE,eAAe;AACvB,SAAA;AACD,QAAA,KAAK,E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;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,UAAU;AACnB,YAAA,WAAW,EAAE,UAAU;AACvB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;YACtB,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,UAAU;AAClB,SAAA;AACF,KAAA;;AAGH;;AAEG;AACI,MAAM,YAAY,GAAG,CAC1B,YAAA,GAAgC,SAAS,EACzC,OAAA,GAAsB,MAAM,KACH;AACzB,IAAA,OAAO,qBAAqB,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC;AACrD;AAEA;AACO,MAAM,gBAAgB,GAAsB;IACjD,SAAS;IACT,WAAW;IACX,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;;AAaX;AACO,MAAM,WAAW,GAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS;;;;;;;"}
|
|
@@ -11,7 +11,7 @@ const tagColorPaletteStyles = {
|
|
|
11
11
|
soft: {
|
|
12
12
|
bgColor: 'primary.extralight',
|
|
13
13
|
borderColor: 'primary.light',
|
|
14
|
-
color: 'primary.
|
|
14
|
+
color: 'primary.darker',
|
|
15
15
|
},
|
|
16
16
|
solid: {
|
|
17
17
|
bgColor: 'blue.500',
|
|
@@ -21,14 +21,14 @@ const tagColorPaletteStyles = {
|
|
|
21
21
|
outline: {
|
|
22
22
|
bgColor: 'transparent',
|
|
23
23
|
borderColor: 'primary.main',
|
|
24
|
-
color: 'primary.
|
|
24
|
+
color: 'primary.dark',
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
secondary: {
|
|
28
28
|
soft: {
|
|
29
29
|
bgColor: 'secondary.extralight',
|
|
30
30
|
borderColor: 'secondary.light',
|
|
31
|
-
color: 'secondary.
|
|
31
|
+
color: 'secondary.darker',
|
|
32
32
|
},
|
|
33
33
|
solid: {
|
|
34
34
|
bgColor: 'violet.500',
|
|
@@ -38,14 +38,14 @@ const tagColorPaletteStyles = {
|
|
|
38
38
|
outline: {
|
|
39
39
|
bgColor: 'transparent',
|
|
40
40
|
borderColor: 'secondary.main',
|
|
41
|
-
color: 'secondary.
|
|
41
|
+
color: 'secondary.dark',
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
danger: {
|
|
45
45
|
soft: {
|
|
46
46
|
bgColor: 'danger.extralight',
|
|
47
47
|
borderColor: 'danger.light',
|
|
48
|
-
color: 'danger.
|
|
48
|
+
color: 'danger.darker',
|
|
49
49
|
},
|
|
50
50
|
solid: {
|
|
51
51
|
bgColor: 'rose.500',
|
|
@@ -55,14 +55,14 @@ const tagColorPaletteStyles = {
|
|
|
55
55
|
outline: {
|
|
56
56
|
bgColor: 'transparent',
|
|
57
57
|
borderColor: 'danger.main',
|
|
58
|
-
color: 'danger.
|
|
58
|
+
color: 'danger.dark',
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
success: {
|
|
62
62
|
soft: {
|
|
63
63
|
bgColor: 'success.extralight',
|
|
64
64
|
borderColor: 'success.light',
|
|
65
|
-
color: 'success.
|
|
65
|
+
color: 'success.darker',
|
|
66
66
|
},
|
|
67
67
|
solid: {
|
|
68
68
|
bgColor: 'green.600',
|
|
@@ -72,34 +72,40 @@ const tagColorPaletteStyles = {
|
|
|
72
72
|
outline: {
|
|
73
73
|
bgColor: 'transparent',
|
|
74
74
|
borderColor: 'success.main',
|
|
75
|
-
color: 'success.
|
|
75
|
+
color: 'success.dark',
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
78
|
warning: {
|
|
79
79
|
soft: {
|
|
80
80
|
bgColor: 'warning.extralight',
|
|
81
81
|
borderColor: 'warning.light',
|
|
82
|
-
color: 'warning.
|
|
82
|
+
color: 'warning.darker',
|
|
83
83
|
},
|
|
84
84
|
solid: {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
// Deepened from gold.500 so white text clears AA and the chip matches the
|
|
86
|
+
// other solids (white on a saturated fill). White/gold.500 was only
|
|
87
|
+
// 2.39:1; white/gold.700 = 5.86:1 ✓ AA. Bright gold + near-black text read
|
|
88
|
+
// harsh on the dark canvas.
|
|
89
|
+
bgColor: 'gold.700',
|
|
90
|
+
borderColor: 'gold.700',
|
|
91
|
+
color: 'white',
|
|
88
92
|
},
|
|
89
93
|
outline: {
|
|
90
94
|
bgColor: 'transparent',
|
|
91
95
|
borderColor: 'warning.main',
|
|
92
|
-
|
|
96
|
+
// warning.dark (gold.700, 5.8:1 AA) over warning.main (gold.500, 3.0:1) —
|
|
97
|
+
// darker text also lifts this off the palette's AA-risk step.
|
|
98
|
+
color: 'warning.dark',
|
|
93
99
|
},
|
|
94
100
|
},
|
|
95
101
|
neutral: {
|
|
96
102
|
soft: {
|
|
97
|
-
// Flip surface + border with the mode so the fg.
|
|
103
|
+
// Flip surface + border with the mode so the fg.default text stays legible
|
|
98
104
|
// in dark. Light values preserved (bg.muted → gray.100, border.default →
|
|
99
105
|
// gray.300).
|
|
100
106
|
bgColor: 'bg.muted',
|
|
101
107
|
borderColor: 'border.default',
|
|
102
|
-
color: 'fg.
|
|
108
|
+
color: 'fg.default',
|
|
103
109
|
},
|
|
104
110
|
solid: {
|
|
105
111
|
bgColor: 'gray.800',
|
|
@@ -109,7 +115,7 @@ const tagColorPaletteStyles = {
|
|
|
109
115
|
outline: {
|
|
110
116
|
bgColor: 'transparent',
|
|
111
117
|
borderColor: 'border.strong', // gray.500 / gray.900 (_dark)
|
|
112
|
-
color: 'fg.
|
|
118
|
+
color: 'fg.muted',
|
|
113
119
|
},
|
|
114
120
|
},
|
|
115
121
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.styles.mjs","sources":["../../../src/components/Tag/Tag.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";AAIA;;;;;;AAMG;AACI,MAAM,qBAAqB,GAG9B;AACF,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,oBAAoB;AAC7B,YAAA,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Tag.styles.mjs","sources":["../../../src/components/Tag/Tag.styles.ts"],"sourcesContent":[null],"names":[],"mappings":";AAIA;;;;;;AAMG;AACI,MAAM,qBAAqB,GAG9B;AACF,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,oBAAoB;AAC7B,YAAA,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,gBAAgB;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,UAAU;AACnB,YAAA,WAAW,EAAE,UAAU;AACvB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,KAAK,EAAE,cAAc;AACtB,SAAA;AACF,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,sBAAsB;AAC/B,YAAA,WAAW,EAAE,iBAAiB;AAC9B,YAAA,KAAK,EAAE,kBAAkB;AAC1B,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,YAAY;AACrB,YAAA,WAAW,EAAE,YAAY;AACzB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;AACtB,YAAA,WAAW,EAAE,gBAAgB;AAC7B,YAAA,KAAK,EAAE,gBAAgB;AACxB,SAAA;AACF,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,mBAAmB;AAC5B,YAAA,WAAW,EAAE,cAAc;AAC3B,YAAA,KAAK,EAAE,eAAe;AACvB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,Y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,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,UAAU;AACnB,YAAA,WAAW,EAAE,UAAU;AACvB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;YACtB,WAAW,EAAE,eAAe;AAC5B,YAAA,KAAK,EAAE,UAAU;AAClB,SAAA;AACF,KAAA;;AAGH;;AAEG;AACI,MAAM,YAAY,GAAG,CAC1B,YAAA,GAAgC,SAAS,EACzC,OAAA,GAAsB,MAAM,KACH;AACzB,IAAA,OAAO,qBAAqB,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC;AACrD;AAEA;AACO,MAAM,gBAAgB,GAAsB;IACjD,SAAS;IACT,WAAW;IACX,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;;AAaX;AACO,MAAM,WAAW,GAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS;;;;"}
|
|
@@ -7,7 +7,11 @@ export declare const Tree: {
|
|
|
7
7
|
BranchIndicator: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewBranchIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
BranchText: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewBranchTextProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
9
|
BranchContent: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewBranchContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
BranchIndentGuide: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewBranchIndentGuideProps &
|
|
10
|
+
BranchIndentGuide: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewBranchIndentGuideProps & {
|
|
11
|
+
elbow?: boolean;
|
|
12
|
+
footLength?: string | number;
|
|
13
|
+
guideColor?: string;
|
|
14
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
15
|
Item: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
16
|
ItemText: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewItemTextProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
13
17
|
ItemIndicator: import("react").ForwardRefExoticComponent<import("@chakra-ui/react").TreeViewItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAkBhB,CAAC"}
|
|
@@ -7,7 +7,35 @@ export type TreeBranchTriggerProps = TreeViewBranchTriggerProps;
|
|
|
7
7
|
export type TreeBranchIndicatorProps = TreeViewBranchIndicatorProps;
|
|
8
8
|
export type TreeBranchTextProps = TreeViewBranchTextProps;
|
|
9
9
|
export type TreeBranchContentProps = TreeViewBranchContentProps;
|
|
10
|
-
export type TreeBranchIndentGuideProps = TreeViewBranchIndentGuideProps
|
|
10
|
+
export type TreeBranchIndentGuideProps = TreeViewBranchIndentGuideProps & {
|
|
11
|
+
/**
|
|
12
|
+
* Draw `├` / `└` guide lines instead of a plain vertical rail: every
|
|
13
|
+
* row gets a horizontal foot joining it to its parent rail, middle
|
|
14
|
+
* rows keep the vertical (`├`), and the last row of each group stops
|
|
15
|
+
* at its centre (`└`). Off by default to preserve the existing
|
|
16
|
+
* plain-vertical-rail look. See `TreeBranchIndentGuide`.
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
elbow?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Length of the elbow foot — the horizontal cross-stroke that joins
|
|
22
|
+
* the rail to the row content, drawn from the parent rail column
|
|
23
|
+
* toward the text. In elbow mode each level indents 4px further than
|
|
24
|
+
* the plain-rail default, and since the default foot length doesn't
|
|
25
|
+
* grow with it, the foot ends 8px short of the row text. Any Chakra
|
|
26
|
+
* width value. Only applies when `elbow` is set.
|
|
27
|
+
* @default 'calc(var(--tree-indentation) - 4px)'
|
|
28
|
+
*/
|
|
29
|
+
footLength?: string | number;
|
|
30
|
+
/**
|
|
31
|
+
* Color of the guide lines (rail, elbow foot and vertical segments).
|
|
32
|
+
* Any Chakra color token. The default is a mode-flipping semantic
|
|
33
|
+
* token, so it darkens in light mode and lightens in dark mode
|
|
34
|
+
* automatically.
|
|
35
|
+
* @default 'border.default'
|
|
36
|
+
*/
|
|
37
|
+
guideColor?: string;
|
|
38
|
+
};
|
|
11
39
|
export type TreeItemProps = TreeViewItemProps;
|
|
12
40
|
export type TreeItemTextProps = TreeViewItemTextProps;
|
|
13
41
|
export type TreeItemIndicatorProps = TreeViewItemIndicatorProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAC9C,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAChE,MAAM,MAAM,wBAAwB,GAAG,4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0BAA0B,CAAC;AAChE,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAIhD,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CACnD,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,WAAW,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CACpD,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAClD,CAAC,CAAC,CAAC,CAAC;AAEL,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAC7C,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAChD,CAAC,CAAC,CAAC,CAAC;AAEL,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { TreeView as ChakraTreeView } from '@chakra-ui/react';
|
|
2
|
-
export declare const TreeBranchIndentGuide: import("react").ForwardRefExoticComponent<ChakraTreeView.BranchIndentGuideProps &
|
|
2
|
+
export declare const TreeBranchIndentGuide: import("react").ForwardRefExoticComponent<ChakraTreeView.BranchIndentGuideProps & {
|
|
3
|
+
elbow?: boolean;
|
|
4
|
+
footLength?: string | number;
|
|
5
|
+
guideColor?: string;
|
|
6
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
7
|
//# sourceMappingURL=TreeBranchIndentGuide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeBranchIndentGuide.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/TreeBranchIndentGuide.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"TreeBranchIndentGuide.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/TreeBranchIndentGuide.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AA4C9D,eAAO,MAAM,qBAAqB;;;;kDAmGjC,CAAC"}
|