@julseb-lib/react 0.0.83 → 0.0.85
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.cjs.js +43 -35
- package/dist/index.es.js +83 -62
- package/dist/index.umd.js +39 -31
- package/dist/lib/components/Text/styles.tsx +22 -0
- package/dist/lib/types/component-items.ts +2 -0
- package/dist/lib/utils/options-markdown.ts +1 -0
- package/package.json +3 -3
|
@@ -157,6 +157,17 @@ const StyledUl = styled.ul<ILibTextStyle>`
|
|
|
157
157
|
$color,
|
|
158
158
|
$linkColor,
|
|
159
159
|
})}
|
|
160
|
+
|
|
161
|
+
li {
|
|
162
|
+
${({ $textAlign, $color, $linkColor }) =>
|
|
163
|
+
TextBaseMixin({
|
|
164
|
+
$fontSize: "body",
|
|
165
|
+
$fontWeight: "regular",
|
|
166
|
+
$textAlign,
|
|
167
|
+
$color,
|
|
168
|
+
$linkColor,
|
|
169
|
+
})}
|
|
170
|
+
}
|
|
160
171
|
`
|
|
161
172
|
|
|
162
173
|
const StyledOl = styled.ol<ILibTextStyle>`
|
|
@@ -169,6 +180,17 @@ const StyledOl = styled.ol<ILibTextStyle>`
|
|
|
169
180
|
$color,
|
|
170
181
|
$linkColor,
|
|
171
182
|
})}
|
|
183
|
+
|
|
184
|
+
li {
|
|
185
|
+
${({ $textAlign, $color, $linkColor }) =>
|
|
186
|
+
TextBaseMixin({
|
|
187
|
+
$fontSize: "body",
|
|
188
|
+
$fontWeight: "regular",
|
|
189
|
+
$textAlign,
|
|
190
|
+
$color,
|
|
191
|
+
$linkColor,
|
|
192
|
+
})}
|
|
193
|
+
}
|
|
172
194
|
`
|
|
173
195
|
|
|
174
196
|
const StyledDl = styled.dl<ILibTextStyle>`
|
|
@@ -382,6 +382,7 @@ export interface LibMessage extends LibComponentItemBase<HTMLDivElement> {
|
|
|
382
382
|
* @prop bold?: boolean
|
|
383
383
|
* @prop italic?: boolean
|
|
384
384
|
* @prop strikethrough?: boolean
|
|
385
|
+
* @prop underline?: boolean
|
|
385
386
|
* @prop ul?: boolean
|
|
386
387
|
* @prop ol?: boolean
|
|
387
388
|
* @prop link?: boolean
|
|
@@ -400,6 +401,7 @@ export interface LibMarkdownEditorOptions {
|
|
|
400
401
|
bold?: boolean
|
|
401
402
|
italic?: boolean
|
|
402
403
|
strikethrough?: boolean
|
|
404
|
+
underline?: boolean
|
|
403
405
|
ul?: boolean
|
|
404
406
|
ol?: boolean
|
|
405
407
|
link?: boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julseb-lib/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.85",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -87,15 +87,15 @@
|
|
|
87
87
|
"default": "./dist/index.css"
|
|
88
88
|
},
|
|
89
89
|
"./types": {
|
|
90
|
+
"types": "./dist/lib/types/index.ts",
|
|
90
91
|
"import": "./dist/lib/types/index.ts",
|
|
91
92
|
"require": "./dist/lib/types/index.ts",
|
|
92
|
-
"types": "./dist/lib/types/index.ts",
|
|
93
93
|
"default": "./dist/lib/types/index.ts"
|
|
94
94
|
},
|
|
95
95
|
"./component-props": {
|
|
96
|
+
"types": "./dist/lib/types/components-props.ts",
|
|
96
97
|
"import": "./dist/lib/types/components-props.ts",
|
|
97
98
|
"require": "./dist/lib/types/components-props.ts",
|
|
98
|
-
"types": "./dist/lib/types/components-props.ts",
|
|
99
99
|
"default": "./dist/lib/types/components-props.ts"
|
|
100
100
|
}
|
|
101
101
|
},
|