@arthurzakharov/ui-kit 1.2.1 → 1.2.3
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/assets/tag-create-CXB1HuBg.css +1 -0
- package/dist/components/not-found/not-found.component.js +26 -20
- package/dist/components/tag/block.component.d.ts +32 -0
- package/dist/components/tag/block.component.js +5 -0
- package/dist/components/tag/css-variables-map.util.d.ts +32 -0
- package/dist/components/tag/css-variables-map.util.js +35 -0
- package/dist/components/tag/flex.component.d.ts +127 -0
- package/dist/components/tag/flex.component.js +10 -0
- package/dist/components/tag/inline-block.component.d.ts +32 -0
- package/dist/components/tag/inline-block.component.js +5 -0
- package/dist/components/tag/inline-flex.component.d.ts +127 -0
- package/dist/components/tag/inline-flex.component.js +10 -0
- package/dist/components/tag/inline.component.d.ts +32 -0
- package/dist/components/tag/inline.component.js +5 -0
- package/dist/components/tag/table.component.d.ts +189 -0
- package/dist/components/tag/table.component.js +12 -0
- package/dist/components/tag/tag-create.d.ts +32 -0
- package/dist/components/tag/tag-create.js +79 -0
- package/dist/components/tag/tag.types.d.ts +61 -0
- package/dist/components/tag/tag.types.js +1 -0
- package/dist/components/tag/use-mq.hook.d.ts +6 -0
- package/dist/components/tag/use-mq.hook.js +9 -0
- package/package.json +1 -1
- package/dist/assets/not-found-ZbA42G36.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Tag_dnl2k_3[d=flex]{display:flex}._Tag_dnl2k_3[d=inline-flex]{display:inline-flex}._Tag_dnl2k_3[d=block]{display:block}._Tag_dnl2k_3[d=inline-block]{display:inline-block}._Tag_dnl2k_3[d=inline]{display:inline}._Tag_dnl2k_3[d=table]{display:table;width:100%;border-spacing:0;border-collapse:collapse}._Tag_dnl2k_3[d=table-row-group]{display:table-row-group}._Tag_dnl2k_3[d=table-row]{display:table-row}._Tag_dnl2k_3[d=table-cell]{display:table-cell}._Tag_dnl2k_3[pos=relative]{position:relative}._Tag_dnl2k_3[pos=absolute]{position:absolute}._Tag_dnl2k_3[pos=fixed]{position:fixed}._Tag_dnl2k_3[pos=static]{position:static}._Tag_dnl2k_3[pos=sticky]{position:sticky}._Tag_dnl2k_3[fxd=row]{flex-direction:row}._Tag_dnl2k_3[fxd=column]{flex-direction:column}._Tag_dnl2k_3[fxd=row-reverse]{flex-direction:row-reverse}._Tag_dnl2k_3[fxd=column-reverse]{flex-direction:column-reverse}._Tag_dnl2k_3[ai=center]{align-items:center}._Tag_dnl2k_3[ai=start]{align-items:flex-start}._Tag_dnl2k_3[ai=end]{align-items:flex-end}._Tag_dnl2k_3[ai=stretch]{align-items:stretch}._Tag_dnl2k_3[jc=center]{justify-content:center}._Tag_dnl2k_3[jc=start]{justify-content:flex-start}._Tag_dnl2k_3[jc=end]{justify-content:flex-end}._Tag_dnl2k_3[jc=space-between]{justify-content:space-between}._Tag_dnl2k_3[g=xxs]{gap:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[g=xs]{gap:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[g=sm]{gap:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[g=md]{gap:var(--rm-ui-padding-md)}._Tag_dnl2k_3[g=lg]{gap:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[g=xl]{gap:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[g=xxl]{gap:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[g=xxxl]{gap:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[fw=light]{font-weight:var(--rm-ui-font-weight-light)}._Tag_dnl2k_3[fw=regular]{font-weight:var(--rm-ui-font-weight-regular)}._Tag_dnl2k_3[fw=medium]{font-weight:var(--rm-ui-font-weight-medium)}._Tag_dnl2k_3[fw=bold]{font-weight:var(--rm-ui-font-weight-bold)}._Tag_dnl2k_3[fz=regular]{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._Tag_dnl2k_3[fz=small]{font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._Tag_dnl2k_3[fz=extra-small]{font-size:var(--rm-ui-font-size-body-extra-small);line-height:var(--rm-ui-line-height-body-extra-small)}._Tag_dnl2k_3[fz=large]{font-size:var(--rm-ui-font-size-body-large);line-height:var(--rm-ui-line-height-body-large)}._Tag_dnl2k_3[fz=hl1]{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}._Tag_dnl2k_3[fz=hl2]{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._Tag_dnl2k_3[fz=hl3]{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._Tag_dnl2k_3[fz=hl4]{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}._Tag_dnl2k_3[fz=hl5]{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}._Tag_dnl2k_3[c=primary]{color:var(--rm-ui-color-text-primary)}._Tag_dnl2k_3[c=secondary]{color:var(--rm-ui-color-text-secondary)}._Tag_dnl2k_3[c=accent-primary]{color:var(--rm-ui-color-accent-primary)}._Tag_dnl2k_3[c=accent-secondary]{color:var(--rm-ui-color-accent-secondary)}._Tag_dnl2k_3[ta=left]{text-align:left}._Tag_dnl2k_3[ta=center]{text-align:center}._Tag_dnl2k_3[ta=right]{text-align:right}._Tag_dnl2k_3[td=underline]{text-decoration:underline}._Tag_dnl2k_3[td=overline]{text-decoration:overline}._Tag_dnl2k_3[td=line-through]{text-decoration:line-through}._Tag_dnl2k_3[va=top]{vertical-align:top}._Tag_dnl2k_3[va=bottom]{vertical-align:bottom}._Tag_dnl2k_3[va=middle]{vertical-align:middle}._Tag_dnl2k_3[mt=xxs]{margin-top:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[mt=xs]{margin-top:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[mt=sm]{margin-top:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[mt=md]{margin-top:var(--rm-ui-padding-md)}._Tag_dnl2k_3[mt=lg]{margin-top:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[mt=xl]{margin-top:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[mt=xxl]{margin-top:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[mt=xxxl]{margin-top:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[mb=xxs]{margin-bottom:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[mb=xs]{margin-bottom:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[mb=sm]{margin-bottom:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[mb=md]{margin-bottom:var(--rm-ui-padding-md)}._Tag_dnl2k_3[mb=lg]{margin-bottom:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[mb=xl]{margin-bottom:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[mb=xxl]{margin-bottom:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[mb=xxxl]{margin-bottom:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[ml=xxs]{margin-left:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[ml=xs]{margin-left:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[ml=sm]{margin-left:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[ml=md]{margin-left:var(--rm-ui-padding-md)}._Tag_dnl2k_3[ml=lg]{margin-left:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[ml=xl]{margin-left:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[ml=xxl]{margin-left:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[ml=xxxl]{margin-left:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[mr=xxs]{margin-right:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[mr=xs]{margin-right:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[mr=sm]{margin-right:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[mr=md]{margin-right:var(--rm-ui-padding-md)}._Tag_dnl2k_3[mr=lg]{margin-right:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[mr=xl]{margin-right:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[mr=xxl]{margin-right:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[mr=xxxl]{margin-right:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[mx=xxs]{margin:0 var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[mx=xs]{margin:0 var(--rm-ui-padding-xs)}._Tag_dnl2k_3[mx=sm]{margin:0 var(--rm-ui-padding-sm)}._Tag_dnl2k_3[mx=md]{margin:0 var(--rm-ui-padding-md)}._Tag_dnl2k_3[mx=lg]{margin:0 var(--rm-ui-padding-lg)}._Tag_dnl2k_3[mx=xl]{margin:0 var(--rm-ui-padding-xl)}._Tag_dnl2k_3[mx=xxl]{margin:0 var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[mx=xxxl]{margin:0 var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[my=xxs]{margin:var(--rm-ui-padding-xxs) 0}._Tag_dnl2k_3[my=xs]{margin:var(--rm-ui-padding-xs) 0}._Tag_dnl2k_3[my=sm]{margin:var(--rm-ui-padding-sm) 0}._Tag_dnl2k_3[my=md]{margin:var(--rm-ui-padding-md) 0}._Tag_dnl2k_3[my=lg]{margin:var(--rm-ui-padding-lg) 0}._Tag_dnl2k_3[my=xl]{margin:var(--rm-ui-padding-xl) 0}._Tag_dnl2k_3[my=xxl]{margin:var(--rm-ui-padding-xxl) 0}._Tag_dnl2k_3[my=xxxl]{margin:var(--rm-ui-padding-xxxl) 0}._Tag_dnl2k_3[m=xxs]{margin:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[m=xs]{margin:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[m=sm]{margin:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[m=md]{margin:var(--rm-ui-padding-md)}._Tag_dnl2k_3[m=lg]{margin:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[m=xl]{margin:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[m=xxl]{margin:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[m=xxxl]{margin:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[pt=xxs]{padding-top:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[pt=xs]{padding-top:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[pt=sm]{padding-top:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[pt=md]{padding-top:var(--rm-ui-padding-md)}._Tag_dnl2k_3[pt=lg]{padding-top:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[pt=xl]{padding-top:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[pt=xxl]{padding-top:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[pt=xxxl]{padding-top:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[pb=xxs]{padding-bottom:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[pb=xs]{padding-bottom:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[pb=sm]{padding-bottom:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[pb=md]{padding-bottom:var(--rm-ui-padding-md)}._Tag_dnl2k_3[pb=lg]{padding-bottom:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[pb=xl]{padding-bottom:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[pb=xxl]{padding-bottom:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[pb=xxxl]{padding-bottom:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[pl=xxs]{padding-left:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[pl=xs]{padding-left:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[pl=sm]{padding-left:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[pl=md]{padding-left:var(--rm-ui-padding-md)}._Tag_dnl2k_3[pl=lg]{padding-left:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[pl=xl]{padding-left:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[pl=xxl]{padding-left:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[pl=xxxl]{padding-left:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[pr=xxs]{padding-right:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[pr=xs]{padding-right:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[pr=sm]{padding-right:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[pr=md]{padding-right:var(--rm-ui-padding-md)}._Tag_dnl2k_3[pr=lg]{padding-right:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[pr=xl]{padding-right:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[pr=xxl]{padding-right:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[pr=xxxl]{padding-right:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[px=xxs]{padding-left:var(--rm-ui-padding-xxs);padding-right:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[px=xs]{padding-left:var(--rm-ui-padding-xs);padding-right:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[px=sm]{padding-left:var(--rm-ui-padding-sm);padding-right:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[px=md]{padding-left:var(--rm-ui-padding-md);padding-right:var(--rm-ui-padding-md)}._Tag_dnl2k_3[px=lg]{padding-left:var(--rm-ui-padding-lg);padding-right:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[px=xl]{padding-left:var(--rm-ui-padding-xl);padding-right:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[px=xxl]{padding-left:var(--rm-ui-padding-xxl);padding-right:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[px=xxxl]{padding-left:var(--rm-ui-padding-xxxl);padding-right:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[py=xxs]{padding-top:var(--rm-ui-padding-xxs);padding-bottom:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[py=xs]{padding-top:var(--rm-ui-padding-xs);padding-bottom:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[py=sm]{padding-top:var(--rm-ui-padding-sm);padding-bottom:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[py=md]{padding-top:var(--rm-ui-padding-md);padding-bottom:var(--rm-ui-padding-md)}._Tag_dnl2k_3[py=lg]{padding-top:var(--rm-ui-padding-lg);padding-bottom:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[py=xl]{padding-top:var(--rm-ui-padding-xl);padding-bottom:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[py=xxl]{padding-top:var(--rm-ui-padding-xxl);padding-bottom:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[py=xxxl]{padding-top:var(--rm-ui-padding-xxxl);padding-bottom:var(--rm-ui-padding-xxxl)}._Tag_dnl2k_3[p=xxs]{padding:var(--rm-ui-padding-xxs)}._Tag_dnl2k_3[p=xs]{padding:var(--rm-ui-padding-xs)}._Tag_dnl2k_3[p=sm]{padding:var(--rm-ui-padding-sm)}._Tag_dnl2k_3[p=md]{padding:var(--rm-ui-padding-md)}._Tag_dnl2k_3[p=lg]{padding:var(--rm-ui-padding-lg)}._Tag_dnl2k_3[p=xl]{padding:var(--rm-ui-padding-xl)}._Tag_dnl2k_3[p=xxl]{padding:var(--rm-ui-padding-xxl)}._Tag_dnl2k_3[p=xxxl]{padding:var(--rm-ui-padding-xxxl)}
|
|
@@ -1,24 +1,30 @@
|
|
|
1
|
-
import { jsxs as d, jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { Block as h } from "../tag/block.component.js";
|
|
3
|
+
import { color as m } from "../tag/css-variables-map.util.js";
|
|
4
|
+
import { Table as r } from "../tag/table.component.js";
|
|
5
|
+
import { useMQ as a, media as t } from "../tag/use-mq.hook.js";
|
|
6
|
+
const s = (o) => {
|
|
7
|
+
const e = a();
|
|
8
|
+
return /* @__PURE__ */ d(h, { tag: "section", p: t(e, { phone: "sm md", laptop: "md lg", pc: "lg" }), children: [
|
|
9
|
+
/* @__PURE__ */ l(h, { tag: "h1", mb: "lg", fw: "regular", fz: t(e, { phone: "hl2", pc: "hl1" }), children: o.title }),
|
|
10
|
+
/* @__PURE__ */ l(h, { tag: "h2", mb: "md", fw: "regular", fz: t(e, { phone: "hl3", pc: "hl2" }), children: o.subtitle }),
|
|
11
|
+
/* @__PURE__ */ l(h, { tag: "h3", mb: "md", fw: "light", fz: t(e, { phone: "hl4", pc: "hl3" }), children: o.tableTitle }),
|
|
12
|
+
/* @__PURE__ */ l(r.Main, { children: /* @__PURE__ */ l(
|
|
13
|
+
r.Body,
|
|
14
|
+
{
|
|
15
|
+
va: "top",
|
|
16
|
+
fz: t(e, {
|
|
17
|
+
phone: "small",
|
|
18
|
+
pc: "regular"
|
|
19
|
+
}),
|
|
20
|
+
children: o.tableRows.map((i) => /* @__PURE__ */ d(r.Row, { style: { borderTop: `1px solid ${m.grey300}` }, children: [
|
|
21
|
+
/* @__PURE__ */ l(r.CellHead, { p: "xs", fw: "regular", ta: "left", children: i.key }),
|
|
22
|
+
/* @__PURE__ */ l(r.CellBody, { p: "xs", fw: "light", children: i.value })
|
|
23
|
+
] }, i.key))
|
|
24
|
+
}
|
|
25
|
+
) })
|
|
20
26
|
] });
|
|
21
27
|
};
|
|
22
28
|
export {
|
|
23
|
-
|
|
29
|
+
s as NotFound
|
|
24
30
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RegularTagProps } from './tag.types';
|
|
2
|
+
export declare const Block: (props: RegularTagProps) => import('react').ReactElement<{
|
|
3
|
+
className: string;
|
|
4
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
5
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
6
|
+
mt: import('./tag.types').Space | undefined;
|
|
7
|
+
mb: import('./tag.types').Space | undefined;
|
|
8
|
+
ml: import('./tag.types').Space | undefined;
|
|
9
|
+
mr: import('./tag.types').Space | undefined;
|
|
10
|
+
p: import('./tag.types').Space | undefined;
|
|
11
|
+
px: import('./tag.types').Space | undefined;
|
|
12
|
+
py: import('./tag.types').Space | undefined;
|
|
13
|
+
pt: import('./tag.types').Space | undefined;
|
|
14
|
+
pb: import('./tag.types').Space | undefined;
|
|
15
|
+
pl: import('./tag.types').Space | undefined;
|
|
16
|
+
pr: import('./tag.types').Space | undefined;
|
|
17
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
18
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
19
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
20
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
21
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
22
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
23
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
24
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
25
|
+
g: import('./tag.types').Space | undefined;
|
|
26
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
27
|
+
style: import('react').CSSProperties | undefined;
|
|
28
|
+
dangerouslySetInnerHTML: {
|
|
29
|
+
__html: string;
|
|
30
|
+
} | null;
|
|
31
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
32
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const color: {
|
|
2
|
+
grey950: string;
|
|
3
|
+
grey900: string;
|
|
4
|
+
grey800: string;
|
|
5
|
+
grey700: string;
|
|
6
|
+
grey600: string;
|
|
7
|
+
grey500: string;
|
|
8
|
+
grey400: string;
|
|
9
|
+
grey300: string;
|
|
10
|
+
grey200: string;
|
|
11
|
+
grey100: string;
|
|
12
|
+
grey50: string;
|
|
13
|
+
text: {
|
|
14
|
+
primary: string;
|
|
15
|
+
secondary: string;
|
|
16
|
+
};
|
|
17
|
+
accent: {
|
|
18
|
+
primary: string;
|
|
19
|
+
secondary: string;
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
};
|
|
25
|
+
action: string;
|
|
26
|
+
inverted: string;
|
|
27
|
+
error: string;
|
|
28
|
+
success: string;
|
|
29
|
+
focus: string;
|
|
30
|
+
link: string;
|
|
31
|
+
body: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const r = {
|
|
2
|
+
grey950: "var(--rm-ui-grey-950)",
|
|
3
|
+
grey900: "var(--rm-ui-grey-900)",
|
|
4
|
+
grey800: "var(--rm-ui-grey-800)",
|
|
5
|
+
grey700: "var(--rm-ui-grey-700)",
|
|
6
|
+
grey600: "var(--rm-ui-grey-600)",
|
|
7
|
+
grey500: "var(--rm-ui-grey-500)",
|
|
8
|
+
grey400: "var(--rm-ui-grey-400)",
|
|
9
|
+
grey300: "var(--rm-ui-grey-300)",
|
|
10
|
+
grey200: "var(--rm-ui-grey-200)",
|
|
11
|
+
grey100: "var(--rm-ui-grey-100)",
|
|
12
|
+
grey50: "var(--rm-ui-grey-50)",
|
|
13
|
+
text: {
|
|
14
|
+
primary: "var(--rm-ui-color-text-primary)",
|
|
15
|
+
secondary: "var(--rm-ui-color-text-secondary)"
|
|
16
|
+
},
|
|
17
|
+
accent: {
|
|
18
|
+
primary: "var(--rm-ui-color-accent-primary)",
|
|
19
|
+
secondary: "var(--rm-ui-color-accent-secondary)"
|
|
20
|
+
},
|
|
21
|
+
theme: {
|
|
22
|
+
primary: "var(--rm-ui-color-theme-primary)",
|
|
23
|
+
secondary: "var(--rm-ui-color-theme-secondary)"
|
|
24
|
+
},
|
|
25
|
+
action: "var(--rm-ui-color-action)",
|
|
26
|
+
inverted: "var(--rm-ui-color-inverted)",
|
|
27
|
+
error: "var(--rm-ui-color-error)",
|
|
28
|
+
success: "var(--rm-ui-color-success)",
|
|
29
|
+
focus: "var(--rm-ui-color-focus)",
|
|
30
|
+
link: "var(--rm-ui-color-link)",
|
|
31
|
+
body: "var(--rm-ui-body-color)"
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
r as color
|
|
35
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { FlexTagProps } from './tag.types';
|
|
2
|
+
export declare const Flex: {
|
|
3
|
+
Row: (props: FlexTagProps) => import('react').ReactElement<{
|
|
4
|
+
className: string;
|
|
5
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
6
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
7
|
+
mt: import('./tag.types').Space | undefined;
|
|
8
|
+
mb: import('./tag.types').Space | undefined;
|
|
9
|
+
ml: import('./tag.types').Space | undefined;
|
|
10
|
+
mr: import('./tag.types').Space | undefined;
|
|
11
|
+
p: import('./tag.types').Space | undefined;
|
|
12
|
+
px: import('./tag.types').Space | undefined;
|
|
13
|
+
py: import('./tag.types').Space | undefined;
|
|
14
|
+
pt: import('./tag.types').Space | undefined;
|
|
15
|
+
pb: import('./tag.types').Space | undefined;
|
|
16
|
+
pl: import('./tag.types').Space | undefined;
|
|
17
|
+
pr: import('./tag.types').Space | undefined;
|
|
18
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
19
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
20
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
21
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
22
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
23
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
24
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
25
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
26
|
+
g: import('./tag.types').Space | undefined;
|
|
27
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
28
|
+
style: import('react').CSSProperties | undefined;
|
|
29
|
+
dangerouslySetInnerHTML: {
|
|
30
|
+
__html: string;
|
|
31
|
+
} | null;
|
|
32
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
33
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
34
|
+
RowReverse: (props: FlexTagProps) => import('react').ReactElement<{
|
|
35
|
+
className: string;
|
|
36
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
37
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
38
|
+
mt: import('./tag.types').Space | undefined;
|
|
39
|
+
mb: import('./tag.types').Space | undefined;
|
|
40
|
+
ml: import('./tag.types').Space | undefined;
|
|
41
|
+
mr: import('./tag.types').Space | undefined;
|
|
42
|
+
p: import('./tag.types').Space | undefined;
|
|
43
|
+
px: import('./tag.types').Space | undefined;
|
|
44
|
+
py: import('./tag.types').Space | undefined;
|
|
45
|
+
pt: import('./tag.types').Space | undefined;
|
|
46
|
+
pb: import('./tag.types').Space | undefined;
|
|
47
|
+
pl: import('./tag.types').Space | undefined;
|
|
48
|
+
pr: import('./tag.types').Space | undefined;
|
|
49
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
50
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
51
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
52
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
53
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
54
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
55
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
56
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
57
|
+
g: import('./tag.types').Space | undefined;
|
|
58
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
59
|
+
style: import('react').CSSProperties | undefined;
|
|
60
|
+
dangerouslySetInnerHTML: {
|
|
61
|
+
__html: string;
|
|
62
|
+
} | null;
|
|
63
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
64
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
65
|
+
Column: (props: FlexTagProps) => import('react').ReactElement<{
|
|
66
|
+
className: string;
|
|
67
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
68
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
69
|
+
mt: import('./tag.types').Space | undefined;
|
|
70
|
+
mb: import('./tag.types').Space | undefined;
|
|
71
|
+
ml: import('./tag.types').Space | undefined;
|
|
72
|
+
mr: import('./tag.types').Space | undefined;
|
|
73
|
+
p: import('./tag.types').Space | undefined;
|
|
74
|
+
px: import('./tag.types').Space | undefined;
|
|
75
|
+
py: import('./tag.types').Space | undefined;
|
|
76
|
+
pt: import('./tag.types').Space | undefined;
|
|
77
|
+
pb: import('./tag.types').Space | undefined;
|
|
78
|
+
pl: import('./tag.types').Space | undefined;
|
|
79
|
+
pr: import('./tag.types').Space | undefined;
|
|
80
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
81
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
82
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
83
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
84
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
85
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
86
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
87
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
88
|
+
g: import('./tag.types').Space | undefined;
|
|
89
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
90
|
+
style: import('react').CSSProperties | undefined;
|
|
91
|
+
dangerouslySetInnerHTML: {
|
|
92
|
+
__html: string;
|
|
93
|
+
} | null;
|
|
94
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
95
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
96
|
+
ColumnReverse: (props: FlexTagProps) => import('react').ReactElement<{
|
|
97
|
+
className: string;
|
|
98
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
99
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
100
|
+
mt: import('./tag.types').Space | undefined;
|
|
101
|
+
mb: import('./tag.types').Space | undefined;
|
|
102
|
+
ml: import('./tag.types').Space | undefined;
|
|
103
|
+
mr: import('./tag.types').Space | undefined;
|
|
104
|
+
p: import('./tag.types').Space | undefined;
|
|
105
|
+
px: import('./tag.types').Space | undefined;
|
|
106
|
+
py: import('./tag.types').Space | undefined;
|
|
107
|
+
pt: import('./tag.types').Space | undefined;
|
|
108
|
+
pb: import('./tag.types').Space | undefined;
|
|
109
|
+
pl: import('./tag.types').Space | undefined;
|
|
110
|
+
pr: import('./tag.types').Space | undefined;
|
|
111
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
112
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
113
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
114
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
115
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
116
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
117
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
118
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
119
|
+
g: import('./tag.types').Space | undefined;
|
|
120
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
121
|
+
style: import('react').CSSProperties | undefined;
|
|
122
|
+
dangerouslySetInnerHTML: {
|
|
123
|
+
__html: string;
|
|
124
|
+
} | null;
|
|
125
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
126
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
127
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { tagCreate as o } from "./tag-create.js";
|
|
2
|
+
const x = {
|
|
3
|
+
Row: (e) => o({ ...e, d: "flex", fxd: "row" }),
|
|
4
|
+
RowReverse: (e) => o({ ...e, d: "flex", fxd: "row-reverse" }),
|
|
5
|
+
Column: (e) => o({ ...e, d: "flex", fxd: "column" }),
|
|
6
|
+
ColumnReverse: (e) => o({ ...e, d: "flex", fxd: "column-reverse" })
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
x as Flex
|
|
10
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RegularTagProps } from './tag.types';
|
|
2
|
+
export declare const InlineBlock: (props: RegularTagProps) => import('react').ReactElement<{
|
|
3
|
+
className: string;
|
|
4
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
5
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
6
|
+
mt: import('./tag.types').Space | undefined;
|
|
7
|
+
mb: import('./tag.types').Space | undefined;
|
|
8
|
+
ml: import('./tag.types').Space | undefined;
|
|
9
|
+
mr: import('./tag.types').Space | undefined;
|
|
10
|
+
p: import('./tag.types').Space | undefined;
|
|
11
|
+
px: import('./tag.types').Space | undefined;
|
|
12
|
+
py: import('./tag.types').Space | undefined;
|
|
13
|
+
pt: import('./tag.types').Space | undefined;
|
|
14
|
+
pb: import('./tag.types').Space | undefined;
|
|
15
|
+
pl: import('./tag.types').Space | undefined;
|
|
16
|
+
pr: import('./tag.types').Space | undefined;
|
|
17
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
18
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
19
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
20
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
21
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
22
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
23
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
24
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
25
|
+
g: import('./tag.types').Space | undefined;
|
|
26
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
27
|
+
style: import('react').CSSProperties | undefined;
|
|
28
|
+
dangerouslySetInnerHTML: {
|
|
29
|
+
__html: string;
|
|
30
|
+
} | null;
|
|
31
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
32
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { FlexTagProps } from './tag.types';
|
|
2
|
+
export declare const InlineFlex: {
|
|
3
|
+
Row: (props: FlexTagProps) => import('react').ReactElement<{
|
|
4
|
+
className: string;
|
|
5
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
6
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
7
|
+
mt: import('./tag.types').Space | undefined;
|
|
8
|
+
mb: import('./tag.types').Space | undefined;
|
|
9
|
+
ml: import('./tag.types').Space | undefined;
|
|
10
|
+
mr: import('./tag.types').Space | undefined;
|
|
11
|
+
p: import('./tag.types').Space | undefined;
|
|
12
|
+
px: import('./tag.types').Space | undefined;
|
|
13
|
+
py: import('./tag.types').Space | undefined;
|
|
14
|
+
pt: import('./tag.types').Space | undefined;
|
|
15
|
+
pb: import('./tag.types').Space | undefined;
|
|
16
|
+
pl: import('./tag.types').Space | undefined;
|
|
17
|
+
pr: import('./tag.types').Space | undefined;
|
|
18
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
19
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
20
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
21
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
22
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
23
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
24
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
25
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
26
|
+
g: import('./tag.types').Space | undefined;
|
|
27
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
28
|
+
style: import('react').CSSProperties | undefined;
|
|
29
|
+
dangerouslySetInnerHTML: {
|
|
30
|
+
__html: string;
|
|
31
|
+
} | null;
|
|
32
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
33
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
34
|
+
RowReverse: (props: FlexTagProps) => import('react').ReactElement<{
|
|
35
|
+
className: string;
|
|
36
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
37
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
38
|
+
mt: import('./tag.types').Space | undefined;
|
|
39
|
+
mb: import('./tag.types').Space | undefined;
|
|
40
|
+
ml: import('./tag.types').Space | undefined;
|
|
41
|
+
mr: import('./tag.types').Space | undefined;
|
|
42
|
+
p: import('./tag.types').Space | undefined;
|
|
43
|
+
px: import('./tag.types').Space | undefined;
|
|
44
|
+
py: import('./tag.types').Space | undefined;
|
|
45
|
+
pt: import('./tag.types').Space | undefined;
|
|
46
|
+
pb: import('./tag.types').Space | undefined;
|
|
47
|
+
pl: import('./tag.types').Space | undefined;
|
|
48
|
+
pr: import('./tag.types').Space | undefined;
|
|
49
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
50
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
51
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
52
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
53
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
54
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
55
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
56
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
57
|
+
g: import('./tag.types').Space | undefined;
|
|
58
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
59
|
+
style: import('react').CSSProperties | undefined;
|
|
60
|
+
dangerouslySetInnerHTML: {
|
|
61
|
+
__html: string;
|
|
62
|
+
} | null;
|
|
63
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
64
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
65
|
+
Column: (props: FlexTagProps) => import('react').ReactElement<{
|
|
66
|
+
className: string;
|
|
67
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
68
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
69
|
+
mt: import('./tag.types').Space | undefined;
|
|
70
|
+
mb: import('./tag.types').Space | undefined;
|
|
71
|
+
ml: import('./tag.types').Space | undefined;
|
|
72
|
+
mr: import('./tag.types').Space | undefined;
|
|
73
|
+
p: import('./tag.types').Space | undefined;
|
|
74
|
+
px: import('./tag.types').Space | undefined;
|
|
75
|
+
py: import('./tag.types').Space | undefined;
|
|
76
|
+
pt: import('./tag.types').Space | undefined;
|
|
77
|
+
pb: import('./tag.types').Space | undefined;
|
|
78
|
+
pl: import('./tag.types').Space | undefined;
|
|
79
|
+
pr: import('./tag.types').Space | undefined;
|
|
80
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
81
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
82
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
83
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
84
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
85
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
86
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
87
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
88
|
+
g: import('./tag.types').Space | undefined;
|
|
89
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
90
|
+
style: import('react').CSSProperties | undefined;
|
|
91
|
+
dangerouslySetInnerHTML: {
|
|
92
|
+
__html: string;
|
|
93
|
+
} | null;
|
|
94
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
95
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
96
|
+
ColumnReverse: (props: FlexTagProps) => import('react').ReactElement<{
|
|
97
|
+
className: string;
|
|
98
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
99
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
100
|
+
mt: import('./tag.types').Space | undefined;
|
|
101
|
+
mb: import('./tag.types').Space | undefined;
|
|
102
|
+
ml: import('./tag.types').Space | undefined;
|
|
103
|
+
mr: import('./tag.types').Space | undefined;
|
|
104
|
+
p: import('./tag.types').Space | undefined;
|
|
105
|
+
px: import('./tag.types').Space | undefined;
|
|
106
|
+
py: import('./tag.types').Space | undefined;
|
|
107
|
+
pt: import('./tag.types').Space | undefined;
|
|
108
|
+
pb: import('./tag.types').Space | undefined;
|
|
109
|
+
pl: import('./tag.types').Space | undefined;
|
|
110
|
+
pr: import('./tag.types').Space | undefined;
|
|
111
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
112
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
113
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
114
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
115
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
116
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
117
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
118
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
119
|
+
g: import('./tag.types').Space | undefined;
|
|
120
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
121
|
+
style: import('react').CSSProperties | undefined;
|
|
122
|
+
dangerouslySetInnerHTML: {
|
|
123
|
+
__html: string;
|
|
124
|
+
} | null;
|
|
125
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
126
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
127
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { tagCreate as n } from "./tag-create.js";
|
|
2
|
+
const o = {
|
|
3
|
+
Row: (e) => n({ ...e, d: "inline-flex", fxd: "row" }),
|
|
4
|
+
RowReverse: (e) => n({ ...e, d: "inline-flex", fxd: "row-reverse" }),
|
|
5
|
+
Column: (e) => n({ ...e, d: "inline-flex", fxd: "column" }),
|
|
6
|
+
ColumnReverse: (e) => n({ ...e, d: "inline-flex", fxd: "column-reverse" })
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
o as InlineFlex
|
|
10
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RegularTagProps } from './tag.types';
|
|
2
|
+
export declare const Inline: (props: RegularTagProps) => import('react').ReactElement<{
|
|
3
|
+
className: string;
|
|
4
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
5
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
6
|
+
mt: import('./tag.types').Space | undefined;
|
|
7
|
+
mb: import('./tag.types').Space | undefined;
|
|
8
|
+
ml: import('./tag.types').Space | undefined;
|
|
9
|
+
mr: import('./tag.types').Space | undefined;
|
|
10
|
+
p: import('./tag.types').Space | undefined;
|
|
11
|
+
px: import('./tag.types').Space | undefined;
|
|
12
|
+
py: import('./tag.types').Space | undefined;
|
|
13
|
+
pt: import('./tag.types').Space | undefined;
|
|
14
|
+
pb: import('./tag.types').Space | undefined;
|
|
15
|
+
pl: import('./tag.types').Space | undefined;
|
|
16
|
+
pr: import('./tag.types').Space | undefined;
|
|
17
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
18
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
19
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
20
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
21
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
22
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
23
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
24
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
25
|
+
g: import('./tag.types').Space | undefined;
|
|
26
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
27
|
+
style: import('react').CSSProperties | undefined;
|
|
28
|
+
dangerouslySetInnerHTML: {
|
|
29
|
+
__html: string;
|
|
30
|
+
} | null;
|
|
31
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
32
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { TableTagProps } from './tag.types';
|
|
2
|
+
export declare const Table: {
|
|
3
|
+
Main: (props: TableTagProps) => import('react').ReactElement<{
|
|
4
|
+
className: string;
|
|
5
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
6
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
7
|
+
mt: import('./tag.types').Space | undefined;
|
|
8
|
+
mb: import('./tag.types').Space | undefined;
|
|
9
|
+
ml: import('./tag.types').Space | undefined;
|
|
10
|
+
mr: import('./tag.types').Space | undefined;
|
|
11
|
+
p: import('./tag.types').Space | undefined;
|
|
12
|
+
px: import('./tag.types').Space | undefined;
|
|
13
|
+
py: import('./tag.types').Space | undefined;
|
|
14
|
+
pt: import('./tag.types').Space | undefined;
|
|
15
|
+
pb: import('./tag.types').Space | undefined;
|
|
16
|
+
pl: import('./tag.types').Space | undefined;
|
|
17
|
+
pr: import('./tag.types').Space | undefined;
|
|
18
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
19
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
20
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
21
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
22
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
23
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
24
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
25
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
26
|
+
g: import('./tag.types').Space | undefined;
|
|
27
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
28
|
+
style: import('react').CSSProperties | undefined;
|
|
29
|
+
dangerouslySetInnerHTML: {
|
|
30
|
+
__html: string;
|
|
31
|
+
} | null;
|
|
32
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
33
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
34
|
+
Head: (props: TableTagProps) => import('react').ReactElement<{
|
|
35
|
+
className: string;
|
|
36
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
37
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
38
|
+
mt: import('./tag.types').Space | undefined;
|
|
39
|
+
mb: import('./tag.types').Space | undefined;
|
|
40
|
+
ml: import('./tag.types').Space | undefined;
|
|
41
|
+
mr: import('./tag.types').Space | undefined;
|
|
42
|
+
p: import('./tag.types').Space | undefined;
|
|
43
|
+
px: import('./tag.types').Space | undefined;
|
|
44
|
+
py: import('./tag.types').Space | undefined;
|
|
45
|
+
pt: import('./tag.types').Space | undefined;
|
|
46
|
+
pb: import('./tag.types').Space | undefined;
|
|
47
|
+
pl: import('./tag.types').Space | undefined;
|
|
48
|
+
pr: import('./tag.types').Space | undefined;
|
|
49
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
50
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
51
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
52
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
53
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
54
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
55
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
56
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
57
|
+
g: import('./tag.types').Space | undefined;
|
|
58
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
59
|
+
style: import('react').CSSProperties | undefined;
|
|
60
|
+
dangerouslySetInnerHTML: {
|
|
61
|
+
__html: string;
|
|
62
|
+
} | null;
|
|
63
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
64
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
65
|
+
Body: (props: TableTagProps) => import('react').ReactElement<{
|
|
66
|
+
className: string;
|
|
67
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
68
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
69
|
+
mt: import('./tag.types').Space | undefined;
|
|
70
|
+
mb: import('./tag.types').Space | undefined;
|
|
71
|
+
ml: import('./tag.types').Space | undefined;
|
|
72
|
+
mr: import('./tag.types').Space | undefined;
|
|
73
|
+
p: import('./tag.types').Space | undefined;
|
|
74
|
+
px: import('./tag.types').Space | undefined;
|
|
75
|
+
py: import('./tag.types').Space | undefined;
|
|
76
|
+
pt: import('./tag.types').Space | undefined;
|
|
77
|
+
pb: import('./tag.types').Space | undefined;
|
|
78
|
+
pl: import('./tag.types').Space | undefined;
|
|
79
|
+
pr: import('./tag.types').Space | undefined;
|
|
80
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
81
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
82
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
83
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
84
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
85
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
86
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
87
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
88
|
+
g: import('./tag.types').Space | undefined;
|
|
89
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
90
|
+
style: import('react').CSSProperties | undefined;
|
|
91
|
+
dangerouslySetInnerHTML: {
|
|
92
|
+
__html: string;
|
|
93
|
+
} | null;
|
|
94
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
95
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
96
|
+
Row: (props: TableTagProps) => import('react').ReactElement<{
|
|
97
|
+
className: string;
|
|
98
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
99
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
100
|
+
mt: import('./tag.types').Space | undefined;
|
|
101
|
+
mb: import('./tag.types').Space | undefined;
|
|
102
|
+
ml: import('./tag.types').Space | undefined;
|
|
103
|
+
mr: import('./tag.types').Space | undefined;
|
|
104
|
+
p: import('./tag.types').Space | undefined;
|
|
105
|
+
px: import('./tag.types').Space | undefined;
|
|
106
|
+
py: import('./tag.types').Space | undefined;
|
|
107
|
+
pt: import('./tag.types').Space | undefined;
|
|
108
|
+
pb: import('./tag.types').Space | undefined;
|
|
109
|
+
pl: import('./tag.types').Space | undefined;
|
|
110
|
+
pr: import('./tag.types').Space | undefined;
|
|
111
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
112
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
113
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
114
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
115
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
116
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
117
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
118
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
119
|
+
g: import('./tag.types').Space | undefined;
|
|
120
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
121
|
+
style: import('react').CSSProperties | undefined;
|
|
122
|
+
dangerouslySetInnerHTML: {
|
|
123
|
+
__html: string;
|
|
124
|
+
} | null;
|
|
125
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
126
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
127
|
+
CellHead: (props: TableTagProps) => import('react').ReactElement<{
|
|
128
|
+
className: string;
|
|
129
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
130
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
131
|
+
mt: import('./tag.types').Space | undefined;
|
|
132
|
+
mb: import('./tag.types').Space | undefined;
|
|
133
|
+
ml: import('./tag.types').Space | undefined;
|
|
134
|
+
mr: import('./tag.types').Space | undefined;
|
|
135
|
+
p: import('./tag.types').Space | undefined;
|
|
136
|
+
px: import('./tag.types').Space | undefined;
|
|
137
|
+
py: import('./tag.types').Space | undefined;
|
|
138
|
+
pt: import('./tag.types').Space | undefined;
|
|
139
|
+
pb: import('./tag.types').Space | undefined;
|
|
140
|
+
pl: import('./tag.types').Space | undefined;
|
|
141
|
+
pr: import('./tag.types').Space | undefined;
|
|
142
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
143
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
144
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
145
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
146
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
147
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
148
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
149
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
150
|
+
g: import('./tag.types').Space | undefined;
|
|
151
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
152
|
+
style: import('react').CSSProperties | undefined;
|
|
153
|
+
dangerouslySetInnerHTML: {
|
|
154
|
+
__html: string;
|
|
155
|
+
} | null;
|
|
156
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
157
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
158
|
+
CellBody: (props: TableTagProps) => import('react').ReactElement<{
|
|
159
|
+
className: string;
|
|
160
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
161
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
162
|
+
mt: import('./tag.types').Space | undefined;
|
|
163
|
+
mb: import('./tag.types').Space | undefined;
|
|
164
|
+
ml: import('./tag.types').Space | undefined;
|
|
165
|
+
mr: import('./tag.types').Space | undefined;
|
|
166
|
+
p: import('./tag.types').Space | undefined;
|
|
167
|
+
px: import('./tag.types').Space | undefined;
|
|
168
|
+
py: import('./tag.types').Space | undefined;
|
|
169
|
+
pt: import('./tag.types').Space | undefined;
|
|
170
|
+
pb: import('./tag.types').Space | undefined;
|
|
171
|
+
pl: import('./tag.types').Space | undefined;
|
|
172
|
+
pr: import('./tag.types').Space | undefined;
|
|
173
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
174
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
175
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
176
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
177
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
178
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
179
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
180
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
181
|
+
g: import('./tag.types').Space | undefined;
|
|
182
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
183
|
+
style: import('react').CSSProperties | undefined;
|
|
184
|
+
dangerouslySetInnerHTML: {
|
|
185
|
+
__html: string;
|
|
186
|
+
} | null;
|
|
187
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
188
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
189
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { tagCreate as a } from "./tag-create.js";
|
|
2
|
+
const l = {
|
|
3
|
+
Main: (t) => a({ ...t, d: "table", tag: "table" }),
|
|
4
|
+
Head: (t) => a({ ...t, d: "table-row-group", tag: "thead" }),
|
|
5
|
+
Body: (t) => a({ ...t, d: "table-row-group", tag: "tbody" }),
|
|
6
|
+
Row: (t) => a({ ...t, d: "table-row", tag: "tr" }),
|
|
7
|
+
CellHead: (t) => a({ ...t, d: "table-cell", tag: "th" }),
|
|
8
|
+
CellBody: (t) => a({ ...t, d: "table-cell", tag: "td" })
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
l as Table
|
|
12
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Space, CreateProps } from './tag.types';
|
|
2
|
+
export declare const tagCreate: (props: CreateProps) => import('react').ReactElement<{
|
|
3
|
+
className: string;
|
|
4
|
+
d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
|
|
5
|
+
pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
|
|
6
|
+
mt: Space | undefined;
|
|
7
|
+
mb: Space | undefined;
|
|
8
|
+
ml: Space | undefined;
|
|
9
|
+
mr: Space | undefined;
|
|
10
|
+
p: Space | undefined;
|
|
11
|
+
px: Space | undefined;
|
|
12
|
+
py: Space | undefined;
|
|
13
|
+
pt: Space | undefined;
|
|
14
|
+
pb: Space | undefined;
|
|
15
|
+
pl: Space | undefined;
|
|
16
|
+
pr: Space | undefined;
|
|
17
|
+
fw: ("bold" | "light" | "regular" | "medium") | undefined;
|
|
18
|
+
fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
|
|
19
|
+
c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
|
|
20
|
+
ta: ("center" | "left" | "right") | undefined;
|
|
21
|
+
td: ("line-through" | "overline" | "underline") | undefined;
|
|
22
|
+
fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
|
|
23
|
+
ai: ("center" | "end" | "start" | "stretch") | undefined;
|
|
24
|
+
jc: ("center" | "end" | "start" | "space-between") | undefined;
|
|
25
|
+
g: Space | undefined;
|
|
26
|
+
va: ("bottom" | "top" | "middle") | undefined;
|
|
27
|
+
style: import('react').CSSProperties | undefined;
|
|
28
|
+
dangerouslySetInnerHTML: {
|
|
29
|
+
__html: string;
|
|
30
|
+
} | null;
|
|
31
|
+
children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined;
|
|
32
|
+
}, string | import('react').JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { createElement as r } from "react";
|
|
2
|
+
import c from "clsx";
|
|
3
|
+
import '../../assets/tag-create-CXB1HuBg.css';const b = "_Tag_dnl2k_3", v = {
|
|
4
|
+
Tag: b
|
|
5
|
+
}, f = (t) => t === "xxs" || t === "xs" || t === "sm" || t === "md" || t === "lg" || t === "xl" || t === "xxl" || t === "xxxl", e = (t) => {
|
|
6
|
+
if (!t) return {};
|
|
7
|
+
const m = t.trim().split(/\s+/).filter(Boolean);
|
|
8
|
+
if (m.length === 0 || m.length > 4) return {};
|
|
9
|
+
if (!m.every(f)) return {};
|
|
10
|
+
const [i, l, n, d] = m;
|
|
11
|
+
return l ? n ? d ? { t: i, r: l, b: n, l: d } : { t: i, r: l, b: n, l } : { t: i, r: l, b: i, l } : { t: i, r: i, b: i, l: i };
|
|
12
|
+
}, x = (t) => {
|
|
13
|
+
const m = e(t);
|
|
14
|
+
return m.t === m.b && m.l === m.r && m.t === m.l ? { p: m.t, px: void 0, py: void 0, pt: void 0, pr: void 0, pb: void 0, pl: void 0 } : m.t === m.b && m.l === m.r && m.t !== m.l ? { p: void 0, px: m.l, py: m.t, pt: void 0, pr: void 0, pb: void 0, pl: void 0 } : { p: void 0, px: void 0, py: void 0, pt: m.t, pr: m.r, pb: m.b, pl: m.l };
|
|
15
|
+
}, a = (t) => {
|
|
16
|
+
const m = e(t);
|
|
17
|
+
return m.t === m.b && m.l === m.r && m.t === m.l ? { m: m.t, mx: void 0, my: void 0, mt: void 0, mr: void 0, mb: void 0, ml: void 0 } : m.t === m.b && m.l === m.r && m.t !== m.l ? { m: void 0, mx: m.l, my: m.t, mt: void 0, mr: void 0, mb: void 0, ml: void 0 } : { m: void 0, mx: void 0, my: void 0, mt: m.t, mr: m.r, mb: m.b, ml: m.l };
|
|
18
|
+
}, o = (t) => {
|
|
19
|
+
const m = x(t.p), i = {
|
|
20
|
+
p: m.p,
|
|
21
|
+
px: m.px,
|
|
22
|
+
py: m.py,
|
|
23
|
+
pt: m.pt,
|
|
24
|
+
pr: m.pr,
|
|
25
|
+
pb: m.pb,
|
|
26
|
+
pl: m.pl
|
|
27
|
+
};
|
|
28
|
+
return t.py && (i.py = t.py), t.px && (i.px = t.px), t.pt && (i.pt = t.pt), t.pr && (i.pr = t.pr), t.pb && (i.pb = t.pb), t.pl && (i.pl = t.pl), i;
|
|
29
|
+
}, y = (t) => {
|
|
30
|
+
const m = a(t.m), i = {
|
|
31
|
+
m: m.m,
|
|
32
|
+
mx: m.mx,
|
|
33
|
+
my: m.my,
|
|
34
|
+
mt: m.mt,
|
|
35
|
+
mr: m.mr,
|
|
36
|
+
mb: m.mb,
|
|
37
|
+
ml: m.ml
|
|
38
|
+
};
|
|
39
|
+
return t.my && (i.my = t.my), t.mx && (i.mx = t.mx), t.mt && (i.mt = t.mt), t.mr && (i.mr = t.mr), t.mb && (i.mb = t.mb), t.ml && (i.ml = t.ml), i;
|
|
40
|
+
}, h = (t) => {
|
|
41
|
+
const m = y(t), i = o(t);
|
|
42
|
+
return r(t.tag || "div", {
|
|
43
|
+
className: c(v.Tag, t.className),
|
|
44
|
+
d: t.d,
|
|
45
|
+
pos: t.pos,
|
|
46
|
+
// Margins
|
|
47
|
+
mt: m.mt,
|
|
48
|
+
mb: m.mb,
|
|
49
|
+
ml: m.ml,
|
|
50
|
+
mr: m.mr,
|
|
51
|
+
// Paddings
|
|
52
|
+
p: i.p,
|
|
53
|
+
px: i.px,
|
|
54
|
+
py: i.py,
|
|
55
|
+
pt: i.pt,
|
|
56
|
+
pb: i.pb,
|
|
57
|
+
pl: i.pl,
|
|
58
|
+
pr: i.pr,
|
|
59
|
+
// Font
|
|
60
|
+
fw: t.fw,
|
|
61
|
+
fz: t.fz,
|
|
62
|
+
c: t.c,
|
|
63
|
+
ta: t.ta,
|
|
64
|
+
td: t.td,
|
|
65
|
+
// FlexProps
|
|
66
|
+
fxd: t.fxd,
|
|
67
|
+
ai: t.ai,
|
|
68
|
+
jc: t.jc,
|
|
69
|
+
g: t.g,
|
|
70
|
+
va: t.va,
|
|
71
|
+
// Styles
|
|
72
|
+
style: t.style,
|
|
73
|
+
dangerouslySetInnerHTML: typeof t.children == "string" ? { __html: t.children } : null,
|
|
74
|
+
children: typeof t.children != "string" ? t.children : null
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
h as tagCreate
|
|
79
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
+
type Display = 'flex' | 'inline-flex' | 'block' | 'inline-block' | 'inline' | 'table' | 'table-row-group' | 'table-row' | 'table-cell';
|
|
3
|
+
type Position = 'relative' | 'absolute' | 'fixed' | 'static' | 'sticky';
|
|
4
|
+
type Direction = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
5
|
+
type AlignItems = 'center' | 'start' | 'end' | 'stretch';
|
|
6
|
+
type JustifyContent = 'center' | 'start' | 'end' | 'space-between';
|
|
7
|
+
type TextAlign = 'left' | 'center' | 'right';
|
|
8
|
+
type FontWeight = 'light' | 'regular' | 'medium' | 'bold';
|
|
9
|
+
type FontSize = 'regular' | 'small' | 'extra-small' | 'large' | 'hl1' | 'hl2' | 'hl3' | 'hl4' | 'hl5';
|
|
10
|
+
type Color = 'primary' | 'secondary' | 'accent-primary' | 'accent-secondary';
|
|
11
|
+
type TextDecoration = 'underline' | 'overline' | 'line-through';
|
|
12
|
+
type VerticalAlign = 'top' | 'bottom' | 'middle';
|
|
13
|
+
export type Space = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
14
|
+
export type SpaceShorthand = Space | `${Space} ${Space}` | `${Space} ${Space} ${Space}` | `${Space} ${Space} ${Space} ${Space}`;
|
|
15
|
+
export type ResolvedPadding = Partial<Record<'p' | 'px' | 'py' | 'pt' | 'pr' | 'pb' | 'pl', Space>>;
|
|
16
|
+
export type ResolvedMargin = Partial<Record<'m' | 'mx' | 'my' | 'mt' | 'mr' | 'mb' | 'ml', Space>>;
|
|
17
|
+
export type ResolvedSpaceShorthand = Partial<Record<'t' | 'r' | 'b' | 'l', Space>>;
|
|
18
|
+
interface CommonProps extends PropsWithChildren {
|
|
19
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
className?: string;
|
|
22
|
+
d?: Display;
|
|
23
|
+
pos?: Position;
|
|
24
|
+
}
|
|
25
|
+
export interface MarginProps {
|
|
26
|
+
mt?: Space;
|
|
27
|
+
mb?: Space;
|
|
28
|
+
ml?: Space;
|
|
29
|
+
mr?: Space;
|
|
30
|
+
mx?: Space;
|
|
31
|
+
my?: Space;
|
|
32
|
+
m?: SpaceShorthand;
|
|
33
|
+
}
|
|
34
|
+
export interface PaddingProps {
|
|
35
|
+
pt?: Space;
|
|
36
|
+
pb?: Space;
|
|
37
|
+
pl?: Space;
|
|
38
|
+
pr?: Space;
|
|
39
|
+
px?: Space;
|
|
40
|
+
py?: Space;
|
|
41
|
+
p?: SpaceShorthand;
|
|
42
|
+
}
|
|
43
|
+
interface FontProps {
|
|
44
|
+
fw?: FontWeight;
|
|
45
|
+
fz?: FontSize;
|
|
46
|
+
c?: Color;
|
|
47
|
+
ta?: TextAlign;
|
|
48
|
+
td?: TextDecoration;
|
|
49
|
+
va?: VerticalAlign;
|
|
50
|
+
}
|
|
51
|
+
interface FlexProps {
|
|
52
|
+
fxd?: Direction;
|
|
53
|
+
ai?: AlignItems;
|
|
54
|
+
jc?: JustifyContent;
|
|
55
|
+
g?: Space;
|
|
56
|
+
}
|
|
57
|
+
export type FlexTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps & FlexProps, 'd' | 'fxd'>;
|
|
58
|
+
export type RegularTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps, 'd'>;
|
|
59
|
+
export type TableTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps, 'd' | 'tag'>;
|
|
60
|
+
export type CreateProps = CommonProps & MarginProps & PaddingProps & FontProps & FlexProps;
|
|
61
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type Device = 'phone' | 'tablet' | 'laptop' | 'pc';
|
|
2
|
+
export type DeviceValues<T> = Partial<Record<Device, T>> & {
|
|
3
|
+
default?: T;
|
|
4
|
+
};
|
|
5
|
+
export declare const useMQ: () => Device;
|
|
6
|
+
export declare const media: <T>(device: Device, values: DeviceValues<T>) => T | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useMediaQuery as n } from "usehooks-ts";
|
|
2
|
+
const i = () => {
|
|
3
|
+
const p = n("(min-width: 1200px)"), t = n("(min-width: 1024px)"), r = n("(min-width: 768px)");
|
|
4
|
+
return p ? "pc" : t ? "laptop" : r ? "tablet" : "phone";
|
|
5
|
+
}, e = (p, t) => p === "pc" ? t.pc ?? t.laptop ?? t.tablet ?? t.phone ?? t.default : p === "laptop" ? t.laptop ?? t.tablet ?? t.phone ?? t.default : p === "tablet" ? t.tablet ?? t.phone ?? t.default : t.phone ?? t.default;
|
|
6
|
+
export {
|
|
7
|
+
e as media,
|
|
8
|
+
i as useMQ
|
|
9
|
+
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._NotFound_nybsl_1{padding:var(--rm-ui-padding-sm) var(--rm-ui-padding-md) var(--rm-ui-padding-sm);background-color:transparent;font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._NotFoundH1_nybsl_10{margin-bottom:var(--rm-ui-padding-lg);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._NotFoundH2_nybsl_17{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._NotFoundH3_nybsl_24{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}._NotFoundTable_nybsl_31{width:100%;border-spacing:0;border-collapse:collapse}._NotFoundTh_nybsl_37,._NotFoundTd_nybsl_38{padding:var(--rm-ui-padding-xs);vertical-align:top;border-top:1px solid var(--rm-ui-grey-300);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._NotFoundTh_nybsl_37{text-align:left;font-weight:var(--rm-ui-font-weight-regular)}._NotFoundTd_nybsl_38{font-weight:var(--rm-ui-font-weight-light)}@media screen and (min-width:1024px){._NotFound_nybsl_1{padding:var(--rm-ui-padding-md) var(--rm-ui-padding-lg) var(--rm-ui-padding-md)}}@media screen and (min-width:1200px){._NotFound_nybsl_1{padding:var(--rm-ui-padding-lg)}._NotFoundH1_nybsl_10{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}._NotFoundH2_nybsl_17{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._NotFoundH3_nybsl_24{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._NotFoundTh_nybsl_37,._NotFoundTd_nybsl_38{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}}
|