@tcn/ui 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/column.css +1 -1
- package/dist/inputs/multiselect/multiselect_inline_values.js +9 -7
- package/dist/inputs/multiselect/multiselect_inline_values.js.map +1 -1
- package/dist/inputs/multiselect/multiselect_values.js +4 -2
- package/dist/inputs/multiselect/multiselect_values.js.map +1 -1
- package/dist/layouts/containers/columns/column.d.ts +6 -0
- package/dist/layouts/containers/columns/column.d.ts.map +1 -0
- package/dist/layouts/containers/columns/column.js +20 -0
- package/dist/layouts/containers/columns/column.js.map +1 -0
- package/dist/layouts/containers/columns/columns.d.ts +6 -0
- package/dist/layouts/containers/columns/columns.d.ts.map +1 -0
- package/dist/layouts/containers/columns/columns.js +11 -0
- package/dist/layouts/containers/columns/columns.js.map +1 -0
- package/dist/layouts/index.d.ts +3 -5
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +27 -27
- package/dist/layouts/section/detail.d.ts +4 -0
- package/dist/layouts/section/detail.d.ts.map +1 -0
- package/dist/layouts/section/detail.js +11 -0
- package/dist/layouts/section/detail.js.map +1 -0
- package/dist/layouts/section/heading.js +1 -1
- package/dist/layouts/section/index.d.ts +4 -0
- package/dist/layouts/section/index.d.ts.map +1 -0
- package/dist/layouts/section/index.js +9 -0
- package/dist/layouts/section/index.js.map +1 -0
- package/dist/layouts/section/section.js +1 -1
- package/dist/section.css +1 -1
- package/dist/section.module-BXlxYmJK.js +5 -0
- package/dist/section.module-BXlxYmJK.js.map +1 -0
- package/dist/surfaces/pop_confirm/pop_confirm.js +4 -4
- package/dist/term.css +1 -0
- package/dist/themes/build_stylesheet.d.ts +2 -0
- package/dist/themes/build_stylesheet.d.ts.map +1 -0
- package/dist/themes/build_stylesheet.js +9 -0
- package/dist/themes/build_stylesheet.js.map +1 -0
- package/dist/themes/theme_variables.d.ts +7 -0
- package/dist/themes/theme_variables.d.ts.map +1 -1
- package/dist/themes/theme_variables.js +16 -9
- package/dist/themes/theme_variables.js.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.css +1 -1
- package/dist/themes/themes/ergo/ergo_theme.d.ts.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.js +281 -161
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/dist/themes/themes/ergo/tokens/system_tokens.css +1 -0
- package/dist/themes/themes/ergo/tokens/theme_tokens.css +1 -0
- package/dist/tokens/index.d.ts +1 -0
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +4 -2
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/key/key.d.ts +8 -1
- package/dist/tokens/key/key.d.ts.map +1 -1
- package/dist/tokens/key/key.js +20 -3
- package/dist/tokens/key/key.js.map +1 -1
- package/dist/tokens/term/term.d.ts +4 -0
- package/dist/tokens/term/term.d.ts.map +1 -0
- package/dist/tokens/term/term.js +20 -0
- package/dist/tokens/term/term.js.map +1 -0
- package/dist/tokens/value/value.d.ts +8 -1
- package/dist/tokens/value/value.d.ts.map +1 -1
- package/dist/tokens/value/value.js +23 -5
- package/dist/tokens/value/value.js.map +1 -1
- package/dist/utils/types/variations.d.ts +1 -0
- package/dist/utils/types/variations.d.ts.map +1 -1
- package/dist/value.css +1 -0
- package/dist/value.module-DFaCouFD.js +5 -0
- package/dist/value.module-DFaCouFD.js.map +1 -0
- package/package.json +1 -1
- package/src/layouts/__stories__/columns.stories.tsx +46 -0
- package/src/layouts/__stories__/rail.stories.tsx +4 -4
- package/src/layouts/__stories__/utils.tsx +4 -4
- package/src/layouts/containers/columns/column.module.css +14 -0
- package/src/layouts/containers/columns/column.tsx +22 -0
- package/src/layouts/containers/columns/columns.tsx +16 -0
- package/src/layouts/index.ts +3 -5
- package/src/layouts/section/__stories__/section.stories.tsx +79 -50
- package/src/layouts/section/detail.tsx +14 -0
- package/src/layouts/section/index.ts +3 -0
- package/src/layouts/section/section.module.css +0 -36
- package/src/surfaces/page/page.stories.tsx +32 -28
- package/src/surfaces/panel/__stories__/panel.stories.tsx +147 -40
- package/src/themes/build_stylesheet.ts +5 -0
- package/src/themes/theme_variables.ts +9 -0
- package/src/themes/themes/ergo/ergo_theme.css +175 -222
- package/src/themes/themes/ergo/ergo_theme.ts +4 -2
- package/src/themes/themes/ergo/tokens/system_tokens.css +68 -0
- package/src/themes/themes/ergo/tokens/theme_tokens.css +99 -0
- package/src/tokens/index.ts +1 -0
- package/src/tokens/key/key.tsx +23 -2
- package/src/tokens/term/term.module.css +14 -0
- package/src/tokens/term/term.stories.tsx +84 -0
- package/src/tokens/term/term.tsx +20 -0
- package/src/tokens/value/value.module.css +5 -0
- package/src/tokens/value/value.tsx +24 -2
- package/src/utils/types/variations.ts +1 -0
- package/dist/layouts/column/column.d.ts +0 -10
- package/dist/layouts/column/column.d.ts.map +0 -1
- package/dist/layouts/column/column.js +0 -52
- package/dist/layouts/column/column.js.map +0 -1
- package/dist/layouts/containers/side/side.d.ts +0 -6
- package/dist/layouts/containers/side/side.d.ts.map +0 -1
- package/dist/layouts/containers/side/side.js +0 -22
- package/dist/layouts/containers/side/side.js.map +0 -1
- package/dist/layouts/row/row.d.ts +0 -4
- package/dist/layouts/row/row.d.ts.map +0 -1
- package/dist/layouts/row/row.js +0 -11
- package/dist/layouts/row/row.js.map +0 -1
- package/dist/row.css +0 -1
- package/dist/section.module-0wyGkhDg.js +0 -5
- package/dist/section.module-0wyGkhDg.js.map +0 -1
- package/dist/side.css +0 -1
- package/src/layouts/column/column.module.css +0 -35
- package/src/layouts/column/column.tsx +0 -57
- package/src/layouts/containers/side/side.module.css +0 -7
- package/src/layouts/containers/side/side.tsx +0 -25
- package/src/layouts/row/row.module.css +0 -5
- package/src/layouts/row/row.tsx +0 -15
package/dist/column.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer tcn-system{:where(.
|
|
1
|
+
@layer tcn-system{:where(._column_f14ce93){height:100%;min-height:100%;width:auto;min-width:0;flex-grow:0}:where(._column_f14ce93[data-width=fill]){flex-grow:1;width:0}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as n, jsx as r, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import { s as e } from "../../multiselect_values.module-BMJOyYHe.js";
|
|
3
3
|
import { CrossIcon as a } from "@tcn/icons/cross_icon.js";
|
|
4
4
|
import "../../actions/button/base_button/base_button.js";
|
|
@@ -11,12 +11,14 @@ import "../../tokens/badge/badge.js";
|
|
|
11
11
|
import "../../tokens/bubble/bubble.js";
|
|
12
12
|
import m from "clsx";
|
|
13
13
|
import "../../stacks/h_stack.js";
|
|
14
|
-
|
|
14
|
+
import "../../value.module-DFaCouFD.js";
|
|
15
|
+
import "../../tokens/term/term.js";
|
|
16
|
+
function A({
|
|
15
17
|
values: o,
|
|
16
18
|
disabled: s,
|
|
17
|
-
onRemove:
|
|
19
|
+
onRemove: p
|
|
18
20
|
}) {
|
|
19
|
-
const t = o.map((i,
|
|
21
|
+
const t = o.map((i, l) => /* @__PURE__ */ n(
|
|
20
22
|
u,
|
|
21
23
|
{
|
|
22
24
|
hAlign: "start",
|
|
@@ -33,18 +35,18 @@ function v({
|
|
|
33
35
|
hierarchy: "tertiary",
|
|
34
36
|
className: m(e.remove, "tcn-multiselect-chip-remove"),
|
|
35
37
|
onClick: () => {
|
|
36
|
-
|
|
38
|
+
p(i);
|
|
37
39
|
},
|
|
38
40
|
children: /* @__PURE__ */ r(a, { size: "xs" })
|
|
39
41
|
}
|
|
40
42
|
)
|
|
41
43
|
]
|
|
42
44
|
},
|
|
43
|
-
|
|
45
|
+
l
|
|
44
46
|
));
|
|
45
47
|
return t.length === 0 ? null : /* @__PURE__ */ r(c, { children: t });
|
|
46
48
|
}
|
|
47
49
|
export {
|
|
48
|
-
|
|
50
|
+
A as MultiselectInlineValues
|
|
49
51
|
};
|
|
50
52
|
//# sourceMappingURL=multiselect_inline_values.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselect_inline_values.js","sources":["../../../src/inputs/multiselect/multiselect_inline_values.tsx"],"sourcesContent":["import React from 'react';\nimport styles from './multiselect_values.module.css';\nimport { CrossIcon } from '@tcn/icons/cross_icon.js';\nimport { SlimButton } from '../../actions/index.js';\nimport { OptionProps } from '../options/option.js';\nimport { Chip } from '../../tokens/index.js';\nimport clsx from 'clsx';\n\nexport interface MultiselectInlineValuesProps {\n values: React.ReactElement<OptionProps>[];\n disabled: boolean;\n onRemove: (value: React.ReactElement<OptionProps>) => void;\n}\n\nexport function MultiselectInlineValues({\n values,\n disabled,\n onRemove,\n}: MultiselectInlineValuesProps) {\n const items = values.map((v, index) => {\n return (\n <Chip\n hAlign=\"start\"\n className={clsx(styles.chip, 'tcn-multiselect-chip')}\n key={index}\n paddingInlineStart=\"8px\"\n width=\"auto\"\n >\n <span>{v.props.label}</span>\n <SlimButton\n disabled={disabled}\n size=\"sm\"\n hierarchy=\"tertiary\"\n className={clsx(styles.remove, 'tcn-multiselect-chip-remove')}\n onClick={() => {\n onRemove(v);\n }}\n >\n <CrossIcon size=\"xs\" />\n </SlimButton>\n </Chip>\n );\n });\n\n if (items.length === 0) {\n return null;\n }\n\n return <>{items}</>;\n}\n"],"names":["MultiselectInlineValues","values","disabled","onRemove","items","v","index","jsxs","Chip","clsx","styles","jsx","SlimButton","CrossIcon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"multiselect_inline_values.js","sources":["../../../src/inputs/multiselect/multiselect_inline_values.tsx"],"sourcesContent":["import React from 'react';\nimport styles from './multiselect_values.module.css';\nimport { CrossIcon } from '@tcn/icons/cross_icon.js';\nimport { SlimButton } from '../../actions/index.js';\nimport { OptionProps } from '../options/option.js';\nimport { Chip } from '../../tokens/index.js';\nimport clsx from 'clsx';\n\nexport interface MultiselectInlineValuesProps {\n values: React.ReactElement<OptionProps>[];\n disabled: boolean;\n onRemove: (value: React.ReactElement<OptionProps>) => void;\n}\n\nexport function MultiselectInlineValues({\n values,\n disabled,\n onRemove,\n}: MultiselectInlineValuesProps) {\n const items = values.map((v, index) => {\n return (\n <Chip\n hAlign=\"start\"\n className={clsx(styles.chip, 'tcn-multiselect-chip')}\n key={index}\n paddingInlineStart=\"8px\"\n width=\"auto\"\n >\n <span>{v.props.label}</span>\n <SlimButton\n disabled={disabled}\n size=\"sm\"\n hierarchy=\"tertiary\"\n className={clsx(styles.remove, 'tcn-multiselect-chip-remove')}\n onClick={() => {\n onRemove(v);\n }}\n >\n <CrossIcon size=\"xs\" />\n </SlimButton>\n </Chip>\n );\n });\n\n if (items.length === 0) {\n return null;\n }\n\n return <>{items}</>;\n}\n"],"names":["MultiselectInlineValues","values","disabled","onRemove","items","v","index","jsxs","Chip","clsx","styles","jsx","SlimButton","CrossIcon"],"mappings":";;;;;;;;;;;;;;;AAcO,SAASA,EAAwB;AAAA,EACtC,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AACF,GAAiC;AAC/B,QAAMC,IAAQH,EAAO,IAAI,CAACI,GAAGC,MAEzB,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAO;AAAA,MACP,WAAWC,EAAKC,EAAO,MAAM,sBAAsB;AAAA,MAEnD,oBAAmB;AAAA,MACnB,OAAM;AAAA,MAEN,UAAA;AAAA,QAAA,gBAAAC,EAAC,QAAA,EAAM,UAAAN,EAAE,MAAM,OAAM;AAAA,QACrB,gBAAAM;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAAV;AAAA,YACA,MAAK;AAAA,YACL,WAAU;AAAA,YACV,WAAWO,EAAKC,EAAO,QAAQ,6BAA6B;AAAA,YAC5D,SAAS,MAAM;AACb,cAAAP,EAASE,CAAC;AAAA,YACZ;AAAA,YAEA,UAAA,gBAAAM,EAACE,GAAA,EAAU,MAAK,KAAA,CAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACvB;AAAA,IAAA;AAAA,IAfKP;AAAA,EAAA,CAkBV;AAED,SAAIF,EAAM,WAAW,IACZ,8BAGC,UAAAA,EAAA,CAAM;AAClB;"}
|
|
@@ -11,7 +11,9 @@ import { Chip as u } from "../../tokens/chip/chip.js";
|
|
|
11
11
|
import "../../tokens/badge/badge.js";
|
|
12
12
|
import "../../tokens/bubble/bubble.js";
|
|
13
13
|
import "../../stacks/h_stack.js";
|
|
14
|
-
|
|
14
|
+
import "../../value.module-DFaCouFD.js";
|
|
15
|
+
import "../../tokens/term/term.js";
|
|
16
|
+
function B({
|
|
15
17
|
values: s,
|
|
16
18
|
disabled: e,
|
|
17
19
|
className: l,
|
|
@@ -57,6 +59,6 @@ function k({
|
|
|
57
59
|
);
|
|
58
60
|
}
|
|
59
61
|
export {
|
|
60
|
-
|
|
62
|
+
B as MultiselectValues
|
|
61
63
|
};
|
|
62
64
|
//# sourceMappingURL=multiselect_values.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselect_values.js","sources":["../../../src/inputs/multiselect/multiselect_values.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './multiselect_values.module.css';\nimport { CrossIcon } from '@tcn/icons/cross_icon.js';\nimport { OptionProps } from '../options/option.js';\nimport { SlimButton } from '../../actions/index.js';\nimport { Chip } from '../../tokens/index.js';\n\nexport interface MultiselectValueProps {\n values: React.ReactElement<OptionProps>[];\n disabled: boolean;\n onRemove: (value: React.ReactElement<OptionProps>) => void;\n className?: string;\n}\n\nexport function MultiselectValues({\n values,\n disabled,\n className,\n onRemove,\n}: MultiselectValueProps) {\n const items = values.map((v, index) => {\n return (\n <Chip\n hAlign=\"start\"\n color=\"rgb(57, 85, 120)\"\n className={clsx(styles.chip, 'tcn-multiselect-chip')}\n key={index}\n paddingInlineStart=\"8px\"\n >\n <span>{v.props.label}</span>\n <SlimButton\n disabled={disabled}\n size=\"sm\"\n hierarchy=\"tertiary\"\n className={clsx(styles.remove, 'tcn-multiselect-chip-remove')}\n onClick={() => {\n onRemove(v);\n }}\n >\n <CrossIcon size=\"xs\" />\n </SlimButton>\n </Chip>\n );\n });\n\n if (items.length === 0) {\n return null;\n }\n\n return (\n <div\n className={clsx(\n styles['item-container'],\n className,\n 'tcn-multiselect-values-container'\n )}\n data-is-disabled={disabled}\n >\n {items}\n </div>\n );\n}\n"],"names":["MultiselectValues","values","disabled","className","onRemove","items","v","index","jsxs","Chip","clsx","styles","jsx","SlimButton","CrossIcon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"multiselect_values.js","sources":["../../../src/inputs/multiselect/multiselect_values.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './multiselect_values.module.css';\nimport { CrossIcon } from '@tcn/icons/cross_icon.js';\nimport { OptionProps } from '../options/option.js';\nimport { SlimButton } from '../../actions/index.js';\nimport { Chip } from '../../tokens/index.js';\n\nexport interface MultiselectValueProps {\n values: React.ReactElement<OptionProps>[];\n disabled: boolean;\n onRemove: (value: React.ReactElement<OptionProps>) => void;\n className?: string;\n}\n\nexport function MultiselectValues({\n values,\n disabled,\n className,\n onRemove,\n}: MultiselectValueProps) {\n const items = values.map((v, index) => {\n return (\n <Chip\n hAlign=\"start\"\n color=\"rgb(57, 85, 120)\"\n className={clsx(styles.chip, 'tcn-multiselect-chip')}\n key={index}\n paddingInlineStart=\"8px\"\n >\n <span>{v.props.label}</span>\n <SlimButton\n disabled={disabled}\n size=\"sm\"\n hierarchy=\"tertiary\"\n className={clsx(styles.remove, 'tcn-multiselect-chip-remove')}\n onClick={() => {\n onRemove(v);\n }}\n >\n <CrossIcon size=\"xs\" />\n </SlimButton>\n </Chip>\n );\n });\n\n if (items.length === 0) {\n return null;\n }\n\n return (\n <div\n className={clsx(\n styles['item-container'],\n className,\n 'tcn-multiselect-values-container'\n )}\n data-is-disabled={disabled}\n >\n {items}\n </div>\n );\n}\n"],"names":["MultiselectValues","values","disabled","className","onRemove","items","v","index","jsxs","Chip","clsx","styles","jsx","SlimButton","CrossIcon"],"mappings":";;;;;;;;;;;;;;;AAeO,SAASA,EAAkB;AAAA,EAChC,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AACF,GAA0B;AACxB,QAAMC,IAAQJ,EAAO,IAAI,CAACK,GAAGC,MAEzB,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAO;AAAA,MACP,OAAM;AAAA,MACN,WAAWC,EAAKC,EAAO,MAAM,sBAAsB;AAAA,MAEnD,oBAAmB;AAAA,MAEnB,UAAA;AAAA,QAAA,gBAAAC,EAAC,QAAA,EAAM,UAAAN,EAAE,MAAM,OAAM;AAAA,QACrB,gBAAAM;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAAX;AAAA,YACA,MAAK;AAAA,YACL,WAAU;AAAA,YACV,WAAWQ,EAAKC,EAAO,QAAQ,6BAA6B;AAAA,YAC5D,SAAS,MAAM;AACb,cAAAP,EAASE,CAAC;AAAA,YACZ;AAAA,YAEA,UAAA,gBAAAM,EAACE,GAAA,EAAU,MAAK,KAAA,CAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MACvB;AAAA,IAAA;AAAA,IAdKP;AAAA,EAAA,CAiBV;AAED,SAAIF,EAAM,WAAW,IACZ,OAIP,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWF;AAAA,QACTC,EAAO,gBAAgB;AAAA,QACvBR;AAAA,QACA;AAAA,MAAA;AAAA,MAEF,oBAAkBD;AAAA,MAEjB,UAAAG;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VStackProps } from '../../../stacks/v_stack.js';
|
|
3
|
+
export interface ColumnProps extends Omit<VStackProps, 'as'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const Column: React.ForwardRefExoticComponent<ColumnProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
//# sourceMappingURL=column.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column.d.ts","sourceRoot":"","sources":["../../../../src/layouts/containers/columns/column.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGtE,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE/D,eAAO,MAAM,MAAM,iFAcjB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import { clsx as s } from "clsx";
|
|
4
|
+
import { VStack as l } from "../../../stacks/v_stack.js";
|
|
5
|
+
import '../../../column.css';const e = "_column_f14ce93", f = { column: e }, x = r.forwardRef(function({ children: o, className: t, ...c }, m) {
|
|
6
|
+
return /* @__PURE__ */ n(
|
|
7
|
+
l,
|
|
8
|
+
{
|
|
9
|
+
ref: m,
|
|
10
|
+
as: "section",
|
|
11
|
+
className: s("tcn-column", f.column, t),
|
|
12
|
+
...c,
|
|
13
|
+
children: o
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
x as Column
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=column.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column.js","sources":["../../../../src/layouts/containers/columns/column.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport styles from './column.module.css';\n\nexport interface ColumnProps extends Omit<VStackProps, 'as'> {}\n\nexport const Column = React.forwardRef<HTMLElement, ColumnProps>(function Column(\n { children, className, ...props }: ColumnProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx('tcn-column', styles['column'], className)}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["Column","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;gDAOaA,IAASC,EAAM,WAAqC,SAC/D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAK,cAAcC,EAAO,QAAWN,CAAS;AAAA,MACxD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RailProps } from '../rail.js';
|
|
3
|
+
export interface ColumnsProps extends Omit<RailProps, 'as'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const Columns: React.ForwardRefExoticComponent<ColumnsProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
//# sourceMappingURL=columns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../../src/layouts/containers/columns/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,OAAO,kFASlB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { clsx as s } from "clsx";
|
|
4
|
+
import { Rail as c } from "../rail.js";
|
|
5
|
+
const p = n.forwardRef(function({ children: o, className: r, ...m }, t) {
|
|
6
|
+
return /* @__PURE__ */ f(c, { ref: t, className: s("tcn-columns", r), ...m, children: o });
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
p as Columns
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=columns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columns.js","sources":["../../../../src/layouts/containers/columns/columns.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { Rail, type RailProps } from '../rail.js';\n\nexport interface ColumnsProps extends Omit<RailProps, 'as'> {}\n\nexport const Columns = React.forwardRef<HTMLElement, ColumnsProps>(function Columns(\n { children, className, ...props }: ColumnsProps,\n ref\n) {\n return (\n <Rail ref={ref} className={clsx('tcn-columns', className)} {...props}>\n {children}\n </Rail>\n );\n});\n"],"names":["Columns","React","children","className","props","ref","jsx","Rail","clsx"],"mappings":";;;;AAMO,MAAMA,IAAUC,EAAM,WAAsC,SACjE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC,EAACC,GAAA,EAAK,KAAAF,GAAU,WAAWG,EAAK,eAAeL,CAAS,GAAI,GAAGC,GAC5D,UAAAF,EAAA,CACH;AAEJ,CAAC;"}
|
package/dist/layouts/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Column, type ColumnProps } from './containers/columns/column.js';
|
|
2
2
|
export * from './divider/divider.js';
|
|
3
3
|
export * from './grid/grid.js';
|
|
4
4
|
export * from './list/item.js';
|
|
@@ -11,13 +11,11 @@ export { Header, type HeaderProps } from './header/header.js';
|
|
|
11
11
|
export { UtilityBar, type UtilityBarProps } from './utility_bar/utility_bar.js';
|
|
12
12
|
export { Group, type GroupProps } from './group/group.js';
|
|
13
13
|
export { Bar, type BarProps } from './bar/bar.js';
|
|
14
|
-
export {
|
|
15
|
-
export { Section } from './section/section.js';
|
|
16
|
-
export { Heading, type HeadingOwnProps } from './section/heading.js';
|
|
14
|
+
export { Section, Heading, Detail, type HeadingOwnProps } from './section/index.js';
|
|
17
15
|
export { Responsive, type ResponsiveProps } from './responsive/responsive.js';
|
|
18
16
|
export { Breakpoint, type BreakpointProps } from './responsive/breakpoint.js';
|
|
19
17
|
export { TTable, THead, TBody, TFoot, TR, TH, TD } from './table/table.js';
|
|
20
18
|
export { Rail, type RailProps } from './containers/rail.js';
|
|
21
|
-
export {
|
|
19
|
+
export { Columns, type ColumnsProps } from './containers/columns/columns.js';
|
|
22
20
|
export { UtilityStrip, type UtilityStripProps, } from './containers/utility_strip/utility_strip.js';
|
|
23
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC1E,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,GACvB,MAAM,6CAA6C,CAAC"}
|
package/dist/layouts/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { Column as e } from "./
|
|
1
|
+
import { Column as e } from "./containers/columns/column.js";
|
|
2
2
|
import { Divider as p } from "./divider/divider.js";
|
|
3
|
-
import { Grid as
|
|
3
|
+
import { Grid as f } from "./grid/grid.js";
|
|
4
4
|
import { Item as i } from "./list/item.js";
|
|
5
5
|
import { List as d } from "./list/list.js";
|
|
6
|
-
import { SidebarEnd as
|
|
7
|
-
import { SidebarStart as
|
|
8
|
-
import { Scaffold as
|
|
6
|
+
import { SidebarEnd as T } from "./sidebar_end/sidebar_end.js";
|
|
7
|
+
import { SidebarStart as S } from "./sidebar_start/sidebar_start.js";
|
|
8
|
+
import { Scaffold as B } from "./containers/scaffold.js";
|
|
9
9
|
import { Footer as b } from "./footer/footer.js";
|
|
10
10
|
import { Header as y } from "./header/header.js";
|
|
11
|
-
import { UtilityBar as
|
|
12
|
-
import { Group as
|
|
13
|
-
import { Bar as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { Responsive as
|
|
18
|
-
import { Breakpoint as
|
|
11
|
+
import { UtilityBar as R } from "./utility_bar/utility_bar.js";
|
|
12
|
+
import { Group as v } from "./group/group.js";
|
|
13
|
+
import { Bar as F } from "./bar/bar.js";
|
|
14
|
+
import { Section as U } from "./section/section.js";
|
|
15
|
+
import { Heading as k } from "./section/heading.js";
|
|
16
|
+
import { Detail as I } from "./section/detail.js";
|
|
17
|
+
import { Responsive as h } from "./responsive/responsive.js";
|
|
18
|
+
import { Breakpoint as q } from "./responsive/breakpoint.js";
|
|
19
19
|
import { TBody as z, TD as A, TFoot as J, TH as K, THead as M, TR as N, TTable as O } from "./table/table.js";
|
|
20
20
|
import { Rail as Q } from "./containers/rail.js";
|
|
21
|
-
import {
|
|
21
|
+
import { Columns as W } from "./containers/columns/columns.js";
|
|
22
22
|
import { UtilityStrip as Y } from "./containers/utility_strip/utility_strip.js";
|
|
23
23
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
F as Bar,
|
|
25
|
+
q as Breakpoint,
|
|
26
26
|
e as Column,
|
|
27
|
+
W as Columns,
|
|
28
|
+
I as Detail,
|
|
27
29
|
p as Divider,
|
|
28
30
|
b as Footer,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
f as Grid,
|
|
32
|
+
v as Group,
|
|
31
33
|
y as Header,
|
|
32
|
-
|
|
34
|
+
k as Heading,
|
|
33
35
|
i as Item,
|
|
34
36
|
d as List,
|
|
35
37
|
Q as Rail,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
S as SidebarEnd,
|
|
42
|
-
n as SidebarStart,
|
|
38
|
+
h as Responsive,
|
|
39
|
+
B as Scaffold,
|
|
40
|
+
U as Section,
|
|
41
|
+
T as SidebarEnd,
|
|
42
|
+
S as SidebarStart,
|
|
43
43
|
z as TBody,
|
|
44
44
|
A as TD,
|
|
45
45
|
J as TFoot,
|
|
@@ -47,7 +47,7 @@ export {
|
|
|
47
47
|
M as THead,
|
|
48
48
|
N as TR,
|
|
49
49
|
O as TTable,
|
|
50
|
-
|
|
50
|
+
R as UtilityBar,
|
|
51
51
|
Y as UtilityStrip
|
|
52
52
|
};
|
|
53
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../src/layouts/section/detail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,eAAO,MAAM,MAAM,iGASjB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { clsx as f } from "clsx";
|
|
4
|
+
import { VStack as i } from "../../stacks/v_stack.js";
|
|
5
|
+
const d = m.forwardRef(function({ children: t, className: r, ...o }, a) {
|
|
6
|
+
return /* @__PURE__ */ e(i, { ref: a, className: f(r, "tcn-detail"), ...o, children: t });
|
|
7
|
+
});
|
|
8
|
+
export {
|
|
9
|
+
d as Detail
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detail.js","sources":["../../../src/layouts/section/detail.tsx"],"sourcesContent":["import React from 'react';\nimport { clsx } from 'clsx';\nimport { VStack, type VStackProps } from '../../stacks/v_stack.js';\n\nexport const Detail = React.forwardRef<HTMLDivElement, VStackProps>(function Detail(\n { children, className, ...props },\n ref\n) {\n return (\n <VStack ref={ref} className={clsx(className, 'tcn-detail')} {...props}>\n {children}\n </VStack>\n );\n});\n"],"names":["Detail","React","children","className","props","ref","jsx","VStack","clsx"],"mappings":";;;;AAIO,MAAMA,IAASC,EAAM,WAAwC,SAClE,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC,EAACC,GAAA,EAAO,KAAAF,GAAU,WAAWG,EAAKL,GAAW,YAAY,GAAI,GAAGC,GAC7D,UAAAF,EAAA,CACH;AAEJ,CAAC;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import s from "clsx";
|
|
3
3
|
import { HStack as a } from "../../stacks/h_stack.js";
|
|
4
|
-
import { s as e } from "../../section.module-
|
|
4
|
+
import { s as e } from "../../section.module-BXlxYmJK.js";
|
|
5
5
|
const f = ({ children: r, className: o, ...t }) => /* @__PURE__ */ m(a, { className: s(o, e.heading, "tcn-heading"), ...t, children: r });
|
|
6
6
|
export {
|
|
7
7
|
f as Heading
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/section/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -2,7 +2,7 @@ import { jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import n from "react";
|
|
3
3
|
import { clsx as f } from "clsx";
|
|
4
4
|
import { VStack as a } from "../../stacks/v_stack.js";
|
|
5
|
-
import { s as p } from "../../section.module-
|
|
5
|
+
import { s as p } from "../../section.module-BXlxYmJK.js";
|
|
6
6
|
const _ = n.forwardRef(function({ children: t, className: o, hAlign: r = "start", as: c = "section", style: s, ...e }, i) {
|
|
7
7
|
return /* @__PURE__ */ m(
|
|
8
8
|
a,
|
package/dist/section.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer tcn-system{:where(._section_0d82329){position:relative}
|
|
1
|
+
@layer tcn-system{:where(._section_0d82329){position:relative}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section.module-BXlxYmJK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { clsx as c } from "clsx";
|
|
3
3
|
import e from "react";
|
|
4
|
-
import "../../layouts/
|
|
4
|
+
import "../../layouts/containers/columns/column.js";
|
|
5
5
|
import "../../divider.module-FptFV0PX.js";
|
|
6
6
|
import "../../layouts/grid/grid.js";
|
|
7
7
|
import "../../layouts/list/item.js";
|
|
@@ -14,10 +14,10 @@ import "../../layouts/header/header.js";
|
|
|
14
14
|
import "../../layouts/utility_bar/utility_bar.js";
|
|
15
15
|
import "../../layouts/group/group.js";
|
|
16
16
|
import "../../layouts/bar/bar.js";
|
|
17
|
-
import "../../layouts/row/row.js";
|
|
18
17
|
import "../../layouts/section/section.js";
|
|
19
18
|
import "../../stacks/h_stack.js";
|
|
20
|
-
import "../../section.module-
|
|
19
|
+
import "../../section.module-BXlxYmJK.js";
|
|
20
|
+
import "../../layouts/section/detail.js";
|
|
21
21
|
import "../../utils/hooks/use_resize_observer.js";
|
|
22
22
|
import "../../table.module-BtSxOntS.js";
|
|
23
23
|
import "../../stacks/box/box.js";
|
|
@@ -27,7 +27,7 @@ import "../../stacks/v_collapsible_box.js";
|
|
|
27
27
|
import "../../stacks/v_stack.js";
|
|
28
28
|
import "../../stacks/z_stack.js";
|
|
29
29
|
import "../../layouts/containers/rail.js";
|
|
30
|
-
import "../../layouts/containers/
|
|
30
|
+
import "../../layouts/containers/columns/columns.js";
|
|
31
31
|
import "../../layouts/containers/utility_strip/utility_strip.js";
|
|
32
32
|
import { PopperDismissal as a } from "../../overlay/popper/base/dismissal_decorator.js";
|
|
33
33
|
import { ElementPopper as s } from "../../overlay/popper/element_popper.js";
|
package/dist/term.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer tcn-system{:where(._term_52494f3){padding-block:4px}:where(._term_52494f3)>:where(._tcn-key_46ec5e1){flex-shrink:0}:where(._term_52494f3)>:where(._tcn-value_865b381){flex:1;min-width:0}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build_stylesheet.d.ts","sourceRoot":"","sources":["../../src/themes/build_stylesheet.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,aAAa,CAI9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build_stylesheet.js","sources":["../../src/themes/build_stylesheet.ts"],"sourcesContent":["export function buildStyleSheet(parts: string[]): CSSStyleSheet {\n const sheet = new CSSStyleSheet();\n sheet.replaceSync(parts.join('\\n'));\n return sheet;\n}\n"],"names":["buildStyleSheet","parts","sheet"],"mappings":"AAAO,SAASA,EAAgBC,GAAgC;AAC9D,QAAMC,IAAQ,IAAI,cAAA;AAClB,SAAAA,EAAM,YAAYD,EAAM,KAAK;AAAA,CAAI,CAAC,GAC3BC;AACT;"}
|
|
@@ -62,5 +62,12 @@ export declare const theme: {
|
|
|
62
62
|
success: string;
|
|
63
63
|
failed: string;
|
|
64
64
|
};
|
|
65
|
+
actionSeverity: {
|
|
66
|
+
dangerous: string;
|
|
67
|
+
cautious: string;
|
|
68
|
+
neutral: string;
|
|
69
|
+
suggested: string;
|
|
70
|
+
encouraged: string;
|
|
71
|
+
};
|
|
65
72
|
};
|
|
66
73
|
//# sourceMappingURL=theme_variables.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme_variables.d.ts","sourceRoot":"","sources":["../../src/themes/theme_variables.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme_variables.d.ts","sourceRoot":"","sources":["../../src/themes/theme_variables.ts"],"names":[],"mappings":"AA6EA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYjB,CAAC"}
|
|
@@ -16,6 +16,12 @@ const r = {
|
|
|
16
16
|
pending: "var(--async-color-pending)",
|
|
17
17
|
success: "var(--async-color-success)",
|
|
18
18
|
failed: "var(--async-color-failed)"
|
|
19
|
+
}, t = {
|
|
20
|
+
dangerous: "var(--action-severity-dangerous)",
|
|
21
|
+
cautious: "var(--action-severity-cautious)",
|
|
22
|
+
neutral: "var(--action-severity-neutral)",
|
|
23
|
+
suggested: "var(--action-severity-suggested)",
|
|
24
|
+
encouraged: "var(--action-severity-encouraged)"
|
|
19
25
|
}, c = {
|
|
20
26
|
primary: {
|
|
21
27
|
faint: "var(--primary-color-faint)",
|
|
@@ -37,33 +43,34 @@ const r = {
|
|
|
37
43
|
normal: "var(--quaternary-color)",
|
|
38
44
|
strong: "var(--quaternary-color-strong)"
|
|
39
45
|
}
|
|
40
|
-
},
|
|
46
|
+
}, s = {
|
|
41
47
|
color: "var(--font-color)",
|
|
42
48
|
family: "var(--font-family)",
|
|
43
49
|
size: "var(--font-size)"
|
|
44
|
-
},
|
|
50
|
+
}, e = {
|
|
45
51
|
primary: "var(--background-color-primary)",
|
|
46
52
|
secondary: "var(--background-color-secondary)",
|
|
47
53
|
tertiary: "var(--background-color-tertiary)",
|
|
48
54
|
quaternary: "var(--background-color-quaternary)"
|
|
49
|
-
},
|
|
55
|
+
}, i = {
|
|
50
56
|
primary: "var(--foreground-color-primary)",
|
|
51
57
|
secondary: "var(--foreground-color-secondary)",
|
|
52
58
|
tertiary: "var(--foreground-color-tertiary)",
|
|
53
59
|
quaternary: "var(--foreground-color-quaternary)"
|
|
54
|
-
},
|
|
60
|
+
}, l = {
|
|
55
61
|
scalar: "var(--scalar)",
|
|
56
|
-
backgroundColors:
|
|
57
|
-
foregroundColors:
|
|
62
|
+
backgroundColors: e,
|
|
63
|
+
foregroundColors: i,
|
|
58
64
|
gap: r,
|
|
59
65
|
padding: a,
|
|
60
|
-
font:
|
|
66
|
+
font: s,
|
|
61
67
|
colors: c,
|
|
62
68
|
accentColor: "var(--accent-color)",
|
|
63
69
|
statusColors: o,
|
|
64
|
-
asyncColors: n
|
|
70
|
+
asyncColors: n,
|
|
71
|
+
actionSeverity: t
|
|
65
72
|
};
|
|
66
73
|
export {
|
|
67
|
-
|
|
74
|
+
l as theme
|
|
68
75
|
};
|
|
69
76
|
//# sourceMappingURL=theme_variables.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme_variables.js","sources":["../../src/themes/theme_variables.ts"],"sourcesContent":["const gap = {\n sm: 'var(--gap-small)',\n md: 'var(--gap-medium)',\n lg: 'var(--gap-large)',\n};\n\nconst padding = {\n sm: 'var(--padding-small)',\n md: 'var(--padding-medium)',\n lg: 'var(--padding-large)',\n};\n\nconst statusColors = {\n disabled: 'var(--status-color-disabled)',\n info: 'var(--status-color-info)',\n warning: 'var(--status-color-warning)',\n error: 'var(--status-color-error)',\n};\n\nconst asyncColors = {\n initial: 'var(--async-color-initial)',\n pending: 'var(--async-color-pending)',\n success: 'var(--async-color-success)',\n failed: 'var(--async-color-failed)',\n};\n\nconst colors = {\n primary: {\n faint: 'var(--primary-color-faint)',\n normal: 'var(--primary-color)',\n strong: 'var(--primary-color-strong)',\n },\n secondary: {\n faint: 'var(--secondary-color-faint)',\n normal: 'var(--secondary-color)',\n strong: 'var(--secondary-color-strong)',\n },\n tertiary: {\n faint: 'var(--tertiary-color-faint)',\n normal: 'var(--tertiary-color)',\n strong: 'var(--tertiary-color-strong)',\n },\n quaternary: {\n faint: 'var(--quaternary-color-faint)',\n normal: 'var(--quaternary-color)',\n strong: 'var(--quaternary-color-strong)',\n },\n};\n\nconst font = {\n color: 'var(--font-color)',\n family: 'var(--font-family)',\n size: 'var(--font-size)',\n};\n\nconst backgroundColors = {\n primary: 'var(--background-color-primary)',\n secondary: 'var(--background-color-secondary)',\n tertiary: 'var(--background-color-tertiary)',\n quaternary: 'var(--background-color-quaternary)',\n};\n\nconst foregroundColors = {\n primary: 'var(--foreground-color-primary)',\n secondary: 'var(--foreground-color-secondary)',\n tertiary: 'var(--foreground-color-tertiary)',\n quaternary: 'var(--foreground-color-quaternary)',\n};\n\nexport const theme = {\n scalar: 'var(--scalar)',\n backgroundColors,\n foregroundColors,\n gap,\n padding,\n font,\n colors,\n accentColor: 'var(--accent-color)',\n statusColors,\n asyncColors,\n};\n"],"names":["gap","padding","statusColors","asyncColors","colors","font","backgroundColors","foregroundColors","theme"],"mappings":"AAAA,MAAMA,IAAM;AAAA,EACV,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAEMC,IAAU;AAAA,EACd,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAEMC,IAAe;AAAA,EACnB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AACT,GAEMC,IAAc;AAAA,EAClB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AACV,GAEMC,IAAS;AAAA,EACb,SAAS;AAAA,IACP,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,WAAW;AAAA,IACT,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,UAAU;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAEZ,GAEMC,IAAO;AAAA,EACX,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AACR,GAEMC,IAAmB;AAAA,EACvB,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AACd,GAEMC,IAAmB;AAAA,EACvB,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AACd,GAEaC,IAAQ;AAAA,EACnB,QAAQ;AAAA,EACR,kBAAAF;AAAA,EACA,kBAAAC;AAAA,EACA,
|
|
1
|
+
{"version":3,"file":"theme_variables.js","sources":["../../src/themes/theme_variables.ts"],"sourcesContent":["const gap = {\n sm: 'var(--gap-small)',\n md: 'var(--gap-medium)',\n lg: 'var(--gap-large)',\n};\n\nconst padding = {\n sm: 'var(--padding-small)',\n md: 'var(--padding-medium)',\n lg: 'var(--padding-large)',\n};\n\nconst statusColors = {\n disabled: 'var(--status-color-disabled)',\n info: 'var(--status-color-info)',\n warning: 'var(--status-color-warning)',\n error: 'var(--status-color-error)',\n};\n\nconst asyncColors = {\n initial: 'var(--async-color-initial)',\n pending: 'var(--async-color-pending)',\n success: 'var(--async-color-success)',\n failed: 'var(--async-color-failed)',\n};\n\nconst actionSeverity = {\n dangerous: 'var(--action-severity-dangerous)',\n cautious: 'var(--action-severity-cautious)',\n neutral: 'var(--action-severity-neutral)',\n suggested: 'var(--action-severity-suggested)',\n encouraged: 'var(--action-severity-encouraged)',\n};\n\nconst colors = {\n primary: {\n faint: 'var(--primary-color-faint)',\n normal: 'var(--primary-color)',\n strong: 'var(--primary-color-strong)',\n },\n secondary: {\n faint: 'var(--secondary-color-faint)',\n normal: 'var(--secondary-color)',\n strong: 'var(--secondary-color-strong)',\n },\n tertiary: {\n faint: 'var(--tertiary-color-faint)',\n normal: 'var(--tertiary-color)',\n strong: 'var(--tertiary-color-strong)',\n },\n quaternary: {\n faint: 'var(--quaternary-color-faint)',\n normal: 'var(--quaternary-color)',\n strong: 'var(--quaternary-color-strong)',\n },\n};\n\nconst font = {\n color: 'var(--font-color)',\n family: 'var(--font-family)',\n size: 'var(--font-size)',\n};\n\nconst backgroundColors = {\n primary: 'var(--background-color-primary)',\n secondary: 'var(--background-color-secondary)',\n tertiary: 'var(--background-color-tertiary)',\n quaternary: 'var(--background-color-quaternary)',\n};\n\nconst foregroundColors = {\n primary: 'var(--foreground-color-primary)',\n secondary: 'var(--foreground-color-secondary)',\n tertiary: 'var(--foreground-color-tertiary)',\n quaternary: 'var(--foreground-color-quaternary)',\n};\n\nexport const theme = {\n scalar: 'var(--scalar)',\n backgroundColors,\n foregroundColors,\n gap,\n padding,\n font,\n colors,\n accentColor: 'var(--accent-color)',\n statusColors,\n asyncColors,\n actionSeverity,\n};\n"],"names":["gap","padding","statusColors","asyncColors","actionSeverity","colors","font","backgroundColors","foregroundColors","theme"],"mappings":"AAAA,MAAMA,IAAM;AAAA,EACV,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAEMC,IAAU;AAAA,EACd,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN,GAEMC,IAAe;AAAA,EACnB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AACT,GAEMC,IAAc;AAAA,EAClB,SAAS;AAAA,EACT,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AACV,GAEMC,IAAiB;AAAA,EACrB,WAAW;AAAA,EACX,UAAU;AAAA,EACV,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AACd,GAEMC,IAAS;AAAA,EACb,SAAS;AAAA,IACP,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,WAAW;AAAA,IACT,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,UAAU;AAAA,IACR,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAAA,EAEV,YAAY;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,QAAQ;AAAA,EAAA;AAEZ,GAEMC,IAAO;AAAA,EACX,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AACR,GAEMC,IAAmB;AAAA,EACvB,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AACd,GAEMC,IAAmB;AAAA,EACvB,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,YAAY;AACd,GAEaC,IAAQ;AAAA,EACnB,QAAQ;AAAA,EACR,kBAAAF;AAAA,EACA,kBAAAC;AAAA,EACA,KAAAR;AAAA,EACA,SAAAC;AAAA,EACA,MAAAK;AAAA,EACA,QAAAD;AAAA,EACA,aAAa;AAAA,EACb,cAAAH;AAAA,EACA,aAAAC;AAAA,EACA,gBAAAC;AACF;"}
|