@tcn/ui 0.12.6 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aside.css +1 -0
- package/dist/body.css +1 -1
- package/dist/inputs/phone_number_input/phone_number_input.d.ts +2 -1
- package/dist/inputs/phone_number_input/phone_number_input.d.ts.map +1 -1
- package/dist/inputs/phone_number_input/phone_number_input.js +28 -26
- package/dist/inputs/phone_number_input/phone_number_input.js.map +1 -1
- package/dist/inputs/phone_number_input/sip_input.d.ts +2 -1
- package/dist/inputs/phone_number_input/sip_input.d.ts.map +1 -1
- package/dist/inputs/phone_number_input/sip_input.js +45 -43
- package/dist/inputs/phone_number_input/sip_input.js.map +1 -1
- package/dist/layouts/body/body.d.ts +17 -0
- package/dist/layouts/body/body.d.ts.map +1 -1
- package/dist/layouts/body/body.js +11 -12
- package/dist/layouts/body/body.js.map +1 -1
- package/dist/layouts/index.d.ts +1 -2
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/layouts/index.js +38 -40
- package/dist/layouts/index.js.map +1 -1
- package/dist/layouts/scaffold/scaffold.js +1 -1
- package/dist/layouts/scaffold/scaffold.js.map +1 -1
- package/dist/layouts/section/section.d.ts.map +1 -1
- package/dist/layouts/section/section.js +14 -13
- package/dist/layouts/section/section.js.map +1 -1
- package/dist/page.css +1 -1
- package/dist/surfaces/aside/aside.d.ts +5 -0
- package/dist/surfaces/aside/aside.d.ts.map +1 -0
- package/dist/surfaces/aside/aside.js +19 -0
- package/dist/surfaces/aside/aside.js.map +1 -0
- package/dist/surfaces/drawers/drawer.d.ts.map +1 -1
- package/dist/surfaces/drawers/drawer.js +19 -11
- package/dist/surfaces/drawers/drawer.js.map +1 -1
- package/dist/surfaces/index.d.ts +2 -2
- package/dist/surfaces/index.d.ts.map +1 -1
- package/dist/surfaces/index.js +14 -14
- package/dist/surfaces/modal/modal.d.ts.map +1 -1
- package/dist/surfaces/modal/modal.js +22 -14
- package/dist/surfaces/modal/modal.js.map +1 -1
- package/dist/surfaces/page/page.d.ts +5 -0
- package/dist/surfaces/page/page.d.ts.map +1 -0
- package/dist/surfaces/page/page.js +19 -0
- package/dist/surfaces/page/page.js.map +1 -0
- package/dist/surfaces/pop_confirm/pop_confirm.d.ts.map +1 -1
- package/dist/surfaces/pop_confirm/pop_confirm.js +23 -16
- package/dist/surfaces/pop_confirm/pop_confirm.js.map +1 -1
- package/dist/surfaces/window/window.d.ts.map +1 -1
- package/dist/surfaces/window/window.js +27 -19
- package/dist/surfaces/window/window.js.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.css +1 -1
- package/dist/themes/themes/ergo/ergo_theme.js +71 -45
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/package.json +2 -2
- package/src/inputs/phone_number_input/phone_number_input.tsx +3 -0
- package/src/inputs/phone_number_input/sip_input.tsx +3 -0
- package/src/layouts/__stories__/composed_stories.module.css +1 -7
- package/src/layouts/__stories__/rail.stories.tsx +20 -13
- package/src/layouts/__stories__/scaffold.stories.tsx +34 -22
- package/src/layouts/__stories__/utils.tsx +10 -7
- package/src/layouts/body/body.module.css +0 -8
- package/src/layouts/body/body.tsx +19 -3
- package/src/layouts/index.ts +1 -2
- package/src/layouts/scaffold/scaffold.tsx +1 -1
- package/src/layouts/section/section.tsx +2 -1
- package/src/overlay/slide/slide.stories.tsx +9 -6
- package/src/surfaces/aside/aside.module.css +5 -0
- package/src/surfaces/aside/aside.stories.tsx +75 -0
- package/src/surfaces/aside/aside.tsx +22 -0
- package/src/surfaces/card/card.stories.tsx +8 -5
- package/src/surfaces/card/card_stories.module.css +4 -2
- package/src/surfaces/drawers/drawer.stories.tsx +21 -7
- package/src/surfaces/drawers/drawer.tsx +5 -1
- package/src/surfaces/index.ts +2 -2
- package/src/surfaces/modal/__stories__/modal.stories.tsx +21 -4
- package/src/surfaces/modal/modal.tsx +5 -1
- package/src/surfaces/page/page.module.css +0 -6
- package/src/surfaces/page/page.stories.tsx +71 -0
- package/src/surfaces/page/page.tsx +22 -0
- package/src/surfaces/panel/__stories__/panel.stories.tsx +66 -60
- package/src/surfaces/pop_confirm/pop_confirm.stories.tsx +43 -31
- package/src/surfaces/pop_confirm/pop_confirm.tsx +5 -1
- package/src/surfaces/tooltip/__stories__/tooltip.stories.tsx +31 -0
- package/src/surfaces/window/window.stories.tsx +15 -4
- package/src/surfaces/window/window.tsx +5 -1
- package/src/themes/themes/ergo/__stories__/components/tone_picker/sb_tone_card.tsx +16 -15
- package/src/themes/themes/ergo/__stories__/material.stories.tsx +6 -4
- package/src/themes/themes/ergo/ergo_theme.css +71 -45
- package/dist/body.module-BbFZ7KNP.js +0 -5
- package/dist/body.module-BbFZ7KNP.js.map +0 -1
- package/dist/layouts/body/h_body.d.ts +0 -6
- package/dist/layouts/body/h_body.d.ts.map +0 -1
- package/dist/layouts/body/h_body.js +0 -27
- package/dist/layouts/body/h_body.js.map +0 -1
- package/dist/layouts/body/v_body.d.ts +0 -6
- package/dist/layouts/body/v_body.d.ts.map +0 -1
- package/dist/layouts/body/v_body.js +0 -27
- package/dist/layouts/body/v_body.js.map +0 -1
- package/dist/page.module-DXhph-u6.js +0 -5
- package/dist/page.module-DXhph-u6.js.map +0 -1
- package/dist/surfaces/page/h_page.d.ts +0 -6
- package/dist/surfaces/page/h_page.d.ts.map +0 -1
- package/dist/surfaces/page/h_page.js +0 -22
- package/dist/surfaces/page/h_page.js.map +0 -1
- package/dist/surfaces/page/v_page.d.ts +0 -6
- package/dist/surfaces/page/v_page.d.ts.map +0 -1
- package/dist/surfaces/page/v_page.js +0 -21
- package/dist/surfaces/page/v_page.js.map +0 -1
- package/src/layouts/body/h_body.module.css +0 -7
- package/src/layouts/body/h_body.tsx +0 -28
- package/src/layouts/body/v_body.module.css +0 -7
- package/src/layouts/body/v_body.tsx +0 -28
- package/src/surfaces/page/h_page.tsx +0 -23
- package/src/surfaces/page/v_page.tsx +0 -22
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
--quaternary-color-strong: #008cff;
|
|
111
111
|
|
|
112
112
|
--background-color-primary: #ffffff;
|
|
113
|
-
--background-color-secondary: #
|
|
114
|
-
--background-color-tertiary: #
|
|
113
|
+
--background-color-secondary: #fafafa;
|
|
114
|
+
--background-color-tertiary: #f1f1f1;
|
|
115
115
|
--background-color-quaternary: #ffffff;
|
|
116
116
|
|
|
117
117
|
--foreground-color-primary: #aaa;
|
|
@@ -716,14 +716,6 @@
|
|
|
716
716
|
gap: var(--gap-medium);
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
.tcn-rail {
|
|
720
|
-
:where(.tcn-rail-stack) {
|
|
721
|
-
gap: var(--gap-medium);
|
|
722
|
-
}
|
|
723
|
-
:where(.tcn-body) {
|
|
724
|
-
gap: var(--gap-medium);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
719
|
/* Scaffold: */
|
|
728
720
|
.tcn-footer,
|
|
729
721
|
.tcn-header,
|
|
@@ -758,27 +750,39 @@
|
|
|
758
750
|
border-top: calc(var(--scaffold-divide-footer) * 1px) solid
|
|
759
751
|
var(--foreground-color-primary);
|
|
760
752
|
}
|
|
761
|
-
|
|
762
|
-
:where(.tcn-body) {
|
|
763
|
-
gap: var(--gap-medium);
|
|
764
|
-
}
|
|
765
753
|
}
|
|
766
754
|
|
|
755
|
+
/* .tcn-body > .tcn-scaffold > .tcn-scaffold-stack,
|
|
756
|
+
.tcn-body > .tcn-rail > .tcn-rail-stack {
|
|
757
|
+
gap: var(--gap-medium);
|
|
758
|
+
} */
|
|
759
|
+
|
|
767
760
|
.tcn-frame-veil[data-is-veil="true"] {
|
|
768
761
|
background-color: rgba(0, 0, 0, 0.5);
|
|
769
762
|
}
|
|
770
763
|
|
|
764
|
+
/* PAGE: */
|
|
765
|
+
.tcn-page {
|
|
766
|
+
--divide-header: 0;
|
|
767
|
+
--divide-footer: 0;
|
|
768
|
+
--material: var(--background-color-tertiary);
|
|
769
|
+
background-color: var(--material);
|
|
770
|
+
padding: var(--padding-medium);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.tcn-body > .tcn-scaffold > .tcn-scaffold-stack,
|
|
774
|
+
.tcn-body > .tcn-rail > .tcn-rail-stack {
|
|
775
|
+
gap: var(--gap-medium);
|
|
776
|
+
}
|
|
777
|
+
|
|
771
778
|
/* MODAL: */
|
|
772
779
|
.tcn-modal {
|
|
773
780
|
--divide-header: 0;
|
|
774
781
|
box-shadow: 0px 4px 34px 0px #00000096;
|
|
775
|
-
|
|
776
|
-
:
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
overflow: hidden;
|
|
780
|
-
border: 1px solid var(--foreground-color-primary);
|
|
781
|
-
}
|
|
782
|
+
border-radius: var(--shape-radius-medium);
|
|
783
|
+
background-color: var(--background-color-primary);
|
|
784
|
+
overflow: hidden;
|
|
785
|
+
border: 1px solid var(--foreground-color-primary);
|
|
782
786
|
|
|
783
787
|
:where(.tcn-header) {
|
|
784
788
|
--material: var(--ergo-secondary-dark);
|
|
@@ -798,11 +802,8 @@
|
|
|
798
802
|
.tcn-drawer {
|
|
799
803
|
--divide-header: 0;
|
|
800
804
|
box-shadow: 0px 4px 34px 0px #00000096;
|
|
801
|
-
|
|
802
|
-
:
|
|
803
|
-
background-color: var(--background-color-primary);
|
|
804
|
-
overflow: hidden;
|
|
805
|
-
}
|
|
805
|
+
background-color: var(--background-color-primary);
|
|
806
|
+
overflow: hidden;
|
|
806
807
|
|
|
807
808
|
:where(.tcn-header) {
|
|
808
809
|
--material: var(--ergo-secondary-dark);
|
|
@@ -821,15 +822,11 @@
|
|
|
821
822
|
/* WINDOW: */
|
|
822
823
|
.tcn-window {
|
|
823
824
|
box-shadow: 0px 4px 34px 0px #00000096;
|
|
824
|
-
|
|
825
825
|
--divide-header: 0;
|
|
826
|
-
|
|
827
|
-
:
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
overflow: hidden;
|
|
831
|
-
border: 2px solid white;
|
|
832
|
-
}
|
|
826
|
+
border-radius: var(--shape-radius-medium);
|
|
827
|
+
background-color: var(--background-color-primary);
|
|
828
|
+
overflow: hidden;
|
|
829
|
+
border: 2px solid white;
|
|
833
830
|
|
|
834
831
|
:where(.tcn-header) {
|
|
835
832
|
--material: var(--ergo-secondary-dark);
|
|
@@ -848,6 +845,14 @@
|
|
|
848
845
|
.tcn-pop-confirm {
|
|
849
846
|
--divide-header: 0;
|
|
850
847
|
--tether-pad-size: 16px;
|
|
848
|
+
--pad-inline: var(--padding-medium);
|
|
849
|
+
|
|
850
|
+
.tcn-pop-confirm-scaffold > .tcn-scaffold-stack {
|
|
851
|
+
border-radius: var(--shape-radius-medium);
|
|
852
|
+
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.4);
|
|
853
|
+
background-color: var(--background-color-primary);
|
|
854
|
+
}
|
|
855
|
+
|
|
851
856
|
:where(.tcn-tethered-origin-indicator) {
|
|
852
857
|
--material: var(--ergo-white);
|
|
853
858
|
}
|
|
@@ -859,15 +864,6 @@
|
|
|
859
864
|
}
|
|
860
865
|
}
|
|
861
866
|
|
|
862
|
-
:where(.tcn-scaffold) {
|
|
863
|
-
--pad-inline: var(--padding-medium);
|
|
864
|
-
|
|
865
|
-
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.4);
|
|
866
|
-
border-radius: var(--shape-radius-medium);
|
|
867
|
-
background-color: var(--background-color-primary);
|
|
868
|
-
overflow: hidden;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
867
|
:where(.tcn-header) {
|
|
872
868
|
min-height: var(--bar-md);
|
|
873
869
|
|
|
@@ -885,7 +881,8 @@
|
|
|
885
881
|
}
|
|
886
882
|
|
|
887
883
|
.tcn-confirm {
|
|
888
|
-
|
|
884
|
+
--material: var(--background-color-primary);
|
|
885
|
+
background-color: var(--material);
|
|
889
886
|
}
|
|
890
887
|
|
|
891
888
|
.tcn-bar {
|
|
@@ -905,15 +902,44 @@
|
|
|
905
902
|
|
|
906
903
|
/* PANEL */
|
|
907
904
|
.tcn-panel {
|
|
905
|
+
--divide-header: 1;
|
|
906
|
+
--divide-footer: 1;
|
|
908
907
|
--material: var(--background-color-primary);
|
|
909
908
|
background-color: var(--material);
|
|
910
909
|
border-radius: var(--shape-radius-medium);
|
|
911
910
|
overflow: hidden;
|
|
911
|
+
|
|
912
|
+
:where(.tcn-title) {
|
|
913
|
+
font-size: 18px;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/* Aside */
|
|
918
|
+
.tcn-aside {
|
|
919
|
+
--divide-header: 1;
|
|
920
|
+
--divide-footer: 1;
|
|
921
|
+
|
|
922
|
+
--material: var(--background-color-secondary);
|
|
923
|
+
background-color: var(--material);
|
|
924
|
+
overflow: hidden;
|
|
925
|
+
|
|
926
|
+
:where(.tcn-header) {
|
|
927
|
+
min-height: var(--bar-md);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
:where(.tcn-footer) {
|
|
931
|
+
min-height: var(--bar-md);
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
:where(.tcn-title) {
|
|
935
|
+
font-size: 16px;
|
|
936
|
+
}
|
|
912
937
|
}
|
|
913
938
|
|
|
914
939
|
/* Card */
|
|
915
940
|
.tcn-card {
|
|
916
941
|
--divide-header: 0;
|
|
942
|
+
--divide-footer: 1;
|
|
917
943
|
|
|
918
944
|
background-color: var(--background-color-primary);
|
|
919
945
|
border-radius: var(--shape-radius-medium);
|
|
@@ -957,7 +983,7 @@
|
|
|
957
983
|
|
|
958
984
|
.tcn-heading {
|
|
959
985
|
background-color: #f1f1f1;
|
|
960
|
-
padding-inline-start:
|
|
986
|
+
padding-inline-start: var(--pad-inline, var(--padding-medium));
|
|
961
987
|
height: 30px;
|
|
962
988
|
z-index: 5;
|
|
963
989
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"body.module-BbFZ7KNP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { HStackProps } from '../../stacks/h_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface HBodyProps extends Omit<HStackProps, 'as'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const HBody: React.ForwardRefExoticComponent<HBodyProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
//# sourceMappingURL=h_body.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/h_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAoBhB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { HStack as f } from "../../stacks/h_stack.js";
|
|
3
|
-
import a from "react";
|
|
4
|
-
import { clsx as c } from "clsx";
|
|
5
|
-
import { s as o } from "../../body.module-BbFZ7KNP.js";
|
|
6
|
-
const l = a.forwardRef(function({ children: r, className: t, ...m }, s) {
|
|
7
|
-
return /* @__PURE__ */ d(
|
|
8
|
-
f,
|
|
9
|
-
{
|
|
10
|
-
ref: s,
|
|
11
|
-
as: "div",
|
|
12
|
-
className: c(
|
|
13
|
-
o.body,
|
|
14
|
-
o["h-body"],
|
|
15
|
-
t,
|
|
16
|
-
"tcn-h-body",
|
|
17
|
-
"tcn-body"
|
|
18
|
-
),
|
|
19
|
-
...m,
|
|
20
|
-
children: r
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
l as HBody
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=h_body.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_body.js","sources":["../../../src/layouts/body/h_body.tsx"],"sourcesContent":["import { HStack, type HStackProps } from '../../stacks/h_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\n\nexport interface HBodyProps extends Omit<HStackProps, 'as'> {}\n\nexport const HBody = React.forwardRef<HTMLElement, HBodyProps>(function HBody(\n { children, className, ...props }: HBodyProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"div\"\n className={clsx(\n styles['body'],\n styles['h-body'],\n className,\n 'tcn-h-body',\n 'tcn-body'\n )}\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HBody","React","children","className","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG;AAAA,QACTC,EAAO;AAAA,QACPA,EAAO,QAAQ;AAAA,QACfN;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface VBodyProps extends Omit<VStackProps, 'as'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const VBody: React.ForwardRefExoticComponent<VBodyProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
//# sourceMappingURL=v_body.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v_body.d.ts","sourceRoot":"","sources":["../../../src/layouts/body/v_body.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAoBhB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as f } from "../../stacks/v_stack.js";
|
|
3
|
-
import a from "react";
|
|
4
|
-
import { clsx as c } from "clsx";
|
|
5
|
-
import { s as o } from "../../body.module-BbFZ7KNP.js";
|
|
6
|
-
const l = a.forwardRef(function({ children: r, className: t, ...m }, s) {
|
|
7
|
-
return /* @__PURE__ */ d(
|
|
8
|
-
f,
|
|
9
|
-
{
|
|
10
|
-
ref: s,
|
|
11
|
-
as: "div",
|
|
12
|
-
className: c(
|
|
13
|
-
o.body,
|
|
14
|
-
o["v-body"],
|
|
15
|
-
t,
|
|
16
|
-
"tcn-body",
|
|
17
|
-
"tcn-v-body"
|
|
18
|
-
),
|
|
19
|
-
...m,
|
|
20
|
-
children: r
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
l as VBody
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=v_body.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v_body.js","sources":["../../../src/layouts/body/v_body.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport React from 'react';\nimport { clsx } from 'clsx';\nimport styles from './body.module.css';\n\nexport interface VBodyProps extends Omit<VStackProps, 'as'> {}\n\nexport const VBody = React.forwardRef<HTMLElement, VBodyProps>(function VBody(\n { children, className, ...props }: VBodyProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"div\"\n className={clsx(\n styles['body'],\n styles['v-body'],\n className,\n 'tcn-body',\n 'tcn-v-body'\n )}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VBody","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG;AAAA,QACTC,EAAO;AAAA,QACPA,EAAO,QAAQ;AAAA,QACfN;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAED,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"page.module-DXhph-u6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { HStackProps } from '../../stacks/h_stack.js';
|
|
3
|
-
export interface HPageProps extends Omit<HStackProps, 'as'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const HPage: React.ForwardRefExoticComponent<HPageProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
//# sourceMappingURL=h_page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_page.d.ts","sourceRoot":"","sources":["../../../src/surfaces/page/h_page.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAehB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { clsx as e } from "clsx";
|
|
3
|
-
import s from "react";
|
|
4
|
-
import { s as f } from "../../page.module-DXhph-u6.js";
|
|
5
|
-
import { HStack as i } from "../../stacks/h_stack.js";
|
|
6
|
-
const x = s.forwardRef(function({ children: r, className: t, ...a }, o) {
|
|
7
|
-
return /* @__PURE__ */ m(
|
|
8
|
-
i,
|
|
9
|
-
{
|
|
10
|
-
ref: o,
|
|
11
|
-
as: "main",
|
|
12
|
-
className: e(f.page, t, "tcn-h-page"),
|
|
13
|
-
vAlign: "start",
|
|
14
|
-
...a,
|
|
15
|
-
children: r
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
x as HPage
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=h_page.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"h_page.js","sources":["../../../src/surfaces/page/h_page.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './page.module.css';\nimport { HStack, type HStackProps } from '../../stacks/h_stack.js';\n\nexport interface HPageProps extends Omit<HStackProps, 'as'> {}\n\nexport const HPage = React.forwardRef<HTMLElement, HPageProps>(function HPage(\n { children, className, ...props }: HPageProps,\n ref\n) {\n return (\n <HStack\n ref={ref}\n as=\"main\"\n className={clsx(styles.page, className, 'tcn-h-page')}\n vAlign=\"start\"\n {...props}\n >\n {children}\n </HStack>\n );\n});\n"],"names":["HPage","React","children","className","props","ref","jsx","HStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,MAAMN,GAAW,YAAY;AAAA,MACpD,QAAO;AAAA,MACN,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface VPageProps extends Omit<VStackProps, 'as'> {
|
|
4
|
-
}
|
|
5
|
-
export declare const VPage: React.ForwardRefExoticComponent<VPageProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
-
//# sourceMappingURL=v_page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v_page.d.ts","sourceRoot":"","sources":["../../../src/surfaces/page/v_page.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;CAAG;AAE9D,eAAO,MAAM,KAAK,gFAchB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as e } from "../../stacks/v_stack.js";
|
|
3
|
-
import { clsx as s } from "clsx";
|
|
4
|
-
import f from "react";
|
|
5
|
-
import { s as p } from "../../page.module-DXhph-u6.js";
|
|
6
|
-
const x = f.forwardRef(function({ children: r, className: o, ...t }, a) {
|
|
7
|
-
return /* @__PURE__ */ m(
|
|
8
|
-
e,
|
|
9
|
-
{
|
|
10
|
-
ref: a,
|
|
11
|
-
as: "main",
|
|
12
|
-
className: s(p.page, o, "tcn-v-page"),
|
|
13
|
-
...t,
|
|
14
|
-
children: r
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
x as VPage
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=v_page.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"v_page.js","sources":["../../../src/surfaces/page/v_page.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './page.module.css';\n\nexport interface VPageProps extends Omit<VStackProps, 'as'> {}\n\nexport const VPage = React.forwardRef<HTMLElement, VPageProps>(function VPage(\n { children, className, ...props }: VPageProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"main\"\n className={clsx(styles.page, className, 'tcn-v-page')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["VPage","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;;AAOO,MAAMA,IAAQC,EAAM,WAAoC,SAC7D,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAC1BC,GACA;AACA,SACE,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,KAAAF;AAAA,MACA,IAAG;AAAA,MACH,WAAWG,EAAKC,EAAO,MAAMN,GAAW,YAAY;AAAA,MACnD,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { HStack, type HStackProps } from '../../stacks/h_stack.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { clsx } from 'clsx';
|
|
4
|
-
import styles from './body.module.css';
|
|
5
|
-
|
|
6
|
-
export interface HBodyProps extends Omit<HStackProps, 'as'> {}
|
|
7
|
-
|
|
8
|
-
export const HBody = React.forwardRef<HTMLElement, HBodyProps>(function HBody(
|
|
9
|
-
{ children, className, ...props }: HBodyProps,
|
|
10
|
-
ref
|
|
11
|
-
) {
|
|
12
|
-
return (
|
|
13
|
-
<HStack
|
|
14
|
-
ref={ref}
|
|
15
|
-
as="div"
|
|
16
|
-
className={clsx(
|
|
17
|
-
styles['body'],
|
|
18
|
-
styles['h-body'],
|
|
19
|
-
className,
|
|
20
|
-
'tcn-h-body',
|
|
21
|
-
'tcn-body'
|
|
22
|
-
)}
|
|
23
|
-
{...props}
|
|
24
|
-
>
|
|
25
|
-
{children}
|
|
26
|
-
</HStack>
|
|
27
|
-
);
|
|
28
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { VStack, type VStackProps } from '../../stacks/v_stack.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { clsx } from 'clsx';
|
|
4
|
-
import styles from './body.module.css';
|
|
5
|
-
|
|
6
|
-
export interface VBodyProps extends Omit<VStackProps, 'as'> {}
|
|
7
|
-
|
|
8
|
-
export const VBody = React.forwardRef<HTMLElement, VBodyProps>(function VBody(
|
|
9
|
-
{ children, className, ...props }: VBodyProps,
|
|
10
|
-
ref
|
|
11
|
-
) {
|
|
12
|
-
return (
|
|
13
|
-
<VStack
|
|
14
|
-
ref={ref}
|
|
15
|
-
as="div"
|
|
16
|
-
className={clsx(
|
|
17
|
-
styles['body'],
|
|
18
|
-
styles['v-body'],
|
|
19
|
-
className,
|
|
20
|
-
'tcn-body',
|
|
21
|
-
'tcn-v-body'
|
|
22
|
-
)}
|
|
23
|
-
{...props}
|
|
24
|
-
>
|
|
25
|
-
{children}
|
|
26
|
-
</VStack>
|
|
27
|
-
);
|
|
28
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { clsx } from 'clsx';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import styles from './page.module.css';
|
|
4
|
-
import { HStack, type HStackProps } from '../../stacks/h_stack.js';
|
|
5
|
-
|
|
6
|
-
export interface HPageProps extends Omit<HStackProps, 'as'> {}
|
|
7
|
-
|
|
8
|
-
export const HPage = React.forwardRef<HTMLElement, HPageProps>(function HPage(
|
|
9
|
-
{ children, className, ...props }: HPageProps,
|
|
10
|
-
ref
|
|
11
|
-
) {
|
|
12
|
-
return (
|
|
13
|
-
<HStack
|
|
14
|
-
ref={ref}
|
|
15
|
-
as="main"
|
|
16
|
-
className={clsx(styles.page, className, 'tcn-h-page')}
|
|
17
|
-
vAlign="start"
|
|
18
|
-
{...props}
|
|
19
|
-
>
|
|
20
|
-
{children}
|
|
21
|
-
</HStack>
|
|
22
|
-
);
|
|
23
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { VStack, type VStackProps } from '../../stacks/v_stack.js';
|
|
2
|
-
import { clsx } from 'clsx';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import styles from './page.module.css';
|
|
5
|
-
|
|
6
|
-
export interface VPageProps extends Omit<VStackProps, 'as'> {}
|
|
7
|
-
|
|
8
|
-
export const VPage = React.forwardRef<HTMLElement, VPageProps>(function VPage(
|
|
9
|
-
{ children, className, ...props }: VPageProps,
|
|
10
|
-
ref
|
|
11
|
-
) {
|
|
12
|
-
return (
|
|
13
|
-
<VStack
|
|
14
|
-
ref={ref}
|
|
15
|
-
as="main"
|
|
16
|
-
className={clsx(styles.page, className, 'tcn-v-page')}
|
|
17
|
-
{...props}
|
|
18
|
-
>
|
|
19
|
-
{children}
|
|
20
|
-
</VStack>
|
|
21
|
-
);
|
|
22
|
-
});
|