@arthurzakharov/ui-kit 1.2.1 → 1.2.2

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.
@@ -0,0 +1 @@
1
+ ._NotFoundTh_1xt0l_1,._NotFoundTd_1xt0l_2{border-top:1px solid var(--rm-ui-grey-300)}
@@ -0,0 +1 @@
1
+ ._Tag_1ps8s_3[d=flex]{display:flex}._Tag_1ps8s_3[d=inline-flex]{display:inline-flex}._Tag_1ps8s_3[d=block]{display:block}._Tag_1ps8s_3[d=inline-block]{display:inline-block}._Tag_1ps8s_3[d=inline]{display:inline}._Tag_1ps8s_3[d=table]{display:table;width:100%;border-spacing:0;border-collapse:collapse}._Tag_1ps8s_3[d=table-row-group]{display:table-row-group}._Tag_1ps8s_3[d=table-row]{display:table-row}._Tag_1ps8s_3[d=table-cell]{display:table-cell}._Tag_1ps8s_3[pos=relative]{position:relative}._Tag_1ps8s_3[pos=absolute]{position:absolute}._Tag_1ps8s_3[pos=fixed]{position:fixed}._Tag_1ps8s_3[pos=static]{position:static}._Tag_1ps8s_3[pos=sticky]{position:sticky}._Tag_1ps8s_3[fxd=row]{flex-direction:row}._Tag_1ps8s_3[fxd=column]{flex-direction:column}._Tag_1ps8s_3[fxd=row-reverse]{flex-direction:row-reverse}._Tag_1ps8s_3[fxd=column-reverse]{flex-direction:column-reverse}._Tag_1ps8s_3[ai=center]{align-items:center}._Tag_1ps8s_3[ai=start]{align-items:flex-start}._Tag_1ps8s_3[ai=end]{align-items:flex-end}._Tag_1ps8s_3[ai=stretch]{align-items:stretch}._Tag_1ps8s_3[jc=center]{justify-content:center}._Tag_1ps8s_3[jc=start]{justify-content:flex-start}._Tag_1ps8s_3[jc=end]{justify-content:flex-end}._Tag_1ps8s_3[jc=space-between]{justify-content:space-between}._Tag_1ps8s_3[g=xxs]{gap:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[g=xs]{gap:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[g=sm]{gap:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[g=md]{gap:var(--rm-ui-padding-md)}._Tag_1ps8s_3[g=lg]{gap:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[g=xl]{gap:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[g=xxl]{gap:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[g=xxxl]{gap:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[fw=light]{font-weight:var(--rm-ui-font-weight-light)}._Tag_1ps8s_3[fw=regular]{font-weight:var(--rm-ui-font-weight-regular)}._Tag_1ps8s_3[fw=medium]{font-weight:var(--rm-ui-font-weight-medium)}._Tag_1ps8s_3[fw=bold]{font-weight:var(--rm-ui-font-weight-bold)}._Tag_1ps8s_3[fz=regular]{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._Tag_1ps8s_3[fz=small]{font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._Tag_1ps8s_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_1ps8s_3[fz=large]{font-size:var(--rm-ui-font-size-body-large);line-height:var(--rm-ui-line-height-body-large)}._Tag_1ps8s_3[fz=hl1]{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}._Tag_1ps8s_3[fz=hl2]{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._Tag_1ps8s_3[fz=hl3]{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._Tag_1ps8s_3[fz=hl4]{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}._Tag_1ps8s_3[fz=hl5]{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}._Tag_1ps8s_3[c=primary]{color:var(--rm-ui-color-text-primary)}._Tag_1ps8s_3[c=secondary]{color:var(--rm-ui-color-text-secondary)}._Tag_1ps8s_3[c=accent-primary]{color:var(--rm-ui-color-accent-primary)}._Tag_1ps8s_3[c=accent-secondary]{color:var(--rm-ui-color-accent-secondary)}._Tag_1ps8s_3[ta=left]{text-align:left}._Tag_1ps8s_3[ta=center]{text-align:center}._Tag_1ps8s_3[ta=right]{text-align:right}._Tag_1ps8s_3[td=underline]{text-decoration:underline}._Tag_1ps8s_3[td=overline]{text-decoration:overline}._Tag_1ps8s_3[td=line-through]{text-decoration:line-through}._Tag_1ps8s_3[va=top]{vertical-align:top}._Tag_1ps8s_3[va=bottom]{vertical-align:bottom}._Tag_1ps8s_3[va=middle]{vertical-align:middle}._Tag_1ps8s_3[mt=xxs]{margin-top:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[mt=xs]{margin-top:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[mt=sm]{margin-top:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[mt=md]{margin-top:var(--rm-ui-padding-md)}._Tag_1ps8s_3[mt=lg]{margin-top:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[mt=xl]{margin-top:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[mt=xxl]{margin-top:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[mt=xxxl]{margin-top:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[mb=xxs]{margin-bottom:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[mb=xs]{margin-bottom:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[mb=sm]{margin-bottom:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[mb=md]{margin-bottom:var(--rm-ui-padding-md)}._Tag_1ps8s_3[mb=lg]{margin-bottom:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[mb=xl]{margin-bottom:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[mb=xxl]{margin-bottom:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[mb=xxxl]{margin-bottom:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[ml=xxs]{margin-left:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[ml=xs]{margin-left:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[ml=sm]{margin-left:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[ml=md]{margin-left:var(--rm-ui-padding-md)}._Tag_1ps8s_3[ml=lg]{margin-left:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[ml=xl]{margin-left:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[ml=xxl]{margin-left:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[ml=xxxl]{margin-left:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[mr=xxs]{margin-right:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[mr=xs]{margin-right:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[mr=sm]{margin-right:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[mr=md]{margin-right:var(--rm-ui-padding-md)}._Tag_1ps8s_3[mr=lg]{margin-right:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[mr=xl]{margin-right:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[mr=xxl]{margin-right:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[mr=xxxl]{margin-right:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[mx=xxs]{margin:0 var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[mx=xs]{margin:0 var(--rm-ui-padding-xs)}._Tag_1ps8s_3[mx=sm]{margin:0 var(--rm-ui-padding-sm)}._Tag_1ps8s_3[mx=md]{margin:0 var(--rm-ui-padding-md)}._Tag_1ps8s_3[mx=lg]{margin:0 var(--rm-ui-padding-lg)}._Tag_1ps8s_3[mx=xl]{margin:0 var(--rm-ui-padding-xl)}._Tag_1ps8s_3[mx=xxl]{margin:0 var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[mx=xxxl]{margin:0 var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[my=xxs]{margin:var(--rm-ui-padding-xxs) 0}._Tag_1ps8s_3[my=xs]{margin:var(--rm-ui-padding-xs) 0}._Tag_1ps8s_3[my=sm]{margin:var(--rm-ui-padding-sm) 0}._Tag_1ps8s_3[my=md]{margin:var(--rm-ui-padding-md) 0}._Tag_1ps8s_3[my=lg]{margin:var(--rm-ui-padding-lg) 0}._Tag_1ps8s_3[my=xl]{margin:var(--rm-ui-padding-xl) 0}._Tag_1ps8s_3[my=xxl]{margin:var(--rm-ui-padding-xxl) 0}._Tag_1ps8s_3[my=xxxl]{margin:var(--rm-ui-padding-xxxl) 0}._Tag_1ps8s_3[m=xxs]{margin:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[m=xs]{margin:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[m=sm]{margin:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[m=md]{margin:var(--rm-ui-padding-md)}._Tag_1ps8s_3[m=lg]{margin:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[m=xl]{margin:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[m=xxl]{margin:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[m=xxxl]{margin:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[pt=xxs]{padding-top:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[pt=xs]{padding-top:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[pt=sm]{padding-top:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[pt=md]{padding-top:var(--rm-ui-padding-md)}._Tag_1ps8s_3[pt=lg]{padding-top:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[pt=xl]{padding-top:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[pt=xxl]{padding-top:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[pt=xxxl]{padding-top:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[pb=xxs]{padding-bottom:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[pb=xs]{padding-bottom:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[pb=sm]{padding-bottom:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[pb=md]{padding-bottom:var(--rm-ui-padding-md)}._Tag_1ps8s_3[pb=lg]{padding-bottom:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[pb=xl]{padding-bottom:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[pb=xxl]{padding-bottom:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[pb=xxxl]{padding-bottom:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[pl=xxs]{padding-left:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[pl=xs]{padding-left:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[pl=sm]{padding-left:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[pl=md]{padding-left:var(--rm-ui-padding-md)}._Tag_1ps8s_3[pl=lg]{padding-left:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[pl=xl]{padding-left:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[pl=xxl]{padding-left:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[pl=xxxl]{padding-left:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[pr=xxs]{padding-right:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[pr=xs]{padding-right:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[pr=sm]{padding-right:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[pr=md]{padding-right:var(--rm-ui-padding-md)}._Tag_1ps8s_3[pr=lg]{padding-right:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[pr=xl]{padding-right:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[pr=xxl]{padding-right:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[pr=xxxl]{padding-right:var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[px=xxs]{padding:0 var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[px=xs]{padding:0 var(--rm-ui-padding-xs)}._Tag_1ps8s_3[px=sm]{padding:0 var(--rm-ui-padding-sm)}._Tag_1ps8s_3[px=md]{padding:0 var(--rm-ui-padding-md)}._Tag_1ps8s_3[px=lg]{padding:0 var(--rm-ui-padding-lg)}._Tag_1ps8s_3[px=xl]{padding:0 var(--rm-ui-padding-xl)}._Tag_1ps8s_3[px=xxl]{padding:0 var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[px=xxxl]{padding:0 var(--rm-ui-padding-xxxl)}._Tag_1ps8s_3[py=xxs]{padding:var(--rm-ui-padding-xxs) 0}._Tag_1ps8s_3[py=xs]{padding:var(--rm-ui-padding-xs) 0}._Tag_1ps8s_3[py=sm]{padding:var(--rm-ui-padding-sm) 0}._Tag_1ps8s_3[py=md]{padding:var(--rm-ui-padding-md) 0}._Tag_1ps8s_3[py=lg]{padding:var(--rm-ui-padding-lg) 0}._Tag_1ps8s_3[py=xl]{padding:var(--rm-ui-padding-xl) 0}._Tag_1ps8s_3[py=xxl]{padding:var(--rm-ui-padding-xxl) 0}._Tag_1ps8s_3[py=xxxl]{padding:var(--rm-ui-padding-xxxl) 0}._Tag_1ps8s_3[p=xxs]{padding:var(--rm-ui-padding-xxs)}._Tag_1ps8s_3[p=xs]{padding:var(--rm-ui-padding-xs)}._Tag_1ps8s_3[p=sm]{padding:var(--rm-ui-padding-sm)}._Tag_1ps8s_3[p=md]{padding:var(--rm-ui-padding-md)}._Tag_1ps8s_3[p=lg]{padding:var(--rm-ui-padding-lg)}._Tag_1ps8s_3[p=xl]{padding:var(--rm-ui-padding-xl)}._Tag_1ps8s_3[p=xxl]{padding:var(--rm-ui-padding-xxl)}._Tag_1ps8s_3[p=xxxl]{padding:var(--rm-ui-padding-xxxl)}
@@ -0,0 +1,30 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { NotFound as t } from "./not-found.component.js";
3
+ const a = {
4
+ title: "Entschuldigung, da ist wohl etwas schief gelaufen!",
5
+ subtitle: "Fehler 404",
6
+ tableTitle: "Bitte kontaktieren Sie uns doch per:",
7
+ tableRows: [
8
+ {
9
+ key: "E-Mail:",
10
+ value: "info@rightmart.de"
11
+ },
12
+ {
13
+ key: "Telefon:",
14
+ value: "+49 (0)421 / 33 100 311"
15
+ },
16
+ {
17
+ key: "Fax:",
18
+ value: "+49 (0)421 / 33 100 380"
19
+ },
20
+ {
21
+ key: "Post:",
22
+ value: "rightmart Rechtsanwaltsgesellschaft mbH<br />Clara-Jaschke-Straße 1<br />28199 Bremen"
23
+ }
24
+ ]
25
+ };
26
+ describe("<NotFound />", () => {
27
+ it("renders", () => {
28
+ cy.viewport(1200, 700), cy.mount(/* @__PURE__ */ e(t, { ...a }));
29
+ });
30
+ });
@@ -1,24 +1,30 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import '../../assets/not-found-ZbA42G36.css';const c = "_NotFound_nybsl_1", a = "_NotFoundH1_nybsl_10", _ = "_NotFoundH2_nybsl_17", h = "_NotFoundH3_nybsl_24", b = "_NotFoundTable_nybsl_31", r = "_NotFoundTh_nybsl_37", T = "_NotFoundTd_nybsl_38", n = {
3
- NotFound: c,
4
- NotFoundH1: a,
5
- NotFoundH2: _,
6
- NotFoundH3: h,
7
- NotFoundTable: b,
8
- NotFoundTh: r,
9
- NotFoundTd: T
10
- }, H = (s) => {
11
- const { title: N = "", subtitle: l = "", tableTitle: u = "", tableRows: e = [] } = s;
12
- return /* @__PURE__ */ d("section", { className: n.NotFound, children: [
13
- /* @__PURE__ */ o("h1", { className: n.NotFoundH1, children: N }),
14
- /* @__PURE__ */ o("h2", { className: n.NotFoundH2, children: l }),
15
- /* @__PURE__ */ o("h3", { className: n.NotFoundH3, children: u }),
16
- /* @__PURE__ */ o("table", { className: n.NotFoundTable, children: /* @__PURE__ */ o("tbody", { children: e.map(({ key: t, value: F }) => /* @__PURE__ */ d("tr", { children: [
17
- /* @__PURE__ */ o("th", { className: n.NotFoundTh, children: t }),
18
- /* @__PURE__ */ o("td", { className: n.NotFoundTd, dangerouslySetInnerHTML: { __html: F } })
19
- ] }, t)) }) })
1
+ import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
+ import { Block as d } from "../tag/block.component.js";
3
+ import { Table as e } from "../tag/table.component.js";
4
+ import { useMQ as s, media as t } from "../tag/use-mq.hook.js";
5
+ import '../../assets/not-found-Cmq6iPJq.css';const f = "_NotFoundTd_1xt0l_2", g = {
6
+ NotFoundTd: f
7
+ }, N = (h) => {
8
+ const { title: c = "", subtitle: i = "", tableTitle: m = "", tableRows: p = [] } = h, o = s();
9
+ return /* @__PURE__ */ r(d, { tag: "section", p: t(o, { phone: "sm md sm", laptop: "md lg md", pc: "lg" }), children: [
10
+ /* @__PURE__ */ l(d, { tag: "h1", mb: "lg", fw: "regular", fz: t(o, { phone: "hl2", pc: "hl1" }), children: c }),
11
+ /* @__PURE__ */ l(d, { tag: "h2", mb: "md", fw: "regular", fz: t(o, { phone: "hl3", pc: "hl2" }), children: i }),
12
+ /* @__PURE__ */ l(d, { tag: "h3", mb: "md", fw: "light", fz: t(o, { phone: "hl4", pc: "hl3" }), children: m }),
13
+ /* @__PURE__ */ l(e.Main, { children: /* @__PURE__ */ l(
14
+ e.Body,
15
+ {
16
+ fz: t(o, {
17
+ phone: "small",
18
+ pc: "regular"
19
+ }),
20
+ children: p.map(({ key: n, value: a }) => /* @__PURE__ */ r(e.Row, { className: g.NotFoundTd, children: [
21
+ /* @__PURE__ */ l(e.CellHead, { p: "xs", fw: "regular", ta: "left", children: n }),
22
+ /* @__PURE__ */ l(e.CellBody, { p: "xs", fw: "light", children: a })
23
+ ] }, n))
24
+ }
25
+ ) })
20
26
  ] });
21
27
  };
22
28
  export {
23
- H as NotFound
29
+ N as NotFound
24
30
  };
@@ -0,0 +1,25 @@
1
+ import { RegularTagProps } from './tag.types';
2
+ export declare const Block: (props: RegularTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
11
+ pb: import('./tag.types').Space | undefined;
12
+ pl: import('./tag.types').Space | undefined;
13
+ pr: import('./tag.types').Space | undefined;
14
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
15
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
16
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
17
+ ta: ("center" | "left" | "right") | undefined;
18
+ td: ("line-through" | "overline" | "underline") | undefined;
19
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
20
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
21
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
22
+ g: import('./tag.types').Space | undefined;
23
+ va: ("bottom" | "top" | "middle") | undefined;
24
+ children: import('react').ReactNode;
25
+ }, HTMLElement>;
@@ -0,0 +1,5 @@
1
+ import { tagCreate as t } from "./tag-create.js";
2
+ const c = (o) => t({ ...o, d: "block" });
3
+ export {
4
+ c as Block
5
+ };
@@ -0,0 +1,99 @@
1
+ import { FlexTagProps } from './tag.types';
2
+ export declare const Flex: {
3
+ Row: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
12
+ pb: import('./tag.types').Space | undefined;
13
+ pl: import('./tag.types').Space | undefined;
14
+ pr: import('./tag.types').Space | undefined;
15
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
16
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
17
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
18
+ ta: ("center" | "left" | "right") | undefined;
19
+ td: ("line-through" | "overline" | "underline") | undefined;
20
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
21
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
22
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
23
+ g: import('./tag.types').Space | undefined;
24
+ va: ("bottom" | "top" | "middle") | undefined;
25
+ children: import('react').ReactNode;
26
+ }, HTMLElement>;
27
+ RowReverse: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
28
+ className: string;
29
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
30
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
31
+ mt: import('./tag.types').Space | undefined;
32
+ mb: import('./tag.types').Space | undefined;
33
+ ml: import('./tag.types').Space | undefined;
34
+ mr: import('./tag.types').Space | undefined;
35
+ pt: import('./tag.types').Space | undefined;
36
+ pb: import('./tag.types').Space | undefined;
37
+ pl: import('./tag.types').Space | undefined;
38
+ pr: import('./tag.types').Space | undefined;
39
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
40
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
41
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
42
+ ta: ("center" | "left" | "right") | undefined;
43
+ td: ("line-through" | "overline" | "underline") | undefined;
44
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
45
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
46
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
47
+ g: import('./tag.types').Space | undefined;
48
+ va: ("bottom" | "top" | "middle") | undefined;
49
+ children: import('react').ReactNode;
50
+ }, HTMLElement>;
51
+ Column: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
52
+ className: string;
53
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
54
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
55
+ mt: import('./tag.types').Space | undefined;
56
+ mb: import('./tag.types').Space | undefined;
57
+ ml: import('./tag.types').Space | undefined;
58
+ mr: import('./tag.types').Space | undefined;
59
+ pt: import('./tag.types').Space | undefined;
60
+ pb: import('./tag.types').Space | undefined;
61
+ pl: import('./tag.types').Space | undefined;
62
+ pr: import('./tag.types').Space | undefined;
63
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
64
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
65
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
66
+ ta: ("center" | "left" | "right") | undefined;
67
+ td: ("line-through" | "overline" | "underline") | undefined;
68
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
69
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
70
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
71
+ g: import('./tag.types').Space | undefined;
72
+ va: ("bottom" | "top" | "middle") | undefined;
73
+ children: import('react').ReactNode;
74
+ }, HTMLElement>;
75
+ ColumnReverse: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
76
+ className: string;
77
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
78
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
79
+ mt: import('./tag.types').Space | undefined;
80
+ mb: import('./tag.types').Space | undefined;
81
+ ml: import('./tag.types').Space | undefined;
82
+ mr: import('./tag.types').Space | undefined;
83
+ pt: import('./tag.types').Space | undefined;
84
+ pb: import('./tag.types').Space | undefined;
85
+ pl: import('./tag.types').Space | undefined;
86
+ pr: import('./tag.types').Space | undefined;
87
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
88
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
89
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
90
+ ta: ("center" | "left" | "right") | undefined;
91
+ td: ("line-through" | "overline" | "underline") | undefined;
92
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
93
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
94
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
95
+ g: import('./tag.types').Space | undefined;
96
+ va: ("bottom" | "top" | "middle") | undefined;
97
+ children: import('react').ReactNode;
98
+ }, HTMLElement>;
99
+ };
@@ -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,25 @@
1
+ import { RegularTagProps } from './tag.types';
2
+ export declare const InlineBlock: (props: RegularTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
11
+ pb: import('./tag.types').Space | undefined;
12
+ pl: import('./tag.types').Space | undefined;
13
+ pr: import('./tag.types').Space | undefined;
14
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
15
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
16
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
17
+ ta: ("center" | "left" | "right") | undefined;
18
+ td: ("line-through" | "overline" | "underline") | undefined;
19
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
20
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
21
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
22
+ g: import('./tag.types').Space | undefined;
23
+ va: ("bottom" | "top" | "middle") | undefined;
24
+ children: import('react').ReactNode;
25
+ }, HTMLElement>;
@@ -0,0 +1,5 @@
1
+ import { tagCreate as e } from "./tag-create.js";
2
+ const t = (o) => e({ ...o, d: "inline-block" });
3
+ export {
4
+ t as InlineBlock
5
+ };
@@ -0,0 +1,99 @@
1
+ import { FlexTagProps } from './tag.types';
2
+ export declare const InlineFlex: {
3
+ Row: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
12
+ pb: import('./tag.types').Space | undefined;
13
+ pl: import('./tag.types').Space | undefined;
14
+ pr: import('./tag.types').Space | undefined;
15
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
16
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
17
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
18
+ ta: ("center" | "left" | "right") | undefined;
19
+ td: ("line-through" | "overline" | "underline") | undefined;
20
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
21
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
22
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
23
+ g: import('./tag.types').Space | undefined;
24
+ va: ("bottom" | "top" | "middle") | undefined;
25
+ children: import('react').ReactNode;
26
+ }, HTMLElement>;
27
+ RowReverse: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
28
+ className: string;
29
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
30
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
31
+ mt: import('./tag.types').Space | undefined;
32
+ mb: import('./tag.types').Space | undefined;
33
+ ml: import('./tag.types').Space | undefined;
34
+ mr: import('./tag.types').Space | undefined;
35
+ pt: import('./tag.types').Space | undefined;
36
+ pb: import('./tag.types').Space | undefined;
37
+ pl: import('./tag.types').Space | undefined;
38
+ pr: import('./tag.types').Space | undefined;
39
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
40
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
41
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
42
+ ta: ("center" | "left" | "right") | undefined;
43
+ td: ("line-through" | "overline" | "underline") | undefined;
44
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
45
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
46
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
47
+ g: import('./tag.types').Space | undefined;
48
+ va: ("bottom" | "top" | "middle") | undefined;
49
+ children: import('react').ReactNode;
50
+ }, HTMLElement>;
51
+ Column: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
52
+ className: string;
53
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
54
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
55
+ mt: import('./tag.types').Space | undefined;
56
+ mb: import('./tag.types').Space | undefined;
57
+ ml: import('./tag.types').Space | undefined;
58
+ mr: import('./tag.types').Space | undefined;
59
+ pt: import('./tag.types').Space | undefined;
60
+ pb: import('./tag.types').Space | undefined;
61
+ pl: import('./tag.types').Space | undefined;
62
+ pr: import('./tag.types').Space | undefined;
63
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
64
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
65
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
66
+ ta: ("center" | "left" | "right") | undefined;
67
+ td: ("line-through" | "overline" | "underline") | undefined;
68
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
69
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
70
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
71
+ g: import('./tag.types').Space | undefined;
72
+ va: ("bottom" | "top" | "middle") | undefined;
73
+ children: import('react').ReactNode;
74
+ }, HTMLElement>;
75
+ ColumnReverse: (props: FlexTagProps) => import('react').DetailedReactHTMLElement<{
76
+ className: string;
77
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
78
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
79
+ mt: import('./tag.types').Space | undefined;
80
+ mb: import('./tag.types').Space | undefined;
81
+ ml: import('./tag.types').Space | undefined;
82
+ mr: import('./tag.types').Space | undefined;
83
+ pt: import('./tag.types').Space | undefined;
84
+ pb: import('./tag.types').Space | undefined;
85
+ pl: import('./tag.types').Space | undefined;
86
+ pr: import('./tag.types').Space | undefined;
87
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
88
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
89
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
90
+ ta: ("center" | "left" | "right") | undefined;
91
+ td: ("line-through" | "overline" | "underline") | undefined;
92
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
93
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
94
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
95
+ g: import('./tag.types').Space | undefined;
96
+ va: ("bottom" | "top" | "middle") | undefined;
97
+ children: import('react').ReactNode;
98
+ }, HTMLElement>;
99
+ };
@@ -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,25 @@
1
+ import { RegularTagProps } from './tag.types';
2
+ export declare const Inline: (props: RegularTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
11
+ pb: import('./tag.types').Space | undefined;
12
+ pl: import('./tag.types').Space | undefined;
13
+ pr: import('./tag.types').Space | undefined;
14
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
15
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
16
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
17
+ ta: ("center" | "left" | "right") | undefined;
18
+ td: ("line-through" | "overline" | "underline") | undefined;
19
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
20
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
21
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
22
+ g: import('./tag.types').Space | undefined;
23
+ va: ("bottom" | "top" | "middle") | undefined;
24
+ children: import('react').ReactNode;
25
+ }, HTMLElement>;
@@ -0,0 +1,5 @@
1
+ import { tagCreate as n } from "./tag-create.js";
2
+ const i = (e) => n({ ...e, d: "inline" });
3
+ export {
4
+ i as Inline
5
+ };
@@ -0,0 +1,147 @@
1
+ import { TableTagProps } from './tag.types';
2
+ export declare const Table: {
3
+ Main: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: import('./tag.types').Space | undefined;
12
+ pb: import('./tag.types').Space | undefined;
13
+ pl: import('./tag.types').Space | undefined;
14
+ pr: import('./tag.types').Space | undefined;
15
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
16
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
17
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
18
+ ta: ("center" | "left" | "right") | undefined;
19
+ td: ("line-through" | "overline" | "underline") | undefined;
20
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
21
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
22
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
23
+ g: import('./tag.types').Space | undefined;
24
+ va: ("bottom" | "top" | "middle") | undefined;
25
+ children: import('react').ReactNode;
26
+ }, HTMLElement>;
27
+ Head: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
28
+ className: string;
29
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
30
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
31
+ mt: import('./tag.types').Space | undefined;
32
+ mb: import('./tag.types').Space | undefined;
33
+ ml: import('./tag.types').Space | undefined;
34
+ mr: import('./tag.types').Space | undefined;
35
+ pt: import('./tag.types').Space | undefined;
36
+ pb: import('./tag.types').Space | undefined;
37
+ pl: import('./tag.types').Space | undefined;
38
+ pr: import('./tag.types').Space | undefined;
39
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
40
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
41
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
42
+ ta: ("center" | "left" | "right") | undefined;
43
+ td: ("line-through" | "overline" | "underline") | undefined;
44
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
45
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
46
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
47
+ g: import('./tag.types').Space | undefined;
48
+ va: ("bottom" | "top" | "middle") | undefined;
49
+ children: import('react').ReactNode;
50
+ }, HTMLElement>;
51
+ Body: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
52
+ className: string;
53
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
54
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
55
+ mt: import('./tag.types').Space | undefined;
56
+ mb: import('./tag.types').Space | undefined;
57
+ ml: import('./tag.types').Space | undefined;
58
+ mr: import('./tag.types').Space | undefined;
59
+ pt: import('./tag.types').Space | undefined;
60
+ pb: import('./tag.types').Space | undefined;
61
+ pl: import('./tag.types').Space | undefined;
62
+ pr: import('./tag.types').Space | undefined;
63
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
64
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
65
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
66
+ ta: ("center" | "left" | "right") | undefined;
67
+ td: ("line-through" | "overline" | "underline") | undefined;
68
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
69
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
70
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
71
+ g: import('./tag.types').Space | undefined;
72
+ va: ("bottom" | "top" | "middle") | undefined;
73
+ children: import('react').ReactNode;
74
+ }, HTMLElement>;
75
+ Row: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
76
+ className: string;
77
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
78
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
79
+ mt: import('./tag.types').Space | undefined;
80
+ mb: import('./tag.types').Space | undefined;
81
+ ml: import('./tag.types').Space | undefined;
82
+ mr: import('./tag.types').Space | undefined;
83
+ pt: import('./tag.types').Space | undefined;
84
+ pb: import('./tag.types').Space | undefined;
85
+ pl: import('./tag.types').Space | undefined;
86
+ pr: import('./tag.types').Space | undefined;
87
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
88
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
89
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
90
+ ta: ("center" | "left" | "right") | undefined;
91
+ td: ("line-through" | "overline" | "underline") | undefined;
92
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
93
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
94
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
95
+ g: import('./tag.types').Space | undefined;
96
+ va: ("bottom" | "top" | "middle") | undefined;
97
+ children: import('react').ReactNode;
98
+ }, HTMLElement>;
99
+ CellHead: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
100
+ className: string;
101
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
102
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
103
+ mt: import('./tag.types').Space | undefined;
104
+ mb: import('./tag.types').Space | undefined;
105
+ ml: import('./tag.types').Space | undefined;
106
+ mr: 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
+ children: import('react').ReactNode;
122
+ }, HTMLElement>;
123
+ CellBody: (props: TableTagProps) => import('react').DetailedReactHTMLElement<{
124
+ className: string;
125
+ d: ("flex" | "table" | "block" | "inline" | "table-cell" | "table-row" | "table-row-group" | "inline-block" | "inline-flex") | undefined;
126
+ pos: ("fixed" | "relative" | "absolute" | "static" | "sticky") | undefined;
127
+ mt: import('./tag.types').Space | undefined;
128
+ mb: import('./tag.types').Space | undefined;
129
+ ml: import('./tag.types').Space | undefined;
130
+ mr: import('./tag.types').Space | undefined;
131
+ pt: import('./tag.types').Space | undefined;
132
+ pb: import('./tag.types').Space | undefined;
133
+ pl: import('./tag.types').Space | undefined;
134
+ pr: import('./tag.types').Space | undefined;
135
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
136
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
137
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
138
+ ta: ("center" | "left" | "right") | undefined;
139
+ td: ("line-through" | "overline" | "underline") | undefined;
140
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
141
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
142
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
143
+ g: import('./tag.types').Space | undefined;
144
+ va: ("bottom" | "top" | "middle") | undefined;
145
+ children: import('react').ReactNode;
146
+ }, HTMLElement>;
147
+ };
@@ -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,25 @@
1
+ import { Space, CreateProps } from './tag.types';
2
+ export declare const tagCreate: (props: CreateProps) => import('react').DetailedReactHTMLElement<{
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
+ pt: Space | undefined;
11
+ pb: Space | undefined;
12
+ pl: Space | undefined;
13
+ pr: Space | undefined;
14
+ fw: ("bold" | "light" | "regular" | "medium") | undefined;
15
+ fz: ("small" | "regular" | "large" | "extra-small" | "hl1" | "hl2" | "hl3" | "hl4" | "hl5") | undefined;
16
+ c: ("primary" | "secondary" | "accent-primary" | "accent-secondary") | undefined;
17
+ ta: ("center" | "left" | "right") | undefined;
18
+ td: ("line-through" | "overline" | "underline") | undefined;
19
+ fxd: ("row" | "column" | "column-reverse" | "row-reverse") | undefined;
20
+ ai: ("center" | "end" | "start" | "stretch") | undefined;
21
+ jc: ("center" | "end" | "start" | "space-between") | undefined;
22
+ g: Space | undefined;
23
+ va: ("bottom" | "top" | "middle") | undefined;
24
+ children: import('react').ReactNode;
25
+ }, HTMLElement>;
@@ -0,0 +1,67 @@
1
+ import { createElement as r } from "react";
2
+ import b from "clsx";
3
+ import '../../assets/tag-create-DlOCx7nc.css';const f = "_Tag_1ps8s_3", a = {
4
+ Tag: f
5
+ }, d = (t) => t === "xxs" || t === "xs" || t === "sm" || t === "md" || t === "lg" || t === "xl" || t === "xxl" || t === "xxxl", c = (t) => {
6
+ if (!t) return {};
7
+ const n = t.trim().split(/\s+/).filter(Boolean);
8
+ if (n.length === 0 || n.length > 4) return {};
9
+ if (!n.every(d)) return {};
10
+ const [m, e, l, i] = n;
11
+ return e ? l ? i ? { t: m, r: e, b: l, l: i } : { t: m, r: e, b: l, l: e } : { t: m, r: e, b: m, l: e } : { t: m, r: m, b: m, l: m };
12
+ }, x = (t) => {
13
+ const n = c(t);
14
+ return { pt: n.t, pr: n.r, pb: n.b, pl: n.l };
15
+ }, g = (t) => {
16
+ const n = c(t);
17
+ return { mt: n.t, mr: n.r, mb: n.b, ml: n.l };
18
+ }, y = (t) => {
19
+ const n = x(t.p), m = {
20
+ pt: n.pt,
21
+ pr: n.pr,
22
+ pb: n.pb,
23
+ pl: n.pl
24
+ };
25
+ return t.py && (m.pt = t.py, m.pb = t.py), t.px && (m.pl = t.px, m.pr = t.px), t.pt && (m.pt = t.pt), t.pr && (m.pr = t.pr), t.pb && (m.pb = t.pb), t.pl && (m.pl = t.pl), m;
26
+ }, h = (t) => {
27
+ const n = g(t.m), m = {
28
+ mt: n.mt,
29
+ mr: n.mr,
30
+ mb: n.mb,
31
+ ml: n.ml
32
+ };
33
+ return t.my && (m.mt = t.my, m.mb = t.my), t.mx && (m.ml = t.mx, m.mr = t.mx), t.mt && (m.mt = t.mt), t.mr && (m.mr = t.mr), t.mb && (m.mb = t.mb), t.ml && (m.ml = t.ml), m;
34
+ }, s = (t) => {
35
+ const n = h(t), m = y(t);
36
+ return r(t.tag || "div", {
37
+ className: b(a.Tag, t.className),
38
+ d: t.d,
39
+ pos: t.pos,
40
+ // Margins
41
+ mt: n.mt,
42
+ mb: n.mb,
43
+ ml: n.ml,
44
+ mr: n.mr,
45
+ // Paddings
46
+ pt: m.pt,
47
+ pb: m.pb,
48
+ pl: m.pl,
49
+ pr: m.pr,
50
+ // Font
51
+ fw: t.fw,
52
+ fz: t.fz,
53
+ c: t.c,
54
+ ta: t.ta,
55
+ td: t.td,
56
+ // FlexProps
57
+ fxd: t.fxd,
58
+ ai: t.ai,
59
+ jc: t.jc,
60
+ g: t.g,
61
+ va: t.va,
62
+ children: t.children
63
+ });
64
+ };
65
+ export {
66
+ s as tagCreate
67
+ };
@@ -0,0 +1,60 @@
1
+ import { 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<'pt' | 'pr' | 'pb' | 'pl', Space>>;
16
+ export type ResolvedMargin = Partial<Record<'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
+ className?: string;
21
+ d?: Display;
22
+ pos?: Position;
23
+ }
24
+ export interface MarginProps {
25
+ mt?: Space;
26
+ mb?: Space;
27
+ ml?: Space;
28
+ mr?: Space;
29
+ mx?: Space;
30
+ my?: Space;
31
+ m?: SpaceShorthand;
32
+ }
33
+ export interface PaddingProps {
34
+ pt?: Space;
35
+ pb?: Space;
36
+ pl?: Space;
37
+ pr?: Space;
38
+ px?: Space;
39
+ py?: Space;
40
+ p?: SpaceShorthand;
41
+ }
42
+ interface FontProps {
43
+ fw?: FontWeight;
44
+ fz?: FontSize;
45
+ c?: Color;
46
+ ta?: TextAlign;
47
+ td?: TextDecoration;
48
+ va?: VerticalAlign;
49
+ }
50
+ interface FlexProps {
51
+ fxd?: Direction;
52
+ ai?: AlignItems;
53
+ jc?: JustifyContent;
54
+ g?: Space;
55
+ }
56
+ export type FlexTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps & FlexProps, 'd' | 'fxd'>;
57
+ export type RegularTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps, 'd'>;
58
+ export type TableTagProps = Omit<CommonProps & MarginProps & PaddingProps & FontProps, 'd' | 'tag'>;
59
+ export type CreateProps = CommonProps & MarginProps & PaddingProps & FontProps & FlexProps;
60
+ 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,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -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)}}