@jbpark/live-editor 1.11.0 → 1.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.
@@ -1,15 +0,0 @@
1
- //#region src/types/index.d.ts
2
- interface Module {
3
- exports: {
4
- default?: React.ComponentType<Record<string, unknown>>;
5
- };
6
- error?: string;
7
- }
8
- interface Section {
9
- id: string;
10
- name: string;
11
- code: string;
12
- }
13
- //#endregion
14
- export { Section as n, Module as t };
15
- //# sourceMappingURL=index-DdSjzvA3.d.mts.map
package/dist/index.css DELETED
@@ -1,77 +0,0 @@
1
-
2
- @layer utilities {
3
- /* 편집 모드 기본 설정 */
4
- [data-editor-mode] {
5
- --editor-fixed-to-static: relative;
6
- }
7
-
8
- /* Fixed 요소를 흐름에 포함 */
9
- [data-editor-mode] *[style*='position: fixed'],
10
- [data-editor-mode] .fixed {
11
- position: var(--editor-fixed-to-static) !important;
12
- inset: auto !important;
13
- margin: 8px 0 !important;
14
- border: 2px solid #8b5cf6 !important;
15
- box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1) !important;
16
- }
17
-
18
- /* 기본 숨김 요소 */
19
- [data-editor-mode] .hidden {
20
- opacity: 0.6 !important;
21
- border: 2px dashed #f59e0b !important;
22
- background: rgba(245, 158, 11, 0.05) !important;
23
- position: relative !important;
24
- /* display는 건드리지 않음 - hidden 클래스만 시각적으로 표시 */
25
- }
26
-
27
- /* 인라인 스타일로 숨긴 요소 */
28
- [data-editor-mode] *[style*='display: none'] {
29
- display: block !important;
30
- opacity: 0.6 !important;
31
- border: 2px dashed #f59e0b !important;
32
- background: rgba(245, 158, 11, 0.05) !important;
33
- }
34
-
35
- /* 반응형 숨김 - flex 유지 */
36
- [data-editor-mode] .flex.sm\:hidden,
37
- [data-editor-mode] .flex.md\:hidden,
38
- [data-editor-mode] .flex.lg\:hidden,
39
- [data-editor-mode] .flex.xl\:hidden {
40
- display: flex !important;
41
- opacity: 0.5 !important;
42
- border: 2px dashed #3b82f6 !important;
43
- }
44
-
45
- /* 반응형 숨김 - grid 유지 */
46
- [data-editor-mode] .grid.sm\:hidden,
47
- [data-editor-mode] .grid.md\:hidden,
48
- [data-editor-mode] .grid.lg\:hidden,
49
- [data-editor-mode] .grid.xl\:hidden {
50
- display: grid !important;
51
- opacity: 0.5 !important;
52
- border: 2px dashed #3b82f6 !important;
53
- }
54
-
55
- /* 반응형 숨김 - inline-flex 유지 */
56
- [data-editor-mode] .inline-flex.sm\:hidden,
57
- [data-editor-mode] .inline-flex.md\:hidden,
58
- [data-editor-mode] .inline-flex.lg\:hidden,
59
- [data-editor-mode] .inline-flex.xl\:hidden {
60
- display: inline-flex !important;
61
- opacity: 0.5 !important;
62
- border: 2px dashed #3b82f6 !important;
63
- }
64
-
65
- /* 반응형 숨김 - 기본 (flex/grid 아닌 경우) */
66
- [data-editor-mode] .sm\:hidden:not(.flex):not(.grid):not(.inline-flex),
67
- [data-editor-mode] .md\:hidden:not(.flex):not(.grid):not(.inline-flex),
68
- [data-editor-mode] .lg\:hidden:not(.flex):not(.grid):not(.inline-flex),
69
- [data-editor-mode] .xl\:hidden:not(.flex):not(.grid):not(.inline-flex) {
70
- display: block !important;
71
- opacity: 0.5 !important;
72
- border: 2px dashed #3b82f6 !important;
73
- }
74
- }
75
-
76
-
77
- /*# sourceMappingURL=index.css.map*/
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.css","names":[],"sources":["../src/index.css"],"sourcesContent":["@import 'tailwindcss';\n\n@layer utilities {\n /* 편집 모드 기본 설정 */\n [data-editor-mode] {\n --editor-fixed-to-static: relative;\n }\n\n /* Fixed 요소를 흐름에 포함 */\n [data-editor-mode] *[style*='position: fixed'],\n [data-editor-mode] .fixed {\n position: var(--editor-fixed-to-static) !important;\n inset: auto !important;\n margin: 8px 0 !important;\n border: 2px solid #8b5cf6 !important;\n box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1) !important;\n }\n\n /* 기본 숨김 요소 */\n [data-editor-mode] .hidden {\n opacity: 0.6 !important;\n border: 2px dashed #f59e0b !important;\n background: rgba(245, 158, 11, 0.05) !important;\n position: relative !important;\n /* display는 건드리지 않음 - hidden 클래스만 시각적으로 표시 */\n }\n\n /* 인라인 스타일로 숨긴 요소 */\n [data-editor-mode] *[style*='display: none'] {\n display: block !important;\n opacity: 0.6 !important;\n border: 2px dashed #f59e0b !important;\n background: rgba(245, 158, 11, 0.05) !important;\n }\n\n /* 반응형 숨김 - flex 유지 */\n [data-editor-mode] .flex.sm\\:hidden,\n [data-editor-mode] .flex.md\\:hidden,\n [data-editor-mode] .flex.lg\\:hidden,\n [data-editor-mode] .flex.xl\\:hidden {\n display: flex !important;\n opacity: 0.5 !important;\n border: 2px dashed #3b82f6 !important;\n }\n\n /* 반응형 숨김 - grid 유지 */\n [data-editor-mode] .grid.sm\\:hidden,\n [data-editor-mode] .grid.md\\:hidden,\n [data-editor-mode] .grid.lg\\:hidden,\n [data-editor-mode] .grid.xl\\:hidden {\n display: grid !important;\n opacity: 0.5 !important;\n border: 2px dashed #3b82f6 !important;\n }\n\n /* 반응형 숨김 - inline-flex 유지 */\n [data-editor-mode] .inline-flex.sm\\:hidden,\n [data-editor-mode] .inline-flex.md\\:hidden,\n [data-editor-mode] .inline-flex.lg\\:hidden,\n [data-editor-mode] .inline-flex.xl\\:hidden {\n display: inline-flex !important;\n opacity: 0.5 !important;\n border: 2px dashed #3b82f6 !important;\n }\n\n /* 반응형 숨김 - 기본 (flex/grid 아닌 경우) */\n [data-editor-mode] .sm\\:hidden:not(.flex):not(.grid):not(.inline-flex),\n [data-editor-mode] .md\\:hidden:not(.flex):not(.grid):not(.inline-flex),\n [data-editor-mode] .lg\\:hidden:not(.flex):not(.grid):not(.inline-flex),\n [data-editor-mode] .xl\\:hidden:not(.flex):not(.grid):not(.inline-flex) {\n display: block !important;\n opacity: 0.5 !important;\n border: 2px dashed #3b82f6 !important;\n }\n}\n"],"mappings":";AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}