@tecof/theme-editor 0.0.32 → 0.0.33
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/components/UnderConstruction.d.mts +12 -0
- package/dist/components/UnderConstruction.d.ts +12 -0
- package/dist/components/UnderConstruction.js +249 -0
- package/dist/components/UnderConstruction.js.map +1 -0
- package/dist/components/UnderConstruction.mjs +244 -0
- package/dist/components/UnderConstruction.mjs.map +1 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +237 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +237 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -4
package/dist/index.js
CHANGED
|
@@ -679,6 +679,242 @@ var TecofPicture = React__default.memo(({
|
|
|
679
679
|
return null;
|
|
680
680
|
});
|
|
681
681
|
TecofPicture.displayName = "TecofPicture";
|
|
682
|
+
var UnderConstruction = ({
|
|
683
|
+
title,
|
|
684
|
+
description,
|
|
685
|
+
subtitle,
|
|
686
|
+
logoUrl,
|
|
687
|
+
accentColor = "#2563eb"
|
|
688
|
+
// Default elegant blue
|
|
689
|
+
}) => {
|
|
690
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-uc-wrapper", children: [
|
|
691
|
+
/* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: `
|
|
692
|
+
.tecof-uc-wrapper {
|
|
693
|
+
min-height: 100vh;
|
|
694
|
+
display: flex;
|
|
695
|
+
align-items: center;
|
|
696
|
+
justify-content: center;
|
|
697
|
+
background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
|
|
698
|
+
radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
|
|
699
|
+
#090d16;
|
|
700
|
+
color: #f8fafc;
|
|
701
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
702
|
+
padding: 2rem 1rem;
|
|
703
|
+
box-sizing: border-box;
|
|
704
|
+
position: relative;
|
|
705
|
+
overflow: hidden;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/* Ambient glowing circles */
|
|
709
|
+
.tecof-uc-glow-1 {
|
|
710
|
+
position: absolute;
|
|
711
|
+
top: 20%;
|
|
712
|
+
left: 50%;
|
|
713
|
+
transform: translate(-50%, -50%);
|
|
714
|
+
width: 500px;
|
|
715
|
+
height: 500px;
|
|
716
|
+
background: ${accentColor};
|
|
717
|
+
filter: blur(150px);
|
|
718
|
+
opacity: 0.12;
|
|
719
|
+
pointer-events: none;
|
|
720
|
+
z-index: 1;
|
|
721
|
+
border-radius: 50%;
|
|
722
|
+
animation: tecof-uc-pulse 8s infinite alternate ease-in-out;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.tecof-uc-container {
|
|
726
|
+
position: relative;
|
|
727
|
+
z-index: 2;
|
|
728
|
+
max-width: 540px;
|
|
729
|
+
width: 100%;
|
|
730
|
+
background: rgba(17, 24, 39, 0.55);
|
|
731
|
+
backdrop-filter: blur(20px);
|
|
732
|
+
-webkit-backdrop-filter: blur(20px);
|
|
733
|
+
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
734
|
+
border-radius: 24px;
|
|
735
|
+
padding: 3.5rem 2.5rem;
|
|
736
|
+
text-align: center;
|
|
737
|
+
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
|
|
738
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
739
|
+
animation: tecof-uc-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.tecof-uc-logo-area {
|
|
743
|
+
margin-bottom: 2.5rem;
|
|
744
|
+
display: flex;
|
|
745
|
+
justify-content: center;
|
|
746
|
+
align-items: center;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.tecof-uc-logo {
|
|
750
|
+
max-height: 56px;
|
|
751
|
+
max-width: 200px;
|
|
752
|
+
object-fit: contain;
|
|
753
|
+
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.tecof-uc-logo-fallback {
|
|
757
|
+
font-size: 1.5rem;
|
|
758
|
+
font-weight: 700;
|
|
759
|
+
letter-spacing: -0.025em;
|
|
760
|
+
background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
|
|
761
|
+
-webkit-background-clip: text;
|
|
762
|
+
-webkit-text-fill-color: transparent;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.tecof-uc-icon-wrapper {
|
|
766
|
+
width: 80px;
|
|
767
|
+
height: 80px;
|
|
768
|
+
border-radius: 20px;
|
|
769
|
+
background: rgba(255, 255, 255, 0.03);
|
|
770
|
+
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
771
|
+
display: flex;
|
|
772
|
+
align-items: center;
|
|
773
|
+
justify-content: center;
|
|
774
|
+
margin: 0 auto 2.2rem auto;
|
|
775
|
+
color: ${accentColor};
|
|
776
|
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
|
|
777
|
+
position: relative;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.tecof-uc-icon-glow {
|
|
781
|
+
position: absolute;
|
|
782
|
+
inset: -2px;
|
|
783
|
+
border-radius: 22px;
|
|
784
|
+
background: linear-gradient(135deg, ${accentColor}, transparent);
|
|
785
|
+
opacity: 0.3;
|
|
786
|
+
z-index: -1;
|
|
787
|
+
filter: blur(4px);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.tecof-uc-icon-wrapper svg {
|
|
791
|
+
width: 36px;
|
|
792
|
+
height: 36px;
|
|
793
|
+
stroke-width: 1.5;
|
|
794
|
+
animation: tecof-uc-float 4s ease-in-out infinite;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.tecof-uc-subtitle {
|
|
798
|
+
font-size: 0.875rem;
|
|
799
|
+
font-weight: 600;
|
|
800
|
+
text-transform: uppercase;
|
|
801
|
+
letter-spacing: 0.15em;
|
|
802
|
+
color: ${accentColor};
|
|
803
|
+
margin-bottom: 0.75rem;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.tecof-uc-title {
|
|
807
|
+
font-size: 2.25rem;
|
|
808
|
+
font-weight: 800;
|
|
809
|
+
line-height: 1.2;
|
|
810
|
+
letter-spacing: -0.025em;
|
|
811
|
+
color: #ffffff;
|
|
812
|
+
margin-top: 0;
|
|
813
|
+
margin-bottom: 1.25rem;
|
|
814
|
+
background: linear-gradient(to bottom, #ffffff 0%, #cbd5e1 100%);
|
|
815
|
+
-webkit-background-clip: text;
|
|
816
|
+
-webkit-text-fill-color: transparent;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.tecof-uc-description {
|
|
820
|
+
font-size: 1.05rem;
|
|
821
|
+
line-height: 1.6;
|
|
822
|
+
color: #94a3b8;
|
|
823
|
+
margin: 0 auto 2.5rem auto;
|
|
824
|
+
max-width: 420px;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.tecof-uc-divider {
|
|
828
|
+
height: 1px;
|
|
829
|
+
background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 100%);
|
|
830
|
+
margin-bottom: 2rem;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.tecof-uc-badge {
|
|
834
|
+
display: inline-flex;
|
|
835
|
+
align-items: center;
|
|
836
|
+
gap: 0.5rem;
|
|
837
|
+
background: rgba(255, 255, 255, 0.04);
|
|
838
|
+
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
839
|
+
border-radius: 99px;
|
|
840
|
+
padding: 0.5rem 1.25rem;
|
|
841
|
+
font-size: 0.825rem;
|
|
842
|
+
font-weight: 500;
|
|
843
|
+
color: #94a3b8;
|
|
844
|
+
text-decoration: none;
|
|
845
|
+
transition: all 0.2s ease-in-out;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.tecof-uc-badge:hover {
|
|
849
|
+
background: rgba(255, 255, 255, 0.08);
|
|
850
|
+
border-color: rgba(255, 255, 255, 0.15);
|
|
851
|
+
color: #f8fafc;
|
|
852
|
+
transform: translateY(-1px);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.tecof-uc-badge-dot {
|
|
856
|
+
width: 6px;
|
|
857
|
+
height: 6px;
|
|
858
|
+
background-color: ${accentColor};
|
|
859
|
+
border-radius: 50%;
|
|
860
|
+
box-shadow: 0 0 10px ${accentColor};
|
|
861
|
+
animation: tecof-uc-blink 1.5s infinite alternate;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
/* Animations */
|
|
865
|
+
@keyframes tecof-uc-pulse {
|
|
866
|
+
0% { opacity: 0.08; transform: translate(-50%, -50%) scale(0.95); }
|
|
867
|
+
100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.05); }
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
@keyframes tecof-uc-fade-in {
|
|
871
|
+
0% { opacity: 0; transform: translateY(20px); }
|
|
872
|
+
100% { opacity: 1; transform: translateY(0); }
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
@keyframes tecof-uc-float {
|
|
876
|
+
0% { transform: translateY(0px) rotate(0deg); }
|
|
877
|
+
50% { transform: translateY(-5px) rotate(3deg); }
|
|
878
|
+
100% { transform: translateY(0px) rotate(0deg); }
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
@keyframes tecof-uc-blink {
|
|
882
|
+
0% { opacity: 0.3; }
|
|
883
|
+
100% { opacity: 1; }
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
@media (max-width: 640px) {
|
|
887
|
+
.tecof-uc-container {
|
|
888
|
+
padding: 2.5rem 1.5rem;
|
|
889
|
+
border-radius: 20px;
|
|
890
|
+
}
|
|
891
|
+
.tecof-uc-title {
|
|
892
|
+
font-size: 1.75rem;
|
|
893
|
+
}
|
|
894
|
+
.tecof-uc-description {
|
|
895
|
+
font-size: 0.95rem;
|
|
896
|
+
margin-bottom: 2rem;
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
` } }),
|
|
900
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-glow-1" }),
|
|
901
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-uc-container", children: [
|
|
902
|
+
logoUrl ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-logo-area", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: logoUrl, alt: "Store Logo", className: "tecof-uc-logo" }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-logo-area", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-logo-fallback", children: "TECOF" }) }),
|
|
903
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-uc-icon-wrapper", children: [
|
|
904
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-icon-glow" }),
|
|
905
|
+
/* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
906
|
+
] }),
|
|
907
|
+
subtitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-subtitle", children: subtitle }),
|
|
908
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "tecof-uc-title", children: title }),
|
|
909
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "tecof-uc-description", children: description }),
|
|
910
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-uc-divider" }),
|
|
911
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-uc-badge", children: [
|
|
912
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "tecof-uc-badge-dot" }),
|
|
913
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Yap\u0131m A\u015Famas\u0131nda" })
|
|
914
|
+
] })
|
|
915
|
+
] })
|
|
916
|
+
] });
|
|
917
|
+
};
|
|
682
918
|
var merchantInfoCache = /* @__PURE__ */ new Map();
|
|
683
919
|
var CACHE_TTL = 5 * 60 * 1e3;
|
|
684
920
|
function useLanguages() {
|
|
@@ -25376,6 +25612,7 @@ exports.TecofEditor = TecofEditor;
|
|
|
25376
25612
|
exports.TecofPicture = TecofPicture;
|
|
25377
25613
|
exports.TecofProvider = TecofProvider;
|
|
25378
25614
|
exports.TecofRender = TecofRender;
|
|
25615
|
+
exports.UnderConstruction = UnderConstruction;
|
|
25379
25616
|
exports.UploadField = UploadField;
|
|
25380
25617
|
exports.createCmsCollectionField = createCmsCollectionField;
|
|
25381
25618
|
exports.createCodeEditorField = createCodeEditorField;
|