@appquality/unguess-design-system 3.1.2 → 3.1.3
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,3 +1,19 @@
|
|
|
1
|
+
# v3.1.3 (Wed Aug 16 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Add link parse to editor [#259](https://github.com/AppQuality/unguess-design-system/pull/259) ([@iacopolea](https://github.com/iacopolea) [@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
- Add link to Editor [#258](https://github.com/AppQuality/unguess-design-system/pull/258) ([@iacopolea](https://github.com/iacopolea))
|
|
7
|
+
- fix: accent button hover color [#256](https://github.com/AppQuality/unguess-design-system/pull/256) ([@iacopolea](https://github.com/iacopolea))
|
|
8
|
+
|
|
9
|
+
#### Authors: 3
|
|
10
|
+
|
|
11
|
+
- Iacopo Leardini ([@iacopolea](https://github.com/iacopolea))
|
|
12
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
13
|
+
- Marco Bonomo ([@marcbon](https://github.com/marcbon))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
1
17
|
# v3.1.2 (Fri Jun 16 2023)
|
|
2
18
|
|
|
3
19
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -28,6 +28,7 @@ var reactDropdowns = require('@zendeskgarden/react-dropdowns');
|
|
|
28
28
|
var reactForms = require('@zendeskgarden/react-forms');
|
|
29
29
|
var react = require('@tiptap/react');
|
|
30
30
|
var Typography = require('@tiptap/extension-typography');
|
|
31
|
+
var Link = require('@tiptap/extension-link');
|
|
31
32
|
var StarterKit = require('@tiptap/starter-kit');
|
|
32
33
|
var Placeholder = require('@tiptap/extension-placeholder');
|
|
33
34
|
var CharacterCount = require('@tiptap/extension-character-count');
|
|
@@ -64,6 +65,7 @@ var UAParser__default = /*#__PURE__*/_interopDefaultLegacy(UAParser);
|
|
|
64
65
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
65
66
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
66
67
|
var Typography__default = /*#__PURE__*/_interopDefaultLegacy(Typography);
|
|
68
|
+
var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
|
|
67
69
|
var StarterKit__default = /*#__PURE__*/_interopDefaultLegacy(StarterKit);
|
|
68
70
|
var Placeholder__default = /*#__PURE__*/_interopDefaultLegacy(Placeholder);
|
|
69
71
|
var CharacterCount__default = /*#__PURE__*/_interopDefaultLegacy(CharacterCount);
|
|
@@ -438,7 +440,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
|
|
|
438
440
|
"&:hover": {
|
|
439
441
|
borderColor: getColor(colors.accentHue, 800),
|
|
440
442
|
color: getColor(colors.accentHue, 800),
|
|
441
|
-
backgroundColor:
|
|
443
|
+
backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
442
444
|
},
|
|
443
445
|
"&:active": {
|
|
444
446
|
borderColor: getColor(colors.accentHue, 800),
|
|
@@ -448,7 +450,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
|
|
|
448
450
|
})), (isAccent && isBasic && {
|
|
449
451
|
color: getColor(colors.accentHue, 700),
|
|
450
452
|
"&:hover": {
|
|
451
|
-
backgroundColor:
|
|
453
|
+
backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
452
454
|
color: getColor(colors.accentHue, 800),
|
|
453
455
|
},
|
|
454
456
|
"&:active": {
|
|
@@ -492,7 +494,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
|
|
|
492
494
|
"&:hover": {
|
|
493
495
|
borderColor: getColor(colors.accentHue, 800),
|
|
494
496
|
color: getColor(colors.accentHue, 800),
|
|
495
|
-
backgroundColor:
|
|
497
|
+
backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
496
498
|
},
|
|
497
499
|
"&:active": {
|
|
498
500
|
borderColor: getColor(colors.accentHue, 800),
|
|
@@ -510,7 +512,7 @@ const components = Object.assign(Object.assign(Object.assign(Object.assign({}, r
|
|
|
510
512
|
})), (isAccent && isBasic && {
|
|
511
513
|
color: getColor(colors.accentHue, 700),
|
|
512
514
|
"&:hover": {
|
|
513
|
-
backgroundColor:
|
|
515
|
+
backgroundColor: getColor(colors.primaryHue, 600, undefined, 0.08),
|
|
514
516
|
color: getColor(colors.accentHue, 800),
|
|
515
517
|
},
|
|
516
518
|
"&:active": {
|
|
@@ -2663,6 +2665,7 @@ const Editor = (_a) => {
|
|
|
2663
2665
|
};
|
|
2664
2666
|
const ed = react.useEditor(Object.assign({ extensions: [
|
|
2665
2667
|
Typography__default["default"],
|
|
2668
|
+
Link__default["default"],
|
|
2666
2669
|
StarterKit__default["default"],
|
|
2667
2670
|
Placeholder__default["default"].configure(Object.assign({ placeholder: ({ node }) => {
|
|
2668
2671
|
if (node.type.name === "heading") {
|
|
@@ -96,16 +96,11 @@ export declare const components: {
|
|
|
96
96
|
"&:hover"?: {
|
|
97
97
|
borderColor: string | undefined;
|
|
98
98
|
color: string | undefined;
|
|
99
|
-
backgroundColor: string;
|
|
100
|
-
"& svg"?: undefined;
|
|
101
|
-
} | {
|
|
102
|
-
backgroundColor: string;
|
|
103
|
-
color: string | undefined;
|
|
104
|
-
borderColor?: undefined;
|
|
99
|
+
backgroundColor: string | undefined;
|
|
105
100
|
"& svg"?: undefined;
|
|
106
101
|
} | {
|
|
107
102
|
backgroundColor: string | undefined;
|
|
108
|
-
color: string;
|
|
103
|
+
color: string | undefined;
|
|
109
104
|
borderColor?: undefined;
|
|
110
105
|
"& svg"?: undefined;
|
|
111
106
|
} | {
|
|
@@ -148,13 +143,13 @@ export declare const components: {
|
|
|
148
143
|
"&:hover"?: {
|
|
149
144
|
borderColor: string | undefined;
|
|
150
145
|
color: string | undefined;
|
|
151
|
-
backgroundColor: string;
|
|
146
|
+
backgroundColor: string | undefined;
|
|
152
147
|
} | {
|
|
153
148
|
backgroundColor: string | undefined;
|
|
154
149
|
borderColor?: undefined;
|
|
155
150
|
color?: undefined;
|
|
156
151
|
} | {
|
|
157
|
-
backgroundColor: string;
|
|
152
|
+
backgroundColor: string | undefined;
|
|
158
153
|
color: string | undefined;
|
|
159
154
|
borderColor?: undefined;
|
|
160
155
|
} | {
|
|
@@ -300,16 +300,11 @@ declare const theme: {
|
|
|
300
300
|
"&:hover"?: {
|
|
301
301
|
borderColor: string | undefined;
|
|
302
302
|
color: string | undefined;
|
|
303
|
-
backgroundColor: string;
|
|
304
|
-
"& svg"?: undefined;
|
|
305
|
-
} | {
|
|
306
|
-
backgroundColor: string;
|
|
307
|
-
color: string | undefined;
|
|
308
|
-
borderColor?: undefined;
|
|
303
|
+
backgroundColor: string | undefined;
|
|
309
304
|
"& svg"?: undefined;
|
|
310
305
|
} | {
|
|
311
306
|
backgroundColor: string | undefined;
|
|
312
|
-
color: string;
|
|
307
|
+
color: string | undefined;
|
|
313
308
|
borderColor?: undefined;
|
|
314
309
|
"& svg"?: undefined;
|
|
315
310
|
} | {
|
|
@@ -352,13 +347,13 @@ declare const theme: {
|
|
|
352
347
|
"&:hover"?: {
|
|
353
348
|
borderColor: string | undefined;
|
|
354
349
|
color: string | undefined;
|
|
355
|
-
backgroundColor: string;
|
|
350
|
+
backgroundColor: string | undefined;
|
|
356
351
|
} | {
|
|
357
352
|
backgroundColor: string | undefined;
|
|
358
353
|
borderColor?: undefined;
|
|
359
354
|
color?: undefined;
|
|
360
355
|
} | {
|
|
361
|
-
backgroundColor: string;
|
|
356
|
+
backgroundColor: string | undefined;
|
|
362
357
|
color: string | undefined;
|
|
363
358
|
borderColor?: undefined;
|
|
364
359
|
} | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appquality/unguess-design-system",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@nivo/waffle": "^0.80.0",
|
|
37
37
|
"@tiptap/extension-bubble-menu": "^2.0.0-beta.61",
|
|
38
38
|
"@tiptap/extension-character-count": "^2.0.0-beta.31",
|
|
39
|
+
"@tiptap/extension-link": "^2.0.4",
|
|
39
40
|
"@tiptap/extension-placeholder": "^2.0.0-beta.53",
|
|
40
41
|
"@tiptap/extension-typography": "^2.0.0-beta.22",
|
|
41
42
|
"@tiptap/pm": "^2.0.3",
|
|
@@ -90,8 +91,8 @@
|
|
|
90
91
|
"formik": "^2.2.9",
|
|
91
92
|
"prop-types": "^15.8.1",
|
|
92
93
|
"react": "^18.2.0",
|
|
93
|
-
"react-scripts": "^5.0.1",
|
|
94
94
|
"react-dom": "^18.2.0",
|
|
95
|
+
"react-scripts": "^5.0.1",
|
|
95
96
|
"rimraf": "3.0.2",
|
|
96
97
|
"rollup": "~2.66",
|
|
97
98
|
"rollup-plugin-typescript2": "^0.34.1",
|