sprintify-ui 0.11.9 → 0.11.11
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/sprintify-ui.es.js +6 -4
- package/dist/style.css +2 -2
- package/dist/types/components/BaseRichText.vue.d.ts +1 -0
- package/package.json +1 -1
- package/src/assets/base-rich-text.css +21 -9
- package/src/assets/main.css +0 -16
- package/src/components/BaseDataIterator.vue +2 -2
- package/src/components/BaseRichText.vue +2 -0
|
@@ -15,6 +15,7 @@ type __VLS_Props = {
|
|
|
15
15
|
required?: boolean;
|
|
16
16
|
name?: string;
|
|
17
17
|
hasError?: boolean;
|
|
18
|
+
noMargin?: boolean;
|
|
18
19
|
};
|
|
19
20
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
21
|
blur: (...args: any[]) => void;
|
package/package.json
CHANGED
|
@@ -11,6 +11,8 @@ body {
|
|
|
11
11
|
.ck-content {
|
|
12
12
|
|
|
13
13
|
@apply p-3.5;
|
|
14
|
+
|
|
15
|
+
@apply leading-snug;
|
|
14
16
|
|
|
15
17
|
h1, h2, h3, h4, h5, h6 {
|
|
16
18
|
@apply font-bold leading-snug tracking-normal;
|
|
@@ -43,15 +45,10 @@ body {
|
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
p {
|
|
46
|
-
@apply text-base leading-
|
|
48
|
+
@apply text-base leading-snug;
|
|
47
49
|
margin: 1em 0;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
p:has(+ ol),
|
|
51
|
-
p:has(+ ul) {
|
|
52
|
-
margin-bottom: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
52
|
h1,
|
|
56
53
|
h2,
|
|
57
54
|
h3,
|
|
@@ -66,11 +63,12 @@ body {
|
|
|
66
63
|
|
|
67
64
|
ol,
|
|
68
65
|
ul {
|
|
69
|
-
@apply text-base leading-
|
|
70
|
-
padding-left:
|
|
71
|
-
margin-bottom:
|
|
66
|
+
@apply text-base leading-snug;
|
|
67
|
+
padding-left: 1.5em;
|
|
68
|
+
margin-bottom: 1em;
|
|
72
69
|
|
|
73
70
|
li {
|
|
71
|
+
@apply leading-snug;
|
|
74
72
|
margin: 0.3em 0;
|
|
75
73
|
|
|
76
74
|
&::before {
|
|
@@ -273,6 +271,20 @@ body {
|
|
|
273
271
|
}
|
|
274
272
|
}
|
|
275
273
|
}
|
|
274
|
+
|
|
275
|
+
.base-rich-text-no-margin {
|
|
276
|
+
.ck-content {
|
|
277
|
+
h1, h2, h3, h4, h5, h6, p, ol, ul {
|
|
278
|
+
margin: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
ol, ul {
|
|
282
|
+
li {
|
|
283
|
+
margin: 0;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
276
288
|
}
|
|
277
289
|
|
|
278
290
|
/** TipTap */
|
package/src/assets/main.css
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
sizeInternal == 'md' ? 'base-rich-text-base' : '',
|
|
21
21
|
sizeInternal == 'lg' ? 'base-rich-text-lg' : '',
|
|
22
22
|
sizeInternal == 'xl' ? 'base-rich-text-xl' : '',
|
|
23
|
+
props.noMargin ? 'base-rich-text-no-margin' : '',
|
|
23
24
|
]"
|
|
24
25
|
>
|
|
25
26
|
<BaseCkeditor
|
|
@@ -61,6 +62,7 @@ const props = withDefaults(defineProps<{
|
|
|
61
62
|
required?: boolean;
|
|
62
63
|
name?: string;
|
|
63
64
|
hasError?: boolean;
|
|
65
|
+
noMargin?: boolean;
|
|
64
66
|
}>(), {
|
|
65
67
|
driver: 'ckeditor',
|
|
66
68
|
editor: 'classic',
|