@tcn/ui 0.12.5 → 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/color_input/color_input.js +18 -18
- package/dist/inputs/color_input/color_input.js.map +1 -1
- package/dist/inputs/control/control.d.ts +10 -0
- package/dist/inputs/control/control.d.ts.map +1 -0
- package/dist/inputs/control/control.js +17 -0
- package/dist/inputs/control/control.js.map +1 -0
- package/dist/inputs/control_set/control_set.d.ts +5 -0
- package/dist/inputs/control_set/control_set.d.ts.map +1 -0
- package/dist/inputs/control_set/control_set.js +20 -0
- package/dist/inputs/{input_group/input_group.js.map → control_set/control_set.js.map} +1 -1
- package/dist/inputs/date_picker/date_picker_input.js +20 -20
- package/dist/inputs/date_picker/date_picker_input.js.map +1 -1
- package/dist/inputs/index.d.ts +2 -1
- package/dist/inputs/index.d.ts.map +1 -1
- package/dist/inputs/index.js +27 -24
- package/dist/inputs/index.js.map +1 -1
- package/dist/inputs/input/input.js +6 -6
- package/dist/inputs/input/input.js.map +1 -1
- package/dist/inputs/phone_number_input/phone_number_country_select_adapter.js +15 -15
- package/dist/inputs/phone_number_input/phone_number_country_select_adapter.js.map +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 +45 -43
- package/dist/inputs/phone_number_input/phone_number_input.js.map +1 -1
- package/dist/inputs/phone_number_input/phone_number_input_adapter.js +21 -21
- package/dist/inputs/phone_number_input/phone_number_input_adapter.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 +51 -49
- package/dist/inputs/phone_number_input/sip_input.js.map +1 -1
- package/dist/inputs/select/select.js +6 -6
- package/dist/inputs/select/select.js.map +1 -1
- package/dist/inputs/textarea/textarea.js +8 -8
- package/dist/inputs/textarea/textarea.js.map +1 -1
- package/dist/inputs/unit_input/unit_input.js +20 -20
- package/dist/inputs/unit_input/unit_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/overlay/frame/frame.d.ts +2 -2
- package/dist/overlay/frame/frame.d.ts.map +1 -1
- package/dist/overlay/frame/frame.js +67 -59
- package/dist/overlay/frame/frame.js.map +1 -1
- package/dist/overlay/slide/slide.d.ts +9 -0
- package/dist/overlay/slide/slide.d.ts.map +1 -0
- package/dist/overlay/slide/slide.js +29 -0
- package/dist/overlay/slide/slide.js.map +1 -0
- package/dist/page.css +1 -1
- package/dist/slide.css +1 -0
- 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 +5 -0
- package/dist/surfaces/drawers/drawer.d.ts.map +1 -0
- package/dist/surfaces/drawers/drawer.js +31 -0
- package/dist/surfaces/drawers/drawer.js.map +1 -0
- package/dist/surfaces/index.d.ts +3 -6
- package/dist/surfaces/index.d.ts.map +1 -1
- package/dist/surfaces/index.js +20 -26
- package/dist/surfaces/index.js.map +1 -1
- package/dist/surfaces/modal/modal.d.ts +1 -1
- 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 +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/stylesheets/reset.css +1 -1
- package/dist/themes/stylesheets/reset.js +2 -2
- package/dist/themes/stylesheets/reset.js.map +1 -1
- package/dist/themes/themes/ergo/ergo_theme.css +1 -1
- package/dist/themes/themes/ergo/ergo_theme.js +134 -44
- package/dist/themes/themes/ergo/ergo_theme.js.map +1 -1
- package/dist/utils/dnd/hooks/use_drag_container.d.ts.map +1 -1
- package/dist/utils/dnd/hooks/use_drag_container.js.map +1 -1
- package/package.json +2 -2
- package/src/inputs/color_input/color_input.tsx +3 -3
- package/src/inputs/control/control.stories.tsx +158 -0
- package/src/inputs/control/control.tsx +32 -0
- package/src/inputs/control/control_stories.module.css +7 -0
- package/src/inputs/control_set/control_set.stories.tsx +46 -0
- package/src/inputs/{input_group/input_group.tsx → control_set/control_set.tsx} +5 -5
- package/src/inputs/date_picker/date_picker_input.stories.tsx +1 -1
- package/src/inputs/date_picker/date_picker_input.tsx +1 -1
- package/src/inputs/index.ts +2 -1
- package/src/inputs/input/input.tsx +1 -1
- package/src/inputs/phone_number_input/phone_number_country_select_adapter.tsx +1 -1
- package/src/inputs/phone_number_input/phone_number_input.tsx +4 -1
- package/src/inputs/phone_number_input/phone_number_input_adapter.tsx +2 -2
- package/src/inputs/phone_number_input/sip_input.tsx +7 -4
- package/src/inputs/select/select.tsx +1 -1
- package/src/inputs/textarea/textarea.stories.tsx +1 -1
- package/src/inputs/textarea/textarea.tsx +1 -1
- package/src/inputs/unit_input/unit_input.tsx +3 -3
- 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/frame/frame.tsx +13 -16
- package/src/overlay/slide/slide.module.css +30 -0
- package/src/overlay/slide/slide.stories.tsx +61 -0
- package/src/overlay/slide/slide.tsx +51 -0
- 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 +144 -0
- package/src/surfaces/drawers/drawer.tsx +30 -0
- package/src/surfaces/index.ts +3 -6
- 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/stylesheets/reset.css +2 -2
- 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 +134 -44
- package/src/utils/dnd/hooks/use_drag_container.ts +0 -7
- package/dist/body.module-BbFZ7KNP.js +0 -5
- package/dist/body.module-BbFZ7KNP.js.map +0 -1
- package/dist/drawer_bottom.css +0 -1
- package/dist/drawer_end.css +0 -1
- package/dist/drawer_start.css +0 -1
- package/dist/drawer_top.css +0 -1
- package/dist/inputs/input_group/input_group.d.ts +0 -5
- package/dist/inputs/input_group/input_group.d.ts.map +0 -1
- package/dist/inputs/input_group/input_group.js +0 -20
- 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/drawers/drawer_bottom/drawer_bottom.d.ts +0 -7
- package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.d.ts.map +0 -1
- package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js +0 -22
- package/dist/surfaces/drawers/drawer_bottom/drawer_bottom.js.map +0 -1
- package/dist/surfaces/drawers/drawer_end/drawer_end.d.ts +0 -7
- package/dist/surfaces/drawers/drawer_end/drawer_end.d.ts.map +0 -1
- package/dist/surfaces/drawers/drawer_end/drawer_end.js +0 -20
- package/dist/surfaces/drawers/drawer_end/drawer_end.js.map +0 -1
- package/dist/surfaces/drawers/drawer_start/drawer_start.d.ts +0 -7
- package/dist/surfaces/drawers/drawer_start/drawer_start.d.ts.map +0 -1
- package/dist/surfaces/drawers/drawer_start/drawer_start.js +0 -22
- package/dist/surfaces/drawers/drawer_start/drawer_start.js.map +0 -1
- package/dist/surfaces/drawers/drawer_top/drawer_top.d.ts +0 -7
- package/dist/surfaces/drawers/drawer_top/drawer_top.d.ts.map +0 -1
- package/dist/surfaces/drawers/drawer_top/drawer_top.js +0 -20
- package/dist/surfaces/drawers/drawer_top/drawer_top.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/drawers/__stories__/drawers.stories.tsx +0 -26
- package/src/surfaces/drawers/drawer_bottom/drawer_bottom.module.css +0 -5
- package/src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx +0 -23
- package/src/surfaces/drawers/drawer_end/drawer_end.module.css +0 -5
- package/src/surfaces/drawers/drawer_end/drawer_end.tsx +0 -24
- package/src/surfaces/drawers/drawer_start/drawer_start.module.css +0 -5
- package/src/surfaces/drawers/drawer_start/drawer_start.tsx +0 -23
- package/src/surfaces/drawers/drawer_top/drawer_top.module.css +0 -5
- package/src/surfaces/drawers/drawer_top/drawer_top.tsx +0 -24
- 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,60 @@
|
|
|
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;
|
|
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);
|
|
775
786
|
|
|
776
|
-
:where(.tcn-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
787
|
+
:where(.tcn-header) {
|
|
788
|
+
--material: var(--ergo-secondary-dark);
|
|
789
|
+
--on-material: var(--ergo-white);
|
|
790
|
+
--action: var(--ergo-tertiary);
|
|
791
|
+
--on-action: var(--ergo-secondary-dark);
|
|
792
|
+
|
|
793
|
+
background-color: var(--material);
|
|
794
|
+
color: var(--on-material);
|
|
795
|
+
:where(.tcn-typography) {
|
|
796
|
+
color: inherit;
|
|
797
|
+
}
|
|
781
798
|
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/* DRAWER: */
|
|
802
|
+
.tcn-drawer {
|
|
803
|
+
--divide-header: 0;
|
|
804
|
+
box-shadow: 0px 4px 34px 0px #00000096;
|
|
805
|
+
background-color: var(--background-color-primary);
|
|
806
|
+
overflow: hidden;
|
|
782
807
|
|
|
783
808
|
:where(.tcn-header) {
|
|
784
809
|
--material: var(--ergo-secondary-dark);
|
|
@@ -797,15 +822,11 @@
|
|
|
797
822
|
/* WINDOW: */
|
|
798
823
|
.tcn-window {
|
|
799
824
|
box-shadow: 0px 4px 34px 0px #00000096;
|
|
800
|
-
|
|
801
825
|
--divide-header: 0;
|
|
802
|
-
|
|
803
|
-
:
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
overflow: hidden;
|
|
807
|
-
border: 2px solid white;
|
|
808
|
-
}
|
|
826
|
+
border-radius: var(--shape-radius-medium);
|
|
827
|
+
background-color: var(--background-color-primary);
|
|
828
|
+
overflow: hidden;
|
|
829
|
+
border: 2px solid white;
|
|
809
830
|
|
|
810
831
|
:where(.tcn-header) {
|
|
811
832
|
--material: var(--ergo-secondary-dark);
|
|
@@ -824,6 +845,14 @@
|
|
|
824
845
|
.tcn-pop-confirm {
|
|
825
846
|
--divide-header: 0;
|
|
826
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
|
+
|
|
827
856
|
:where(.tcn-tethered-origin-indicator) {
|
|
828
857
|
--material: var(--ergo-white);
|
|
829
858
|
}
|
|
@@ -835,15 +864,6 @@
|
|
|
835
864
|
}
|
|
836
865
|
}
|
|
837
866
|
|
|
838
|
-
:where(.tcn-scaffold) {
|
|
839
|
-
--pad-inline: var(--padding-medium);
|
|
840
|
-
|
|
841
|
-
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.4);
|
|
842
|
-
border-radius: var(--shape-radius-medium);
|
|
843
|
-
background-color: var(--background-color-primary);
|
|
844
|
-
overflow: hidden;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
867
|
:where(.tcn-header) {
|
|
848
868
|
min-height: var(--bar-md);
|
|
849
869
|
|
|
@@ -861,7 +881,8 @@
|
|
|
861
881
|
}
|
|
862
882
|
|
|
863
883
|
.tcn-confirm {
|
|
864
|
-
|
|
884
|
+
--material: var(--background-color-primary);
|
|
885
|
+
background-color: var(--material);
|
|
865
886
|
}
|
|
866
887
|
|
|
867
888
|
.tcn-bar {
|
|
@@ -881,15 +902,44 @@
|
|
|
881
902
|
|
|
882
903
|
/* PANEL */
|
|
883
904
|
.tcn-panel {
|
|
905
|
+
--divide-header: 1;
|
|
906
|
+
--divide-footer: 1;
|
|
884
907
|
--material: var(--background-color-primary);
|
|
885
908
|
background-color: var(--material);
|
|
886
909
|
border-radius: var(--shape-radius-medium);
|
|
887
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
|
+
}
|
|
888
937
|
}
|
|
889
938
|
|
|
890
939
|
/* Card */
|
|
891
940
|
.tcn-card {
|
|
892
941
|
--divide-header: 0;
|
|
942
|
+
--divide-footer: 1;
|
|
893
943
|
|
|
894
944
|
background-color: var(--background-color-primary);
|
|
895
945
|
border-radius: var(--shape-radius-medium);
|
|
@@ -933,7 +983,7 @@
|
|
|
933
983
|
|
|
934
984
|
.tcn-heading {
|
|
935
985
|
background-color: #f1f1f1;
|
|
936
|
-
padding-inline-start:
|
|
986
|
+
padding-inline-start: var(--pad-inline, var(--padding-medium));
|
|
937
987
|
height: 30px;
|
|
938
988
|
z-index: 5;
|
|
939
989
|
}
|
|
@@ -1148,6 +1198,7 @@
|
|
|
1148
1198
|
}
|
|
1149
1199
|
|
|
1150
1200
|
/* ===== INPUTS ===== */
|
|
1201
|
+
.tcn-entry,
|
|
1151
1202
|
.tcn-control {
|
|
1152
1203
|
--act: var(--action);
|
|
1153
1204
|
--mat: var(--material);
|
|
@@ -1165,7 +1216,7 @@
|
|
|
1165
1216
|
background: var(--act-raised);
|
|
1166
1217
|
}
|
|
1167
1218
|
|
|
1168
|
-
.tcn-control:focus-
|
|
1219
|
+
.tcn-control:focus-within {
|
|
1169
1220
|
outline: 2px solid var(--ergo-primary);
|
|
1170
1221
|
outline-offset: 2px;
|
|
1171
1222
|
}
|
|
@@ -1188,6 +1239,43 @@
|
|
|
1188
1239
|
color: var(--on-material-disabled);
|
|
1189
1240
|
}
|
|
1190
1241
|
|
|
1242
|
+
.tcn-control {
|
|
1243
|
+
display: flex;
|
|
1244
|
+
justify-content: center;
|
|
1245
|
+
gap: var(--gap-small);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.tcn-control-row {
|
|
1249
|
+
min-height: 22px;
|
|
1250
|
+
height: auto;
|
|
1251
|
+
align-items: center;
|
|
1252
|
+
gap: var(--gap-small);
|
|
1253
|
+
padding-block: 2px;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.tcn-control-row > .tcn-icon {
|
|
1257
|
+
color: var(--ergo-grey);
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
.tcn-control .tcn-entry {
|
|
1261
|
+
border: none;
|
|
1262
|
+
background: transparent;
|
|
1263
|
+
padding: 0;
|
|
1264
|
+
min-height: unset;
|
|
1265
|
+
border-radius: 0;
|
|
1266
|
+
height: 100%;
|
|
1267
|
+
flex-grow: 1;
|
|
1268
|
+
|
|
1269
|
+
&:hover,
|
|
1270
|
+
&:active,
|
|
1271
|
+
&:focus-visible,
|
|
1272
|
+
&:focus {
|
|
1273
|
+
outline: none;
|
|
1274
|
+
border: none;
|
|
1275
|
+
background: transparent;
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1191
1279
|
.tcn-input {
|
|
1192
1280
|
height: auto;
|
|
1193
1281
|
}
|
|
@@ -1197,7 +1285,7 @@
|
|
|
1197
1285
|
cursor: text;
|
|
1198
1286
|
}
|
|
1199
1287
|
|
|
1200
|
-
.tcn-
|
|
1288
|
+
.tcn-control-set {
|
|
1201
1289
|
border-radius: var(--shape-radius-medium);
|
|
1202
1290
|
|
|
1203
1291
|
&:focus-within {
|
|
@@ -1205,7 +1293,7 @@
|
|
|
1205
1293
|
outline-offset: 2px;
|
|
1206
1294
|
}
|
|
1207
1295
|
|
|
1208
|
-
.tcn-
|
|
1296
|
+
.tcn-control-set-item {
|
|
1209
1297
|
z-index: 1;
|
|
1210
1298
|
border-radius: 0;
|
|
1211
1299
|
height: auto;
|
|
@@ -1218,16 +1306,16 @@
|
|
|
1218
1306
|
}
|
|
1219
1307
|
}
|
|
1220
1308
|
|
|
1221
|
-
.tcn-
|
|
1309
|
+
.tcn-control-set-item:first-child {
|
|
1222
1310
|
border-top-left-radius: var(--shape-radius-medium);
|
|
1223
1311
|
border-bottom-left-radius: var(--shape-radius-medium);
|
|
1224
1312
|
}
|
|
1225
1313
|
|
|
1226
|
-
.tcn-
|
|
1314
|
+
.tcn-control-set-item:not(:last-child) {
|
|
1227
1315
|
margin-right: -1px;
|
|
1228
1316
|
}
|
|
1229
1317
|
|
|
1230
|
-
.tcn-
|
|
1318
|
+
.tcn-control-set-item:last-child {
|
|
1231
1319
|
border-top-right-radius: var(--shape-radius-medium);
|
|
1232
1320
|
border-bottom-right-radius: var(--shape-radius-medium);
|
|
1233
1321
|
}
|
|
@@ -1299,11 +1387,13 @@
|
|
|
1299
1387
|
.tcn-input,
|
|
1300
1388
|
.tcn-select,
|
|
1301
1389
|
.tcn-slider,
|
|
1390
|
+
.tcn-textarea,
|
|
1302
1391
|
.tcn-checkbox,
|
|
1303
1392
|
.tcn-switch-wrapper,
|
|
1304
1393
|
.tcn-date-picker,
|
|
1305
1394
|
.tcn-date-picker-year-selector,
|
|
1306
1395
|
.tcn-radio,
|
|
1396
|
+
.tcn-date-picker-input,
|
|
1307
1397
|
.tcn-suggestion-list-search-input,
|
|
1308
1398
|
.tcn-suggestion-list {
|
|
1309
1399
|
--accent-color: var(--ergo-primary);
|
|
@@ -10,14 +10,7 @@ export interface UseDragContainerOptions {
|
|
|
10
10
|
export function useMakeDragContainer(options: UseDragContainerOptions): DragContainer {
|
|
11
11
|
const [handles, setHandles] = useState<React.RefObject<HTMLElement>[]>([]);
|
|
12
12
|
const positionRef = useRef<Position>(options.initialPosition ?? { x: 0, y: 0 });
|
|
13
|
-
/**
|
|
14
|
-
* The value that triggers re-renders. It’s updated in dragCallback so the UI
|
|
15
|
-
* moves while dragging, and it’s what the hook returns so the consumer can
|
|
16
|
-
* render the element at that position
|
|
17
|
-
* (e.g. style={{ left: position.x, top: position.y }}).
|
|
18
|
-
*/
|
|
19
13
|
const [position, setPosition] = useState(positionRef.current);
|
|
20
|
-
|
|
21
14
|
const [isDragging, setIsDragging] = useState(false);
|
|
22
15
|
|
|
23
16
|
useDraggable({
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"body.module-BbFZ7KNP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/drawer_bottom.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer tcn-system{:where(._drawerBottom_9359033){background-color:var(--background-color-primary)}}
|
package/dist/drawer_end.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer tcn-system{:where(._drawerEnd_39acb27){background-color:var(--background-color-primary)}}
|
package/dist/drawer_start.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer tcn-system{:where(._drawerStart_3abbf56){background-color:var(--background-color-primary)}}
|
package/dist/drawer_top.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@layer tcn-system{:where(._drawerBottom_7a0635a){background-color:var(--background-color-primary)}}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { HStackProps } from '../../stacks/h_stack.js';
|
|
3
|
-
export type InputGroupProps = HStackProps;
|
|
4
|
-
export declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLElement>>;
|
|
5
|
-
//# sourceMappingURL=input_group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input_group.d.ts","sourceRoot":"","sources":["../../../src/inputs/input_group/input_group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC;AAE1C,eAAO,MAAM,UAAU,qFAmBtB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import r from "react";
|
|
3
|
-
import { clsx as t } from "clsx";
|
|
4
|
-
import { HStack as c } from "../../stacks/h_stack.js";
|
|
5
|
-
const N = r.forwardRef(
|
|
6
|
-
function({ children: n, as: p = "div", className: e, ...m }, s) {
|
|
7
|
-
const a = r.Children.map(
|
|
8
|
-
n,
|
|
9
|
-
(o) => r.isValidElement(o) ? r.cloneElement(o, {
|
|
10
|
-
...o.props,
|
|
11
|
-
className: t(o.props.className, "tcn-input-group-slot")
|
|
12
|
-
}) : o
|
|
13
|
-
);
|
|
14
|
-
return /* @__PURE__ */ u(c, { ref: s, as: p, className: t(e, "tcn-input-group"), ...m, children: a });
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
export {
|
|
18
|
-
N as InputGroup
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=input_group.js.map
|
|
@@ -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,7 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface DrawerBottomProps extends Omit<VStackProps, 'as' | 'children'> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const DrawerBottom: React.ForwardRefExoticComponent<DrawerBottomProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer_bottom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_bottom.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IAC7E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,uFAaxB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as a } from "../../../stacks/v_stack.js";
|
|
3
|
-
import { clsx as s } from "clsx";
|
|
4
|
-
import c from "react";
|
|
5
|
-
import '../../../drawer_bottom.css';const f = "_drawerBottom_9359033", n = { drawerBottom: f }, l = c.forwardRef(
|
|
6
|
-
function({ children: t, className: o, ...r }, m) {
|
|
7
|
-
return /* @__PURE__ */ e(
|
|
8
|
-
a,
|
|
9
|
-
{
|
|
10
|
-
ref: m,
|
|
11
|
-
as: "section",
|
|
12
|
-
className: s(n.drawerBottom, o, "tcn-drawer-bottom"),
|
|
13
|
-
...r,
|
|
14
|
-
children: t
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
l as DrawerBottom
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=drawer_bottom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_bottom.js","sources":["../../../../src/surfaces/drawers/drawer_bottom/drawer_bottom.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_bottom.module.css';\n\nexport interface DrawerBottomProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerBottom = React.forwardRef<HTMLElement, DrawerBottomProps>(\n function DrawerBottom({ children, className, ...props }: DrawerBottomProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerBottom, className, 'tcn-drawer-bottom')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerBottom","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;4DASaA,IAAeC,EAAM;AAAA,EAChC,SAAsB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA4BC,GAAK;AAC/E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAKC,EAAO,cAAcN,GAAW,mBAAmB;AAAA,QAClE,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface DrawerEndProps extends Omit<VStackProps, 'as' | 'children'> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const DrawerEnd: React.ForwardRefExoticComponent<DrawerEndProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer_end.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_end.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/drawers/drawer_end/drawer_end.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IAC1E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,oFAcpB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as n } from "../../../stacks/v_stack.js";
|
|
3
|
-
import { clsx as d } from "clsx";
|
|
4
|
-
import c from "react";
|
|
5
|
-
import '../../../drawer_end.css';const s = "_drawerEnd_39acb27", m = { drawerEnd: s }, l = c.forwardRef(function({ children: r, className: t, ...o }, a) {
|
|
6
|
-
return /* @__PURE__ */ e(
|
|
7
|
-
n,
|
|
8
|
-
{
|
|
9
|
-
ref: a,
|
|
10
|
-
as: "section",
|
|
11
|
-
className: d(m.drawerEnd, t, "tcn-drawerEnd"),
|
|
12
|
-
...o,
|
|
13
|
-
children: r
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
l as DrawerEnd
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=drawer_end.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_end.js","sources":["../../../../src/surfaces/drawers/drawer_end/drawer_end.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_end.module.css';\n\nexport interface DrawerEndProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerEnd = React.forwardRef<HTMLElement, DrawerEndProps>(function DrawerEnd(\n { children, className, ...props }: DrawerEndProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerEnd, className, 'tcn-drawerEnd')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerEnd","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;sDASaA,IAAYC,EAAM,WAAwC,SACrE,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,WAAWN,GAAW,eAAe;AAAA,MAC3D,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface DrawerStartProps extends Omit<VStackProps, 'as' | 'children'> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const DrawerStart: React.ForwardRefExoticComponent<DrawerStartProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer_start.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_start.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/drawers/drawer_start/drawer_start.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IAC5E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,WAAW,sFAavB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as s } from "../../../stacks/v_stack.js";
|
|
3
|
-
import { clsx as c } from "clsx";
|
|
4
|
-
import f from "react";
|
|
5
|
-
import '../../../drawer_start.css';const m = "_drawerStart_3abbf56", n = { drawerStart: m }, l = f.forwardRef(
|
|
6
|
-
function({ children: r, className: t, ...a }, o) {
|
|
7
|
-
return /* @__PURE__ */ e(
|
|
8
|
-
s,
|
|
9
|
-
{
|
|
10
|
-
ref: o,
|
|
11
|
-
as: "section",
|
|
12
|
-
className: c(n.drawerStart, t, "tcn-drawerStart"),
|
|
13
|
-
...a,
|
|
14
|
-
children: r
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
l as DrawerStart
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=drawer_start.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_start.js","sources":["../../../../src/surfaces/drawers/drawer_start/drawer_start.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_start.module.css';\n\nexport interface DrawerStartProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerStart = React.forwardRef<HTMLElement, DrawerStartProps>(\n function DrawerStart({ children, className, ...props }: DrawerStartProps, ref) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerStart, className, 'tcn-drawerStart')}\n {...props}\n >\n {children}\n </VStack>\n );\n }\n);\n"],"names":["DrawerStart","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;0DASaA,IAAcC,EAAM;AAAA,EAC/B,SAAqB,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,EAAA,GAA2BC,GAAK;AAC7E,WACE,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAAF;AAAA,QACA,IAAG;AAAA,QACH,WAAWG,EAAKC,EAAO,aAAaN,GAAW,iBAAiB;AAAA,QAC/D,GAAGC;AAAA,QAEH,UAAAF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGP;AACF;"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VStackProps } from '../../../stacks/v_stack.js';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface DrawerTopProps extends Omit<VStackProps, 'as' | 'children'> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const DrawerTop: React.ForwardRefExoticComponent<DrawerTopProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer_top.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_top.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/drawers/drawer_top/drawer_top.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,UAAU,CAAC;IAC1E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,oFAcpB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { VStack as m } from "../../../stacks/v_stack.js";
|
|
3
|
-
import { clsx as s } from "clsx";
|
|
4
|
-
import c from "react";
|
|
5
|
-
import '../../../drawer_top.css';const p = "_drawerBottom_7a0635a", f = { drawerBottom: p }, T = c.forwardRef(function({ children: r, className: o, ...t }, a) {
|
|
6
|
-
return /* @__PURE__ */ e(
|
|
7
|
-
m,
|
|
8
|
-
{
|
|
9
|
-
ref: a,
|
|
10
|
-
as: "section",
|
|
11
|
-
className: s(f.drawerTop, o, "tcn-drawerTop"),
|
|
12
|
-
...t,
|
|
13
|
-
children: r
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
T as DrawerTop
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=drawer_top.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drawer_top.js","sources":["../../../../src/surfaces/drawers/drawer_top/drawer_top.tsx"],"sourcesContent":["import { VStack, type VStackProps } from '../../../stacks/v_stack.js';\nimport { clsx } from 'clsx';\nimport React from 'react';\nimport styles from './drawer_top.module.css';\n\nexport interface DrawerTopProps extends Omit<VStackProps, 'as' | 'children'> {\n children?: React.ReactNode;\n}\n\nexport const DrawerTop = React.forwardRef<HTMLElement, DrawerTopProps>(function DrawerTop(\n { children, className, ...props }: DrawerTopProps,\n ref\n) {\n return (\n <VStack\n ref={ref}\n as=\"section\"\n className={clsx(styles.drawerTop, className, 'tcn-drawerTop')}\n {...props}\n >\n {children}\n </VStack>\n );\n});\n"],"names":["DrawerTop","React","children","className","props","ref","jsx","VStack","clsx","styles"],"mappings":";;;;4DASaA,IAAYC,EAAM,WAAwC,SACrE,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,WAAWN,GAAW,eAAe;AAAA,MAC3D,GAAGC;AAAA,MAEH,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;"}
|