@desynova-digital/components 9.2.6 → 9.2.7
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/_helpers/utils.js +4 -4
- package/atoms/cardV2/cardV2.js +5 -5
- package/atoms/cardV2/content.js +6 -6
- package/atoms/cardV2/thumbnail.js +10 -10
- package/atoms/cardV2/thumbnailV2.js +10 -10
- package/atoms/draftInputText/draftInputText.js +40 -40
- package/atoms/icon/icons.json +1980 -1931
- package/atoms/loader/CircleLoader.jsx +93 -93
- package/atoms/loader/ShimmerComponent/CollabShimmerCard.jsx +39 -39
- package/atoms/loader/ShimmerComponent/CollabShimmerCardTray.jsx +24 -24
- package/atoms/loader/ShimmerComponent/FiltersShimmer.jsx +19 -19
- package/atoms/loader/ShimmerComponent/GraphDetailShimmer.jsx +31 -31
- package/atoms/loader/ShimmerComponent/GraphTitleShimmer.jsx +23 -23
- package/atoms/loader/ShimmerComponent/GraphsComponentShimmer.jsx +23 -23
- package/atoms/loader/ShimmerComponent/Shimmer.jsx +48 -48
- package/atoms/loader/ThreeDotLoader.jsx +51 -51
- package/atoms/loader/spinningLoader.jsx +69 -69
- package/atoms/sideBar/sidebar.js +3 -3
- package/atoms/sideBar/sidebar.jsx +262 -262
- package/atoms/timeCodeInput/timeCodeMainInput.js +7 -7
- package/atoms/videoCard/videoCard.js +3 -3
- package/molecules/errorScreen/TableErrorScreen.jsx +85 -85
- package/molecules/errorScreen/errorScreen.js +9 -9
- package/molecules/errorScreen/errorScreen.jsx +149 -149
- package/molecules/filter/filter.js +38 -38
- package/molecules/richTextInput/RichTextInput.js +8 -8
- package/molecules/richTextInputV2/RichTextInputV2.js +15 -8
- package/package.json +2 -2
|
@@ -68,10 +68,10 @@ var RichTextInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
68
68
|
};
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @param {*} str
|
|
74
|
-
* @returns
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param {*} str
|
|
74
|
+
* @returns
|
|
75
75
|
*/
|
|
76
76
|
var changeEmToI = function changeEmToI(str) {
|
|
77
77
|
var updatedStr = str.replace(/\n/g, "").replace(/<br\s*\/?>/gi, "").replace(/<\/?p>/gi, "").replace(/<[/]?em>/g, function (match) {
|
|
@@ -268,10 +268,10 @@ var RichTextInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
268
268
|
}, errorMessage), maxLength && showLengthCount && quillInstance.current && /*#__PURE__*/_react["default"].createElement(CountWrapper, null, charCount, "/", maxLength));
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* @param {*} props
|
|
274
|
-
* @returns
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @param {*} props
|
|
274
|
+
* @returns
|
|
275
275
|
*/
|
|
276
276
|
var returnPadding = function returnPadding(props) {
|
|
277
277
|
var digitCount = props.maxLength.toString().length;
|
|
@@ -93,10 +93,10 @@ var RichTextInputV2 = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
93
93
|
};
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @param {*} str
|
|
99
|
-
* @returns
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @param {*} str
|
|
99
|
+
* @returns
|
|
100
100
|
*/
|
|
101
101
|
var changeEmToI = function changeEmToI(str) {
|
|
102
102
|
var updatedStr = str.replace(/\n/g, "").replace(/<br\s*\/?>/gi, "").replace(/<\/?p>/gi, "").replace(/<[/]?em>/g, function (match) {
|
|
@@ -112,6 +112,13 @@ var RichTextInputV2 = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
112
112
|
// Initialize quill
|
|
113
113
|
(0, _react.useEffect)(function () {
|
|
114
114
|
if (!(quillInstance !== null && quillInstance !== void 0 && quillInstance.current)) {
|
|
115
|
+
// Get the keyboard module and remove list autofill binding
|
|
116
|
+
var Keyboard = _quill["default"]["import"]("modules/keyboard");
|
|
117
|
+
|
|
118
|
+
// Remove the list autofill binding
|
|
119
|
+
if (Keyboard && Keyboard.DEFAULTS && Keyboard.DEFAULTS.bindings) {
|
|
120
|
+
delete Keyboard.DEFAULTS.bindings["list autofill"];
|
|
121
|
+
}
|
|
115
122
|
var quill = new _quill["default"](quillRef.current, {
|
|
116
123
|
theme: "snow",
|
|
117
124
|
placeholder: placeholder,
|
|
@@ -283,10 +290,10 @@ var RichTextInputV2 = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
283
290
|
}, errorMessage), maxLength && showLengthCount && quillInstance.current && /*#__PURE__*/_react["default"].createElement(CountWrapper, null, charCount, "/", maxLength));
|
|
284
291
|
});
|
|
285
292
|
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @param {*} props
|
|
289
|
-
* @returns
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @param {*} props
|
|
296
|
+
* @returns
|
|
290
297
|
*/
|
|
291
298
|
var returnPadding = function returnPadding(props) {
|
|
292
299
|
if (props.sleek = "sleek") {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.7",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "9.2.
|
|
10
|
+
"@desynova-digital/tokens": "9.2.7",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|