@codesocietyou/contentedge-cms-sdk 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. package/dist/styles.css +14 -9
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -2,24 +2,29 @@
2
2
  These classes are emitted by ContentEdge's TipTap editor extensions
3
3
  (BulletList, OrderedList, Link). Import this file once in your app
4
4
  entry point wherever stored HTML is rendered via dangerouslySetInnerHTML
5
- or equivalent. Without these rules, CSS frameworks that reset list
6
- styles (e.g. Tailwind Preflight) will strip bullets and indentation. */
5
+ or equivalent.
6
+
7
+ !important is required on all list properties: CSS frameworks that
8
+ ship a Preflight/reset (Tailwind, normalize.css, MUI CssBaseline) set
9
+ `ul, ol { list-style: none; margin: 0; padding: 0 }` — even when those
10
+ rules are inside @layer base, consumer apps may have unlayered resets
11
+ that would otherwise win on specificity. */
7
12
 
8
13
  .tiptap-bullet-list {
9
- list-style-type: disc;
10
- padding-left: 1.5em;
11
- margin: 0.5em 0;
14
+ list-style-type: disc !important;
15
+ padding-left: 1.5em !important;
16
+ margin: 0.5em 0 !important;
12
17
  }
13
18
 
14
19
  .tiptap-ordered-list {
15
- list-style-type: decimal;
16
- padding-left: 1.5em;
17
- margin: 0.5em 0;
20
+ list-style-type: decimal !important;
21
+ padding-left: 1.5em !important;
22
+ margin: 0.5em 0 !important;
18
23
  }
19
24
 
20
25
  .tiptap-bullet-list li,
21
26
  .tiptap-ordered-list li {
22
- display: list-item;
27
+ display: list-item !important;
23
28
  margin-bottom: 0.25em;
24
29
  }
25
30
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codesocietyou/contentedge-cms-sdk",
3
3
  "private": false,
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "description": "A lightweight, framework-agnostic TypeScript client for the ContentEdge headless CMS with API key authentication and optional React Query integration.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",