@rpg-engine/long-bow 0.1.52 → 0.1.54
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/components/DraggableContainer.d.ts +12 -0
- package/dist/components/SimpleProgressBar.d.ts +8 -0
- package/dist/components/SkillProgressBar.d.ts +9 -0
- package/dist/imgExp.png +0 -0
- package/dist/index.d.ts +3 -1
- package/dist/long-bow.cjs.development.js +179 -57
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +178 -58
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +5 -2
- package/src/components/Button.tsx +5 -7
- package/src/components/Chat/Chat.tsx +1 -1
- package/src/components/CheckButton.tsx +4 -3
- package/src/components/DraggableContainer.tsx +95 -0
- package/src/components/Dropdown.tsx +1 -1
- package/src/components/ListMenu.tsx +4 -4
- package/src/components/NPCDialog/NPCDialog.tsx +3 -2
- package/src/components/NPCDialog/NPCDialogText.tsx +1 -1
- package/src/components/NPCDialog/QuestionDialog/QuestionDialog.tsx +15 -13
- package/src/components/ProgressBar.tsx +4 -4
- package/src/components/RPGUIContainer.tsx +1 -1
- package/src/components/RadioButton.tsx +1 -1
- package/src/components/SimpleProgressBar.tsx +58 -0
- package/src/components/SkillProgressBar.tsx +70 -0
- package/src/components/Truncate.tsx +1 -1
- package/src/components/imgExp.png +0 -0
- package/src/components/shared/Column.tsx +4 -4
- package/src/hooks/useEventListener.ts +1 -1
- package/src/index.tsx +3 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IDraggableContainerProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
title: string;
|
|
8
|
+
imgSrc?: string;
|
|
9
|
+
imgWidth: string;
|
|
10
|
+
onCloseButton: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const DraggableContainer: React.FC<IDraggableContainerProps>;
|
package/dist/imgExp.png
ADDED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './components/Button';
|
|
2
|
-
export * from './components/CheckButton';
|
|
3
2
|
export * from './components/Chat/Chat';
|
|
3
|
+
export * from './components/CheckButton';
|
|
4
|
+
export * from './components/DraggableContainer';
|
|
4
5
|
export * from './components/Dropdown';
|
|
5
6
|
export * from './components/Input';
|
|
6
7
|
export * from './components/ListMenu';
|
|
@@ -11,6 +12,7 @@ export * from './components/RadioButton';
|
|
|
11
12
|
export * from './components/RangeSlider';
|
|
12
13
|
export * from './components/RPGUIContainer';
|
|
13
14
|
export * from './components/RPGUIRoot';
|
|
15
|
+
export * from './components/SkillProgressBar';
|
|
14
16
|
export * from './components/TextArea';
|
|
15
17
|
export * from './components/Truncate';
|
|
16
18
|
export * from './components/typography/DynamicText';
|
|
@@ -9,6 +9,7 @@ var React__default = _interopDefault(React);
|
|
|
9
9
|
var styled = _interopDefault(require('styled-components'));
|
|
10
10
|
var dayjs = _interopDefault(require('dayjs'));
|
|
11
11
|
var reactErrorBoundary = require('react-error-boundary');
|
|
12
|
+
var Draggable = _interopDefault(require('react-draggable'));
|
|
12
13
|
var uuid = require('uuid');
|
|
13
14
|
require('rpgui/rpgui.min.css');
|
|
14
15
|
require('rpgui/rpgui.min.js');
|
|
@@ -67,51 +68,6 @@ var ButtonContainer = /*#__PURE__*/styled.button.withConfig({
|
|
|
67
68
|
componentId: "sc-obzd3o-0"
|
|
68
69
|
})(["height:45px;font-size:11.5px;"]);
|
|
69
70
|
|
|
70
|
-
var CheckButton = function CheckButton(_ref) {
|
|
71
|
-
var items = _ref.items,
|
|
72
|
-
onChange = _ref.onChange;
|
|
73
|
-
|
|
74
|
-
var generateSelectedValuesList = function generateSelectedValuesList() {
|
|
75
|
-
var selectedValues = {};
|
|
76
|
-
items.forEach(function (item) {
|
|
77
|
-
selectedValues[item.label] = false;
|
|
78
|
-
});
|
|
79
|
-
return selectedValues;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
var _useState = React.useState(generateSelectedValuesList()),
|
|
83
|
-
selectedValues = _useState[0],
|
|
84
|
-
setSelectedValues = _useState[1];
|
|
85
|
-
|
|
86
|
-
var handleClick = function handleClick(label) {
|
|
87
|
-
var _extends2;
|
|
88
|
-
|
|
89
|
-
setSelectedValues(_extends({}, selectedValues, (_extends2 = {}, _extends2[label] = !selectedValues[label], _extends2)));
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
React.useEffect(function () {
|
|
93
|
-
if (selectedValues) {
|
|
94
|
-
onChange(selectedValues);
|
|
95
|
-
}
|
|
96
|
-
}, [selectedValues]);
|
|
97
|
-
return React__default.createElement("div", {
|
|
98
|
-
id: "elemento-checkbox"
|
|
99
|
-
}, items == null ? void 0 : items.map(function (element, index) {
|
|
100
|
-
return React__default.createElement("div", {
|
|
101
|
-
key: element.label + "_" + index
|
|
102
|
-
}, React__default.createElement("input", {
|
|
103
|
-
className: "rpgui-checkbox",
|
|
104
|
-
type: "checkbox",
|
|
105
|
-
checked: selectedValues[element.label],
|
|
106
|
-
onChange: function onChange() {}
|
|
107
|
-
}), React__default.createElement("label", {
|
|
108
|
-
onClick: function onClick() {
|
|
109
|
-
return handleClick(element.label);
|
|
110
|
-
}
|
|
111
|
-
}, element.label), React__default.createElement("br", null));
|
|
112
|
-
}));
|
|
113
|
-
};
|
|
114
|
-
|
|
115
71
|
var colors = {
|
|
116
72
|
darkGrey: '#3e3e3e'
|
|
117
73
|
};
|
|
@@ -285,6 +241,100 @@ var MessageText = /*#__PURE__*/styled.p.withConfig({
|
|
|
285
241
|
componentId: "sc-1bk05n6-5"
|
|
286
242
|
})(["display:block !important;width:100%;font-size:0.7rem !important;overflow-y:auto;margin:0;"]);
|
|
287
243
|
|
|
244
|
+
var CheckButton = function CheckButton(_ref) {
|
|
245
|
+
var items = _ref.items,
|
|
246
|
+
onChange = _ref.onChange;
|
|
247
|
+
|
|
248
|
+
var generateSelectedValuesList = function generateSelectedValuesList() {
|
|
249
|
+
var selectedValues = {};
|
|
250
|
+
items.forEach(function (item) {
|
|
251
|
+
selectedValues[item.label] = false;
|
|
252
|
+
});
|
|
253
|
+
return selectedValues;
|
|
254
|
+
};
|
|
255
|
+
|
|
256
|
+
var _useState = React.useState(generateSelectedValuesList()),
|
|
257
|
+
selectedValues = _useState[0],
|
|
258
|
+
setSelectedValues = _useState[1];
|
|
259
|
+
|
|
260
|
+
var handleClick = function handleClick(label) {
|
|
261
|
+
var _extends2;
|
|
262
|
+
|
|
263
|
+
setSelectedValues(_extends({}, selectedValues, (_extends2 = {}, _extends2[label] = !selectedValues[label], _extends2)));
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
React.useEffect(function () {
|
|
267
|
+
if (selectedValues) {
|
|
268
|
+
onChange(selectedValues);
|
|
269
|
+
}
|
|
270
|
+
}, [selectedValues]);
|
|
271
|
+
return React__default.createElement("div", {
|
|
272
|
+
id: "elemento-checkbox"
|
|
273
|
+
}, items == null ? void 0 : items.map(function (element, index) {
|
|
274
|
+
return React__default.createElement("div", {
|
|
275
|
+
key: element.label + "_" + index
|
|
276
|
+
}, React__default.createElement("input", {
|
|
277
|
+
className: "rpgui-checkbox",
|
|
278
|
+
type: "checkbox",
|
|
279
|
+
checked: selectedValues[element.label],
|
|
280
|
+
onChange: function onChange() {}
|
|
281
|
+
}), React__default.createElement("label", {
|
|
282
|
+
onClick: function onClick() {
|
|
283
|
+
return handleClick(element.label);
|
|
284
|
+
}
|
|
285
|
+
}, element.label), React__default.createElement("br", null));
|
|
286
|
+
}));
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
var DraggableContainer = function DraggableContainer(_ref) {
|
|
290
|
+
var children = _ref.children,
|
|
291
|
+
_ref$width = _ref.width,
|
|
292
|
+
width = _ref$width === void 0 ? '50%' : _ref$width,
|
|
293
|
+
height = _ref.height,
|
|
294
|
+
className = _ref.className,
|
|
295
|
+
onCloseButton = _ref.onCloseButton,
|
|
296
|
+
title = _ref.title,
|
|
297
|
+
imgSrc = _ref.imgSrc,
|
|
298
|
+
_ref$imgWidth = _ref.imgWidth,
|
|
299
|
+
imgWidth = _ref$imgWidth === void 0 ? '20px' : _ref$imgWidth;
|
|
300
|
+
return React__default.createElement(Draggable, null, React__default.createElement(Container$2, {
|
|
301
|
+
width: width,
|
|
302
|
+
height: height || 'auto',
|
|
303
|
+
className: "rpgui-container framed-grey " + className + " rpgui-draggable"
|
|
304
|
+
}, imgSrc ? React__default.createElement(Icon, {
|
|
305
|
+
src: imgSrc,
|
|
306
|
+
width: imgWidth
|
|
307
|
+
}) : React__default.createElement(Icon, {
|
|
308
|
+
width: imgWidth
|
|
309
|
+
}), React__default.createElement(Title, null, title), onCloseButton && React__default.createElement(CloseButton$1, {
|
|
310
|
+
onClick: onCloseButton,
|
|
311
|
+
onTouchStart: onCloseButton
|
|
312
|
+
}, "X"), children));
|
|
313
|
+
};
|
|
314
|
+
var Container$2 = /*#__PURE__*/styled.div.withConfig({
|
|
315
|
+
displayName: "DraggableContainer__Container",
|
|
316
|
+
componentId: "sc-184mpyl-0"
|
|
317
|
+
})(["height:", ";width:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;"], function (props) {
|
|
318
|
+
return props.height;
|
|
319
|
+
}, function (_ref2) {
|
|
320
|
+
var width = _ref2.width;
|
|
321
|
+
return width;
|
|
322
|
+
});
|
|
323
|
+
var CloseButton$1 = /*#__PURE__*/styled.div.withConfig({
|
|
324
|
+
displayName: "DraggableContainer__CloseButton",
|
|
325
|
+
componentId: "sc-184mpyl-1"
|
|
326
|
+
})(["position:absolute;top:3px;right:0px;color:white;z-index:22;font-size:10px;"]);
|
|
327
|
+
var Title = /*#__PURE__*/styled.div.withConfig({
|
|
328
|
+
displayName: "DraggableContainer__Title",
|
|
329
|
+
componentId: "sc-184mpyl-2"
|
|
330
|
+
})(["position:absolute;top:3px;right:50%;color:white;z-index:22;font-size:10px;"]);
|
|
331
|
+
var Icon = /*#__PURE__*/styled.img.withConfig({
|
|
332
|
+
displayName: "DraggableContainer__Icon",
|
|
333
|
+
componentId: "sc-184mpyl-3"
|
|
334
|
+
})(["position:absolute;top:3px;left:0px;color:white;z-index:22;font-size:10px;width:", ";"], function (props) {
|
|
335
|
+
return props.width;
|
|
336
|
+
});
|
|
337
|
+
|
|
288
338
|
var _RPGUI = RPGUI;
|
|
289
339
|
var RPGUIRoot = function RPGUIRoot(_ref) {
|
|
290
340
|
var children = _ref.children;
|
|
@@ -339,7 +389,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
339
389
|
y = _ref.y,
|
|
340
390
|
_ref$fontSize = _ref.fontSize,
|
|
341
391
|
fontSize = _ref$fontSize === void 0 ? 0.8 : _ref$fontSize;
|
|
342
|
-
return React__default.createElement(Container$
|
|
392
|
+
return React__default.createElement(Container$3, {
|
|
343
393
|
x: x,
|
|
344
394
|
y: y,
|
|
345
395
|
fontSize: fontSize
|
|
@@ -357,7 +407,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
357
407
|
}, params.text);
|
|
358
408
|
})));
|
|
359
409
|
};
|
|
360
|
-
var Container$
|
|
410
|
+
var Container$3 = /*#__PURE__*/styled.div.withConfig({
|
|
361
411
|
displayName: "ListMenu__Container",
|
|
362
412
|
componentId: "sc-i9097t-0"
|
|
363
413
|
})(["display:flex;flex-direction:column;width:100%;justify-content:start;align-items:flex-start;position:absolute;top:", "px;left:", "px;li{font-size:", "em;}"], function (props) {
|
|
@@ -453,13 +503,13 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
453
503
|
return document.removeEventListener('keydown', onHandleSpacePress);
|
|
454
504
|
};
|
|
455
505
|
}, [chunkIndex]);
|
|
456
|
-
return React__default.createElement(Container$
|
|
506
|
+
return React__default.createElement(Container$4, null, React__default.createElement(DynamicText, {
|
|
457
507
|
text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
|
|
458
508
|
onFinish: onEndStep,
|
|
459
509
|
onStart: onStartStep
|
|
460
510
|
}));
|
|
461
511
|
};
|
|
462
|
-
var Container$
|
|
512
|
+
var Container$4 = /*#__PURE__*/styled.div.withConfig({
|
|
463
513
|
displayName: "NPCDialogText__Container",
|
|
464
514
|
componentId: "sc-1cxkdh9-0"
|
|
465
515
|
})([""]);
|
|
@@ -631,7 +681,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
631
681
|
});
|
|
632
682
|
};
|
|
633
683
|
|
|
634
|
-
return React__default.createElement(Container$
|
|
684
|
+
return React__default.createElement(Container$5, null, React__default.createElement(QuestionContainer, null, React__default.createElement(DynamicText, {
|
|
635
685
|
text: currentQuestion.text,
|
|
636
686
|
onStart: function onStart() {
|
|
637
687
|
return setCanShowAnswers(false);
|
|
@@ -641,7 +691,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
641
691
|
}
|
|
642
692
|
})), canShowAnswers && React__default.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
|
|
643
693
|
};
|
|
644
|
-
var Container$
|
|
694
|
+
var Container$5 = /*#__PURE__*/styled.div.withConfig({
|
|
645
695
|
displayName: "QuestionDialog__Container",
|
|
646
696
|
componentId: "sc-bxc5u0-0"
|
|
647
697
|
})(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
|
|
@@ -705,7 +755,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
705
755
|
}
|
|
706
756
|
})), type === exports.NPCDialogType.TextAndThumbnail && React__default.createElement(ThumbnailContainer, null, React__default.createElement(NPCThumbnail, {
|
|
707
757
|
src: imagePath || img
|
|
708
|
-
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
758
|
+
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$6, null, React__default.createElement(TextContainer$1, {
|
|
709
759
|
flex: type === exports.NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|
|
710
760
|
}, React__default.createElement(NPCDialogText, {
|
|
711
761
|
onStartStep: function onStartStep() {
|
|
@@ -727,7 +777,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
727
777
|
src: img$1
|
|
728
778
|
})));
|
|
729
779
|
};
|
|
730
|
-
var Container$
|
|
780
|
+
var Container$6 = /*#__PURE__*/styled.div.withConfig({
|
|
731
781
|
displayName: "NPCDialog__Container",
|
|
732
782
|
componentId: "sc-1b4aw74-0"
|
|
733
783
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -774,7 +824,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
774
824
|
return value * 100 / max;
|
|
775
825
|
};
|
|
776
826
|
|
|
777
|
-
return React__default.createElement(Container$
|
|
827
|
+
return React__default.createElement(Container$7, {
|
|
778
828
|
className: "rpgui-progress",
|
|
779
829
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
780
830
|
"data-rpguitype": "progress",
|
|
@@ -803,7 +853,7 @@ var TextOverlay = /*#__PURE__*/styled.div.withConfig({
|
|
|
803
853
|
displayName: "ProgressBar__TextOverlay",
|
|
804
854
|
componentId: "sc-qa6fzh-1"
|
|
805
855
|
})(["width:100%;position:relative;"]);
|
|
806
|
-
var Container$
|
|
856
|
+
var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
807
857
|
displayName: "ProgressBar__Container",
|
|
808
858
|
componentId: "sc-qa6fzh-2"
|
|
809
859
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", ""], function (props) {
|
|
@@ -903,6 +953,76 @@ var Input$1 = /*#__PURE__*/styled.input.withConfig({
|
|
|
903
953
|
componentId: "sc-v8mte9-0"
|
|
904
954
|
})(["opacity:0;"]);
|
|
905
955
|
|
|
956
|
+
const img$2 = require('./imgExp.png');
|
|
957
|
+
|
|
958
|
+
var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
959
|
+
var value = _ref.value,
|
|
960
|
+
_ref$bgColor = _ref.bgColor,
|
|
961
|
+
bgColor = _ref$bgColor === void 0 ? 'red' : _ref$bgColor;
|
|
962
|
+
return React__default.createElement(Container$8, null, React__default.createElement(ProgressBarContainer, null, React__default.createElement(BackgroundBar, null, React__default.createElement(Progress, {
|
|
963
|
+
value: value,
|
|
964
|
+
bgColor: bgColor
|
|
965
|
+
}))));
|
|
966
|
+
};
|
|
967
|
+
var Container$8 = /*#__PURE__*/styled.div.withConfig({
|
|
968
|
+
displayName: "SimpleProgressBar__Container",
|
|
969
|
+
componentId: "sc-mbeil3-0"
|
|
970
|
+
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
971
|
+
var BackgroundBar = /*#__PURE__*/styled.span.withConfig({
|
|
972
|
+
displayName: "SimpleProgressBar__BackgroundBar",
|
|
973
|
+
componentId: "sc-mbeil3-1"
|
|
974
|
+
})(["background-color:rgba(0,0,0,0.075);"]);
|
|
975
|
+
var Progress = /*#__PURE__*/styled.span.withConfig({
|
|
976
|
+
displayName: "SimpleProgressBar__Progress",
|
|
977
|
+
componentId: "sc-mbeil3-2"
|
|
978
|
+
})(["background-color:", ";width:", "%;"], function (props) {
|
|
979
|
+
return props.bgColor;
|
|
980
|
+
}, function (props) {
|
|
981
|
+
return props.value;
|
|
982
|
+
});
|
|
983
|
+
var ProgressBarContainer = /*#__PURE__*/styled.div.withConfig({
|
|
984
|
+
displayName: "SimpleProgressBar__ProgressBarContainer",
|
|
985
|
+
componentId: "sc-mbeil3-3"
|
|
986
|
+
})(["border-radius:60px;border:1px solid #282424;overflow:hidden;width:100%;span{display:block;height:100%;}height:8px;"]);
|
|
987
|
+
|
|
988
|
+
var SkillProgressBar = function SkillProgressBar(_ref) {
|
|
989
|
+
var value = _ref.value,
|
|
990
|
+
bgColor = _ref.bgColor,
|
|
991
|
+
titleName = _ref.titleName,
|
|
992
|
+
_ref$logoSrc = _ref.logoSrc,
|
|
993
|
+
logoSrc = _ref$logoSrc === void 0 ? img$2 : _ref$logoSrc;
|
|
994
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement(ProgressTitle, null, React__default.createElement(TitleName, null, titleName), React__default.createElement(ValueDisplay, null, value)), React__default.createElement(ProgressBody, null, React__default.createElement(ProgressIconContainer, null, React__default.createElement(Icon$1, {
|
|
995
|
+
src: logoSrc
|
|
996
|
+
})), React__default.createElement(SimpleProgressBar, {
|
|
997
|
+
value: value,
|
|
998
|
+
bgColor: bgColor
|
|
999
|
+
})));
|
|
1000
|
+
};
|
|
1001
|
+
var TitleName = /*#__PURE__*/styled.span.withConfig({
|
|
1002
|
+
displayName: "SkillProgressBar__TitleName",
|
|
1003
|
+
componentId: "sc-5vuroc-0"
|
|
1004
|
+
})(["margin-left:5px;"]);
|
|
1005
|
+
var ValueDisplay = /*#__PURE__*/styled.span.withConfig({
|
|
1006
|
+
displayName: "SkillProgressBar__ValueDisplay",
|
|
1007
|
+
componentId: "sc-5vuroc-1"
|
|
1008
|
+
})([""]);
|
|
1009
|
+
var ProgressIconContainer = /*#__PURE__*/styled.div.withConfig({
|
|
1010
|
+
displayName: "SkillProgressBar__ProgressIconContainer",
|
|
1011
|
+
componentId: "sc-5vuroc-2"
|
|
1012
|
+
})(["display:flex;justify-content:center;align-items:center;"]);
|
|
1013
|
+
var ProgressBody = /*#__PURE__*/styled.div.withConfig({
|
|
1014
|
+
displayName: "SkillProgressBar__ProgressBody",
|
|
1015
|
+
componentId: "sc-5vuroc-3"
|
|
1016
|
+
})(["display:flex;flex-direction:row;"]);
|
|
1017
|
+
var ProgressTitle = /*#__PURE__*/styled.div.withConfig({
|
|
1018
|
+
displayName: "SkillProgressBar__ProgressTitle",
|
|
1019
|
+
componentId: "sc-5vuroc-4"
|
|
1020
|
+
})(["width:100%;display:flex;flex-direction:row;justify-content:space-between;span{font-size:0.6rem;}"]);
|
|
1021
|
+
var Icon$1 = /*#__PURE__*/styled.img.withConfig({
|
|
1022
|
+
displayName: "SkillProgressBar__Icon",
|
|
1023
|
+
componentId: "sc-5vuroc-5"
|
|
1024
|
+
})(["margin-right:10px;height:30px;"]);
|
|
1025
|
+
|
|
906
1026
|
var TextArea = function TextArea(_ref) {
|
|
907
1027
|
var props = _extends({}, _ref);
|
|
908
1028
|
|
|
@@ -914,11 +1034,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
914
1034
|
var _ref$maxLines = _ref.maxLines,
|
|
915
1035
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
916
1036
|
children = _ref.children;
|
|
917
|
-
return React__default.createElement(Container$
|
|
1037
|
+
return React__default.createElement(Container$9, {
|
|
918
1038
|
maxLines: maxLines
|
|
919
1039
|
}, children);
|
|
920
1040
|
};
|
|
921
|
-
var Container$
|
|
1041
|
+
var Container$9 = /*#__PURE__*/styled.div.withConfig({
|
|
922
1042
|
displayName: "Truncate__Container",
|
|
923
1043
|
componentId: "sc-6x00qb-0"
|
|
924
1044
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -928,6 +1048,7 @@ var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
|
928
1048
|
exports.Button = Button;
|
|
929
1049
|
exports.Chat = Chat;
|
|
930
1050
|
exports.CheckButton = CheckButton;
|
|
1051
|
+
exports.DraggableContainer = DraggableContainer;
|
|
931
1052
|
exports.Dropdown = Dropdown;
|
|
932
1053
|
exports.DynamicText = DynamicText;
|
|
933
1054
|
exports.Input = Input;
|
|
@@ -939,6 +1060,7 @@ exports.QuestionDialog = QuestionDialog;
|
|
|
939
1060
|
exports.RPGUIContainer = RPGUIContainer;
|
|
940
1061
|
exports.RPGUIRoot = RPGUIRoot;
|
|
941
1062
|
exports.RangeSlider = RangeSlider;
|
|
1063
|
+
exports.SkillProgressBar = SkillProgressBar;
|
|
942
1064
|
exports.TextArea = TextArea;
|
|
943
1065
|
exports.Truncate = Truncate;
|
|
944
1066
|
exports._RPGUI = _RPGUI;
|