@roottale/cms-renderer-next 0.42.0 → 0.42.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @roottale/cms-renderer-next
2
2
 
3
+ ## 0.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e4b66c0: 본문 표 스타일을 element 셀렉터로도 적용 — 어드민 에디터(ProseMirror 맨 table)가 발행 화면과 동일한 표 모양을 갖도록 (에디터-뷰어 단일 CSS 소스).
8
+
3
9
  ## 0.42.0
4
10
 
5
11
  ### Minor Changes
@@ -687,26 +687,33 @@
687
687
  background: color-mix(in srgb, var(--rt-color-primary, #06162f) 14%, transparent);
688
688
  }
689
689
 
690
- /* 표(table) — 좁은 화면에서 가로 스크롤(wrap), 셀 경계선·머리행 강조. */
690
+ /* 표(table) — 좁은 화면에서 가로 스크롤(wrap), 셀 경계선·머리행 강조.
691
+ 에디터(ProseMirror)는 맨 table — 발행 .rt-table 과 같은 룰을 element 로도
692
+ 적용(에디터-뷰어 단일 소스). 발행 HTML 의 table 은 .rt-table 이면서 table 이므로
693
+ 중복 적용돼도 동일 값이라 무해함. */
691
694
  [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table-wrap) {
692
695
  overflow-x: auto;
693
696
  }
694
697
 
695
- [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table) {
698
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table),
699
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] table) {
696
700
  inline-size: 100%;
697
701
  border-collapse: collapse;
698
702
  font-size: 0.95em;
699
703
  }
700
704
 
701
705
  [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table th),
702
- [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table td) {
706
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table td),
707
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] table th),
708
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] table td) {
703
709
  border: 1px solid var(--rt-color-border, #dceef3);
704
710
  padding: var(--rt-spacing-2, 0.5rem) var(--rt-spacing-3, 0.75rem);
705
711
  text-align: start;
706
712
  vertical-align: top;
707
713
  }
708
714
 
709
- [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table th) {
715
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] .rt-table th),
716
+ [data-roottale-cms] :where(.rt-cms-article [data-roottale-cms="body"] table th) {
710
717
  background: color-mix(in srgb, var(--rt-color-muted, #f7f8f7) 70%, white);
711
718
  font-weight: 600;
712
719
  }
package/dist/routes.js CHANGED
@@ -669,7 +669,7 @@ function createFleetInfoRoute(config = {}) {
669
669
  site: config.site ?? env.VERCEL_PROJECT_PRODUCTION_URL ?? null,
670
670
  framework: "next",
671
671
  cms_client: CMS_CLIENT_VERSION,
672
- cms_renderer: true ? "0.42.0" : "dev",
672
+ cms_renderer: true ? "0.42.1" : "dev",
673
673
  build_sha: env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7) ?? null
674
674
  },
675
675
  { headers: { "cache-control": "public, max-age=300" } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roottale/cms-renderer-next",
3
- "version": "0.42.0",
3
+ "version": "0.42.1",
4
4
  "type": "module",
5
5
  "description": "RootTale CMS public-render React/Next.js Server Components. SSR-only RSC components (RootTaleBlogList / RootTaleBlogPost / RootTaleLeadForm) for external customer sites.",
6
6
  "main": "./dist/index.js",