@jcdecor/ui 0.1.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/README.md +83 -0
- package/dist/brand/Brand.d.ts +93 -0
- package/dist/brand/index.d.ts +2 -0
- package/dist/brand/paths.d.ts +43 -0
- package/dist/brand-CXtAwb1A.js +248 -0
- package/dist/brand-CXtAwb1A.js.map +1 -0
- package/dist/brand.d.ts +1 -0
- package/dist/brand.js +3 -0
- package/dist/charts/ChartCard.d.ts +20 -0
- package/dist/charts/charts.d.ts +36 -0
- package/dist/charts/index.d.ts +5 -0
- package/dist/charts/palette.d.ts +12 -0
- package/dist/charts.d.ts +1 -0
- package/dist/charts.js +151 -0
- package/dist/charts.js.map +1 -0
- package/dist/chat/ChatComposer.d.ts +27 -0
- package/dist/chat/ChatLayout.d.ts +36 -0
- package/dist/chat/ChatMessage.d.ts +25 -0
- package/dist/chat/ChatThread.d.ts +25 -0
- package/dist/chat/ConversationList.d.ts +16 -0
- package/dist/chat/TypingIndicator.d.ts +10 -0
- package/dist/chat/index.d.ts +9 -0
- package/dist/chat/types.d.ts +38 -0
- package/dist/chat/utils.d.ts +25 -0
- package/dist/chat.d.ts +1 -0
- package/dist/chat.js +541 -0
- package/dist/chat.js.map +1 -0
- package/dist/colors-C_5SHERN.js +33 -0
- package/dist/colors-C_5SHERN.js.map +1 -0
- package/dist/components/ContentCard/ContentCard.d.ts +25 -0
- package/dist/components/ContentCard/index.d.ts +1 -0
- package/dist/components/CouponCode/CouponCode.d.ts +14 -0
- package/dist/components/CouponCode/index.d.ts +1 -0
- package/dist/components/DataTable/DataTable.d.ts +52 -0
- package/dist/components/DataTable/index.d.ts +1 -0
- package/dist/components/KpiCard/KpiCard.d.ts +48 -0
- package/dist/components/KpiCard/index.d.ts +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +22 -0
- package/dist/components/PageHeader/index.d.ts +1 -0
- package/dist/components/PriceTag/PriceTag.d.ts +22 -0
- package/dist/components/PriceTag/index.d.ts +1 -0
- package/dist/components/ProductCard/ProductCard.d.ts +39 -0
- package/dist/components/ProductCard/index.d.ts +1 -0
- package/dist/components/PromoBanner/PromoBanner.d.ts +35 -0
- package/dist/components/PromoBanner/index.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +16 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +11 -0
- package/dist/components/ThemeToggle/index.d.ts +1 -0
- package/dist/components/TokenSwatch/TokenSwatch.d.ts +26 -0
- package/dist/components/TokenSwatch/index.d.ts +1 -0
- package/dist/components/TopNav/TopNav.d.ts +32 -0
- package/dist/components/TopNav/index.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +74 -0
- package/dist/components/Typography/index.d.ts +1 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/format-Cxmo46_A.js +97 -0
- package/dist/format-Cxmo46_A.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1868 -0
- package/dist/index.js.map +1 -0
- package/dist/provider/JcProvider.d.ts +18 -0
- package/dist/styles.css +2 -0
- package/dist/theme/colors.d.ts +26 -0
- package/dist/theme/components/buttons.d.ts +2 -0
- package/dist/theme/components/combobox.d.ts +2 -0
- package/dist/theme/components/dataDisplay.d.ts +2 -0
- package/dist/theme/components/feedback.d.ts +2 -0
- package/dist/theme/components/index.d.ts +3 -0
- package/dist/theme/components/inputs.d.ts +2 -0
- package/dist/theme/components/layout.d.ts +2 -0
- package/dist/theme/components/misc.d.ts +2 -0
- package/dist/theme/components/navigation.d.ts +2 -0
- package/dist/theme/components/overlays.d.ts +2 -0
- package/dist/theme/components/typography.d.ts +2 -0
- package/dist/theme/controls.d.ts +44 -0
- package/dist/theme/cssVariablesResolver.d.ts +2 -0
- package/dist/theme/theme.d.ts +147 -0
- package/dist/theme/tokens.d.ts +457 -0
- package/dist/theme/variantColorResolver.d.ts +9 -0
- package/dist/tokens-BBTJY6nq.js +316 -0
- package/dist/tokens-BBTJY6nq.js.map +1 -0
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.js +4 -0
- package/dist/utils/format.d.ts +14 -0
- package/package.json +105 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type TextProps } from '@mantine/core';
|
|
2
|
+
type Scale = 'lg' | 'md' | 'sm';
|
|
3
|
+
export interface DisplayProps extends Omit<TextProps, 'size'> {
|
|
4
|
+
/** display-large · display-medium · display-small @default 'sm' */
|
|
5
|
+
size?: Scale;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** Títulos de impacto (hero, landing). Bold, tracking levemente negativo. */
|
|
9
|
+
export declare const Display: (<C = "h1">(props: import("@mantine/core").PolymorphicComponentProps<C, DisplayProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(DisplayProps & {
|
|
10
|
+
component?: any;
|
|
11
|
+
} & Omit<any, "component" | keyof DisplayProps> & {
|
|
12
|
+
ref?: any;
|
|
13
|
+
renderRoot?: (props: any) => any;
|
|
14
|
+
}) | (DisplayProps & {
|
|
15
|
+
component: React.ElementType;
|
|
16
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
17
|
+
})>, never> & Record<string, never>;
|
|
18
|
+
export interface HeadlineProps extends Omit<TextProps, 'size'> {
|
|
19
|
+
/** headline-large (Bold) · headline-medium · headline-small (SemiBold) @default 'md' */
|
|
20
|
+
size?: Scale;
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
}
|
|
23
|
+
/** Títulos de seção e de cards. */
|
|
24
|
+
export declare const Headline: (<C = "h2">(props: import("@mantine/core").PolymorphicComponentProps<C, HeadlineProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(HeadlineProps & {
|
|
25
|
+
component?: any;
|
|
26
|
+
} & Omit<any, "component" | keyof HeadlineProps> & {
|
|
27
|
+
ref?: any;
|
|
28
|
+
renderRoot?: (props: any) => any;
|
|
29
|
+
}) | (HeadlineProps & {
|
|
30
|
+
component: React.ElementType;
|
|
31
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
32
|
+
})>, never> & Record<string, never>;
|
|
33
|
+
export interface SubheadlineProps extends Omit<TextProps, 'size'> {
|
|
34
|
+
/** subheadline-large (Medium) · regular · small @default 'md' */
|
|
35
|
+
size?: Scale;
|
|
36
|
+
children?: React.ReactNode;
|
|
37
|
+
}
|
|
38
|
+
/** Texto de apoio / corpo. */
|
|
39
|
+
export declare const Subheadline: (<C = "p">(props: import("@mantine/core").PolymorphicComponentProps<C, SubheadlineProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(SubheadlineProps & {
|
|
40
|
+
component?: any;
|
|
41
|
+
} & Omit<any, "component" | keyof SubheadlineProps> & {
|
|
42
|
+
ref?: any;
|
|
43
|
+
renderRoot?: (props: any) => any;
|
|
44
|
+
}) | (SubheadlineProps & {
|
|
45
|
+
component: React.ElementType;
|
|
46
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
47
|
+
})>, never> & Record<string, never>;
|
|
48
|
+
export interface DisclaimerProps extends TextProps {
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
/** Microcopy para notas, orientação e suporte legal (12px Medium, texto-3). */
|
|
52
|
+
export declare const Disclaimer: (<C = "p">(props: import("@mantine/core").PolymorphicComponentProps<C, DisclaimerProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(DisclaimerProps & {
|
|
53
|
+
component?: any;
|
|
54
|
+
} & Omit<any, "component" | keyof DisclaimerProps> & {
|
|
55
|
+
ref?: any;
|
|
56
|
+
renderRoot?: (props: any) => any;
|
|
57
|
+
}) | (DisclaimerProps & {
|
|
58
|
+
component: React.ElementType;
|
|
59
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
60
|
+
})>, never> & Record<string, never>;
|
|
61
|
+
export interface KickerProps extends TextProps {
|
|
62
|
+
children?: React.ReactNode;
|
|
63
|
+
}
|
|
64
|
+
/** Sobretítulo em caixa-alta na cor primária (ex.: "JC Decor · DS"). Caixa-alta pede tracking positivo. */
|
|
65
|
+
export declare const Kicker: (<C = "div">(props: import("@mantine/core").PolymorphicComponentProps<C, KickerProps>) => React.ReactElement) & Omit<import("react").FunctionComponent<(KickerProps & {
|
|
66
|
+
component?: any;
|
|
67
|
+
} & Omit<any, "component" | keyof KickerProps> & {
|
|
68
|
+
ref?: any;
|
|
69
|
+
renderRoot?: (props: any) => any;
|
|
70
|
+
}) | (KickerProps & {
|
|
71
|
+
component: React.ElementType;
|
|
72
|
+
renderRoot?: (props: Record<string, any>) => any;
|
|
73
|
+
})>, never> & Record<string, never>;
|
|
74
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Typography';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './Typography';
|
|
2
|
+
export * from './Tag';
|
|
3
|
+
export * from './PromoBanner';
|
|
4
|
+
export * from './ContentCard';
|
|
5
|
+
export * from './KpiCard';
|
|
6
|
+
export * from './TopNav';
|
|
7
|
+
export * from './PageHeader';
|
|
8
|
+
export * from './DataTable';
|
|
9
|
+
export * from './ThemeToggle';
|
|
10
|
+
export * from './TokenSwatch';
|
|
11
|
+
export * from './PriceTag';
|
|
12
|
+
export * from './ProductCard';
|
|
13
|
+
export * from './CouponCode';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { p as e } from "./tokens-BBTJY6nq.js";
|
|
3
|
+
import { Text as t, createPolymorphicComponent as n } from "@mantine/core";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/Typography/Typography.tsx
|
|
6
|
+
function i(t) {
|
|
7
|
+
let n = e[t];
|
|
8
|
+
return {
|
|
9
|
+
fz: n.size,
|
|
10
|
+
fw: n.weight,
|
|
11
|
+
lh: n.lineHeight,
|
|
12
|
+
lts: n.letterSpacing === "0" ? void 0 : n.letterSpacing
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
var a = {
|
|
16
|
+
lg: "displayLg",
|
|
17
|
+
md: "displayMd",
|
|
18
|
+
sm: "displaySm"
|
|
19
|
+
}, o = n(({ size: e = "sm", ...n }) => /* @__PURE__ */ r(t, {
|
|
20
|
+
component: "h1",
|
|
21
|
+
m: 0,
|
|
22
|
+
...i(a[e]),
|
|
23
|
+
...n
|
|
24
|
+
})), s = {
|
|
25
|
+
lg: "headlineLg",
|
|
26
|
+
md: "headlineMd",
|
|
27
|
+
sm: "headlineSm"
|
|
28
|
+
}, c = {
|
|
29
|
+
lg: "h2",
|
|
30
|
+
md: "h3",
|
|
31
|
+
sm: "h4"
|
|
32
|
+
}, l = n(({ size: e = "md", ...n }) => /* @__PURE__ */ r(t, {
|
|
33
|
+
component: c[e],
|
|
34
|
+
m: 0,
|
|
35
|
+
...i(s[e]),
|
|
36
|
+
...n
|
|
37
|
+
})), u = {
|
|
38
|
+
lg: "subheadlineLg",
|
|
39
|
+
md: "subheadlineRg",
|
|
40
|
+
sm: "subheadlineSm"
|
|
41
|
+
}, d = n(({ size: e = "md", ...n }) => /* @__PURE__ */ r(t, {
|
|
42
|
+
component: "p",
|
|
43
|
+
m: 0,
|
|
44
|
+
...i(u[e]),
|
|
45
|
+
...n
|
|
46
|
+
})), f = n((e) => /* @__PURE__ */ r(t, {
|
|
47
|
+
component: "p",
|
|
48
|
+
m: 0,
|
|
49
|
+
c: "var(--ds-text-3)",
|
|
50
|
+
...i("disclaimer"),
|
|
51
|
+
...e
|
|
52
|
+
})), p = n((e) => /* @__PURE__ */ r(t, {
|
|
53
|
+
component: "div",
|
|
54
|
+
fz: 12,
|
|
55
|
+
fw: 600,
|
|
56
|
+
lh: 1.33,
|
|
57
|
+
tt: "uppercase",
|
|
58
|
+
lts: "0.06em",
|
|
59
|
+
c: "var(--ds-primary)",
|
|
60
|
+
...e
|
|
61
|
+
})), m = "pt-BR";
|
|
62
|
+
function h(e, t) {
|
|
63
|
+
return new Intl.NumberFormat(m, t).format(e);
|
|
64
|
+
}
|
|
65
|
+
function g(e, t) {
|
|
66
|
+
return new Intl.NumberFormat(m, {
|
|
67
|
+
style: "currency",
|
|
68
|
+
currency: "BRL",
|
|
69
|
+
...t
|
|
70
|
+
}).format(e);
|
|
71
|
+
}
|
|
72
|
+
function _(e, { digits: t = 1, signed: n = !1 } = {}) {
|
|
73
|
+
return `${new Intl.NumberFormat(m, {
|
|
74
|
+
minimumFractionDigits: t,
|
|
75
|
+
maximumFractionDigits: t,
|
|
76
|
+
signDisplay: n ? "exceptZero" : "auto"
|
|
77
|
+
}).format(e)}%`;
|
|
78
|
+
}
|
|
79
|
+
function v(e) {
|
|
80
|
+
return new Intl.NumberFormat(m, {
|
|
81
|
+
notation: "compact",
|
|
82
|
+
maximumFractionDigits: 1
|
|
83
|
+
}).format(e);
|
|
84
|
+
}
|
|
85
|
+
function y(e, t = { dateStyle: "short" }) {
|
|
86
|
+
return new Intl.DateTimeFormat(m, t).format(new Date(e));
|
|
87
|
+
}
|
|
88
|
+
function b(e) {
|
|
89
|
+
return new Intl.DateTimeFormat(m, {
|
|
90
|
+
hour: "2-digit",
|
|
91
|
+
minute: "2-digit"
|
|
92
|
+
}).format(new Date(e));
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { h as a, f as c, p as d, d as f, y as i, o as l, v as n, _ as o, g as r, b as s, m as t, l as u };
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=format-Cxmo46_A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-Cxmo46_A.js","names":["typography","scaleProps","t","token","displayToken","Display","createPolymorphicComponent","others","Text","size","headlineToken","headlineTag","Headline","subToken","Subheadline","Disclaimer","props","Kicker","LOCALE","formatNumber","options","value","formatCurrency","formatPercent","digits","signed","formatCompact","formatDate","formatTime"],"sources":["../src/components/Typography/Typography.tsx","../src/utils/format.ts"],"sourcesContent":["import { Text, createPolymorphicComponent, type TextProps } from '@mantine/core';\nimport { typography, type TypographyToken } from '../../theme/tokens';\n\ntype Scale = 'lg' | 'md' | 'sm';\n\nfunction scaleProps(token: TypographyToken) {\n const t = typography[token];\n return { fz: t.size, fw: t.weight, lh: t.lineHeight, lts: t.letterSpacing === '0' ? undefined : t.letterSpacing };\n}\n\nexport interface DisplayProps extends Omit<TextProps, 'size'> {\n /** display-large · display-medium · display-small @default 'sm' */\n size?: Scale;\n children?: React.ReactNode;\n}\n\nconst displayToken: Record<Scale, TypographyToken> = { lg: 'displayLg', md: 'displayMd', sm: 'displaySm' };\n\n/** Títulos de impacto (hero, landing). Bold, tracking levemente negativo. */\nexport const Display = createPolymorphicComponent<'h1', DisplayProps>(\n ({ size = 'sm', ...others }: DisplayProps & { component?: any }) => (\n <Text component=\"h1\" m={0} {...scaleProps(displayToken[size])} {...others} />\n ),\n);\n\nexport interface HeadlineProps extends Omit<TextProps, 'size'> {\n /** headline-large (Bold) · headline-medium · headline-small (SemiBold) @default 'md' */\n size?: Scale;\n children?: React.ReactNode;\n}\n\nconst headlineToken: Record<Scale, TypographyToken> = { lg: 'headlineLg', md: 'headlineMd', sm: 'headlineSm' };\nconst headlineTag: Record<Scale, string> = { lg: 'h2', md: 'h3', sm: 'h4' };\n\n/** Títulos de seção e de cards. */\nexport const Headline = createPolymorphicComponent<'h2', HeadlineProps>(\n ({ size = 'md', ...others }: HeadlineProps & { component?: any }) => (\n <Text component={headlineTag[size] as 'h2'} m={0} {...scaleProps(headlineToken[size])} {...others} />\n ),\n);\n\nexport interface SubheadlineProps extends Omit<TextProps, 'size'> {\n /** subheadline-large (Medium) · regular · small @default 'md' */\n size?: Scale;\n children?: React.ReactNode;\n}\n\nconst subToken: Record<Scale, TypographyToken> = { lg: 'subheadlineLg', md: 'subheadlineRg', sm: 'subheadlineSm' };\n\n/** Texto de apoio / corpo. */\nexport const Subheadline = createPolymorphicComponent<'p', SubheadlineProps>(\n ({ size = 'md', ...others }: SubheadlineProps & { component?: any }) => (\n <Text component=\"p\" m={0} {...scaleProps(subToken[size])} {...others} />\n ),\n);\n\nexport interface DisclaimerProps extends TextProps {\n children?: React.ReactNode;\n}\n\n/** Microcopy para notas, orientação e suporte legal (12px Medium, texto-3). */\nexport const Disclaimer = createPolymorphicComponent<'p', DisclaimerProps>((props: DisclaimerProps & { component?: any }) => (\n <Text component=\"p\" m={0} c=\"var(--ds-text-3)\" {...scaleProps('disclaimer')} {...props} />\n));\n\nexport interface KickerProps extends TextProps {\n children?: React.ReactNode;\n}\n\n/** Sobretítulo em caixa-alta na cor primária (ex.: \"JC Decor · DS\"). Caixa-alta pede tracking positivo. */\nexport const Kicker = createPolymorphicComponent<'div', KickerProps>((props: KickerProps & { component?: any }) => (\n <Text component=\"div\" fz={12} fw={600} lh={1.33} tt=\"uppercase\" lts=\"0.06em\" c=\"var(--ds-primary)\" {...props} />\n));\n","/** Formatação pt-BR usada pelos componentes (KPIs, tabelas, preços, gráficos). */\n\nexport const LOCALE = 'pt-BR';\n\nexport function formatNumber(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(LOCALE, options).format(value);\n}\n\n/** 1234.5 → \"R$ 1.234,50\" */\nexport function formatCurrency(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(LOCALE, { style: 'currency', currency: 'BRL', ...options }).format(value);\n}\n\n/** -5.6 → \"-5,6%\" (recebe valor em pontos percentuais). `signed` adiciona \"+\" em positivos. */\nexport function formatPercent(value: number, { digits = 1, signed = false } = {}) {\n const formatted = new Intl.NumberFormat(LOCALE, {\n minimumFractionDigits: digits,\n maximumFractionDigits: digits,\n signDisplay: signed ? 'exceptZero' : 'auto',\n }).format(value);\n return `${formatted}%`;\n}\n\n/** 54959 → \"55 mil\" */\nexport function formatCompact(value: number) {\n return new Intl.NumberFormat(LOCALE, { notation: 'compact', maximumFractionDigits: 1 }).format(value);\n}\n\nexport function formatDate(value: Date | string | number, options: Intl.DateTimeFormatOptions = { dateStyle: 'short' }) {\n return new Intl.DateTimeFormat(LOCALE, options).format(new Date(value));\n}\n\nexport function formatTime(value: Date | string | number) {\n return new Intl.DateTimeFormat(LOCALE, { hour: '2-digit', minute: '2-digit' }).format(new Date(value));\n}\n"],"mappings":";;;;;AAKA,SAASC,EAAW,GAAwB;CAC1C,IAAMC,IAAIF,EAAWG;CACrB,OAAO;EAAE,IAAID,EAAE;EAAM,IAAIA,EAAE;EAAQ,IAAIA,EAAE;EAAY,KAAKA,EAAE,kBAAkB,MAAM,KAAA,IAAYA,EAAE;CAAc;AAClH;AAQA,IAAME,IAA+C;CAAE,IAAI;CAAa,IAAI;CAAa,IAAI;AAAY,GAG5FC,IAAUC,GACpB,EAAE,UAAO,MAAM,GAAGC,QACjB,kBAACC,GAAD;CAAM,WAAU;CAAK,GAAG;CAAG,GAAIP,EAAWG,EAAaK,EAAK;CAAG,GAAIF;AAAS,CAAA,CAEhF,GAQMG,IAAgD;CAAE,IAAI;CAAc,IAAI;CAAc,IAAI;AAAa,GACvGC,IAAqC;CAAE,IAAI;CAAM,IAAI;CAAM,IAAI;AAAK,GAG7DC,IAAWN,GACrB,EAAE,UAAO,MAAM,GAAGC,QACjB,kBAACC,GAAD;CAAM,WAAWG,EAAYF;CAAe,GAAG;CAAG,GAAIR,EAAWS,EAAcD,EAAK;CAAG,GAAIF;AAAS,CAAA,CAExG,GAQMM,IAA2C;CAAE,IAAI;CAAiB,IAAI;CAAiB,IAAI;AAAgB,GAGpGC,IAAcR,GACxB,EAAE,UAAO,MAAM,GAAGC,QACjB,kBAACC,GAAD;CAAM,WAAU;CAAI,GAAG;CAAG,GAAIP,EAAWY,EAASJ,EAAK;CAAG,GAAIF;AAAS,CAAA,CAE3E,GAOaQ,IAAaT,GAAkD,MAC1E,kBAACE,GAAD;CAAM,WAAU;CAAI,GAAG;CAAG,GAAE;CAAmB,GAAIP,EAAW,YAAY;CAAG,GAAIe;AAAQ,CAAA,CAC1F,GAOYC,IAASX,GAAgD,MACpE,kBAACE,GAAD;CAAM,WAAU;CAAM,IAAI;CAAI,IAAI;CAAK,IAAI;CAAM,IAAG;CAAY,KAAI;CAAS,GAAE;CAAoB,GAAIQ;AAAQ,CAAA,CAChH,GCtEYE,IAAS;AAEtB,SAAgBC,EAAa,GAAe,GAAoC;CAC9E,OAAO,IAAI,KAAK,aAAaD,GAAQE,CAAO,CAAC,CAAC,OAAOC,CAAK;AAC5D;AAGA,SAAgBC,EAAe,GAAe,GAAoC;CAChF,OAAO,IAAI,KAAK,aAAaJ,GAAQ;EAAE,OAAO;EAAY,UAAU;EAAO,GAAGE;CAAQ,CAAC,CAAC,CAAC,OAAOC,CAAK;AACvG;AAGA,SAAgBE,EAAc,GAAe,EAAE,YAAS,GAAG,YAAS,OAAU,CAAC,GAAG;CAMhF,OAAO,GALW,IAAI,KAAK,aAAaL,GAAQ;EAC9C,uBAAuBM;EACvB,uBAAuBA;EACvB,aAAaC,IAAS,eAAe;CACvC,CAAC,CAAC,CAAC,OAAOJ,CACA,EAAU;AACtB;AAGA,SAAgBK,EAAc,GAAe;CAC3C,OAAO,IAAI,KAAK,aAAaR,GAAQ;EAAE,UAAU;EAAW,uBAAuB;CAAE,CAAC,CAAC,CAAC,OAAOG,CAAK;AACtG;AAEA,SAAgBM,EAAW,GAA+B,IAAsC,EAAE,WAAW,QAAQ,GAAG;CACtH,OAAO,IAAI,KAAK,eAAeT,GAAQE,CAAO,CAAC,CAAC,OAAO,IAAI,KAAKC,CAAK,CAAC;AACxE;AAEA,SAAgBO,EAAW,GAA+B;CACxD,OAAO,IAAI,KAAK,eAAeV,GAAQ;EAAE,MAAM;EAAW,QAAQ;CAAU,CAAC,CAAC,CAAC,OAAO,IAAI,KAAKG,CAAK,CAAC;AACvG"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './styles/global.css';
|
|
2
|
+
export * from '@mantine/core';
|
|
3
|
+
export { jcTheme } from './theme/theme';
|
|
4
|
+
export { jcCssVariablesResolver } from './theme/cssVariablesResolver';
|
|
5
|
+
export { jcVariantColorResolver } from './theme/variantColorResolver';
|
|
6
|
+
export { jcColors } from './theme/colors';
|
|
7
|
+
export type { JcColor } from './theme/colors';
|
|
8
|
+
export { tokens } from './theme/tokens';
|
|
9
|
+
export { JcProvider } from './provider/JcProvider';
|
|
10
|
+
export type { JcProviderProps } from './provider/JcProvider';
|
|
11
|
+
export * from './components';
|
|
12
|
+
export * from './brand';
|
|
13
|
+
export * from './utils/format';
|