@tecof/theme-editor 0.0.14 → 0.0.15

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/index.js CHANGED
@@ -684,37 +684,16 @@ var __iconNode3 = [
684
684
  ];
685
685
  var Copy = createLucideIcon("copy", __iconNode3);
686
686
 
687
- // node_modules/lucide-react/dist/esm/icons/download.js
688
- var __iconNode4 = [
689
- ["path", { d: "M12 15V3", key: "m9g1x1" }],
690
- ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
691
- ["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
692
- ];
693
- var Download = createLucideIcon("download", __iconNode4);
694
-
695
687
  // node_modules/lucide-react/dist/esm/icons/external-link.js
696
- var __iconNode5 = [
688
+ var __iconNode4 = [
697
689
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
698
690
  ["path", { d: "M10 14 21 3", key: "gplh6r" }],
699
691
  ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
700
692
  ];
701
- var ExternalLink = createLucideIcon("external-link", __iconNode5);
702
-
703
- // node_modules/lucide-react/dist/esm/icons/eye.js
704
- var __iconNode6 = [
705
- [
706
- "path",
707
- {
708
- d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
709
- key: "1nclc0"
710
- }
711
- ],
712
- ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
713
- ];
714
- var Eye = createLucideIcon("eye", __iconNode6);
693
+ var ExternalLink = createLucideIcon("external-link", __iconNode4);
715
694
 
716
695
  // node_modules/lucide-react/dist/esm/icons/file-text.js
717
- var __iconNode7 = [
696
+ var __iconNode5 = [
718
697
  [
719
698
  "path",
720
699
  {
@@ -727,10 +706,10 @@ var __iconNode7 = [
727
706
  ["path", { d: "M16 13H8", key: "t4e002" }],
728
707
  ["path", { d: "M16 17H8", key: "z1uh3a" }]
729
708
  ];
730
- var FileText = createLucideIcon("file-text", __iconNode7);
709
+ var FileText = createLucideIcon("file-text", __iconNode5);
731
710
 
732
711
  // node_modules/lucide-react/dist/esm/icons/file.js
733
- var __iconNode8 = [
712
+ var __iconNode6 = [
734
713
  [
735
714
  "path",
736
715
  {
@@ -740,10 +719,10 @@ var __iconNode8 = [
740
719
  ],
741
720
  ["path", { d: "M14 2v5a1 1 0 0 0 1 1h5", key: "wfsgrz" }]
742
721
  ];
743
- var File2 = createLucideIcon("file", __iconNode8);
722
+ var File2 = createLucideIcon("file", __iconNode6);
744
723
 
745
724
  // node_modules/lucide-react/dist/esm/icons/folder-open.js
746
- var __iconNode9 = [
725
+ var __iconNode7 = [
747
726
  [
748
727
  "path",
749
728
  {
@@ -752,36 +731,36 @@ var __iconNode9 = [
752
731
  }
753
732
  ]
754
733
  ];
755
- var FolderOpen = createLucideIcon("folder-open", __iconNode9);
734
+ var FolderOpen = createLucideIcon("folder-open", __iconNode7);
756
735
 
757
736
  // node_modules/lucide-react/dist/esm/icons/globe.js
758
- var __iconNode10 = [
737
+ var __iconNode8 = [
759
738
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
760
739
  ["path", { d: "M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20", key: "13o1zl" }],
761
740
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
762
741
  ];
763
- var Globe = createLucideIcon("globe", __iconNode10);
742
+ var Globe = createLucideIcon("globe", __iconNode8);
764
743
 
765
744
  // node_modules/lucide-react/dist/esm/icons/image-plus.js
766
- var __iconNode11 = [
745
+ var __iconNode9 = [
767
746
  ["path", { d: "M16 5h6", key: "1vod17" }],
768
747
  ["path", { d: "M19 2v6", key: "4bpg5p" }],
769
748
  ["path", { d: "M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5", key: "1ue2ih" }],
770
749
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }],
771
750
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }]
772
751
  ];
773
- var ImagePlus = createLucideIcon("image-plus", __iconNode11);
752
+ var ImagePlus = createLucideIcon("image-plus", __iconNode9);
774
753
 
775
754
  // node_modules/lucide-react/dist/esm/icons/image.js
776
- var __iconNode12 = [
755
+ var __iconNode10 = [
777
756
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
778
757
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
779
758
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
780
759
  ];
781
- var Image2 = createLucideIcon("image", __iconNode12);
760
+ var Image2 = createLucideIcon("image", __iconNode10);
782
761
 
783
762
  // node_modules/lucide-react/dist/esm/icons/languages.js
784
- var __iconNode13 = [
763
+ var __iconNode11 = [
785
764
  ["path", { d: "m5 8 6 6", key: "1wu5hv" }],
786
765
  ["path", { d: "m4 14 6-6 2-3", key: "1k1g8d" }],
787
766
  ["path", { d: "M2 5h12", key: "or177f" }],
@@ -789,21 +768,21 @@ var __iconNode13 = [
789
768
  ["path", { d: "m22 22-5-10-5 10", key: "don7ne" }],
790
769
  ["path", { d: "M14 18h6", key: "1m8k6r" }]
791
770
  ];
792
- var Languages = createLucideIcon("languages", __iconNode13);
771
+ var Languages = createLucideIcon("languages", __iconNode11);
793
772
 
794
773
  // node_modules/lucide-react/dist/esm/icons/link.js
795
- var __iconNode14 = [
774
+ var __iconNode12 = [
796
775
  ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
797
776
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
798
777
  ];
799
- var Link = createLucideIcon("link", __iconNode14);
778
+ var Link = createLucideIcon("link", __iconNode12);
800
779
 
801
780
  // node_modules/lucide-react/dist/esm/icons/loader-circle.js
802
- var __iconNode15 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
803
- var LoaderCircle = createLucideIcon("loader-circle", __iconNode15);
781
+ var __iconNode13 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
782
+ var LoaderCircle = createLucideIcon("loader-circle", __iconNode13);
804
783
 
805
784
  // node_modules/lucide-react/dist/esm/icons/pencil.js
806
- var __iconNode16 = [
785
+ var __iconNode14 = [
807
786
  [
808
787
  "path",
809
788
  {
@@ -813,55 +792,55 @@ var __iconNode16 = [
813
792
  ],
814
793
  ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
815
794
  ];
816
- var Pencil = createLucideIcon("pencil", __iconNode16);
795
+ var Pencil = createLucideIcon("pencil", __iconNode14);
817
796
 
818
797
  // node_modules/lucide-react/dist/esm/icons/refresh-ccw.js
819
- var __iconNode17 = [
798
+ var __iconNode15 = [
820
799
  ["path", { d: "M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "14sxne" }],
821
800
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }],
822
801
  ["path", { d: "M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16", key: "1hlbsb" }],
823
802
  ["path", { d: "M16 16h5v5", key: "ccwih5" }]
824
803
  ];
825
- var RefreshCcw = createLucideIcon("refresh-ccw", __iconNode17);
804
+ var RefreshCcw = createLucideIcon("refresh-ccw", __iconNode15);
826
805
 
827
806
  // node_modules/lucide-react/dist/esm/icons/rotate-ccw.js
828
- var __iconNode18 = [
807
+ var __iconNode16 = [
829
808
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
830
809
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
831
810
  ];
832
- var RotateCcw = createLucideIcon("rotate-ccw", __iconNode18);
811
+ var RotateCcw = createLucideIcon("rotate-ccw", __iconNode16);
833
812
 
834
813
  // node_modules/lucide-react/dist/esm/icons/search.js
835
- var __iconNode19 = [
814
+ var __iconNode17 = [
836
815
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
837
816
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
838
817
  ];
839
- var Search = createLucideIcon("search", __iconNode19);
818
+ var Search = createLucideIcon("search", __iconNode17);
840
819
 
841
820
  // node_modules/lucide-react/dist/esm/icons/trash-2.js
842
- var __iconNode20 = [
821
+ var __iconNode18 = [
843
822
  ["path", { d: "M10 11v6", key: "nco0om" }],
844
823
  ["path", { d: "M14 11v6", key: "outv1u" }],
845
824
  ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
846
825
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
847
826
  ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
848
827
  ];
849
- var Trash2 = createLucideIcon("trash-2", __iconNode20);
828
+ var Trash2 = createLucideIcon("trash-2", __iconNode18);
850
829
 
851
830
  // node_modules/lucide-react/dist/esm/icons/upload.js
852
- var __iconNode21 = [
831
+ var __iconNode19 = [
853
832
  ["path", { d: "M12 3v12", key: "1x0j5s" }],
854
833
  ["path", { d: "m17 8-5-5-5 5", key: "7q97r8" }],
855
834
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }]
856
835
  ];
857
- var Upload = createLucideIcon("upload", __iconNode21);
836
+ var Upload = createLucideIcon("upload", __iconNode19);
858
837
 
859
838
  // node_modules/lucide-react/dist/esm/icons/x.js
860
- var __iconNode22 = [
839
+ var __iconNode20 = [
861
840
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
862
841
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
863
842
  ];
864
- var X = createLucideIcon("x", __iconNode22);
843
+ var X = createLucideIcon("x", __iconNode20);
865
844
  var LanguageTabBar = ({
866
845
  languages,
867
846
  defaultLanguage,
@@ -22341,7 +22320,7 @@ var FileItemRenderer = ({
22341
22320
  cdnUrl,
22342
22321
  readOnly
22343
22322
  }) => {
22344
- const fileUrl = `${cdnUrl}/${file2.name}`;
22323
+ `${cdnUrl}/${file2.name}`;
22345
22324
  const ext = getFileExtension(file2.name);
22346
22325
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-upload-file-item", children: [
22347
22326
  isImageType(file2.type) ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -22361,30 +22340,7 @@ var FileItemRenderer = ({
22361
22340
  file2.size > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tecof-upload-file-size", children: formatBytes(file2.size) })
22362
22341
  ] })
22363
22342
  ] }),
22364
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tecof-upload-file-actions", children: [
22365
- /* @__PURE__ */ jsxRuntime.jsx(
22366
- "a",
22367
- {
22368
- href: fileUrl,
22369
- target: "_blank",
22370
- rel: "noopener noreferrer",
22371
- className: "tecof-upload-action-btn",
22372
- title: "G\xF6r\xFCnt\xFCle",
22373
- children: /* @__PURE__ */ jsxRuntime.jsx(Eye, { size: 15 })
22374
- }
22375
- ),
22376
- /* @__PURE__ */ jsxRuntime.jsx(
22377
- "a",
22378
- {
22379
- href: fileUrl,
22380
- download: true,
22381
- className: "tecof-upload-action-btn",
22382
- title: "\u0130ndir",
22383
- children: /* @__PURE__ */ jsxRuntime.jsx(Download, { size: 15 })
22384
- }
22385
- ),
22386
- !readOnly && onRemove && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "tecof-upload-action-btn tecof-upload-action-btn-danger", onClick: onRemove, title: "Kald\u0131r", children: /* @__PURE__ */ jsxRuntime.jsx(Trash2, { size: 14 }) })
22387
- ] })
22343
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tecof-upload-file-actions", children: !readOnly && onRemove && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: "tecof-upload-action-btn tecof-upload-action-btn-danger", onClick: onRemove, title: "Kald\u0131r", children: /* @__PURE__ */ jsxRuntime.jsx(Trash2, { size: 13 }) }) })
22388
22344
  ] });
22389
22345
  };
22390
22346
  var FILEPOND_LABELS = {
@@ -24202,9 +24158,7 @@ lucide-react/dist/esm/createLucideIcon.js:
24202
24158
  lucide-react/dist/esm/icons/check.js:
24203
24159
  lucide-react/dist/esm/icons/chevron-right.js:
24204
24160
  lucide-react/dist/esm/icons/copy.js:
24205
- lucide-react/dist/esm/icons/download.js:
24206
24161
  lucide-react/dist/esm/icons/external-link.js:
24207
- lucide-react/dist/esm/icons/eye.js:
24208
24162
  lucide-react/dist/esm/icons/file-text.js:
24209
24163
  lucide-react/dist/esm/icons/file.js:
24210
24164
  lucide-react/dist/esm/icons/folder-open.js: